How to aproach update to 34.A.0.228 - Sony Xperia X Questions & Answers

I have Sony Xperia F5122 model.
Phone has TWRP and it's rooted. It has Magisk 14.0 for hidden root. I don't remember if I installed a kernel.
It's curently running build 34.2.A.2.69. version. Now xperia system update is getting all up in my nortification bar to update the software to 34.A.0.228. When I try to update it trough the phone it fails every time. I assume this is because I have TWRP not original recovery. How do I update without losing my data? I was thinking of flashtool but I don't know which boxes to tick for wipe and exclude. I have original firmware from xperifirm and compiled with flashtool.

Leonardsleim said:
I have Sony Xperia F5122 model.
Phone has TWRP and it's rooted. It has Magisk 14.0 for hidden root. I don't remember if I installed a kernel.
It's curently running build 34.2.A.2.69. version. Now xperia system update is getting all up in my nortification bar to update the software to 34.A.0.228. When I try to update it trough the phone it fails every time. I assume this is because I have TWRP not original recovery. How do I update without losing my data? I was thinking of flashtool but I don't know which boxes to tick for wipe and exclude. I have original firmware from xperifirm and compiled with flashtool.
Click to expand...
Click to collapse
you can use flashtool, exclude fotakernel so you'll keep twrp. After flashing rom use magisk app to get root or create and flash a rooted kernel

kistigun said:
you can use flashtool, exclude fotakernel so you'll keep twrp. After flashing rom use magisk app to get root or create and flash a rooted kernel
Click to expand...
Click to collapse
I realized that I can't or don't know how to get into fastboot because I have TWRP.

Ok now I remembered how to get into fastboot. Now I don't have root. Twrp asks for a decryption password which I don't know. Installing supersu from flash didn't do anything.

Related

flash older kernel in order to root latest firmware (23.0.1.A.0.167)?

Hi!
Somebody in a different forum suggested that it might be possible to root the latest firmware (23.0.1.A.0.167) by downgrading the kernel (http://forum.xda-developers.com/showpost.php?p=56590546&postcount=1224).
Can anybody confirm this method to work?
I purchased my Z2 tablet yesterday and was foolish enough to believe that I can upgrade to the latest firmware and still root my device (with a locked bootloader).
Greetings
MJFox
MJFox78 said:
Hi!
Somebody in a different forum suggested that it might be possible to root the latest firmware (23.0.1.A.0.167) by downgrading the kernel (http://forum.xda-developers.com/showpost.php?p=56590546&postcount=1224).
Can anybody confirm this method to work?
I purchased my Z2 tablet yesterday and was foolish enough to believe that I can upgrade to the latest firmware and still root my device (with a locked bootloader).
Greetings
MJFox
Click to expand...
Click to collapse
It doesn't work. You end up to bootloop. However you can flash prerooted firmware in custom recovery and have fully rooted device.
kulvertti said:
It doesn't work. You end up to bootloop. However you can flash prerooted firmware in custom recovery and have fully rooted device.
Click to expand...
Click to collapse
In order to do so I have to unlock my bootloader and with that I'm going to lose my drm keys, right?
MJFox78 said:
In order to do so I have to unlock my bootloader and with that I'm going to lose my drm keys, right?
Click to expand...
Click to collapse
No. If you easy root and install the dual recovery beforehand you flash from that.
But easy root doesn't seem to work with the latest firmware, they closed the vulnerability that easy root is using
MJFox78 said:
But easy root doesn't seem to work with the latest firmware, they closed the vulnerability that easy root is using
Click to expand...
Click to collapse
Easy Root Tool works just fine with .314 firmware. So if you are now on latest .167 firmware, downgrade to .314, root it, install custom recovery and flash prerooted flashable.zip in custom recovery. Done.
kulvertti said:
Easy Root Tool works just fine with .314 firmware. So if you are now on latest .167 firmware, downgrade to .314, root it, install custom recovery and flash prerooted flashable.zip in custom recovery. Done.
Click to expand...
Click to collapse
Ah, I didn't know it's possible to downgrade the firmware
So I need the firmware flash tool and a ftf file of the 167 firmware, right?
And it can be done without root and a locked bootloader?
Sorry for all the newbie questions, I'm coming from HTC devices and it's a little different there
Greetings
MJFox
MJFox78 said:
Ah, I didn't know it's possible to downgrade the firmware
So I need the firmware flash tool and a ftf file of the 167 firmware, right?
And it can be done without root and a locked bootloader?
Sorry for all the newbie questions, I'm coming from HTC devices and it's a little different there
Greetings
MJFox
Click to expand...
Click to collapse
You need:
- latest Flashtool with drivers installed correctly for your device
- some working custom recovery
- Easy root tool
- ftf file you need is 314 firmware of you device where you have to downgrade to easily root it
- prerooted zip file included you device 167 firmware, SuperSu install files and latest dualrecovery install files.
You don´t need unlocked bootloader for this. Point of downgrading is to achieve root easily that you can have root with 167 firmware? Or do you mean that can you achieve root on 314 firmware without having it before? If so, yes you can with Easy root tool.
kulvertti said:
You need:
- latest Flashtool with drivers installed correctly for your device
- some working custom recovery
- Easy root tool
- ftf file you need is 314 firmware of you device where you have to downgrade to easily root it
- prerooted zip file included you device 167 firmware, SuperSu install files and latest dualrecovery install files.
You don´t need unlocked bootloader for this. Point of downgrading is to achieve root easily that you can have root with 167 firmware? Or do you mean that can you achieve root on 314 firmware without having it before? If so, yes you can with Easy root tool.
Click to expand...
Click to collapse
thanks for your efforts!
in the meantime I managed to downgrade the firmware to 314, successfully root and backup TA
I installed superSU from the play store and it is telling me that I need to update the binaries and I can choose between "normal" (which doesn't work) or through "twrp/cwm"
I didn't install any custom recovery yet, so I'm not sure how to move on from now
should I install dual recovery (from here: http://forum.xda-developers.com/showthread.php?t=2785598), after flash the latest supersu from recovery and finally flash prerooted zip file?
do I need custom recovery to flash the prerooted 167 firmware?
or should I just run the OTA to get 167 firmware (will the device still be rooted after the update)?
please advice
MJFox
MJFox78 said:
thanks for your efforts!
in the meantime I managed to downgrade the firmware to 314, successfully root and backup TA
superSU is telling me that I need to update the binaries and I can choose between "normal" (which doesn't work) or through "twrp/cwm"
I didn't install any custom recovery yet, so I'm not sure how to move on from now
should I install dual recovery (from here: http://forum.xda-developers.com/showthread.php?t=2785598), after flash the latest supersu from recovery and finally flash prerooted zip file?
or should I just run the OTA to get 167?
please advice
MJFox
Click to expand...
Click to collapse
Good to here you achievment. If you can´t update SuperSu binaries by "normal" way easiest might be to flash SuperSu latest update from custom recovery. I recommend dual recovery from your link and when installed use TWRP.
So install dualrecovery, flash latest SuperSu and then prerooted zip. If you end up without write permissions to system here might be solution for that.
http://forum.xda-developers.com/showpost.php?p=56616135&postcount=52
kulvertti said:
Good to here you achievment. If you can´t update SuperSu binaries by "normal" way easiest might be to flash SuperSu latest update from custom recovery. I recommend dual recovery from your link and when installed use TWRP.
So install dualrecovery, flash latest SuperSu and then prerooted zip. If you end up without write permissions to system here might be solution for that.
http://forum.xda-developers.com/showpost.php?p=56616135&postcount=52
Click to expand...
Click to collapse
I installed dual recovery and flashed your prerooted zip from the other thread - everything works perfect, thanks a lot for your efforts! :good:
greetings
MJFox

Update to 5.1 with locked bootloader, without losing root?

I'm running stock 5.0.2 Build 23.1.A.1.28. My bootloader is locked again (was unlocked for CM 12), TA Partition is woking. Can I update to latest 5.1 Build 23.4.A.0.546 without loosing root?
[email protected] said:
I'm running stock 5.0.2 Build 23.1.A.1.28. My bootloader is locked again (was unlocked for CM 12), TA Partition is woking. Can I update to latest 5.1 Build 23.4.A.0.546 without loosing root?
Click to expand...
Click to collapse
There is a way
Use PRF creator to create a pre-rooted zip of your chosen update
Make sure to install recovery for LB and also to add it to your PRF zip
Flash it and enjoy your new update.
Something gone wrong.
I downloaded Sony PC Companion to get the update files.
Then I created FTF following this tutorial:
http://forum.xda-developers.com/xperia-z/development/noobs-guide-create-stock-firmware-ftf-t2188129
I choosed to include all: Kernel, FOTAKernel, Modem and LTALabel
At Step 3 I selected
Device: Sony Xperia Z2 D6503
Version: 23.4.A.0.546
Branding: Unbranded
Then I created a PRF
http://forum.xda-developers.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904
I used:
New created FTF
philz_touch_6.41.6-sirius-v01-FW_402-DooMLoRD.zip
UPDATE-SuperSU-v2.46.zip
Then I put flashable-prerooted.zip to external SD, rebooted to philz Touch and installed ZIP from SD. Recovery finished without error, so I rebooted my device.
But after reboot it still show Android 5.02 under Settings -> About device, root seems to work, but busybox doesn't work anymore and worst of all, I don't have recovery anymore.
Any idea, what happend?
[email protected] said:
I'm running stock 5.0.2 Build 23.1.A.1.28. My bootloader is locked again (was unlocked for CM 12), TA Partition is woking. Can I update to latest 5.1 Build 23.4.A.0.546 without loosing root?
Click to expand...
Click to collapse
Do You have already 23.4.A.0.546 ftf for z2?
mr.loverlover said:
Do You have already 23.4.A.0.546 ftf for z2?
Click to expand...
Click to collapse
Damn. I didn't look at this while converting to ftf, thought pc companion will always load the latest regardless of provider when choosing the repair option.
Ok that was my fault. But why did this break my busybox and recovery?
I got it fixed with Z2-lockeddualrecovery2.8.15-RELEASE.installer, which also flashed busybox.

Having problems establishing root

A bit of background here:
I am trying to get setup for a fresh install of [ROM][LOLLIPOP][LB/UB][5.1.1] eXistenZ Premium | 7.0.0 | FINAL | 16/02.
As per that threads directions:
Fresh installation:
LOCKED & UNLOCKED Bootloaders
Flash latest rootable Sony's rom with flashtool (http://forum.xda-developers.com/show....php?t=2162907)
Root
Install NUT dual recovery (http://forum.xda-developers.com/show....php?t=2261606) or the recovery of your choice.
Reboot in recovery, Wipe Data, Cache and Dalvik/ART Cache.
Flash the rom.
Flash update if available.
Click to expand...
Click to collapse
So I am struggling getting a "lastest rootable sony" stock ROM working with root. All my tools are working just fine (ADB/Fastboot/Flashtools/PRFCreator) and bootloader is unlocked, I've just been out of this way too long. I can get a stock FTF file flashed but I just can't get root. I think I really just need to know which FTF to grab and which root technique I should be using for that FTF version. I've tried grabbing some older FTF's (KK) but I still haven't had much luck with root. The flashtools root techiques all give me the same "ERROR - Illegal key size or default parameters". With my understanding and past experience this really should be an easy task but it is definitely not being so right now.
Any specific advise I would really appreciate right now.
To be clear right now:
Boot loader is unlocked
Tools are working ADB/fastboot/Flashtools
No custom recovery
No Root
I can flash any FTF no problem
i get root with this method, downgrade to KK, root and recovery (root in KK is easy) then flash via recovery any custom rom, in your case eXistenZ
What version the firmware are you using and what root technique?
I tried a KK version and towelroot app. App reported root was achieved but it wasn't.
Going to try 23.0.1.A.0.167 which should be KK 4.4.4 from http://forum.xda-developers.com/showthread.php?t=2759934
Best root Method for kk 4.4.4?
Shouldn't be too confusing if you done it before. Basically you are going to flash a custom kernel with built in recovery and flash a SuperSU zip to get root before flashing your rom.
1. Download and flash stock Lollipop 5.1.1 FTF (either 232 or 264) with flashtool.
2. Download AndroPlus Kernel for Z2 here.
3. Flash with fastboot.
4. Download SuperSu zip and place onto SD card.
5. Boot into recovery and flash the zip. Reboot without wiping anything.
6. Download your ROM, in your case eXistenZ and place on SD card.
7. Reboot in recovery, Wipe Data, Cache and Dalvik/ART Cache.
8. Flash ROM and update.
9. Reboot and you're done.

Why some phones requires bootloop fix on .570/575?

Hello,
Why some phones requires bootloop fix on .570/575?
And what bootloop fix exactly does? I found that there are OLDER firmware files.
IMHO i have worse cellular network coverage than on 5.1.1 and the signal is sometimes "floating".
Bootloop fix is actually modem firmware files. There is no need to flash that anymore if you have Official MM FTF.
Once you finish flashing a prerooted rom on TWRP, Turn off the phone instead of reboot. Then
on Flash tool select the MM Official FTF, exclude System and Partition and flash it. Phone will boot normally.
AlanDS said:
Bootloop fix is actually modem firmware files. There is no need to flash that anymore if you have Official MM FTF.
Once you finish flashing a prerooted rom on TWRP, Turn off the phone instead of reboot. Then
on Flash tool select the MM Official FTF, exclude System and Partition and flash it. Phone will boot normally.
Click to expand...
Click to collapse
I've been wondering about this to, if I use prf creator to pre root MM, I still won't need bootloop fix?

OTA Update with unlocked BL, TWRP installed

I have a H850 on V10d. The bootloader is unlocked, TWRP 3.0.2-0 is flashed to the recovery partition and SuperSU 2.78 is installed.
When I try an OTA update, the phone reboots to TWRP. Rebooting from there leaves me with the old firmware.
What is the preferred way to update? Can I use LG Bridge? Or do I have to flash a stock recovery?
bornheim2 said:
I have a H850 on V10d. The bootloader is unlocked, TWRP 3.0.2-0 is flashed to the recovery partition and SuperSU 2.78 is installed.
When I try an OTA update, the phone reboots to TWRP. Rebooting from there leaves me with the old firmware.
What is the preferred way to update? Can I use LG Bridge? Or do I have to flash a stock recovery?
Click to expand...
Click to collapse
Update with LGUp o by flashing firmware zip (if avaible) trough TWRP.
Never do OTA when you are rooted or have a TWRP, there are high possibility to brick in these cases.
so if i have an unlocked bootloader, custom recovery, and i'm rooted, but have a bunch of apps installed and a bunch of configurations, unroot, flash stock and then install the OTA, i'm okay?
Angry Black Man said:
so if i have an unlocked bootloader, custom recovery, and i'm rooted, but have a bunch of apps installed and a bunch of configurations, unroot, flash stock and then install the OTA, i'm okay?
Click to expand...
Click to collapse
If you're going to flash stock, you may not need to worry about an OTA. Just find the latest KDZ file for your G5 H850 here: https://lg-firmwares.com/lg-h850-firmwares/ and then flash it with LGUP. Your bootloader will still be unlocked, and you'll have to use fastboot to flash TWRP after which you can root your new stock firmware by flashing SU. Flashing stock is just that; you'll lose any installed apps and configurations you've set in 10d.
Abort said:
If you're going to flash stock...
Flashing stock is just that; you'll lose any installed apps and configurations you've set in 10d.
Click to expand...
Click to collapse
Maybe you can prevent some losses if you use the LG Backup tool at first!
Make a Backup and you can restore some of your apps and their data.
BUT ALL ICON / SOUND & SYSTEM SETTINGS ARE LOST!

Categories

Resources