I got my phone from my buddy and I'm not entirely sure if it is rooted or not.. in the bootloader it says unlocked. Hboot 1.50 s-on. Shooter xc. I have a custom ROM installed but have problems trying to flash new ones. Am I supposed to have s off? I'm very confused please help.
Jamesgr86 said:
I got my phone from my buddy and I'm not entirely sure if it is rooted or not.. in the bootloader it says unlocked. Hboot 1.50 s-on. Shooter xc. I have a custom ROM installed but have problems trying to flash new ones. Am I supposed to have s off? I'm very confused please help.
Click to expand...
Click to collapse
Gaining root is two steps on the EVO 3D. First, must have an unlocked bootloader, which you mention you have. Second, need to have the proper files setup/installed for root. Most custom ROMs have root access properly setup. If you're in doubt, grab my free app, Root Check Basic and it will confirm whether or not root access is properly setup. If you want more technical details around the root setup, grab Root Check Pro.
As for flashing new custom ROMs, there is only one limitation to the HTC unlock method compared with the previous hacked methods of s-off, kernel write access is blocked when booted in recovery mode.
This means there are only two methods you're able to gain write access to loading the kernel with HTC unlock method: fastboot and normal android mode.
1) Normal Android Mode: My application, Flash Image GUI, will allow you to select a ROM or kernel .zip file and it will flash the kernel along with the WiFi/WiMAX modules. If a ROM .zip was selected, then reboot into the custom recovery and flash the rest of the ROM.
2) Boot the custom recovery in fastboot mode which grants it write access to the kernel partition. This requires a computer and the android-sdk with inclues adb and you'll need the fastboot binary. The command for this is: fastboot boot c:\downloads\custom-recovery.img. Once you're in the fastboot boot custom recovery, you're able to load any ROM or Kernel .zip file and HTC grants write access to the kernel partition.
Hope that helps! Good luck!
Hi I've been doin a lot of reading of this forum. My main question is can I install a no sense hc Rom from just performing an HTC unlock or do I need to downgrade to gb anyway in which case I may aswel go s off while I'm at it.
I'm running hc official ota
There is no true no sense rom available as of yet
ok but if i just used the htc unlock could i then easily flash the new virtuous rom which has just started been developed?
Problem is i cant find the correct ruu to downgrade my device, its a uk 16gb wifi . I thought id found it but the site wont let me download.
You should be able to flash clockwork, then a custom ROM through fastboot without downgrade and root.
Haven't done it myself, but that is my understanding of how the unlocked bootloader works versus real S-Off.
I managed to do this hardware unlock and now have an unlocked bootloader. Tried. To flash cwm and corrupted the recovery. How do you install CWM through fastboot?
aranzou said:
I managed to do this hardware unlock and now have an unlocked bootloader. Tried. To flash cwm and corrupted the recovery. How do you install CWM through fastboot?
Click to expand...
Click to collapse
You have get CWM recovery, go into fastboot, connect USB, and then install via command prompt.
If you are unaware of how to do this try installing recovery via Rom Manager. Might be your easier solution.
Thanks for the reply, I actually downloaded cwm from a post in the dev section. Flashed it through command line with fastboot and now when I boot from recovery the device is stuck on a white HTC screen.
Also tried to use Rom manager but the device has to be rooted first. Can you root it through fastboot without cwm? Can I get a download link for a working cwm?
aranzou said:
Thanks for the reply, I actually downloaded cwm from a post in the dev section. Flashed it through command line with fastboot and now when I boot from recovery the device is stuck on a white HTC screen.
Also tried to use Rom manager but the device has to be rooted first. Can you root it through fastboot without cwm? Can I get a download link for a working cwm?
Click to expand...
Click to collapse
Maybe the downloaded file corrupted?
Maybe you can use this link as reference:
http://forum.xda-developers.com/showthread.php?t=1194709
Credits go to @nlooooo for starting this thread!
WARNING
I’m not responsible for bricked devices, all you do is on your own responsibility. Most of the processes I’ll mention will work with some vital parts of your phone, so if you don’t have enough courage or until you don’t understand all the things you should do I recommend not to get involved with this.
Click to expand...
Click to collapse
Ok, there's a tool for almost all of that. Tool is updated, but you need to be sure to click the button for the right recovery, explanation below.
1. UNLOCKING OF BOOTLOADER
Everything starts with this. Unlocking of bootloader will allow you to make changes to some critical partitions of your phone (boot, system and recovery) and will allow you to flash custom recovery that can be used for installing of custom roms, mods and all kind of flashable zips. However, it won't s-off your phone, and other critical partitions (bootloader, radio) remain inaccessible.
So, I won't explain how to do that. Why? Because if you successfully unlock bootloader on your phone it means that you received enough knowledge for the rest of the process and you're qualified to go further.
This process will factory reset your phone (erase data partition) so backup your stuff before you proceed.
Ok, now go to htcdev.com, register your account, go to unlock bootloader section, for the device choose 'All other supported models' and follow the instructions carefully everything is explained in details. Pay attention to 'Required resources' on the first page after confirmation - you need Android SDK platform tools Java Runtime Environment and HTC Sync installed and there are all needed links. Files mentioned in step 5 you will find in Android Bundle zip you downloaded in folder adt-bundle-windows-x86_64\sdk\platform tools.
Here are some useful links about Android SDK platform tools, you won’t be needing most of it but it won't be bad to read.
http://developer.android.com/tools/help/adb.html
http://android-dls.com/wiki/index.php?title=ADB
http://android-dls.com/wiki/index.php?title=Fastboot
http://wiki.cyanogenmod.org/wiki/fastboot
Remark: once unlocked bootloader can be relocked but can never be locked again. This can be done issuing command from fastboot:
fastboot oem lockThis means that on the top of you bootloader screen you’ll have a sign RELOCKED instead of LOCKED, which is a notice to HTC that you unlocked it once. Plus they have data about all users that requested unlock_code so they can deny your warranty whenever they want.
If you’ve successfully unlocked your phone bootloader we can proceed to the next step.
Click to expand...
Click to collapse
2. CUSTOM RECOVERY INSTALLING
- Go to this address:
http://forum.xda-developers.com/showthread.php?t=2502327There you can find custom recoveries for DesX. Some of them have a few bugs but they are generally functional. Download one of your choice, rename it to recovery.img and put it on the root of c: drive on your PC. Before downloading, read the thread linked to carefully, as it is important to check your hboot before installing a custom recovery.
Remark: you can use recovery image provided in WindyCityRockr's tool.
- Go here:
http://download.chainfire.eu/370/SuperSUdownload SuperSU, connect your phone to PC and put it somewhere on your phone sd card.
- Do not disconnect your phone from PC, reboot phone to fastboot on one of this ways :
1. choose restart from power menu and when the screen comes off wait for the buttons to turn off and immediately push volume down, the phone will boot to bootloader, then select fastboot from bootloader menu
2. issuing command
adb reboot-bootloaderfrom command prompt that will take you directly to fastboot
- once you’re in fastboot mode open command prompt, lead it to folder where you installed adb and fastboot (remark: unlocking bootloader guide pointed you to make a folder c:\Android for this) and issue commands
fastboot flash recovery c:\recovery.img
fastboot reboot-bootloader
fastboot erase cache
The second and third commands are not quite necessary but they don’t harm and leave your phone with no trails of previous recoveries. Now you can disconnect your phone from your PC.
Click to expand...
Click to collapse
3. BACKING UP STOCK ROM
Now it is really important to backup your stock ROM. Dependent on your CID and hboot version, you can't use RUU to get back to stock, especially if your phone is branded by your carrier. Also, RUUs are only available for ICS bootloader (hboot 1.24 and lower). For JB there are only nand backups for a few CIDs uploaded by some nice xda members. So if you definitely want to be able to get back to stock any time, you'll have to backup your current configuration first. That's done by:
Reboot your phone to recovery
Backup -> Select all partitions -> Swipe to BackupThat will take some time. After that's finished, you should make a copy of that backup somewhere safe (it's located on the sdcard in folder TWRP, just copy the whole folder somewhere).
Click to expand...
Click to collapse
4. ROOTING YOUR PHONE
- From fastboot menu choose bootloader and then recovery to reboot phone to recovery
- If you successfully boot to recovery choose options:
Install zip from sd card
Choose zip from sd cardNavigate to UPDATE-SuperSU-vx.xx.zip you stored on sd card and choose it. Once the installation is finished reboot your phone. Now you should see SuperSU app in app drawer and your phone is rooted.
Click to expand...
Click to collapse
5. CUSTOM ROMS INSTALLING
There are already quite a few ROMs available for our device. But watch out... many of them are discontinued, mostly the CM ROMs as well as the ROMs based off CM. Go here for the index:
http://forum.xda-developers.com/showthread.php?p=35735267#post35735267That’s the Index thread I created for all user to track development for our device. There you’ll find roms that can be installed.
I have to emphasize that every chef gives an instruction how to install his rom, so here I’ll just give you the basics for custom rom installing using custom recovery.
- Download the rom of your choice and put it on the sd card of your device
- Unpack boot.img from rom.zip and put it on the root of c: drive on your PC
- Reboot phone to recovery
- Choose option ‘wipe data/factory reset’
- Choose option ‘wipe cache partition’
- Choose option ‘advanced’ and in next menu choose ‘wipe dalvik cache’
- Go back to main menu and choose ‘install zip from sd card’ and then ‘choose zip from sd card’
- Navigate recovery to rom zip you put on sd card and choose it
- Wait until the installation is finished
- Reboot your phone to fastboot and connect it to your PC
- Open command prompt, lead it to folder where you installed adb and fastboot (remark: unlocking bootloader guide pointed you to make a folder c:\Android for this) and issue commands
fastboot flash boot c:\boot.img
fastboot reboot-bootloader
fastboot erase cache- Reboot your phone
The last few steps are needed since there is no way to s-off our device, so boot.img included in rom.zip has to be flashed separately via fastboot.
Remark: don’t ever forget for the golden rule of flashing ‘Always make a nand backup before you flash something'.
Click to expand...
Click to collapse
6. S-OFF
As S-OFF makes your device vibrating 7 tmes on each boot, you should really think about if you need it. If you are not sure about it, then it's not for you. If you still want to do it, go here:
http://forum.xda-developers.com/showthread.php?t=2630531
http://forum.xda-developers.com/showthread.php?t=2667156Use the first link to get to the files needed to do your S-OFF. In the second link you'll find the things you can do after the S-OFF procedure including downgrading the hboot in order to install RUUs etc.
Click to expand...
Click to collapse
Ok, I did what I had promised, all suggestions and corrections are more than welcome.
All this came as 2 years experience with HTC phones (had Desire and Incredible S before), unlocking, rooting and taking their guts out .
Sources and links posted:
- HTC Developers site
- WinDroid HTC Desire X Toolkit v2.1 made by WindyCityRockr
- Android Developers site
- Cyanogen Wiki site
- SuperSU made by Chainfire
- Thanks to ckpv5 for nand ICS backup thread
- Thanks to Izzy Stinson for pointing me to things not explained enough
- Sources for recoveries can be found in my recovery thread
- Thanks to GtrCraft for the idea to include the backup of stockrom
- Thanks to nightwalkerkg and the rumrunners team for getting us the S-OFF
- Again thanks to ckpv5 for the S-OFF tutorial
Going back to stock for official update
Now to say more about a reverse part. The point of this is to make your phone available for official updates, and make it possible to do. Thanks to Ranalakshay36 and Bedroom we have information that you can apply OTA without need to relock bootloader on the phone. However, relocking is still mandatory if you want to install a fresh new rom using RUU.
The first important thing for this is: PEOPLE, MAKE A NAND BACKUP OF STOCK ROM BEFORE REMOVING OF ANY APP FROM SYSTEM OR INSTALLING A CUSTOM ROM!!! This will make this process much easier to do.
RECEIVING AND OFFICIAL UPDATES INSTALLING
Part one:
Ok, you just unlocked bootloader and rooted your phone (no custom rom installed), but you received a notification that you have an official update available and you want to install it. No problem at all if you didn't touch the apps on system partition (some of them are necessary for official support), and all you have to do are these 2 things:
1. Reinstall stock recovery - I attached it. Remember the part about custom recovery? The process for this is the same:
- download recovery I attached, rename it to recovery.img and put it on the root of c: drive on your PC
- reboot phone to fastboot
- connect it to a PC
- open command prompt and guide it to the folder where you have adb platform tools installed
- issue commands
fastboot flash recovery c:\recovery.img
fastboot reboot-bootloader
fastboot erase cache
Now your phone should be ready to apply official update.
Click to expand...
Click to collapse
Part two:
1. You installed a custom rom, however you made a nand backup of your intact stock rooted, so all you need is to restore your nand backup and go to "Part one", that will do a thing.
2. You installed a custom rom, however you didn't make a nand backup of your intact stock rooted, or you deleted some important files from system partiton. So, you're almost scre**d. I said almost because you can ask some of your geeky friends to borrow you his nand backup that you can use for restore.
The best option is to revert back to stock using RUU, but that's currently limited only for devices with Europe based firmware. Here is the thread I made where you can find info about 1.18.401.1 RUU and CID compatibility and a way to check CID of your phone to make sure you can use it:
Get CID and RUU 1.18.401.1 Compatibility
RUU Download page
To run RUU you need to relock your bootloader. This is how you can do it:
- reboot phone to fastboot
- connect it to a PC
- open command prompt and guide it to the folder where you have adb platform tools installed
- issue command
fastboot oem lock- the phone should restart automatically and you'll have a sign RELOCKED on the top of bootloader screen.
After you successfully relock bootloader you can run RUU directly from fastboot. With earlier HTC models there was I a way to bypass CID checking and use any RUU to revert back to stock using a GoldCard, but someone told me that it's not possible with Desire X.
Remark: once you relock bootloader it can be unlocked again in the same way you did it for the first time, and, of course, it will factory reset you phone. Also, going in this order is mandatory, cause if you relock bootloader before you flash stock recovery, you won't be able to do that with relocked bootloader
Click to expand...
Click to collapse
If you can't run a RUU because of incompatible CID, you have to have a nand backup ready for restoring or else to find one in the forums. Here is a thread with different nand backups incompatible from the RUUs:
ICS nandroid backups
Follow the instructions in the above thread to restore your backup.
Click to expand...
Click to collapse
Credits:
- Cobje - stock recovery img from latest update (1.18.xx)
http://forum.xda-developers.com/showpost.php?p=35031493&postcount=25
- Ranalakshay36 and Bedroom for the intel.
Reserved once more...
Nice on nlo, will hopefully stop alot of the questions
Good job writing this tutorial!
One small remark: unlocking bootloader via htcdev will hard-reset the device so all data on the phone will be lost. Might be useful to mention this so users can back-up as much as possible on an un-rooted device.
nightcrow said:
Good job writing this tutorial!
One small remark: unlocking bootloader via htcdev will hard-reset the device so all data on the phone will be lost. Might be useful to mention this so users can back-up as much as possible on an un-rooted device.
Click to expand...
Click to collapse
Thanks, forgot about that while I was writing all this stuff.
I can imagine it's quite a story
Anyway well done and it will definitely be useful to the ones that are about to dive into the rabbit-hole.
thanks for the tutorial! very easy to understand and very simple. :good::good::good:
thanks for the tutorial! nice Job men.:good:
a very well written master piece tutorial. absolutely easy use of english as well without most technical jargon. keep up the good work.
here after m gonna redirect such noob questions to this page.
ayyu3m said:
a very well written master piece tutorial. absolutely easy use of english as well without most technical jargon. keep up the good work.
here after m gonna redirect such noob questions to this page.
Click to expand...
Click to collapse
When an English gentleman says that's an easy use of English I somehow get delighted...
Updated, added flashing boot.img via fastboot for custom roms installing.
thx man, its very helpful for noobs like me who cant follow every thread
there is one more thing i need you help to do it .. how to install busybox ?
I tried all the market apps but i keep getting they same problem "failed to install, try other version or different location"
AxR979 said:
thx man, its very helpful for noobs like me who cant follow every thread
there is one more thing i need you help to do it .. how to install busybox ?
I tried all the market apps but i keep getting they same problem "failed to install, try other version or different location"
Click to expand...
Click to collapse
Try here, here you can find it as a flashable zip.
http://forum.xda-developers.com/showthread.php?t=1929852
nlooooo said:
Try here, here you can find it as a flashable zip.
http://forum.xda-developers.com/showthread.php?t=1929852
Click to expand...
Click to collapse
it worked !! thx
any idea how to keep the changed font after restarting ? it appears the system revert any change i do
I have one question, after I done process 1 and 2, can I factory reset again from the settings without losing root and still keep bootloader unlocked?
Sent from my HTC Desire X using xda app-developers app
Izzy Stinson said:
I have one question, after I done process 1 and 2, can I factory reset again from the settings without losing root and still keep bootloader unlocked?
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
Of course you can, factory reset deletes only data partition while all others stay intact, and Superuser app is located on system partition, while bootloader can't be accessed from there, only from fastboot.
nlooooo said:
Of course you can, factory reset deletes only data partition while all others stay intact, and Superuser app is located on system partition, while bootloader can't be accessed from there, only from fastboot.
Click to expand...
Click to collapse
thanks. and one last question. you gave 3 links to download for cwm recovery. which of those three are the best cwm for you?
For me the best is 4ext, but it's not released yet for our device.
I would go with Claudyy's version.since it doesn't have a screen shift bug.
nlooooo said:
For me the best is 4ext, but it's not released yet for our device.
I would go with Claudyy's version.since it doesn't have a screen shift bug.
Click to expand...
Click to collapse
so i guess im gonna download clauddy cwm then.
so it is CWM-protou.img, i should rename it to recovery.img right?
sorry for asking so many questions, i dont like to make mistakes when doing this kind of things.. :silly:
I flashed the stock recovery then applied the update for kitkat
All works well except i now have no root access. Streaming apps tell me the phone is rooted but apps that require root say it is not rooted.
I still have S-OFF but the phone is locked. how can I get root access? I cannot install a recovery because the phone is locked but I cannot unlock it as I do not have root in ADB shell.
Its a catch 22 and the only way I think i can fix t would to be to use HTC to unlock the device again and wipe all my data..
Please help
samo_nz said:
I flashed the stock recovery then applied the update for kitkat
All works well except i now have no root access. Streaming apps tell me the phone is rooted but apps that require root say it is not rooted.
I still have S-OFF but the phone is locked. how can I get root access? I cannot install a recovery because the phone is locked but I cannot unlock it as I do not have root in ADB shell.
Its a catch 22 and the only way I think i can fix t would to be to use HTC to unlock the device again and wipe all my data..
Please help
Click to expand...
Click to collapse
If s off.... Simply boot phone to fastboot and flash the custom recovery of your choosing from there. Then in your custom recovery flash the latest supersu.Zip
That's it.
No that didnt work because even if S=OFF you still cant flash if the bootloader is locked, i bit the bullet and used HTCdev again, phone is now wiped but was finally able to install recovery and root
samo_nz said:
No that didnt work because even if S=OFF you still cant flash if the bootloader is locked, i bit the bullet and used HTCdev again, phone is now wiped but was finally able to install recovery and root
Click to expand...
Click to collapse
Not true. I have ruu mode flushable zips for this very reason.
dottat said:
Not true. I have ruu mode flushable zips for this very reason.
Click to expand...
Click to collapse
I think he meant he couldn't fastboot flash it, which cannot be done if the bootloader is locked. But yeah could have used the RUU mode. Pays to research things
JBS976 said:
I think he meant he couldn't fastboot flash it, which cannot be done if the bootloader is locked. But yeah could have used the RUU mode. Pays to research things
Click to expand...
Click to collapse
Lol... They both take fastboot commands. ☺
Alternatively the zip could have been placed on his SD card and loaded from hboot.
Hello, welcome all forum users. I tried to unlock bootloader in my atrix 4g International. I used guide on cyanogenmod website. When i flashed first sbf file something were wrong and i have failed to boot 1 command on phone. Follow other guide i flashed radio.img to phone and reboot. First time phone run in rsd mode but after restart android recovery corrupted. Next I should flash android recovery to bring back rsd mode but i have still locked bootloader so i can't flash cwm or twrp recovery. Trouble is that I can't find anyone stock recovery and i stucked in place. Can anyone help me?
malakai079324 said:
Hello, welcome all forum users. I tried to unlock bootloader in my atrix 4g International. I used guide on cyanogenmod website. When i flashed first sbf file something were wrong and i have failed to boot 1 command on phone. Follow other guide i flashed radio.img to phone and reboot. First time phone run in rsd mode but after restart android recovery corrupted. Next I should flash android recovery to bring back rsd mode but i have still locked bootloader so i can't flash cwm or twrp recovery. Trouble is that I can't find anyone stock recovery and i stucked in place. Can anyone help me?
Click to expand...
Click to collapse
So based off of what you have said:
-Your bootloader is still locked (you haven't said 100% for sure that you are unlocked)
-You may or may not be rooted as well (again, you haven't said if you are or are not)
-You want to run stock recovery, which is the recovery that Moto ships with the device, which is entirely useless for custom ROM flashing
This is the guide you need to root and unlock http://forum.xda-developers.com/showthread.php?t=1302423
palmbeach05 said:
So based off of what you have said:
-Your bootloader is still locked (you haven't said 100% for sure that you are unlocked)
-You may or may not be rooted as well (again, you haven't said if you are or are not)
-You want to run stock recovery, which is the recovery that Moto ships with the device, which is entirely useless for custom ROM flashing
This is the guide you need to root and unlock http://forum.xda-developers.com/showthread.php?t=1302423
Click to expand...
Click to collapse
1. Yes, bootloader is still locked.
2. Yes, I haven't root acces.
3. Yes, i wanted to flash recovery to bring back stock rom.
I haven't mentioned when I power on my phone i have acces only for fastboot mode, nothing else. Something were wrong when I try to flash by rsd mode file intl-fix-try1.sbf so i can't unloock bootloader way is on your's guide.
malakai079324 said:
1. Yes, bootloader is still locked.
2. Yes, I haven't root acces.
3. Yes, i wanted to flash recovery to bring back stock rom.
I haven't mentioned when I power on my phone i have acces only for fastboot mode, nothing else. Something were wrong when I try to flash by rsd mode file intl-fix-try1.sbf so i can't unloock bootloader way is on your's guide.
Click to expand...
Click to collapse
Keep going with the guide. Go to the fastboot oem unlock step and go from there
Sent from my RAZR-ATRIX HD using XDA Free mobile app
palmbeach05 said:
Keep going with the guide. Go to the fastboot oem unlock step and go from there
Sent from my RAZR-ATRIX HD using XDA Free mobile app
Click to expand...
Click to collapse
Hey, it's works, now i just flashed cwm. and everything looks fine. Thank you for your help.