yashsingh1/xdaforums huggingface dataset:
[Xperia Z4/Z3+ Android Development] moonbutt74:
k,

hi, instead of the "usual" kernel binary + dtb image

this package uses a compressed and concatenated kernel-dtb.

So where the "usual" setup results in a 20+mb kernel binary and a 700+kb - 2mb dt.img [depending]

the resulting image-dtb.gz generated during kernel compilation comes down to roughly 8.3mb total.

And since the ramdisk itself is largely text files with few small compiled binaries in sbin, the ramdisk itself

can be compressed from 13.1mb, uncompressed in this case, down to 6.9mb with gzip compression.

With lzma compression the ramdisk would be 2.8mb

m
[Xperia Z4/Z3+ Android Development] krusir:
Super. Install went perfect. Works as expected. Also flashed -arm64-custom-build-by-wanam-20160211.zip

Gravity works fine. I only tried few mods I used regularly.

Thanks for getting is available. I've been keep searching for past few days since upgrade.
[Xperia Z4/Z3+ Android Development] bobboviking:
Hi, I'm a noob regarding root on the Z3+ so I would be very grateful if someone could explain a bit more detailed who this installation should be carried out?

I never rooted my device on lollipop, but I guess that in order to be able to flash this kernel, the bootloader must first be unlocked?

I assume that the procedure has not changed because of the update to MM, so i guess I could find the steps somewhere here in the Z3+/Z4 forum (of course if you want to explain those steps as well I wont protest :))

Thanks in advance,

Andreas
[Xperia Z4/Z3+ Android Development] emiliogaiines:
Thank you so much! Now I finally got the iOS emojis ♥

Install was easy, boot time was same as normal!
[Xperia Z4/Z3+ Android Development] moonbutt74:
Andreas,

provided your device is single sim, just flash the img as normal using fastboot. As per OP this is for the MM firmware release.

If your device is dual sim [dsds] let me know and i will post a dsds version AFTER you post the kernel.sin image from the ftf firmware archive for your device.

NO MEGA! DIE CLOUD DIE !!

m
[Xperia Z4/Z3+ Android Development] diemadedrei:
Its not that complicated, but yes, your bootloader must be unlocked. Once you have that sorted, just use flashtool to flash the firmware (you can download the one you want from within flashtool using xperifirm) by installing fastboot and flashmode drivers (those are in the folder you installed flashtool; on anything above Win8 youll need to turn off driver verification to install these drivers, just google that if you dont know how it works), then choosing flashmode, selecting the firmware and falshing it. If you want to do a clean install, just check all the Wipe settings. Two questions will come up while flashing, just click yes on both.

Then you put the phone into fastboot mode (oh and have supersu on the SD card helps) and once again using flashtool, flash the img file from this thread. Then hotboot into the bootable TWRP, found in some other thread here. The phone will restart into TWRP and there you choose install and install the superSU.zip you copied to your SD card before.

If you dont understand parts of what I said, reconsider if youre really so much into gaining root OR ask ;)
[Xperia Z4/Z3+ Android Development] hanney:
Oh gosh. Do I need to unlock my phone first? Mine is dual sim, I'll post the kernel tomorrow, it's 2 a m here, sorry.
[Xperia Z4/Z3+ Android Development] moonbutt74:
Good deal :good:

I was waiting for someone with a dsds model to respond.

Again, post it to where i can get it.

NO MEGA! DIE CLOUD DIE !!

m

And yes, always now and forever, you will need to unlock your bootloader.
[Xperia Z4/Z3+ Android Development] iCstyle:
works perfect here! finally marshmallow, root and xposed! thank you very much !!!

oh and drmrestore.zip also works great! much better camera pictures, x-reality works etc! i'm really excited :D
[Xperia Z4/Z3+ Android Development] diemadedrei:
Anyone else with system storage being shown as 16 GB?
[Xperia Z4/Z3+ Android Development] hanney:
Here you go.

is gg driver ok by the way?

https://drive.google.com/open?id=0B80b07NYd46FYU5HWEdtaXoydm8
[Xperia Z4/Z3+ Android Development] moonbutt74:
You need to set the sharing option!!!
[Xperia Z4/Z3+ Android Development] hanney:
I've done that after you tried to get the link. Sorry for the inconvenience. I'll check it again
[Xperia Z4/Z3+ Android Development] moonbutt74:
And now you need to post the correct link!!!
[Xperia Z4/Z3+ Android Development] moonbutt74:
Okay good :good:
[Xperia Z4/Z3+ Android Development] moonbutt74:
What is the device codename and model number?

derp nevermind , i have too much going on at once xD
[Xperia Z4/Z3+ Android Development] hanney:
https://drive.google.com/open?id=0B80b07NYd46FYU5HWEdtaXoydm8

here you are
[Xperia Z4/Z3+ Android Development] CALYN:
This is NOT really restore DRM !

Once you UL all DRM will be destroy.

This only copy a patched drm lib so the drm function work again, so drm "function" restore.
[Xperia Z4/Z3+ Android Development] hanney:
it's Z3+ Dual (E6533)

---------- Post added at 11:24 AM ---------- Previous post was at 11:01 AM ----------

How could you backup drm key without rooting it first? I thought Xperia z4 must be unlocked then we can root
[Xperia Z4/Z3+ Android Development] iCstyle:
i never said I restored actual drms, thats not possible we all know. i just stated that i flashed "drmrestore.zip" which brought me back drm-features
[Xperia Z4/Z3+ Android Development] Aeroflyer:
Where did you get the drm file to activet the functions?

sorry my english
[Xperia Z4/Z3+ Android Development] Anish3605:
i did all the things and flashed twrp and also rooted my phone.. everything went well but now the issue is if i reboot into recovery phone reboots and stays at sony logo.. After few seconds phone restarts normally.. I tried four time.. Whenever i flash again twrp works for one time only.. tried wipe cache n dalvik too but its still same.. Please help me out.
[Xperia Z4/Z3+ Android Development] :
Anish,

I am thinking i have the incorrect warmboot address set.

Install terminal emulator or better, go through adb shell

either way run the following command

getprop ro.boot.warmboot

post that output, yes the dots are part of the command so ro[dot]boot[dot]warmboot

for example on my z5

$ getprop ro.boot.warmboot
0x77665501

I don't actually know if the bootrect setup works on the z3+

While you're getting me that info I'll ask [MENTION=5169444]AndroPlus[/MENTION] about it.

m

Edit, i need you to run

ls -al /dev/block/bootdevice/by-name/

i may actually have the wrong block device as well. Post that information as well in you next post.
[Xperia Z4/Z3+ Android Development] Anish3605:
Well here is the outcome. :)
[Xperia Z4/Z3+ Android Development] :
okay warmboot looks right but you ran the following command wrong.

it's not

ls /dev/block/bootdevice/by-name/

its

ls [COLOR="Red"]-al[/COLOR] /dev/block/bootdevice/by-name/

and i need it pasted into your post

seriously, my eyesight is shot.

m
[Xperia Z4/Z3+ Android Development] Anish3605:
Yeah I tried that but it gave an error. See this.
[Xperia Z4/Z3+ Android Development] Anish3605:
Sorry buddy my mistake. I forgot space. Now here is the answer.
[Xperia Z4/Z3+ Android Development] :
Okay so everything looks correct. :confused:

Are you flashing the correct recovery?
[Xperia Z4/Z3+ Android Development] Anish3605:
I flashed twrp 2.8.7.0.. Don't remember from where I downloaded but it was working well with my lollipop. So did flash the same. Can u please share the link? So I can download that and flash.
[Xperia Z4/Z3+ Android Development] :
alexander

so apparently the z3+ e6533 bootloader can be unlocked, there are international unlocked models on amazon as an example.

So i don't know what's going on with your phone.

m
[Xperia Z4/Z3+ Android Development] hanney:
Thanks very much. I'll try flashing the firmware again. I thought I'd made sure it was the version with unlock allowed. I'll see what i could do tomorrow then. You've been really nice to anyone of us
[Xperia Z4/Z3+ Android Development] diemadedrei:
As far as I know there is only TWRP WITH kernel available for this phone, so obviously if you flash it (instead of hotbooting) it'll overwrite the kernel.

Really no one with internal storage being shown as 16 GB?
[Xperia Z4/Z3+ Android Development] :
No that is actually incorrect, the twrp image is written to the FOTAKernel partition and with the bootrec setup in boot.img, what happens is using the button trigger, the ramdisk from the twrp image is extracted and loaded into memory instead of the ramdisk from boot.img.

16gb does sound off, :confused: this I'm assuming is the maximum available and not the max available minus storage taken up by /data correct?
[Xperia Z4/Z3+ Android Development] diemadedrei:
I know TWRP doesn't include kernel usually, but I think the only working version available at xda is one with the kernel included.

Yes, Android itself reports 16 GB as maximum available, es Explorer even says something around 9 total, probably system already subtracted. If no one else is having this and you do not have any ideas , I'll reflash tomorrow and see what happens.
[Xperia Z4/Z3+ Android Development] :
That does sound odd, i'd be interested to know the result. Note for the initial flash of the MM release on my z5p, I chose all the wipe options, after pulling all my tunes off the device of course :p . TWRP does have a kernel binary. That's necessary for booting it via fastboot, and it is written to FOTAKernel partition whole, but when using the bootrec setup to boot TWRP FROM the device instead of via fastboot boot recovery.img, then only the ramdisk is extracted to memory and it runs on the kernel from your boot.img.

m

I'm wondering if there's a misfire with the init binary in the TWRP image due to firmware update?
[Xperia Z4/Z3+ Android Development] krusir:
I recall once my E6553 show 16G after flashing. I forgot which ftf cause this. This was before MM release, so it is 5.x. I tried a different ftf, then it back to 32G after flashing.

Now I am running MM with this root image. Life been perfect so far.
[Xperia Z4/Z3+ Android Development] Aeroflyer:
Good evening. Would I like to root Z3 + but I have some doubts. Already researched the forum and there are various forms or explanations are different and I do not understand. Could someone make a tutotial with directions to unlock the bootloader, root ... do file installation that enable DRM again ..... Xposed installation ...

I'm with these doubts but many more members also have

thank you all
[Xperia Z4/Z3+ Android Development] diemadedrei:
Did you have to wipe to make it work again or just flash another ftf?
[Xperia Z4/Z3+ Android Development] krusir:
I recall I select "wipe" in flashtool. No harm to try "keep data", if it does not work, then do a wipe at 2nd time.
[Xperia Z4/Z3+ Android Development] Aeroflyer:
Sorry , but where can i find drmrestore.zip that some users talk about so i can restore drm functions?

thanks
[Xperia Z4/Z3+ Android Development] diemadedrei:
[MENTION=3994990]Aeroflyer[/MENTION]: http://xdaforums.com/showthread.php?t=2930672

Ok, so I flashed the same ftf again without wiping to no avail, then I flashed the same again with wiping and now it shows the correct storage. No idea why that happened the first time.
[Xperia Z4/Z3+ Android Development] Aeroflyer:
[MENTION=4542763]diemadedrei[/MENTION] I'm following that topic and i didn't see yet the file to download. I asked the user that use the file but no answer yet
[Xperia Z4/Z3+ Android Development] diemadedrei:
You have to read the op carefully... Now please btt
[Xperia Z4/Z3+ Android Development] Aeroflyer:
I have read the initial topic several times and applied on xperia z2. Now i'm waiting that the member who created the topic to send me the file (i expect he the file)
[Xperia Z4/Z3+ Android Development] iCstyle:
[MENTION=3994990]Aeroflyer[/MENTION]: 1 min Google search and you'd have found it

http://xdaforums.com/xperia-z5/development/sony-credentials-restore-unlocking-t3296383
[Xperia Z4/Z3+ Android Development] Aeroflyer:
Sorry if i'm a noob and didn't know tha z5 have the same drm restoration that z3+ have
[Xperia Z4/Z3+ Android Development] hussian:
hello,

where can i find a recovery img to hotboot from?

please help
[Xperia Z4/Z3+ Android Development] diemadedrei:
http://xdaforums.com/showthread.php?t=3198009
[Xperia Z4/Z3+ Android Development] Aeroflyer:
Unlock bootloader, boot, TWRP, root, drmrestore and xposed. Work like a charm ?

Thanks you all
[Xperia Z4/Z3+ Android Development] Tantawi:
Amazing work, finally the Z3+ is getting some love! would be amazing if you can keep updating this kernel using latest sources.
[Xperia Z4/Z3+ Android Development] MotexT:
Can`t hotboot for recover - blinks 3 times red and reboots then. What it cant be? Tryed already to flash that recovery and then enter - neither works.
[Xperia Z4/Z3+ Android Development] diemadedrei:
Which file are you using?
[Xperia Z4/Z3+ Android Development] Aeroflyer:
Good afternoon. After a few days to experience the xperia z4 after unlocking the bootloader and restore DRM functions working fine. I'm going to try the applications of the camera, they all close with error. Timeshift burst, time lapse etc.etc ...

Does anyone have suggestions how I can fix the problem? Thank you
[Xperia Z4/Z3+ Android Development] lilloscar:
Hi, this steps are safe too for the dual vers E6533? including the TWRP you mention?

Thanks
[Xperia Z4/Z3+ Android Development] diemadedrei:
I don't know for sure, check the thread.
[Xperia Z4/Z3+ Android Development] Aeroflyer:
Already figured out why the camera of applications stopped working! I experienced some options. I flash the stock kernel rom and returned all the work except the options that had installed with root. When I flashed the existing kernel in this post, some sony applications began to error opening. How can solve this problem to get everything working well? I don´t have the experience to change the file t make it work :/
[Xperia Z4/Z3+ Android Development] diemadedrei:
No problems here. Did you do a full wipe?
[Xperia Z4/Z3+ Android Development] Aeroflyer:
Yes i did. The holy error tha gave me has flashing this file.
[Xperia Z4/Z3+ Android Development] Aeroflyer:
i just did full wipe and its the same :/

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

What utility have poison_ivy_yeah_xD_defconfig.zip?
[Xperia Z4/Z3+ Android Development] MotexT:
Hey buddies. I made a flashable TWRP for our devices. Check my thread on General section, with guides and link included. No more pain with hotboot.
[Xperia Z4/Z3+ Android Development] :
You clearly did not bother to read the OP.
[Xperia Z4/Z3+ Android Development] Houge_Langley:
Hi you guys, where and which TWRP Recovery version could use ?

My E6533 have been unlock bootload and flash this kernel.

Thank you.
[Xperia Z4/Z3+ Android Development] MotexT:
You can use either one time bootable twrp from Android Development thread, or use my flashable TWRP recovery. But be fast - I will close my thread due to credits issues.
[Xperia Z4/Z3+ Android Development] Houge_Langley:
Thank you, sir. I found your thread.

:o

One more thing, Could 32.1.A.1.163 using your Recovery. I mean yours building for 28.0.A.8.251.
[Xperia Z4/Z3+ Android Development] diemadedrei:
You probably found the wrong thread, his is in the general section.
[Xperia Z4/Z3+ Android Development] Houge_Langley:
Yes, I know.

BTW, that one could not use ?!:confused:
[Xperia Z4/Z3+ Android Development] MotexT:
Nope. my build is for MM, but it also can work with LP, but I'm not sure. Anyways, it was designed just for MM.

MotexT
[Xperia Z4/Z3+ Android Development] Houge_Langley:
Thank you very much.:fingers-crossed::good::highfive:
[Xperia Z4/Z3+ Android Development] beaver21c:
Sim was not recognized After flashing

:confused:

I did all as described here. But Sim was not recognized After flashing, and was continually reboot. I want to know the cause of the problem. please help.

e6553 / 32.1.A.1.163 HK / unlocked

1) fastboot flash boot sxz3plus_ivy_MM_Rootable_Permissive_boot.img

2) fastboot boot recovery.twrp.2.8.7.0.img

3) wipe cache, dalvik cache, factory reset

3) flash SuperSU-v2.68.zip

4) reboot
[Xperia Z4/Z3+ Android Development] Houge_Langley:
You do some mistakes.

fastboot flash recovery TWRP. img is right
[Xperia Z4/Z3+ Android Development] beaver21c:
Thank you. I am following to some Installation instructions

ex.

http://xdaforums.com/xperia-z4/development/twrp-v2-8-7-0-sony-z3-e6553-ivykitakami-t3198009

http://xdaforums.com/xperia-z4/development/custom-kernel-z3-e6553-nuke-verity-sony-t3198059

All the same "fastboot boot recovery.img"

I'm confused.
[Xperia Z4/Z3+ Android Development] :
Ahh okay, here's how it works,

fastboot boot <name of image>

directly boots the recovery or boot image you specify, results can be mixed.

fastboot flash

actually flashes the image to the device , so,

flashing a recovery

fastbtboot flash recovery recovery.img <---or whatever the name of the image file is, same with boot, just specify the correct partition.

m
[Xperia Z4/Z3+ Android Development] Houge_Langley:
Thank you for your info. That's be clearly to see.
[Xperia Z4/Z3+ Android Development] kemod:
Successful root on Dual SIM (E6533)

I own a Sony Xperia Z3+ Dual SIM (E6533)

First, I did an OTA update to Marshmallow 6.0 (32.1.A.1.163), and then I

1. Copy BETA-SuperSU-v2.68-20160228150503.zip to phone storage via USB --> https://download.chainfire.eu/924/SuperSU/BETA-SuperSU-v2.68-20160228150503.zip

2. Unlocked bootloader as directed in Sony Developer page --> http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ and installed the latest Android SDK Tool

3. I copy below files to Program Files (x86)/Android/android-sdk/platform-tools/ where Android SDK Tool was installed:

a. twrp2.img (Dual SIM Version) --> http://xdaforums.com/xperia-z4/development/twrp-xperia-z3-fota-recovery-t3346298

b. sxz3plus_ivy_dsds_MM_Rootable_Permissive_boot.img (rootable kernel for Dual SIM) from this thread

4. I turned off the phone, hold the volume up button while plugging the USB to computer until Blue LED flashes

5. Right click on folder Program Files (x86)/Android/android-sdk/platform-tools/ in Windows Explorer and click "Open Window command here"

6. Run command "fastboot device" to confirm fastboot mode connection

7. Run command "fastboot flash boot sxz3plus_ivy_dsds_MM_Rootable_Permissive_boot.img"

8. Run command "fastboot flash recovery twrp2.img"

9. Unplug the phone, turn it on, wait until orange LED flashes on splash screen, and press Volume Up once

10. TWRP appears, I installed "BETA-SuperSU-v2.68-20160228150503.zip" from it, reboot to system.

11. That's it, I don't even need to reset Dalvik Cache or Cache, everything is intact. Nothing changes on my phone except now I'm perfectly rooted.

Thanks :)
[Xperia Z4/Z3+ Android Development] Pipould:
Hello,

Thanks, did you download the Z3+ bootloader or the Z5 Dual bootloader from sony website ?
[Xperia Z4/Z3+ Android Development] kemod:
I only downloaded the USB Driver and Android ADB Toolkit and unlock the bootloader as directed by Sony Website. First I chose Sony Z3+ on device selection, submit my SIM number 1 IMEI number (Z3+ Dual has 2 IMEI), and Sony display unique command based on that IMEI to unlock the bootloader via fastboot line command, so I didn't overwrite my bootloader with a new one, just unlocked it. If you want to know how I did it, it's exactly like what written in the Sony Website link I gave, everything is straight forward there.
[Xperia Z4/Z3+ Android Development] Quarx:
Hello. I just bought this device few days ago. Very happy!

No problems with root or anything else. Thanks!
[Xperia Z4/Z3+ Android Development] LMcR92:
Working a treat. Hopefully Sony pulls their finger out and we get some ROMs going.
[Xperia Z4/Z3+ Android Development] LMcR92:
Will this be updated with Andros sources regularly?
[Xperia Z4/Z3+ Android Development] Tantawi:
Another new firmware is rolling, can you please update the kernel to be able to root it too? Thanks a lot!

http://xdaforums.com/xperia-z4/general/firmware-rolling-z3-build-32-1-1-185-t3353435
[Xperia Z4/Z3+ Android Development] LMcR92:
Help will this small update override the systemless root/kernel? Can I ota since it downloaded.
[Xperia Z4/Z3+ Android Development] MotexT:
Send me this new kernel, I`m going to work on that.
[Xperia Z4/Z3+ Android Development] LMcR92:
I have no access to a computer just now. But I would help if I could. Sorry
[Xperia Z4/Z3+ Android Development] LMcR92:
This is the file I guess.
[Xperia Z4/Z3+ Android Development] MotexT:
Nope, it`s OTA package. You need to extract your kernel from your phone. Can`t provide the guide right now, i`m busy a bit.
[Xperia Z4/Z3+ Android Development] LMcR92:
Oh got you. You mean flash tool the latest fw then extract the kernel. Bummer sounded fun if I had my PC at hand :crying:
[Xperia Z4/Z3+ Android Development] MotexT:
Yeah, with Flashtool it will be a lot easier. I haven`t a possibility to do it by myself as I don`t have a good internet, so can`t download a whole rom which is about 2.5Gb. But I will be happy if someone could do it for me :D
[Xperia Z4/Z3+ Android Development] LMcR92:
Some one help the man. It takes us closer to being free from Sony a lil bit. I'll have access to my PC tomorrow bit that's a bit late haha.
[Xperia Z4/Z3+ Android Development] MotexT:
Good news! Some guys from 4pda have reported that we can still use old kernel along with recovery from previous version.
[Xperia Z4/Z3+ Android Development] Tantawi:
Here you go, I extracted the kernel img for you:

https://drive.google.com/open?id=0B0qTaKhtcQcuOC1XdUJVZjAwYXc

Thanks a lot for your effort!
[Xperia Z4/Z3+ Android Development] MotexT:
Huge thanks! As soon as I come back to home will start to working with it (even if it's the same version :P)
[Xperia Z4/Z3+ Android Development] krusir:
32.1.A.1.185 just went out. I am still looking for ftf file. I hope sxz3plus_ivy_MM_Rootable_Permissive_boot.img still work for this new 185 build.

OP, would mind to get a a new Rootable for 185 if it is not compatible.
[Xperia Z4/Z3+ Android Development] MotexT:
Seems like it's compatible, but i can't test by myself yet. Since the kernel version didn't change - try ro play with it. But I will perform this test ASAP, and if it won't work - will made rootable one for 185. Cheers!
[Xperia Z4/Z3+ Android Development] LMcR92:
Just a question, since your kernel is based on Andros sources will you implement his newer sources into this updated kernel?
[Xperia Z4/Z3+ Android Development] endemania:
one question, my z3+ dual E6533 is rooted and unlocked bootloader, I can not upgrade to 32.1.A.1.185, PC Companion said can not flash with modified system, so how can I upgrade to 32.1.A.1.185 ? can some one make flashable zip ? thanks
[Xperia Z4/Z3+ Android Development] diemadedrei:
Just flash via flashtool, just did this with this kernel and everything working (except TWRP)
[Xperia Z4/Z3+ Android Development] krusir:
I did flash E6553_32.1.A.1.163 RU version. Everything seems works fine ... Except the following minor thing ..

Lost APN setting after that. Added it back manually.

Somehow I feel charging is slower which I don't get it. Anyway, will use for a few days and see

When yo flash, I "exclude" kernal and "foa kernel" ... this will preserve current rooted kernel and TWRP. Assuming the new build works with previous kernel, apparently it does.

---------- Post added at 12:00 ---------- Previous post was at 11:59 ----------

I tried to download E6553_32.1.A.1.163 US version, but not able to do it. Anyone knows where to get US or SG build.
[Xperia Z4/Z3+ Android Development] diemadedrei:
APN is one of the main differences between versions. Anyway, you can get all ftf through xperifirm which is included in flashtool.
[Xperia Z4/Z3+ Android Development] endemania:
Can someone tell me how to re-lock bootloader? I've already reflash using flashtool, but bootloader status still unlocked. Thank you..