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

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.

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!

[Q] TWRP 2.5.0.0 Freezes after flashing recovery image

Hi.
Just tried to root my Htc one using this method: HTC One M7 How To ROOT EASIEST METHOD.
Unlocked the boot loader successfully.
Then downloaded newest TWRP Recovery Image openrecovery-twrp-2.6.3.0-m7.img
Followed the instructions
One thing was suspicious when entering fast boot:
*** Tampered *** <- dont't know if it's good or no ?
*** Unlocked ***
On top of the screen It wasn't shown tampered only unlocked ?
But everythinh went well, entered recovery mode using image and install the superuser.
And reboot. The su app was there, but after checking on two apps - phone wasn't rooted.
So download old image from TWRP 2.5.0.0
And after flashing it and enter the screen when u see buttons Install, Wipe,Backup ...
the Screen it's Freezed. Swipe to Unlock is not working.
And after hitting the power button the home button and < Blinking.
Also fastboot is not working. [ waiting for device ] only.
So how to restart it so i can flash a newer image to try root it again ?
Or maybe something different is wrong ?
Thank's
adascezary said:
Hi.
Just tried to root my Htc one using this method: HTC One M7 How To ROOT EASIEST METHOD.
Unlocked the boot loader successfully.
Then downloaded newest TWRP Recovery Image openrecovery-twrp-2.6.3.0-m7.img
Followed the instructions
One thing was suspicious when entering fast boot:
*** Tampered *** <- dont't know if it's good or no ?
*** Unlocked ***
On top of the screen It wasn't shown tampered only unlocked ?
But everythinh went well, entered recovery mode using image and install the superuser.
And reboot. The su app was there, but after checking on two apps - phone wasn't rooted.
So download old image from TWRP 2.5.0.0
And after flashing it and enter the screen when u see buttons Install, Wipe,Backup ...
the Screen it's Freezed. Swipe to Unlock is not working.
And after hitting the power button the home button and < Blinking.
Also fastboot is not working. [ waiting for device ] only.
So how to restart it so i can flash a newer image to try root it again ?
Or maybe something different is wrong ?
Thank's
Click to expand...
Click to collapse
It's not frozen, the old version uses different touchscreen drivers that why you can't press anything.
Use adb to reboot, and flash an up to date version of TWRP or CWM:
"adb reboot bootloader"
that will get you back to FASTBOOT USB.
nkk71 said:
It's not frozen, the old version uses different touchscreen drivers that why you can't press anything.
Use adb to reboot, and flash an up to date version of TWRP or CWM:
"adb reboot bootloader"
that will get you back to FASTBOOT USB.
Click to expand...
Click to collapse
Thank's for quick help.
It worked.
But flashed openrecovery-twrp-2.6.1.0-m7.img so the older one and still not rooted.
Try also with other images from TWRP. still nothing.
app keep saying that my phone is not rooted correctly
Any solution what's wrong ?
adascezary said:
Thank's for quick help.
It worked.
But flashed openrecovery-twrp-2.6.1.0-m7.img so the older one and still not rooted.
Try also with other images from TWRP. still nothing.
app keep saying that my phone is not rooted correctly
Any solution what's wrong ?
Click to expand...
Click to collapse
Try downloading this http://download.chainfire.eu/351/SuperSU/UPDATE-SuperSU-v1.65.zip and flash it in TWRP recovery.
Hit the thanks button if i helped
nkk71 said:
Try downloading this http://download.chainfire.eu/351/SuperSU/UPDATE-SuperSU-v1.65.zip and flash it in TWRP recovery.
Hit the thanks button if i helped
Click to expand...
Click to collapse
Great that solved my problem. Thank U. Can't locate that button. But will try harder.
Now I'm trying to install busybox wchich is failed of course because life would be to easy.
Already dig out that this is probably the read write protection problem and to solve this need to add new kernel module
or change my custom rom.
For me better will be adding the module only to install busybox from this solution:
http://forum.xda-developers.com/showthread.php?t=2230341&page=3
But where find command prompt ? Should go to recovery mode ?
Or maybe install the custom rom to avoid future problems?
But which one ?
adascezary said:
Great that solved my problem. Thank U. Can't locate that button. But will try harder.
Now I'm trying to install busybox wchich is failed of course because life would be to easy.
Already dig out that this is probably the read write protection problem and to solve this need to add new kernel module
or change my custom rom.
For me better will be adding the module only to install busybox from this solution:
http://forum.xda-developers.com/showthread.php?t=2230341&page=3
But where find command prompt ? Should go to recovery mode ?
Or maybe install the custom rom to avoid future problems?
But which one ?
Click to expand...
Click to collapse
Didnt know about the busybox problem oops
Anyway, what's your goal? Custom ROM, Stock ROM, etc??
If you want to stay fully stock, you could use one of the "Guru Reset" ROMs: http://www.htc1guru.com/downloads/stock-rom-downloads/ (I believe those include superuser etc. which you can select during flashing in AROMA)
Otherwise, the custom ROMs out there are all great, it's all personal preference. They each have their own "pros and cons" IF we can say that, but they are all excellent.
You'll have to experiment to see which one works for you
nkk71 said:
Didnt know about the busybox problem oops
Anyway, what's your goal? Custom ROM, Stock ROM, etc??
If you want to stay fully stock, you could use one of the "Guru Reset" ROMs:
link (I believe those include superuser etc. which you can select during flashing in AROMA)
Otherwise, the custom ROMs out there are all great, it's all personal preference. They each have their own "pros and cons" IF we can say that, but they are all excellent.
You'll have to experiment to see which one works for you
Click to expand...
Click to collapse
Well i don't know what I'm looking yet. Change from Ios to android.
By now trying to finish setting up my phone so can start using it.
When was searching forum just found the solution - someone had the same problem installing busybox.
That's way came up with that solution to solve my problem.
If someone have solution how to install busybox.
Was trying two different busy boxes both are crashing after install.
Don't want start another topic
Ok there is solution for that too.
http://forum.xda-developers.com/showthread.php?t=1929852
Thank you for your help.
Now can read more

[Q] HTC One J (HTL22) help with root please

I bought a second hand HTL22 that was updated to the latest software and h-boot. Here are my specs
HBoot - 1.54.000
OS - 2.21.970.2
I payed someone on yahoo auctions japan[/URL] to S-Off it for me with plans to do the rest myself.
It came back with
CID - 111111111 - OK
S-OFF - OK
Upon getting it back I was able to unlock the Bootloader using the htcdev way and flash CWM and/or TWRP recoveries.
My issue now is that when I enter either recoveries, the partitions cannot be loaded nor can I sideload so I cannot root it. BUT I can boot fine into the OS...
I was thinking that its something to do with the partitions but right now I am at a loss. Does anyone have the partition table info for a stock HTL22 so I can at least compare? Really any advice would be welcome.
Thanks in advance.
UPDATE: Got everything to work and I will lay it out here - Unlock Bootloader, Root, Custom Rom, and Sim Unlock - Working on Softbank GSM
First of all everything that I did assumes that you have S-OFF and Super-CID and can adb/fastboot into your OneJ. This also assumes that all files you download will be put into the same folder as your adb and fastboot commands
1. Unlock Bootloader - I used the htcdec method
2. Install TWRP recovery - (Make sure you install the right recovery for your device and software version - this was my problem previously. If you install the wrong version you will not be able to mount your partitions and therefore cannot do the next step.
- Download the appropriate TWRP version from here: linkhttp://www.scottish-vinegar.com/%E5%B0%8F%E7%89%A9%E7%BD%AE%E3%81%8D%E5%A0%B4/...I downloaded the 4.2.2 version
- *this step is optional and you can do it later but will save you bit of time to do it now
download SU and push it onto your device
adb push UPDATE-SuperSU-v1.91 /sdcard/
Click to expand...
Click to collapse
- reboot into fastboot
-
fastboot flash recovery twrp250-m7_wlj_422.img
Click to expand...
Click to collapse
--- Your file name may differ
- reboot into recovery
3. Root your device
- Click install
- browse to your sdcard and click your superuser file (if you did not previously download and put this file on your device you will have to reboot into your OS and do it now. Please look at the second step of the recovery section for more info
- reboot
4. Install Google Edition Rom *This step is optional but I dont know if your simunlock will work wiithout it as I didnt try
- Download rom for gsm here http://www.androidfilehost.com/?fid=23060877490001371
- push or use a file manager to put it on your phone
- reboot into recovery
adb reboot recovery
Click to expand...
Click to collapse
- wipe cache, data, system
- install
- go back to install menu again and reinstall superuser
- reboot
5. Unlock Sim - info from here
- Download this
- install it to your device
adb push mmcblk0p19 /sdcard/
adb shell
su
dd if=/sdcard/mmcblk0p19 of=/dev/block/mmcblk0p19
Click to expand...
Click to collapse
- run this command
adb shell am start com.android.settings/.TestingSettings
Click to expand...
Click to collapse
- check your device and go into phone settings. Turn everything off except radio and set preferred network to LTE/GSM
- reboot
give it some time it should find and connect to your GSM network
moku160 said:
I bought a second hand HTL22 that was updated to the latest software and h-boot. Here are my specs
HBoot - 1.54.000
OS - 2.21.970.2
I payed someone on yahoo auctions japan to S-Off it for me with plans to do the rest myself.
It came back with
CID - 111111111 - OK
S-OFF - OK
Upon getting it back I was able to unlock the Bootloader using the htcdev way and flash CWM and/or TWRP recoveries.
My issue now is that when I enter either recoveries, the partitions cannot be loaded nor can I sideload so I cannot root it. BUT I can boot fine into the OS...
I was thinking that its something to do with the partitions but right now I am at a loss. Does anyone have the partition table info for a stock HTL22 so I can at least compare? Really any advice would be welcome.
Thanks in advance.
Click to expand...
Click to collapse
Do you mean you don't have root access? If not then just flash supersu.zip if it's letting you flash things and you'll have root access. If you can't flash anything then try to use the toolkit to root it. If not then I would suggest formatting every partition. That should help
Sent from my HTC One using xda app-developers app
BadAzDB said:
Do you mean you don't have root access? If not then just flash supersu.zip if it's letting you flash things and you'll have root access. If you can't flash anything then try to use the toolkit to root it. If not then I would suggest formatting every partition. That should help
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
I tried flashing from fastboot and it wont let me, "FAILED (remote: not allowed)". I cannot flash from the recovery menus because it cannot mount my partitions therefor cannot see the files I put in them.
I will,and should have earlier, try the AIO toolkit and if that doesnt work will take it from there. Thanks!
moku160 said:
I tried flashing from fastboot and it wont let me, "FAILED (remote: not allowed)". I cannot flash from the recovery menus because it cannot mount my partitions therefor cannot see the files I put in them.
I will,and should have earlier, try the AIO toolkit and if that doesnt work will take it from there. Thanks!
Click to expand...
Click to collapse
Also try deleting cache through fastboot. If nothing works you'll have to RUU
Sent from my HTC One using xda app-developers app
Thank you for the help. Turned out i was trying to install the wrong recovery and thats why it wasnt mounting my partitions. Anyway got everything working now. Thank you!
Cost 4000JPY, how that guy did it?
huangda1982 said:
Cost 4000JPY, how that guy did it?
Click to expand...
Click to collapse
No clue, just happy he could
moku160 said:
No clue, just happy he could
Click to expand...
Click to collapse
I am on stock rom ver. 1.05.970 ...(4.1.2)
ccan you tell me how to upgrde (4.2.2) or latest
also can you tell me whether I can flash this HTL22_Global_Edition_2.24.973.1_htcsoku.zip mentioned in the website http://htcsoku.info/htcsokudev/2013device/m7_wlj/dev/global_edition/
thanks
I wil tell you the procedure I made and it worked
If you dont change the cid KDDI_801 it gives you an error 170!So you can change it from fast boot typing:
fastboot oem readcid (to see the cid)
fastboot oem writecid (write the cid you want,choose one from this http://forum.xda-developers.com/showthread.php?t=2445289)
then just check again if this worked by typing:
fastboot oem readcid
Then go to htcdev and do the procedure.
I flashed it and installed the international version HTL22_Global_Edition_2.24.973.1_htcsoku.zip mentioned in the website http://htcsoku.info/htcsokudev/2013device/m7_wlj/dev/global_edition/
Funkyjohn said:
If you dont change the cid KDDI_801 it gives you an error 170!So you can change it from fast boot typing:
fastboot oem readcid (to see the cid)
fastboot oem writecid (write the cid you want,choose one from this http://forum.xda-developers.com/showthread.php?t=2445289)
then just check again if this worked by typing:
fastboot oem readcid
Then go to htcdev and do the procedure.
I flashed it and installed the international version HTL22_Global_Edition_2.24.973.1_htcsoku.zip mentioned in the website http://htcsoku.info/htcsokudev/2013device/m7_wlj/dev/global_edition/
Click to expand...
Click to collapse
Oop... that's stupid. You can't writecid via fastboot when the phone is S-ON.
badly needing help
is there any way to unlock my htc j one? im on the same version as yours.. 1.54hboot and 2.21 version.. i live here in the philippines.. it would cost me so much if i take that service you provide on yahoo auction.. TIA!
I have no relation to the auction sales other than being a customer.
The only way that I know of that can S-off when you have that software version is by paying someone, I assume they do it via hardware some way....
So I am sorry but I cannot help you.
Help with htc htl22
Hello, I have this phone and when I put in a local sim, it doesn't ask for sim pin it just says "NO SERVICE". I'm trying to figure out if it might be a settings but have no idea how to access the network settings (change network settings gsm/wcdma etc). Is there a hidden menu? Ive been searching all over the web but haven't found it yet. Thanks in advance
[QUOt TE=BadAzDB;49656088]Do you mean you don't have root access? If not then just flash supersu.zip if it's letting you flash things and you'll have root access. If you can't flash anything then try to use the toolkit to root it. If not then I would suggest formatting every partition. That should help
Sent from my HTC One using xda app-developers app[/QUOTE]
This phone is SOL...since it is on 4.2.2 it is near impossible to downgrade and the Japanese walk through is a nightmare.
I cannot for the life of me get S Off etc all due to the CID lock down.
FFS
Sim unlock
moku160 said:
I bought a second hand HTL22 that was updated to the latest software and h-boot. Here are my specs
HBoot - 1.54.000
OS - 2.21.970.2
I payed someone on yahoo auctions japan[/URL] to S-Off it for me with plans to do the rest myself.
It came back with
CID - 111111111 - OK
S-OFF - OK
Upon getting it back I was able to unlock the Bootloader using the htcdev way and flash CWM and/or TWRP recoveries.
My issue now is that when I enter either recoveries, the partitions cannot be loaded nor can I sideload so I cannot root it. BUT I can boot fine into the OS...
I was thinking that its something to do with the partitions but right now I am at a loss. Does anyone have the partition table info for a stock HTL22 so I can at least compare? Really any advice would be welcome.
Thanks in advance.
UPDATE: Got everything to work and I will lay it out here - Unlock Bootloader, Root, Custom Rom, and Sim Unlock - Working on Softbank GSM
First of all everything that I did assumes that you have S-OFF and Super-CID and can adb/fastboot into your OneJ. This also assumes that all files you download will be put into the same folder as your adb and fastboot commands
1. Unlock Bootloader - I used the htcdec method
2. Install TWRP recovery - (Make sure you install the right recovery for your device and software version - this was my problem previously. If you install the wrong version you will not be able to mount your partitions and therefore cannot do the next step.
- Download the appropriate TWRP version from here: linkhttp://www.scottish-vinegar.com/%E5%B0%8F%E7%89%A9%E7%BD%AE%E3%81%8D%E5%A0%B4/...I downloaded the 4.2.2 version
- *this step is optional and you can do it later but will save you bit of time to do it now
download SU and push it onto your device
- reboot into fastboot
- --- Your file name may differ
- reboot into recovery
3. Root your device
- Click install
- browse to your sdcard and click your superuser file (if you did not previously download and put this file on your device you will have to reboot into your OS and do it now. Please look at the second step of the recovery section for more info
- reboot
4. Install Google Edition Rom *This step is optional but I dont know if your simunlock will work wiithout it as I didnt try
- Download rom for gsm here http://www.androidfilehost.com/?fid=23060877490001371
- push or use a file manager to put it on your phone
- reboot into recovery
- wipe cache, data, system
- install
- go back to install menu again and reinstall superuser
- reboot
5. Unlock Sim - info from here
- Download this
- install it to your device
- run this command
- check your device and go into phone settings. Turn everything off except radio and set preferred network to LTE/GSM
- reboot
give it some time it should find and connect to your GSM network
Click to expand...
Click to collapse
So I was able to get the phone part working. However, I cant seem to get the 3G working on the phone. When I go into Mobile Data it doesnt give me an option for Preferred Network or APN settings.
Sucess !! SOff , Unlocked , Super CID
ShadowKage said:
So I was able to get the phone part working. However, I cant seem to get the 3G working on the phone. When I go into Mobile Data it doesnt give me an option for Preferred Network or APN settings.
Click to expand...
Click to collapse
Guys , if you need .. PM me

[SOLVED] Stuck at Boot Screen After Installing CWM

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

[Guide][No Root]Enable Camera2API in stock rom with Locked bootloader, OTA compatible

This Guide Can Also Be Used For Unlocking & Relocking Bootloader, Installing TWRP & Rooting
If Any Ota Messes With The Implementation Then Whole Procedure Needs To Be Redone
To mitigate the problem requesting developers for making a hack for Relocking Bootloader Without Wiping Data PM me if Interested
Data Will Be Wiped So Make Backup First
What Will We Be Doing: Unlocking Bootloader, Installing TWRP,Flashing Camera2api Enabler, Installing Back Stock Recovery, Relocking Bootloader
Procedure:
1. Download this rar and you'll get 2 folders namely unlock and ASUS_Android_USB_drivers_for_Windows
2. Install the drivers according to your OS (happens Automatically In Most Cases) and open the unlock folder
3. Reboot your phone to fastboot mode by pressing volume up + power on at the same time.
4. Connect it to pc and open unlock.bat in unlock folder
5. Long Press Power Button & Reboot. A wiping Data screen will appear followed by an encrypting sceen then the phone will reboot (A warning of unlocked bootloader will show up initially)& then the initial setup screen will show up don't add any thing & skip the setup(there will be another wipe).
6. Download Cam2Api & copy it to sd card or internal storage of phone. Then switch off the phone once again & reboot in fastboot mode once more.
7. Download TWRP from here & Install Minimal ADB to root of C drive.
8. Copy the twrp to the adb folder in your C drive.
9. Open the 'cmd-here.exe' the adb window will open
10. With the phone connected in fastboot mode type in adb "fastboot flash recovery twrpasus.img" & press enter then type "fastboot boot twrpasus.img" & hit enter.
11. Switch Off the phone & boot in twrp by pressing vol down+power, opening TWRP will take time
12. A decryption popup will open in twrp skip it.
13. Select Install Zip & slect the storage where you have kept the cam2api.zip & flash it, then select reboot system.
14. Download Gcam from here (Arnova v8 is best) & copy it to phone and install it, check if it works, dont configure it. Reboot your phone to fastboot mode
15. Download stock asus recovery from here & copy it to the adb folder.
16. Again open the adb & type "fastboot flash recovery recovery.img"
17. Download Zenfone_Max_M1_Pro_Relock.zip and extract it.
18. Open the directory where you extracted the file
19. In that directory, open a file named relock_bl.cmd
20. A Command (CMD) prompt will do the rest of the work for you.
Let the phone restart.
21. It will then erase all the data on your phone once again (excluding Micro SD card).
23. Reboot
22. Now the phone won’t show the “bootloader unlocked” warning that was displayed after you unlocked the bootloader. Now setup the phone and install the Gcam downloaded earlier also all manual camera apps will work fine too.
Done! You Have Successfully Relocked Bootloader & Enabled Camera 2 api in stock rom. As the bootloader is locked & we have'nt rotted our phone you have your warranty and ota updates work well. If any kind of future ota breaks the camera2api then you have to redo the procedure once again.
Installing Magisk Or SuperSU while twrp is installed will root your phone (breaks ota updates though)
Credits to:
@Sudeep Duhoon : For Original Unofficial unlock & Camera2api Enabler script
@Shivam Kumar Jha For Unofficial TWRP
@style2345 For Providing ASUS Stock Recovery
@myapky For Relocking Script
Hit Thanks If This Helped You!
Ok, I have got stuck. Have a windows 10 machine so was unable to apply the drivers since they were automatically installed. When I tried to install manually, I got an error message that driver is not compatible. Rest of the steps when fine till Step 10. But thereafter TWRP was not installed and the phone went into default recovery with options and th botton of the screen showing an error showing E: couldn't load bitmap fill_ball (error -7). What could have happened?
mehtasu said:
Ok, I have got stuck. Have a windows 10 machine so was unable to apply the drivers since they were automatically installed. When I tried to install manually, I got an error message that driver is not compatible. Rest of the steps when fine till Step 10. But thereafter TWRP was not installed and the phone went into default recovery with options and th botton of the screen showing an error showing E: couldn't load bitmap fill_ball (error -7). What could have happened?
Click to expand...
Click to collapse
You need to uninstall the drivers & redo the process most times we dont need to manually install the drivers. We install drivers only if flashing doesnt occur(you did the opposite) after installing twrp make sure to clear data(factory reset through it)
AstroBiswas said:
You need to uninstall the drivers & redo the process most times we dont need to manually install the drivers. We install drivers only if flashing doesnt occur(you did the opposite) after installing twrp make sure to clear data(factory reset through it)
Click to expand...
Click to collapse
Oh I found my way into TWRP. Am i supposed to keep it read only or accept swipe to allow modifications?
mehtasu said:
Oh I found my way into TWRP. Am i supposed to keep it read only or accept swipe to allow modifications?
Click to expand...
Click to collapse
Swipe to allow modifications ofcourse how would we change anything without that permission
Thankyou, the guide works perfectly. Just to add when installing twrp, boot directly into recovery, otherwise twrp won't install. Just wanted to put it here so that people don't have to go through other threads.
1. Ask before using someone else's stuff in your guide without providing op links or at least give credits
2. Did you test it before posting if the ota will flash fine? As i highly doubt that
Sudeep Duhoon said:
1. Ask before using someone else's stuff in your guide without providing op links or at least give credits
2. Did you test it before posting if the ota will flash fine? As i highly doubt that
Click to expand...
Click to collapse
Thanks for reminding, credits given to each hardworking dev who made this guide possible
Yup I Did Test May Security Patch arrived via ota & it installed fine, didnt break the api.
AstroBiswas said:
Thanks for reminding, credits given to each hardworking dev who made this guide possible
Yup I Did Test June Security Patch arrived via ota & it installed fine, didnt break the api.
Click to expand...
Click to collapse
The June Security Patch is arrived via OTA now?
Sent from my [device_name] using XDA-Developers Legacy app
The Wolf Dark said:
The June Security Patch is arrived via OTA now?
Click to expand...
Click to collapse
No actually my phone has just arrived I Did this procedure on the day itself
AstroBiswas said:
Thanks for reminding, credits given to each hardworking dev who made this guide possible
Yup I Did Test June Security Patch arrived via ota & it installed fine, didnt break the api.
Click to expand...
Click to collapse
Last update was on june 14 with may security patch. I highly doubt this method works without losing ota
Aftab_khatri said:
Last update was on june 14 with may security patch. I highly doubt this method works without losing ota
Click to expand...
Click to collapse
Oh my bad they provided may patch in june update.
We havent done any kind of detectable large system modification so ota's work
Sudeep Duhoon said:
1. Ask before using someone else's stuff in your guide without providing op links or at least give credits
2. Did you test it before posting if the ota will flash fine? As i highly doubt that
Click to expand...
Click to collapse
Thankyou. I had to search for your thread to take care of some troubleshooting. Also, will surely have to follow the guide to go stock/relock to get furture OTA updates. Never the less a big thank you to you and the other developers for their contributions for this phone. Makes this divice so very worthwhile.
Well its working as mentioned by OP.......
Well done !!!
What if we use the command fastboot boot revovery.img and flash the cam 2 api zip when it boots to twrp or is it necessary to use the command flastboot flash recovery recovery.img
pranavsree00 said:
What if we use the command fastboot boot revovery.img and flash the cam 2 api zip when it boots to twrp or is it necessary to use the command flastboot flash recovery recovery.img
Click to expand...
Click to collapse
I had tried it. It didnt work
AstroBiswas said:
I had tried it. It didnt work
Click to expand...
Click to collapse
pranavsree00 said:
Click to expand...
Click to collapse
if you already have twrp installed then you just have to flash the cam2.zip thats all ...........
& if you don't have twrp then you have to first install twrp using the command by OP & then flash cam2.zip as mentioned it original thread .
Anyone who has done this, please reply to this post if they get the next OTA when released, and installed it without any issues. So that I can perform it without any trouble on updates and warranty...
Amal Prabhakaran said:
Anyone who has done this, please reply to this post if they get the next OTA when released, and installed it without any issues. So that I can perform it without any trouble on updates and warranty...
Click to expand...
Click to collapse
Well just follow the give procedure or steps one by one & relock the bootloader at last and you would be good to go .....
Well I didn't relocked the bootloader & I frequently change my ROMS & regarding updates well there is none after 309 so whenever there would be an update I will give it a try then but for now everything is working fine so you can give it a go .........

Categories

Resources