Okay so i was trying to install CM12 alpha on my moto g 1st gen. It worked then i accidentally tried to turn on wifi so then it went into a boot loop i went into TWRP and went to wipe advanced(stupidly) and ticked off data and system so everything was wiped including the os so usb debugging wasnt enabled so there for i cannot execute commands into ADB to reflash stock kitkat I know there MUST be a way to fix this but I cant figure it out can anyone help me please!!
edit: now twrp seems to be going into some kind of a boot loop where it shows teamwin logo then flashes black then back to teamwin i think i have royally ****ed up my phone/ *face palm*
Every restore process I can find seems to require debugging enabled and moto g doesn't have external memory options so loading from sd card wouldn't work. You might have turned your phone into a brick D:
Virdii said:
Okay so i was trying to install CM12 alpha on my moto g 1st gen. It worked then i accidentally tried to turn on wifi so then it went into a boot loop i went into TWRP and went to wipe advanced(stupidly) and ticked off data and system so everything was wiped including the os so usb debugging wasnt enabled so there for i cannot execute commands into ADB to reflash stock kitkat I know there MUST be a way to fix this but I cant figure it out can anyone help me please!!
edit: now twrp seems to be going into some kind of a boot loop where it shows teamwin logo then flashes black then back to teamwin i think i have royally ****ed up my phone/ *face palm*
Click to expand...
Click to collapse
Then ... a normal restoration you can do it this way (I state that I do not know how a Moto G because I've never had one but it should work)
Download drivers adb your Moto G,
download the factory image,
sends the smartphones in the bootloader,
connect your smartphone to the PC (linux) and a terminal by these codes
Code:
fastboot -w erase data
fastboot -w format system
fastboot flash image (paste the image here)
Hit enter and you will start code-screen, and it will show you the progress of the operation as a normal recovery, pray much and hopefully be successful.
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, everyone.
So basically this is my issue. One day at work my Moto G restarted randomly and has been stuck in a bootloop ( boot animation cycles infinitely ).
I can access fastboot, booting to recovery freezes on TWRP logo.
My phone is rooted, unlocked and etc. I have tried flashing stock firmware, no changes, not even my custom boot logo and animation don't change.
I have tried using fastboot to erase everything and format but formatting fails saying this filesystem cannot be formatted.
I can access my files by booting into another recovery using fastboot boot recovery.img ( tried with PhilZ ) although it shows everything as it was before this all this ( all files gone, only directories left ).
I noticed that I could use ADB while stuck at TWRP logo. I tried pushing roms and using booted PhilZ to find them but they never appear, I can only push to /tmp, anything else doesn't exists although is shown through booted PhilZ.
I have tried using mkfs.ext4 to format my filesystem, everything went as it should but nothing changed.
TL;DR Bootloop, recovery does not open, fastboot flashing does nothing, adb push doesn't push anything
What the hell is going on with my phone? Any ideas people?
Somehow, your file system can't be accessed....was your phone encrypted?
itouchables said:
Somehow, your file system can't be accessed....was your phone encrypted?
Click to expand...
Click to collapse
It wasn't, I never encrypted it.
Also fastboot getvar all shows that my partition type is RAW.
Shouldn't it be F2FS or EXT4?
Maybe anyone has a proper partition mount point list for the Moto G?
I would try mkfs.ext4 formatting every possible mount point (cache,data,system and etc)
For example dev/block/mmcblk0p38
I found a Moto X mount point list but I have no clue if it's the same or not
Aequus.Mihi said:
Hello, everyone.
So basically this is my issue. One day at work my Moto G restarted randomly and has been stuck in a bootloop ( boot animation cycles infinitely ).
I can access fastboot, booting to recovery freezes on TWRP logo.
My phone is rooted, unlocked and etc. I have tried flashing stock firmware, no changes, not even my custom boot logo and animation don't change.
I have tried using fastboot to erase everything and format but formatting fails saying this filesystem cannot be formatted.
I can access my files by booting into another recovery using fastboot boot recovery.img ( tried with PhilZ ) although it shows everything as it was before this all this ( all files gone, only directories left ).
I noticed that I could use ADB while stuck at TWRP logo. I tried pushing roms and using booted PhilZ to find them but they never appear, I can only push to /tmp, anything else doesn't exists although is shown through booted PhilZ.
I have tried using mkfs.ext4 to format my filesystem, everything went as it should but nothing changed.
TL;DR Bootloop, recovery does not open, fastboot flashing does nothing, adb push doesn't push anything
What the hell is going on with my phone? Any ideas people?
Click to expand...
Click to collapse
Hi! did you find a solution?!
Oliverrlh said:
Hi! did you find a solution?!
Click to expand...
Click to collapse
No. Turns out my phone memory chip was corrupted due to flashing
Aequus.Mihi said:
No. Turns out my phone memory chip was corrupted due to flashing
Click to expand...
Click to collapse
I think I might have a similar situation. Can you give me an advice on how to confirm this?
The only difference in the circumstances is that my fiance's moto g has a custom recovery on it then she tired to install the 5.1 update. Then it would boot into the OS and after while would shut down then go to the recovery. I thought I had solved the issue by doing a factory reset. Everything was going fine until I turn it off. Now I get the boot animation and then a black screen. I can get the load screen on the custom recovery but that is it The computer can still recognize the phone.
Does this sound like your situation?
Icon000 said:
I think I might have a similar situation. Can you give me an advice on how to confirm this?
The only difference in the circumstances is that my fiance's moto g has a custom recovery on it then she tired to install the 5.1 update. Then it would boot into the OS and after while would shut down then go to the recovery. I thought I had solved the issue by doing a factory reset. Everything was going fine until I turn it off. Now I get the boot animation and then a black screen. I can get the load screen on the custom recovery but that is it The computer can still recognize the phone.
Does this sound like your situation?
Click to expand...
Click to collapse
That's the same situation I was in.
Even if you try to flash another ROM, it will never install.
You can't modify any files because the memory is ****ed.
I sold the phone for parts and bought a S4
I have an old Moto G 1st gen, and I forgot its password. Now I'm trying to hard reset it, or do whatever necessary to wipe everything, but no success. I have already tested all options below with the bootloader unlocked, but USB debugging mode is off.
Things I have tried:
1) Hard reset and wipe data from boot menu. Here it says its cleaning, with no error, but when the phone reboots, nothing have changed and no data was erased.
2) Install the stock firmware, both kit kat and lollipop roms in fastboot. Here it copies all files, without any error, reboots the phone but nothing have changed either!
3) Tried to install any custom recovery, but no success because it has USB Debugging mode off. Besides that, I tried to load the custom recovery into RAM and runs it from there (read here the thread), but the phone reboots in the stock recovery.
4) Tried to erase the password with Android Multi Tools, but since USB Debugging is off, ADB commands are not working.
I'm lost and don't know what options I have left.
Hi !
I see that you`re getting help here https://forum.xda-developers.com/mo...set-moto-g-t3539447/post70585087#post70585087
Thread closed
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
Hey guys,
I got a moto g here which has a bootloop (cyanogenmod is installed).
I tried to boot TWRP but it also doesnt boot up fully - only showing the TWRP splash screen.
So I went and got the factory image and flashed that with fastboot - but even though there were no error messages it seems that nothing actually sticked on the phone.
When I try to boot it still booting CM and when I try to enter stock recovery its still the TWRP?!
Tried flashing CWM but its still TWRP..
Any ideas on how to fix it, or is this problem "known" or smth?
Seems like this is a hardware failure - like internal memory broken.
zroice said:
Hey guys,
I got a moto g here which has a bootloop (cyanogenmod is installed).
I tried to boot TWRP but it also doesnt boot up fully - only showing the TWRP splash screen.
So I went and got the factory image and flashed that with fastboot - but even though there were no error messages it seems that nothing actually sticked on the phone.
When I try to boot it still booting CM and when I try to enter stock recovery its still the TWRP?!
Tried flashing CWM but its still TWRP..
Any ideas on how to fix it, or is this problem "known" or smth?
Seems like this is a hardware failure - like internal memory broken.
Click to expand...
Click to collapse
Try using the mfastboot package, install the Motorola USB drivers if you haven't done so and flash the ROM, as per the instructions here:
https://forum.xda-developers.com/showpost.php?p=71328823&postcount=915
Seeing as I assume your phone responds to key presses, you can ignore the dismantling part of the instructions provided.
aha360 said:
Try using the mfastboot package, install the Motorola USB drivers if you haven't done so and flash the ROM, as per the instructions here:
https://forum.xda-developers.com/showpost.php?p=71328823&postcount=915
Seeing as I assume your phone responds to key presses, you can ignore the dismantling part of the instructions provided.
Click to expand...
Click to collapse
thanks for your reply!
unfortunately I already tried to install the stock rom with fastboot and mfastboot - every step would be processed, but in the end the phone was just in the same state - with twrp and cyanogenmod on it - both not booting,
Funny thing is that when i boot to twrp i can actually adb to the phone while it bootloops twrp - I tried placing and removing files in data but they would just disappear or reapper aka the device was still just as before.
Whats weird though is that I never get a single error message - it just takes all commands and stuff but they dont stick?! never had a phone like that. Usually the flashes fail or smth if the memory is broken,
zroice said:
thanks for your reply!
unfortunately I already tried to install the stock rom with fastboot and mfastboot - every step would be processed, but in the end the phone was just in the same state - with twrp and cyanogenmod on it - both not booting,
Funny thing is that when i boot to twrp i can actually adb to the phone while it bootloops twrp - I tried placing and removing files in data but they would just disappear or reapper aka the device was still just as before.
Whats weird though is that I never get a single error message - it just takes all commands and stuff but they dont stick?! never had a phone like that. Usually the flashes fail or smth if the memory is broken,
Click to expand...
Click to collapse
That's massively odd - have you tried unbricking the device by forcefully bricking it then unbricking it here:
http://forum.xda-developers.com/moto-g/help/how-to-revive-hard-bricked-moto-g-t2833798
https://forum.xda-developers.com/moto-g/help/how-to-unbrick-moto-g-falcon-t3394788
If you have tried everything, then I cannot help you any further sadly.
@zroice
try
Code:
fastboot boot TWRP.img
maybe flashed TWRP can't mount /data or other partition