how to check twrp flashing worked - Android Q&A, Help & Troubleshooting

I've followed these steps to try to root my phone. Then, I continue following this guide but I'm stuck where it says "Paso 2":
I'm trying to access the recovery mode in my PC with the adb reboot recovery command but my smartphone shows the "No command" message and icon on the screen and after I while, it just restart normally.
I just wanted to install Magisk so I did.
C:\adb>adb reboot-bootloader
C:\adb>fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (21104 KB)...
OKAY [ 0.491s]
writing 'recovery'...
OKAY [ 0.235s]
finished. total time: 0.736s
C:\adb>fastboot reboot
rebooting...
finished. total time: 0.010s
Click to expand...
Click to collapse
​and then I was expecting to be able to enter the recovery mode, but I've tried all the possible key combinations and I can
Actually, before the "No command" screen I get a warning message asking me to visit: g.co/ABH saying that "your device software cannot be checked for corruption. Lock the bootloader. PRESS THE KEY POWER TO PAUSE BOOT. Your device will boot up automatically after a while" and it just restarts normally
I also found this file: /system/recovery-from-boot.p I've read this is preventing me from entering in the recovery mode, but as I'm not root, I can't find a way to delete it or rename it...any suggestion, please?
More info about my phone:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Also, my goal is to install Magisk, so if there is any other way to do it, it will be welcome too.
P.S. I'm not older enough in this forum to ask questions in the device specific section...sorry guys

@natiya
If you can post your device and model, I will move this thread there (if a sub forum exists for that). Otherwise I will move it to Android Q&A as this is not the proper place for this thread. This is a development forum.

TNSMANI said:
@natiya
If you can post your device and model, I will move this thread there (if a sub forum exists for that). Otherwise I will move it to Android Q&A as this is not the proper place for this thread. This is a development forum.
Click to expand...
Click to collapse
I found a solution already, so not sure if we should just delete it or post the answer wherever you move it

Related

Gratia root. Revolutionary succes but SU missing?

Hey.
I updated my Hboot after this guide to 1.02.
http://forum.xda-developers.com/showthread.php?t=1133446
I downloaded Revolutionary 0.4pre4 and run it.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Looks like success?
I downloaded ClockworkMod Recovery on Play store. ClockworkMod Recovery tells me I need root.
What I want is to delete the programs that is shipped with the phone. Which is my next step?
Thanks in advance, Renkott.
To install CWM, download the Android Flasher utility here: http://forum.xda-developers.com/showthread.php?t=794638
Also, download this file: http://www.mediafire.com/?lg6b63aqpi1cvbg
Connect the USB cable to your phone and computer, then use the utility to flash the img file to the device. Make sure you select "recovery" when flashing.
Thanks. Sorry but I feel like an idiot.
finished. total time: 0.567s
< waiting for device >
security: off
finished. total time: 0.003s
sending 'recovery' (3790 KB)...
OKAY [ 0.801s]
writing 'recovery'...
OKAY [ 1.325s]
finished. total time: 2.126s
downloading 'boot.img'...
OKAY [ 0.801s]
booting...
OKAY [ 0.001s]
finished. total time: 0.802s
rebooting...
finished. total time: 0.566s
Click to expand...
Click to collapse
Android Flasher tells me "Your device has been successfully flashed."
The Phone reboots with the choices
reboot system now
apply update from sdcard
wipe data/factory reset
install zip from sdcard
backup and restore
mounts and storage
advanced
power off
++++Go Back++++
Click to expand...
Click to collapse
I choose "reboot system now". The phone restarts with no changes what I can find. Still no root?
renkot said:
Thanks. Sorry but I feel like an idiot.
Android Flasher tells me "Your device has been successfully flashed."
The Phone reboots with the choices
I choose "reboot system now". The phone restarts with no changes what I can find. Still no root?
Click to expand...
Click to collapse
That just gives you ClockworkMod recovery. Now you need to flash a ROM that already has root with it.
I downloaded update-cm-7.1.0-Liberty-signed.
Flashed but my phone with Android Flash, ended up in a boot loop. Took the battery out and it worked again but still the old software.
Thanks for the help. I choose factory defaults, wiped cash and after that installed CM9. Took a while but now I'm running ICS

Loss of DRM Keys when trying to unlock bootloader, Snapchat Camera is sizzling

Hey guys, i was trying to unlock bootloader with flashtool. Something went wrong, and phone restarted. oem lock and usb debugging was opened while unlocking bootloader. Now here is a screenshot to check drm keys. i dont have a backup of my drm keys. i couldnt unlock bootloader and couldnt root. snapchat's camera is scratchy but trackID works well.
what should i do? (sorry for bad english)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Blobs: generic error!
HUK: generic error!
FIDO_KEYS : Not provisioned ,SUNTORY error
I have bad news for you... your DRM keys are lost forever.
You're supposed to unlock the bootloader using official Sony method, don't understand why you attempted to do so using flashtool.
Try again using the link above. Then patch your kernel using this tool, specifically enable DRM-fix.
@mceyhan4
the keys are lost, but honestly its related to software side of some sony apps / camera. you can always use modified kernel which stimulates DRM keys (even if/when there arent any)
re build you stock modified kernel using http://forum.xda-developers.com/xperia-z5/development/root-automatic-repack-stock-kernel-dm-t3301605
download supersu and put it in sdcard
- flash the modified kernel
- boot, goto twrp, flash SUPERSU from sdcard.
Reboot.
DONE
in the fastboot mode, ' adb device' command is not showing my device. i dont have time to make a backup and reset. dont have any other phone. and camera is not working well on whatsapp, snapchat or any other apps
i do regret too much.
mceyhan4 said:
in the fastboot mode, ' adb device' command is not showing my device. i dont have time to make a backup and reset. dont have any other phone. and camera is not working well on whatsapp, snapchat or any other apps
i do regret too much.
Click to expand...
Click to collapse
Obviously adb devices doesn't work in fastboot mode. You have to use fastboot devices
cant even install twrp
C:\Users\xxx\AppData\Local\Android\android-sdk\platform-tools>fastboot devices
CB5A29LSMH fastboot
C:\Users\xxx\AppData\Local\Android\android-sdk\platform-tools>fastboot boot twrp.img
downloading 'boot.img'...
OKAY [ 0.715s]
booting...
FAILED (status read failed (Too many links))
finished. total time: 0.798s
C:\Users\xxx\AppData\Local\Android\android-sdk\platform-tools>fastboot flash boot twrp.img
target reported max download size of 536870912 bytes
sending 'boot' (20046 KB)...
OKAY [ 0.681s]
writing 'boot'...
FAILED (remote: Command not allowed)
finished. total time: 0.702s
C:\Users\xxx\AppData\Local\Android\android-sdk\platform-tools>
Click to expand...
Click to collapse
mceyhan4 said:
in the fastboot mode, ' adb device' command is not showing my device. i dont have time to make a backup and reset. dont have any other phone. and camera is not working well on whatsapp, snapchat or any other apps
i do regret too much.
Click to expand...
Click to collapse
always always use FLASHTOOL for xperia devices! works like a charm
am i supposed to downgrade first?
i cant unlock the bootloader without having a sim lock. front camera's screen flash is not working btw.

Huawei p20 lite bricked

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
hello I would like to ask for your help I have my huawei p20 lite ane-lx3 briked but has the frp locked and the phone locked, is locked in the log, I would be grateful for your help since I do not know what to do is the first time that happens to me already try with erecovery and tells me error when getting info package.
fastboot oem get-build-number
...
(bootloader) :ANE-LX3 8.0.0.130(C605)
OKAY [ 0.012s]
finished. total time: 0.013s
JesusDG said:
hello I would like to ask for your help I have my huawei p20 lite ane-lx3 briked but has the frp locked and the phone locked, is locked in the log, I would be grateful for your help since I do not know what to do is the first time that happens to me already try with erecovery and tells me error when getting info package.
fastboot oem get-build-number
...
(bootloader) :ANE-LX3 8.0.0.130(C605)
OKAY [ 0.012s]
finished. total time: 0.013s
Click to expand...
Click to collapse
Hi there
In these cases where the OS is corrupted the best thing is to flash a dload package to restore the partitions to it's original state, to do that please follow the procedure by @Merlin_99 in this link of his thread:
https://forum.xda-developers.com/huawei-p20-lite/how-to/root-how-to-install-update-t3841557
Chose the correct package according to your model/country which in your case seems to be ANE-LX3 (C605)
Altough since you can't boot, just power off your device after copying the files to sd card and then do POWER ON + Volume Plus + Volume Minus at the same time until you see a circle of loading and EMUI logo.
Image link is not working though.
Cheers and hope for the best,
AS
ars_chelsea said:
Hi there
In these cases where the OS is corrupted the best thing is to flash a dload package to restore the partitions to it's original state, to do that please follow the procedure by @Merlin_99 in this link of his thread:
https://forum.xda-developers.com/huawei-p20-lite/how-to/root-how-to-install-update-t3841557
Chose the correct package according to your model/country which in your case seems to be ANE-LX3 (C605)
Altough since you can't boot, just power off your device after copying the files to sd card and then do POWER ON + Volume Plus + Volume Minus at the same time until you see a circle of loading and EMUI logo.
Image link is not working though.
Cheers and hope for the best,
AS
Click to expand...
Click to collapse
After performing the steps of @Merlin_99 I get the error: software install failed incompatible with current version with a red sign of admiration and try the method of connecting to wifi of erecovery and nothing either, try to install the version: Huawei P20 Lite ANE-LX3 ANE-L03 Anne-L03 8.0.0.145 (C25CUSTC25D1) Firmware 8.0.0 r1 EMUI8.0 05015BEM [androidhost.ru]

LG G5 H850 bricked & fastboot only

First time poster, hi to all and thanks in advance for any help you can provide.
My LG G5 H850 is some what in a bricked state, after a bad kdz update, my fault of course. It seems to have wiped all partitions.
The phone will only boot to fastboot, there is no recovery or download mode. Using the vol – and power, vol + and inserting the cable still sends me to fast boot.
I have the kdz, extracted that, extracted the dz. The bootloader is in an unlocked state.
When trying to flash the laf with fastboot flash laf laf.img the message I get is
Sending 'laf' (33448 KB) OKAY [ 0.819s]
Writing 'laf' FAILED (remote: 'cannot flash this partition in unlocked state')
fastboot: error: Command failed
Locking the bootloader gives a message FAILED (remote: 'device is locked. Cannot flash images')
adb commands don’t work error: no devices/emulators found
LGUP can’t see the device, there is no handset connected, please connect a handset(s).
I’ve looked at every post I can find regarding this be it about the LG or other devices and can’t get anything working.
Is there anything else I could try or some way to flash this partition to get to download mode?
As you can tell I’m a noob on this.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You're not a noob, at least when it comes to troubleshooting, so kudos for that.
Have you tried following this guide?
totalnoob34 said:
You're not a noob, at least when it comes to troubleshooting, so kudos for that.
Have you tried following this guide?
Click to expand...
Click to collapse
Thanks for the reply, I have looked at this but unfortunately, I can’t get the phone into download mode for the pc to detect it.
When I “Hold Vol+ and connect to PC while it was powered off” download mode flashes for a split second then straight back into fastboot.
I’m thinking if I can get the laf to flash I might be able to get into this, I have seen on other posts about “Shorting JTAG Pins” but most of those are for older LG models, can’t find anything about this regarding the G5.
Drewlandsupri said:
Thanks for the reply, I have looked at this but unfortunately, I can’t get the phone into download mode for the pc to detect it.
When I “Hold Vol+ and connect to PC while it was powered off” download mode flashes for a split second then straight back into fastboot.
I’m thinking if I can get the laf to flash I might be able to get into this, I have seen on other posts about “Shorting JTAG Pins” but most of those are for older LG models, can’t find anything about this regarding the G5.
Click to expand...
Click to collapse
Hmm, that may work, but I have no first hand experience on it unfortunately. JTAG pins usually exist on any model, but they may not be accessible to the user.

Moto G Power TWRP Flash Issues: FAILED (Write to device failed (No such device))

So I have been trying to get TWRP onto my Moto G Power 2020 phone to prep it for a custom rom but am completely stuck.
To start, I am on Ubuntu 21.10 but have had luck using ADB to install Lineage on a tablet so I am a bit beside myself.
I have been following these instructions https://www.getdroidtips.com/twrp-recovery-moto-g-power/
The steps I have done are:
Unlocked developer mode and turned on OEM Unlocking and USB Debugging.
Turned off the phone, held the Volume Down and Power Button down until to switches to Fast Boot Flash Mode (For some reason the Volume UP+ Power doesn't do anything but turn the phone on).
Opened Terminal in folder I have the TWRP file and ran "fastboot devices". The phone shows up.
BUT when I open terminal in the folder that the twrp file is in and run "fastboot flash recovery twrp-3.5.0-0-rav-sofia.img" it starts and then errors out with:
FAILED (Write to device failed (No such device))
fastboot: error: Command failed
I even tried running "fastboot boot twrp-3.5.0-0-rav-sofia.img" but it does the exact same thing but the error is:
FAILED (Status read failed (No such device))
fastboot: error: Command failed
I would love any assistance because I'm not seeing anything out there that reflects the issue that I am having. I know there are A/B partitions but I'm not sure if there is some additional step that I am missing.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
One thing that I do notice is when I am looking at the phone screen when it is in Fast Boot Mode, it does say oem_locked at the bottom but I have OEM unlocking turned on.
Edit: I also saw that one issue might be that I need some OEM unlock code but the OEM code prompt is still giving that same error of No Such Device

Categories

Resources