[ROOT] [XZ] [STOCKKERNELS] [F8331-F8332]-[latest] 41.3.A.2.192 - 05-NOV-2018 - Sony Xperia XZ Guides, News, & Discussion

DEAR ALL
TO MAKE THINKS FASTER , I AM STARTING THIS THREAD.
A BIG THANKS TO
@serajr
@sToRm//
and ofcourse @tobias.waldvogel
WhatsApp Group[PLEASE PM ME]
REQUIREMENTS
1. SONY XPERIA XZ
2. UNLOCKED BOOTLOADER
3. IF YOU NEWLY PURCHASED XZ THEN BEFORE YOUR UNLOCK
PLEASE READ THIS FULL DHGE GUIDE THANKS TO @DHGE & RUN DIRTYCOW SCRIPT (ANDROID 6.0 ONLY) TO EXTRACT TA.IMG
YOU SHOULD CONSIDER READING.........
CHECK THIS POST BY @nathan30
SPECIAL THANKS
4. THE PROCESS OF MAKING ROOTED KERNEL CAN BE FOUND HERE THANKS TO @korom42
5. THESE ARE MODDED STOCK KERNELS AND NOTHING ELSE CHANGED ACCEPT, DRMFIXED , DMVARITY IS SET TO OFF, ENCRYPTION & SONY RIC DISABLED.
6. In one line, Flash Kernel, Flash magisk16.X (via Twrp) + DRM-Fix_System_Mode.ZIP , REBOOT and install magisk manager 5.x.apk
-------------> MASTER FOLDER CLICK HERE<-------------
OREO KERNELS
- F8331 & F8332 41.3.A.2.192- 05NOV2018 (------- LATEST )
- F8331 & F8332 41.3.A.2.184- 25SEPT2018
- F8331 & F8332 41.3.A.2.171 - 22AUG2018
- F8331 & F8332 41.3.A.2.157- 04JULY2018
- F8331 & F8332 41.3.A.2.107- 05APRIL2018
- F8331 & F8332 41.3.A.2.99 - 13MARCH2018
- F8331 & F8332 41.3.A.2.75 - 01MARCH2018
- F8331 & F8332_41.3.A.2.58 - FEB2018
- F8332_41.3.A.0.401_8.0.0 DEC2017
1. FLASHthe provided kernelS F833X_41.3.A.X.XX_CLEAN.img ( via flashtool ) in fastboot mode
OR
1. FLASH TWRP, goto install-- & click INSTALL IMAGE and select the kernel ".img" file , twrp will display PARITITIONS, select BOOT , twrp will flash the kernel.
2. FLASH twrp-3.2.3-0-kagura.img (via adb command) in fastboot mode (if you havent already)
3. from TWRP flash given Magisk17.X.zip & magisk_selinux_manager_v1.0 (PERMISSIVE) (OPTIONAL)
4. FLASH PROVIDED DRM-Fix_System_Mode.ZIP
5. FLASH optional MODS (if required) - nightlight.zip will activate the screen TINT feature
6. CLEAN CACHE and REBOOT
7. LATER INSTALL GIVEN MAGISK MANAGER_X.X.X.apk
DONE
NOUGAT KERNELS
-F833X_41.2.A.7.76_7.1.1_NOV2017 (LAST NOUGAT)
1. Flash the provided kernel F833x_41.2.A.7.76_CLEAN.img ( via flashtool ) in fastboot mode
2. Flash twrp-3.2.2kagura.img (via adb command) in fastboot mode
3. from twrp flash given (a) SR5-SuperSU-v2.82-SR5-20171001224502.zip - OR - Magisk-v16.X.zip
4. FLASH optional zip (if required)
5. clean cache and reboot
6. install given magisk_5.5.5.apk (if you flashed Magisk in point 3
DONE
MARSHMELLOW (MM) KERNELS
1. MM KERNEL - ANDROID 6.X.X F8331 & F8332 39.0.A.1.213_6.01_OCT2016
-if you just purchased XZ and its NOT on Android6 then you must downgrade to android 6 in order to extract TA.img. simply run Dirtycow script and you will have your TA.img in same folder CLICK HERE.
- after having TA.img extracted if you want to keep your device on android 6 for whatever reason then simply
1. Flash the provided kernel F833x_39.0.A.1.213_CLEAN.img ( via flashtool ) in fastboot mode
2. Flash twrp-3.2.2-0-kagura.img (via adb command) in fastboot mode
3. from twrp flash given (a) SR5-SuperSU-v2.82-SR5-20171001224502.zip - OR - Magisk-v16.X.ziP
4. FLASH optional MODS (if required)
5. clean cache and reboot
6. LATER INSTALL GIVEN MAGISK MANAGER_5.8.X.apk (IF you flashed magisk in point3)
DONE
NOTES
BASED ON MY PERSONAL EXPERIENCE WITH SONY DEVICES
1. ITS ALWAYS BEST TO REBOOT THE DEVICE SIGN IN TO GOOGLE ETC AND THEN SHUT DOWN DEVICE BEFORE FLASHING ANY KERNEL & RECOVERY
2. ALL KERNELS PROVIDED ARE PATCHED USING SCRIPT BY SIR @serajr
3. FLASHTOOL MUST BE LASTEST AND ALL DRIVERS MUST BE INSTALLED
4. IF FOR ANY REASON YOU HAVE A BRICK DEVICE AND / OR BOOTLOOPS THEN PRESSING POWER+VOLUMEUP KEYS FOR 15SECONDS, SHUTS THE DEVICE DOWN FOR YOU TO CONNECT THE DEVICE IN FASHMODE AND FLASH THE FTF AGAIN.
5. FOR DETAILED PRETEXT PLEASE CHECK THIS POST
6. AND FOR FLASHING PLEASE CHECK THIS POST ALSO ​
STANDARD DISLAIMER STATMENT APPLIES

Can we use this with @niaboc79 's eXzistenZ rom?

Mazellat said:
Can we use this with @niaboc79 's eXzistenZ rom?
Click to expand...
Click to collapse
Useless I did it with the same tool. Also the eXistenZ kernel a something else
Envoyé de mon F8331 en utilisant Tapatalk

Which is the "optional zip" and when is needed to flash it?
And OP said we use magisk 15. I thought magisk 15 root and drm fix can't be done simultaneously?
So this will be the first working method if really works.

if i fastboot the kernel only it will wipe all my apps and contacts?

jamesuriel0915 said:
if i fastboot the kernel only it will wipe all my apps and contacts?
Click to expand...
Click to collapse
No
Verstuurd vanaf mijn G8231 met Tapatalk

hey can you please update to support firmware .75

jamesuriel0915 said:
if i fastboot the kernel only it will wipe all my apps and contacts?
Click to expand...
Click to collapse
no it wont. it will only flash kernel partition.
but make sure you are flashing correct kernel

snake218 said:
Which is the "optional zip" and when is needed to flash it?
And OP said we use magisk 15. I thought magisk 15 root and drm fix can't be done simultaneously?
So this will be the first working method if really works.
Click to expand...
Click to collapse
for OREO , you must flash the drmfixzip file

nolihowell said:
hey can you please update to support firmware .75
Click to expand...
Click to collapse
done sir

Thanks, worked with march update, used magisk 16

snake218 said:
Thanks, worked with march update, used magisk 16
Click to expand...
Click to collapse
hello there's something wrong with your kernel ive tried it with my Xperia xz dual only shows that i only have 32gb of internal storage im using it with magisk 16.

nolihowell said:
hello there's something wrong with your kernel ive tried it with my Xperia xz dual only shows that i only have 32gb of internal storage im using it with magisk 16.
Click to expand...
Click to collapse
I had that issue too. You need to boot into TWRP and wipe your user partition. Then, when you reboot, you should see 64 GB but it does reset all your data and apps etc. so backup before you do that.

thank so much, it's working

thanks, kernel is working fine!

Dear Developer,
Here we need some more modification of double tap wake up prevention in pocket.
I got something
<!-- Whether UI for multi user should be shown -->
<bool name="config_enableMultiUserUI">true</bool>
+
+ <bool name="config_proximityCheckOnWake">true</bool>
+ <integer name="config_proximityCheckTimeout">10</integer>
(with 10 second of time out insted of 400sec)
This modification may be need in kernel.
Please make some changes for Double Tap Wakeup prevention with proximity sensor.

This kernel work @niaboc79 's eXzistenZ rom?

I just D-bloat my stock rom by uninstalling one after another unwanted apps from rom even oem apps too so I can install modded gameloft apps, I did not flash any port mod.
I just need enable double tap wake up prevention in pocket.
lehuuhieu said:
This kernel work @niaboc79 's eXzistenZ rom?
Click to expand...
Click to collapse

xperia xz dual F8332 41.3.A.2.107 Reboot again again
how to install xposed installer with magisk when i install and reboot xposed installer my xperia xz dual F8332 41.3.A.2.107 reboot agian again with xperia logo please reply anyone thanks advanced
---------- Post added at 07:52 AM ---------- Previous post was at 07:50 AM ----------
xperia xz dual F8332 41.3.A.2.107 is after the root not working recovery when i flash the twrp-3.2.1-0-kagura than boot only .. when i restart not boot

After flashing Kernel 41.3.A.2.107 , I'm stuck on black on white Sony Logo , any solution for that ?

Related

[Stock][Z2(D6503) 6.0.1 Marshmallow][.570][Prerooted+ TWRP + Xposed][LB]

Hello Friends,
today I'd like to show you how to upgrade your Z2 (D6503) w/ locked Bootloader to the latest 6.0.1 Marshmallow STOCK + TWRP + (optional)Xposed Framework.
First of all I'd like to thank those people for their work:
@adop40 for the overall idea
@serajr for making the Marshmallow TWRP that works with locked Bootloader
@Victor91rus for uploading the .570 firmware I used to make the flashable .zip
@ravdo & @niaboc79 for the Bootloop Fix Guide & Bootloopfix.zip
Checklist for the things you need​1. A Z2 phone running the latest Lollipop STOCK + Root + Busybox+ [NUT]'s Dual Recovery (If you don't have root, search for kingroot and root your device, after that install [NUT]'s Dual Recovery)
2. Download Bootloop Fix from HERE
3. Download my Marshmallow Package with the required files here: DOWNLOAD [MEGA] OR if you wanna use your own flashable rom just download the files without rom here: DOWNLOAD [MEGA]
4. Make a backup of your device
5. Install latest adb drivers and enable USB Debugging + Unknown Sources
6. IF you have Xposed Framework installed on Lollipop download the uninstaller from HERE
choose xposed-uninstaller-********-arm.zip
Installing Guide using Sonys Official ROM (Easy and Safe Version)​1. Extract the zip files (flashable.zip, byeselinux_flashable.zip, RICDefeat.zip) from the marshmallow.zip + BOOTLOOP FIX.zip onto your SD Card and copy the Recovery Folder (Z2_MM_TWRP) to your Desktop + IF you have the Xposed Framework installed copy the xposed-uninstaller-********-arm.zip also to your SD card
2. Boot your phone into Recovery Mode DO A FACTORY RESET FIRST(Optional: You can TRY to keep your apps + data and just DO NO FACTORY RESET AT ALL which maybe works(for me it did) but create a backup first) and THEN flash the zip files in this order: (xposed-uninstaller-********-arm.zip) => flashable.zip => byeselinux_flashable.zip => RICDefeat.zip => BOOTLOOP FIX.zip
3. Wipe Cache & Dalvik and REBOOT
3.1. Flash the kernel only using flashtool using the ftf (exclude everything except Kernel) and then boot (First boot may take a while because we cleaned the Dalvik-Cache)
4. After the reboot INSTALL BUSYBOX(Open App and hit Install) and then connect your phone to the PC and run the install.bat from the Z2_MM_Recovery folder (Accept any prompt popping up on your phone)
5. Phone will reboot into recovery when successfull, then you're done
6. Enjoy
Installing Guide using a different ROM (Try at your own risk/confirmed working ROMs at Threadbottom)​1. Extract the zip files (BETA-SuperSU-v2.68.zip, byeselinux_flashable.zip, RICDefeat.zip) from the "marshmallow without ROM.zip" + BOOTLOOP FIX.zip onto your SD Card, copy your "customROM.zip" onto your SD card and copy the Recovery Folder (Z2_MM_TWRP) to your Desktop + IF you have the Xposed Framework installed copy the xposed-uninstaller-********-arm.zip also to your SD card
2. Boot your phone into Recovery Mode DO A FACTORY RESET FIRST(Optional: You can TRY to keep your apps + data and just DO NO FACTORY RESET AT ALL which maybe works(for me it did) but create a backup first) and THEN flash the zip files in this order: (xposed-uninstaller-********-arm.zip) => customROM.zip => BETA-SuperSU-v2.68.zip => byeselinux_flashable.zip => RICDefeat.zip => BOOTLOOP FIX.zip
3. Wipe Cache & Dalvik and REBOOT
3.1. Flash the kernel only using flashtool using the ftf (exclude everything except Kernel) and then boot (First boot may take a while because we cleaned the Dalvik-Cache)
4. After the reboot INSTALL BUSYBOX(Open App and hit Install) and then connect your phone to the PC and run the install.bat from the Z2_MM_Recovery folder (Accept any prompt popping up on your phone)
5. Phone will reboot into recovery when successfull then you're done
(optional) Xposed Framework for Marshmallow​If you wanna use Xposed Framework on Marshmallow you need to do two more extra things:
Prerequisites:
Z2 with working Marshmallow + Root + TWRP INSTALLED
XposedInstaller.apk You can find it HERE
XposedFramework.zip You can find it HERE (Download the LATEST one)
How to install:
1. Install the XposedInstaller.apk
2. Reboot into TWRP and flash the XposedFramework.zip
3. Wipe Cache & Dalvik and Reboot
4. Enjoy
Confirmed working custom ROMs​[ROM]Marshmallow_Stock_570_ROM_Ultraslim (Full deodxed)​
If you have any questions or find MISTAKES just message me I'll try to keep the thread updated :good:
Don't forget to flash the bootloopfix.zip or you'll have a bad time!!!​
Downloading.....i can't wait to test
Sent from my D6502 using Tapatalk
waiting for xposed
Would it be a problem if I upgrade from 23.4.Α.1.232?
konstantinos3 said:
Would it be a problem if I upgrade from 23.4.Α.1.232?
Click to expand...
Click to collapse
Should work, but do a backup first
Sent from my D6503 using XDA-Developers mobile app
i install TWRP but i don't see it in my [email protected]@
i upgraded from latest lollipop, however i cant use my phone because just when i press first number from pincode, my phone restarts. it does it everytime.
marco_nguyen said:
i install TWRP but i don't see it in my [email protected]@
Click to expand...
Click to collapse
Install busybox and then reinstall TWRP
Sent from my D6503 using XDA-Developers mobile app
Lawido said:
i upgraded from latest lollipop, however i cant use my phone because just when i press first number from pincode, my phone restarts. it does it everytime.
Click to expand...
Click to collapse
Hmm dats weird did u clean dalvik after flashing?
Sent from my D6503 using XDA-Developers mobile app
fertsch said:
Hmm dats weird did u clean dalvik after flashing?
Sent from my D6503 using XDA-Developers mobile app
Click to expand...
Click to collapse
yes i did, also restarts phone instantly if i have usb plugged in when i power it on.
Lawido said:
i upgraded from latest lollipop, however i cant use my phone because just when i press first number from pincode, my phone restarts. it does it everytime.
Click to expand...
Click to collapse
Use the instructions posted here : http://forum.xda-developers.com/showpost.php?p=66284886&postcount=413
Lawido said:
yes i did, also restarts phone instantly if i have usb plugged in when i power it on.
Click to expand...
Click to collapse
try AlanDS way first
fertsch said:
If u have a backup, factory reset and then reflash from sd card as explained above
Click to expand...
Click to collapse
ive got backup, however i did find only one tft and its link was dead. i also tried to make own but then flashtool didint give options to exclude anything from flashing.
I have the same bootloop problem. The fix didn't work for me. Any other ideas? Or does it matter which MM ftf I use?
fertsch said:
Install busybox and then reinstall TWRP
Sent from my D6503 using XDA-Developers mobile app
Click to expand...
Click to collapse
it not work.
Use the flashable.zip from my download that works for me
Sent from my D6503 using XDA-Developers mobile app
fertsch said:
Use the flashable.zip from my download that works for me
Sent from my D6503 using XDA-Developers mobile app
Click to expand...
Click to collapse
ok. i'll try it. thank you
great work.
I followed the instructions and it works great, good job, thank you very much, i'll wait for xposed too!
D6502?

ROOTED STOCK KERNELS 1APRIL2017- 32.3.A.2.33 (E6833 E6853 E6883)+ twrp

UPDATE 1-APRIL-2017
I am updating repository for stock modified kernels+twrp3.02 installed for 32.3.A.2.33
https://mega.nz/#F!7VwRCaLQ!GNKLGiggp_TebbBRO1QSug
32.3.A.2.33 for all variants (E6833 E6853 E6883) + twrp Installed
I have used following configuration
Code:
- Unpacking initramfs
- Detected platform: 64-bit
- Detected Android version: 7.0
- dm-verity is enabled. Disable? (Say yes if you modify /system) [Y/n] Y
Disabling dm-verity
- Sony RIC is enabled. Disable? [Y/n] Y
Disabling Sony RIC
- Install TWRP recovery? [Y/n] Y
Installing TWRP
Compressing TWRP image
- Found superuser.zip. Install? [Y/n] N
- Install DRM fix? [Y/n] Y
- Install busybox? [Y/n] N
- Creating new initramfs
- Creating boot image
- Cleaning up
-----------------------------------------------------------------------------------------------
I have been asked to SIMPLY state down Root method for
- Xperia z5p on 32.3.A.0.376 Android N- all three variants (E6833 E6853 E6883)
- Xperia z5p on 32.3.A.0.378 Android N - E6853 ( NOBA) (EU)
Prerequisites
1. you are running 32.3.A.0.376 and usb debugging from developer options is ON. IF YOU DON"T KNOW HOW TO ENABLE USB DEBUGGING then THIS POST IS NOT FOR YOU. PLEASE READ POSTS (referenced below) TO UNDERSTAND FLASHING TECHNIQUES
2 unlocked boot loader
3. if DRM KEYS / TA.img you have manage to extract some how then read below post having details to restore
Reference
all kernels are modified using kit by @tobias.waldvogel , 5.21 / 5.22 and E6883 by 5.23
https://forum.xda-developers.com/xp...oot-automatic-repack-stock-kernel-dm-t3301605
https://forum.xda-developers.com/z5...ting-xperia-z5-z5p-variants-drm-keys-t3437902
METHOD
please download
1. 32.3.A.0.376_E68XX.img of your variant
2. superuser-r259 (put it in sdcard)
2a. phh_SuperUser_v1.0.3.3.apk (put it in sdcard)
3. if you want to use SUPERSU then skip 2 and 2a then download UPDATE-SuperSU-v2.79-20161211114519.zip and put it in sdcard
4. flash the KERNEL , reboot into recovery
5 flash superuser-r259 OR superSU
5a. reboot mobile and and install superuser.apk
6. if you had flashed superSU then skip "5a"
repository https://mega.nz/#F!3FYhTbSC!9MraM-zYNRNMPzmTkSSs9g
MAKE /SYSTEM WRITABLE
in order to remove system apps and install ADAWAY
from playstore
1. install busybox, open, grant it root access, INSTALL
2. install terminal for android, open and
type these lines and enter one by one in terminal
Code:
Code:
su
mount -o rw,remount /system
DONE
Code:
- dm-verity is enabled. Disable? (Say yes if you modify /system) [Y/n] Y
- Sony RIC is enabled. Disable? [Y/n] Y
- Install TWRP recovery? [Y/n] Y
- Install kcal kernel module? [Y/n] N
- Install DRM fix? [Y/n] Y
- Install busybox? [Y/n] N
thanking members for providing kernels @ytheekshana @luongvancanh , @ayhanornek , @atif_afzal , @ayhanornek
Thank you, it was simpler.
thanks great work. keep this
Great
Thank you for your instructions!
I have some questions in order to make clear some issues:
1) I am at 32.2.A.0.253 rooted by your method in the other post. Should I update to Nougat first and then do this process?
2) What about the DRM keys? Were they lost? Were they "imaged"? Will they be lost now with this process?
konstantinos3 said:
Thank you for your instructions!
I have some questions in order to make clear some issues:
1) I am at 32.2.A.0.253 rooted by your method in the other post. Should I update to Nougat first and then do this process?
2) What about the DRM keys? Were they lost? Were they "imaged"? Will they be lost now with this process?
Click to expand...
Click to collapse
sir
you are on oct2016 version of MM, .305 came in december16, .372 in jan17 and now inf feb .376 is the latest one.
1. YES you MUST upgrade to 32.3.A.0.376 to do the process explained above. (i.e. if you want to upgrade)
2. I am assuming that your BOOTLOADER is LOCKED and you NEVER send your imei keys to SONY asking for BOOTUNLOCKER code.
if yes then
- your DRM KEYS are intact. and you cannot ROOT it and the process above is NOT for you.
- in order to have root access, you must first research and find tools such as dirty cow script in order to EXTRACT drm KEYS -- OR downgrade to android 5.1.1 (Dec 2015 stockrom of Z5x) and use Ivory ROOT or KINGROOT to gain root access and EXTRACT DRMKEYS.
- at this point if you simply unlock your bootloader, your DRM KEYS and TA img will be wiped.
YasuHamed said:
sir
you are on oct2016 version of MM, .305 came in december16, .372 in jan17 and now inf feb .376 is the latest one.
1. YES you MUST upgrade to 32.3.A.0.376 to do the process explained above. (i.e. if you want to upgrade)
2. I am assuming that your BOOTLOADER is LOCKED and you NEVER send your imei keys to SONY asking for BOOTUNLOCKER code.
if yes then
- your DRM KEYS are intact. and you cannot ROOT it and the process above is NOT for you.
- in order to have root access, you must first research and find tools such as dirty cow script in order to EXTRACT drm KEYS -- OR downgrade to android 5.1.1 (Dec 2015 stockrom of Z5x) and use Ivory ROOT or KINGROOT to gain root access and EXTRACT DRMKEYS.
- at this point if you simply unlock your bootloader, your DRM KEYS and TA img will be wiped.
Click to expand...
Click to collapse
Thank you for your immediate answer.
In my post above, I wrote that I have my device rooted following your initial method, in which unlocking the bootloader is necessary, so my BL is certainly unlocked.
After rooting, I hadn't restored DRM keys, because the kernel has simulation.
So the question remains: what shall I do now about the DRM keys during this process?
Thank you very much in advance
konstantinos3 said:
Thank you for your immediate answer.
In my post above, I wrote that I have my device rooted following your initial method, in which unlocking the bootloader is necessary, so my BL is certainly unlocked.
After rooting, I hadn't restored DRM keys, because the kernel has simulation.
So the question remains: what shall I do now about the DRM keys during this process?
Thank you very much in advance
Click to expand...
Click to collapse
Sir
i am sorry i overlooked the part you mentioning your Root / UB status.
the answer is NO its not necessary! since the modified kernels have DRM FIX, it should work just fine.
please upgrade to .376 and flash your kernel, install superuser or superSU.
later to give /system RW access, please follow the codes to be run in TERMINAL for ANDROID app.
YasuHamed said:
I have been asked to SIMPLY state down Root method for
- Xperia z5p update on 32.3.A.0.376 Android N
I have patched kernels and all three variants (e6833 e6853 e6883)
Prerequisites
1. you are running 32.3.A.0.376 and usb debugging from developer options is ON. IF YOU DON"T KNOW HOW TO ENABLE USB DEBUGGING then THIS POST IS NOT FOR YOU. PLEASE READ POSTS (referenced below) TO UNDERSTAND FLASHING TECHNIQUES
2 unlocked boot loader
3. if DRM KEYS / TA.img you have manage to extract some how then read below post having details to restore
Reference
all kernels are modified using kit by @tobias.waldvogel , 5.21 / 5.22 and E6883 by 5.23
https://forum.xda-developers.com/xp...oot-automatic-repack-stock-kernel-dm-t3301605
https://forum.xda-developers.com/z5...ting-xperia-z5-z5p-variants-drm-keys-t3437902
METHOD
please download
1. 32.3.A.0.376_E68XX.img of your variant
2. superuser-r259 (put it in sdcard)
2a. phh_SuperUser_v1.0.3.3.apk (put it in sdcard)
3. if you want to use SUPERSU then skip 2 and 2a then download UPDATE-SuperSU-v2.79-20161211114519.zip and put it in sdcard
4. flash the KERNEL , reboot into recovery
5 flash superuser-r259 OR superSU
5a. reboot mobile and and install superuser.apk
6. if you had flashed superSU then skip "5a"
repository https://mega.nz/#F!3FYhTbSC!9MraM-zYNRNMPzmTkSSs9g
MAKE /SYSTEM WRITABLE
in order to remove system apps and install ADAWAY
from playstore
1. install busybox, open, grant it root access, INSTALL
2. install terminal for android, open and
type these lines and enter one by one in terminal
Code:
Code:
su
mount -o rw,remount /system
DONE
thanking members for providing kernels @ytheekshana @luongvancanh , @ayhanornek , @atif_afzal , @ayhanornek
Click to expand...
Click to collapse
Thanks for your help.
I have just flash 32.3.A.0.376_E6883.img, ok.
But It cannot into recovery mode (I press power+vol down button when restart phone)
I don't kown the file 32.3.A.0.376_E6883.img included recovery or not yet!
Please help me: Do I need flash recovery files? And where link can I download recovery files?
Thanks for next help.
You need to install drmky after you are root.
luongvancanh said:
Thanks for your help.
I have just flash 32.3.A.0.376_E6883.img, ok.
But It cannot into recovery mode (I press power+vol down button when restart phone)
I don't kown the file 32.3.A.0.376_E6883.img included recovery or not yet!
Please help me: Do I need flash recovery files? And where link can I download recovery files?
Thanks for next help.
Click to expand...
Click to collapse
just press power button,
on sony logo, press volume up / down and as LED turns AMBER, you will be taken to twrp
YasuHamed said:
I have been asked to SIMPLY state down Root method for
- Xperia z5p update on 32.3.A.0.376 Android N
I have patched kernels and all three variants (e6833 e6853 e6883)
Prerequisites
1. you are running 32.3.A.0.376 and usb debugging from developer options is ON. IF YOU DON"T KNOW HOW TO ENABLE USB DEBUGGING then THIS POST IS NOT FOR YOU. PLEASE READ POSTS (referenced below) TO UNDERSTAND FLASHING TECHNIQUES
2 unlocked boot loader
3. if DRM KEYS / TA.img you have manage to extract some how then read below post having details to restore
Reference
all kernels are modified using kit by @tobias.waldvogel , 5.21 / 5.22 and E6883 by 5.23
https://forum.xda-developers.com/xp...oot-automatic-repack-stock-kernel-dm-t3301605
https://forum.xda-developers.com/z5...ting-xperia-z5-z5p-variants-drm-keys-t3437902
METHOD
please download
1. 32.3.A.0.376_E68XX.img of your variant
2. superuser-r259 (put it in sdcard)
2a. phh_SuperUser_v1.0.3.3.apk (put it in sdcard)
3. if you want to use SUPERSU then skip 2 and 2a then download UPDATE-SuperSU-v2.79-20161211114519.zip and put it in sdcard
4. flash the KERNEL , reboot into recovery
5 flash superuser-r259 OR superSU
5a. reboot mobile and and install superuser.apk
6. if you had flashed superSU then skip "5a"
repository https://mega.nz/#F!3FYhTbSC!9MraM-zYNRNMPzmTkSSs9g
MAKE /SYSTEM WRITABLE
in order to remove system apps and install ADAWAY
from playstore
1. install busybox, open, grant it root access, INSTALL
2. install terminal for android, open and
type these lines and enter one by one in terminal
Code:
DONE
thanking members for providing kernels @[email protected] , @ayhanornek , @atif_afzal , @ayhanornek
Click to expand...
Click to collapse
You might want to replace phh superuser with Magisk, I think it's been deprecated (at least topjohnwu's fork has been merged directly into Magisk)
exvargos said:
You might want to replace phh superuser with Magisk, I think it's been deprecated (at least topjohnwu's fork has been merged directly into Magisk)
Click to expand...
Click to collapse
I will try and let you know, so far the superuser support was only given because superSU having problems with battery drainage and reading sdcard in some cases
Thank you,
I work, does anyone know where the terminal on busybox?
Can u suggest me which busybox to instal? So many busybox on playstore..
kendork said:
Thank you,
I work, does anyone know where the terminal on busybox?
Click to expand...
Click to collapse
Terminal is another apk.. Not on busybox..
YasuHamed said:
just press power button,
on sony logo, press volume up / down and as LED turns AMBER, you will be taken to twrp[/QUOTE
Thank for YasuHamed, press volume up will be taken to twrp. We can not use volume down.
Click to expand...
Click to collapse
luongvancanh said:
YasuHamed said:
just press power button,
on sony logo, press volume up / down and as LED turns AMBER, you will be taken to twrp[/QUOTE
Thank for YasuHamed, press volume up will be taken to twrp. We can not use volume down.
Click to expand...
Click to collapse
i will keep that in mind
thank you
Click to expand...
Click to collapse
kendork said:
Thank you,
I work, does anyone know where the terminal on busybox?
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=stericson.busybox
here terminal. https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=tr
This program should come to the device originally because android linux already, but unfortunately they do not install.

Root Xperia X - F5121 - F5122 _ 34.3.A.0.206 - 7.1.1

THIS POST IS EXTENSION TO
https://forum.xda-developers.com/xp...t-xperia-x-f5122-android-n-34-2-2-47-t3594502
please read carefull and flash kernel for the LATEST UPDATE 34.3.A.0.206 - 7.1.1 for F5122
Code:
[SIZE="5"]
-if you don't have th 34.3 fsc script , i have included in the folder
-also i have inclused mixer_paths_wcd9335.xml, on 98% VOLUME level, IF you think sound output is LOW,,, just REPLACE it from /system/etc folder!
- :)
[/SIZE]
for F5122_34.3.A.0.206 - 7.1.1 - july2017 update
UPDATED KERNELS
F5121 IS AT https://mega.nz/#F!HcZmTIhR!0oCiMfh9uT-AdHp-bdSqZw (THANKS TO @velemas)
F5122 IS AT https://mega.nz/#F!fRBEVS5C!QjT-TgxZc9FYwAbh-F5IgA
root directory
https://mega.nz/#F!aZAljazZ!zNLnLxH6flBxUsaTb167Jw
I hope the author can later out of a original card with the root card brush, do not need the actual function
how would i flash this ? newbie here but unsure on what the fsc script is for ? how do you flash all files ?
---------- Post added at 09:21 PM ---------- Previous post was at 09:18 PM ----------
does bootloader need to be unlocked as well ?
Why "F5122 su" image in folder for F5121 ?
And not bad if after rooting I flashed my ta back again?
wmcdrugs said:
Why "F5122 su" image in folder for F5121 ?
Click to expand...
Click to collapse
I am sorry, I fixed
it was typo, the kernel is F5121 / with SU / securities OFF / DrmFixed
Hi I just started using Xperia X Dual (F5122), earlier I was using rooted Asus Zenfone with custom ROMs. But rooting Xperia seems a bit different from what I used to with zenfone.
I have few questions
What is this DRM key backup and restore? And my phone came with 7.1 preinstalled so is there a different procedure??
Where do I start? First root then backup the DRM keys? When will I need them again?
I have asked a lot of questions but I was reading all the threads here but I am getting more confused.
I want to root and try custom ROMs. Thanks
kloroform said:
Hi I just started using Xperia X Dual (F5122), earlier I was using rooted Asus Zenfone with custom ROMs. But rooting Xperia seems a bit different from what I used to with zenfone.
I have few questions
What is this DRM key backup and restore? And my phone came with 7.1 preinstalled so is there a different procedure??
Where do I start? First root then backup the DRM keys? When will I need them again?
I have asked a lot of questions but I was reading all the threads here but I am getting more confused.
I want to root and try custom ROMs. Thanks
Click to expand...
Click to collapse
backup the drm key first before unlock bootloader, backup first!!!!!!!!!
hello
my phone is unlocked bootloader, How can I root? I flash with flashtool the boot_f5121_34.3.A.0.206_7.1.1_su.img and done?
What's the difference between clean and SU? which one is better ?
thank you
edit:
a flash the img and the phone is ROOTED, thank you if i would like twrp how is that possible ?
Hi
I have an Xperia X (F5121) running Android 7.0 build n. 34.2.A.0.333
I've already unlocked the bootloader without backing up the drm keys (my mistake, i know now)
My questions are:
- can i flash this kernel?
- would it fix the drm keys?
- do i have to downgrade first to MM (Android 6) - i ask this because the author says this post is an extension of a post that says so
Thanks in advance
tiagotsimoes said:
Hi
I have an Xperia X (F5121) running Android 7.0 build n. 34.2.A.0.333
I've already unlocked the bootloader without backing up the drm keys (my mistake, i know now)
My questions are:
- can i flash this kernel?
- would it fix the drm keys?
- do i have to downgrade first to MM (Android 6) - i ask this because the author says this post is an extension of a post that says so
Thanks in advance
Click to expand...
Click to collapse
please flash F5121 with 34.3.A0.206 / 7.1.1 using flashtool. i have put the fsc script if you get error.
once flashed, please flash the kernel of F5121 and reboot.
the device will boot having
- drm fix /ok
- supersu / ok
however you must give /system rw permission via terminal (after installing busybox)
https://forum.xda-developers.com/xperia-z5/general/z5-making-writable-32-3-0-372-root-t3551067
if you didn't get chance to extract your ta.img, I guess for X is ok, because this device may not goto Android O and till 7.1.1 we have kernel that has drm fix.
YasuHamed said:
please flash F5121 with 34.3.A0.206 / 7.1.1 using flashtool. i have put the fsc script if you get error.
once flashed, please flash the kernel of F5121 and reboot.
the device will boot having
- drm fix /ok
- supersu / ok
however you must give /system rw permission via terminal (after installing busybox)
https://forum.xda-developers.com/xperia-z5/general/z5-making-writable-32-3-0-372-root-t3551067
if you didn't get chance to extract your ta.img, I guess for X is ok, because this device may not goto Android O and till 7.1.1 we have kernel that has drm fix.
Click to expand...
Click to collapse
Thank you very much sir . I'll I'll give it a try
YasuHamed said:
please flash F5121 with 34.3.A0.206 / 7.1.1 using flashtool. i have put the fsc script if you get error.
once flashed, please flash the kernel of F5121 and reboot.
the device will boot having
- drm fix /ok
- supersu / ok
however you must give /system rw permission via terminal (after installing busybox)
https://forum.xda-developers.com/xperia-z5/general/z5-making-writable-32-3-0-372-root-t3551067
if you didn't get chance to extract your ta.img, I guess for X is ok, because this device may not goto Android O and till 7.1.1 we have kernel that has drm fix.
Click to expand...
Click to collapse
Yasu, can you make one with magisk root? It would be awesome
Topheman said:
Yasu, can you make one with magisk root? It would be awesome
Click to expand...
Click to collapse
for Magisk
you must first
1. clean flash your xperia x using flashtool and wipe all partitions ( meaning you will loose data)
2. don't boot you device after clean flashing
3. now flash recovery twrp 3.1 ( see forum there is methon given)
4. flash kernel ( given in th OT) or if you want to have kernel with NO superSU for magisk, and you want to FLASH SUPERSU using twrp 3.1.... give me your kernel.sin , and i will make kernel for u having NO superSU
5. now boot in twrp by keep presSING power and volum down keys until you see pink led and you are prompted to twrp
6. flash magisk and supersu ( which must be in your sdcard since before beginning)
7 clean delvik cache and cache
8 reboot in to system
remember if you didn't follow step two, xperia x rom will ENCRYPT your internal partition and you will get error in twrp. so its very important that you boot after doing everything! once booted the partition / internal storage will be encrypted by sony. and twrp no longer work...
YasuHamed;73340126
remember if you didn't follow step two said:
I think new update in twrp resolves encryption problem
Click to expand...
Click to collapse
hhjadeja007 said:
I think new update in twrp resolves encryption problem
Click to expand...
Click to collapse
i tried with Twrp3.1 and i got internel storage cannot access error
YasuHamed said:
for F5122_34.3.A.0.217 - 7.1.1 - 8Aug2017 update
F5122 IS AT https://mega.nz/#F!iUB00abB!N7sDP1pv33ZCEC76j3RkYQ
F5121 .. please send me kernels, i will make
Click to expand...
Click to collapse
Hello
For F5121 can i use this one https://mega.nz/#F!aZAljazZ!zNLnLxH6flBxUsaTb167Jw!ndYB3biS ??
BiaBertK said:
Hello
For F5121 can i use this one https://mega.nz/#F!aZAljazZ!zNLnLxH6flBxUsaTb167Jw!ndYB3biS ??
Click to expand...
Click to collapse
I tried it with Customized DE firmware and the system boots.
Kernel version is Fri Jul 14 10:49:28 2017
I can't recall if it's from v206 or a newer one.
@YasuHamed did you try my TWRP?
eagleeyetom said:
Kernel version is Fri Jul 14 10:49:28 2017
I can't recall if it's from v206 or a newer one.
Click to expand...
Click to collapse
Thanks for the info
The Kernel version is newer v206
I will test it tomorrow
BiaBertK said:
Hello
For F5121 can i use this one https://mega.nz/#F!aZAljazZ!zNLnLxH6flBxUsaTb167Jw!ndYB3biS ??
Click to expand...
Click to collapse
yes please
https://forum.xda-developers.com/xp...ot-xperia-x-f5121-f5122-34-3-0-217-7-t3654368

[GUIDE][Oreo 8.0] Stock Kernel + ROOT + TWRP + DRM Fix | 41.3.A.2.157

Stock Kernel + ROOT + TWRP + DRM Fix​
Code:
** Your warranty is now void.
**
** I am not responsible for bricked devices, dead SD cards,
** thermonuclear war, or you getting fired because the alarm app failed. Please
** do some research if you have any concerns about features included in this MOD
** before flashing it! You are choosing to make these modifications, and if
** you point the finger at me for messing up your device, I will laugh at you.
**
Update July 31, 2018
This thread is marked as discontinued. This means that It won't be updated so don't bother asking and I will not publish any more posts here or contribute to the general discussion. However, I might add files from time to time if necessary.
Requirements
If you haven't unlocked bootloader yet check this guide
Good News ! If you have TA.img backup of your device I highly suggest using this tool to patch stock kernel using your own TA image to have drm working with latest Magisk 16.3. Follow TA_POC METHOD instructions below .
- Kernel (boot.img) + Magisk + DRM fix patch
https://drive.google.com/open?id=1wv-Djz38wT_gywlJZPFPG13dATP90-E8
- Latest TWRP from here
And obviously :
- ADB and FASTBOOT : https://forum.xda-developers.com/showthread.php?t=2317790
- Xperia XZ drivers : https://developer.sonymobile.com/downloads/drivers/xperia-xz/
- FlashTool : http://www.flashtool.net/downloads.php
What are DRM Keys ?
If you unlocked the bootloader on a Sony Xperia device, you probably know that the potential loss of warranty is not the only disadvantage you have to accept. Another fairly hidden issue is related to various proprietary features such as the X-Reality color mangement, BIONZ image processor and the active noise cancelling techniques. Once you decide to unlock your bootloader, the process also removes a piece of data referred to as the DRM keys. These are tied to various services (such as streaming video and the like) offered by Sony but are also required for the features mentioned above to work properly. Put simply, once the keys are gone, you’ll face issues such as decreased low light camera image quality and the lack of the X-Reality mode.
Click to expand...
Click to collapse
Kernel features
this is pure stock kernel of the mentioned above firmware with
- RIC disabled
- added DRM patch support
Instructions
Before proceed backup all you important data like pictures, files to another device.. !
Make sure you follow all steps carefully with caution .. !
01- Flash Oreo FTF via Flashtool (Full wipe is recommened exclude nothing except TA files if there's any)
02- When done flashing unplug device ..
03- Enter fastboot mode and flash TWRP (hold vol up + plug usb)
Code:
fastboot flash recovery twrp-3.2.1-0-kagura.img
then flash kernel
Code:
fastboot flash boot boot.img
04- Unplug and enter TWRP (Hold vol down + power button)
05- In TWRP Flash drmfix.zip + SafetyNet Cleaning Tools.zip then Magisk v16.3.zip
06- OPTIONAL Flash ROM Patch to clean system and remove all bloat apps
07- Reboot and enjoy
Click to expand...
Click to collapse
NEW! TA_POC METHOD (Magisk 15.3+ ONLY / For those who have TA.img backup)
After downloading and extracting this tool and these files just copy them to the tool folder and put yout TA.img (case sensetive) there as well
{
"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"
}
Open command prompt in rootkernel tool folder
or
Open cmd --> cd "rootkernel tool dir" for ex for my case I extracted to the c: drive to make simple for you
Code:
cd C:\rootkernel_v5.23_Windows_Linux_UNOFFICIAL_2.5_OREO
Then run this code
Code:
rootkernel kernel.elf boot.img
Say yes (Y) to everything except DRM fix - If you want munjeni's TA PoC option,ensure your TA.img (case sensitive) is located at rootkernel's root folder and say no (N) to DRM fix
Flash patched kernel:
1- Flash Oreo ftf (wiping everything, excluding nothing - except *.ta files - if any)
2- Unplug device and DO NOT turn it on
3- Fastboot newly created boot.img and TWRP recovery
4- Unplug device and DO NOT turn it on again
5- Enter TWRP recovery and flash Magisk 16.3 (16.4 is buggy)
6- OPTIONAL Flash ROM Patch to clean system and remove all bloat apps
7- You're done!
Click to expand...
Click to collapse
TWRP asking for decryption code / Internal Storage showing 32GB only for XZ DUAL
Turn off the phone (from TWRP if you can or hold vol up and power button till the phone vibrates 3 times)
Enter Fastboot and format user data partitions using this code
Code:
fastboot format userdata
If you are getting error try from TWRP recovery > WIPE > Swipe to format data
Now start your phone and set it up the issue should be resolved.
If still storage is not showing correctly
- Do steps 1-2-3 exactly as listed above
- Boot your phone and compelete the setup wizard, go to settigns and check if storage is not 64gb
- If yes turn off the device and enter TWRP and choose WIPE > Swipe to format data
- Boot your phone again and compelete the setup wizard, go to settings and check if storage it should be 64gb by now
- Now go back to TWRP and complete steps 4-5-6
To check drm keys type *#*#7378423#*#* on your phone and go to Service Test > Security
If you have all [Key OK] they are OK! like the pictures I attached below
Extras (Recommended)
- LXT (Battery Life | Speed Tweaks)
- [MOD][THERMAL FIX] FSC™ 4.0 Improve performance & Eliminate heat
- [XZ/XZs/XP]V1 Dontbelive XPERIA XZ1 StereoMOD
- [Magisk][Module] SELinux Manager by Jman420 (Set to permissive)
- [Magisk][Module] Unified Hosts Adblocker
- [Magisk][Module] Youtube Vanced [Official]
Must have apps
- Gboard - the Google Keyboard
- Brevent
- Kiwi Browser - Fast & Quiet
Credits @serjar for unofficial rootkernel update
Old DRM restore by @tobias.waldvogel
Magisk by @topjohnwu
SafetyNet Cleaner by @sceryavuz
TWRP by TeamWin
I may sound foolish but what is drmfix ?
Thanks a lot mate.This works great. BTW those on rooted nougat with recovery can skip until step 5.
---------- Post added at 02:03 PM ---------- Previous post was at 02:01 PM ----------
ilininja said:
I may sound foolish but what is drmfix ?
Click to expand...
Click to collapse
it amends for any function lost when unlocking the bootloader.(like low light noise reduction and X-reality)
ilininja said:
I may sound foolish but what is drmfix ?
Click to expand...
Click to collapse
Well if you did a little research you would know..
Basically all Sony xperia phones have a lot of features like BionZ aka camera sharpening/ processing/noise reduction, X-Reality / Bravia engine for display ,Noise Cancelling and other audio enhancing features which is really awesome
But first when you unlock the bootloader , those keys called drm in short.. every sony device have them preinstalled will be gone .. ALL THESE GOODIES WILL STOP WORKING ..
Here came the importance of drm patches to emulate those lost keys and restore full features !
korom42 said:
Well if you did a little research you would know..
Basically all Sony xperia phones have a lot of features like BionZ aka camera sharpening/ procecing, noise reduction, X-Reality / Bravia engine for display ,Noise Cancelling and other audio enhancing features which is really awesome
But first when you unlock the bootloader , those keys called drm in short.. every sony device have them preinstalled will be gone .. ALL THESE GOODIES WILL STOP WORKING ..
Here came the importance of drm patches to emulate those lost keys and restore full features !
Click to expand...
Click to collapse
Thank you for the answer, I did some research but didn't quite get it
bro @korom42
works this also on xzs with already on oreo with unlocked bl?
cant downgrade in that case no ftf for XZs - __-
Verstuurd vanaf mijn G8231 met Tapatalk
@korom42
it is weird but My apps can't detect root.BTW have you experienced slowdown in performance?
josephnero said:
@korom42
it is weird but My apps can't detect root.BTW have you experienced slowdown in performance?
Click to expand...
Click to collapse
- Is magisk manager saying everything is fine ? Maybe try clear its data from settings
- No slowdowns here at all oreo seems to be super smooth (I did full wipe / clean installation )
because you upgraded while keeping data some apps may have problems asking for root .. try wiping those apps data ?
korom42 said:
- Is magisk manager saying everything is fine ? Maybe try clear its data from settings
- No slowdowns here at all oreo seems to be super smooth (I did full wipe / clean installation )
because you upgraded while keeping data some apps may have problems asking for root .. try wiping those apps data ?
Click to expand...
Click to collapse
Magisk doesn't have magisk su..BTW can it be that my XZ is dual sim version?I'll try with full wipe and report back again
josephnero said:
Magisk doesn't have magisk su..BTW can it be that my XZ is dual sim version?
Click to expand...
Click to collapse
I have xz dual too no problem .. I noticed there's new version of magisk v14.5 check it here
Also make sure you followed the instructions carefully (you have to flash the oreo kernel boot image I gave like described )
I'll try again with full wipe and be very careful with steps.will report back soon
Pandemic said:
bro @korom42
works this also on xzs with already on oreo with unlocked bl?
cant downgrade in that case no ftf for XZs - __-
Verstuurd vanaf mijn G8231 met Tapatalk
Click to expand...
Click to collapse
i dont think so bro if you allready run the kernel you will not be able to flash a new kernel without root. At least i attempt this on my xz with oreo with no luck. cheers
@korom42
Total clean install plus latest magisk did it for me. now I'm rooted with DRM fix .thanks a lot.BTW I didn't downgrade the last time.just flashed OREO plus recovery and then the kernel and ....
@juanpirulo
flashing kernel doesn't need root.just unlocked bootloader. try clean install.
im currently at oreo, and can't downgrade cause flashtool refuses to flash because "unknow sources" is dissabled, but oreo removed such option... what should i do?
Solved: has to use latest flashtool...
TNX for share with us the root method
for time saving... No need to downgrade!
1- flash oreo fw with flashtool
2- unplug your phone after flashing is end but don't turn on device. hold VOL-UP and plug phone againe to PC. (fastboot mode)
3- flash twrp-3.1.1-0-kagura.img
4- flash boot_oreo.img
5- unplug your XZ then boot to recovery. hold VOL-DOWN + POWER
6- flash drmfix, SafetyNet_Cleaning_Tools, Magisk-v14.5(1456) zip files step by step
7- reboot your device...
8- NOW, you can setup your new firmware pre-rooted and drmfixed
GenomeX said:
TNX for share with us the root method
for time saving... No need to downgrade!
1- flash oreo fw with flashtool
2- unplug your phone after flashing is end but don't turn on device. hold VOL-UP and plug phone againe to PC. (fastboot mode)
3- flash twrp-3.1.1-0-kagura.img
4- flash boot_oreo.img
5- unplug your XZ then boot to recovery. hold VOL-DOWN + POWER
6- flash drmfix, SafetyNet_Cleaning_Tools, Magisk-v14.5(1456) zip files step by step
7- reboot your device...
8- NOW, you can setup your new firmware pre-rooted and drmfixed
Click to expand...
Click to collapse
have you done a dirty oreo flash? (without wipe data?) because i can get root . i will try with a full wipe. cheers
juanpirulo said:
have you done a dirty oreo flash? (without wipe data?) because i can get root . i will try with a full wipe. cheers
Click to expand...
Click to collapse
when I flash with flashtool, check all wipe for clean install no mater android m,n or p
What does the kernel do? Or is it just a normal "unlocked" .401 kernel?
can someone make it so for XZs?
i have kernel.elf of Oreo, here
https://drive.google.com/file/d/1RmCYNDka390XrLmcTRZnUo9wYSFs2W3O/view?usp=drivesdk
Verstuurd vanaf mijn G8231 met Tapatalk
Pandemic said:
can someone make it so for XZs?
i have kernel.elf of Oreo, here
https://drive.google.com/file/d/1RmCYNDka390XrLmcTRZnUo9wYSFs2W3O/view?usp=drivesdk
Verstuurd vanaf mijn G8231 met Tapatalk
Click to expand...
Click to collapse
Check your WhatsApp/telegram ?

[TWRP]+[ROOT]+[OREO]+[8.0]+[F833X] Guide to Root Stock Oreo XZ

Continue at your own risk
I am not responsible for anything bad happen to your phone,
e.g bricked devices (by flashing wrong firmware) or anything else and hopefully not.
PREREQUISITES :
1- ADB Tools. V1.3 | V1.4.3
2- Flashtool for flashing/creating ftf.
3- XpiriFirm for downloading ftf.
4- Xperia XZ drivers.
5- Xperia XZ drivers for fastboot mode.
INSTALLATION
1- ADB Tools
Download and run EXE file and follow the instructions to install.
for win 8/10 use V1.3
2- Flashtool
Goto to Flashtool's official website download and install exe.
3- XpiriFirm
Download the Zip extract and run EXE.
4- XZ drivers/ 5- XZ drivers for fastboot mode.
Download the and extract both in different locations/folders and
right click the *****.inf {in both case different} files and press install.
At the end goto C:/Flashtool/drivers and run the Flashtool-drivers.exe
and install, check Sony Xperia XZ, flashmode drivers and fastboot drivers.
UNLOCKING BOOTLOADER: {If you have already then skip this step}
INFORMATION
Unlocking 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 Your TA Partition to save your DRM keys.<<
UNLOCKING
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- Goto settings > about phone > developers option and ensure that OEM Unlock and USB Debugging is on.
6- Goto Xperia BLU page and Choose Xperia XZ at the bottom of the page.
7- Enter your Email and you will receive a link in your mail. Follow the steps given by Sony.
8- BE CAREFUL and, from now on, DON’T ENABLE the MyXperia. It could hard brick your phone.
YOUR DEVICE IS NOW UNLOCKED
FLASHING OREO FTF
1- Download Oreo Firmware using XpiriFirm.
If you have already one {.192, .401, .184} you can flash it.
2- {Latest Recomended (**.*.*.*.192)}
3- Create and Flash the Ftf using Flashtool
HELP
FLASHING CUSTOM RECOVERY {TWRP}
1- Download the latest TWRP image file.
2- Paste it in your Fastboot directory and rename it as recovery.img
3- Connect your phone to PC using original cable while pressing power up
{The Notification light will turn Blue}
4- Open cmd in the folder where you pasted recovery.img.
{Press Shift button + Right click and press "Open Command window here"}
5- Enter the command
Code:
fastboot flash recovery recovery.img
6- Reboot your device into recovery.
Guide 1.1{Turn off your device. Hold power button + volume down after vibration leave power button}
7- Check "Never show ********* " and swipe to allow all modification.
8- Press Wipe > Advanced Wipe > Check data > Repair or change file system > change file system > EXT 3 > swipe
Important {Same step again but this time EXT4}
9- Power Off the device.
FLASHING KERNEL AND MAGISK
1- Download Kernel for your build number {Image file}.
>>Find in this folder<<
2- Download Magisk v18.1 or latest from here.
3- Download DRM Fix Mode.
4- Download Saftey Net cleaning tools.
5- Copy all in your SD card.
6- Boot into recovery.
{Check Guide 1.1 above}
7- Press Mount and Check System > Back to home screen.
8- Press Install > Install Image > Select the downloaded Kernel > Select boot and Swipe.
9- Goto Install section again and flash DRM Fix Mode.
10- Flash Saftey Net Cleaning Tools.
11- Flash Magisk v18.1.
12- Reboot Device and See If the magisk manager Installed.
>>U have stock 8.0 rooted<<
{If Magisk Manager not Installed}
1- Download Magisk Manager (apk).
2- Install the apk Manually.
3- Reboot to recovery and flash Magisk v18.1 (zip) again.
>>U have stock 8.0 rooted<<
Installing Xperia XZ2 + Xperia 10 port
You can now install the port zip {Optional}, Goto to the thread.
​
If I think I will go back to Oreo I will defently use this tutorial.
Good job!
Thanks bro, this guide is working
iqbaldani6 said:
Thanks bro, this guide is working
Click to expand...
Click to collapse
Welcome bro , thanks for feedback.
Press the thanks button if you liked my work.
There is zip availible of ported Apps, See This.
Can any one upload latest 192 CE firmware? I cannot download it anywhere. Thanks
silveraero said:
Can any one upload latest 192 CE firmware? I cannot download it anywhere. Thanks
Click to expand...
Click to collapse
Bro Create using XpiriFirm, Its availible there, Better and Recommended. :good:
awadnisar said:
Bro Create using XpiriFirm, Its availible there, Better and Recommended. :good:
Click to expand...
Click to collapse
I got it, the new XperiFirm version will fix "Not available". Thank bro!
silveraero said:
I got it, the new XperiFirm version will fix "Not available". Thank bro!
Click to expand...
Click to collapse
Bro its available, I checked it in the same version of XpiriFirm attached in this thread. :good:
It worked like a charm! I was about to go crazy with buggy custom pie roms. Thank you for creating this guide bro!
LeonidasTurk said:
It worked like a charm! I was about to go crazy with buggy custom pie roms. Thank you for creating this guide bro!
Click to expand...
Click to collapse
Thanks and well press thanks if really helped you!!!:laugh:
Hi @awadnisar, can you tell me which is that kernel? is it stock one? Because the kernel you give us is 17MB and if I extract kernel from FTF file it is 35MB
Btw your method is working great, thanks man
Edited, i found it. Magisk cant install in UNEDITED clean stock kernel, need to disable DM-verify, Sony RIC and etc...
trunghxf said:
Hi @awadnisar, can you tell me which is that kernel? is it stock one? Because the kernel you give us is 17MB and if I extract kernel from FTF file it is 35MB
Btw your method is working great, thanks man
Edited, i found it. Magisk cant install in UNEDITED clean stock kernel, need to disable DM-verify, Sony RIC and etc...
Click to expand...
Click to collapse
Yes Edited
Hello, I like your guide, it's easy to follow but what about people that have their TA partition backed up, how to restore it based on your guide?
Qattos said:
Hello, I like your guide, it's easy to follow but what about people that have their TA partition backed up, how to restore it based on your guide?
Click to expand...
Click to collapse
-- Put your ta buckup image file anywhere in your phone --
-- Boot to TWRP --
-- Connect to PC --
-- Type Following --
Code:
adb shell dd if=<ta image path> of=/dev/block/bootdevice/by-name/TA
-- Using ADB --
-- When its done, your phone will not boot --
-- Connect to pc flashmode and restore using xperia companion or flashtool --​
awadnisar said:
-- Put your ta buckup image file anywhere in your phone --
-- Boot to TWRP --
-- Connect to PC --
-- Type Following --
Code:
adb shell dd if=<ta image path> of=/dev/block/bootdevice/by-name/TA
-- Using ADB --
-- When its done, your phone will not boot --
-- Connect to pc flashmode and restore using xperia companion or flashtool --​
Click to expand...
Click to collapse
One last question, after I follow your steps and restore my TA partition, will I lose root?
Qattos said:
One last question, after I follow your steps and restore my TA partition, will I lose root?
Click to expand...
Click to collapse
Obviously, locking bootloader and root aren't possible at a time.
Ftf portion
is it impoortant to do the ftf flash ? i already have the latest rom . do i need to flash again? and if so which region i should select in xpirifirm to download the file . i am from asia
exxoy said:
is it impoortant to do the ftf flash ? i already have the latest rom . do i need to flash again? and if so which region i should select in xpirifirm to download the file . i am from asia
Click to expand...
Click to collapse
Your Bootloader is unlocked or locked?
awadnisar said:
Your Bootloader is unlocked or locked?
Click to expand...
Click to collapse
could not wait for the reply . already rooted with the process . using aosp rom .
exxoy said:
could not wait for the reply . already rooted with the process . using aosp rom .
Click to expand...
Click to collapse
Oh great, :good:

Resources