yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Premium Android Development] NasikLemak:
Hi [MENTION=5613633]YasuHamed[/MENTION] i've been following your guide and managed to flash .376 and root my phone.

However i stuck at the part to make system writable. fyi,i use superuser and busybox is installed.

Please help :confused:
[Xperia Z5 Premium Android Development] YasuHamed:
you have DONE it ;)

congratulations :)

if the terminal goes to second line! without any errors the permissions are given

use sys app remover

https://play.google.com/store/apps/details?id=com.jumobile.manager.systemapp&hl=en

to remove any bloat were

UNINSTALLER PRO has some limitations on android N. i can freeze aps but cannot remove!

https://play.google.com/store/apps/details?id=com.rootuninstaller.free&hl=en
[Xperia Z5 Premium Android Development] ytheekshana:
Update 32.3.A.2.33 kernels please
[Xperia Z5 Premium Android Development] Black'Roses:
trying this now
[Xperia Z5 Premium Android Development] YasuHamed:
please update

was it success ?
[Xperia Z5 Premium Android Development] Black'Roses:
Yes it is, no problem so far, will update soon if something wrong, thanks mate
[Xperia Z5 Premium Android Development] Dhimas97:
Hi YasuHamed ..

Emm.. i got some problem, can tou help me ..

I using the latest firmware of Z5 Premium now.

I installed the kernel that you build.

The isue is at DRM, the X-Reality engine and de noise it wont work on me (installed SU or no , is same).

Ussualy i use your build kernel on marshmellow it work. Like' this, ---> flash new firmware (clean install) ---> change kernel --->boot ---> flash SuperSU ---> drm work (if not work i use drm fix flashable Zip).. the key is i must rooted right ..

Can you can give me something explanation ? Please .. hope you get my text .. ;)
[Xperia Z5 Premium Android Development] YasuHamed:
sir when you say LATEST ROM , i am assuming 32.3.A.2.33

the modified kernels are https://mega.nz/#F!7VwRCaLQ!GNKLGiggp_TebbBRO1QSug

my device is E6833 and i have Xreality working fine.

what is your device? if its not too much of problem, please send me your build's kernel.sin from ftf file (use 7zip to extract)

and i will patch it for u and let u try
[Xperia Z5 Premium Android Development] Dhimas97:
Yes.. i downloaded from that source link for my device E6883 DSDS Z5P

Okay i Will send the link 10 mnt for now for the ftf Sir YasuHamed .. Thankyou for tou concern ?

---------- Post added at 07:57 AM ---------- Previous post was at 07:44 AM ----------

https://mega.nz/#!AtFQ2YLD!Nt5TXXhqbd45o7HzNNr8-cskCCq3Z-vhcqTKdgUnsNg

This the one .. Thankyou mr. [MENTION=5613633]YasuHamed[/MENTION]
[Xperia Z5 Premium Android Development] YasuHamed:
i have one boot image mentioning your name in it

https://mega.nz/#F!7VwRCaLQ!GNKLGiggp_TebbBRO1QSug

just flash reboot, install supersu via twrp

however if you have already done it before, i do recoment clean flashing again, but lets try the kernel replacement first
[Xperia Z5 Premium Android Development] Dhimas97:
Thankyou so much .. ☺️ i Will try it ..
[Xperia Z5 Premium Android Development] hashmin:
I am unable to unlock bootloader of my Sony Xperia z5 premium (E6833).my latest update 32.3.A.2.33..pls help... Unlocking failed..
[Xperia Z5 Premium Android Development] hashmin:
Informative..thanks
[Xperia Z5 Premium Android Development] Red Sand:
How are you trying to unlock it?
[Xperia Z5 Premium Android Development] ayhanornek:
When you turn on airplane mode, bluetooth opens up on your screen.
[Xperia Z5 Premium Android Development] YasuHamed:
yes this bug in my two different xperias after updating it on N

no idea why!
[Xperia Z5 Premium Android Development] YasuHamed:
How are you trying to unlock please xplain
[Xperia Z5 Premium Android Development] Dhimas97:
Hello.. i just try it , its does'nt make boot(stuck red light broken display).. just show up logo 'Sony' then reboot always.. i just try what you said.. it happen after install KERNEL for me you edited
[Xperia Z5 Premium Android Development] Dhimas97:
Mr. [MENTION=5613633]YasuHamed[/MENTION] .. i found this when using kernel on your repository (not for dhimaz97 file kernel).. but if i'd using 'for dhimaz97' kernel that Red text doesn't appear when installing SuperSU but it wont boot
[Xperia Z5 Premium Android Development] YasuHamed:
what about the other kernel, is that working fine?
[Xperia Z5 Premium Android Development] YasuHamed:
seems like you are flashing wrong kernel. what is your device. please specify
[Xperia Z5 Premium Android Development] Dhimas97:
Step 1. I use E6883 latest Rom kernel from your repo, its fine. But what is Red text mean ?

Step 2. I use kernel.sin that i give to you. 'for Dhimaz97' on your repo. Remember ? I flash it, Red text does not appear but wont boot.
[Xperia Z5 Premium Android Development] YasuHamed:
the red text appears even for me but i always endup having rooted device. for E6883, script version 5.23 don't work (for strange reasons) so the kernel giving you red text error was created with script 5.20. if its working. and giving you root access , thats all what matters :)
[Xperia Z5 Premium Android Development] adiabadan:
Hi.
[Xperia Z5 Premium Android Development] srg84:
TPRW Backups doesn't boot with Nougat 32.3.A.2.33 ROOTED

https://xdaforums.com/z5-premium/help/tprw-backups-boot-nougat-32-3-2-33-t3616410
[Xperia Z5 Premium Android Development] Ucris:
flasf eror

hi

sorry, English not verry well

eror

cannot file

How do?
[Xperia Z5 Premium Android Development] YasuHamed:
new firmware released

https://xdaforums.com/z5-premium/de...883-32-4-1-t3686024/post74110447#post74110447
[Xperia Z5 Premium Android Development] crusader0071:
Please help ASAP

hi all, i have a problem :( i have followed the below instructions now i have a blank phone, i have an unlocked boot loaded and can still boot into fast boot or into flashboot ie power+up or power+down and my pc recognises the device is connected but the device will not boot.

it is a e6853, i tried to flash 32.3.a.33_E6853 but it appears to have gone wrong somewhere

click the THUNDER icon on flashtool -done this

select FASTBOOT MODE - done this

click "select kernal to flash" -done this

connect device by toggling volume up/down keys as per instructions by FLASHTOOL. - done this

FlashTool then, will ask .img file location. point it to the .img file. and your kernel will be flashed in 1 second- done this

BOOT your device, on SONY LOGO press volume up, the led will turn AMBER, and you will TWRP recovery. - device wont boot

select install from zip, and flash the SUPERUSER .zip which you placed in your SD CARD in the VERY BEGINNING.

REBOOT YOUR DEVICE.

please help i really need the phone back asap

---------- Post added at 08:50 PM ---------- Previous post was at 08:17 PM ----------

slight update, i have managed to flash stock 7.1.1 android back onto the phone and appear to have it back up and running.

i could really use some help, getting TWRP on it and lineage-14.1 if possible, i am now unsure if my DRM files have been lost or if i still have them i did try to back them up but it failed. i downgraded as the post tell me to but the kernel didnt downgrade so kept failing, the bootloader is unlocked.

please please help as i dont want to break it.

---------------------------------------------------------------------------------------------------------------------------------
[Xperia Z5 Premium Android Development] hrdilshan:
Can i use this method for

Xperia Z5 (SO-01H) bcz iam struggling to root this phone

Please help me
[Xperia Z5 Premium Android Development] elaek:
Hello,

I need the file boot.img for my Xperia Z5 Premium Dual E6833 firmware 32.3.A.0.372.

Can any one help me?

I have an unlocked bootloader and as i know to root my phone i just have to flash the boot.img with Fastboot command and then reboot in recovery mode and install SuperSu. Is it correct?
[Xperia Z5 Premium Android Development] YasuHamed:
1. goto SETTINGS>>APPS>> (on upper right menu) (show System apps) and search of google play services.

2. Go to Settings > Date & Time // Check Automatic date & time /// Or alternatively, you can set time by yourself, just make sure it is correct.

3. still not working ? CHANGE DNS SETTINGS

Go to Settings > Select WiFi Network (Hold Tap) > Select Modify > Show Advanced Settings.

Then from IP settings drop box, change DHCP to Static and enter the details mentioned in picture below.

DNS1 should be 8.8.8.8

DNS2 should be 8.8.4.4

4. FINALLY, remove your GOOGLE ACCOUNT from XPERIA and sign in to some other GOOGLE account and check. then remove that account and re login with you PREVIOUS ACCOUNT.

if you have taken BACKUP of DRM KEYS, as of now no need to restore, the CURRENT kernel is stimulating already. KEEP THE KEYS safe. in future may be in in Android N, we may not have kernel to stimulate the keys then these keys will HELP YOU.
[Xperia Z5 Premium Android Development] knive13:
good day just bought a z5 premium and wanted to root and unlock it. my FIRMWARE "32.2.A.0.253" already and its on6.0.1 im already downloading the tools needed base on ur post. i came from s6edge and i rooted it but sold it for some reason and bought a z5 premium. my qstion is do i need to back up DRM keys and what is DRM keys? sorry for the very noob question. im not new to rooting but changing phone variant is somehow difficult for me as i came from a samsung phone. thanking you guys in advance.
[Xperia Z5 Premium Android Development] YasuHamed:
Helo knive13

i am glad your purchases z5. its AWESOME PHONE. since its already on android6x. it means the only way is to ROOT it is via flashing modified kernel. and modified kernels can only be flashed when BOOTloader is unlocked. and IF you unlock your boot loader, u will loose DRM keys.

android 5.1 however has known exploits and can be rooted withing via ivoryRoot or KINGROOT.

what are drm keys?

SONY ERICSSON / SONY XPERIA devices has memory location allocated in inbuilt memory called TRIM AREA (TA) it has Digital Rights Management Keys (DRM KEYS) which kernel validate and softwares such as BRAVIA ENGINE, CAMERA APPLICATION recording in hd/ uhd on better quality gets recorded. if these keys are lost. only basic functionality of display/bravia/camera app will work.

http://xdaforums.com/z5-p...-keys-t3437902

the kernels mentioned in my post already are stimulating fake keys and hence it should work fine for 6x.

however its always highly recommended to have DRMKEYS backup. even if you are not RESTORING today, you might endup needing those in future android releases since Z5 is going to receive alleast 2 years of constant updates beyond Android N

read my post very carefully and try downgrading using flashtool's xperifirm buildnumber .115
[Xperia Z5 Premium Android Development] ayman_abm:
Step No.4

I donwloaded the .115 and isntalled it to my Sony Z5P dual after re-locking my bootloader, but i couldnt root it using KingRoot nor using iovyroot

i got this error:

iovyroot by zxz0O0

poc by idler1984

Error: Device not supported

rm: /data/local/tmp/tabackup/TA-*.img: No such file or directory

Press any key to continue . . .

My Device is: E6833

version downloaded: Android version : 5.1.1 / kernel version : 3.10.49-perf-gf92bb0d / Build number : 32.0.A.6.115
[Xperia Z5 Premium Android Development] YasuHamed:
Relocking you boot loader?

this means u unlocked it once and now DRM KEYS are gone!

you don't have to do this step !

now simply FLASH stock 32.2.A.0.253 and unlock the boot-loader (again)

restart the device, put supersu (zip flashable) in sdcard.

shut down the device,

FLASH the KERNEL

https://mega.nz/#F!KwZhjLIK!uNbDzR6lCXMaaW7jKFS1WQ!ulJjkDbJ

E6833.img file

reboot device

at sony logo when led lights up, press VOLUME UP / led will turn amber and you will be taken to twrp recovery. install from ZIP, flash the SU and REBOOT in to SYSTEM.

DONE

but your drm keys are lost :(

no worries! the kernel is stimulating them. it was just and extra step to have those keys handy! the main goal is to have a rooted device having full control over apps and ram management!
[Xperia Z5 Premium Android Development] ayman_abm:
Thanks mate.

so you mean 1st time i unlocked my boot-loader i lost my keys, so even if i re-lock the boot-loader again and flash the stock downloaded firmware will not help to restore my keys back ?!
[Xperia Z5 Premium Android Development] YasuHamed:
the very first time when you unlock you boot loader (by the unlock key provided by sony), your TA partitions got wiped and DRM/FIDO Keys was wiped too.

ONLY SONY can reinstate keys again before RELOCKING the BOOT LOADER if you send your mobile to them.

now if you RELOCK your bootloader, it means your SONY PC COMPANION will recognize the device as virgin and you will update your device whenever an update is available (or OTA).

no problem! just update your device to .253 and flash the kernel and ENJOY
[Xperia Z5 Premium Android Development] ayman_abm:
I did

Now im using 253 rooted and Unlocked
[Xperia Z5 Premium Android Development] YasuHamed:
GREAT! tell me do u feel difference already? dem-varity / sonyRIC are off, ram should be relaxed. did u flash SUPERSU (VIA RECOVERY) update binaries. disable system apps. ROOT UNINSTALLER is the best app to freeze sys apps. disable software update !

[MENTION=5410058]KbaB.BroS[/MENTION] upadated the KERNELS with latest v5.0 rootkernel tool. i will reflash my kernal tomorrow . updated kernels are at

https://mega.nz/#F!KwZhjLIK!uNbDzR6lCXMaaW7jKFS1WQ
[Xperia Z5 Premium Android Development] ayman_abm:
yeah I did...

I flashed SUPERSU using custom recovery which comes with the kernel (Vol down).

I have 310 System Apps, dont know which one to uninstall using ROOT uninstaller.

and I also installed BusyBox 1.24.2

LuckyPacher 6.2.6

Xposed Installer 2.6.1 (but i couldn't install the Framework using normal installer) seems i need to download the zip file and flash it using recovery, if yes, what is last ver compatible with MM (.253)
[Xperia Z5 Premium Android Development] YasuHamed:
remove lucky patcher, busybox and XPOSED FRAMEWORK

in my experience xposed framwork has some nasty modules with UNDO buttons :( such as gem xperia and gravity box!

i have disabled xperia lounge, whats new, hangouts, xperia mobile transfer, google photos, movie creator, smart connect , android system webview, AR Affect, googleplay movies and tv, VIDEO, intro to xperia, Lounge, weather, sony account manager, talkback, xperia configurator, xperia support, setup guide, xperia lounge pass and other bloatware.

u can even disable software updater!
[Xperia Z5 Premium Android Development] ayman_abm:
BTW...

what the deference between E6833.img and E6833.elf

when I flash my kernel i can chose *.img or *.sin and *.elf

so why i dont flash kernel using .elf File downloaded from ur previous link!??
[Xperia Z5 Premium Android Development] YasuHamed:
both links are same bro

https://mega.nz/#F!KwZhjLIK!uNbDzR6lCXMaaW7jKFS1WQ!vogFiYiL (stock .253)

the ELF file is editable copy of ORIGINAL KERNEL.sin file

ELF file allows you to modify your kernel by ROOTKERNELv5.0 tool which later saved as .IMG file.

in short if you flash ELF file, its same as you flashed ORIGINAL KERNEL with no root access
[Xperia Z5 Premium Android Development] diji1:
EDIT: Fixed the issue - wasn't ticking wipe apps/data/cache in Flashtool, cheers!

I'm stuck on step 4: I successfully flashed and setup the recommended LP stock version but when I went to use iovyroot it failed to work.

So I read the iovyroot page and it said that two different versions work for E6853 so I tried to install both of these but they failed because the ROM immediately crashes after installation and is unuseable.

Only problem is I tried the original recommended ROM but now that won't install either due to crashing immediately after installation - which I don't understand because it worked originally.

Any suggestions here so i can backup the TA partition please?
[Xperia Z5 Premium Android Development] samson2542:
Got phone back to 5.1.1 but cant root using kingroot?? Any ideas:crying: please
[Xperia Z5 Premium Android Development] YasuHamed:
use Ivory ROOT (link is mentioned in the base post)

also Kingroot, oneclickroot are out there, try any. the 5.1.1 kernel is old and system exploits are found
[Xperia Z5 Premium Android Development] pcliveiii:
Big Thanks to you bro

Working Perfect on E6833
[Xperia Z5 Premium Android Development] YasuHamed:
you are always welcome! :)

as of 3/9

the superSU 2.78 is out, and to my surprize , u can upgrade from playstore and update binaries.

(with 2.76 it was giving error)

I have removed many bloatware (FROZE SYSTEM APPS) by using rootuninstaller pro

here the snapshot of apps i am mostly to keep my phone OPTIMUM.

it report free RAM of 1.7gb <3
[Xperia Z5 Premium Android Development] pcliveiii:
i will install this app, to help freezing issues, many thanks to you bro .

Regards

Hamad
[Xperia Z5 Premium Android Development] YasuHamed:
you are welcome bro
[Xperia Z5 Premium Android Development] changkho1908:
I flash kernel .253 and reboot, then i power on and press volume up button. led light is yellow or amber but my phone can not go to recovery, it go straight home :( any ideas?
[Xperia Z5 Premium Android Development] monkeyjet:
This worked, thank you for the instruction!
[Xperia Z5 Premium Android Development] Us3Less:
Sorry , quite new to the new flashtool

I keep getting this , updating from .115 to .223 . . Any suggestions ? I even excluded TA to flash , changed flashtool from earlier to the lastest version , still the same result

11/011/2016 18:11:59 - ERROR - TA entry (0000084F)parsing error

11/011/2016 18:11:59 - ERROR - Error flashing. Aborted
[Xperia Z5 Premium Android Development] i_MoNsT3r:
I don't know if what I'm doing is wrong but my phone won't go into flashmode when I press and hold the volume down button, it either boots into safe mode or boots normally, should I unlock the bootloader first or what I'm doing is wrong ?

And thank you for the rooting method.
[Xperia Z5 Premium Android Development] YasuHamed:
SEEMS like something is missing

1. what apps you have installed?

2. any other hardware issue when the volume keys has been replaced?

3. if you would tried factory reset ? would it had been the same case ?
[Xperia Z5 Premium Android Development] grodri1972:
lost

I love having my phones rooted this is my first Sony Xperia z5 premium which I think it's a really nice phone coming from Samsung note 4 I'm lost in rooting z5p I'm on 6.01 build 32.2.A.0.253 model 6853 any videos on how to root this phone I'm just lost do I need to downgrade first any help would be appreciated thanks guys
[Xperia Z5 Premium Android Development] YasuHamed:
if you wana try BACKING up your DRMKEYS, you should downgrade to android 5.1.1 and root your device via kingroot / ivory root and use TOOL to EXTRACT keys (see the first post of this thread)

ROOTING 6.x.x requires UNLOCKING BOOT-LOADER. and the moment u do that, keys are wiped! :(

however , " I " never backed up my keys and the device working just fine (camera features , 4k resolution, x reality for real colors)

but i always recommend to backup your keys!

if not, then just unlock your boot loader, flash kernel

your device is E6853

download E6853.img from https://mega.nz/#F!KwZhjLIK!uNbDzR6lCXMaaW7jKFS1WQ!vogFiYiL (thanks to [MENTION=5410058]KbaB.BroS[/MENTION] )

download supersu zip and put in your sd card

flash the kernel using FlashTool

http://www.flashtool.net/downloads.php

boot, press / release volume up keys,,,, it will goto twrp recover, / INSTALL from zip / select sd card and supersu.zip (flash it)

Reboot your device

DONE, you have rooted z5p
[Xperia Z5 Premium Android Development] mhyr:
hi every one. I have z5p E6833 running android 6.0 - 32.1.A.1.163 , before this version i was totally update and i had android 6.0.1 by the .253 build and I tried to root it by this guide http://xdaforums.com/z5-premium/development/stock-root-xperia-z5-premium-sony-stock-t3335974 cause at that time I didnt find any other related post , im not new in rooting and flashing roms, I had HTC and Huawei and I rooted both of them and used them by custom roms , but very new to sony , and I dont know what is wrong with the whole universe !

in the software update section in the phone setting I had refreshed the screen many times but it shows that its the latest version :| , I have serious problem with flashtools and xperia companion , xperia companion is not conecting to the network to find update, I searched about the problem but it didnt solve . and about the flashtools every time I tried to flash a rom it stucked in one step like flashing data, or flashing modem sin , or something like this for about an hour , and again i searched about the problem but nothing worked and i faced soft brick and when the phone booted, i saw a message that your software update is not completed connect to pc and try again ! last time with build .253 i succesfuly unlocked my bootloader and flashed twrp recovery but the time after flashing the supersu it didnt boot and soft bricked , i tried to wipe and factory reset but it didn't boot , even trying damn flashtools to flash the downloaded tft , but didn't worked and i had bring it to the store to flash it by box -_- and now i'm on .163 -_- , i'm not gona try flashing any thing with flashtools again cause i know that it will face soft brick again, I have downloaded .253 tft file from another source , i downloaded every .img that u mentioned but the question is here that could i flash and try this steps without flashed .253 Rom ? is it possible not to use Flashtools ? cause i cant flash the .253 file using it and i was wondering if there is another way to root this phone by having .163 build .

thanks and sorry for my bad English

Hope to help me :( <3
[Xperia Z5 Premium Android Development] YasuHamed:
i have E6833 too and its rooted and i shared my xperience fully here

http://xdaforums.com/z5-p...-keys-t3437902

i will go in preface

1. what is your windows version? flashtool don't work goo on windows8 / 10. it usually hands at some point , i use win7 x64 and also flashtool x64 version

2. what were the sources u donwloaded the ftf file?

3. better to download ftf file via flashtool itself (last button is Xperifirm, click it, find SATSUKI dual E6833 and version of USA/ MENA ending .253) and flash it

4. while flashing disable antivirus, I used SAMSUNG galaxy usb data cable (if that makes difference) ,

5. with me it stuck at reading headers for 19mins but then it closed all headers and flashing was done.

plz read my post.

thanks
[Xperia Z5 Premium Android Development] mhyr:
I have read your post you just added E6833.img from buid .305 . in which step do i have to flash it? and for me do i have to flash the .305 rom or like before .253? and what do you mean by not twrp support?!

1.windows 7 , x64 , just like yours !

2-3.i dont remember the source , and i have checked the xperifirm for download update it shows .305 for most of them so .253 is not the latest and just france and europe are in .253 , it doesnt make any problems for language or having persion in rom? ! could you please describe whats the difference between these builds? and why can not flash on .163? is that because of stock modified kernel? :(

4.my kaspersky protection is disabled

now i will download the rom by xperiferm as you said, but which one? .305? and there is not another way to flash the rom without flash tools? thanks for helpin me :(