[SOLVED] Stuck at Boot Screen After Installing CWM - LG Optimus 4X HD

Hi
My Devices :
- LG P880
- v20A
- using bootloader ESA-XXX.
I am newbie with this android stuff, and Yesterday I was trying to root this device. The step was like this :
http://forum.xda-developers.com/showthread.php?t=2180688
Click to expand...
Click to collapse
It was succeed, after 2 times restarting my devices (this step to make sure nothing bad happened to my device), I can use 'su root' command at adnroid terminal emulator.
And then I continue to unlock my device bootloader with this step :
(It's actually written on Bahasa Language - Indonesia, so I'll translate it to here..)
1. Download Terminal Emulator for android.
2. Type "su root" (without quotes)
ENTER
And type cat /sys/firmware/fuse/odm_reserved >/data/local/tmp/odm_reserved (beware of space)
ENTER
3. Download and use Root Explorer to find "odm_reserved" file which is should be under "/data/local/tmp/" directory.
4. After that, click on it and Open in text editor.
5. Replace existing number inside into : 0x000000000000000000000000000000000000000000000000 00000040000000c8 and Save the changes.
6. Go Back to terminal Emulator and type : echo /data/local/tmp/odm_reserved >/sys/firmware/fuse/odm_reserved
ENTER
7. Go to your settings > Developer Option > Debugging Mode (Checklist it)
8. Plug your android devices to the PC using USB cable and choose Charging Mode.
9. type adb devices to check wheter the devices is detected or not.
10. type adb reboot bootloader (after this your devices will stuck at LG logo screen)
11. type fastboot oem unlock.
12. wait for a few second and your android devices will showing a letter "now ready" at the top corner of the screen.
13. Plug out your usb cable from the devices and take out the phone battery.
14. take in the battery again and power on your devices.
15. After that, type 3845#*880# and check the bootloader unlock status. if it was unlock then you're successful unlocking your bootloader.
I dont know wheter this is the good step or not to unlock the boot loader though it does can unlock my bootloader.
Click to expand...
Click to collapse
It was succeed, after 2 times restarting my devices (this step to make sure nothing bad happened to my device), I can see bootloader unlock status = unlock when I dial 3845#*880#.
And after that I'm trying to Install CWM , the step was i like this :
1. Download LG-Optimus-4XHD-Recovery apk
2. Install LG-Optimus-4XHD-Recovery apk in your 4x HD.
3. Dont open, instead reboot your LG devices.
4. After that Open LG 4X Recovery from Menu.
5. Choose Install 4X Recovery, and choose " Grant " in popup menu for Superuser
6. If it was succeed there will be a letter mention that "Instalation Succes"
Click to expand...
Click to collapse
This is where the problem begin, after Installing this CWM I'm trying to restart my devices 2 times (this step to make sure nothing bad happened to my device),
At the first try , I'm going to LG Boot Recovery Mode by pressing "Power Button" + "Vol Down (-)" to make sure there will be CWM mode there. But I didnt find anything it's still the same as before installing CWM. Then Choosing Reboot Your devices.
At the second try, I'm just want to logged back to my devices (Just press power button), And it end up stucking at LG Logo screen.
I am very panicked and desperately want my devices back to normal.
I blindly start another tutorial for installing CWM, instead of resolved the first problem. I'm following this step :
Download recovery image from XDA Developer Forum Download
On command Prompt do :
adb reboot oem-unlock ENTER
fastboot flash recovery recovery.img ENTER
fastboot reboot ENTER
http://tedsign.wordpress.com/2013/03/08/o4x-hd-unlock-root-gboot-menu/
Click to expand...
Click to collapse
And now when I'm press Power button + Vol Down, there's no LG Recovery Menu as previous try, There are just Gboot Menu there.
Gboot menu :
1) Clockworkmod Touch 6.0.3.0
2) Team Win Recovery Project
3) Aroma File Manager
4) Fastboot
5) Reboot
Click to expand...
Click to collapse
I can access CWM Menu from there, but i dont know what to do afterwards.
The Current status of My Phone was :
1. I can turn on my phone but stuck at LG Logo Screen
2. Press Power Button + Vol Down / Vol Up = Gboot Menu.
3. For using adb command and fastboot command are still possible, device is still detected on my PC when i'm running adb devices.
4. I have try to wipe cache partition and wipe data / factory reset, still have the same problem.
5. I'm sure now, there's no problem while I was Rooting, and Unlocking Bootloader. since below output explain it clearly.
C:\Android\sdk\platform-tools>fastboot getvar all
(bootloader) version-bootloader: 1.0
(bootloader) version-baseband: 2.0
(bootloader) version: 0.4
(bootloader) serialno: 015d43ecc348100d
(bootloader) mid: 001
(bootloader) product: X3
(bootloader) secure: no
(bootloader) unlocked: yes
(bootloader) partition-size:bootloader:
(bootloader) partition-type:bootloader:
(bootloader) partition-size:recovery: 0x0000000000a00000
(bootloader) partition-type:recovery: emmc
(bootloader) partition-size:boot: 0x0000000000a00000
(bootloader) partition-type:boot: emmc
(bootloader) partition-size:system:
(bootloader) partition-type:system:
(bootloader) partition-size:cache:
(bootloader) partition-type:cache:
(bootloader) partition-size:userdata:
(bootloader) partition-type:userdata:
all:
finished. total time: 0.269s
Click to expand...
Click to collapse
UPDATE :
The Issue was resolved,
Caused by : Installing a wrong version of CWM (Supposed to be JB , Instead I'm Installing ICS 2nd-init).
Resolved by :
1. Go ahead and flash custom roms, you have working recoveries. --> I still dont know How to do this one at the current. hha
2. Reflash stock from KDZ. --> I'm picking this one by following a few part of this thread : URL Inside Forum

Hi, may i suggest u to flash V20BLGP880 europe open firmware through kdz files, and then use some of tools to for rooting, CWM, etc...

tabator said:
Hi, may i suggest u to flash V20BLGP880 europe open firmware through kdz files, and then use some of tools to for rooting, CWM, etc...
Click to expand...
Click to collapse
Hello sir,
I actually want to do that before starting to do something else with my device, but I dont know what is the side effect if I upgrade firmware to Europe version. Since I dont know exactly what was the default firmware (EUR or ESA) of my phone (i have 2 times go to service center coz some issue after accidentally drop my phone, and they said they're flashing it to a new firmware.)
Anyway, I dont know how to flash it now, since The device is not detected at LG PC Suite, it just detected on adb / fastboot tools when i typed adb devices or fastboot devices.
Probably because the last time i turn off the device, i didn't turn off debugging mode and set charging mode as default mode ??
So, what do you think I have to do now sir ? Is it possible flashing into europe version by adb / fastboot tools ???
And how about the side effect ?
Click to expand...
Click to collapse
UPDATE :
I can access S/W Upgrade state on my phone by pressing Vol down button before plug in USB Cable to my phone.
And Now, I'm trying to flash it into ESAXXX firmware, If it's work and I can access my phone again, I'll try to flash it again into EURXXX firmware.
Please kindly advice with the side effect sir.

Everything works perfectly, but you have a broken stock rom. You can't fix it easily, your data will be lost. You shouldn't have installed ICS 2nd-init CWM. It isn't compatible with JB. Why did you do it anyway? You already followed the right rooting tutorial. Also, I suggest you install a real recovery instead of Gbootmenu.
You have two options now: go ahead and flash custom roms, you have working recoveries or reflash stock from KDZ as it was already suggested. The latter will erase Gbootmenu and you'll have to reinstall custom recovery.

Adam77Root said:
Everything works perfectly, but you have a broken stock rom. You can't fix it easily, your data will be lost. You shouldn't have installed ICS 2nd-init CWM. It isn't compatible with JB. Why did you do it anyway? You already followed the right rooting tutorial. Also, I suggest you install a real recovery instead of Gbootmenu.
You have two options now: go ahead and flash custom roms, you have working recoveries or reflash stock from KDZ as it was already suggested. The latter will erase Gbootmenu and you'll have to reinstall custom recovery.
Click to expand...
Click to collapse
Hi Adam,
Thanks in advance for your reply. I am so glad to know that someone like you replying in my newbie thread. :fingers-crossed:
You're right after reflash stock from KDZ everything works fine except one, ALL OF MY DATA WAS LOST though I'm not regrets anything.
Well No Pain , No Gain.
Oh ya, about the CWM.. how did you check it , the version of the application should be installed ?
Dont tell me, you're open it on somekind of discburner apps ? and seeing the note inside ?
Because, I dont have any of it, hha. New PC problem, dont have enough apps that I actually needed.
And could You please kindly tell me what if I installing a EURXXX firmware on my phone that probably using ESAXXX firmware ?
I was searching many thread since yesterday , and I find out that many of tutorial was beginning from EURXXX firmware and many state that other type of firmware is not compatible for unlocking bootloader by official way..
p.s. :
- I have prepared for the worst case scenario , so I have backed up all my data to my PC, so that I Just simply restore it back to the phone. :laugh:
- Now I wanna try to install EURXXX firmware as my new Firmware, and then start rooting, unlock bootloader, and installing CWM once more. haha, this is Freaking Fun !!

Forget eur xxx and esa xxx, its almost identical, you can flash back and forth without issues.
You need latest cwm or twrp. You can find latest packages here in threads on our subforum (check the dates of threads so you dont flash ancient version) .
You will probably get .img file. You can then flash that file from adb to proper partition, or from fastboot, or via terminal emulator.
You have unlocked bootloader and stock rom, now only thing you need to do is root it and install latest custom recovery
Good luck

Flying_Bear said:
Forget eur xxx and esa xxx, its almost identical, you can flash back and forth without issues.
You need latest cwm or twrp. You can find latest packages here in threads on our subforum (check the dates of threads so you dont flash ancient version) .
You will probably get .img file. You can then flash that file from adb to proper partition, or from fastboot, or via terminal emulator.
You have unlocked bootloader and stock rom, now only thing you need to do is root it and install latest custom recovery
Good luck
Click to expand...
Click to collapse
Wow You're so amazing,
So strike to the point, I got what You mean, I'll do it right away, right here and right now
First, because I have reinstall it using KDZ updater, I'll start to root my devices once more.
After that, Unlock the boot loader.
Then, and install CWM (newer version this time that support JB).
Then I'm ready to go with ProBam RoM, since what i've heard from the other that ProBam is one of the best P880 Custom ROM that ever exist.

Hiderisha said:
After that, Unlock the boot loader.
Click to expand...
Click to collapse
It's already unlocked, don't have to do it again.

Adam77Root said:
It's already unlocked, don't have to do it again.
Click to expand...
Click to collapse
Oh ya, You're right it's unlocked already. Oh ya, I've done rooting my phone.
is there any Recommended Custom ROM from You ? I actually need something fast, a good (just good is enough) taste in design, and it still have an active team that willingly to support a newbie like me,. hhe.
UPDATE :
Found One, I'll update later. thanks sir.
VANIR - [4.4.2] [OFFICIAL] Vanir Nightlies | Faster than the average ROM

Related

[Q] cannot root: hboot 2.0 ver. 2.3.5

Hello community!!
I'm new to the HTC/Incredible S world, I have a rooted/cfw LG P500 and now I bought this great phone. Problem is that I updated it to the last official version before this try.
So I went to the official site and I followed successfully the HTC site steps to unlock the bootloader (golden card?) and now I'm trying to follow the guide
http://forum.xda-developers.com/showthread.php?t=1385084
But I have some problems.
First of all clearly the revolutionary program doesn't work (HBOOT 2.0).
I booted to the bootloader (power+volume down) and I had the error "main version is older" then I copied on the SD card the file for the recovery PG32IMG_Vivo_Gingerbread_S_KT_KR_2.32.1010.1_Radio_20.2810.30.085AU_3805.06.03.16_M_release_199684_signed.zip, I renamed it PG32IMG.zip, it loads it but when I press recovery it gives me an allert icon (the phone with a red triangle + red "!" ) and it does nothing.
I installed the SuperUser app like it is written in the post but when I type SU under the adb shell and it gives me "permission denied".
What could I do?
Is it even possible to downgrade it to a rootable/customable version?
If someone write a guide for rooting with the last update installed from original s-on step to step will be very util and a lot of people will be gratefull!
Inviato dal mio HTC Desire usando Tapatalk
Bootloader unlock and goldcard are 2 seperate things. Bootloader unlock is required at the moment for flashing recovery and superuser for rooting the phone.
Gold card is required for flashing another carriers rom.
Read this thread about recovery http://forum.xda-developers.com/showthread.php?t=1104765
After that you can enter recovery mode and flash a superuser zip file http://goo-inside.me/superuser/
My guide should be able to downgrade your rom and get s-off after that (if after researching you decide you require it) http://forum.xda-developers.com/showthread.php?t=1373697
Hope this helps
Thanks, I'm going to try this as soon as I can, I'll write back the results
edit:
It seems like I can't even pass the first step, the 4EXT Recovery Updater doesn't work, it crushes at EVERY menu item....
(I waited 5+minutes and I had the internet connection on).
I checked and the boot loader says "unlocked". Notice that my device is, of course, NOT rooted (at least for what I know for "rooted", it is still unlocked by the HTC official method)....
you need root to use the recovery updater.
download the recovery image and flash it in fastboot
Thanks it is finally working!!
I totally forgot that you flash with fastboot via windows console, not within the bootloader....
I hope to finally install something tonight, I'll post some news later.
Thanks again!
edit:
Nothing..I went successfully to the RUU downgrade part but that doesn't work, I tried from the normal system and it blocked because of the hboot version, then I tried within the phone fastboot phase and it blocked again, giving the security failed error...
sariel82 said:
Thanks it is finally working!!
I totally forgot that you flash with fastboot via windows console, not within the bootloader....
I hope to finally install something tonight, I'll post some news later.
Thanks again!
edit:
Nothing..I went successfully to the RUU downgrade part but that doesn't work, I tried from the normal system and it blocked because of the hboot version, then I tried within the phone fastboot phase and it blocked again, giving the security failed error...
Click to expand...
Click to collapse
Could I get a couple of screenshots to help with debugging please?
Sure, ASAP
Hi!
I have successfully rooted my phone on the last update 2.3.5
The steps I made:
1. Going to htcdev and unlocked the bootloader
2. Flashed a recovery image from clockworkmod.com
3. Installed SuperUser from clockworkmod.com using recovery
I collected the information from a few threads here and had no problem.
I didn't tested custom roms, all I wanted was to root and worked just fine.
I can detail my steps if someone need it.
edit:
It seems I cannot post the images, too noob ....
Anyway:
I had a photo of the phone in the custom recovery mode, another of the phone with the 4EXT recovery successfully flashing his recovery, another of the script of your post running with this message:
(no errors)
Do you have an unlocked bootloader from htcdev.com (I have)
y OR n:y
<waiting for device>
...
(bootloader) Lock successfully..
FAILED (status read failed (Too many links))
finished. total time: 0.239s
Note: run the RUU in fastboot mode
If all steps etc etc
Now if I try to run RUU NOT in fastboot mode I receive the message:
The Utility of ROM udating can't update the Android device.
Take a valid ROM updating Utility and try again
(I'm translating from Italian)
If I try to go to fastboot after running the script I need to go to hboot using volume down+power since you can go to fastboot only through bootloader and HIS first step is to check the bootloader file (am I right?)
so, since it is again LOCKED the custom boot file I was using PG32IMG_Vivo_Gingerbread_S_KT_KR_2.32.1010.1_Radio_20.2810.30.085AU_3805.06.03.16_M_release_199684_signed
doesn't work anymore and the old one neither so I have to unlock it again and it goes the loop......
So this is the situation, I hope I will be able to post some image soon...
sergiopat said:
Hi!
I have successfully rooted my phone on the last update 2.3.5
The steps I made:
1. Going to htcdev and unlocked the bootloader
2. Flashed a recovery image from clockworkmod.com
3. Installed SuperUser from clockworkmod.com using recovery
I collected the information from a few threads here and had no problem.
I didn't tested custom roms, all I wanted was to root and worked just fine.
I can detail my steps if someone need it.
Click to expand...
Click to collapse
Thanks, I did too the 3 steps, rooting my device successfully...
But I think I need to do a total S-OFF (deeper than the HTC one) to use the CFWs.
It should be like: follow the above 3 steps and:
4. use some script/console command to prepair the device
5. DOWNGRADE it to 2.2 or something
6. use the "revolutionary" Utility to S-OFF permanently
7. flash the ROMS from the recovery
I cannot pass the 4th step.
sariel82 said:
Thanks, I did too the 3 steps, rooting my device successfully...
But I think I need to do a total S-OFF (deeper than the HTC one) to use the CFWs.
It should be like: follow the above 3 steps and:
4. use some script/console command to prepair the device
5. DOWNGRADE it to 2.2 or something
6. use the "revolutionary" Utility to S-OFF permanently
7. flash the ROMS from the recovery
I cannot pass the 4th step.
Click to expand...
Click to collapse
OK, I thought you only wanted to root.
Thank you anyway
You don't need s-off for CFW's, just the unlocked bootloader. I cannot help you any further until I see screenshots as I'm getting lost in your descriptions. Ctrl prtscrn, paste in paint.
Well, I have the screenshots but I can't post web links in the forum (new user).
Let's see if I can flash some cfw in the mean time
Now I can post
The phone goes successfully in recovery mode:
http://imageshack.us/photo/my-images/406/img20111215194852.jpg/
Screen of the script with the error:
http://imageshack.us/photo/my-images/41/cmdok.png/
The screen of the phone while RUU got the error:
http://imageshack.us/photo/my-images/440/img20111215195909.jpg/
The RUU screen (translation in the posts above):
http://imageshack.us/photo/my-images/703/catturaruunotok.png/
Btw I tried to flash cyanogenmod, revHD e runnydroid following the instructions (wipe all, super wipe etc), every step was successfull, even the flash part (inistall zip from sdcard), but after the reboot it goes in boot loop (standard white HTC loading screen forever)
sariel82 said:
Now I can post
The phone goes successfully in recovery mode:
http://imageshack.us/photo/my-images/406/img20111215194852.jpg/
Screen of the script with the error:
http://imageshack.us/photo/my-images/41/cmdok.png/
The screen of the phone while RUU got the error:
http://imageshack.us/photo/my-images/440/img20111215195909.jpg/
The RUU screen (translation in the posts above):
http://imageshack.us/photo/my-images/703/catturaruunotok.png/
Btw I tried to flash cyanogenmod, revHD e runnydroid following the instructions (wipe all, super wipe etc), every step was successfull, even the flash part (inistall zip from sdcard), but after the reboot it goes in boot loop (standard white HTC loading screen forever)
Click to expand...
Click to collapse
After you flash a custom ROM in recovery, you have one last step to do to prevent the hang. You extract the boot.img file from the ROM's zip file and then manually flash it in FASTBOOT mode on the phone:
FASTBOOT flash boot [path to boot.img]
That totally solved the problem
Thank you ALL!!!
sariel82 said:
That totally solved the problem
Thank you ALL!!!
Click to expand...
Click to collapse
Hi,
Please list the methods you use from the start. I have also 2.3.5 and hboot 2.0. cant manage to downgrade, i always getting an error.
Thanks
htc developer site -> unlock bootloader
find and download this file:
PG32IMG_Vivo_Gingerbread_S_KT_KR_2.32.1010.1_Radio _20.2810.30.085AU_3805.06.03.16_M_release_199684_s igned.zip
copy it on the sd card and renamto to pg32IMG.zip
reboot in power+volume down mode
go in fastboot
from your pc use fastboot to flash this recovery:
http://forum.xda-developers.com/showthread.php?t=1104765
copy to sd card the superuser file:
http://goo-inside.me/superuser/
enter recovery mode and flash the zip
Then if u want to flash a custom rom you dont need to downgrade, just copy the zip into the sd card, flash it, copy on the sd card the boot.img you find inside the rom zip file and reboot in fastboot (power+volume down)
FASTBOOT flash boot [path to boot.img]
and reboot and the job is done!

[How to]Root - Install cwm/twrp - Install a custom kernel - Install a custom rom

A complete guide on rooting your HTC Desire 500, both single sim and dual sim.
Sorry for my English!
Before you begin, you might want to check for updates on your phone, because it is harder to install an update after your phone is unlocked.
If you see any english mistakes, please pm me about them. English is not my native tongue.
The steps:
1. Unlock the bootloader via htcdev.com
2. Flash a custom recovery, ClockWorkMod or TeamWinRecoveryProject
3. Flash SuperSU
4. Flash a kernel without system write protection
Alternatively:
1. Flash a custom rom
2. Simunlock your device
3. Install Busybox
4. Install an ota upgrade
Everything is at your own risk!
[How to]Unlock the bootloader
On HTC phones, by default, you can not replace a partition on the phone from your computer. To enable this, your phone has to be Unlocked.
There is a very good video guide about this, made by @Fliwatt: http://www.youtube.com/watch?v=yWLK5XhsVAE
Unlocking your bootloader will wipe all your data!
Unlocking your bootloader may void your warranty!
It is, however, necessary to root your phone. Currently, there is no other way to unlock the phone or install a custom recovery.
To start, go to http://www.htcdev.com
Then in the top bar, click register. Create an account and fill in all your data. You will get an e-mail from HTC and your account will be activated.
Once you are logged in on the site, you need to go to "Unlock bootloader", and then click get started. On the right, you see a dropdown box. Click it, and select "All Other Supported Models", then click "Begin Unlock Bootloader"
Next install fastboot. I'm not gonna hold your hand here, there are 400+ tutorials on installing fastboot, for every OS you can think of. Search for one and install it.
And, if you are on windows, then install HTC sync as well, pretty basic, even a Windows user should be able to do it
Next, on your phone, got to Settings->Battery and scroll down. There, disable the checkbox "fast boot" (not to confuse with fastboot, that's something entirely different).
Once you have done that, shut down your phone, then hold the volume down button, and the power button. This is commonly referred to as "booting into fastboot".
To move around in the fastboot menu, you need the volume keys to go up and down, and the power keys to select an option.
If the options you can choose from are:
FASTBOOT
RECOVERY
FACTORY RESET
SIMLOCK
SHOW BARCODE
Click to expand...
Click to collapse
then you need to navigate to fastboot, and then hit the powerkey.
The option you can choose from must be:
BOOTLOADER
REBOOT
REBOOT BOOTLOADER
POWER DOWN
Click to expand...
Click to collapse
Then, on your computer, type:
Code:
fastboot oem get_identifier_token
Your output will be something like:
Code:
...
(bootloader)
(bootloader) < Please cut following message >
(bootloader) <<<< Identifier Token Start >>>>
(bootloader) 2ADE05B9466F0DD398559C7B5A6D636F
(bootloader) 70E8FB65B9523AE73B8A22DDCD0092A2
(bootloader) D52C617B971383374332044C0D04C492
(bootloader) 707A43C4AAEC77A36DDE3060F7665574
(bootloader) 22453BF1F9FDCA6E2118385B96A3C88B
(bootloader) 4FE90D89BC086A9E9B0EA2086456D658
(bootloader) 5831DBA6ADF940D3B0DD0618B745DD18
(bootloader) AE37DC63341E4CBC66A8ACCB494E6AEE
(bootloader) 5982C1432A5C5535836953243D6B8353
(bootloader) 648EFDFD3B5F0C6D47987A0F47BC1A9F
(bootloader) 0ABF9438C059A604832ABB87696CFDD7
(bootloader) 1847D317701DC2C140294FD486109872
(bootloader) 559EE22C73E4F2F9B00AF03FB12A9F9D
(bootloader) 61DFDDD3FAB40CD8537F300078566632
(bootloader) 2142B7EC56E99DD8C4DFB1B819F9F449
(bootloader) 9B2DB0EA3E2FB18C293BD246012909ED
(bootloader) <<<<< Identifier Token End >>>>>
OKAY [ 0.076s]
finished. total time: 0.076s
Don't use this code, it won't work. Do it yourself!
Troubleshoot:
Problem: I get
Code:
...
FAILED (status malformed (1 bytes))
finished. total time: 0.000s
Solution: Select the fastboot option with the powerkey.
Copy the relevant part to the HTC dev site, and submit your token. You will (should) get an e-mail that contains your unlock code. Save the attachment (Unlock_code.bin) to a location where you can find it.
Next type:
Code:
fastboot flash unlocktoken Unlock_code.bin
If you are in the same location as your unlock code, of course.
On your phone, you will now see a screen where you have to confirm that you want to unlock your phone, and that it will wipe all your data, and may void your warranty. Use the volume buttons and the power button to choose what you want.
If you selected that you want to unlock your device, then:
Congrats, your bootloader is unlocked
But hold it, before you reboot your phone to confirm that you will have to re-type your very long wifi password, you might as well continue to installing a custom recovery:
[How to]Install a custom recovery
This is actually quite easy, if you just unlocked your bootloader. The only trick will be selecting the right recovery to flash
Now, there are two three things you need to think about when choosing a recovery:
1. Do you have hboot 1.03 or a lower version
2. Do you want ClockWorkMod or TeamWinRecoveryProject (both are usually abbreviated as you might expect)
3. Do you have dual sim or single sim
1. To check your hboot version, boot your phone into fastboot mode (you got this, check the post up there ^). The third line will be something like:
HBOOT-1.02.0001 or HBOOT-1.01.0001 or HBOOT-1.03.0001. As you might have guessed, this is your hboot
2. cwm or twrp, that's the question.
Cwm is a no touch recovery. That means you have to use the powerbuttons/volumebuttons to move around which is quite annoying. Twrp however, is a touch recovery, much easier to use.
But with twrp, adb doesn't work, which can sometimes be useful if you are a developer. (twrp is not (yet) available for dual sim).
So, it's your choice: twrp or cwm. If you have single sim, you can pick both, if you have dual sim, you can only get cwm.
Downloads:
hboot 1.02 and below:
Both sims:
ClockWorkMod
Single sim:
TeamWinRecoveryProject
Click to expand...
Click to collapse
hboot 1.03:
Both sims:
ClockWorkMod
Single sim:
TeamWinRecoveryProject
Click to expand...
Click to collapse
Credits for cwm go to @SPSPaWn and credits for the fix of the dancing screen go to @galaxyfreak
(credits for twrp go to me)
Now, assuming your phone is still in fastboot:
Code:
fastboot flash recovery recovery.img
Or recovery_cwm.img etc. I assume you get it.
Wait for it to finish, and then hit BOOTLOADER, and then click one down to RECOVERY, and select it. Your phone should now boot into recovery.
Congrats, you now have a custom recovery!
Now, before jumping with joy because you did it, there is one thing you should do before you do anything else!
Make. A. Backup.
Not optional. You need to have a sdcard in your phone. On twrp, touch backup and follow the onscreen instructions (backup all the partitions that are already checked)
On cwm, you will have to use the volume buttons to scroll down to backup and restore, then select backup, and it should begin immediately.
It can take a very long time, depending on your sdcard.
-very long time-
Now, you are ready to actually root your phone.
[How to]Root your HTC Desire 500
Once you have your recovery installed, you can actually root your phone.
Reboot your phone, then download SuperSU, and put it on your sdcard. Then boot into your new recovery another time. Select either "Install" or "Install zip", then install zip from sdcard, and select the SuperSU.zip you downloaded earlier.
Congrats! You now have (partial) root!
partial??
Click to expand...
Click to collapse
Yes, you are not done yet. As an extra layer of security, htc prevents you from editing the system partition, with something called system write protection. To get it away, you need to install a custom kernel.
First, check your software version. You can do this by going to "Settings"->"About Phone"->"Software version".
Mine, for example, is: 1.32.401.3
Now, if your software version starts with 1.20 or something lower, then you must install the Kangbang kernel, else, install the Ultimate kernel.
To install the Kangbang kernel, go here. But the installation instructions are slightly different, basically the only thing you have to do is mount /system, and then flash the zip. Don't forget to mount system!
For installation instruction on flashing the Ultimate Kernel, go here.
Remember, you already flashed a superuser app.
Troubleshoot:
Problem: After installing the kernel I cannot make phone calls
Solution: Install the right kernel, according to your software version
Once you have one of the kernels installed, then your phone is fully rooted!
wip install rom
[How to]Install an ota upgrade
After unlocking your bootloader, the installation of ota (over the air) upgrades fails, because it requires a locked bootloader.
Steps to install the upgrade anyway:
Part 1:
First, you need to download the ota. Next, pull the zip to your computer, it should be located in your downloads folder.
Next, open the zip and remove the file firmware.zip, you will need it later. Next, open in the zip the file META-INF/com/google/android/updater-script. There, you need to remove this part:
Code:
ifelse( is_ship_bootloader(getprop("ro.bootloader")) == "t" ,
assert(check_cid(getprop("ro.cid"), "00000000" , "11111111" ,
"22222222" , "33333333" , "44444444" , "55555555" , "66666666" ,
"77777777" , "88888888" , "99999999" , "HTC__001" , "HTC__E11" ,
"HTC__102" , "HTC__032" , "HTC__Y13" , "HTC__M27" , "HTC__A48" ,
"HTC__J15" , "HTC__203" , "HTC__304" , "HTC__N34" , "HTC__405") == "t");
);
ifelse( is_ship_bootloader(getprop("ro.bootloader")) == "t" ,
assert(check_mid("full", "0P3Z11200") == "t");,
assert(check_mid("simple", "0P3Z11200") == "t");
);
assert(getprop("ro.product.device") == "z4u" ||
getprop("ro.build.product") == "z4u");
What you find might slightly different. For example, z4u might be z4dug, if you are on dual sim. But it usually starts at the second line of the file, so it should be to hard to find.
Then, restore the first nandroid back-up you made, because the ota checks if the files on your system partition are modified.
Next, you push the zip back to the sdcard again, and then flash it via your custom recovery.
Part 2:
While you are still in your recovery, make a backup of only your data partition! Don't make a backup of your complete system!
Now, to flash the firmware.zip, you need to lock your bootloader. Because you will have to re-unlock your bootloader after you are done, you will lose all your data again. If you are S-off, then you don't have to relock your bootloader, you can skip this.
How to re-lock your bootloader:
1. In recovery, select: Reboot Bootloader
2. Connect your phone to fastboot
3. Type: fastboot oem lock
That was easy! Your phone, however, might not boot. Don't worry about that, we will fix that later.
Now, type:
Code:
fastboot oem rebootRUU
fastboot flash zip firmware.zip
This can take a short while.
Next:
Code:
fastboot reboot
You now have flashed the firmware.zip
Congrats, you have the ota installed.
It might be a good idea to keep your modified ota around, you might need it later on.
Now, you can unlock your bootloader again (htc dev, second post), check your hboot version again, install a custom recovery again (make a new backup. Don't throw away your old backup), root your phone again etc.
You can now install The Ultimate Kernel!
Credits go to @ricardo-nl, this post http://forum.xda-developers.com/showthread.php?t=2597314&page=45
To do: Make a cool bash/awk script that removes all the assert(), so the updating won't fail if you have deleted some system files.
[How to]Simunlock
To sim unlock your device, you need to have CWM on your device and you need to have adb installed.
It doesn't work with twrp, because adb doesn't work.
Boot your device into cwm. Connect your device to your computer (with the cable), and connect with:
Code:
adb shell
then, type:
Code:
strings -n 8 /dev/block/mmcblk0p7
The output will be a lot of rubbish, but you need to
look for a 8 digit combination that MAKES SENSE for a CODE.
Click to expand...
Click to collapse
And In the case of ATRAC3, it was K65151479, so his unlock code was 65151479. I haven't tested this myself, because my device was never sim locked, but it should work.
Full credits for this go to @ATRAC3, this post.
[How to]Install busybox and Xposed
Requires: full root (custom kernel!)
Install busybox:
Easy: Install this app. Then open it, and click install.
Told you it was easy!
Xposed framework:
Well, this is basically outlined here: http://forum.xda-developers.com/xposed/xposed-installer-versions-changelog-t2714053. I can't bring it easier. But remember it requires full root!
[How to]Get a logcat and a dmesg
Well, everything is done and working. You have rooted your phone, installed a custom kernel and a custom rom, and everything is working fine.
But, then, at once, you get: "unfortunately camera has stopped" and your camera app refuses to start. And now, when you tell the dev that the camera is not working, he replies:
logcat. dmesg.
Click to expand...
Click to collapse
So, I'll explain what they both are:
dmesg - This is basically a print of /devlog/kernel_log. All the messages from the kernel get stored there. If you think a problem is kernel related, you should at least include this.
logcat - This is a print of /devlog/system_log. All other messages get stored there. If you think something is related to a rom, you should at least include it.
It requires you to have adb installed.
How to get one:
1. Enable adb on your phone. Go to Settings->Developer Options->enable it->enable USB-debugging
2. Next, connect your phone with a cable, and type (on the computer cmdline): adb devices
You should see something like: SH3BRWE00258 device. This means your phone is succesfully connected.
If you want a logcat, now type: adb logcat > logcat
This stores all the logs in logcat. You have to let this run for a few seconds, and then hit ctrl+c. Then, there should be a file called logcat, containing, well, your logcat.
If you want a dmesg, type: adb shell
Then, you need to check, whether the text you see ends with a #. If it doesn't, type: su, and then unlock your phone. You might see a warning, asking for superuser access, grant it.
If you are sure it ends with #, then type: dmesg > storage/sdcard0/dmesg
The dmesg is then stored on your sdcard (called dmesg), pull it to your computer and post it on the forums.
Tips for further reading
Some places where you might want to look for more info:
1. http://xda-university.com/ is a good start. Read the "As a user", and perhaps the "As a developer" as well.
2. http://forum.xda-developers.com/showthread.php?t=1877040 a good guide on github
3. http://forum.xda-developers.com/showthread.php?t=1680928 and http://www.htcdev.com/bootloader/about_unlock_process Some info about S-off and why you probably don't need it.
A word about posting a proper question:
be short, but post everything, for example:
bad:
My recovery doesn't work
Click to expand...
Click to collapse
ok:
I installed the recovery_cwm.img from this thread but the backup doesn't work, i'm on hboot 1.02 btw
Click to expand...
Click to collapse
better:
Making a backup of /system doesn't work in cwm. Steps:
unlocked htcdev
fastboot flash recovery recovery_cwm.img
hboot: 1.02
software version: 1.32
kernel: [email protected]
Click to expand...
Click to collapse
This way I don't have to ask "what is your hboot version" etc.
Thank you for this topic .
It s time for me to try the custom rom and kernel .
Just for that : "Next install fastboot. I'm not gonna hold your hand here, there are 400+ tutorials on installing fastboot, for every OS you can think of. Search for one and install it."
It s in the video of Fliwatt ( 3,40 ). Everything is explain . With your post and the video , everybody can do that . (So don t need to install sdk tool ? It s just for the adb files , right ? )
Thank you
And, Htc sync is htc sync manager ? ( the link is broken on htc : www.htc.com/www/help/ )
SpliFFdu95240 said:
Thank you for this topic .
It s time for me to try the custom rom and kernel .
Just for that : "Next install fastboot. I'm not gonna hold your hand here, there are 400+ tutorials on installing fastboot, for every OS you can think of. Search for one and install it."
It s in the video of Fliwatt ( 3,40 ). Everything is explain . With your post and the video , everybody can do that . (So don t need to install sdk tool ? It s just for the adb files , right ? )
Thank you
And, Htc sync is htc sync manager ? ( the link is broken on htc : www.htc.com/www/help/ )
Click to expand...
Click to collapse
Yes, htc sync is htc sync manager
Sorry for my late reply
Yes, with fliwatts video everyone can do it!
?
dummie999 said:
A complete guide on rooting your HTC Desire 500, both single sim and dual sim.
Sorry for my English!
Before you begin, you might want to check for updates on your phone, because it is harder to install an update after your phone is unlocked.
If you see any english mistakes, please pm me about them. English is not my native tongue.
The steps:
1. Unlock the bootloader via htcdev.com
2. Flash a custom recovery, ClockWorkMod or TeamWinRecoveryProject
3. Flash SuperSU
4. Flash a kernel without system write protection
Alternatively:
1. Flash a custom rom
2. Simunlock your device
3. Install Busybox?
The part about the rooting and simunlock are finished, the rest isn't.
Everything is at your own risk!
Click to expand...
Click to collapse
how can install an update after phone is unlocked? u said its hard not imossible,right?
---------- Post added at 09:39 PM ---------- Previous post was at 09:13 PM ----------
hamedkh said:
how can install an update after phone is unlocked? u said its hard not imossible,right?
Click to expand...
Click to collapse
actually i just unlocked my phone and now i want update software from 1.20 to 1.32. is there any hope? what can i do?
hamedkh said:
how can install an update after phone is unlocked? u said its hard not imossible,right?
---------- Post added at 09:39 PM ---------- Previous post was at 09:13 PM ----------
actually i just unlocked my phone and now i want update software from 1.20 to 1.32. is there any hope? what can i do?
Click to expand...
Click to collapse
It is not impossible. The 6th post on the first page is a tutorial about installing the ota. Follow that tutorial, and you should be fine.
dummie999 said:
It is not impossible. The 6th post on the first page is a tutorial about installing the ota. Follow that tutorial, and you should be fine.
Click to expand...
Click to collapse
and how can i download ota? or when phone download ota update,before instal it,where does save the file? can i find the ota update that downloaded in my phone?
hamedkh said:
and how can i download ota? or when phone download ota update,before instal it,where does save the file? can i find the ota update that downloaded in my phone?
Click to expand...
Click to collapse
Go to Settings->Info->Software Updates, then a screen should pop up, about 1.32/1.20, then you can download it. If a screen does not popup, then you cannot install any update, and I don't recommend trying to install one
dummie999 said:
Go to Settings->Info->Software Updates, then a screen should pop up, about 1.32/1.20, then you can download it. If a screen does not popup, then you cannot install any update, and I don't recommend trying to install one
Click to expand...
Click to collapse
i mean where does the file save? so as u said i can find and pull it in pc and edit it
hamedkh said:
i mean where does the file save? so as u said i can find and pull it in pc and edit it
Click to expand...
Click to collapse
Depends, whether your downloads are saved on the sdcard or on the phones internal storage.
Try /storage/sdcard0/Downloads
/storage/emmc/Downloads
Sth like that
great guide
thank you!
i have a problem...
well
when i go in recovery - install zip from sdcard i have only sd card not fount
i try to mount by menu but nothing to do.
sdcard works well in android
any idea?
thanks
Stefano
edit: i solve my problem. i had 2 partitions on sdcard and fat32 one was 2nd. i moved fat32 partition forward and now it's all ok
dummie999 said:
Requires: full root (custom kernel!)
Install busybox:
Easy: Install this app. Then open it, and click install.
Told you it was easy!
Xposed framework:
Well, this is basically outlined here: http://forum.xda-developers.com/xposed/xposed-installer-versions-changelog-t2714053. I can't bring it easier. But remember it requires full root!
Click to expand...
Click to collapse
You do not need full root to install the Xposed Framework anymore, they now provide a flashable zip for the recovery.

[Recovery][LG-H960A] TWRP v3.0.2-0 (unofficial)

This is an unofficial TWRP port for LG-H960A.
Thanks to @KAsp3rd and @GROGG88
I DON'T TAKE ANY RESPONSIBILITY. YOU DO EVERYTHING AT YOUR OWN RISK.
READ EVERYTHING and MAKE A BACKUP BEFORE YOU START.
Instructions:
1. You must be on newest stock Marshmallow: H960A20a_00_0316.kdz
You can use LG Bridge to install official update, or download .kdz file HERE
2. You need to have bootloader ulocked.
Official instructions are here: ( Unlocking the Bootloader @ LG Developer )
Remember that this will completely WIPE YOUR DATA, you will LOSE WARRANTY and this operation is IRREVERSIBLE.
3. Flash TWRP.
I assume you got ADB and FASTBOOT drivers working and adb is paired (it should be if you completed step 2).
Connect your phone to your pc, open command prompt and reboot to bootloader:
Code:
adb reboot bootloader
Your phone should reboot and you should be welcomed by Fastboot Mode screen.
Now download the recovery file (below) to your pc, unpack (to get .img) and rename it to recovery.img and put it in folder where you got command prompt open and:
Code:
fastboot flash recovery recovery.img
4. Boot to TWRP.
As on Marshmallow some fastboot commands are not working and LG is restoring recovery on every boot (so you cant use "adb reboot recovery" right now) you need to use one trick.
DO NOT REBOOT YOUR PHONE.
When still in fastboot from step 3 you need to turn off your phone completely. You can do that by holding power button or if that is not working take the battery out.
Now (put the battery in) and press POWER + VOL DOWN buttons. When you see LG logo release the POWER button (while still holding VOL DOWN) and press POWER button again.
You should see a screen which is asking you if you want to factory reset your phone. Don't worry - if you made everything correctly it should not wipe your phone.
Use volume and power buttons to choose YES (twice) - and you should see a TWRP screen (after a while)
WARNING: IF YOU REBOOTED YOUR PHONE AFTER FLASHING RECOVERY THIS STEP WILL REALLY ERASE ALL DATA. You need to flash recovery again (step 3)
5. (optional) flash SuperSU to get root.
Get SuperSU from official thread and put it in your phone.
While in TWRP from step 4 your phone should be recognized by ADB. Use below to move file to sdcard.
Code:
adb push BETA-SuperSU-v2.74-2-20160519174328.zip /sdcard/supersu.zip
Now in TWRP click Install, go to /sdcard/ and chooose supersu.zip. Follow instructions. After install you should choose to wipe cache/dalvik and reboot to system.
Your phone should be rooted now.
Download:
twrp-3.0.2.0-0-h960a.img.zip
(unpack .zip to get flashable .img)
Issues:
- Layout is wrong, status bar is being drawn on second screen.
- Date/time is wrong.
broken url
OK, now if we have recovery, is it possible to dump rooted system and pack it to .tot file for people who don't want to lose warranty?
11868 said:
broken url
Click to expand...
Click to collapse
Oh, true. Fixed.
rascal0pl said:
OK, now if we have recovery, is it possible to dump rooted system and pack it to .tot file for people who don't want to lose warranty?
Click to expand...
Click to collapse
Maybe.
Thank You it worked!
Great. Just bought it 2 days ago for good price. Will try it.
Sent from my LG-H955 using Tapatalk
Hi,
that's just great, thanks a lot.
As root is now possible has anyone tried to install xposed on th H960A?
I'm wondering if the second screen fix for the Telekom V10 also works with the H960A.
What about Viper4Android and AdAway?
rudi666 said:
This is an unofficial TWRP port for LG-H960A.
Thanks to @KAsp3rd and @GROGG88
I DON'T TAKE ANY RESPONSIBILITY. YOU DO EVERYTHING AT YOUR OWN RISK.
READ EVERYTHING and MAKE A BACKUP BEFORE YOU START.
Instructions:
1. You must be on newest stock Marshmallow: H960A20a_00_0316.kdz
You can use LG Bridge to install official update, or download .kdz file HERE
2. You need to have bootloader ulocked.
Official instructions are here: ( Unlocking the Bootloader @ LG Developer )
Remember that this will completely WIPE YOUR DATA, you will LOSE WARRANTY and this operation is IRREVERSIBLE.
3. Flash TWRP.
I assume you got ADB and FASTBOOT drivers working and adb is paired (it should be if you completed step 2).
Connect your phone to your pc, open command prompt and reboot to bootloader:
Code:
adb reboot bootloader
Your phone should reboot and you should be welcomed by Fastboot Mode screen.
Now download the recovery file (below) to your pc, unpack (to get .img) and rename it to recovery.img and put it in folder where you got command prompt open and:
Code:
fastboot flash recovery recovery.img
4. Boot to TWRP.
As on Marshmallow some fastboot commands are not working and LG is restoring recovery on every boot (so you cant use "adb reboot recovery" right now) you need to use one trick.
DO NOT REBOOT YOUR PHONE.
When still in fastboot from step 3 you need to turn off your phone completely. You can do that by holding power button or if that is not working take the battery out.
Now (put the battery in) and press POWER + VOL DOWN buttons. When you see LG logo release the POWER button (while still holding VOL DOWN) and press POWER button again.
You should see a screen which is asking you if you want to factory reset your phone. Don't worry - if you made everything correctly it should not wipe your phone.
Use volume and power buttons to choose YES (twice) - and you should see a TWRP screen (after a while)
WARNING: IF YOU REBOOTED YOUR PHONE AFTER FLASHING RECOVERY THIS STEP WILL REALLY ERASE ALL DATA. You need to flash recovery again (step 3)
5. (optional) flash SuperSU to get root.
Get SuperSU from official thread and put it in your phone.
While in TWRP from step 4 your phone should be recognized by ADB. Use below to move file to sdcard.
Code:
adb push BETA-SuperSU-v2.74-2-20160519174328.zip /sdcard/supersu.zip
Now in TWRP click Install, go to /sdcard/ and chooose supersu.zip. Follow instructions. After install you should choose to wipe cache/dalvik and reboot to system.
Your phone should be rooted now.
Download:
twrp-3.0.2.0-0-h960a.img.zip
(unpack .zip to get flashable .img)
Issues:
- Layout is wrong, status bar is being drawn on second screen.
- Date/time is wrong.
Click to expand...
Click to collapse
Are there any other known issues? I don`t need to install any custom roms. I need it only for root and xposed on Marshmallow. Is there something that can surprise me?
Hi,
"OK, now if we have recovery, is it possible to dump rooted system and pack it to .tot file for people who don't want to lose warranty? "
Ohh, thats sounds nice if this realy possible.
i love my v10.
orbitandre said:
hi,
"ok, now if we have recovery, is it possible to dump rooted system and pack it to .tot file for people who don't want to lose warranty? "
ohh, thats sounds nice if this realy possible.
i love my v10.
Click to expand...
Click to collapse
+1 ??
cyvr1 said:
As root is now possible has anyone tried to install xposed on th H960A?
I'm wondering if the second screen fix for the Telekom V10 also works with the H960A.
What about Viper4Android and AdAway?
Click to expand...
Click to collapse
Didn't try xposed but I think it should work (if it's working on other V10 models - they are not that different). I just recently bought V10 and was disappointed in dpi, so I needed root to patch second screen to be dpi-independent.
Also: why would you want things like Viper4Android when you got really good sounding hifi dac onboard?
fixxxer102 said:
Are there any other known issues? I don`t need to install any custom roms. I need it only for root and xposed on Marshmallow. Is there something that can surprise me?
Click to expand...
Click to collapse
For sure it's enough to flash packages and get root. Xposed is independent from recovery so I can't say anything about that.
Testing are up to you guys. Don't be afraid as this phone is not easy to brick.
rudi666 said:
Also: why would you want things like Viper4Android when you got really good sounding hifi dac on board?
Click to expand...
Click to collapse
Quite simple answer. The onboard Hifi DAC only works with cable headphones. Viper4Android also supports Bluetooth devices.
rudi666 said:
I just recently bought V10 and was disappointed in dpi, so I needed root to patch second screen to be dpi-independent.
Click to expand...
Click to collapse
Could you write a small guide about the dpi change (I prefer 540-580)?
Thanks in advance.
cyvr1 said:
Quite simple answer. The onboard Hifi DAC only works with cable headphones. Viper4Android also supports Bluetooth devices.
Click to expand...
Click to collapse
Ah, you are right, that makes perfect sense. Sorry, I forgot about that.
paschalism said:
Could you write a small guide about the dpi change (I prefer 540-580)?
Click to expand...
Click to collapse
There is still a long way, right now second screen FCs are fixed, but layouts are still wrong. I don't know if I can fix it to be truly dpi-independent but I think 560 is optimal value for this screen.
Is this working with
H960a
V20a-AME-xx??
1k views and only 11 "thanks"??? Really? Guys! We need support devs! Big THANK YOU for ur hard work @rudi666. I haven't try ur method yet but I am happy with the fact that something is beginning to happen with v10
Wysłane z mojego LG-H960 przy użyciu Tapatalka
asmoroth said:
I haven't try ur method yet but I am happy with the fact that something is beginning to happen with v10
Click to expand...
Click to collapse
I did try his method and it worked like a charm. Ok, you'll have to reflash TWRP if you want to use it but I'm sure it's just a matter of time until we have permanent TWRP like th T-Mobile V10 obviously has.
Thanks to rudi666 I have root, xposed, adaway and viper4audio up and running on my V10. And as there are no interesting custom roms to flash in my opinion it does not matter that I'd need to reflash TWRP. If you plan your flashing in advance you can flash all zip files in one go. No real need for TWRP afterwards.
Thanks guys. Unfortunately I see there is not much going on in V10 scene, and it's a shame.
cyvr1 said:
Ok, you'll have to reflash TWRP if you want to use it but I'm sure it's just a matter of time until we have permanent TWRP like th T-Mobile V10 obviously has.
Click to expand...
Click to collapse
Hm.. if you follow instructions you should get permanent TWRP, just try "adb reboot recovery" to test it if you don't want to risk clearing data when using button combination. There is a file called /system/boot-from-recovery.p which is 'restoring recovery' on every boot (that's why there is an info in instruction about not rebooting your phone the first time), but after all the steps this file will be patched. I don't remember if the first use of TWRP or flashing SuperSU does it, but you should get permanent recovery. If not you can always rename this file manually.
rudi666 said:
Hm.. if you follow instructions you should get permanent TWRP, just try "adb reboot recovery" to test it if you don't want to risk clearing data when using button combination. There is a file called /system/boot-from-recovery.p which is 'restoring recovery' on every boot (that's why there is an info in instruction about not rebooting your phone the first time), but after all the steps this file will be patched. I don't remember if the first use of TWRP or flashing SuperSU does it, but you should get permanent recovery. If not you can always rename this file manually.
Click to expand...
Click to collapse
Hi,
I will try that again and see if I can get permanent TWRP. But as I said currently there is no real requirement for that. I flashed SuperSU and both files for xposed when I first booted into recovery and that is all I need at the moment.
i cant enter bootloader
h960A
after adb reboot booloader it keeb restart to soft

[How to]: going from China ROM to a working, rooted international ROM (2016/06/20)

Hey guys,
I recently purchased a Mi5 in China and had a hellish experience trying to get a working rooted international ROM on it even though I am definitely not a noob at android. I found out that most issues I had were result of small/stupid mistakes that can be easily avoided with the proper knowledge, so I decided to write a super quick how to on the process for anyone that might need it in the future. There are similar guides out there, and I will refer to some (all credit goes to original posters) but I found that most are incomplete/not updated/plain wrong. Please also note that this guide is updated to June 20th, newer ROM versions might require different steps.
This how to assumes you are familiar with the standard ROM flashing process, in case anyone needs a more detailed explaination of some of the steps, you can reply or search XDA elsewhere, most of the stuff has been mentioned here and there before.
1. Check that your hardware is ok (dial *#*#64663#*#* in dialer, you will enter hardware test mode, check every single item carefully)
2. Request a bootloader unlock from Xiaomi, unlock the bootloader: follow instructions here http://forum.xda-developers.com/mi-5/how-to/unlocking-xiaomi-mi-5-bootloader-t3336243
3. Now that Your bootloader is unlocked, you have 3 main options for working ROMs: Xiaomi's Global Stable, Xiaomi's Global Dev, Xiaomi.eu's unofficial Stable. If you want to play it safe, I suggest to go with the Xiaomi's Global Stable, otherwise choose Xiaomi.eu's unofficial Stable. I did not test extensively all three, so this is just a general recommendation.
4. In any case, you will need to use the official Xiaomi's flashing tool (Miflash) to do your first ROM flash. Just follow the process here: http://en.miui.com/a-234.html and you'll have flashed your new ROM. In case you want to flash Xiaomi.eu's unofficial Stable, follow the same process but get the flashable ROM here: https://xiaomi.eu/community/threads/xiaomi-eu-multilang-rom-for-xiaomi-mi5-unlocked-bl-only-released.31231/
5. Boot into your newly flashed ROM, check once again that hardware is ok (see step 1.). Please also see step 10b for a tidbit of additional info if You're in China.
6. Reboot into bootloader, boot (only boot, no need to install) TWRP, which you can find here as part of Xiaomi.eu's thread above in step 4. inside a zip packaged with a modded bootloader image. do NOT install the modded bootloader image. Also, this is the only version of TWRP that I found working for my device. There are a couple more versions from chinese developers (cofface, ganfan), but booting either resulted in blank screen.
7. Once you are in TWRP, the recovery will ask you for a decryption password, just press cancel, then "Swipe to allow modifications"
8. Sideload (you cannot install from internal storage since you will not be able to access it at the moment) the latest SuperSU stable, which you can find here: http://forum.xda-developers.com/showthread.php?t=1538053. Please note that you WILL need the latest version, anything earlier might just get you a bootloop. And please do NOT format /Data to make it accessible to TWRP as that will also likely result in bootloop. Just sideload whatever you need.
9. Do NOT wipe Dalvik or Cache, reboot into System.
10. Congrats, You're done. Have a beer/coffee/tea and pat yourself on the back.
10b. In case You're in China, and this is Your first Android 5.0+ ROM, you will happen into a "bug" (it's not really a bug, but a result of China's Great Firewall), where whenever you connect to a Wifi, the phone will think you have no internet access and that will cause a whole host of issues (won't reconnect automatically, will try to default to 4G etc.). If so, just enable ADB Debugging and type adb shell "settings put global captive_portal_server httpstat.us/204" . That will mostly solve it (you might still get some weird result with some APs, but toggling Wifi should solve the problem for that AP forever.
Lazer Bear said:
6. Reboot into bootloader, boot (only boot, no need to install) TWRP, which you can find here as part of Xiaomi.eu's thread above in step 4. inside a zip packaged with a modded bootloader image. do NOT install the modded bootloader image. Also, this is the only version of TWRP that I found working for my device. There are a couple more versions from chinese developers (cofface, ganfan), but booting either resulted in blank screen.
Click to expand...
Click to collapse
How do you boot into twrp without flashing it? fastboot boot recovery.img doesn't work for me.. the command was successfull, downloading to the phone, then it's telling me booting, but the phone stay in fastboot.. thx
m_adnan said:
How do you boot into twrp without flashing it? fastboot boot recovery.img doesn't work for me.. the command was successfull, downloading to the phone, then it's telling me booting, but the phone stay in fastboot.. thx
Click to expand...
Click to collapse
After it says booting, does the screen light up? If so please check wether "adb devices" and "fastboot devices" return anything. If adb returns "recovery" or if both return empty, you're likely bumping into my same issue where the recovery won't boot (to me this happened regardless of whether I flashed or booted it). Are you using the specific recovery version from my point 6?
Lazer Bear said:
After it says booting, does the screen light up? If so please check wether "adb devices" and "fastboot devices" return anything. If adb returns "recovery" or if both return empty, you're likely bumping into my same issue where the recovery won't boot (to me this happened regardless of whether I flashed or booted it). Are you using the specific recovery version from my point 6?
Click to expand...
Click to collapse
no, nothing happens on the screen, it stays in fb mode without any reaction. adb and fb devices doesn't return any device connected.. if i do an fb reboot it told me "waiting for any device" so the only option to get it run again is to power off.. yes of course, it's the recovery.img with the modified boot.img..
Lazer Bear said:
After it says booting, does the screen light up? If so please check wether "adb devices" and "fastboot devices" return anything. If adb returns "recovery" or if both return empty, you're likely bumping into my same issue where the recovery won't boot (to me this happened regardless of whether I flashed or booted it). Are you using the specific recovery version from my point 6?
Click to expand...
Click to collapse
i want only to inform you, i get it to work.. the problem was my rom, miui 8.. for miui 8 you will need a new version of twrp, which you can download here: https://yadi.sk/d/oj6Z-0u7sXdw6 after that, i was able to boot to the twrp recovery without flashing it, so i keept everything original like it was and was able to sideload the supersu and get root without to format my data.. when you start the recovery it came in chinese, but when you click on the right button you can choose your language.. that's it.. thank you for you support dude!!
Is it only way to switch from chinese ROM to official global ROM to have unlocked bootloader? If it is, is there any other way of unlocking it, waiting 15 days to get permission seems ridiculous.
Lovely step by step guide. But, any idea if it will wipe the user data and/or internal sdcard when moving from the chinese to international version?

ROOT HTC U PLay

This is a short guide on rooting for thous who are new to this stuff
Steps:
1: download adb platform tools from here
2: Unlock bootloader. follow the guide on htcdev.
make sure you have htc drivers installed so that you can use oem command in fastboot mode for unlocking
3: Download TWRP
4: Download SuperSU and copy it to your phone's internal memory
5: Enable USB debugging and type "adb reboot-bootloader" from pc
6: Type: "fastboot boot twrp-3.1.1-0-alpine.img"
make sure you have twrp image in same folder as adb.
7: Wait for sometime you will boot into twrp recovery from there select install and select the SuperSU zip file
8: reboot and check for root
Links:
http://www.supersu.com/download
https://developer.android.com/studio/releases/platform-tools.html
has anybody tried this? I'm a bit scared to be the first one
javnostra said:
has anybody tried this? I'm a bit scared to be the first one
Click to expand...
Click to collapse
You should make sure you get a pristine backup at hand, or a RUU appropriate to your device. Otherwise you'll never be able toreturn to a full stock system.
On the U11 it is possible to boot TWRP from fastboot, without flashing it and thus without touching stock recovery. That way I've been able to flash Magisk what's coming with MagiskSU and the possibility to use some Modules. And all without altering the system or replacing stock recovery in the first place.
Sent from my HTC U11 using XDA Labs
javnostra said:
has anybody tried this? I'm a bit scared to be the first one
Click to expand...
Click to collapse
Yes its working without flaws, i have tested it myself. also your not installing recovery this time your booting directly
dranzer006 said:
Yes its working without flaws, i have tested it myself. also your not installing recovery this time your booting directly
Click to expand...
Click to collapse
Thanks, I will try it then.
javnostra said:
Thanks, I will try it then.
Click to expand...
Click to collapse
It works. Thanks a lot. My phone is rooted
5m4r7ph0n36uru said:
You should make sure you get a pristine backup at hand, or a RUU appropriate to your device. Otherwise you'll never be able toreturn to a full stock system.
Click to expand...
Click to collapse
for anyone asking themselves how to backup
https://forum.xda-developers.com/showpost.php?p=53767160&postcount=2
or https://forum.xda-developers.com/showpost.php?p=53770286&postcount=4
or is there a different way these days? @5m4r7ph0n36uru
BerndM14 said:
Connect phone to PC, boot into bootloader mode and type fastboot boot name_of_recovery.img that'll just boot the custom recovery as opposed to flashing it, that way you can make a nandroid backup of all partitions including stock recovery.
Click to expand...
Click to collapse
an0ther said:
The guys method of using recovery to backup recovery will only work on Philz… Not twrp as it does not always backup stock recovery properly. The proper way to backup stock recovery is..
1. Root your phone, which can be done by towel root or by just booting a recovery like he said,
fastboot boot twrporwhatever.img, then flash supersu
2. Boot phone that has stock recovery
3. adb shell
4. su "watch your phone to grant root adb access if you haven't ever done it"
5. dd if=/dev/block/mmcblk0p43 of=/sdcard/recovery.img
6. This will put flashable recovery.img on your internal sd card. Copy this and save it for later
7. "fastboot flash recovery recovery.img" will get you back to stock recovery, "fastboot flash recovery twrporwhatever.img" to flash custom recovery.
Click to expand...
Click to collapse
If possible and a TWRP recovery is available one should boot to bootloader and try if the command fastboot boot name_of_twrp.img works. Make sure to NOT grant r/w at first boot and leave it ro. Now you can perform a backup of stock recovery, boot and system image (not system partition!) to obtain a pristine backup.
All else will alter system partitions md5 and the backup won't be pristine any longer. Due to block based OTA policy introduced by Google you won't be able to OTA without a pristine system image.
Sent from my HTC U11 using XDA Labs
Bro My Boot Loader is Locked.
Htc dev Not Relised Htc u play Boot loader.
I think these are the instructions. You need to register to access the link
https://www.htcdev.com/bootloader/unlock-instructions
or use my login:
lizba
ALJSDBf234LJABSf
edit: dont use my login. you have to register. you'll get a mail with another page plus a .bin file
https://www.htcdev.com/bootloader/unlock-instructions/page-4/
I have two questions.
1. If I fastboot to TWPR will it stay (flash for good) or after disconnecting my phone it will be gone ?
2. Can I flash Magisk instead of SuperSU ?
Code:
fastboot oem get_identifier_token
FAILED (remote: unknown command)
how i can solve it?
ex71 said:
Code:
fastboot oem get_identifier_token
FAILED (remote: unknown command)
how i can solve it?
Click to expand...
Click to collapse
need enable "OEM unlock" in developers menu, reboot into bootloader and select "download mode". Next steps from original guide.
ex71 said:
need enable "OEM unlock" in developers menu, reboot into bootloader and select "download mode". Next steps from original guide.
Click to expand...
Click to collapse
But in download mode there is no fastboot active ?! Until you installed the correct drivers
no "fastboot" (like a "one s", etc) on this phone. no fastboot usb
"fastboot" command work in "bootloader menu" and "download mode"
fastboot oem only in download mode
Hello. Please explain what I am doing wrong. I will download what is in points. I download this adb something, but it does not work. Nothing starts. Does not communicate with the phone. OCB. Could anyone write this guide so that he could understand and act?

Categories

Resources