Hey
I have found a way to finally root the Android alcatel pixi 4_5 5010
Without further ado let's get to the thing..
NOTES
This will work for all 5010 models
I am not responsible for bricking / ruining your phone,
Most of the time this will work without brick but still be careful.
REQUIREMENTS
Alcatel pixi 4_5 5010 (obviously)
A Windows computer
Usb cable
Fastboot drivers (if your device isn't detected in Fastboot mode | I won't be providing a tutorial on how to install them)
---------------------------------------------------------------------------
Step 1:
Download adb/Fastboot and extract it on an easily accessible place eg: desktop (https://dl.google.com/android/repository/platform-tools-latest-windows.zip)
Step 2:
Go into settings > about phone
Then tap build number about 7 times until it says 'you are now a developer' Then go into the dev settings at bottom of settings and enable usb debugging
Step 3: (optional)
Take a full backup of your device via adb
Type in Google 'how to backup android using adb'
And follow the steps
Step 4:
Download twrp.img and move it inside the platform-tools folder mega.nz/fm/NMkD1DwJ
Step 5:
(if your bootloader is already unlocked skip this)
WARNING! ALL YOUR DATA WILL BE ERASED FOLLOW STEP 3!
Connect your device to your pc then open platform-tools folder you extracted then shift + right click and click 'open command prompt here'
Once again go into dev settings and enable 'oem unlocking'
Type: adb reboot bootloader (your device will boot into fastboot mode)
Then type : fastboot devices
Something like this should appear:
Devices
ABCDEFG2855568
Then type : fastboot oem unlock and press volume up on your device (read the warning I have written on top)
Then setup your device like you did when you got it out of the box
Step 6:
Once again type adb devices and then adb reboot bootloader
Then once its booted into fastboot mode
Type : fastboot flash recovery twrp.img
When it's indicated that its finished unplug the device from the pc and pull out the battery.
Then hold power + volume up until the alcatel logo shows up
You should now be booting into twrp. Restart your phone and boot it normally.
Step 7:
Download the latest supersu package to root the device
http://www.supersu.com/download then move it onto the storage of your device
Step 8:
Turn your phone off and hold power + volume up again and you should boot into twrp
Press 'install' and select the supersu file (where you have put it)
Then swipe yes and wait for the process to finish.
After it finishes press reboot.
Restore data (type 'how to restore data using adb')
And congratulations you are now rooted
If you have questions ask away
Also if you think a step could be written easier tell me via comments.
Poof ('_')
Omfg thanks so much you deserve like 999 likes
New Link?
Hey, could you please provide me a new link for twrp.img? Thanks
Related
Hello People of the internet!
Today I will show a quick guide on how to root the ZTE Z998 Mustang phone!
The owner of this method has discontinued work with them so I'll go ahead and pass them on.
I DO NOT TAKE ANY CREDIT AT ALL!!!!!!! ALL CREDIT GOES TO stedman420!!!!!
Original Thread: http://unleashedprepaids.com/thread-8769.html
***REQUIREMENTS***
An AT&T ZTE Mustang Z998
A computer with ADB and Fastboot installed
**HERE'S A COUPLE GUIDES FOR QUICK AND EASY INSTALLATION OF ADB AND FASTBOOT IF NEEDED.**
*WINDOWS*(do not use this to install drivers though)
http://forum.xda-developers.com/showthread.php?t=2588979
*LINUX or MAC*
http://forum.xda-developers.com/showthread.php?t=2638673
**WARNING FOR MAC USERS**
Safari browser settings may need to be changed in order to download zip files without extracting them.
**WARNING FOR WINDOWS USERS**
If using Windows you will also need to install the phones drivers and due to issues with fastboot drivers koush's universal driver is recommended.
http://www.koushikdutta.com/post/universal-adb-driver
**DO NOT CONTINUE TO THE INSTRUCTIONS UNTIL THE ABOVE REQUIREMENTS ARE MET OR THE FOLLOWING WILL MOST LIKELY NOT WORK**
(All downloads will be below)
***INSTRUCTIONS***
1.) Download z998-cwm-recovery.img and place it ON YOUR COMPUTER preferably somewhere easy to remember (i.e. C:\ on windows or home directory on linux)
2.) Download one of the following zips and place it ON YOUR PHONES SDCARD
----SuperSU_v1.86-Z998.zip (only for rooting)
----Unofficial_CWM_Recovery_v6.0.3.7.zip (only for flashing custom recovery)
----Root_and_CWM_Recovery.zip (for both rooting and flashing custom recovery)
----Stock_Z998_Recovery.zip (only for restoring stock recovery)
3.) Plug your phone into computer and make sure Developer options and usb debugging is turned on in the phones settings menu
4.) Now open a terminal(or cmd.exe) on your computer and type
Code:
adb reboot bootloader
then press enter
5.) Once the phone vibrates you should be in fastboot mode. The phone will have a blank screen and the red light will be on.
6.) Now in your computers terminal type
Code:
fastboot boot z998-cwm-recovery.img
then press enter
7.) Your phone should now boot into cwm recovery. Once in recovery volume buttons will scroll up/down and the power button will select options
8.) Now on your phone scroll to and select install zip from sdcard and then find and install the root and/or recovery zip you downloaded in step 2
9.) After installation is complete you can unplug your phone from computer and as always make sure to MAKE A BACKUP using cwm recovery. Then just reboot to system and enjoy
***HELPFUL NOTES***
If you did not put the z998-cwm-recovery.img in your home directory or in your C:\ directory for windows then in step 6 where it says
Code:
fastboot boot z998-cwm-recovery.img
you will need to put in your exact file path to where the z998-cwm-recovery.img is on your computer
For example
Code:
fasboot boot C:\your\path\to\z998-cwm-recovery.img
Where C:\your\path\to\ would be the exact filepath to the z998-cwm-recovery.img on your computer
If using a Mac and you did not follow the guide posted above for setting up adb and fastboot you most likely will need to put ./ in front of your adb and fastboot commands
For example
Code:
adb reboot bootloader
Would be
Code:
./adb reboot bootloader
AND
Code:
fastboot boot z998-cwm-recovery.img
Would be
Code:
./fastboot boot z998-cwm-recovery.img
Also the no file_contexts error in cwm recovery can safely be ignored.
***BONUS QUICK TIPS***
**HOW TO MANUALLY BOOT PHONE INTO RECOVERY**
1.) Power phone off
2.) Press and hold volume up, and power button at the same time until your phone boots into recovery
3.) Once in recovery volume buttons scroll and power button will select options.
**HOW TO MANUALLY FLASH STOCK RECOVERY USING A ROOTED PHONE**
1.) Download z998-stock-recovery.img and place it on the root of your phones sdcard (on your sdcard not in any folders)
2.) Download and install Android Terminal Emulator from PlayStore on your phone if you have not already
3.) Open terminal emulator and type
Code:
su
then press enter
4.) Type
Code:
dd if=/sdcard/z998-stock-recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
then press enter
***BIG PROPS CREDIT AND THANKS GOES TO***
Slay696 - for testing and stock files
Koush - for the awesomeness that's CWM and the Universal ADB Driver
Chainfire - For an outstanding root app(all credit for the app goes to him I just made it easy to install)
SuperSU on PlayStore
alpha6 - for mac testing and feedback
DOWNLOADS:
z998-cwm-recovery.img: http://az1.androidfilehost.com/dl/_...69652/23610159112650865/z998-cwm-recovery.img
Root_and_CWM_Recovery.zip: http://qc3.androidfilehost.com/dl/4...2/23321874045862492/Root_and_CWM_Recovery.zip
Stock_Z998_Recovery.zip: http://qc1.androidfilehost.com/dl/7...792/23321874045862493/Stock_Z998_Recovery.zip
SuperSU_v1.86-Z998.zip: http://qc4.androidfilehost.com/dl/2...9823/23321874045862494/SuperSU_v1.86-Z998.zip
Unofficial_CWM_Recovery_v6.0.3.7.zip: http://qc1.androidfilehost.com/dl/c...45862495/Unofficial_CWM_Recovery_v6.0.3.7.zip
Before anything please note to disable Driver Signature Verifications in Windows (Google how to disable them in whatever version of windows you are using).
Then download Universal Naked Drivers
from--
http://www.xda-developers.com/universal-naked-driver-solves-your-adb-driver-problems-on-windows/
NOW THE PLAY BEGINS.....
Step 1. Enable the USB debugging on your phone. Go to Settings > About Phone > Scroll down and tap build number 7 times until you will see a popup stating ‘You are now a developer.
Step 2. Now go back and you will see the Developer option on the settings just above About Phone. Open it and enable it and turn on Advanced Reboot option, Now scroll down and turn off Update Cyanogen recovery.
Step 3. Now install the ADB and Fastboot file on your windows desktop from [here ](http://forum.xda-developers.com/showthread.php?t=2588979)and the setup will create a ADB folder on your C Drive (C:\adb)
Step 4. Connect your phone with PC/Laptop.
Step 5. Press and Hold Power button, then select and hold Reboot. You will get four options. Select the one stating Fastboot Mode.
In the Device Manager locate your Android device. Then right-click on it and select "Update Driver Software".
Select "Browse my computer for driver software".
Select "Let me pick from a list of device drivers on my computer".
Select "Show All Devices".
Press the "Have Disk" button.
Enter the path to the Google USB driver. (path where you have extracted universal naked drivers)
Select "Android bootloader Interface" from the list of device types.
Confirm the installation of the driver by pressing "Yes".
Confirm the installation again by pressing "Install".
When the installation is done, press "Close".
50 % done :good:
**NOW BEGINS THE ROOTING**
Now open the ADB folder on your desktop the same folder that you created in Step 3. In the folder press the Shift key on your keyboard, right click in the folder in blank area and select Open Command Prompt Here.
Now run the following command to confirm if your YUphoria is detected by PC in Fastboot Mode or not:
fastboot -i 0x2A96 oem devices
Now Run the following command to unlock bootloader:-
fastboot -i 0x2A96 oem unlock
After that to reboot the phone run the following command:-
fastboot -i 0x2A96 reboot
Now the bootloader is unlocked and next step is to install TWRP and root the phone.
INSTALL TWRP AND ROOT YU YUPHORIA
Download the TWRP file for the phone here(https://app.box.com/s/3e5ofvi9xtbadbysrp3ytkshl45k3shb) and paste the same on the ADB folder on your C drive.
Download the SuperSU zip file here(http://forum.xda-developers.com/showthread.php?t=1538053) and save on your phone internal SD card.
Press and Hold Power button, then select and hold Reboot. You will get four options. Select the one stating Fastboot Mode.
Now again open the ADB folder and press the Shift key on your keyboard, right click in the folder in blank area and select Open Command Prompt Here.
Step 7. Now run the following command on your phone to install TWRP:-
fastboot -i 0x2A96 flash recovery twrp.img
Step 8. Once flashed phone will restart and boot it into Recovery mode. Press Volume Up+Volume Down+Power button altogether. YUphoria will boot into recovery mode TWRP which was flashed by you.
Step 9. Once you are on recovery mode. Select Install zip >> Choose zip from /sdcard >> 0/ >> Select Supersu.zip >> Yes – Install Supersu.zip
Step 10. Go Back and Select Wipe Cache Partition >> Yes Wipe. >> It will take 2-3 minutes to wipe.
Step 11. After this select advanced and select Wipe Dalvik Cache >> Yes Wipe.
Step 12. And now select Reboot System Now >> Yes.
Now your phone will reboot and first boot will take some time, So, Be patient. Now, you phone is rooted. Enjoy.
Problem solved
Many people were having problems in the detection of device...i have solved it
Can anyone upload TWRP in Drive or any other place? The box link is all over the internet and is not working as it is out of bandwidth (sucks!). TIA FYI: The box link download button translates to this link
So since no one here seems to have the time or courtesy to provide the link, for the ones who needs it. Here it is.
Thanku soon much bro....just got my YU..will try it later
---------- Post added at 11:55 AM ---------- Previous post was at 11:53 AM ----------
Just one question.... Can stock recovery install superuser?
http://forums.yuplaygod.com/#yuphoria.34
Actually why don't you'll try out the forums on YUPLAYGOD....
They have ALL THE POSSIBLE LINKS THERE and everything is functioning properly including links to TWRP and the rooting etc etc...
And it is better to have TWRP installed to flash SUPERSU..
Cheers
Greg
great thanks you for sharing this method, definately i will try :good:
Great work ?
there is no option for new yuphria
Sent from my YU5010A using Tapatalk
i have a yuphoria which has stock android and i want to instal cm12.1 . When i tried to unlock oem it didnt wipe data
and im not able to boot or flash twrp
Pls help guys
RoyalBhati said:
Before anything please note to disable Driver Signature Verifications in Windows (Google how to disable them in whatever version of windows you are using).
Then download Universal Naked Drivers
from--
http://www.xda-developers.com/universal-naked-driver-solves-your-adb-driver-problems-on-windows/
NOW THE PLAY BEGINS.....
Step 1. Enable the USB debugging on your phone. Go to Settings > About Phone > Scroll down and tap build number 7 times until you will see a popup stating ‘You are now a developer.
Step 2. Now go back and you will see the Developer option on the settings just above About Phone. Open it and enable it and turn on Advanced Reboot option, Now scroll down and turn off Update Cyanogen recovery.
Step 3. Now install the ADB and Fastboot file on your windows desktop from [here ](http://forum.xda-developers.com/showthread.php?t=2588979)and the setup will create a ADB folder on your C Drive (C:\adb)
Step 4. Connect your phone with PC/Laptop.
Step 5. Press and Hold Power button, then select and hold Reboot. You will get four options. Select the one stating Fastboot Mode.
In the Device Manager locate your Android device. Then right-click on it and select "Update Driver Software".
Select "Browse my computer for driver software".
Select "Let me pick from a list of device drivers on my computer".
Select "Show All Devices".
Press the "Have Disk" button.
Enter the path to the Google USB driver. (path where you have extracted universal naked drivers)
Select "Android bootloader Interface" from the list of device types.
Confirm the installation of the driver by pressing "Yes".
Confirm the installation again by pressing "Install".
When the installation is done, press "Close".
50 % done :good:
**NOW BEGINS THE ROOTING**
Now open the ADB folder on your desktop the same folder that you created in Step 3. In the folder press the Shift key on your keyboard, right click in the folder in blank area and select Open Command Prompt Here.
Now run the following command to confirm if your YUphoria is detected by PC in Fastboot Mode or not:
fastboot -i 0x2A96 oem devices
Now Run the following command to unlock bootloader:-
fastboot -i 0x2A96 oem unlock
After that to reboot the phone run the following command:-
fastboot -i 0x2A96 reboot
Now the bootloader is unlocked and next step is to install TWRP and root the phone.
INSTALL TWRP AND ROOT YU YUPHORIA
Download the TWRP file for the phone here(https://app.box.com/s/3e5ofvi9xtbadbysrp3ytkshl45k3shb) and paste the same on the ADB folder on your C drive.
Download the SuperSU zip file here(http://forum.xda-developers.com/showthread.php?t=1538053) and save on your phone internal SD card.
Press and Hold Power button, then select and hold Reboot. You will get four options. Select the one stating Fastboot Mode.
Now again open the ADB folder and press the Shift key on your keyboard, right click in the folder in blank area and select Open Command Prompt Here.
Step 7. Now run the following command on your phone to install TWRP:-
fastboot -i 0x2A96 flash recovery twrp.img
Step 8. Once flashed phone will restart and boot it into Recovery mode. Press Volume Up+Volume Down+Power button altogether. YUphoria will boot into recovery mode TWRP which was flashed by you.
Step 9. Once you are on recovery mode. Select Install zip >> Choose zip from /sdcard >> 0/ >> Select Supersu.zip >> Yes – Install Supersu.zip
Step 10. Go Back and Select Wipe Cache Partition >> Yes Wipe. >> It will take 2-3 minutes to wipe.
Step 11. After this select advanced and select Wipe Dalvik Cache >> Yes Wipe.
Step 12. And now select Reboot System Now >> Yes.
Now your phone will reboot and first boot will take some time, So, Be patient. Now, you phone is rooted. Enjoy.
Click to expand...
Click to collapse
Can I flash the SU zip using adb?
Hi where can I find twrp for YU5010a ?
PS :- Is there any guide to root Yu010a ?
Root YU andriod 5.1.1
RoyalBhati said:
Many people were having problems in the detection of device...i have solved it
Click to expand...
Click to collapse
i have the problem to detect it
hi thanks for the post now i can root my yuphoria mobile thank you
guys i tried this method before coming to this website i did everything including unlocking bootloader but i could not launch twrp thingy on my phone ......any other method
that yu forums website is also same way
When i am input the command in the pc then he reply waiting for devices,
How to solve this problum??
Is there any way to root without unlock boot loader?
New Yuphoria 5010A with android no cyanogen , HELP
Hi
I have pruchased new Yuphoria 5010A with android os no cyanogen. I have tried all the methods to unlock oem and bootloader. I enabled allow oem unlock from developer options followed by using fastboot oem unlock method . ( fastboot does detect the device using fastboot devices" . but I get an error "remote em unlock not allowed" . Is there any fix for this. I would be grateful if you can help me .
Thank you
can't unlock the bootloader of yu5010a please help
I have followed the steps but its showing oem unlocking not allowed please help me
Temperory recovery
Sir can I temporarily boot into a custom recovery like twrp ...
And still have the stock recovery intact like hotboot .....
Someone told me doing hotboot saves ur ota updates ....
I have done this once and unlocked my bootloader and having stock recovery too.....
Twrp vanishes on reboot ....
Can this temporary recovery methods is good and can i use this same method to install xposed and make nandroid backup...
Thank you sir regards
Disclaimer: By attempting any of the processes listed in this thread you accept full responsibility for your actions. I will not be held responsible if your device stops working, catches fire, or turns into a hipster and claims to have been modified before it was cool.
Warning: Rooting does not void Yutopia’s warranty, though damaging your hardware (i.e., burning up your CPU/Motherboard by overclocking, hardbricking the device) will. You proceed at your own risk! I accept no responsibility for what you do with your phone. Follow the directions closely, and the odds are you will succeed without any trouble. If you are not sure what you are doing, do some more research before you try.
Lets begin
Index:
A. Drivers Installation
B. Unlock Bootloader
C. Install & Boot into Custom Recovery (TWRP) on Yutopia
D. Make A Nandroid Backup With TWRP Recovery
E. Root Your Stock Rom
F. Backup EFS and Other Partitions
A. Drivers Installation:
In order to Unlock, Root or Install Custom Recovery, you need to have the right set of Drivers to help your computer recognize your device. I used Windows 7 for this and it worked fine so should work for other windows as well.
Download and install Yutopia Drivers
https://drive.google.com/file/d/0B0pr-ZA5b-1pWFAwMmI4dWRGM3M/view?usp=sharing
Go through the setup, and when done, restart your PC. Connect your device to your windows and is shall recognize it
B. Unlock Bootloader:
Backup important files stored on your device before proceeding with the steps below, as unlocking the Bootloader will completely wipe/delete all files on the device.
After the installation of drivers follow the below to proceed with Unlocking the Bootloader of your Yutopia:
1. Enable USB Debugging, Uncheck Update Cyanogen Recovery & Activate OEM Unlock:
* Go to Settings > About phone, and then tap ‘Build number’ 7 times or until you get the message ‘You’re now a developer!’.
* Go back to Settings, choose ‘Developer options’. Find the ‘USB debugging’ option and use this toggle button to enable it. Accept warning by tapping on OK button.
In the ‘Developer options’. Find the ‘OEM Unlocking’ option and use its toggle button to enable it. It asks for your PIN/Screen unlock code, type it. Then accept the warning by tapping on OK button.
Also Uncheck Update Cyanogen recovery in developer options.
2. Boot your Yutopia into Bootloader/Fastboot mode. (Make sure you have backed up all important data as you’ll lose everything on phone in the steps below.)
3. Connect your Yutopia — in Bootloader mode — to PC. Let the driver install.
4. Open a command window on your PC. For this:
5. Open any folder on PC. Now, left click on empty white space inside the folder.
6. Hold shift key, right click on empty white space to get a pop-up and Choose Open command window here option from that. You will see a command window open up, with location directed to unlock folder.
7. Power off your phone then boot into fastboot mode (power + volume up).
8. Connect your phone to your windows via usb cable.
9. Confirm whether fastboot is working. With Yutopia connected to PC, run the following command in command window.
Code:
fastboot -i 0x2A96 devices
10. If device is connected you will get following kind of output:
86fsdy85 fastboot
11. If you dont get similar output it means that the drivers are not correctly installed or the device wasnt connected properly.
12. If the output is similar to above then run the following command:
Code:
fastboot -i 0x2A96 oem unlock
13. Now reboot from fastboot mode and thats it
Code:
fastboot -i 0x2A96 reboot
To confirm unlock status, reboot into bootloader/fastboot mode and you shall see the text unlocked now.
Code:
fastboot -i 0x2A96 device-info
C. Install & Boot into Custom Recovery (TWRP) on Yutopia
1. Download Modified TWRP:
https://drive.google.com/file/d/0B0pr-ZA5b-1pd2Z2YVR1cVZaeVE/view?usp=sharing
2. Enable USB debugging & Uncheck update Cyanogen Recovery from developer options once again.
3. Boot your Yutopia into bootloader mode.
4. Connect your Yutopia — in bootloader mode — to PC. Let the driver install.
Open a command window on your PC in the folder where you have the recovery.img file.
You will see a command window open up, with location directed to folder where you have the recovery.img file.
Let’s confirm whether fastboot is working. With Yutopia connected to PC, run the following command in command window. You should get a serial no. with fastboot written after it. If not, you need to reinstall the fastboot drivers from above.
Code:
fastboot -i 0x2A96 devices
(if the drivers are installed and device connected you would get the device serial number)
Flash TWRP recovery on your Yutopia by running the following command.
Code:
fastboot -i 0x2A96 flash recovery recovery.img
After that run this command:
Code:
fastboot -i 0x2A96 boot recovery.img
This will boot your device directly to TWRP
Or you can manually boot in recovery by unplugging the usb cable and then pressin POWER + VOL down until the device boots. When the YU logo shows up, relese the POWER and keep holding down VOL DOWN until TWRP boots up:
First boot into TWRP directly after flash is very important, Don't boot the OS on the phone as it may overwrite the recovery.
D. Make A Nandroid Backup With TWRP Recovery
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.
All you need to do is enter TWRP recovery, select the backup option from the TWRP home screen, check the system/data/boot boxes, and swipe to backup. The process will take a few minutes.
Please make this backup before you root, so that you possess unrooted system backup at all times which would come handy at the time of OTA updates.
E. Root Your Stock Rom
Download: The latest SuperSU on your device.
https://download.chainfire.eu/896/SuperSU/BETA-SuperSU-v2.66-20160103015024.zip
Reboot to recovery
Tap on Install > Browse and Select SuperSU > Swipe to Confirm the Flash
Once Done > Wipe Dalvik & Cache > Reboot System To Restart
To Confirm the root status use a root checker app from play.
F. Backup EFS and Other Partitions
1. Download Partitions Backup And Restore App from Here
2. Open the app and grant it root access.
3. Click on the Settings icon above and select preference to .img
4. Select the partitions marked in yellow and backup them by clicking on the download like button at the bottom right.
5. Go to the storage and search for the Partitions Backup folder there you will three .img files (modem,modemst1,modemst2) . Save them to your cloud and as many places as you want as they are very important files.
This way you can back up all other partitions too. (I recommend backing up all those that are not found in a factory image.
Now you possess an Unlocked YU - Yutopia with a Custom Recovery and Root Privileges
Cheers,
Funk Wizard :good:
Reserved for updates !!
Do you have make video tutorial?
I am using windows 10, 64 bit. Thease drivers are not working for me.
Sent from my HM 1SW using XDA Forums Pro.
Nevermind.
Modified TWRP link is dead
Hello,
The modified twrp link is dead. Please share a new link.
Alternate Link for Yutopia Drivers
Hi,
Can you please share an updated link for the yutopia drivers? This link seems to be broken.
Thanks a lot!
SONY Xperia phones have unlocked bootloader which adds to the difficulty of rooting on top of MM.
#######All the works posted here are not mine but of various authors to whom I am gratful for helping me achieve root############
Requirements
Locked Bootloader Xperia z2
Stock SONY ROM
no root
Battery above 70(just to be safe)
Good internet connection
Now, we have lots to download because Flashtool dosen't work so, I had to download android sdk entirely.
#1
Obtaining the Bootloader Unlock Code
Note:Unlocking the bootloader on a Sony device may automatically wipe internal storage; a backup of the sdcard is suggested. It will also irreversibly erase the DRM keys stored in the TA partition of some devices, which will result in the loss of certain proprietary features that may have been included. Check your specific device forum on XDA to learn more.
In order to unlock the bootloader on your Xperia Z2 you will need to obtain a code from Sony. The following process will help you acquire this code so that you can flash a custom recovery.
Open the Phone application on the Xperia Z2 and enter *#06# to obtain the device's IMEI, IDID or MEID. Save this for later use.
Optional: if you do not have a phone app, the IMEI, IDID or MEID can be found on the box or on the device in Settings -> About Device -> Status.
Put the device into fastboot mode:
Insert one end of the Micro-USB cable into your PC. Turn off the device and wait at least 5 seconds. Press and hold the Volume Up button and plug the other end of the Micro-USB cable in to your device.
Open a terminal on the PC and enter fastboot getvar version
If you receive the message <waiting for device> fastboot is not configured properly, please see fastboot for more details.
Navigate a browser here
Select your device and click the 'continue' button at the bottom of the page.
Enter your email address, agree to the terms and select 'Submit'
Click the link from your email, enter your IMEI, IDID or MEID and continue
The unlock code should now appear, write this down for the next step.
In the PC's terminal, enter the following command: fastboot oem unlock 0xKEY
KEY corresponds to the unlock code you were given.
The Xperia Z2's bootloader should now be unlocked.
This should factory reset the phone, you may have to wait a while before reboot.
Source:https://wiki.cyanogenmod.org/w/Install_CM_for_sirius
How to check if your bootloader is locked or unlocked?
This tutorial is suitable for all versions of Android. We are provoding two different methods to check the status of your bootloader, use the one that works for you.
Method 1 :
This one is the easiest method and works with many device out there, you don’t require any use of PC, you just need to enter a spacial block of numbers in your keypad to check your bootloader’s status.
Step 1 : Open your device’s dialer (App where you enter telephone numbers to call someone).
Step 2 : Dial the below code, it will automatically open a new windows. (if it doesn’t opens anything then use the second method).
1
*#*#7378423#*#*
Step 3 : Now in that window go to Service Info >> Configuration, and see if there is :
1
2
Bootloader unlock allowed - Yes >> This means that your Bootloader is Locked
Bootloader Unlocked - Yes >> This means that your Bootloader is unlocked
Method 2 :
Step 1 : Download and install adb & fastboot package & drivers in your system (Google it for your device).
Step 2 : After successful installation of adb & fastboot, connect your device to your PC via USB cable in fastboot mode.
Step 3 : Now open the folder where your adb & fastboot package is extracted, press Shift key on your keyboard and right click in the folder and select “Open command prompt here“.
Step 4 : It will open a Command Prompt window.
Step 5 : Type the following command to check if the device was detected in fastboot mode.
1
fastboot devices
Step 6 : if you don’t get device it or anything it means that the drivers weren’t correctly installed or the device wasn’t connected properly, if this happens try reinstalling your drivers.
Step 7 : Next run the following command to check the status of your device’s bootloader.
1
fastboot oem device-info
Source:https://thebroodle.com/android/how-to-check-your-bootloader-is-locked-or-unlocked/
#2
After unlocking the device, rooting is done using Kingroot (easier), you can use either the windows app or android app.
Success rate of rooting however is very less, so you may need to do it more than a few time.
The rooting lasts only 2 restarts(for me), so you have to root again using king root.
android: http://forum.xda-developers.com/devdb/project/dl/?id=19156
windows: https://kingroot.net/
Any problems with kingroot check the link : http://forum.xda-developers.com/android/apps-games/one-click-root-tool-android-2-x-5-0-t3107461
#3
How to Install CWM 6.0.4.7 Recovery on Xperia Z2 D6503, D6502, D6543
Download Doomlord’s Z2_DooMLoRD_AdvStkKernel_FW-167-v07.zip
http://doomlord.xperia-files.com/download.php?dlid=WjJfRG9vTUxvUkRfQWR2U3RrS2VybmVsX0ZXLTE2Ny12MDc=
Copy the downloaded Advanced Stock Kernel.zip file to your phone’s SD card.
Extract the downloaded .zip folder on your PC, you will get a Boot.img file.
Place the extracted Boot.img file in the Minimal ADB & Fastboot folder that you created using our ADB & Fastboot Quick Setup Guide.
If you are using Android ADB & Fastboot full package, you can place the downloaded Recovery.img file in the Fastboot folder or in the Platform-tools folder.
Open the folder where you placed the Boot.img file. E.g Minimal ADB & Fastboot or Fastboot or Platform Tools.
Press and hold the shift key and right click on an empty area within the folder, and click on “Open Command Window Here”.
Turn off your Xperia Z2 completely.
Now press the Volume Up Key and while keeping it pressed plug in the USB cable.
You should see a blue light in the notification light of your phone, that means your device is now connected in Fastboot mode.
Now type the following command: fastboot flash boot boot.img
Hit Enter and it will quickly flash CWM 6.0.4.7 recovery in your Xperia Z2.
Once recovery is flashed, now issue this command “Fastboot reboot”
Your device will reboot now, as soon as you see the Sony logo, and the pink LED, press Volume Up key to enter recovery.
Once you’re in recovery, select “Install Zip > Choose Zip from SD Card > Advanced Stock Kernel with CWM.zip > Yes”. [Important]
This will flash the Kernel in your phone now. Once flashed, reboot your device.
Congrats! You should now see the custom recovery.
Source: http://techbeasts.com/install-cwm-recovery-root-xperia-z2-2301a0167-d6502-d6503-d6543/
Now, you have custom recovery, you can use this to flash ROMS. Caution to be taken when you flash a ROM you might loose your Kernel and recovery so use ROMs with inbuilt kernels or just flash after installing depending on ROM
For D6502 phone you will need to flash a fix zip after the ROM for getting network.
#4
http://www.xda-developers.com/how-to-install-twrp/
For installing TWRP follow the above guide.
Can't upload screenshots yet(don't have them, did this in a hurry)
(My internet connection is very slow)
CREDITS
All the authors of my sources
#########@@@@@@@Press that small little Thank You button:good@@@@@@@@############
-------------------------------------------------------------->>>>>>>>>>>>>>>>>>>>>>>Should be here
Thread closed as per OP's Request.
Hi there!!
Well I was trying to root this phone since a month but due to lack of developers, it wasn't possible. So I tried and at last succeeded in rooting and porting TWRP recovery for Intex Aqua Music.
I tried to elaborate every step as much as I can so the tutorial becomes user friendly for everyone.
Disclaimer: Rooting immediately voids your phone's warranty, you should consider very carefully whether you need to gain root privileges. And this tutorial will format your phone. So backup you important files at the very first.
Tutorial
First download all the files which i left and the end of the thread and proceed with the tutorial.
First of all you need to install ADB Drivers.
Once drivers are installed, you need to enable USB Debugging in your phone.
(goto phone settings->About phone->scroll down and you’ll see an entry labelled ‘Build number.’ Keep on tapping till you see a prompt that says ‘You are now a developer)
Now in phone settings you will see a new option called Developer Options.
Now goto Developer Options and enable OEM Unlocking(for unlocking the bootloader so you can flash the TWRP recovery) and USB Debugging.
Now connect you phone with usb cable to computer and open the adb and fastboot folder which you downloaded.
Then open command prompt there(shift+right click) and type:
Code:
adb devices
You will see a popup on you phone screen, Select allow and ok
Now you will see your device listed there in command prompt.
Now type the following commands:
Code:
adb reboot bootloader
Phone will switch off and go into bootloader. Then type
Code:
fastboot oem unlock
Now you phone will ask for confirmation. Use Volume UP Button to select yes then type
Code:
fastboot continue
.
Now your device will reboot(it will take some time so don't worry)
Now once your phone boot up you will see its formatted and bootloader will be unlocked.
Now again goto setting and enable USB Debugging like before and connect you phone with pc.
Now copy the recovery.img from recovery zip which you downloaded to adb and fastboot folder.
Then in adb command prompt type the following commands like before
Code:
adb reboot bootloader
Wait for the phone to go into bootloader mode, then
Code:
fastboot flash recovery recovery.img
fastboot continue
Now twrp is flashed in your phone. Now to root your device copy the supersu zip to you phone.
Switch off your mobile, then press Volume Up + Power button together then choose recovery mode with Volume UP Button and
press Volume Down Button.
Now phone will boot into TWRP recovery mode.
Click Install and choose the Super Su zip from file manager then install it.
The click reboot and once your phone boots up its rooted now.
Enjoy!
Thanks button will be appreciated if the tutorial works for you.
Thanks
Thanks man, helpful