TWRP install fail. "flashing not allowed for locked HW" - Fire HD 6 and 7 Q&A, Help & Troubleshooting

First and foremost let me state my intent to see if that's even possible. I'm looking to install a fresh android OS completely free of Amazon's existing OS. Something like Cyanogen would be ideal but any "UnAmazoned" version of android will do.
I'm pretty sure I have the 8 gb 4th generation Kindle Fire HD 6 (Amazon logo on the back, power button on top, volume on the left side).
I have rooted using Kingroot and confirmed root using root checker. I have JMZ Fire HD 7 tools installed to disable ADs, OTAs and the Amazon launcher.
I tried running the TWRP manager but it couldn't install TWRP so I decided to do it manually. "ADB DEVICES" returns with a device number so I know the HD 6 is being recognized. I'm installing TWRP using the instructions found on their website.
The instruction say to download the correct file image from the link they provide which I think means to download the latest one?
When I try to run the "fastboot flash recovery twrp.img" command I get the following in my CMD prompt:
Code:
target reported max download size of 52429824 bytes
sending 'recovery' (5568 KB)...
OKAY [ 0.220s]
writing 'recovery'...
FAILED (remote: flashing not allowed for locked hw)
finished. total time: 0.260s
Does anyone have any idea what I'm doing wrong?

ThunderWulf said:
First and foremost let me state my intent to see if that's even possible. I'm looking to install a fresh android OS completely free of Amazon's existing OS. Something like Cyanogen would be ideal but any "UnAmazoned" version of android will do.
I'm pretty sure I have the 8 gb 4th generation Kindle Fire HD 6 (Amazon logo on the back, power button on top, volume on the left side).
I have rooted using Kingroot and confirmed root using root checker. I have JMZ Fire HD 7 tools installed to disable ADs, OTAs and the Amazon launcher.
I tried running the TWRP manager but it couldn't install TWRP so I decided to do it manually. "ADB DEVICES" returns with a device number so I know the HD 6 is being recognized. I'm installing TWRP using the instructions found on their website.
The instruction say to download the correct file image from the link they provide which I think means to download the latest one?
When I try to run the "fastboot flash recovery twrp.img" command I get the following in my CMD prompt:
Code:
target reported max download size of 52429824 bytes
sending 'recovery' (5568 KB)...
OKAY [ 0.220s]
writing 'recovery'...
FAILED (remote: flashing not allowed for locked hw)
finished. total time: 0.260s
Does anyone have any idea what I'm doing wrong?
Click to expand...
Click to collapse
Did you unlock the boot loader

Related

Error Booting CWM

Hi Everyone,
First I apologize if this isn't the right place to post this, please move it to the correct forum if it's not.
I have a Asus TF700 (running the latest Asus firmware) the, warranty just ran out so I figured it was time to unlock and play with some custom roms.
I got it unlocked using the Asus bootloader tool, I went to install CWM using fastboot and it seemed to go OK but then when I went to reboot the bootloader it failed giving me a write failure. Now when I try to boot up recovery it briefly shows the android guy in working mode then goes to the error with the android laying on his back.
Here is my commands with fastboot:
C:\adb>adb reboot bootloader
C:\adb>fastboot flash recovery recovery.img
sending 'recovery' (6688 KB)...
OKAY [ 2.483s]
writing 'recovery'...
OKAY [ 2.409s]
finished. total time: 4.893s
C:\adb>fastboot reboot-bootloader
rebooting into bootloader...
FAILED (command write failed (Unknown error))
finished. total time: 0.636s
C:\adb>adb reboot bootloader
error: device not found
And that's it, I'm a bit stumped not sure how to fix it so I can move onto installing the roms, any help would be greatly appreciated.
Anyone?
DId you install the Google USB driver?
If don't,please install the Android SDK and install all.
packyy said:
DId you install the Google USB driver?
If don't,please install the Android SDK and install all.
Click to expand...
Click to collapse
Yes, if I hadn't then I wouldnt have been able to use fastboot or install CWM.
No one? I thought this was the android super stars forum.
Can someone at lease suggest another forum with people willing to help?
Not a single person willing to help me out? Wow, thanks.

[Q] Possible soft brick, please advise

Hi, all.
I was messing around with Android Tweaker 2, zipaligning my apps, performing vague system tweaks and the like, when I rebooted my phone for the changes to take effect; however, the phone booted up, finished the booting animation, and where the home screen should be showing up only showed a black screen. From there I can only reboot again, reboot into STOCK recovery, or reboot into fastboot, which has limited function in an Asus device (inability to flash unsigned custom recovery images, inability to flash rom images, stock firmware images are unavailable ANYWHERE, etc.) My device WAS rooted, however, I did a factory reset from the stock recovery in hopes that the problem would be resolved, so I'm not sure if root access was retained. I've tried a lot of things, but what I need is access to adb to push some files, or just figure out what the hell happened to the device.
Any ideas? Thanks in advance.
Details:
Asus Padfone X [4.4.2 stock rom]
WAS rooted
LOCKED bootloader
STOCK recovery
Fastboot is basically useless, given the "safeguards" Asus has implemented
Read the CM12.1 for instructions on unlocking bootloader , there are instructions on booting from custom recovery using fastboot from there you can adb push the files to your phone as posted in the Nandroid Stock backup thread and install using TWRP.
daggorlad said:
Read the CM12.1 for instructions on unlocking bootloader , there are instructions on booting from custom recovery using fastboot from there you can adb push the files to your phone as posted in the Nandroid Stock backup thread and install using TWRP.
Click to expand...
Click to collapse
Thanks for the advice.
I have consulted the CM12.1 thread, and I see the instructions, the first step of which is to "boot into CWM, CMRecovery, or TWRP." However, I do not have any of these custom recoveries flashed on my Padfone X. Is there a way I can boot custom recovery off an external microsd or something?
Note: upon attempting the "fastboot flash recovery CMrecovery.img" command, the cmd window returns the following:
Code:
target reported max download size of 1879048192 bytes
sending 'recovery' <11220 KB>...
OKAY [ 0.438s ]
writing 'recovery'...
FAILED <remote: can't flash unsigned image>
finished. total time: 0.444s
EDIT: Problem has been resolved, used
Code:
fastboot boot twrp.img
and restored stock.
shattered519 said:
Thanks for the advice.
I have consulted the CM12.1 thread, and I see the instructions, the first step of which is to "boot into CWM, CMRecovery, or TWRP." However, I do not have any of these custom recoveries flashed on my Padfone X. Is there a way I can boot custom recovery off an external microsd or something?
Note: upon attempting the "fastboot flash recovery CMrecovery.img" command, the cmd window returns the following:
Code:
target reported max download size of 1879048192 bytes
sending 'recovery' <11220 KB>...
OKAY [ 0.438s ]
writing 'recovery'...
FAILED <remote: can't flash unsigned image>
finished. total time: 0.444s
EDIT: Problem has been resolved, used
Code:
fastboot boot twrp.img
and restored stock.
Click to expand...
Click to collapse
Glad I was able to point you into the right direction.

Unroot Honor 7 (Rooted with KingoRoot)

Hello,
I have rooted my Honor7 with Kingoroot. Now I want to unroot it to do OTA Updates.
Unroot with Kingoroot is failing and the Support is not answering.
I tried with Honor Multi Tool and flashing stock recovery (.IMG) , but as soon as I want to flash Recovery this is printed out: FAILED (remote: Command not allowed)
I have already checked bootloader and there is written "Phone unlocked"
So what's the Problem?
Regards,
Christian
Qhris said:
Hello,
I have rooted my Honor7 with Kingoroot. Now I want to unroot it to do OTA Updates.
Unroot with Kingoroot is failing and the Support is not answering.
I tried with Honor Multi Tool and flashing stock recovery (.IMG) , but as soon as I want to flash Recovery this is printed out: FAILED (remote: Command not allowed)
I have already checked bootloader and there is written "Phone unlocked"
So what's the Problem?
Regards,
Christian
Click to expand...
Click to collapse
There´s an option inside Kingroot to uninstall. I can't remember the steps to get there, but you can't just uninstall the app.
The other options would be flash system.img or factory reset after backing up the relevant data with Huawei backup native app.
I was struggling a bit with Kingroot unroot too, but after I restarted Honor it just worked out. Just use option in menu of Kingroot to uninstall. First time during unroot I got error or it just froze for a moment and nothing hapenned.
And just FYI even you remove Kingroot, you have to reflash completely your FW by local update otherwise OTA won´t work because system partition was changed by Kingroot.
Go to Settings>Root Authorization Settings>Remove Root permission. Select OK for the next screens (it will take some time) and check if app was uninstalled. If not, do it.
Reboot the phone and you´re done.
Ing.King said:
I was struggling a bit with Kingroot unroot too, but after I restarted Honor it just worked out. Just use option in menu of Kingroot to uninstall. First time during unroot I got error or it just froze for a moment and nothing hapenned.
And just FYI even you remove Kingroot, you have to reflash completely your FW by local update otherwise OTA won´t work because system partition was changed by Kingroot.
Click to expand...
Click to collapse
I have restarted the device many times. Everytime the unroot with the computer software is failing...
One question regarding kingroot. I am not able to remember, that I need to unlock the bootloader over huawei. Is this possible?
zinko_pt said:
Go to Settings>Root Authorization Settings>Remove Root permission. Select OK for the next screens (it will take some time) and check if app was uninstalled. If not, do it.
Reboot the phone and you´re done.
Click to expand...
Click to collapse
What APP do you mean? There is an app named "Kingo Link", but this app does not have any Settings.
The other was SuperSU#. I have done there the unroot option and deinstalled the app, but the device is still rooted. (Checked with Root Checker Basic)
I suppose you used kingroot installed in your phone.
Ah ok. No I used the pc program (https://www.kingoapp.com/)
If you didn't modified your system other than rooting it, I suggest you to flash system.img from Stock Firmware you were using previously.
DigiGoon said:
If you didn't modified your system other than rooting it, I suggest you to flash system.img from Stock Firmware you were using previously.
Click to expand...
Click to collapse
Already tried....
"I tried with Honor Multi Tool and flashing stock recovery (.IMG) , but as soon as I want to flash Recovery this is printed out: FAILED (remote: Command not allowed)"
Is it possible to do the update without removing the root?
Qhris said:
Already tried....
"I tried with Honor Multi Tool and flashing stock recovery (.IMG) , but as soon as I want to flash Recovery this is printed out: FAILED (remote: Command not allowed)"
Is it possible to do the update without removing the root?
Click to expand...
Click to collapse
Nope, the install will fail everytime if the system is modified, but in some cases it is reported that, by doing this process multiplte times it actually passes through regardless the rooted system.
So keep trying, and that error occurs when you have a Locked Bootloader, did you checked if its not in any way relocked?
Qhris said:
Already tried....
"I tried with Honor Multi Tool and flashing stock recovery (.IMG) , but as soon as I want to flash Recovery this is printed out: FAILED (remote: Command not allowed)"
Is it possible to do the update without removing the root?
Click to expand...
Click to collapse
Modified partition, so no.
I would go with the PC app side and try a uninstall.
If it doesn't work, then a manual fastboot flash of the boot.img, recovery.img, system.img, by this order. If not with current Bxxx version, go back to B100.
As a rule of thumb I never use Kingroot as it sticks like a chewed bubble gum.
DigiGoon said:
Nope, the install will fail everytime if the system is modified, but in some cases it is reported that, by doing this process multiplte times it actually passes through regardless the rooted system.
So keep trying, and that error occurs when you have a Locked Bootloader, did you checked if its not in any way relocked?
Click to expand...
Click to collapse
How i could check, if my bootloader is relocked? The multi tool check says it's unlocked...
To boot into bootloader mode follow these steps:
Switch off your device.
Press and hold Vol DOWN button.
While pressing and holding it, connect your device to PC.
Once in bootloader mode you'll get text on the screen like:
Phone Locked - If your bootloader is locked.
Phone Unlocked - If your bootloader is unlocked.
Phone Relocked - If your bootloader is relocked after once doing an unlock.
Report back after checking.
Good News. I removed root with the king app, but flashing is not working:
C:\Users\Chris\Desktop\HONOR_MultiTool\Files>fastboot flash system SYSTEM.img
target reported max download size of 471859200 bytes
sending sparse 'system' (459682 KB)...
OKAY [ 10.279s]
writing 'system'...
FAILED (remote: Command not allowed)
finished. total time: 10.283s
C:\Users\Chris\Desktop\HONOR_MultiTool\Files>fastboot flash system SYSTEM.img
target reported max download size of 471859200 bytes
sending sparse 'system' (459682 KB)...
OKAY [ 10.244s]
writing 'system'...
FAILED (remote: Command not allowed)
finished. total time: 10.247s
I have checked bootloader like DigiGoon said and there is written "Phone Unlocked"... Wtf? ..
Qhris said:
Good News. I removed root with the king app, but flashing is not working:
C:\Users\Chris\Desktop\HONOR_MultiTool\Files>fastboot flash system SYSTEM.img
target reported max download size of 471859200 bytes
sending sparse 'system' (459682 KB)...
OKAY [ 10.279s]
writing 'system'...
FAILED (remote: Command not allowed)
finished. total time: 10.283s
C:\Users\Chris\Desktop\HONOR_MultiTool\Files>fastboot flash system SYSTEM.img
target reported max download size of 471859200 bytes
sending sparse 'system' (459682 KB)...
OKAY [ 10.244s]
writing 'system'...
FAILED (remote: Command not allowed)
finished. total time: 10.247s
I have checked bootloader like DigiGoon said and there is written "Phone Unlocked"... Wtf? ..
Click to expand...
Click to collapse
Have you tried with B100?
zinko_pt said:
Have you tried with B100?
Click to expand...
Click to collapse
Yes, this was system.img from "PLK-L01C432B100 Upgrade Software UK"
zinko_pt said:
Have you tried with B100?
Click to expand...
Click to collapse
No, flash the boot.img from current Bxxx version.
zinko_pt said:
No, flash the boot.img from current Bxxx version.
Click to expand...
Click to collapse
It must be the current boot.img? I am not able to find any for B180...
Qhris said:
It must be the current boot.img? I am not able to find any for B180...
Click to expand...
Click to collapse
Yes, use this full B180 https://www.androidfilehost.com/?w=files&flid=102830
@Qhris Try to update your ADB & Fastboot drivers, it seems like the drivers are outdated.
Use the latest SDK from Google.

Help please?????

Hi all,
Today I tried to root my LG G5 H830 but with an older method for Marshmallow(in the video i was watching the version wasn't even specified so I was unaware and I believed that the version of the phone did not really matter). I proceeded to follow this man's instructions @: "How to Root T-Mobile LG G5!" by "Max Lee" on Youtube(as a new user i cannot post links ) I unlocked my bootloader, got drivers and followed his instructions up onto an error on LGUP. Basically the error's purpose was to tell me that Nougat is not supported. So I had no choice but to reboot my phone and go through the android initializing setup.
After realizing the error of my ways I then found this post here via Google Search: "Install TWRP Recovery and Root LG G5 on Android Nougat | DroidViews" to install TWRP. Now my bootloader is unlocked and I have no root. The only problem here is that whenever I go into developer options and try to toggle 'OEM unlock' on it won't let me. The OEM unlock setting is grey-ed out and I am unable to toggle it!! This is what I need help with! Although my bootloader is very much infact unlocked I think some error occurred to where now I cant toggle my OEM unlock thus I am unable to flash a TWRP recovery via fastboot!
If I reboot into my bootloader and run the command "fastboot flash recovery recovery.img" i get this:
Code:
target reported max download size of 536870912 bytes
sending 'recovery' (18668 KB)...
OKAY [ 0.419s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time: 0.435s
I even ignored the error and tried to boot into recovery manually and i just get the stock recovery.
Please help me guys
What about locking the bootloader again and unlocking it after that with the newer video you used?
MAGNVM said:
Hi all,
Today I tried to root my LG G5 H830 but with an older method for Marshmallow(in the video i was watching the version wasn't even specified so I was unaware and I believed that the version of the phone did not really matter). I proceeded to follow this man's instructions @: "How to Root T-Mobile LG G5!" by "Max Lee" on Youtube(as a new user i cannot post links ) I unlocked my bootloader, got drivers and followed his instructions up onto an error on LGUP. Basically the error's purpose was to tell me that Nougat is not supported. So I had no choice but to reboot my phone and go through the android initializing setup.
After realizing the error of my ways I then found this post here via Google Search: "Install TWRP Recovery and Root LG G5 on Android Nougat | DroidViews" to install TWRP. Now my bootloader is unlocked and I have no root. The only problem here is that whenever I go into developer options and try to toggle 'OEM unlock' on it won't let me. The OEM unlock setting is grey-ed out and I am unable to toggle it!! This is what I need help with! Although my bootloader is very much infact unlocked I think some error occurred to where now I cant toggle my OEM unlock thus I am unable to flash a TWRP recovery via fastboot!
If I reboot into my bootloader and run the command "fastboot flash recovery recovery.img" i get this:
Code:
target reported max download size of 536870912 bytes
sending 'recovery' (18668 KB)...
OKAY [ 0.419s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time: 0.435s
I even ignored the error and tried to boot into recovery manually and i just get the stock recovery.
Please help me guys
Click to expand...
Click to collapse
Did you try to run the terminal/cmd as an administrator/root?
Sent from my LG-H840 using Tapatalk

Help please??

Hi all,
Today I tried to root my LG G5 H830 but with an older method for Marshmallow(in the video i was watching the version wasn't even specified so I was unaware and I believed that the version of the phone did not really matter). I proceeded to follow this man's instructions @: "How to Root T-Mobile LG G5!" by "Max Lee" on Youtube(as a new user i cannot post links ) I unlocked my bootloader, got drivers and followed his instructions up onto an error on LGUP. Basically the error's purpose was to tell me that Nougat is not supported. So I had no choice but to reboot my phone and go through the android initializing setup.
After realizing the error of my ways I then found this post here via Google Search: "Install TWRP Recovery and Root LG G5 on Android Nougat | DroidViews" to install TWRP. Now my bootloader is unlocked and I have no root. The only problem here is that whenever I go into developer options and try to toggle 'OEM unlock' on it won't let me. The OEM unlock setting is grey-ed out and I am unable to toggle it!! This is what I need help with! Although my bootloader is very much infact unlocked I think some error occurred to where now I cant toggle my OEM unlock thus I am unable to flash a TWRP recovery via fastboot!
If I reboot into my bootloader and run the command "fastboot flash recovery recovery.img" i get this:
Code:
target reported max download size of 536870912 bytes
sending 'recovery' (18668 KB)...
OKAY [ 0.419s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time: 0.435s
I even ignored the error and tried to boot into recovery manually and i just get the stock recovery.
Please help me guys
duplicate thread >>> original here https://forum.xda-developers.com/lg-g5/help/help-please-t3601192
thread closed

Categories

Resources