[Q] [solved] Reverted from EOS to stock, now unable to update to 3.1 (green bot of !) - Xoom Q&A, Help & Troubleshooting

Hello,
I have the MZ601 (Xoom UK 3G) and had EOS Everest JB stable on it.
Now I wanted to go back to stock. I downloaded the original firmware from Motorola, flashed the img files with adb and everything was fine (I did not relock the bootloader). The first OTA went fine too, now I am on Android 3.0.1 (H.6.1.-38-1).
It now detects the next OTA (about 44 MB, 63.5.25.en.EU), downloads it, tries to install it but at about 1/3 of progress the green bot of ! appears. I reflashed the stock firmware several times now, same result.
Then I googled, flashed Tiamat CWM recovery, rooted the device and then did:
adb remount (got message: succeeded)
adb shell rm /system/recovery-from-boot.p (message: no such file or directory)
adb shell rm /system/etc/install-recovery.sh (no message, so guess it worked)
Now I have no idea what else to try. I'd like to get back to stock ICS.
edit: reflashed back to stock once more. This time I entered recovery mode before I applied the very first OTA and the green bot of ! already appears, what's wrong here?

Hi,
It looks like your problem is not big deal. Just try flashing again all the files and principally DON'T FORGET TO FLASH RECOVERY! And I don't see why wouldn't you lock bootloader , if you really wants it unlocked and go to stock ICS I'd recommend you to flash stock, lock bootloader and then you update, after you get to the version you want unlock again :thumbup:
Wish you the best luck
Any problems please give me an up!

​Thanks for your reply!
I think I flashed recovery with the specific adb command (see below), not sure, not really an expert. :/ I even wiped dalvik cache and factory reset in cwm recovery before flashing back to stock.
Here's what I did in detail when reverting to stock:
I downloaded MZ601_H.6.1-38-1_Retail_Europe.zip from the official Motorola website, extracted all files and used these commands in adb:
Code:
adb reboot bootloader
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash userdata userdata.img
fastboot erase cache
Also, I noticed the green bot of ! appears after reboot when I enter recovery mode even before I flash the very first OTA (so just after flashing the stock files and reboot). Looks like recovery is somewhat broken or so?
I didn't want to relock the bootloader simply because I might want to root the device once I am back on stock ICS. Basically, I just wanted to get away from a custom ROM (Team EOS).
Would locking the bootloader make a difference for my success? According to google it doesn't but I am no expert to judge it right.

Yea, it looks like something is going wrong there...
Try downloading the files again, and then flash recovery. If you have no success try locking your BL, maybe it can works. The two times I went back to Stock I relocked my BL and had no problems to update via OTA. Then you relock your BL and use LordAIOTool to root again, which can easy your work...
Also you should try erasing system, recovery, cache and data before flashing, but it looks like what you did is fine.
Good luck

Thanks! I will give that a shot and post the result here.
By the way, that is one thing I read about and didn't dare to try yet: formatting system.
From what I read, after formatting /system the tablet will no longer be able to boot into android. In that case, how can I perform adb commands still? Afaik USB debugging has to be on but I will not be able to get into settings (due to lack of boot) and turn it on (and it will be off after reflashing afaik).

When you format system you can't boot in Android, but you can still flash things via fastboot, which uses a different protocol from adb. There was one time I had to format system to fix a cellphone, but if you don't want to try that, no worries , it may turn out without risking

I believe in order to upgrade you need to lock the BL. Once you update you can unlock it again.

Okay, downloaded the image again, this time via XDA. Suprisingly, all files were flashed in less than a min each (sometimes flasing system.img took half an hour or longer). Same result though. Since I forgot to lock the bootloader I flashed everything again after reboot:
Code:
>adb reboot bootloader
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
>fastboot flash boot boot.img
sending 'boot' (8192 KB)... OKAY [ 49.293s]
writing 'boot'... OKAY [ 2.155s]
finished. total time: 51.477s
>fastboot flash system system.img
sending 'system' (262144 KB)... FAILED (remote: (00120003))
finished. total time: 1196.176s
Not sure why it failed here, worked dozens of times. So I simply decided to reflash system.img once more in the same run:
Code:
>fastboot flash system system.img
sending 'system' (262144 KB)... OKAY [ 25.391s]
writing 'system'... OKAY [ 14.744s]
finished. total time: 40.136s
Worked fine apparently, then continued from there as normal:
Code:
fastboot flash recovery recovery.img
fastboot flash userdata userdata.img
fastboot erase cache
fastboot oem lock
All went well this time, no error messages on the latest full reflash or locking bootloader. Then rebooted, and now it is stuck at the Motorola boot screen:
Code:
Failed to boot LNX 0x0004
Starting RSD mode 2
(charger information bla bla here)
Not sure why this happened and what this actually means? It won't boot up and since the bootloader is locked I can't enter recovery or anything. What do I need to do now?

Man... You forgot to flash the kernel (boot.img)!!! And it's probably appearing because of this small mistake!!! Now that you're on RSD Mode 2 you have to fix it another way... I never went to it (only went twice to mode 3), so sorry, I can't help you this time , I will search a little and see what I can do for you.

My mistake on posting, I did flash boot.img before that, corrected my previous posting.
Now I am stranded. And I can't even turn off the device on boot screen.
edit: rescued it, thanks to this posting:
Pushed power + vol up for reboot, waited 5 sec, then held vol down until fastboot appeared (kept pressing the button for about 17 sec until fastboot showed up).
Once there, I unlocked bootloader successfully again to flash all stock files. Xoom booted up bravely afterwards, phew.

Another good news. This time it also applied the 2nd OTA successfully finally! I don't know why it worked this time. Either it's because I (somehow badly) locked the bootloader and unlocked it again OR because I did the flashing this time from my laptop. On the previous attempts I had the Xoom connected via front USB on my desktop computer, maybe that wasn't a good idea after all (flashing on the laptop connection went even faster, too, about 20 sec the most for each file). In the past I used to flash from my laptop as well and never ran into issues either - should have sticked to it maybe.
I guess I won't go for custom ROMs again anytime soon, I've really had it, especially not the one I used to use. Simply not worth the hassle, considering the Xoom wasn't even faster and didn't work with virtual phone providers anymore.

Landorin said:
Another good news. This time it also applied the 2nd OTA successfully finally! I don't know why it worked this time. Either it's because I (somehow badly) locked the bootloader and unlocked it again OR because I did the flashing this time from my laptop. On the previous attempts I had the Xoom connected via front USB on my desktop computer, maybe that wasn't a good idea after all (flashing on the laptop connection went even faster, too, about 20 sec the most for each file). In the past I used to flash from my laptop as well and never ran into issues either - should have sticked to it maybe.
I guess I won't go for custom ROMs again anytime soon, I've really had it, especially not the one I used to use. Simply not worth the hassle, considering the Xoom wasn't even faster and didn't work with virtual phone providers anymore.
Click to expand...
Click to collapse
Glad you made it
Congrats!!

Related

[Q] Botched rootkeeping on 2.3.6 update

I've found only one instance of this so far in the development forum by user malickie but they seem to have just returned the phone and I don't believe it's unfixable.
It all started by my trying to update while retaining root without flashing a stock 2.3.5. I tried the "three lines of code method", editing from within the phone using either FX or ES explorer (one initially wouldn't paste back into /system/bin after I made a backup on the sd card).
When I tried to update it got as far as the recovery image, the android with the folder and arrow, and eventually crashed telling me I had invalid this and that; CDROM, SYSTEM, WEBTOP. Sorry, I don't remember the specifics. I shut it down and it bootlooped as far as the AT&T logo droplet thing.
I launched into forum scrounging mode, got RSD Lite 5.6, the FXZ, the update.zip, and flashed back to 2.3.5. The first time I shut down after this it bootlooped again. So I flashed it again, so far so good, so I figured I'd go ahead and update to 2.3.6. More bad luck as it tells me "insufficient memory please factory reset". I try this, and it goes into fastboot telling me "Invalid CG (cg: recovery)".
So, I've been scrounging all day trying to figure out if this issue has been solved to no avail Does anyone have any suggestions?
ri4naire said:
I've found only one instance of this so far in the development forum by user malickie but they seem to have just returned the phone and I don't believe it's unfixable.
It all started by my trying to update while retaining root without flashing a stock 2.3.5. I tried the "three lines of code method", editing from within the phone using either FX or ES explorer (one initially wouldn't paste back into /system/bin after I made a backup on the sd card).
When I tried to update it got as far as the recovery image, the android with the folder and arrow, and eventually crashed telling me I had invalid this and that; CDROM, SYSTEM, WEBTOP. Sorry, I don't remember the specifics. I shut it down and it bootlooped as far as the AT&T logo droplet thing.
I launched into forum scrounging mode, got RSD Lite 5.6, the FXZ, the update.zip, and flashed back to 2.3.5. The first time I shut down after this it bootlooped again. So I flashed it again, so far so good, so I figured I'd go ahead and update to 2.3.6. More bad luck as it tells me "insufficient memory please factory reset". I try this, and it goes into fastboot telling me "Invalid CG (cg: recovery)".
So, I've been scrounging all day trying to figure out if this issue has been solved to no avail Does anyone have any suggestions?
Click to expand...
Click to collapse
I hate to say it, but it sounds like you might have a bad phone.
But you can try using the beginner thread and use the directions there to flash the fxz, but try unzipping the fxz and then go into RSD lite and click on the "..." button, and then select the xml file and start flashing.
If that does not work, there is another way, but you have to be VERY careful, because this can hard-brick your phone.
Last ditch, but ONLY if the others don't work, do this:
Make sure your have the android sdk installed:
http://developer.android.com/sdk/index.html
Then go grab this, and put in the same directory as the SDK installed to, under platform-tools:
http://forum.xda-developers.com/attachment.php?attachmentid=890596
Then open a command line in the directory that you saved and unzipped the fxz in, then;
put your phone in fastboot mode, connect the USB cable, and:
Code:
[FONT=monospace]
[/FONT]fastboot erase userdata
fastboot erase cache
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash preinstall preinstall.img
fastboot reboot
No guarantees this will work
The first two work fine, returning "OKAY". However, if I try any type of flashing from the cmd prompt I get a "FAILED".
Code:
C:\*\InlineFlashing_etc>fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.355s]
finished. total time: 0.356s
C:***>fastboot erase cache
erasing 'cache'...
OKAY [ 0.017s]
finished. total time: 0.020s
C:***>fastboot flash system system.img
sending 'system' (491264 KB)...
OKAY [ 17.982s]
writing 'system'...
(bootloader) Preflash validation failure
FAILED (remote: )
finished. total time: 18.212s
I realize we have a locked bootloader so is there a step I might have missed? I flashed back the updated fxz (that's now 18 steps instead of 20, and PS. this renders me with a functional phone, just not one that can update) and luckily I can seem to get back to at least this state consistently.
Ok, so I tried rooting in this state and used the ADB method from the Beginners' Guide to attempt to retain root through the update. This time there was nothing about insufficient memory, it just downloaded the update and then tried to reboot for the install but instead of going to unzip the package it goes straight back to fastboot flash mode with another failure.
Code:
AP Fastboot Flash Mode (S) (Flash Failure)
0A.65
Battery OK
OK to Program
Connect USB
Data Cable
On the bright side it's not taunting me with invalid partitions but then again it won't boot normally either. I'm stuck on this screen.
Try pulling the battery and then booting into boot selection mode. (Press+hold volume buttons, then power button) and select "normal boot".
If that doesn't work then flash the fxz... again.
Did you do manual or one-click root?
Sent from my MB865 using Tapatalk
Ok, I had to plug it in overnight, making sure not to press the power button because it would go into "AP Fastboot", because my battery ran low. I'm flashing the updated FXZ again right now.
I've only ever done the One-Click Root. The first time I tried to retain root, what started all this, was using only the phone. This last time I used the ADB method and it didn't demand I factory reset.
Interestingly, when I tried that factory reset that's when it told me my recovery image wasn't good. I've noticed that the FXZ doesn't flash recovery.img but it does flash system, boot, and preinstall. So, is it possible I could manipulate that file to perform the steps you, Jim, suggested? I should just need to create an MD5 sum and follow the template of the rest of the time, right?

[Q] Help with nvFlash process

I have just spent about 5 hours reading threads looking for an answer to this problem. I have seen the question asked twice but there was no response either time.
OK, I have a TF300T with ICS. I unlocked it with the tool provided by ASUS (v7). I set up adb and fastboot and used the ASUS drivers.
On the 1st step [ fastboot -i 0x0b05 flash staging ebtblob.bin ] I have no problems.
On the 2nd step, though [ fastboot -i 0x0b05 boot nvfblobgen.img ] fastboot shows :
sending 'boot' (4588 KB)...
OKAY [ 0.796s]
writing 'boot'...
OKAY [ 1.951s]
finished. total time: 2.753s
but the device never reboots. I tried rebooting through fastboot, but nothing happened. I rebooted manually but the tablet shows the ASUS logo for a few seconds, then reboots. This happens over and over. The little spinner that used to be at the bottom of the ASUS logo never appears.
I can boot back into fastboot, but I can't get into the stock ROM to save the files generated by nvfblobgen.img.
Any help would be greatly appreciated.
Update
OK, so I managed to get the nvfblobgen.img to load properly and reboot the tablet by uninstalling the Asus bootloader driver and installing the Universal Naked driver instead. Then I used fastboot to install CMW. The tablet is still in a boot loop, though.
In the morning I'm going to try to flash a stock ICS firmware with the hopes that it will overwrite the bootloader (even though it booted just fine with the androidroot bootloader before I attempted to write the nvfblobgen.img).
I have no Idea if the bootloader is the problem, but I don't know what else to try.
If anybody see's this tonight and has any advice I'll try it before trying to flash the stock ICS firmware.
Update [partially solved]
OK, just in case anybody with similar problems is watching this thread, I'll let you know where I'm at.
I tried to use fastboot to flash the blob from the official ASUS 9.4.3.29 US firmware. It didn't work, I got an error that adroid-info.txt was missing. Next I tried using the CWM recovery I put on with fastboot to flash the same firmware. Since I could not boot into the OS, I had no way (that I know of, anyway) to put the zip on the internal memory. I instead put it on a micro SD card. This didn't work, either. I could not get CWM to recognize the external SD card.
So, I downloaded and flashed TWRP for ICS v 2.6 (i think, it was the latest version). With this recovery I was finally able to see the external SD card, but it wasn't showing the zip file that was on it. I had to update the partitions before being able to see the zip. Then I installed from external SD.
Now I have a working tablet again!
Now, back to square 1. I am going to read more stuff, then try to get nvFlash on this tablet.

Updating to 6.0....and bricked

Stock, unrooted xt1540. Got the update notification this morning, so excited. After updating, it's boot looping and the M logo is the furthest it can go.
Tried to fastboot flash back to old 5.1.1 factory image, "image validation failed". Maybe because boot loader got updated and won't roll back?
All I can think of now is to wait for the 6.0 factory image and try that again, but I may end up waiting for it too long.
Any suggestions? Thanks!
What about the images at http://forum.xda-developers.com/2015-moto-g/general/ota-moto-g3-marshmallow-ota-links-t3284308
Try in fastboot clear the cache and data ...
have you tried using twrp to just install a cm rom or something similar?
worst case scenario you can use twrp to force the soak test images onto their respective partitions. if your bootloader was updated the soak test will run...even if it bootloops for any reason, then at least you've taken one step forward again.
MrTooPhone said:
What about the images at http://forum.xda-developers.com/2015-moto-g/general/ota-moto-g3-marshmallow-ota-links-t3284308
Click to expand...
Click to collapse
I wish I could resume the OTA, even manually, but right now I can only go to bootloader, not even the stock recovery....Thanks for the idea, though! Really appreciate it.
hp420 said:
have you tried using twrp to just install a cm rom or something similar?
worst case scenario you can use twrp to force the soak test images onto their respective partitions. if your bootloader was updated the soak test will run...even if it bootloops for any reason, then at least you've taken one step forward again.
Click to expand...
Click to collapse
I just tried flash in the twrp.img, got declined by bootloader again...
Now is there factory images for the soak test? Thanks!!
lexer98 said:
Try in fastboot clear the cache and data ...
Click to expand...
Click to collapse
clearing cache went through, but clearing data failed. Rebooting to bootloader mode and try returning to stock again, still no go...
In fastboot mode, I can flast logo, fsg, NON-HLOS, bootloader, recovery -- all from 5.1.1 factory image, but when I tried to flash boot or system chunks, it says:
D:\Desktop\g\Mfastboot>fastboot flash system system.img_sparsechunk.0
target reported max download size of 268435456 bytes
sending 'system' (262141 KB)...
OKAY [ 10.573s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 11.042s
Is my only option to wait for the MM factory image....
alvin612 said:
I just tried flash in the twrp.img, got declined by bootloader again...
Now is there factory images for the soak test? Thanks!!
Click to expand...
Click to collapse
Well....yes and no.
http://forum.xda-developers.com/201...-devs-moto-g3-xt1540-soak-test-files-t3255643
The images all flash in fastboot except the system one, which requires using adb shell while booted to twrp. You have to use a dd command to force the system.img into the correct partition.
Earlier today I had to give up on this osprey because of limited bandwith for fix.
Thanks again for everyone's help!!
My phone got bricked after trying to downgrade from MM to LP
Hello, yesterday I was trying to downgrade from MM to LP using Fastboot and by mystake I flashed "fastboot flash partition gpt.bin" and it failed, the others commands failed as well, after that I was unable to turn on my device, it only let me access to Bootloader Mode and also shows the battery charging, cannot access to recovery, and it shows black screen when I try to turn it on.
My phone is completely stock, It has neve been rooted, stock recovery. Its a Moto G XT1540. the Bootloader is locked.
Is there a way to bring my phone back to life? What can I do?
JulesSDK said:
Hello, yesterday I was trying to downgrade from MM to LP using Fastboot and by mystake I flashed "fastboot flash partition gpt.bin" and it failed, the others commands failed as well, after that I was unable to turn on my device, it only let me access to Bootloader Mode and also shows the battery charging, cannot access to recovery, and it shows black screen when I try to turn it on.
My phone is completely stock, It has neve been rooted, stock recovery. Its a Moto G XT1540. the Bootloader is locked.
Is there a way to bring my phone back to life? What can I do?
Click to expand...
Click to collapse
I contacted Motorola. Warranty covers my situation. Going to ask for a replacement.
JulesSDK said:
Hello, yesterday I was trying to downgrade from MM to LP using Fastboot and by mystake I flashed "fastboot flash partition gpt.bin" and it failed, the others commands failed as well, after that I was unable to turn on my device, it only let me access to Bootloader Mode and also shows the battery charging, cannot access to recovery, and it shows black screen when I try to turn it on.
My phone is completely stock, It has neve been rooted, stock recovery. Its a Moto G XT1540. the Bootloader is locked.
Is there a way to bring my phone back to life? What can I do?
Click to expand...
Click to collapse
Unlock the bootloader and then try flashing. I was in a similar situation once, was getting failed messages when trying to flash official signed factory images. Unlocked the bootloader and then tried to flash and voila, everything flashed smoothly. No harm in trying unless you are worried about warranty.

[Q] Huawei Ascend G6-L11 Unlocked. Error on system img flashing.

Hi, so I got this phone about a month ago, with stock rom and filled up with bloat and unnessecary crap. So being the fundamentalist I am, I rooted this phone too (5th android phone I've had), and started playing with it.
By default, the bootloader is locked, so I unlocked it using Huawei's website unlock helper and fastboot.
I have no memory card to go with this phone, so I've had to try out the fastboot/adb way of doing this, and so far it's been a hit and miss.
I've been testing with SlimStock KK, and with Ascend G6 Mod, and I'm able to flash the boot and recovery successfully, but when it comes to flashing the system, it fails. Here's the output of that:
Code:
Karls-MBP% fastboot devices
90587873 fastboot
Karls-MBP% fastboot flash system /Volumes/ODIN/karleirik/Downloads/Firefox/Huawei_Ascend_G6-L11_Modded_B370_ROM/SYSTEM.img
target reported max download size of 1073741824 bytes
erasing 'system'...
OKAY [ 0.039s]
sending 'system' (1048576 KB)...
ERROR: usb_write failed with status e00002ed
FAILED (data transfer failure (Undefined error: 0))
finished. total time: 26.000s
So right now my device is softbricked. Does anyone know how to get around this problem ? Or have another approach to flashing it?
Edit: I might add that I've tried different system images, and different hardware USB ports on my laptop to no avail. I have also tried the flashall, which fails due to no product ID and adb sideload <zip> fails because of a timeout:
Code:
* failed to write data 'protocol fault (couldn't read status length): Connection reset by peer' *
- Phossk
Phossk said:
Hi, so I got this phone about a month ago, with stock rom and filled up with bloat and unnessecary crap. So being the fundamentalist I am, I rooted this phone too (5th android phone I've had), and started playing with it.
By default, the bootloader is locked, so I unlocked it using Huawei's website unlock helper and fastboot.
I have no memory card to go with this phone, so I've had to try out the fastboot/adb way of doing this, and so far it's been a hit and miss.
I've been testing with SlimStock KK, and with Ascend G6 Mod, and I'm able to flash the boot and recovery successfully, but when it comes to flashing the system, it fails. Here's the output of that:
So right now my device is softbricked. Does anyone know how to get around this problem ? Or have another approach to flashing it?
Edit: I might add that I've tried different system images, and different hardware USB ports on my laptop to no avail. I have also tried the flashall, which fails due to no product ID and adb sideload <zip> fails because of a timeout:
- Phossk
Click to expand...
Click to collapse
Try putting the .zip file inside your adb and fastboot files and just type the .zip file name when flashing instead of the whole path to the .zip
Hope this will solve your problem.

2nd life for PH-1?

In a long and painful process I've lost most of my trust in being able to revive my good old PH-1 to life.
When updates stopped, I moved to the Pixel 4 and gave the essential to my son, with the (unofficial) lineageos and TWRP installed. I surely changed to January back-to-stock, otherwise TWRP would not be installed. That's what happend next (summary):
- lineageos stopped working, system wasnt't booting any more
- Junior went into twrp, could not decrypt phone, wiped system, changed boot slot, for what he told me.
- downloaded Carbon Rom 5 and tried to flash it via twrp
- ignored the warning (no system installed)
- reboot to recovery leads to carbon rom recovery (errors showing up at the bottom). No adb connection can be established. Rebooting via hardware leads back to TWRP, obviously on the other slot.
- My decision: Back to Stock again! -> Reboot to bootloader. fastboot devices is showing my device.
[email protected]:~/devices/essential/QQ1A.200105.007_Jan2020-NOVENDOR$ ./flashallnowipe.sh
target didn't report max-download-size
sending 'abl_a' (780 KB)...
- phone keeps hanging there, no response.
Now there is no recovery any more. Pushing a new recovery does not succeed:
[email protected]:~/devices/essential/QQ1A.200105.007_Jan2020-NOVENDOR$ fastboot devices
PM1Lxxxxxxxx fastboot
[email protected]:~/devices/essential$ fastboot flash boot__a lineage-17.1-20201116-recovery-mata.img
target didn't report max-download-size
sending 'boot__a' (25737 KB)...
FAILED (remote: Requested download size is more than max allowed
)
finished. total time: 0.000s
Now: any hope? Where to start?
well, it has been quite while, but since I got through about the same you may be having here, let me give you a few hints that worked for me to resolve a soft-brick of my mata device.
Make sure you have the latest platformtools from from a reliable source.
Restart your computer and also your phone after any error message.
Best is to go back to stock, but after LOS you may need to flash the boot.img with the following command:
fastboot flash:raw boot_a|b [stock_boot.img]
Was in the same situation and this helped me to sort out the flash recovery problem:
fastboot flash:raw boot_a recovery.img
Just enter correct value - boot_a or boot_b and the right name of your recovery instead of rcovery.img
Btw. if you have problem to use flashall, then you can always flash manually - each part by yourself. They are listed in flashall file. You can read it by any text viewer
(I use a Linux Ubuntu based machine for works on phones. Even live distro booted with just on fly installed fastboot and adb works fine)
I was getting all sorts of fastboot errors, despite the device accepting ADB commands. The solution was to use a different USB cable on a different USB port. This Essential mata has a stubborn USB port. It only works with the correct cable, port combo. Some people say you must use USB3 other say they used USB2. I've seen the same thing with VR headsets only working on certain USB controllers. So keep trying different things.

Categories

Resources