yashsingh1/xdaforums huggingface dataset:
[Xperia Tablet Z Android Development] Crash338:
Hi, I just have a quick question.

You mentionned "don't forget to also update the recovery file provided in the virtual machine by the TABZ one available here".

Im coming from a 4.1.2 with root with Nut's DualRecovery already installed on the tablet(once i reflash the 4.1.2 FTF, currently on 4.3). All I want to do is take my own created FTF and make a flashable zip by following Nut's guide so I can reflash everything all over but have a generic US version instead of German.

Does the flashable zip need to contain a recovery if the tablet is already running it to begin with. If it does, I assume at the end of flashing the stripped FTF, it will wipe the dual recovery and restore Sony's recovery by default or am I wrong?

Thanks
[Xperia Tablet Z Android Development] ibis69:
No, if you dont update the recovery specific to TABZ before making you zip you will end with the 'generic' dual recovery of NUT because this is the one included in his package. It will work but you will have TWRP orientation issue if you don't replace the recovery. Of course you can update the recovery later but replacing them before building the zip takes 10 sec.
[Xperia Tablet Z Android Development] wilx:
thannks, OK I am going through the tutorial but when repacking flashable ROM I got gzip: stdout No space left on device error. Should I worry?

you say

is this not the tft file now on the VM , as we took them files out on there? I'm not sure if I have to do anything else to it now? Can I just copy back to my PC and use this file?

As I am coming from a 4.2.2 I assume I use

So when it says flash everything , how do I get the tablet to accept the file, do I need to be in recovery, running android or what. I am finding this so frustrating that all the info is not in one place, I am almost thinking of forgetting the root and going back to stock
[Xperia Tablet Z Android Development] Darkimmortal:
Just cooked up the files necessary for the UK unbranded SGP311 (16GB) following the guide approximately (used my own linux system and did some things a bit differently)

Amazingly enough, it actually worked! Currently running 4.3 rooted with all my data intact, and both recoveries work 100% :)

Here are the files, hopefully they can be added to the OP:

http://dl.weeaboo.com/SGP311-JB43-UK/SGP311_10.4.B.0.577_Generic_uk-ie.ftf

http://dl.weeaboo.com/SGP311-JB43-UK/system.flashable.zip

*note the ftf might not be totally stripped, be sure to tick exclude UNKNOWN when flashing
[Xperia Tablet Z Android Development] wilx:
Thanks for that, is there any good tutorial on flashing using the flashing tool? When I do a search it seems to give a different tool called Emma.

Or can you answer

1) Do I select Flashmode or Fastboot mode?

2) What state does the tablet have to be in to connect etc?

3) What settings do I need one in the Flasher ( ie you mention exclude UNKNOWN, do I have to exclude SYSTEM too)?

Thanks

I have just compared yours with the set I made last night and the only differences are in the system flashable.zip

dr,prop

Yours ..............version=2.7.62-BETA

Mine ................version=2.7.60-BETA

And all the files in the System/bin folder are different

Is this because I updated the Recovery or something?

What Recovery did you put in?
[Xperia Tablet Z Android Development] ibis69:
Re-read my post you have quoted, you got all the answers in it

yes he didn't update the recovery
[Xperia Tablet Z Android Development] Darkimmortal:
It's not the recovery that comes with the diy pack, I used the recovery files from the SGP311 Nordic flashable zip in the OP

TWRP works perfectly, no portrait bug
[Xperia Tablet Z Android Development] ibis69:
ok so not the same version :)
[Xperia Tablet Z Android Development] wilx:
Yippee ! If worked with my files too!

I have rar-ed the files up anyone know a good place to post for others to use? Needs to accept files of about 800MB , I tried Putlocker but it was too big
[Xperia Tablet Z Android Development] KanjiMan1977:
Can someone tell me what the difference is between SGP312: Generic GB 10.4.B.0.577 AND SGP312: VMo DE GenericB 10.4.B.0.577 from the "For Other Variant" post??

I tried looking it up but cannot really find anything out about them, I am gathering files and about to commence an install on an SGP312 purchased in Canada, with android version 4.1.2 build 10.1.C.0.370. Any help about these two ftf would be apreciated.
[Xperia Tablet Z Android Development] Crash338:
I have flashed Nut's DualRecovery method to obtain root on 4.3 and used the VMo DE which is the German stock version. When doing a factory reset, it will default in Dutch and needs to be changed to English. Not a big deal. The GB version must mean Great Britain so it would be the UK version.

I'm also from Canada and have managed to create the stripped FTF of build 577 and a flashable zip of the system files. I just finished flashing it to my tablet and making sure everything is working well. The TWRP has screen orientation problems so I had to flash via CWM which I prefer anyway. I'll post the files once I make sure everything is kool.

---------- Post added at 11:22 PM ---------- Previous post was at 11:02 PM ----------

Hi - I managed to get everything working but ran across a few problems and curious how anyone was able to create the flashable zip with the provided Vm machine (10GIG just isn't enough, tried to expand with gparted but failed). I tried a few times starting from scratch and kept running into low disk space during the last step while creating the flashable zip. I ended up downloading the ISO of Ubuntu creating a new virtual machine with VMware Workstation and followed the guide to the letter but while flashing to my tablet I was getting "set_perm: some changes failed". As per the logs in CWM it was trying to change the permission of a non-existent file which was "ramdisk.stock.cpio.lzma" so I copied the file from the German ROM and tried again and no errors this time. Everything is now perfect except the TWRP has a orientation issue so I used CWM to flash which I prefer anyway.

Just my story.....and that was my day! ;)
[Xperia Tablet Z Android Development] ibis69:
Hi, to avoid running low on hd space with the virtual machine, you have to delete the main ftf from the vm once you have extract system.sin from the ftf then later delete system.sin once you got the extracted ext4 as you will not use it anymore ( don't forget to empty trash)
[Xperia Tablet Z Android Development] Crash338:
I always kept the trash empty and after following Nut 's instructions you end up with the stripped FTF after chapter 1 which is only 17.7 MB. The system.sin is deleted after the extraction to DIY_Guide. When reaching the end, I have about 350 MB left on the Vm and the flashable zip is around 800 MB.

I didn't delete the system.sin from the DIY_Guide after system.ext4 was created. Wasn't sure if rombuilder still needed that file, that could have made the difference for sure.

What about my TWRP orientation issue. I cant get out of it unless I hold VOL UP and POWER. Is it an issue with TeamWin v.2.6.3.0 or did something go wrong? CWM works just fine.
[Xperia Tablet Z Android Development] `SBR`:
have you flashed the latest XZ recovery .72version.. i don't have any issue with TWRP/Philz.. it works.. fine.
[Xperia Tablet Z Android Development] `SBR`:
Added to OP ;)
[Xperia Tablet Z Android Development] Darkimmortal:
Make your own VM then, it doesn't take much time to install a copy of debian. At that point all you need is the update 2 DIY package, as it contains enough to work standalone.
[Xperia Tablet Z Android Development] Crash338:
I believe it was the .70 version from Nut's XDA download page. Now I see there is a version 71 that I didnt notice yesterday and you are saying theres a 72 which I dont see. Can you send me a link or the thread where I can find this.

Thanks!!

---------- Post added at 01:40 PM ---------- Previous post was at 01:39 PM ----------

Thats exactly what I did to do everything. Gave my VM a nice 30 GIG of space...freedom :o
[Xperia Tablet Z Android Development] Crash338:
I flashed from CWM the 71 version which resolved the TWRP problem but CWM no longer loads when I press VOL UP.
[Xperia Tablet Z Android Development] Pluton1C:
SGP312: VMo DE Generic 10.4.B.0.577 => German customization

SGP312: Generic GB 10.4.B.0.577 => UK customization

;)
[Xperia Tablet Z Android Development] Crash338:
I just flashed the "VMo DE GenericB 10.4.B.0.577" on my tablet and the recovery behaves exactly like on my ROM. CWM is great and TWRP has orientation problem and is not usable. I thought I had done something wrong but everything I did was fine. I flashed the DualRecovery version71 which fixes TWRP but VOL UP doesnt load CWM anymore (its like the KEY UP doesnt get logged). So basically fix one and break the other. I cant test the other ROM's since mine is the SGP312 but the German ROM definitely doesnt have a working TWRP version.
[Xperia Tablet Z Android Development] `SBR`:
Sorry that was .62 version
[Xperia Tablet Z Android Development] Pluton1C:
Using TabZ .71 Beta installer.zip...don't have any issue with TWRP/Philz.

Gesendet von meinem XPERIA Z
[Xperia Tablet Z Android Development] Crash338:
That's correct, TabZ .71 fixes TWRP but try getting into CWM with Vol Up. Instead of seeing a purple led indicating that CWM mode was activated, it will instead give you a red led and boot into Sony's ROM normally.

.70 has a working CWM but broken TWRP

.71 has working TWRP but broken CWM (maybe not broken, but cannot be accessed)
[Xperia Tablet Z Android Development] Pluton1C:
Both working fine...

Vol up -> CWM and Vol down -> TWRP...

Gesendet von meinem XPERIA Z
[Xperia Tablet Z Android Development] Crash338:
I don't get it then, I just tested on both 4.1.2 and 4.3. Is your tablet a SGP312 or 311. Could it make a difference?
[Xperia Tablet Z Android Development] Pluton1C:
No difference...my tablet is a SGP312...
[Xperia Tablet Z Android Development] Mi|enko:
Anybody got a mirror for the SGP351 files?
[Xperia Tablet Z Android Development] Crash338:
Here are the 2 files needed to have a rooted 4.3 with Nut's DualRecovery system. These were created thanks to Nut's guide with Ubuntu.

The RAR folder contains the stripped FTF and the Flashable zip. Both recovery's work.

They were created from the [FTF][4.3][SGP312][Global] Xperia Tablet Z WiFi 32 GB - 10.4.B.0.577

Part 1: http://d-h.st/Gvy

Part 2: http://d-h.st/wrB

Enjoy! :good:

* You can exclude the "Unknown" part if you wish. I flashed it with and it didn't change anything.

* Files can be added to the OP if desired
[Xperia Tablet Z Android Development] gordo79:
Worked a treat on locked bl
[Xperia Tablet Z Android Development] acerdroid:
struggeling my assoff to get my sgp 321rooted im on 4.3 if someone can plz help
[Xperia Tablet Z Android Development] hasenbein1966:
Please read diligently and follow the instructions. Other forum members have other things to do than spoonfeeding people.
[Xperia Tablet Z Android Development] quini2k:
Worked fine on SGP312

Many thanks to SBR & NUT !!

It worked like a charm on a Xperia Tablet Z 32GB (SGP312) with locked bl! :laugh:
[Xperia Tablet Z Android Development] SwiftSmoke:
Do I need an acct for this mega site or where is the default download path I cant find the files ive downloaded :/

edit:- Nvm got it now :D
[Xperia Tablet Z Android Development] blurblur:
Can someone make a ftf and zip for the generic unbranded UK 4.3 ROM for the SGP321?
[Xperia Tablet Z Android Development] KanjiMan1977:
Thanks folks, for the guide and for the info. Everything went smooth, but scared the crap outta me when shutting down for the first time. It just acted like it froze up on me... no response and no animation or progress bar etc and it took forever... I was reading about some dude complaining about this. Hope they fix this for next upgrade. 4.3, Root, and Xposed module Phab7 to get tablet mode back... Life is good. Lol.
[Xperia Tablet Z Android Development] acerdroid:
I just want to thank gordo 79 for spoon feeding me in downgrading my sgp 321 from 4.3 to 4.1.2 and installing recovery and rooting and flashing back to 4.3 with root access you are the man thanks

---------- Post added at 05:52 PM ---------- Previous post was at 05:50 PM ----------

LEGEND
[Xperia Tablet Z Android Development] kfrin:
Hi SBR and thanks for your great work ;)

I follow your guide but at the last step when I'm rebooting I'm stuck in a Sony logo bootloop. I red that xposed installer could cause this bootloop in the comments so I restore my 4.1.2 backup and uninstall all (xposed installer, xblast tools, gravity box and app settings).

I flashed again the SP321DE.zip with TWRP then flash the SP321DE ftf with flashtool and I'm still in a bootloop.

What can I try next? How to get my original file?

Thanking you in advance.
[Xperia Tablet Z Android Development] jay.monkey:
I've got UK Sony Tab Z 312 (Wifi 32GB) running stock 4.3 without root, I'm a bit confused about these instruction as i've only ever used the Sony Bridge software & SUS to update firmware, these instructions are not very clear for someone not familiar with these methods.

After reading through the whole thread I think I got the gist, however i'm still unclear on a few things.

As I am already on 4.3 do I need to re-flash the 4.3 FW again using flash tool ?

What do I need Dual Recovery for ? / do i need to install it first ?

What is Philz ?

I'm not a noob, I jailbrake iphones and ipods and build hackingtosh computers but this is my first android device, I did have root on 4.1.2 using doomlord exploit and all was well...so hesitant at what seems a much more complex/risky way of getting root, but i want to use xpoosed framework & to get tablet UI back so am happy to give it a go once i understand the method better.

Sorry to seem so vague but the guide assumes that you are familiar with these tools which i'm not ...

Cheers

Jay
[Xperia Tablet Z Android Development] rufus15:
[MENTION=5361109]jay.monkey[/MENTION]: If you carefully read the first 2 posts of this thread you will find answers to all your questions.

If, by any chance, it will still be unclear to you:

1. As you're on 4.3 you need to downgrade to 4.2.2 or 4.1.2 in order to root your tablet and install recovery.

2. You need the recovery in order to flash the 4.3 firmware in .zip (flashable) format.

3. PhilZ is the name of one of the recoveries you are requested to install (PhilZ Touch).

Anyway, I use this chance to thank 'SBR' and [NUT] for this wonderful guide. I managed to do my own flashable zip firmware and stripped ftf with my branding (VMo EU1). If anyone needs them, please let me know and I will upload them asap.
[Xperia Tablet Z Android Development] jay.monkey:
Rufus,

Thanks for your post, I did not realise i will have to downgrade before i can upgrade ?, this all seems way too complex, risky and time consuming just to gain root access that was previously obtained with 1-click doomloard easy root.

I don't really have the time to do all of this, I just wanted to get the Tab UI back using Phab7 and remove all the Sony Installed apps like facebook, skype .. etc ... all of the bloat basically. If i enter the service code and access the service menu it says Boot Unlock available: Yes, is there an official Sony method for gaining root access ?

Cheers

Jay
[Xperia Tablet Z Android Development] Crash338:
If you unlock your bootloader you will have a different way to obtain root (should be covered in the forum) but Sony will not provide with any tool to obtain root...(that would be too nice!!)

The whole process of downgrading your firmware to 4.1.2 using an FTF is really simple and safe.... and if you follow all the instructions it may take you no longer than 12 to 15 min to be back on a 4.3 rooted tablet. It just sounds a little scary if you have never done it before but it is really simple.
[Xperia Tablet Z Android Development] Showbiz1:
I have a Nordic version, how important is it that I use a Nordic fw when upgrading if I want to receive fw ota in the future?

What would be the ftf for me to use if I would like to go through the procedure?

Sorry for the many questions, more used to Samsung stuff, trying to learn how Sony works.

Skickat från min SGP321 via Tapatalk
[Xperia Tablet Z Android Development] jay.monkey:
So let me see if i got this straight,

I find a zipped ftf for 4.1.2 UK SGP312 and flash using flash tool (any ideas where to find file ?)

Gain root on 4.1.2 via vroot (can i use the method i used before which was doomloard (SuperSU) or does it have to be Vroot ?)

Having gained Root access on 4.1.2

Install BusyBox & Initialise

Install Dual Recovery Z - This allows me to boot custom roms such as Philz Touch (inculded in DRZ ?), TWRP ... etc which are utilities for managing custom roms ?

Copy 4.3 FW on to sd card

Reboot into Dual Recover and select Philz Touch, flash the custom 4.3 FW ROM from the SD card - power down

Using FlashTool flash the associated 4.3 stripped FTF

Reboot to system without clearing (dalvik-/) cache

Just trying to understand the process and what each of the utilities do ?

Please advise if I'm understanding the process correctly, i don't like following guides parrot fashion without understanding what the process is doing, sorry if I seem un-educated on this but its first time for me playing with custom ROMS.

Cheers

Jay
[Xperia Tablet Z Android Development] Crash338:
Here is the link to the thread where you can download the UK SGP312 4.1.2 FTF for the 32GIG tablet:

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

It doesn't matter how you obtain root access as long as you root before trying to install the recovery (otherwise recovery installation will not go through). I prefer DoomLord's method since its a nice script you execute. Vroot is an executable you need to install on your PC.

I didn't need to install busybox, I believe when root gets installed, it pushes busybox at the same time. You will see what it is doesn't as its doing it in the command prompt.

As for the rest it is exactly how you wrote it.

Good luck :good:

---------- Post added at 03:39 PM ---------- Previous post was at 03:35 PM ----------

Your firmware is located here:

http://xdaforums.com/showpost.php?p=48904390&postcount=2

Just pick the SGPxxx that you own. The SGP321 as per your signature.

I don't see why you would want to install another version of your tablet if yours is available. It is written in red that your risk bricking your tablet if you do that.

You will still receive OTA notifications after rooting. Will the update go through is another question, if it doesn't, you can just flash back a stock FTF and OTA will work without problems.

If you unlock your bootloader and leave it unlocked, than I believe you wont receive the OTA notifications. But bootloader can be relocked...Just look into backinp up your TA if you ever unlock it.
[Xperia Tablet Z Android Development] jay.monkey:
Guys,

Many thanks for your patience, the explanation and the links, now that i understand the procedure I'll will give it a go tomorrow,

I'll stick with using the doomloard way of rooting as i've done it before and i know it works well with my mac. I seem to remember that his procedure does install busybox or maybe supersu cant remember right now, i think they are basically the same thing aren't they ?

Wish i'd found this thread before i did the update ..... just assumed that you would root 4.3 like 4.1.2 with a script, ahh well, everyday a school day :)

One last question. - How likley is to loose setup and data? I understand that Things can always go wrong but does it happen often or if everything goes ok should everything still be there? Also should all my apps survive the downgrade and the reupgrade?

Thanks again

Jay
[Xperia Tablet Z Android Development] cazuniq:
More Clear?

Can someone make this more clear...

Correct me if Im wrong

SGP321

I have the zip and ftf files downloaded

I placed ftf file within the firmware folder for flashtools

I flashed the file all happy, and then I must start up the phone with volup power down to access PhilZ Touch? from PhilZ Touch I must flash the zip file?

If this is correct, the part im stuck it is, my volup and power is doing nothing
[Xperia Tablet Z Android Development] gordo79:
Mastercmts you need to enter recovery ie. Power off tab, power on tab when you see the Sony logo hit the down button repeatedly. Once in recovery flash the zip,power down tab not reboot and flash the stripped ftf.
[Xperia Tablet Z Android Development] Crash338:
If you were doing this process straight from 4.1.2 then all data and settings would be preserved but since you are already on 4.3 and need to flash back to 4.1.2 stock, I'm afraid your tablet will be exactly like that day you came back from the store and powered it on for the first time.

Flashtool does have the option to not wipe data but since you are downgrading, I'm not sure it is a wise choice. (never tried it honestly, I always backup everything so restoration is quite easy and fast) Better start with a clean tablet.

---------- Post added at 09:30 AM ---------- Previous post was at 09:14 AM ----------

Which file did you flash exactly?

The stripped FTF or the ZIP file from within one of the recovery?
[Xperia Tablet Z Android Development] jay.monkey:
I found out what happens when you downgrade .... opps ..... didn't make a backup but didn't have anything that was important lost.

Thanks to you & rufus for the explanations & links, and of course the original guides author.

I went through the whole procedure (used doomloard to gain root) and it worked great, now running 4.3 rooted.

Many thanks to all ......

The only problem i have now is that after i have installed the xposed framework installer ran it and did install/update installer, and then rebooted it always reports " The latest version of Xposed is currently not active", i've checked root access and its working great for all other apps that require root, and also have manually set /system as rw, does anybody have same issues using this install of 4.3 with Xposed framework ?

I think its to do with 'app_process' already existing in /system as part of this custom 4.3 rom? so stops compatibility with Xposed Framework, does anybody know how to fix ? some say to flash with this :-

http://xdaforums.com/showpost.php?p=44013064&postcount=2308

But am not sure if this will stop the 4.3 custom rom being rooted ?, so have not tried, any suggestions ?

Update: I tried flash both versions of the above link but nither activated the xpossed framework I think I need to reflash the stripped fft and then apply the fix before booting the device, at least I think thats how it might work, could someone comment?

Cheers

Jay
[Xperia Tablet Z Android Development] Matteo1497:
VMo EU4

Can you do the root for 10.4.B.0.577 VMo EU4??
[Xperia Tablet Z Android Development] Crash338:
What do you mean do the root. The files have already been uploaded at the beginning of this thread. You just need to follow the instructions and flash them.
[Xperia Tablet Z Android Development] cazuniq:
The ftf file, only one you can flash with flashtools that im aware of
[Xperia Tablet Z Android Development] Crash338:
But was it the last file you flashed, you were able to install DualRecovery first on the previous ROM, flash the zip from within CWM or TWRP, power down the phone and flash the stripped FTF last.... In this specific order?
[Xperia Tablet Z Android Development] Matteo1497:
I'm using the VMo EU4 10.4.B.0.577. I have got 32GB SGP312. The ROOT method is for VMo DE. Will this root (VMo DE one) work with VMo EU4? or how can i root the VMo EU4 10.4.B.0.577?? HELP
[Xperia Tablet Z Android Development] Crash338:
You can use any variant that is SGP312 like your tablet. I previously flashed the German and UK version to my US tablet. No issues at all.

What does VMo EU4 stand for... Europe 4?
[Xperia Tablet Z Android Development] Matteo1497:
Yes, and i want to use the VMo EU4 stripped ftf and VMo DE root flashable. Can I or not?

OR How Can I make system.tgz from VMo EU4 to replace the one which is in the SGP312_VMo_DE_10.4.B.0.577.Root.flashable.zip???