92

Root&Recovery4Xperia Z2 Tablet MM Stock ROM Locked Bootloader (.575 .291) in...

 3 years ago
source link: https://forum.xda-developers.com/t/root-recovery4xperia-z2-tablet-mm-stock-rom-locked-bootloader-575-291-in-2-steps.3437520/page-8#post-85900273
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Top Liked Posts

Root&Recovery4Xperia Z2 Tablet MM Stock ROM Locked Bootloader (.575 .291) in 2 steps!

--- [ introduction ]
this script is a recovery installer (TWRP) for Sony Xperia Z2 Tablet with Marshmallow Stock Rom (23.5.x) and works with locked bootloader.
the only requirement to the script work is to have a .575 kernel in the time of installation, you can flash another kernel later (.291 by example).


--- [ how to ]
step 1) flash Kernel 23.5.A.0.575 for TWRP boot [if you already have a listed .575 kernel, jump this step]
Kernel SGP511 23.5.A.0.575 (Customized UK) **SGP512 users reported that SGP511 kernel works flawlessy, offsets were checked and they match.
Kernel SGP521 23.5.A.0.575 (Customized UK)
Kernel SGP551 23.5.A.0.575 (Claro BR)


step 2) grab View attachment 3898241 and run install.bat to boot TWRP:Recovery & Root for Marshmallow

now install SuperSU (by the time of this post SR1-SuperSU-v2.78-SR1-20160915123031.zip) and if you want other stuffs like Xposed sdk 23 and enable Multi-Window

after all of this, you can flashback Kernel 23.5.A.1.291 back
Kernel 23.5.A.1.291 (Generic BR) (Mirror)

Enjoy! Cheers! :good::highfive:

--- [ complimentary ]
-Flashtool by @Androxyde
-SuperSU by @Chainfire's
______

--- [ .575 kernels iovyroot added ]
SGP511 Generic UK
SGP512 Generic UK TW
SGP521 Generic UK
SGP551 Claro BR

--- [ versions ]
TWRP 3.0.2-0
Installation Script: beta release 0.4

--- [ credits & thanks ]
@shoey63 for Recovery & Root for MM .575/.291 LB infos
@zxz0O0 for iovyroot
@gustavo_v for iovyroot offset explanation
@Nut for XZDualRecovery and TWRP's mods
@simply_proto, @XenTeckz, @anandfr for Z2 Tablet SGP521 SGP512 UK TW 23.5.A.0.575 kernel and test
@casouzaj for suggesting TWRP update

______

--- [ FAQ ]
Q: I have official Xperia 23.5.A.1.291, Can I flash 23.5.A.0.575 kernel over it?
A: Yes

Q: I have flashed 23.5.A.0.575 kernel and I like to flash back 23.5.A.1.291, Is it possible?
A: Yes

Q: I cannot find 23.5.A.0.575 kernel for my model, Is it possible to use an older kernel?
A: Yes probably, with a high success chance. It will require to modify iovyroot, just follow the instructions to request.

Q: I have LL and I'd like to root it, is it possible?
A: Yes, just follow the instructions to request iovyroot modification.

Q: Will I lose TA partition?
A: No, that's why it works with a locked bootloader

______

--- [ requesting your model ]
please upload and post your kernel firmware ftf (must be .575) file and version

to retrieve your kernel version run: adb shell cat /proc/version
(it must be similar to Linux version 3.4.0-perf-g43ea728 (BuildUser@BuildHost) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #1 SMP PREEMPT Fri Apr 22 17:27:56 2016)

______

--- [ download ]
View attachment 3898241
crc32: A6FA85E6
md5: ACBEAF8EAD78D8883D86925062FC0C6A
sha256: 8282DCD3E952A50A3080FB0BCE7F4EA810FE13705D314ED44232E3A30789BAB1
My experience with this thread

Hello everyone, first of all please forgive my bad english.
I wanted to thank you danalec for the awesome work, as a noob i had some hard time trying to root my SGP521 but i've figured it out. Here are some advices for other noobs like me to avoid some mistakes i did:

First of all, know if you are eligible : this is a tutorial for owner of Xperia Tablet Z2 (SGP511, SGP512, SGP521 and SGP551) who have stock Android 6.0 Marshmallow with firmware 575 or 291.
--- [ introduction ]
step 1) flash Kernel 23.5.A.0.575 for TWRP boot [if you already have a listed .575 kernel, jump this step]
You need to look for a software by the name of Flashtool, this software let you flash roms to your xperia device, try to find the latest version.
Once you've installed flashtool you need it to recognise your Tablet, for that you need to install the right drivers that you can find in C:\Flashtool\drivers install them (don't forget to select your tablet when he about the devices)

Now that our flashing software is ready we need to also prepare the tablet, you need to put the superSU zip file on your internal storage and enable usb debugging. Don't forget to plug it to plug it to your pc and let windows it install the drivers to fully recognise the tablet, once done you can disconnect your tablet.

To flash the custom kernel
--- [ introduction ]
Kernel SGP511 23.5.A.0.575 (Customized UK) **SGP512 users reported that SGP511 kernel works flawlessy, offsets were checked and they match.
Kernel SGP521 23.5.A.0.575 (Customized UK)
Kernel SGP551 23.5.A.0.575 (Claro BR)
you need to move the file from .sin to .tft, to do that open flashtool, go to tools>bundles>create, once the bundler window shows up choose the kernel file, the device (SGPXXX), and whathever branding and name you want then you're good to create the .tft file.
After that, get back to flashtool click on the lightning and select flashmode, you'll get a window to select wich firmware you want to flash to your device, open up the arrow with the name of your device (SGPXXX) and select the one with the branding you choosed before for your kernel, you're ready to flash your device, you can now plug in your powered off tablet while holding the volume - key, this will begin flashing (takes less than a minute). once done check twice if you have any error on the log of flashtool if non you can continue to the step 2.

step 2) grab R&R4MM-beta04.rar and run install.bat to boot TWRP:Recovery & Root for Marshmallow
You can unplug your device and boot it up to check if anything's wrong, now unzip R&R4MM-beta04.rar and you should find a "install.bat", before starting it close flashtool and be careful to not run it as admin, once the command window says that the daemon started successufly, you can plug in your device and this will start flashing TWRP, if everything goes right your tablet should reboot with a purple led, it will boot the TWRP who can let you install the .zip file for SuperSU that you put before in your internal storage, once installed congratualtions, your tablet is officially rooted. you can also boot TWRP by waiting until the green let lights up and hold volume down key if you wanna install something else.

unfortunately i couldn't boot up TWRP without this method, also couldn't install the Xposed framework 23, if someone can help me out i would really apreciate it
I bundled the .sin in this thread and it created an .ftf file but (like all the other ftf's in my folder) still not detected in flashtool's firmware selector.
In your screenshot your "Sony Xperia Z2 Tablet" tree is not expanded, your list is just hidden
To expand the tft tree and view the tft, just click on it. Notice it will change the arrow side (→ to ↓)

If you have any trouble with flashtool, please use their own FAQ and/or thread.

http://www.flashtool.net
http://forum.xda-developers.com/showthread.php?t=920746
I can confirm it works on my Z2 tablet as well. Thank you very much! No longer will i have to be pulling my hair out.
Hi casouzaj,

I have tried SGP551 FTF kernel but my SGO511 device does not boot on the installed system version of 6.0.1.

Any other way of getting this to work and be rooted?

Thanks
I have a solution for you. Launch Flashtool, click on the XF icon (the last one in the icons list on the top). When XperiFirm comes in, Select Xperia Z2 Tablet Castor on the left part, then SGP511 Wi-Fi, and select the only 23.5.A.0.575 ROM available for your tablet, the 1281-7858 Taiwan Customized TW one. Click on the 23.5.A.0.575 / R2D field on the right. A download window takes over. Click on Download. When the ROM is downloaded and unpacked ('Downloaded successfully' appears). Click on Close to close the download window. Then, click on the X in XperiFirm's window to kill it. Flashtool will resume its work, which will culminate with the creation of the ftf file.

To install this ROM's kernel only, after selecting flashmode and this ROM, tick all the checkboxes in the exclusion list on the right, including those Misc TA ones on the botton, except the kernel box. Only 'kernel.sin' should remain in the list of components to be flashed. Then, click on Flash.

Hope it works for you.

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK