Related
[GUIDE] Sony Xperia Z5
DISCONTINUED - SEE NEWS !
Last update: 20.06.2016
This guide will help you to root your phone, install new firmwares, unlock your bootloader and much more. Its splitted into 3 sections: StockRom, CustomROM and Tweaks so you should find things easily. I think if you understood this guide you can easily flash different firmwares, kernels and so on. And now - have fun
NEWS
I have to much work to do at the moment to continue this guide. But, the main work is done, now its all about updating the links. If there is something remarkable new, I will add it to my guide.
20.06.2016
- updated links
- minor changes
23.04.2016
- updated download links
- added custom rom (CyanogenMod13)
- some small changes
09.04.2016
- I'm very busy at the moment (exams and hard work). So I cant help you guys that much and cant try new kernels and that kind of stuff Plese ask @gm007 or @zacharias.maladroit if you have problems. I will come back as fast as I can
- updated download links
28.03.2016
- updated download links
12.03.2016
- Android 6.0 compatibility check
- updated download links
- graphical revision
14.02.2016
- updated guide to make it more understandable
QUESTION & ANSWER
Which devices are supported by this guide?
- Sony Xperia Z5
- Model number: E6653 / E6603 (for other models use different kernel)
- OS version: Stock Xperia Android 5.1.1 / 6.0
Whats important to know before I start?
- I´m NOT responsible for any damage.
- Keep in mind that unlocking the bootloader can void your warrenty.
- Save your data, all settings and files will be deleted during this process.
- READ THE ENTIRE GUIDE FIRST!
[GUIDE] GENERAL
FASTBOOT
1) POWER OFF phone
2) Hold VOLUME UP
3) Connect to PC via USB
4) LED turns blue
FLASHMODE
1) POWER OFF phone.
2) Hold VOLUME DOWN
3) Connect to PC via USB
4) LED turns green
RECOVERY
a) You can enter TWRP while booting. If the LED turns yellow, hold VOLUME DOWN till it gets orange.
b) Use this command in Minimalistic ADB and FASTBOOT to reboot to recovery:
Code:
adb reboot recovery
BOOTLOOP / EMERGENCY POWER OFF
1) Hold POWER OFF and VOLUME UP
2) Device vibrates 3 times
DEVELOPER MODE AND UNNOWN SOURCES]
1) settings -> about phone -> touch build number several times
2) settings -> developer options -> enable USB debugging
3) settings -> security -> enable Unknown sources
PC PERMISSIONS
1) Run Minimalistic ADB and FASTBOOT and FLASHTOOL with admin permissions.
2) Use USB 2.0 ports, sometimes 3.0 ports doesnt work.
[GUIDE] StockROM
# BUGS / ISSUES
E6653_32.1.A.1.163
- camera apps (AR Effect,...) do force close
- filesystem (external SD card) does not refresh automatically, so you cant transfer files you copied to sd card via MTP to PC. Solved via restart. --> also on STOCK ROM
# DIRECT DOWNLOAD LINKS
E6653
Kernel
Z5_AndroPlusKernel_Permissive_v30 (for firmware .163 and .185)
Z5_AndroPlusKernel_Permissive_v31 (for firmware .224)
Recovery
twrp-3.0.2-0-E6653-20160417.img
SuperSu
SuperSU (beta but stable)
# DOWNLOAD LINKS
Windows programs
Sony PC Companion
Minimal ADB and Fastboot
Flashtool + patch file
µTorrent (for downloading Flashtool)
Android
AndoPlusKernel
TWRP
# GUIDE
BOOTLOADER STATUS
The bootloader loads the kernel. If unlock isnt allowed, the bootloader will prevent loading a custom kernel.
1) type *#*#7378423#*#* into dialer / phone app
2) service info --> configuration --> rooting status
3) if bootloader unlock allowed says YES, you can continue. If bootloader unlock isnt allowed you CAN NOT root your phone.
INSTALLING PROGRAMS
Flashtool
1) install µTorrent
2) download torrent file from Flashtool website
3) run downloaded torrent file via µTorrent
4) download Flashtool via µTorrent
! You can close and or delete µTorrent now, you will not need it anymore
5) install Flastool
6) open install directory from flashtool and replace x10flasher.jar with new patch
OTHER
1) install all other programs
INSTALL / CHECK DRIVERS
Windows 7 and lower
1) open Flashtool install directory
2) open driver folder
3) run Flashtool-drivers.exe
4) install Flashmode and Fastboot drivers
Windows 8 and higher
1) restart computer with digital driver signature disabled (you have to do this every time you restart your pc)
http://www.howtogeek.com/167723/how...8.1-so-that-you-can-install-unsigned-drivers/
2) open Flashtool install directory
2) open driver folder
3) run Flashtool-drivers.exe
4) install Flashmode and Fastboot drivers
! There are no Z5 drivers yet, that’s why you need Sonys PC Companion!
! Flashtool drivers were updated, try the new Z5 drivers before installing Sony PC Companion.
Sony PC Companion
1) run Sony PC Companion
2) connect your Xperia Smartphone
3) wait till it has been detected
4) close Sony PC Companion, you dont need it anymore
ADB driver check
1) enable Developer options and Unknown sources
2) run Minimal ADB and Fastboot
3) type
Code:
adb devices
4) allow dialog on your phone
5) check if your device is shown in command window
fastboot driver check
1) run Minimal ADB and Fastboot
2 put device in FASTBOOT mode
3) type
Code:
fastboot devices
in Minimal ADB and Fastboot
4) check if your device is shown in command window
! When connecting phone in flashmode or fastboot additional drivers will be installed automatically.
! Installing drivers twice can solve problems.
UNLOCK BOOTLOADER
1) open Flashtool
2) click on BLU (Bootloader Unlock)
3) follow the instructions shown by Flashtool
4) you will be forwarded to a Sony website
5) follow the instructions there
6) at the end you will receive a key
7) save this key carefully!
8) enable Enable OEM unlock in developer options
9) copy KEY into Flashtool prompt and click unlock
! You can try to use Flashtool for unlocking first, or continue with step 10.
10) open Minimal ADB and Fastboot
11) your phone has to be in Fastboot mode
12) check if your phone is shown by
Code:
fastboot devices
13) enter the following code:
Code:
fastboot –i 0x0fce oem unlock 0xKEY_FROM_SONY
14) reboot (that can take a long time, so dont worry)
DOWNLOAD XPERIA FIRMWARE - OPTIONAL
If you want to update, upgrade or reset your ROM.
1) open Flashtool
2) click on XperiFirm
3) downloading…..
4) in XperiFirm select your device then choose your preferred firmware (e.g. Z5 --> E6653 ---> Customized DE --> 32.0.A.6.200 R12B)
5) in the right column double click the latest firmware and start download
6) Unpack automatically has to be checked
7) after downloading close download window and XperiFirm
8) now Flashtool should start doing things
! You can identify your phone model by: Settings -->About phone--> Diagnostics
FLASH NEW FIRMWARE - OPTIONAL
If you want to update, upgrade or reset your ROM.
1) in Flashtool click on Flash device and choose your firmware
2) under "Wipe", check all (APPS_LOG, DIAG, SSD, USERDATA)
3) click flash and follow the instructions
4) after successful installation reboot phone (that can take a long time, so dont worry)
! You can flash a new ROM without unlocking your bootloader.
FLASH KERNEL
The kernel has direct control of the hardware.
1) download latest Kernel from download section (AndroPlusKernel is only for E6653 models)
2) extract ZIP
3) put boot.img from zip into your root directory from Minimal ADB and Fastboot
4) put phone into fastboot mode
5) run Minimal ADB and Fastboot and check with
Code:
fastboot devices
6) type in:
Code:
fastboot flash boot boot.img
7) restart phone and look if its working
! If you end up in a bootloop with the LED flashing 3-4 times try to flash Kernel and Recovery again. If this doesnt help, reflash firmware, kernel and recovery.
FLASH RECOVERY
The recovery is something like the boot menu you may know from windows. Its mainly used to install programs and apps.
1) download latest TWRP from download section
2) put twrp.img into your root directory from Minimal ADB and Fastboot
4) put phone into fastboot mode
5) run Minimal ADB and Fastboot and check with
Code:
fastboot devices
6) type in:
Code:
fastboot flash recovery twrp.img
! You can rename twrp image to twrp.img or something shorter if you want.
7) after the first boot - do a reboot into recovery. Otherwise the partitions won't be mounted correctly & flashing will run into trouble. It takes several seconds (or a few minutes) to reboot into recovery - but then you're good to go.
ROOT
Some apps need more permissions than normal. You can compare root with administrator rights on windows.
1) download UPDATE-SuperSU-v2.67.zip
2) copy UPDATE-SuperSU-v2.67.zip to your internal memory
3) enter TWRP
4) click Install
5) navigate through folder structure
6) tap UPDATE-SuperSU-v2.67.zip
7) "Swipe to confirm flash"
8) reboot
RESTORE DRM KEYS
Unlocking the bootloader disables a partition on your phone where software keys are saved. Without this keys xReality, BIONZ, audio processing arent available. This program will restore this features.
! Take a look if xReality is already working before installing DRM keys.
1) download DRM RESTORE (drmrestore.zip) from download section
2) copy drmrestore.zip to your external sd card
3) enter TWRP
4) click Install
5) navigate through folder structure
6) tap drmrestore.zip
7) "Swipe to confirm flash"
8) reboot
! Unfortunately, there is no way to save the original TA partition at the moment.
[GUIDE] CustomROM
# CyanogenMod 13_Alpha for E6653 and E6603
CyanogenMod is a free, community built, aftermarket firmware distribution of Android 6.0 (Marshmallow), which is designed to increase
performance and reliability over stock Android for your device.
### XDA Z5_CyanogenMod 13 Link ###
# AromaROM with Installer for Z5 E6853 / E6883 / E6653
AROMA is a custom ROM with nice tweaks, but it has some serious bugs. I used it for 2 month and there are several issues: random reboot, screen turn off during calling and does not turn on again, problems with notification bar, ... .
### XDA ROMAur Link ###
1) install stock lollipop rom
3) for E68xx models install recovery and kernel for your device
4) For E66xx models install twrp-2.8.7.0-E6653-20151130_material.img and kernel for your device
5) copy ROMAur to your external sd card
6) enter recovery
7) make a full wipe (Wipe --> Factory reset)
8) install ROMAur
9) Reboot
[TWEAKS]
XPOSED
ONLY FOR 5.1.1: When you want to install Xposed you have to deodex your system or install an already deodexes ROM. Without this procedure the camera and other apps wont work. Use this guide to solve this: http://forum.xda-developers.com/crossdevice-dev/sony/z4-z5-z5c-fix-camera-fc-installing-t3246962
XDA Thread: http://forum.xda-developers.com/showthread.php?t=3034811
1) download xposed-v85-sdk23-arm64.zip and XposedInstaller_3.0_alpha4.apk [Android 6.0 versions]
2) copy xposed-v79-sdk23-arm64.zip and XposedInstaller_3.0_alpha4.apk to your internal memory
3) enter TWRP
4) click Install
5) navigate through folder structure
6) tap xposed-v79-sdk23-arm64.zip
7) "Swipe to confirm flash"
8) reboot
9) install XposedInstaller_3.0_alpha4.apk
10) reboot
useful Xposed Moduless
APM+
Xperia / AOSP NavBar Buttons
OGYoutube + OGYoutube Xposed Login Fix
Flat Style Colored Bars
DISABLE SmallApps
SmallApps is that little bar in the overview screen.
1) power on phone
2) unlock your phone (open homescreen)
3) open Minimal ADB and Fastboot
4) type:
Code:
adb shell
pm hide com.sony.smallapp.launcher
pm hide com.sony.smallapp.app.widget
exit
5) after this, type:
Code:
adb reboot
! If you know what youre doing, you can simply delete all the SmallApp stuff via ROOT Uninstaller.
Thanks for quite a nice guide.
I have done rooting on various devices but this seems to be most complicated ever. [emoji14]
Sent from my E6683 using Tapatalk
It has been before this guide. Basically what I did was unlocking the bootloader, booting recovery, flashing kernel, flashing root, wipe, restore DRM fake, done.
Firmware wasn't necessary for me and I've made bad experiences with alternate firmwares / radios and so on in the past.
Hi. Do I have to backup my TA partition ?
there no way to backup your TA partition hopefully for now.
How to increase volume of both speakers
I have rooted z5 but don't know how to edit mixer path.xml
Siudzix said:
Hi. Do I have to backup my TA partition ?
Click to expand...
Click to collapse
Actually there is no need for it, imho. The fake DRM keys are doing a really good job. X-reality back, after picture processing back. It's also currently not possible to backup them afaik.
DeathStroke said:
Thanks for quite a nice guide.
I have done rooting on various devices but this seems to be most complicated ever. [emoji14]
Sent from my E6683 using Tapatalk
Click to expand...
Click to collapse
Mate I see you have Z5 E6683 which is dual sim. Were you able to get your phone rooted using this guide?
Many thanks.
I have XPERIA Z5 Dual Sim (E6633) - will this guide work ?
Siudzix said:
I have XPERIA Z5 Dual Sim (E6633) - will this guide work ?
Click to expand...
Click to collapse
Yes and no. You need a different kernel and mybe recovery. Everything else is the same. I will include a link in my guide if I find a working kernel.
Rooting Z5
Hi all,
Shall i root the phone without unlocking the Bootloader.I dont want to Unlock the bootloader.So please advise me is this root method is work on Locked Bootloader.
Thanks in advance
ramprasaathks said:
Hi all,
Shall i root the phone without unlocking the Bootloader.I dont want to Unlock the bootloader.So please advise me is this root method is work on Locked Bootloader.
Thanks in advance
Click to expand...
Click to collapse
For now, you have to unlock your bootloader to gain root access. There is no other method at the moment. So in conclusion: locked bootloader = no root.
how i root z5 dual 6683
parteek.dandyan said:
how i root z5 dual 6683
Click to expand...
Click to collapse
Follow the guide and do it. Its written there.
Sent from my E6683 using Tapatalk
DeathStroke said:
Follow the guide and do it. Its written there.
Sent from my E6683 using Tapatalk
Click to expand...
Click to collapse
Dont blame him. I added this guide for E6683 today. I cant try it myself because I have no E6683, but I hope it will work
alphatact1cs said:
Dont blame him. I added this guide for E6683 today. I cant try it myself because I have no E6683, but I hope it will work
Click to expand...
Click to collapse
I was not blaming, I didn't know that you updated today. Would be great in future if you do any update, add the date and following update.
Thank you.
One thing I noticed while reading your guide was TWRP is not for E6683. Will there be any problem? I haven't yet tried your guide because I was in doubt.
Sent from my E6683 using Tapatalk
DeathStroke said:
One thing I noticed while reading your guide was TWRP is not for E6683. Will there be any problem? I haven't yet tried your guide because I was in doubt.
Click to expand...
Click to collapse
The new Kernel from monx includes TWRP, so you dont need to flash Recovery...normally. I know that my guide works, but only for E6653. I included a link for E6683, but I also wrote that I cant try it because I havent a Z5 E6683. Anyway, TWRP for E6653 should work for E6683 devices. The main difference is the Kernel.
Guys, what about E6633 ? Is it really bad ?
Siudzix said:
Guys, what about E6633 ? Is it really bad ?
Click to expand...
Click to collapse
You can try it at your own risk. Someone said that it will work, but I would be careful.
pesonic said:
Should this be working on E6633 too?
Click to expand...
Click to collapse
arismelachrinos said:
+1
Click to expand...
Click to collapse
@alphatact1cs are you open to suggestions??
we are currently trying to unify devices index here at xda..
would you like to follow what our fellow brother @kuzibri and @sd_shadow has implemented?
http://forum.xda-developers.com/general/about-xda/public-index-program-project-t3147245
How to install TWRP 3.0 and ROOT on HTC Desire 626 LTE.
The step by step guideline is like these :
1. Unlock bootloader of this instruction Link
2. Download TWRP and TWRP-Install.zip. TWRP - Link , TWRP-Install.zip - Link, Root archive - Link
3. Reboot phone in Fastboot Mode.
4. Copy twrp-fastboot-boot.img into fastboot folder, archive TWRP-Install.zip - in Internal Memory.
5. Open fastboot and enter this command
Code:
fastboot boot twrp-fastboot-boot.img
Your phone reboot in temporary TWRP.
6. Accept system modification alert by swipe.
7. Go to Install and choose TWRP-Install.zip, accept this by swipe.
8. Go to Reboot and reboot in recovery.
9. ??????????
10. PROFIT!
Bugs
Mount reserve partition(is not critical).
Contributors
Skyrimus
Original link - http://4pda.ru/forum/index.php?s=&showtopic=701301&view=findpost&p=54026939
Hi, my phone is stuck at the Fastboot page
I have tried flash in
1) your receovery linked above
2)customized recovery under this link https://twrp.me/devices/htcdesire626s.html
But none of them works.
Can you please help to give some advise?
Skyrimus said:
How to install TWRP 3.0 and ROOT on HTC Desire 626 LTE.
The step by step guideline is like these :
1. Unlock bootloader of this instruction Link
2. Download TWRP and TWRP-Install.zip. TWRP - Link , TWRP-Install.zip - Link, Root archive - Link
3. Reboot phone in Fastboot Mode.
4. Copy twrp-fastboot-boot.img into fastboot folder, archive TWRP-Install.zip - in Internal Memory.
5. Open fastboot and enter this command
Code:
fastboot boot twrp-fastboot-boot.img
Your phone reboot in temporary TWRP.
6. Accept system modification alert by swipe.
7. Go to Install and choose TWRP-Install.zip, accept this by swipe.
8. Go to Reboot and reboot in recovery.
9. ??????????
10. PROFIT!
Bugs
Mount reserve partition(is not critical).
Contributors
Skyrimus
Original link - http://4pda.ru/forum/index.php?s=&showtopic=701301&view=findpost&p=54026939
Click to expand...
Click to collapse
Finally! Thanks alot for your share Skyrimus.
I don't believe you can install TWRP via fastboot if your phone is in s-on state, correct me if I'm wrong, but what I did to install TWRP was I downloaded the official version for my phone (duh) and used the same fastboot commands while phone was in fastboot mode which resulted in a message "FAILED: <remote: cannot flash this partition in s-on state>"
I resolved this by rebooting to download mode instead and running the commands as normal and all went well, so if you don't have your phone in s-off and received the same error as me then download mode will do the trick
Skyrimus said:
How to install TWRP 3.0 and ROOT on HTC Desire 626 LTE.
The step by step guideline is like these :
1. Unlock bootloader of this instruction Link
2. Download TWRP and TWRP-Install.zip. TWRP - Link , TWRP-Install.zip - Link, Root archive - Link
3. Reboot phone in Fastboot Mode.
4. Copy twrp-fastboot-boot.img into fastboot folder, archive TWRP-Install.zip - in Internal Memory.
5. Open fastboot and enter this command
Code:
fastboot boot twrp-fastboot-boot.img
Your phone reboot in temporary TWRP.
6. Accept system modification alert by swipe.
7. Go to Install and choose TWRP-Install.zip, accept this by swipe.
8. Go to Reboot and reboot in recovery.
9. ??????????
10. PROFIT!
Bugs
Mount reserve partition(is not critical).
Contributors
Skyrimus
Original link - http://4pda.ru/forum/index.php?s=&showtopic=701301&view=findpost&p=54026939
Click to expand...
Click to collapse
Hi Skyrimus !
Can you give me a more details about "reserve partition" ? A trayed your metod- that partialy working, but to the moment TWRP menu with prompt swap to allow write. Than frozen screan, i can do nothig, and starting system android phone under this screan.. My model: HTC Desire 626. (LTE internet) Android 5.1 loolipop. not 6 Can you help me to get apropriate TWRP, or any thinks ? My knowlege is not to good..
Hey, is someone able to extract the RUU from this htc desire 626 lte? i softbricked it and cannot find anything working. Thats the version with snapdragon 410, isn't it?
Zwolin said:
Hey, is someone able to extract the RUU from this htc desire 626 lte? i softbricked it and cannot find anything working. Thats the version with snapdragon 410, isn't it?
Click to expand...
Click to collapse
did uou pres power button, simultanously volume + up to 10 seconds ?
---------- Post added at 09:56 PM ---------- Previous post was at 09:00 PM ----------
janalaa said:
Hi Skyrimus !
Can you give me a more details about "reserve partition" ? A trayed your metod- that partialy working, but to the moment TWRP menu with prompt swap to allow write. Than frozen screan, i can do nothig, and starting system android phone under this screan.. My model: HTC Desire 626. (LTE internet) Android 5.1 loolipop. not 6 Can you help me to get apropriate TWRP, or any thinks ? My knowlege is not to good..
Click to expand...
Click to collapse
Skyrimus said:
How to install TWRP 3.0 and ROOT on HTC Desire 626 LTE.
The step by step guideline is like these :
1. Unlock bootloader of this instruction Link
2. Download TWRP and TWRP-Install.zip. TWRP - Link , TWRP-Install.zip - Link, Root archive - Link
3. Reboot phone in Fastboot Mode.
4. Copy twrp-fastboot-boot.img into fastboot folder, archive TWRP-Install.zip - in Internal Memory.
5. Open fastboot and enter this command
Code:
fastboot boot twrp-fastboot-boot.img
Your phone reboot in temporary TWRP.
6. Accept system modification alert by swipe.
7. Go to Install and choose TWRP-Install.zip, accept this by swipe.
8. Go to Reboot and reboot in recovery.
9. ??????????
10. PROFIT!
Bugs
Mount reserve partition(is not critical).
Contributors
Skyrimus
Original link - http://4pda.ru/forum/index.php?s=&showtopic=701301&view=findpost&p=54026939
Click to expand...
Click to collapse
Resolved for android 5.1 loolipop :
after unlock bootloader-
1. in the mobile system android, use Kingo Root.apk -one toutch ROOT (temporary)
2. flash custom "recovery. img" downloaded to SDcard , by use RASHR. apk (ply store)
3. reboot to fastboot mode, move highlite menu- to recovery mode- push pwr button - wait, wil Starts TWRP 3.0.0 Skyrimus
Profit! It was very simple
Bugs : mount reserve partition error (stil.)
Linkes for download files 1 topic (Skyrymus)
Thank you Skyrimus, greate job!
Compilation
Hi Skyrimus,
I want to compile a LineageOS rom for the HTC desire 626.
Have you still got configurations files ?
hello sir
Skyrimus said:
How to install TWRP 3.0 and ROOT on HTC Desire 626 LTE.
The step by step guideline is like these :
1. Unlock bootloader of this instruction Link
2. Download TWRP and TWRP-Install.zip. TWRP - Link , TWRP-Install.zip - Link, Root archive - Link
3. Reboot phone in Fastboot Mode.
4. Copy twrp-fastboot-boot.img into fastboot folder, archive TWRP-Install.zip - in Internal Memory.
5. Open fastboot and enter this command
Code:
fastboot boot twrp-fastboot-boot.img
Your phone reboot in temporary TWRP.
6. Accept system modification alert by swipe.
7. Go to Install and choose TWRP-Install.zip, accept this by swipe.
8. Go to Reboot and reboot in recovery.
9. ??????????
10. PROFIT!
Bugs
Mount reserve partition(is not critical).
Contributors
Skyrimus
Original link - http://4pda.ru/forum/index.php?s=&showtopic=701301&view=findpost&p=54026939
Click to expand...
Click to collapse
sir am using htc desire 626q veriant i cant upgrade to lolipop or other plzz help me with full toturial video link
Hi,
Today I just installed a custom ROM for my Zuk Z2 PRO. This tutorial is how I did it.
I get many ressources from this forum and I thank orignal authors.
Big thanks to meister for his guide : https://forum.xda-developers.com/zuk-z2-pro/how-to/zuk-z2-pro-guide-to-everything-ota-t3562099
And big thanks to m_atze for his guide : https://forum.xda-developers.com/zuk-z2-pro/how-to/howto-flash-stock-rom-t3435109
More info on this ROM : https://forum.xda-developers.com/zuk-z2-pro/development/rom-share-lr-team-zuk-z2row-z2-pro-t3567710
Backup your data before processing the flash, in order to avoid loss of data!
Flashing / rooting and install custom ROM could brick your device ! You're the only responsible on what you're doing. This guide is how I did it and I'm not responsible if you're messing up your device
Unlock bootloader (step 3) will void Lenovo warranty
Antutu Score : 143050
Summary :
Step 1 : Prepare environment
Step 2 : Install ZUI 2.5.x (recommended before installing Nougat custom ROM)
Step 3 : Unlock bootloader (to be able to boot on TWRP)
Step 4 : Boot on TWRP to root the phone
Step 5 : Make a Nandroid backup
Step 6 : Install TWRP
Step 7 : Install a custom ROM with TWRP
Step 8 : Install Gapps (google apps)
Step 1 : Prepare environment
Create a directory where you're gona extract download files (avoid space in the directory path).
Download : adb and fastboot from google
Extract it on your previous created directory.
Download usb drivers and install it
Enable developer mode in your Z2 PRO (link if your don't know how to do it)
Connect your phone on your computer
On the directory C:/yourDirectoryPath/platform-tools maintains shift + rigth click and "Open command window here"
Type adb devices
If your see a line below "List of devices attached" your adb is OK
Note the number somewhere, it's your device serial number.
On the phone type *#06# and note somewhere IMEI numbers in case something went wrong during flashing
Step 2 : Install ZUI 2.5.x (recommended before installing Nougat custom ROM)
For this part I use the m_atze tutorial that you can find here. Check it for me detailed steps.
If you are on windows 8, 8.1 or 10, you have to disable driver verification (some people didn't disable driver verification and it works as well)
For windows 10 with anniversary update : you just have to run a cmd as admin and enter bcdedit -set TESTSIGNING ON then reboot your computer (your windows will be in test mode)
For other cases check this link
Then
Download QPST flashtool
Install QPST flashtool and reboot your computer
Download and extract ZUI ROM 2.5.x (you maybe need to rename the directory where the ROM is because it could be too big)
Launch QFIL application as administrator
Go to Configuration -> FireHostConfiguration. 1-change device type to UFS. 2-check reset after download checkbox
Click on "Load content" and browse the contents.xml from the ZUI ROM 2.5.x extracted files
On the adb console you opened earlier, enter adb reboot edl
The QFIL page should look like this
Click on "Download content" to flash your phone
The final screen should like this
If any problem, there is an FAQ
Your phone is gonna reboot, congratulation, you're flashed your phone with ZUI 2.5.x ROM.
Once the phone boots up it will be in Chinese again. To get your phone back in English :
On the welcome screen tap the bottom of the screen below the highlighted blue text to skip the ZUK login.
To change the language back to English go to Settings.
In the third section choose the last entry. "Advanced Settings" (the gears symbol).
Choose the 2nd menu item.
Choose the first menu item and select English.
Now check update and install it if needed trough this app. If the check is green, it's ok.
Re-enable developer mode and debugging
Step 3 : Unlock bootloader (to be able to boot on TWRP)
This step is almost a copy past of section 2 of meister guide
This step gonna void your Lenovo warranty and wipe your data
Step 3.1 : Get the unlock bootloader from Lenovo
In order to unlock the bootloader you will need to got the zuk website, where you need to register first before you can request to unlock the bootloader.
So go here : https://passport.zuk.com/wauthen3/wauth/jsp/register.jsp (use google translate)
Select Email Registration (upper right corner) and fill in the required data
You will receive an Email with a confirmation link.
Now that you are registered, log in and than go to http://developer.zuk.com/bootloader (use google translate)
Click on Carry On.
On the next page select your phone type Z2 Pro.
Enter your serial number (8 digits) (you can find it on Settings -> About -> Status. If your serial is not 8 digit, add 0 to the end to make a 8 digit number)
Enter an email address where to send the unlock image. It seems that the email address here has to follow some rules. ([email protected] or @Web.net seems to work. A domain name with a hyphen (-) seems to cause problems, i use a @hotmail.com mail adresse and it worked)
Check the 2 check boxes and click SUBMIT
If successful you get a message that the image has been sent to your email address. No message means something went wrong. Likely the email address was not approved.
Save the email attachment from ZUK you requested earlier (named unlock_bootloader.img) into C:/yourDirectoryPath/platform-tools/ (next to adb.exe)
Step 3.2 : Unlock bootloader
On adb console enter adb devices to check if your device is still connected
Next enter adb reboot bootloader and your phone gonna reboot in bootloader mode
Next enterfastboot -i 0x2b4c flash unlock unlock_bootloader.img (if you got error "target did not report max-download-size" change from usb 3.0 to usb 2.0 port and / or try to turn on "enable_usb_2.0" via
Developer Options)
You should see
Code:
target reported max download size of 1610612736 bytes
sending 'unlock' (0 KB)...
OKAY [ 0.031s]
writing 'unlock'...
OKAY [ 0.063s]
finished. total time: 0.094s
Then enter fastboot -i 0x2b4c oem unlock-go
You should see
Code:
...
OKAY [ 0.031s]
finished. total time: 0.031s
You phone is gonna reboot (or reboot it manually)
Change the phone language to english and re enable debugging.
Step 4 : Boot on TWRP to root the phone
Download TWRP 3.1 for Zuk Z2 PRO here and extrat TWRP..... .img next to adb.exe in platform-tools folder
Download SuperSu here
Copy paste SuperSu zip file in your phone internal storage
In adb cmd enter adb reboot bootloader
Then enter fastboot -i 0x2b4c boot TWRP3.1.0.0_ZUK_Z2_pro.img to boot in TWRP image
Click on "Keep read only"
Go to install and browse to SuperSu zip.
Swipe to install
When installation is finished, reboot your phone (it may reboot many times)
Good job, your phone is now rooted !
Step 5 : Make a Nandroid backup
In adb cmd enter adb reboot bootloader
Then enter fastboot -i 0x2b4c boot TWRP3.1.0.0_ZUK_Z2_pro.img to boot in TWRP image
Go in backup and check all checkbox
Swipe to backup
Reboot the phone
From your computer browse your phone internal memory and copy your backup from TWRP/Backup/XXXXX to a directory in your computer
Step 6 : Install TWRP
In adb cmd enter adb reboot bootloader
Then fastboot flash recovery TWRP3.1.0.0_ZUK_Z2_pro.img to install TWRP on your phone
Then fastboot reboot
Then adb reboot bootloader
Then with volume keys select Recovery Mode and enter in Recovery Mode by pushing power key
TWRP will start
Reboot your phone
Step 7 : Install a custom ROM with TWRP
Download ROM from https://uploadfiles.io/55ffa
Copy paste ROM zip file in your phone internal storage
In adb cmd enter adb reboot bootloader
Then with volume keys select Recovery Mode and enter in Recovery Mode by pushing power key
Click Wipe and swipe to wipe. Do NOT reboot your phone.
Go back in TWRP main menu and click Install. Browse the ROM zip file
Swipe to install
Reboot your phone
When your phone reboot, it's in chinese. Click on the texte in the right bottom corner and then select your language.
During the phone configuration, do not connect wifi (in my case the phone configuration crashed when I connected to a wifi)
When you finished phone configuration reboot to get notification in your language
Step 8 : Install Gapps (google apps)
Download Gapps from https://forum.xda-developers.com/android/software/gapps-dynamic-gapps-t3487192
Copy the zip file in your phone
Reboot in TWRP
Install Gapps through TWRP
Reboot your phone
At this point my Google Play Services crashed each reboot. So needed to
Reboot in TWRP
Wipe cache
Now it works !
You can install other ROM with this method but I only tested with this one.
Enjoy
First of all, thank you for your help.
I followed this tutorial from start to finish without encountering any unexpected events. It is rare to say so!
Small points:
Step 1:
*- Think of connecting the phone before the command "adb devices", it's stupid but I had not done it!
Step 2:
*- I did not need to change my driver settings on Windows 10.
*- I had to run the QFIL application as an administrator.
*- I had to rename the directory where the ROM was because the name was too big.
Step 3.1:
*- I have a serial number on 7 characters, you must add "0" at the end to make 8 characters.
*- My Gmail address worked smoothly.
Step 4:
*- The SuperSU link did not work, I took this one: http://downloadmirror.co/Utz/UPDATE-SuperSU-v2.79-20161211114519.zip
*- Some reboot at home also, it seems to be normal.
Step 7:
*- I took the ROM "Resurrection Remix", no problem with another ROM.
Step 8:
*- I also had a crash of Google apps, I also did a wipe and it works now. It looks normal too.
Thank you again for your help!
Glade I could help !
Thanks for your feedback, I'm gonna update the tutorial
Hi,
great tutorial, thank you!
Step 6 : Install TWRP - I'm stuck though, as my PC still does not recognize device on fastboot without -i 0x2b4c...
so should I use instead of
Then fastboot flash recovery TWRP3.1.0.0_ZUK_Z2_pro.img to install TWRP on your phone
Then fastboot reboot
Click to expand...
Click to collapse
the -i option ?
Then fastboot -i 0x2b4c flash recovery TWRP3.1.0.0_ZUK_Z2_pro.img to install TWRP on your phone
Then fastboot -i 0x2b4c reboot
Click to expand...
Click to collapse
?
... edit, yes that worked ...
lxlx said:
... edit, yes that worked ...
Click to expand...
Click to collapse
Great ! Good to know
Step 3.1 : Get the unlock bootloader from Lenovo
- gmail works
- did not work to get the bootloader with google translater . had to do it in Chinese, but knew the steps since i tried it with translation first
zwat said:
Step 3.1 : Get the unlock bootloader from Lenovo
- gmail works
- did not work to get the bootloader with google translater . had to do it in Chinese, but knew the steps since i tried it with translation first
Click to expand...
Click to collapse
Thanks for the feedback, I updated the tuto.
Thank you for this tutorial, it worked like a charm!
I'm currently on ZUI 2.5.x. Can I go straight to official MK60.1 using this guide?
Or should I downgrade to ZUI 2.3.x first
dommels said:
I'm currently on ZUI 2.5.x. Can I go straight to official MK60.1 using this guide?
Or should I downgrade to ZUI 2.3.x first
Click to expand...
Click to collapse
I don't know sorry :/
Maybe downgrade to 2.3.x is more secured...
For my information, why do you want to install the MK60.1 ?
Bluud said:
I don't know sorry :/
Maybe downgrade to 2.3.x is more secured...
Click to expand...
Click to collapse
Just went from stock 2.5x to MK60.1 without issues, thanks!
For my information, why do you want to install the MK60.1 ?
Click to expand...
Click to collapse
So far it's the only stable official release from Mokee.
Mk60.1 have exactly the same bugs like Mk71.1. so no need to use mk60.1. mk71.1 is pretty stable btw.
So far quite happy running Mokee. Is there an easy way to root as well?
dommels said:
So far quite happy running Mokee. Is there an easy way to root as well?
Click to expand...
Click to collapse
Mokee was quite good.
Yesterday I installed this ROM : https://forum.xda-developers.com/zu...tom-rom-zuk-z2pro-resurrection-remix-t3579113
I prefer this ROM because you can custom it in many ways.
Since yesterday it's stable.
Question
Bluud said:
Mokee was quite good.
Yesterday I installed this ROM : https://forum.xda-developers.com/zu...tom-rom-zuk-z2pro-resurrection-remix-t3579113
I prefer this ROM because you can custom it in many ways.
Since yesterday it's stable.
Click to expand...
Click to collapse
It's the same tutorial?
Yes
Bluud said:
Hi,
Today I just installed a custom ROM for my Zuk Z2 PRO. This tutorial is how I did it.
I get many ressources from this forum and I thank orignal authors.
Big thanks to meister for his guide : https://forum.xda-developers.com/zuk-z2-pro/how-to/zuk-z2-pro-guide-to-everything-ota-t3562099
And big thanks to m_atze for his guide : https://forum.xda-developers.com/zuk-z2-pro/how-to/howto-flash-stock-rom-t3435109
More info on this ROM : https://forum.xda-developers.com/zuk-z2-pro/development/rom-share-lr-team-zuk-z2row-z2-pro-t3567710
Backup your data before processing the flash, in order to avoid loss of data!
Flashing / rooting and install custom ROM could brick your device ! You're the only responsible on what you're doing. This guide is how I did it and I'm not responsible if you're messing up your device
Unlock bootloader (step 3) will void Lenovo warranty
Antutu Score : 143050
Summary :
Step 1 : Prepare environment
Step 2 : Install ZUI 2.5.x (recommended before installing Nougat custom ROM)
Step 3 : Unlock bootloader (to be able to boot on TWRP)
Step 4 : Boot on TWRP to root the phone
Step 5 : Make a Nandroid backup
Step 6 : Install TWRP
Step 7 : Install a custom ROM with TWRP
Step 8 : Install Gapps (google apps)
Step 1 : Prepare environment
Create a directory where you're gona extract download files (avoid space in the directory path).
Download : adb and fastboot from google
Extract it on your previous created directory.
Download usb drivers and install it
Enable developer mode in your Z2 PRO (link if your don't know how to do it)
Connect your phone on your computer
On the directory C:/yourDirectoryPath/platform-tools maintains shift + rigth click and "Open command window here"
Type adb devices
If your see a line below "List of devices attached" your adb is OK
Note the number somewhere, it's your device serial number.
On the phone type *#06# and note somewhere IMEI numbers in case something went wrong during flashing
Step 2 : Install ZUI 2.5.x (recommended before installing Nougat custom ROM)
For this part I use the m_atze tutorial that you can find here. Check it for me detailed steps.
If you are on windows 8, 8.1 or 10, you have to disable driver verification (some people didn't disable driver verification and it works as well)
For windows 10 with anniversary update : you just have to run a cmd as admin and enter bcdedit -set TESTSIGNING ON then reboot your computer (your windows will be in test mode)
For other cases check this link
Then
Download QPST flashtool
Install QPST flashtool and reboot your computer
Download and extract ZUI ROM 2.5.x (you maybe need to rename the directory where the ROM is because it could be too big)
Launch QFIL application as administrator
Go to Configuration -> FireHostConfiguration. 1-change device type to UFS. 2-check reset after download checkbox
Click on "Load content" and browse the contents.xml from the ZUI ROM 2.5.x extracted files
On the adb console you opened earlier, enter adb reboot edl
The QFIL page should look like this
Click on "Download content" to flash your phone
The final screen should like this
If any problem, there is an FAQ
Your phone is gonna reboot, congratulation, you're flashed your phone with ZUI 2.5.x ROM.
Once the phone boots up it will be in Chinese again. To get your phone back in English :
On the welcome screen tap the bottom of the screen below the highlighted blue text to skip the ZUK login.
To change the language back to English go to Settings.
In the third section choose the last entry. "Advanced Settings" (the gears symbol).
Choose the 2nd menu item.
Choose the first menu item and select English.
Now check update and install it if needed trough this app. If the check is green, it's ok.
Re-enable developer mode and debugging
Step 3 : Unlock bootloader (to be able to boot on TWRP)
This step is almost a copy past of section 2 of meister guide
This step gonna void your Lenovo warranty and wipe your data
Step 3.1 : Get the unlock bootloader from Lenovo
In order to unlock the bootloader you will need to got the zuk website, where you need to register first before you can request to unlock the bootloader.
So go here : https://passport.zuk.com/wauthen3/wauth/jsp/register.jsp (use google translate)
Select Email Registration (upper right corner) and fill in the required data
You will receive an Email with a confirmation link.
Now that you are registered, log in and than go to http://developer.zuk.com/bootloader (use google translate)
Click on Carry On.
On the next page select your phone type Z2 Pro.
Enter your serial number (8 digits) (you can find it on Settings -> About -> Status. If your serial is not 8 digit, add 0 to the end to make a 8 digit number)
Enter an email address where to send the unlock image. It seems that the email address here has to follow some rules. ([email protected] or @Web.net seems to work. A domain name with a hyphen (-) seems to cause problems, i use a @hotmail.com mail adresse and it worked)
Check the 2 check boxes and click SUBMIT
If successful you get a message that the image has been sent to your email address. No message means something went wrong. Likely the email address was not approved.
Save the email attachment from ZUK you requested earlier (named unlock_bootloader.img) into C:/yourDirectoryPath/platform-tools/ (next to adb.exe)
Step 3.2 : Unlock bootloader
On adb console enter adb devices to check if your device is still connected
Next enter adb reboot bootloader and your phone gonna reboot in bootloader mode
Next enterfastboot -i 0x2b4c flash unlock unlock_bootloader.img (if you got error "target did not report max-download-size" change from usb 3.0 to usb 2.0 port and / or try to turn on "enable_usb_2.0" via
Developer Options)
You should see
Then enter fastboot -i 0x2b4c oem unlock-go
You should see
You phone is gonna reboot (or reboot it manually)
Change the phone language to english and re enable debugging.
Step 4 : Boot on TWRP to root the phone
Download TWRP 3.1 for Zuk Z2 PRO here and extrat TWRP..... .img next to adb.exe in platform-tools folder
Download SuperSu here
Copy paste SuperSu zip file in your phone internal storage
In adb cmd enter adb reboot bootloader
Then enter fastboot -i 0x2b4c boot TWRP3.1.0.0_ZUK_Z2_pro.img to boot in TWRP image
Click on "Keep read only"
Go to install and browse to SuperSu zip.
Swipe to install
When installation is finished, reboot your phone (it may reboot many times)
Good job, your phone is now rooted !
Step 5 : Make a Nandroid backup
In adb cmd enter adb reboot bootloader
Then enter fastboot -i 0x2b4c boot TWRP3.1.0.0_ZUK_Z2_pro.img to boot in TWRP image
Go in backup and check all checkbox
Swipe to backup
Reboot the phone
From your computer browse your phone internal memory and copy your backup from TWRP/Backup/XXXXX to a directory in your computer
Step 6 : Install TWRP
In adb cmd enter adb reboot bootloader
Then fastboot flash recovery TWRP3.1.0.0_ZUK_Z2_pro.img to install TWRP on your phone
Then fastboot reboot
Then adb reboot bootloader
Then with volume keys select Recovery Mode and enter in Recovery Mode by pushing power key
TWRP will start
Reboot your phone
Step 7 : Install a custom ROM with TWRP
Download ROM from https://uploadfiles.io/55ffa
Copy paste ROM zip file in your phone internal storage
In adb cmd enter adb reboot bootloader
Then with volume keys select Recovery Mode and enter in Recovery Mode by pushing power key
Click Wipe and swipe to wipe. Do NOT reboot your phone.
Go back in TWRP main menu and click Install. Browse the ROM zip file
Swipe to install
Reboot your phone
When your phone reboot, it's in chinese. Click on the texte in the right bottom corner and then select your language.
During the phone configuration, do not connect wifi (in my case the phone configuration crashed when I connected to a wifi)
When you finished phone configuration reboot to get notification in your language
Step 8 : Install Gapps (google apps)
Download Gapps from https://forum.xda-developers.com/android/software/gapps-dynamic-gapps-t3487192
Copy the zip file in your phone
Reboot in TWRP
Install Gapps through TWRP
Reboot your phone
At this point my Google Play Services crashed each reboot. So needed to
Reboot in TWRP
Wipe cache
Now it works !
You can install other ROM with this method but I only tested with this one.
Enjoy
Click to expand...
Click to collapse
Does it works on Zuk Z2?
dommels said:
I'm currently on ZUI 2.5.x. Can I go straight to official MK60.1 using this guide?
Or should I downgrade to ZUI 2.3.x first
Click to expand...
Click to collapse
You can go straight to the latest RR rom without downgrade, so I guess you can do this with MK60 also. But why do you want that...?
Sendt fra min ZUK Z2121 med Tapatalk
Pendragon2000 said:
Does it works on Zuk Z2?
Click to expand...
Click to collapse
You can use this tutorial BUT you need to take a Z2 ROM and a Z2 TWRP.
Check on xda Z2 topics
accelerometer/gyroscope BUG can`t play any game
HI all,
Instead of creating new threads ill be maintaining only one from now in which there will be all types of guides , rom review , tweaks which will include video tutorials so it makes easy for understanding and also will be updating on regular basis , if anyone have any request can pm me or comment below.
Rooting XIAOMI REDMI NOTE 4 SD TWRP/SUPERUSER
***IMPORTANT***
BACKUPDATA
Make sure you have adb installed and you place the twrp file to adb folder & other files to internal memory
Downloads:
1. TWRP- 3.0.3-0
https://www.androidfilehost.com/?fid=457095661767136323
2. phh's SuperSu
https://superuser.phh.me/superuser.zip
3. no-verity-opt-encrypt
https://build.nethunter.com/android-tools/no-verity-opt-encrypt/no-verity-opt-encrypt-5.1.zip
Steps:
1.unlock bootloader
http://en.miui.com/unlock/
or
Google mi unlock
2.download files
3.enable usb debugging
4.boot to fastboot (volume down+power button)
5.connect to pc run cmd in adb folder .
6.use command (fastboot devices) to check fastboot devices
7.use command (fastboot flash recovery {name of recovery}.img)
8.boot device to recovery (Flash Verity file, su ) ***IMPORTANT***
9.wipe caches
10.reboot
HexagonROM V2.3 UNOFFICIAL 7.1.1
How to Flash :-
* Download the Rom
* Boot Into recovery (TWRP recommended)
* Wipe your system, cache,dalvik cache and Data.
* Just flash This Rom & Whichever Gapps you want.
* Reboot into system..!
* Profit.. Enjoy..!
Additional Features:
*Offline Gestures
*Ambient Display with Doze Pulse
Download:
https://www.androidfilehost.com/?w=files&flid=166131
Google apps ARM64 7.1.1
http://opengapps.org/
ashokmor007 said:
HI all,
Instead of creating new threads ill be maintaining only one from now in which there I NOTE 4 SD TWRP/SUPERUSER..
.
.
.
Oops! Snap!
Click to expand...
Click to collapse
This should be in Guides / news & discussions section.
Is this for mtk version also, or is there a different method of fixing it up? I just bought this today, I thought it was the right one to get... Now I am worrying that I made the wrong choice...
Questions
1. What is the purpose of no Verity zip?
2. Can you root and install TWRP, but not install a new ROM. Can you keep Miui stock and get OTA updates like normal?
Thx
DEVICE XPERIA X - PROJECT NAME SUZU - VARIANTS F5121 & F5122 (DUAL)
WhatsApp Group[PLEASE PM ME] for Xperia X (ENGLISH ONLY) by@hhjadeja007
A BIG THANKS TO @serajr & @sToRm// and ofcourse @tobias.waldvogel
#DETAILED KNOWLEDGE BASE GUIDE FOR XPERIA 2018 MODELS / THANKS TO @DHGE
Similar Noob Version / DrmKeys, TA, unLock & Lock Bootloader (XPERIA XZ) thanks @nathan30
MAGISK GUIDE THANKS TO @Didgeridoohan
and FINALLY @Chippa_a for TWRP 3.2.2
____________________________________________________________
IF YOU KNOW THE BASICS THEN PROCEED BELOW , OTHERWISE R E A D - H E R E
-OREO KERNELS
ROOT DIRECTORY XPERIA X SUZU
"Xperia X UPDATE" ON -25-SEPTEMBER-2018 -- 34.4.A.2.118 F5121 & F5122 NEW
"Xperia X UPDATE" ON -22-AUGUST-2018 -- 34.4.A.2.107 F5121 & F5122
"Xperia X UPDATE" ON -18-JULY-2018 -- 34.4.A.2.97 F5121 & F5122
"Xperia X UPDATE" ON -14-JUNE-2018 -- 34.4.A.2.85 F5121 & F5122
"Xperia X UPDATE" ON -09-MAY-2018 -- 34.4.A.2.70 F5121 & F5122
"Xperia X UPDATE" ON -10-APRIL-2018 -- 34.4.A.2.50 F5121 & F5122
"Xperia X UPDATE" ON -15-MARCH-2018 -- 34.4.A.2.32 F5121 & F5122
"Xperia X UPDATE" ON -26-FEB-2018 --34.4.A.2.19 F5121 & F5122
"Xperia X UPDATE" ON -06-FEB2018 -- 34.4.A.0.364 F5121 & F5122 - thanks to @Gray47Maxx
-------------------> INSTRUCTIONS <-----------------
1. Paste the following on your sd OR USB OTG AND KEEP IT ASIDE
-DRM-Fix_System_Mode.zip
-Magisk.zip
-FCS_thermal_Xperia_X_V.1.8.zip (optional)
2. FLASH THE LATEST ROM VIA FLASHTOOL , if DURING FLASHING you get script error then
2B. Paste 34.4.fsc from folder1 to [C:\Users\<username>\.flashTool\devices\F51XX] and try TRY flashing again.
3. boot you device in to OREO , enable USB DEBUGGING and Switchoff you device
4. Flash KERNEL " F512X_34.4.A.X.X_CLEAN.img" using FLASHTOOL (fastboot MODE) and unplug device.
5. Paste the " twrp-3.1.1-suzu-2017.08.22.img " (Recovery image) at C:\Program Files (x86)\Minimal ADB and Fastboot & name it something simple such as boot.img. CONNECT DEVICE IN FASTBOOT MODE AGAIN & FLASH Recovery via following FASTBOOT command ("fastboot flash recovery twrp.img" & enter. Once Done; remove cable and after few seconds ......
6. press POWER and VOLUME DOWN keys and HOLD until you are taken to TWRP.
6B. TWRP 3.x.x will ask decryption password, click back and DO - THIS - STEP - THANKS TO @Jomoteck
7A. NOW from SDCARD OR USBOTG flash the items in the same sequence given ABOVE ( DRM-Fix_System_Mode.zip / then Magisk.zip)
7B. FLASH - FCS_thermal_Xperia_X_V.1.3.zip (optional) and
8. clear cache / delvik cache and and switch-off device (DO NOT PROMPT INSTALL TWRP)
9. after a while switch on device. first reboot may take a while and you may face bootloop (atleast once)
10. install magisk_5.X.apk (magisk manager withing android)
11. install rootcheck_615.apk and check the Root access. (optional)
ADDITIONAL STEPS I DO
12. INCREASE VOLUME--replace "mixer_paths_wcd9335.xml" file from /system/etc for HIGH VOLUME AND RINGTONE (TAKE BACKUP OF THE ORIGINAL ONE) (I USE FX EXPLORER
13. ENABLE NIGHTLIGHT FILTER
---- first flash given Night_Light.zip via TWRP and reboot, check if the control appears or not, if NOT then
-- Install Given "android-res-night.apk"; then connect device to pc (via usb cable) and ran the following command on "Minimal Adb & Fastboot Window"
Code:
"adb shell cmd overlay enable --user 0 android.res.night"
nightlight will work after you next reboot PREVIEW NIGHTLIGHT
14. SOME MODULES IN MAGISK --- > "UPDATE" -GOOGLE PLAY SERVICES --> OPEN MAGISK--> FLASH MODULES
15 "UPDATE" Magisk manager 5.6x & then "Xperia X UPDATE" ON -Magisk module to 16.x (direct install) --- N O W. R.E.B.O.O.T. ---
-------- REMOVING BLOATWARE-------
----(A)------------SCRIPT METHOD -------------
16A. make sure usb debugging is ON, connect your device via cable to pc and UNZIP GIVEN "v1.8_Xperia_X_Debloat_By_Serajr_Combined.zip" AND RUN THE BAT FILE- ( read the instructions CAREFULLY ( -----READ HERE-------- ) ) ---- it will prompt permission & then superUser Permission. Grant BOTH ----- the device will reboot and ALL THE BLOATWARE WILL BE VOIDED
16B. after reboot you may get app crashing prompt. SWITCH-OFF device
16C. reboot to twrp and again clean cache and Delvik cache and SWITCH-OFF device
16D. reboot and delete "_debloat_backup" folder (size 1.7gb) from /system by using any GOOD ROOT EXPLORER APP ( I use FX Explorer)
16E. Mr @venomxob has cofirmed that by updating SOFTWARE "Xperia X UPDATE" ON -APP in OREO, fixes the annoying App Crash Popups DOWNLOAD HERE
16E. FROM "Developer Options" disable animation affects for speedy performance
----(B)----------MANUAL METHOD--------------
MAKING SYSTEM WRITABLE to REMOVE BLOATWARE / SYSTEM APP
In order to to remove system App and Bloatware you must make /system partition writable
17A .install busybox (run it and install it in system) and then
17B.install terminal, later type these lines ( no CAPS) and enter one by one in #terminal
Code:
su (grant su access)
busybox mount -o rw,remount,rw /system
17C. FOR OREO THIS BUSYBOX WORKED FOR ME - CLICK HERE
17D. SYSTEM APP UNINSTALLER WORKED FOR ME ON BOTH NOUGAT & OREO CLICK HERE
17E. I PREFER FREEZING SOME CORE SONY APPS WITH THIS APP CLICK HERE
SOME VALUE ADDING APPS I USE
1. YMUSIC ( MP3 Player/downloader for YOUTUBE) CLICK HERE
2. BROMITE (PowerFul Fast Chrome Browser without Tracking ) CLICK HERE
3. LATEST XPERIA HOME APP (3D TOUCH) CLICK HERE
4. OGYOUTUBE (modded Youtube player) CLICK HERE
5. ADBLOCKER (Adaway) CLICK HERE
<_______________________________________________________________________________________________________>
-NOUGAT KERNELS
"Xperia X UPDATE" ON -06DEC2017--34.3.A.0.252 - F5121 & F5122Best Build
"Xperia X UPDATE" ON -09NOV2017--34.3.A.0.244 - F5121 & F5122
"Xperia X UPDATE" ON -04OCT2017 -- 34.3.A.0.238 - F5121 & F5122
"Xperia X UPDATE" ON -08SEP2017-- 34.3.A.0.228 - F5121 & F5122
"Xperia X UPDATE" ON -08AUG2017- 34.3.A.0.217 - F5121 & F5122
"Xperia X UPDATE" ON -12JULY2017 -- 34.3.A.0.206 - F5121 & F5122
"Xperia X UPDATE" ON -23JUNE2017 -- 34.3.A.0.194 - F5121 & F5122
"Xperia X UPDATE" ON -11MAY2017 -- 34.2.A.2.69 - F5121 & F5122
"Xperia X UPDATE" ON -22APR2017 -- 34.2.A.2.27 - F5121 & F5122
GENERAL METHOD (NOUGAT KERNELS)
34.2.A.2.27 / 34.2.A.2.69 / 34.3.A.0.194 / 34.3.A.0.206
34.3.A.0.217 / 34.3.A.0.228 / 34.3.A.0.244/ 34.3.A.0.238
& 34.3.A.0.252
The Process of Flashing these Nougat Kernels and Obtaining Root Access for is SAME as Described ABOVE (for Oreo Kernels) EXCEPT FOLLOWING TWO THINGS
1. DO NOT FLASH "DRM-Fix_System_Mode.zip"
2. FLASH THE bloatware removal script, [v1.8_Xperia_X_Debloat_By_Serajr_Combined.zip], IT works just fine on Nougat.
--------------------------------------------------------------------------------------------------------------------------------------------------
- MARSHMALLOW KERNELS
"Xperia X UPDATE" ON -29APR2016 -- 34.0.A.1.264 (GENERIC & NORDIC) - F5121 & F5122
METHOD ( MARSHMALLOW KERNELS) 34.0.A.1.264
The Process of Flashing MARSHMALLOW Kernel and Obtaining Root Access for is SAME as Described ABOVE (for Oreo Kernels) EXCEPT FOLLOWING TWO THINGS
1. DO NOT FLASH "DRM-Fix_System_Mode.zip"
2. FLASH THE bloatware removal script, [v1.8_Xperia_X_Debloat_By_Serajr_Combined.zip], IT works just fine on Nougat.
<<<<---------------------------------------------------------------------------------------------------------------->>>
HASTAGS : #F5122 #F5121 #ROOT #XPERIAX #STOCK #MODIFIED #KERNELS #STOCKKERNES #
所以 这是一个好消息。
LuxferreX said:
所以 这是一个好消息。
Click to expand...
Click to collapse
I don't know your language sir, but as per google I believe you typed " So it's good news."
so the answer is YES
however this forum is in English, please try to communicate in English because most of the knowledge-base is in English on XDA
I joined this forum to thank you very much. This not only works but restored my camera app which was crashing to launcher last time I attempted to root in MM. It caused the camera app to freeze and crash out even after with software repair and Sony said to send it back then said they didn't want to fix it because I unlocked the bootloader. (Camera worked in other apps etc.)
So not only do I now have root on Nougat but my camera app works too. You're brilliant!
YasuHamed said:
[*]type command
Code:
fastboot flash twrp3.1.img
( assuming you put twrp3.1.img in the minimal adb folder)
Click to expand...
Click to collapse
Actually not quite:
Code:
fastboot flash recovery twrp3.1.img
That should do it. =)
evilicious_evil said:
I joined this forum to thank you very much. This not only works but restored my camera app which was crashing to launcher last time I attempted to root in MM. It caused the camera app to freeze and crash out even after with software repair and Sony said to send it back then said they didn't want to fix it because I unlocked the bootloader. (Camera worked in other apps etc.)
So not only do I now have root on Nougat but my camera app works too. You're brilliant!
Actually not quite:
Code:
fastboot flash recovery twrp3.1.img
That should do it. =)
Click to expand...
Click to collapse
Thank you @evilicious_evil for
1. correcting the code , i have fixed it
2. liking the post and
3. most important for the AdsFree
I know you will enjoy your device because I just couldn't love it more!
im stuck with downgrade step. im new to xperia and really want to root my device but im nougat now due to system update. kindly give steps on how to downgrade. so i can backup my drm keys.
BASICS
1. SONY XPERIAS are SHIPPED with LOCKED BOOTLOADERS with PASSWORD / (UNLOCK KEY)
2. First check your device whether SONY will ever allow you to unlock your bootloader or not? DIAL *#*#7378423#*#* / SERVICE INFO > / Configuration > / and check for "ROOTING STATUS: Bootloader unlocked allowed: " ... if it says NO then you better return your device back to sony. your phone can never be bootunlocked and you can never have root access. Better give the mobile to young sibling...
Hoever if "ROOTING STATUS: Bootloader unlocked allowed: " says YES then we can do the magic (see attached image)
BEFORE YOU UNLOCK BOOTLOADER DOWNGRADING TO 6.01 is MUST - this step will WIPE everything in your device
- GUIDE TO USE FLASHTOOL TO FLASH ANY FIRMWARE (DOWNGRADING TO ANDROID 6)
MAKE SURE ALL DRIVERS ARE INSTALLED
INSTALL SONY PC COMPANION / XPERIA COMPANION and Make FIRST CONNECTION to WINDOWS PC to XPERIA X while running sony pc companion or xperia companion and it will install necessary drivers.
-switch-off xperia X and plug usb in while holding the volume UP key (BLUE LED / FASTMODE) and let your windows install fastboot drivers.
- remove usb, and afte few seconds connect usb again while pressing VOLUME DOWN Key (Green LED / FLASHMODE) and let your windows install flashmode drivers
Click to expand...
Click to collapse
Install FLASHTOOL from http://www.flashtool.net/downloads_windows.php and install it / after installation
1. upgrade the version from 0.9.23.1 to 0.9.23.X by replacing x10flasher.jar files (given in that page) at C:\Flashtool
2. goto C:\Flashtool\drivers and install the setup! there will be many check boxes for you to see according to your sony devices. select common fastboot/flashmode drivers and sony Xperia X motherboard drivers (sa0107)
3. run flastool. run xperifirm (last button at right) (see image)
4. once xperifirm is run select your device SUZU >F5122 (see image)
5. now you will all the countries listed and the latest android versions they have pushed. if you see at the bottom the StoreFront/Service Exchange Unit and Commercial journalist will have the FIRST EVER version on which F5122 was created. the 34.0.A.1.264 is your version. you may install commercial journalist version (see image)
6. download it and once completed close the xperifirm and IMMEDIATELY flashtool will start creating FTF file. if it asks you anything about INCLUDING FSC SCRIPT / click YES
7. click the THUNDER BUTTON and select FLASHMODE (see image)
8. point out on the ftf firmare folder (in your case since you just downloaded it will be already be at right place) (see image) and
9. make a CLEAN FLASH (SEE IMAGE CAREFULLY)
10. click flash / it will take 10 mins to prepare flashfiles and
11. will prompt you to connect your device in FLASHMODE
12. makesure your xperia is switch OFF and now make a connection of your device in flashmode (plugin usb + vol down key (hold) (green led)
13. it will read you device and will start FLASHING / DONOT MOVE SHAKE device incase if usb connection looses your device may be bricked.
14 flashing takes 20-30 mins.
15. at 99% the flashtool seems to hang (while closing headers) and may take upto 15 mins. don't panic.
16. keep reading the screen / once flashing done/ flashtool will indicate.
17. boot your device, first boot may take several mins
congratulations your f5122 is successfully downgraded to ANDROID MM
Enable usb debugging from developer options and EXTACT DRM keys via DIRTYCOW script.
SAVING DRM KEYS
1. DOWNLOAD THE Universal (Dirtycow-based) TA Backup v2 FROM THIS POST
2. EXTRACT the zip on desktop and connect your xperia X running on android 6 / boot LOCKED
3. enable usb debugging under developeroptions
4. run the .BAT file and look at the device.
5. when prompt permission, grant it
6. the script will extract .img file in that same folder having name something like "TA_F512X_<code>_<ddmmyy><timestamp>.img" , you may run the script more than once to extract same copy of TA image. the script will keep saving it in the same folder with current time stamp as part of the file name ,
I ran the script thrice
7. once done SAVE THE .IMG FILES ON SAFE PLACE, CLOUD STORAGE, EMAIL, ETC , use xperifirm again to download the LATEST BUILD and FLASH it via FLASHTOOL as described ABOVE in the flashtool section.
8. once you are on OREO or Nougat, its time to UNLOCK your BOOTLOADER,
UNLOCKING BOOTLOADER SONY XPERIA (DRM KEYS) TA.IMG
PLEASE SEE THE COMPLETE @DHGE #GUIDE FOR XPERIA 2018 MODELS AT https://forum.xda-developers.com/showpost.php?p=70504721 / THANKS TO @DHGE
you may also consider viewing NOOB version for XZ by @nathan30 https://forum.xda-developers.com/xperia-xz/how-to/how-to-unlock-bl-kernel-twrp-root-t3541648
IN SHORT----
To be able to unlock your Xperia X, prepare it by following these steps:
Go into Settings > About phone and tap seven times on Build number to enable developer options.
From Settings, go into Developer options and enable OEM unlocking.
Warning: Device protection features will not work on this device while this setting is turned on.Please note! It will only be possible to unlock the boot loader for certain releases. You can check if it is possible to unlock the boot loader of your device in the service menu by following the steps below:
In your device, open the dialler and enter *#*#7378423#*#* to access the service menu.
Tap 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. Continue to http://developer.sonymobile.com/unlo...-verification/ , give your email ID and they will send you link asking you your device's IMEI Number. once you give that sony will email you YOUR BOOTUNLOCK KEYS within minutes. (keep them aside for now)
-using FlashTool "BLU" key you can unlock your bootloader
- your TA partitions / internal storage will be WIPED and device will rebooted.
Thanks alot sir!!
honestly im so excited to root thats why i never even bother to read carefully..
to make story short.. i manage to unblocked BT (w/o downgrading and backing up DRM keys) so lesson learned..
then tried flashing your ( image boot_su_34.2.A.2.47.IMG ) to have root and drmfix as well so everything is okay until i tried to play my favorite game MObile legends and try to use PS3 controller using six axis. ( this is the main reason why i unlook and root) but i failed. so i started thinking maybe i made it all wrong. so i tried to go back unroot and relock using videos and guides online and ending up with a dead xperia x ten i managed to solved it by relocking first and software repair via sony companion and every thing is okay except the camera..
---------- Post added at 12:16 PM ---------- Previous post was at 12:11 PM ----------
now i want MM and drm fix.. question is can i flash your ( image boot_su_34.2.A.2.47.IMG) on MM??
the reason i want MM is that i think its compatible with the game and for me to use ps3 controller
---------- Post added at 12:54 PM ---------- Previous post was at 12:16 PM ----------
or if not can you make a kernel for MM with DRM fix? please
sorry sir i have alot of questions i really wanted to fix my phone. so i will follow all the steps you said but upon installing flashtool and drivers i cant seem to find this (sony Xperia X motherboard drivers (sa0107) ) in the list. i dont want to skip this since i don want to encounter any problems again the way i did last time. Will it be okay to skip this?
jhendsantos said:
honestly im so excited to root thats why i never even bother to read carefully..
to make story short.. i manage to unblocked BT (w/o downgrading and backing up DRM keys) so lesson learned..
then tried flashing your ( image boot_su_34.2.A.2.47.IMG ) to have root and drmfix as well so everything is okay until i tried to play my favorite game MObile legends and try to use PS3 controller using six axis. ( this is the main reason why i unlook and root) but i failed. so i started thinking maybe i made it all wrong. so i tried to go back unroot and relock using videos and guides online and ending up with a dead xperia x ten i managed to solved it by relocking first and software repair via sony companion and every thing is okay except the camera..
---------- Post added at 12:16 PM ---------- Previous post was at 12:11 PM ----------
now i want MM and drm fix.. question is can i flash your ( image boot_su_34.2.A.2.47.IMG) on MM??
the reason i want MM is that i think its compatible with the game and for me to use ps3 controller
---------- Post added at 12:54 PM ---------- Previous post was at 12:16 PM ----------
or if not can you make a kernel for MM with DRM fix? please
Click to expand...
Click to collapse
Good day sir
since I proof read and fixed grammatical errors , your thank is void, plz thanks again
https://forum.xda-developers.com/showpost.php?p=72141176&postcount=7
...................................
Seems like you have a Full Plate of Experiences with your Xperia X
1. once unlocked, i highly recommend not to re lock the boot loader unless you are selling your device
2. If at any point xperia X is bricked, holding POWER+VOLUME UP key for
-----(a) five seconds will REBOOT the device after 1 JERK
------(b) Fifteen secons will JERK your device THRICE and on second jerk, YOU MUST remove your fingers from power+volumeUP keys and it will make your device SHUTDOWN so that you can reconnect it in FLASHMODE and do the magic again
3. I don't have knowledge about connecting PS3 to XPERIAS but SONY cannot release Android N without checking compatibility of already sold SP3.... so what i can suggest is to find approperiate app on playstore to connect with Ps3 and/or google more on this subject
4. keep your TA IMAGE INTACT / saved / email yourself / back it up on cloud for future use.
5. for you i have created SIMILAR KERNAL for android 6.01 BUILD 34.0.A.1.264 , having superSU
6. using flashtool perform CLEAN flash and send the kernel to your device.
7. I am giving you original STOCK KERNEL SIN file "original_stock_kernel_F5122_34.0.A.1.264.sin" if the modified kernel gives you bootloops OR you have bricked F5122 atleast you dont have to reflash everything. just flash the kernel in fastbootmode and you device will wakeup
https://mega.nz/#F!7UZBiYDI!t7ieYMwHUNsAC5T9iHpyQQ
jhendsantos said:
sorry sir i have alot of questions i really wanted to fix my phone. so i will follow all the steps you said but upon installing flashtool and drivers i cant seem to find this (sony Xperia X motherboard drivers (sa0107) ) in the list. i dont want to skip this since i don want to encounter any problems again the way i did last time. Will it be okay to skip this?
Click to expand...
Click to collapse
yes seems like all drivers are installed
kindly skip
YasuHamed said:
Good day sir
since I proof read and fixed grammatical errors , your thank is void, plz thanks again
https://forum.xda-developers.com/showpost.php?p=72141176&postcount=7
...................................
Seems like you have a Full Plate of Experiences with your Xperia X
1. once unlocked, i highly recommend not to re lock the boot loader unless you are selling your device
2. If at any point xperia X is bricked, holding POWER+VOLUME UP key for
-----(a) five seconds will REBOOT the device after 1 JERK
------(b) Fifteen secons will JERK your device THRICE and on second jerk, YOU MUST remove your fingers from power+volumeUP keys and it will make your device SHUTDOWN so that you can reconnect it in FLASHMODE and do the magic again
3. I don't have knowledge about connecting PS3 to XPERIAS but SONY cannot release Android N without checking compatibility of already sold SP3.... so what i can suggest is to find approperiate app on playstore to connect with Ps3 and/or google more on this subject
4. keep your TA IMAGE INTACT / saved / email yourself / back it up on cloud for future use.
5. for you i have created SIMILAR KERNAL for android 6.01 BUILD 34.0.A.1.264 , having superSU
6. using flashtool perform CLEAN flash and send the kernel to your device.
7. I am giving you original STOCK KERNEL SIN file "original_stock_kernel_F5122_34.0.A.1.264.sin" if the modified kernel gives you bootloops OR you have bricked F5122 atleast you dont have to reflash everything. just flash the kernel in fastbootmode and you device will wakeup
https://mega.nz/#F!7UZBiYDI!t7ieYMwHUNsAC5T9iHpyQQ
Click to expand...
Click to collapse
----
WOW!! many thanks sir!! will keep this kernel for sure!!
about TA IMAGE -- its DRM keys right i think i lost it already since i unlock BL w/o downgrading to MM and backing it up.:laugh:
----
i unlocked BL again via official way= camera works
flash twrp via minimal adb (to root and flash rom) first boot is as far as i remember it went well, tried to boot to twrp again and was prompted to install TWRP APPS (since i dont understand that) i install and reboot but this time my device wont boot it shows sony logo twice and then this warning : YOUR DEVICE IS CORRUPTED AND CANNOT BE TRUSTED. AND MAY NOT FUNCTION PROPERLY... PRESS POWER TO BOOT but upon pressing power device wont boot
--what seems to be the problem??
--tried to boot to twrp again and wipe dalvik/cache/ = same error
--tried to reflash recovery.img via minimal adb = same error
by the way im a MISS
jhendsantos said:
----
WOW!! many thanks sir!! will keep this kernel for sure!!
about TA IMAGE -- its DRM keys right i think i lost it already since i unlock BL w/o downgrading to MM and backing it up.:laugh:
----
i unlocked BL again via official way= camera works
flash twrp via minimal adb (to root and flash rom) first boot is as far as i remember it went well, tried to boot to twrp again and was prompted to install TWRP APPS (since i dont understand that) i install and reboot but this time my device wont boot it shows sony logo twice and then this warning : YOUR DEVICE IS CORRUPTED AND CANNOT BE TRUSTED. AND MAY NOT FUNCTION PROPERLY... PRESS POWER TO BOOT but upon pressing power device wont boot
--what seems to be the problem??
--tried to boot to twrp again and wipe dalvik/cache/ = same error
--tried to reflash recovery.img via minimal adb = same error
by the way im a MISS
Click to expand...
Click to collapse
1. you need recovery only when you want to flash superSU ,
2. since the kernel i have given in previous post and in the OT have SuperSU flashed, then you don''t need recovery.
please tell me when you flashed twrp,
1. why? for what purpose
2. did you flash the modified kernel also? (before flashing twrp)
3. if you did not flash modified kernel and have flashed twrp and via twrp you have flashed supersu... this means you put recovery on stock kernel and modified /SYSTEM
4. such action will always give you bootloops or "your device is corrupt... error" becuase DM VARITY is active in the stock kernel
simply flash the kernel i provided (having supersu) and wake you device up ROOTED.
YasuHamed said:
1. you need recovery only when you want to flash superSU ,
2. since the kernel i have given in previous post and in the OT have SuperSU flashed, then you don''t need recovery.
please tell me when you flashed twrp,
1. why? for what purpose
2. did you flash the modified kernel also? (before flashing twrp)
3. if you did not flash modified kernel and have flashed twrp and via twrp you have flashed supersu... this means you put recovery on stock kernel and modified /SYSTEM
4. such action will always give you bootloops or "your device is corrupt... error" becuase DM VARITY is active in the stock kernel
simply flash the kernel i provided (having supersu) and wake you device up ROOTED.
Click to expand...
Click to collapse
.
----
thanks sir problem solved i just flashed Poison v2.1 since twrp seems to be working.. tried my luck and its a success.
Im new user of Xperia X, can anyone please explain me what are drm keys for, and what will go wrong in case i dont back them up before rooting my device? Thank you in advance
sleeper994 said:
Im new user of Xperia X, can anyone please explain me what are drm keys for, and what will go wrong in case i dont back them up before rooting my device? Thank you in advance
Click to expand...
Click to collapse
DRM keys are unique to your device and stored on your TA partition. If you unlock your bootloader, they are wiped and they will not be restored if you relock. As a result, some camera functions will be impaired (e.g. photos taken in darkish conditions will be noisy) as well as X-reality (image enhancement). You can backup your own TA by making use of the dirty cow vulnerability in marshmallow. This allows you to restore your phone to its original state if you want to go back to stock. In addition you can use your TA to modify your kernel to make your unlocked phone think its drm keys are still intact.
Hi, Does it apply the F5121?
M1chiel said:
DRM keys are unique to your device and stored on your TA partition. If you unlock your bootloader, they are wiped and they will not be restored if you relock. As a result, some camera functions will be impaired (e.g. photos taken in darkish conditions will be noisy) as well as X-reality (image enhancement). You can backup your own TA by making use of the dirty cow vulnerability in marshmallow. This allows you to restore your phone to its original state if you want to go back to stock. In addition you can use your TA to modify your kernel to make your unlocked phone think its drm keys are still intact.
Click to expand...
Click to collapse
So, basically I can backup drm keys, root my phone, restore keys, and all functions would be stock-like while phone is still rooted?
Nope, restoring your TA will lock your bootloader and therefore unroot. But you can modify your kernel to make your phone think the DRM keys are still there. Check e.g. https://forum.xda-developers.com/crossdevice-dev/sony/poc-real-trim-instead-drm-fix-t3552893
Edit: It actually will not allow booting since the system or the boot partition were modified.
sangbb said:
Hi, Does it apply the F5121?
Click to expand...
Click to collapse
no it does not! send me your kernel.sin file
i will modify for you