guys, I've pushed code merge request for the iovyroot
now it is opensource, sorry for the delay
now it is opensource, sorry for the delay
Last edited:
Thanks a lot for you answer danalec.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
Could not wait to try, I have just done this modification in souce code (replacing "SGP511" string by "SGP512") , compiled iovyroot, and with kernel for SGP511 (UK) 575 installed on my SGP512, I have executed install.bat with this modified iovyroot: it has well rebooted in TWRP !Thanks a lot for you answer danalec.
I 've had a quick look at iovyroot source code, and I see that for each device, model name (e.g. "SGP512"), full kernel info and some offsets have to be given. As SGP512 boots on SGP511 kernel, I guess that by just recompiling iovyroot, after changing string "SGP511" to "SGP512" in source code would make it work when SGP511 kernel is installed on device. Is it correct? I will try it tomorrow and confirm you.
Yes if it boots only changing the string would bypass the version checkAs SGP512 boots on SGP511 kernel, I guess that by just recompiling iovyroot, after changing string "SGP511" to "SGP512" in source code would make it work when SGP511 kernel is installed on device. Is it correct?
SGP511 and 512 offsets could be similar but it is safer to check the kernel imagecompiled iovyroot, and with kernel for SGP511 (UK) 575 installed on my SGP512, I have executed install.bat with this modified iovyroot: it has well rebooted in TWRP !
I can confirm, the offsets for SGP512 and SGP511 are the same.for SGP512, using kernel 575 taken from SGP512_Customized TW_1281-8203_23.5.A.0.575_R1D stock firmware. I have uploaded corresponding ftf file. Please find information below for modification request.
- Url of ftf file: "https://drive.google.com/open?id=0B-iIVVkWSh8ZSWR5cy1YanYzMGM"
(sorry for not using a proper link, if I do so, my post is rejected due to new membership < 10 posts)
- Kernel info :
"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"
Hello Danalec,I can confirm, the offsets for SGP512 and SGP511 are the same.
beta4 merged the SGP512 confirmation, thanks
Hi, I fixed it, it was nothing to do with rooting, something to do with PC Companion bridging connections. It work perfectly, thanks. I am now installing Xposed from the link in the OP.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
down since 10/16, I'm moving my gdrive/onedriveWould you please upload Kernel SGP551 23.5.A.0.575 (Claro BR) again, the links are down.
Thanks.
thanks for the feedback, I'll rewrite the guide when I get more timeI finally found a working way to root my device (SGP511, stock & locked, .291, R3D, FR/Wifi).
I wished the iinstructions were more detailed, because as noob, it took me some time to figure out the things.
Even though I've tried to google all the time, it was not necessarily obvious and kind of confusing.
Your .291 links are dead, but I used XperiFirm from flashtool and I downloaded 1281-8033 (VMo FR/etc) then flashing only the kernel.
I have even installed xposed (*3.1.apk) without issues. So far, it's working fine.
Thanks, danalec!
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.--- [ 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 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.--- [ 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)
step 2) grab R&R4MM-beta04.rar and run install.bat to boot TWRP:Recovery & Root for Marshmallow
Check the kernel build date, under Settings > About phone. If it's dated April 22, 2016, you're ready to run this rooting tool. If, after you ran the install.bat file, your phone failed to automatically boot into TWRP, perhaps your kernel is not the right one. Anyway, please attach the output of the install.bat command window.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.
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
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.
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.
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
Thanks for your fast reply, sorry if i did a mistake: i actually managed to boot TWRP just after flashing it with the install.bat and installed SuperSU when i did (had to reflash it again) ^^Check the kernel build date, under Settings > About phone. If it's dated April 22, 2016, you're ready to run this rooting tool. If, after you ran the install.bat file, your phone failed to automatically boot into TWRP, perhaps your kernel is not the right one. Anyway, please attach the output of the install.bat command window.
Whenever you wish to enter TWRP again, pay attention to the reboot phases. Right after the first Sony Xperia screen, the led will flash in green color, along with a vibration. At that moment, press the volume down button. The led will be changed to pink and TWRP will come up.Thanks for your fast reply, sorry if i did a mistake: i actually managed to boot TWRP just after flashing it with the install.bat and installed SuperSU when i did (had to reflash it again) ^^
Now i can't boot TWRP when i reboot my tablet (could'nt find online a working keys for rebooting onto recovery), also i didn't understand how to flash the Xposed v23
THANKS A LOT CASOUZAJ !Whenever you wish to enter TWRP again, pay attention to the reboot phases. Right after the first Sony Xperia screen, the led will flash in green color, along with a vibration. At that moment, press the volume down button. The led will be changed to pink and TWRP will come up.
Yes, install the sdk23 arm v86 Xposed zip through TWRP. You won't loose either TWRP or root access by flashing the 291 kernel back. It's basically to avoid an annoying and persistent upgrade notification on your status bar. And you end up with the latest kernel.THANKS A LOT CASOUZAJ !
for some reason i couldn't find this info anywhere i lack some search skills
Anyway i've found on some threads (here on xda) that the v23 of Xposed works only (better) on the stock kernel,
does it mean i HAVE to reflash again the stock kernel of the rom i'm using (the .291) ?
if i do so i'll loose TWRP (i think i've read it on this thread)
if i loose TWRP i'm i going to loose also the Xposed framework ?