Hello, i just flashed Lollipop 5.0.1 with the factory image method.
When running flash-all.bat everything worked fine but the last step, " Writing System " (Just after " Sending System " ) failed.
So i exit .cmd, unplug the Nexus 5, force reboot it.. And it boots just normally to Lollipop. So the flash is successful.. Even with " Writing system " failed ?
Is it ok like that now or should i do it all over again ? (The Nexus is running lollipop fine now but idk if it could have corrupted some things)
The problem for many people is the flash scripts give errors. You could try and fastboot flash the system.img manually if you're worried. I never use these scripts
I had this problem when I was going back and forth from KitKat to lollipop and I had to extract the factory image and flash each portion one at a time then it was fine in my case system would fail and every thing else would say it went threw but when booting it would boot kitkat there is a guide some were I had found about this but can't recall were I found it.
Related
FINAL EDIT: FIXED!!! Sparsechunk files 1,2and 3 have to match the exact name with the firmware folder sparsechunk files.
I did not notice that my firmware sparsechunk files ended in .0 .1 .2 and not 1 2 3 like the tutorial had listed, so I was fastbooting the wrong sparsechunk command. That was the final fix that finally worked for me.
Original post:
SHORT VERSION:
My god this has been one crazy root journey.
I have done absolutely EVERYTHING I could pull up on google to fix my phone, and what seemed to be the final piece to the puzzle, still has not fixed anything.
My phone is bricked, and i would really appreciate help at this point.
The current problem:
When I turn on my phone, it vibrates, and displays the WARNING BOOT LOADER UNLOCKED screen, and stays there forever.
I can access my boot loader, and recovery, but I dont know what to do at this point.
I tried a quick flash stock recovery kit kat with moto tool AIO, and it didnt help.
Any ideas?
LONG VERSION (backround info may help to understand the current issue)
Now, if you want to know what began all of this, continue reading, otherwise the above is my current issue.
After successfully unlocking and rooting my phone
I downloaded SWITCHME, an app that lets you create multible users on the phone. the instructions say that you can use a sub account to test and mess around with anything because you can simply go back to the admin account that has everything untouched.
That was a lie.
1.I deleted .setup, along with a few other things THAT WHERE NOT FLAGGED AS IMPORTANT, assuming the phone would still work. and my phone went bonkers, displaying this infinite message: UNFORTUNATELY, SETUP HAS STOPPED. It was impossible to use the phone, and I could only access bootloader.
2.After endless googling, driver downloading, xda mod installing, I managed to set up my boot loader to do the guide restore stock firmware:http://forum.xda-developers.com/showthread.php?t=2542219
Sadly, I flashed the wrong model number package, I was flashing x35, when I later discovered that my phone is x45.
Flashing the x35 firmware bricked my phone further, to where it would "fail to boot up" and would only display bootloader over and over after attempting to turn the phone on.
3. Simple, I realized I flashed the wrong thing, so I downloaded the x45 firmware from the firmware teem on this website, flashed all of the commands, and bam, the phone starts up with the boot loader warning, and DOES NOT get stuck in the previous boot loader issue I had.
But now the phone wont get past that warning screen so... now im pissed.
Please, if anyone can help me I would greatly appreciate it, Im so close to getting my phone back...
EDIT 2: Looks like the phone wont stay shut down, I realized that if I dont open up boot loader, it will turn itself on and display the warning message.
EDIT:
The stuffs I have, ready to try anything:
CWM touch mod
Moto Tool AIO
Minimal ADB and Fast boot
RETUS x1045 factory firmware
All directories, folders, cmd commands are set up and working properly between all of the programs.
The phone appears to be responding to all cmd commands properly.
I also have the windows one touch super boot root method. (he superboot-windows.bat )
Im afraid to try anything major after freshly flashing the x45 firmware that seemed to bring me one step closer without the help of someone else.
I restored stock to my phone using this link yesturday http://www.ibtimes.co.uk/how-restore-motorola-moto-g-stock-firmware-1447290
it may work for you
I have almost the same problem as if the fastboot not install anything despite not display errors
great that you got it done.
maybe my few cents about my "bricking" story. (xt1032 moto g)
yesterday i wanted to change the rom from cm11 nightly to another custom rom like ehndroix/carbonrom...
first i thought that will be done in a few mins, after having already flashed a custom rom.
then the story began, getting adb work, but, 2weeks ago everything was setup and went fine. dunno why my laptop lost the "drivers".
thats the link which solved that problem: tinyurl . com / kgffjh4 [sorry cant post links outside of xda yet, spam protection]
so after a few hours of getting that fixed i, i began flashing.
suddently i got stuck in bootscreen (ehndroix logo for example)...
then i wanted to go back with my previous backup made internaly of clockworkmod. though i couldnt restore my backup because there was an error message while restoring /data of my backup
also when restoring to factory/wipe in cwm there was that error message about clouldnt "touch" /data, i dont remember the message exactly.
after thinking i bricked everything, i though lets wipe my internal sdcard, maybe that causes the /data error.
then i restarted the device and went for a shower... after 15min i came back and my device was "started".
now i dont know that exactly helped, maybe wiping all data on my phone, or just letting my device boot for a "long" time...
so, thats my yesterdays brick story.
do a factory reset if the bootloader has that option.. otherwise install or run/boot a custom revovery, then either
try the factory reset option there and reboot or..
wipe everything and install a rom
Ok try this, I'm was a victim too:
Relock and unlock bootloader
Download and flash latest Philz
From there format everything...EVERY PARTITION...switch F2FS
After switching wipe every partition again
Select and execute the other 3 wiping option ie., Clean to install new ROM and the other 2 (I can't remember now)
Do this all over again via TWRP too
Now, this is important, don't use the mfastboot for restoring stock...use the one provided by Google for its Android SDK
Flash the stock images
Flash the Moto Razr boot animation and not the one for Moto G to remove the warning sign
I'm 99.99% sure your phone will boot properly
After the phone boots, reflash the Moto G bootanimation
Good Luck!
ngr.hd said:
Ok try this, I'm was a victim too:
Relock and unlock bootloader
Download and flash latest Philz
From there format everything...EVERY PARTITION...switch F2FS
After switching wipe every partition again
Select and execute the other 3 wiping option ie., Clean to install new ROM and the other 2 (I can't remember now)
Do this all over again via TWRP too
Now, this is important, don't use the mfastboot for restoring stock...use the one provided by Google for its Android SDK
Flash the stock images
Flash the Moto Razr boot animation and not the one for Moto G to remove the warning sign
I'm 99.99% sure your phone will boot properly
After the phone boots, reflash the Moto G bootanimation
Good Luck!
Click to expand...
Click to collapse
I try to flash any recovery but after entering I get an android and says no commands, and installation does not throw errors
angelgzg said:
I try to flash any recovery but after entering I get an android and says no commands, and installation does not throw errors
Click to expand...
Click to collapse
You're still in stock recovery.
Use fastboot flash recovery xyz.zip to flash philz recovery
Use this when you're in bootloader mode.
ngr.hd said:
You're still in stock recovery.
Use fastboot flash recovery xyz.zip to flash philz recovery
Use this when you're in bootloader mode.
Click to expand...
Click to collapse
I flash the recovery but rebooted into recovery, the android keeps popping up (no commands)
FINAL EDIT: FIXED!!! Sparsechunk files 1,2and 3 have to match the exact name with the firmware folder sparsechunk files.
I did not notice that my firmware sparsechunk files ended in .0 .1 .2 and not 1 2 3 like the tutorial had listed, so I was fastbooting the wrong sparsechunk command. That was the final fix that finally worked for me.
Sorry I'm traveling a d couldnt update thread fast enough.
Hello Guys!
Recently i received my used Motorola Moto G. Phone was nice, I was using it like every teenager, instagram snapchat etc. But last night i wanted to install rom on phone. Saw thread about installing everything, root rom etc. with 1 program. I tought it will be nice, so i downloaded it, run, and there is a problem. It was command line tool, everything gone right, there was messeage about clicking any button to continue, I did it and then my phone restarted, but there was like normal 5.0.2 android not 5.1 what was saying guy who wrote thread about that program. So i thought that i will do everything step by step, unlocked bootloader, installed recovery and when i first time opened recovery from bootloader menu it had problem with mounting data partition. I was trying to install firmware roms, but it had problems with downgrading bootloader. Downloaded 5.0.2 firmware .xml.zip file, it gone ok, i mean there wasn't a problem with motoboot.img, and at every single command there was only okay, there wasn't failed, just had 2 problems on phone screen, it was saying "hab check failed for boot" and "hab check failed for recovery". After typing every single command to fastboot and restarting phone always phone was stucked on boot screen, i mean on 4.4 it was stuck on messeage about unlocking bootloader, on 5.0.2 it was stucked on that 4 colors orbs flying around the screen. Then i was trying to open my stock recovery, but it was always broken, opened android with warning sign on it. When i was installing custom recovery that had problems with mounting /command /log /last_log /last_install, and when i was trying to mount data it couldn't mount it, I was trying to format /data and /data/media, it was always going ok and then i could mount data partition, but my phone was still stuck on boot screen. I was trying to install custom recovery again but it had same problem, just opened android with warning sign. And there is a question, what can I do to make my telephone working.
I'm sorry for mistakes, but my english is not the best
Try reading this thread here and see if that helps.
Hello everyone, I got an Indian XT1033 on Lollipop 5.0.2 which is not working properly.
I unlocked the bootloader and tried to flash the stock 5.1, but after the process finishes and the device reboots, it goes again into the old system; basically, looks like it doesn't install the OS and doesn't wipe the device.
In recovery, I get errors when I try to wipe and when I attempted to flash the gpt file alone for cleaning the partitions, it gave me errors as well.
Any suggestions? I tried everything and read many posts here, but none of them worked so far. Can you help me?
slimhunter said:
Hello everyone, I got an Indian XT1033 on Lollipop 5.0.2 which is not working properly.
I unlocked the bootloader and tried to flash the stock 5.1, but after the process finishes and the device reboots, it goes again into the old system; basically, looks like it doesn't install the OS and doesn't wipe the device.
In recovery, I get errors when I try to wipe and when I attempted to flash the gpt file alone for cleaning the partitions, it gave me errors as well.
Any suggestions? I tried everything and read many posts here, but none of them worked so far. Can you help me?
Click to expand...
Click to collapse
have u tried to fastboot flash starting from Kitkat Again ?? (4.4.4>5.0.2>5.1.1)...
Actually yes, I tried all the steps: upgrading, staying on the same version and downgrading...always with the same result, when the process finishes and the phone reboots, it's still not wiped. If I try to flash single files, this is very weird, it returns errors. Basically it's like it doesn't write anything into the NAND.
slimhunter said:
Actually yes, I tried all the steps: upgrading, staying on the same version and downgrading...always with the same result, when the process finishes and the phone reboots, it's still not wiped. If I try to flash single files, this is very weird, it returns errors. Basically it's like it doesn't write anything into the NAND.
Click to expand...
Click to collapse
did you notiched fastboot console showing "success" or "writing failed" while flashing?
Are you flashing the 5.1 Factory Firmware Image?
Firmware Images: http://forum.xda-developers.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795
Fastboot flashing Tutorial: http://forum.xda-developers.com/showthread.php?t=2542219
What you describe sounds like a classic case of corrupt read-only emmc. One solution may be to try flashing CyanogenMOD.
Quick update after many attempts, following all your suggestions: I gave up as none of them worked...to be more precise, when flashing single files it gave various errors, while flashing the whole bunch with the script it went through every step without giving errors; no "success" info came up though.
I flashed the 5.1 image as well, but it didn't solve the issue...I sent it for repair, we can close this thread. Thanks for your kind suggestions!
Hi guys in a new guy in xda Peace be upon you all .So here is the deal i have rooted quite a few phones and unlocked and got rid of softbrick .But this one is give me a headache .The owner gave me the phone he said he bought a 10 of those for his repair shop.I fixed the Htc One it was 2 nights of work barely any sleep.But never the less this device is moto g first generation the device is locked by pattern and wont let me in .If i slide to the camera at the lock screen camera stopped working .Fine i was like oke this would be easy its corrupted os .Next i tried to unlock the bootloader it failed with error battery was very weak like 5 %than i let it charge to about 80% and i managed to unlock the bootloader .Next i tried to install custom recovery to get rid of screen lock .when i go to recovery i got the screen with green android dude on his back with no comand then i hold volume up button for 10 sec and i tap the power button and it booted to android stock recovery .No matter what i do i couldnt get to install custom recovery it says finished without errors in cmd but i couldnt it always reverts me to stock recovery .Someone told me some stock roms after restart reinstalls stock recovery.Then i said fine i will do this in fastboot on cmd :fastboot boot recovery twrp.img and its the same it says downloading fine then goes and its the same stock recovery adb sideload wont work because usb debbuging is turned off i think because when i type adb devices it displays nothing emtpy so i even tried to get rid of whole stock rom but no go i tried fastboot erase data fastboot erase system fastboot erase cache it all displays sucesfull next reboot the same stock rom like i never touched anything i even tried factory reset in stock recovery it wont work it says done. like its completed but it doesnt do anything any help is apprecieted
Disclaimer: I am by no means an expert! But I have flashed twrp to 2 Moto Gs this week.
What I needed to do after flashing the recovery, was going immediately to recovery without rebooting.
When I rebooted after flashing the recovery I also got the 'no command' guy. But going to recovery from the bootloader menu after flashing worked for me.
Sent from my MotoG3 using Tapatalk
Thank you for replying i already tried that but it doesnt work i tried twrp cwm recovery you name it it doesnt work .Hm what i dont get i erased the whole stock os with fastboot erase data fastboot erase system and it still boots in to the os only tought that comes in to my mind is that the bootloader is corrupted messed up .Or is the eMMC it has errors .I dont know what to do i tried all or maybe the phone is stolen and it wont accept any permissions but i doubt it i get no errors in fastboot and trough flashing and factory reset all completed sucesfully .I dont know what to do .This is a tough one if i only had riff box jtag to try that Do you know some custom bootloader can you link me ?
You need to flash original stock 5.1 rom for your phone..From this link you have tutorial how to do it. You must do it because your partitions and file system is messed up..With this stock rom will be fixed bootloader and partitions..
After install stock rom you could install twrp again and any custom rom..
thank you kind sir i will try that thank you
why???
I done as it says in the tutorial cmd returns all okay when i finished the instalation the some old os locked screen same old recovery same thing nohing changed i done everything correct why mate do you know the reason i even put android 5.02 .Its like i never touched anything i done all right
Hi to everybody.I hope someone has gone through the same im going and can help.I was on Android 7.0 Emui 5.0.1 NXT-L29c432B582 and wanted to rollback to android 6.0 .i flashed a transition package so i was going to be able to flash the 6.0 ROM and the first package flashed ok.it changed my cust to NXT-L29C900B500,but when i wanted to do the step 2 that is to flash the 6.0 software through dload,i always get an error at 35 % that says Software Install Failed .Failed to check the update package,please download the package again.after that,i tried several versions and it always its the same,so finally i got tired of it and tried to flash my cust back to c432.The real problems starts here,first i tried to change oeminfo and custom.bin and i get this message /system/bin/sh: su: not found.I thought that its because the phone was not rooted so i tried to do it. but i get this message failed remote sparse flash write failure.since then i cant flash anything,i could flash through fastboot the boot,recovery and system img but i dont have keyboard when i want to configure my phone at start.i cant even do a factory reset because i get a failed error and im starting to feel desperate.Any help would be greatly appreciated.thanks!!
EDIT: i made it work.the piece of **** chinese sd card was the problem.i tested it with a new one and it worked smoothly.i hope this can help someone