Hi everyone
I would like to know whether or not there is a rooting method that would allow me both to keep my data and my Sony goodies
New in this device thread and feeling a bit lost... thanks very much!
This is what you need: http://forum.xda-developers.com/z3-compact/general/how-to-root-backup-drm-keys-t3013343
Follow those steps and you should be good.
Thanks very much but actually, this would make me downgrade and lose all my data if I understand well. So the answer is no, ther's no such solution ?
You might be able to save some datas with Sony PC compagnon software, or Helium backup (witch doesn't requier root)
https://play.google.com/store/apps/details?id=com.koushikdutta.backup&hl=fr
I used the second one for my Z3 Tablet compact without root... Workes fine. Sur, there's things you'll not be able to save, but the most parts should be there.
Once your datas are saved you can do all the stuff requiered for rooting and restore your datas after.
Le_Poilu said:
You might be able to save some datas with Sony PC compagnon software, or Helium backup (witch doesn't requier root)
https://play.google.com/store/apps/details?id=com.koushikdutta.backup&hl=fr
I used the second one for my Z3 Tablet compact without root... Workes fine. Sur, there's things you'll not be able to save, but the most parts should be there.
Once your datas are saved you can do all the stuff requiered for rooting and restore your datas after.
Click to expand...
Click to collapse
Merci !! :good:
Related
As the title,is it possibly root in the future?
Still confusing with my Docomo so-02e....
Thz everyone..hope someone can give me the answer..and sorry about my poor englist..
AW: [Q] so-02e root problem
Yes there will be. Be quiet now and wait till it's released.
Next time, post in Question&Answers not in General, as this obviously is a question.
why did not you think about that before you buy phone first locked phone and now crying out about root you should of get your self simple sim-free solution !!
for now i dont see reason to root phone is work fine without being picky !!
According to Doom it will take a longer while
AW: [Q] so-02e root problem
Why root? Debloat, adblock, exchange security, data backup & restore, adblock, there's totally plenty of reasons to have stock rooted as well. But yeah, wait and STFU it is.
schaggo said:
Why root? Debloat, adblock, exchange security, data backup & restore, adblock, there's totally plenty of reasons to have stock rooted as well. But yeah, wait and STFU it is.
Click to expand...
Click to collapse
I agree with you, in addition reason for rooting for me, it is to change the fallback fonts and sync the system time.
I just try to live with unroot one, it's hard for a moment, however, I am still satisfied the stock ROM.
And I am also waiting for "just root" without unlocking bootloader.
Sent from my C6603 using xda app-developers app
Update:
Japanese Xperia Z (docomo SO-02E) has been rooted.
Rooting exploit by goroh_kuh, EasyRootingToolkit by huhka. See instructions here:
http://blog.huhka.com/2013/03/root-xperia-z-so-02e-rootingkit.html
Caution:
By rooting, you will void warranties you have with docomo.
The tooting toolkit is still new, so there may still be unknown issues
If there are any problems, you are on your own in fixing them
Compatible with both 10.1.D.0.317 and 10.1.D.0.322 firmwares.
Enable USB debugging and Unknown sources. Run runme.bat, and follow screenshot instructions.
This is root only, it does not unlock bootloader and does not wipe DRM (BE2 still works after rooting)
From 2ch:
Running the root script may cause your FeliCa/おサイフケータイ to stop working. Deleting or renaming \data\usf (a directory created by the rooting script) reportedly fixes some FeliCa programs (such as モバイルSuica), but this has not been extensively tested. Additionally, the おサイフケータイ app will report "Services in UIM/USIM card are not available because the function is locked or inserted UIM/USIM card doesn't support the services."
Other Docomo-/Japan-only services (infrared, 1seg, etc) appear to still work correctly.
For further updates, please check huhka's blog, goroh_kun's twitter, xperia-freaks.org, or current SO-02E rooting thread on 2ch.
AW: [Q] so-02e root problem
fhsieh said:
By rooting, you will void warranties you have with docomo.
Click to expand...
Click to collapse
shouldnt matter as AFAIK running a complete repair operation with PC Companion should erase all rooting traces.
Great news! We can expect something similar for Z then now?
@edit
I read in comments it's working on Z . Anyone can confirm this ? Do you have NFC bug ?
Sent from my iPad using Tapatalk HD
I just bought a new Z3 compact phone and looking on how to install gmail 5.0 because Inbox is not what i need. I read that you can't unlock bootloader or root without losing DRM (or am i wrong?) Is it possible to maybe backup everything (including drm), root the device and whenever time comes and 5.0 is introduced officially go back to the backup (so you have the drm again).
Or another way to just install gmail 5.0
wardpeet said:
I just bought a new Z3 compact phone and looking on how to install gmail 5.0 because Inbox is not what i need. I read that you can't unlock bootloader or root without losing DRM (or am i wrong?) Is it possible to maybe backup everything (including drm), root the device and whenever time comes and 5.0 is introduced officially go back to the backup (so you have the drm again).
Or another way to just install gmail 5.0
Click to expand...
Click to collapse
Why would you require root to install an App? Get it, install it. Done.
sxtester said:
Why would you require root to install an App? Get it, install it. Done.
Click to expand...
Click to collapse
Not sure because the guide for gmail 5.0 tells me to rename some files in system/app which I can't because of no write access and mounting doesn't work due permissions.
Guide
First of all, I have been using custom kernels and later rooting since Pocket PC 2002/Merlin, and I now have bought my first Sony (after just about every other brand of Android phone, no particular reason why I never had a Sony since the SE T68) because it's the only phone I can use with salt water spray on the screen and wet fingers. I do a lot of lobster, crayfish and crab fishing with traps and use an app called Fishing Poins to keep track of my pots and what I get where. Coming from Samsung (S5 was the latest I had) the rooting of a Sony seems rather cumbersome, but I have a few apps that need root access. LIke Air Audio to play music through an Airplay system. DLNA is useless to me, I want to stream the audio that I'm using on the phone directly to the whole house systen.
So can somebody please tell me what I do to get root access on Nougat (which my phone upgraded to before I saw that's what was happening, and no, I'm not big on reading long explanation screens, if it's a new phone and an official upgrade I am used to just doing it before I root on Samsung phones, since I have to unroot to install them later) and nothing else? For now I don't want to use any custom kernels or recovery, if I can avoid it. Just stock, rooted, like I could on my S5 (and Note 2, S4 Active and so on), please!
I did attempt the KingRoot app, but it didn't work. Also I have read a bit about that app that doesn't seem to good (Chinese spy fator app), so I did a full reset after the failed attempt. But if there's something similar that would be the perfect way of doing this. Of course I'm no stranger to ADB, so hooking it up to my pc is not a problem either.
1. Downgrade to any version of stock Marshmallow firmware with Xperifirm and Flashtool. Wipe everything and Exclude nothing (but *.ta - if any). Do not use FSC script! << FSC is now mandatory!
2. Backup your device's TA partition with Universal TA Backup tool.
3. Flash Nougat firmware (again with Xperifirm and Flashtool). Wipe everything and Exclude nothing (but *.ta - if any).
4. Unlock your device's bootloader
5. Follow this instructions to create/flash a custom kernel with root, and also DK.ftf (to fully reactivate sony's drm keys, which is wiped when bootloader is unlocked).
Anyway, try it at your own risk!
Thanks! So that's the method, which of course means deleting everything I've set up on the phone. Is there a chance there may be an easier, less destructive way during the next month or so? I can do without root access for that long.
oh, btw, by "custom kernel" do you mean that it will not be the original setup for the phone? I've been betatesting kernels on many devices, but nowadays I only want a phone that works without any hitches, and I want access to the official updates. That was easy on the Samsung phones, but maybe Sony is more different than I thought?
Oh, btw, maybe it is explained in the long post you directed me to, but I recently had an eye operation, and I would appreciate a shorter answer, before I get to the "how to", which takes me a while to read right now...
NEVER MIND THIS MESSAGE! Now I understand what Xperfirm is...
Also where would be a safe place to download ROMs from? Both the downgrade ROM and the Nougat ROM? I now really wish I hadn't let the thing upgrade before I took the TB backup (I'm still a bit unsure as to why I need that, I don't use any media with any form for DRM, but I guess better safe than sorry).
Mastiff said:
NEVER MIND THIS MESSAGE! Now I understand what Xperfirm is...
Also where would be a safe place to download ROMs from? Both the downgrade ROM and the Nougat ROM? I now really wish I hadn't let the thing upgrade before I took the TB backup (I'm still a bit unsure as to why I need that, I don't use any media with any form for DRM, but I guess better safe than sorry).
Click to expand...
Click to collapse
As far as I know there's no danger to download through Xperifirm, you need TA for guarantee reasons (if your phone need repair, not everywhere but for safety)
THanks, yeah. I have managed to read a bit and found out that Xperifirm downloads from the official Sony servers. Pain in the ass downloading, it breaks the download every couple of minutes. But that's probably Sony's servers, not the program. As for warranty, that's no problem in Norway since we have very strong consumer rights here. If an error can not be prooven to stem from rooting or other software stuff, it will be fixed. If I remember correctly Apple tried really hard to battle with the consumer rights officials about jailbreaking, but they had a very bloody defeat.
Seems like I have a problem. The Telenor Nougat ROM doesn't have a loader, according to Flashtool. Neither do the two other ROMs I have downloaded so far, but I'm trying again with a third, which doesn't have the "customised" moniker. So I hope that has a loader. But how do I upgrade again to Nougat, with the Norwegian version, when the Telenor ROM doesn't have a loader?
Mastiff said:
Seems like I have a problem. The Telenor Nougat ROM doesn't have a loader, according to Flashtool. Neither do the two other ROMs I have downloaded so far, but I'm trying again with a third, which doesn't have the "customised" moniker. So I hope that has a loader. But how do I upgrade again to Nougat, with the Norwegian version, when the Telenor ROM doesn't have a loader?
Click to expand...
Click to collapse
if your phone is locked(Bootloader),fix it using Xperia Companion..that way it upgrades automatically to Nougat.
if not,lock it using Flashtool first.
Well, the message was kind of badly worded, because I need to downgrade first of all. So I'm at the moment trying to get it to MM without messing up the TA partition. So anyway, this thread has been followed by others, I think this can be considered solved since there is only one way to get root on these phones.
What would be the best approach to rooting if you unlock your bootloader before learning about TA backup? I have since downgraded, done TA backup, upgraded, flashed TWRP, flashed SU/Magisk/phhSu, and saw two green checks in Magisk. Tried to continue to get the three checks by installing Sony framework v1 through Magisk and then Andros plus kernel, but got stuck on Sony screen on boot up. So I repeated steps and stopped after I got two checks, however after long use and simple phone restart, I lost root. Please HELP!
Hi everyone,
Please forgive my ignorant post, it has been a very long time since I was here.
I've recently acquired an Xperia XZ1 Compact running Android 9 Pie 47.2.A.8.24. This phone has a stupid amount of bloatware and unnecessary apps that cannot be removed, so I was considering rooting it and then installing something like Titanium Backup, to remove all the rubbish.
After doing a bit of research, it seems rooting it can cause many problems, a big one being lack of or reduced camera functionality, among other things. This is a big issue and I don't want to dumb down the great specs of the phone. In the past I rooted phones with no consequences to functionality - it was only when custom ROMs were installed that problems started to occur.
So essentially my question is, how safe is it to root my XZ1C?
Cheers
Read this DRM backup/restore guide by j4nn: https://forum.xda-developers.com/xp...devonly-exploits-temp-root-to-backup-t3795510
Read at least the first post CAREFULLY.
So basically you need to downgrade to an old firmware, backup the drm keys with j4nn's tools, unlock bootloader, restore the keys, update back to a new firmware with newflasher and install magisk to root (either via TWPR or with j4nn's modified kernel, which is prerooted via magisk: https://forum.xda-developers.com/xp...oted-kernel-hiding-bootloader-unlock-t3898711 ).
It might seem a lot to do but if you read the instructions, it's not hard. Just remember to back up the drm keys before unlocking bootloader. When you have the keys (TA-partition) backed up, you can restore them even if you make some mistake, but unlocking without backing them up will get them lost forever.
vofferz said:
Read this DRM backup/restore guide by j4nn: https://forum.xda-developers.com/xp...devonly-exploits-temp-root-to-backup-t3795510
Read at least the first post CAREFULLY.
So basically you need to downgrade to an old firmware, backup the drm keys with j4nn's tools, unlock bootloader, restore the keys, update back to a new firmware with newflasher and install magisk to root (either via TWPR or with j4nn's modified kernel, which is prerooted via magisk: https://forum.xda-developers.com/xp...oted-kernel-hiding-bootloader-unlock-t3898711 ).
It might seem a lot to do but if you read the instructions, it's not hard. Just remember to back up the drm keys before unlocking bootloader. When you have the keys (TA-partition) backed up, you can restore them even if you make some mistake, but unlocking without backing them up will get them lost forever.
Click to expand...
Click to collapse
Thanks for the helpful info, I'll give that post a read. I'm not great with 'technology', so if it's too complex I'll just have to put up with the bloatware.
Is the information in the post still valid given that it's almost a year out of date?
jjl5590 said:
Thanks for the helpful info, I'll give that post a read. I'm not great with 'technology', so if it's too complex I'll just have to put up with the bloatware.
Is the information in the post still valid given that it's almost a year out of date?
Click to expand...
Click to collapse
The first post has been updated to contain all the newest information. That's why I don't recommend reading the whole thread, unless you want a historical study about the development of the process.
If it's just the bloatware you want to get rid of and don't need root access, you might be better off with disabling the apps. Some of them can't be disabled from settings, but you can do it via ADB. https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
vofferz said:
Read this DRM backup/restore guide by j4nn: https://forum.xda-developers.com/xp...devonly-exploits-temp-root-to-backup-t3795510
Read at least the first post CAREFULLY.
So basically you need to downgrade to an old firmware, backup the drm keys with j4nn's tools, unlock bootloader, restore the keys, update back to a new firmware with newflasher and install magisk to root (either via TWPR or with j4nn's modified kernel, which is prerooted via magisk: https://forum.xda-developers.com/xp...oted-kernel-hiding-bootloader-unlock-t3898711 ).
It might seem a lot to do but if you read the instructions, it's not hard. Just remember to back up the drm keys before unlocking bootloader. When you have the keys (TA-partition) backed up, you can restore them even if you make some mistake, but unlocking without backing them up will get them lost forever.
Click to expand...
Click to collapse
How to root android 9 xperia xz1 compact 2021
Hi, I'm looking for an overall guide how to do a full backup and restore of a currently running ROM which includes also all data.
I want to be able to do some tryouts with another ROM and if anything fails or doesn't suite my needs I would like to simply go back to my current setting.
With some research in this forum I already found the follwing related threads. As this seems to be a quite generic topic I did the research mainly in the "crossdevice" section.
Backuping & Restoring IMG files W/O PC
requires root; guide without root is announced but not mentioned
some hints in the direction of "nandroid" but no detailed workflow
Lock/Unlock/Relock Bootloader Using TWRP With DRM keys
only about the bootloader
obviously there are more specific guides in the XZ1c section
All Things XPERIA; Debranding; Rooting & More...
good overview of basic skills regarding flashing, rooting, backup TA, etc.
nothing about full backup data or current ROM
nothing about restore a full backup
Backup your stock ROM without flashing Custom Recovery.
good short description to backup ROM
does this also work for data?
unsure if this is directly applicable to XZ1c
nothing about restoring ROM or data
I would be very pleased if someone who are familiar with this device can give some hints for my questions.
The long story:
Since Sony stopped to distribute security updates for XZ1c I feel forced to consider an alternative OS. I would like to give LinageOS 17.1 a try. Two years ago I had some good experience with that OS on a Z3c, but with th XZ1c it seems to be more complex especially regarding DRM keys etc.
I'm also using banking and payment apps which often stop working with alternative ROMs. Maybe there are some tricks to pass safetynet but at the end you have to really evaluate all your apps to be sure that all is running as expected. If that evaluation fails I don't want to spend much time to return to the current setting which I'm actually very satisfied with. Only missing security updates makes me think more and more of an alternative.
Thank you very much for any hint.
Best regards,
Leo
Maybe someone read this and can at least answer some questions. I'm completely not familiar with the processes so maybe my questions sound stupid. Sorry for that.
Is it possible to use fastboot to boot (not install) into TWRP and perform a complete Backup of data there without unlocking bootloader?
Gesendet von meinem G8441 mit Tapatalk
The easiest and fastest way is to perform a full backup using TWRP and you need an unlocked bootloader to do that.
Thank you for that answer.
I've read in Lock/Unlock/Relock Bootloader Using TWRP With DRM keys
Note - Unlocking bootloader for first time will wipe out your whole data including internal memory
Click to expand...
Click to collapse
So the "easy" way using TWRP seems not to work for my use case. I really want to backup the data before wipe
leo2100 said:
Thank you for that answer.
I've read in Lock/Unlock/Relock Bootloader Using TWRP With DRM keys
So the "easy" way using TWRP seems not to work for my use case. I really want to backup the data before wipe
Click to expand...
Click to collapse
You'll need to use Xperia Backup and/or Googles backup feature. A whole rom backup without root or unlocking the bootloader isn't an option.
SXUsr said:
A whole rom backup without root or unlocking the bootloader isn't an option.
Click to expand...
Click to collapse
So is it generally not possible to backup my data before first time flashing a custom ROM to restore it later to the current "official" state?
What about the temp root exploit? May this also allow a dump of the data partition like it does with the TA partition?
j4nn said:
Tools to backup TA partition (drm keys) of Xperia XZ1 Compact
View attachment 4633124
by j4nn
https://j4nn.github.io/
Click to expand...
Click to collapse
Gesendet von meinem G8441 mit Tapatalk
@leo2100, you can backup data (or firmware partitions) via an exploit having bootloader still locked. But for that you need to run exploitable fw version.
If you are on pie, you would need to downgrade to oreo and that would result with full data erase. You could backup few partitions that are not part of stock fw.
It is question if there is anything useful apart from TA partition - maybe persist partition, but I am not sure if it is possible to restore it.
There is a new temp root exploit that allows to get temp root with the latest oreo firmware (47.1.A.16.20):
https://forum.xda-developers.com/cr...1c-xz1-xzp-temp-root-exploit-via-cve-t4046641
j4nn said:
If you are on pie, you would need to downgrade to oreo and that would result with full data erase.
Click to expand...
Click to collapse
Damn, that is not what I wanted to read
Ok, so at all I need to backup my data with the stock Pie built in abilities. So even if I return back to the stock Pie ROM I have to setup all apps again (of course depending on backup abilities of each app).
Is it correct, that once I did the backup of TA partition and restored it after unlock, I can also flash stock pie again but with the ability to boot into TWRP with fastboot?
Do I have to expect any restrictions compared to my current setup (running last Pie with locked boot loader)?
I ask this because I've had many troubles with my Z3c regarding safety checking apps like banking or 2FA (two-factor-authentification).
You see, I'm still not very confident to do this irreversible step of unlocking
@leo2100, you may get trouble to pass google/playstore certification - see here for more details.
If that is important to you, you may be better not to unlock BL.
Thank you for the hint.
The reason why I still worry about unlocking is that it is irreversible and may causes issues that I cannot see at the moment [emoji53].
So as this is really only a one way thing, I still will stay with the current setup and stop this "project", at least for now.
leo2100 said:
will stay with the current setup and stop this "project", at least for now.
Click to expand...
Click to collapse
That is a wise decision in your case! I can tell you that the custom ROMs for the XZ1 are not at the same level as Lineage for the old Sony smartphones were. Do yourself a favor and stay stock and you will have no problems with banking apps.
I came up to the same problem!!
I am trying to undelete some accidentally deleted photos and using aany undelete comerscal utility expects a rotted phone in order to see internal XZ1 memory!
Any ideas? as I cannot see a solution how to get DRM keys backup before OEM UNLOCK!!