Having trouble flashing TWRP - Android Q&A, Help & Troubleshooting

I'm unlocked. Have drivers. Downloaded Twrp.img. can get into bootloader. Type fastboot devices in adb. Get serial number. But when I type fastboot flash recovery twrp.img I get errors. Help.

@lowvolt1 First off what is your device model? Much of the time nowadays depending on what device you are using you boot the recovery.img and then either install to recovery ramdisk or using a twrp installer zip that's pre-made to install your recovery. But how can anyone help you if you don't say what device you're using?
Boot recovery: fastboot boot twrp_11-5.0xxx.img then install it to ramdisk or use twrp zip and flash the zip after booted to twrp. Depends on device.

flash713 said:
@lowvolt1 First off what is your device model? Much of the time nowadays depending on what device you are using you boot the recovery.img and then either install to recovery ramdisk or using a twrp installer zip that's pre-made to install your recovery. But how can anyone help you if you don't say what device you're using?
Boot recovery: fastboot boot twrp_11-5.0xxx.img then install it to ramdisk or use twrp zip and flash the zip after booted to twrp. Depends on device.
Click to expand...
Click to collapse
The device is the Motorola one action.

Related

How to Upgrade TWRP 2.8.7.0 to 3.0.2.0

Hello,
Can somebody explain me how to upgrade to, everytime i try my phone bricks and im not able to boot it back.
This is what i do:
Xperia z2 d6503 eXistenZ 4.7 Marshmallow
i download twrp-3.0.2-0-sirius.img from https://dl.twrp.me/sirius/
i reboot on recovery to install the .img and it only shows (Kernel) to select after flash/reboot /breaks.
So what i do is recover using
fastboot flash boot boot.img
fastboot flash recovery twrp.img ( this is twrp 2.8.7.0)
fastboot reboot
and restore using a backup.
Any ideas?
what am i doing wrong,
how do i install TWRP 3.0.2.0?
newproyect said:
Hello,
Can somebody explain me how to upgrade to, everytime i try my phone bricks and im not able to boot it back.
This is what i do:
Xperia z2 d6503 eXistenZ 4.7 Marshmallow
i download twrp-3.0.2-0-sirius.img from https://dl.twrp.me/sirius/
i reboot on recovery to install the .img and it only shows (Kernel) to select after flash/reboot /breaks.
So what i do is recover using
fastboot flash boot boot.img
fastboot flash recovery twrp.img ( this is twrp 2.8.7.0)
fastboot reboot
and restore using a backup.
Any ideas?
what am i doing wrong,
how do i install TWRP 3.0.2.0?
Click to expand...
Click to collapse
/boot and /recovery are two DIFFERENT partition. So what you did is just flashing the right thing ( TWRP .img ) into the wrong partition.
I am wondering if you know how to play with those fastboot command, why dont you just simply flash the TWRP 302-0 using the fastboot method (?) using the following command:
Code:
fastboot flash recovery twrp-3.0.2-0-sirius.img
iXaidyiu said:
/boot and /recovery are two DIFFERENT partition. So what you did is just flashing the right thing ( TWRP .img ) into the wrong partition.
I am wondering if you know how to play with those fastboot command, why dont you just simply flash the TWRP 302-0 using the fastboot method (?) using the following command:
Code:
fastboot flash recovery twrp-3.0.2-0-sirius.img
Click to expand...
Click to collapse
i know boot and recovery are 2 dferrent things
i tried
Code:
fastboot flash recovery twrp-3.0.2-0-sirius.img
But after restarting my android flash on red and doesnt boot anymore.
i should read first next time:
Download the latest image file (.img) from the download link above. Place it in the root of your /sdcard folder and rename it to twrp.img. Run the following commands via adb shell or a terminal emulator app:
su
dd if=/sdcard/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
Click to expand...
Click to collapse
I did that, still shows 2.8.7.0 installed.....
Well, eXZ 5.1 comes with TWRP installed, so you may consider upgrading to it.
1. Flash a custom kernel out there with TWRP installed using flashtool by androxyde.
2. Flash base rom and update zip.
3. Flash addon ( if any ).
4. Reboot into system.
5. Done.
iXaidyiu said:
Well, eXZ 5.1 comes with TWRP installed, so you may consider upgrading to it.
1. Flash a custom kernel out there with TWRP installed using flashtool by androxyde.
2. Flash base rom and update zip.
3. Flash addon ( if any ).
4. Reboot into system.
5. Done.
Click to expand...
Click to collapse
eXZ 5.1 doesnt allow to set color notification on led

[rooting] Loading into stock rom even after flashing TWRP recovery

i tried to root my oneplus x ,even after flashing the twrp recovery it is still loading to stock recovery.
Is there a way to boot to twrp recovery ??
I suspect your bootloader is locked. Thats why.
Exoplain what you are doing exactly :
Bootloader state? Which rom, version, version of TWRP. ?.How do you flash?
I suspect the TWRP BS V41 special OOS3 . After fastboot flash, you need to reboot with hardware button directly to Recovery. If not, recovery is overwritten on the first boot.
krischya said:
i tried to root my oneplus x ,even after flashing the twrp recovery it is still loading to stock recovery.
Is there a way to boot to twrp recovery ??
Click to expand...
Click to collapse
Go to fastboot mode flash twrp recovery using thiz cmd "fastboot flash recovery recovery.img" then enter "fastboot boot recovery.img". After flasing boot to it directly which ll overwrite ur stock recovery... Recovery.img is ur twrp recovery img file name
cva_kabil said:
Go to fastboot mode flash twrp recovery using thiz cmd "fastboot flash recovery recovery.img" then enter "fastboot boot recovery.img". After flasing boot to it directly which ll overwrite ur stock recovery... Recovery.img is ur twrp recovery img file name
Click to expand...
Click to collapse
There is error "failed <remote: dtb not found>"
I am using - OOS 3.1.3
-Android 6.0.1
-twrp-3.0.2-0-onyx
Suggest me any custom recovery that is working
krischya said:
There is error "failed <remote: dtb not found>"
I am using - OOS 3.1.3
-Android 6.0.1
-twrp-3.0.2-0-onyx
Suggest me any custom recovery that is working
Click to expand...
Click to collapse
Use this recovery
twrp-3.0.2-2_blu_spark.v41-onyx_by-engstk.img from the following link
http://forum.xda-developers.com/devdb/project/dl/?id=20236
cva_kabil said:
Use this recovery
twrp-3.0.2-2_blu_spark.v41-onyx_by-engstk.img from the following link
http://forum.xda-developers.com/devdb/project/dl/?id=20236
Click to expand...
Click to collapse
It's working
krischya said:
It's working
Click to expand...
Click to collapse
Good to hear :fingers-crossed::good:

[Help] Bootloop on Xiaomir Redmi Note 4X

Hello, I'm kind of new at this (this is my first post) so be gentle
So, the last few days I've been trying to install a new rom on my phone (Redmi Note 4X) and the problems started with the model. I only seem to find Redmi Note 4 roms, and as I've come to find, mine is supposed to be the mido one (correct me if I'm wrong though). I have unlocked the bootloader, I have installed and enabled the fastboot on my phone, so the next step was to install the latest TWRP.
There came more problems; I tried doing this through the app and it just wouln't flash it. So I found a guide on how to root my phone and install a new recovery through adb and I followed it. It didn't work. I couldn't find the right twrp version for my phone. When I finally did realise my phone needed mido, I found the latest from the TWRP website. It wouldn't load through adb again. I found a thread about a fixed mido version, which finally worked for me. But my brother who was helping me, and isn't as much of a noob as I am (he has flashed rom and recoveries many times on his Nexus 5X), decided that I necessarily need the latest twrp if I'm going to flash a new rom, so he flashed the new twrp through the old one, and soft bricked my phone (I think). So I'm searching for a guide to unbrick it. (Which I can't seem to find to work at least).
To conclude;
I have unlocked my bootloader
I have access to the fastboot
I tried to flash a recovery
I failed many times, but I managed it
I flashed the latest twrp and bricked my phone
I don't have access to the recovery
My phone is still on a bootloop
I am not sure about which phone model I have
Help!
Thanks in advance.
1. Just check your phone model on its box. If its Snapdragon version (Mido), then just install it via fastboot. (code: fastboot flash recovery twrp-midoxx.img). If you are success, then try to reboot to recovery (fastboot boot twrpmido-xx.img). After booted, then you just manage to rom.zip you want to install. If you don't have it, then download it before from your PC and push it to your phone. Or just enable Mtp checklis from TWRP n copy that file to your internal phone/sdcard. Wipe all/factory reset except internal storage. Then you dan install rom.zip normally. N reboot. (Note: if you are on MIUI and wanted to always stay on it, just flash the file called lazyflasher.zip. n' wipe cache n art cache only then reboot). Flashing custom recovery on stock MIUI Will manage the device Going to bootloop)
2. If you have mediatek version (nikel), searching the fastboot Rom from miui website and flash it normally via fastboot. (SP Flash tool)
Warning: flash the wrong rom file into wrong phone Will make your device brick. So becarefull n knowing what model/code name you have.
Dyt199412syam said:
1. Just check your phone model on its box. If its Snapdragon version (Mido), then just install it via fastboot. (code: fastboot flash recovery twrp-midoxx.img). If you are success, then try to reboot to recovery (fastboot boot twrpmido-xx.img). After booted, then you just manage to rom.zip you want to install. If you don't have it, then download it before from your PC and push it to your phone. Or just enable Mtp checklis from TWRP n copy that file to your internal phone/sdcard. Wipe all/factory reset except internal storage. Then you dan install rom.zip normally. N reboot. (Note: if you are on MIUI and wanted to always stay on it, just flash the file called lazyflasher.zip. n' wipe cache n art cache only then reboot). Flashing custom recovery on stock MIUI Will manage the device Going to bootloop)
2. If you have mediatek version (nikel), searching the fastboot Rom from miui website and flash it normally via fastboot. (SP Flash tool)
Warning: flash the wrong rom file into wrong phone Will make your device brick. So becarefull n knowing what model/code name you have.
Click to expand...
Click to collapse
Hello and thanks for the reply. I have the snapdragon version, but all I'm asking is how am I supposed to flash the lazyflasher without accessing the recovery? Through adb?
fionik said:
Hello and thanks for the reply. I have the snapdragon version, but all I'm asking is how am I supposed to flash the lazyflasher without accessing the recovery? Through adb?
Click to expand...
Click to collapse
Firstly, enter fastboot mode on your device. Connecting to pc and flashing the twrp for mido. "fastboot flash recovery twrp-mido.img". Then boot to it using " fastboot boot twrp-mido.img". Then you will enter the recovery (twrp) in a second. Copy the lazyflasher into your phone (enable mtp first in Mount option in twrp) that you downloaded from pc. Just flash the lazyflasher.zip and reboot.
And why you don't want to flash lazyflasher when it very easy to flash it using recovery twrp? adb? You mean android debugging? Actually, you cant flash a .zip file into your system partition except through fastboot mode. However, fastboot mode (in cmd) only recognize a .img file. I just try to tell you the easier method to make your device boot up.
Dyt199412syam said:
Firstly, enter fastboot mode on your device. Connecting to pc and flashing the twrp for mido. "fastboot flash recovery twrp-mido.img". Then boot to it using " fastboot boot twrp-mido.img". Then you will enter the recovery (twrp) in a second. Copy the lazyflasher into your phone (enable mtp first in Mount option in twrp) that you downloaded from pc. Just flash the lazyflasher.zip and reboot.
And why you don't want to flash lazyflasher when it very easy to flash it using recovery twrp? adb? You mean android debugging? Actually, you cant flash a .zip file into your system partition except through fastboot mode. However, fastboot mode (in cmd) only recognize a .img file. I just try to tell you the easier method to make your device boot up.
Click to expand...
Click to collapse
As I said above, I can only access the fastboot, and I get errors in the adb when I try to flash the twrp image.
fionik said:
As I said above, I can only access the fastboot, and I get errors in the adb when I try to flash the twrp image.
Click to expand...
Click to collapse
Share your error please.
Try fastboot boot twrp.img

Cannot enter Recovery any more - maybe switched too hastily between android 9 and 10?

I have a problem that i never make it into recovery again. I am used to adb/fastboot, this is my 5th device and i happily used different custom roms as lineage, havoc, crdroid for about 7 years and thus am familiar with the concepts of a/b, recovery, adb/fastboot and so on.
Now, when i "flash_all" with stock from here (V10.3.17.0.PFQEUXM) on my a3, i suppose both slots a and b are overwritten with stock. interestingly this stock rom only boots in a-slot, not in b-slot.
when i now just "fastboot flash recovery twrp...." with 3.3.1.2 and hit the manual enter to recovery (power + vol up), i just get a "no command" error - no twrp in sight.
i also tried this with flash_all V11.0.2.0.QFQEUXM rom (a10) and fastboot flash recovery twrp 3.3.1-17 Q from mauronofrio - same result.
anyone knows what i did wrong?
basically i didnt enter team win recovery for some good amount of tries which slightly terrifies me at this point. (help)
Should i use the global versions instead of the europe ones? Do i need to use "fastboot flash BOOT twrp.." instead of "fastboot flash recovery twrp.."?
I am also happy for suggestions where i could pose this issue more appropriate.
//update: i am now in stock rom and could root it with flashing a magisked boot.img but still cannot enter twrp recovery (-> "no command").
Ya you entered the wrong command it's
Code:
fastboot flash boot twrp.img
When you boot to twrp make sure to flash stock boot.img of the firmware which you are currently running and then flash twrp installer.zip flash both of these in twrp and do not reboot between flashes
thanks @garylawwd
garylawwd said:
Ya you entered the wrong command it's
Code:
fastboot flash boot twrp.img
Click to expand...
Click to collapse
So to be sure: i have stock 11.0.3.0 europe from here installed and i am in slot a now and i cannot go into twrp because it says "no command".
i go to fastboot now, then
Code:
fastboot flash boot twrp.img
with a recent twrp that can run android 10 from here and then power + vol up without switching slots.
garylawwd said:
When you boot to twrp make sure to flash stock boot.img of the firmware which you are currently running and then flash twrp installer.zip flash both of these in twrp and do not reboot between flashes
Click to expand...
Click to collapse
how can i flash a boot.img from twrp? i thought, i can only flash .zips from twrp? Also do i need to take spacial measures to be able to read internal memory in twrp?
//edit: i tried to flash named twrp but it wouldnt boot up into recovery, instead went straight into fastboot. so i flashed boot with stock boot again. no solution in sight.
Just FYI - "no command" is default welcome page of stock recovery. If you see it, you don't have TWRP installed.
_mysiak_ said:
Just FYI - "no command" is default welcome page of stock recovery. If you see it, you don't have TWRP installed.
Click to expand...
Click to collapse
Thank you. Still i would expect twrp to open.
Am i using a/b wrong? When i am on slot a and go into fastboot anf fastboot flash boot twrp.img, then i expect twrp to be installed in a, is that correct? Or is it always installed in the inactive slot and thus i had to switch to slot b before i install twrp to have it on a?
tutankpusch said:
Thank you. Still i would expect twrp to open.
Am i using a/b wrong? When i am on slot a and go into fastboot anf fastboot flash boot twrp.img, then i expect twrp to be installed in a, is that correct? Or is it always installed in the inactive slot and thus i had to switch to slot b before i install twrp to have it on a?
Click to expand...
Click to collapse
No idea with TWRP, never used it on this phone, Magisk is enough for me. But I would follow one of the available guides if you need to have TWRP installed.
_mysiak_ said:
No idea with TWRP, never used it on this phone, Magisk is enough for me. But I would follow one of the available guides if you need to have TWRP installed.
Click to expand...
Click to collapse
Thanks @mysiak_d
I used for example this method with this recovery bc it should work with android 10.
straight into fastboot instead recovery :/

Softbrick after twrp flash

Hi everyone,
I tried to install Lineage OS on my Xperia Tablet Z Wifi and followed the instructions here: https://wiki.lineageos.org/devices/pollux_windy/install
I am on Ubuntu and I did unlock the bootloader successfully. Then I tried to flash twrp but this is where things went wrong.
After entering
Code:
fastboot flash boot ./twrp-3.5.2_9-0-pollux_windy.img
the device did not start anymore. I can still enter fastboot mode and the device is recognized on the PC but else the only thing that happens is the LED blinking red.
Any ideas where to go from here are appreciated.
Rootk1t said:
you flashed recovery to boot. So only recovery exists in boot section.
Of course tablet won't boot afterwards, as there is not kernel.
Download custom rom you want to install, unpack boot.img from roms zip files and flash via "fastboot flash boot boot.img"
Afterwards enter recovery and flash custom rom zip, gapps or whatever you need.
Click to expand...
Click to collapse
I tried this but flashing the boot.img does not change anything unfortunately.
brickedmytablet said:
I tried this but flashing the boot.img does not change anything unfortunately.
Click to expand...
Click to collapse
You can reflash stock ROM via Flashtool v.0.9.18.6. or flash another boot.img to check if it boots or not.
Thank you, this worked for me.
Should have used the right twrp form the beginning. flash to boot works if it is the right version in my case scorpion_windy

Categories

Resources