Pre Rooted fw for the Z5 - Xperia Z5 Q&A, Help & Troubleshooting

I am looking for a pre Rooted firmware, downloaded a custom Fw from XperiFirm and thought it'd be Rooted but it wasn't.
So I created a Pre Rooted FW using PRF Creator.
Done that, flashed the rom, using flash tool.
And somehow it didn't work.
So I was just wondering is there any pre Rooted firmwares out there I could download and flash from flash tool.
Also without losing any apps/app data if possible.
Thank you, please not my phone has not got a recovery.

You cannot flash a pre-rooted firmware without recovery so you need to unlock the bootloader and root
Sent from my E6653 using Tapatalk

No worries thank you.
I have tried unlocking the boatloads but keep getting errors.
My BL is unlockable

bjmag94 said:
No worries thank you.
I have tried unlocking the boatloads but keep getting errors.
My BL is unlockable
Click to expand...
Click to collapse
Hi
Did you try this ? ([GUIDE] StockROM -> # GUIDE -> UNLOCK BOOTLOADER)
What errors are you getting ?

I followed the guide off the Sony website to unlock the bootloader.
And I'm not sure what the errors are, I will have have to post them here soon when I get back on the computer
Emilen942702 said:
Hi
Did you try this ? ([GUIDE] StockROM -> # GUIDE -> UNLOCK BOOTLOADER)
What errors are you getting ?
Click to expand...
Click to collapse

bjmag94 said:
And I'm not sure what the errors are
Click to expand...
Click to collapse
Settings> Developer Options> Enable OEM unlock
set that and then try unlocking the bootloader

Awesome thanks worked for me, now my bootloader is unlocked can I flash a recovery then the PRF I created without losing any data?
SnowManWales said:
Settings> Developer Options> Enable OEM unlock
set that and then try unlocking the bootloader
Click to expand...
Click to collapse

bjmag94 said:
Awesome thanks worked for me, now my bootloader is unlocked can I flash a recovery then the PRF I created without losing any data?
Click to expand...
Click to collapse
I just looked at my phone after unlocking the Bootloader and it has deleted all my photo's off the phone, and some that I can not get back of my son, is there any way that I can get these back, I used FlashTool to unlock the Bootloader

bjmag94 said:
I just looked at my phone after unlocking the Bootloader and it has deleted all my photo's off the phone, and some that I can not get back of my son, is there any way that I can get these back, I used FlashTool to unlock the Bootloader
Click to expand...
Click to collapse
do you guys even try to think about a data backup before messing around and doing things that are able do delete your stuff?
Photos were stored on internal or SD card?
SD will be easy (if you haven't writen a lot of data on it).
Internal could be difficult...

They were on my internal.
Yes I did think about it, but only backed it up yesterday and didn't realise that there were more photo's taken since, because my partner also uses it to take photo's because of the camera quality..
So I only lost about 20 photo's but still beside the point..
I didn't think that unlocking your bootloader would delete anything?
So now I am about to look into flashing recovery onto the phone so I can flash the firmware that I created..
Would you suggest backing up my data again prior to flashing the recovery, and then the new firmware?
And will I lose all my app data or is there a way of backing that up as well?
Also how would I flash the recovery?
Thank you!
MKRashka said:
do you guys even try to think about a data backup before messing around and doing things that are able do delete your stuff?
Photos were stored on internal or SD card?
SD will be easy (if you haven't writen a lot of data on it).
Internal could be difficult...
Click to expand...
Click to collapse

I know your problem, I#ve also all photos of my children on my mobile, but exclusivly on the SD card and backup them with Foldersync once a day (to a 256 GB Flashdrive on my fritzbox)
Your Problem now is, that with each file operation on you internal storage (Android operations also count), the bytes of your pictures vanish.
If you're rooted (I think so), you should try easus Android Data Recovery, it's the only tool I know, that can handle internal storage from Windows:
http://www.easeus.com/android-data-recovery/android-phone-internal-storage-recovery.html
I use a lot of easus tools and I always get it back up and running, so give it a shot and good luck!
Unlocking the Bootloader just deletes your TA Partition and with that you DRM Keys. So without a TA Backup or a DRM Fix, your camera quality will descent drastically.

Thank you, I am not rooted as of yet..
But I will still give that a shot and see what I can recover..
Hopefully I haven't lost it completely, oh well that will teach me for next time, so how will I flash the recovery onto my phone?
So then I can flash the pre-rooted firmware to get root access.
Is there any simple guides to follow? Or simple methods, like a code to run through fastboot cmd?
Thank you once again in advanced..
MKRashka said:
I know your problem, I#ve also all photos of my children on my mobile, but exclusivly on the SD card and backup them with Foldersync once a day (to a 256 GB Flashdrive on my fritzbox)
Your Problem now is, that with each file operation on you internal storage (Android operations also count), the bytes of your pictures vanish.
If you're rooted (I think so), you should try easus Android Data Recovery, it's the only tool I know, that can handle internal storage from Windows:
http://www.easeus.com/android-data-recovery/android-phone-internal-storage-recovery.html
I use a lot of easus tools and I always get it back up and running, so give it a shot and good luck!
Unlocking the Bootloader just deletes your TA Partition and with that you DRM Keys. So without a TA Backup or a DRM Fix, your camera quality will descent drastically.
Click to expand...
Click to collapse

1. Flash Recovery "twrp-3.0.2-0-E6653-20160504.img" (extract the zip before) via fastboot
2. Flash a rootable Customkernel (boot.img) (extract Z5_AndroPlusKernel_Permissive_v36.zip) via fastboot.
3. Flash "SuperSU-v2.76.zip" (copy the zip to SD or internal) via TWRP
Download the files here: https://www.dropbox.com/sh/6424n9sop6kqmj7/AADtEiR3EeZXxedR7_g9lA-ma?dl=0
I've rooted my brand new Z5 a week ago with these files.
4. Do a DRM fix to get the camera quality back you're used to, without you will have really bad pictures in low light condition:
http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
If you want to do a fresh systemflash before rooting your device, use Flashtools xperifirm to get the latest Marshmallow 6.0.1 Stock Rom
Do not check any point on "wipe" for flashing, unless you want to setup the whole phone new. It's possible that you have to if you update from 5.1.1
KR
Rashka

Thank you I am already running marshmallow 6.0.1.
I am using the Custom AU one.
I can't manually root it via SuperSU or anything though, not sure if it is a rootable firmwatte or not..
But how do I flash the recovery?
Sorry I new to all this, I done my Z2 about two years ago, followed a guide off here, but it was more simple for the Z2 than the Z5 I think..
And only had to flash a custom rom and it was already rooted and then had to install busybox to get recovery and done it that way..
But now I would not have a clue what the heck I am doing haha..
I will not lose any data while flashing a recovery will I?
MKRashka said:
1. Flash Recovery "twrp-3.0.2-0-E6653-20160504.img" (extract the zip before) via fastboot
2. Flash a rootable Customkernel (boot.img) (extract Z5_AndroPlusKernel_Permissive_v36.zip) via fastboot.
3. Flash "SuperSU-v2.76.zip" (copy the zip to SD or internal) via TWRP
Download the files here: https://www.dropbox.com/sh/6424n9sop6kqmj7/AADtEiR3EeZXxedR7_g9lA-ma?dl=0
I've rooted my brand new Z5 a week ago with these files.
4. Do a DRM fix to get the camera quality back you're used to, without you will have really bad pictures in low light condition:
http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
If you want to do a fresh systemflash before rooting your device, use Flashtools xperifirm to get the latest Marshmallow 6.0.1 Stock Rom
Do not check any point on "wipe" for flashing, unless you want to setup the whole phone new. It's possible that you have to if you update from 5.1.1
KR
Rashka
Click to expand...
Click to collapse

Why dont your take a backup of the phone via Xperia Companion?
Alternatively, use Titanium Backup (free on Google Play) after you are rooted - before flashing your own ROM
Did you read the WHOLE guide @Emilen942702 linked you to? Especially sections [GUIDE] GENERAL and [GUIDE] StockROM / # GUIDE
If you use AndroPlus kernel v.36 then no need to do the DRM fix as it is already included in the kernel.

MKRashka said:
do you guys even try to think about a data backup before messing around and doing things that are able do delete your stuff?
Photos were stored on internal or SD card?
SD will be easy (if you haven't writen a lot of data on it).
Internal could be difficult...
Click to expand...
Click to collapse
yes, that why i back everything i want to sd card and cloud storage, all automated
sent from my Xperia Z5

I flashed the Kernel and Recovery and installed SuperSU.
And the done the DRM, and now I can not use google play, keep getting an error saying that it can not connect to google play or some crap..
Any easy fixes without having to completely wipe and install a fresh rom?

bjmag94 said:
I flashed the Kernel and Recovery and installed SuperSU.
And the done the DRM, and now I can not use google play, keep getting an error saying that it can not connect to google play or some crap..
Any easy fixes without having to completely wipe and install a fresh rom?
Click to expand...
Click to collapse
Try to clear data/cache/force stop from :
-Google Services Framework (type the three dots in the upper right corner, and tick "display system apps")
-Google Play Store
-Google Play Services
If it doesn't work
Try to delete hosts file from /etc/hosts (with a root explorer) and reboot
And btw, do you have Freedom installed ?

I will give this a try, and yeah I do, about to uninstall it as it keeps changing on me
Emilen942702 said:
Try to clear data/cache/force stop from :
-Google Services Framework (type the three dots in the upper right corner, and tick "display system apps")
-Google Play Store
-Google Play Services
If it doesn't work
Try to delete hosts file from /etc/hosts (with a root explorer) and reboot
And btw, do you have Freedom installed ?
Click to expand...
Click to collapse

bjmag94 said:
I will give this a try, and yeah I do, about to uninstall it as it keeps changing on me
Click to expand...
Click to collapse
That's the reason, try to stop it Belfort uninstall, if you can't then just delete host file
Envoyé de mon E6653 en utilisant Tapatalk

Related

need help - how to copy TWRP nandroid backup to device?

how to copy TWRP nandroid backup to device?
I need to restore and I don't know how to copy from my hdd to the phone.
The phone is not booting but I can get to twrp recovery.
Latest TWRP has MTP mode.
but it doesn't allow me to copy one of the backup files which is: data.ext4.win000 and it's 1.5GB
You'll need to give us more information.
Why did it fail? Why did your phone stop booting?
1. flashed bigxie_hammerhead_LRX21O-signed.zip
2. flashed CF-Auto-Root-hammerhead-hammerhead-nexus5
3. booted fine but still had apps like Ti backup & TWRP not working due to root permissions
4. Went to recovery and performed Fix permission.
5. stuck in boot loop
gil80 said:
but it doesn't allow me to copy one of the backup files which is: data.ext4.win000 and it's 1.5GB
Click to expand...
Click to collapse
I have had the same problem with my motox 14 the way I found around it was to copy the file to a different fold and use twrp file explore to move it to the back up folder. That has worked for me and a few others try it out it will work.
how can you copy using twrp while in recovery? are you able to access your PC from recovery?
gil80 said:
1. flashed bigxie_hammerhead_LRX21O-signed.zip
2. flashed CF-Auto-Root-hammerhead-hammerhead-nexus5
3. booted fine but still had apps like Ti backup & TWRP not working due to root permissions
4. Went to recovery and performed Fix permission.
5. stuck in boot loop
Click to expand...
Click to collapse
You'll need to factory reset then reflash the ROM
Fix permissions was not required here. You need titanium beta from his twitter feed.
ok i got the phone working and lost my data but I have it backed on PC.
I just see that 10GB is used but when I browse the phone using file explorer, the device is empty.... what??
Is it a known issue?
when the phone is connected to PC I see that 10GB is used but when I i browse the device it shows as empty
No. Do a full flash of userdata.img
Please explain
What would I achieve by flashing it?
gil80 said:
Please explain
What would I achieve by flashing it?
Click to expand...
Click to collapse
A fix for your problem. I shouldn't really need to explain that.
Thanks!
I got it working now. Only need to figure out why it shows 16GB instead of 32 and why root permissions are not working
gil80 said:
Thanks!
I got it working now. Only need to figure out why it shows 16GB instead of 32 and why root permissions are not working
Click to expand...
Click to collapse
Well the answer in the 100 other threads about space say that you must wipe data and cache.
Root should be fine, but as already mentioned, not with official titanium release.
I already did a wipe data and cache. So I don't understand why I still get this but I'll try again.
The Ti Backup link in the twitter feed is no longer valid, but for example, ES file explorer and clean master and also TWRP app are not performing as if they are rooted.
I'll try to re-install CF-Auto-Root-hammerhead-hammerhead-nexus5
gil80 said:
I already did a wipe data and cache. So I don't understand why I still get this but I'll try again.
The Ti Backup link in the twitter feed is no longer valid, but for example, ES file explorer and clean master and also TWRP app are not performing as if they are rooted.
I'll try to re-install CF-Auto-Root-hammerhead-hammerhead-nexus5
Click to expand...
Click to collapse
ES doesn't work properly, correct. Not all apps have been updated to work with L yet either.
L is much more secure than KK. There are ways to root.
1) chain fire - makes small change in RAMdisk that allows sudaemon to work at boot
2)flash a permissive kernel - this lowers protection within selinux.
More apps work with the 2nd method, but still not all.
New titanium coming to play soon.
https://twitter.com/titaniumbackup

[FAQ] Flashing a custom ROM, Xposed framework, Recovery

Hey guys, I'm rather new to the world of customising Android devices. I just have SO MANY QUESTIONS right now. And I'm sure I'm not the only one, which is why I created this thread to help myself and other people.
Basically, I'll be asking a bunch of questions related to the topic, and this can help other people who are new to all this too.
So, I've got a rooted device. It's on lollipop 5.0, has an unlocked bootloader, TWRP recovery, and Xposed framework.
A few questions to start off with:
1) Can I flash multiple .zip/.img files one after another? Or do I need to always wipe my phone's cache after each flash?
2) Say I wanna update TWRP recovery. Do I have do something before flashing it? CAN I flash a newer version over the previous one?
3) Same question as 2) but for Xposed framework instead.
4) I have Xposed framework installed with some modules running on my phone. Should I disable these modules before updating my Xposed?
5) The latest version of Xposed is v86 as given here: http://forum.xda-developers.com/showthread.php?t=3034811
Can v86 work for lollipop?
6) Similarly, can one download any TWRP version and flash it for their device? Or do each build have a different, specific version of TWRP?
7) Are the latest recovery mods and Xposed frameworks always guaranteed to be stable? Or is it safer to stay on the older ones? Which ones would you recommend?
8) Now, the custom ROMS. What are the necessary things to do before flashing one of these?
9) After flashing a custom ROM, can you flash another on top of it? Or do you have to restore back to your original stock ROM?
10) Does flashing and switching between custom ROMs cause any damage to the phone? Or is there any such potential?
11) Since backing up is a must, I'll ask some about that too. Which would you suggest to be the best backing up method?
12) Does creating a NANDroid backup or a backup from within custom recovery(TWRP in my case) equal to creating a backup of stock ROM?
13) Do I need to copy that backup into PC(to restore later), or will it be safe in my phone's memory after flashing a custom ROM?
I guess that's about it for now. Everyone, please answer if you have done these before. And of course, add your own questions too. This can save a lot of time for a lot of people. I could add more questions in if people request it.
**Answer mentioning the question number for simplicity of searching.
Answers!
1) Can I flash multiple .zip/.img files one after another? Or do I need to always wipe my phone's cache after each flash?
Click to expand...
Click to collapse
You can, but it is more recommended to wipe cache and dalvik cache with each flash.
2) Say I wanna update TWRP recovery. Do I have do something before flashing it? CAN I flash a newer version over the previous one?
Click to expand...
Click to collapse
You'll have to wipe dalvik cache and cache and just flash it normally. It might be stuck at 90% but a force reboot fixes it. It is because you are already in recovery. If it is stuck, leave it for 15 mins and come back. This is just to ensure that it really is stuck.
3) Same question as 2) but for Xposed framework instead.
Click to expand...
Click to collapse
Yep, works, except you wont be stuck.
4) I have Xposed framework installed with some modules running on my phone. Should I disable these modules before updating my Xposed?
Click to expand...
Click to collapse
No need
5) The latest version of Xposed is v86 as given here: http://forum.xda-developers.com/showthread.php?t=3034811
Can v86 work for lollipop?
Click to expand...
Click to collapse
Yup, just flash it via recovery
6) Similarly, can one download any TWRP version and flash it for their device? Or do each build have a different, specific version of TWRP?
Click to expand...
Click to collapse
Each build is different for each device, so for example, I can't flash a TWRP for s7 edge on my s4.
7) Are the latest recovery mods and Xposed frameworks always guaranteed to be stable? Or is it safer to stay on the older ones? Which ones would you recommend?
Click to expand...
Click to collapse
In example, xposed and supersu framework and binary lets you choose if you want a stable file or a test one for developers. TWRP and other stuff have (what I know) different versions and as stated, these versions behave different on different device. During testing with my S4, I found that TWRP 2.8.7.0 is the most stable build for my device.
8) Now, the custom ROMS. What are the necessary things to do before flashing one of these?
Click to expand...
Click to collapse
Make a nandroid backup of your whole device and back it up on you computer. Then wipe everything except your external sdcard and either store it on an sdcard or "adb sideload" it.
9) After flashing a custom ROM, can you flash another on top of it? Or do you have to restore back to your original stock ROM?
Click to expand...
Click to collapse
Not on top of it, you'll have to do as the answer to question 8, make a backup, wipe everything and then flash. No need to go back to stock ROM and then flash it
10) Does flashing and switching between custom ROMs cause any damage to the phone? Or is there any such potential?
Click to expand...
Click to collapse
There is always the risk of bricking but as far as software, it is always revertable. As long as you have a backup of course.
11) Since backing up is a must, I'll ask some about that too. Which would you suggest to be the best backing up method?
Click to expand...
Click to collapse
Nandroid backup is the best one.
12) Does creating a NANDroid backup or a backup from within custom recovery(TWRP in my case) equal to creating a backup of stock ROM?
Click to expand...
Click to collapse
It creates a backup of your current state, lets say, you are in Cyanogenmod 13, making a Nandroid backup will backup everything on cyanogenmod so that if you flash another ROM and still want to go back, you'll have everything restored, including app data and apps.
13) Do I need to copy that backup into PC(to restore later), or will it be safe in my phone's memory after flashing a custom ROM?
Click to expand...
Click to collapse
It will take up a lot of space on your device (since it is a backup of your whole device) so it is recommended to copy it to your computer and remove it from the phone. But, as always, make sure you copy the whole "BACKUPS" folder because the folder inside that folder has your device ID and it is required by TWRP to have the folder the exact ID of your phone to prevent anything bad from happening (bricks).
Hope, I answered all the questions as you wanted and if you have a new question, post it here and I'll reply as soon as possible
Hey, thanks a lot for answering. It helps a lot.
A few other questions I have:
14) So if I were to get CM13, and then create a backup of it, and then get another rom, say ASOP, create a backup of that too, and then switch to yet another rom, say Resurrection Remix, create a backup of that too.
Now, is it possible for me to be able to SWITCH between multiple roms, with ALL my data saved individually on each rom perfectly the way I wanted?(of course, wipe cache and data before restoring the backup)
If so, then I could just keep Nandroids of my favorite roms, can keep switching between them, never having to flash and start from scratch ever again!
Sent from my ASUS_T00J using XDA-Developers mobile app
15) Since I don't have otg cable, nor an sd card reader, I'm gonna have to keep the nandroid on my sd. Which means a lot of space is needed.
Can this workaround be possible:
- I use TWRP to backup only system and boot data. I save this on sd card.
- I use Titanium backup to save only user app and data. I save this on PC.
So now, when my device crashes while flashing something, I can restore backup from TWRP(do I clear cache and data before this as well?), and once my system rom is back, I can copy titanium backup via USB and restore it.
Sent from my ASUS_T00J using XDA-Developers mobile app
16) Suppose I flashed CM13, and it's really buggy. Can I switch back to the previous rom whose nandroid I had just by restoring it? Is it really that simple?
Sent from my ASUS_T00J using XDA-Developers mobile app
ShinraTensei04 said:
Hey, thanks a lot for answering. It helps a lot.
A few other questions I have:
14) So if I were to get CM13, and then create a backup of it, and then get another rom, say ASOP, create a backup of that too, and then switch to yet another rom, say Resurrection Remix, create a backup of that too.
Now, is it possible for me to be able to SWITCH between multiple roms, with ALL my data saved individually on each rom perfectly the way I wanted?(of course, wipe cache and data before restoring the backup)
If so, then I could just keep Nandroids of my favorite roms, can keep switching between them, never having to flash and start from scratch ever again!
Sent from my ASUS_T00J using XDA-Developers mobile app
Click to expand...
Click to collapse
14) You can, but you would need tons of space.
Sent using a ks01lte (gt-i9506) running cm 13
---------- Post added at 05:59 AM ---------- Previous post was at 05:56 AM ----------
ShinraTensei04 said:
15) Since I don't have otg cable, nor an sd card reader, I'm gonna have to keep the nandroid on my sd. Which means a lot of space is needed.
Can this workaround be possible:
- I use TWRP to backup only system and boot data. I save this on sd card.
- I use Titanium backup to save only user app and data. I save this on PC.
So now, when my device crashes while flashing something, I can restore backup from TWRP(do I clear cache and data before this as well?), and once my system rom is back, I can copy titanium backup via USB and restore it.
Sent from my ASUS_T00J using XDA-Developers mobile app
Click to expand...
Click to collapse
You do not have to have an sdcard reader to view your sdcard on your PC. You know how when you make a backup it is stored in /sdcard/TWRP/BACKUPS/CERIALNM/nameofbackup? Well, connect your phone to your pc and move the "backups" folder, then, when you need to restore it, add it to the twrp folder and restore it.
Sent using a ks01lte (gt-i9506) running cm 13
---------- Post added at 06:01 AM ---------- Previous post was at 05:59 AM ----------
ShinraTensei04 said:
15) Since I don't have otg cable, nor an sd card reader, I'm gonna have to keep the nandroid on my sd. Which means a lot of space is needed.
Can this workaround be possible:
- I use TWRP to backup only system and boot data. I save this on sd card.
- I use Titanium backup to save only user app and data. I save this on PC.
So now, when my device crashes while flashing something, I can restore backup from TWRP(do I clear cache and data before this as well?), and once my system rom is back, I can copy titanium backup via USB and restore it.
Sent from my ASUS_T00J using XDA-Developers mobile app
Click to expand...
Click to collapse
Also, on the titanium backup part, not a bad idea... You can then copy the data and system or boot to your pc and bam.
Sent using a ks01lte (gt-i9506) running cm 13
What I meant was: Let's say I bricked my phone. Now, according to you, I place backup on pc. Okay. But now, how do I place this backup onto the sd on my phone when my pc can't even detect the phone(cuz it's dead yo). Doesn't this impose on me to keep the backup in sd(as I don't have reader or otg).
About the titanium, so you're saying I can do that? Backup only user apps+data and restore after restoring only system+boot.
Another question:
16) Can the backup of user apps+data made on, say, 'X' rom, be restored on 'Y' rom via titanium, on condition they are same Android version(suppose 5.0), without ANY chance of incompatibility. More importantly, can it have any chances of leading to a brick/bootloop.
* I read somewhere that if you backed up system apps of 'X' rom, then changed to 'Y' rom, and restored the system apps of 'X' rom onto 'Y' rom, it bricks the phone.(which is why I ask this question)
17) "Backing up 'system' in TWRP is completely different from backing up 'system' on titanium. This is because TWRP backs up entire system with system apps, while titanium only backs up the apps." This is true, right?
Sent from my ASUS_T00J using XDA-Developers mobile app
ShinraTensei04 said:
What I meant was: Let's say I bricked my phone. Now, according to you, I place backup on pc. Okay. But now, how do I place this backup onto the sd on my phone when my pc can't even detect the phone(cuz it's dead yo). Doesn't this impose on me to keep the backup in sd(as I don't have reader or otg).
About the titanium, so you're saying I can do that? Backup only user apps+data and restore after restoring only system+boot.
Another question:
16) Can the backup of user apps+data made on, say, 'X' rom, be restored on 'Y' rom via titanium, on condition they are same Android version(suppose 5.0), without ANY chance of incompatibility. More importantly, can it have any chances of leading to a brick/bootloop.
* I read somewhere that if you backed up system apps of 'X' rom, then changed to 'Y' rom, and restored the system apps of 'X' rom onto 'Y' rom, it bricks the phone.(which is why I ask this question)
17) "Backing up 'system' in TWRP is completely different from backing up 'system' on titanium. This is because TWRP backs up entire system with system apps, while titanium only backs up the apps." This is true, right?
Sent from my ASUS_T00J using XDA-Developers mobile app
Click to expand...
Click to collapse
You adb sideload a functioning ROM and once you boot you copy the backup you can flash it via twrp. As for the second question, I have not tested it but it sounds possible.
16) You should not be in a bootloop if you backup like that, the fact that it is even the same android version is making it more likely to work and what I know, you can even switch the backup via phones. I don't use titanium because I always do nandroid backups.
17) Yup, that's true, twrp sees "system as the partition system while titanium sees it as the whole phones software, hence why it is called " system".
Thanks for asking these question and hopefully some day, you can teach others.
RAZERZDAHACKER said:
You adb sideload a functioning ROM and once you boot you copy the backup you can flash it via twrp. As for the second question, I have not tested it but it sounds possible.
16) You should not be in a bootloop if you backup like that, the fact that it is even the same android version is making it more likely to work and what I know, you can even switch the backup via phones. I don't use titanium because I always do nandroid backups.
17) Yup, that's true, twrp sees "system as the partition system while titanium sees it as the whole phones software, hence why it is called " system".
Thanks for asking these question and hopefully some day, you can teach others.
Click to expand...
Click to collapse
Hm... so whenever I brick my phone, I MUST adb sideload to a working rom first, and only then restore the backup I made? Even if I already have a backup saved onto the sd card of my bricked phone? Can I not restore that via TWRP instead? I ask this because if I were to adb sideload first, I'd lose root, unlocked bootloader, and yes, TWRP. So, I'd have to get ALL that done again, and only then restore my backup.
18) Does restoring a backup I made(when I had root access, unlocked BL, custom recovery, xposed) RETAIN all that? Meaning after I restore to that backup, I will still have all that.
Thanks for answering, I'm learning quite a bit. And yeah, I'll make sure to help others with this information too.
ShinraTensei04 said:
Hm... so whenever I brick my phone, I MUST adb sideload to a working rom first, and only then restore the backup I made? Even if I already have a backup saved onto the sd card of my bricked phone? Can I not restore that via TWRP instead? I ask this because if I were to adb sideload first, I'd lose root, unlocked bootloader, and yes, TWRP. So, I'd have to get ALL that done again, and only then restore my backup.
Click to expand...
Click to collapse
You won't lose TWRP or unlocked bootloader, but I will try today by making backup of "cache" and flash it via my sdcard as soon as possible.
18) Does restoring a backup I made(when I had root access, unlocked BL, custom recovery, xposed) RETAIN all that? Meaning after I restore to that backup, I will still have all that.
Click to expand...
Click to collapse
Yup, it makes a backup of every little part of the system (if you include cache and dalvik, I don't, but some do).
Thanks for answering, I'm learning quite a bit. And yeah, I'll make sure to help others with this information too.
Click to expand...
Click to collapse
Okay, made a backup of "cache and the flashing went fine, my hypothesis is that you have to make the backup on the sdcard and not on the phone and move it to the sdcard.
RAZERZDAHACKER said:
You won't lose TWRP or unlocked bootloader, but I will try today by making backup of "cache" and flash it via my sdcard as soon as possible.
Click to expand...
Click to collapse
Actually, when you adb sideload, you need to flash stock fastboot and recovery .img files(at least for my phone), and the bootloader does in fact get locked again, along with losing root. I know cuz I already have done adb sideloading before. So, doesn't that make flashing backup via sd card and TWRP without sideload the only thing I can do? I'm just trying to keep a backup without losing root, unlocked BL, TWRP, even if I gotta give up some space... Just wanna make sure it's safe to do it like that.
RAZERZDAHACKER said:
Yup, it makes a backup of every little part of the system (if you include cache and dalvik, I don't, but some do).
Click to expand...
Click to collapse
I only have "System(1125 mb)", "Data(3480 mb)", and "Cache(0 mb)" listed in TWRP. My cache is 0 mb.... nothing to backup on there?
19) Do I have to unlink my linked apps before creating a Nandroid, or will creating one while linked allow me to retain the link even after wiping data and then restoring the Nandroid?
ShinraTensei04 said:
Actually, when you adb sideload, you need to flash stock fastboot and recovery .img files(at least for my phone), and the bootloader does in fact get locked again, along with losing root. I know cuz I already have done adb sideloading before. So, doesn't that make flashing backup via sd card and TWRP without sideload the only thing I can do? I'm just trying to keep a backup without losing root, unlocked BL, TWRP, even if I gotta give up some space... Just wanna make sure it's safe to do it like that.
Click to expand...
Click to collapse
You wont lose anything during a complete nandroid backup, and, apparently, some devices loose stuff during adb sideload.
I only have "System(1125 mb)", "Data(3480 mb)", and "Cache(0 mb)" listed in TWRP. My cache is 0 mb.... nothing to backup on there?
Click to expand...
Click to collapse
Nothing....... Yet.
19) Do I have to unlink my linked apps before creating a Nandroid, or will creating one while linked allow me to retain the link even after wiping data and then restoring the Nandroid?
Click to expand...
Click to collapse
Unlink? What do you mean? (Not quoting Justin Bieber)
RAZERZDAHACKER said:
Unlink? What do you mean? (Not quoting Justin Bieber)
Click to expand...
Click to collapse
There's this thing you can do where you move your apps from internal storage to sd card COMPLETElY, thereby saving a lot of space on internal memory. It works because a 'link' is created between the app+data(now in sd) back to it's internal location counterpart(where it would have been otherwise). This way, the apps and system think your apps are in internal, but in fact are in sd(you can see that more internal is free by checking space used up via any file manager though).
In order to do this, a second partition on the sd card is to be made with an ext2/ext4 format, and use a linking app( like Apps2sd).
ShinraTensei04 said:
There's this thing you can do where you move your apps from internal storage to sd card COMPLETElY, thereby saving a lot of space on internal memory. It works because a 'link' is created between the app+data(now in sd) back to it's internal location counterpart(where it would have been otherwise). This way, the apps and system think your apps are in internal, but in fact are in sd(you can see that more internal is free by checking space used up via any file manager though).
In order to do this, a second partition on the sd card is to be made with an ext2/ext4 format, and use a linking app( like Apps2sd).
Click to expand...
Click to collapse
Yea I've used one of those, I first thought the app used the "MV" Unix command but yea you need a sec. Partition to do that on the sdcard, but you don't have to do that on your nandroid backup.
RAZERZDAHACKER said:
Yea I've used one of those, I first thought the app used the "MV" Unix command but yea you need a sec. Partition to do that on the sdcard, but you don't have to do that on your nandroid backup.
Click to expand...
Click to collapse
So can I backup linked apps with their links' data saved, so when I install the linking app again, they can be relinked automatically?
Sent from my ASUS_T00J using XDA-Developers mobile app
Thanks for those questions and answers. I posted this before but appearantly in the wrong place. It seems to be quite right here. Thanks to helping people!
Hi XDA experts
I am newly registered in the forum, but experienced in modding (more or less). But I am (for now) strictly a user, not developer.
So far I got along very well, with my beloved Galaxy S4 jfltexx. I got from stock to rooted stock, from there to cm, instantly back to stock, used it for a long time and am just now on cm13 nightly, which is truly awesome!
It is so awesome that I would really like to help other people out, even if they have no idea about this. Meaning I wish to modify other peoples phones for them. However, when it comes to other peoples property I can't really fight my way through technical terms I don't understand anymore, hoping that the outcome will be as I wished. I pretty much know what most of all these technical terms mean, but I don't always understand how they are related to each other. I know, explaining this will take a while, but I would REALLY appreciate it if someone would take the time...
1) The bootloader, can it be replaced? What would be the purpose of that? UNLOCKING does not mean REPLACING, does it??
What do custom ROMs typically consist of? An entire working system? Parts of a working system? Sometimes this sometimes that?
I'm asking the question because I got the impression that some custom ROMs require the user to have a certain (usually stock) ROM in order to flash it. For example, if I had a Galaxy S6 edge running 5.1.1, could I upgrade to noble ROM Marshmallow?
I also have the feeling that the ROM or system or whatever is somewhat seperate from the kernel. What is this relation? Do custom ROMs not always come with a compatible kernel? Is there only one kernel compatible to the rest of the system, or is there a chance to run a system with a kernel not particularly designed for it? How to get a 'wrong' kernel?
Where to get stock ROMs and who provides them? If I wanted to upgrade from Lollipop to Marshmallow, but am rooted and don't get OTA updates, what do I do? Assuming that Nandroids are bound to a single device (e.g. MY phone) who can provide a stock ROM that runs on my device and how does he get it?
Can I run pure Android on any phone, or is it (always?) necessary to adjust it? I understand that my hardware buttons of the S4 would probably not work on pure Android, but the rest?
Is there ANY phone SOLD with open bootloader and root? A phone that actually wants its users to play with the system?
Thanks guys
NoBullsh1t said:
Thanks for those questions and answers. I posted this before but appearantly in the wrong place. It seems to be quite right here. Thanks to helping people!
Click to expand...
Click to collapse
It happnes alot that people post in wrong section
Hi XDA experts
I am newly registered in the forum, but experienced in modding (more or less). But I am (for now) strictly a user, not developer.
So far I got along very well, with my beloved Galaxy S4 jfltexx. I got from stock to rooted stock, from there to cm, instantly back to stock, used it for a long time and am just now on cm13 nightly, which is truly awesome!
Click to expand...
Click to collapse
Yup, kinda same, excpet im ks01lte but I moved from stock to rooted stock (5.1.1) then cm13, then stock + xposed 4.4.2 then cm11 and now back to cm13 nightly
It is so awesome that I would really like to help other people out, even if they have no idea about this. Meaning I wish to modify other peoples phones for them. However, when it comes to other peoples property I can't really fight my way through technical terms I don't understand anymore, hoping that the outcome will be as I wished. I pretty much know what most of all these technical terms mean, but I don't always understand how they are related to each other. I know, explaining this will take a while, but I would REALLY appreciate it if someone would take the time...
Click to expand...
Click to collapse
1) The bootloader, can it be replaced? What would be the purpose of that? UNLOCKING does not mean REPLACING, does it??
Click to expand...
Click to collapse
The bootloader can be replace, however, if you fail here, there is no comming back (you'll need a complete board replacement because the bootloader acts as a BIOS), the purpose of replacing it is various reasons, change of splash screen during boot etc. Some bootloaders are locked to only be able to flash certain ROMs (OEMs do this to not allow people to tinker with their devices) but it is nearly always un-lockable (except for some devices, I own an Acer tablet that has a locked bootloader that cant be un-locked) and no, unlocking it does not mean changing it.
What do custom ROMs typically consist of? An entire working system? Parts of a working system? Sometimes this sometimes that?
Click to expand...
Click to collapse
Yea, sometimes this sometimes that, in example, ported marshamllow touchwiz ROMs rely on some files in the stock ROM so the "update" doesn't take up much space.
I'm asking the question because I got the impression that some custom ROMs require the user to have a certain (usually stock) ROM in order to flash it. For example, if I had a Galaxy S6 edge running 5.1.1, could I upgrade to noble ROM Marshmallow?
Click to expand...
Click to collapse
That is because of the bootloader (again lol), from my experience with the s4, before flashing cm13, I had to go to 5.1.1 because of the bootloader was changed during the OTA, so as stated before, it only allowed a certain type of ROMs to be flashed.
I also have the feeling that the ROM or system or whatever is somewhat seperate from the kernel. What is this relation? Do custom ROMs not always come with a compatible kernel? Is there only one kernel compatible to the rest of the system, or is there a chance to run a system with a kernel not particularly designed for it? How to get a 'wrong' kernel?
Click to expand...
Click to collapse
The kernel tells the system what to do, some kernels are specified for battery optimization, so the kernel tells the cpu to slow down and save juice, while some other kernels offer the ability to overclock the device (mostly used on older devices to make it faster, but it drains more juice and can result into app crashing), the kernel, is not separated from the system, in fact, you can't even compile a ROM without a kernel. There is not only one kernel for lets say cm, you can flash another kernel, just make sure it is compatible with your android version. To get a wrong kernel, flash one that isn't for your device or android version.
Where to get stock ROMs and who provides them? If I wanted to upgrade from Lollipop to Marshmallow, but am rooted and don't get OTA updates, what do I do? Assuming that Nandroids are bound to a single device (e.g. MY phone) who can provide a stock ROM that runs on my device and how does he get it?
Click to expand...
Click to collapse
Your OEM provides them, samsung has a website called sammobile and uploads all the stock ROMs there. If you want to upgrade, just flash it via recovery or in your case, odin (for samsung phones). To give your backup to someone else, the other person must have the exact same phones, in example, you (jfltexx) can't give it to me (ks01lte), I must have jfltexx and then (assuming you did the backup on twrp) I'd have to change the serial number to my device.
Can I run pure Android on any phone, or is it (always?) necessary to adjust it? I understand that my hardware buttons of the S4 would probably not work on pure Android, but the rest?
Click to expand...
Click to collapse
Your hardware buttons will work on pure android (aosp), I don't see why not, you said you are running cm13, that is altered pure android and it works fine, see pure android as cm withou all the features.
Is there ANY phone SOLD with open bootloader and root? A phone that actually wants its users to play with the system?
Thanks guys
Click to expand...
Click to collapse
There are a few devices like that, one plus was a company that wanted to do that, it came with root, unlocked bootloader and cyanogenmod running, they separated unfortunatly and evolved to using "oxygen os" and does nor provide a un-locked bootloader but provides a simple tool to root and unlock. I don't know any companies that have unlocket bootloaders because they don't want the average consumer to mess up their device and blame it on the OEM.
"Can I run pure Android on any phone, or is it (always?) necessary to adjust it? I understand that my hardware buttons of the S4 would probably not work on pure Android, but the rest?
Your hardware buttons will work on pure android (aosp), I don't see why not, you said you are running cm13, that is altered pure android and it works fine, see pure android as cm withou all the features."
I mean is there like a website from google where I can dowoad a non device specific aosp and flash that to my S4 to make it run? Wouldn't there be for example drivers missing? Isn't that what I have to be greateful to Cyanogenmod for, making up to date android compatible with older devices?
---------- Post added at 07:49 PM ---------- Previous post was at 07:42 PM ----------
So I can actually make a jfltexx Nandroid and install it on another jfltexx by easily changing the serial number???
NoBullsh1t said:
"Can I run pure Android on any phone, or is it (always?) necessary to adjust it? I understand that my hardware buttons of the S4 would probably not work on pure Android, but the rest?
Your hardware buttons will work on pure android (aosp), I don't see why not, you said you are running cm13, that is altered pure android and it works fine, see pure android as cm withou all the features."
I mean is there like a website from google where I can dowoad a non device specific aosp and flash that to my S4 to make it run? Wouldn't there be for example drivers missing? Isn't that what I have to be greateful to Cyanogenmod for, making up to date android compatible with older devices?
Click to expand...
Click to collapse
Yes, be greatful, it is free, open source and full of active devs and memebers. I'm still not sure what you mean, do you mean on-screen navigation bar? Because you can change that in cyanogenmod settings.
---------- Post added at 07:49 PM ---------- Previous post was at 07:42 PM ----------
So I can actually make a jfltexx Nandroid and install it on another jfltexx by easily changing the serial number???
Click to expand...
Click to collapse
Yea, you know how your backup is located in /sdcard/TWRP/BACKUPS/SERIALNO? The device you want to flash it to should make a backup of the tiniest partition (usually cache, it's 5mb) and youll get acces to the serial number, then you just swap it and delete the tiniest partition.

How To Backup *Everything*

Okay, I'm not a techie and I want to know how to backup everything on my phone before I attempt to root my OnePlus One using KingRoot.
At first I naively thought that copying all files and folders from my phone to my laptop would work, but 3 things seem to suggest it's not as easy as that:
I get an error message every time I try copying the files in the ColorNote folder
I saw a mention somehwere that to backup something called EFS you need to run a special app
I'm guessing that my contacts and SMS messages will not be backed up just by copying files and folders from my phone.
So my question is how do I backup *everything* (not just those things I have specifically refered to here) just in case something goes wrong when running KingRoot?
I would prefer not to have to upload my data to the cloud to back it up if at all possible.
Thanks fine people!
Reece Pondwell said:
Okay, I'm not a techie and I want to know how to backup everything on my phone before I attempt to root my OnePlus One using KingRoot.
At first I naively thought that copying all files and folders from my phone to my laptop would work, but 3 things seem to suggest it's not as easy as that:
I get an error message every time I try copying the files in the ColorNote folder
I saw a mention somehwere that to backup something called EFS you need to run a special app
I'm guessing that my contacts and SMS messages will not be backed up just by copying files and folders from my phone.
So my question is how do I backup *everything* (not just those things I have specifically refered to here) just in case something goes wrong when running KingRoot?
I would prefer not to have to upload my data to the cloud to back it up if at all possible.
Thanks fine people!
Click to expand...
Click to collapse
Do you plan to unlock bootloader and flash custom recovery? If not and you just want root,you can safely skip all of this backup part as kingroot/kingoroot won't do any harm to your device.
Also if you don't like kinguser as default granting roots app,you can change it into SuperSu too.
Here's a great guide by @Nishidh
https://forum.xda-developers.com/ca...ck-switch-kingroot-to-supersu-easily-t3426965
Mr.Ak said:
Do you plan to unlock bootloader and flash custom recovery? If not and you just want root,you can safely skip all of this backup part as kingroot/kingoroot won't do any harm to your device.
Also if you don't like kinguser as default granting roots app,you can change it into SuperSu too.
Here's a great guide by @Nishidh
https://forum.xda-developers.com/ca...ck-switch-kingroot-to-supersu-easily-t3426965
Click to expand...
Click to collapse
Hi and thanks for your reply.
I don't plan to unlock the bootloader. I also wasn't planning on flashing a custom recovery (tbh I don't even know what "flashing" means), however I was thinking of using the KingRoot desktop version and their website states that "the desktop KingRoot version can only be flashed using recovery custom tools". I'm guessing that means that when I run KingRoot it will automatically flash a custom recovery.
BUT if doing that means that my data is wiped then I will stick to the android version even though at the moment I am trying to write an absolute minimum of data to my phone. (My reason for wanting to root is to have one last attempt to recover a load of data that I lost off my phone using a file recovery program that requires root access).
I know that if I run KingRoot just to root it is not supposed to delete any data, but I thought that it was generally thought to be good practice to backup your data before the process anyway just in case something untoward happens (in fact I *think* I read a reccommendation to do that on the official KingRoot website).
Thanks for the video link & tip and, of course, your advice!
Reece Pondwell said:
Hi and thanks for your reply.
I don't plan to unlock the bootloader. I also wasn't planning on flashing a custom recovery (tbh I don't even know what "flashing" means), however I was thinking of using the KingRoot desktop version and their website states that "the desktop KingRoot version can only be flashed using recovery custom tools". I'm guessing that means that when I run KingRoot it will automatically flash a custom recovery.
BUT if doing that means that my data is wiped then I will stick to the android version even though at the moment I am trying to write an absolute minimum of data to my phone. (My reason for wanting to root is to have one last attempt to recover a load of data that I lost off my phone using a file recovery program that requires root access).
I know that if I run KingRoot just to root it is not supposed to delete any data, but I thought that it was generally thought to be good practice to backup your data before the process anyway just in case something untoward happens (in fact I *think* I read a reccommendation to do that on the official KingRoot website).
Thanks for the video link & tip and, of course, your advice!
Click to expand...
Click to collapse
No don't use the desktop version.Use the mobile version and make sure you've fast net connection.Kingroot doesn't install recovery.It just roots,though,ofc not as good as rooting from recovery but still enough for daily tasks.
Mr.Ak said:
No don't use the desktop version.Use the mobile version and make sure you've fast net connection.Kingroot doesn't install recovery.It just roots,though,ofc not as good as rooting from recovery but still enough for daily tasks.
Click to expand...
Click to collapse
Thanks for that. I've tried running KingRoot app, but having some problems as reported here: https://forum.xda-developers.com/oneplus-one/help/kingroot-app-t3573101
Reece Pondwell said:
Thanks for that. I've tried running KingRoot app, but having some problems as reported here: https://forum.xda-developers.com/oneplus-one/help/kingroot-app-t3573101
Click to expand...
Click to collapse
Yes,its totally safe to quit the app.
You can try Kingoroot too.
Mr.Ak said:
Yes,its totally safe to quit the app.
You can try Kingoroot too.
Click to expand...
Click to collapse
Thanks Mr Ak!

Does rooting MHA-L29 affect fingerprint sensor and updates ?

I have this device for a few weeks now and I am happy with it. Less need to root as Android 7 allows more operations without requiring root. But two things annoy me:
* apps cannot write to the external SD card
* copying files mess up timestamps which results that photos uploaded to the internal or external storage are shown in the gallery as the date copied not the date taken
Rooting would fix this.
I have a bootloader unlock code and I know to backup all with Huawei backup, unlock bootloader, flash TWRP and PHH Superuser, and then restore from Huawei backup when is is rooted. But I have read that after rooting the fingerprint scanner does not work anymore as shown in this thread.
https://forum.xda-developers.com/mate-9/help/fingerprint-sensor-t3553804
Is this still an issue ? And do I get OTA updates after being rooted (I prefer a systemless root, which does not write to the /system partition) ?
EDIT: Or does somebody know how I can enable writing to external storage by apps or at least a particular app, e.g. by an ADB command without rooting ?
mermaidkiller said:
I have this device for a few weeks now and I am happy with it. Less need to root as Android 7 allows more operations without requiring root. But two things annoy me:
* apps cannot write to the external SD card
* copying files mess up timestamps which results that photos uploaded to the internal or external storage are shown in the gallery as the date copied not the date taken
Rooting would fix this.
I have a bootloader unlock code and I know to backup all with Huawei backup, unlock bootloader, flash TWRP and PHH Superuser, and then restore from Huawei backup when is is rooted. But I have read that after rooting the fingerprint scanner does not work anymore as shown in this thread.
https://forum.xda-developers.com/mate-9/help/fingerprint-sensor-t3553804
Is this still an issue ? And do I get OTA updates after being rooted (I prefer a systemless root, which does not write to the /system partition) ?
EDIT: Or does somebody know how I can enable writing to external storage by apps or at least a particular app, e.g. by an ADB command without rooting ?
Click to expand...
Click to collapse
1) It won't affect the finger print reader. However, if you are going to root, know that the device will format (Wipes it self).
2) As far as I know, you won't get OTA updates (Someone please correct me if I am wrong). But you can - Lock bootloader, flash official rom, then get OTA.
mr.r9 said:
1) It won't affect the finger print reader. However, if you are going to root, know that the device will format (Wipes it self).
2) As far as I know, you won't get OTA updates (Someone please correct me if I am wrong). But you can - Lock bootloader, flash official rom, then get OTA.
Click to expand...
Click to collapse
I know it will wipe when unlocking, so everything should be backed up (with Huawei backup) before.
Lock bootloader and reflash official rom : will that result in loss of root ?
Indirectly, due to flashing an official bootloader, the device will again format itself.
So, my advice is to read on this process. Because it took me half a day to make the device "factory default". Hardest thing I did in my life.
And I used to edit windows mobile roms back in 2006!!
Edit: Majisk root has a feature to mask or hides root, but I don't think it works on the mate 9.
mr.r9 said:
Indirectly, due to flashing an official bootloader, the device will again format itself.
So, my advice is to read on this process. Because it took me half a day to make the device "factory default". Hardest thing I did in my life.
And I used to edit windows mobile roms back in 2006!!
Edit: Majisk root has a feature to mask or hides root, but I don't think it works on the mate 9.
Click to expand...
Click to collapse
MagiskHide works just fine. Only. Problem is that fingerprint/pin stops working if you reboot with MagiskHide enabled. A counter measure is to only enable hide when you need it, then disable it again. Or use a custom lockscreen (Floatify for example) which will let you use pin still. Fingerprint will still be broken until you disable hide and reboot.
mermaidkiller said:
I know it will wipe when unlocking, so everything should be backed up (with Huawei backup) before.
Lock bootloader and reflash official rom : will that result in loss of root ?
Click to expand...
Click to collapse
Yes, you will loose root by flashing an official ROM

Backup and Restore - a Hybrid Method (Android 9)

I am developing this method because TWRP will not restore correctly ever since I upgraded my bootloader from U2 to U4.
Boot and Data will restore but System will not, so I do the following.
Backup
1. Use TWRP to backup Boot and Data and reboot
2. Use a root explorer to copy /system/app to external sd
3. Copy /system/priv-app to external sd
Debloat by deleting apps from these 2 backup files
Restore
1. Boot into TWRP and install system.img (extract from ap section of downloaded firmware for stock) or install UPie
2. Restore Boot and Data as usual
3. Go to Advanced - File Manager
4. Delete /system/system/app and /system/system/priv-app
5. Copy and paste backup app files to /system/system
6. Reboot
Note: TWRP has its own system which holds the ROM system as a sub directory.
If anyone can think of another system directory which I can backup and restore please let me know.
physwizz said:
I am developing this method because TWRP will not restore correctly ever since I upgraded my bootloader from U2 to U4.
Boot and Data will restore but System will not, so I do the following.
Backup
1. Use TWRP to backup boot and Data and reboot
2. Use a root explorer to copy /system/app to external sd
3. Copy /system/priv-app to external sd
Debloat by deleting apps from these 2 backup files
Restore
1. Boot into TWRP and install system.img
2. Restore boot and Data as usual
3. Go to Advanced - File Manager
4. Delete /system/system/app and /system/system/priv-app
5. Copy and paste backup app files
6. Reboot
Note: TWRP has its own system which holds the ROM system as a sub directory.
Click to expand...
Click to collapse
This is great. I have issues that caused my settings app to show extra and weird options after a restore from TWRP in the past. But since then I've updated to a new TWRP but haven't done any restoring because of what the previous one did. Hope this works when I need it to.
Jeremy_J7 said:
This is great. I have issues that caused my settings app to show extra and weird options after a restore from TWinRP in the past. But since then I've updated to a new TWRP but haven't done any restoring because of what the previous one did. Hope this works when I need it to.
Click to expand...
Click to collapse
I think the system settings are stored in /data
I'll add it to the list.
physwizz said:
I think the system settings are stored in /data
I'll add it to the list.
Click to expand...
Click to collapse
Test it before you add to the list, can't be giving these people false information bro ?
Jeremy_J7 said:
Test it before you add to the list, can't be giving these people false information bro
Click to expand...
Click to collapse
True
I debloated from here
https://forum.xda-developers.com/galaxy-a20/development/debloat-samsung-a20-variants-t4070957
Then I added the updated camera from Ultimate Pie.
My app folders are here
https://mega.nz/file/dtkkES5L#YfHwWC3rlswwYUeA_cdUESCMQo8rvq8k8n20N-oc-8w
Alright will take a look, is this bootloader specific?
Jeremy_J7 said:
Alright will take a look, is this bootloader specific?
Click to expand...
Click to collapse
Not sure.
If it doesn't work it might reboot into recovery and then you need to copy and paste your own /app and /priv-app folders back in place.
@jajk
Try this
@physwizz My appetite for being screwed by Samsung and the dirty traps they lay is severely diminished. Since going to U4, I can't reliably get TWRP to work without triggering the evil red text screen of death.... I have been watching what is happening with the work on custom kernels and Ultimate Pie ROMs but definitive information on what is actually working reliably or not is very patchy..... one person will say "Yep, this definitely works" the other will say "nope can't even boot"... almost like some people don't even own this phone or have not actually tried what they are promoting or are unable to follow instructions properly....
So....starting from stock U4, I can root and install TWRP, magisk and dmverity no problems at all but after going back into the O.S and attempting to reboot into recovery a 2nd time....bang! Samsung screws me!!!! The question is.....is there a custom kernel for U4 and above that truly removes all of Samsung's dirty tricks (security features) and a custom ROM that also holds no hidden surprises?
jajk said:
@physwizz My appetite for being screwed by Samsung and the dirty traps they lay is severely diminished. Since going to U4, I can't reliably get TWRP to work without triggering the evil red text screen of death.... I have been watching what is happening with the work on custom kernels and Ultimate Pie ROMs but definitive information on what is actually working reliably or not is very patchy..... one person will say "Yep, this definitely works" the other will say "nope can't even boot"... almost like some people don't even own this phone or have not actually tried what they are promoting or are unable to follow instructions properly....
So....starting from stock U4, I can root and install TWRP, magisk and dmverity no problems at all but after going back into the O.S and attempting to reboot into recovery a 2nd time....bang! Samsung screws me!!!! The question is.....is there a custom kernel for U4 and above that truly removes all of Samsung's dirty tricks (security features) and a custom ROM that also holds no hidden surprises?
Click to expand...
Click to collapse
If you're talking about the red text that talks about 'official binaries' when booting after you flash TWRP (FRP LOCK) then there's a very easy fix.
@physwizz Yes the evil red text...but it is not after flashing TWRP, it is only if you try to go back into TWRP.
I already know of one easy fix... called don't buy Samsung. All this wouldn't be a problem if manufacturers could resist the temptation to "monetize" private data but that ain't going to happen anytime soon in this dog eat dog world.....
jajk said:
@physwizz Yes the evil red text...but it is not after flashing TWRP, it is only if you try to go back into TWRP.
I already know of one easy fix... called don't buy Samsung. All this wouldn't be a problem if manufacturers could resist the temptation to "monetize" private data but that ain't going to happen anytime soon in this dog eat dog world.....
Click to expand...
Click to collapse
I got that because i was using old data
solved by doing a clean install
The data was then good in future
@physwizz Went through the Samsung dance from scratch, installed UltimatePie4, rebooted into Ultimate Pie no problems, completed the initial setup.....rebooted and back to red text of death!!!
Yes, I did all the format /data etc.... it is not a procedural problem on my part but my phone has always given me more grief than you appear to have - something is different
jajk said:
@physwizz Went through the Samsung dance from scratch, installed UltimatePie4, rebooted into Ultimate Pie no problems, completed the initial setup.....rebooted and back to red text of death!!!
Yes, I did all the format /data etc.... it is not a procedural problem on my part but my phone has always given me more grief than you appear to have - something is different
Click to expand...
Click to collapse
You didn't restore old data?
Clean install?
@physwizz Did nothing but complete the initial setup after install and rebooted.....all started from a clean install of U4, then rooted and TWRP from your tar file, then installed new ROM with data freshly formatted i.e. absolutely no messing around with the stock ROM or custom ROM through the entire process and never getting to the point of rebooting into TWRP which triggered the previous red text of death.....
jajk said:
@physwizz Did nothing but complete the initial setup after install and rebooted.....all started from a clean install of U4, then rooted and TWRP from your tar file, then installed new ROM with data freshly formatted i.e. absolutely no messing around with the stock ROM or custom ROM through the entire process and never getting to the point of rebooting into TWRP which triggered the previous red text of death.....
Click to expand...
Click to collapse
What does red writing say?
@physwizz Writing says "You have just been screwed by Samsung yet again" or something about official binaries which is the same thing....
jajk said:
@physwizz Writing says "You have just been screwed by Samsung yet again" or something about official binaries which is the same thing....
Click to expand...
Click to collapse
I've had that twice
1. When I forced reboot before UPie was finished installing
2 when I didn't wipe caches , data and system before installing UPie
Could also be Samsung Conspiracy Theorist Detection Program (SCTDP) lol

Categories

Resources