Related
Back story: Verizon Moto X, unlocked bootloader via China Middleman, running Eclipse ROM 4.4.2, TWRP 2.7.0.0 recovery
Objective: wipe everything and flash back to a (rooted) stock for device retail
Why I'm screwed: everything is wiped - phone has no OS, recovery, etc. It simply hangs out on the Motorola M at boot and doesn't move. fastboot loads and will flash recovery (seemingly successfully) but rebooting to recovery always gets stuck at the logo
How I got there:
1. Backed up with TWRP, then flashed new recovery CWM (the one here) and backed up again. Saved both folders of nandroid backups to my PC (yay)
2. Flashed back to TWRP (but this time the new one v2.8.0.1 here, which I downloaded and flashed via that fancy new TWRP app [I selected the "ghost" model]) clicked about every type of wipe option I could get my grubby little fingers on, then adb pushed the ROM and kernel/radio combo from here.
3. Attempted to flash the new ROM via TWRP. It failed. something about an "Error executing updater binary in zip". I sighed, said "meh", googled the problem a bit and figured I'd reboot the recovery and try again. This is where things get weird.
4. Phone hangs out at boot logo (that kaleidoscope "M"). Fine, I accidentally did a normal boot, and there's no OS installed. I go into fastboot and boot to recovery. SAME SCREEN. TWRP has apparently disappeared. No matter. I go into fastboot and flash it again, then boot to recovery. SAME SCREEN. Flash back to CWM. SAME SCREEN. Back to TWRP one more time just for giggles? SAME SCREEN.
No idea where to go from here. Anyone have any idea how this happened and what my options are at this point? Is there a way to manually flash a ROM via fastboot? Restore either my CWM or TWRP nandroid backups without access to the recovery? Any guidance would be appreciated.
Attachments:
a) boot logo I'm stuck on
b) command line log of commands from flashing recoveries
From fastboot, flash your recovery and then use the volume down button to highlight recovery and then volume up button to enter into recovery.
VerneVerne said:
From fastboot, flash your recovery and then use the volume down button to highlight recovery and then volume up button to enter into recovery.
Click to expand...
Click to collapse
Perhaps I didn't make that clear - that's exactly what I've been doing.
PHP:
gerodive said:
Back story: Verizon Moto X, unlocked bootloader via China Middleman
Click to expand...
Click to collapse
That is what I have.
gerodive said:
No idea where to go from here. Anyone have any idea how this happened and what my options are at this point? Is there a way to manually flash a ROM via fastboot?
Click to expand...
Click to collapse
Well I wiped my system partition when I must have been drunk or something b/c I still can't believe I did it. But I did. Then from bootloader mode, I ran the command mfastboot flash system system.img from a command shell on my PC using the system image from the sbf that my bootloader was currently on (in my case, it was 4.4.4). All was good.
Then I could restore my nandroids by moving them to my phone from my PC.
Wansanta said:
PHP:
That is what I have.
Well I wiped my system partition when I must have been drunk or something b/c I still can't believe I did it. But I did. Then from bootloader mode, I ran the command mfastboot flash system system.img from a command shell on my PC using the system image from the sbf that my bootloader was currently on (in my case, it was 4.4.4). All was good.
Then I could restore my nandroids by moving them to my phone from my PC.
Click to expand...
Click to collapse
Could you elaborate a little more on this? How do I get the system.img file to flash? I'm guessing my bootloader would be on the 4.4.2 one since that was what Eclipse was on, but is there any way to check? Deleting the system partition was definitely what I did. Also, why mfastboot as opposed to just fastboot?
gerodive said:
Could you elaborate a little more on this? How do I get the system.img file to flash?
Click to expand...
Click to collapse
mfastboot flash system system.img
gerodive said:
I'm guessing my bootloader would be on the 4.4.2 one since that was what Eclipse was on, but is there any way to check?
Click to expand...
Click to collapse
In bootloader mode it will tell you on the second line. 30:B7 is the 4.4.4 bootloader version.
gerodive said:
Deleting the system partition was definitely what I did.
Click to expand...
Click to collapse
As long as you can get into bootloader mode you can flash it back.
gerodive said:
Also, why mfastboot as opposed to just fastboot?
Click to expand...
Click to collapse
because the moto x system images are too large to flash with fastboot, you have to use mfastboot.
gerodive said:
Back story: Verizon Moto X, unlocked bootloader via China Middleman, running Eclipse ROM 4.2.2, TWRP 2.7.0.0 recovery
Click to expand...
Click to collapse
gerodive said:
I'm guessing my bootloader would be on the 4.4.2 one since that was what Eclipse was on, but is there any way to check?
Click to expand...
Click to collapse
4.2.2 or 4.4.2?
nhizzat said:
4.2.2 or 4.4.2?
Click to expand...
Click to collapse
yeah he really needs to check b/c it really matters what version of the bootloader he is on.
Flashing the 4.4.2 system.img (and boot.img just for good measure) worked! I was then able to boot normally and then upgraded to 4.4.4. Oh happy day. Thanks for the help everyone.
Sorry, meant 4.4.2.
gerodive said:
Flashing the 4.4.2 system.img (and boot.img just for good measure) worked! I was then able to boot normally and then upgraded to 4.4.4. Oh happy day. Thanks for the help everyone.
Click to expand...
Click to collapse
So glad!! If you are unlocked, as long as you can get into a functioning bootloader mode and have access to the sbf for your version of the OS you haven't bricked.
I about near had a heart attack when I deleted my system, but no biggie to restore it. I think I only paid $35 to unlock b/c I did it straight through tao bao, but it was the best $35 I have spent in a long time. I drop $35 every time I go for sushi, so I can't imagine not paying to unlock if you have the option.
I tried to flash many roms on my cell without any succes, so i wonder if anyone can tell me wich rom should i install via original recovery sideload, I got an xt1063 type MOFB9 ON TITAN_UMTS:4.4.4/kxb21.85-23/21
Please i know i can flash and downgrade many roms via fasboot,or custome recovery twrp or pholz, but i want to know, if in original, i got the latest , or what would be the next rom to flash acording to the system i have. thanks for the help.
abispac said:
I tried to flash many roms on my cell without any succes, so i wonder if anyone can tell me wich rom should i install via original recovery sideload, I got an xt1063 type MOFB9 ON TITAN_UMTS:4.4.4/kxb21.85-23/21
Please i know i can flash and downgrade many roms via fasboot,or custome recovery twrp or pholz, but i want to know, if in original, i got the latest , or what would be the next rom to flash acording to the system i have. thanks for the help.
Click to expand...
Click to collapse
http://www.filefactory.com/folder/c6cdedc45a775d27/?sort=created&order=DESC&show=25&page=1ALL MOTO G firmware available (1st, 2nd and 3rd Gen) pick correct XT1063 in your case
reefuge said:
http://www.filefactory.com/folder/c6cdedc45a775d27/?sort=created&order=DESC&show=25&page=1ALL MOTO G firmware available (1st, 2nd and 3rd Gen) pick correct XT1063 in your case
Click to expand...
Click to collapse
Thank you sir, but i see this roms end in xml, wich i think are for flashing via fasboot? if im wrong please correct me, im looking for the ota original to flash via original recovery.
abispac said:
Thank you sir, but i see this roms end in xml, wich i think are for flashing via fasboot? if im wrong please correct me, im looking for the ota original to flash via original recovery.
Click to expand...
Click to collapse
thats correct these are via ADB mfastboot (which ignores OTA fingerprint check) as flashes full firmware, not the ota.zip which is only a smaller (not full firmware) update
ota.zip is NOT full firmware, so will not fix a corrupted / altered or non stock firmware
but you say you've flashed many roms.... you need to be on correct rom and matching recovery and also un-rooted to flash a OTA.zip as it checks Recovery version and the build fingerprint inside /system folder of original stock rom. if any of these mismatch it will fail.
also (apologies if wrong) but dont you believe your phone to be corrupted or read only hence why you cant flash images?
reefuge said:
thats correct these are via ADB mfastboot (which ignores OTA fingerprint check) as flashes full firmware, not the ota.zip which is only a smaller (not full firmware) update
ota.zip is NOT full firmware, so will not fix a corrupted / altered or non stock firmware
but you say you've flashed many roms.... you need to be on correct rom and matching recovery and also un-rooted to flash a OTA.zip as it checks Recovery version and the build fingerprint inside /system folder of original stock rom. if any of these mismatch it will fail.
also (apologies if wrong) but dont you believe your phone to be corrupted or read only hence why you cant flash images?
Click to expand...
Click to collapse
Chanses are my phone its corrupted, i had the hope that a mayor ota, such a 5.0 (not5.0.2) would rewrite the phone and fix it, as the olny option i have not be able to tried was install an original ota or rom via recover sideload. I got recovery KXB21.85-23. Are there any fixes for read only out there? because i have found non....
Thanks for the help thought.
abispac said:
Chanses are my phone its corrupted, i had the hope that a mayor ota, such a 5.0 (not5.0.2) would rewrite the phone and fix it, as the olny option i have not be able to tried was install an original ota or rom via recover sideload. I got recovery KXB21.85-23. Are there any fixes for read only out there? because i have found non....
Thanks for the help thought.
Click to expand...
Click to collapse
what error do you get via ADB when you flash?
can you remember what was the original firmware on phone as several for xt1063
or if boots the system version in about phone
reefuge said:
what error do you get via ADB when you flash?
can you remember what was the original firmware on phone as several for xt1063
or if boots the system version in about phone
Click to expand...
Click to collapse
Phone wont boot, its gets to the point where a blue m apears the goes to a blank screen, when flahing a rom via fasboot, all seems to get right but after restart is like nothing happened, i go back to the same state, same thing happens with twrp or philz, if you want to help, we can continue here but your more then wellcome to read this (nevermind i see you allready did)
So let me make a backup of twrp and see if i can post results, thanks allot, iveen waiting to fix this for so many days now.
A bit of background, i consider myself an advance user, someone that can google problems and fix stuff with it, ivee flashed alot of cellphones in the past ,many xt1064 and other models, just like everybody ealse, easy and no problems, but this one i just cant figure out. Seems like its on read only mode or freezed as a deepfreezed computer, dont mater how many roms i flash and the way i do, everything comes back to the same state, even if i reforma partitions, eeven if i delete pictures or folders, they come back once i reboot.
Its going to take 5hrs to upload my backup
abispac said:
Phone wont boot, its gets to the point where a blue m apears the goes to a blank screen, when flahing a rom via fasboot, all seems to get right but after restart is like nothing happened, i go back to the same state, same thing happens with twrp or philz, if you want to help, we can continue here but your more then wellcome to read this (nevermind i see you allready did)
So let me make a backup of twrp and see if i can post results, thanks allot, iveen waiting to fix this for so many days now.
A bit of background, i consider myself an advance user, someone that can google problems and fix stuff with it, ivee flashed alot of cellphones in the past ,many xt1064 and other models, just like everybody ealse, easy and no problems, but this one i just cant figure out. Seems like its on read only mode or freezed as a deepfreezed computer, dont mater how many roms i flash and the way i do, everything comes back to the same state, even if i reforma partitions, eeven if i delete pictures or folders, they come back once i reboot.
Click to expand...
Click to collapse
ok ii'm thinking corrupted partitions too.... but if you are willing to try i've made a xt1063 easy installer script for you to try now normally i work on xt1068 and would test on my xt1068 - so have NO xt1063 its UNTESTED - use at own risk.....
just stock firmware / drivers / adb and mfastboot ( same as my xt1068 script) I see no reason it should not be compatible.
download to pc / unzip to folder / read instruction inside
https://mega.co.nz/#!Tok2DJ6T!ggMoQDfAzuA7cmQQjbGCbXolWZTnx_567vG02CiURVsxt1063 4.4.4 easy installer
I repeat it YOUR choice - if it works- great - if runs ok but rom remains same would suggest somethings corrupt - if it doesnt work at all back to square 1....
now im presuming your boot loader is unlocked, as will fail if locked or relocked - if you use and get error please report what they are, i would have done 5.0.2 but its only 50% downloaded with a 1 hr+ to still go, estimate 2 hrs from time of this post until I can post a link
im uploading the backup, in the mean time i dont know if this is of any use ,its the recovery log zipped...
abispac said:
im uploading the backup, in the mean time i dont know if this is of any use ,its the recovery log zipped...
Click to expand...
Click to collapse
just to let you know TWRP is now 2.5.8.0 fixes some bugs cause older versions know to break permissions in Lollipop!!
https://mega.co.nz/#!Dx03wTbD!3sDFubGomhegQqdoGzNb1RWnQwApzyaTlVq69uX1TqkFlash-able version (unzip to pc and flash from there) 2.5.8.0
https://mega.co.nz/#!n5cUQCAY!uf66vEcQlmtu6VZMLPxksEFMEioZUFpystzTP6kwU4I Temporary boot version (no flash) 2.5.8.0.
will look but cant promise
I tried your easy install tool, brand new drivers, diferent usb port, all went smooth but after restart, im at the same situation. Funny thing, and ivee done this multiple times, after reflashing a new rom, most of them never give errors, then after nothing happens , i flash twrp and boot it, and all the files (the original ones , not the just flashed ones) are there intact, even pictures and music.
abispac said:
I tried your easy install tool, brand new drivers, diferent usb port, all went smooth but after restart, im at the same situation. Funny thing, and ivee done this multiple times, after reflashing a new rom, most of them never give errors, then after nothing happens , i flash twrp and boot it, and all the files (the original ones , not the just flashed ones) are there intact, even pictures and music.
Click to expand...
Click to collapse
ok have you tried mfastboot erase userdata and mfastboot erase cache? from a command window?
i.m interested in the I flash twrp and boot..... does this mean you are able to replace recovery with a custom recovery ON phone
rather than temporary booting into it?
reefuge said:
ok have you tried mfastboot erase userdata and mfastboot erase cache? from a command window?
i.m interested in the I flash twrp and boot..... does this mean you are able to replace recovery with a custom recovery ON phone
rather than temporary booting into it?
Click to expand...
Click to collapse
Yeah i tried those erase commands many many times and same result, i cant replace recovery at all, only boot of it, so when i do " mfastbooot flash recovery twrprecovery.img " then try to boot of recovery, i boot into factory recovery not, twrp, but if i do, "mfasboot boot twrprecovery.img" i can see the recovery img gets flashed and the phone boots of twrp. Weird behavior. So when i notice that i tried to flash a rom with mfastboot, and at the end i gave the command mfasboot boot recovery.img (the original rom recovery) then it gets flashed, and phone reboots, but i gets stuck at the motorola logo. This phone its playing hard to get....
heres, my backup https://mega.co.nz/#!md0AwbLR!uWe9PLklIugOziPLV6O_plbU-Zz9EXbqRvUVpYxECk0 hope you can find something.
Im going to take this phone to a shop to see if they can fix it as i have lost all hope, thanks refuuge for your help.
Hi everybody,
A few days ago, I rooted my Mexican XT1225. I shut it down for a day (my main cellphone is the new Moto X), turn it on again and now it's stuck on fastboot.
I could boot into TWRP (by flashing it temporarily with fastboot on Linux) and then I decided to wipe data and then install the new lollipop zip file. But it failed saying it could not mount /system /data or anything really, I basically have it without format, all partitions say 0MB.
So I tried flashing with fastboot, but it gave me an error when flashing the partition gpt.bin, it didn't give me an error when flashing other files. Still stuck, now I cannot even access the recovery menu, it goes just into fastboot mode and does not show the little recovery menu anymore.
Then I tried flashing with RSD, still same problem. It fails when setting the fb_mode_set and when I delete that line from the xml it fails again on flashing gpt.bin
EDIT: I am attaching a log file of TWRP evidencing this.
Any ideas on how to get back to normal? How can I redo the partition in another way?
Thanks in advance,
Gustavo
Unlocked bootloader? Just remove the got. Bin flash line
Jaocagomez said:
Unlocked bootloader? Just remove the got. Bin flash line
Click to expand...
Click to collapse
Yes, unlocked bootloader. Removed the gpt.bin flash line and still no luck. Tried flashing several files, the Indian Lollipop, the Mexican Kitkat, nothing has worked.
gusbeto37 said:
Yes, unlocked bootloader. Removed the gpt.bin flash line and still no luck. Tried flashing several files, the Indian Lollipop, the Mexican Kitkat, nothing has worked.
Click to expand...
Click to collapse
After re reading your post I understood what's wrong, you have to flash the lollipop OTA on stock recovery not twrp or rsd lite, once you flash it you can put back twrp
Jaocagomez said:
After re reading your post I understood what's wrong, you have to flash the lollipop OTA on stock recovery not twrp or rsd lite, once you flash it you can put back twrp
Click to expand...
Click to collapse
I have the xml.zip file, extracted it and manually flashed partition by partition. Something I have previously done with my 1st gen Moto X, my Razr HD and even my Atrix, if I remember correctlly. Even RSD Lite should work with those files.
Still, I will try to boot with the stock recovery, since right now I cannot access it. I will also seek a way to get the xml.zip file inside the storage, since I cannot even mount it with TWRP (It shows 0mb drive)
gusbeto37 said:
I have the xml.zip file, extracted it and manually flashed partition by partition. Something I have previously done with my 1st gen Moto X, my Razr HD and even my Atrix, if I remember correctlly. Even RSD Lite should work with those files.
Still, I will try to boot with the stock recovery, since right now I cannot access it. I will also seek a way to get the xml.zip file inside the storage, since I cannot even mount it with TWRP (It shows 0mb drive)
Click to expand...
Click to collapse
Twrp for this device it's not very stable I got that errors too
Just flash mexico firmware then the OTA zip on stock recovery and you will be good to go.
If you can't access recovery press vol- and power with the phone turned off and you'll be able to select recovery
Hi,
I have tried the vol+power and cannot access recovery.
When I try to flash Mexico's firmware (through either RSD or manually in Linux using fastboot), I am unable to flash partition gpt.bin, but I can flash everything else. Yet, in spite of flashing everything else, I cannot get out of the fastboot loop.
I am attaching some photos of what happens. The first one is the only thing that boots, cannot access recovery, cannot boot normally. The second photo is what happens when I press the volume button many times.
So when you select recovery does it power off or just go back to fastboot again?
Steve-x said:
So when you select recovery does it power off or just go back to fastboot again?
Click to expand...
Click to collapse
Hi, I dan only go yo fastboot. The menĂº does not appear. The only thing that appears is the photo of my previous post.
I can boot into TWRP by manually doing fastboot boot twr-recovery.IMG
Hmmm, doesn't look good. The fastboot screen doesn't even load the picture of the green Android. I am thinking the partition table is messed up. I know I saw something similar with the original(2013) Moto X a while back. You may want to do some searching in that forum.
gusbeto37 said:
Hi, I dan only go yo fastboot. The menĂº does not appear. The only thing that appears is the photo of my previous post.
I can boot into TWRP by manually doing fastboot boot twr-recovery.IMG
Click to expand...
Click to collapse
flash mexican stock rom with rsd lite
Steve-x said:
Hmmm, doesn't look good. The fastboot screen doesn't even load the picture of the green Android. I am thinking the partition table is messed up. I know I saw something similar with the original(2013) Moto X a while back. You may want to do some searching in that forum.
Click to expand...
Click to collapse
Hola Steve,
Indeed, it looks like the partition table is messed up, I will look for that Moto X thread.
@Jaocagomez I have tried that, but it fails with gpt.bin partition flash and even after flashing everything else (RSD, fastboot or TWRP) it does not work.
After reading quite a lot on the Internet, it seems that my problem happened to some Moto G and Moto X users. Seems to be that I am trying to flash a gpt.bin that is older than the one already in my phone. I will try again when the Mexican Lollipop image is released in xml.zip format.
In the mean time, I will continue to search for solutions.
Hi
I think I have the same issue.
I have XT1225 bought it from Amazon (I asked the company and they said Puerto Rico origin) factory unlocked. had 4.4.4 and tried to upgrade to 5.0.2. Here is what I exactly did:
devices not rooted, locked bootloader
downloaded RSD Lite
downloaded the official 5.0.2 India Firmware
tried to flash it using RSD
got an error in flashing boot from RSD
I tried to do it again and I get the same issue, I tried to flash the Puerto Rico 4.4.4 and it didnt work (it get stuck in partition gpt) and my device is dead. I tried to unlock the bootloader using the code from motorola and it says allow oem unlock from developer menu
tried doing it manually using mfastboot with both 5.0.2 and 4.4.4 and still didnt work.
please let me know if you managed to fox your problem or if anyone can help us get back our devices
Stuck in fastboot
rehaili said:
Hi
I think I have the same issue.
I have XT1225 bought it from Amazon (I asked the company and they said Puerto Rico origin) factory unlocked. had 4.4.4 and tried to upgrade to 5.0.2. Here is what I exactly did:
devices not rooted, locked bootloader
downloaded RSD Lite
downloaded the official 5.0.2 India Firmware
tried to flash it using RSD
got an error in flashing boot from RSD
I tried to do it again and I get the same issue, I tried to flash the Puerto Rico 4.4.4 and it didnt work (it get stuck in partition gpt) and my device is dead. I tried to unlock the bootloader using the code from motorola and it says allow oem unlock from developer menu
tried doing it manually using mfastboot with both 5.0.2 and 4.4.4 and still didnt work.
please let me know if you managed to fox your problem or if anyone can help us get back our devices
Click to expand...
Click to collapse
I am facing the same problem
Though my device is different : XT1254 (verizon locked)
As bootloader is not unlocked, i cannot flash any software any way. Tried all the software from all the countries but to no avail.
The Phone is stuck in fastboot mode.
Please help
You 1225 folks might want to wander into this thread... http://forum.xda-developers.com/droid-turbo/general/tutorial-to-kk-soak-lollipop-t3041129 ... I've hashed my phone out a couple times between CM, lollipop, exposed, playing with the kernal and so on and it got me back up and running.
guys I need ASAP help, stuck in reboot after update, got intsallation error 7. now im stuck on logo reboot, cannot enter recovery (I see "dead" android icon. Please help!
jazzus said:
guys I need ASAP help, stuck in reboot after update, got intsallation error 7. now im stuck on logo reboot, cannot enter recovery (I see "dead" android icon. Please help!
Click to expand...
Click to collapse
We need more information. What is your original firmware, what did you try to update to and is your bootloader unlocked?
Steve-x said:
We need more information. What is your original firmware, what did you try to update to and is your bootloader unlocked?
Click to expand...
Click to collapse
Ok fixed, after 20 or 30 tries I was able to enter recovery Thx!
Hi
I'm stuck on Bootloader Unlocked Warning message after flashing stock
firmware by the way of adb commands. I've already tried Erase cahe and
data reset via recovery to no avail.
Any help is much appreciated.
samteeee said:
Hi
I'm stuck on Bootloader Unlocked Warning message after flashing stock
firmware by the way of adb commands. I've already tried Erase cahe and
data reset via recovery to no avail.
Any help is much appreciated.
Click to expand...
Click to collapse
flashes firmware with Mfastboot
https://docs.google.com/file/d/0B4PT9WP-u_z9NXRBWF9EV2lGcWs/edit
OsoCroo said:
flashes firmware with Mfastboot
https://docs.google.com/file/d/0B4PT9WP-u_z9NXRBWF9EV2lGcWs/edit
Click to expand...
Click to collapse
Thank you for your reply.
I did the whole thing on my MacBook and never thought about this
since every command went through smooth with no problem!
I suppose I should do it all over with Windows machine.
I also think that I might have made couple of mistake at
some commands as I see different version of the said ADB
commands around the forum!!
Would someone know the ADB commands for flashing Motorola
Firmware on to Moto X 2014? I'd really appreciate it if you can
direct me toward that. Thank you.
PS= My Moto X 2014 Variant: XT1097 Telus
samteeee said:
Hi
I'm stuck on Bootloader Unlocked Warning message after flashing stock
firmware by the way of adb commands. I've already tried Erase cahe and
data reset via recovery to no avail.
Any help is much appreciated.
Click to expand...
Click to collapse
I had this happen to me a few times. To solve it I went into recovery and wiped cache. It booted after that.
samteeee said:
I also think that I might have made couple of mistake at
some commands as I see different version of the said ADB
commands around the forum!!
Would someone know the ADB commands for flashing Motorola
Firmware on to Moto X 2014? I'd really appreciate it if you can
direct me toward that. Thank you.
PS= My Moto X 2014 Variant: XT1097 Telus
Click to expand...
Click to collapse
The commands are the same, I used motorola's version of fastboot in the official 5.0 factory IMG that they supply for you. I got everything from here https://motorola-global-portal.custhelp.com/app/standalone/bootloader/recovery-images it has the instructions on the page as well
edit ooops :just saw your PS lol this is for the xt1095
chapelfreak said:
The commands are the same, I used motorola's version of fastboot in the official 5.0 factory IMG that they supply for you. I got everything from here https://motorola-global-portal.custhelp.com/app/standalone/bootloader/recovery-images it has the instructions on the page as well
edit ooops :just saw your PS lol this is for the xt1095
Click to expand...
Click to collapse
Thank you for replying.
The instruction that I followed was a bit different. I mean most commands are the same but few:
I did: mfastboot.exe flash system system_sparsechunck.0 to 7 instead of flashing system, motoboot and gpt!
This must be the reason then why I cannot flash OTA and also why the system/software is showing "modified" in the bootloader.
I will try the commands from motorola site and report back.
Edit: I tried with the Motorola instructions to no avail! When trying to flash system: max sparse target 256 mb
Error: cannot load system image NO ERRORS
Also the software status remains "modified".
I'm stuck on this too. I can get my phone into fastboot, but I don't think the phone has USB debugging on since I just wiped it to factory settings. Any other options?
vinnyt3hpooh said:
I'm stuck on this too. I can get my phone into fastboot, but I don't think the phone has USB debugging on since I just wiped it to factory settings. Any other options?
Click to expand...
Click to collapse
Boot into recovery and then wipe cache. I had this happen after a factory reset. Clearing the cache fixed the problem.
Below are the instructions for using MoFo to flash the AT&T XT1097 to 5.1. The rooted image has a modified build.prop file for free tether. Thanks go to @Slack3r for making the ext4 image and @btdownloads7 for developing the root method.
Since this is a 5.1 image, in order to get it to boot, you need to do the following BEFORE flashing the 5.1 system image:
1) Download the stock 5.1 files and extract them:
https://mega.co.nz/#!bN0BjKbI!zzq5b9wZBo-XFGNkcWtgw7mnXZgC5BWrEC-GZcGLELo
2) Using a root file explorer (like ES Explorer with root enabled), delete everything in /data/dalvik-cache and /cache - YOU MUST DO THIS!
3) Reboot into bootloader mode and run the commands below to flash the following stock 5.1 files for the XT1097:
Code:
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot flash recovery recovery.img
Do NOT flash the 5.1 bootloader (motoboot.img) or partition table (gpt.bin) - if you do, you will not be able to use MoFo ever again!!!!!
4) Download the rooted 5.1 image from here, extract it and flash it using MoFo.
https://mega.co.nz/#!ct8DlQxQ!DRMC_TvCcUk7V-FjCBfjsmIoOvw_f0WEdM7gx2waqzM
MD5 of the unzipped file = 146B6A65D925B985857A2F28D4294765
Note that with the XT1096 we had issues if we tried to boot into recovery after initially flashing the 5.1 system image so instead of booting into recovery and wiping cache where you might get weird flashing dead androids, we had to boot into system first.
Obviously if you want Xposed or anything else in the image, someone will need to add it in.
Thank you!
Those of us already rooted with mofo on 5.0.2 need to return to stock 5.0.2 first, correct?
Casyis said:
Thank you!
Those of us already rooted with mofo on 5.0.2 need to return to stock 5.0.2 first, correct?
Click to expand...
Click to collapse
No, the instructions as written in the OP are complete. Like the instructions say, you need to do step 2:
2) Using a root file explorer (like ES Explorer with root enabled), delete everything in /data/dalvik-cache and /data/cache - YOU MUST DO THIS!
Then you can flash the rest of the 5.1 stock files for your device EXCEPT for the bootloader (motoboot.img) and partition table (gpt.bin). Then use MoFo to flash the rooted 5.1 image for your device.
Thanks for clarifying.
I followed the instructions precisely, and the phone won't power up normally. It goes into recovery, and the android icon with exclamation just flashes intermittently. I'm unable to enter options to wipe cache. I can boot into recovery by holding volume down, but normal startup presents this behavior.
Any ideas?
EDIT: I chose BP Tools in boot options, and now the phone at least appears to be booting normally -- currently optimizing apps.
EDIT 2: Okay, so selecting BP tools evidently kicked the phone into booting normally. Looks like everything is just as it should be. Not sure what happened here, but in the end everything is good. Thank you (everyone involved) for getting this done for us!
Casyis said:
Thanks for clarifying.
I followed the instructions precisely, and the phone won't power up normally. It goes into recovery, and the android icon with exclamation just flashes intermittently. I'm unable to enter options to wipe cache. I can boot into recovery by holding volume down, but normal startup presents this behavior.
Any ideas?
EDIT: I chose BP Tools in boot options, and now the phone at least appears to be booting normally -- currently optimizing apps.
EDIT 2: Okay, so selecting BP tools evidently kicked the phone into booting normally. Looks like everything is just as it should be. Not sure what happened here, but in the end everything is good. Thank you (everyone involved) for getting this done for us!
Click to expand...
Click to collapse
This was happening with the XT1096 - you have to get it into system before recovery. You likely hit the wrong button and ended up in recovery instead of system. But once you get it into system, then it is fine.
Thanks again @JulesJam I am downloading now! Do you notice a big performance difference in 5.1? Will be nice to finally kill these memory bugs, so major thanks for that!
The OS is much snappier than 5.0.2. You can tell by going into multitasking and seeing how quickly the tiles load. Very, very nice. No re-draws at all yet since I flashed.
Step 2 implies that I'm already rooted. If I'm not, I assume I need to start with Step 0: Root the device with a 5.0 IMG?
What all would I need to fastboot flash from the stock files to return to stock @JulesJam ? My company just started using AirWatch service to get company email. Problem is airwatch will not work with root. Unfortunatly I will have to lose the ability to use MoFo.. Any help with this is greatly appreciated. Thanks!
bamachevrolet said:
What all would I need to fastboot flash from the stock files to return to stock @JulesJam ? My company just started using AirWatch service to get company email. Problem is airwatch will not work with root. Unfortunatly I will have to lose the ability to use MoFo.. Any help with this is greatly appreciated. Thanks!
Click to expand...
Click to collapse
FYI - like it says in the MoFo Noob Guide - MoFo trips the root checker and it is not able to be undone by flashing back to stock. I don't know how AirWatch works, but if it looks at the qe, then it will see you as rooted even if you aren't.
First thing I would do is flash back to 5.0.2 by flashing the stock 5.0.2 firware (link is in the MoFo Noob Guide)
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk1 (repeat this for all of the sparsechunks)
then boot into recovery and wipe the cache. Then boot into system. I believe it will need to downgrade the sensor firmware so allow that to happen.
Then boot into bootloader mode and see if your software status still says modified or not. Then boot into recovery and see what your qe status is. If after that your software status is still modified and your qe is still 1/1, I would do a factory reset and see if that corrects it. It probably won't though.
You will then have to decide whether or not you want to take the 5.1 OTA because your phone is going to want to upgrade. Instead of taking the 5.1 OTA which will upgrade your bootloader and partition table, you have the option of flashing stock 5.1 everything but the motoboot.img and gpt.bin. That would keep you stock 5.1 but still keep your bootloader and partition table on 5.0.2 so that if you wanted to sell the phone later, you could sell it with a copy of MoFo that still works. I put this out there because idk how AirWatch works and if flashing back to stock doesn't change your software status from modified or your qe from 1/1, you may not be able to use AirWatch, idk.
Thank you so much for the detailed explanation @JulesJam . Unfortunately I followed the instructions to the T and didn't run into any issues until I tried to boot into recovery. I got the dead android with a line under saying "no command". So I tried running system first. I got through the boot animation and then a black screen. I let the black screen sit for 30 min and nothing happened. I had the exact issue when installing 5.1, I was able to get it to boot using BT tools. Unfortunately this is not working now. I get the same black screen after the boot animation. I tried multiple times with no luck. I can however still get into fastboot without issues
Any ideas how I can get 5.0.2 to boot? Thanks again!
bamachevrolet said:
I get the same black screen after the boot animation. I tried multiple times with no luck. I can however still get into fastboot without issues
Any ideas how I can get 5.0.2 to boot? Thanks again!
Click to expand...
Click to collapse
For sure you flashed the 5.0.2 logo.bin, boot.img and all of the 5.0.2 system sparsechunks? That sounds like the system partition was not flashed properly.
Perhaps the 5.0.2 system files you have are corrupted? Are you sure the files you have are the stock 5.0.2 files for the AT&T XT1097?
bamachevrolet said:
I got the dead android with a line under saying "no command". !
Click to expand...
Click to collapse
That's OK as long as he is not flashing. When you have the dead android, go ahead and press and hold power then tap volume up to get into recovery and wipe the cache.
Thank you! I was able to get into recovery to wipe cache, but still won't boot.
I downloaded 5.0.2 from your noob guide, and flashed everything in the order of your first replied post. I am going to start over, just in case I missed something.
Don't think it matters but the sparsechunk starts at 0 in the AT&T file. I flashed the sparschunks in order, and in my case 0-8.
bamachevrolet said:
Thank you! I was able to get into recovery to wipe cache, but still won't boot.
Click to expand...
Click to collapse
How long do you let the blank screen sit before you try to get into bootloader mode? I remember sometimes it takes awhile for it to boot.
Also, the dalvik-cache may need to be wiped too. That would require a factory reset to do it so you could boot into recovery and do a factory reset. Unless there is some way to wipe the dalvik-cache from bootloader mode.
bamachevrolet said:
Don't think it matters but the sparsechunk starts at 0 in the AT&T file. I flashed the sparschunks in order, and in my case 0-8.
Click to expand...
Click to collapse
That's fine. I wasn't sure what number they started with.
bamachevrolet said:
I downloaded 5.0.2 from your noob guide, and flashed everything in the order of your first replied post. I am going to start over, just in case I missed something.
Click to expand...
Click to collapse
And after you do, let it sit at the blank screen for awhile to make sure that it isn't an issue of needing time to boot up. If it still won't boot, try the factory reset.
Thank you so much @JulesJam !!! I'm booted to stock 5.0.2 now. I did have to do a factory reset, but not too big of a deal. Unfortunately I forgot to backup my 48 tasker profiles...lol. So glad to have it back up. Thank you again!!!
---------- Post added at 11:06 AM ---------- Previous post was at 11:01 AM ----------
[/COLOR @JulesJam do you have a donation link?
bamachevrolet said:
Thank you so much @JulesJam !!! I'm booted to stock 5.0.2 now. I did have to do a factory reset, but not too big of a deal. Unfortunately I forgot to backup my 48 tasker profiles...lol. So glad to have it back up. Thank you again!!![
Click to expand...
Click to collapse
Glad it worked out, sucks about the tasker profiles though. So it seems like the dalvik-cache has to be wiped, too. I will note that in the future people should delete the contents of the dalvik-cache folder before flashing back to the earlier version of the software.
Does your software status still say modified in bootloader mode? What is your qe when you boot into recovery?
bamachevrolet said:
@JulesJam do you have a donation link?
Click to expand...
Click to collapse
No but thanks for the offer. If you want to donate, please donate to the ASPCA.