Updated
Please read the instructions completely and carefully before you attempt anything.
Disclaimer:
What ever you do with your device is your own responsibility. In no way shall I, any other member of XDA or HTC, be held responsible in case you brick, destroy your device or even cause any bodily injury to you, by following these instructions
Click to expand...
Click to collapse
Before you start meddling with your device, please read, search XDA for related information, use wiki.
Those people who are trying to gain S-off to flash ICS ROMs with sense 4.0... You do not have to flash the new firmware as a compulsion. The older Radio works well with the sense 4 ROMs. It is not an absolute necessity to upgrade the firmware. You can skip that. And you can flash any ROM in 4ext touch recovery even with S-ON. Proceed to S-off only if you accept the risks of bricking your device completely without any possibility of recovering it again. And also keep in mind, you will lose all your personal data on the device by following these instructions.
Resources:
1. Windows running computer(PC).
2. HTC EVO 3D android smartphone.
3. USB cable that came with your Evo 3D.
4. Micro SD card with adequate space in it.(At least 4 GB)
5. Basic computer knowledge of how to open a command prompt and how to run commands in command prompt.
6. 7z / winrar archiver.
Prerequisites for doing anything with your device.
1. Download and install the HTC drivers.
(You can get this from HERE)
2. Unlock your device the htcdev way. Visit http://www.htcdev.com and follow the instructions.
You can take a preview of all the steps in attached zip below.
3. Read this post by flashmaniac, http://forum.xda-developers.com/showpost.php?p=22494488&postcount=1
4. Read this post by happyhallsy8 http://forum.xda-developers.com/showpost.php?p=17233858&postcount=1
5. Uninstall the HTC sync application from your computer.
6. Download the adb and fastboot files attached below in fastboot-cmd.rar and extract this to the root of the C drive on your computer and rename the folder to Android.
You need to understand a few important terminologies before going forward:
1. Root: It is the basic file system of the android operating system on your device. This has all the important files and programs and drivers which make your device run. And to access this you need to have administrator privileges. Which is obtained by flashing a custom rom which gives you administrator privileges by default, or you need to flash superuser from a custom recovery and then install busy box.
2. Custome ROM: It is an installable zip archive which contains all essential programs and files found in the operating system released for your device by the manufacturer with some modifications so as to enhance the functionality according each individuals taste.
3. RUU/shipped ROM: RUU is an executable which re-installs the original manufacturer released version of the ROM onto your device.
4. Bootloader: It is the part of the firmware which resides in your device which runs the most basic function of starting the device and switches the control to the operating system once the bootstrap of the operating system has loaded on.
5. Locked bootloader: The device manufactures lock this firmware so that your device does not fail to boot and bad programs don't ruin the essential files.
6. adb: A program which can control your device when your device is connected to the computer through a USB cable.
7. cid: This is your manufacturer provided general hardware/firmware id.
8. Serial number: Unique identification number of your device.
9. Unlocking: Unlocking your device the HTCDEV way gives you ability to flash custom ROMS which are not authenticated by HTC and it does not enable you to flash custom kernels on to your devices.
10: Kernels: These are the files that determine how your device perfomes, so if you do not intend to meddle with your kernels, all you will ever need is unlocking the HTCDEV way
Click to expand...
Click to collapse
If you just want to flash a new ROM you do not need to s-off your device
S-off is required only to flash custom kernels
The instructions for each different procedure are posted in a new post.
Continued in the next post.
Getting started... Up to flashing a rooted custom ROM
Now lets get started.
1. Unlock your device HTCDEV way. There are ways in which you can achieve S-OFF without unlocking your device first. Search for them in the forum. Unlocking HTCdev way has been shown to be consistently successful.
By unlocking HTCDEV way, you will loose all your personal data from your device, so please make a nandroid backup before doing this.
Also use any of the apps and contacts backup and restore apps available in the market and restore all your messages, contacts, apps and settings.
2. Download Clockworkmod recovery by clockworkmod. This tool is essential to flash any custom ROM. Copy this file to your adb folder on your cumputer, That is c:\android.
3. Download a fully rooted custom ROM like one from LeeDroid or any other custom ROM which is rooted.
4. Additionally you can download superuser rooting app.
5. Go to settings in your device, and select applications-->development-->check the USB debugging. Connect your device to your computer by USB cable.
6. Click start and run cmd prompt.
7. Enter the following code
Code:
cd\(Hit Enter button)
cd android(Hit Enter Button)
adb reboot bootloader(Hit Enter button)
The result will look like this.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
8. Your device will boot into bootloader mode and it will show fastboot USB.
9. Now Enter this code
Code:
fastboot flash recovery cwm_4.0.1.4-shooteru.img
Wait for it to finish.
Once done, reboot your device.
Once rebooted, enter the code:
Code:
adb reboot recovery
You will enter the clockworkmod recovery.
10. Select the option mounts and storage.
next select mount USB storage.
Wait for your computer to recognize and install the driver, now copy and paste the superuser.zip which you downloaded earlier into the sdcard.
Also copy and paste the LeeDroid ROM which you downloaded into the root of your sdcard.
Right click your removable disk on the computer and select eject.
11. Select Unmount in the recovery on your phone. and then select go back.
12. Now on your computer, in the command prompt enter the following code
Code:
adb reboot recovery
13. Your device reboots into the recovery again.
14. Now select install zip from sd card.
then select choose zip.
Then choose the superuser zip and press power button to select.
Reboot the device normally and do the following.
Code:
adb shell (Hit enter, and you will see $, as shown below)
$su(hit enter)
#(Now you have to allow the superuser privileges on your device)
#exit(ENTER)
$exit(ENTER)
c:\Android>adb reboot(hit enter)
once the device is booted into android, visit the google play store, and search for busy box, download it and install, you will have root access.
Now your device is fully rooted.
15. Another way of rooting your phone is by flashing a pre-rooted rom. Download any Gingerbread rom which has been pre-rooted, copy that to your SD card, reboot into CWM recovery and select the rom you downloaded and flash it.
16. If the device gets stuck in the HTC white screen, then follow these steps.
a. Enter the following code in the command prompt.
Code:
adb reboot bootloader
Then go to the folder where you had downloaded the LeeDroid zip, you extract one particular file by the name boot (It is a .img type of file)
Now copy this file to the android folder in C:\ drive (C:\android)
Now in command prompt enter this code.
Code:
fastboot flash boot boot.img(Press enter)
fastboot reboot
You are done flashing a fully rooted custom ROM with latest superuser app.
Means you are fully rooted and unlocked and have a custom recovery through which you can flash any other ROM if you want to.
CREDITS: IN NO PARTICULAR ORDER,
Clockworkmod, Chad.goodman, Flashmaniac, happyhallsy8, frigid, and many more.
Downgrading your Hboot
Now that you have unlocked and got rooted, lets get your device S-off.
As I understand, till date this following way has been successful in getting your device HBoot down and achieve S-OFF, Important thing for that is to change your CID to a universal CID, that is HTC__001.
I do not know that MY way will work for every device, you are welcome to try my way, for at least the unbranded devices.
There are two ways of changing your device cid.
1. Through fastboot. Open the command prompt, connect your device by USB cable, check USB debugging is enabled. and enter the following code
Code:
adb reboot bootloader
wait till your device enters bootloader and shows fastboot USB, now enter the following code.
a. For unbranded devices.
Code:
fastboot oem writecid HTC__001
fastboot oem lock
fastboot oem reboot bootloader
Please note that in the cid there are 2 underscores before 001.
b. For branded devices such as Vodafone.
Code:
fastboot oem writecid VODAP001
fastboot oem lock
fastboot reboot bootloader
You can even change that CID to HTC__001.
Once you have achieved S-OFF you can change your cid back to original.
2. Manually.
For this you need to download xvi32 hex editor from here
Extract this anywhere, run the xvi32 and open mmcblk0p31.img which you had copied to your device sdcard.
Now change the cid as shown in these pictures.
Initial
Changed
Now save the file.
For branded devices.
Initial,
Changed.
Now save the file and exit.
Now go to adb shell and do as shown:
After this you can check your cid and it will show the changed cid and software build number.
You will get best results if you do this before you flash the custom ROM.
Now you can downgrade the Hboot also in two ways, one is automated as demonstrated by flashmaniac in his thread and the other one is manual.
Downgrading flashmaniac's way does not require you to unlock your device the HTCDEV way.
1. Flashmaniac's way.
Download his tool (Makes sure there are step1.exe, step2.exe and step3.exe in the folder).
Extract the entire folder to root of C drive on your computer.
Run step1.exe
If do not get any errors run step2.exe
Then run the step3.exe
Wait for it to flash the European version of RUU onto your device.
This RUU/Rom.zip in the downloaded folder has the Hboot version 1.49.0007.
2. A little bit cumbersome and manual way of doing it,
Download the tools from Flashmaniac's thread. Extract the zip. Copy the mmcblk0p31.img to your sdcard.
Then run this code in adb. (Your device will be booted normally into android and USB debugging mode should be enabled)
Code:
c:\android>adb shell (Hit enter)
#dd if=/mnt/sdcard/mmcblk0p31.img of=/dev/block/mmcblk0p31 (Hit enter)
You will see copied successfully.
You might face problems here if you are not rooted fully or if your device is still locked.
Then you check the cid and if it shows non workable cid, then write the new cid and relock your device.
Code:
fastboot oem readcid
fastboot getvar cid
Code:
fastboot oem writecid HTC__001 (or)
fastboot oem writecid VODAP001
Code:
fastboot oem lock
Now boot your device into recovery:
Code:
fastboot reboot
adb reboot recovery
In your computer, from the tool folder downloaded from Flashmanic'c thread, rename the Rom.zip to PG86IMG
Copy this zip to your sdcard by mounting your sdcard in recovery.
Reboot into bootloader.
Code:
adb reboot bootloader
now check that your device bootloader shows as Relocked.
If it doesn't show Relocked.
Try this method to Relock it.
Code:
fastboot flash unlocktoken unlock_code.bin
YOU MIGHT HAVE TO RE-DO THE ENTIRE PROCESS OF HTCDEV WAY OF UNLOCKING AGAIN AT THIS POINT. WORKS 100% OF THE TIME
Accept the disclaimer by HTC and let it reboot.
Now pull the battery, and then reboot into bootloader by pressing volume down button and then pressing the power button.(You should keep the volume down button pressed till you boot into the bootloader)
Now relock your bootloader again.
Code:
fastboot oem lock (hit enter)
fastboot reboot-bootloader(hit enter)
Now your device will start reading the zip then it will check it for a signature and will ask you if you want to flash.
select yes by pressing the volume up button.
Let it finish.
You may see some error in the end, stating fail. Don't worry.
Just reboot your device.
You are done.
Now you have a Hboot version 1.49.007.
CREDITS: IN NO PARTICULAR ORDER,
Clockworkmod, Chad.goodman, Flashmaniac, happyhallsy8, frigid, and many more.
Now Finally to S-OFF
Finally the much awaited S-OFF
The need to do all the above steps was to finally arrive here.
It is essential to make sure that, your device has a Hboot 1.49.007.
The whole point of this tutorial up to here has been this.
There is one way getting S-OFF on your device, that is by using the revolutionary tool.
Visit http://revolutionary.io
Select the appropriate operating system.
The download will start as soon as you click on the operating system shown.
Enable USB debugging mode on your device and connect it to your computer by the USB cable.
Extract the downloaded zip from revolutionary site to your C drive.
Run the revolutionary.exe as administrator.
This will give you your device serial number.
Enter the serial number in the space given on the revolutionary.io site and copy the S-off code generated, and paste it your notepad.
For the revelotutionary tool to work you must have an identifiable software build number on your device (You can change that in mmcblk0p31.img with a hex editor).. Better still just flash the European ROM with Hboot 1.49.007.. This is safer and avoids problems while running the revolutionary tool.
Now type the code in the program.
Hit enter and wait for it to finish.
If something goes wrong, or if it says failed.
Then recheck your device's boot loader is locked.
And try again and again till you succeed.
The second way is just download this supertool by frigid and run it and you are done.
Now your device has been successfully S-OFF.
Reboot your device.
Copy which ever custom ROM you want to your device's sdcard.
copy any kernel you want.
Then flash them using the CWM recovery in the recovery.
Or use the fastboot commands to flash the kernels and ROMs as you like.
Hope This tutorial will benefit all the noobs as well as members who face problems while trying to S-OFF their devices.
CREDITS: IN NO PARTICULAR ORDER,
Clockworkmod, Chad.goodman, Flashmaniac, happyhallsy8, frigid, and many more.
Thank you guys.
For warranty issues you can revert back to your original version by following these steps
Visit this thread
Download the appropriate RUU version for your region.
Make sure that you have your original cid written back on your device.
You can do this by entering the following code
Code:
//to check the current cid//
C:\android>fastboot oem getvar cid
//to change the cid//
C:\android>fastboot oem writecid HTC__044
//You must enter your device cid which you wrote down before you changed it//
Repeat these steps two to three times and reboot into bootloader and re_lock your device
Code:
C:\android>fastboot oem lock
Run the .exe and follow the onscreen instructions.
If this does not work, then, RUN THE .EXE FILE and do as described below.
When the RUU asks you accept, minimize the RUU/drag it down.
Start the task manager on your computer, go to processes, look for a process which has a name ARUwizard, right click on that and select go to location.
Now you can see a zip archive called rom.zip
Open that, and find the android-info.txt, extract it or just open it within winrar.
This will contain the cidnumber, note down the cidnum which was similar to your cid number, and note down the software build number.
Now make these changes in the mmcblk0p31.img with the help of xvi32 hex editor, copy back the file to your device in adb.
Instead, if you remember your original cid and software build number, you can write them back.
Please also remember to write the original cid of your device back in fastboot.
Copy that rom.zip to the root of your sd card, and then reboot into bootloader and flash it in bootloader.
Now reboot the device and run the RUU, once done, do the following.
Enter this code in fastboot:
Code:
fastboot oem lock
Remember to lock your device bootloader first, before writing the secureflag 3, If you don't lock the bootloader, you will brick your device.
Code:
fastboot oem write secureflag 3
fastboot reboot-bootloader
You will see that your bootloader is S-ON and shows RELOCKED.
You are done.
Just in case I fall short of space
Just in case one more
Thanks for this...I already have a custom recovery, and a fully rooted rom...awaiting S-OFF instructions...
I assume that your instructions will work for CID: VODAP021... with HBOOT: 1.49.0013
Thanks
Thanks - Is it worth trying the touch version of Clockworkmod recovery?
also there's no point flashing the superuser.zip and then flashing a rooted rom on top as the superuser.zip would only give root on the current rom - which is then overwritten by the rooted (leeroid) rom
sorry but this post is useless....
how to root is already explained... there are automated recovery flashers... there is an automatically way of gaining s-off.
you destroy the chance that people get the right tutorial on first try...
43D again.... you will never get S-OFF.
Lothaen said:
Thanks - Is it worth trying the touch version of Clockworkmod recovery?
Click to expand...
Click to collapse
No... it's buggy as hell.
Flashmaniac said:
No... it's buggy as hell.
Click to expand...
Click to collapse
that's a shame - worked perfectly on the HTC Desire
Flashmaniac said:
sorry but this post is useless....
how to root is already explained... there are automated recovery flashers... there is an automatically way of gaining s-off.
you destroy the chance that people get the right tutorial on first try...
43D again.... you will never get S-OFF.
No... it's buggy as hell.
Click to expand...
Click to collapse
This tutorial is not yet complete flashmaniac, this will give every possible way of getting s off. That's the point of this. If you don't mind... I will use your links here and will explain your automated way in the beginning. That is my intention.
Please wait till it is complete.
There are some workarounds, those will also be explained.
Flashmaniac said:
43D again.... you will never get S-OFF
Click to expand...
Click to collapse
BS you are the only one posting this...WTF IS YOUR ISSUE...tell me why or STFU!
4D3 said:
BS you are the only one posting this...WTF IS YOUR ISSUE...tell me why or STFU!
Click to expand...
Click to collapse
I am just telling you, that it is not possible. but try and try - you will know why I told you that a hundred times already
dryogeshd said:
This tutorial is not yet complete flashmaniac, this will give every possible way of getting s off. That's the point of this. If you don't mind... I will use your links here and will explain your automated way in the beginning. That is my intention.
Please wait till it is complete.
There are some workarounds, those will also be explained.
Click to expand...
Click to collapse
this will confuse people. there are plenty of none-working ways. now you add one more....
downgrading only works for the cid's that I listed on my thread...
edit: I see that you are advicing people to change their cid.
It usually does not work
if it is working you cannot lock the bootloader
Flashmaniac said:
I am just telling you, that it is not possible. but try and try - you will know why I told you that a hundred times already
this will confuse people. there are plenty of none-working ways. now you add one more....
downgrading only works for the cid's that I listed on my thread...
edit: I see that you are advicing people to change their cid.
It usually does not work
if it is working you cannot lock the bootloader
Click to expand...
Click to collapse
I have done that.. my cid wasn't listed, now I am s off. What do you say for that?
dryogeshd said:
I have done that.. my cid wasn't listed, now I am s off. What do you say for that?
Click to expand...
Click to collapse
As I said - usually it does not work. If there are RUU'S with CID's for your carrier and region you can change them but you cannot lock the bootloader. it says succesfull but stays unlocked
Flashmaniac said:
As I said - usually it does not work. If there are RUU'S with CID's for your carrier you can change them but you cannot lock the bootloader. it says succesfull but stays unlocked
Click to expand...
Click to collapse
There is a workaround for that as I have written dude..
dryogeshd said:
There is a workaround for that as I have written dude..
Click to expand...
Click to collapse
and what is if you CID is TELST001? right! it is not working and it will never work.
This is just one of a thousand examples.
I tried changing the CID with a guy that has TELST001, it has never worked.
never mind... go on with this.
If I downgrade hboot from 1.49.0018, to 1.49.0007, what I'm losing?
Flashmaniac said:
and what is if you CID is TELST001? right! it is not working and it will never work.
This is just one of a thousand examples.
I tried changing the CID with a guy that has TELST001, it has never worked.
never mind... go on with this.
Click to expand...
Click to collapse
Will update as and when I find out the workarounds for not supported cids..
This thread needs support from guys like you. Please wait till I finish the tutorial. You will see why I started this.
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
hi pls help me,
i have xuz c6833 14.2.A.1.136 - rooted.
i read and followed all steps from here: http://forum.xda-developers.com/showthread.php?t=2447319 untill:
....
11. In the cmd windows type in fastboot.exe -i 0x0fce getvar version
12. If a value is returned (it will return 0.5), it means the phone is correctly connected
13. Type in fastboot.exe -i 0x0fce oem unlock 0xKEY and replace KEY with the key which u received earlier. (replaced KEY)
then it says:
FAILED (remote : Device already rooted)
i have tried Xperia Z Ultra Toolkit 1.0 and got the same message FAILED after enter unlock code received earlier via email from sony.
plds show me where i did wrong? thank you.
Did you try with Flashtool?
I use that to unlock bootloader and did it with no problem....
Just an idea....
I just used flashtool to unlock mine.
make sure you have backed up your TA partition
from the dialer dial *#*#7378423#*#* somewhere in there in the unlock status, cant remember where and I'm not on stock anymore.
blueether said:
I just used flashtool to unlock mine.
make sure you have backed up your TA partition
from the dialer dial *#*#7378423#*#* somewhere in there in the unlock status, cant remember where and I'm not on stock anymore.
Click to expand...
Click to collapse
Is in Service Info / Configuration
Yes I had To backup. I tried flash tool 1.0 but there is the same failed decide rooted.
I have screen shot for status attached.
What can I do now.
And play also help for cmw recovery.I have backup a file but now my xuz have only twmp which can not read the file I have backup before.
amk said:
Yes I had To backup. I tried flash tool 1.0 but there is the same failed decide rooted.
I have screen shot for status attached.
What can I do now.
And play also help for cmw recovery.I have backup a file but now my xuz have only twmp which can not read the file I have backup before.
Click to expand...
Click to collapse
Your BootLoader is unlocked.....
Rooting Status:
Bootloader unlocked: YES
Lc1975 said:
Your BootLoader is unlocked.....
Rooting Status:
Bootloader unlocked: YES
Click to expand...
Click to collapse
As you bootloader is unlocked you can just load any of the dual-recovery boot.img to get both cwm and twrp. I normally flash jackies one or chillychan's http://forum.xda-developers.com/showthread.php?t=2575909
I used that to install the dual recovery on my phone using the chillychan's post...
Do this:
Download the kernel-136-dual from his post
Download the SuperSu
Put the SuperSU in the phone SDCard for example...
Shutdown your device.
Plug the usb and press in the same time Volume Key Up
Open flashtool..
Click on the first icon is like a thunder... and select fastboot mode then click on "Select kernel to flash" and get the "kernel-136-dual.img"
And the flashtool install the kernel..
You see in the dialog box..
Unplug the usb cable and turn on you device and press the Volume key Down or Up
My case the Volume Down opens TWRP and then go to "install" and find the SuperSu that you put on the phone.. Install that and reboot
Nothing more to do...
I used flashtool to unlock my bootloader after following the procedure layed out here: http://www.droidviews.com/how-to-unlock-bootloader-on-sony-xperia-m4-aqua/
Specifically I created a new dir under "C:\Users\Admin\.flashTool\registeredDevices" with my device name "SDDSF334343" then inside that dir created an empty file called "ulcode", and inside that file inserted the unlock code I received from Sony (using the M model and my IMEI).
The flashtool did not complain and said "unlock complete" or some such and prompted me to reboot my device. However upon checking at *#*#7378423#*#* it shows "unavailable" for the bootloader unlocked status, and attempting to flash the recovery with "fastboot flash recovery recovery.img" gives "writing recovery FAILED <remote: Command not allowed>", so obviously the bootloader isn't really unlocked it seems.
I found this post http://forum.xda-developers.com/showpost.php?p=63328460&postcount=406, with someone who had a similar problem, but I don't understand what he means by remove the "0x"; my ulcode file does not contain this prefix anyway, only the unlock code I got from Sony and pasted in.
Any ideas?
Other info
Android version 5.0. Firmware: 26.1.A.2.167. Model number E2303. I used Flashtool v0.9.19.8 along with the minimal adb fastboot install (although I also tried again with the latest full Studio download, ugh). Flashtool reported success regards to unlocking, and allows me relock and lock again repeatedly etc
I noticed my phone has the "Bootloader unlock allowed: No" (after dialing *#*#7378423#*#*) before I try and unlock with Flashtool. Does this mean it really, genuinely cannot be unlocked, or does it just mean not officially?
Do I need to flash my phone to another version of the stock firmware to get around this problem? If so which version and would it break everytime my phone updated?
(If I understand things correctly, I can flash to another stock ftf even without unlocking the bootloader using Flashtool)
I started with 26.1.A.2.167 then my phone did it's update recently to 26.1.A.3.111. Neither of these firmwares made a difference to the above. Should I just pick a random stock ftf from XperiFirm?
I'm trying to unlock an e2306 that reports "Rooting Status: Bootloader unlock allowed:no"
I follow the same procedure as the OP and the status turns to "Unavailable" but I do not seem to be able to get root access after this. If I repeat the BLU procedure I can re-lock the Bootloader and the status returns to "unlock allowed: no".
Does "unlock allowed: no" really mean no? My understanding of the tutorials I've found is that it doesn't matter. I may also just be missing something.
fpghost84 said:
I used flashtool to unlock my bootloader after following the procedure layed out here: http://www.droidviews.com/how-to-unlock-bootloader-on-sony-xperia-m4-aqua/
Specifically I created a new dir under "C:\Users\Admin\.flashTool\registeredDevices" with my device name "SDDSF334343" then inside that dir created an empty file called "ulcode", and inside that file inserted the unlock code I received from Sony (using the M model and my IMEI).
The flashtool did not complain and said "unlock complete" or some such and prompted me to reboot my device. However upon checking at *#*#7378423#*#* it shows "unavailable" for the bootloader unlocked status, and attempting to flash the recovery with "fastboot flash recovery recovery.img" gives "writing recovery FAILED <remote: Command not allowed>", so obviously the bootloader isn't really unlocked it seems.
I found this post http://forum.xda-developers.com/showpost.php?p=63328460&postcount=406, with someone who had a similar problem, but I don't understand what he means by remove the "0x"; my ulcode file does not contain this prefix anyway, only the unlock code I got from Sony and pasted in.
Any ideas?
Other info
Android version 5.0. Firmware: 26.1.A.2.167. Model number E2303. I used Flashtool v0.9.19.8 along with the minimal adb fastboot install (although I also tried again with the latest full Studio download, ugh). Flashtool reported success regards to unlocking, and allows me relock and lock again repeatedly etc
Click to expand...
Click to collapse
Your bootloader is inlocked, show Unavailable due to unlocked allowed: NO.
For fix remote failed when trying to flash recovery if you have windows 10 reboot in boot repair and choose disable driver certificate check then flash your recovery using fastboot.
Sorry for reviving an older thread, this is my first post so I hope it ends up being relevant. I am guessing the cause for me is similar since I am having the same problem using windows 7. I don't have a link handy, but i was able to get around it using a thread here on xda. Just search twrp bl locked m4 download the rootkit that matches your firmware and twrp installer file. Hope this is useful to someone.
Did you fix your's?
Mine says Rooting status: Unavailable
I can't flash recovery and img
I get Failed(remote:Command not allowed) in Fastboot
What I did in the first place was I unlocked my m4 aqua e2333 lollipop then root it using fastboot, it was successful then I decided to hard reset mine by deleting the system in recovery(I know I'm so stupid) then I'm stuck in the booting screen so I decided to download the marshmallow version then I took the system and put it in my phone using recovery,of course it didn't work because I'm in lollipop version and the system is from marshmallow then I flashed it using flashtool and it's successfu,l It worked!
But after that I get the Rooting Status:Unavailable
And can't flash anything except Ftf files and my sim 1 slot is not working,if I use both slot both won't work.
I can't find the right stock ftf for e2333 Lollipop(26.1.B.3.109_R6A)
I need the Stock ftf
I want to root and install different roms again
I'm new to Xperia and this is my first Xperia phone ever
Please help asap
Ps. At first it's Rooting Status: bootloader unlocked yes
I activated My Xperia
I think My Xperia is the problem
I read it somewhere here the when you unlocked you bootloader and activated My Xperia....I can't remember...
Is there's a way I can remove My Xperia in an ftf file?
Usually, when you relock the bootloader, you type in the command to relock it, with the bl unlock code, and boom it relocks it and wipes system with no issue.
With my device, it doesn't do that. It instead, spits out an error message saying "remote: 'root type is risk'".
I have gone into eRecovery, and downloaded latest version and recovery.
I have also tried to use the dload method, with no success, with dload telling me that the update failed.
I have flashed recovery and eRecovery stock images extracted from an UPDATE.app I found somewhere.
Would anyone know what is happening??
joenuts2124 said:
Usually, when you relock the bootloader, you type in the command to relock it, with the bl unlock code, and boom it relocks it and wipes system with no issue.
Click to expand...
Click to collapse
it's not that simple bro...
The bootloader status will not be lock, but relock. For apps like Google pay, it's like an unlocked bootloader. Only the Service firmware locks BL normally and correctly .
Do not forget that you should not joke with relock procedure. Must be full stock, (your situation is clearly not the same), otherwise you may end up with a nice paperweight.