Hi!,
I am rather new to the world of custom Roms. Could anyone here kindly guide me from scratch on how to go about installing a custom ROM my xperia zr?
Please note:
1. My phone is rooted (That's the only change I have made to the original Sony ROM)
2. I want to install a ROM without all the Sony customization and bloatware. Better phone performance would be great too.
I would appreciate any help with this
Amit
I followed this guide:
http://wiki.cyanogenmod.org/w/Install_CM_for_dogo?setlang=en
Verstuurd van mijn C5503
The CM tutorial is a good start, but be warned that unlocking your bootloader without a backup of the TA partition means you will lose your DRM keys forever, and will no longer have access to TrackID, some Camera processing features, and possibly Bravia Engine. You should thoroughly read up on flashing, unlocking, and debricking processes - all of which has been detailed on the device forums - before doing anything.
Happy modding!
3610
Thanks!
SirVer said:
The CM tutorial is a good start, but be warned that unlocking your bootloader without a backup of the TA partition means you will lose your DRM keys forever, and will no longer have access to TrackID, some Camera processing features, and possibly Bravia Engine. You should thoroughly read up on flashing, unlocking, and debricking processes - all of which has been detailed on the device forums - before doing anything.
Happy modding!
Click to expand...
Click to collapse
Bro, I just want to install recovery like cwm or philz, I already unlocked the bootloader, how can I install any of the above recovery on zr and how to boot into it? I want to backup the current rom
Related
Hello guys i have a few questions,
I won on a auction a experia x performance for a cheap price new in box, but have some questions
1. Ive been searhing on this forum abit but how do i root it?
2. If i brick or boot loop it can i easy recover it like samsung? By flashing a offical rom ?
3. Is twrp anvailable for it?
4. Do magisks work on it to hide root?
unlocked bootloader is needed for root if im not mistaken .
Simple instructions
1. You should make sure your phone is in marshmallow, and backup your TA partition with dirtycow exploit (automatic script is floating in the forum) before proceed.
2. If your phone is already w/ 7+ firmware, use sony's flashmode and official 6.0 image to downgrade (then step 1)
3. After backup your TA you can safely unlock your device as you can anyway lock it back.
4. You do have to unlock before root your device, and remember unlock will lose DRMed capabilities such as camera and screen enhancement.
---------- Post added at 07:30 AM ---------- Previous post was at 07:26 AM ----------
TWRP is officially available, and you can flash it back with flashtool + flashmode (not fastboot) even if soft bricked. Magisk is usable.
BroncoTc said:
1. You should make sure your phone is in marshmallow, and backup your TA partition with dirtycow exploit (automatic script is floating in the forum) before proceed.
2. If your phone is already w/ 7+ firmware, use sony's flashmode and official 6.0 image to downgrade (then step 1)
3. After backup your TA you can safely unlock your device as you can anyway lock it back.
4. You do have to unlock before root your device, and remember unlock will lose DRMed capabilities such as camera and screen enhancement.
Click to expand...
Click to collapse
Would been nice if i had more info or a guide witch is more clear howto do it
Device Info
Sony Xperia X Performance
Model F8191
im trying this https://forum.xda-developers.com/xp...lp/xperia-x-performance-root-7-0-ps4-t3598774
but i don't get it to work, i get device not found, i tried it on win 7 and win 10
so how or what,
do the phone have to be in download mode
or do the phone have to be in recoverymode
also what function, charging , mtb or midi
there is like a missing art and probaly i don't understand how to use this with that part missing
humm seems there not many customs for xperia x performance, maby not such a populair device i guess?
guys please can someone give me a clear guide how to root without losing this drm key
Nobody reply cuz there's a bunch of tutorial, maybe u should try Google it lol
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've been reading as much as I can on rooting my xz1c and went through with it, thanks to the awesome guides on this site(@j4nn in particular). I successfully downgraded to oreo, backed up TA partition, unlocked bootloader and then restored the TA. Everything was working perfectly as the guide said. I flashed the appropriate TWRP and flashed magisk v18 but in my excitement for achieving all of this, I didn't run magisk before I successfully upgraded to pie.
I thought I would have to downgrade again and root but I found I could flash a pie TWRP through ADB and then flashed and ran magisk. Magisk says I'm rooted and Substratum works except for boot animations, where it says "Your device is encrypted. So root is required to apply boot animation." All other overlays work fine, though they require more than one try on some.
My question is this:
Did I screw up not rooting in oreo? Or is substratum unstable on stock rooted pie and I should move to AOSP or AOSP extended? My phone functions fine otherwise but I miss custom boot animations.
Thanks in advance,
AK
Can you root xz1c stock rom Pie build 74.2.A.10.107 or new? link tutorial please
Prass93 said:
Can you root xz1c stock rom Pie build 74.2.A.10.107 or new? link tutorial please
Click to expand...
Click to collapse
I started on 47.2.A.10.107. I had to downgrade to oreo first with newflasher. I followed these two threads to get the general idea of what I had to do.
1 - https://forum.xda-developers.com/xp...0-uk-cusom-t3902346/post78949938#post78949938
2 - https://forum.xda-developers.com/xperia-xz1-compact/help/adventure-rooting-xz1c-t3921675
and then after I realized the process, I used j4nn's backup tools.
https://forum.xda-developers.com/xperia-xz1-compact/help/adventure-rooting-xz1c-t3921675
That thread has just about everything(or does have everything) you need to unlock bootloader and have a fully functional stock sony camera.
I messed up the first time(deleted all .ta files, including the on in the boot folder) and had to restore with xperia companion. Fortunately, I had everything backed up. It's not as scary nor as challenging as it sounds though and failing once gave me a lot of courage to see it through, you just have to follow the threads(j4nn's in particular) to achieve root on pie.
But on to your question:
I'm not quite sure if I've achieved root, temp root or fooled some aspects of my rom. I found another app for boot animations. I can grant SU rights to substratum and other apps so I'm pretty sure its just an unstable bug somewhere but I'm happy with what I have and I'm going to live with it. I may move to @russel5 treble/pie rom soon but for now, this works and has what I want.
I hope that helps you.
AK
I did some more digging on the forums and elsewhere and I may have found my answer: I never formatted data before upgrading back to Pie after unlocking the bootloader. Does anyone know if that would lead some programs, like Substratum to say the device is still encrypted? Again, that's just for boot animations.
Does anyone know the proper step to fix it? Should I just use newflasher to install Pie again or do I need to downgrade, flash, format and upgrade again?
Any help is appreciated.
AK
After a lot more research and experimentation, I think I've finally reached the heart of the matter. It won't matter what I format or wipe because every time I flash stock FW, I'm flashing an encrypted kernel. Even though I am rooted, the device will stay encrypted. So it seems the only option is to move to a custom ROM.
Can anyone please confirm my understanding of this? Sorry for noob questions. This is my first Sony device, having come from Motorolas.
Thanks in advance,
AK
Ok thank you very much :good:
Thanks a million for sharing your progress!
Everything I read was to vague for me to understand the process of downgrading and saving ta ect.
Coming from more than 10 years of Apple (R.I.P. coloured apple, death to the white one!) I'm having a hard time with understanding everything but you did a great job at what seems to have become a reference guide for downgrading and saving
wasdroger said:
Thanks a million for sharing your progress!
Everything I read was to vague for me to understand the process of downgrading and saving ta ect.
Coming from more than 10 years of Apple (R.I.P. coloured apple, death to the white one!) I'm having a hard time with understanding everything but you did a great job at what seems to have become a reference guide for downgrading and saving
Click to expand...
Click to collapse
Let me know if anything needs clarification and I'll help out as best I can. I'm currently running the crDroid ROM and loving it!
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!!
Hello! I've been out of the rooting game for a while and for the life of me, been trying to find a step-by-step on how to root and install a custom rom from beginning to end, but have been unfortunately unable to find anything like that.
I also hear that unlocking the bootloader disables certain features, is there a way to prevent this?
Is there a post that I missed? What is the best guide for this?
There is no guide necessary as all steps are generic and similar to any other phone:
- install a custom recovery (e.g. TWRP) and follow the installation instructions there.
- install a ROM using that recovery.
- install root, nowadays most people choose Magisk for this, again using generic installation instructions.
Of course you have to unlock your bootloader in case you want to load a custom ROM. You can optionally save your DRM keys before you do this.
Good luck.