Can't factory reset? - Moto X Q&A

I tried the instructions posted at the Motorola site here:
https://motorola-global-portal.cust...r_detail/a_id/94936/p/30,6720,8696/reg/348778
It doesn't matter if I do the software reset from within android or the external reset, it won't work.
If I try the reset within android, it reboots and then boots normally.
If I try the external reset, I can get to the bootloader but when I choose 'factory' it reboots normally, not to recovery.
Device is rooted.
Any help?

Nevemind - just flashed stock recovery and was back in business.

dvation191 said:
Nevemind - just flashed stock recovery and was back in business.
Click to expand...
Click to collapse
Where did you get the stock recovery and how did you flash? I'm stuck in FC look and can't factory reset.

yamaha83 said:
Where did you get the stock recovery and how did you flash? I'm stuck in FC look and can't factory reset.
Click to expand...
Click to collapse
I got the image from here:
http://sbf.droid-developers.org/ghost_rcica/list.php
Booted the phone to the bootloader (adb reboot bootloader) and then used fastboot to flash the stock recovery:
fastboot flash system recovery.img
Then I was able to do a factory reset using the typical instructions posted in the OP

Related

Error on installing ota 5.0.2 on Nexus 7

I got a NExus 7 wifi 2012 that was running 5.0. It was rooted, and used TWRP.
I got info about the updated and pressed install. Booted in to TWRP and nothing happened. I then pressed install in TWRP and in cache found the .zip and tried to install. Got an error.
I then booted in to android again, and flashed the stock recovery 5.0.2 (I guess it's like the stock 5.0?) and later I tried the OTA install again. Got an error.
I then read about the new "feature" in 5.0 about not allowing OTA if rooted, and I then in SuperSU completely uninstall the root and rebooted.
Later when I got the OTA update again, I thought it should work, but I still got the error.
What can I do? Right now I'm on a MAC. Can I in some way flash only the good stuff from the factory image, and in some way NOT have to factory reset the Nexus 7?
/Söder
Even when you unroot, your file system is tampered. Only way to update is using factory images.
I think you can flash the factory image without user data to prevent factory reset.
theliquid said:
Even when you unroot, your file system is tampered. Only way to update is using factory images.
I think you can flash the factory image without user data to prevent factory reset.
Click to expand...
Click to collapse
How is it I do that then? What files from the factory images (unpacked) is it that I need to flash? Is it fastboot or ADB I use to flash?
/Söder
soder said:
How is it I do that then? What files from the factory images (unpacked) is it that I need to flash? Is it fastboot or ADB I use to flash?
/Söder
Click to expand...
Click to collapse
I have done this with my rooted N5 and N7. You need to re-flash system.
Unpack the 5.0 factory image and
fastboot flash system system.img
goraps said:
I have done this with my rooted N5 and N7. You need to re-flash system.
Unpack the 5.0 factory image and
fastboot flash system system.img
Click to expand...
Click to collapse
I managed to do this now to. My biggest problem is now to root the device again. I've switched back to stock recovery, before I removes root, when I was trying to apply the ota.
Now when I try to flash twrp recovery, I get an error about the size. I can flash the stock recovery though, the same way I flashed system.img and boot.img.
What can be wrong? I do I get root now again?
/Söder
/Söder
soder said:
I managed to do this now to. My biggest problem is now to root the device again. I've switched back to stock recovery, before I removes root, when I was trying to apply the ota.
Now when I try to flash twrp recovery, I get an error about the size. I can flash the stock recovery though, the same way I flashed system.img and boot.img.
What can be wrong? I do I get root now again?
/Söder
/Söder
Click to expand...
Click to collapse
Are you saying you can't flash the TWRP recovery now? So are you now completely stock 5.0.2?
goraps said:
Are you saying you can't flash the TWRP recovery now? So are you now completely stock 5.0.2?
Click to expand...
Click to collapse
Yes, system, boot, recovery flashed with fastboot.
When in fastboot mode, I get error, something with size, when flashing twrp. I found a CWM recovery I could flash, but it didn't boot to recovery correctly.
The twrp file is not corrupt. Tried it again and also a different version.
/Söder
OMG. I'm so f-ing stupid. Blaming all the x-mas food.
Was trying to flash the Oneplus One recovery. Not the one for Nexus 7.
Hope it works better now...
/Söder

phone stuck on Verizon logo

ok so i have a rooted lg g2 tried installing beanstalk but the zip was corrupted and it said failed so i restored my android back up and rebooted and phone was stuck on the logo for a hour so i booted into recovery and factory reset and i have the same issue. so is the phone soft bricked and need to be flashed using lg flash tool or is there another option
austin2695 said:
ok so i have a rooted lg g2 tried installing beanstalk but the zip was corrupted and it said failed so i restored my android back up and rebooted and phone was stuck on the logo for a hour so i booted into recovery and factory reset and i have the same issue. so is the phone soft bricked and need to be flashed using lg flash tool or is there another option
Click to expand...
Click to collapse
Try use the recovery MTP mode to download another beanstalk zip to flash onto it and reflash. Chances are that if you can get a valid zip on there and flash it, you'll be good. Factory reset won't change the system if the system is already borked.
morphtcat said:
Try use the recovery MTP mode to download another beanstalk zip to flash onto it and reflash. Chances are that if you can get a valid zip on there and flash it, you'll be good. Factory reset won't change the system if the system is already borked.
Click to expand...
Click to collapse
thanks i ended up flashing it back to stock and starting from scratch

TWRP - Not wiping

I've been rooted since I got the Nexus 6 and recently have been having issues with TWRP. I can back up and restore but it won't do a factory data reset or wipe of any kind. I've tried with TWRP 2.8.6.0, 2.8.7.0 and 2.8.7.1. When trying to flash a new rom I select factory data reset, even tried advance wipe and wiped the whole phone including internal storage. After flashing the rom boots up like I dirty flashed it. I've even returned to stock, rerooted and the same issues with TWRP - it just won't wipe. Any suggestions would be sincerely appreciated as I'd like to flash a Marshmallow rom.
ggrant3876 said:
I've been rooted since I got the Nexus 6 and recently have been having issues with TWRP. I can back up and restore but it won't do a factory data reset or wipe of any kind. I've tried with TWRP 2.8.6.0, 2.8.7.0 and 2.8.7.1. When trying to flash a new rom I select factory data reset, even tried advance wipe and wiped the whole phone including internal storage. After flashing the rom boots up like I dirty flashed it. I've even returned to stock, rerooted and the same issues with TWRP - it just won't wipe. Any suggestions would be sincerely appreciated as I'd like to flash a Marshmallow rom.
Click to expand...
Click to collapse
I miss in your description that you format the data partition.
NLBeev said:
I miss in your description that you format the data partition.
Click to expand...
Click to collapse
Yes I've even tried that too.
ggrant3876 said:
Yes I've even tried that too.
Click to expand...
Click to collapse
When you have TWRP installed and bootloader unlocked you could follow the instructions in the OP of the JDX rom.
What I would do: fastboot flash M-bootloader and M-radio. Reboot to bootloader and fastboot flash TWRP 2.8.7.1. Than flash the JDX 4.0 rom.
Power off the N6. Reboot in recovery TWRP and wipe cache and do a factory reset.
NLBeev said:
When you have TWRP installed and bootloader unlocked you could follow the instructions in the OP of the JDX rom.
What I would do: fastboot flash M-bootloader and M-radio. Reboot to bootloader and fastboot flash TWRP 2.8.7.1. Than flash the JDX 4.0 rom.
Power off the N6. Reboot in recovery TWRP and wipe cache and do a factory reset.
Click to expand...
Click to collapse
I thought about that but not sure it would boot if not really wiping.
ggrant3876 said:
I thought about that but not sure it would boot if not really wiping.
Click to expand...
Click to collapse
You need to connect N6 -> PC.
And use a dosbox as administrator.
You have 2 options to boot in bootloader mode.
From the PC or pressing buttons Power + Vol down. So why no boot ?
NLBeev said:
You need to connect N6 -> PC.
And use a dosbox as administrator.
You have 2 options to boot in bootloader mode.
From the PC or pressing buttons Power + Vol down. So why no boot ?
Click to expand...
Click to collapse
I've been messing with the phone for about three hours today and got it back running. Will give that a try in a day or two - so frustrated right now may make a major mistake.
I would still like to find out why TWRP has stopped wiping on my phone.

Stuck in recovery after 4.0.1 OTA

Hi,
I was running Oxygen 4.0.0 and a beta build of TWRP 3.0.3 which works with new encryption. I used the android update mechanics to get the 4.0.1 OTA. System rebooted to recovery, recovery threw an error (zip file corrputed) and since then I am not able to boot the system. Whatever I do I land in TWRP recovery.
Things I did so far:
- Tried installing the full 4.0.1 zip. Install worked without errors, device still boots to recovery.
- Tried to get stock recovery, since another post (https://forum.xda-developers.com/oneplus-3t/help/stuck-recovery-mode-t3532524) indicates stock recovery might fix the problem
--> stock recovery is not obtainable anymore. Seems deleted from all the download links I could find. Example is here: https://forum.xda-developers.com/oneplus-3t/how-to/zip-flashable-firmware-modem-t3509015
- Wipe cache and dalvik cache in the hopes, the instruction to boot to recovery is there somewhere.
I did not do the unbrick tool, since I run linux and didnt want to fiddle with windows yet.
I did make a nandroid backup, so once my system boots again I should be fine.
Any Idea where to either get a mirror of stock recovery or how to fix this problem otherwise?
I had this same problem, and I solved downloading the unbrick tool and extracting the recovery from there. Here is the file
https://drive.google.com/file/d/0BwaafKaXbak3d1RFblFOWVd5eGs/view?usp=sharing
Also locking the bootloader worked for me. Booted into system then unlocked again.
Thanks a lot for the stock recovery. That worked!
Once it booted, installing TWRP and SuperSU again.
mad-murdock said:
Thanks a lot for the stock recovery. That worked!
Once it booted, installing TWRP and SuperSU again.
Click to expand...
Click to collapse
Does your TWRP boot correctly? I flashed it and when I restarted I still had the stock recovery, so I used fastboot boot and it booted, but it is stuck in the loading screen.
Edit: After rebooting and reflashing totally random, it worked.
mariospizza said:
Does your TWRP boot correctly? I flashed it and when I restarted I still had the stock recovery, so I used fastboot boot and it booted, but it is stuck in the loading screen.
Edit: After rebooting and reflashing totally random, it worked.
Click to expand...
Click to collapse
Yeah, worked totally normal as it should.
My educated guess about this whole dilemma is, the system sets a flag to boot to recovery which TWRP doesn't clear and only stock recovery clears. Usually those flags should be in cache partition, but in this case isn't.
Tldr: don't use build in update mechanisms if you modified Rom and recovery.

Question How do i get Stock recovery to not replace TWRP when rebooting???

Tried a bunch of things to make the TWRP installation persistent, but it just goes back to MIUI recovery when i reboot from the system.
I'm using TWRP 3.5.2 by Nebrassy.
USB debugging turned on
Correct drivers installed
fastboot devices work Using minimal ADB and fastboot
I have the file renamed as TWRP.img.
Steps i followed:
fastboot boot "TWRP.img" - Correctly boots into TWRP
install the TWRP image to the recovery partition - Happens with no errors
Reboot to system - No errors there as well
Reboot to recovery - Goes back to MIUI recovery.
Can someone please tell me what i should do?
PS: Tried with TWRP 3.6.0 as well just now. Same issue.
Helhound0 said:
Tried a bunch of things to make the TWRP installation persistent, but it just goes back to MIUI recovery when i reboot from the system.
I'm using TWRP 3.5.2 by Nebrassy.
USB debugging turned on
Correct drivers installed
fastboot devices work Using minimal ADB and fastboot
I have the file renamed as TWRP.img.
Steps i followed:
fastboot boot "TWRP.img" - Correctly boots into TWRP
install the TWRP image to the recovery partition - Happens with no errors
Reboot to system - No errors there as well
Reboot to recovery - Goes back to MIUI recovery.
Can someone please tell me what i should do?
PS: Tried with TWRP 3.6.0 as well just now. Same issue.
Click to expand...
Click to collapse
Try again to flash TWRP dirty and if it's started don't boot with software. You have to boot TWRP again by pressing volume + and power button until you'll get vibration , afterwards you'll be in TWRP again, clear dalvik and cache and restart system via TWRP menu
Laptapper said:
Try again to flash TWRP dirty and if it's started don't boot with software. You have to boot TWRP again by pressing volume + and power button until you'll get vibration , afterwards you'll be in TWRP again, clear dalvik and cache and restart system via TWRP menu
Click to expand...
Click to collapse
Sorry mate that didn't work. Still going back to stock recovery...
Since i didn't find a solution to make the installation presistant, i went ahead and flashed Elixir with the temporarily booted TWRP. Then wiped cache and dalvik, flashed the TWRP image, formatted data and then rebooted. Now it works.
Edit: This method did something to my recovery. I can boot to system and recovery fine but TWRP isn't able to mount the data partition. So i'm not able to flash anything or root the device anymore.
I tried formatting data, no luck.
Then tried repairing the data partition. No luck.
Changed the file system to EX2 and then EX4... Nothing.
Anyone know a solution for this?
Helhound0 said:
Sorry mate that didn't work. Still going back to stock recovery...
Click to expand...
Click to collapse
Then you've got to do a flash with stock ROM and miflash via pc
Laptapper said:
Then you've got to do a flash with stock ROM and miflash via pc
Click to expand...
Click to collapse
Would that re-lock the bootloader? And if so do i have to wait 7 more days for it to be unlocked?
I used the Disable-Dm-Verity-Zip directly in TWRP after installation. Worked without a problem.
romuser87 said:
I used the Disable-Dm-Verity-Zip directly in TWRP after installation. Worked without a problem.
Click to expand...
Click to collapse
I read that somewhere too but that didn't help me at all... Maybe i have a bad zip file..
Can you share the zip you flashed?
Also, any idea how i could get this fixed:
Helhound0 said:
Since i didn't find a solution to make the installation presistant, i went ahead and flashed Elixir with the temporarily booted TWRP. Then wiped cache and dalvik, flashed the TWRP image, formatted data and then rebooted. Now it works.
Edit: This method did something to my recovery. I can boot to system and recovery fine but TWRP isn't able to mount the data partition. So i'm not able to flash anything or root the device anymore.
I tried formatting data, no luck.
Then tried repairing the data partition. No luck.
Changed the file system to EX2 and then EX4... Nothing.
Anyone know a solution for this?
Click to expand...
Click to collapse
Helhound0 said:
I read that somewhere too but that didn't help me at all... Maybe i have a bad zip file..
Can you share the zip you flashed?
Also, any idea how i could get this fixed:
Click to expand...
Click to collapse
The attached file worked for me
Helhound0 said:
Would that re-lock the bootloader? And if so do i have to wait 7 more days for it to be unlocked?
Click to expand...
Click to collapse
1. With MiFlash there is an option at the bottom of the screen to lock bootloader. Just make sure it is NOT checked, and you will be safe to use MiFlash without relocking bootloader.
2. When installing TWRP for first time, it is essential that your first reboot is straight back to TWRP - then it becomes persistent, and future reboots to recovery will be to TWRP. If you do not do the first reboot back to TWRP, the stock MIUI ROM recovery reinstalls itself.
HiQual said:
1. With MiFlash there is an option at the bottom of the screen to lock bootloader. Just make sure it is NOT checked, and you will be safe to use MiFlash without relocking bootloader.
2. When installing TWRP for first time, it is essential that your first reboot is straight back to TWRP - then it becomes persistent, and future reboots to recovery will be to TWRP. If you do not do the first reboot back to TWRP, the stock MIUI ROM recovery reinstalls itself.
Click to expand...
Click to collapse
The first ever twrp install i did, i rebooted to system by mistake but i reflashed twrp and made sure to reboot to recovery.... That was the second try. I think i may have tried at least two dozen times since that but it just kept booting back to stock recovery...
I think I'll run with this until the end of Jan and then redo everything from scratch...
Helhound0 said:
Since i didn't find a solution to make the installation presistant, i went ahead and flashed Elixir with the temporarily booted TWRP. Then wiped cache and dalvik, flashed the TWRP image, formatted data and then rebooted. Now it works.
Edit: This method did something to my recovery. I can boot to system and recovery fine but TWRP isn't able to mount the data partition. So i'm not able to flash anything or root the device anymore.
I tried formatting data, no luck.
Then tried repairing the data partition. No luck.
Changed the file system to EX2 and then EX4... Nothing.
Anyone know a solution for this?
Click to expand...
Click to collapse
I'm stuck at this stage. Have you found any solution yet?

Categories

Resources