Teracube 2e easy installer restart error

After trying what Ivan suggested, on step 8. entering the command

fastboot flash system system.img

command prompt returned with

Sending sparse ‘system’ 1/13 (131068 KB) OKAY [3.010s]
Writing ‘system’ FAILED (remote: ‘This partition doesn’t exist’)
fastboot: error: Command failed

So no dice.
Still trying to figure out how to get it to load into fastbootd by trying to read the other thread. I dont think my problem is an out of date fastboot bundled with ubuntu, as I am on windows 10 and installed fastboot only 2 days ago.
My fastboot version is 31.0.3-7562133

It is fastboot already on the screen! I hope you mount system partition before as from step 4-6?

Sending sparse ‘system’ 1/13 (131068 KB) OKAY [3.010s]
Writing ‘system’ FAILED (remote: ‘This partition doesn’t exist’)
fastboot: error: Command failed

1/13? Very strange. My stdout is saying 1/4 system…
Are you download original eOS img from here?
https://images.ecloud.global/stable/2e/
And, you are nt installed another OS like iodeOS before? Phone is factory clean? I recommend to you flash phone to factory android and then try install again.

… and did you already try (quoting myself in the link above)

I have to say that my “latest” platform tools did not reliably reach fastbootd, but I learned to run as root:

# fastboot reboot fastboot

Edit, unhelpful suggestion, after post #14

If it is at all reassuring, this is the error I saw when I failed to get into fastbootd - or “moving Fastboot to Userspace” :slight_smile:

Well I tried using a VM running Linux to install it, and while doing that, I figured out that whenever I reached that menu screen, windows thought that the phone that was connected was a Google Nexus 4, and the error was caused by not having a driver for that device. I went and installed the driver from the link below, and all of the sudden the Easy Installer worked fine on windows 10 for me. Seems totally bizarre and I have no idea why that was happening. But I have e/OS working fine on my Teracube 2e now!

I’m having this same issue and also first time flashing an OS to smartphone.
Just did step 7 fastboot reboot fastboot and…yep, same results.
This is the scientific method eh?

Using Windows 10 and recent drivers.

What menu - phone or computer? I’m not seeing either option :woman_facepalming:

I’m going to try this! Did you have to uninstall all ADB drivers like some of the comments said? Windows is not letting me select this driver for my Teracube 2e.

Hi @cc7 there is a very informative new post here in documentation suggestions post #28

When using Windows and you are unsure if drivers are an issue you can open a Windows device manager window before you connect your device. Now connect the device. you will be looking for the device appear “healthy” or with a :warning: indicating drivers required.

Windows update should fix this for you. Please refer to the subject of updating drivers on a Fairphone if you need help with this.

Continue with your install instructions with the device manager window open. There is the possibility that Windows will have installed a driver that works in the mode where the device was introduced, but fails in a subsequent booting mode. Should :warning: reappear ask Windows update to fix it for you.

On phone after boot into Recovery. Menu Advanced → Enable ADB

@aibd, thanks for mentioning my post above (“here in documentation suggestions post #28”). @cc7, I would highly encourage you to read the post because I had the same experience with the This partition doesn't exist error, both with easy-installer and the manual installation method. However, I discovered a way to get the installation to work, which I outlined under A Solution at the bottom of post #28. I’ll summarize here to get you started.

  • Fastbootd exists in the Teracube 2e stock OS in its recovery.img file
  • The step of flashing recovery.img with the /e/OS easy-installer or during manual /e/OS installation overwrites this
  • The new /e/OS recovery.img file does not have Fastbootd, which is what causes easy-installer to hang with the phone showing a recovery screen, and prevents manual flashing of the system.img, product.img, and vendor.img files
  • The Teracube 2e stock OS recovery.img file has to be flashed back to the phone using fastboot flash recovery recovery.img before proceeding again with a manual /e/OS installation attempt (easy-installer can’t be used because it will again overwrite the recovery.img file and hang)
  • Download the stock OS from the appropriate link below to obtain the stock recovery.img file
    Teracube 2e factory SW - US,Canada and Rest of the World (link)
    Teracube 2e factory SW - EU (link)
    NOTE: The two download links above are taken from https://community.myteracube.com/t/advanced-installing-an-android-image-w-sp-flash/1003, but you don’t need any of the instructions from there
  • After reflashing the stock recovery.img file, proceed with the manual e/OS/ installation method, but instead flash recovery.img last after all other e/OS/ *.img files
2 Likes

Thank you @aibd for linking to @prflsjn’s very informative post, and thank you @prflsjn for providing so much detailed information! That was the fix for me.

When the phone got to fastbootd mode I did need the driver MathiasV linked to, and Window finally allowed me to install it.

The bold commands below failed for me… how important are those for the future of this phone? It started fine so hopefully not important.

Hi @cc7
That is great to hear you have /e/ running! :slight_smile: I no longer have a device with a super partition so I cannot test, but when you say that

adb reboot bootloader
fastboot flash recovery recovery.img

failed, it seems the device was unwilling to reboot out of fastbootd back into regular fastboot then if the second command indeed did fail, the flash of the /e/ recovery failed.

In that event, I would hope/expect that /e/ is intact and you have the “stock” recovey which you started with.

This may work fine. If and when an OTA update comes along, it will contain a spoiler to say that you will need to have a “suitable” recovery in order for the OTA update to work.

As it is quite hard to find good information about devices with super partition this blog post TWRP + Android 10 + super partition indicates some of the difficulties faced in producing a “modern” recovery.

When the difficulty here is clear, I expect this issue will need to be referred back to devs.

Thanks, @Ivan, I see that is not part of the solution in this case! :slight_smile: (Unfortunately that post is now too old for me to delete.)

Hi @cc7
I am also glad to hear that you got /e/OS running! Regarding the two commands that didn’t work, sorry about that. Because you already ran the rest of the process, I don’t think we can revisit the full sequence I gave to see if we can adjust those commands. However, it would be very useful to know which of the two commands failed specifically at the time. If the first command

adb reboot bootloader

was the one that failed, it is possible that it actually needs to be

fastboot reboot bootloader

because adb perhaps doesn’t work from fastbootd. If the first command did work, you should have gotten back to the bootloader screen, which means the second command

fastboot flash recovery recovery.img

didn’t work. Because the bootloader is where you would have flashed boot.img and the three vbmeta images at the beginning of the process, there shouldn’t be any issue with flashing recovery.img. If this was indeed the command that failed, it would be interesting to know what the error message was. Maybe fastboot flashing unlock has to be run again or recovery.img was not in the location it was expected to be found in.

In any case, you should still be able to flash recovery.img by itself from regular fastboot. While testing to discover the source of the missing fastbootd, I actually flashed recovery several times going back and forth between the stock recovery.img and the /e/OS recovery.img by following the standard Teracube 2e /e/OS installation sequence, minus fastboot flash boot boot.img that comes right before fastboot flash recovery recovery.img, and stopping after recovery was flashed. Of course, you have to be careful about which recovery.img file you are actually using because I did accidentally flash recovery with the exact same file on a couple of occasions. I hope you can get recovery flashed to achieve a full installation.

2 Likes

Thanks for the feedback @prflsjn and @aibd! I have another Teracube to get set up later this week – I’ll let you know how it goes and provide more detail on any errors.

You are correct @prflsjn, adb reboot bootloader failed (error: no devices/emulators found) and fastboot reboot bootloader was the winner. I was then able to do the fastboot flash recovery recovery.img.

Here’s the full sequence from #4 on the instructions:

fastboot -w
fastboot flash boot boot.img
fastboot flash vbmeta vbmeta.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot flash vbmeta_vendor vbmeta_vendor.img
fastboot reboot fastboot
fastboot flash system system.img
fastboot flash product product.img
fastboot flash vendor vendor.img
fastboot reboot bootloader
fastboot flash recovery recovery.img
fastboot reboot

Thanks for all your help!

2 Likes

I’m so glad it worked! Hopefully this information will be used to update the official instructions.

Over two months later since some very informative posts explaining what’s going on and the partition doesn’t exist error still hasn’t been addressed in the installer causing it to hang and leave users without a system partition. Guess I’ll try again in about six months but this is frustrating, to say the least when I had to unbrick my phone.

Don’t know who needs to see this to include fastbootd in the recovery.img file but I hope a bump helps get visibility on the subject.

1 Like

I started out as a total n00b, here’s how it worked out:

(A)
https://doc.e.foundation/devices/2e/install
do this, until you reach point nr. 4.

(B)
open up you device manager in windows

get your phone into fastboot-mode via
it should be in fastboot-mode (bootloader) once you arrived at step nr. 4
check that the driver is working right

now get you phone into fastbootd-menu via
fastboot reboot fastboot
watch the icons change in the device manager
check that the fastbootd driver is working right
if not, do this https://c.mi.com/oc/thread-3312019-1-0.html

If you have already overwritten the oem-registry.img do this

The driver stuff is crucial. I think you first need the regular device driver (MediaTek_Preloader_USB_VCOM_Drivers_Setup_Signed.zip) and then you need the adb driver from google. HINT: this step did not work on my PC, only on my laptop (!).

(C)
fastboot -w
fastboot flash boot boot.img
fastboot flash vbmeta vbmeta.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot flash vbmeta_vendor vbmeta_vendor.img
fastboot reboot fastboot

now your phone should show the fastbootd-menu
use cmd-console and type, just to check the drivers and connection
fastboot devices
fastboot getvar is-userspace

if you get positve results, proceed
fastboot flash system system.img
fastboot flash product product.img
fastboot flash vendor vendor.img

now choose reboot in the fastbootd-menu
fastboot flash recovery recovery.img
fastboot reboot

Good Luck guys.
It took me a whole day, but my burning anger for Klaus Schwab and the clot-shot agenda made me do it.

1 Like