How do you install Cyanogen mod on xperia u?? - Sony Xperia P, U, Sola, Go

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

Related

[Q] Rooted XPS being not able to install CWM

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

How to unlock Bootloader - How to install Kernel - How to Install Custom ROM

Hi Friends,
Here i am explaining
HOW TO UNLOCK BOOT LOADER:laugh:
HOW TO INSTALL OR FLASH KERNEL:cyclops:
HOW TO INSTALL OR FLASH CUSTOM KERNEL:victory:
Hit THANKS if i helped u​
FOR 2011 XPERIA Phones [LwW/Mini/Mini Pro/Active]
Below i am mentioning the steps to how to install a custom ROM (Real ICS,Serenity, HyperbeamCream etc.) i think it may be helpful.
First of all u should unlock the bootloder for installing custom ROM's (not for all ROM's)
For unlocking the boot loader for Xperia 2011 series phone u should get the unlocking code from the sony mobile site ( http://unlockbootloader.sonymobile.com/ ) follow this link and get the unlocking bootloder code.
For unlocking the boot loder Download the "fastboot" drivers from here. Install them accordingly.
Turn off your phone. Wait for 30 seconds. Connect your phone to the PC while keeping the volume up key pressed. Your phone's LED will lit blue (indicating fastboot mode).
Head over to the location where you kept the previously unzipped fastboot folder. Right click while keeping pressed the SHIFT key on the folder and select "Open command prompt here"
Type fastboot.exe -i 0x0fce getvar version to ensure your have entered bootloader mode (you will get version on java example, 0.3)
Type fastboot.exe -i 0x0fce oem unlock 0xKEY (replace KEY with unlock code you got from Sony's website earlier)
huray....ur
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! BOOTLODER IS UNLOCKED !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
then disconnect the mob from ur PC.
INSTALLING OR FLASHING KERNAL
For Installing cUSTOM rom u should use the custom KERNEL ( KRsH Kernel, EXtended Stock Kernel, Kernel Panic etc.)
for downloading u can visit http://forum.xda-developers.com/showthread.php?t=1887855
After downloading ur preferred kernel.
U must install the FLASHTOOL into ur PC. then
Open the flash tool
Click on the lightning bolt sign and select "Fastboot mode" and click OK.
Switch off ur Mobile and press the Vol UP key and connect it ur computer. Now your phone is in fast boot mode.
Now Click on "select kernel to flash" in Flashtool.
Browse to the folder where you placed the *.img file and select it.
Flashtool will install the kernel into your phone. Disconnect your phone from the PC. Wait 30 seconds.
huray
!!!!!!!!!!!!!!! Now u Successfully installed the Custom KERNEL !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Installing or Flashing Custom ROM
First of all copy the Custom ROM file in ur phones SDcard. Here is the list of Custom ROM and kernels. http://forum.xda-developers.com/showthread.php?t=1887855
Then Turn your phone on. When you see the Sony or Sony Ericsson logo on the screen, keep pressing the volume down key. It will take you to the CWM recovery mode, which was installed automatically with the kernel.
Use the volume up and down keys to navigate through menu items and the Home key for selecting.
Do a full wipe (format data, system, cache, Dalvik cache and battery cache).
Choose "install from SD card" and then select "choose zip file". Select the ROM file
It will take you to the very much intuitive Aroma installer, which is very easy and much like installing an operating system on your PC.
After finishing the installation, REBOOT ur phone twice
huray
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Now u Successfully installed the Custom ROM!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Hit THANKS if i helped u
I think that the best you can do, it will be to copy your post in the General forum of the different XPERIA devices
abheeshsv said:
Hi Friends,
Here i am explaining
HOW TO UNLOCK BOOT LOADER:laugh:
HOW TO INSTALL OR FLASH KERNEL:cyclops:
HOW TO INSTALL OR FLASH CUSTOM KERNEL:victory:
Hit THANKS if i helped u​
FOR 2011 XPERIA Phones [LwW/Mini/Mini Pro/Active]
Below i am mentioning the steps to how to install a custom ROM (Real ICS,Serenity, HyperbeamCream etc.) i think it may be helpful.
First of all u should unlock the bootloder for installing custom ROM's (not for all ROM's)
For unlocking the boot loader for Xperia 2011 series phone u should get the unlocking code from the sony mobile site ( http://unlockbootloader.sonymobile.com/ ) follow this link and get the unlocking bootloder code.
For unlocking the boot loder Download the "fastboot" drivers from here. Install them accordingly.
Turn off your phone. Wait for 30 seconds. Connect your phone to the PC while keeping the volume up key pressed. Your phone's LED will lit blue (indicating fastboot mode).
Head over to the location where you kept the previously unzipped fastboot folder. Right click while keeping pressed the SHIFT key on the folder and select "Open command prompt here"
Type fastboot.exe -i 0x0fce getvar version to ensure your have entered bootloader mode (you will get version on java example, 0.3)
Type fastboot.exe -i 0x0fce oem unlock 0xKEY (replace KEY with unlock code you got from Sony's website earlier)
huray....ur
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! BOOTLODER IS UNLOCKED !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
then disconnect the mob from ur PC.
INSTALLING OR FLASHING KERNAL
For Installing cUSTOM rom u should use the custom KERNEL ( KRsH Kernel, EXtended Stock Kernel, Kernel Panic etc.)
for downloading u can visit http://forum.xda-developers.com/showthread.php?t=1887855
After downloading ur preferred kernel.
U must install the FLASHTOOL into ur PC. then
Open the flash tool
Click on the lightning bolt sign and select "Fastboot mode" and click OK.
Switch off ur Mobile and press the Vol UP key and connect it ur computer. Now your phone is in fast boot mode.
Now Click on "select kernel to flash" in Flashtool.
Browse to the folder where you placed the *.img file and select it.
Flashtool will install the kernel into your phone. Disconnect your phone from the PC. Wait 30 seconds.
huray
!!!!!!!!!!!!!!! Now u Successfully installed the Custom KERNEL !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Installing or Flashing Custom ROM
First of all copy the Custom ROM file in ur phones SDcard. Here is the list of Custom ROM and kernels. http://forum.xda-developers.com/showthread.php?t=1887855
Then Turn your phone on. When you see the Sony or Sony Ericsson logo on the screen, keep pressing the volume down key. It will take you to the CWM recovery mode, which was installed automatically with the kernel.
Use the volume up and down keys to navigate through menu items and the Home key for selecting.
Do a full wipe (format data, system, cache, Dalvik cache and battery cache).
Choose "install from SD card" and then select "choose zip file". Select the ROM file
It will take you to the very much intuitive Aroma installer, which is very easy and much like installing an operating system on your PC.
After finishing the installation, REBOOT ur phone twice
huray
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Now u Successfully installed the Custom ROM!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Hit THANKS if i helped u
Click to expand...
Click to collapse
Hey, is it safe to install a custom rom after installing a custom rom? Currently I have jaggy rom so, will it be safe to install another rom just like the way i installed the previous rom?
Abhigyan66 said:
Hey, is it safe to install a custom rom after installing a custom rom? Currently I have jaggy rom so, will it be safe to install another rom just like the way i installed the previous rom?
Click to expand...
Click to collapse
If you do a full whipe (cashe and factory reset...you'll loose all data and apps!!!!) You will be able to change your ROM
Greets Vauvenal7
Sent from my HTC Vision
Thanks great tutorial :good:
So many tutorials on this topic and still so many questions on how to root unlock flash kernel etc etc !!
MoonBlade said:
So many tutorials on this topic and still so many questions on how to root unlock flash kernel etc etc !!
Click to expand...
Click to collapse
Hi MoonBlade,
I think this will help those guys who doesn't know how to unlock bootloader and install custom ROM.
The single post which contain all the details about to modify ur Phone. I think this will help those guys......
Help .....
Here are some questions of a beginner...
After the unlock bootloader ..... Can I flash in my phone a custom kernel and keep Stock rom ...???
And if this kernel has the overclocking feature ...... Can I overlock my stock rom with set cpu ???
I would appreciate ... if you could answer my questions ....
Airjohn said:
Here are some questions of a beginner...
After the unlock bootloader ..... Can I flash in my phone a custom kernel and keep Stock rom ...???
And if this kernel has the overclocking feature ...... Can I overlock my stock rom with set cpu ???
I would appreciate ... if you could answer my questions ....
Click to expand...
Click to collapse
Yes, definitely you can install custom kernel and Stock ROM.
Which kernel r u going to install check whether it has the overclocking.:good:
abheeshsv said:
Hi Friends,
Here i am explaining
HOW TO UNLOCK BOOT LOADER:laugh:
HOW TO INSTALL OR FLASH KERNEL:cyclops:
HOW TO INSTALL OR FLASH CUSTOM KERNEL:victory:
Hit THANKS if i helped u​
FOR 2011 XPERIA Phones [LwW/Mini/Mini Pro/Active]
Below i am mentioning the steps to how to install a custom ROM (Real ICS,Serenity, HyperbeamCream etc.) i think it may be helpful.
First of all u should unlock the bootloder for installing custom ROM's (not for all ROM's)
For unlocking the boot loader for Xperia 2011 series phone u should get the unlocking code from the sony mobile site ( http://unlockbootloader.sonymobile.com/ ) follow this link and get the unlocking bootloder code.
For unlocking the boot loder Download the "fastboot" drivers from here. Install them accordingly.
Turn off your phone. Wait for 30 seconds. Connect your phone to the PC while keeping the volume up key pressed. Your phone's LED will lit blue (indicating fastboot mode).
Head over to the location where you kept the previously unzipped fastboot folder. Right click while keeping pressed the SHIFT key on the folder and select "Open command prompt here"
Type fastboot.exe -i 0x0fce getvar version to ensure your have entered bootloader mode (you will get version on java example, 0.3)
Type fastboot.exe -i 0x0fce oem unlock 0xKEY (replace KEY with unlock code you got from Sony's website earlier)
huray....ur
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! BOOTLODER IS UNLOCKED !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
then disconnect the mob from ur PC.
INSTALLING OR FLASHING KERNAL
For Installing cUSTOM rom u should use the custom KERNEL ( KRsH Kernel, EXtended Stock Kernel, Kernel Panic etc.)
for downloading u can visit http://forum.xda-developers.com/showthread.php?t=1887855
After downloading ur preferred kernel.
U must install the FLASHTOOL into ur PC. then
Open the flash tool
Click on the lightning bolt sign and select "Fastboot mode" and click OK.
Switch off ur Mobile and press the Vol UP key and connect it ur computer. Now your phone is in fast boot mode.
Now Click on "select kernel to flash" in Flashtool.
Browse to the folder where you placed the *.img file and select it.
Flashtool will install the kernel into your phone. Disconnect your phone from the PC. Wait 30 seconds.
huray
!!!!!!!!!!!!!!! Now u Successfully installed the Custom KERNEL !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Installing or Flashing Custom ROM
First of all copy the Custom ROM file in ur phones SDcard. Here is the list of Custom ROM and kernels. http://forum.xda-developers.com/showthread.php?t=1887855
Then Turn your phone on. When you see the Sony or Sony Ericsson logo on the screen, keep pressing the volume down key. It will take you to the CWM recovery mode, which was installed automatically with the kernel.
Use the volume up and down keys to navigate through menu items and the Home key for selecting.
Do a full wipe (format data, system, cache, Dalvik cache and battery cache).
Choose "install from SD card" and then select "choose zip file". Select the ROM file
It will take you to the very much intuitive Aroma installer, which is very easy and much like installing an operating system on your PC.
After finishing the installation, REBOOT ur phone twice
huray
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Now u Successfully installed the Custom ROM!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Hit THANKS if i helped u
Click to expand...
Click to collapse
you are amazing mate thanks :good::fingers-crossed:
Hurra
Is most useful thread
Thanks
abheeshsv said:
Hi Friends,
Here i am explaining
HOW TO UNLOCK BOOT LOADER:laugh:
HOW TO INSTALL OR FLASH KERNEL:cyclops:
HOW TO INSTALL OR FLASH CUSTOM KERNEL:victory:
Hit THANKS if i helped u​
FOR 2011 XPERIA Phones [LwW/Mini/Mini Pro/Active]
Below i am mentioning the steps to how to install a custom ROM (Real ICS,Serenity, HyperbeamCream etc.) i think it may be helpful.
First of all u should unlock the bootloder for installing custom ROM's (not for all ROM's)
For unlocking the boot loader for Xperia 2011 series phone u should get the unlocking code from the sony mobile site ( http://unlockbootloader.sonymobile.com/ ) follow this link and get the unlocking bootloder code.
For unlocking the boot loder Download the "fastboot" drivers from here. Install them accordingly.
Turn off your phone. Wait for 30 seconds. Connect your phone to the PC while keeping the volume up key pressed. Your phone's LED will lit blue (indicating fastboot mode).
Head over to the location where you kept the previously unzipped fastboot folder. Right click while keeping pressed the SHIFT key on the folder and select "Open command prompt here"
Type fastboot.exe -i 0x0fce getvar version to ensure your have entered bootloader mode (you will get version on java example, 0.3)
Type fastboot.exe -i 0x0fce oem unlock 0xKEY (replace KEY with unlock code you got from Sony's website earlier)
huray....ur
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! BOOTLODER IS UNLOCKED !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
then disconnect the mob from ur PC.
INSTALLING OR FLASHING KERNAL
For Installing cUSTOM rom u should use the custom KERNEL ( KRsH Kernel, EXtended Stock Kernel, Kernel Panic etc.)
for downloading u can visit http://forum.xda-developers.com/showthread.php?t=1887855
After downloading ur preferred kernel.
U must install the FLASHTOOL into ur PC. then
Open the flash tool
Click on the lightning bolt sign and select "Fastboot mode" and click OK.
Switch off ur Mobile and press the Vol UP key and connect it ur computer. Now your phone is in fast boot mode.
Now Click on "select kernel to flash" in Flashtool.
Browse to the folder where you placed the *.img file and select it.
Flashtool will install the kernel into your phone. Disconnect your phone from the PC. Wait 30 seconds.
huray
!!!!!!!!!!!!!!! Now u Successfully installed the Custom KERNEL !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Installing or Flashing Custom ROM
First of all copy the Custom ROM file in ur phones SDcard. Here is the list of Custom ROM and kernels. http://forum.xda-developers.com/showthread.php?t=1887855
Then Turn your phone on. When you see the Sony or Sony Ericsson logo on the screen, keep pressing the volume down key. It will take you to the CWM recovery mode, which was installed automatically with the kernel.
Use the volume up and down keys to navigate through menu items and the Home key for selecting.
Do a full wipe (format data, system, cache, Dalvik cache and battery cache).
Choose "install from SD card" and then select "choose zip file". Select the ROM file
It will take you to the very much intuitive Aroma installer, which is very easy and much like installing an operating system on your PC.
After finishing the installation, REBOOT ur phone twice
huray
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Now u Successfully installed the Custom ROM!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Hit THANKS if i helped u
Click to expand...
Click to collapse
Flash tool shows the device must be rooted first to flash the kernel..
but interesting point is that my
sony ericsson live with walkman is rooted
ver-2.3.4 build version4.0.2.A.0.62
its under stock kernel ..plz help me out ...
or recommend me a custom rom that can work on stock kernel .so then i may be able to flash kernel
or recommend me any software to flash kernelsfrom pc
samxceptional said:
Flash tool shows the device must be rooted first to flash the kernel..
but interesting point is that my
sony ericsson live with walkman is rooted
ver-2.3.4 build version4.0.2.A.0.62
its under stock kernel ..plz help me out ...
or recommend me a custom rom that can work on stock kernel .so then i may be able to flash kernel
or recommend me any software to flash kernelsfrom pc
Click to expand...
Click to collapse
First you need to unlock the bootloader to flash the custom kernel. Follow for example the guide in the stickies in general forum
And just check out development section for custom roms for locked bootloader, then try some and find your personal best rom/kernel. We are not allowed to answer that question
Hi guys, did i need root for flashing kernel??
epulrevo said:
Hi guys, did i need root for flashing kernel??
Click to expand...
Click to collapse
For the stock kernel.sin not, for a custom kernel you need an unlocked bootloader
Sent from my Nexus 4 running Android 4.2.2
mihahn said:
For the stock kernel.sin not, for a custom kernel you need an unlocked bootloader
Sent from my Nexus 4 running Android 4.2.2
Click to expand...
Click to collapse
Can u give me link to stock kernel that has cwm recovery installed??
Sent from my GT-S5360 using xda premium
kreatonn said:
Can u give me link to stock kernel that has cwm recovery installed??
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Any custom kernel (boot.img) has cwm or TWRP recovery preinstalled. Just check the development section, but remember that you can just flash a kernel working for your android version (2.3 gingerbread, 4.0 ice cream sandwich, 4.1/4.2 jelly bean)
Sent from my Nexus 4 running Android 4.2.2
help me to unlock bootloader your " fastboot driver " download link is not available please mention another link to download..
nice tutorial, but so many tutorial like this :good:
You can try this guide
http://forum.xda-developers.com/showthread.php?t=1879750

[Tutorial] Root, Unlock, Recovery and flashing a Custom ROM

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

[xperia p][BL][Root][CWM][CM]how to unlock bootloader|root|install CWM | install CM

I found many people stuck on how to unlock a boot loader so this is a quick guide on how to unlock a boot loader for Xperia P
Please note that you may void the warranty of your device
i am not responsible if you brick your phone or anything like that
First, you should confirm that it is possible to unlock the boot loader of your device by checking the service menu. In your device, open the dialler and enter *#*#7378423#*#* to access the service menu go to Service info > Configuration > Rooting Status. If Bootloader unlock allowed says Yes, then you can continue with the next step. If it says No, or if the status is missing, your device cannot be unlocked.
Download and install the latest Android SDK from http://developer.android.com/index.html
Unzip the android sdk open sdk manager and under tools section you will find usb driver download that.
Download and unzip this file http://developer.sonymobile.com/downloads/drivers/fastboot-driver/
Place the unzipped file in the Android SDK > extras > google>usb_driver folder on your computer
now go to http://unlockbootloader.sonymobile.com/unlock/step2?token=cc968676d7f37bb813c9a50af95fb6cf where it will ask that are you sure click yes, i'm sure and then you will be directed to a page where you accept the legal terms and conditions and click i accept in next page write your name and a valid email address and IMEI number. to get IMEI number open phone application in your phone and type *#06# there you will get a 15 digit IMEI number but you will need a 14 digit IMEI number to place in the above page for that you will omit the right most digit of that 15 digit IMEI number after that click submit now you will get an email like the one shown .
{
"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"
}
Turn off your device.
open control panel On your computer and open device manager, push and hold the volume down button at the same time as you connect the device to the computer with a USB-cable. now you will see s1 boot found with a yellow triangle right click over it and click update driver and then point it to the file u downloaded above (the one you placed in Android SDK > extras > google>usb_driver folder ) and select Android Boot loader Interface-file once you get android device in control panel lets proceed further
go to androidsdk\platform-tools\ (make sure you have fastboot.exe file here if not try downloading Android sdk platform tool from sdk manager) and open command prompt here by making sure that no file is selected and pressing shift key and then click right mouse button there you will see open command prompt here click it
Enter fastboot.exe -i 0x0fce getvar version, and verify that you get a response back (for example "0.3" or "0.5"). This means your device is connected properly.
enter fastboot.exe -i 0x0fce oem unlock 0xKEY where KEY is the unlock boot loader key you got via Email as shown in the attachment shown above
so like for my key the code will be
fastboot.exe -i 0x0fce oem unlock 0x9FF5866B6621D91E use your own key not mine if you use mine it will not unlock your boot loader
Congrats your bootloader is unlocked now
after unlocking if you need to root your phone then just visit this http://forum.xda-developers.com/showthread.php?t=2335992 this is the easiest way to root your phone and with no problem at all. Thanks to DoomLord for this easy rooting kit
[cwm][cyanogenmod]how to install recovery and cyanogenmod
How To install cwm recovery into your Xperia P
just download the attachment
View attachment cwm-1.0-nypon.zip
extract it and now connect your phone with USB debugging on you can enable this by going to your phone settings then to developer option then checking use USB debugging mode
now just run the install.bat file inside the extracted folder and enjoy your recovery
before installing any rom i would recommend you do a nandroid backup of you phone
for this turn off you phone power it on and when sony logo flashes pres volume up key 2-3 times until you enter recovery
now how to use recovery
1.use volume up or down to navigate through recovery
2.use camera button to select a selection
and then choose backup/restore and select backup and then select yes backup and this way you can also restore your backup whenever you did something wrong while installing any rom.
How To flash a CyanogenMod into your Xperia P
you must have bootloader unlocked
Download any CyanogenMod from this site and download nypon version of your CyanogenMod that you want.
you also need to download gaaps for google application as they are not pre-installed on CyanogenMod
you can download this from here choose the link for android version that you are downloading CyanogenMod.
Once you download the zip file extract the boot.img in the zip file and paste it to your andrtoid sdk\platform-tools (here you must have FASTBOOT.EXE)
also copy gaaps.zip that you downloaded above
NOW YOU COPY THE ROM ZIP FILE INTO YOU INTERNAL STORAGE ANYWHERE and also copy gaaps.zip that you downloaded above
this is very important if you don't do this you will not be able to use your phone at all...!!
now turn off your phone and wait for 30 sec now insert USB cable into pc from one end and push and hold volume up key of you phone now insert USB cable into your phone a blue notification will light up if you have unlocked your bootloader properly that you must have the fastboot driver into your pc and your phone will enter to fastboot mod and blue light will lit up
now go to where you extracted the boot.img file that is andrtoid sdk\platform-tools (here you must have FASTBOOT.EXE)
now enter command prompt here by pressing and holding shift key and right click anywhere in this folder and you will see open command prompt here click it
now enter fastboot flash boot boot.img this is to flash the kernel into your phone as CyanogenMod Rom need different kernel
now enter fastboot reboot this will reboot your phone now disconnect your phone from pc and when free Xperia logo flashes press volume up key 2 -3 times until you enter recovery
now navigate to install zip using volume button and press camera key to select it
now select choose zip from sdcard and select it now navigate to your zip rom where you coping in your internal storage and select it now select yes - install zip and wait
now again choose zip from sd card and flash the gaaps you copied
now go back to main menu and go to advanced option and select wipe dalvik cache if you are installing CyanogenMod for the first time now go back and select wipe data/factory reset once you did this now reboot system now and enjoy the rom
thanks to cyanogenmod for the rom
There is already one complete guide for Xperia P - http://forum.xda-developers.com/showthread.php?t=2107775
Anyways thanks for ur hard work
Waledac said:
There is already one complete guide for Xperia P - http://forum.xda-developers.com/showthread.php?t=2107775
Anyways thanks for ur hard work
Click to expand...
Click to collapse
i know but i saw many people still getting confused and asking in Q&A forums although i directed them to the the above link so i thought i should make one post for them
There is one more simple & detailed guide, which I followed & worked for me, I have also done rooting & upgrade it.
You may like to try it once, full step by step guide
check this >> Unlock Sony Xperia P bootloader :good::good:
Can You explain more the CM part, Whats that Android sdk.or i dk
Sent from my LT22i using xda app-developers app
when u have downloaded the android sdk while unlocking your bootloader thats your android sdk link is given above and once you xtract it you will find a folder called platform tools in it and there you will find fastboot.exe we want this to flash the kernel then follow the procedure mentioned above
killoi said:
Can You explain more the CM part, Whats that Android sdk.or i dk
Sent from my LT22i using xda app-developers app
Click to expand...
Click to collapse
you would have downloaded the android sdk while unlocking your bootloader we need this as when you extract android sdk there is a folder platform-tools in it and there is executable file fastboot.exe we need this to flash kernel so just place you boot.img of kernel into this folder and then follow the procedure given above
garvitdelhi said:
How To install cwm recovery into your Xperia P
just download the attachment
View attachment 2154673
extract it and now connect your phone with USB debugging on you can enable this by going to your phone settings then to developer option then checking use USB debugging mode
now just run the install.bat file inside the extracted folder and enjoy your recovery
before installing any rom i would recommend you do a nandroid backup of you phone
for this turn off you phone power it on and when sony logo flashes pres volume up key 2-3 times until you enter recovery
now how to use recovery
1.use volume up or down to navigate through recovery
2.use camera button to select a selection
and then choose backup/restore and select backup and then select yes backup and this way you can also restore your backup whenever you did something wrong while installing any rom.
How To flash a CyanogenMod into your Xperia P
you must have bootloader unlocked
Download any CyanogenMod from this site and download nypon version of your CyanogenMod that you want.
you also need to download gaaps for google application as they are not pre-installed on CyanogenMod
you can download this from here choose the link for android version that you are downloading CyanogenMod.
Once you download the zip file extract the boot.img in the zip file and paste it to your andrtoid sdk\platform-tools (here you must have FASTBOOT.EXE)
also copy gaaps.zip that you downloaded above
NOW YOU COPY THE ROM ZIP FILE INTO YOU INTERNAL STORAGE ANYWHERE and also copy gaaps.zip that you downloaded above
this is very important if you don't do this you will not be able to use your phone at all...!!
now turn off your phone and wait for 30 sec now insert USB cable into pc from one end and push and hold volume up key of you phone now insert USB cable into your phone a blue notification will light up if you have unlocked your bootloader properly that you must have the fastboot driver into your pc and your phone will enter to fastboot mod and blue light will lit up
now go to where you extracted the boot.img file that is andrtoid sdk\platform-tools (here you must have FASTBOOT.EXE)
now enter command prompt here by pressing and holding shift key and right click anywhere in this folder and you will see open command prompt here click it
now enter fastboot flash boot boot.img this is to flash the kernel into your phone as CyanogenMod Rom need different kernel
now enter fastboot reboot this will reboot your phone now disconnect your phone from pc and when free Xperia logo flashes press volume up key 2 -3 times until you enter recovery
now navigate to install zip using volume button and press camera key to select it
now select choose zip from sdcard and select it now navigate to your zip rom where you coping in your internal storage and select it now select yes - install zip and wait
now again choose zip from sd card and flash the gaaps you copied
now go back to main menu and go to advanced option and select wipe dalvik cache if you are installing CyanogenMod for the first time now go back and select wipe data/factory reset once you did this now reboot system now and enjoy the rom
thanks to cyanogenmod for the rom
Click to expand...
Click to collapse
Step3 stoped in my pc
sent from Xperia P rooted 4.1.2jb
---------- Post added at 05:25 PM ---------- Previous post was at 05:20 PM ----------
garvitdelhi said:
How To install cwm recovery into your Xperia P
just download the attachment
View attachment 2154673
extract it and now connect your phone with USB debugging on you can enable this by going to your phone settings then to developer option then checking use USB debugging mode
now just run the install.bat file inside the extracted folder and enjoy your recovery
thanks to cyanogenmod for the rom
Click to expand...
Click to collapse
Step3 stoped in my pc
sent from Xperia P rooted 4.1.2jb
sent from Xperia P rooted 4.1.2jb
androidyek said:
Step3 stoped in my pc
sent from Xperia P rooted 4.1.2jb
---------- Post added at 05:25 PM ---------- Previous post was at 05:20 PM ----------
Step3 stoped in my pc
Click to expand...
Click to collapse
you had your phone at time of connecting your mobile keep it on and if you have any lockscreen then keep it unlocked as well
and don't quote the whole OP
Em , sorry for so much questions lol =) sorry cause i'm new on this stuffs
i rooted my device successfully.
i tried to unlock my bootloader , and I'm not sure if it's unlocked or nope, now it's turned from : Bootloader unlock allowed : YES to>> Bootloader Unlocked : Yes
so this is mean that it's unlocked or nope? and is there any ways to know if it's locked or unlocked?
and thanks for everything.
killoi said:
Em , sorry for so much questions lol =) sorry cause i'm new on this stuffs
i rooted my device successfully.
i tried to unlock my bootloader , and I'm not sure if it's unlocked or nope, now it's turned from : Bootloader unlock allowed : YES to>> Bootloader Unlocked : Yes
so this is mean that it's unlocked or nope? and is there any ways to know if it's locked or unlocked?
and thanks for everything.
Click to expand...
Click to collapse
It's unlocked now! Congrats!
moli2398 said:
It's unlocked now! Congrats!
Click to expand...
Click to collapse
Thanks bro
Sent from my LT22i using Tapatalk 4
killoi said:
so this is mean that it's unlocked or nope? and is there any ways to know if it's locked or unlocked?
and thanks for everything.
Click to expand...
Click to collapse
Its unlocked enjoy custom roms
Sent from my Xperia P using Tapatalk 4
there is no USB DRIVER option under tools
PLEASE HELP
Xperia P
dear sir
pls advice..whenever i install new rom of Cm11 on my SOny Xperia P, CWM also flash the same, that every time i need install CWM again n again, every new flash rom or update using OTA update, getting the same activity
please advice soon....
priteshc said:
dear sir
pls advice..whenever i install new rom of Cm11 on my SOny Xperia P, CWM also flash the same, that every time i need install CWM again n again, every new flash rom or update using OTA update, getting the same activity
please advice soon....
Click to expand...
Click to collapse
What for you install cwm every install cm11 rom? You only need flash latest rom cm11 zip that a way has included flash kernel too..because cwm/twrp has included provided on kernel..
Sent from my Xperia P using XDA Premium 4 mobile app
Hello my xperia p has a reboot loop. and install.bat stops in step 1.
Also it has locked bootloader and it is non root. Any help?
######SOLVE FOUND#######
If you are experiencing this problem, you must read flash the official firmware

[GUIDE] Unlock/Root/Flash for Nexus 6P

Heisenberg's How-To Guide For Beginners
Nexus 6P
{
"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"
}
Intro
This thread will serve as a location for basic how-to guides for the Nexus 6P. I'm going to start off with a couple of the more obvious ones and go from there. If anyone has any suggestions for additions please feel free to let me know.
If you're unsure about something please read the FAQ section in post #3 before creating a post to ask a question.
Prerequisites
Always update your phone to the latest build available before starting the unlocking/rooting process. This guide is always current/correct as per the requirements of the most recent build available.
You'll need a working adb/fastboot environment on your PC to get through some of these guides.
Google have finally decided to allow us to install adb & fastboot without needing to install the entire Android SDK. Hurrah! What does this mean for you? Much less mucking around. Grab the appropriate version for your OS:
Platform tools for Windows | Google USB driver for Windows
Platform tools for Linux
Platform tools for Mac
Main Page
Simply download and extract the archive (and follow the linked instructions for the Google USB Driver for Windows). Once you've extracted the download you should have a platform-tools folder, within that folder you should see fastboot and adb. I'll refer to this as your fastboot folder/directory or working folder/directory during this guide. To make sure adb is correctly installed, open a command prompt from within your fastboot folder (hold shift + right click, select open command prompt here) and issue this command:
Code:
adb version
If it returns a version number for Android Debug Bridge then you're good to go.
You can test adb by connecting your device to your PC while booted into Android (making sure that adb/usb debugging is enabled in Settings>Developer Options) with the screen unlocked and issuing this command:
Code:
adb devices
It should return your device serial number, if so, adb is working.
You can test fastboot by connecting your device to your PC while booted into the bootloader (power + volume down) and issuing this command:
Code:
fastboot devices
It should return your device serial number, if so, fastboot is working.
Please see older method for installing adb/fastboot here:
You must have Java installed and up to date in order to use the SDK Manager, please ensure that this is taken care of before installing the SDK.
Please do not install adb/fastboot via any means other than the Android SDK, using other tools (like Minimal adb & fastboot) can lead to an outdated setup and various problems with flashing. You've been warned, other tools will not be supported in this thread.
Go here to download the Android SDK, which will give you most updated version of adb and fastboot. Scroll to the bottom of the page and find Other Download Options>SDK Tools Only, and grab the right version for your OS. While it's downloading create a folder in C:\ called SDK (C:\SDK). Once you've downloaded the zip you can extract it into your C:\SDK folder. Navigate to C:\SDK\android-sdk-windows and open SDK Manager.exe. In SDK Manager you need to install the following packages:
Tools> Android SDK Tools, Android SDK Platform-tools
Extras> Android Support Library, Google USB Driver
Once you have installed those, inside C:\SDK you should see some new folders, one of them will be called platform-tools, within that folder you should see fastboot.exe and adb.exe. I'll refer to this as your fastboot folder/directory or working folder/directory during this guide. To make sure adb is correctly installed, open a command prompt from within your fastboot folder (hold shift + right click, select open command prompt here) and issue this command:
Code:
adb version
If it returns a version number for Android Debug Bridge then you're good to go.
You can test adb by connecting your device to your PC while booted into Android (making sure that adb/usb debugging is enabled in Settings>Developer Options) with the screen unlocked and issuing this command:
Code:
adb devices
It should return your device serial number, if so, adb is working.
You can test fastboot by connecting your device to your PC while booted into the bootloader (power + volume down) and issuing this command:
Code:
fastboot devices
It should return your device serial number, if so, fastboot is working.
By attempting any of the processes listed this thread you accept full responsibility for your actions. I will not be held responsible if your device stops working, catches on fire, or turns into a hipster and claims to have been modified before it was cool.
Quick Tips
How to boot into the bootloader:
Power off your device. Once it's powered off hold power + volume down and the phone will boot into the bootloader. You can also use the following adb command:
Code:
adb reboot bootloader
You can also use an app called Quick Boot to boot into the bootloader directly from Android (root required).
How to boot into recovery:
Boot into the bootloader (see above), use the volume keys to scroll through the options and use the power button to select the recovery mode option. You can also use the following adb command:
Code:
adb reboot recovery
You can also use an app called Quick Boot to boot into the recovery directly from Android (root required).
Index
Post #1
1. How To Unlock Your Bootloader
2. How To Install A Custom Recovery On Your Device
3. How To Decrypt Your Data Partition
4. How To Make A Nandroid Backup With TWRP Recovery
5. How To Make An EFS Backup With TWRP Recovery
6. How To Root
Post #2
7. How To Install A ROM with TWRP Recovery
8. How To Install A Custom Kernel With TWRP Recovery
9. How To Update To A New Build Of The Stock ROM
10. How To Flash The Factory Images (Return To Stock)
11. How To Flash The Factory Images (Return To Stock But Leaving Internal Storage Intact)
12. How To ADB Sideload an incremental OTA update package.
13. How To ADB Sideload a full OTA update package.
14. How To Update To Android 7.0 Nougat
FAQ can be found in post #3!
1. How To Unlock Your Bootloader
Go into Settings/About Phone, scroll down and click on “build number†continuously until you see a toast notification telling you that you've enabled Developer Options. Go back to your Settings menu and enter Developer Options, scroll down and click on the “Enable OEM Unlock†checkbox, also make sure you enable USB Debugging while you're in the Developer Options menu.
Power off your phone then boot into the bootloader (power + volume down).
Connect your phone to your PC via usb cable.
Open a command prompt from within your fastboot folder (navigate to where you have fastboot.exe located on your PC, shift + right click anywhere within that folder, select open command prompt here).
Check your fastboot connection by issuing this command:
Code:
fastboot devices
It should return your device serial number, if not you need to make sure your drivers are installed correctly.​
Once you've confirmed your fastboot connection issue the unlock command:
Code:
fastboot flashing unlock
This will erase all user data from the device!
You should now see a screen on your phone asking you to confirm this action, use the volume keys to scroll and the power key to confirm if you're sure you want to go ahead.
Allow the process to complete and then issue this command:
Code:
fastboot reboot
Allow everything to go ahead and once finished you can disconnect your usb cable.
Note: After unlocking your bootloader, each time your phone boots up you'll be greeted with a warning that says "Your device software can't be checked for corruption. Please lock the bootloader". This is nothing to worry about, it's normal to see this when you have an unlocked bootloader. You can't remove it, as long as your bootloader is unlocked it will stay there.
Important: do not relock your bootloader unless your phone is fully stock. You must flash the factory images first in order to remove root and custom recovery (if you have them), if this precaution isn't taken you may end up with a brick. Please see section 10 of this guide for full instructions on how to return to stock.
2. How To Install A Custom Recovery On Your Device
Prerequisites: unlocked bootloader (section 1).
Download the latest TWRP Recovery.
Make sure you check the md5 of the file to verify its integrity (where possible).
Place the file in your fastboot folder (this is where fastboot.exe is located on your PC).
Boot into the bootloader. Open a command prompt from within your fastboot folder (navigate to where you have fastboot.exe located on your PC, shift + right click anywhere within that folder, select open command prompt here), enter this command:
Code:
fastboot flash recovery <filename>.img
(The recovery filename in the command will change depending on which recovery you're flashing)
Use the volume keys to scroll and power key to select the Reboot Bootloader option. Once the phone has booted back into the bootloader you can use the volume keys to scroll and the power key to boot into your newly flashed recovery. It's now safe to disconnect your usb cable.
When TWRP boots up you'll be asked whether you want to allow system modifications or to keep it read-only, choose to allow system modifications, there's no benefit to keeping it read-only.
On Nougat you need to flash SuperSU after booting into TWRP otherwise TWRP won't stick (see section 6).
Do not flash the version of SuperSU that TWRP offers to flash for you in order to give you root, it is not compatible and will cause problems. When you attempt to reboot out of TWRP it will tell you that it's detecting that you don't have root and it will offer to root for you, skip past this.
3. How To Decrypt Your Data Partition
This is no longer necessary as long as you use TWRP 2.8.7.1 or newer, unless you are using the Android N developer preview, in which case you must decrypt.
Prerequisites: unlocked bootloader (section 1).
TWRP recovery cannot decrypt your data partition at this stage. In order for TWRP to be able to read/write on your data partition (to root or create a nandroid backup) you will need to format it, a format will remove encryption.
Boot into the bootloader and connect your phone to your PC via usb cable.
Open a command prompt from within your fastboot folder (navigate to where you have fastboot.exe located on your PC, shift + right click anywhere within that folder, select open command prompt here), enter this command:
Code:
fastboot format userdata
Please note: this will erase all user data from the device!
Once the process has completed you can either reboot normally:
Code:
fastboot reboot
Or you can reboot back to the bootloader in order to undertake another task:
Code:
fastboot reboot-bootloader
4. How To Make A Nandroid Backup With TWRP Recovery
Prerequisites: unlocked bootloader (section 1), TWRP recovery (section 2).
Warning: before you make a backup with TWRP you must remove all lockscreen security. If you do not do this you will not be able to unlock your device after restoring your backup (entering your pin will result in an "incorrect pin" message), you'll be forced to perform a factory reset to boot into Android. To remove lockscreen security go to Settings>Security>Screen Lock and set it to swipe/none.
A nandroid backup is a very important thing to have before installing any custom software on your device. It's basically a backup of your stock system that you can fall back on if anything goes wrong or if you just want your stock ROM back. You can also use the backup tool to create a backup of your favourite ROM set up exactly the way you like it. The backup you create can be easily restored using the restore tool in TWRP recovery.
Boot into TWRP and select the backup option from the TWRP home screen, check the system/data/boor boxes, and swipe to backup. The process will take a few minutes.
Note: If you happened to forget to remove lockscreen security (PIN/Pattern/Fingerprint) before creating your backup, and you cannot get into your OS after restoring, you can do the following to fix the issue. Boot into TWRP and use the built in file manager to delete /data/sytem/locksettings.db. This should be enough to get you into your OS again. If it isn't you can also try deleting /data/system/locksettings.db-shm and /data/system/locksettings.db-wal. If this still doesn't fix your issue you can delete /data/system/gatekeeper.password.key and /data/system/gatekeeper.pattern.key.
5. How To Make An EFS Backup With TWRP Recovery
An EFS backup is very important to have, if your EFS partition becomes corrupt you will have no IMEI, and therefore will not be able to use the phone as a phone. Making an EFS backup is insurance against this catastrophic event. Without a backup, restoring your EFS can be extremely difficult or impossible. The backup you create can be easily restored using the restore tool in TWRP recovery.
Boot into TWRP and select the backup option from the TWRP home screen, make sure only the EFS box is selected, and swipe to backup. The process will take a few seconds. Keep a copy of the backup on your phone and also keep another copy somewhere safe.
6. How To Root
Prerequisites: unlocked bootloader (section 1), TWRP recovery (section 2).
Download the latest root version (Magisk, SuperSU) of your choosing to your phone:
Magisk Stable
Magisk Beta
SuperSU Stable
SuperSU Beta
Boot into TWRP recovery and enter the install menu.
Navigate to where you have the root zip stored on your internal storage and select it.
Swipe to install.
Once the zip has installed you'll have an option to wipe cache/dalvik and an option to reboot system. Wipe the cache/dalvik, hit the back button, and hit the reboot system button. That's it.
Do not flash the version of SuperSU that TWRP offers to flash for you in order to give you root, it is not compatible and will cause problems. When you attempt to reboot out of TWRP it will tell you that it's detecting that you don't have root and it will offer to root for you, skip past this. You do have root, ignore this every time it comes up.
FAQ can be found in post #3!
Donate To Me
FAQ can be found in post #3!
7. How To Install A ROM with TWRP Recovery
Prerequisites: unlocked bootloader (section 1), TWRP recovery (section 2).
Installing a ROM is a pretty straight forward and easy process. Before you install anything you should make a nandroid backup (instructions above).
Download a ROM and appropriate Gapps package and place on your device. You'll also need to find out what build your ROM is based on and download the vendor image for that build, you'll find the latest in my index here.
Boot into your custom recovery.
Perform a full wipe.
Select the wipe option from the TWRP home screen.
Select advanced wipe.
Check the system, data, cache, and dalvik cache options.
Swipe to wipe.
Install the ROM.
Select the install option from the TWRP home screen.
Navigate to where you have the ROM zip stored on your internal storage and select it. You can hit the "add more zips" button now to queue up your gapps package to be flashed after the ROM zip.
Swipe to install.
Most ROMs will run an installer script at this point but some ROMs have what is called an Aroma Installer which allow you to choose some install options before the script runs.​
Hit the home button once everything has finished installing.
Install the appropriate vendor image.
Select the install option from the TWRP home screen.
Click the "install image" button in the bottom-right corner.
Navigate to where you have the vendor image stored on your internal storage and select it.
You'll now be asked which partition to flash the image to, select vendor.
Swipe to install.
Once you've installed all necessary zips/images you'll have an option to wipe cache/dalvik and an option to reboot system, hit the reboot system button and you'll boot into your new ROM.
8. How To Install A Custom Kernel With TWRP Recovery
Prerequisites: unlocked bootloader (section 1), TWRP recovery (section 2).
A custom kernel can open up a new level of control over your device, such as overclocking/underclocking, undervolting, changing governors, changing I/O schedulers, adjusting colour calibrations, adjusting sound calibrations, and many other options.
Download a kernel that is compatible with your current ROM.
Check the md5 to verify its integrity.
Enter TWRP recovery.
Select the install option from the TWRP home screen.
Navigate to the kernel and select it.
Swipe to install.
You'll have an option to wipe cache/dalvik and an option to reboot system, hit the reboot system button.
Once your phone has booted up you can use a kernel tuning app to change governors, I/O scheduler, clock speed, and other options. Some of the popular kernel apps are Kernel Auditor, Trickster Mod, No Frills, Kernel Tuner, and many more.
9. How To Update To A New Build Of The Stock ROM
Prerequisites: unlocked bootloader (section 1).
This method does not wipe your data, so you will keep your apps and settings. You should have no problems, however, if you experience problems you may need to perform a factory reset and flash again. Make a backup first and transfer it to your PC.
Download the latest build via the appropriate factory images for your model (Nexus 6P/Angler) here.
Unzip the angler-xxxxxx-factory-xxxxxxxx (x's replace variables) into a directory on your PC (for this guide we'll use C:\angler\).
Once unzipped you should have a folder named angler-xxxxxx (x's replace variables). Open it and move the following files to a new directory named C:\angler\images\:
bootloader-angler-angler-xx.xx.img
radio-angler-angler-xx.xx.img
(Please note that radio and bootloader naming changes from build to build so the filenames and below commands will change with them)
Within C:\angler\angler-xxxxxx\ you'll see another zip archive named image-angler-xxxxxx, unzip the contents of that zip into the C:\angler\images\ folder we created before. Now within C:\angler\images\ you should have the following files:
android-info.txt
boot.img
bootloader-angler-angler-xx.xx.img
cache.img (not present on Android 7.1.2 and above)
radio-angler-angler-xx.xx.img
recovery.img
system.img
userdata.img
vendor.img
Boot into the bootloader and connect your phone to your PC via usb cable.
Open a command prompt from within your fastboot folder (navigate to where you have fastboot.exe located on your PC, shift + right click anywhere within that folder, select open command prompt here), enter these commands to flash:
Code:
fastboot flash bootloader C:\angler\images\bootloader-angler-angler-xx.xx.img
fastboot reboot-bootloader
fastboot flash radio C:\angler\images\radio-angler-angler-xx.xx.img
fastboot reboot-bootloader
fastboot flash boot C:\angler\images\boot.img
fastboot erase cache
(above command is unnecessary on Android 7.1.2 and above)
fastboot flash cache C:\angler\images\cache.img
(above command is unnecessary on Android 7.1.2 and above)
fastboot flash recovery C:\angler\images\recovery.img
fastboot flash system C:\angler\images\system.img
fastboot flash vendor C:\angler\images\vendor.img
On 7.1.2 and above you'll also need to boot into TWRP recovery and wipe cache and dalvik cache.
Once all operations are complete you can reboot the device.
You'll have to flash SuperSU again now, plus add any mods that you previously had.
10. How To Flash The Factory Images (And Return To Stock)
Prerequisites: unlocked bootloader (section 1).
This section will explain how to return the phone to be like it was when it came out of the box. This will wipe everything from the phone. If you wish to flash the factory images without wiping your personal data from the internal storage please move on to the next section.
Go to Settings/Backup & Reset and perform a factory data reset. This will remove all of your user data from the device (apps, settings, photos, music, etc).
Download the appropriate factory images for your model here.
Unzip the angler-xxxxxx-factory-xxxxxxxx (x's replace variables) into a directory on your PC (for this guide we'll use C:\angler\).
Once unzipped you should have a folder named angler-xxxxxx (x's replace variables). Open it and move the following files to a new directory named C:\angler\images\:
bootloader-angler-angler-xx.xx.img
radio-angler-angler-xx.xx.img
(Please note that radio and bootloader naming changes from build to build so the filenames and below commands will change with them)
Within C:\angler\angler-xxxxxx\ you'll see another zip archive named image-angler-xxxxxx, unzip the contents of that zip into the C:\angler\images\ folder we created before. Now within C:\angler\images\ you should have the following files:
android-info.txt
boot.img
bootloader-angler-angler-xx.xx.img
cache.img (not present on Android 7.1.2 and above)
radio-angler-angler-xx.xx.img
recovery.img
system.img
userdata.img
vendor.img
Boot into the bootloader and connect your phone to your PC via usb cable.
Open a command prompt from within your fastboot folder (navigate to where you have fastboot.exe located on your PC, shift + right click anywhere within that folder, select open command prompt here), enter these commands to flash:
Code:
fastboot flash bootloader C:\angler\images\bootloader-angler-angler-xx.xx.img
fastboot reboot-bootloader
fastboot flash radio C:\angler\images\radio-angler-angler-xx.xx.img
fastboot reboot-bootloader
fastboot flash boot C:\angler\images\boot.img
fastboot erase cache
(above command is unnecessary on Android 7.1.2 and above)
fastboot flash cache C:\angler\images\cache.img
(above command is unnecessary on Android 7.1.2 and above)
fastboot flash recovery C:\angler\images\recovery.img
fastboot flash system C:\angler\images\system.img
fastboot flash vendor C:\angler\images\vendor.img
On 7.1.2 and above you'll also need to boot into TWRP recovery and wipe cache and dalvik cache.
If you wish to you can also relock the bootloader with this command:
Code:
fastboot flashing lock
(This command will wipe all user data from the device)
Important: do not lock the bootloader unless you have first flashed the stock images. Locking the bootloader while you have a custom recovery installed can result in a brick. Please also note that the locking procedure will wipe all user data from the device.
Once all operations are complete you can reboot the device.
11. How To Flash The Factory Images (Return To Stock But Leaving Internal Storage Intact)
Prerequisites: unlocked bootloader (section 1).
This section will explain how to return the phone to be like it was when it came out of the box, except it will not wipe any of your personal data (photos, music, etc) from the internak storage.
Download the appropriate factory images for your model here.
Unzip the angler-xxxxxx-factory-xxxxxxxx (x's replace variables) into a directory on your PC (for this guide we'll use C:\angler\).
Once unzipped you should have a folder named angler-xxxxxx (x's replace variables). Open it and move the following files to a new directory named C:\angler\images\:
bootloader-angler-angler-xx.xx.img
radio-angler-angler-xx.xx.img
(Please note that radio and bootloader naming changes from build to build so the filenames and below commands will change with them)
Within C:\angler\angler-xxxxxx\ you'll see another zip archive named image-angler-xxxxxx, unzip the contents of that zip into the C:\angler\images\ folder we created before. Now within C:\angler\images\ you should have the following files:
android-info.txt
boot.img
bootloader-angler-angler-xx.xx.img
cache.img (not present on Android 7.1.2 and above)
radio-angler-angler-xx.xx.img
recovery.img
system.img
userdata.img
vendor.img
Boot into TWRP recovery and enter the wipe menu, select advanced wipe, check only the data box and swipe to wipe.
Go to the TWRP main menu and enter the reboot menu, select bootloader. The phone will now boot into the bootloader, once it has you can connect your phone to your PC via usb cable.
Open a command prompt from within your fastboot folder (navigate to where you have fastboot.exe located on your PC, shift + right click anywhere within that folder, select open command prompt here), enter these commands to flash:
Code:
fastboot flash bootloader C:\angler\images\bootloader-angler-angler-xx.xx.img
fastboot reboot-bootloader
fastboot flash radio C:\angler\images\radio-angler-angler-xx.xx.img
fastboot reboot-bootloader
fastboot flash boot C:\angler\images\boot.img
fastboot erase cache
(above command is unnecessary on Android 7.1.2 and above)
fastboot flash cache C:\angler\images\cache.img
(above command is unnecessary on Android 7.1.2 and above)
fastboot flash recovery C:\angler\images\recovery.img
fastboot flash system C:\angler\images\system.img
fastboot flash vendor C:\angler\images\vendor.img
On 7.1.2 and above you'll also need to boot into TWRP recovery and wipe cache and dalvik cache.
12. How To ADB Sideload an incremental OTA update package.
Prerequisites: Completely stock setup (the only modification allowed on the phone is the unlocked bootloader).
Download the appropriate OTA zip from my index. OTA updates must be taken in order so you must select the right zip. For example, if you're currently on the MMB29Q build you must select the MMB29Q --> MHC19I zip. The filename will be quite long so to make things easier you can rename it to something easier. For the purposes of this guide let's say we'll rename it to "ota.zip". Place the file in your fastboot folder on your PC.
Boot into the bootloader, use the volume buttons to scroll the options and use the power button to select recovery mode.
Once the phone has booted into the stock recovery (you should see Andy Android with an exclamation mark) hold power and tap volume up to get into the recovery menu. Use the volume buttons to scroll and use the power button (you might need to hold it) to select "apply update from adb".
On your PC navigate to your fastboot folder, hold shift and right-click your mouse, select "open command prompt here". Issue the following command:
Code:
adb sideload ota.zip
Wait for the operation to complete (it'll tell you once it's finished) and once it's all done you can reboot your phone, the first boot might take a while.
13. How To ADB Sideload a full OTA update package.
Prerequisites: Completely stock setup (the only modification allowed on the phone is the unlocked bootloader).
Download the OTA zip that you want to upgrade to from my index. You don't need to be on any specific build prior to flashing a full OTA package. You can only move to a higher build though. The filename will be quite long so to make things easier you can rename it to something easier. For the purposes of this guide let's say we'll rename it to "fullota.zip". Place the file in your fastboot folder on your PC.
Boot into the bootloader, use the volume buttons to scroll the options and use the power button to select recovery mode.
Once the phone has booted into the stock recovery (you should see Andy Android with an exclamation mark) hold power and tap volume up to get into the recovery menu. Use the volume buttons to scroll and use the power button (you might need to hold it) to select "apply update from adb".
On your PC navigate to your fastboot folder, hold shift and right-click your mouse, select "open command prompt here". Issue the following command:
Code:
adb sideload fullota.zip
Wait for the operation to complete (it'll tell you once it's finished) and once it's all done you can reboot your phone, the first boot might take a while.
14. How To Update To Android 7.0 Nougat
Prerequisites: unlocked bootloader (section 1).
This method does not wipe your data, so you will keep your apps and settings. You should have no problems, however, if you experience problems you may need to perform a factory reset and flash again. Make a backup first and transfer it to your PC.
Download the Nougat factory images for your model (Nexus 6P/Angler) here.
Unzip the angler-xxxxxx-factory-xxxxxxxx (x's replace variables) into a directory on your PC (for this guide we'll use C:\angler\).
Once unzipped you should have a folder named angler-xxxxxx (x's replace variables). Open it and move the following files to a new directory named C:\angler\images\:
bootloader-angler-angler-xx.xx.img
radio-angler-angler-xx.xx.img
(Please note that radio and bootloader naming changes from build to build so the filenames and below commands will change with them)
Within C:\angler\angler-xxxxxx\ you'll see another zip archive named image-angler-xxxxxx, unzip the contents of that zip into the C:\angler\images\ folder we created before. Now within C:\angler\images\ you should have the following files:
android-info.txt
boot.img
bootloader-angler-angler-xx.xx.img
cache.img
radio-angler-angler-xx.xx.img
recovery.img
system.img
userdata.img
vendor.img
Boot into the bootloader and connect your phone to your PC via usb cable.
Open a command prompt from within your fastboot folder (navigate to where you have fastboot.exe located on your PC, shift + right click anywhere within that folder, select open command prompt here), enter these commands to flash:
Code:
fastboot flash bootloader C:\angler\images\bootloader-angler-angler-xx.xx.img
fastboot reboot-bootloader
fastboot flash radio C:\angler\images\radio-angler-angler-xx.xx.img
fastboot reboot-bootloader
fastboot flash boot C:\angler\images\boot.img
fastboot erase cache
fastboot flash cache C:\angler\images\cache.img
fastboot flash recovery C:\angler\images\recovery.img
fastboot flash system C:\angler\images\system.img
fastboot flash vendor C:\angler\images\vendor.img
You can skip flashing the recovery if you wish, but even if you do the stock recovery may be patched on the first boot anyway. So you'll need to flash TWRP and SuperSU again if you need/want those, as well as any other system modifications you may have had.
Note: Do not flash the userdata.img
Once all commands/flashes are complete you can reboot the device:
Code:
fastboot reboot
You'll have to flash SuperSU again now, plus add any mods that you previously had.
FAQ can be found in post #3!
Donate To Me
Frequently Asked Questions
1. How do I boot into the bootloader?
Power off your device. Once it's powered off hold power + volume down and the phone will boot into the bootloader. You can also use the following adb command:​
Code:
[/INDENT]
[INDENT]adb reboot bootloader[/INDENT]
[INDENT]
You can also use an app called Quick Boot to boot into the bootloader directly from Android (root required).​
2. How do I boot into recovery?
Boot into the bootloader (see above), use the volume keys to scroll through the options and use the power button to select the recovery mode option. You can also use the following adb command:​
Code:
[/INDENT]
[INDENT]adb reboot recovery[/INDENT]
[INDENT]
You can also use an app called Quick Boot to boot into the recovery directly from Android (root required).​
3. When issuing the fastboot flashing unlock command it doesn't work, I only get a list of possible commands. What's going on?
This is usually due to having an outdated adb/fastboot setup. If you installed adb/fastboot by any means other than via the Android SDK this is probably the cause. Visit the prerequisites section in the beginning of this guide to properly install adb/fastboot and ensure that it's up to date.​
4. After unlocking the bootloader I get a message that says "Your device software can't be checked for corruption. Please lock the bootloader". What's going on? Can I get rid of it?
This is nothing to worry about, it's normal to see this when you have an unlocked bootloader. You can't remove it, as long as your bootloader is locked it will stay there.​
5. How do I take an OTA or update if I have root or other system modifications on the stock ROM?
You can't take an OTA update while you have root or any system modifications. You'd need to use fastboot to flash the system, boot, and recovery images. It's much easier to just flash the newer build with fastboot, see section 9 of this guide for full instructions.​
6. Does taking an OTA update wipe my user data?
No, it doesn't.​
7. Do I need to make an EFS backup?
Yes. Absolutely yes. An EFS backup is extremely important, if your EFS partition becomes corrupt your IMEI will disappear and you will not be able to use the phone as a phone. Without a backup it can be extremely difficult (or impossible) to restore your EFS.​
8. Do I need to flash the userdata.img from the factory images?
You should never flash the userdata image. It doesn't take into consideration the storage capacity of the device and always allocates 32gb of storage. This is ok for the 32gb model, but for the 64gb and 128gb models you'll end up with much less storage capacity than you should have. If you wish to wipe your internal storage you'd use the following command instead:​
Code:
[/INDENT]
[INDENT]fastboot format userdata[/INDENT]
[INDENT]
Reserved
Reserved
Reserved
Reserved
thanks
works great
The_android_Modder said:
works great
Click to expand...
Click to collapse
Lol, how?
Heisenberg said:
Lol, how?
Click to expand...
Click to collapse
Magic
tyvar1 said:
Magic
Click to expand...
Click to collapse
xxtruplayaxx16 said:
lmao
Click to expand...
Click to collapse
He must be from the future...
The_android_Modder said:
works great
Click to expand...
Click to collapse
thank you for the morning lolz
If we wanted, could we just go to step 4, and not do the rest? I.e just root stock and leave it as is?
Is that safe?
If it is, can I flash a rom on later?
Thanks
(I know the device isn't out yet, just getting prepared for it.)
tf2manu994 said:
If we wanted, could we just go to step 4, and not do the rest? I.e just root stock and leave it as is?
Is that safe?
If it is, can I flash a rom on later?
Thanks
(I know the device isn't out yet, just getting prepared for it.)
Click to expand...
Click to collapse
No, because you need a custom recovery in order to flash SuperSU, and you need an unlocked bootloader to flash a custom recovery. Why not just unlock the bootloader?
Heisenberg said:
No, because you need a custom recovery in order to flash SuperSU, and you need an unlocked bootloader to flash a custom recovery. Why not just unlock the bootloader?
Click to expand...
Click to collapse
Ah you misunderstood me, I mean like do all steps upto 4, and then not do the rest?
Sorry for misunderstanding
tf2manu994 said:
Ah you misunderstood me, I mean like do all steps upto 4, and then not do the rest?
Sorry for misunderstanding
Click to expand...
Click to collapse
Ahh ok, now I understand. Yes of course, they're not actually steps that all need to be completed, they're just numbered sections. So if all you want to achieve is to root your stock ROM then you only need to follow steps 1-4.
Hemm sorry but are we talking about a phone that doesn't exist?
Fentadroid said:
Hemm sorry but are we talking about a phone that doesn't exist?
Click to expand...
Click to collapse
It certainly does exist, it just hasn't been released yet. And as it says in the OP these processes remain virtually unchanged from model to model in the Nexus line.
Heisenberg said:
It certainly does exist, it just hasn't been released yet. And as it says in the OP these processes remain virtually unchanged from model to model in the Nexus line.
Click to expand...
Click to collapse
I hope that too!!!
Great Job
Thanks for your Hardwork:good:

Categories

Resources