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

danalec

Senior Member
Dec 18, 2012
63
48
0
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
 
Last edited:
Aug 6, 2016
25
2
0
Edinburgh
To expand the tft tree and view the tft, just click on it. Notice it will change the arrow side (→ to ↓)
Thanks danalec, this is the most helpful advice. All I needed to do was hover the cursor over the little arrow instead of the body of text to expand the tree. I feel pretty silly, I am so used to windows and clicking on the icon or text I didn't know you had to click the little arrow
Followed the steps in the OP, device appears to be rooted now according to the script.
 

Crash338

Senior Member
Sep 2, 2011
291
131
0
Montreal
SGP512 Kernel

Hi guys,

I used this exact method to root my Xperia Z2 phone which worked out great. Id like to do the same for my Z2 Tablet. I'm downloading the 291 version from XperiFirm but how do I get my hands on the 575 Kernel for SGP512 ... or can I use any other 575 Kernel just while I root .. ill flash back my 291 from the FTF I'm grabbing from XperiFirm once done.

Thanks
 
Last edited:

danalec

Senior Member
Dec 18, 2012
63
48
0
I'm downloading the 291 version from XperiFirm but how do I get my hands on the 575 Kernel for SGP512 ... or can I use any other 575 Kernel just while I root
.575 kernel copies are posted in the main post,
if you still have doubts about XperiFirm, please ask them in their own thread.
 
Aug 6, 2016
25
2
0
Edinburgh
I wasn't able to get the kernels in the main post to work (do they require an unlocked bootloader?) so I had to use the Taiwan version of .575 in xperifirm.
03/052/2016 16:52:21 - INFO - Device connected in fastboot mode
03/052/2016 16:52:59 - INFO - Flash canceled
03/053/2016 16:53:08 - INFO - Now plug your device in Fastboot Mode
03/053/2016 16:53:18 - INFO - Selected kernel (boot.img or kernel.sin): C:\Users\Desktop\kernel_S1-SW-LIVE-9C84-PID1-0006-MMC.sin
03/053/2016 16:53:18 - INFO - Flashing selected kernel
03/053/2016 16:53:19 - INFO - sending 'boot' (11303 KB)...
03/053/2016 16:53:19 - INFO - OKAY [ 0.443s]
03/053/2016 16:53:19 - INFO - writing 'boot'...
03/053/2016 16:53:19 - INFO - FAILED (remote: Command not allowed)
03/053/2016 16:53:19 - INFO - finished. total time: 0.446s
03/053/2016 16:53:19 - INFO - FASTBOOT Output:
sending 'boot' (11303 KB)...
OKAY [ 0.443s]
writing 'boot'...
FAILED (remote: Command not allowed)
finished. total time: 0.446s
 

Crash338

Senior Member
Sep 2, 2011
291
131
0
Montreal
.575 kernel copies are posted in the main post,
if you still have doubts about XperiFirm, please ask them in their own thread.
Thanks for answering but I'm not sure where got the doubts part. I was able to find a 575 Kernel for my SGP512 but when running the bat file I get that my device isn't supported.

[100%] /data/local/tmp/mm_twrp_recovery_install/boot_twrp_recovery.sh
[100%] /data/local/tmp/mm_twrp_recovery_install/busybox
[100%] /data/local/tmp/mm_twrp_recovery_install/byeselinux.ko
[100%] /data/local/tmp/mm_twrp_recovery_install/chargemon.sh
[100%] /data/local/tmp/mm_twrp_recovery_install/install_twrp_recovery.sh
[100%] /data/local/tmp/mm_twrp_recovery_install/iovyroot
[100%] /data/local/tmp/mm_twrp_recovery_install/modulecrcpatch
[100%] /data/local/tmp/mm_twrp_recovery_install/recovery.twrp.cpio.lzma
[100%] /data/local/tmp/mm_twrp_recovery_install/wp_mod.ko
iovyroot by zxz0O0
poc by idler1984

Error: Device not supported
Device name: SGP512
Kernel version: Linux version 3.4.0-perf-g43ea728 ([email protected]) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #1 SMP PREEMPT Fri Apr 22 17:27:56 2016
 

danalec

Senior Member
Dec 18, 2012
63
48
0
I wasn't able to get the kernels in the main post to work (do they require an unlocked bootloader?) so I had to use the Taiwan version of .575 in xperifirm.
no, they need to be packed in .tft format to be flashed and I already posted a mini tutorial in previous replies.
also note taiwan version is not currently supported by iovyroot


I was able to find a 575 Kernel for my SGP512 but when running the bat file I get that my device isn't supported.

Error: Device not supported
Device name: SGP512
Kernel version: Linux version 3.4.0-perf-g43ea728 ([email protected]) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #1 SMP PREEMPT Fri Apr 22 17:27:56 2016
many people already rooted SGP512, you probably flashed an unsupported .575 kernel or didn't use the latest version.

if you are in doubt, read the main thread and double check the checksums

please note, iovyroot checksums are
crc32: B2489748
md5: B461D2EE4AC2A8595B422CFFC9020FC7
sha256: 8CC82E66B127D6E7E360B07B1D604B6782AB8CE9830E7E87B149C4EAA5A21015
 
Last edited:

Crash338

Senior Member
Sep 2, 2011
291
131
0
Montreal
no, they need to be packed in .tft format to be flashed and I already posted a mini tutorial in previous replies.
also note taiwan version is not currently supported by iovyroot




many people already rooted SGP512, you probably flashed an unsupported .575 kernel or didn't use the latest version.

if you are in doubt, read the main thread and double check the checksums

please note, iovyroot checksums are
crc32: B2489748
md5: B461D2EE4AC2A8595B422CFFC9020FC7
sha256: 8CC82E66B127D6E7E360B07B1D604B6782AB8CE9830E7E87B149C4EAA5A21015
You are right, I flashed the .575 Taiwan version which you mentioned is unsupported. Where can i find .575 version for SGP512. The ones in the main post arent for SGP512 and they are .sin files meaning only an unlocked bootloader can flash them. My bootloader is locked so I cant use them and they only .575 version i can find is singapore or taiwan.

You say that the SGP512 is already supported and files are posted in the thread but i have re-read the thread several times and cant find it.

Thanks for your help.
 
Aug 6, 2016
25
2
0
Edinburgh
Crash338, use the sin file from the OP (the SGP521 kernel should be ok for the 512) in flashtool Create > Bundle and flash the ftf from the firmware folder. Run install.bat with the tablet connected in charging mode (otherwise it wont run, in my case anyway). Do the rest with SuperSu on the SD card. If I can manage to get root, anyone can :) Big thanks again to danalec and casouzaj for their patience.
One final question, danalec, you mention going back to .291 after root. After the final reboot (after supersu install) my firmware is still showing as .291. Should this be right?
 
Last edited:
  • Like
Reactions: casouzaj

casouzaj

Senior Member
Oct 13, 2006
2,219
569
193
57
Haibara-gum Yoshida-cho Sumiyoshi-shi
Crash338, use the sin file from the OP (the SGP521 kernel should be ok for the 512) in flashtool Create > Bundle and flash the ftf from the firmware folder. Run install.bat with the tablet connected in charging mode (otherwise it wont run, in my case anyway). Do the rest with SuperSu on the SD card. If I can manage to get root, anyone can :) Big thanks again to danalec and casouzaj for their patience.
One final question, danalec, you mention going back to .291 after root. After the final reboot (after supersu install) my firmware is still showing as .291. Should this be right?
Bear in mind that 23.5.A.1.291 is the ROM denomination, not the kernel's. Under Settings > About phone you must look at the kernel date. If it is dated April, 22 2016, then it is from the 575 firmware. If it's dated June 28 2016, it's from the 291 one instead.
 

Crash338

Senior Member
Sep 2, 2011
291
131
0
Montreal
Crash338, use the sin file from the OP (the SGP521 kernel should be ok for the 512) in flashtool Create > Bundle and flash the ftf from the firmware folder. Run install.bat with the tablet connected in charging mode (otherwise it wont run, in my case anyway). Do the rest with SuperSu on the SD card. If I can manage to get root, anyone can :) Big thanks again to danalec and casouzaj for their patience.
One final question, danalec, you mention going back to .291 after root. After the final reboot (after supersu install) my firmware is still showing as .291. Should this be right?
Hi, Thanks.. I just tried tried with the SGP521 but when trying to restart tablet with a kernel from a different model, it will just vibrate once and thats it... doesnt boot back up. Gotta reflash a kernel from an SGP512 otherwise its a paperweight.

Is your tablet an SGP512 or a 521?
 
Aug 6, 2016
25
2
0
Edinburgh
I have the 521 but I recall reading earlier in the thread some people got success with these kernels even though they had a different version of the Z2 so I thought it was worth a try.
Bear in mind that 23.5.A.1.291 is the ROM denomination, not the kernel's. Under Settings > About phone you must look at the kernel date. If it is dated April, 22 2016, then it is from the 575 firmware. If it's dated June 28 2016, it's from the 291 one instead.
Ah ok, I have the 575 one, i'll leave it like that for the moment, I plan to get Xposed, etc. Also, I haven't been able to get wifi since rooting ''Authentication error''.
 

casouzaj

Senior Member
Oct 13, 2006
2,219
569
193
57
Haibara-gum Yoshida-cho Sumiyoshi-shi
I have the 521 but I recall reading earlier in the thread some people got success with these kernels even though they had a different version of the Z2 so I thought it was worth a try.

Ah ok, I have the 575 one, i'll leave it like that for the moment, I plan to get Xposed, etc. Also, I haven't been able to get wifi since rooting ''Authentication error''.
No problems with WiFi connections in my wife's SGP551 model. Have you tried to forget and reconnect to the WiFi network you are currently facing issues to connect to?
 
Last edited:
Aug 6, 2016
25
2
0
Edinburgh
Yeah, tried that but it didn't work. I'll check the rest of the forum and see if I can troubleshoot it. Not sure if it's specifically caused by rooting or something I've done previously with flashtool when I was having trouble with it.
 

anandfr

New member
Oct 8, 2016
3
1
0
Hi, Thanks.. I just tried tried with the SGP521 but when trying to restart tablet with a kernel from a different model, it will just vibrate once and thats it... doesnt boot back up. Gotta reflash a kernel from an SGP512 otherwise its a paperweight.

Is your tablet an SGP512 or a 521?
Hi Crash 338,
I also have a SGP512 tablet and trying like you.
I have tried with the 3 kernels proposed at the beginning of this thread.
- With kernels for SGP521 (UK) and SGP551 (BR), tablet does not boot
- With kernel for SGP511(UK), it boots properly. But then, when launching "install.bat", it tells that device is not supported. I have well used the latest version of R&R4MM : beta3.

Could someone confirm that he could make it work on SGP512?

Or may be iovyroot needs to be updated specifically for SGP512.

I would like to try this and request iovyroot modification for a 575 kernel specific for SGP512.
Unfortunately I am new user on this forum and cannot include a link to such a kernel in my post.

Thanks a lot for help.
 

danalec

Senior Member
Dec 18, 2012
63
48
0
let me clarify some stuff, it is possible to add iovyroot support for kernel even older than .575 (eg.:.570)
if you cannot find any older kernel and want to request a new iovyroot, just follow the instructions
 

danalec

Senior Member
Dec 18, 2012
63
48
0
Yeah, tried that but it didn't work. I'll check the rest of the forum and see if I can troubleshoot it. Not sure if it's specifically caused by rooting or something I've done previously with flashtool when I was having trouble with it.
never seen a wifi connection problem with the root or cleaning scripts but LTE is gone if you remove the wrong packages. are you using xposed? need more details
 

danalec

Senior Member
Dec 18, 2012
63
48
0
I also have a SGP512 tablet and trying like you.
Or may be iovyroot needs to be updated specifically for SGP512.
for every SGP variant iovyroot requires to be modified, all models requested are being added as cumulative (which means the newest version will contain all the previous models).

currently SGP512 is not being supported, someone has to request and send me the kernel + info

only SGP511 UK .575 kernel was posted by another user and requested to be added to iovyroot and it was already fullfilled.

Unfortunately I am new user on this forum and cannot include a link to such a kernel in my post.
Yes you can, you just do not need to upload using xda's attachment manager, just upload it somewhere else and paste the link
 
Last edited:
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone