[Q] HTC One J (HTL22) help with root please - One (M7) Q&A, Help & Troubleshooting

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

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] Accidently deleted my OS

Hi guys
This is my first time posting here, but have been following up the forum for some time.I have deleted my OS through TWRP when I wanted to clean my mobile's cache. It doesn't boot now, and is stuck on the HTC Quietly Brilliant screen. I can boot into bootloader, and have removed TWRP, but I am not able to reset to factory settings, and cannot upload a recovery image through ADB. I tried using Hasoon2000's AIO Toolkit, but to no avail.
I have an unlocked HTC One, modelid: PN0710000, cidnum: HTC__J15, and can lock/unlock the bootloader.
I adb sideloaded HTC One's firmware (downloaded from HTC Dev, OTA_M7_UL_JB_50_HTC_Europe_1.29.401.12-1.28.401.7_release_315849_signedp7vl8dqsvls0h1t0) but I get a file_getprop: failed to stat "/system/build.prop": no such file or directory error, and the installation aborts.
Any help is highly appreciated!
Thanks
Can you detail the steps that lead to (assuming it still gets past the bootsplash) the bootloop youve created?
AT&T HTC One
ARHD 12.0
Tbalden Perf Kernel 2.1.4 UV/OC/UC
Download the appropriate RUU for your One and then run it. It will fix everything. This happened to me and doing the RUU was the only way to fix it
@Toxicoblivion: If I turn the mobile the normal way, I'd get the to the HTC logo and nothing more. I keep the vol down and power buttons pressed to get to the bootloader screen.
@xeron72548: I am new to this, so please bear with me. I tried searching for my RUU, but couldn't find it. As mentioned, I have cidnum: HTC__J15, and firmware 1.29.401.12-12
(Henace OTA_M7_UL_JB_50_HTC_Europe_1.29.401.12-1.28.401.7_release_315849_signedp7vl8dqsvls0h1t0.zip).
Thanks a million
KhaldoonSaid said:
@Toxicoblivion: If I turn the mobile the normal way, I'd get the to the HTC logo and nothing more. I keep the vol down and power buttons pressed to get to the bootloader screen.
@xeron72548: I am new to this, so please bear with me. I tried searching for my RUU, but couldn't find it. As mentioned, I have cidnum: HTC__J15, and firmware 1.29.401.12-12
(Henace OTA_M7_UL_JB_50_HTC_Europe_1.29.401.12-1.28.401.7_release_315849_signedp7vl8dqsvls0h1t0.zip).
Thanks a million
Click to expand...
Click to collapse
To get your phone running now use adb sideload in TWRP to flash a stored rom from the pc see here for how to :
1. Connect your phone make sure it's actually connected and you have the drivers.
If you don't have the drivers check this out: http://forum.xda-developers.com/showthread.php?t=1983470
2. Rename the ROM you want to flash to something basic, I used Find5.zip
3. Open CMD (command prompt), navigate it to the folder you placed the ROM
(e.g. code: cd C:\Users\Jelle\Downloads\ will navigate to my Downloads folder)
4. Boot to recovery on your phone and enable the ADB sideload function.
5. in CMD type adb sideload Find5.zip
6. Let TWRP or CWM flash the zip and prompt for reboot.
7. Reboot and be happy, your phone is fixed!
Thank you gee2012, but I don't have an RUU rom. Can you help in guiding me where I can download it (other than HTC Dev's site, as they don't have the RUU for my version)?
KhaldoonSaid said:
Thank you gee2012, but I don't have an RUU rom. Can you help in guiding me where I can download it (other than HTC Dev's site, as they don't have the RUU for my version)?
Click to expand...
Click to collapse
No, just flash a custom rom in adb sideload to get the phone running for now.
For flashing the RUU you have you need to have the 1.44.000 Hboot or need to be S-Off see here for how to http://forum.xda-developers.com/showthread.php?t=2314582.
You also change your CID if you have the phone running in for instance HTC__001 or SuperCID 11111111 and than you can flash any WWE or European rom. Change CID in fastboot: fastboot oem writecid HTC__001,, hit enter and check fastboot oem readcid.
Thanks gee2012. I am now on Android Revolution HD, and it's working. Time to find out how to return to factory firmware ....Amazing help, guys...much appreciated!!!!
for me adb sideload just keeps saying starting adb sideload feature. Anyway on how to fix this? I'm also plagued with no backup and a deleted OS. Please help me!!:crying:
@KashyapG: You need to be in recovery mode in your phone, and then you must activate the adb sideload uploading function from there. After that, adb sideload from your computer should work. don't forget to add .zip to the filename
adb sideload itself won't work, it's stuck on adb sideload feature starting- unless that means it's started- I have put in .zip at the end of the rom file name.
Try this how to:
http://forum.xda-developers.com/showthread.php?t=2318497
same problem
hi nitin this is haider from bhopal
please help me to out of this i have rooted my htc dual sim indian version to install custom rom but after rooting i am unable to install any custom rom i have tried many now i want to unroot my phone but i cant i havnt find any ruu for my devise i have tried allot to find it out at google but i am fail
pleaseeeeeeeeeeeeeeeeeeeeeee help me to unroot and to install my original factory firmware
my device details are as under
Android Version 4.2.2
HTC Sence Version 5.0
Software No 2.23.720.1
Kernel Version 3.4.10-g597332e
[email protected] # 1
Baseband Version 1.01.32.0708-1237.20.28.0614
Build number2.23.720.1 CL223177 release-keys
KashyapG said:
adb sideload itself won't work, it's stuck on adb sideload feature starting- unless that means it's started- I have put in .zip at the end of the rom file name.
Click to expand...
Click to collapse
Try it like this.
Boot into recovery
Click on adb sideload and let it run
Go to computer and open terminal
Gain root access (sudo -I if ubuntu)
Press enter and type password
Connect your phone to computer
Type in "adb devices"
Press enter
Your computer should say device in recovery
Then type in adb sideload and drag the file into the terminal window
Press enter and profit
Sent from my HTC One using XDA Premium 4 mobile app

HTC One original rom on root device update problem

...guys I was looking around, but couldn't find answer for my little problem. I have rooted HTC One, but rom is stock (didn't plan to change it at all just needed root), but the problem is today a new update came up, and when I tried to install it, it simple didn't do anything.
I go on Install now, phone restarts in recovery mode, then it gives me Installation aborted, and I have 3 thingies, - No; - Yes - Disable recovery flash: - +++++Go Back+++++
Whatever I choose, it just restarts and asks again for same recovery. What shall I do?
In console stands this:
ClockworkMod Recovery v6.0.3.4
E: Invalid command argument
E: Invalid command argument
Warning: No file_contexts
Finding update package...
E: unknown volume for path [DATA:data/cp,/amdrpod_HTC_Europe_2.24.401.8-2.24.401.1_release_331108tottoh71qygw07hf.zip]
E: Can't mount DATA:data/cp,/amdrpod_HTC_Europe_2.24.401.8-2.24.401.1_release_331108tottoh71qygw07hf.zip
Installation aborted
It seems that it cannot mount or something?!?
Cheers...
rex1825 said:
...guys I was looking around, but couldn't find answer for my little problem. I have rooted HTC One, but rom is stock (didn't plan to change it at all just needed root), but the problem is today a new update came up, and when I tried to install it, it simple didn't do anything.
I go on Install now, phone restarts in recovery mode, then it gives me Installation aborted, and I have 3 thingies, - No; - Yes - Disable recovery flash: - +++++Go Back+++++
Whatever I choose, it just restarts and asks again for same recovery. What shall I do?
In console stands this:
ClockworkMod Recovery v6.0.3.4
E: Invalid command argument
E: Invalid command argument
Warning: No file_contexts
Finding update package...
E: unknown volume for path [DATA:data/cp,/amdrpod_HTC_Europe_2.24.401.8-2.24.401.1_release_331108tottoh71qygw07hf.zip]
E: Can't mount DATA:data/cp,/amdrpod_HTC_Europe_2.24.401.8-2.24.401.1_release_331108tottoh71qygw07hf.zip
Installation aborted
It seems that it cannot mount or something?!?
Cheers...
Click to expand...
Click to collapse
Because HTC's updates only work on stock recovery.
Sent from my One using xda app-developers app
Tw1tchy said:
Because HTC's updates only work on stock recovery.
Sent from my One using xda app-developers app
Click to expand...
Click to collapse
Is there a way to update my phone now?
re
is it enough to put in cmd throuhg adb the "fastboot oem lock" command, since my rom is already stock?
Or do I need to flash stock recovery?
Cheers...
rex1825 said:
is it enough to put in cmd throuhg adb the "fastboot oem lock" command, since my rom is already stock?
Or do I need to flash stock recovery?
Cheers...
Click to expand...
Click to collapse
I'm sure you need stock recovery.
Sent from my One using xda app-developers app
Tw1tchy said:
I'm sure you need stock recovery.
Sent from my One using xda app-developers app
Click to expand...
Click to collapse
...ah, I knew it. I presume that stock recovery can't be flashed from custom recovery.
So I need to flash stock recovery, then to lock bootloader, and then I guess I'm good to go!?!
Can I flash it from custom recovery, or do I need to flash it differently? Anyone has link for it, or are all stock recoveries same (I mean from different providers)?
Thanks
You need to install stock recovery using fastboot command "fastboot flash recovery recovery.img"
AllAboutTheCore said:
You need to install stock recovery using fastboot command "fastboot flash recovery recovery.img"
Click to expand...
Click to collapse
...so only stock recovery, I do not need fastboot lock or something?
Cheers...
rex1825 said:
...so only stock recovery, I do not need fastboot lock or something?
Cheers...
Click to expand...
Click to collapse
Install stock recovery like I said above, once done type the following :- "fastboot oem lock"
You should be good to go then for the update. Re-locking your bootloader doesn't wipe your files either, only unlocking wipes the internal storage.
...OK, so here is what I did. From ADB restored the original recovery.img, then lock bootloader, and viola. Thanks guys for helping me out.
Cheers...
Edit: ...I forgot to uninstall SuperSU, and now I have a shortcut in apps and it cannot be removed. When I run it, phone says: "There is no SU binary installed, and SuperSU cannot install it. This is a Problem!" ...lolz me, what to do?
rex1825 said:
...OK, so here is what I did. From ADB restored the original recovery.img, then lock bootloader, and viola. Thanks guys for helping me out.
Cheers...
Edit: ...I forgot to uninstall SuperSU, and now I have a shortcut in apps and it cannot be removed. When I run it, phone says: "There is no SU binary installed, and SuperSU cannot install it. This is a Problem!" ...lolz me, what to do?
Click to expand...
Click to collapse
Just do update then reroot phone as before that's what I did but more than likely you won't be able to soff using revone th world have to use htcdev method
Sent from inside the T.A.R.D.I.S
joselv456 said:
Just do update then reroot phone as before that's what I did but more than likely you won't be able to soff using revone th world have to use htcdev method
Sent from inside the T.A.R.D.I.S
Click to expand...
Click to collapse
What is all this about S-Off and HTCDev ... You unlock your bootloader through HTCDev, S-Off is NOT something that can be done any other way than Revone and Moonshine and NOT on Hboot 1.54 ... Yet.
I've seen several people mention S-Off and HTCDev in the same breath and I think some of you are getting it all mixed up. Unlocking the bootloader and going S-Off are not the same thing and only unlocking the bootloader can be done through the HTCDev website.
I'm pretty sure HTC aren't going to help you remove the security from your device.
I stand corrected you are correct I had soff before that's why I guess it wasn't reset after update
Sent from inside the T.A.R.D.I.S
Original recovery and lock oem doesn't help.
Lads,
Would someone give me a hand here please.
There is a major update for HTC One.
I've flashed original recovery and locked back the phone.
Now it's downloading the update, then goes into reboot and opens fastboot bootloader, instead of installing the update.
What am i doing wrong here?
Thanks in advances
Hi,
I have the same problem as OP.
However the instructions in the replies are terribly confusing, I don't even know where to start!
Someone could do a step-by-step summary for less expert (or just android-retarded) people ?
Thanks a lot!
further to my post above
You need to be on stock recovery. Figure that out and you should be good.
Looking at the various guides somehow related to stock recovery doesn't make sense to me.
There's too many things I am not aware of such as how to flash the stock recovery, if the process will wipe all data, what is a fastboot command etc. etc. Has anybody ever created an easy guide to assess the problem?
AllAboutTheCore said:
What is all this about S-Off and HTCDev ... You unlock your bootloader through HTCDev, S-Off is NOT something that can be done any other way than Revone and Moonshine and NOT on Hboot 1.54 ... Yet.
I've seen several people mention S-Off and HTCDev in the same breath and I think some of you are getting it all mixed up. Unlocking the bootloader and going S-Off are not the same thing and only unlocking the bootloader can be done through the HTCDev website.
I'm pretty sure HTC aren't going to help you remove the security from your device.
Click to expand...
Click to collapse
I have HBOOT 1.54 and S-OFF with rumrunner_HTC_0.5.0
-marco- said:
further to my post above
Click to expand...
Click to collapse
For the sake of common knowledge and in case it may help other unknowing people like me, I'll post what I did here:
I sort of mixed these two guides: this one and this.
Premise:
A. It was impossible to make this whole thing run on my Win8.1 x64 computer. It would never recognize my Fastboot USB device plugged in. I had to use bloody WINXP x86 on my old-ass netbook....
B. Somehow I still had my fastboot/adb compiled folder that I used back in time to root my HTC at first.
C. My phone was Tampered, Unlocked, with HBOOT (i think 1.44 ?) and most definitely S-OFF I would say ? Still don't know for sure.
D. I updated from 4.1.2 through 4.2 to 4.3.
At the 4.2 upgrade the phone went on black screen twice (1st time at ~25%, and 2nd time after 100% was complete). Panic is useless in that case. I went to the bathroom, blasted the strongest lights I had and exposing the phone to the lights, I pressed the power button til the capacitative buttons blinked. After a while the phone rebooted and resumed exactly from the point it blacked out before.
The update to 4.3 went smooth as oil instead.
This is each step I did, following the quoted guides above:
1. Extract the stock recovery file (should be .img) that can be found in the OTA update firmware.zip file, in the firmware package (in some other thread it's explained the path of this file). Place the file in the folder with your fastboot commands.
2. Make sure fastboot and USB Debugging are unchecked on your phone in power settings>fastboot.
3. Power down phone by holding power button and pressing shut down.
4. Once phone is shut down, power phone into bootloader by holding volume down button and pressing power button.
5. Once in the bootloader navigate until it says fastboot usb (must have phone connected to computer).
6. Open up a command prompt where your fastboot commands are located.
7. Type the following with the filename of the stock recovery:
Code:
fastboot flash recovery <filename>
8. Navigate in the bootloader menu to the reboot option to restart your phone.
9. Download the latest SuperSU and place it on your sdcard.
10. Perform the OTA update normally.
11. Once it finishes installing, power down the phone like before and get back to fastboot usb.
12. Flash back the custom recovery using fastboot (I used latest CWM available):
Code:
fastboot flash recovery <filename>
or
Code:
fastboot flash zip <recovery>.zip
13. Then type :
Code:
fastboot reboot
14. Enter recovery by navigating with the volume buttons. Once in recovery, flash the zip of the SuperSU file you previously downloaded.
15. Restart once flashing is complete.

Need Help Unbrick My HTC One M7

My HTC One M7 is stuck at HTC logo and will not boot further. I've tried many methods, but cannot repair the phone. It's M7 Europe HTC_001 Firmware 1.29.401.13.
With bootloader unlocked I flash cwm recovery and tried to copy custom rom to flash but phone cannot mount usb storage. I tried to flash stock RUU 1.28.401.7, it won't flash because of hboot error. I tried to flash PN07IMG_1.29.401.13.zip using fastboot flash zip. firmware.;zip, with locked or unlocked bootloader, it won't flash, giving error.
Is there any full RUU 1.29.401.17 or RUU 2.17.401.1 firmware out there for download? I think that's my only solution is to get the same or higher full and not OTA firmware. Would it be possible to ADB push custom rom to phone if it can only power and stuck at logo? Or any other solution, please help, thanks.
There is far from enough info to help you
Have you looked at Hasoon's all in one?
http://forum.xda-developers.com/showthread.php?t=2183942
or mikes thread?
http://forum.xda-developers.com/showthread.php?t=2265618
It reads as though you need to read and ensure you understand before you attempt to resolve this
I like mikes method and both are proven to work
Please use the search option as it works
L0rdNels0n said:
There is far from enough info to help you
Have you looked at Hasoon's all in one?
http://forum.xda-developers.com/showthread.php?t=2183942
or mikes thread?
http://forum.xda-developers.com/showthread.php?t=2265618
It reads as though you need to read and ensure you understand before you attempt to resolve this
I like mikes method and both are proven to work
Please use the search option as it works
Click to expand...
Click to collapse
Thanks for your help but I've tried all that. First phone cannot "mount USB storage" in custom recovery so I cannot copy any file to the phone. Flashing stock RUU is not possible because there is no RUU 1.29.401.13.exe or higher, only OTA. Is it possible to downgrade hboot with s-on and in fastboot mode? Any other suggestion? Thanks.
citifone said:
Thanks for your help but I've tried all that. First phone cannot "mount USB storage" in custom recovery so I cannot copy any file to the phone. Flashing stock RUU is not possible because there is no RUU 1.29.401.13.exe or higher, only OTA. Is it possible to downgrade hboot with s-on and in fastboot mode? Any other suggestion? Thanks.
Click to expand...
Click to collapse
Try ADB push/sideload: http://forum.xda-developers.com/showthread.php?t=2325853&highlight=sideload
FIX
Hi, I was having the same problem, NOTHING was working, ADB Sideload failing, etc. and the OTG cable arrives tomorrow...my way to fix it?
1.- Went to TWRP Recovery
2.- Wipe>Advance Wipe> Wiped everything
3.- Format Data (option next to Advance Wipe)
4.- Reboot into Recovery(during reboot it said "your device is not rooted, want to root?) Marked yes.
5.- Advance Adb Sideload
6.- Sent CyanogenMod ROM...BANG! worked.
Hope this helps
I've tried to use adb push method but when I put phone to recovery (phone shows red triangle) and run command adb devices, it cannot see the device. Is it because of the drivers? I've installed all drivers and do not see any drivers error in device manager...I really appreciate all the helps from everyone and I spent so much time trying to fix this phone already and I feel I'm so closed now to fix it but just need little more help..Thanks..
L0rdNels0n said:
There is far from enough info to help you
Have you looked at Hasoon's all in one?
http://forum.xda-developers.com/showthread.php?t=2183942
or mikes thread?
http://forum.xda-developers.com/showthread.php?t=2265618
It reads as though you need to read and ensure you understand before you attempt to resolve this
I like mikes method and both are proven to work
Please use the search option as it works
Click to expand...
Click to collapse
Samper27 said:
Hi, I was having the same problem, NOTHING was working, ADB Sideload failing, etc. and the OTG cable arrives tomorrow...my way to fix it?
1.- Went to TWRP Recovery
2.- Wipe>Advance Wipe> Wiped everything
3.- Format Data (option next to Advance Wipe)
4.- Reboot into Recovery(during reboot it said "your device is not rooted, want to root?) Marked yes.
5.- Advance Adb Sideload
6.- Sent CyanogenMod ROM...BANG! worked.
Hope this helps
Click to expand...
Click to collapse
Thanks for your tips and advice..After many hours of trying, my phone is NOW ALIVE. This is how I did it:
1)Find a custom rom from this forum and rename to rom.zip, of course if you use windows like me with .zip extension hidden then just simply rename it rom (to make it simple and short) and copy it to adb shell folder.
2)After unlock bootloader, flash a custom recovery, find it in this forum or here: http://clockworkmod.com/rommanager
3) Boot phone to recovery, and select Install zip from sideload and plug phone to PC. Wait until phone installs all adb drivers..
4) In adb shell type command: "adb devices" without quotes, of course..to make sure adb sees your phone..You should see your devices name.
5) In adb type commad" adb sideload rom.zip..at this point you should see "sending: sideload....1%..wait until it show 100%..some roms like the one I used, Android Revolution HD One 12 (4.2.2) need to install from the screen, just follow instruction on screen and let it finish installation and wola, it's alive again..
I hope this will help someone who have similar problem with this phone. Thanks for the help from everyone.
HTC ONE not started, only htc logo
Hi how are you? I have a one mobile Htc One M7, just not started but show only htc logo. Plase help me!
citifone said:
Thanks for your tips and advice..After many hours of trying, my phone is NOW ALIVE. This is how I did it:
1)Find a custom rom from this forum and rename to rom.zip, of course if you use windows like me with .zip extension hidden then just simply rename it rom (to make it simple and short) and copy it to adb shell folder.
2)After unlock bootloader, flash a custom recovery, find it in this forum or here: http://clockworkmod.com/rommanager
3) Boot phone to recovery, and select Install zip from sideload and plug phone to PC. Wait until phone installs all adb drivers..
4) In adb shell type command: "adb devices" without quotes, of course..to make sure adb sees your phone..You should see your devices name.
5) In adb type commad" adb sideload rom.zip..at this point you should see "sending: sideload....1%..wait until it show 100%..some roms like the one I used, Android Revolution HD One 12 (4.2.2) need to install from the screen, just follow instruction on screen and let it finish installation and wola, it's alive again..
I hope this will help someone who have similar problem with this phone. Thanks for the help from everyone.
Click to expand...
Click to collapse
epic, thank you for the useful post

[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.

Categories

Resources