Related
Hye XDAs members..I want to share my experience with you..
I have been through with a lot of trouble since I made something, kinda stupid with my phone..
The 'disaster', than I mention on the title is, when:
1. I have made full wipe
2. No ROM on sdcard (forgot to place it!)
3. I can't restore my nandroid backup due to md5 mismatch error!
4. Bootloop
So with that problem, means that I can't open my sdcard to place any ROM in it. Bootloop is not a big issue here, but the real deal was I can't have the access to my sdcard. Then the trouble begin when I can't boot, and stuck on HTC boot screen.
This was what I have done, to recover my phone. Hope I can help someone out there that having the same problem as I am. I have access to fastboot, so:
1. I flash a custom recovery, in my case I chose ClockwordMod Touch Recovery:
http://forum.xda-developers.com/showthread.php?t=1594819
fastboot boot recovery-clockwork-touch-5.8.4.0-endeavoru.img
2. After that, I put in these command to made my sdcard opened:
adb devices
adb shell
echo /dev/block/mmcblk0p14 > /sys/devices/platform/fsl-tegra-udc/gadget/lun0/file
3. The sdcard was opened successfully! I copied my choice of custom ROM, which was Charmeleon v5.0.0, to the sdcard. I also copied Super Wipe script from here: http://forum.xda-developers.com/showthread.php?t=1562603
4. After that I go to fastboot, flash the kernel, and went back straight to the recovery. I flashed the Super Wipe script, and then I flashed the ROM, reboot.
5. Finally I have my phone fully functioning again!
This tutorial was done in Windows 7. I have tried this on Windows 8 but unfortunately Windows 8 failed to recognize the commands due to lack of HTC drivers support. I haven't tried it on Ubuntu, yet.
Before you make everything, make sure you have charge you battery fully!
So I hope this thread here will be able to help somebody. Finally thanks to everybody here. Have a good day mates!
Referrals:
1. http://forum.xda-developers.com/archive/index.php/t-1609660.html
2. http://forum.xda-developers.com/showthread.php?t=1609190
3. http://forum.xda-developers.com/showthread.php?t=1605720&page=3
If you thought this was usefull, please hit 'Thanks' button for me..
Why would anybody use the adb commands to copy anything to the SD card, it is already included/enabled (mount -->mount USB memory-->done) in the new recovery
muamers said:
Why would anybody use the adb commands to copy anything to the SD card, it is already included/enabled (mount -->mount USB memory-->done) in the new recovery
Click to expand...
Click to collapse
I will definitely DO THAT, if I can..in my case, I CAN'T..
That is why I wrote this, for those who can't..I don't know what is wrong with cwm, but because of that error, I have to do all of that command..
Freddy1X said:
I will definitely DO THAT, if I can..in my case, I CAN'T..
That is why I wrote this, for those who can't..I don't know what is wrong with cwm, but because of that error, I have to do all of that command..
Click to expand...
Click to collapse
What can cause that:
1. You didnt instal the latest CWM
2. You didnt mount the right thing ...
3. You have bad drivers ...
But it is most probably the first one...
Sent from my HTC One X using XDA
muamers said:
What can cause that:
1. You didnt instal the latest CWM
2. You didnt mount the right thing ...
3. You have bad drivers ...
But it is most probably the first one...
Sent from my HTC One X using XDA
Click to expand...
Click to collapse
I have install the latest CWM..I think it was caused by the Windows 8, that didn't support HTC drivers..I tried this on my wife laptop which is powered by Windows 7, and wal-lah, the drivers installed successfully..Windows 8 Release Preview still need some final touch before it goes to the market..I love Windows 8, but have to stick with Windows 7 after this case happened to me..
I don't really care if I haven't flash the latest CMW, what I do care is about people out there who have the same problem as I am..I just wanted to help them, and myself..
muamers said:
Why would anybody use the adb commands to copy anything to the SD card, it is already included/enabled (mount -->mount USB memory-->done) in the new recovery
Click to expand...
Click to collapse
My thoughts exactly.
That supports the theory above that the incorrect CWM was installed.
The previous versions couldn't mount the USB Storage, but as of the latest CWM, you can.
While that was a cool trick, I think installing the lastest CWM recovery image would have solved a lot of these issues from the get-go
Quiksilver78 said:
My thoughts exactly.
That supports the theory above that the incorrect CWM was installed.
The previous versions couldn't mount the USB Storage, but as of the latest CWM, you can.
While that was a cool trick, I think installing the lastest CWM recovery image would have solved a lot of these issues from the get-go
Click to expand...
Click to collapse
Thanks..I will definitely try it again.. :good:
Recovery
Hello,
After the fastboot command did you then reboot into recovery?
Once in recovery, my windows XP does not see any device attached. Should I see a device attached while in recovery?
If I should, where can I get this driver? I tried installing PDA.net to get this, but still there is no device found, and so no way to use ADB.
I'm stuck because I have to send system modules after sending a boot.img, but there is no way.
Edit: Ahh I fixed this by updating my CWM from 5.8.3.1 to 5.8.4.0!
md5 mismatch error
greetings...
first off i m very new (noob) in these rooting, ROMing etc of the HOX
i have a question on the mismatch error
recently i tried the JB ROM, got bootloop
then i tried to restore my backup with CWM 5.8.2.7
i got 2 backups, the stock rom and revolution hd rom
both backups return md5 mismatch error when i tried to restore
what actually gone wrong
need help... :crying:
zool80me said:
both backups return md5 mismatch error when i tried to restore
what actually gone wrong
need help... :crying:
Click to expand...
Click to collapse
You renamed them.
BenPope said:
You renamed them.
Click to expand...
Click to collapse
ooo cant renamed the folder eh?
thanks will try it now...
---------- Post added at 10:32 PM ---------- Previous post was at 10:17 PM ----------
BenPope said:
You renamed them.
Click to expand...
Click to collapse
halfway worked, manage to restore but still got the boot loop :crying:
zool80me said:
ooo cant renamed the folder eh?
thanks will try it now...
---------- Post added at 10:32 PM ---------- Previous post was at 10:17 PM ----------
halfway worked, manage to restore but still got the boot loop :crying:
Click to expand...
Click to collapse
You need to push the correct boot.IMG via fastboot before you flash the Rom that's usually cause of bootloop plus not clearing cache
sent from a powerhouse HTC one X quad core nvidia beast
grinder19 said:
You need to push the correct boot.IMG via fastboot before you flash the Rom that's usually cause of bootloop plus not clearing cache
sent from a powerhouse HTC one X quad core nvidia beast
Click to expand...
Click to collapse
will redo everthings agains, thanks
zool80me said:
ooo cant renamed the folder eh?
thanks will try it now...
---------- Post added at 10:32 PM ---------- Previous post was at 10:17 PM ----------
halfway worked, manage to restore but still got the boot loop :crying:
Click to expand...
Click to collapse
You have to flash the kernel of your ROM from bootloader..
fastboot flash boot boot.img
fastboot erase cache
Then try to restore your backup..
Guys,
I'm a newbie to rooting and unlocking world, and I think have done too many things to screw my phone as much as I can.
Device is a PrimeOU based. (India)
Trying to recall the series of accidents that I committed since last 24hrs on my HTC ONE V.
1. Unlocked the bootloader successfully.
2. Rooted the device successfully and installed CWM and copied the file mentioned in this post
3. Entered the recovery mode, backed up my previous ROM from CWM.
4. Flashed the ROM directly (Later I came to know there were a some other steps missed here).
5. And of course, post flashing CYANOGENMOD 10 was stuck in the boot screen.
6. Went back to recovery mode and here I made a biggest mistake, I partitioned the SD card as the CWM logs were showing that one of the ext partition could not be mounted. Because of this, I LOST ALL MY BACKUP DATA.
7. Again, referred one more post from here .. tried copying files, played around but nothing worked.
8. Flashed again from some windows based tool (Can recall its name, its not in my browser history as well). Installed TWAR.
9. Started searching for the stock ROM and found one here
Tried to recover the base ROM but no luck.
10. Found that I should try with RUU to resume my stock ROM. relocked phone flashed the image again.
I see error 155, which says that I should try with another RUU version, but the verdict is that hboot version is older.... came through another post that at this moment there is no RUU version available that suits the hboot compatibility as of now.
Conclusion:
I have now understood, that should not have messed up so much with my phone without any proper education on android rooting unlocking.
Device is now flashed with some version of RUU and recovery mode takes me to default android recovery screen which again reboots the phone.
Is my device bricked? Can we get it back functioning normally? Can we try the below?
1. Is there any way I can recover the deleted backup on my SD card and try recover again? Does the card get formatted completely if a new partition is created.?
2. Should I take it to an authorized service center? Its no longer in warranty, so they will always be happy to get things done for a price.
3. Should I take it to an unauthorized shops who can get back my phone working?
Any help is highly appreciated.Please let me know if you have any other advice too...
Thanks in advance,
Sumanth
R: [Q] Attempt to mod my phone now almost bricked
Don't worry you aren't bricked! Right now is your bootloader unlocked?
mr_nooby said:
Don't worry you aren't bricked! Right now is your bootloader unlocked?
Click to expand...
Click to collapse
Ah well, I had to relock it inorder to get through the RUU flash update.
R: [Q] Attempt to mod my phone now almost bricked
If you can't use a ruu, then you need a custom rom. In order to do that you need to unlock and root again first
mr_nooby said:
If you can't use a ruu, then you need a custom rom. In order to do that you need to unlock and root again first
Click to expand...
Click to collapse
Thanks, first of all, happy to hear that phone is still alive.
I just do not want to mess up any further, unless I get a clear step by step process to root it again.
where can I get such descriptive steps that start from ABC....?
R: [Q] Attempt to mod my phone now almost bricked
http://forum.xda-developers.com/showthread.php?t=1598964 this is a very well done guide, step by step
mr_nooby said:
http://forum.xda-developers.com/showthread.php?t=1598964 this is a very well done guide, step by step
Click to expand...
Click to collapse
Hello Nooby - Thanks a lot for your direction. I will try this and reply by tomorrow (Its 4AM here )
I may sound stupid but one last question - if something goes wrong with this one too, hope the phone wont be bricked?
R: [Q] Attempt to mod my phone now almost bricked
Don't worry you won't brick it
mr_nooby said:
Don't worry you won't brick it
Click to expand...
Click to collapse
Hi Nooby - Successfully unlocked and rooted per the steps in the thread. Now my phone boots up and stops in the CYANOGEMOD boot page, which I had tried to install at the first instance. (Similar case just before loosing my backup)
I shall continue with this stock ROM for ONE V mentioned in the post.
http://forum.xda-developers.com/showthread.php?t=1647052
Observations:
1. I see that CWM or TWRP is one of the requirements for this to work, but I have lost either of these after flashing multiple times...
2. Instructions also say that I should use "Sense kernel Titanium-KISS or Stock kernel".
3. There was an earlier failed attempt to install a CYANOGENMOD 10 but not sure if I'm using a Stock Kernel.
Please advice.
Regards,
Sumanth
R: [Q] Attempt to mod my phone now almost bricked
Ok this is twrp recovery http://forum.xda-developers.com/showthread.php?t=1721749 download it and put it in fastboot folder, then connect the phone in fastboot mode, open cmd, locate your fastboot folder and type fastboot flash recovery nameofrecovery.img, then all you need to do is flash the right kernel and your phone will work normally
---------- Post added at 02:11 PM ---------- Previous post was at 02:06 PM ----------
If now you have cm10, download this kernel http://forum.xda-developers.com/showthread.php?t=1954967 and put it in your fastboot folder, connect your phone in fastboot mode, locate the folder in cmd and type fastboot flash boot nameofkernel.img, when you type that you should see on your phone a loading bar on top right of the screen. When this is done, just reboot your phone and wait some minutes for the rom to boot
---------- Post added at 02:31 PM ---------- Previous post was at 02:11 PM ----------
ok so, now iim on the computer i can write properly u.u now that you have unlocked and rooted again, the first thing you do is flash the twrp recovery via fastboot (i guess you know how to do it if you already unlocked and rooted). once the recovery is installed you can go 2 ways:
1) Use sense rom, http://forum.xda-developers.com/showthread.php?t=1647052 this one is very good, almost like stock rom. In order to do that you follow these steps:
a) download TITANIUM KISS kernel from here http://forum.xda-developers.com/showthread.php?t=1765687
b) put the kernel in fastboot folder and flash it, you need to open cmd, locate your fastboot folder, connect the phone in fastboot mode and type fastboot flash boot nameofkernel.img, on the screen you will see the loading bar (it's very quick), once its done, reboot into recovery.
c)from the recovery, go to advanced->mount usb storage, the computer will open your phone folder, just take the rom and copy it to your sd card, when it's done copying, just do unmount usb storage.
d)from the recovery, do wipe->factory reset, it will delete the old rom on your phone
e)now you are ready to flash the rom, from the recovery goto install and select the rom from the list.
It will take like 5-6 minutes to boot the first time, so dont worry and wait.
2) Use cyanogenmod10, then you need hellboy kernel and the rom of course. steps:
a)download hellboy kernel http://forum.xda-developers.com/showthread.php?t=1954967
b)same as above
c)same as above
d)same as above
e)same as above
this will also take some minutes to boot the first time. Once its booted you wont have play store and stuff (only on cyanogen, sense has it already), so you need to do this:
f)mount usb storage
g)download gapps from here http://www.mediafire.com/?k2cb1trw8s2oio2
h)copy gapps to your sd card
i)reboot into recovery and install them, reboot the phone and you are all done!
mr_nooby said:
Ok this is twrp recovery http://forum.xda-developers.com/showthread.php?t=1721749 download it and put it in fastboot folder, then connect the phone in fastboot mode, open cmd, locate your fastboot folder and type fastboot flash recovery nameofrecovery.img, then all you need to do is flash the right kernel and your phone will work normally
---------- Post added at 02:11 PM ---------- Previous post was at 02:06 PM ----------
If now you have cm10, download this kernel http://forum.xda-developers.com/showthread.php?t=1954967 and put it in your fastboot folder, connect your phone in fastboot mode, locate the folder in cmd and type fastboot flash boot nameofkernel.img, when you type that you should see on your phone a loading bar on top right of the screen. When this is done, just reboot your phone and wait some minutes for the rom to boot
---------- Post added at 02:31 PM ---------- Previous post was at 02:11 PM ----------
ok so, now iim on the computer i can write properly u.u now that you have unlocked and rooted again, the first thing you do is flash the twrp recovery via fastboot (i guess you know how to do it if you already unlocked and rooted). once the recovery is installed you can go 2 ways:
1) Use sense rom, http://forum.xda-developers.com/showthread.php?t=1647052 this one is very good, almost like stock rom. In order to do that you follow these steps:
a) download TITANIUM KISS kernel from here http://forum.xda-developers.com/showthread.php?t=1765687
b) put the kernel in fastboot folder and flash it, you need to open cmd, locate your fastboot folder, connect the phone in fastboot mode and type fastboot flash boot nameofkernel.img, on the screen you will see the loading bar (it's very quick), once its done, reboot into recovery.
c)from the recovery, go to advanced->mount usb storage, the computer will open your phone folder, just take the rom and copy it to your sd card, when it's done copying, just do unmount usb storage.
d)from the recovery, do wipe->factory reset, it will delete the old rom on your phone
e)now you are ready to flash the rom, from the recovery goto install and select the rom from the list.
It will take like 5-6 minutes to boot the first time, so dont worry and wait.
2) Use cyanogenmod10, then you need hellboy kernel and the rom of course. steps:
a)download hellboy kernel http://forum.xda-developers.com/showthread.php?t=1954967
b)same as above
c)same as above
d)same as above
e)same as above
this will also take some minutes to boot the first time. Once its booted you wont have play store and stuff (only on cyanogen, sense has it already), so you need to do this:
f)mount usb storage
g)download gapps from here http://www.mediafire.com/?k2cb1trw8s2oio2
h)copy gapps to your sd card
i)reboot into recovery and install them, reboot the phone and you are all done!
Click to expand...
Click to collapse
Okay,, Im all set to start, Let me go back to working Sense ROM and back it up, before I start playing with CM10 any more.
Will keep you posted....
sumanthkulkarni13 said:
Okay,, Im all set to start, Let me go back to working Sense ROM and back it up, before I start playing with CM10 any more.
Will keep you posted....
Click to expand...
Click to collapse
Hi Nooby - So I dont need to flash with TWRP anymore?
Flashing with Sense kernel Titanium-KISS will suffice before I install the myONEv RC9.0 FX+ ROM?
Please advice...
R: [Q] Attempt to mod my phone now almost bricked
sumanthkulkarni13 said:
Okay,, Im all set to start, Let me go back to working Sense ROM and back it up, before I start playing with CM10 any more.
Will keep you posted....
Click to expand...
Click to collapse
Take your time
mr_nooby said:
Take your time
Click to expand...
Click to collapse
Hi Nooby - So I dont need to flash with TWRP anymore?
Flashing with Sense kernel Titanium-KISS will suffice before I install the myONEv RC9.0 FX+ ROM?
Please advice...
R: [Q] Attempt to mod my phone now almost bricked
sumanthkulkarni13 said:
Hi Nooby - So I dont need to flash with TWRP anymore?
Flashing with Sense kernel Titanium-KISS will suffice before I install the myONEv RC9.0 FX+ ROM?
Please advice...
Click to expand...
Click to collapse
You need to flash twrp first then titanium kiss then factory reset and rom at last
mr_nooby said:
You need to flash twrp first then titanium kiss then factory reset and rom at last
Click to expand...
Click to collapse
Ok, noted...
:thanksforyourpatience:
sumanthkulkarni13 said:
Ok, noted...
:thanksforyourpatience:
Click to expand...
Click to collapse
Nooby - TWRP flash Completed I'm now through TWRP successfully.
I open the link to titanium kiss download, shows me a load of file. understand that OC-UV are a kind of presets, excluding them, which one to download? Probably the recent one?
Download Link: http://www.mediafire.com/?e1chs7tzcsstc
sumanthkulkarni13 said:
Nooby - TWRP flash Completed I'm now through TWRP successfully.
I open the link to titanium kiss download, shows me a load of file. understand that OC-UV are a kind of presets, excluding them, which one to download? Probably the recent one?
Download Link: http://www.mediafire.com/?e1chs7tzcsstc
Click to expand...
Click to collapse
this one http://www.mediafire.com/?362drdxcdpkf2s0 , its the latest
mr_nooby said:
this one http://www.mediafire.com/?362drdxcdpkf2s0 , its the latest
Click to expand...
Click to collapse
Update: The ROM upgrade failed. Copied the 393 mb file into the storage sd and tried install post flashing the kernel.
See an error in the recovery that the installation zip could not be opened. I too see an error while opening from my winrar in PC.
Suspect corrupt donwload file. Started new download , 403 MB ... Update to follow...
sumanthkulkarni13 said:
Update: The ROM upgrade failed. Copied the 393 mb file into the storage sd and tried install post flashing the kernel.
See an error in the recovery that the installation zip could not be opened. I too see an error while opening from my winrar in PC.
Suspect corrupt donwload file. Started new download , 403 MB ... Update to follow...
Click to expand...
Click to collapse
yes it's corrupted, my rc9 rom is 403mb too, you need to download again. Before flashing the rom remember to factory reset, it's always better
SOLVED
So today I decided I would try to install a custom OS/ROM whatever it's called on my HTC One X. I unlocked the bootloader successfully without any problems. Then I went on to root the phone, and this is where it all went wrong. I found a tutorial and followed it to the tiniest detail. I am unable to link to it because I am a new user. When my phone rebooted it went to the "HTC Quietly Brilliant" boot screen. I left it there for 30 minutes and it still didn't move on. What do I do now? I am a super noob at this, and I admit that I am an idiot for not reading more up on it first, it just all seems so super complicated.
Thanks in advance for any help and guidance.
well, pm me the link so i can check the instructions you followed and maybe help you
lukes91 said:
well, pm me the link so i can check the instructions you followed and maybe help you
Click to expand...
Click to collapse
I sent you the link. Thanks for your help.
http://rootmyandroid.org/root-htc-one-x-windows-linux-mac-osx.html
Here is the link, so everybody can help you.
Sent from Somewhere Over The Rainbow...
---------- Post added at 08:17 PM ---------- Previous post was at 07:28 PM ----------
so it hanged just after you run the script to root device, right? after you ran the script in the shell, did it return any error?
lukes91 said:
http://rootmyandroid.org/root-htc-one-x-windows-linux-mac-osx.html
Here is the link, so everybody can help you.
Sent from Somewhere Over The Rainbow...
---------- Post added at 08:17 PM ---------- Previous post was at 07:28 PM ----------
so it hanged just after you run the script to root device, right? after you ran the script in the shell, did it return any error?
Click to expand...
Click to collapse
No, no error, it said "Daemon launched successfully" or something along those lines, my phone turned off and turned back on to the HTC boot screen.
Ok, try this: if the phone is still on keep the power button pressed till it restarts and press also vol down button until you arenin the bootloader; if the device is off, enter bootloader keeping power and vol down button pressed... Now my suggestion is to flash a custom recovery and a custom rom, you will get root privileges and the phone will work again...
Sent from Somewhere Over The Rainbow...
If you are unlocked (you see it in bootloader) you can flash a custom recovery and a custom rom. Look up for your favorite Recovery and flash it.
Download the img File to directory where you have the fastboot files and run this code in command prompt
Code:
fastboot flash recovery name_of_recovery.img
After it you can boot into Bootloader and turn to recovery to get access to phone and SD Card/flash Rom
Did you flash boot.img and erased the cache?
Sent from my HTC One X using Tapatalk 2
Okay, so I successfully flashed TWRP and launched into recovery mode with it. How I get the custom ROM files on my SD card, when I plug my phone into my computer with USB it doesn't show up in the drives section, so I can't open up the SD card.
Another thing is that with the latest version of TWRP for my phone touch doesn't work in the recovery mode. There's a version that does, but it says it doesn't have USB mount or something like that. What's the next step?
You need to mount sd card via recovery, and having the touchscreen working is better as it will be easier to move inside aroma installer... Use philz recovery (if you want a sense rom use 5.15.9, if you want kitkat use the last version), enter the recovery, plug the phone into pc, mount sdcard via recovery, copy the zip over it and follow the instructions to install rom... You can find the instructions in every rom thread op... Ask if you need more help
Sent from Somewhere Over The Rainbow...
Thanks for all the help, I am really starting to get a better understanding of how this actually works. I flashed Philz recovery and went into recovery with it. Then I went to mount and mounted USB Storage. Is this the right thing? It still doesn't show up on my PC
ChaosDuck said:
Thanks for all the help, I am really starting to get a better understanding of how this actually works. I flashed Philz recovery and went into recovery with it. Then I went to mount and mounted USB Storage. Is this the right thing? It still doesn't show up on my PC
Click to expand...
Click to collapse
which version did you flash? sometimes it keeps a couple of minutes before popping up the sdcard in pc, but i ensure you that 5.15.9 usb mout feature works fine... some users (me too) faced some issues with some 6.x.y version (sorry, i don't remember which one as i still use sense rom and so philz 5.15.9)
lukes91 said:
which version did you flash? sometimes it keeps a couple of minutes before popping up the sdcard in pc, but i ensure you that 5.15.9 usb mout feature works fine... some users (me too) faced some issues with some 6.x.y version (sorry, i don't remember which one as i still use sense rom and so philz 5.15.9)
Click to expand...
Click to collapse
I flashed latest version 6.19.3. There are only 3 versions available as far as I can see. They are:
6.19.3
6.12.8
6.07.9
I'll try flashing the two other versions and see what happens.
ChaosDuck said:
I flashed latest version 6.19.3. There are only 3 versions available as far as I can see. They are:
6.19.3
6.12.8
6.07.9
I'll try flashing the two other versions and see what happens.
Click to expand...
Click to collapse
you can find 5.15.9 here
lukes91 said:
you can find 5.15.9 here
Click to expand...
Click to collapse
Thank you! It finally showed up on my PC after a minute. I wanted to try Android 4.4.2 KitKat custom ROM "Carbon" so I want to ask a bit of an off-topic question. What are the GApps thing that I am told to install with the ROM? Why are they so important, what do they do?
ChaosDuck said:
Thank you! It finally showed up on my PC after a minute. I wanted to try Android 4.4.2 KitKat custom ROM "Carbon" so I want to ask a bit of an off-topic question. What are the GApps thing that I am told to install with the ROM? Why are they so important, what do they do?
Click to expand...
Click to collapse
those are google apps (i bet you understood what they are for just reading the full name ) i'm sorry to tell you that philz 5.15.9 can't flash 4.4.2 android, so you should update it... but now you have the zip on sdcard at least... give a look at latest TWRP you can find here in the OP #2 (everyhing should work with this version, but i still didn't test it, so i can't ensure it... i told you to use Philz 5.15.9 because i was 100% sure USB mount works with that recovery, and we needed to put a rom zip on sdcard ) now that you understood how things work, you can choose the recovery you want according to your reqirements have a nice flash man, and feel free to ask me if you need any further help
lukes91 said:
those are google apps (i bet you understood what they are for just reading the full name ) i'm sorry to tell you that philz 5.15.9 can't flash 4.4.2 android, so you should update it... but now you have the zip on sdcard at least... give a look at latest TWRP you can find here in the OP #2 (everyhing should work with this version, but i still didn't test it, so i can't ensure it... i told you to use Philz 5.15.9 because i was 100% sure USB mount works with that recovery, and we needed to put a rom zip on sdcard ) now that you understood how things work, you can choose the recovery you want according to your reqirements have a nice flash man, and feel free to ask me if you need any further help
Click to expand...
Click to collapse
I flashed to the newest Philz recovery again and successfully installed both ROM and GApps. Rebooting phone now, I hope it works... Been on HTC screen for a while though.
ChaosDuck said:
I flashed to the newest Philz recovery again and successfully installed both ROM and GApps. Rebooting phone now, I hope it works... Been on HTC screen for a while though.
Click to expand...
Click to collapse
have you flashed boot.img via fastboot and erased cache via fastboot? the commands are
fastboot flash boot boot.img
fastboot erase cache
remember that first boot can take a while (in some cases up to ten minutes)
lukes91 said:
have you flashed boot.img via fastboot and erased cache via fastboot? the commands are
fastboot flash boot boot.img
fastboot erase cache
remember that first boot can take a while (in some cases up to ten minutes)
Click to expand...
Click to collapse
Ahhh yes, it seems that was the only thing I still needed to do. It's on the Carbon launch screen now. Thanks a bunch man, I literally love you! :laugh:
ChaosDuck said:
Ahhh yes, it seems that was the only thing I still needed to do. It's on the Carbon launch screen now. Thanks a bunch man, I literally love you! :laugh:
Click to expand...
Click to collapse
lol, you're welcome, happy i've helped you
Hello XDA, I am trying to figure out all the steps to get mainly Twrp, Magisk, Viper and, Substratum working correctly without any hiccups. I have been reading the forums all day and trying to get all the files necessary to get all that working and the files to revert to stock if it doesn't work. I know after the Bootloader is unlocked I won't be able to relock it due to no Moto signed boot images. I just don't want to brick it and be here with other problems later.
So far I have done the following
1. Installed ADB and Fastboot + Drivers
2. Done everything to get the code to unlock bootloader
3. Downloaded the files to flash twrp from (https://forum.xda-developers.com/z2-force/development/twrp-3-1-1-0-moto-z2-force-nash-t3687421)
4. Downloaded the latest stock NCX26.122-59-8 to extract the boot img and patch it with Magisk manager from (https://forum.xda-developers.com/z2-force/how-to/to-stock-roms-t3672859)
I think I have everything I need to get it rooted. Here's where I get kinda confused. My phone (XT1789-03 Sprint) is on NCXS26.122-59-8-11 November patch (I think the S is for sprint lol). Would It be okay to flash the Magisk patched boot img from the one I downloaded after I unlock the bootloader? Is Twrp necessary? Is there anything else I need to know about? Thanks in advance.
This forum just died? What the hell noone helps anymore???
Sent from my XT1650 using Tapatalk
TWRP is official now. Download the bootable image from https://twrp.me/motorola/motorolamotoz2force.html and the corresponding zip. Boot to twrp and flash the zip. Flash Magisk and install what you want that needs root. Hint: I'd advise the Viper4Android from Magisk modules in the magisk app.
Uzephi said:
Boot to twrp and flash the zip.
Click to expand...
Click to collapse
What do you mean by this? Fastboot flash TWRP, but then flash what zip?
breakerfall said:
What do you mean by this? Fastboot flash TWRP, but then flash what zip?
Click to expand...
Click to collapse
Do NOT flash the twrp img. "Fastboot boot imagename.img" then flash the twrp zip if you wish to have it as your recovery. You can find both on twrp.me.
This hard.. even with instructions u don't know what to flash where and what it will achieve lol. I just want unlock and root. What's the easiest way to do that on sprint z2 force?
So far I understand u need to install twrp to root with magisk, then use twrp to flash magisk Img, then boot up install magisk apk and u should be rooted. Hope I've got that all right.
But do any of the images on this site also unlock gsm on sprint or TMobile?
Sent from my Moto Z (2) using Tapatalk
Uzephi said:
Do NOT flash the twrp img. "Fastboot boot imagename.img" then flash the twrp zip if you wish to have it as your recovery. You can find both on twrp.me.
Click to expand...
Click to collapse
Not trying to be a **** here, but what exactly do you mean by imagename.img? .. the twrp.img file? and if I don't want TWRP as recovery, then are you saying that it will remain stock if I don't flash the twrp.zip file?
I recently did this on an Essential phone, and the process was: fastboot flash TWRP.img, reboot to TWRP (recovery), flash stock boot.img, then flash magisk.zip.
The last phone I rooted/rommed before that was a Nexus 6, and **** was different then.
breakerfall said:
Not trying to be a **** here, but what exactly do you mean by imagename.img? .. the twrp.img file? and if I don't want TWRP as recovery, then are you saying that it will remain stock if I don't flash the twrp.zip file?
I recently did this on an Essential phone, and the process was: fastboot flash TWRP.img, reboot to TWRP (recovery), flash stock boot.img, then flash magisk.zip.
The last phone I rooted/rommed before that was a Nexus 6, and **** was different then.
Click to expand...
Click to collapse
Yes, just boot it. If you flash, your phone will boot to recovery. Don't flash the TWRP image!!
---------- Post added at 07:25 PM ---------- Previous post was at 07:24 PM ----------
jmagi said:
So far I understand u need to install twrp to root with magisk, then use twrp to flash magisk Img, then boot up install magisk apk and u should be rooted. Hope I've got that all right.
Click to expand...
Click to collapse
You don't flash the TWRP.img file!!! You fastboot boot it. It will temp boot to twrp
Uzephi said:
Yes, just boot it. If you flash, your phone will boot to recovery. Don't flash the TWRP image!
Click to expand...
Click to collapse
Ahhhh!
Fastboot boot TWRP.img, then just flash the magisk.zip in TWRP, right?
Thank you!
Also, @jmagi -- you shouldn't have to manually install the magisk apk. Flashing the magisk.zip in TWRP should result in a Magisk app in your "all apps" next time you boot.
Uzephi said:
Yes, just boot it. If you flash, your phone will boot to recovery. Don't flash the TWRP image!!
---------- Post added at 07:25 PM ---------- Previous post was at 07:24 PM ----------
You don't flash the TWRP.img file!!! You fastboot boot it. It will temp boot to twrp
Click to expand...
Click to collapse
Ohhh thats how it works. So i dont have to install twrp from playstore?
Sent from my Moto Z (2) using Tapatalk
jmagi said:
Ohhh thats how it works. So i dont have to install twrp from playstore?
Click to expand...
Click to collapse
No, you don't
Uzephi said:
No, you don't
Click to expand...
Click to collapse
Ok got it thank you. So fastboot boot twrp, and from twrp flash magisk.img then run magisk after bootup.
I too havent rooted a phone since droid4 which was just doubleclick a bat file lol. All this twrp stuff is new to me. Hope i got it right. Love this phone. Might get another one soon and the qwerty keyboard mod is expected on amazon within a couple months. Only reason i upgraded.
Sent from my Moto Z (2) using Tapatalk
jmagi said:
Ok got it thank you. So fastboot boot twrp, and from twrp flash magisk.img then run magisk after bootup.
I too havent rooted a phone since droid4 which was just doubleclick a bat file lol. All this twrp stuff is new to me. Hope i got it right. Love this phone. Might get another one soon and the qwerty keyboard mod is expected on amazon within a couple months. Only reason i upgraded.
Click to expand...
Click to collapse
Some people had issues and needed to wipe user data after flashing magisk
I have a USA variant, just got the Oreo / EMUI 8.0 update. Everything is stock.
I got my bootloader unlock code from Honor support (via the Google forms the USA Support tweeted out).
All guides for unlocking the bootloader and rooting are for Nugat (7.0).
I am wondering a few things.
1) Has anyone unlocked/rooted Oreo? What steps did you take? What TWRP version are you using (a link is preferable, if you have one)? Did you use the multi-tool, or directly with adb?
2) What root solution did you use? I prefer SU over magisk (for the ability to use xposed), but I heard SU isn't working, only magisk? What version did you use?
3) What backup system do you use when your phone will wipe everything for unlocking the bootloader? Is the Huawei stock "Backup" app that it comes with any good? Any better ones to use?
Basically there's no walkthrough for rooting with the current setup. It'd be awesome if someone wrote one that was basically:
- Backup using W method (backup app, or alternative).
- Unlock bootloader using X method (adb/multi-tool/whatever).
- Root using Y method (TWRP version, SU or magisk, and version numbers)
- Do Z activity (anything else to flash after? xposed? etc.?)
Any thoughts appreciated.
arebelspy said:
I have a USA variant, just got the Oreo / EMUI 8.0 update. Everything is stock.
I got my bootloader unlock code from Honor support (via the Google forms the USA Support tweeted out).
All guides for unlocking the bootloader and rooting are for Nugat (7.0).
I am wondering a few things.
1) Has anyone unlocked/rooted Oreo? What steps did you take? What TWRP version are you using (a link is preferable, if you have one)? Did you use the multi-tool, or directly with adb?
2) What root solution did you use? I prefer SU over magisk (for the ability to use xposed), but I heard SU isn't working, only magisk? What version did you use?
3) What backup system do you use when your phone will wipe everything for unlocking the bootloader? Is the Huawei stock "Backup" app that it comes with any good? Any better ones to use?
Basically there's no walkthrough for rooting with the current setup. It'd be awesome if someone wrote one that was basically:
- Backup using W method (backup app, or alternative).
- Unlock bootloader using X method (adb/multi-tool/whatever).
- Root using Y method (TWRP version, SU or magisk, and version numbers)
- Do Z activity (anything else to flash after? xposed? etc.?)
Any thoughts appreciated.
Click to expand...
Click to collapse
Already covered in this thread.
https://forum.xda-developers.com/honor-7x/development/oreo-twrp-complete-backup-t3764500
mrmazak said:
Already covered in this thread.
https://forum.xda-developers.com/honor-7x/development/oreo-twrp-complete-backup-t3764500
Click to expand...
Click to collapse
That didn't even cover a fraction of the questions I posted. It *maybe* gave the relevant TWRP build, though even that is in question, as one of the most recent posts was "I couldn't get any of the TWRP versions listed in this thread to work fully. " and suggesting something else.
I'm curious if anyone has actually rooted stock 8.0 and what process they used.
arebelspy said:
That didn't even cover a fraction of the questions I posted. It *maybe* gave the relevant TWRP build, though even that is in question, as one of the most recent posts was "I couldn't get any of the TWRP versions listed in this thread to work fully. " and suggesting something else.
I'm curious if anyone has actually rooted stock 8.0 and what process they used.
Click to expand...
Click to collapse
It also said backup partitions when in twrp image mount, and flash magisk 16 for root.
I'm about to try this same exact thing the twrp Oreo thread is a little confusing.
K easy part done bootloader unlocked
Update: installed twrp. Did a few backups. Flashed magisk. Rooted now restoring apps in titanium backup. Adaway finally and going to clean up system. ? Safety net passes. Just a little confused on how to restore if I end up in a boot loop. I'm trying to backup still in twrp. But can't backup data and I don't see boot.img to backup. So yeah I'm scared.
arebelspy said:
That didn't even cover a fraction of the questions I posted. It *maybe* gave the relevant TWRP build, though even that is in question, as one of the most recent posts was "I couldn't get any of the TWRP versions listed in this thread to work fully. " and suggesting something else.
I'm curious if anyone has actually rooted stock 8.0 and what process they used.
Click to expand...
Click to collapse
I had posted that. Use this TWRP. Flash Magisk 16 through TWRP. Enjoy root.
---------- Post added at 11:45 PM ---------- Previous post was at 11:41 PM ----------
allrockedout said:
K easy part done bootloader unlocked
Update: installed twrp. Did a few backups. Flashed magisk. Rooted now restoring apps in titanium backup. Adaway finally and going to clean up system. Safety net passes. Just a little confused on how to restore if I end up in a boot loop. I'm trying to backup still in twrp. But can't backup data and I don't see boot.img to backup. So yeah I'm scared.
Click to expand...
Click to collapse
Flashing kernel.img and system.img from the Oreo update.zip should completely fix a bootloop/brick. I had messed around and bootlooped one of mine, and had to extract those .img files to flash them through fastboot to restore my phone. It will erase the system though so a backup of data through Titanium Backup should be safe.
ryang872 said:
I had posted that. Use this TWRP. Flash Magisk 16 through TWRP. Enjoy root.
---------- Post added at 11:45 PM ---------- Previous post was at 11:41 PM ----------
Flashing kernel.img and system.img from the Oreo update.zip should completely fix a bootloop/brick. I had messed around and bootlooped one of mine, and had to extract those .img files to flash them through fastboot to restore my phone. It will erase the system though so a backup of data through Titanium Backup should be safe.
Click to expand...
Click to collapse
Where can I get system.img and kernel.img can you share it. I'm barely able to reboot keeps rebooting and booting into safe mode. Takes me like 10 minutes to boot to system. can barely get into twrp
allrockedout said:
Where can I get system.img and kernel.img can you share it. I'm barely able to reboot keeps rebooting and booting into safe mode. Takes me like 10 minutes to boot to system. can barely get into twrp
Click to expand...
Click to collapse
Gonna upload them now. I'll edit this post when they're finished. Did you have root before updating to Oreo?
ryang872 said:
Gonna upload them now. I'll edit this post when they're finished. Did you have root before updating to Oreo?
Click to expand...
Click to collapse
No I waited for Oreo before I rooted. I just rebooted again and booted back to system fine. I made a bunch of backups in twrp. But there useless if you don't have booted.img system and data.
allrockedout said:
No I waited for Oreo before I rooted. I just rebooted again and booted back to system fine. I made a bunch of backups in twrp. But there useless if you don't have booted.img system and data.
Click to expand...
Click to collapse
there is no "boot.img" on oreo.
the traditional boot.img has been split into 2 partitions. kernel.img and ramdisk.img.
mrmazak said:
there is no "boot.img" on oreo.
the traditional boot.img has been split into 2 partitions. kernel.img and ramdisk.img.
Click to expand...
Click to collapse
So we need kernel.img ramdisk.img which is boot. Than we need system and data. How do you flash the kernel and ramdisk when in twrp? I'm guessing ramdisk we select recovery ramdisk...and kernel? I got system and data backed up
Flashing kernel.img through "fastboot flash boot kernel.img" absolutely solved my bootloop/brick problem. I am completely new to Huawei phones so if I'm wrong please don't let me spread misinformation.
---------- Post added at 12:43 AM ---------- Previous post was at 12:41 AM ----------
allrockedout said:
So we need kernel.img ramdisk.img which is boot. Than we need system and data. How do you flash the kernel and ramdisk when in twrp? I'm guessing ramdisk we select recovery ramdisk...and kernel? I got system and data backed up
Click to expand...
Click to collapse
You'd need to flash kernel as boot through fastboot(fastboot flash boot kernel.img). TWRP would be ramdisk (fastboot flash recovery_ramdisk *****.img). System and Data backed up through TWRP can be restored through TWRP. At least those worked for me in restoring a bootloop/brick.
---------- Post added at 01:00 AM ---------- Previous post was at 12:43 AM ----------
allrockedout said:
Where can I get system.img and kernel.img can you share it. I'm barely able to reboot keeps rebooting and booting into safe mode. Takes me like 10 minutes to boot to system. can barely get into twrp
Click to expand...
Click to collapse
system.img kernel.img
EDIT: This is for L34 update.zip. I'm going out on a limb by assuming that all honor 7x/mate se versions are the same minus the modem_***.img files. USE AT YOUR OWN RISK.
allrockedout said:
So we need kernel.img ramdisk.img which is boot. Than we need system and data. How do you flash the kernel and ramdisk when in twrp? I'm guessing ramdisk we select recovery ramdisk...and kernel? I got system and data backed up
Click to expand...
Click to collapse
Each partition is it's own. Kernel is kernel, ramdisk is ramdisk, etc.
Recovery_ramdisk is recovery_ramdisk
I preferred to make each partition backup as images. Using adb shell and DD commands.
I know it is not in this thread. But in the "(nougat) twrp complete" thread.
This is linked in I believe post two. Where it describes making backup useing DD.
But the partitions are different in oroe, so need to use different codes as in that thread.
I just posted almost same thing yesterday with the links.
Use this guide to make back up. But substitute the partition layout from the following link
Oreo layout
I might be putting together a script that does the backup form you . And put it into a zip file that you run as a twrp install.
I like that idea. Now I said it out load, yeah I like it
I made first draft of my dd back up install.
It makes new directory on external card "twrp_backup" then makes dd copies of all 56 partitions. It takes a while to complete. , but gives you all the partitions, as they are. I added echo lines to the script to give you stautus of the backup, but the output is not shown on trwp install window. And it appears to be doing all the lines of the script at same time, not one at a time. So even if the echo commands printed output , it would be all at once.
well hold off on that statement of "it works" 30 minutes plus and still running.
No errors in current log, Adb shell ls (backup directory) shows all partitions. But mtp only showing 42 out of 56.
It appears to be hanging somewhere.
Will update when I find it.
update..
It worked. All 56 partitions backed up. took over an hour. then I realized I had internal storage full of junk. Userdate backup took 23GB.
as long as your data is not so full, should be better time.
maybe someone else can help edit it to be better script.
completed recovery log attached. Truncated to remove screen timeout (sleep and wake messages)
mrmazak said:
I made first draft of my dd back up install.
It makes new directory on external card "twrp_backup" then makes dd copies of all 56 partitions. It takes a while to complete. , but gives you all the partitions, as they are. I added echo lines to the script to give you stautus of the backup, but the output is not shown on trwp install window. And it appears to be doing all the lines of the script at same time, not one at a time. So even if the echo commands printed output , it would be all at once.
well hold off on that statement of "it works" 30 minutes plus and still running.
No errors in current log, Adb shell ls (backup directory) shows all partitions. But mtp only showing 42 out of 56.
It appears to be hanging somewhere.
Will update when I find it.
maybe someone else can help edit it to be better script.
Click to expand...
Click to collapse
To return to stock recovery and factory reset what do I restore? Do I need to wipe anything?
allrockedout said:
To return to stock recovery and factory reset what do I restore? Do I need to wipe anything?
Click to expand...
Click to collapse
none of those would be stock recovery. Because in order to have made that backup, you would have been on twrp. So the backup would be also twrp.
need to get the stock oreo recovery from extracting the recovery_ramdisk from update.app. update.app is in the update.zip of your oreo update. The main zip , not the "public" or "hw" one.
once you have the image. select install menu in twrp. change to install image. And install to "recovery ramdisk" also can be done with fastboot.
mrmazak said:
none of those would be stock recovery. Because in order to have made that backup, you would have been on twrp. So the backup would be also twrp.
need to get the stock oreo recovery from extracting the recovery_ramdisk from update.app. update.app is in the update.zip of your oreo update. The main zip , not the "public" or "hw" one.
once you have the image. select install menu in twrp. change to install image. And install to "recovery ramdisk" also can be done with fastboot.
Click to expand...
Click to collapse
K im downloading the update.zip now from firmware finder. I want to do another clean install magisk is force closing now. I'm using the p10 lite twrp.
---------- Post added at 10:13 AM ---------- Previous post was at 09:39 AM ----------
mrmazak said:
none of those would be stock recovery. Because in order to have made that backup, you would have been on twrp. So the backup would be also twrp.
need to get the stock oreo recovery from extracting the recovery_ramdisk from update.app. update.app is in the update.zip of your oreo update. The main zip , not the "public" or "hw" one.
once you have the image. select install menu in twrp. change to install image. And install to "recovery ramdisk" also can be done with fastboot.
Click to expand...
Click to collapse
im having trouble extracting update.app i cant open it on my pc.
---------- Post added at 10:24 AM ---------- Previous post was at 10:13 AM ----------
allrockedout said:
K im downloading the update.zip now from firmware finder. I want to do another clean install magisk is force closing now. I'm using the p10 lite twrp.
---------- Post added at 10:13 AM ---------- Previous post was at 09:39 AM ----------
im having trouble extracting update.app i cant open it on my pc.
Click to expand...
Click to collapse
im downloading huawei update extractor
K I'm going to extract this
Here is stock recovery ramdisk for Honor 7x USA Oreo. https://drive.google.com/file/d/1IylCAhGs304boVkSXnSRrQQ1B5ozHwcX/view?usp=drivesdk
I haven't tested it yet. Going to flash in twrp. Hopefully boot back into stock recovery and factory reset.
I also extracted kernel.img.
I successfully flashed kernel and ramdisk recovery. I rebooted back into stock recovery. Going to try factory reset now.
?
Wouldnt boot up.
Flashed kernel.img through twrp didnt work had to flash through adb and it seems to be booting now.
HELL YEAH!! ok booted up to system now.