Related
My XPS is ROOTED w/o unlocking bootloader.
I follow the following instruction to install CWM on my XPS.
However, I got stuck when typing the cmd comment.
It kept telling me the device is not rooted, but Im certain on the fact that
my XPS is rooted since I have superuser, RE, Titanium backup.
PS: I am using Generic CH (1257-3740) XPERIA S LT26i ROM (6.1.A.0.452)
How to Install Doomlord’s ClockworkMod Recovery on Xperia S
Download the Doomlord CWM Recovery image (download link here) and the Wi Fi Module for Doom Kernel (download link here) and place the same to the computer.
Go and rename the “S-DooMKernel-v01_kernel.elf” file into “kernel.elf”.
Copy the file renamed on the same folder with ADB / fastboot.
Take your phone and its USB cord and by using both connect it with the computer.
Copy-paste the “S-DooMKernel-v01-Modules.zip” file from the PC to the Xperia S SD card.
Disconnect the smartphone from the computer.
Reboot it by entering in fastboot; press the Volume Up button while connecting the phone with the PC.
On the computer open command prompt (Start -> run -> cmd) and enter the command: fastboot flash boot kernel.elf. If this isn’t working try with: fastboot -i 0x0fce flash boot kernel.elf.
The handset should reboot.
When you see the light turn blue hold the Voluem Up button. The Xperia S will enter in recovery mode.
In the recovery menu select “install zip from sd card” and pick the file copied there on step 3.
The installation procedure should begin. Don’t press anything as the process might take up to 10 minutes to complete.
In the end, from the recovery mode menu select “reboot system now” and you are done.
There you have it; that was the easiest and fastest way in which you can learn how to install Doomlord’s ClockworkMod Recovery on your Xperia S smartphone. Do tell us if there were problems on your way, of if you had issues in understanding one of my directions. Now you can go and update your Xperia S with the lasts ROMs available. Take a look and see if the Cyanogen Mod 9 Ice Cream Sandwich ROM is what you are looking for.
Waiting for someone else to confirm this method. You should post it on General or maybe Dev section, to attract more attention.
Sent from my LT26i using Tapatalk 2
or is there any other method to get CWM???
thx for replying tho
xdewtr said:
My XPS is ROOTED w/o unlocking bootloader.
Copy the file renamed on the same folder with ADB / fastboot.
Click to expand...
Click to collapse
fastboot needs unlocked bootloader
/thread
I see that there aren't detailed guides on how to install Cyanogen mod on Xperia U
I still got my bootloader locked, on the Cyanogen thread it doesn't say which kernel to flash, how to unlock bootloader..http://forum.xda-developers.com/showthread.php?t=1876927
So. I Have CWM recovery installed, and locked bootloader. I am using Stock 4.0.3.
What do i have to do to get Cyanogen mod running on my Xperia U?
Please be as detailed as possible while explaining.(Thread to unlock bootloader. Thread for Cyanogen Kernel)
CM will work only on an unlocked bootloader unless specified otherwise You need to use FireDroid 1.3 as its the only CM working on Locked bootloader Just reboot into CWM and do the install + wipes as suggested by the thread Just comment back here if you need help
Cheers
Min3r said:
CM will work only on an unlocked bootloader unless specified otherwise You need to use FireDroid 1.3 as its the only CM working on Locked bootloader Just reboot into CWM and do the install + wipes as suggested by the thread Just comment back here if you need help
Cheers
Click to expand...
Click to collapse
well look here http://forum.xda-developers.com/showthread.php?t=1876927
it sais for unlocked bootloader only.
but it doesn't say which kernel to use.
and there aren't any links on how to unlock the bootloader.
Ligux is also based on cm and basicly full cm but small extra options
And works on locked BL to
Its based on latest cm9 203
Sent from my ST25i using xda app-developers app
For unlock you can simply use flash tool just need root access and its easy
Sent from my ST25i
Go to Sony's unlock page to unlock ur bootloader
Sent from my LT22i using Tapatalk 2
unlock your bootloader by these ways-
1)install usb drivers of xperia u..
2)Download Fast Boot Package (With USB Drivers)
3)Switch Off Your Device & Connect It To The Computer Using USB Cable While Enabling Fast Boot Mode (Press & Hold Volume Up Button To Trigger Fastboot Mode). Windows Will Start Driver Installation As soon As You’ll Connect Your Device To The Computer While Keeping It In Fastboot Mode.
3)Now Extract The Fastboot Package You’ve Just Downloaded.You Will Find 2 Folders Named As ‘fastboot’ & ‘usb_driver’.
4)Point Driver Installation Location To ‘usb_driver’ Folder.
5)Once Drivers Get Installed, Disconnect Xperia U From PC & Power On It.
6)Before Unlocking Bootloader, You Need To Check That if Your Device’s Bootloader Can Be Unlocked Or Not. For Checking Bootloader Status Dial *#*#7378423#*#* From Phone Dialer To Access Service Menu.Find Bootloader Unlock Status Over There. If It is Set To Yes Then Only You Can Unlock Your Device’s Bootloader Otherwise It’s Impossible To Unlock It.
7)After Verifying Bootloader Unlock Status Set To Yes, Go To Sony’s Official Bootloader Unlocking Site.
8)Scroll To The Bottom of The Page & Press Continue.
You Will be Prompted With The Message “Are You Sure ?”. Accept It By Clicking On “Yes I Am Sure”.(Assuming That You’ve Read It Properly). Then Accept The Legal Terms.
Now You’ll Get “Create Unlock Request” Page.Enter Your Name, Email Address & IMEI (Which You’ve Noted in Essential Steps Mentioned Above).
You’ll Now Get Unique Key Which Will Be Displayed On The Screen. Save It Safely As We Will Require It In Next Part Of The Article.
9)Open Command Prompt In Your Computer & Point/Set It’s Location To ‘fastboot’ Folder.
Again Connect Your Device To PC By Enabling Flash Mode On It..
10)Now In Command Prompt (CMD) Type The Following Command :
fastboot.exe -i 0x0fce getvar version
11)If Value is Returned (It Should return 0.5), It Means Device is Connected Properly.
Type This Second Command Mentioned Below :
fastboot.exe -i 0x0fce oem unlock 0xKEY (on the place of KEY give the unique key you have got in step 8) and hit enter..
YOUR BOOTLOADER IS UNLOCKED.. :victory:
---------- Post added at 02:43 PM ---------- Previous post was at 02:32 PM ----------
Procedure to Install Cyanogenmod 9.3 on Sony Xperia U ST25i:
1)Custom Recovery like Clockworkmod must be installed in order flash this ROM.
2)Download latest Cyanogenmod 9.3 package from any site (Cyanogen10 has not yet been released for xperia u)
3)Download Google Add-on Apps (Gmail, Maps, GTalk, Play Store etc.) which are not present in ROM by default.
4)After downloading CM9.3 package, connect your device to PC. Enable mass storage mode on it. Now transfer ROM package & Google Apps to your device’s internal SD card.
Now disconnect the phone from computer. Boot in recovery mode on your phone. To do so, switch off the phone, switch it on again, when phone is restarting (during boot logo & LED turns blue), press Volume up button. Your phone will land in recovery mode.
5)Take a nandroid backup of your current ROM so that it can be restored back (in case if anything goes wrong). To backup your current ROM, select Backup and Restore option from the recovery mode & on next screen, select backup. Now It will make a nandroid backup of your whole system (excluding SD card). Wait for the backup process to get finished.
6)Now Select “install zip from sdcard” & then “choose zip from sdcard“. Navigate the ROM file (which you’ve transferred earlier) Select it & press on ‘Yes‘ to continue. ROM installation process will start.
Wait for the ROM to get installed. After ROM gets successfully installed, your phone will land in the recovery mode again.
(Optional) The same procedure you have to do for installation of Google Apps. (Just don’t do the above step i.e, wiping data after installation of Gapps). After you finished installation of Gapps, press back button to go to main menu of CWM.
7)Select wipe data/factory reset & wipe cache partition to wipe all the data & caches from the phone memory respectively.
Select reboot system now from the recovery mode to Restart the phone. Switch off it again.Now download the ADB & fastboot files which we will need to flash the kernel image.
8)Extract above rar file to a convenient location/folder (Fastboot Folder).
Open Cyanogenmod 9.3 ROM package using WinRAR or 7-zip, extract boot.img file (which is nothing but a kernel) to any convenient location. (It is located in the root directory of the ROM).
Now move the kernel file (boot.img) where ADB & fastboot files are located.
9)On the phone (while switched off), enter into the fastboot mode. To do so, Connect your phone to the computer. While connecting press Volume up button to trigger fastboot mode.
10)Open the folder which contains ADB & Fastboot files.
Run commandprompt.bat file to open command prompt pointing to the ADB & Fastboot folder.
Type the following command in command prompt to flash the kernel file:
fastboot flash boot boot.img
11)Restart the phone by typing “fastboot reboot” (without quotes) in command prompt.
FINALLY YU WILL HAVE CYANOGEN9.3 CUSTOM ROM IN YOUR PHONE...:victory:
xnd_bogdan said:
I see that there aren't detailed guides on how to install Cyanogen mod on Xperia U
I still got my bootloader locked, on the Cyanogen thread it doesn't say which kernel to flash, how to unlock bootloader..http://forum.xda-developers.com/showthread.php?t=1876927
So. I Have CWM recovery installed, and locked bootloader. I am using Stock 4.0.3.
What do i have to do to get Cyanogen mod running on my Xperia U?
Please be as detailed as possible while explaining.(Thread to unlock bootloader. Thread for Cyanogen Kernel)
Click to expand...
Click to collapse
Requirements
1) CWM recovery
2) Unlocked bootloader
how to
1) Copy zip to sd
2) extract boot.img from the zip file
3) fastboot that img file viia flashtool
4) full wipe
5) now flash the zip file via cwm
6) reboot
Hello,
I have no background in phone/computer knowledge, but I recently just started taking an interest in rooting and figuring out how to use my phone to its full potential. However, I might have screwed up on a couple things.
I was able to unlock my phone, but I accidentally wiped everything. There is no OS on my phone, and now my computer won't recognize my phone (it does not show up on My Computers). I researched and looked up many things on google, and tried a couple things, but to no prevail. I wish I could reset my phone to it's original setting, but I can't seem to do that. Now I wish I could download any OS.
I know this might be rather silly, but I know that the XDA community is very helpful. I have no idea how to dig my self out of this one, so please help. If anyone could walk me through on how to save the phone, I would be very grateful.
Thank you so much in advance.
Can you reboot your phone in bootloader mode? To do so phone in OFF mode by holding volume down and pressing power should bring you to this mode.
Then you will need to install SDK tool to have your phone control. Read HERE to do so.
Once done, install a custom Recovery and start at the -- Recovery installation -- section of this GUIDE
When the recovery will be installed correctly, you will have to sideload a ROM to your phone.
Download or locate the desired ROM on your computer.
Rename it with a short name.
Place it in the sub-folder : Platform-tools of your SDK folder.
Reboot in TWRP RECOVERY
Set the device into ADB sideload mode. In TWRP you do this by going to Advanced then ADB Sideload Slide to start.
From the command line, type : adb sideload your_rom_name.zip
It can take several minutes to complete the transfer.
If you need further help, I will be around to help.
Lucky Thirteen said:
Can you reboot your phone in bootloader mode? To do so phone in OFF mode by holding volume down and pressing power should bring you to this mode.
Then you will need to install SDK tool to have your phone control. Read HERE to do so.
Once done, install a custom Recovery and start at the -- Recovery installation -- section of this GUIDE
When the recovery will be installed correctly, you will have to sideload a ROM to your phone.
Download or locate the desired ROM on your computer.
Rename it with a short name.
Place it in the sub-folder : Platform-tools of your SDK folder.
Reboot in TWRP RECOVERY
Set the device into ADB sideload mode. In TWRP you do this by going to Advanced then ADB Sideload Slide to start.
From the command line, type : adb sideload your_rom_name.zip
It can take several minutes to complete the transfer.
If you need further help, I will be around to help.
Click to expand...
Click to collapse
Hi Lucky Thirteen,
Thank you so much for your fast response. The problem that I am running into is that I followed every step of installing SDK on to my computer. However, my device is not being recognized by the computer. No wizard, no USB recognition, it only tells me that the device has not been successfully installed.
Is there any way around this? Again, thank you so much.
imwillyoo said:
The problem that I am running into is that I followed every step of installing SDK on to my computer. However, my device is not being recognized by the computer.
Click to expand...
Click to collapse
This is normal if your phone has no OS installed. Follow this and go ahead in bootloader, it will work.
Download TWRP Recovery for the International version (ENRC2B) or for the AT&T/TELUS version (EVITARE_UL)
Once downloaded to simplify the operation rename your file like this : TWRPrecovery.img
Take this TWRPrecovery.img file and Copy/Paste it in the platform-tool of your SDK folder.
Reboot in bootloader mode. (Volume down & Power)
Make sure the FASTBOOT USB is highlighted.
At the prompt type >fastboot devices (Enter)
If you have your serial number as confirmation
At the prompt type >fastboot flash recovery TWRPrecovery.img (Enter)
If Success is achieved, type again at the prompt >fastboot erase cache (Enter)
You now have TWRP Recovery installed.
Unplug your USB cable and hit Power button one time.
Select Recovery with your Volume rocker.
Hit Power button one time.
Your phone should reboot in Recovery
Familiarize yourself with it.
Click on Advanced -> Sideload
And try transfer your desired ROM.
If this is successful, you will be able to select it in the Install section of the recovery.
Let see if this will work.
Lucky Thirteen said:
This is normal if your phone has no OS installed. Follow this and go ahead in bootloader, it will work.
Download TWRP Recovery for the International version (ENRC2B) or for the AT&T/TELUS version (EVITARE_UL)
Once downloaded to simplify the operation rename your file like this : TWRPrecovery.img
Take this TWRPrecovery.img file and Copy/Paste it in the platform-tool of your SDK folder.
Reboot in bootloader mode. (Volume down & Power)
Make sure the FASTBOOT USB is highlighted.
At the prompt type >fastboot devices (Enter)
If you have your serial number as confirmation
At the prompt type >fastboot flash recovery TWRPrecovery.img (Enter)
If Success is achieved, type again at the prompt >fastboot erase cache (Enter)
You now have TWRP Recovery installed.
Unplug your USB cable and hit Power button one time.
Select Recovery with your Volume rocker.
Hit Power button one time.
Your phone should reboot in Recovery
Familiarize yourself with it.
Click on Advanced -> Sideload
And try transfer your desired ROM.
If this is successful, you will be able to select it in the Install section of the recovery.
Let see if this will work.
Click to expand...
Click to collapse
Hi Lucky Thirteen,
Again, thank you so much for all your help. I've been reading up on your guides and I've been learning so much. You truly are such a big help.
I was able to get Viper.img on to my phone through a adb sideload. However, when I reboot my phone, it still goes back to TWRP. I tried installing a rom through the Install option, but there is no .zip file that I can use when I go under /sdcard/Venom.
Is there any way I can get past TWRP?
Thank you so much
-Will
The ROM itself should be in a .zip format. You download the file you want and once finished you transfer it in your platform-tools folder without unzipping, it most remain a .zip file.
The image (.img) file (~5-10MB) is the boot.img to be flashed in fastboot mode for the ROM to boot.
So you have to sideload your intend ROM to your internal phone storage exemple : adb sideload The_Venom_Name_ROM.zip (Enter)
If I understood well, this is where you mixed up. Let me know the results.
Lucky Thirteen said:
The ROM itself should be in a .zip format. You download the file you want and once finished you transfer it in your platform-tools folder without unzipping, it most remain a .zip file.
The image (.img) file (~5-10MB) is the boot.img to be flashed in fastboot mode for the ROM to boot.
So you have to sideload your intend ROM to your internal phone storage exemple : adb sideload The_Venom_Name_ROM.zip (Enter)
If I understood well, this is where you mixed up. Let me know the results.
Click to expand...
Click to collapse
I guess this is where I am confused. I am able to sideload Venom, and I install it, and it says that it's been installed successfully and that I reboot. I reboot, and TWRP comes up when I turn the phone back on.
From here, I tried to look for anything that would take me out of TWRP and onto the phone, but I cant seem to find it. So Venom has been successfully installed, but I don't know why TWRP keeps coming up.
Thank you
Try something, in recovery press and hold your power button your phone should reboot.
Lucky Thirteen said:
Try something, in recovery press and hold your power button your phone should reboot.
Click to expand...
Click to collapse
Ive rebooted it a couple times. Its so strange because I install it over sideload but when i restart the phone after installation, it takes me to TWRP no matter how many times I reboot. And the fact that it doesnt show up on my sdcard or anything.
Thank you for your quick replies
Did you flash boot ?
Sent from my ONE X+ using XDA premium
imwillyoo said:
Ive rebooted it a couple times. Its so strange because I install it over sideload but when i restart the phone after installation, it takes me to TWRP no matter how many times I reboot. And the fact that it doesnt show up on my sdcard or anything.
Click to expand...
Click to collapse
Take an older version of TWRP Recovery, if you installed the latest up to date version, take the previous one
fastboot flash recovery twrp.img
fastboot erase cache
fastboot reboot
Results?
ali_loly10 said:
Did you flash boot ?
Sent from my ONE X+ using XDA premium
Click to expand...
Click to collapse
Still nothing. I reflashed TWRP and sideloaded Venom.
When I go under install, there is no option for Venom. I can't get past TWRP.
Any more suggestions? Thank you so much for being patient with me.
imwillyoo said:
Still nothing. I reflashed TWRP and sideloaded Venom.
When I go under install, there is no option for Venom. I can't get past TWRP.
Any more suggestions? Thank you so much for being patient with me.
Click to expand...
Click to collapse
The file is rename sideload.zip on your SD card, so under install select Sideload then swipe and install your ROM. Don't forget to flash the boot.img in fastboot mode before.
Tell me how that goes.
the hesedtc
Lucky Thirteen said:
Don't forget to flash the boot.img in fastboot mode before.
Tell me how that goes.
Click to expand...
Click to collapse
Just to be clear. When you mean flash boot.img, you mean the TWRPrecovery that i have right?
So flash the TWRPrecovery.img and then install the sideload.zip?
stuck at fastboot flash recovery TWRPrecovery.img
Lucky Thirteen said:
This is normal if your phone has no OS installed. Follow this and go ahead in bootloader, it will work.
Download TWRP Recovery for the International version (ENRC2B) or for the AT&T/TELUS version (EVITARE_UL)
Once downloaded to simplify the operation rename your file like this : TWRPrecovery.img
Take this TWRPrecovery.img file and Copy/Paste it in the platform-tool of your SDK folder.
Reboot in bootloader mode. (Volume down & Power)
Make sure the FASTBOOT USB is highlighted.
At the prompt type >fastboot devices (Enter)
If you have your serial number as confirmation
At the prompt type >fastboot flash recovery TWRPrecovery.img (Enter)
If Success is achieved, type again at the prompt >fastboot erase cache (Enter)
You now have TWRP Recovery installed.
Unplug your USB cable and hit Power button one time.
Select Recovery with your Volume rocker.
Hit Power button one time.
Your phone should reboot in Recovery
Familiarize yourself with it.
Click on Advanced -> Sideload
And try transfer your desired ROM.
If this is successful, you will be able to select it in the Install section of the recovery.
Let see if this will work.
Click to expand...
Click to collapse
I don't have FASTBOOT USB highlighted. I can't find one. So, I highlighted only the FASTBOOT. I then typed the fastboot devices. I got what seems to be the serial number. However, at the prompt, I tried typing fastboot flash recovery TWRPrecovery.img , but then it replies me "error: cannot load 'TWRPrecovery.img' : Invalid argument". I do have the downloaded recovery zip named TWRPrecovery.img in my platform-tools folder. What should I do now?
Thank you for bringing me here to this thread!
Hi Narakera,
When you are in bootloader mode, and you plug your USB cable the FASTBOOT USB doesn't highlight but your serial number is found. If you have a blue HBOOT + FASTBOOT highlighted then unplug your USB cable and press Power button once, this will bring you to a red FASTBOOT that will highlight FASTBOOT USB when a USB cable will be inserted. Could this be your issue?
See the screenshots for the differences.
This is long, but it's nice for noobs because it's detailed. It's honestly kind of fun, I promise. I'm assuming you have WINDOWS. This is based off of the guide by torxx!. It's modified because some of the info is outdated (you don't have to flash the boot.mg separately, for example). If you are NOT a noob you can just look at the "overview" for each step.
UNLOCKING YOUR DEVICE WILL WIPE YOUR DEVICE. THIS IS A SECURITY FEATURE. BACKUP FIRST.
Part 1- gaining unlock token
Overview: go to htcdev.com and unlock bootloader
Be sure you've turned off fast boot option in power menu; usb debugging should be on (settings -> developer options).
Go to http://www.htc.com/www/software/htc-sync-manager/[1] and install HTC SYNC. Alternatively, if you know what you're doing, you can install these drivers:
x86 http://www.mediafire.com/?qabo1tue2v1ky75 x64 http://www.mediafire.com/?8dl8s3l9mr6ggr9
Go on http://www.htcdev.com[4] and create yourself an account on HTCDEV.
Download these adb/fastboot files: http://d-h.st/RvD
Make a new folder anywhere. We'll use C:/fastboot as an example.
Extract the zip downloaded to the new folder
Go Here http://www.htcdev.com/bootloader/[6] and select "All Other Supported Models" and "then begin unlock bootloader" (check the boxes, click proceed, all that good stuff). YOU CAN IGNORE THE DIRECTIONS THAT THEY TELL YOU (and follow this guide instead).
Power off your phone. Power your phone on by holding power and volume down.
Highlight 'Fastboot' the volume buttons then press power to "select".
Plug your phone into your PC and open a Command Prompt. (windows XP - Click Start > Run > type CMD in box then press OK; Windows 7 - Click Start > type CMD in search box then press Enter) Change directory to your folder where we put fastboot files by typing cd c:\fastboot for example.*
*Alternatively, you can just hold down shift and right click in the folder and select "open command window here". Neat huh?
Type this into your command prompt window: fastboot oem get_identifier_token
Select & copy the text as per step 9 on the HTCDev website
Paste your identifier token into the box at the bottom and submit
You Will Very Shortly Receive an email from HTCDev with a link to the second part of the instructions and your "Unlock_code.bin" attached
Download the "Unlock_code.bin" from the email and save it to the same folder that we extracted fastboot files
Type this into your command prompt window: fastboot flash unlocktoken Unlock_code.bin
The Display Will change on your phone, press Vol+ to accept and power to confirm.
Part 2
Overview: flash your recovery. Boot into recovery. Turn phone off if it boots into OS. Boot into back into recovery. You're done!
Download a recovery:
TWRP (the one I use): http://forum.xda-developers.com/showthread.php?t=2173870
CWM 2: http://forum.xda-developers.com/showthread.php?t=2172979
CWM: http://forum.xda-developers.com/showthread.php?t=2173863
Place the Recovery file to the folder where the fastboot.exe is.
Same thing as above- boot (volume down + power) into the bootloader and highlight 'Fastboot' the volume buttons then press power to "select".
Do the same thing as with the command prompt above. This time, however, you'll be typing:
fastboot flash recovery "name_of_the_recovery.img"
For example:
fastboot flash recovery openrecovery-twrp-2.5.0.0-m7.img
then type:
fastboot erase cache
From the menu, boot into recovery (use volume to move up and down, power to select). The phone might boot to the OS instead of recovery, don't worry!
Turn off phone then turn on (while holding volume down) to boot back into the bootloader.
TAMPERED shows up, boot into recovery and now your recovery should be working!
Part 3- obtaining root
Overview: flash a super tool
Download a super user tool for root:
SuperSU (I use this one): http://forum.xda-developers.com/showthread.php?t=1538053
SuperUser: http://download.clockworkmod.com/superuser/superuser.zip
Alternatively, download this: http://forum.xda-developers.com/showthread.php?t=2252959. This is a stock rooted rom for ATT. If you download and flash this instead of the super user tool, you're done. (This rom includes super user) Or you can download a custom rom such as this one: http://forum.xda-developers.com/showthread.php?t=2183023
Turn on your phone again (and disable usb debugging) and connect to computer, copy the .zip super user tool to a location you remember ON the phone.
Flash it with the Recovery: Power off your device and then hold the VOL DOWN + Power to boot into the Bootloader Navigate with VOL and Power to Recovery Now flash the .zip:
- install zip from sdcard
- choose zip from sdcard
- select the downloaded SuperSU/SuperUser zip file and flash it
- Reboot now
You're not out of the woods yet! The stock kernel is system write protected, so you still can't modify it (changes won't "stick"). You'll have to flash a custom rom or a kernel if you want stock instead.
I recommend these kernels: http://forum.xda-developers.com/showthread.php?t=2255900 or http://forum.xda-developers.com/showthread.php?t=2233665&highlight=menu
Download it.
Installing custom rom/kernel ("flashing a rom")
Overview: Download Rom, boot into recovery and wipe and then flash.
According to Shenye, even though your device is s-on, you can still flash boot now. So just do this:
Turn on your phone again (and disable usb debugging) and connect to computer, copy the .zip kernel/cutom rom to a location you remember ON the phone.
Flash it with the Recovery: Power off your device and then hold the VOL DOWN + Power to boot into the Bootloader Navigate with VOL and Power to Recovery Now flash the .zip:
- install zip from sdcard
- choose zip from sdcard
- select the downloaded SuperSU/SuperUser zip file and flash it
- Reboot now
I feel like this title should be changed to clarify that it's unlocking the bootloader, not the SIM lock.
Just wanted to say this tutorial was 100% dead on and what I used to unlock bootloader and root/rom my One.
Oddity - Did everything, I've got root but I -AM- out of the woods. Was installing bulletproof mod through recovery but it kept failing due to missing a MD5 file or something -- Trying to work that out through that thread atm but anyway, rebooted the phone a couple of times now and I still have root, Tit back up works OR are we talking about things like CPU clocking won't work since it can't rewrite?
Sticking this.
Excellent tutorial. One thing to add:
If you flash the TWRP recovery you link to, after TWRP boots for the first time, if you reboot into System, TWRP will offer to install SuperSU for you; no need to find another to flash. Once the system reboots, you can launch the GUI installer to finish the SU install (it will boot into TWRP and back one more time to do the actual flash).
Does anyone know if this will work on the Rogers HTC One?
Thank you. Followed this last night. Worked flawlessly. The only thing that threw me was rebooting into recovery. It took maybe 3 or 4 reboots for it to say "TAMPERED" at the top. When it didn't say tampered, it would not boot to recovery.
TELUS?
DannySmurf said:
Excellent tutorial. One thing to add:
If you flash the TWRP recovery you link to, after TWRP boots for the first time, if you reboot into System, TWRP will offer to install SuperSU for you; no need to find another to flash. Once the system reboots, you can launch the GUI installer to finish the SU install (it will boot into TWRP and back one more time to do the actual flash).
Click to expand...
Click to collapse
Did you happen do run this tutorial on a TELUS device?
Viceroy_N said:
Does anyone know if this will work on the Rogers HTC One?
Click to expand...
Click to collapse
Yes it does. I have a Rogers phone, and it worked perfectly.
richnanaimo said:
Did you happen do run this tutorial on a TELUS device?
Click to expand...
Click to collapse
No, I have a Rogers device. But the procedure should not be any different.
followed step by step and got an error that says submitted token wrong length
I'm on ubuntu 13.04 and I get stuck at getting the token. I type in fastboot oem get unlock_identifier_token and it says waiting for device. Tried it with sudo and it says error and sudo ./fastboot and it says no such command.
Sent from my HTC One using xda app-developers app
Having a really odd problem. I flash the twrp recovery per instructions. I try to reboot to recovery and it seems to try and then, blam, the att boot.
I have tried this from the bootloader, selecting Recovery, as well as from a booted stated using "adb reboot recovery".
Any hints for me? I originally had a silver One and today got my Black One replacement,. Had no issues on the original one. Hmm. Guess I will try CWM.
FYI: Yes I unlocked the bootloader and it says Unlocked in there
-I also notice that I seem to go right into fastboot, when I boot the bootloader. Now, I believe that is normal if you have the usb cable attached, but this happens regardless.
-flashed stock recovery back and can get into it. trying twrp again, renaming the file to "recovery.img" just because...and it worked on that stock recovery file
-Also, very hard to get into bootloader from powered off state. I may flash RUU_M7_UL_JB_50_Cingular and see if it helps me.
OK, maybe it is the phone or ATT has done something screwy on the latest. I can not even get the RUU install to pass inspection. Wants me to check the connection. I know all my stuff is in order, as I did this all on the previous one. grrr
-Just noticed mine does say Unlocked but it does not say Tampered.
-Crazy. I decided to get a new Unlock token and redo the unlock with it. Now, the bootloader finally says Tampered and I got into TWRP. I have no idea why, since I would think that if the original Unlock token was incorrect, it would not have unlocked the phone.
So, rather than providing worthwhile information for anyone else having problems, I think this post is probably deletable and that is fine by me should the powers so decide.
How would one go back to locking the device for a return?!?
Sent from my Nexus 4 using xda premium
tacotino said:
How would one go back to locking the device for a return?!?
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
fastboot oem lock
but, it will say relocked. nobody cares or seems to check. also, it will say tampered until you restore a stock ruu to flash. I used RUU_M7_UL_JB_50_Cingular.exe for mine when switching from silver to black. it is the right one for att. sorry, don't have the link to the download anymore.
great writeup! quick comment though, just helped my brother unlock his phone. i had a similar issue to @Barsky above so I decided to try to reflash the recovery. The first time I used the line fastboot erase cache after flashing the recovery and I think that's what caused it to not boot into recovery. The second time I flashed TWRP, I didn't enter that line and voila it worked on the first try!
can anyone post a mirror of the dev host files? devhost seems to be down.
nice...
help please
I seem to be stuck in recovery after installing super su/ rom. I messed up the order and did the rom then su. Any ideas on how I can get it to boot? I tried installing clean rom 2.5 and used the su file i found here ----> http://www.teamandroid.com/2013/03/17/root-htc-one-supersu-android-41-jelly-bean-tutorial/2/
any help is greatly appreciated... I just want my phone back
---------- Post added at 09:44 AM ---------- Previous post was at 09:36 AM ----------
also, i did hit factory reset under bootloader/fastboot screen (where it says tampered/unlocked),
mbroch89 said:
I seem to be stuck in recovery after installing super su/ rom. I messed up the order and did the rom then su. Any ideas on how I can get it to boot? I tried installing clean rom 2.5 and used the su file i found here ----> http://www.teamandroid.com/2013/03/17/root-htc-one-supersu-android-41-jelly-bean-tutorial/2/
any help is greatly appreciated... I just want my phone back
---------- Post added at 09:44 AM ---------- Previous post was at 09:36 AM ----------
also, i did hit factory reset under bootloader/fastboot screen (where it says tampered/unlocked),
Click to expand...
Click to collapse
I think the last bit was your problem. You can't factory reset from bootloader. Try to push twrp again in fastboot then load/flash clean romantic, then boot up. It already has root so you don't need to push su.
Sent from my HTC One X using xda app-developers app
Hey everyone,
This is my first time posting to the forums. I have been trying to get everything done without having to ask questions since there are so many all over the place and I can see how it can get tiring trying to help everyone when their may be an answer out there already if you look. However, I have ran into an issue that I can't seem to find much information on. I have the HTC Rezound that is S-On (apparently you need a Linux machine to get S-Off which I don't have. Using Windows 7.) and have been using fastboot to get things done. I have unlocked the bootloader and have installed the 'Amon Ra' recovery and setup Superuser and SU. As far as I know, I have to use ROM's that are S-On friendly (right?) and I chose to try out 'EclipticRez' and later 'Talon'.
As I tried to flash the ROM's through fastboot it fails with the following errors every time and I cannot continue:
archive does not contain android-info.txt
archive does not contain android-product.txt
From what I found is that it may be a bad download of the ROM. Maybe.... But it happened consecutively with two different ROM downloads.
I also read that maybe the recovery wasn't setup, which as far as I know it is. Should I use a different recovery? Everyone usually references to using CWM, which I wouldn't mind using but I couldn't figure out how to get SU access.
Can I just create the files myself? They are only txt files after all.
If anyone can help me with this I will be so grateful! I'm pretty new to this and it has definitely been a fun learning experience for me
Much thanks in advance!
Strikerz87 said:
Hey everyone,
This is my first time posting to the forums. I have been trying to get everything done without having to ask questions since there are so many all over the place and I can see how it can get tiring trying to help everyone when their may be an answer out there already if you look. However, I have ran into an issue that I can't seem to find much information on. I have the HTC Rezound that is S-On (apparently you need a Linux machine to get S-Off which I don't have. Using Windows 7.) and have been using fastboot to get things done. I have unlocked the bootloader and have installed the 'Amon Ra' recovery and setup Superuser and SU. As far as I know, I have to use ROM's that are S-On friendly (right?) and I chose to try out 'EclipticRez' and later 'Talon'.
As I tried to flash the ROM's through fastboot it fails with the following errors every time and I cannot continue:
archive does not contain android-info.txt
archive does not contain android-product.txt
From what I found is that it may be a bad download of the ROM. Maybe.... But it happened consecutively with two different ROM downloads.
I also read that maybe the recovery wasn't setup, which as far as I know it is. Should I use a different recovery? Everyone usually references to using CWM, which I wouldn't mind using but I couldn't figure out how to get SU access.
Can I just create the files myself? They are only txt files after all.
If anyone can help me with this I will be so grateful! I'm pretty new to this and it has definitely been a fun learning experience for me
Much thanks in advance!
Click to expand...
Click to collapse
1) Switch to TWRP or CWM for your recovery.
2) You install the rom zip via recovery.
3) You then need to fastboot flash the kernel from the rom zip you downloaded. You don't install the whole rom via fastboot.
To borrow from the CM11 thread.
- Place the boot.img into the platform-tools folder of the Android SDK's install directory.
- Boot to the bootloader.
- Ensure your device is connected to your computer and that your device is now in fastboot mode. This is a white screen and it says fastboot on it.
- Open a Terminal (OSX or Linux) or CMD window (Windows) and cd to the platform-tools directory of the Android SDK's install directory.
- Issue this command to flash the boot.img we placed in the platform-tools folder earlier:
Code:
fastboot flash boot boot.img
- Watch the output of the terminal, it should say something like "sent successfully".
- Finally send this command:
Code:
fastboot reboot
Since you're s-on, you'll need to do this whenever you install a new rom. Using these steps, you can install any rom you want.
Strikerz87 said:
Hey everyone,
This is my first time posting to the forums. I have been trying to get everything done without having to ask questions since there are so many all over the place and I can see how it can get tiring trying to help everyone when their may be an answer out there already if you look. However, I have ran into an issue that I can't seem to find much information on. I have the HTC Rezound that is S-On (apparently you need a Linux machine to get S-Off which I don't have. Using Windows 7.) and have been using fastboot to get things done. I have unlocked the bootloader and have installed the 'Amon Ra' recovery and setup Superuser and SU. As far as I know, I have to use ROM's that are S-On friendly (right?) and I chose to try out 'EclipticRez' and later 'Talon'.
As I tried to flash the ROM's through fastboot it fails with the following errors every time and I cannot continue:
archive does not contain android-info.txt
archive does not contain android-product.txt
From what I found is that it may be a bad download of the ROM. Maybe.... But it happened consecutively with two different ROM downloads.
I also read that maybe the recovery wasn't setup, which as far as I know it is. Should I use a different recovery? Everyone usually references to using CWM, which I wouldn't mind using but I couldn't figure out how to get SU access.
Can I just create the files myself? They are only txt files after all.
If anyone can help me with this I will be so grateful! I'm pretty new to this and it has definitely been a fun learning experience for me
Much thanks in advance!
Click to expand...
Click to collapse
also to note....you dont have to install linux to get s-off....if you follow my guide you can do it straight from a live disk rather than installing it....so it wont erase or mess up your windows partition at all
Solved!
Thank you, Mjones, I finally got it! I knew it was much easier than I was making it out to be. I was missing the kernel! Yeah, a crucial part in the process, I know
I first ran CWM and flashed the ROM over and ran the .zip through recovery (which I couldn't understand at first as I could never find it in the directory) but the installer would only go 50% and would fail... makes sense why now lol
I later flashed TWRP and backed up again after recovering from the fail. I flashed over the kernel and voila! So simple... Had to slap myself.
Thanks again! Case solved.
REV3NT3CH, that is sweet!! I have been hoping there is a way to gain s-off with Windows. I have 7 at work and 8.1 (which I can't get anything to work on) at home. I actually have to focus on work today haha so I'll look into the method and try it out tomorrow if I can. Thanks for all of the help.
mjones73 said:
1) Switch to TWRP or CWM for your recovery.
2) You install the rom zip via recovery.
3) You then need to fastboot flash the kernel from the rom zip you downloaded. You don't install the whole rom via fastboot.
To borrow from the CM11 thread.
- Place the boot.img into the platform-tools folder of the Android SDK's install directory.
- Boot to the bootloader.
- Ensure your device is connected to your computer and that your device is now in fastboot mode. This is a white screen and it says fastboot on it.
- Open a Terminal (OSX or Linux) or CMD window (Windows) and cd to the platform-tools directory of the Android SDK's install directory.
- Issue this command to flash the boot.img we placed in the platform-tools folder earlier:
Code:
fastboot flash boot boot.img
- Watch the output of the terminal, it should say something like "sent successfully".
- Finally send this command:
Code:
fastboot reboot
Since you're s-on, you'll need to do this whenever you install a new rom. Using these steps, you can install any rom you want.
Click to expand...
Click to collapse
Thank You So much, Mine case also Resolved. I was too frustated sice last 3 days cause my phone was in dead mode. At the end, fastboot flash boot boot.img Worked. ThankYOu
mjones73 said:
1) Switch to TWRP or CWM for your recovery.
2) You install the rom zip via recovery.
3) You then need to fastboot flash the kernel from the rom zip you downloaded. You don't install the whole rom via fastboot.
To borrow from the CM11 thread.
- Place the boot.img into the platform-tools folder of the Android SDK's install directory.
- Boot to the bootloader.
- Ensure your device is connected to your computer and that your device is now in fastboot mode. This is a white screen and it says fastboot on it.
- Open a Terminal (OSX or Linux) or CMD window (Windows) and cd to the platform-tools directory of the Android SDK's install directory.
- Issue this command to flash the boot.img we placed in the platform-tools folder earlier:
Code:
fastboot flash boot boot.img
- Watch the output of the terminal, it should say something like "sent successfully".
- Finally send this command:
Code:
fastboot reboot
Since you're s-on, you'll need to do this whenever you install a new rom. Using these steps, you can install any rom you want.
Click to expand...
Click to collapse
I need to be able to do it via fastboot, as my Motorola Electrify M is stuck in a bootloop and there's no way I could find to boot into recovery. I'm using ./fastboot update name_of_update.zip and it is an official OTA .zip but I still get this error. Any suggestions?
ecols33 said:
I need to be able to do it via fastboot, as my Motorola Electrify M is stuck in a bootloop and there's no way I could find to boot into recovery. I'm using ./fastboot update name_of_update.zip and it is an official OTA .zip but I still get this error. Any suggestions?
Click to expand...
Click to collapse
Sorry, don't know anything about that phone.
ecols33 said:
I need to be able to do it via fastboot, as my Motorola Electrify M is stuck in a bootloop and there's no way I could find to boot into recovery. I'm using ./fastboot update name_of_update.zip and it is an official OTA .zip but I still get this error. Any suggestions?
Click to expand...
Click to collapse
Did you try this first? (Right from Moto's site)
Perform a factory reset using external keys
1. Power off the phone, press and hold volume down button, press power button
2. Screen will come up with "Fastboot", press Vol down key to cycle through choices until you get "Android Recovery", then press Vol up key
3. Wait for the "triangle ! / Android" screen then go on to step 4
4. Press both Vol up and Vol down key simultaneously. A menu will come up
5. Tap on Vol down key until "wipe data/factory reset" is highlighted, and tap Power key. Another Confirmation screen will come. Tap on Vol down key until coming to Yes and tap Power key
6. After userdata is cleared, the "reboot system now" option will be highlighted by Default. Tap Power key
7. Phone will reboot to initial setup screen.
PLEASE HELP! I have a Huawei P8 and I tried to update to android 6.0 (GRA-L09xxxxxxxxxxxB317 or something) Went to install it and now im stuck in bootloop (a very annoying one, I can rarely get into eRecovery and eRecovery is not able to fix my problem: "Getting package info failed") so I went into fastboot&rescue mode and I did the flash thing via my PC (that Fastboot flash boot boot.img etc.) but I get this error saying: "FAILED (remote: Command not allowed)" for any image im trying to flash. My fastboot/bootloader or whatever it's called is locked my android is unrooted and stock android. I don't know how to unlock it I can't find anything anywhere.. HELP ME
not working
hariom.gupta11 said:
Thank You So much, Mine case also Resolved. I was too frustated sice last 3 days cause my phone was in dead mode. At the end, fastboot flash boot boot.img Worked. ThankYOu
Click to expand...
Click to collapse
not working on my 4c. write successful but when reboot is completed it goes to previous state.
"the user data partition can no longer be used"
zb602kl_x00tdb
L0RDZ3RO said:
PLEASE HELP! I have a Huawei P8 and I tried to update to android 6.0 (GRA-L09xxxxxxxxxxxB317 or something) Went to install it and now im stuck in bootloop (a very annoying one, I can rarely get into eRecovery and eRecovery is not able to fix my problem: "Getting package info failed") so I went into fastboot&rescue mode and I did the flash thing via my PC (that Fastboot flash boot boot.img etc.) but I get this error saying: "FAILED (remote: Command not allowed)" for any image im trying to flash. My fastboot/bootloader or whatever it's called is locked my android is unrooted and stock android. I don't know how to unlock it I can't find anything anywhere.. HELP ME
Click to expand...
Click to collapse
I have same problem on asus zenfone max pro m1 I bought it online said used and now working
can't boot into recovery.
can't boot into system.
Only EDL Mode and Fastboot Mode, but fastboot is Locked whic I cant unlock because I cannot boot into system to toggle USB Debugging and allow OEM unlocking
Qualcomm is harder to flash than MTK that can use SP FlashTool.
on this I use QFIL but keeps "sahara error". I tried searching and try moving firmware file to bin but no Luck. I'm currently trying different version of QFIL Tool.
If it FAILS my only HOPE is to use MUT-QCfire which will Require a "SmartCardReader" Which is a bit pricey and I don't even know if it will work on my device.