yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Premium Android Development] Nirvana Rules:
I used the kernel from here https://xdaforums.com/showthread.php?t=3537948

The zip flashes the modified boot that allows you to restore your from keys only
[Xperia Z5 Premium Android Development] whalesplaho:
Now its well explained... :good::highfive::victory:
[Xperia Z5 Premium Android Development] angelouss:
hi body tnxs for the great work done here... please just tell us more so we could make it for other z5p variant like e6833

dual

im stuck in the step 10 of serajr methode i dont event know what the fota kernel recovery is and any way to figurit out
[Xperia Z5 Premium Android Development] Nirvana Rules:
I'm not sure how about the variant sorry, however for step 10 don't worry about fota recovery. Instead flash a modified MM image with twrp. Boot into recovery and flash the zip you have. Assuming you follow all 9 previous steps. By flashing the zip you get the new modified image along with a work around for drm keys
[Xperia Z5 Premium Android Development] angelouss:
all the fille was ready the probleme was how to flash the old boot img to get into the recovery, now im waiting for android studio to complete download to use it. tnxs
[Xperia Z5 Premium Android Development] arshia.sunboy:
hi..please explain me about Z5p e6833 android 7:

can I root and install recovery?

can I restore drm?

please send competible files link here.thanks
[Xperia Z5 Premium Android Development] YasuHamed:
the boot loops will only come if you directly FLASH SuperSU only with OLD MM kernel.

system is modified and DM varity is still ON
[Xperia Z5 Premium Android Development] YasuHamed:
ignore step 10

it cannot be done (as of now) / he mention it as the bottom that its IF you wana play around after doing bin2text your code!

as of now you canno switch off the sony ric ...

since we both have same mobile

https://mega.nz/#F!HYIlRYTD!PGeRK9pRtCeKBfjX3K3DkA

listen

its risky in N ,

MM kernel was easy to modify because of TOOL offering options in one plate!

N is different!

while your xperia is running on latest STOCK ROM (android N)

now! put Supersu and rootkernel nougat both zip files in sd card!

switch off and connect it in fastboot mode

goto adb (minimal adb and fastboot) command prompt

put unzipped boot image of MM kernel E6833 ( its there in the folder) on desktop!

type Fastboot boot ...... and drag and drop that boot.img from desktop to command prompt adb window .......... and enter........ look at sony screen it will boot temporarily the mm kernel , goto twrp (volum up down on sony logo while led comes) and flash the rootkernel naugat file and then sr5 supersu and reboot!
[Xperia Z5 Premium Android Development] YasuHamed:
temp solution is available for now! since we both have e6833 , u can use my files...

https://mega.nz/#F!HYIlRYTD!PGeRK9pRtCeKBfjX3K3DkA

but listen

its risky in N ,

MM kernel was easy to modify because of TOOL offering options in one plate!

N is different!

while your xperia is running on latest STOCK ROM (android N)

now! put Supersu and rootkernel nougat both zip files in sd card!

switch off and connect it in fastboot mode

goto adb (minimal adb and fastboot) command prompt

put unzipped boot image of MM kernel E6833 ( its there in the folder) on desktop!

type Fastboot boot ...... and drag and drop that boot.img from desktop to command prompt adb window .......... and enter........ look at sony screen it will boot temporarily the mm kernel , goto twrp (volum up down on sony logo while led comes) and flash the rootkernel naugat file and then sr5 supersu and reboot!
[Xperia Z5 Premium Android Development] YasuHamed:
this kernel is for z5 varients

guys you have to USE your own variants kernel!

E66xx (has three variants)

E68xx ( has three variants)

if you stock cross mixed kernels and flash it, the device may

1. brick

2. bootloops

3. some features wont work!

the files i have shared is for E6833 and should be used for E6833 o-n-l-y!!!!!!!!!!

if your variant is different send me kernel.elf file i will repackt the drmfix/dmVarity Flasher for you!

i am not sure [MENTION=2539248]Nirvana Rules[/MENTION] which varian'ts BOOT.img you have shared! please specify, it cannot be generic
[Xperia Z5 Premium Android Development] ahmadwafi89:
Hi bro can i get your email. i stuck to repack my kernal version e6883 android Nougat for my varient. really need your help. this is my email wafidelta@gmail.com . Pls email me i want to send your my kernal.elf. Thanks [MENTION=5613633]YasuHamed[/MENTION]
[Xperia Z5 Premium Android Development] YasuHamed:
i have replied your msg bro :)

also thank you for the kernel.elf

now i have fixer for two variants are

https://mega.nz/#F!HYIlRYTD!PGeRK9pRtCeKBfjX3K3DkA

E6833 and E6883

however i have MM Kernel with TWRP for E6833 only, which should be okay for E6883 since we just need twrp!
[Xperia Z5 Premium Android Development] angelouss:
tnxs body i dont know why it didnt work with the supersu .79 but the .78 r5 work perfectly

im wondering if there is a whay to make xposed work ?
[Xperia Z5 Premium Android Development] YasuHamed:
at this point no

because SONY RIC is still ON

unless we have N kernal modified similar way as MM kernel we cant

we have to wait little! its the first version of N on xperia
[Xperia Z5 Premium Android Development] -DM-:
There is no Xposed for Nougat as of yet!
[Xperia Z5 Premium Android Development] Nirvana Rules:
I did post #122.
[Xperia Z5 Premium Android Development] Snake07:
However we have one way to make it off https://xdaforums.com/showpost.php?p=70677335&postcount=92
[Xperia Z5 Premium Android Development] :
All posts on XDA must be in English. Please review the forum rules:

https://xdaforums.com/announcement.php?a=81

Also, please check your inbox.
[Xperia Z5 Premium Android Development] Dhimas97:
Hai .. [MENTION=5613633]YasuHamed[/MENTION] if i use your customized E6883 Kernel it is will okay even i use like indonesian country firmware ? or i have to send you about the kernel.elf too ..? thanks in advance ^^ :)
[Xperia Z5 Premium Android Development] ayhanornek:
There is how to do root for 6853. Please can you help.
[Xperia Z5 Premium Android Development] YasuHamed:
you can use any country region

but kernel must be E6883 of latest MM (oct or dec 2016)

however YOU should know that SONY has cancelled/ recalled the latest Nougat for SONY Z5/4/3 series due to unexplained (or quick batter drainage) issues.

so lets see what they release in next weeks...
[Xperia Z5 Premium Android Development] Dhimas97:
I see last night I try install it and use 5.1.1 kernel of MM Firmware, and it's work. Thankyou so much.. For the kernel :good:. Yeah I know, I download Nougat firmware just one day before they recall it. I dont have issue about battery drained though.. Even they recall it I still CAN download it from Xperia xfirm from history of download 0_o
[Xperia Z5 Premium Android Development] YasuHamed:
details plz

what is your current build number?

is bootloader unlocked?
[Xperia Z5 Premium Android Development] ayhanornek:
N 32.3.a.0.372 bootloader unlocked
[Xperia Z5 Premium Android Development] YasuHamed:
the process is already explained in first post and recent previous pages if you follow carefully you can do it easily!

however

for your device E6853, send me kernel.sin from 32.3.A.0.372.ftf file (use 7zip)

i will repack it for you. and all you have to do is to flash it using MM kernel's TWRP
[Xperia Z5 Premium Android Development] renuac:
YasuHamed

Attach in My Google Drive Kernel.sin E6853 32.3.A.0.372.

drive.google.com/file/d/0ByhAMScd_sEKU3ZkNmJiS2Q1QTA/view?usp=sharing

Thnx for repack!!!
[Xperia Z5 Premium Android Development] ayhanornek:
flashladım but not yet again thank you already do not understand anything of the post it's not descriptive does not root.It seems to me that in a complex, maybe described
[Xperia Z5 Premium Android Development] ayhanornek:
I'm sorry, my English is weak already .best mm 6, 0, 1 at least throwing root
[Xperia Z5 Premium Android Development] YasuHamed:
if you are facing trouble in english then please don't follow.

you may end up having bricked device! :(

ask any friend help you understand in your language...
[Xperia Z5 Premium Android Development] ayhanornek:
Maybe it's simple but it's hard unless you know howls

---------- Post added at 09:47 PM ---------- Previous post was at 09:26 PM ----------

I don't have the kernel elf file already

---------- Post added at 10:01 PM ---------- Previous post was at 09:47 PM ----------

easiest method to wait until that's too complicated
[Xperia Z5 Premium Android Development] YasuHamed:
[MENTION=6726273]ayhanornek[/MENTION]

with SONY there will be NO easier way of rooting. I am sony user for last 9 years! and i found rooting and gaining accesses to xperia for forbiddon areas getting diffcult day by day! also android has become secure and tough since kitkat days! so there will be no easy way of rooting!

[MENTION=6374580]renuac[/MENTION]

WHILE YOU ARE RUNNING 32.3.A.0.372 (with bootunlocked)

download ( e6853_rootkernel_Nougat_boot_and_drmfix_flashable_2.zip ) and super su from the following location , put it on sd card

https://mega.nz/#F!HYIlRYTD!PGeRK9pRtCeKBfjX3K3DkA

idea is to run twrp via temp boot. since there is no twrp in N kernel, so u can use MM kernel having twrp (temp boot via fastboot)

you can take MY XPERIA's Kernel E6833, it should be OK! since it a temp boot

E6833_MM_kernel_OCT2016.7z from https://mega.nz/#F!HYIlRYTD!PGeRK9pRtCeKBfjX3K3DkA , unzip it and put the "E6833_MM_kernel_OCT2016.img" file it in MINIMAL ADB and FASTBOOT folder in PC

switchoff your xperia,

on pc,

goto command prompt of Minimal ADB and Fastboot, connect your xperia in fasboot mode by VOLUMEUP+PLUGGING USB CABLE. (blue LED) and type "FASTBOOT DEVICES", it will show your device ID, this means your E6853 is connected.

type fastboot boot E6833_MM_kernel_OCT2016.img ---> see the xperia screen it will boot and goto twrp volumeup+down+touchscreen

flash e6853_rootkernel_Nougat_boot_and_drmfix_flashable_2.zip

and flash super SU

wipe delvik cache

reboot

wolla
[Xperia Z5 Premium Android Development] ayhanornek:
Thank you very much thank you..Thanks to you I could

---------- Post added at 10:37 AM ---------- Previous post was at 10:19 AM ----------

do you have suitable xposed
[Xperia Z5 Premium Android Development] necrogodomega:
So I flashed to the HK MM 6.0.1 and now see that they don't allow apps to move to SD card as easily as before and Sony doesn't allow SD cards to be used as internal storage mergers (like MM was suppose to allow). FW is listed as :E6883_32.2.A.0.305_1299-6237_R10C.ftf (Customized HK)

So how can we deal with our apps? Or just let it go and give up on having use of my 200 GB SD card?
[Xperia Z5 Premium Android Development] YasuHamed:
you have to be more specific

what apps are you trying to move?

if your phone is rooted you can change sd permissions and can move various apps with root uninstaller
[Xperia Z5 Premium Android Development] ytheekshana:
OP...Can you advice me where to begin,....

I have E6853......

372 Nougat firmware installed.

Locked Bootloader
[Xperia Z5 Premium Android Development] EMJI79:
I didn't really understand where is Rootkernel by tobias that you mention in today's update? Doesn't seem to be in OP?
[Xperia Z5 Premium Android Development] YasuHamed:
sir

since you read just the update, you won't understand. the process below is mentioned.

Tobias original thread is here

https://xdaforums.com/xperia-z5/development/root-automatic-repack-stock-kernel-dm-t3301605

once you have your STOCK ROM's Kernel.sin to kernel.elf (converted), rootkernel5.20 can modify the kernel, install twrp for your to flash SuperSU or better SUPERUSER.

later how to grant RW access to /system is mentioned and finally how to disable remove apps once having RW access to System.
[Xperia Z5 Premium Android Development] YasuHamed:
you cannot do anything on locked bootloader accept updating mobile via OTA or Sony Xperia.

however if you want to root you must UNLOCK the bootloader.

if you don't care about your drm keys then simply unlock and start using modified kernels

however if you want to save you drm keys then you must run DIRTYCOW script by downgrading to Marshmellow kernel (MM) (Dec2016 update of Xperia z5p) and follow the instructions here

https://xdaforums.com/crossdevice-dev/sony/universal-dirtycow-based-ta-backup-t3514236

once drm keys are extracted, unlock the bootloader, the process is the OP and flash the latest ROM (android N)
[Xperia Z5 Premium Android Development] tuanck2004:
deer [MENTION=5613633]YasuHamed[/MENTION]

<<-to give write permissions to system folder install busybox and via terminal type

Code:

su

mount -o rw,remount /system>>

---

how to I can do it? you can explain in detail for me? tks
[Xperia Z5 Premium Android Development] YasuHamed:
sir,

once you have ROOTED Nougat 32.3.A.0.372 or 32.3.A.0.376

from playstore

install busybox / open it / grant it root access /

install terminal for android

open terminal

type

su

then enter, superuser will prompt , give root access to terminal

then in terminal type

mount -o rw,remount /system

and then enter,

if it just give you new line to type, and no error, then /system has been remounted

now install system app remover from playstore grant it root access and remove apps.

however some users are complaining that they still cannot delete massive files from /system , i don't know why should they be removing! but still, as of now you will have enough access to modify apps

also you can install adaway and fix scripts to blocks google adds globally in any app

best of luck, / let me know how it went
[Xperia Z5 Premium Android Development] arshia.sunboy:
Hi.Is new twrp recovery realised for new android N and this rooting method?
[Xperia Z5 Premium Android Development] YasuHamed:
with Rootkernel script, working impression of twrp is out!
[Xperia Z5 Premium Android Development] Vanta-Chan:
Hey guys, i'm kinda confused by the main post... I've got a E6853 on 32.2.A.0.253, which is rooted and got TWRP + SuperSU. How can I update the system to the latest version? (Preferably with Magisk, not SuperSU)
[Xperia Z5 Premium Android Development] Sami7942:
hi

kernel with drmfix & TWRP for E6833 build 376 Nougat

https://drive.google.com/file/d/0B8fiA4zKfJ4PWmV3VWZPbVJYc1k/view
[Xperia Z5 Premium Android Development] Seyren Windsor:
Can you make a kernel like that for E6883 [emoji4]
[Xperia Z5 Premium Android Development] YasuHamed:
please paste the log.

what option have NOT been selected

I Recommend NOT to embed

1. busybox

2. superSU

3.SuperUser

, busy box can be installed via playstore

and for better batter life both superSU and SuperUser should be flashed via twrp
[Xperia Z5 Premium Android Development] YasuHamed:
please provide me kernel for E6883 for 32.3.A.0.376 from the FTF file via 7zip , (kernel.sin)

and i will make it for u...
[Xperia Z5 Premium Android Development] atif_afzal:
[MENTION=5613633]YasuHamed[/MENTION]

Dear brother can you please share kernel for E6833 (376)

And also share which superuser and supersu have to flash with twrp.
[Xperia Z5 Premium Android Development] YasuHamed:
Good day Atif / Salam

AFTER You have updated to 32.3.A.0.376

from

https://mega.nz/#F!3FYhTbSC!9MraM-zYNRNMPzmTkSSs9g

download put superuser ORRRR superSU2.79 in sd card... ( few people faced sd reading error and batter draining issues with superSU so this time Tobias has enable Superuser also. it lighter and a bit different)

download the BOOT_E6833.img file and flash the kernel

it has

-dmvarity / OFF

-SONY RIC / OFF

- TWRP / Installed

-Drm fix / YES

- busyboxy / NO

after flashing goto TWRP and flash the SuperSU , you will have root access

to make /System folder RW

install busybox and terminal for android from PLAYSTORE

goto terminal

type

su
mount -o rw,remount /system

you will have /system mounted and with the help "SystemApp Remover"

you can uninstall system apps

------------------------------------------------------

if you had flashed SUPERUSER r259 via twrp in the begining then to have root access, you MUST INSTALL superUSER from PLAYTSTOR "A L S O "

http://play.google.com/store/apps/details?id=me.phh.superuser

let me know how it went ;)
[Xperia Z5 Premium Android Development] atif_afzal:
Thanks brother...one more thing i have my TA.backup and made Dk.ftf . After above steps can i flash my Dk.ftf suggest me thanks. when i will back my home then i will flash 376 and let yoy know my experience
[Xperia Z5 Premium Android Development] YasuHamed:
there is saperate TOOL to reinstate DRM KEYS.

https://github.com/DevShaft/Backup-TA/releases to extract and re-instate TA.img

however remember ! I NEVER TRIED THIS, since i never had chance to BACKUP my TA :(
[Xperia Z5 Premium Android Development] konstantinos3:
Is it possible to create a new / final post with step-by-step instructions for upgrading + rooting from 32.2.A.0.253 to Nougat (like the very first post in this thread)?

I am a bit confused....
[Xperia Z5 Premium Android Development] YasuHamed:
i will try to create new post! but trust me the process it self is complex

every build of sony on MM and N goes back to two basic questions if you want to root

1. bootlocked or unlocked

2. DRM KEYS

and there is different set of process of rooting device with boot locked or unlocked! Kernels keep getting updated and makes difficult to write ONCE IN FOR ALL tutorial!

i guess it will be possible only when SONY will announce that they are no more supporting z5 in android. where so far its SONY Second FLAGSHIP LATEST Device after XZ. so my guess that we will be getting more updates beyond 2017

for u!

give me your device number and send me your kernel! i will make patch for u!

you can read my reply to atif above! its quiet helping!

and if your device is E6833 then you can use the kernel i made for atif! and follow the process

make sure you are running 32.3.A.0.376
[Xperia Z5 Premium Android Development] konstantinos3:
Thank u very much for your answer. Of course I understand the difficulties....

My device is already rooted (unlocked bootloader)

Here are the details:
[Xperia Z5 Premium Android Development] ayhanornek:
How do we create the kernel? We will change the kernel sine file in ftf to img and make it boot.img. I did it as described in the forum does not enter recovery mode and needs to install recovery again later. 6853 for nougat...https://mega.nz/#!eZsVyLzB!yrmskoP85DZHn1NvAC00rmScPMfrnIvPAsPpO2DsDWg Sin file here

---------- Post added at 08:43 AM ---------- Previous post was at 08:16 AM ----------

We first convert the kernel sin file to the kernel editor with the kernel editor and then save it as boot img. I did this as root and the device turned on but did not enter recovery again
[Xperia Z5 Premium Android Development] YasuHamed:
you are on MM

your device is E6853 , plz download 32.3.A.0.376 via Xperifirm (flashTool) and using 7zip, send me the KERNEL.sin file

i will patch the kernel for u

rest instructions for you are the same as I gave above to ATIF ( he is on E6833)

update your device to 32.3.A.0.376 ( android N )
[Xperia Z5 Premium Android Development] ayhanornek:
here https://mega.nz/#!eZsVyLzB!yrmskoP85...IvPAsPpO2DsDWg
[Xperia Z5 Premium Android Development] YasuHamed:
I have patched the kernel for you and you can find it here (with Atif's kernel)

https://mega.nz/#F!3FYhTbSC!9MraM-zYNRNMPzmTkSSs9g

but you donload bootE6853_ayhanornek.img file

rest instructions are SAME which is gave to ATIF at

https://xdaforums.com/showpost.php?p=70995391&postcount=170

LOG

F:\6853\rootkernel_v5.22_Windows_Linux>rootkernel kernel6853.elf boot6853.imgRootkernel V5.22

- Unpacking kernel
Found elf boot image
Kernel version: 3.10.84-perf-gda8446f
Found appended DTB
- Detected vendor: somc (Sony), device: satsuki (Xperia Z5 premium), variant: row
- 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
- Install DRM fix? [Y/n] Y
- Install busybox? [Y/n] N
- Creating new initramfs
- Creating boot image
- Cleaning up
Done

i
[Xperia Z5 Premium Android Development] ayhanornek:
thank you bro

---------- Post added at 10:02 AM ---------- Previous post was at 10:00 AM ----------

These commands are adb or busybox mu

---------- Post added at 10:14 AM ---------- Previous post was at 10:02 AM ----------

How do you upload this video if you ask me I do not know how to use adb and commands
[Zenfone 2 Laser Q&A, Help & Troubleshooting] Zilliman:
I have done something to my phone because when I restore a backup image from TWRP it starts OK, connects to the Wifi and so on, and after a few seconds it reboots, before I really have a chance to do anything.

I then try to install an April 2016 version of CM 13, it installs OK, starts up, asks me to select a language, sometimes also prints "welcome to Vodafone", and there it reboots after a few seconds.

No matter what I install or what I restore from TWRP backups, it starts OK but then reboots on its own.

Finally I cannot install the latest ROM from ASUS because it complains about an L and an M something or other. The official way to install the ASUS ROM is to copy it onto the root of the SD card and go into recovery and press "update" but I have the TWRP installed and do not know how to go back to the original.

Any help appreciated.
[Zenfone 2 Laser Q&A, Help & Troubleshooting] LuK1337:
Umm, I will help you. Contact me using hangouts, steam or IRC ( look at my signature ).
[Xiaomi Redmi Note 3 Questions & Answers] spartanier7:
Hey guys,

so I thought about getting a Redmi note 3 Pro since my wileyfox swift broke.

I am a person that "needs" his phone rooted for adaway and viper audio. I also like CyanogenMod a lot.

After reading through a lot of threds here I got kind of confused and I am really sorry for the dumb questions following.

So what exactly do I have to do to get my phone unlocked rooted and maybe install CM (if it is stable enough).

And there seem to be quite many MIUI Roms out there. what is the difference between all these "global", "eu" and stable or developer versions?

Thanks in advance.

EDIT: Also I read that I can change MIUI Roms with locked bootloader. Can someone explain this?