[Q] nandroid backup of stock rom - Xperia Z1 Compact Q&A, Help & Troubleshooting

I've recently obtained a Z1 Compact. It runs Android 5.1.1. Bootloader is locked. No root. Coming from an HTC One S, the steps involved in getting a custom rom seem a bit confusing to me. I'm quite pleased with the stock ROM, but I'd like to give my trusted Cyanogenmod a go.
To be able to revert back to stock I think I'll need a nandroid backup (or are there, like with HTC, RUU's around that I could use?). Coming from an 'untouched' phone, how do I get to a backup of my stock rom?
I've read quite a few threads and a lot mention to create a backup, but explain how to do it.

first step you need to root.download kingroot httpforum.xda-developers.comsony-xperia-z1-compactgeneralguide-root-14-4-0-157-t2936586
after root completed gohttp://nut.xperia-files.com/path/XZDualRecovery/XZDualRecovery_2.8.21 and download Z1C locked dual recovery 2.8.21.RELEASE.INSTALLER.zip.
extract the zip files,connect your phone to PC and run the install file.
then follow the on screen instructions and after these steps you have a recovery and you can have your back up

If you're talking about backing up a clean install, it's a far easier thing to flash a new rom via FT any time you want. Backups are a good idea, but if you're not backing up your data also, just keep an ftf file somewhere, and it takes about 5 minutes to get back to stock any time you want, (unrooted of course).

Thank you

Thanks for the reply. A backup of a clean install is nice.
So what you're suggesting is to use flashtool to create a backup file? But I need to be rooted to be able to use flashtool to make the backup?
Any way to do this from a Linux box (iow without flashtool)?

No. Your backup is the ftf file. Just download it to your computer and keeps it on hand and you can flash it with Flashtool anytime. Root is not required for FT, but if you are rooted, then flash an ftf, you will lose root. If you want to be able to retain root but return to clean install, download a prf file, which is flashable via recovery anytime. You'll need to root first for that.

OK. So I use Flashtool to create the ftf backup file, is that right?
Where can I download Flashtool?
(Apologies for asking the obvious.)

Links in 1st post here - http://forum.xda-developers.com/showthread.php?t=2489955 Flashtool is integrated with a program called Xperifirm which you can use to download ftf files. Open Flashtool, give it a minute to start, make sure check 'unknown sources' and 'usb debugging' on your phone, and connect. Click the Xperifirm icon on top to open it and find your firmware. Here's a link to an ftf if you want. I'm not totally sure if it's the latest version, check it with Xperifirm - https://drive.google.com/file/d/0B1niPALD2vPeZURSdndTRHFyeFk/view?usp=docslist_api

I've got an additional question about the so called TA partition. Do I need to make a separate backup of the TA partition to revert to pure stock? Can I use Flashtool to do this as well?

If you're talking about backing up ta partition, I've never done it. I know there are extensive threads about it in cross-device development forums. If you mean new ta update, (new bootloader), I flashed mine with Emma, but I've read that it is included in new fw, so you should get it when you flash rom.

Related

phone not working right

so my phone has been having problems the first problem is
i can not update to 2.3.3 thru the update option it just force closes when i click update
when ever i try to use my phone as a usb device and right when i drag and drop a file to my memory card it locks the phone up and makes it reset
my phone will randomly lose all data connection alot if i use the web alot on it
ok my play is the r800X that is rooted with unlockboot loader and has 2.3.2
how do i go about updating my phone to 2.3.3 and still have root? i am no good with ADB and i cant really push files to memory card because it just forces my phone to shut off
Don't update OTA with an unlocked BL it'll brick your phone (there's a working fix for that now, but waste off time to go that way ). Even if you could update OTA it might not solve your issues as it's not the whole FW that get's updated like a clean flash.
I would find the newest FW matching your phone/carrier (2.3.3 R800x FTF file) and flash that with flashtool. Then root with either booting CWM and flash the root.zip or use zergRush.
I'm sure your issues will be gone with a fresh flash.
Regards Dousan...
im looking at the state of dev thread and i dont know which one to download, im on verizon with 2.3.2 right now and wanting to go to 2.3.3
i wanna make sure i download the right one and not get a brick. could you link me the file
Bump? i dont know what to do and i did google it and well it took my to a place where a guy is asking the same question lol
icebear8 said:
Bump? i dont know what to do and i did google it and well it took my to a place where a guy is asking the same question lol
Click to expand...
Click to collapse
I just realized that you got a R800x and when using flashtool it will relock your bootloader, that's what it states in this thread (see link below), where you also can find you ftf file (he's calling them tft files though). I can't see wich FW build the 'full system ftf' file is, but if you choose to flash it, it shouldn't matter as you'll be able to update OTA afterwards if it's build 2.3.2 and then root with zergRush. I'm not sure if you'll want to keep you bootloader unlocked? If you want to keep it unlocked you need to flash another file. Grab 'stock system 2.3.3', but it says it's not tested so there might be a chance of that not working? If you just want root there's no need for an unlocked bootloader imo and i would proceed with flashing through flashtool, update OTA and then root with zergRush:
http://forum.xda-developers.com/showthread.php?t=1201725
One thing i would do before this is making a backup of your data (bookmarks, contacts, gamesaves, games apk's etc.) cause they'll be lost when flashing with flashtool as i recomend to wipe data also when flashing. I take that all files linked in the stock rom section of that thread is for R800x (verizon stock).
Regards Dousan...
yea i dont really care about the boot loader being unlock if i can still get root with out it. so do i just download Full system FTF, and then download flashtool and run it and my phone should be back to stock 2.3.2 and then run OTA for 2.3.3 and then use zergrush for root and im done?
icebear8 said:
yea i dont really care about the boot loader being unlock if i can still get root with out it. so do i just download Full system FTF, and then download flashtool and run it and my phone should be back to stock 2.3.2 and then run OTA for 2.3.3 and then use zergrush for root and im done?
Click to expand...
Click to collapse
Yes that's correct
Regards Dousan...
ok now the question here is which flash tool do i download? i googled it but there is different ones
i download the one from here http://forum.xda-developers.com/showthread.php?t=920746 and the one that says flash tool repository but idk what to do with it now there is like 5 different ones to download
thanks Dousan you really helped me alot! im just so use to the Samsung flashing and stuff like that this sony stuff is all new to me,

I need the stock ROM, but MultiUpload is down

Hi all,
I rooted my XP (using zergrush) and removed some bloatware. Now my headset speaker is giving me issues and I want to unroot in case I have to send it back to Verizon. The problem is that the stock ROM files all seem to be hosted on MultiUpload.com - which is down. I found a system.img file, but I don't know how to use that. I have CWM installed so I could restore a stock backup and then unroot, or I could use FlashTool with an FTF file.
Does anyone know where I can get either a backup file or an FTF file for 2.3.3 for the r800x? Or a simple way to use the system.img file?
Thanks!
Well, R800x doesn't have a stock rom for 2.3.4 actually, only UK roms do. Pretty sure system.img can only be flashed via fastboot but I could be wrong
Thanks for the correction, Jacklebott - I should have known that because the file I was trying to download from MultiUpload was 2.3.3...
Fastboot is where you have to download the SDK and set up drivers and such, right? If so, I was hoping there was an easier solution, but I can work on that if I have no other choice...
Well, fastboot needs an unlocked phone, so if you only have root it's not gonna work. Not sure if you can flash system.img as a backup file via recovery when locked though, could be worth a shot
swordsman74 said:
Thanks for the correction, Jacklebott - I should have known that because the file I was trying to download from MultiUpload was 2.3.3...
Fastboot is where you have to download the SDK and set up drivers and such, right? If so, I was hoping there was an easier solution, but I can work on that if I have no other choice...
Click to expand...
Click to collapse
To fix your R800x, you will need to Return to Stock:
1. Download Flashtool from here: Flashtool. This gets installed to C:\Flashtool.
2. Download the stock ROM ftf from here: R800x 2.3.3 Full 3.0.1.E.0.88 FTF. (This is on MediaFire, not MultiUpload.) You will need to unzip that file to the C:\Flashtool\firmwares folder.
Then just follow the instructions for Flashtool found here and you'll be back to stock in no time. As long as your PC recognizes your phone when you plug it into the USB cable, you shouldn't need anything else.
You can can find this and more useful information in my guide found at the top of the Q&A section here [GUIDE] R800x owners - You got Custom ROM questions? I've got Answers!
Please be sure to READ AND FOLLOW the instructions provided on each of those threads. I bear absolutely NO RESPONSIBILITY if you do something to damage your phone.
netizenmt, you, sir, are a god among men...
Many thanks!! I made a few missteps but I was able to get it back to stock pretty easily with those files and your instructions. At least now if it keeps messing up, I can send it back to Verizon to be replaced...
Thanks again!!

[FTF] Xperia ZL (C6506) 4.2.2 - 10.3.1.A.2.67 - Generic US

Here is the FTF for the C6506. Flashed it on my own ZL so I'm sure it works.
Part 1: http://d-h.st/CQG
Part 2: http://d-h.st/0J7
Enjoy!
Thanks
Crash338,
I just want to be clear on the steps for rooting with the files you provided:
open FlashTool and flash the part 1 file
now once flashing is done reboot device and connect to PC in usb debuggin mode
CLOSE FLASHTOOL <<< VVVIMP STEP
extract the file DooMLoRD_Easy-Rooting-Toolkit_v18_perf-event-exploit.zip to root directory on c:\
execute runme_ file corresponding to your OS on desktop PC, this will execute a SPECIAL version of easy rooting toolkit <<< VVVIMP STEP
after rooting is over the device will restart
you can verify if device is rooted by checking for SuperSU app (it is the newest version)
once thats done now power down device and open FlashTool again
now flash part 2 file
thats it after flashing is done just disconnect and power on device and enjoy rooted phone!
!!! Please don't flash part1 on its own !!!
(Probably can't, anyways, but don't try =p)
We flash .ftf files. The OP could not post the file directly, due to size limitations on the fileserver. Please download the 2 parts, then *decompress* using, for example, 7-Zip (www.7zip.org)
You will get 1 large .ftf file.
Then flash via flashtool, etc.
Cheers
Edit: typos
Thank you for clearing that up. Next question is what is the second file I flash? According to doomlord's "how to" you have to flash a second file
Edit: my problem was I was using wrong flashtool. I went to sony website and dl their flashtool which kept asking me to ul bl. Now I have a new question as I figured this out but still didn't get root. Did you flash the whole file or did you just check the kernal box during flashing. I checked the kernal only box and got no root. Was afraid of losing data
Hello,
The instructions from the thread below should be pretty self-explanatory.
link here
The idea: old kernel has exploit, but newer ones closed the exploit.
Fortunately, even on locked bootloader, can re-flash older kernel only.. get root.. then re-flash new kernel, and keep the root.
To be clear:
- flash full new ROM (which includes new, no exploit kernel)
- flash old kernel only
- get root
- re-flash new kernel only
(Note: my terminology may be off; the gist shoukd be ok)
Edit: typos, clarification
Thank you, I think I may have done it backwards and flashed all BUT the kernal. DOH!
Woah, didn't check the forum in a little while, thx for clearing up everything spamam1 :good:
Performed tonight and all is as it should be. Thanks for the help
anyone know where to find .423 kernal for 6506?
Optilicious said:
anyone know where to find .423 kernal for 6506?
Click to expand...
Click to collapse
Here is the thread for the full 423 FTF.
http://forum.xda-developers.com/showthread.php?t=2332539
I'm assuming you are trying to root your phone so just unselect everything apart from the kernel when flashing.

[Q] Rooting z1 compact stock lollipop

We all have gotten a sneak peek of Sony's lollipop update onto our beloved z1 compact. Through the many ways available I for instance used an ftf file. But they do not come pre-rooted like the zip file alternatives.
The only way to root ftf I am told is to flash a kernel pre-installed with a recovery then flash SuperSU zip. I have flashed like 3 different boot.imgs only to find no TWRP/Philz/cmw recovery.
Can anyone give me a WORKING kernel that will boot into a recovery? Would really appreciate this.
Found my solution
Edit: I just found a cm11 snapshot boot.img kernel, flashed it. Booted to recovery and flashed a pre-rooted rom zip. Easy as pie.
Thanks all.
Just flash KK firmware 108, root it, install recovery latest version, and afterwards flash any customised prerooted ROM of your choice.
kokkss said:
Just flash KK firmware 108, root it, install recovery latest version, and afterwards flash any customised prerooted ROM of your choice.
Click to expand...
Click to collapse
This is too much work. Work that I have to do. It's the only way to root this ftf. damn it
It's up to you.
I've done it.
I made a pre-rooted ftf using PRF creator and compiling the SUPERSU v2.37 and Z1C locked dual recovery 2.8.12 from Nuts site.
You can use Xperifirm to download the the firmware, then use Flashtool to decrypt the fileset and create the FTF, then you're good to go.
Hello guys.Does this method works??Without unlocking the bootloader? http://techchomps.com/root-14-5-a-0-242-android-5-0-lollipop-on-sony-xperia-z1-compact/
kos25k said:
Hello guys.Does this method works??Without unlocking the bootloader? http://techchomps.com/root-14-5-a-0-242-android-5-0-lollipop-on-sony-xperia-z1-compact/
Click to expand...
Click to collapse
Hello,
No don't work. With LB, you can't flash boot.img.
So i must unlock it right??Can anyone please send me the directions on how to unlock and root?
martin091 said:
I've done it.
I made a pre-rooted ftf using PRF creator and compiling the SUPERSU v2.37 and Z1C locked dual recovery 2.8.12 from Nuts site.
You can use Xperifirm to download the the firmware, then use Flashtool to decrypt the fileset and create the FTF, then you're good to go.
Click to expand...
Click to collapse
Awesome, which version region did you use? Mind sharing?
I am almost running out of options
So after everything done can we restore TA partition and relock the bootloader?
Not sent by me!
bumjrah said:
Awesome, which version region did you use? Mind sharing?
I am almost running out of options
Click to expand...
Click to collapse
I'm from the UK but I used the "Customized US" version. It works all the same, I've put together a UK one now but I'll need to wipe data before I can use it.
I'd share if I didn't have awful internet. The file is massive, unfortunately.
You'll find multiple threads on how to do different parts.
You need to create your pre-rooted firmware, then you'll need to download KK with Xperifirm (probably .108) and flash it with Flashtool.
Root KK using Easy Root Tool and install XZDualRecovery using the desktop client.
Once you're rooted with SuperSU/SuperUser and Recovery you can install the pre-rooted firmware (PRF) as a flashable zip within Recovery itself.
There's also work arounds for Xposed which you can find too, I've used them and it's all working as it should for now.
I also have a locked bootloader, so don't worry about unlocking it. I'll have a look around for the threads I used and post any I find.
---------- Post added at 08:38 AM ---------- Previous post was at 08:24 AM ----------
Working Xposed work-around
http://forum.xda-developers.com/showpost.php?p=60298690&postcount=123?
FR pre-rooted firmware with extras (not sure on your region or if it'll work properly. Worth a try?)
http://forum.xda-developers.com/sony-xperia-z1-compact/general/14-5-0-242customizedfrpre-t3083055
PRF Creator
http://forum.xda-developers.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904
Xperifirm
http://forum.xda-developers.com/cro...xperifirm-xperia-firmware-downloader-t2834142
Flashtool
http://forum.xda-developers.com/showthread.php?t=2335555
I'll leave you to find your own SuperSU or SuperUser zip, same with XZDualRecovery as they're frequently updated so you're better off finding the latest versions.
But how can you flash 108 if you are already on 242 and you have a locked bootloader? You must unlock it first...
Not sent by me!
BlackArtsInc said:
But how can you flash 108 if you are already on 242 and you have a locked bootloader? You must unlock it first...
Not sent by me!
Click to expand...
Click to collapse
What I did is that I downgraded with Flashtool, rooted KK, and then flashed a prerooted rom through the recovery. No need to unlock the bootloader.
c6nsor9d said:
What I did is that I downgraded with Flashtool, rooted KK, and then flashed a prerooted rom through the recovery. No need to unlock the bootloader.
Click to expand...
Click to collapse
How did you downgrade really?
You just flashed the 157 FTF in flashmode? It's doable?
Not sent by me!
BlackArtsInc said:
How did you downgrade really?
You just flashed the 157 FTF in flashmode? It's doable?
Not sent by me!
Click to expand...
Click to collapse
OK, there seems to be some loss in translation somewhere. Hope this will clear up some stuff:
1. Flash KitKat (kernel, system, everything).
2. Root it.
3. Install recovery (here)
4. Since you don't want to make your own pre-rooted firmware, here. Click on 'Google Drive' for the zip, and FTF. You need both.
5. Put the zip in your SD card/internal.
6. Boot into recovery and clear all data (dalvik, system, data, everything).
7. Flash the zip. DO NOT REBOOT.
8. Shutdown and use Flashtool to flash the .ftf you downloaded. Check System and Baseband on the 'exclude' column.
9. Have fun!
@dazzerfong OK,first of all thanks for your answer. What I'm asking is how did you do the first step with locked bootloader.
Flashtool->Flashmode->KitKat 157 FTF->Then root it blah blah?
Are these steps correct or not? Im about to try today cos I really miss root on my phone.
If you are already on Lollipop and your bootloader is locked you can get root this way.
1.Download the correct KitKat (.157) ROM for your country/operator using Xperifim.
Convert it to FTF using Flashtool. (there are tutorials,search)
2.Flash the FTF you created using Flashtool's Flashmode. Include everything.
3.Root your KitKat (.157) using the forum's tutorials and also install [NUT]'s recovery.
4.Boot into recovery and flash your pre rooted ROM in flashable zip format.
(There are also tutorials on how to create this with Xperifim and PRF programs).
5.Enjoy rooted Lollipop with locked bootloader.
Not sent by me!
BlackArtsInc said:
@dazzerfong OK,first of all thanks for your answer. What I'm asking is how did you do the first step with locked bootloader.
Flashtool->Flashmode->KitKat 157 FTF->Then root it blah blah?
Not sent by me!
Click to expand...
Click to collapse
Yep! All done with locked bootloader (or, if you want, unlocked, but you're wasting your time if you're unlocked). So, first you flash the FTF of a KitKat ROM.
Rooting, use Towelroot or something. No idea why, but Towelroot refuses to play with my TWRP (recovery), so I used the old method.
@dazzerfong
One last question cos I just did all the steps but I couldnt reboot into Lollipop after flashing my pre rooted rom zip file.
6. Boot into recovery and clear all data (dalvik, system, data, everything).
7. Flash the zip. DO NOT REBOOT.
8. Shutdown and use Flashtool to flash the .ftf you downloaded.
Check System and Baseband on the 'exclude' column.
Click to expand...
Click to collapse
On step 8 which FTF you mean exactly? I assume you mean the FTF from which you created
your pre rooted zip initially? In my case the Customized GR version?
N.
BlackArtsInc said:
@dazzerfong
One last question cos I just did all the steps but I couldnt reboot into Lollipop after flashing my pre rooted rom zip file.
On step 8 which FTF you mean exactly? I assume you mean the FTF from which you created
your pre rooted zip initially? In my case the Customized GR version?
N.
Click to expand...
Click to collapse
You should have downloaded 2 things so far: the zip, and the FTF. That FTF is Lollipop stock: doesn't matter where it's from. Flash that in Flashtool, but remember to check 'System' and 'Baseband' in the 'Exclude' column.
BlackArtsInc said:
How did you downgrade really?
You just flashed the 157 FTF in flashmode? It's doable?
Not sent by me!
Click to expand...
Click to collapse
Downgrade to .108 (with flashtool) in order to directly root the phone, whereas with .157, you'll have to flash an older kernel with flashtool in order to get root.
Once rooted, just get yourself a flashable prerooted firmware (zip file) and flash it from the recovery (after a wipe factory reset; wipe data; wipe cache; wipe Davilk Cache and Wipe System).

Not satisfied with CM 12 how to back to stock but keep root

Hi!
I sincerely didn't thought that there would be an official 5.1.1 rom. So there it is. In the meanwhile I switched to CM but the performance and specially of the camera is not to live with.
I officially unlocked the bootloader and installed twrp.
How can I install the stock rom 14.6.A.0.368 (5.1.1) and keep root. Or how can I get it back afterwards?
Thanks!!!
Flash stock fw with Flashtool, then flash this via fastboot - http://forum.xda-developers.com/son...root-init-d-support-recovery-busybox-t3202799
Once you have root and recovery, there's a couple of other nice kernels you can flash via recovery.
(Since you have recovery already, you could just flash a prf, but it seems like some people have trouble with them. I haven't tried myself)
by Flashtool you mean the companion app?
No, this - http://forum.xda-developers.com/showthread.php?t=920746
http://www.flashtool.net/downloads.php ??
That's it. Download the tool, install, find the drivers exe file in the 'drivers' folder, (in Flashtool app folder that is created on install), and install drivers. Then you need an 'ftf' firmware file, which you can find plenty of in this forum. I can link you one if you want. Download the ftf, put it in 'firmware' folder, open Flashtool, and flash in flash mode.
I'm gonna try this, since it seems to be just one flash action:
http://forum.xda-developers.com/son...ock-14-6-0-368-customized-lollipop-5-t3200948
thanks for your help!! I found this rom, gonna try it first:
http://forum.xda-developers.com/sony-xperia-z1-compact/general/stock-14-6-0-368-customized-lollipop-5-t3200948
OK. That's one of the prf I wrote about. Theoretically it should be fine, but I've read about some problems people have had. It definitely won't hurt to try...

Categories

Resources