I'm trying to root my Moto X Pure following this guide: https://forum.xda-developers.com/moto-x-style/general/guides-how-to-guides-beginners-t3200808
I was able to unlock the bootloader. In fastboot mode, it says "Device is UNLOCKED. Status Code: 3"
But so far I am unable to flash TWRP on it.
The serial comes up when I type: "adb devices," or "fastboot devices" in the command prompt. I attempt to flash with the following:
HTML:
C:\root>fastboot flash recovery C:\root\twrp-3.2.1-0-twrp.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:recovery: not found
target reported max download size of 536870912 bytes
sending 'recovery' (4690 KB)...
OKAY [ 0.109s]
writing 'recovery'...
OKAY [ 0.623s]
finished. total time: 0.736s
Then, when I go to "Recovery Mode" on the phone, I get a screen that says this...
Star Up Failed:
Your device didn't start up successfully.
Use the Software Repair Assistant on computer to repair your device.
Connect your device to your computer to get
the Software Repair Assistant
..... (several more lines)...
Error: failed to load kernel!
Boot up failed
Click to expand...
Click to collapse
I've tried these versions of TWRP:
twrp-2.8.5.0-twrp
twrp-2.8.7.0-clark
twrp-3.0.2-0-twrp
twrp-3.1.0-0-twrp
twrp-3.2.1-0-twrp
Same result every time.
Any ideas to help? Thanks!
Twrp for clark is ~37MB, you are flashing wrong file(4690kb).
Download again 3.+, place it in adb, fastboot.exe folder and flash:
fastboot flash recovery TwrpName.img
or boot only
fastboot boot TwrpName.img @thejukes
Related
I just unlocked my bootloader but keep getting an error when trying to flash TWRP (see in red below). I have tried both 3.0.2-0 and 3.1.1.0. I got both files from the TWRP website. I have turned the phone off immediately after flashing and tried to reboot into TWRP but that hasn't worked.
Need suggestions please.
D:\Computer\Minimal ADB and Fastboot>fastboot flash recovery twrp-3.0.2-0-athene.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:recovery: not found
target reported max download size of 536870912 bytes
sending 'recovery' (12496 KB)...
OKAY [ 0.391s]
writing 'recovery'...
(bootloader) Image not signed or corrupt
I got it. I re-read the "how to" thread and this is what I wasn't doing: Reboot to recovery after flashing the twrp image. Then reboot your device from recovery.
Moderator, please delete this thread. Thanks.
I have unlocked my Moto-Z play. When I try to use fastboot I always get:
..\tools\platform-tools\fastboot.exe flash recovery twrp-3.0.2-0-addison.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:recovery: not found
target reported max download size of 536870912 bytes
sending 'recovery' (11206 KB)...
OKAY [ 0.249s]
writing 'recovery'...
(bootloader) Image not signed or corrupt
OKAY [ 0.253s]
finished. total time: 0.502s
I boot the phone, copy twrp.img to /sdcard/twrp.img and then do a 'fastboot boot twrp.img' and when I try to find twrp.img in /sdcard, it isn't there. If I go in with 'adb shell' and do an 'ls' I can see the 'twrp.img' file. but TWRP itself doesn't show it when I select 'Install Image'.
Y-
I know that there are other threads that talk about this issue but I have looked at them, but none of them have any logical answer or explanation as to why it will not flash...
Code:
Threads I've read:
https://forum.xda-developers.com/moto-g4/help/moto-g4-xt1625-install-twrp-3-0-2-fail-t3456723
https://forum.xda-developers.com/moto-g4/help/unlocked-bootloader-twrp-flashed-ota-t3575229
https://forum.xda-developers.com/moto-g4/help/xt1625-prime-exclusive-reboots-twrp-t3429954
Guides I'm following:
https://wiki.lineageos.org/devices/athene/install
https://www.lineageosroms.org/forums/topic/moto-g-2016-4th-generation-twrp-recovery-installation-guide/
https://www.lineageosroms.org/forums/topic/install-twrp-recovery-android-using-fastboot/
Android OS:
https://download.lineageos.org/athene (latest one)
TWRP:
https://dl.twrp.me/athene/twrp-3.0.2-0-athene.img.html
Other Files:
http://www.rootjunkysdl.com/files/?dir=Moto%20G%204th%20Gen%20XT1625
https://download.chainfire.eu/1113/SuperSU/UPDATE-SuperSU-v2.82-20170528234214.zip
I'm using Ubuntu with ADB installed (I have flashed TWRP to a Nexus 7 (2012) before)
I can sideload TWRP with no problems (I've backed the system up already with TWRP)
Output:
Code:
fastboot flash recovery /home/user/Desktop/twrp-3.2.1-0-athene.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot: not found
target reported max download size of 536870912
sending 'recovery' (12644KB)...
OKAY [ 0.500s]
writing 'recovery'...
(bootloader) image not signed or corrupt
OKAY [ 0.194s]
finished. total time: 0.695s
Any suggestions?
What do you mean by TWRP not flashing, do you mean the error that appears or not having TWRP present after flashing?
What happens if you reboot directly to recovery after you flash? That error is normal and usually if you boot normally after flashing TWRP the stock recovery will overwrite the TWRP. By booting to recovery you'll fix TWRP and thus should be able to boot as normal afterwards.
Of course, do not accept OTA updates if you're choosing to stay on stock ROMs with TWRP flashed.
I have Moto X-PLAY running OTA stock Android 7.1.1 (SKU:XT1562) I have successfully unlocked the bootloader, but I'm having a problems installing recovery TWRP (twrp-lux-3.1.1-r1.img) following a youtube video using a Moto X PLAY.
Using the command: fastboot flash recovery twrp-lux-3.1.1-r1.img
I get this back:
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:recovery: not found
target reported max download size of 268435456 bytes
sending 'recovery' (8272 KB)...
OKAY [ 0.283s]
writing 'recovery'...
OKAY [ 0.192s]
finished. total time: 0.504s
reboot phone into ‘Recovery Mode’ and get the error:
No command (with an Android on it’s back’!’)
I have had looked for newer img file on TeamWin site. But does not list my device in it’s list.
I would like to know what is going wrong and how would I fix this problem.
Thanks for any help.
Maybe installing a new firmware fix it but if you install 7.1.1 by OTA you need to install again 7.1.1 but by firmware..
Ok problem solved after flashing TWRP over stock recovery, it will be overwritten by stock on reboot. You have to reboot into the bootloader using command: fastboot reboot-bootloader
then choose Recovery, and than after it boots, You can safely reboot to system as it won't be overwritten anymore.
Good to know that you solved it
Can you explain it a bit clearly. I am confused. But i am facing the same issue which you mentioned in your question..
He did explain clearly (including the command you need after installing TWRP). Just follow the steps.
After installing TWRP don't boot into system, boot into boot-loader first! Otherwise TWRP will be overwritten by stock recovery.
Moto G6.
Connected to Win 10 PC , ADB and Fastboot installed.
Boot device into bootloader: adb reboot bootloader - device reboots into bootloader.
Download TWERP (twrp-3.5.1_9-0-ali.img) and moved to same folder as ADB and Fastboot (C:\).
Run fastboot comand:
C:\>fastboot flash recovery twrp-3.5.1_9-0-ali.img
(bootloader) is-logical:recovery: not found
Sending 'recovery' (16196 KB) OKAY [ 1.501s]
Writing 'recovery' (bootloader) Image recovery failed validation
(bootloader) Preflash validation failed
FAILED (remote: '')
fastboot: error: Command failed
What am I doing wrong?
cooljeff913 said:
Moto G6.
Connected to Win 10 PC , ADB and Fastboot installed.
Boot device into bootloader: adb reboot bootloader - device reboots into bootloader.
Download TWERP (twrp-3.5.1_9-0-ali.img) and moved to same folder as ADB and Fastboot (C:\).
Run fastboot comand:
C:\>fastboot flash recovery twrp-3.5.1_9-0-ali.img
(bootloader) is-logical:recovery: not found
Sending 'recovery' (16196 KB) OKAY [ 1.501s]
Writing 'recovery' (bootloader) Image recovery failed validation
(bootloader) Preflash validation failed
FAILED (remote: '')
fastboot: error: Command failed
What am I doing wrong?
Click to expand...
Click to collapse
Moto G6 plus has the recovery partition merged with the boot one. If you want to use TWRP, you have to use the boot command instead, and then flash a TWRP zip installer for this phone.
mrsiri said:
Moto G6 plus has the recovery partition merged with the boot one. If you want to use TWRP, you have to use the boot command instead, and then flash a TWRP zip installer for this phone.
Click to expand...
Click to collapse
Thanks for the reply.
I am a noob when it comes to this.
How do I use the "boot" command?
cooljeff913 said:
Thanks for the reply.
I am a noob when it comes to this.
How do I use the "boot" command?
Click to expand...
Click to collapse
Type "fastboot boot the-name-of-the-twrp-file.img".
Also as advice and nothing related, if you want to revert your changes back to stock, don't forget to NEVER RELOCK your bootloader. There's a low chance of getting your phone back fully functional after this mistake.