yashsingh1/xdaforums huggingface dataset:
[Xperia Tablet Z Android Development] vybztymz:
it just doesn't work for me......

Hi, Apologies in advance for this lengthy post. I've been trying (on & off) for 3 weeks to root my Xperia Z LTE (SGP321) runing the above firmware without any joy.

I've been using the method detailed i.e. downgrade to 4.1.2; root using DoomLord; install recovery using TABZ-flashing a 4.3 10.4.1.B.0.101 zip file in Philz recovery; and then flashing a "stripped" 4.3 10.4.1.B.0.101 ftf file.

I just cannot get it to work.

1. Downgrading from 4.3.10.4.B.0.101 to 4.1.2 (SGP321_10.1.1.A.1.307_CE-LTE) (using Flashtool) seems to work fine.

2. Rooting the newly installed 4.1.2 with DoomLord seemed to work. e.g. SU appears in the app draw, is configurable and seems to work

This is where everthing seems to go pear-shaped

3. (a)The DualLockedRecovery process doesn't seem to work. It does not install CWM or TWRP (From what I have since read, TWRP is not available for Xperia LTE tablets) recoveries - it just installs the "vanilla" Philz.

(b) Cannot flash the 4.3 10.4.1.B.0.101_CE1.zip file in Philz. Flashing always fails after about 2 seconds.

Anyway, long story short - the whole thing fall apart after rooting 4.1.2; resulting in numerous re-installs of stock 4.3 using "EMMA".

Can anyone out there point me in the direction of reliable methods of rooting my tablet.

I love android, but android without Tasker, Xposed Framework etc is unthinkable.
[Xperia Tablet Z Android Development] `SBR`:
when you're installing the Dual Recovery is the Cmd prompt says success or failed.. if it's success it will installed correctly and open the Philz recovery..

What is the error msg you're getting in the Philz, as latest version of Philz recovery is using Updated binary of Kitkat, if the Rom you're flashing is older one it will fail. You have to uncheck the Option in Philz recoery to use the Older Binaryupdater and then try to flash it.

second option is reboot from Philz and while booting keep pressing the Volume down button after the Sony logos comes, the led color will change purple and red color and boot into CWM recovery.. try installing from their
[Xperia Tablet Z Android Development] audiospeedwagon:
Problem

Oops. posted in wrong thread.
[Xperia Tablet Z Android Development] mame3876:
hi all

can somebody advise if i can use the method in OP to root my TabletZ wifi only running stock 4.3 SGP311 10.4.1.B.0.109?
[Xperia Tablet Z Android Development] donedos:
can you create a flashable zip for SGP311 4.4.2 version? thanks in advance!!:good:
[Xperia Tablet Z Android Development] _JT:
I want to root my 4.3 tablet Z and I think I understand the instructions but I am not sure why a part about downgrading is in the 2nd post? I am not sure wether I should do that and if so, where in the process I should do it?
[Xperia Tablet Z Android Development] _JT:
Noone? :(
[Xperia Tablet Z Android Development] 180jacob:
currently at work so cant reply in full, but put simply you must downgrade first as it is far easier to root 4.1 than trying to root 4.3 post back this evening if you need more help.
[Xperia Tablet Z Android Development] BurnRubber90:
Any chance you have an ftf for Latam's SGP351? My tablet is way to laggy with 4.4.2 :/
[Xperia Tablet Z Android Development] Rootk1t:
use Easy root tool.

download it yourself with Xperifirm tool.
[Xperia Tablet Z Android Development] _JT:
Thanks all but I found out that DualRecovery could root the tablet for me on 4.3 :D
[Xperia Tablet Z Android Development] Rootk1t:
it roots it only for installation, but doesn't install SuperSU.
[Xperia Tablet Z Android Development] `SBR`:
All the files are uploaded in Mega site. let me know if the download links are not working
[Xperia Tablet Z Android Development] lupick:
Maybe you could do something for our por SGP311?
[Xperia Tablet Z Android Development] `SBR`:
working on it...
[Xperia Tablet Z Android Development] `SBR`:
Files are uploading in mega link eta 40 min... check the link in 2 post
[Xperia Tablet Z Android Development] CHU WANT:
And work, it surely is! Thanks!

I'm just trying to figure out what precisely is being left-out / stripped...would like to build an Americas/U.S. FTF for the SGP311 that you just now added !! Also, as a minor FYI I noticed that the thread title includes "SGP311" in it now, however the 311 is 10.4.B.0.577 while your SGP351/321 is *569
[Xperia Tablet Z Android Development] zombiej79:
so for the 311 do we need the full ftf and the 16mb one from your mega?
[Xperia Tablet Z Android Development] D-KAKES:
Precisely -- in the XTZ General forum there are already 4 or 5 variants of the 10.4.B.0.577 FTF for your SGP311
[Xperia Tablet Z Android Development] zombiej79:
ok so im a little confused as for the 311 i have the full ftf and the stripped ftf so do i flash the full ftf then flash the stripped one? as i dont have a zip file to flash in recovery like you do the 352
[Xperia Tablet Z Android Development] D-KAKES:
`SBR`s mirror above was only showing the 16MB stripped FTF for the past 1+ hour since post #24 of this thread. In only the past 10 mins or so, the upload finished and the flashable ZIP has been made visible at mega.co.nz

https://mega.co.nz/#F!MZkCgDLb!QLAwoAIl8QUETFVTTojkvQ
[Xperia Tablet Z Android Development] `SBR`:
YES my Internet speed sucks here..

2 files are available in the above share...
[Xperia Tablet Z Android Development] ValVK:
I'm trying already 3 times to download that SGP311_10.4.B.0.577_Generic NORDIC_flashable.zip file from Mega.

All three time it stops at 52%...Is something wrong here?

Thanks!
[Xperia Tablet Z Android Development] nikal:
I did my own flashable image and stripped ftf using as reference SBR's files but nothing....it stuck on SONY logo.....and the dual recovery doesn't work. I will try with yours now.
[Xperia Tablet Z Android Development] `SBR`:
Stripped Out is just your regular FTF without these files

System.sin --> That is available as Flashable Zip

Userdata.sin

Applog.sin

Cache.Sin​

So if you want for Flash the US Variant of SGP311 Variant, download the SGP311 Flashable Zip, flash it as per the instructions in First Post.

At the time of flashing the Stripped.FTF, you can actually use your Original FTF with above options removed. ( by this method you may miss the customized app/system files for your region, so be warned always have the Original.FTF ready if anything happens)

I have attached the screenshot for what are the option to be checked while flashing in place of Stripped.FTF

In the Wipe Option

Uncheck Everything

In the Exclude Option

Uncheck these

SYSTEM

UNKNOWN

What you're going to Flash as Stripped FTF at the last steps is below items

Baseband

Partition

Kernel

FOTA Kernel --> for OTA Updates

ELABEL --> Not sure what it is, but have your region specific files.
[Xperia Tablet Z Android Development] `SBR`:
if you used DIY_Guide by [MENTION=4904057][NUT][/MENTION] method, then you need to replace the Recovery images (.lzmo) and Chargemon file under the System folder by using 2.7.62 version of Tab ZXDualrecovery files.

if you have tried manually using Windows, it will not boot, stuck at setting permissions.. don't windows is not working properly
[Xperia Tablet Z Android Development] `SBR`:
Try once, my speed sucks.. i will try uploading later..

if anyone able to download then can put it in a different share

EDIT: its working for me.. try with different browser
[Xperia Tablet Z Android Development] nikal:
Actually, I took the SGP351 flashable file and replaced only the system.tgz with the one extracted from the nordic FTF (i used flashtool and DiskInternals Linux reader to mount and extract the ext4 file system). I think that except system.tgz the rest of the structure is common. Isn't ? :angel:

BTW, TWRP has wrong orientation (I thought this was fixed in latest dual recovery versions).

---------- Post added at 01:47 AM ---------- Previous post was at 01:19 AM ----------

It works with the NORDIC files. Therefore SGP351/321 and SGP311 firmware structures have more differences than I thought. Given that 4.3 SGP311 firmwares despite the customization are all the same, everyone can take it's favorite customized FTF and create the flashable zip and stripped down FTF and flash it. I will try with some as soon as I have the time.

Thanks for the help!!
[Xperia Tablet Z Android Development] zombiej79:
so did all steps got it working but keeps rebooting on me gonna try a factory reset see if that fixes it
[Xperia Tablet Z Android Development] `SBR`:
good to know it worked in Windows also.. earlier tried it didn't worked out.. Thinking the latest Recovey Zip has fixed it..

Thanks for sharing the info
[Xperia Tablet Z Android Development] zombiej79:
Ok getting reboots again think it's xposed installer gonna try again without installing xposed

Maybe it's folder mount I'll not install it either
[Xperia Tablet Z Android Development] DJ-Tumor:
I´m pretty sure that will cause bootloops.

Xposed modules from 4.2.2 will not work in 4.3 like the kernels from 4.2.2
[Xperia Tablet Z Android Development] zombiej79:
Yeah re did it no xposed. And it's good. Miss dpi changing though lol
[Xperia Tablet Z Android Development] Nepturion:
This is a messy guide... And also when powering off the SGP311... it freezes for like a minute then powers off!...... I rather wait for a proper rooting method than this, if this is the only solution then i rather have stock unrooted device.
[Xperia Tablet Z Android Development] nikal:
I think Xposed wont' work at all. Installer installs itself but won't install framework. This is the problem I'm stuck now.

Does anyone has the same issue after upgrading/rooting 4.3 ?
[Xperia Tablet Z Android Development] nikal:
and the solution :cyclops:
[Xperia Tablet Z Android Development] hasenbein1966:
Yeah, thank you very much!

Just a few minutes ago I wanted to post that Xposed doesn't work...

Now all works well!

It's even possible to use Extended Desktop via Gravity Box module. Very good.
[Xperia Tablet Z Android Development] Felimenta97:
The fix for mounting system on the SGP311 is not working. Using the script method...

The rest worked nicely. Though Calendar force closes when I try to view Day or Week...
[Xperia Tablet Z Android Development] `SBR`:
it depends on how your doing and installing the apps.. it takes more time to turn off if you install the Xposed with Power menu option. else i didn't see any difference. again i'm not sure on the SGP311 though

in that case try flashing the SuperSu.zip and Tablet ZX Dual recovery (2.7.62) (older version will not work with 4.3) after flashing the 4.3 flashable file before booting..

if you are not able to get recovery try the Tablet ZX Dual recovery installer version
[Xperia Tablet Z Android Development] Felimenta97:
No no... I have recovery and root. It is just the remount /system R/W fix that you included that isn't working. The rest is Okay...
[Xperia Tablet Z Android Development] lupick:
what happen if you manually launche the script that fix /system RW after installing the firmware? are you able to fix it?
[Xperia Tablet Z Android Development] ibis69:
Hi [MENTION=2477260]`SBR`[/MENTION], here is the files for SGP312 (tested and fully working coming from rooted 4.2 with LB) based on SGP312 GB Generic FTF , if you want to add them to the first thread

Flashable Zip : https://mega.co.nz/#!kE8kABZR!QFWtmxNDQwD41Q92YSU7sT0ZLWtEqa5xglVO-BOxUfA

Stripped FTF : https://mega.co.nz/#!ld8xXa7K!WpYaMEDvzsZsQo5RHrvO0zwik_Mc_xZNSPBm2Q8AcwI

Big big thanx to [MENTION=4904057][NUT][/MENTION] for his great work
[Xperia Tablet Z Android Development] pisti7204:
You don't need to fix /system or something in Tablet Z's ROM! The system partition is writable (not like in Z1 ROM), try to use Root Explorer, go to /system, and push"mount R/W" button. If no error message (and don't have to be), your system writable.

About Calendar FC: yes, older Google Calendar versions sometimes FC when Sony Calendar also installed, try to install this like normal apk, and after installing download from Play Store the latest update also:

https://mega.co.nz/#!lRd3WKbK!OpfLWnVpqgSIdLf0pVO5uhuuKDJotG4koF_Ar9krF3Y
[Xperia Tablet Z Android Development] john_smith:
dear friend, before all happy holidays.

my english it´s poor for understand all thread (i am spanish)and i don´t have a good way to upgrade my sgp321 4g (lte) with root,

i download your DE version

SGP321_10.4.B.0.569_4.3 Custom DE.ftf

SGP321_10.4.B.0.569_4.3 Custom DE_flashable.zip

and this one that i think that it´s best SGP321_10.4.B.0.569_Generic

then i read and read but i need a more detailed instrucctions, y had a 4.2.2 free operator and boot loader, before i upgrade whit the flashtool and after y used vroot for root, i not remember how i put the tzw recovery for backup.

can anyone help me and say the exacts steps for get the latest 4.3, root and recovery?

thanks for all and sorry for apologizes.:o
[Xperia Tablet Z Android Development] nick2crete:
So guys what work or dont work with sgp311 ?
[Xperia Tablet Z Android Development] xxliftsupxx:
Not Work SGP321

...Bootlooped on Sony Logo not started the system - i can to recover TRW and Philz ... :(
[Xperia Tablet Z Android Development] `SBR`:
Thanks man added to the OP
[Xperia Tablet Z Android Development] `SBR`:
you have to flash the 4.3.zip and without booting/clearing cache, poweroff and go bak to flashmode and flash the stripped.ftf for your tablet.

if you have operator locked customization flash your original file

http://xdaforums.com/showpost.php?p=48939794&postcount=33
[Xperia Tablet Z Android Development] Pluton1C:
Files for SGP312 (tested and fully working coming from rooted 4.2 with LB) based on SGP312 VMo DE Generic FTF , if you want to add them to the first thread... ;)

For SGP312: Download the files here SGP312_VMo_DE_10.4.B.0.577.Root.flashable.zip and SGP312_10.4.B.0.577 Stripped_VMo DE.ftf

Full Credits goes to [MENTION=4904057][NUT][/MENTION]

followed this for building the flashable Zip DIY Guide by [NUT]

Full Credits goes to [MENTION=2477260]`SBR`[/MENTION]

Full Credits goes to [MENTION=5164470][Apollo89][/MENTION]

Tutorial: how to flash stock ROMs with Flashtool
[Xperia Tablet Z Android Development] xxliftsupxx:
No back Bootloop :(, so I changed the Custom Europe 67 installed - then root with Vroot - then Philz Recovery - then your custom DE zip in recovery flashed - then reboot off and flashed off the DE stripped from you - at boot time only Sony Bootloop ...
[Xperia Tablet Z Android Development] Felimenta97:
Yes. It works...

---------- Post added at 12:46 PM ---------- Previous post was at 12:43 PM ----------

The thing is that it does mount, but when it does, the tablet reboots.

Regarding Calendar, It isn't Google Calendar closing, it is Sony one. I don't even have Google one installed...
[Xperia Tablet Z Android Development] pisti7204:
You made a factory reset in recovery before installing the 4.3 zip? This kind of strange errors happen when you install new ROM without wipeing the old system... I have no other idea...
[Xperia Tablet Z Android Development] Felimenta97:
I followed the tutorial. After I realized it didn't made a factory reset by itself, I did one, with the Android system (not recovery)
[Xperia Tablet Z Android Development] `SBR`:
is it working now?

ideally the flash Script will wipe the System partition, so if your data partition has more objects and has references of the old version it may FC
[Xperia Tablet Z Android Development] `SBR`:
Added to the OP, Thanks man!!!
[Xperia Tablet Z Android Development] daveid:
SGP311 US Generic Update

I have taken the time to modify the ftf for the US, no other changes made besides the latest XZDualRecovery. I have not had a chance to flash this yet, but will be doing so later. If anyone wants to test it PM me, as I do not want to post a link if the update is not right. Please have an unlocked bootloader or be willing to figure out your own way to recover if you want to test this. If no one wants to test, I will apply the update later today (tonight probably) and if it works I will post links to be added to the OP.
[Xperia Tablet Z Android Development] pisti7204:
Thats not a wipe...you can't wipe a runing system from itself. You must use the recovery to do that. And there is no automatic wipe comand in the 4.3 update file so you must do it manually. And the wipe is essential when you not just updating the same version, but upgrading from 4.1 or 4.2 to 4.3 system... There is too many major diferences between two systems.
[Xperia Tablet Z Android Development] john_smith:
i installed the custom de zip for sgp321 and after y flash SGP321_10.4.B.0.569_4.3 Custom DE.ftf, reboot ok but i lost the root, any fast help for not reinstall all again? thanks
[Xperia Tablet Z Android Development] pisti7204:
Download the TWRP flashable SuperSU from this link:http://download.chainfire.eu/372/SuperSU/UPDATE-SuperSU-v1.86.zip

After flashing boot into system and try to update binary.
[Xperia Tablet Z Android Development] john_smith:
yes, yes... i try the old version ypdate-superuser 1.65 but not run, i not think to update and after flash, it´s runs ok.

thanks :laugh::D:cyclops::laugh:

happy new year
[Xperia Tablet Z Android Development] pisti7204:
Good! :good::laugh:

Happy new year!
[Xperia Tablet Z Android Development] xxliftsupxx:
Works!! Thanks!

So after many try, it worked finally ... Thank you, "SBR" & "NUT" & "Apollo89" ... finally root again under Android 4.3;)

Where the error was - I do not know ... but now this work and that's the main thing ...

Greetings from Germany
[Xperia Tablet Z Android Development] bloodofmonster:
link mega of SGP351 cant download, link dropbox is limited :(. Can you fix it????

Thank you!!!
[Xperia Tablet Z Android Development] `SBR`:
re-uploading the files, please try after an hour
[Xperia Tablet Z Android Development] `SBR`:
Edit failed 4 times..will do it later
[Xperia Tablet Z Android Development] stoneh:
great, that's usefull! thx!
[Xperia Tablet Z Android Development] barto760:
updated
[Xperia Tablet Z Android Development] xda57:
thanks

good working on SGP312

I've installed titanium backup but does not delete the original application (eg chrome, sony select, google+ etc...)

Root unless the benefits of doing this unnecessary applications do not delete.
[Xperia Tablet Z Android Development] `SBR`:
Use any root Explorer and delete the files from systen/app also delete it's odex file also.

If its reboots your tablet, flash the tablet dual recovery by nut in recovery and try again
[Xperia Tablet Z Android Development] vivmar:
How to flash this?

by flashtool? with device off?
[Xperia Tablet Z Android Development] ibis69:
Yes, XTZ off and unpluged, start flashtool, select flashmode, select the ftf you want to flash then click the flash button and plug your device with down button pressed ( there is a flashtool wizard that will tell you what to do after selecting the ftf)
[Xperia Tablet Z Android Development] `SBR`:
once you installed the zip via recovery, goto reboot option and power off

hold the vol down button and connect your usb to the pc (it will put the device in flash mode)

now open flash tool and select the stripped.ftf and flash in flash mode. after done disconnect the usb and restart it.
[Xperia Tablet Z Android Development] donedos:
one shot!! it worked for me...sgp311 came from 4.1.2 US version now using the Nordic 4.3 firmware..

thanks for the effort men...
[Xperia Tablet Z Android Development] Crash338:
The downloads ask for a decryption key. Cannot download the files without it

Edit: Tried several hours later. Decryption key not being asked anymore..
[Xperia Tablet Z Android Development] Crash338:
So I ended up doing this with a German version. The method works flawlessly but I'm wondering what is included in that \System folder that I downloaded apart from the apps. When I did my factory reset after having the 4.3 rooted, the tablet defaults in German. I used my own stripped FTF at the end. Is there any other flashable zip for the SGP312 I can download that will default everything in English. Not a bid deal, It's in English now but I'm just wondering out loud......
[Xperia Tablet Z Android Development] wilx:
Confused

Sorry,

I am confused

I have followed the Guide here

http://xdaforums.com/showthread.php?t=2311211

and made my SGP311_10.4.B.0.577_Generic UK.ftf

but do I now need to make a SGP311_10.4.B.0.577_Generic UK_flashable.zip from somewhere to follow the tutorial? Obviously I have the downloaded firmware files in C:\ProgramData\Sony Mobile\Update Engine\db\13740270 on my PC

So for my example if I can create a SGP311_10.4.B.0.577_Generic UK_flashable.zip somehow do I ......

Put 'SGP311_10.4.B.0.577_Generic UK_flashable.zip' on (the external) SDcard1;

Put 'SGP311_10.4.B.0.577_Generic UK.ftf' inside the Flashtool/firmwares folder;

Create a backup of your phone in CWM or TWRP and don't forget to backup the contents of 'SDCard0';

Flash 'SGP311_10.4.B.0.577_Generic UK_flashable.zip' in Philz, after flashing the ROM,

do not reboot but go back to the main menu, then go to reboot->power off;

Flash everything in 'SGP311_10.4.B.0.577_Generic UK.ftf'; ????????USING FLASHTOOL on PC??????

Reboot to system without clearing (dalvik-/)cache.

Also I am on 4.2.2 10.3.1.C.0.136 currently, am I safe to use the method above?

If not any ideas on what to do?

Thanks
[Xperia Tablet Z Android Development] ibis69:
Hello, first you must have a 4.1 or 4.2 rooted rom with a working recovery then once you have dl your own ftf from pc companion you have to :

1) build your own flashable zip by strictly following this guide http://xdaforums.com/showpost.php?p=42135099&postcount=1, you have to dl the main virtual machine first then the DIYGuide UPDATE PACKAGE 2 (don't forget to also update the recovery file provided in the virtual machine by the TABZ one available here http://nut.xperia-files.com/?dlid=VGFiWi1sb2NrZWRkdWFscmVjb3ZlcnkyLjcuNjMtQkVUQS5mbGFzaGFibGU=) --> follow all the chapters and the 2 addendum

2) Once you have built your own flashable zip, with flashtool you have to make a stipped ftf from your main ftf by following this guide : http://xdaforums.com/showpost.php?p=48939794&postcount=33

3) put the flashable zip on you external sdcard

4) reboot in recovery, make a nandroid backup then install the flashable zip without wiping anything then POWEROFF your tablet

5) Start flashtool, select flashmode, select your stripped ftf then click the flash button and plug your device with down button pressed ( there is a flashtool wizard that will tell you what to do after selecting the ftf)

All done
[Xperia Tablet Z Android Development] wilx:
thanks for that, just had a quick look and it says

So as I am coming from 4.2.2 I will need the Update Package 1 is that correct?

Is there any other way to get these packages without using Torrents? I don't allow my children to use torrents, so don't want to be a hypocrite!

Will this completely wipe my Tablet? Will I need to reinstall everything?

It seems alot of messing around. If I just just use the Custom Nordic 4.3, what will be different? Will it still be ok for UK use?

Thanks Again
[Xperia Tablet Z Android Development] hasenbein1966:
*rolling eyes* Using Bittorrent is perfectly legal. Only downloading or spreading illegal contents is not. And this way you should also tell your children.
[Xperia Tablet Z Android Development] ibis69:
hello you have to use the update package 2 because you want to build a 4.3 rom and you will lose nothing after upgrade. The .torrent is an ubuntu virtual machine so there is nothing illegal in it.

You can test the nordic one, i've personnaly flash a UK 4.3 on top of a french 4.2 and got no issue

In all case, you can rollback to your actual 4.2 rom by flashing the original 4.2 ftf from your region, root it with vroot, reinstalling a recovery and restore your nandroid backup