[Q] Just rooted, if I upgrade will I lose root though? - Xperia Z2 Q&A, Help & Troubleshooting

So today I managed to root my Z2
Following advice from o0 Matt 0o in another thread, I downgraded from 4.4.4 to 4.42 using flashtool, then using the rootkitXperia_20140719 install.bat the phone is now rooted (for some reason it would not find adb even though running adb from a cmd prompt worked!)
Anyway, now I am on 4.4.2 with root, if I upgrade back to stock 4.4.4 rom will I lose the root?
EDIT: I have installed dual recovery, is there a pre packaged rooted rom for:
Android 4.4.4
23.0.1.A.0.167
United Kingdom - 3 - 1281-2574
Click to expand...
Click to collapse
Dont really want to create a rooted package myself, the steps can be confusing
Thanks!

Since you have dual recovery on 4.4.2 you can use the pre-rooted package by niaboc79 (can be found in the Android Development section) or any pre-rooted stock based ROM based on 4.4.4. It is all down to your preference.
I doubt there will be a 3 branded pre-rooted package either.

Actually you're right I should just get one of those roms which is not branded which would look better anyway
One last thing what is the steps to backup ta partition? At some point I will unlock bootloader but don't want to lose the dry keys
Cheers

Ned_Flanders said:
Actually you're right I should just get one of those roms which is not branded which would look better anyway
One last thing what is the steps to backup ta partition? At some point I will unlock bootloader but don't want to lose the dry keys
Cheers
Click to expand...
Click to collapse
In the Sony cross device development section there is the backup TA tool, simply use that. Also, make sure to upload your backup to a cloud service or something like that, in case your hard drive goes kaput and you need it to relock your bootloader.
Please remember that unlocking the bootloader wipes the internal SD card (not the user one). Also, restoring the TA backup relocks the bootloader so make sure you are on a stock ROM and kernel when you restore the backup.

gamer649 said:
In the Sony cross device development section there is the backup TA tool, simply use that. Also, make sure to upload your backup to a cloud service or something like that, in case your hard drive goes kaput and you need it to relock your bootloader.
Please remember that unlocking the bootloader wipes the internal SD card (not the user one). Also, restoring the TA backup relocks the bootloader so make sure you are on a stock ROM and kernel when you restore the backup.
Click to expand...
Click to collapse
Cool thanks for the tips :good:

Related

[Q] Installing CM-10.2 Android-4.3

Hey guys, I've rooted, installed CWM Recovery, Unlocked Bootloader, and installed CyanogenMod on another phone before.
The thing is, I've had this phone for about 6 months and wanted to do the same. However, after browsing through the forums, man are there a lot of scary sh*t going down. I would like the request the procedure to install CyanogenMod safely, without losing any Keys/IMEI/XReality/DRMkeys/Etcetera.
I dont know if the method given by FXP is supposed to be this straight forward, but I too like others, do not want to risk losing important stuff if it can be avoided (Keys/IMEI/XReality/DRMkeys/Etcetera).
HOWTO
Install instructions:
first time
- power off the phone:
- hold vol+ and plug usb to boot into fastboot (blu led)
- fastboot flash boot boot.img (from cm10 zip)
- fastboot reboot
- enter recovery, on boot led will be violet for 3'', during this period press vol+
- flash rom zip
- flash gapps zip
- wipe
- reboot
for update just flash rom zip from recovery
Google Apps are not included in this ROM. You'll need to find those yourself if you want them.
Click to expand...
Click to collapse
Frankly speaking, the forums is pretty much jumbled up, and the existing [Guide] Threads are either incomplete (Lacking important steps), or Unclear (Non-Specific steps).
Perhaps someone could do me a favour by using the template that I have below to help me, and possibly others, to install CM 10.2 on our beast of a phone.
Template:
1. Backup TA and DRMkeys and stuff: http://forum-xda-developers-com/backup
2. Root: http://forum-xda-developers-com/root
3. Recovery : http://forum-xda-developers-com/recovery
4: Unlock Bootloader: http://forum-xda-developers-com/ulbl
5: Install FXP's CM 10.2 :http://forum.xda-developers.com/showthread.php?t=2461286
Something like that would suffice I think, as long as no important steps are missing that would cause me to lose stuff unique to my phone, that cannot be recovered if I didn't back it up.
P.S. My version is 14.1.B.2.257
P.P.S. Thank you in advance.
1. Root
2. Backup TA (VERY IMPORTANT)
3. Install Recovery and unlock the bootloader, or the other way around. Both ways work.
4. Install ROM by following the "guide" that you quoted above.
Sent from my C6833 using Tapatalk
I'm on 14.1.B.2.257, I believe reverting to the previous version causes data to be lost unless you back it up right. *Sighs* How troublesome.
Xenogenics said:
I'm on 14.1.B.2.257, I believe reverting to the previous version causes data to be lost unless you back it up right. *Sighs* How troublesome.
Click to expand...
Click to collapse
you will have to back up the data anyways. I think unlocking the bootloader does a factory reset, as well one is needed going from stock to CM if i unforget correctly
I am also wondering about this. I'm currently running firmware .257.
I understand that I need to back up the TA partition first (though I'm not exactly sure on what I will loose if I don't). I also understand that to do this I need to root the stock rom. I understand that in order to root, I'll need to first downgrade to an earlier firmware using flashtool. However, after that I'm not so sure what I need to do. As far as I can see, the only method of gaining root currently is to use vRoot, which is currently under investigation for IMEI mining.
How else can I root the device? I was thinking of maybe using the recovery for locked bootloaders here: http://forum.xda-developers.com/showthread.php?t=2426739
Following by flashing SuperSU from recovery as per usual.
Will this work, keeping the TA partition intact so that I can back it up before flashing CM? Assuming so, would I even need to downgrade from the .257 firmware at all?
Thanks,
i have CWM now so can flash custom roms like i did on other phones right?
what does unlocking the bootloader give me? unless i'm wrong and i have to unlock to flash?
all i've done so far is do a backup is all. (did a TA backup a while back though)
stiggy2012 said:
I am also wondering about this. I'm currently running firmware .257.
I understand that I need to back up the TA partition first (though I'm not exactly sure on what I will loose if I don't). I also understand that to do this I need to root the stock rom. I understand that in order to root, I'll need to first downgrade to an earlier firmware using flashtool. However, after that I'm not so sure what I need to do. As far as I can see, the only method of gaining root currently is to use vRoot, which is currently under investigation for IMEI mining.
How else can I root the device? I was thinking of maybe using the recovery for locked bootloaders here: http://forum.xda-developers.com/showthread.php?t=2426739
Following by flashing SuperSU from recovery as per usual.
Will this work, keeping the TA partition intact so that I can back it up before flashing CM? Assuming so, would I even need to downgrade from the .257 firmware at all?
Thanks,
Click to expand...
Click to collapse
OK, so looking into this further, you already need to have root to be able to flash the "CWM for locked bootloader" rocovery. So as far as I can see, the only way to get root in order to back up the TA partition is to give your IMEI to the Chinese via vRoot?
Thank god the stock rom is so good.
tommo123 said:
i have CWM now so can flash custom roms like i did on other phones right?
what does unlocking the bootloader give me? unless i'm wrong and i have to unlock to flash?
all i've done so far is do a backup is all. (did a TA backup a while back though)
Click to expand...
Click to collapse
You have to unlock the bootloader to flash custom ROMs. You can flash stock ROMs without unlocking it, but you have to unlock it if you want CM, PAC, PA etc.
Sent from my C6833 using Tapatalk
really, so what would happen if i tried to flash an aosp rom now? would the system partition essentially be read only?
sorry for the Qs but haven't had a locked bootloader since the htc desire (although the s-off for that one was to remap the partitions to allow more room for data) and the reasons for unlocking don't seem to be the same.
tommo123 said:
really, so what would happen if i tried to flash an aosp rom now? would the system partition essentially be read only?
sorry for the Qs but haven't had a locked bootloader since the htc desire (although the s-off for that one was to remap the partitions to allow more room for data) and the reasons for unlocking don't seem to be the same.
Click to expand...
Click to collapse
Nothing will happen if you try it now. You can easily unlock the bootloader by going to Sony's Dev site, request your key and use Flashtool to unlock it. It takes a couple of minutes once you have Flashtool and the drivers installed. It's also perfectly safe to unlock it and you will lose your warranty. BUT you can easily relock it again if something happens to your ZU and the warrenty will be back.
Remember to backup your TA before you unlock your bootloader. It contains a lot if device info and your unique DRM keys. Unlocking the bootloader will wipe the system partition, but you will still have root, photos, music etc. (But do a backup of those just in case).
Sent from my C6833 using Tapatalk
i think that's where i got confused with drivers - unlocking.
i have already done a backup of my TA part so that side of it is ok. i'll leave unlocking until there's a rom i want to try. possibly a complete 4.4 or something.
cheers LM
tommo123 said:
i think that's where i got confused with drivers - unlocking.
i have already done a backup of my TA part so that side of it is ok. i'll leave unlocking until there's a rom i want to try. possibly a complete 4.4 or something.
cheers LM
Click to expand...
Click to collapse
If you've already backed up your TA, it means that you have the drivers installed, so job done All you have to do is to install Flashtool and get your key from Sony (which you will get on your email straight away). Either way, just ask here if/when you want to unlock it so we can guide you through it (it's very easy though).
ran flashtool but gave me driver errors - missing. unable to install the drivers included (i guess due to windows 8 driver signing)

[Q] Some questions from a new owner.

Got my XZU last Saturday and decided today to keep it. Being long out of the Sony-world (last was an XS, now coming from a Find 5), I've got some questions. I'm also going to search for the infos, but I feel a single thread for "my stuff" makes it easier for me, so please be kind.
So, for the current state, here's the device's information.
- Sony Xperia Z Ultra (C6833), black
- running on Vodafone DE
- Android version 4.2.2
- Baseband version 8974-AAAAANAZQ-10220006-09
- Kernel 3.4.0-perf-gde8296d-02194-ga2561a5
- Build 14.1.B.1.510
- The device shows me an update to 14.2.A.1.136
Questions:
1) Do Sony's official updates only update Android + Sony Apps or are there also firmware updates included?
2) I want to root and install a custom ROM, should I start from the current build or should I upgrade to $something first?
3) I've read that KitKat is restricting SDcard usage for non-system apps. Do custom 4.4 ROMs work around this(,yet) or should I update to 4.3 max?
4) I probably won't use the camera much, if at all, still, most custom ROMs can't get the camera quality on a level the stock ROM has, so how bad is it on this device?
5) is the PowerCover CP12 available somewhere in the EU? It's "out of stock" in all big shops I looked at in .de,.at,.ch and the Twitter-Team wasn't really helpful. Ordering from outside the EU would be possible, but pretty much guaranteed to get stuck at the customs where the next office is ~50km away and doesn't have work-friendly times at all.
6) About screen protectors: a) can I apply them over the shatter shield and if so b) will input by pens or something still work on a decent level?
7) is there a prefered solution of recoveries on this device or does it not matter at all, if I'd choose CWM or TWRP(or is there something else entirely)?
8) are there known problems in general with custom ROMs regarding external hardware? I'd like to use my "SmartWireless Headset Pro", my "SmartWatch (1)" and TV-Out
That's it for now, thanks for any help
1) The 136 update is a firmware update (to Android 4.3), but they also push out updates for their Sony apps.
2) You have to update to at least 290 (Android 4.3) if you don't want to lose your IMEI when you flash a custom ROM. Also note that you'll lose your IMEI if you downgrade from 136/290 to anything older. There are no real reasons to downgrade though, but just keep that in mind. It's easily fixable, so it's not the end of the world if you do it.
3) Yes, there's a workaround to get SD card working on KitKat (you just have to replace one file)
4) The camera is still bad on custom ROMs. It might get better with official Sony KitKat.
5) I have no idea.
6) a) Yes. b) Yes.
7) We've got double recovery, meaning you'll get both CWR and TWRP when you flash recovery, so use the one you prefer. (Vol Up for CWR and Vol Down for TWRP)
8) I think the only known issue on 136 is that Bluetooth might be a little wonky, but i'm not sure, so be sure to read around here since there's a thread about it.
Thank you for that.
In regard to 1), I meant firmware updates of hardware, f.e. the Find5 received some updates regarding the touchscreen.
As for 2), so there's currently no reason not to install the latest official Sony update, meaning it's also rootable without too much hassle? What would be the consequences of a lost IMEI?
S.D.Richards said:
Thank you for that.
In regard to 1), I meant firmware updates of hardware, f.e. the Find5 received some updates regarding the touchscreen.
As for 2), so there's currently no reason not to install the latest official Sony update, meaning it's also rootable without too much hassle? What would be the consequences of a lost IMEI?
Click to expand...
Click to collapse
Bugfixes are included in firmware updates, so they don't release an update to fix one minor thing. The Find5 receives updates every two weeks, if i'm not mistaken?
There's really no reason to update to 136 (the newest) if you're going to flash a custom ROM. Rooting is fairly easy if your bootloader is unlocked, and it only takes a couple of minutes, but it's a little more complicated if your bootloader is locked. Luckily, you're on 510, meaning it's even easier to root, and once you've rooted 510, make a backup of your TA partition. It holds all of your unique DRM files that makes X-Reality work etc. You'll lose the TA partition when you unlock the bootloader, so that's why you have to make a backup of it before you unlock it. Once you've done that, update to 290, unlock the bootloader, root it and do whatever you'd like to do.
Thanks again.
Now rooting worked(+OTA keeper from the Playstore), so did creating the TA backup.
Having a glance over the custom ROMs available as of now, I think I'd like to stay on rooted stock until Omni (official) comes around.
So what would be the (better) procedure to get latest Sony ROM running? Use Sony's updater and hope OTA keeper works or unlock, install recovery and flash a pre-rooted FTF?
S.D.Richards said:
Thanks again.
Now rooting worked(+OTA keeper from the Playstore), so did creating the TA backup.
Having a glance over the custom ROMs available as of now, I think I'd like to stay on rooted stock until Omni (official) comes around.
So what would be the (better) procedure to get latest Sony ROM running? Use Sony's updater and hope OTA keeper works or unlock, install recovery and flash a pre-rooted FTF?
Click to expand...
Click to collapse
OTA Root Keeper doesn't work on 4.3, so you'll lose root no matter what you do. Are you still on 510, or have you updated to something else?
You have your TA partition backed up now (recommend you to upload it to your Drive or Dropbox), so you can unlock the bootloader without permanently losing the TA partition. It'll delete it when you unlock the bootloader, but you can easily restore it again in case you have to send it in for repairs. Rooting 290 and everything else becomes so much easier and faster the second your BL is unlocked, so head over to the General section and look for Jackie's root guide and see if that's something you might want to do...
...or you can simply stay with the firmware you're on now, granted it's not the most stable firmware version, but it'll save you a lot of time. Official KitKat is also scheduled for release this month, so you can:
A ) Stay on current firmware and wait for official Sony KitKat
B ) Go all out and flash a custom ROM
I'm currently running the GPe ROM, and I can highly recommend it. It's solid as a rock with no bugs.
Any questions?
Sent from my C6806_GPe using Tapatalk
LordManhattan said:
OTA Root Keeper doesn't work on 4.3, so you'll lose root no matter what you do. Are you still on 510, or have you updated to something else?
Click to expand...
Click to collapse
Still on 510, bedtime was up and I don't wanted to do something stupid with a sleepy head.
You have your TA partition backed up now (recommend you to upload it to your Drive or Dropbox), so you can unlock the bootloader without permanently losing the TA partition.
Click to expand...
Click to collapse
Yes, did that and mirrored it over a few systems. BTW, if I'd ever go back to stock, would the TA-p get changed so I'd need to back it up again or does it stay the way it is over the phone's lifetime?
It'll delete it when you unlock the bootloader, but you can easily restore it again in case you have to send it in for repairs. Rooting 290 and everything else becomes so much easier and faster the second your BL is unlocked, so head over to the General section and look for Jackie's root guide and see if that's something you might want to do...
Click to expand...
Click to collapse
No problem, I had my Xperia S unlocked, so I now the procedure. Only question related to that: I read that for the Z1(?) there's a minimal version one should update to before unlocking the BL, if you don't camera stops working or something - so, is this also a problem on the ZU or has this already been fixed?
I'm currently running the GPe ROM, and I can highly recommend it. It's solid as a rock with no bugs.
Click to expand...
Click to collapse
I'll have a look at it, thanks.
S.D.Richards said:
.
Yes, did that and mirrored it over a few systems. BTW, if I'd ever go back to stock, would the TA-p get changed so I'd need to back it up again or does it stay the way it is over the phone's lifetime?
Click to expand...
Click to collapse
The TA partition is unique to your device, so you do it only once, so be sure to not lose it.
No problem, I had my Xperia S unlocked, so I now the procedure. Only question related to that: I read that for the Z1(?) there's a minimal version one should update to before unlocking the BL, if you don't camera stops working or something - so, is this also a problem on the ZU or has this already been fixed?
Click to expand...
Click to collapse
The ZU has never had any of the camera issues when we unlock the bootloader, so there's nothing to add here
Sent from my C6806_GPe using Tapatalk
So to be clear, when you're talking about the GPe ROM, you're meaning this one: http://forum.xda-developers.com/showthread.php?t=2608708 ?
So if I'd like to try this, I'd need to:
1. unlock bootloader
2. install recovery
3. take NAND backup
4. Flash .290 fw
5. flash this ROM
Correct?
S.D.Richards said:
So to be clear, when you're talking about the GPe ROM, you're meaning this one: http://forum.xda-developers.com/showthread.php?t=2608708 ?
So if I'd like to try this, I'd need to:
1. unlock bootloader
2. install recovery
3. take NAND backup
4. Flash .290 fw
5. flash this ROM
Correct?
Click to expand...
Click to collapse
The bootloader unlocking doesn't need to be the first step since you can flash Recovery on a locked bootloader. You can do everything except the ROM flashing on a locked bootloader. But yeah, that looks fine to me. Be sure to download the tweaked GPe version that includes Recovery and SD fix.
If you can't bother making a NAND:
- Unlock the bootloader
- Update to 290
- Flash boot.img (includes recovery)
- Boot into recovery and flash (VOL UP when LED lights up)
- Done.
Thanks again, could/would you link me to a .290 ftf for germany/europe/generic? The ones I found are either for other regions or the links seem to be down.
Here's 290 EU for the C6833.
https://mega.co.nz/#!VR4HyJia!PGxJXHOi8V-eJpWDnsJKShRPlhoYHR5DpFRkko6m0Nk
Sent from my C6806_GPe using Tapatalk
LordManhattan said:
Here's 290 EU for the C6833.
https://mega.co.nz/#!VR4HyJia!PGxJXHOi8V-eJpWDnsJKShRPlhoYHR5DpFRkko6m0Nk
Sent from my C6806_GPe using Tapatalk
Click to expand...
Click to collapse
Thanks, already found that link, but it gives me a "the file you are trying to download is no longer available"-error.
Already searched on Google, but couldn't find one, yet, or only for the other models.
Here's the Chilean 290 for C6833. It doesn't matter which one you use, and you're planning to flash the GPe, so just flash this one and get it done
Sent from my C6806_GPe using Tapatalk
Thank you very much for all your help, GPe is up and running smoothly now.
Apart from anything looking pretty huge, guessing different DPI settings compared to Sony's values, it's fine so far. One question though: under display settings it says X-Reality is on. Is that just cosmetics, since at no point I restored the TA-backup. If it's "fake", is it possible to restore TA and have it working or would that "trash" the system and restore should only be done in case of a stock re-install?
S.D.Richards said:
Thank you very much for all your help, GPe is up and running smoothly now.
Apart from anything looking pretty huge, guessing different DPI settings compared to Sony's values, it's fine so far. One question though: under display settings it says X-Reality is on. Is that just cosmetics, since at no point I restored the TA-backup. If it's "fake", is it possible to restore TA and have it working or would that "trash" the system and restore should only be done in case of a stock re-install?
Click to expand...
Click to collapse
just cosmetic and does nothing. If you restored the TA the GPe rom would fail to boot.
blueether said:
just cosmetic and does nothing. If you restored the TA the GPe rom would fail to boot.
Click to expand...
Click to collapse
Thanks for that quick answer, satisfied for now, so I can finally go to sleep
One last thing. Just change ro.sf.lcd_density=400 to 320 in build.prop to get the same sized UI like the Sony ROM. Unless you like 400.
Sent from my C6806_GPe using Tapatalk
LordManhattan said:
One last thing. Just change ro.sf.lcd_density=400 to 320 in build.prop to get the same sized UI like the Sony ROM. Unless you like 400.
Sent from my C6806_GPe using Tapatalk
Click to expand...
Click to collapse
Perfect, just what I've been looking for, thanks.
Now to hope that the ZU also gets double tap to wake, than I'd be pretty happy.
S.D.Richards said:
Perfect, just what I've been looking for, thanks.
Now to hope that the ZU also gets double tap to wake, than I'd be pretty happy.
Click to expand...
Click to collapse
Yeah, the leaked footage from the Z2 KitKat build shows the option to use double tap to wake, so it looks like we'll get it. It's a kernel feature, so it'll work on mostly anything out there.

[Q] How the **** do you root this thing?

I have a Sony Xperia Tablet Z, 64GB WiFi (SPG312) running stock 4.3, and I can not root this thing. I've tried several different methods to no avail. Does anyone on here know how to root this thing? I'm ultimately trying to install CM11.
Either go back to 4.2, root with Doom's Rootkit, then install a recovery, and install 4.3 already rooted, or unlock your bootloader, install CM kernel, use the recovery built in to install the SuperUser zip, then flash stock kernel again.
Sent from my SGP311 using Tapatalk
Felimenta97 said:
Either go back to 4.2, root with Doom's Rootkit, then install a recovery, and install 4.3 already rooted, or unlock your bootloader, install CM kernel, use the recovery built in to install the SuperUser zip, then flash stock kernel again.
Sent from my SGP311 using Tapatalk
Click to expand...
Click to collapse
So unlock the bootloader? How do I go about that? And after that I can install CM right from there? That sounds like the one thing I haven't tried.
How do I go about doing that?
http://unlockbootloader.sonymobile.com
Follow that link. It's pretty easy. Just make sure you have all the tools in hand. Shouldn't take more than a hour to read everything and do the procedure, if you have everything ready.
It's mentioned there, but remember that it will void your warranty and, with Android 4.3 or lower, on stock ROMs, you will not have Bravia Engine working. Also, in any version, Music and Video Unlimited will not work anymore.
Another big tip: Go to the Xperia Z section (the phone one), and on the sub categories, can enter one called Cross Device Development, or something along those lines, and look for a thread with the name TA backup. If you do the long process, of going back and such, backup your keys. Should come in handy in the future.
Sent from my SGP311 using Tapatalk
Felimenta97 said:
http://unlockbootloader.sonymobile.com
Follow that link. It's pretty easy. Just make sure you have all the tools in hand. Shouldn't take more than a hour to read everything and do the procedure, if you have everything ready.
It's mentioned there, but remember that it will void your warranty and, with Android 4.3 or lower, on stock ROMs, you will not have Bravia Engine working. Also, in any version, Music and Video Unlimited will not work anymore.
Another big tip: Go to the Xperia Z section (the phone one), and on the sub categories, can enter one called Cross Device Development, or something along those lines, and look for a thread with the name TA backup. If you do the long process, of going back and such, backup your keys. Should come in handy in the future.
Sent from my SGP311 using Tapatalk
Click to expand...
Click to collapse
Emma does not work. I have tried to register for an account a several times with no luck.
Birkesuss said:
Emma does not work. I have tried to register for an account a several times with no luck.
Click to expand...
Click to collapse
You do not need Emma.
Sent from my SGP311 using Tapatalk
u need to download flashtool and find a 4.1.2 rom for your device...
then you can either use framaroot 1.91(gandalf exploit) or use doomlords root setup...
after that you can install phill'z recovery...
http://forum.xda-developers.com/showthread.php?t=928343 this link was very help full for my device sgp311 and i think its almost the same for your device only the rom and the stripped .ftf will be different...
unlocking your boatloader is not really applied to you,you only need it if you want to install custom roms...but before you do search a bit around to find hou you can backup your drm keys aka .ta partition.
Make sure you downgrade to 4.2 and root using http://nut.xperia-files.com/?dlid=V...jb3ZlcnkyLjcuMTIzLUJFVEEuaW5zdGFsbGVyLnppcA== option 3 then backup your TA partition before unlocking your bootloader, or theoretically you'll lose warranty
ok ok ok
So what steps do I take to install CM11?
Which method posted would get me there? You guys are saying a lot of different things here, have me a little confused
Hi anyone knows and tries this Kingo to root and unlock bootloader
http://www.kingoapp.com/sony-bootloader-unlock.htm
http://www.kingoapp.com/index.htm
thanks
Unlock bootloader > flash any cm10-11 kernel that has recovery built in > boot to recovery > flash SuperSU > flash 4.4.2 stock kernel back (from FTF)

Help Needed: How To Relock & Revert to stock ROM

Android 4.4.2 .757 IN
C6802
I have the boot loader unlocked and on DoomKernel v20.
I want to go back to stock Kernel and only have it rooted.
Also have TA backup.
Best way to proceed would be helpful as per the relock thread I need to update kernel.sin first from stock rom.
"before u relock bootloader u have to be on pure stock kernel (flash only the kernel.sin using flashtool), else the device WILL NOT BOOT after relock"
1) When I try this option in flashtool, there are 3 files which are being installed. Kernel.sin, rmp.sin and loader.sin. How do I exclude rpm.sin and loader.sin?
2) Once I relock, do i flash the stock rom using flashtool and than restore TA using backupTA or is there another process.
I searched but could not find an appropriate thread with the steps.
Regards
Charles
kidrock23 said:
Android 4.4.2 .757 IN
C6802
I have the boot loader unlocked and on DoomKernel v20.
I want to go back to stock Kernel and only have it rooted.
Also have TA backup.
Best way to proceed would be helpful as per the relock thread I need to update kernel.sin first from stock rom.
"before u relock bootloader u have to be on pure stock kernel (flash only the kernel.sin using flashtool), else the device WILL NOT BOOT after relock"
1) When I try this option in flashtool, there are 3 files which are being installed. Kernel.sin, rmp.sin and loader.sin. How do I exclude rpm.sin and loader.sin?
2) Once I relock, do i flash the stock rom using flashtool and than restore TA using backupTA or is there another process.
I searched but could not find an appropriate thread with the steps.
Regards
Charles
Click to expand...
Click to collapse
http://forum.xda-developers.com/xperia-z-ultra/general/guide-everything-root-4-4-4-t2938098 should have the answers, but there are a few ways to reach the end goal.
I would doe it this way
Download the latest india FTF (the one you have?)
Restore TA (this will leave the ZU un-bootable)
Start Flashtool
Select Flashmode
Select the FTF
Uncheck the Wipe DATA (leave checked if you want to have a clean install)
Select only kernel.sin if you want to keep your stuff on the ZU (Don't worry about the other images that will also get prepared, they will only get flashed if they need updating)
Select everything if you want a clean install
Start the flash
Restart ZU in Flashmode
Thanks Blueether, this was pretty simple
Cheers
Regards
Charles
blueether said:
http://forum.xda-developers.com/xperia-z-ultra/general/guide-everything-root-4-4-4-t2938098 should have the answers, but there are a few ways to reach the end goal.
I would doe it this way
Download the latest india FTF (the one you have?)
Restore TA (this will leave the ZU un-bootable)
Start Flashtool
Select Flashmode
Select the FTF
Uncheck the Wipe DATA (leave checked if you want to have a clean install)
Select only kernel.sin if you want to keep your stuff on the ZU (Don't worry about the other images that will also get prepared, they will only get flashed if they need updating)
Select everything if you want a clean install
Start the flash
Restart ZU in Flashmode
Click to expand...
Click to collapse
What about me? I don't have a backed up TA partition. How do the steps go for me?
Same for me here, I didn't back up TA partition but i want to re-lock Bootloader. Is it possible or i am doomed now?? I need to send my device to a Sony Service Center, for replacement and i need to revert to full factory condition otherwise my warranty is void.
I thought that unlocking bootloader doesn't void warranty since it is officially provided by Sony and they don't mention anywhere during the procedure that you loose your warranty but their service representatives have a different opinion.
Sent from my Xperia Z Ultra using Tapatalk
Godaemon said:
Same for me here, I didn't back up TA partition but i want to re-lock Bootloader. Is it possible or i am doomed now?? I need to send my device to a Sony Service Center, for replacement and i need to revert to full factory condition otherwise my warranty is void.
I thought that unlocking bootloader doesn't void warranty since it is officially provided by Sony and they don't mention anywhere during the procedure that you loose your warranty but their service representatives have a different opinion.
Sent from my Xperia Z Ultra using Tapatalk
Click to expand...
Click to collapse
http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
Voiding the warranty
If you unlock the boot loader, you may void the warranty of your device and/or any warranty from your operator. See your device’s warranty statement for details. Additionally, due to the modified device software, Sony’s repair network will likely have to replace key components before it can properly test, repair and verify your device using our repair tools and software. Consequently, if Sony performs a warranty repair, Sony will likely charge you a significant service fee for the additional costs caused by your modification of the software.
Click to expand...
Click to collapse
Looks to be plainly stated to me
To lock the bootloader without a TA backup just use flash tool and the padlock icon
blueether said:
http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
Looks to be plainly stated to me
To lock the bootloader without a TA backup just use flash tool and the padlock icon
Click to expand...
Click to collapse
The padlock icon which shows the lock as open reads "Root device". Are you talking about that one? But its greyed out along with the other ones to the left in the same row.
jenxrj said:
The padlock icon which shows the lock as open reads "Root device". Are you talking about that one? But its greyed out along with the other ones to the left in the same row.
Click to expand...
Click to collapse
Sorry, I got the wrong icon, use the BLU one - I was going by memory and it must have been too long ago that I used flashtool
There is still no guarantee that they will take it with missing keys - good luck
blueether said:
Sorry, I got the wrong icon, use the BLU one - I was going by memory and it must have been too long ago that I used flashtool
There is still no guarantee that they will take it with missing keys - good luck
Click to expand...
Click to collapse
Mate, that is the Bootloader unlock option which I had used to unlock the bootloader initially, I'm not sure it will lock the bootloader mate.
I have another offtopic question for you mate, can you how the memory configuration of a device? I am asking this because, I restored my rom+apps from a nandroid backup which had all my apps and games, and approximately about 5 GB. Naturally, after the restoration, I saw that the internal sd card memory had reduced in size by about ~4-5GB. But the issue is that when I checked the folders from the internal SD card, it says that all folders are only a few mb in size. Where are the files getting restored to and which part of memory is it getting restored to. How much is the phone memory and how much in size is the internal storage[internal sd card]. Where are my apps going? I know their location in root, but I would like to know how where they are mapped from.
jenxrj said:
Mate, that is the Bootloader unlock option which I had used to unlock the bootloader initially, I'm not sure it will lock the bootloader mate.
Click to expand...
Click to collapse
Try it
It should lock it as well when in an unlocked state - I have done this many times when testing root methods pre towelroot
I have another offtopic question for you mate, can you how the memory configuration of a device? I am asking this because, I restored my rom+apps from a nandroid backup which had all my apps and games, and approximately about 5 GB. Naturally, after the restoration, I saw that the internal sd card memory had reduced in size by about ~4-5GB. But the issue is that when I checked the folders from the internal SD card, it says that all folders are only a few mb in size. Where are the files getting restored to and which part of memory is it getting restored to. How much is the phone memory and how much in size is the internal storage[internal sd card]. Where are my apps going? I know their location in root, but I would like to know how where they are mapped from.
Click to expand...
Click to collapse
Pass
blueether said:
Try it
It should lock it as well when in an unlocked state - I have done this many times when testing root methods pre towelroot
Click to expand...
Click to collapse
Is there a way to restore DRM keys from TA backup or any other method after unlocking the BL?
Go here This tool will back up as well as restore
http://forum.xda-developers.com/showthread.php?t=2292598

[Q] Getting back to stock for Lollipop update

I gave my XZU, which has an unlocked bootloader, is rooted, and is running 4.4.2 to my mother. I want to return the device to stock, as she has no need for root, and upgrade it to stock lollipop. The problem is, I rooted it a long time ago, I don't remember how I did it, and even then, I was stumbling through the process. There are many more guides about rooting than there are about unrooting, so I'm concerned that I may brick the phone or mess it up in some way. Here are the steps I found on XDA for returning to stock:
1. Make sure you have root
2. Backup any data/photos/etc on the phone
3. Restore your TA backup with the TA backup tool above
--------If you are on a custom kernel or ROM you ZU will not boot at this stage
4. Start flashtool and load a FTF
5. Start the flash and wait for the onscreen instructions to connect the ZU
6. Connect your ZU in flashmode
---------With the ZU powered off
---------Connect to PC while holding the volume down key
---------Flash will start
7. Wait for flash to complete
Is this the appropriate way to approach what I'm trying to do here? I am not running a custom kernel or ROM, I don't think. Certainly not a custom rom, though I'm not sure how kernels work anymore. But I'm pretty sure it's not custom. Just to be certain I am doing this properly, I want to write this out with the guide and see if it makes sense.
1. I do have root.
2. Done.
3. I have my TA partition saved as a .zip from when I originally rooted the phone. I'm not completely sure how I restore the partition. I am getting the Backup TA program from here: https://github.com/DevShaft/Backup-TA/releases. But I can't find actually how to restore it. After I do this, my bootloader is now relocked, and then I can just flash stock .ftf's? Is this correct?
4. I am downloading flashtool from here: http://www.flashtool.net/downloads.php and I am using this .ftf: [STOCK ROM] [FTF] Xperia Z Ultra (C6806) 14.3.A.0.681 "US Unbranded", which I am getting from here: http://forum.xda-developers.com/xpe...tf-depository-sony-firmware-releases-t2829387. I haven't used the flashtool since the original rooting I did, but I think I can figure it out.
5. Etc.
6. Etc.
7. Etc.
At this point, I should be back on stock, right? And then I could just update through Sony's PC Companion at this point, yes? I'm basically just looking for a "Yes, you're going in the right direction" or "Yes, this is how you would return the device to stock."
Thanks!
That is the most up to date instructions that I know of, sorry I can't answer about the TA restore. Just one suggestion would be to flash a lollipop ftf, rather than kitkat and trying to get it to upgrade. An even easier solution would be to leave it unlocked and flash this http://forum.xda-developers.com/xpe...llipop-5-0-2-c6806-14-5-0-242-rooted-t3082449 in recovery.
adfurgerson said:
That is the most up to date instructions that I know of, sorry I can't answer about the TA restore. Just one suggestion would be to flash a lollipop ftf, rather than kitkat and trying to get it to upgrade. An even easier solution would be to leave it unlocked and flash this http://forum.xda-developers.com/xpe...llipop-5-0-2-c6806-14-5-0-242-rooted-t3082449 in recovery.
Click to expand...
Click to collapse
I appreciate it. I think I'm going to try it now. I really want it on stock for any updates. It needs to stay as simple and as up-to-date as possible without as little effort as possible. Do you know where the stock lollipop .ftf's are?
Snarging said:
I appreciate it. I think I'm going to try it now. I really want it on stock for any updates. It needs to stay as simple and as up-to-date as possible without as little effort as possible. Do you know where the stock lollipop .ftf's are?
Click to expand...
Click to collapse
This tool might work.
http://forum.xda-developers.com/cro...xperifirm-xperia-firmware-downloader-t2834142

Categories

Resources