Root Nougat 32.3.A.2.33 (E6833 E6853 E6883) 1APR2017 - Xperia Z5 Premium Android Development

UPDATE 01-APRIL2017
32.3.A.2.33 HAS BEEN RELEASED
ROOTED MODIFIED STOCK KERNELS CAN BE FOUND AT
https://forum.xda-developers.com/z5-premium/general/rooted-stock-modified-kernels-32-3-0-t3556874
IF YOU WANT TO ROOT YOUR NEWLY PURCHASED DEVICE PLEASE READ THE PROCESS BELOW THOROUGHLY
UPDATE 21-FEB2017
modified kernel added for 32.3.A.0.378 (E6853) (NOBA) ONLY
https://mega.nz/#F!3FYhTbSC!9MraM-zYNRNMPzmTkSSs9g
ref : https://forum.xda-developers.com/z5-premium/general/rooted-stock-modified-kernels-32-3-0-t3556874
---------------------------------------
UPDATE 16-FEB2017
REPOSITORY OF ROOTED KERNELS BY @tobias.WALDVOGL SCRIP https://mega.nz/#F!3FYhTbSC!9MraM-zYNRNMPzmTkSSs9g
----------
UPDATE 9FEB2017
32.3.A.0.376 IS OUT
ROOTKERNEL 5.20 BY @tobias.waldvogel SUPPORTS ALSO SUPERUSER https://superuser.phh.me/
-install superuser apk from playstore after flashing the zip file
-to give write permissions to system folder install busybox and via terminal type
Code:
su
mount -o rw,remount /system
-remove apps by system app remover
https://forum.xda-developers.com/showpost.php?p=70945409&postcount=21 / thanks @sceryavuz
UPDATE 31JAN2017
ROOTKERNEL for N is out / for unlocked boot loaders, extract kernel.sin to kernel.elf from 32.3.A.0.372.ftf and just repack it as boot.img and flash it.
https://forum.xda-developers.com/xp...oot-automatic-repack-stock-kernel-dm-t3301605
thank so sir @tobias.waldvogel
in order to make system directory WRITABLE, install busybox, and terminal,
type these lines and enter one by one in terminal
Code:
su
mount -o rw,remount /system
-----------
UPDATE 27JAN2017
UPDATED WORKAROUND FOR DRM FIX, AND SONY RIC OFF ( 32.3.A.0.372 )
https://forum.xda-developers.com/showpost.php?p=70595975&postcount=1702
WHERE SONY RIC SWITCH-OFF CHECK POSTED HERE (if you get system mount error while removing bloatware
https://forum.xda-developers.com/showpost.php?p=70677335&postcount=92
...
UPDATE 17JAN2017
VERSION 32.3.A.0.372 - android N is out!
preparation
place in sd card SR5 2.78 superSU .
there is NO KNOWN DIRECT METHOD TO MODIFY KERNEL of 32.3.A.0.372 (YET) so the work around is posted by
https://forum.xda-developers.com/showpost.php?p=70595975&postcount=1702 ( by @serajr )
extract kernel as elf (by flashtool) from ftf file of .372 and use the same root kernel to build your custom kernel and put inside the following zip file at
https://forum.xda-developers.com/attachment.php?attachmentid=4006777&d=1484669198
there is no known direct way to edit kernel (yet) so the there is work around
Flash nougat with flashtools ( I erased everything so back up your photos videos etc)
2.After initial boot complete startup wizard.
3. Put attached file into root of sdcard
4. using classic adb ~ boot into fastboot and type fastboot boot boot.img image that has TWRP ( of MM Kernel) I used the one from latest MM
5. Boot into TWRP
6. Flash Zip and you're in.
https://forum.xda-developers.com/attachment.php?attachmentid=4006777&d=1484669198
thanks to @serajr
i will keep you posted
-----------------
UPDATE 7-DEC-2016
VERSION 32.2.A.5.11 IS OUT
download kernel for E6833
https://drive.google.com/open?id=0BwsQ_NLVjA_QMXNvRFNhOU1fYkE
flash SR3-SuperSU-v2.78-SR3-20161103171345 via twrp
reboot into system
u have ROOTED z5p e6833
@KbaB.BroS
plz help for rest of the kernels
UPDATE 5-NOV-2016
- SuperSU SR2 2.78 (flashable zip) working PERFECTLY on 32.2.A.0.305 on Kernel by @KbaB.BroS
https://mega.nz/#F!7gRDBIJY!af8WZfXMno2Pm_OgEMSqNQ (IMG FILES)
just flash superSU over previous one via recovery!
--------------------------------------------------
UPDATE 11-10-2016
NEW UPDATE 6.01 - 32.2.A.0.305 - OCT2016 has been pushed
THANKS TO @KbaB.BroS for updating E6XXX (all varients , kernels)
https://mega.nz/#F!KwZhjLIK!uNbDzR6lCXMaaW7jKFS1WQ!6hZj1DyK (depository of kernels)
i have tested my device, did NOT BRICK.
twrp working
flashed RC1 supersu2.78 ZIP
ROOTED
_______________________________________________________________________
This post is inspired/ result of work by following respected users
@KbaB.BroS , @tobias.waldvogel @Shadowboy23 @Fragmentation
Similar post (guide)
http://forum.xda-developers.com/z5-...ck-root-xperia-z5-premium-sony-stock-t3335974
GLOBAL thanks to following respected members for their valuable work
@Androxyde — Flashtool
@IgorEisberg — XperiFirm (integrated into Flashtool)
@Dees_Troy et al. — TWRP
@Chainfire — SuperSU
@zxz0O0 — iovyroot
MY VERSION ~ (HOW I DID IT)​focusing on z5p (all variants) however the process is same for Z5 variants and z3+ / Z3 / Z3 compact and all variants too​
SUMMARY
1. downgrading your 5.1.1
2. rooting
3. extracting DRM KEYS (ORIGINAL)
4. unlocking bootloader
5. FLASHING STOCK MODIFIED kernel (having recovery installed)
6. going in to recovery and flashing superSU.​
Before you begin must do/have following
Download SU and put it in your SD CARD - CLICK HERE
TAKE FULL BACKUP, CONTACTS, GALLERY, VIDEOS, EVERYTHING. Keep usb debugging ON ( I used Titanium backup )
Driver installed (sony pc companion will do that) ( http://support.sonymobile.com/global-en/tools/xperia-companion/ )
Install FlashTOOL ( http://www.flashtool.net/downloads_windows.php ). and after installing flashtool, install
motherboard drivers (of your device) C:\Flashtool\drivers
NOW, goto http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ , select your device xperia z5 premium from dropdown list and follow the instructions
To be able to unlock your Xperia Z5 Premium Dual, 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/unlockbootloader/email-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)
NOW IF YOU ARE RUNNING Z5P ON LATEST FIRMWARE "32.2.A.0.253" AND "DONOT WANT TO RESTORE YOUR DRM KEYS" --- SKIP TO NO.5
4. --DOWNGRADING XPERIA Z5 TO LOLLIPOP 5.1.1 - IN ORDER TO RESTORE DRM KEYS
a. run FLASHTOOL, and click XPERIFIRM BUTTON, it will launch XPERIFIRM, select your device (eg. xperia z5p "satsuki" , E6833) here you will see CDA 1299-7506 build number "32.0.A.6.115 R2B". this is the base version of z5p at which your device left sony Factory (LP kernel)
b. download this version (1.9gb)
c. now FLASH (downgrade) your z5p with .115 using FLASHTOOL. tutorial can be found here ( http://forum.xda-developers.com/xperia-z/general/tutorial-how-to-flash-stock-roms-t2240614 )
d . restart device, gothru the setup, enable wifi etc, download KINGROOT and root your android 5.x.x ( OR YOU CAN USE IVORYROOT ) ~ AS SOME MEMBERS SAY KINGROOT STORES DEVICE DETAILS ON THEIR CHINESE SERVER etc )
f. you are ready now to extract your DRM-KEYS / TA BACKUPS (FIDO KEYS) . use this simple TOOL given with tutorial at https://github.com/DevShaft/Backup-TA/releases // it will save your keys from ROOTED z5p , (allow root access to this application on your mobile screen)
g. WHY HAVING TA BACKUPS ? frankly I if you don't restore it, keeping your one time SONY given unique valuable keys of your device and having backup for future is logical.
unlocking bootloader.
- make sure the device is fully charged, (atleast 80%)
- IF your device has Android LP(5.x.x) / or MM (6.x.x) and you want to make TA backups, then GOBACK to point NO.4
- IF your device has Android LP(5.x.x) / or MM (6.x.x) and not interested in taking TA BACKUPS then proceed to
NO.5
Click to expand...
Click to collapse
5. while device is switch-off, click "BLU" button on FLASHTOOL, follow the instructions. when FLASHTOOL ASK KEY, paste the KEY sent to you by SONY ( read NO.3 ). the device will be unlocked and should boot. the first boot will take a while and everything will be wiped from your z5p (TA partitions, DRM KEYS, USER APPS, USER DATA.
if your device is already running on android 6.01 (32.2.A.0.253) then skip to NO.7.
Click to expand...
Click to collapse
6. again using xperifirm in FLASHTOOL download 32.2.A.0.253 for your Device and by using FLASHTOOL, Flash your Z5P. the TUTORIAL of flashing any xperia phone can be found HERE
7. @KbaB.BroS has build repository of modified STOCK KERNAL for z5p (all variants) running on .253 at HERE. download the .img file and FLASH your KERNEL it via flashtool.
while your device is charged and switch off after UNLOCKING BOOT LOADER (having .253 buildnumber)
click the THUNDER icon on flashtool
select FASTBOOT MODE
click "select kernal to flash"
connect device by toggling volume up/down keys as per instructions by FLASHTOOL.
FlashTool then, will ask .img file location. point it to the .img file. and your kernel will be flashed in 1 second
BOOT your device, on SONY LOGO press volume up, the led will turn AMBER, and you will TWRP recovery.
select install from zip, and flash the SUPERUSER .zip which you placed in your SD CARD in the VERY BEGINNING.
REBOOT YOUR DEVICE.
CONGRATULATIONS on ROOTED z5p ​
WHAT TO DO if your device is NOT z5p ?
using FLASHTOOL you can create your OWN modified kernel by
Downloading your device' latest build by SONY using XPERIFIRM (some 2.x GB of ftf file) , once done ..
EXTRACT the TFT file using 7zip
in flashtool click TOOLS>> SIN EDITOR >> in the extracted data, find kernel.sin and dump it as kernel.elf
DOWNLOAD TOOL "rootkernel_v5.0_rc4_Windows_Linux" mention at http://forum.xda-developers.com/xperia-z5/development/root-automatic-repack-stock-kernel-dm-t3301605, extract it,
Place the KERNEL.ELF file in this folder and open command prompt in that folder (right click menu while pressing shift key
type "roodkernel kernel.elf boot.img " it will ask four important questions, disabling dm-varity (yes), disabling sonyRIC (yes), installing busybox (no), installing recovery (YES) and later it will creat boot.img file of your device's variant.
FLASH YOUR CREATED .img file as explain in point no.7

Big Thanks to you bro
Working Perfect on E6833

kofta2020 said:
Big Thanks to you bro
Working Perfect on E6833
Click to expand...
Click to collapse
you are welcome,

yasuhamed said:
this post is inspired/ result of work by following respected users
@kbab.bros , @tobias.waldvogel @shadowboy23 @fragmentation
similar post (guide)
http://forum.xda-developers.com/z5-...ck-root-xperia-z5-premium-sony-stock-t3335974
global thanks to following respected members for their valuable work
@androxyde — flashtool
 @igoreisberg — xperifirm (integrated into flashtool)
@dees_troy et al. — twrp
@chainfire — supersu
 @zxz0o0 — iovyroot
my version ~ (how i did it)​focusing on z5p (all variants) however the process is same for z5 variants and z3+ / z3 / z3 compact and all variants too​
summary
1. Downgrading your 5.1.1
2. Rooting
3. Extracting drm keys (original)
4. Unlocking bootloader
5. Flashing stock modified kernel (having recovery installed)
6. Going in to recovery and flashing supersu.​
before you begin must do/have following
download su and put it in your sd card - click here
take full backup, contacts, gallery, videos, everything. Keep usb debugging on ( i used titanium backup )
driver installed (sony pc companion will do that) ( http://support.sonymobile.com/global-en/tools/xperia-companion/ )
install flashtool ( http://www.flashtool.net/downloads_windows.php ). And after installing flashtool, install
motherboard drivers (of your device) c:\flashtool\drivers
now, goto http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ , select your device xperia z5 premium from dropdown list and follow the instructions
to be able to unlock your xperia z5 premium dual, 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/unlockbootloader/email-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)
now if you are running z5p on latest firmware "32.2.a.0.253" and "donot want to restore your drm keys" --- skip to no.5
4. --downgrading xperia z5 to lollipop 5.1.1 - in order to restore drm keys
a. Run flashtool, and click xperifirm button, it will launch xperifirm, select your device (eg. Xperia z5p "satsuki" , e6833) here you will see cda 1299-7506 build number "32.0.a.6.115 r2b". This is the base version of z5p at which your device left sony factory (lp kernel)
b. Download this version (1.9gb)
c. Now flash (downgrade) your z5p with .115 using flashtool. Tutorial can be found here ( http://forum.xda-developers.com/xperia-z/general/tutorial-how-to-flash-stock-roms-t2240614 )
d . Restart device, gothru the setup, enable wifi etc, download kingroot and root your android 5.x.x ( or you can use ivoryroot ) ~ as some members say kingroot stores device details on their chinese server etc )
f. You are ready now to extract your drm-keys / ta backups (fido keys) . Use this simple tool given with tutorial at https://github.com/devshaft/backup-ta/releases // it will save your keys from rooted z5p , (allow root access to this application on your mobile screen)
g. Why having ta backups ? Frankly i if you don't restore it, keeping your one time sony given unique valuable keys of your device and having backup for future is logical.
unlocking bootloader.
5. while device is switch-off, click "blu" button on flashtool, follow the instructions. When flashtool ask key, paste the key sent to you by sony ( read no.3 ). The device will be unlocked and should boot. The first boot will take a while and everything will be wiped from your z5p (ta partitions, drm keys, user apps, user data.
6. again using xperifirm in flashtool download 32.2.a.0.253 for your device and by using flashtool, flash your z5p. The tutorial of flashing any xperia phone can be found here
7. @kbab.bros has build repository of modified stock kernal for z5p (all variants) running on .253 at here. Download the .img file and flash your kernel it via flashtool.
while your device is charged and switch off after unlocking boot loader (having .253 buildnumber)
click the thunder icon on flashtool
select fastboot mode
click "select kernal to flash"
connect device by toggling volume up/down keys as per instructions by flashtool.
flashtool then, will ask .img file location. Point it to the .img file. And your kernel will be flashed in 1 second
boot your device, on sony logo press volume up, the led will turn amber, and you will twrp recovery.
select install from zip, and flash the superuser .zip which you placed in your sd card in the very beginning.
reboot your device.
congratulations on rooted z5p ​
what to do if your device is not z5p ?
using flashtool you can create your own modified kernel by
downloading your device' latest build by sony using xperifirm (some 2.x gb of ftf file) , once done ..
extract the tft file using 7zip
in flashtool click tools>> sin editor >> in the extracted data, find kernel.sin and dump it as kernel.elf
download tool "rootkernel_v5.0_rc4_windows_linux" mention at http://forum.xda-developers.com/xperia-z5/development/root-automatic-repack-stock-kernel-dm-t3301605, extract it,
place the kernel.elf file in this folder and open command prompt in that folder (right click menu while pressing shift key
type "roodkernel kernel.elf boot.img " it will ask four important questions, disabling dm-varity (yes), disabling sonyric (yes), installing busybox (no), installing recovery (yes) and later it will creat boot.img file of your device's variant.
flash your created .img file as explain in point no.7
Click to expand...
Click to collapse
thank you very much working on d6853 no issues so far

Is there any modified STOCK KERNAL for Z5 (dual)? or anything similar which contains TWRP recovery? I've been searching a lot of threads but I can't seem to find any. Thanks for the reply.

In which step are the DRM keys recovered/restored?

konstantinos3 said:
In which step are the DRM keys recovered/restored?
Click to expand...
Click to collapse
at the end you can restor DRM KEYS using same tool
https://github.com/DevShaft/Backup-TA/releases
however the Kernels by @KbaB.BroS already have DRM Stimulation so as of now even if you don't restore keys, it will be just fine. however keeping them SAFE for any future situation would be RECOMENDED

adize said:
Is there any modified STOCK KERNAL for Z5 (dual)? or anything similar which contains TWRP recovery? I've been searching a lot of threads but I can't seem to find any. Thanks for the reply.
Click to expand...
Click to collapse
you will find z5p (dual (e6833/53/83) ) modified stock kernels at
https://mega.nz/#f!kwzhjlik!unbdzr6lcxmaaw7jkfs1wq!uljjkdbj
thanks to @kbaB.bro

adize said:
Is there any modified STOCK KERNAL for Z5 (dual)? or anything similar which contains TWRP recovery? I've been searching a lot of threads but I can't seem to find any. Thanks for the reply.
Click to expand...
Click to collapse
you will find z5p (dual (e6833/53/83) ) modified stock kernels at
https://mega.nz/#f!kwzhjlik!unbdzr6lcxmaaw7jkfs1wq!uljjkdbj
thanks to @KbaB.BroS

Knows someone who can I Root mijn Sony Xperia Z5 premium dual sim? Please help!
Sent from my E6833 using XDA Free mobile app

YasuHamed said:
at the end you can restor DRM KEYS using same tool
https://github.com/DevShaft/Backup-TA/releases
however the Kernels by @KbaB.BroS already have DRM Stimulation so as of now even if you don't restore keys, it will be just fine. however keeping them SAFE for any future situation would be RECOMENDED
Click to expand...
Click to collapse
In case I don't want simulation, will the keys be restored normally onto these Kernels?

konstantinos3 said:
In case I don't want simulation, will the keys be restored normally onto these Kernels?
Click to expand...
Click to collapse
Use iovyroot, that other backup TA is a bit old last update was 2014...
When you backup with iovyroot using tabackup.bat you'll have TA-(numbers).img file (keep it safe somewhere as this is your unique and personnel backup)
To fully restore your keys on an unlocked bootloader, copy your TA partition backup to the rootkernel folder...command prompt to the rootkernel folder and type:
flash_dk TA-(numbers).img restore-drm-keys.ftf
You'll get a file called restore-drm-keys.ftf
Now use flashtool to flash it and all your keys will be restored (including fido)

-DM- said:
Use iovyroot, that other backup TA is a bit old last update was 2014...
When you backup with iovyroot using tabackup.bat you'll have TA-(numbers).img file (keep it safe somewhere as this is your unique and personnel backup)
To fully restore your keys on an unlocked bootloader, copy your TA partition backup to the rootkernel folder...command prompt to the rootkernel folder and type:
flash_dk TA-(numbers).img restore-drm-keys.ftf
You'll get a file called restore-drm-keys.ftf
Now use flashtool to flash it and all your keys will be restored (including fido)
Click to expand...
Click to collapse
"rootkernel folder" is where i have saved the kernel on my pc?
Thanx a lot for the instructions and excuse me if i make "silly" questions :angel::angel::angel:

konstantinos3 said:
"rootkernel folder" is where i have saved the kernel on my pc?
Thanx a lot for the instructions and excuse me if i make "silly" questions :angel::angel::angel:
Click to expand...
Click to collapse
The rootkernel folder from tobias tool, right click in that folder to open a command prompt...
Edit: if you go to the iovyroot thread, read the the 1st and 2nd post to understand what you're doing... In the 2nd post there is a link that will explain in details the all process, just adapt it to your own device...
To find out if your keys are re-enabled after you flashed them go to the services menu and under test/security you should see the 3 keys on top "active" and the fido key "provisioned"...that means that all your keys are back, if the fido key is not provisioned then your keys are only emulated...hope that it's a bit more clear now

konstantinos3 said:
In case I don't want simulation, will the keys be restored normally onto these Kernels?
Click to expand...
Click to collapse
the kernal made by @KbaB.BroS has DRM Stimulation enabled,
if you are making your own modified stock kernel then don't enable DRM Stimulation.
however modifying kernel is risky. be extra careful!

Mr @YasuHamed after 2 days rooting ,,, my google play store disconnected from the internet why ? how can i solve this problem i can't connect to the play store and everytime Check Connection

kofta2020 said:
Mr @YasuHamed after 2 days rooting ,,, my google play store disconnected from the internet why ? how can i solve this problem i can't connect to the play store and everytime Check Connection
Click to expand...
Click to collapse
is this problem
1. with play store only ?
2. how about rest of the apps? (chrome / viper / whatsAPP)
3. or are u facing connectivity issue globally?
you mentioned first two days after rooting this means initially it was working just fine... what apps you installed and allowed root access via superSU ?
please specify....
my WILD guess is that you might be having DNS issues (but that was OLD time issue in Cynogenmod (build in Gingerbread) that you have to specify DNS in settings globally....

YasuHamed said:
is this problem
1. with play store only ?
2. how about rest of the apps? (chrome / viper / whatsAPP)
3. or are u facing connectivity issue globally?
you mentioned first two days after rooting this means initially it was working just fine... what apps you installed and allowed root access via superSU ?
please specify....
my WILD guess is that you might be having DNS issues (but that was OLD time issue in Cynogenmod (build in Gingerbread) that you have to specify DNS in settings globally....
Click to expand...
Click to collapse
Yes with google play store only and the other apps working normally ... Iam using only xmod with root permision .. I dont know why play store only disconnected from the internet how can i solve it

kofta2020 said:
Yes with google play store only and the other apps working normally ... Iam using only xmod with root permision .. I dont know why play store only disconnected from the internet how can i solve it
Click to expand...
Click to collapse
check if
1. google play services in the apps is running or not.
2. select playstore from apps and clear the data and restore factory version. restart device and try.

YasuHamed said:
check if
1. google play services in the apps is running or not.
2. select playstore from apps and clear the data and restore factory version. restart device and try.
Click to expand...
Click to collapse
1- how can i check if play services running or not ?
2- Cleared data and cache and nothing happen same problem
i have another question . i backedup DRM Keys is that one DRM Keys or Change every time and must backup again ?
sorry for my english

Related

[STOCK] [MM] Root Xperia Z5 Premium Sony Stock Marshmallow (Android 6.0) Guide

The updated cross-device Sony thread tested with Nougat is here.
Guide updated on 21 October 2016.
PREFACE
First of all, this guide will probably work for all recent Sony phones.
This guide is based on a work of number of people. The information how to get this goal achieved is very sparse and it is scattered across the Internet. There are lot of guides, but typically they require a strong familiarity with many things, so inexperienced users may became confused. I decided to assemble a detailed newbie-friendly guide myself. So here it is.
Get rooted stock Sony firmware is not a straightforward and easy task, but if all steps covered in this guide are performed well, the goal will be achieved. Since the creation of this guide, stock firmware versions got bumped multiple times, but nothing has changed fundamentally in terms of rooting.
In this guide I (and you) will use the stuff from these notable people:
@Androxyde — Flashtool
@IgorEisberg — XperiFirm (integrated into Flashtool)
@Dees_Troy et al. — TWRP
@Chainfire — SuperSU
@tobias.waldvogel — Kernel repack script and DRM fix
@zxz0O0 — iovyroot
The whole process divided into the following steps:
Getting your phone recognized by your computer (driver installation).
Backup your DRM keys.
Unlocking a bootloader.
Flashing stock firmware with Flashtool.
Repacking and flashing a kernel.
Rooting with SuperSU.
Restore your DRM keys.
Optional tasks.
The one thing to consider before the flashing of your Xperia phone is the unlocking of the bootloader. There is the official way of doing this provided by Sony. It's easy and straightforward. Check step #3 below.
Before unlocking, one should know the main caveat: once you have unlocked your phone, you have lost your DRM keys. These keys are used to make certain proprietary Sony functions to work, such as X-Reality for Mobile, camera noise suppression and some others. It is possible to backup your keys in beforehand and restore them once the phone is rooted. This will be covered in this guide.
The repack script mentioned before, incorporates a so called DRM fix which effectively emulates lost DRM keys and most of proprietary functions remain in a working state. This fix will suffice for most users, so you probably may want to root your phone straight away, nevermind the keys. I hadn't myself extracted and restored DRM keys ever, since DRM fix works perfectly for me, so you may want to forget about these keys too. Some users are not ready to just erase them, however. The choice is up to you, but if the camera performance is your sole concern, I can confirm that with DRM fix it works perfectly.
After the completion of this guide, your phone contents will be completely erased, so you may want to backup all what is important to you to some external locations. External microSD card will not be erased, so you may copy your stuff to it. If you are on a rooted Lollipop or older Android, you may want to use some specialized tools like Titanium Backup or like. TWRP also have a nice backup features, if you have one already installed.
The guide was tested on Windows 10 Pro 64-bit and Sony Xperia Z5 Premium Dual-SIM E6883 official model for the Russian market. During the course of this guide you will get a specific firmware for your particular market so don't worry, this guide is market-agnostic. It is even model-agnostic. I believe this guide works for most Xperia phones on the market, but I personally tested it just with my Z5 Premium.
Let's go.
1. GETTING YOUR PHONE RECOGNIZED BY YOUR COMPUTER (DRIVER INSTALLATION)
During the course of this guide, your phone will comminicate with your computer in Fastboot and Flashmode connection modes. When connected in these modes, for the phone to be properly recognized by a computer, you have to provide special drivers. Thanks to Flashtool creators, it comes bundled with generic drivers compatible with all recent Windows operating systems, so at first you should install Flashtool. You can get installer from the official website.
Next, you should install Fastboot and Flashmode drivers for your phone.
One caveat here however, these drivers are not from a "recognized Windows developer", that is they are not Windows-certified, so to get them installed on Windows 8/10, you should reboot with the disabled driver signature enforcement. Use Google to know how to perform this.
Once booted in the aforementioned mode (or in a regular mode if you are still on Windows 7), proceed to the actual driver installation. The drivers are packed into the Flashtool\drivers\Flashtool-drivers.exe executable, but it didn't work on my system, perhaps because it is 64-bit (but feel free to try it yourself), so I simply unarchived it with 7-Zip (right-clicked it and chose 7-Zip > Extract to "Flashtool-drivers"). I got a Flashtool-drivers folder, which contained all the drivers from the executable.
Once drivers are unpacked, connect your phone in a Fastboot mode. Recent Sony devices can boot in Fastboot just like this: shutdown the phone, press and hold Volume Up rocker button and connect USB cable to the phone while the other end is connected to a running PC. The phone's LED will turn blue shortly. That's it, you are in a Fastboot mode. Open Device Manager (Win + X, Device Manager) and check if there is some unknown device (with the name S1Fastboot or something like this).
Double-click this unknown device in the Device Manager, click Update Driver..., then Browse my computer for driver software, and choose the Flashtool-drivers folder created earlier with 7-Zip (leave Include subfolders checked). Shortly you will get a red warning dialog window, which inform you that this driver doesn't have a proper signature:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Very scary. Just proceed with the install despite all the red flags, it's safe.
Once Fastboot driver is installed, plug out the USB cable off the phone and connect it in a FlashMode mode. This is done just like for Fastboot, but in this case you should press and hold Volume Down rocker button during the cable plugging in. The LED in this case will be green and not blue. The procedure to install the driver is exactly the same.
After the successful installation, try to reconnect the phone in these modes again couple more times to make sure all devices get properly recognized by Windows. If all seems good, proceed to the next step.
2. BACKUP YOUR DRM KEYS
There is a tool called iovyroot, with which you can backup your DRM keys from an unrooted phone, but at the time of the writing it doesn't support latest firmwares. It does support a lot of older firmwares so it may be useful to not upgrade your phone before checking up this tool.
If you're into this backup DRM thing, go to the original thread, download the latest version and check if it is working for you. For now I just skip this step. Basically, you want to download the zip, connect your phone in USB Debugging mode, run the tabackup.bat script and see the output.
I will not cover DRM keys extraction/restore in details, since I never did it, so I don't want to write about something I haven't myself performed. Please check corresponding threads.
Note that most proprietary Sony features will work even without DRM keys, such as X-Reality for Mobile, camera denoise filter and some others. DRM fix will be covered later in this guide. Some features will not work with DRM fix, Widevine for example. Most users will not even notice these.
3. UNLOCKING A BOOTLOADER
Sony does provide its own guide. It is a plain and simple and — good news! — if you have followed the previous steps, you just got all the prerequisites covered!
4. FLASHING STOCK FIRMWARE WITH FLASHTOOL
The Flashtool was installed on the completion of the first step, so let's start it. If you are on 64-bit Windows, start Flashtool64 (there is a shortcut in the Start menu). It does require administrator privileges.
Once you are in Flashtool, at first you need to obtain the most recent official stock firmware from Sony. Press the "XF" icon (the right-most one in the toolbar) to start XperiFirm. The window will open, choose the phone from the left part of the window (Xperia Z5 Premium (Satsuki)), then choose your particular model (I chose E6883 Dual) and after that choose your market and operator from the right part of the window. I chose 1299-4828 Russia Customized RU. Of course, you don't have to choose exactly this, click on the entries of your own choice. The entry will become highlighted and shortly there will be some info in the last column (Latest Firmware). This definition will be also in the right-most part of the window just under the phone thumbnail, click on it. Not a brilliant design decision, but that's it. Here is a screenshot for your reference:
The new window will pop up, press Download. The stock firmware will be downloaded to your computer and unpacked. Once the download is completed, close all XperiFirm windows to return to the main Flashtool window. Flashtool will begin creation of the .ftf file from the downloaded files which will be used for a (subsequent) flashing. FTF-files are similar to ZIP-files, and may be opened with 7-Zip. I've got E6883_32.2.A.0.305_1299-4828_R4C.ftf after the completion of this procedure. Flashtool places firmwares in the C:\Users\<Your Windows Username>\.flashTool\firmwares.
Now, once the stock firmware is downloaded, packed into .ftf and ready to be installed, let's do this. Disconnect the phone for now, physically extract microSD card (if any) and press the left-most button on the Flashtool's toolbar (the "Lightning" one) and choose Flashmode. The Firmware Selector window will appear with a selected default folder and list of all firmware available for a flashing. I've got a single entry, the firmware I just downloaded. Before actual flashing, you can check some checkboxes from the Wipe section, I usually check all to start clean (all the data on the phone is erased). Once again, just to be safe, extract the microSD card from the phone at this moment. It is not needed for a flashing anyway. Here is how the window looked to me:
After all is set up, press Flash. The flashing process will begin. At first Flashtool will prepare files for a flashing. After a while, window will appear which will ask you to connect the phone in the Flashmode mode. Shutdown the phone, hold the Volume Down button, connect the USB cable. Once Flashtool detects the phone in the Flashmode mode, it will start the actual flashing automatically.
After the completion of the flashing procedure after some minutes, you'll get a stock Sony firmware installed, and now it is perfect time to proceed to the next step. You may leave your phone off at this moment, but if you are curious, start it up and check if the new Android is actually there. Note however that first start after the firmware installation takes a long time.
5. REPACKING AND FLASHING A KERNEL
To get the stock firmware rooted, you need a way to install SuperSU. SuperSU is some tool which enables root access to the Android system. To install SuperSU, you need TWRP. To run TWRP, you need a kernel, which supports both TWRP and your Android version.
You can extract the kernel from .ftf file, prepared by Flashtool earlier, repack it and integrate TWRP (and DRM fix) into it, and finally flash it to your phone back modified. Sound like a complex task but it's definitely achievable.
At first you should extract the actual kernel from the .ftf file. Reminder: it's in the C:\Users\<Your Windows Username>\.flashTool\firmwares folder and may be titled E6883_32.2.A.0.305_1299-4828_R4C.ftf or something like this. Open it as an archive (right-click on a file, 7-Zip > Open archive) and extract kernel.sin. It's your phone's packed kernel.
If it is packed, obviously you need to unpack it. Thankfully the almighty Flashtool can do this. Open Flashtool, navigate to the Tools > Sin Editor, select a kernel.sin you've just extracted and press Extract data. As a result, you'll get a kernel.elf file in the directory where your packed kernel was. As you may have guessed, kernel.elf is an unpacked kernel. It can be modified, repacked and flashed back to the phone. Let's do this.
You will need a Stock kernel repack script from @tobias.waldvogel. Here is the original thread. Grab the script there. I used v5.0 and it worked perfectly for .253 and older.
Once the contents of the zip-file are extracted to some directory, copy the kernel.elf there and summon command prompt in this directory (right-click in the empty space of this folder in File Explorer with the Shift button pressed and choose Open command windows here).
In the command line type the following:
Code:
rootkernel.cmd kernel.elf boot.img
You'll get some questions about adding some features/tools to your kernel, feel free to answer "Yes" (type Y) to all of them. Screenshot for your reference:
If all went smoothly, you'll get a repacked kernel, boot.img in the script folder, supercharged with TWRP and DRM fix, and most importantly, which also supports rooting. Now it is time to flash it to your phone.
Turn off your phone and connect it in a Fastboot mode: hold the Volume Up rocker button and connect USB cable. The LED on the phone will turn blue.
Flashing images in this mode is typically done with a fastboot.exe from the Android SDK. Android SDK weighs many gigabytes but thankfully you don't need to download it. Fortunately Flashtool contains fastboot.exe from the SDK. It's in the Flashtool\x10flasher_lib folder. For the brevity of the following steps, copy the newly generated boot.img to this folder. Shift-right-click in the empty space of this folder window and choose Open command window here entry from the context menu. Windows console will appear.
At first try this command:
Code:
fastboot.exe devices
If all is good, there will be one device in the output of this command, just like this:
If not, perhaps there is some driver issue, so head back to the step #1 and make sure the drivers are installed correctly.
If your device is shown correctly, let's flash some files to the phone. Execute the following command to flash the modified kernel:
Code:
fastboot.exe flash boot boot.img
The proper output of this command will be like this:
If you get any errors, the first and more likely reason is that you still have a locked bootloader. Head to the step #3 to verify its state and unlock it if necessary.
If there were no errors, you now just flashed a custom kernel with TWRP recovery and DRM fix. You're almost done! You may plug out the cable from your phone. If you are attentive to the details, you'll notice that now, once your phone is started, its LED turns amber for 2-3 seconds. This is a special signal for those looking to boot into a recovery (TWRP).
Although @tobias.waldvogel claims his script is able to also integrate SuperSU during the kernel repacking, I didn't managed to get this working, so the SuperSU installation is a separate step in my guide. The next step.
6. ROOTING WITH SUPERSU
Now when you have TWRP in place and Marshmallow installed, let's root it. SuperSU distributed in a TWRP-friendly .zip archives, so you should copy one to your microSD card. I used beta version 2.78 SR1 from here. At the time of your reading, there probably will be some newer versions available, try them instead.
Once SuperSU zip-file is copied to your microSD card, reboot to recovery (TWRP). To do this restart or power up your phone and look at the LED. Once it lights amber, press Volume Up rocker button and you'll get into recovery — TWRP 3.0.
To install SuperSU, press Install, go to the /external_sd and select the .zip (in my case SR1-SuperSU-v2.78-SR1-20160915123031.zip). Swipe right to confirm installation. Once it is installed, press Reboot System button. Phone will reboot twice. Do not interfere with the phone during these multiple reboots, the things are getting done right, so just wait once Android is started. Once it's started, the phone is rooted and functional!
7. RESTORE YOUR DRM KEYS
If you had successfully backed up your DRM keys in step #2, it is now time to restore it back to the device. There is a flash_dk.cmd script shipped with the Root kernel repack script you used in the previous step. flash_dk.cmd can be used to flash the DRM partition back to your phone.
At first prepare the flashable .ftf:
Code:
flash_dk.cmd <ta backup image> dk.ftf
And then flash dk.ftf via Flashtool, just like you flashed the whole firmware in the step #4, but don't wipe anything this time.
8. OPTIONAL STEPS
8.1. Xposed installation
Since Z5P uses Lollipop and later, you should install Xposed APK from here. At the time of writing there is XposedInstaller_3.0_alpha4.apk installer there.
Once APK is installed, grab the latest .zip from the repository, I've got xposed-v86-sdk23-arm64.zip. Install it in a regular TWRP way covered in step #6.
Once all these steps are done, you should have Xposed Installer app in your phone, and if you open it and check Framework section, if everything is alright, there will be text in green, something like "Xposed framework version 86 is active".
Installation of actual Xposed modules can be performed in different ways. For example you may install HideSimIcons module from @tobias.waldvogel if you've got dual-SIM Z5P and you're mad at SIM-card icons in the system tray. Get the APK from the original thread and install it just like you install regular APKs.
8.2. Resolving Voice Search and random volume up/down issues while using regular headphones
See this thread.
8.3. Disable startup notification if there is a newer firmware available
Some people get annoyed by a persistent notification, which is displayed once the new firmware become available (new Android version from Sony). Rooted users cannot just tap it and update over-the-air, because they need to perform a complex rooting procedure in beforehand (covered in this guide). It is possible to disable this notification. You may get these notifications by email anyway.
The easiest and safest way is to use some autorun manager. I used Autorun Manager Pro and disabled all receivers of system apps com.sonymobile.fota.service, fota update service and Software update. Notification vanished after a restart.
You may even freeze or remove these apps via some app manager like Titanium Backup Pro.
THAT'S IT
At this point you have a stock Sony Android enhanced with root privileges. SuperSU app is also installed, so you are ready to use root right away. SuperSU now can be updated in a regular way via Play Store.
P.S. WHEN NEW FIRMWARE IS AVAILABLE
Once the new firmware is released, you may perform the same procedure for it beginning from the step #4, but if it is a minor upgrade, you may want not to wipe anything during Flashtool flashing this time. If it is a major upgrade, e.g. Marshmallow > Nougat, you probably may want to start with a clean system and wipe all.
Hello
THX for this guide
ihave this problem
C:\Android\sdk\platform-tools>fastboot.exe flash boot E6883_MM_ROOTABLE_PERMISSIVE_boot.img
target reported max download size of 536870912 bytes
sending 'boot' (15548 KB)...
OKAY [ 0.353s]
writing 'boot'...
FAILED (remote: Command not allowed)
finished. total time: 0.384s
---------- Post added at 12:01 PM ---------- Previous post was at 11:59 AM ----------
I dont have this folder with"Flashtool\x10flasher_lib f"
get2easy said:
Hello
THX for this guide
ihave this problem
C:\Android\sdk\platform-tools>fastboot.exe flash boot E6883_MM_ROOTABLE_PERMISSIVE_boot.img
target reported max download size of 536870912 bytes
sending 'boot' (15548 KB)...
OKAY [ 0.353s]
writing 'boot'...
FAILED (remote: Command not allowed)
finished. total time: 0.384s
---------- Post added at 12:01 PM ---------- Previous post was at 11:59 AM ----------
I dont have this folder with"Flashtool\x10flasher_lib f"
Click to expand...
Click to collapse
Hello. This seem like a driver problem to me. Or maybe bootloader is locked. Was fastboot driver installed from the Flashtool package? Do you have your bootloader unlocked?
Hy THX for ure answer.
Drivers are installed, but myBL is LOCKED!! Must i have UL BL??
get2easy said:
Hy THX for ure answer.
Drivers are installed, but myBL is LOCKED!! Must i have UL BL??
Click to expand...
Click to collapse
Sure, I've explicitly stated in the preface section of this guide, that you need to unlock your bootloader to get things done.
OK THX. I dont will loose my performance and the quality from the cam. I wait when is available from the Locked BL.
Hey thank you for posting this it helped a lot! But I don't really know what happened after I flashed the custom kernel and TWRP my phone won't recognize the microSD, not even when booting at recovery. Help.
renezada88 said:
Hey thank you for posting this it helped a lot! But I don't really know what happened after I flashed the custom kernel and TWRP my phone won't recognize the microSD, not even when booting at recovery. Help.
Click to expand...
Click to collapse
I heard about this issue with some large microSD cards of sizes >=128 GB. What is your card?
128gb indeed
renezada88 said:
128gb indeed
Click to expand...
Click to collapse
That's probably a kernel issue. You can try to ask support from its creators, but don't expect anything, because this all is a volunteer work.
get2easy said:
OK THX. I dont will loose my performance and the quality from the cam. I wait when is available from the Locked BL.
Click to expand...
Click to collapse
Just updated the guide, adding the last section (P.S.). Check it out, you may be interested.
Fragmentation said:
That's probably a kernel issue. You can try to ask support from its creators, but don't expect anything, because this all is a volunteer work.
Click to expand...
Click to collapse
Solved it! I needed the E6583 kernel not the E6883. Thanks for everything now root is working with that kernel and it reads the microSD.
Fragmentation said:
Just updated the guide, adding the last section (P.S.). Check it out, you may be interested.
Click to expand...
Click to collapse
sir are all the drm protected features restored by the mod????, and my phone is already MM can I proceed to the 3rd step??
renezada88 said:
Solved it! I needed the E6583 kernel not the E6883. Thanks for everything now root is working with that kernel and it reads the microSD.
Click to expand...
Click to collapse
That's good. I will update the guide and explicitly mention, that it is needed to pay attention to what particular model the phone is. There are different kernel options for different models of Z5P.
1dave said:
sir are all the drm protected features restored by the mod????, and my phone is already MM can I proceed to the 3rd step??
Click to expand...
Click to collapse
I think they are all restored, however I applied the mod just yesterday and checked only photo quality in dark conditions. X-Reality is also seems like works properly, but honestly I didn't tested it before and after the mod. So far so good.
If you already have stock MM, proceed to the stage 3 directly. But of course you should have fastboot drivers properly installed, if not, head to the stage one.
Does anybody have some problem with whatsapp notification when the smartphone is wifi connected?
Sometimes I don't receive any message until I enter the application. This does not happen if I am connected via 3g.
Edit: Sometimes I received delayed whatsapp notification even if the smartphone is connected through 3g.
Inviato dal mio E6853 con Tapatalk 2
We needs this! A light for LB users... Someone can port for Z5? ?
http://forum.xda-developers.com/showthread.php?t=3337357
Enviado de meu E6853 usando Tapatalk
Guto ViP said:
We needs this! A light for LB users... Someone can port for Z5? ?
http://forum.xda-developers.com/showthread.php?t=3337357
Enviado de meu E6853 usando Tapatalk
Click to expand...
Click to collapse
1. There is no dm-verity on Z3 Beta MM but we have it
2. Flashing needs working recovery for locked bootloader (it needs root to install recovery!)
Is it possible to make a flashable.zip of twrp? For a pre-rooted stock rom
Black_Focus_X said:
Is it possible to make a flashable.zip of twrp? For a pre-rooted stock rom
Click to expand...
Click to collapse
That'd be great !
Black_Focus_X said:
Is it possible to make a flashable.zip of twrp? For a pre-rooted stock rom
Click to expand...
Click to collapse
If you are talking about the PRFCreator, then no, currently it doesn't work with Marshmallow for some reason. Check the corresponding thread.

Upgrade QiKU (CP8692_I02) to 6.0.1, official updates and also activate VoLTE

Hello Friends
A little background first !!
QiKU Q Terra (CP8692_I02) which was sold in India and came pre-installed with 360 OS v21, Android 5.1. The OEM went back to China hence there haven not been any software update for our device. I had been trying to boot latest Chinese 360 OS on Indian Qiku Terra to get updates but after flashing the Chinese version the device would not boot at all and would get stuck in fastboot mode. To revive the device, I had to flash back the V21, I had tried several times but no success.
I even got in touch with the 360 OS engineers over mail with the help of an administrator of Qiku Chinese forum but the engineers said it's not possible to flash Chinese 360 OS on Indian Qiku Q Terra.
I had also been trying to root QiKU and I was able to figure it out all recently.
Check out my post -- https://forum.xda-developers.com/an...i02-unlock-t3493636/post69455878#post69455878
This tutorial is also useful for users of CP8692_M02 who had flashed the v21 on their devices and now are not able to go back to CP8692_M02.
Warning !! Try this own your on risk although it's very safe if you follow the instructions without missing any steps. Don't blame me if you still manage to kill your phone and loose your job :laugh::laugh:
Let's begin !!
Just ensure your device bootloader is unlock before you follow the instructions as it's required to boot 360 Chinese OS on the Indian QiKU.
Download the latest firmware and flash the same with YGDP or Qiku Download Assistant tool. When finished, the device won't boot and still be in fastboot mode. Now boot TWRP recovery from your pc, go to the folder where you have the TWRP recovery and press shift and right click and select "open command window here" and type the following
fastboot -i 0x1ebf boot (recovery name).img
This should boot TWRP on your device.
You can also flash TWRP recovery if wish to,
fastboot -i 0x1ebf flash recovery (recovery name).img
Now boot TWRP
fastboot -i 0x1ebf boot (recovery name).img
When in recovery mode you can use cmd to extract params partition which contain your device model name. Open cmd on your pc and type the following command
dd if=/dev/block/mmcblk0p30 of=/sdcard/params.bak
Once done, you'll have a file name params.bak on your phone's internal memory, copy the same to your pc. Download NotePad++ and install it, link - https://notepad-plus-plus.org/
Only use NotePad++ to edit the params, don't use NotePad. Plus make a copy of your params.bak file and keep it somewhere safe in case you mess up with original params file.
Right click on params.bak and open it with NotePad++, now search CP8692. The device model name would be CP8692_I02 just change I to M and save the changes, now it should be CP8692_M02.
The system partition size is not enough to flash Gapps hence you need to use TWRP recovery resize option.
In TWRP recovery and select > Wipe > Advance Wipe > System > click FS Option > click Resize FS now you shall have more free space in system partition
In TWRP now click reboot then click bootloader, in bootloader press volume up for fastboot mode. On pc open cmd in the folder where you have params.bak saved and type the following command:-
fastboot -i 0x1ebf erase params
fastboot -i 0x1ebf flash params params.bak
fastboot -i 0x1ebf reboot
If everything went well your device should boot Chinese 360 OS, Android 6.0.1 normally.
Now flash modified Gapps in TWRP which you have downloaded. The modified Gapps has Gmail & Hangout beside core apps and rest you can download from play store later.
If you flash bigger Gapps, the device will not boot or it shall be in bootloops coz of Gapps size and if you don't flash Gmail and Hangouts with the modified Gapps and download the same from Play store then it would give you connection trouble.
In case you wish to root then flash SuperSU.zip in TWRP.
Back to the booted device:-
To Activate VoLTE, download QuickShortcutMaker app from play store. Open the app and locate MBN test > click on the dropdown menu > click Try > Tick Volte_OpenMkt-Commercial-CMCC > and last click Activate.
Close the app and go to phone setting > Call settings > and enble VoLTE and you're done. You should see HD sign in the status bar of your phone. Now you can enjoy VoLTE calls.
Download the latest 360OS 2.0 V18 stable version: http://pan.baidu.com/s/1slCmsKP password: i65r
Follow the tutorial to download from Baidu without log-in and download client - https://www.youtube.com/watch?v=cigJh9jg4-c
Download modified Gapps and supersu.zip - https://drive.google.com/drive/folde...ElFemQwTTFXcTQ
Credits:
Goes to me @Zauq for figuring out unlocking bootloader, rooting, modifying TWRP for cp8692_I02 etc. Without the unlocked bootloader the above was not possible.
Goes to @cuongvietnam for instructions to modify params and flashing the same and also about the Gapps size issue
Have Fun :good::good::good:
plz share firmware/rom
good effort bro......kindly wants to tell that new kingroot app is now able to root qiku q terra.....and using app2sd i am able to move max of my apps to sd card ....but i also like ur effort to install android 6 rom in indian qiku.....but i hav a request to plz make a video about whole thing(as that would me more reliable to understand).....and plz share ur downloaded firmware/rom......i hav downloaded android6.cpb file shared by zuaq....so any trick to install directly this rom ?
thx in advance
---------- Post added at 05:28 AM ---------- Previous post was at 04:59 AM ----------
and also i think we can use buildprop edit apk to change build name of indiian qiku (I->M) .....anyway i hav very little knowlg of all this...but try to impliment ur process
Rahulraj2012 said:
good effort bro......kindly wants to tell that new kingroot app is now able to root qiku q terra.....and using app2sd i am able to move max of my apps to sd card ....but i also like ur effort to install android 6 rom in indian qiku.....but i hav a request to plz make a video about whole thing(as that would me more reliable to understand).....and plz share ur downloaded firmware/rom......i hav downloaded android6.cpb file shared by zuaq....so any trick to install directly this rom ?
thx in advance
---------- Post added at 05:28 AM ---------- Previous post was at 04:59 AM ----------
and also i think we can use buildprop edit apk to change build name of indiian qiku (I->M) .....anyway i hav very little knowlg of all this...but try to impliment ur process
Click to expand...
Click to collapse
Help me
I was plash rom but now my phone is hardbrick
My computer is see bootloader but flash file cpd no working
mr_thao said:
Help me
I was plash rom but now my phone is hardbrick
My computer is see bootloader but flash file cpd no working
Click to expand...
Click to collapse
You can load bootloader in your manager device? If you can, so it not brick!
Zauq said:
Hello Friends
A little background first !!
QiKU Q Terra (CP8692_I02) which was sold in India and came pre-installed with 360 OS v21, Android 5.1. The OEM went back to China hence there haven not been any software update for our device. I had been trying to boot latest Chinese 360 OS on Indian Qiku Terra to get updates but after flashing the Chinese version the device would not boot at all and would get stuck in fastboot mode. To revive the device, I had to flash back the V21, I had tried several times but no success.
I even got in touch with the 360 OS engineers over mail with the help of an administrator of Qiku Chinese forum but the engineers said it's not possible to flash Chinese 360 OS on Indian Qiku Q Terra.
I had also been trying to root QiKU and I was able to figure it out all recently.
Check out my post -- https://forum.xda-developers.com/an...i02-unlock-t3493636/post69455878#post69455878
This tutorial is also useful for users of CP8692_M02 who had flashed the v21 on their devices and now are not able to go back to CP8692_M02.
Warning !! Try this own your on risk although it's very safe if you follow the instructions without missing any steps. Don't blame me if you still manage to kill your phone and loose your job :laugh::laugh:
Let's begin !!
Just ensure your device bootloader is unlock before you follow the instructions as it's required to boot 360 Chinese OS on the Indian QiKU.
Download the latest firmware and flash the same with YGDP or Qiku Download Assistant tool. When finished, the device won't boot and still be in fastboot mode. Now boot TWRP recovery from your pc, go to the folder where you have the TWRP recovery and press shift and right click and select "open command window here" and type the following
fastboot -i 0x1ebf boot (recovery name).img
This should boot TWRP on your device.
You can also flash TWRP recovery if wish to,
fastboot -i 0x1ebf flash recovery (recovery name).img
Now boot TWRP
fastboot -i 0x1ebf boot (recovery name).img
When in recovery mode you can use cmd to extract params partition which contain your device model name. Open cmd on your pc and type the following command
dd if=/dev/block/mmcblk0p30 of=/sdcard/params.bak
Once done, you'll have a file name params.bak on your phone's internal memory, copy the same to your pc. Download NotePad++ and install it, link - https://notepad-plus-plus.org/
Only use NotePad++ to edit the params, don't use NotePad. Plus make a copy of your params.bak file and keep it somewhere safe in case you mess up with original params file.
Right click on params.bak and open it with NotePad++, now search CP8692. The device model name would be CP8692_I02 just change I to M and save the changes, now it should be CP8692_M02.
The system partition size is not enough to flash Gapps hence you need to use TWRP recovery resize option.
In TWRP recovery and select > Wipe > Advance Wipe > System > click FS Option > click Resize FS now you shall have more free space in system partition
In TWRP now click reboot then click bootloader, in bootloader press volume up for fastboot mode. On pc open cmd in the folder where you have params.bak saved and type the following command:-
fastboot -i 0x1ebf erase params
fastboot -i 0x1ebf flash params params.bak
fastboot -i 0x1ebf reboot
If everything went well your device should boot Chinese 360 OS, Android 6.0.1 normally.
Now flash modified Gapps in TWRP which you have downloaded. The modified Gapps has Gmail & Hangout beside core apps and rest you can download from play store later.
If you flash bigger Gapps, the device will not boot or it shall be in bootloops coz of Gapps size and if you don't flash Gmail and Hangouts with the modified Gapps and download the same from Play store then it would give you connection trouble.
In case you wish to root then flash SuperSU.zip in TWRP.
Back to the booted device:-
To Activate VoLTE, download QuickShortcutMaker app from play store. Open the app and locate MBN test > click on the dropdown menu > click Try > Tick Volte_OpenMkt-Commercial-CMCC > and last click Activate.
Close the app and go to phone setting > Call settings > and enble VoLTE and you're done. You should see HD sign in the status bar of your phone. Now you can enjoy VoLTE calls.
The latest firmware is 360OS 2.0 (12.28) which is beta and gets weekly update. Download the firmware - http://bbs.360.cn/thread-14613403-1-1.html
Follow the tutorial to download from Baidu without log-in and download client - https://www.youtube.com/watch?v=cigJh9jg4-c
Download modified Gapps and supersu.zip - https://drive.google.com/drive/folde...ElFemQwTTFXcTQ
Credits:
Goes to me @Zauq for figuring out unlocking bootloader, rooting, modifying TWRP for cp8692_I02 etc. Without the unlocked bootloader the above was not possible.
Goes to @cuongvietnam for instructions to modify params and flashing the same and also about the Gapps size issue
Have Fun :good::good::good:
Click to expand...
Click to collapse
I wasn't take dd if=/dev/block/mmcblk0p30 of=/sd card/params.bak
C:\adb>dd if=/dev/block/mmcblk0p30 of=/internalsdcard/params.bak
'dd' is not recognized as an internal or external command,
operable program or batch file.
Hlep me
mr_thao said:
I wasn't take dd if=/dev/block/mmcblk0p30 of=/sd card/params.bak
C:\adb>dd if=/dev/block/mmcblk0p30 of=/internalsdcard/params.bak
'dd' is not recognized as an internal or external command,
operable program or batch file.
Hlep me
Click to expand...
Click to collapse
Have you tried the code in custom recovery mode??? If you're using the code when the device is NOT in recovery mode then you have to use the following code:-
adb shell
su
dd if=/dev/block/mmcblk0p30 of=/internalsdcard/params.bak
Just bear in mind that you have to be rooted to use the above mentioned code and in recovery mode you don't need to be rooted.
mr_thao said:
Help me
I was plash rom but now my phone is hardbrick
My computer is see bootloader but flash file cpd no working
Click to expand...
Click to collapse
What was your device model no when you flashed the rom and which rom version did you flash which caused the brick???
Rahulraj2012 said:
good effort bro......kindly wants to tell that new kingroot app is now able to root qiku q terra.....and using app2sd i am able to move max of my apps to sd card ....but i also like ur effort to install android 6 rom in indian qiku.....but i hav a request to plz make a video about whole thing(as that would me more reliable to understand).....and plz share ur downloaded firmware/rom......i hav downloaded android6.cpb file shared by zuaq....so any trick to install directly this rom ?
thx in advance
---------- Post added at 05:28 AM ---------- Previous post was at 04:59 AM ----------
and also i think we can use buildprop edit apk to change build name of indiian qiku (I->M) .....anyway i hav very little knowlg of all this...but try to impliment ur process
Click to expand...
Click to collapse
Flashing the supersu.zip to root Qiku is the easiest way if you ask me. I tried my best to give the instructions in a simplest way possible making video is not on my mind.
Changing the model no in build.prop would not help in booting Android 6.0.1 on Indian Qiku v21. Had this been so easy I would've done the same a long time ago
update file params.bak edited
step 1 : flash rom china and flash TWRP
Step2: flash params.bak
Step 3: reboot
Done
Link : https://tinhte.vn/threads/danh-gia-chi-tiet-qiku-terra-sieu-pham-den-tu-india.2543152/#post-49187102
Rom restore , rooted and playstore,super lite : https://drive.google.com/file/d/0B1JX0MSsEt63Zzd2MzVMb20wNTA/view
Hello bro,i want to downgrade to 5.1 v021 from 6.0 v18 china rom,but i haven't link rom.zip (i have twrp),give me link rom 5.1v021 .zip,please
Thanks for watching!?
volte is not activating even though option came by quickshortcut..app
android 6.0 successfully installed but...volte is not activating even though option came by quickshortcut..app........also need help to change chinese 360safe apk to change language in english
....thx in advance
Rahulraj2012 said:
android 6.0 successfully installed but...volte is not activating even though option came by quickshortcut..app........also need help to change chinese 360safe apk to change language in english
....thx in advance
Click to expand...
Click to collapse
Help me @Zauq. I am not able to download 6.0 update file from baidu as connection to file gets disconnected after 1 GB of data everytime. I have wasted atleast 10 GB of data due to this. Please help me out if you can upload the file to google.
Thank you in advance.
Rahulraj2012 said:
android 6.0 successfully installed but...volte is not activating even though option came by quickshortcut..app........also need help to change chinese 360safe apk to change language in english
....thx in advance
Click to expand...
Click to collapse
Did you also enable VoLTE in system settings?? I would not be able to change Chinese language in 360safe.apk.
imlb said:
Help me @Zauq. I am not able to download 6.0 update file from baidu as connection to file gets disconnected after 1 GB of data everytime. I have wasted atleast 10 GB of data due to this. Please help me out if you can upload the file to google.
Thank you in advance.
Click to expand...
Click to collapse
My google drive is already full hence won't be able to upload it. Trying signing up Baidu and download the file with Baidu client.
Zauq said:
My google drive is already full hence won't be able to upload it. Trying signing up Baidu and download the file with Baidu client.
Click to expand...
Click to collapse
Thanks for your quick reply. I am not able to sign up on baidu. If you have latest file than please upload on any big file sharing site such as pcloud. That will be very helpful. I am bit of noob on development side of Android. I have developed kernel driver for real time linux but android I am learning. Please share if any good tutorials to start developing for Android. Thanks again @Zauq
imlb said:
Thanks for your quick reply. I am not able to sign up on baidu. If you have latest file than please upload on any big file sharing site such as pcloud. That will be very helpful. I am bit of noob on development side of Android. I have developed kernel driver for real time linux but android I am learning. Please share if any good tutorials to start developing for Android. Thanks again @Zauq
Click to expand...
Click to collapse
There you go --- https://drive.google.com/file/d/0Bwy9M10qfmJLVm9MQTU0N1U2Tnc/view?usp=sharing
Have somebody schematic diagram of qiku phones? Please let me know, if find something.
Hello dear all, I have 2 issues
1) not able to get volte , even though hd voice enabled via quick shortcut app
2)updated to android 6 but even though can't make my sd card as internal storage(option is for only as portable storage present....Just like galaxy s7 I also tried abd command, becoz in s7 also even after android 6 update sdcard as internal is not by default present .....But failed)
Plz help .....Thx in advance bro zuak
Rahulraj2012 said:
Hello dear all, I have 2 issues
1) not able to get volte , even though hd voice enabled via quick shortcut app
2)updated to android 6 but even though can't make my sd card as internal storage(option is for only as portable storage present....Just like galaxy s7 I also tried abd command, becoz in s7 also even after android 6 update sdcard as internal is not by default present .....But failed)
Plz help .....Thx in advance bro zuak
Click to expand...
Click to collapse
1) Do you see HD sign in the status bar after enabling VoLTE through QuickShortcurMaker App??
2) Did you follow similar adb shell command for internal storage?? --- https://www.youtube.com/watch?v=PZLV5STiAW8
1) I m able to get on/off volte settings after quick shortcut apk,but as u ask......No hd sign in status bar
2) yes I had applied same adb shell commands but nothing happens, 360 os restarted but no increment in internal memory I need to format my memory card to use it once again
I request to make a small video for this isse resolution and plz upload if possible

Sony Xperia XZ Unlock bootloader, TWRP and ROOT.

For rooting Xperia XZ, we need recovery and for recovery flashing the bootloader must be unlocked.
PREREQUISITES:
1. ADB/FASTBOOT. View attachment 4715074
2. Drivers for Sony Xperia XZ. View attachment Xperia_XZ_driver.zip
3. Backup all your data, Apps, Contacts & everything you need.
4. Charge ur device above 60% to avoid any shutdown during the process
UNLOCKING BOOTLOADER
Unlock Bootloader: Opens the door to System files of your device. This allows you to flash images onto the main system partitions of the phone, after unlocking you will lose the DRM keys and phone's warranty will be void, it will also factory reset your device.(backup is recommended)
1. Open Dialer.
2. Dial *#*#7378423#*#*
3. Press service info than configuration.
4. Check if “Bootloader Unlock” is yes under Rooting status.[If not then your device can not be unlocked]
5. Check what android you are running on. Go to Settings -> About Phone -> Android Version. If you have 6.x.x then goto step 9 but if you have 7.x.x then you have to downgrade to Marshmallow.
6. Download and install FlashTool from its official website.
7. Install the drivers for fastmode and for your device in the driver folder of the FlashTool. [C:>FLASHTOOL>drivers]
8. Download ftf for your device using XpiriFirm and flash it using flashtool.
How to flash ftf?
9. Goto settings>about phone >developers option and ensure that OEM Unlock and USB Debugging is on.
10. Goto Xperia BLU page and Choose Xperia XZ at the bottom of the page.
11. Enter your Email and you will receive a link in your mail. Follow the steps given by Sony.
12. BE CAREFUL and, from now on, DON’T ENABLE the MyXperia. It could hard brick your phone.
Now your phone is unlocked
We will now go over some other fixes.
FLASH ANDRO PLUS KERNEL.
This kernel will help your device cope up with some battery issues and it also has some DRM Fixes. To install it, follow the steps :
1. Download the kernel version supported for your buildnumber.{AndroPlus}
2. Unzip the downloaded file and paste them into your fastboot/adb directory.
3. Now Boot into Bootloader mode by turning the device off and pressing volume up then plug in the USB.
4. Run the command prompt where you pasted the extracted zip . Do this by shift+right click and selecting Open command prompt here.
5. Enter the command "fastboot flash boot boot.img"(without double quotation)
6. Unplug and reboot your device
FLASH CUSTOM RECOVERY [TWRP]
A custom recovery is flashed onto the recovery partition of the device and overwrites the stock recovery that exists by default(XZ doesn't have stock recovery). Custom recoveries bring lots of functionality and allows you to perform wipes, install flashable zips, create full backups of your NAND (Nandroid backup), and various other features. An unlocked bootloader is needed to install a custom recovery.
This process will provide your device a custom recovery (TWRP) This can be used to flash root script, ROM and custom kernels at anytime without PC.
1. Download the TWRP image file.
2. Paste it in your Fastboot directory and rename it as recovery.img
3. Open cmd in the folder where you pasted recovery.img
4. Enter the command "fastboot flash recovery recovery.img"(without double quotation)
5. Reboot your device.
FLASHING MAGISK
Now the final step. To root your device you just need to flash the Magisk zip.
1. Download the zip.
2. Paste it in your device.
3. Now boot into recovery by turning off and press power+volume down at the same time and release the power key after vibration.
4. If TWRP is decrypted use this guide.
5. Now select install and navigate to the pasted zip, swipe for flash.
6. Reboot and check if the Magisk app is installed on your device.
________________________________________________________________________________________
-- If You Liked My Work--
-- Press the Thanks :good: Button --
​
Hi there.
May downgrade from N 7.1.1 to MM 6.0.1 causing lost DRM key ?
Thanks for your reply.
anhyeuviolet said:
Hi there.
May downgrade from N 7.1.1 to MM 6.0.1 causing lost DRM key ?
Thanks for your reply.
Click to expand...
Click to collapse
No downgrading not.
Drm keys r lost when u unlock bootloader
Have someone tried this guide????
awadnisar said:
No downgrading not.
Drm keys r lost when u unlock bootloader
Click to expand...
Click to collapse
This is my Screenshot from Security (inside Service test).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Do you have any idea ?
My XZ looks different to another pics from Internet.
anhyeuviolet said:
This is my Screenshot from Security (inside Service test).
My XZ looks different to another pics from Internet.
Click to expand...
Click to collapse
It should ...
Looks normal for a new device.
Check
Service Info -> Configuration -> Bootloader unlock allowed
DHGE said:
It should ...
Looks normal for a new device.
Check
Service Info -> Configuration -> Bootloader unlock allowed
Click to expand...
Click to collapse
Checked and it show:
Bootloader unlock allowed: Yes.
Is it ok ?
anhyeuviolet said:
Is it ok ?
Click to expand...
Click to collapse
For me: yes
For the larger part of Society? Hmmm :silly:
read my [Guide]
DHGE said:
For me: yes
For the larger part of Society? Hmmm :silly:
read my [Guide]
Click to expand...
Click to collapse
Mailed to Sony Support. They said that Okay, too.
If XZ is not lagging as it right now, I will be more satisfied.
Quick Info After Unlocking Bootloader
awadnisar said:
For rooting Xperia xz (DUAL), we need recovery and for recovery flashing the bootloader must be unlocked.
CONTINUE AT YOUR OWN RISK
PREREQUISITES
1. ADB/FASTBOOT. Download https://drive.google.com/open?id=0B4IlcVrKbV2qT1V1T2RFQmxXNU0
2. Drivers for Sony Xperia XZ. Download https://drive.google.com/open?id=0B4IlcVrKbV2qeloxN01ESkZZTkU
3. Backup all your data, Apps, contacts & everything your need. we need to create backup in order to restore if anything goes wrong. [hopefully not]
4. Charge ur device above 60% to avoid any shutdown during the process
UNLOCKING BOOTLOADER
Unlock Bootloader: Opens the door to System files of your device. This allows you to flash images onto the main system partitions of the phone, after unlocking you will lose the DRM keys and phone's warranty will be void, it will also factory reset your device.(backup is recommended)
1. Open your dialer.
2. Dial *#*#7378423#*#*
3. Press service info than configuration.
4. Check if “Bootloader Unlock” is yes under Rooting status.[If not then your device can not be unlocked]
5. Check what android you are running on. Go to Settings -> About Phone -> Android Version. If you have 6.x.x then goto step 9 but if you have 7.x.x then you have to downgrade to Marshmallow.
6. Download and install FlashTool from its official website. http://www.flashtool.net/downloads.php
7. Install the drivers for fastmode and for your device in the driver folder of the FlashTool. [C:>FLASHTOOL>drivers]
8. Download ftf for your device, for [F8332/dual (https://drive.google.com/open?id=0B4IlcVrKbV2qSnBCRWxHLWY5RjQ)] and flash it using flashtool.
how to flash ftf https://forum.xda-developers.com/xperia-z/general/tutorial-how-to-flash-stock-roms-t2240614
9. Goto settings>about phone >developers option and ensure that OEM Unlock and USB Debugging is on.
10. Goto (https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/) and Choose Xperia XZ at the bottom of the page.
11. Enter your Email and you will receive a link in your mail. Follow the steps given by Sony.
12. BE CAREFUL and, from now on, DON’T ENABLE the MyXperia. It could hard brick your phone.
Now your phone is unlocked
We will now go over some other fixes.
FLASH ANDRO PLUS KERNEL.
This kernel will help your device cope up with some battery issues and it also has some DRM Fixes. To install it, follow the steps :
1. Download the kernel https://github.com/AndroPlus-org/android_kernel_sony_msm8996
2. Unzip the downloaded file and paste them into your fastboot/adb directory.
3. Now Boot into Bootloader mode by turning the device off and pressing volume up then plug in the USB.
4. Run the command prompt where you pasted the extracted zip . Do this by shift+right click and selecting Open command prompt here.
5. Enter the command "fastboot flash boot boot.img"(without double quotation)
6. Unplug and reboot your device
FLASH CUSTOM RECOVERY [TWRP]
A custom recovery is flashed onto the recovery partition of the device and overwrites the stock recovery that exists by default(XZ doesn't have stock recovery). Custom recoveries bring lots of functionality and allows you to perform wipes, install flashable zips, create full backups of your NAND (Nandroid backup), and various other features. An unlocked bootloader is needed to install a custom recovery.
This process will provide your device a custom recovery (TWRP) This can be used to flash root script, ROM and custom kernels at anytime without PC.
1. Download the TWRP image file https://drive.google.com/open?id=0B4IlcVrKbV2qWF9QaDhPd2hONmc
2. Paste it in your Fastboot directory and rename it as recovery.img
3. Open cmd in the folder where you pasted recovery.img
4. Enter the command "fastboot flash recovery recovery.img"(without double quotation)
5. Reboot your device.
FLASH SUPER SU ZIP
Now the final step. To root your device you just need to flash the super su zip.
1. Download the zip. https://drive.google.com/open?id=0B4IlcVrKbV2qOExRekY3M3ZPVG8
2. Paste it in your device.
3. Now boot into recovery by turning off and press power+volume down at the same time and release the power key after vibration.
4. Now select install and navigate to the pasted zip, swipe for flash.
5. Reboot and check if the Super SU app is installed on your device.
Click to expand...
Click to collapse
Good Tutorial As Iam Quite Familiar With This Rooting Method I Would Like To Highlight a Line
2. Paste it in your Fastboot directory and rename it as recovery.img
Because it Is Necessary Guys Without Renaming It , It Would Be Difficult to Enter in TWRP Recovery.
Rename To "recovery.img" is Must to Replace The Stock With This One.
and To Enter TWRP MENU After Everything Done.-----> Follow The Steps. <------
1 - Completely Power OFF The Phone , ( You Can Also Power off the Phone Anytime By Holding VOLUME UP + POWER BUTTON For 5 Secs Until There is 3 Vibration. )
2 - Hold Volume Down + Power Button , After That SONY Logo is Shown , Then Release ONLY THE POWER KEY and KEEP HOLDING the VOLUME DOWN Button.
3 - Wait Till TWRP Appears and Start Doing What You Like.
I Hope This Info Helps To Beginners.
CALL ME SUBH said:
Good Tutorial As Iam Quite Familiar With This Rooting Method I Would Like To Highlight a Line
2. Paste it in your Fastboot directory and rename it as recovery.img
Because it Is Necessary Guys Without Renaming It , It Would Be Difficult to Enter in TWRP Recovery.
Rename To "recovery.img" is Must to Replace The Stock With This One.
and To Enter TWRP MENU After Everything Done.-----> Follow The Steps. <------
1 - Completely Power OFF The Phone , ( You Can Also Power off the Phone Anytime By Holding VOLUME UP + POWER BUTTON For 5 Secs Until There is 3 Vibration. )
2 - Hold Volume Down + Power Button , After That SONY Logo is Shown , Then Release ONLY THE POWER KEY and KEEP HOLDING the VOLUME DOWN Button.
3 - Wait Till TWRP Appears and Start Doing What You Like.
I Hope This Info Helps To Beginners.
Click to expand...
Click to collapse
Thanks, when i was writing the post i took too long so i can't explain each and every step.
awadnisar said:
Thanks, when i was writing the post i took too long so i can't explain each and every step.
Click to expand...
Click to collapse
No Prob Bro
Do I still need to downgrade to MM when I'm running latest version of Oreo?
odarpsahc said:
Do I still need to downgrade to MM when I'm running latest version of Oreo?
Click to expand...
Click to collapse
If you want Unlock bootloader, as I know, Yes.
magisk/super su
hi, how to install magisk instead of super su in marshmallow, thanks
ciqbalz said:
hi, how to install magisk instead of super su in marshmallow, thanks
Click to expand...
Click to collapse
Just install latest magisk zip
odarpsahc said:
Do I still need to downgrade to MM when I'm running latest version of Oreo?
Click to expand...
Click to collapse
Yes coz for unlocking bootloader it's necessary
awadnisar said:
Yes coz for unlocking bootloader it's necessary
Click to expand...
Click to collapse
Hmm.. Not really, if he wishes to save and back up his DRM keys then yes it is nessecary to downgrade but if he's not worried about them he can do everything from oreo, unlocking the BL, installing a Kernel, TWRP ect.... But let me be clear to save your DRM Keys you need to downgrade..

Swipe Elite max : Unlock Bootloader,Unofficial TWRP, Rooting and Stock reflash.

IMPORTANT UPDATE : I have observed that when mounting system R/w device restarts. It means that even after rooting successfully, system is blocking the app. So rooting will not be complete as of now,till further corrections. Rest of the operations are normal, quick reboot apps work properly. and device works normally. So please bear with me.
Freinds , this thread is basically for what the title suggests. After a long time I was able to do it.
I'll update as required, so be patient. and keep watching.
1. Unlock Bootloader
a. Boot device in bootloader from adb in cmd terminal. (To go in fastboot mode, press power and volume down button ).
Please enter these commands, one at a time.
Code:
adb devices
(this will show your device)
adb reboot-bootloader
( device will reboot to bootloader). Then enter this...
fastboot devices
(this will show your device)
fastboot oem unlock-go
( If it shows already unlocked, go to twrp flash. If it is not, It will ask for erasing data, so backup all your data. This will unlock your bootloader.)
2. Flash TWRP
In fastboot mode: continue.......
Code:
fastboot flash recovery twrp.img
(Flash the image I have provided)
You can also try
fastboot boot twrp.img
( to try this image file, if you are scared of bricking the phone.)
3. Flash patched boot.
Code:
fastboot flash boot boot.img
(Flash the image I have provided. This is necessary as otherwise the su zip may not work )
4. Rooting
Please copy the SuperSu zip file to your micro sd card. Now boot to Twrp recovery. My advice is to backup of your system and boot. Then wipe data, dalvik-cache,cache, Internal storage. (Sometimes, format option is required.)
Now flash this zip.
If there are errors anywhere, please tell me and I shall try to correct them.
Updates :
1. Twrp stable added on 8/6/2018
2. Twrp_3.1.0.1 added on 11/6/2018, Removed Old Twrp link.
3. Twrp_3.1.0.1 Link updated on 13.6.2018.
4. Twrp_3.1.0.1 Link updated on 9.7.2019. Removed Old Twrp 3.1.0.1 link.
Downloads
1. Twrp_Stable_3.0.2.0.img: Link
2. TWRP_3.1.0.1_unofficial_SwipeEliteMax : https://drive.google.com/open?id=1n-DfHwC4_WRn_Jlr5FosOb6lW827M5ho
Remember first thing before rooting, do a backup of system and boot.img. Rest is your choice.
2. SuperSu zip: http://www.supersu.com/download Or you can download from anywhere on the net.
3. Patched Boot : Link
Stock Reflash and subsequent Update:
1. Stock Version V12 Reflash :
Remember , boot takes 5-10 mins to come on. So don't panic when device doesn't boot.
If the need arises due to any reason device hangs in logo, first restore only boot which you backed up. If still no change, restore system also.
But if you want to flash stock version , then read ahead.
The FOTA zip did not work for me from adb sideload. So I will recommend the QFIL download.
1. Download Stock Rom and Qualcomm downloader from here
Extract the zip. Install the drivers.
2. QFIL install : Download and install Qualcomm downloader.
It should look like the image in attachments
1. If it shows Flat Build / Meta Build, choose Flat Build.
2. Click "browse" and select "prog_emmc_firehose_8937_lite.mbn" , in the Extracted Stock rom folder
3. Click Load XML and select "rawprogram_unsparse.xml" in the Extracted Stock rom folder.
4. Click Load Patch and select "patch0.xml" in the Extracted Stock rom folder.
5. Click Download. If device is in adb mode, no problem, it will go in download mode automatically.
If it is not, just connect and shutdown device . While it is shutting down, it will connect automatically andf flash will begin.
Do not disconnect while process is on. Be patient.
2. Update to V15 :
After Stock reflash, the update to V15 comes immediately after connecting to internet.
Just incase someone wants to flash it offline , here is the process and file.
1. Recovery Method : Place gobi zip in adb folder . Go to stock recovery. Press Volume up and Power button. Once in recovery, choose "update from adb" .
Enter the following command in cmd console :
Code:
adb sideload update-gobi.zip.
Downloads : Update zip for Version Update from V12 to V15. Link
Yogesh1969 said:
Freinds , this thread is basically for what the title suggests. After a long time I was able to do it.
I'll update as required, so be patient. and keep watching.
1. Unlock Bootloader
a. Boot device in bootloader from adb in cmd terminal, Please enter these commands, one at a time.
2. Flash TWRP
In fastboot mode: continue.......
You can also try
3. Flash patched boot.
4. Rooting
Please copy the SuperSu zip file to your micro sd card.
My advice is to backup your data, then wipe data, dalvik-cache,cache, Internal storage. Sometimes, format option is required.
Now boot to Twrp recovery and flash this zip.
If there are errors anywhere, please tell me and I shall try to correct them.
Downloads
1. TWRP : https://drive.google.com/open?id=0BztfiMqkQrCaQVA4T01pRmlmYXc
Remember first thing before rooting, do a backup of system and boot. Rest is your schoice.
2. SuperSu zip: http://www.supersu.com/download
3. Boot : https://drive.google.com/open?id=19StfSorHM8T89uX07epstCWIUnMsITjz
Click to expand...
Click to collapse
Thanks for help bro. But the tarp zip file u shared needs a password to be opened.
Sorry
partha_h said:
Thanks for help bro. But the tarp zip file u shared needs a password to be opened.
Click to expand...
Click to collapse
Sorry Parth. I linked a wrong image . I now have updated the link. please check and tell me. Dont' hurry in any process. Take care.
Yogesh1969 said:
Sorry Parth. I linked a wrong image . I now have updated the link. please check and tell me. Dont' hurry in any process. Take care.
Click to expand...
Click to collapse
Thanks
Rooted my device successfully. Solved the twrp data decrypt password issue. Mounted super su via usb and my device is successfully rooted.
Thanks again
Now it's time to search for custom roms. Suggest me any ROM u recommend
partha_h said:
Thanks
Rooted my device successfully. Solved the twrp data decrypt password issue. Mounted super su via usb and my device is successfully rooted.
Thanks again
Now it's time to search for custom roms. Suggest me any ROM u recommend
Click to expand...
Click to collapse
Glad to hear that. I don't have any information about specific roms for swipe but we may have to port any aosp or lineage roms for our chipset (msm8937). Once I'm free, I'll get to search that. ....
partha_h said:
Thanks
Now it's time to search for custom roms. Suggest me any ROM u recommend
Click to expand...
Click to collapse
I have ported an AOSP for Redmi 3s. But it has flaws,(wifi, etc.) will take time. Also, I have removed all unwanted apps from the stock. So it is now smaller.
Sorry repeated msg
Yogesh1969 said:
I have ported an AOSP for Redmi 3s. But it has flaws,(wifi, etc.) will take time. Also, I have removed all unwanted apps from the stock. So it is now smaller.
Click to expand...
Click to collapse
Pls share if there is any . Thanks
partha_h said:
Pls share if there is any . Thanks
Click to expand...
Click to collapse
Actually, AOSP and lineage Os ,both are ported successfully. But there are some flaws. Time is a major factor.
Also, I think Our Rom is better than these roms. From twrp I removed all useless apps. So memory has increased a bit.
So, i think instead of marshmallow I should try Nougat or Oreo if possible. Of course time is an enemy . Just hope.
Yogesh1969 said:
Actually, AOSP and lineage Os ,both are ported successfully. But there are some flaws. Time is a major factor.
Also, I think Our Rom is better than these roms. From twrp I removed all useless apps. So memory has increased a bit.
So, i think instead of marshmallow I should try Nougat or Oreo if possible. Of course time is an enemy . Just hope.
Click to expand...
Click to collapse
Hi. U r doing great. Android 7 or 8 would be gud option. Keep up the good work. Thanks
Some one plz send build.prop file of swipe elite max
Some one plz send build.prop file of swipe elite max
Your build.prop attached.
Sachin2015 said:
Some one plz send build.prop file of swipe elite max
Click to expand...
Click to collapse
Is something wrong with your phone or just experimenting ?
Anyways, there are two build.prop files in the system folder, so attached both. good luck.
Yogesh1969 said:
Is something wrong with your phone or just experimenting ?
Anyways, there are two build.prop files in the system folder, so attached both. good luck.
Click to expand...
Click to collapse
Thanx Dude.
How to enable VoLTE for airtel user in this phone ?
How to write imei on this phone ?
and can u send a updated baseband file for this ?
Sachin2015 said:
Thanx Dude.
How to enable VoLTE for airtel user in this phone ?
How to write imei on this phone ?
and can u send a updated baseband file for this ?
Click to expand...
Click to collapse
Hi. This is a very late reply . Sorry for that.
To enable volte, you have to go to
Settings>More>Cellular networks.
Here, you have to enable/On Enhanced 4G Lte mode.
But, you have to remember, few things. Our phone has only one 4g and one 2g slot. You can use any slot for 4g. The other will automatically turn to 2g. This happens when you choose data for that sim.
Another problem you will face if you have the other sim of JIO. It works only in 4g. So if you awnt volte /4g on Airtel and other sim is Jio, you will have no network on Jio as it does not work in 2g/3g.
For Imei , just google SN / IMEI writing softwares from the net. But mind you enter the right IMEIs, as you mind land in trouble if non-matching one is written.
What base band file do you want ? The firmware folder ?
Yogesh1969 said:
Hi. This is a very late reply . Sorry for that.
To enable volte, you have to go to
Settings>More>Cellular networks.
Here, you have to enable/On Enhanced 4G Lte mode.
But, you have to remember, few things. Our phone has only one 4g and one 2g slot. You can use any slot for 4g. The other will automatically turn to 2g. This happens when you choose data for that sim.
Another problem you will face if you have the other sim of JIO. It works only in 4g. So if you awnt volte /4g on Airtel and other sim is Jio, you will have no network on Jio as it does not work in 2g/3g.
For Imei , just google SN / IMEI writing softwares from the net. But mind you enter the right IMEIs, as you mind land in trouble if non-matching one is written.
What base band file do you want ? The firmware folder ?
Click to expand...
Click to collapse
not showing any network..need the modem files
Sachin2015 said:
not showing any network..need the modem files
Click to expand...
Click to collapse
Did you get the files ? If you want the firmware folder, im attaching here.

root for Xperia XZS so-03j (Japan Docomo Variant)

Hello,
I got a Xperia XZS SO-03J (Japan Docomo Variant). Anybody got any ideas to root this device and any custom roms. Already searched the forum but no avail. Thank you for your help.
Japanese cellular version usually unable to unlock bootloader.but still some phones can unlock. if you have twrp ,you can install some rooted ROMs modified from official ROM.(btw you have to find a ROM can install without unlock bootloader)
sinkoo1979 said:
Hello,
I got a Xperia XZS SO-03J (Japan Docomo Variant). Anybody got any ideas to root this device and any custom roms. Already searched the forum but no avail. Thank you for your help.
Click to expand...
Click to collapse
if you have docomo ubl yes you can patch kernel manual , because it's different from Au,Global,Softbank
I've tried with x compact docomo ubl yes
I think first of all need to check whether the bootloader is unlockable or not
if you can UNLOCK the Japanese Xzs then
you can use this TWRP
https://dl.twrp.me/kagura/twrp-3.2.3-0-kagura.img.html
there is a depate that you can cross flash XZ's Android 6 to extract DRM keys! but i am not going to go that, as soon as you UNLOCK you bootload, TA partition will be GONE..
what is your build number?
download your build from FLASHTOOL---> Xperfirm and send me KERNEL.sin and i will send you the modded kernel
rest PROCESS you can Read (carefully) at
https://forum.xda-developers.com/xperia-xz/how-to/rooted-kernels-f8332-41-3-2-588-0-t3748987
its for XZ but applies to XZs too!
YasuHamed said:
if you can UNLOCK the Japanese Xzs then
you can use this TWRP
https://dl.twrp.me/kagura/twrp-3.2.3-0-kagura.img.html
there is a depate that you can cross flash XZ's Android 6 to extract DRM keys! but i am not going to go that, as soon as you UNLOCK you bootload, TA partition will be GONE..
what is your build number?
download your build from FLASHTOOL---> Xperfirm and send me KERNEL.sin and i will send you the modded kernel
rest PROCESS you can Read (carefully) at
https://forum.xda-developers.com/xperia-xz/how-to/rooted-kernels-f8332-41-3-2-588-0-t3748987
its for XZ but applies to XZs too!
Click to expand...
Click to collapse
YusaHamed this is my kernel https://drive.google.com/open?id=1mGpQOcWcuCfwp4U0wrt29HzERH5SQrTr
i need your help to mod this kernel, and then this is my build number 41.3.B.1.140
:fingers-crossed:
Amirai17 said:
YusaHamed this is my kernel https://drive.google.com/open?id=1mGpQOcWcuCfwp4U0wrt29HzERH5SQrTr
i need your help to mod this kernel, and then this is my build number 41.3.B.1.140
:fingers-crossed:
Click to expand...
Click to collapse
requesting you please
send me also these three files
/system/vendor/etc/fstab.qcom
/system/vendor/etc/init/hw/init.qcom.rc
/system/vendor/etc/init/hw/init.target.rc
there will be system.sin in that ftf,
convert it using FLASHTOOL > tool > sineditor > selected system.sin and click extract data, it will make 6gb file SYSTEM.ext4, open it with 7zip and locate the above three file and add in the goodle drive PLZ
Amirai17 said:
YusaHamed this is my kernel https://drive.google.com/open?id=1mGpQOcWcuCfwp4U0wrt29HzERH5SQrTr
i need your help to mod this kernel, and then this is my build number 41.3.B.1.140
:fingers-crossed:
Click to expand...
Click to collapse
FROM THIS LINK
https://mega.nz/#F!eRh0TSiQ!j6FNfTsHpkw8DECUNRF5QQ
kindly copy into SDCARD of your mobile the following files
1. magisk17.2
2. drmFix.zip
3. NightLight.zip (optional)
4. magisk MANAGER 6.0.1.apk
and
then FLASH twrp to your XZs by Connecting in to Fastboot mode (BLUE LED) and opening "MINIMAL ADB AND FASBOOT"
you can download it from here https://forum.xda-developers.com/showthread.php?t=2317790
Code:
in adb type
FASTBOOT DEVICE (then enter)
<it will show some hex code, confirming your device is in fastboot mode connected>
now type
FASTBOOT FLASH RECOVERY <and drag twrp image file from DESKTOP to your black cmd window... it will come as path>
press enter and flashing will be done
unplug device and press and hold volume down and power until you see twrp...
- keep system read only
- goto backup
- backup boot and swipe right, it will make boot backup in your sd card (it always recommended
- now goto install
- click flash IMAGE FILE button at bottom
- select KERNEL_CLEAN_41.3.B.1.140_XZs_SO-03J.img
- it will ask where to flash ... CHECK BOX "BOOT" ( BE CAREFUL )
- twrp will flash boot with provided kernel
- now click button FLASH ZIP file & flash DRMFIX.zip
- now flash Magisk17.x.zip
- now flash NIGHTLIGHT.zip (optional)
- clear cache
- poweroff and while powering off, select DONOT INSTALL TWRP.
press power on and let device boot, first boot may goto bootloops.
the device will now boot and check for MAGISK app in app drawer, if you can find it, GOOD, otherwise install MAGISK MANAGER 6.0.1.apk from your sd card
install rootchecker from playstore and check for root access
done
YasuHamed said:
FROM THIS LINK
https://mega.nz/#F!eRh0TSiQ!j6FNfTsHpkw8DECUNRF5QQ
kindly copy into SDCARD of your mobile the following files
1. magisk17.2
2. drmFix.zip
3. NightLight.zip (optional)
4. magisk MANAGER 6.0.1.apk
and
then FLASH twrp to your XZs by Connecting in to Fastboot mode (BLUE LED) and opening "MINIMAL ADB AND FASBOOT"
you can download it from here https://forum.xda-developers.com/showthread.php?t=2317790
Code:
in adb type
FASTBOOT DEVICE (then enter)
<it will show some hex code, confirming your device is in fastboot mode connected>
now type
FASTBOOT FLASH RECOVERY <and drag twrp image file from DESKTOP to your black cmd window... it will come as path>
press enter and flashing will be done
unplug device and press and hold volume down and power until you see twrp...
- keep system read only
- goto backup
- backup boot and swipe right, it will make boot backup in your sd card (it always recommended
- now goto install
- click flash IMAGE FILE button at bottom
- select KERNEL_CLEAN_41.3.B.1.140_XZs_SO-03J.img
- it will ask where to flash ... CHECK BOX "BOOT" ( BE CAREFUL )
- twrp will flash boot with provided kernel
- now click button FLASH ZIP file & flash DRMFIX.zip
- now flash Magisk17.x.zip
- now flash NIGHTLIGHT.zip (optional)
- clear cache
- poweroff and while powering off, select DONOT INSTALL TWRP.
press power on and let device boot, first boot may goto bootloops.
the device will now boot and check for MAGISK app in app drawer, if you can find it, GOOD, otherwise install MAGISK MANAGER 6.0.1.apk from your sd card
install rootchecker from playstore and check for root access
done
Click to expand...
Click to collapse
Thanks for the kernel mod, you mod it so fast that's so amazing
Anyway i will try it tomorrow, pray fo the kernel got stable
Before i use this kernel on this thread https://forum.xda-developers.com/xzs/development/root-xperia-xzs-t3726911
And i got unstable performance. Trying use kernel auditor not effect it and i decide to flash it back to normal again.
Amirai17 said:
Thanks for the kernel mod, you mod it so fast that's so amazing
Anyway i will try it tomorrow, pray fo the kernel got stable
Before i use this kernel on this thread https://forum.xda-developers.com/xzs/development/root-xperia-xzs-t3726911
And i got unstable performance. Trying use kernel auditor not effect it and i decide to flash it back to normal again.
Click to expand...
Click to collapse
I dont know about that thread
Seems like different process
Anways plz do try this and let me know
YasuHamed said:
I dont know about that thread
Seems like different process
Anways plz do try this and let me know
Click to expand...
Click to collapse
Sorry i take a long time to try it,
But i just try it n i can root my phone
for performance, not yet test it
no any trouble on process, but
i want to ask, what the use of nightlight?
Amirai17 said:
Sorry i take a long time to try it,
But i just try it n i can root my phone
for performance, not yet test it
no any trouble on process, but
i want to ask, what the use of nightlight?
Click to expand...
Click to collapse
This is a good news! , good to know that you were able to Root it.
i am sure you will find good performance.
nighlight makes your screen TINT different (reduces blue) which makes it easier on eyes while you browsing in night or from bed. blue light hurts eyes and brain and increases sleeplessness.
a shortcut toggle button next to FLASHLIGHT will appear (if arent already in your build) and display setting will have NIGHLIGHT FEATURE ENABLED- you can control the INTENSITY of this filter according to your needs
YasuHamed said:
FROM THIS LINK
https://mega.nz/#F!eRh0TSiQ!j6FNfTsHpkw8DECUNRF5QQ
kindly copy into SDCARD of your mobile the following files
1. magisk17.2
2. drmFix.zip
3. NightLight.zip (optional)
4. magisk MANAGER 6.0.1.apk
and
then FLASH twrp to your XZs by Connecting in to Fastboot mode (BLUE LED) and opening "MINIMAL ADB AND FASBOOT"
you can download it from here https://forum.xda-developers.com/showthread.php?t=2317790
Code:
in adb type
FASTBOOT DEVICE (then enter)
<it will show some hex code, confirming your device is in fastboot mode connected>
now type
FASTBOOT FLASH RECOVERY <and drag twrp image file from DESKTOP to your black cmd window... it will come as path>
press enter and flashing will be done
unplug device and press and hold volume down and power until you see twrp...
- keep system read only
- goto backup
- backup boot and swipe right, it will make boot backup in your sd card (it always recommended
- now goto install
- click flash IMAGE FILE button at bottom
- select KERNEL_CLEAN_41.3.B.1.140_XZs_SO-03J.img
- it will ask where to flash ... CHECK BOX "BOOT" ( BE CAREFUL )
- twrp will flash boot with provided kernel
- now click button FLASH ZIP file & flash DRMFIX.zip
- now flash Magisk17.x.zip
- now flash NIGHTLIGHT.zip (optional)
- clear cache
- poweroff and while powering off, select DONOT INSTALL TWRP.
press power on and let device boot, first boot may goto bootloops.
the device will now boot and check for MAGISK app in app drawer, if you can find it, GOOD, otherwise install MAGISK MANAGER 6.0.1.apk from your sd card
install rootchecker from playstore and check for root access
done
Click to expand...
Click to collapse
I have the same phone xzs docomo so-03j on the same build, is it ok if i flash this too or will it brick my phone? thank you
---------- Post added at 05:14 PM ---------- Previous post was at 05:10 PM ----------
Amirai17 said:
Sorry i take a long time to try it,
But i just try it n i can root my phone
for performance, not yet test it
no any trouble on process, but
i want to ask, what the use of nightlight?
Click to expand...
Click to collapse
How has it been? the performance? mine heats up akot when gaming and is even slower than my Softbank xperia xz I would like to root mine as well if it is good and if it is possible
other build number
YasuHamed said:
FROM THIS LINK
https://mega.nz/#F!eRh0TSiQ!j6FNfTsHpkw8DECUNRF5QQ
kindly copy into SDCARD of your mobile the following files
1. magisk17.2
2. drmFix.zip
3. NightLight.zip (optional)
4. magisk MANAGER 6.0.1.apk
and
then FLASH twrp to your XZs by Connecting in to Fastboot mode (BLUE LED) and opening "MINIMAL ADB AND FASBOOT"
you can download it from here https://forum.xda-developers.com/showthread.php?t=2317790
Code:
in adb type
FASTBOOT DEVICE (then enter)
<it will show some hex code, confirming your device is in fastboot mode connected>
now type
FASTBOOT FLASH RECOVERY <and drag twrp image file from DESKTOP to your black cmd window... it will come as path>
press enter and flashing will be done
unplug device and press and hold volume down and power until you see twrp...
- keep system read only
- goto backup
- backup boot and swipe right, it will make boot backup in your sd card (it always recommended
- now goto install
- click flash IMAGE FILE button at bottom
- select KERNEL_CLEAN_41.3.B.1.140_XZs_SO-03J.img
- it will ask where to flash ... CHECK BOX "BOOT" ( BE CAREFUL )
- twrp will flash boot with provided kernel
- now click button FLASH ZIP file & flash DRMFIX.zip
- now flash Magisk17.x.zip
- now flash NIGHTLIGHT.zip (optional)
- clear cache
- poweroff and while powering off, select DONOT INSTALL TWRP.
press power on and let device boot, first boot may goto bootloops.
the device will now boot and check for MAGISK app in app drawer, if you can find it, GOOD, otherwise install MAGISK MANAGER 6.0.1.apk from your sd card
install rootchecker from playstore and check for root access
done
Click to expand...
Click to collapse
why with different build number?
i have build number 41.3.B.1.113
or can i flash to global rom and what the side effect?
plz tell me how you root your xz. my xz 601so with allowed yes
Amirai17 said:
Sorry i take a long time to try it,
But i just try it n i can root my phone
for performance, not yet test it
no any trouble on process, but
i want to ask, what the use of nightlight?
Click to expand...
Click to collapse
Temporary root is now possible on the Xperia so-03j, I personally tested a few minutes ago.
Check this comment for instructions. And here instructions to create a launcher.
YasuHamed said:
FROM THIS LINK
https://mega.nz/#F!eRh0TSiQ!j6FNfTsHpkw8DECUNRF5QQ
kindly copy into SDCARD of your mobile the following files
1. magisk17.2
2. drmFix.zip
3. NightLight.zip (optional)
4. magisk MANAGER 6.0.1.apk
and
then FLASH twrp to your XZs by Connecting in to Fastboot mode (BLUE LED) and opening "MINIMAL ADB AND FASBOOT"
you can download it from here https://forum.xda-developers.com/showthread.php?t=2317790
Code:
in adb type
FASTBOOT DEVICE (then enter)
<it will show some hex code, confirming your device is in fastboot mode connected>
now type
FASTBOOT FLASH RECOVERY <and drag twrp image file from DESKTOP to your black cmd window... it will come as path>
press enter and flashing will be done
unplug device and press and hold volume down and power until you see twrp...
- keep system read only
- goto backup
- backup boot and swipe right, it will make boot backup in your sd card (it always recommended
- now goto install
- click flash IMAGE FILE button at bottom
- select KERNEL_CLEAN_41.3.B.1.140_XZs_SO-03J.img
- it will ask where to flash ... CHECK BOX "BOOT" ( BE CAREFUL )
- twrp will flash boot with provided kernel
- now click button FLASH ZIP file & flash DRMFIX.zip
- now flash Magisk17.x.zip
- now flash NIGHTLIGHT.zip (optional)
- clear cache
- poweroff and while powering off, select DONOT INSTALL TWRP.
press power on and let device boot, first boot may goto bootloops.
the device will now boot and check for MAGISK app in app drawer, if you can find it, GOOD, otherwise install MAGISK MANAGER 6.0.1.apk from your sd card
install rootchecker from playstore and check for root access
done
Click to expand...
Click to collapse
can i root my Xperia XZs AU version with these files that are attached in this post, or do i need different files ?
thank you @YasuHamed
5crypt said:
can i root my Xperia XZs AU version with these files that are attached in this post, or do i need different files ?
thank you @YasuHamed
Click to expand...
Click to collapse
Those files seem appropriate for stock rom release 41.3.B.1.140., so don't try unless you're running that specific version (quite outdated if you ask me).
But first make sure your bootloader can be unlocked. If that's the case, you may want to install a recent rom with root support, or check the guides for rooting stock rom. Be aware that with unofficial roms you might lose camera quality or have no cam support at all.
If you're stuck with an unlockable bootloader (like myself) your choices are much more limited. My current approach is having latest stock, disable bloatware apps, and use temporary root when needed.
thank you @dinosaur99 for your quick response, i got the one that cannot be unlocked, so i'm using the temp root method, but do you know how to gain temp root access without using adb (laptop or computer), and can i automate the temp root every after reboot ?
again thank you for your response, and looking forward from you
5crypt said:
thank you @dinosaur99 for your quick response, i got the one that cannot be unlocked, so i'm using the temp root method, but do you know how to gain temp root access without using adb (laptop or computer), and can i automate the temp root every after reboot ?
again thank you for your response, and looking forward from you
Click to expand...
Click to collapse
Good question! I wanted to create a launcher too!
So I just followed these instructions and it works fine. First you need to perform the following commands from computer (have a copy of the exploit file in working directory):
Bash:
adb push su98-memory-kallsyms /data/local/tmp/
adb shell
# Run this from inside the shell
chmod +x /data/local/tmp/su98-memory-kallsyms
/data/local/tmp/su98-memory-kallsyms
chcon u:object_r:system_file:s0 /data/local/tmp/su98-memory-kallsyms
Now reboot the phone, and the file /data/local/tmp/su98-memory-kallsyms should still be there. On your favourite console app, create a new terminal launcher/profile/whatever it's called and name it "Root terminal", then make it so it runs this command on shell login:
Bash:
/data/local/tmp/su98-memory-kallsyms
Note there's a trailing <Enter> key at the end of the command. I use Connectbot and it was necessary.
Cheers!
Edit:
By the way, the last line would be the equivalent to "sudo bash" in a computer. That means you can write a script with the root commands to be executed upon reboot. Example launcher:
Bash:
/data/local/tmp/su98-memory-kallsyms /data/local/tmp/my-script

Categories

Resources