[Guide][How-To]How To Root/S-Off/Recovery/&FirmwareUpdate on ATT 3.18 - AT&T, Rogers HTC One X, Telstra One XL

ONLY Works For HTC Evita By AT&T On 3.18..... and I threw this together so people can have all there information on 3.18 in a single thread. I take no credit for the work.... Because I'm not the dev that's made the exploits, or files.
How To Root on the ATT 3.18 firmware for HTC One XL and SuperCID.
- Linux Simplified
- Windows Explained*
DOWNLOAD : ( 3.18 root exploit )
http://forum.xda-developers.com/attachment.php?attachmentid=1973170&d=1368918573
Linux Version.
Requirements -
--Adb Environment--
--Knowledge on how to use adb--
--AT&T HTC One XL and linux based computer haha--
As @myusernam3 says
1. just extract zip*
2. run pwn.sh......This automated method*
3. or follow the windows steps on linux ( the adb steps )
Windows Version
Requirements -
--Adb Environment--
--Adb Knowledge--
-- AT&T HTC One XL and windows based computer
1. Open Command Promt and navigate to your Adb folders and make sure the xpwn.tar.gz Is extracted to the main folder of adb...
2. Execute this command
Code:
adb push oneXchopper /data/local/tmp/xpwn
Followed by*
Code:
adb push busybox /data/local/tmp/busybox
Followed By
Code:
adb push ownage /data/local/tmp/phase1.sh
Next*
Code:
adb shell chmod 755 /data/local/tmp/xpwn /data/local/tmp/busybox
Next*
Code:
adb shell ln -s /data/local/tmp/busybox /data/local/tmp/sed
Next
Code:
adb shell "/data/local/tmp/xpwn"
Next
Code:
adb reboot bootloader
Just to clarify, this is a temp root which sets your CID to SuperCID allowing a bootloader unlock via HTCDev. It does NOT install Superuser or anything of that sort.
I'm not responsible for bricks, warranty voiding, etc. and please let me know if this works*
Thanks to Dan Rosenberg for Motochopper, which I modified very slightly for use in this script.
Thanks also to the people who paid the bounty. You guys are awesome and probably just bought me something nice. Not sure what yet
One more thanks to Daft Punk for providing some decent music to listen to while I worked on this. I was up all night to get lucky xD
Click to expand...
Click to collapse
All credits to the OP of this thread http://forum.xda-developers.com/showthread.php?t=2285086
Sent from my HTC One XL using XDA Premium 4 mobile app

How to S-Off After completing above
Original Thread http://forum.xda-developers.com/showthread.php?t=2155071
Once you have confirmed you have SuperCID, get started (read it through first so you understand it all):
1.) Download patcher and unzip it in your working directory:
soffbin3.zip soffbin3.zip Mirror
2.) Download the zip below
OneX.zip = MD5: 99a8eced1010543e12cbd4e4e8f9638f,* Mirror
3.)
Code:
adb reboot bootloader
(wait for bootloader)
4.)
Code:
fastboot oem rebootRUU
(wait for black HTC Screen)
5.)
Code:
fastboot flash zip PJ8312000-OneX.zip
After a while, You should see the following error “FAILED (remote: 92 supercid! please flush image again immediately)”
6.) Immediately issue the following command:
Code:
fastboot oem boot
You may see some errors, just wait for the device to boot into Android (only now, you should be booted into Android with no eMMC write protection of any kind active).
7.) Issue the following 3 commands to update the security partition with S-off flags (one command at a time!):
Code:
adb push soffbin3 /data/local/tmp/
adb shell chmod 744 /data/local/tmp/soffbin3
adb shell su -c "/data/local/tmp/soffbin3"
(wait for a few seconds)
8.)
Code:
adb reboot bootloader
9.) You should see what you are looking for!
If you need help or just care to say thanks, join us on IRC:* #FacePalm http://chat.andirc.net:8080/?channels=facepalm
Enjoy.
Click to expand...
Click to collapse
Credits To @beaups

TeamWin Recovery Project -http://forum.xda-developers.com/showthread.php?t=1677447
ClockworkMod Recovery -
To flash recovery. ..
1. Boot into bootloader
2. Select fastboot
3. Open Command Prompt and navigate to adb and fastboot folder. Place " recovery.img " in that folder
4. Plug cord into pc and the phone.
5. Once pacific drivers installed for fastboot control execute
Code:
fastboot flash recovery recovery.img
Sent from my HTC One XL using XDA Premium 4 mobile app

Firmware Update After Achieving S-Off If You Want To Use Sense 5 4.2.2
Firmware (Optional)(But Recommend): http://www.androidfilehost.com/?fid=23060877490004040 (Doesn't overwrite kernel and recovery)
Installing the Firmware (Warning: You MUST be S-OFF and Super CID to flash this! Flash at own risk!)
[*]Reboot to bootloader (adb reboot bootloader if "USB Debugging" is enabled in Android)
[*] Run: fastboot oem rebootRUU
[*] Run: fastboot flash zip
[*] If the output ends with "FAILED (remote: 90 hboot pre-update! please flush image again immediately)", run the previous command AGAIN
[*] If it ends with "INFO..... OK", reboot to the bootloader: fastboot reboot-bootloader
[*] Verify everything was successful by running: fastboot getvar all
[*] Reboot into Android: fastboot reboot or into recovery: fastboot reboot-recovery
Credits to @Turge*

You might want to mention that the 2.15 firmware is only really necessary/recommended for users wanting to run Android 4.2.2 Sense 5 ROMs. It isn't required for anything else. You might also want to mention that the work isn't your own, and give credit to all the people that actually did the work on these exploits.
Sent from my Evita

timmaaa said:
You might want to mention that the 2.15 firmware is only really necessary/recommended for users wanting to run Android 4.2.2 Sense 5 ROMs. It isn't required for anything else. You might also want to mention that the work isn't your own, and give credit to all the people that actually did the work on these exploits.
Sent from my Evita
Click to expand...
Click to collapse
First post mentions nothing on this page is my work and that I take no credit and all 3 post have the credits given to the devs
Sent from my HTC One XL using XDA Premium 4 mobile app

My mistake, I guess missed the credits, sorry about that.
Sent from my Evita

timmaaa said:
My mistake, I guess missed the credits, sorry about that.
Sent from my Evita
Click to expand...
Click to collapse
It's fine
Sent from my HTC One XL using XDA Premium 4 mobile app

Deleted

timmaaa said:
You might want to mention that the 2.15 firmware is only really necessary/recommended for users wanting to run Android 4.2.2 Sense 5 ROMs. It isn't required for anything else. You might also want to mention that the work isn't your own, and give credit to all the people that actually did the work on these exploits.
Sent from my Evita
Click to expand...
Click to collapse
What about 2,14 firmware? Is it necessary for Sense 5 JB 4.2.2 ROMs?

MRaaJR said:
What about 2,14 firmware? Is it necessary for Sense 5 JB 4.2.2 ROMs?
Click to expand...
Click to collapse
No. It's the 2.15 firmware that's recommended for the Sense 5 ROMs.
Sent from my Evita

MRaaJR said:
What about 2,14 firmware? Is it necessary for Sense 5 JB 4.2.2 ROMs?
Click to expand...
Click to collapse
Well you can use 2.14 firmware but to fix any issues that come with sense 5 you will need to use Zarboz Kernel... If you update to 2.15 firmware that was made for Sense 5 4.2.2 you won't have any issues... But to upgrade firmware you must be S-Off
Sent from my HTC One XL using XDA Premium 4 mobile app

Where can i get 2.15 firmare....i tried to find on androidruu but did not get it
Sent from my HTC One XL using XDA Premium 4 mobile app

It's in the first post of Turge's stock Sense 5 ROM thread.
Sent from my Evita

haq.adnan said:
Where can i get 2.15 firmare....i tried to find on androidruu but did not get it
Sent from my HTC One XL using XDA Premium 4 mobile app
Click to expand...
Click to collapse
timmaaa said:
It's in the first post of Turge's stock Sense 5 ROM thread.
Sent from my Evita
Click to expand...
Click to collapse
It's also in 4th post.
Sent from my HTC One XL using XDA Premium 4 mobile app

Yeah, searching and reading would have found that.
Sent from my Evita

Need minor help
[*] Run: fastboot flash zip
Click to expand...
Click to collapse
Please update this command some 1 .,.... i get unknown partition when i just type it like that ... if i type the file-name.zip i still get the same error. I have used Fastboot, just wanna know which partition to flash the 2.15 firmware in....
FYI: on 3.18 RUU
My System Details
**UNLOCKED**
EVITA PVT SHIP S-OFF RL
CID-11111111
HBOOT-2.14.000
Radio-0.24p.32.09.06
Hope i am not much of a trouble. Tc Have a nice day.
FIXED: its "fastboot flash zip filename.zip" & u should not change the default filename which also throws error. Pulled from Turge's Stock Rom post. All creditz to him.

What changes from 2.14 to 2.15?
Sent from my HTC One XL using xda app-developers app

johnnyham89 said:
What changes from 2.14 to 2.15?
Click to expand...
Click to collapse
The most significant change is (suspected) to have to do with the radio included in the 2.15 firmware package. The power save function on Sense 5 ROMs cause signal drop and reboot issues for some folks, likely having to do with older radios not playing well with the power save function.

Thanks redpoint! Those are the exact problems that I am experiencing! Time to upgrade!!!!
Sent from my HTC One XL using xda app-developers app

Related

[GUIDE] Upgrade to ATT 2.20 OTA Safely

Ok this is a simple guide more for newer users as older members here already will know this information probably.
As people may have heard there is a new OTA for ATT. I and gunnyman bit the bullet to see if the old way of doing things ( upgrading, etc as long as you already had unlock token ) still worked with this new base and OTA.
Im proud to say yes. thanks to gunnyman and zounduser for help and hopes that I made it though un harmed lol
Disclaimer As usual this works as I am proof. However I cant be held liable if you mess up your phone! This only works for those who are already unlocked rooted etc.
Here are the steps to getting the update safely.
Prerequisites:
1. You must already be unlocked with supercid and have your Unlock_code.bin file still on your pc. ( there is a thread for this )
2. you must be rooted
3. You must have an understanding of adb and how it works (threads all over xda)
4. Have an RUU available I used 1.85
5. copy of custom recovery twrp 2.1.8.1 is what i used
6. copy of superuser in a zip available in attachments at bottom.
7. Disable HTC SYNC from running!
Here we go:
1. Reboot your phone into fastboot
2. Open a command promp and point to your adb directory. Type the following command: fastboot oem lock
This will lock your bootloader allowing you to RUU
3. Open the 1.85 RUU file.
4. Go through the RUU process.
5. Once you have finished RUUing boot the phone up if it isint booted already
6. Do a minimal setup just skip through the initial set up screens.
7. Check for att software update.
8. A box will appear saying a security update is available. enable your wifi and download it.
9. Allow the update to install
10. After the update finishes ( takes roughly 8-10 mins) some faster some longer. Boot the phone if it isin't booted ( should be ) disable fastboot under system settings power. Enable USB debugging under system developer options.
11. Attach your phone to your pc if it isint already.
12. Open a command promp and point to your adb directory.
type: adb reboot bootloader. If you get an error from adb type adb reboot-bootloader
13. Locate your unlocktoken Unlock_code.bin and place it in the same folder as your adb, fastboot, etc if its not already there from the last time you unlocked.
14. Flash your unlock token. Open a command prompt and type:
fastboot flash unlocktoken Unlock_code.bin
15. Once the token flashes before selecting yes to unlock, unplug your phone from pc. After you unplug it go ahead and select yes.
16. Once phone boots up do a minimal set up as before. Plug your phone back in to pc. Open command prompt and type: to verify unlock
adb reboot bootloader if you get an error from adb type adb reboot-bootloader
you should now see UNLOCKED at the top. If not repeat number 14 until it sticks can take a few tries.
17. If your screen says unlocked, flash your custom recovery. Locate your recovery flash it by typing in command promp: fastboot flash recovery recoveryname.img ( twrp2.1.8.1.img is mine replace with whatever yours is)
18. Once you have the recovery flashed reboot the phone.
19. Plug the phone in and select disk drive. Copy the superuser zip over to your sd card.
20. After that select charge only, open a command prompt and type:
adb reboot recovery
21. Once in recovery locate the superuser zip and flash it.
22. Reboot enjoy you should now be on OTA 2.20 Unlocked, Rooted, etc
O one thing I forgot Please hit thanks if this helped you!
Issues:
1. If you update you will get a newer hboot, you may not be able to use other older ruu's such as 1.85, etc. Recommend immediately making a backup once rooted, unlocked, etc.
2. Updating results in boot.IMG from custom roms not being flashed again. Have to flash the boot.IMG of custom Rom in fastboot as before.
3. Radio.img will not flash on new hboot either must be done in fastboot same as boot.img.
Wanna dd a radio img for me?
Sent from my HTC One X using xda app-developers app
First.. lol thanks man, nice guide!!! Site this will help our nooblets
Sent from my HTC One XL using xda app-developers app
Yeah, we want radio. Good guide too.
Sent from my HTC One X using xda premium
Thought gunnyman switched to the dark side and got a galaxy lol
Sent from my HTC One X using xda app-developers app
InflatedTitan said:
Thought gunnyman switched to the dark side and got a galaxy lol
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
He came Back!
if you have a higher hboot. u cant RUU with a lower hboot correct?
daddioj said:
if you have a higher hboot. u cant RUU with a lower hboot correct?
Click to expand...
Click to collapse
Hmm dunno that one. I was on 1.85 CleanROM 4.5 asia2.23 base when I went to new OTA. I thought as long as one had super cid RUU would work either way up or down software.
thanks for the tutorial.
john9 said:
thanks for the tutorial.
Click to expand...
Click to collapse
Welcome
eraste said:
Hmm dunno that one. I was on 1.85 CleanROM 4.5 asia2.23 base when I went to new OTA. I thought as long as one had super cid RUU would work either way up or down software.
Click to expand...
Click to collapse
well yea if you a custom rom. base dont matter b/c hboot does not get updated. i went to offical asia RUU and hboot got updated i am pretty sure u cant go backwards without s-off i could be wrong though
Any idea if root exploit works after update? People are saying it won't work on 1.85 now bc of update on server.
Sent from my HTC One X using xda app-developers app
drummaniac83 said:
Any idea if root exploit works after update? People are saying it won't work on 1.85 now bc of update on server.
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
its right in the OP. as long as YOU HAVE the unlock code file from htc dev already you can update then unlock and root with the file posted. but if you didnt unlock already DO NOT UPDATE i dont think anyone knows yet
or are u talking about the original 1.85 exploit?
daddioj said:
or are u talking about the original 1.85 exploit?
Click to expand...
Click to collapse
Orignal exploit. I'm on 1.85 non root. Was going to root this weekend since CR 4.5 was final. DOH!
Sent from my HTC One X using xda app-developers app
drummaniac83 said:
Any idea if root exploit works after update? People are saying it won't work on 1.85 now bc of update on server.
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
I do not know that one as it was designed for 1.85 I would say no. People are working on root for the ota as we speak
eraste said:
I do not know that one as it was designed for 1.85 I would say no. People are working on root for the ota as we speak
Click to expand...
Click to collapse
Good to know. I got my One x last month from att with 1.85 loaded. I think I'm fine without the update. I'll stick to custom ROMs lol. And your awesome boot animations :thumbup:
Sent from my HTC One X
Updating now.
I prefer to run sense roms based on ATT, just seem to work a bit better imo.
Besides, with what i know of the 4.0.4 (clean rom) it is much smoother and all around much better than the 4.0.3 we got originally, may not need to run a custom rom to get the results i require (though i probably still will haha).
so if im unlocked, i can update and worry about rooting and unlocking tomorrow since i already have the unlock.bin file ?
Sent from my HTC One X using xda app-developers app
Psst; the command to rebooting to bootloader is 'adb reboot-bootloader'
...that hyphen is pretty important.
JSLEnterprises said:
Psst; the command to rebooting to bootloader is 'adb reboot-bootloader'
...that hyphen is pretty important.
Click to expand...
Click to collapse
hmm adb setup on my pc doesnt require that particular hyphen. I never have to use " either thought that was a little wierd. It works tho. I do need that hypen when doing kill-server start-server tho. Those are the only two commands that seem to not work without it for me.
thanks ill update lines.

Downgrading firmware within the same HBOOT

Hi guys,
I was having a chat with beaups the other day and he decided to impart part of his knowledge onto me. All of the below info is Thanks to him.
This is the process i used to downgrade my firmware from 3.17.841.9 to 3.17.841.9 on a Telstra One XL.
Apparently the 3.17.841.9 update placed a write protection on the CID partition, so the only way to gain SuperCID, then S-OFF to install an AOKP Rom is to downgrade.
This will only work if you stay within the same HBOOT versions. 3.17.841.9 and 3.17.841.2 are both on HBOOT 2.14. Both root and SU is needed.
To downgrade to 3.17.841.2, you'll need the ".2" zip, found here https://dl.dropboxusercontent.com/u/9060692/evita3178412.zip
First find the partition # for MISC by opening an adb shell then:
- "su" > to move to a root shell and then typing:
- "cat /proc/emmc" > to find the MISC partition. Mine was mmcblk0p23:
- "echo -ne "1.00.000.0" | dd of=/dev/block/mmcblk0p23 bs=1 seek=160" > Make sure you use what ever you MISC partition is if it's different to 23. That command will alter what firmware version you phone thinks it is. The android OS will still state the old version, so we need to check it in fast boot. therefore reboot the phone to fastboot, wait for "fastboot USB" to show then type:
- "fastboot getvar mainver" > This should show 1.00.000.0. Now we need to flash the 3.17.841.2 zip. Therefore:
- "fastboot oem lock" > to relock the bootloader. Ensure you still have your unlock.bin file to re-unlock it later. Next:
- "fastboot oem rebootRUU" > to reboot the RUU in order to send the zip file. Then:
- "fastboot flash zip evita3178412.zip" > This is where my attempt hit a little snag where i got a "FAILED (remote: 90 hboot pre-update! please flush image again immediately)" error. If that happens, just run rebootRUU and try to flash again. On the third time it worked. After it completes:
- "fastboot reboot" > to reset the phone. Now to check if the flash took:
- "fastboot getvar mainver" > it should say 3.17.841.2 after that.
Now you have a firmware that you can write on the CID partition to gain SuperCID.
In my case, the next steps were to unlock, recovery, root and then supercid.
Unlock > use the "fastboot flash unlocktoken [your unlockcode.bin]" command
Recovery > i used the TWRP http://forum.xda-developers.com/showthread.php?t=1677447
Root > boot into TWRP and install the Super SU (or superuser) zip. I used this one http://forum.xda-developers.com/showthread.php?t=1538053
SuperCID > i first tried this method but then beaups showed me a much better way. Run the following command from a root adb shell:
echo -ne "22222222" | dd of=/dev/block/mmcblk0p5 bs=1 seek=20
Reboot to bootloader and hopefully you'll see 22222222 as your CID
Ooo smart. Editing the file directly rather than pushing and pulling.
Sent from my One X using xda app-developers app
Chances are this won't work for 3.18 at&t right? Lol.... Oh wait.. duh yeah I didn't read it completely. Waist of comment I know. At&t HTC one x only had one update that has hboot 2.14
Sent from my HTC One X using xda app-developers app
Megadoug13 said:
At&t HTC one x only had one update that has hboot 2.14
Click to expand...
Click to collapse
And AT&T phones can't unlock boot loader so can't flash root which is another requirement.
Good write-up Austempest :good:
I did the same, thanks to beaups, who walked me through this the other day as well.
Worked perfect.
beaups also suggested making a full backup prior to flashing the 3.17.841.2 zip., and copy it to your PC just in case.
I found after I had change the CID I had to reload my ROM (Viper from scratch) don't know why, the nandroid did not work very well.
Thanks again, I am now S-off
FSB said:
I found after I had change the CID I had to reload my ROM (Viper from scratch) don't know why, the nandroid did not work very well.
Click to expand...
Click to collapse
I was running a stock Telstra rom, I did the backup but it wasn't needed.
Sent from my HTC One (M7) using the xda-developers app
Austempest said:
SuperCID > i first tried this method but then beaups showed me a much better way. Run the following command from a root adb shell:
echo -ne "22222222" | dd of=/dev/block/mmcblk0p5 bs=1 seek=20
Reboot to bootloader and hopefully you'll see 22222222 as your CID
Click to expand...
Click to collapse
Thanks a million mate for sharing this one, saved me a lot of time and trouble :good:
Austempest said:
To downgrade to 3.17.841.2, you'll need the ".2" zip, found here **evita3178412.zip**
Click to expand...
Click to collapse
Hey would anyone have the .2 zip? Dropbox is 404ing :S Thanks
konradthecat said:
Hey would anyone have the .2 zip? Dropbox is 404ing :S Thanks
Click to expand...
Click to collapse
I am getting this error when trying to flash the OTA zip file
FAILED (remote: 12 signature verify fail)
Ideas?
Cheers.
EDIT: It appears the OTA zip won't work for this, and the source download is missing. Can someone please up the file from OP.
Thanks.
This post has been up for a little over a month and I doubt many have downloaded that file. I would just use the jet tool or pm op.
Sent from my HTC One X using xda app-developers app
It is just firmware.zip from 3.17.841.2 ota. Extract it from the ota and follow the instructions.
Sent from my HTC One XL using xda app-developers app
twistedddx said:
It is just firmware.zip from 3.17.841.2 ota. Extract it from the ota and follow the instructions.
Sent from my HTC One XL using xda app-developers app
Click to expand...
Click to collapse
Good to know. thanks mate
I'll upload it tomorrow for you guys
Sent from my HTC One (M7) using the xda-developers app
twistedddx said:
It is just firmware.zip from 3.17.841.2 ota. Extract it from the ota and follow the instructions.
Click to expand...
Click to collapse
@twistedddx is correct, but if your lazy, I've uploaded it to my dropbox, feel free to use it.
http://db.tt/NVkkNlV9
I got this file from @beaups
twistedddx said:
It is just firmware.zip from 3.17.841.2 ota. Extract it from the ota and follow the instructions.
Click to expand...
Click to collapse
And just in case people get crazy ideas. I would not go flashing random firmware.zip from any ota etc. firmware.zip typically only contains things to be updated. The first Jelly Bean update for each region had a "full" firmware.zip, just like they had a full system image.
Care should be taken with other firmware.zip packages that may be only partial updates, you could brick your phone if you update some parts without updating other parts. Eg applying firmware.zip from 3.17.841.9 could be risky if applied over a 2.40.841.4 phone.
still cant rewrite the CID, even when installing the downgraded firmware, fastboot get mainver shows the correct (downgraded) firmware, but still cannot write that new CID.. any ideas?
Just use jet tool
Sent from my One X using xda app-developers app
thanks guys. this downgrade has saved me a lot of hair pulling!

[Q] Can't update CM 10.1 OTA

I'm having issues updating to the latest version of CM 10.1. I currently run CM10.1-2013-0509-UNOFFICIAL-evita (4.2.2, May 9 2013) and when I try to update OTA I get the following error:
assert failed: getprop("ro.bootloader") == "2.14.000"
E: Error in sdcard/cmupdater/cm-10.1-2013030725-NIGHTLY-evita.zip
(Status 7)
Installation aborted
Click to expand...
Click to collapse
I've been trying to research the solution on my own and I'm confused. I think my hboot is out of date but in order to update it I need to have s-off and Super CID enabled (or change my CID to 111111 or 00000, can't remember which). Anyways, can anyone give me some guidance on how to get the latest CM versions installed?
Yeah you have to s-off and then run the 3.18 ruu. No way around it.
Sent from my evita
Fastboot OEM readcid will give you your current cid. If your phone is from at&t you should have it already. What hboot are you on right now?
Sent from my One X using xda app-developers app
RollTribe said:
Yeah you have to s-off and then run the 3.18 ruu. No way around it.
Sent from my evita
Click to expand...
Click to collapse
Can you point me in the direction of some guides? I've found different posts and guides and it's all confusing as I'm not sure which order to follow or if they all apply to my phone.
exad said:
Fastboot OEM readcid will give you your current cid. If your phone is from at&t you should have it already. What hboot are you on right now?
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
My phone is from Rogers, I'm on hboot 1.11
I found a guide for fastboot oem readcid which reads:
Connect your phone with USB Debugging enabled
Open up an adb shell (if you don't know how to do this, Google it!)
Reboot into fastboot mode in the Bootloader.
Type: fastboot oem writecid 11111111
Type: adb reboot-bootloader
Type: fastboot oem readcid
If it says 11111111 then you have SuperCID
You can reboot as normal
Click to expand...
Click to collapse
When following the steps (only typing fastboot oem readcid, not the other lines) my cid is stated as: ROGER001
I do have S-ON enabled if that matters. I know I have to disable it but I'm not sure if I have to do that before or after I rewrite my CID, against some more confusion on my part and I've read doing it wrong can brick my device.
http://forum.xda-developers.com/showthread.php?t=2349919
Sent from my HTC One X using xda app-developers app
exad said:
http://forum.xda-developers.com/showthread.php?t=2349919
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
So I followed the steps and was able to enable S-OFF and achieve CID 11111111. I tried to update the hboot following the instructions here: http://forum.xda-developers.com/showthread.php?t=2156686
I tried installing the first version of the Hboot and when I rebooted the screen hung on the CM 10.1 boot logo. I tried to enter recovery through fastboot but a red exclamation mark screen would load. I reinstalled recovery through fastboot and then tried to do a factory reset through recovery and fastboot and my device is now stuck on the HTC logo when booting. I've tried reinstalling different versions of hboot (which I downloaded from those instructions) and nothing happens. Please advise, as of now my phone won't boot.
Edit:
I think what caused this problem was flashing this file: /ALL FILES FROM OTA 3.17 T-MO germain hboot 2.14 (incl recovery and other firmware files, be careful with that).
I'm pretty sure I did the firmware and recovery files as it took 60s to flash and I remember seeing a lot of RADIO files being written. My cell phone is a Rogers cell phone is there a stock version I can re-flash to make it work?
Edit II:
I was able to mount my phone via recovery and install cm 10.1. However, the phone isn't responding to any touch.
Which version of CM10.1 did you install? It sounds like it's an older one because they're not compatible with the newer touchscreen firmware. Download the latest nightly and flash that and you should be ok.
Sent from my Evita
Okay I finally got her working. I followed instructions here http://forum.xda-developers.com/showthread.php?t=2159863 to re-install the touch panel firmware, installed the corrected hboot update and upgraded to the latest cm 10.1. Cheers to everyone who contributed and helped me out!
For anyone who may find this thread in the future, the best thing to do would have been run an older RUU because there is no 3.17 RUU i believe and then either install the ota through stock recovery or Download the OTA through android (check for updates)
exad said:
For anyone who may find this thread in the future, the best thing to do would have been run an older RUU because there is no 3.17 RUU i believe and then either install the ota through stock recovery or Download the OTA through android (check for updates)
Click to expand...
Click to collapse
I was wondering if you could help me as I am getting the same error as the original poster and I can't update cyanogenmod. The only difference I think is that I am on the AT&T htc one x. I'm just looking for some direction so I don't end up bricking my phone. Thanks!
Are you s-off?
Sent from my HTC One X using xda app-developers app
exad said:
Are you s-off?
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Nope! I have super cid never bothered with s-off. Is it required? I'm also on hboot 1.14...
You can't be serious.
Did you not read the rest of this thread? Or the clear install instructions on the cm10.1 thread? Must s-off and RUU to 3.18. Ugh.
Sent from my Evita

[GUIDE]{Simplified} HTC DHD S-OFF

I have also created an automated Tool for S-Off . Those who find this guide difficult to understand and download and use the tool from the thread
HERE
After the advanced ace hack kit (AAHK) was taken down, it was a bit tough to get an S-Off on our devices. The existing guides never explained anything much.
So , I will be explaining and trying to simplify the S-Off method for HTC Desire HD.
Please note: I take absolutely no CREDIT for this. All I have done is simplified it.
The following goes unsaid.
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about directions in this method
* before following it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Please donot ask me what fastboot mode is or how to boot into it or the advantages of an "S-OFF". I have only made this guide a bit simplified , but not noob friendly. This is still for advanced users and in addition for intermediate users.
Requirements
Your device must be rooted and the bootloader must be unlocked
Android sdk tools must be installed
Please make sure you have the Unlock_code.bin that you used to unlock the bootloaders since you will need it.
Most Important : Please follow the instructions exactly, Don't exit from shell unless I ask you to. I will not entertain any PMs or posts if you don't follow them.
Directions
I would prefer using a linux machine for this, but the choice is upto you.
1 . Download and extract this and cd into the directory in your terminal / CMD window and push the following files
Code:
#~adb push misc_version /data/local/tmp
#~adb push goldcard /data/local/tmp
#~adb push gfree /tmp/
2 . Make sure you have the original "boot.img" of your ROM on you PC HDD.
3 . Make a Goldcard in the following way
Code:
#~adb shell
$~su
#~chmod 775 /data/local/tmp/goldcard
#~cat /sys/class/mmc_host/mmc2/mmc2:*/cid
This will generate the CID. Copy the generated CID
Code:
#~/data/local/tmp/goldcard -c <YOUR_CID_HERE> -o /data/local/tmp/goldcard.img
#~dd if=/data/local/tmp/goldcard.img of=/dev/block/mmcblk1
This should create the Goldcard.
4. Next to lower the main version
Code:
#~chmod 775 /data/local/tmp/misc_version
#~/data/local/tmp/misc_version -s 1.11.111.1
#~reboot bootloader
5. Next relock the bootloader
Code:
#~fastboot oem lock
6. Flash the firmware.zip in RUU
Code:
#~fastboot oem rebootRUU
#~fastboot flash zip firmware.zip
#~fastboot reboot-bootloader
7. Unlock bootloader with the Unlock_code.bin got from HTC's Developer site
Code:
#~fastboot flash unlocktoken Unlock_code.bin
8. Next flash your ROM's boot.img
Code:
#~fastboot flash boot boot.img
9. Next flash the recovery.img
Code:
#~fastboot flash recovery recovery.img
#~fastboot boot recovery.img
Don't worry : The screen will stay blank. ADB will work.
10. Now to S-OFF...
Code:
#~adb shell
#~chmod 775 /tmp/gfree
#~/tmp/gfree -f
#~reboot bootloader
Now the device will reboot to bootloader. And you will see that your device as been S-Offed.
11. Next step is to enter fastboot mode on the device. (Please keep the device connected to the PC)
Choose the appropriate Hboot_xxxx.zip file for your phone
Code:
#~fastboot oem rebootRUU
#~fastbbot flash zip hboot_xxxxx.zip
#~fastboot reboot
12. Now flash CWM recovery
Download file from here
Pull battery out and reinsert. Boot phone to fastboot mode.
Connect to PC.
Code:
#~fastboot flash recovery recovery-clockwork-touch-5.8.1.5-ace.img
That's it!! Now flash your favourite ROM and reboot.​
CREDITS
The Guy who posted the original method here
Cheers!!
Module returned an unknown code (No such file or directory).
Hmm, i tried this, but at the last few steps (tmp/gfree -f) i get this error,
Code:
Attempting to power cycle eMMC... Failed. Module returned an unknown code (No such file or directory).
i rebooted into the bootloader and the status was still:
"***** AAHK *****
ACE PVT ENG S-ON RL
HBOOT-0.85.2425
etc, etc
my device was fully s-off before this, I'm not a noob either lol
humzaahmed155 said:
Hmm, i tried this, but at the last few steps (tmp/gfree -f) i get this error,
Code:
Attempting to power cycle eMMC... Failed. Module returned an unknown code (No such file or directory).
i rebooted into the bootloader and the status was still:
"***** AAHK *****
ACE PVT ENG S-ON RL
HBOOT-0.85.2425
etc, etc
my device was fully s-off before this, I'm not a noob either lol
Click to expand...
Click to collapse
Did you run this as root in adb ?
deathscream said:
Did you run this as root in adb ?
Click to expand...
Click to collapse
I ran the process in recovery, I didn't think I'd have to use su to complete the process, I'll try it again with root access
Sent from my Desire HD using Tapatalk 4
Edit: followed it step by step on linux as well, while doing "adb push gfree /tmp/" i got the error "failed to copy 'gfree' to '/tmp/': Is a directory"
atleast when you explain the guide you need to explain that you need a STOCK rom, not anything else.you must have 2.3.5 with the stock kernel and gfree will work then.Any other ROM/Kernel combo and it will give the same error.
Steam. said:
atleast when you explain the guide you need to explain that you need a STOCK rom, not anything else.you must have 2.3.5 with the stock kernel and gfree will work then.Any other ROM/Kernel combo and it will give the same error.
Click to expand...
Click to collapse
Oh right okay, I was running cm10.1 the whole time /: I'll try with a stock rooted ROM
Sent from my Desire HD using Tapatalk 4
Steam. said:
atleast when you explain the guide you need to explain that you need a STOCK rom, not anything else.you must have 2.3.5 with the stock kernel and gfree will work then.Any other ROM/Kernel combo and it will give the same error.
Click to expand...
Click to collapse
Well it's not true. I ran this running cm10.1 pipeliner's rom .
deathscream said:
Well it's not true. I ran this running cm10.1 pipeliner's rom .
Click to expand...
Click to collapse
Hmm, any ideas on why it isn't working?
Sent from my Desire HD using Tapatalk 4
humzaahmed155 said:
Hmm, any ideas on why it isn't working?
Sent from my Desire HD using Tapatalk 4
Click to expand...
Click to collapse
go ahead try it on stock, you'll see it will work right off the bat.
backup your current rom, it's easy to restore afterwards.why go through all the trouble when the solution is nitr00's rooted stock rom.
Steam. said:
go ahead try it on stock, you'll see it will work right off the bat.
backup your current rom, it's easy to restore afterwards.why go through all the trouble when the solution is nitr00's rooted stock rom.
Click to expand...
Click to collapse
Yeah I'm just going to do a nandroid, flash the ROM, and get it over with, at the start I had the official eng boot loader, the 0.85.***7 one, I saw the aahk one and wanted that because it was newer (generally I go for the latest version on everything ) I flashed it over fastboot and ended up having s-on, it was pretty annoying to find that the tool I used to get the other eng boot loader quit working too (Easy one click s-off)
Sent from my Desire HD using Tapatalk 4
Annoyingly enough, every gingerbread sense rom that i flash gets stuck at a black screen just after the splash screen, adb will not pick it up either.
Hold the phone! I forgot to flash the boot.img seperately
Yet another edit: i'm still getting the error "Failed to copy 'gfree' to '/tmp/': Is a directory" I'm running the stock rooted rom too.
I found the problem, it was indeed a typo on your part, '/tmp/' isn't a directory when it has the slash at the end too, its supposed to be "/tmp"
Completed the whole process using the guide on the aahk website instead

[DISCUSSION][GUIDE][S4] Liberty MAX - Innovation is Here | Flashing Instructions

This is a general discussion thread for Liberty ROM
Please ask any question you may have and I'll try to answer it as best I can.
Somebody asked for instructions on how to install Liberty ROM and New Firmware so here they are:
Installation of leaked firmware (HBOOT 2.16) and Liberty ROM
WARNING - This WILL wipe your SD Card so back up your files before proceeding
Make sure HTC Sync is REMOVED and drivers are installed. Get drivers: Here
Charge your phone to AT LEAST 60% just in case
If you are S-OFF proceed to step 3, if not continue to step 2.
If your phone is from T-Mobile (US & Germany), Telus or Boost Mobile use Moonshine S-OFF
If you have the international model use: Facepalm S-OFF, Firewater S-OFF or Rumrunner S-OFF (Rumrunner is the easiest in my opinion)
Note that people with the T-Mobile, Telus or BM model CAN use Facepalm, Firewater and Rumrunner as well but international users CANNOT use Moonshine
Now use one of these methods to S-OFF (You cannot proceed if you are S-ON)
Now download the new firmware: Here
Extract the file to a convenient location (Like Desktop)
Open the Install Package folder, press the Shift key, Right-Click while holding Shift and select Open Command Window Here
If your phone is on type:
Code:
adb reboot oem-78
and hit enter
If you are in the bootloader, select Fastboot and type:
Code:
fastboot oem rebootRUU
and hit enter
Now type:
Code:
fastboot flash zip firmware.zip
and hit enter
You should get a message like this: "FAILED (remote: 90 hboot pre-update! please flush image again immediately)". Do not panic just type the command above again.
The green bar on the screen should stop at about 80-90% but do not worry, this is normal.
Now to flash the required recovery type this:
Code:
fastboot flash zip TWRP_2.6.1.0_ville_4.2.2.zip
and hit enter.
Now reboot into the bootloader by typing:
Code:
fastboot reboot-bootloader
and hit enter.
Once in the bootloader select Recovery
When you are in recovery go to Advanced then ADB Sideload
Now you download the ROM: Here. (Latest release is V3)
Now place LIBERTY-S4-Vx.zip into the Install Package folder (The x represents version number, e.g V4
Now open a new command window by holding Shift and Right-Click at the same time and selecting Open Command Window Here
Next you must type:
Code:
adb sideload LIBERTY-S4-V3.zip
and hit enter.
Make sure the screen is on when the sideload is almost 100% complete as TWRP freezes for some reason.
Now follow the instructions in the installer, make sure you select Wipe Data during installation and Reboot when the installation process is finished.
Finished
Alright, I'll try it again here:
Does this ROM enable Bluetooth 4.0 (LE) on the One S?
floppes said:
Alright, I'll try it again here:
Does this ROM enable Bluetooth 4.0 (LE) on the One S?
Click to expand...
Click to collapse
yes it does
Could you maybe post more detailed installation instructions? Do we have to be S-OFF? Should we full wipe before installing?
v3 isnt boot ..
im in hboot 2.16 and soff.
I flash boot_2.16.img and the boot file of v2 again in fastboot and nothing changed
but in v2 it boot like a charm
help
mizutany1996 said:
v3 isnt boot ..
im in hboot 2.16 and soff.
I flash boot_2.16.img and the boot file of v2 again in fastboot and nothing changed
but in v2 it boot like a charm
help
Click to expand...
Click to collapse
Try re downloading the rom
Buembel said:
Could you maybe post more detailed installation instructions? Do we have to be S-OFF? Should we full wipe before installing?
Click to expand...
Click to collapse
hboot 2.16 and liberty rom instructions posted
What are the advantages of sense 5.5 coming from Maximus hd?
Sent from my HTC One S using xda app-developers app
Jeeza said:
What are the advantages of sense 5.5 coming from Maximus hd?
Sent from my HTC One S using xda app-developers app
Click to expand...
Click to collapse
You can change Blinkfeed country location now and possible power drain fixes.
TheEndHK said:
You can change Blinkfeed country location now and possible power drain fixes.
Click to expand...
Click to collapse
What do you mean with "possible"?
Jeeza said:
What do you mean with "possible"?
Click to expand...
Click to collapse
He means that there could be battery drain fixes but he is not sure
i'm on MaximusHD 10.1
twrp 2.6.1.0
hboot 2.16
can i directly flash rom with full wipe ?
yatin kumar said:
i'm on MaximusHD 10.1
twrp 2.6.1.0
hboot 2.16
can i directly flash rom with full wipe ?
Click to expand...
Click to collapse
yes
Jeeza said:
What are the advantages of sense 5.5 coming from Maximus hd?
Sent from my HTC One S using xda app-developers app
Click to expand...
Click to collapse
If I remember correctly in sense 5.5 you can use blinkfeed to reed RSS news instead of only a few selected sources!!
But I haven't used the rom yet so I'm not sure, someone should confirm
What differences from a 4.2.2 rom? Better smoothness? Someone try it?
tommy92tc said:
What differences from a 4.2.2 rom? Better smoothness? Someone try it?
Click to expand...
Click to collapse
so far version 4 is slightly less laggier than v3 but not smooth enough yet and sense 5.5 has new blinkfeed features and some interface tweaks in various apps
Superuser
Hi folks
I used this to install Superuser on Liberty V-5 . Flashed thru recovery. It's for the HTC One M7 but seems to work on ours.
Thanks to @nkk71 for the link.
http://forum.xda-developers.com/showthread.php?t=2506954 Post No# 2
HTC One S
S4
S-off
2.16 Bootloader
TWRP
fgw3987 said:
Hi folks
I used this to install Superuser on Liberty V-5 . Flashed thru recovery. It's for the HTC One M7 but seems to work on ours.
Thanks to @nkk71 for the link.
http://forum.xda-developers.com/showthread.php?t=2506954 Post No# 2
HTC One S
S4
S-off
2.16 Bootloader
TWRP
Click to expand...
Click to collapse
Its for all devices and the latest version download is here: SuperSU v1.94.zip
dd98 said:
This is a general discussion thread for Liberty ROM
Please ask any question you may have and I'll try to answer it as best I can.
Somebody asked for instructions on how to install Liberty ROM and New Firmware so here they are:
Installation of leaked firmware (HBOOT 2.16) and Liberty ROM
WARNING - This WILL wipe your SD Card so back up your files before proceeding
Make sure HTC Sync is REMOVED and drivers are installed. Get drivers: Here
Charge your phone to AT LEAST 60% just in case
If you are S-OFF proceed to step 3, if not continue to step 2.
If your phone is from T-Mobile (US & Germany), Telus or Boost Mobile use Moonshine S-OFF
If you have the international model use: Facepalm S-OFF, Firewater S-OFF or Rumrunner S-OFF (Rumrunner is the easiest in my opinion)
Note that people with the T-Mobile, Telus or BM model CAN use Facepalm, Firewater and Rumrunner as well but international users CANNOT use Moonshine
Now use one of these methods to S-OFF (You cannot proceed if you are S-ON)
Now download the new firmware: Here
Extract the file to a convenient location (Like Desktop)
Open the Install Package folder, press the Shift key, Right-Click while holding Shift and select Open Command Window Here
If your phone is on type:
Code:
adb reboot oem-78
and hit enter
If you are in the bootloader, select Fastboot and type:
Code:
fastboot oem rebootRUU
and hit enter
Now type:
Code:
fastboot flash zip firmware.zip
and hit enter
You should get a message like this: "FAILED (remote: 90 hboot pre-update! please flush image again immediately)". Do not panic just type the command above again.
The green bar on the screen should stop at about 80-90% but do not worry, this is normal.
Now to flash the required recovery type this:
Code:
fastboot flash zip TWRP_2.6.1.0_ville_4.2.2.zip
and hit enter.
Now reboot into the bootloader by typing:
Code:
fastboot reboot-bootloader
and hit enter.
Once in the bootloader select Recovery
When you are in recovery go to Advanced then ADB Sideload
Now you download the ROM: Here. (Latest release is V3)
Now place LIBERTY-S4-Vx.zip into the Install Package folder (The x represents version number, e.g V4
Now open a new command window by holding Shift and Right-Click at the same time and selecting Open Command Window Here
Next you must type:
Code:
adb sideload LIBERTY-S4-V3.zip
and hit enter.
Make sure the screen is on when the sideload is almost 100% complete as TWRP freezes for some reason.
Now follow the instructions in the installer, make sure you select Wipe Data during installation and Reboot when the installation process is finished.
Finished
Click to expand...
Click to collapse
i tried to achieve S-Off with Rumrunner , said ERROR : your are not rooted , although i unlocked my bootloader ! and it says in the prereq : unlocked bootloader OR rooted , not both ... what to do now ? help anybody ?
Hiken_Ace said:
i tried to achieve S-Off with Rumrunner , said ERROR : your are not rooted , although i unlocked my bootloader ! and it says in the prereq : unlocked bootloader OR rooted , not both ... what to do now ? help anybody ?
Click to expand...
Click to collapse
I would root and try again

Categories

Resources