As getting raspberryPI is impossible now a days, i wanted to use my old device(Honor 7x) like one by installing PostmarketOS on it.
Got successful in Unlocking the bootloader. But not able to root it. Will walk though all the steps and tries i did so far.
If i have posted this question in the wrong place or without out proper tag, please let me know, i will change it asap.
Device : Honor 7x (BND-AL10)
Android Version : 9
EMUI Version : 9.1.0
Build number : 9.1.0.168(C675E7R1P1)
Bootloader unlocking process (Success):The Huawei's site, where it asks for device id, imei number etc is no more alive, so i looked out and tried various other methods. Finally landed on PotatoNV.
I removed my back cover, found my devices test point, shorted them, ran potatoNV and it worked, I got the message as `bootloader unlocked` on the bootloader screen.
Rooting process (Failure):Downloaded various twrp recovery image that i found from the twrp site and also from the forums various threads from xda and tried to flash using fastboot
adb reboot bootloader
Click to expand...
Click to collapse
to get the device into bootloader mode
it failed when i tried to flash the twrp recovery image using
fastboot flash recovery twrp_recovery.img
Click to expand...
Click to collapse
later found my device is "A only" recovery partition type and also for my device the partition was different, so the following command was successful in writing the recovery image to the mentioned partition
fastboot flash recovery_ramdisk twrp_recovery.img
Click to expand...
Click to collapse
After the writing was successful, i issued
fastboot reboot
Click to expand...
Click to collapse
soon after hitting enter on the above command, i removed the cable and tried to enter fastboot mode by press and hold on Volume Up + Power button.
And got this "ERROR MODE 11 recovery image 2 load failed".
{
"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"
}
Spent 3 weeks in trying out most solutions from this form and from blog posts, im unable to install twrp recovery image to root it. After multiple attempts of flashing twrp recovery image.
Update:
1. Tried to convert using "Magisk app". and later tried to flash this recovery image into the device. still the same "ERROR MODE 11 recovery image 2 load failed".
Then, tried to directly boot through the recovery image without flashing into the device with
fastboot boot twrp_recovery.img
Click to expand...
Click to collapse
FAILED (remote: 'invalid command')
fastboot: error: Command failed
2. Tried using "Huawei Multi tool" with the same twrp recovery images, unable to install twrp and root my device.
Need Help Please!!!
Related
Hey guys!
My friend asked me to root is HTC Wildfire S, it has S-OFF and an unlocked bootloader (yay!). then I flashed (supposedly successfully) a custom recovery, but when I select RECOVERY on the HBOOT screen the device is stuck at the HTC logo and does nothing. I tried putting the zip with the weird name that HBOOT recognizes and it installs with no error. I also tried to flash it with fastboot which also writes the recovery partition with no error, but it still won't load the recovery. (Although when I try to "fastboot erase recovery" it fails saying: "FAILED (remote: not allowed)". I also tried both CWM and TWRP and neither of them worked. Anyone could help me get the custom recovery working? I also attached a image of the HBOOT screen if that helps. USB debugging is turned on, and fastboot is disabled in settings.
{
"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"
}
ps.: I also tried to use the htc super tool to root the phone but it didn't work either
Longi94 said:
Hey guys!
My friend asked me to root is HTC Wildfire S, it has S-OFF and an unlocked bootloader (yay!). then I flashed (supposedly successfully) a custom recovery, but when I select RECOVERY on the HBOOT screen the device is stuck at the HTC logo and does nothing. I tried putting the zip with the weird name that HBOOT recognizes and it installs with no error. I also tried to flash it with fastboot which also writes the recovery partition with no error, but it still won't load the recovery. (Although when I try to "fastboot erase recovery" it fails saying: "FAILED (remote: not allowed)". I also tried both CWM and TWRP and neither of them worked. Anyone could help me get the custom recovery working? I also attached a image of the HBOOT screen if that helps. USB debugging is turned on, and fastboot is disabled in settings.
ps.: I also tried to use the htc super tool to root the phone but it didn't work either
Click to expand...
Click to collapse
As I can tell of "Feb 8 2012" your WFS is 2012 edition
You need another recovery modded for the WFS
1.Download this
2.Extract it
3.Install it using CMD
thanks, it worked
Hi guys, i'm new in this forum, so please pardon me if i did something wrong.
i really need a help now, my asus zenfone 2 (ZE551ML) got bricked Yesterday.
this is the timeline why my zenfone 2 got bircked:
1. I rooted my phone without cwm or anything else on around 2 weeks ago
2. Yesterday, i recieved the firmware update message (auto download) and i accidentaly clicked on update now without unrooting first.
3. My phone stuck on the logo screen, loading forever (softbrick?)
4. i've tried to factory reset and wipe all the system cache via recovery mode, but it didn't wok.
5. i looked at some forum and youtube said that i can flash rom my device to unbrick my device with 2 ways : via adb and microsd.
6. using adb sound promising, so i learnt how to flash rom via adb and i downloaded the latest firmware on the official website.
7. i tried to flash rom via adb: i've put the firmware zip on adb folder and open windows command in that folder, i connected my zenfone 2 with usb and start to "apply update from adb" and type "adb sideload xxxx.zip".
8. several times later i got message: "timed out waiting for package, installation aborted".
9. i repeated step 7 and 8 for almost 5 times and the results are same
Can someone help me? I'm really frustated now cause i can't using my phone or maybe share the reference about flash rom with microsd, because i've tried it but i don't really understand how to do it
Thx. in advance for all of you
nb: i've tried to search in this forum, but i didn't find correct answer for me
{
"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"
}
FIXED!!!
FINALLY I FOUND HOW TO FIX IT IN THIS SITE http://www.asus.com/zentalk/forum.php?mod=viewthread&tid=39487 THE PROBLEM IS PERSIST WITH MINE AND FINALLY I DIDN'T NEED TO STPCK RECOVERY! THX FOR THE REPLIES GUYS
since you know how to go into recovery mode so i'll skip that part,
use this adb tool instead https://www.androidfilehost.com/?fid=95784891001607611
If you have an external sdcard take it out and copy the firmware you want to side load and copy it to the external sdcard. Now name it "MOFD_SDUPDATE.zip" and reboot to fastboot and choose recovery. It should automatically flash the firmware. Move it to a folder when you are done or it will install automatically every time you reboot to recovery.
bar4 said:
since you know how to go into recovery mode so i'll skip that part,
use this adb tool instead https://www.androidfilehost.com/?fid=95784891001607611
Click to expand...
Click to collapse
Thx for your reply! My device has been fixed already
mremghz said:
If you have an external sdcard take it out and copy the firmware you want to side load and copy it to the external sdcard. Now name it "MOFD_SDUPDATE.zip" and reboot to fastboot and choose recovery. It should automatically flash the firmware. Move it to a folder when you are done or it will install automatically every time you reboot to recovery.
Click to expand...
Click to collapse
Thx for your reply! My device has been fixed already
great thanks
I'm trying to root my HTC M9 but I'm unable to boot into recovery mode. Whenever I try to boot into recovery mode to install SU I get the following error message:
"Failed to boot to recovery mode"
{
"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"
}
http://www.picpaste.com/pics/IMAG0055.1460353750.jpg
I have been trying to follow this guide:
http://forum.xda-developers.com/one-m9/general/guide-root-install-twrp-htc-one-m9-t3061133
These are the steps that I have taken:
1) I have successfully unlocked the boot loader.
2) When I have the phone connected to the PC I have USB debugging mode enabled.
3) The 'adb devices' command confirms my phone can be detected when it's plugged in:
F:\Downloads\Android\ADB_Fastboot>adb devices
List of devices attached
FA54DYJ01014 device
4) I can successfully issue the 'adb reboot download' command and can successfully flash ther TWRP.img, I have downloaded and used the 'HTC One M9 (hima)' Twrp image found at https://twrp.me/Devices/:
F:\Downloads\Android\ADB_Fastboot>fastboot flash recovery twrp.img
sending 'recovery' (19912 KB)... OKAY [ 2.118s]
writing 'recovery'... INFOHOSD CL#573756
[email protected]
[email protected]%
INFOUpdate partition OK
[email protected]
OKAY [ 2.365s]
finished. total time: 4.483s
This is what I see on the phone:
http://www.picpaste.com/pics/IMAG0057.1460353787.jpg
5) I can power down the device and can reboot into the boot loader screen:
6) At this step things start to go a little bit pear shaped, i.e. wrong, when I try to use the 'adb push' command I get the following message:
F:\Downloads\Android\ADB_Fastboot>adb push BETA-SuperSU-v2.71-20160331103524.zip /sdcard
failed to copy 'BETA-SuperSU-v2.71-20160331103524.zip' to '/sdcard': Is a directory
OK fine, no problem, I just manually copied the zip file to the SD card.
7) Now I rebooted to the boot loader screen and this is where I get stuck, this is where I get the "Failed to boot to recovery mode" error when I choose to "Boot to download mode".
Some further information:
The device still boots up properly, i.e. I can boot into Android and use the phone like I normally would.
The phone is running Android v5.1, this is the problem I want to flash the phone to Android v6.0, and flash an Android Revolution HD or ViperOneM9 ROM.
The phone was purchased locally in Australia from JB HiFi. When I boot the phone and power the phone down it displays the Telstra logo.
http://www.picpaste.com/pics/IMAG0054.1460353731.jpg
http://www.picpaste.com/pics/IMAG0056.1460353767.jpg
A Google search and a search of this forum for "failed to boot to recovery mode" has failed to turn up any useful information.
I would really like to root my phone. Rignt now it seems impossible to root my phone. I am out of ideas. Does anyone have a fix or any more suggestions to try?
Which version of TWRP did you flash?
3.1 and 3.2 seems that they would have this symptom if your Android is not Android 6.
You can try TWRP 3.0 first.
lcsboy said:
Which version of TWRP did you flash?
3.1 and 3.2 seems that they would have this symptom if your Android is not Android 6.
You can try TWRP 3.0 first.
Click to expand...
Click to collapse
Awesome! Thank you so much. I don't know why I didn't think to try an older version, rookie n00b mistake. I tried flashing v2.8.5.0 and it worked!
I have the same issue
after I reflashed it with an older version of TWRP it didn't work, do I have to remove the previous TWRP? and if yes then how?
So I'm guessing that download mode still worked for you? I have neither download or recovery mode...
i have the same problem with m9u, except mine doesn't reboot to android. it goes back to bootloader. i can select either of the options, bootloader, download mode, or recovery mode
the bootloader is unlocked, but S-ON ( for whatever reason cannot get s-off)
if i install a custom rom via twrp, say revolution hd... it says installed successfully but when i reboot it goes back to bootloader mode
i tried RUU from htc site but i get error 132
i tried 0PJAIMG.zip via sd card but i get an error :
"Security checking failed NOT_FIND_SMART IO
Failed: -2, 12: fail to flash via download zip
press power to continue"
LE: it finally worked but only with an older version (0PJAIMG_HIMA_UHL_L50_SENSE70_HTC_Europe_1.32.401.15_R1_Radio_01.01_U11440261_56.02.50306G_2_F_release_426891_signed.zip)
the initial problem was that the phone was not updating from 5.1.1, apparently now is downloading an update
Having this issue as well.
Hi Everyone!
It's been a long time since I posted here. Just got an M9 and having a few issues, It's obviously been flashed with custom ROMs before, is S-OFF and unlocked.
Unfortunately I can't get into the recovery, Ideally I'd like to return to a close to stock ROM. It throws up this message when I try to get in:
"Failed to boot to recovery mode... This build is for development purposes only..."
Download mode says "SD NOT MOUNTED" at the bottom (I don't know if that's normal)
I've tried to install various versions of TWRP via fastboot to no avail!
I've flashed lots of ROMs to my M8 before with no problems, but just having trouble as I don't know what's been changed on this phone! Any help much appreciated!
Few more details pulled from download mode:
htc_himauhl PVT S-OFF
CID-ORANG001
LK-1.0.0.0000
firmware version: 0x7
{
"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"
}
Solved. Just had to flash TWRP, then go straight to recovery before getting to OS by holding UP/DOWN as it rebooted. Tiny little quirk!
what do you meen had to flash
I have a problem like that but I can't boot to download mode either. I get the message "failed to boot to download mode" then at the bottom "this build is for development purposes only ...". Please help!
Redfox511 said:
I have a problem like that but I can't boot to download mode either. I get the message "failed to boot to download mode" then at the bottom "this build is for development purposes only ...". Please help!
Click to expand...
Click to collapse
Flash Twrp 2.9.0.1 "if you're rooting it".
Beamed in by telepathy.
shivadow said:
Flash Twrp 2.9.0.1 "if you're rooting it".
Beamed in by telepathy.
Click to expand...
Click to collapse
The thing is I didn't have usb debugging enabled when the device crashed and started a boot loop. Now I'm stuck in the bootloader and I don't know what to do? Any advice?
Redfox511 said:
The thing is I didn't have usb debugging enabled when the device crashed and started a boot loop. Now I'm stuck in the bootloader and I don't know what to do? Any advice?
Click to expand...
Click to collapse
In bootloader mod you have to use fastboot not adb.
Adb is only for OS or TWRP.
So you can try to flash recovery in bootloader with
fastboot flash recovery filename.img
then try to boot from recovery to download mode
Hello guys , i am trying to flash cwm recovery in my htc m8 international device.I don't know why but it wont flash.i have tried many versions of trwp and cwm but still nothing.i have tried changing cables, usb ports and also tried flashing from internal storage and sd card but it says "failed to map".I don't know what to do. Also ,My bootloader is unlocked an i am not rooted.Can you guys please help me?I am also attaching a photo of the moment it stucks when i try to flash the recovery image
{
"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"
}
192latform-tools GB$ ./adb reboot bootloader
192latform-tools GB$ ./fastboot flash recovery crw.img
target reported max download size of 1826414592 bytes
sending 'recovery' (12846 KB)...
ERROR: usb_write failed with status e00002ed
FAILED (data transfer failure (No such file or directory))
finished. total time: 405.903s
First of all, I would avoid CWM. Reason being, CWM never official supported this device. There are some unofficial CWM versions compiled for the M8, but they are all very old, and by definition will not be compatible with a great many firmware versions that came after.
Also, we need more info about your device. Do fastboot getvar all, and post the results (delete IMEI and serial number).
What versions of TWRP exactly did you try? Give us actual version numbers, as saying something like "many versions" doesn't give us the required specific information.
Hi,thank you for the reply.I flashed from a window pc and it flashed perfectly so phone is ok now.i was trying to flash it from my mac yesterday and it didnt work.I executed excatly the same steps in my pc as i did in my mac and the procedure went on.In mac whenever i typed " ./fastboot flash recovery crwp.img " it got stuck at " sending<> " .
In window i tryed flashing both cwm and trwp and it worked with both ,so i think its my mac fault.
Anyways thank you for the help and the reply.
giulianoballshi said:
Hi,thank you for the reply.I flashed from a window pc and it flashed perfectly so phone is ok now.i was trying to flash it from my mac yesterday and it didnt work.I executed excatly the same steps in my pc as i did in my mac and the procedure went on.In mac whenever i typed " ./fastboot flash recovery crwp.img " it got stuck at " sending<> " .
In window i tryed flashing both cwm and trwp and it worked with both ,so i think its my mac fault.
Anyways thank you for the help and the reply.
Click to expand...
Click to collapse
Interesting, although I personally am only experienced with using a PC for phone mods; fastboot and adb should be agnostic (not matter) as to PC, Mac, or Linux. As long as you have the proper Google adb/fastboot package/drivers installed.
What version TWRP to use is still pretty dependent on the phone's firmware version, so if you need help identifying that, post your fastboot getvar all results, as indicated in my last reply. Flashing TWRP is one thing, but if you have a mismatched TWRP version, you may have trouble flashing ROMs, root, etc.