Unroot after custom rom install? - Huawei P9 Plus Questions & Answers

This is probably a stupid question with an obvious answer, but I have a question.
I want to update my phone to Android Nougat, Oreo (If there's a good ROM. All the ROMs I saw in my quick scan of the ROM forum were Nougat) and eventually P. But I have banking apps that will break if my phone is rooted. So here's what I want to do:
1) Root phone
2) Install new ROM
3) Unroot phone
4) Enjoy a better Android
Is this possible? This feels like a dumb question and I feel like the answer ought to be yes. But I don't want to waste an evening or two rooting if there's zero chance of it actually working.

Of course you can. If you root your phone with magisk, there is also an uninstaller script. There should be something also for superSU. The main problem is that there are no custom roms for p9+, so eventually you'll just get official oreo.

"Eventually"
My phone is carrier-branded to Uplus in Korea. They haven't update the phone in the 1 1/2 years I've had it. I've got little expectation that they're going to start now.

Related

New to N3, quick questions regarding ATT and Root

Hey all, so Ive been lurking for a few weeks now about about to order a N3 thru ATT. Im actually coming from a Nexus 5 where things are very easy so bear with me. Just wanted to get clarity before I made a purchase
1. Not so much related to root but Im planning to get the phone, root it, and apply the Xposed modules, to see if I can live with Touchwiz. Im assuming (will need to confirm) that ATT would take back within 14 days if it doesnt go so well, assuming I dont trip warranty flags, etc. Anyone know their policy?
2. From my reading, to root this, I actually need to run a lower firmware. Is this still 4.3 or is it like 4.2.2?
3. The general process is to open device, keep off wifi, oneclick it, odin it, apply root. They to disable OTAs via Titanium Backup. Is this correct?
4. Does doing the above method trip any flags? I believe there are two, a KNOX one and a general Custom one
5. Similarly, if the answer is yes, are there methods to get it back.
6. Limitations of the root method above is that still no access to custom recoverys, so no ROMs, but the xposed framework should work just fine. Also TB cannot do restores? Anything else Im missing?
7. Last one, regarding the older firmware, any idea what is different between the rooted firmware and the 'now current' one? I mean besides probably added security to prevent root. Any actual bug fixes or features?
Sorry if most of these are obvious but appreciate the confirmation!
Thanks
1. You don't need to live with touchwiz - you can hack it up (there are modded versions with minor changes) or just replace it with Nova Launcher. Nova doesn't even need root....
2. No, this is not true. You can root via RDLV on MI9 firmware, or use Kingo root on later versions (however, there has been debate over whether kingo has malware). If you have MJ5 firmware, you cannot root via RDLV, at least not at the moment (and cannot downgrade). You can keep root with RDLV after upgrading by using supersu survival mode, according to others (I haven't tried this myself, since the update checks builtin apks and won't install if you've modified SecLauncher4.apk to customize touchwiz, so i'd have to revert that...)
3. No. See the RDLV thread, it's a bit more complicated. For kingo, I don't know anything about the process.
4. Makes it custom, but does not trigger Knox flag.
5. Custom can be undone by returning to stock. Knox is an e-fuse and can never be reset.
6. XPosed and TB work fine.
7. Was wondering the same thing myself.
Thanks. Regarding Touchwiz, as soon as the device is rooted I plan to put Nova Beta on there as well as Wanom for Xposed to more simulate the stock experience. Plus drop most of the stock Samsung apps in favor of Googles.
It sounds like a need to read up more on the firmware and root method. I suppose the RDLV was for an older firmware which, if Im buying the phone now, may no longer be possible
Is MI9 the default stock firmware the phone had been shipping with, or is it now shipping with MJ5? (or is MJ5 an OTA update only)?
Thanks!

Just picked up this device, any tips?

So I've been out of the Android Phone loop for a while and was just wondering if there were any general tips or things to know about the Z3C? Any essential apps or features?
I've not updated to Marshmallow yet (running 5.1.1) and I don't really feel the need to, If I'm not mistaken it makes the root process a bit more fiddly, though the non-removable notification is somewhat annoying. Can it be turned off?
Quick question on root too, which I assume can only be achieved through unlocking the bootloader. Will it void my warranty with Sony? Given the issues with cracked screens and phones not really being waterproof, I'm not sure if it's actually worth doing.
I've got the Phone through Vodafone, is there anyway to remove the SIM lock myself?
I've been through the Stickies and whilst they contain useful information that'll surely come in handy later, the FAQ section is pretty limited, so I figured I'd ask here
Thanks in advance
UndisputedGuy said:
So I've been out of the Android Phone loop for a while and was just wondering if there were any general tips or things to know about the Z3C? Any essential apps or features?
I've not updated to Marshmallow yet (running 5.1.1) and I don't really feel the need to, If I'm not mistaken it makes the root process a bit more fiddly, though the non-removable notification is somewhat annoying. Can it be turned off?
Quick question on root too, which I assume can only be achieved through unlocking the bootloader. Will it void my warranty with Sony? Given the issues with cracked screens and phones not really being waterproof, I'm not sure if it's actually worth doing.
I've got the Phone through Vodafone, is there anyway to remove the SIM lock myself?
I've been through the Stickies and whilst they contain useful information that'll surely come in handy later, the FAQ section is pretty limited, so I figured I'd ask here
Thanks in advance
Click to expand...
Click to collapse
You don't need to unlock the bootloader to be able to root your phone. A good place to start is the thread on how to back up your TA partition and rooting (don't be tempted by Kingroot)
Unless you want a custom CM rom I wouldn't bother trying to unlock your bootloader, it disables features on the phone, starting with breaking the camera.
This thread about going from a rooted phone back to stock is interesting. I'd say you don't need to root your phone, but it gets a lot more interesting when you do.
The top app for if you get root is Titanium Backup, it lets you control individual apps, 'freezing' them so they stop working, but not actually uninstalling them. Great for getting rid of all the bloatware that comes with phone providers (like Sim Lock), or even manufacturers. It also lets you back up an app and all the associated data that goes with it, so if you wipe you phone to change the rom, you can put all the apps back and the state they were in at the touch of a button. There's lots of other cool root apps, but TA is my favourite.
As long as you stick to stock then you can't go wrong, don't be afraid to play, there's plenty of people on the thread here to give you a hand.
SLIM 5 is a good stock 5.1.1 rom with lots of cool tweeks and doesn't mean you have to unlock your bootloader.
Edit: Rooting your phone doesn't void your warranty. But if you face any problems with your phone that means it's going back to the service centre, just put a stock build back on (no root) and do a factory reset. That way they cannot complain about the software config. They will do a factory reset anyway, before they send it back, along with an update to the latest rom. So be prepared and take everything off your phone beforehand.
Man, that's pretty much all the information I need in one post. Thanks a bunch man, I'll read through the links in some more detail.
I did see that Rooting guide earlier, but given how it mentioned using Flashtool and DRM Keys, I thought it'd surely void my warranty so didn't have a proper look.
SLIM also seems like a good shout, though I'm assuming I'd lose access to Sony's OTA updates if I were to flash it and there doesn't seem to be a Marshmallow version yet. Actually, that said, would I even have access to OTA updates if I stay stock but rooted?
Thanks again
UndisputedGuy said:
Man, that's pretty much all the information I need in one post. Thanks a bunch man, I'll read through the links in some more detail.
I did see that Rooting guide earlier, but given how it mentioned using Flashtool and DRM Keys, I thought it'd surely void my warranty so didn't have a proper look.
SLIM also seems like a good shout, though I'm assuming I'd lose access to Sony's OTA updates if I were to flash it and there doesn't seem to be a Marshmallow version yet. Actually, that said, would I even have access to OTA updates if I stay stock but rooted?
Thanks again
Click to expand...
Click to collapse
Marshmallow has only been out a few weeks, so it's still full of bugs and problems at the moment. I would stick to 5.1.1. for at least another month, or until 6.1 reaches the Z3c.
No, if you install a custom rom then you wont get Sony OTA updates, but most rom developers base their builds on the latest firmware releases anyway, usually adopting a new release within one or two weeks.
Slim 5 is possibly the best stock Lollipop build there is and there will be no more updates for Lollopop now. There is a Slim MM build, but even though Wajk has been working his magic, it still has several bugs that need to be ironed out. If you are going down the MM route, don't be tempted by Concept or Beta, that need you to unlock your bootloader to root. Stick with a pre-rooted stock or a customised stock with root built in.
Appreciate the assistance, going to go ahead and root now and then perhaps try out SLIM 5. Some of the MEGA links seemed to be down so I just grabbed a Global FTF, couldn't seem to find an unbranded UK one.
I shouldn't have updated immediately once I got the phone
UndisputedGuy said:
Appreciate the assistance, going to go ahead and root now and then perhaps try out SLIM 5. Some of the MEGA links seemed to be down so I just grabbed a Global FTF, couldn't seem to find an unbranded UK one.
I shouldn't have updated immediately once I got the phone
Click to expand...
Click to collapse
For the purposes of downgrading so you can root, it really doesn't matter which build you choose.
Didgesteve said:
For the purposes of downgrading so you can root, it really doesn't matter which build you choose.
Click to expand...
Click to collapse
Just a quick question, at Step 26 could I just use SLIM 5? Seems much more convenient if that's the case.
Oh, and using OTA updates is going to lose me my root now, right?
UndisputedGuy said:
Just a quick question, at Step 26 could I just use SLIM 5? Seems much more convenient if that's the case.
Oh, and using OTA updates is going to lose me my root now, right?
Click to expand...
Click to collapse
Yes, once you have recovery you can download Slim onto your phone and flash that. Don't forget to update SuperSU from the playstore.
No, you wont get any OTA updates with a custom stock, but Slim is up to date with the most recent Lollipop build.
Sony PC Companion will not update your phone either once you have a custom rom on. If you flash stock and then connect it, it will push MM onto it. But you will loose root and there's no easy way to get it working.
Stick with 5.1.1. for another month, wait for 6.1 to come out, and then possibly a couple of weeks after that Wajik will have made an incredible MM rom to flash, that will be as up to date as they come, then just flash that in exactly the same way.
Edit: Once you start to follow a developers thread, they announce updates to roms almost as quick as the Sony release, so don't worry that it will get out of date, just make sure to subscribe to the thread where your rom comes from. Slim 5 for example releases an OTA update, to move from 4.9 to 5, it's a lot smaller than the entire rom and only has updates, but flashes the same way.
Can only thank you again, successfully rooted and got recovery. Not sure how much I'm really fond of SLIM, just had a very brief mess around but something felt a bit off about the Launcher and the icons even after messing with the settings. It was only very brief though, perhaps there's more useful stuff there.
Might go simply stock/rooted but given there isn't a simple .zip for it it's a bit long winded
Thanks for all your help here, this is pretty much the ideal state I wanted my phone to be in upon receiving it, had no idea unlocking the bootloader wouldn't be necessary. Guys like you help make this site in my opinion, I half just expected a couple of snide answers telling me to just read the forum
Think I will be moving back to stock, just a question on the front though
Am I going to have to build my own pre rooted image (steps 27-32) each time there's an OTA update and I want rooted stock?
Sorry, hopefully that's the last thing from me
Sent from my D5803 using XDA-Developers mobile app
UndisputedGuy said:
Think I will be moving back to stock, just a question on the front though
Am I going to have to build my own pre rooted image (steps 27-32) each time there's an OTA update and I want rooted stock?
Sorry, hopefully that's the last thing from me
Sent from my D5803 using XDA-Developers mobile app
Click to expand...
Click to collapse
There are several 'stock' options, that are flashable zips
Pre-Rooted Firmwares-Recovery-SuperSU, although you need to click on 'older files'
Or another stock thread here
But by now you should be able to start finding these threads on your own
Yeah, I've time to have a proper look through now so will do that. I saw the thread earlier, but didn't seem to notice a pre rooted .zip for the latest 5.1.1 firmware in the OP. There was one in the comments though, thanks once again

Canadian P20 Pro version CLT-L04, Questions about Magisk and bootloader unlock

Hi! I picked up my Canadian P20 Pro last week and couldn't be happier. It's been many years since I've owned a rootable device though and a lot has changed! I've done my best to read through all the guides for rooting the P20 Pro and it's only lead to further confusion as there seem to be many recent advancements. There seem to be a lot of different versions of this phone too. So I have some questions I'm hoping someone can answer easily! Let's assume my bootloader is already unlocked....
1) there's a really great guide on rooting the P20 Pro using All In One tool. But that requires flashing TWRP to achieve root using Magisk. I do not require TWRP as I only want root and do not wish to flash any roms.
a) is there a way to root with Magisk and NOT flash TWRP? I can't seem to find a straight answer on this...
b) failing that, can TWRP safely be removed and keep root afterward?
2) after unlocking the bootloader I was welcomed by a terrifyingly orange warning about my now 'unsafe' phone. I've read mixed things on hiding this. Is there currently a way to hide it?
3) how does the process work for OTA updates on an unlocked bootloader assuming there is no TWRP? I've read differing opinions on the necessity of flashing a no_check.img to the ramdisk and have no understanding of the new security checks on these phones. Can I run risk of bricking my phone through an automated update?
Ultimately I'm scared of forgetting TWRP is on my phone and accepting an update that'll brick it. Any information is welcome as are similar questions!
I am also curious if there is a good root process for this phone. Find anything yet?
djparent said:
Hi! I picked up my Canadian P20 Pro last week and couldn't be happier. It's been many years since I've owned a rootable device though and a lot has changed! I've done my best to read through all the guides for rooting the P20 Pro and it's only lead to further confusion as there seem to be many recent advancements. There seem to be a lot of different versions of this phone too. So I have some questions I'm hoping someone can answer easily! Let's assume my bootloader is already unlocked....
1) there's a really great guide on rooting the P20 Pro using All In One tool. But that requires flashing TWRP to achieve root using Magisk. I do not require TWRP as I only want root and do not wish to flash any roms.
a) is there a way to root with Magisk and NOT flash TWRP? I can't seem to find a straight answer on this...
b) failing that, can TWRP safely be removed and keep root afterward?
2) after unlocking the bootloader I was welcomed by a terrifyingly orange warning about my now 'unsafe' phone. I've read mixed things on hiding this. Is there currently a way to hide it?
3) how does the process work for OTA updates on an unlocked bootloader assuming there is no TWRP? I've read differing opinions on the necessity of flashing a no_check.img to the ramdisk and have no understanding of the new security checks on these phones. Can I run risk of bricking my phone through an automated update?
Ultimately I'm scared of forgetting TWRP is on my phone and accepting an update that'll brick it. Any information is welcome as are similar questions!
Click to expand...
Click to collapse
I have a Canadian CLT-L04 that i rebranded and rooted to CLT-L29 with the guide on here.
https://forum.xda-developers.com/hu...de-how-to-root-debrand-remove-retail-t3788326
if you want better firmware compared to version 109 thats still on clt-l04 you can follow this guide, it worked well for me. (don't wait canadian OTA it'll take too long)
1) quite sure that TWRP is the easiest and safest way to root. Currently unaware of a better way to root the phone.
b) if you remove TWRP by flashing a stock recovery_ramdisk, root is kept. If you do an OTA though you might lose root.
2) thats here to stay i believe. Cannot find a way to hide it currently.
3)In this guide under the "install an OTA Stock Update: PC Method" you will find all the information you need.
cheers
I finally found the info I needed in this thread:
https://forum.xda-developers.com/hu...ide-getting-started-unlock-twrp-root-t3806180
Overall it was a very simple process and took less than an hour including reading. Once you've got your bootloader unlock code the all in one tool handles it from there. Unlock the bootloader, flash TWRP, reboot into TWRP, flash Magisk and you're done. You can flash the no_check file over TWRP if you want to be ready for updates but I decided to leave TWRP on for now. Loving having root on this phone so far!
On a different note, has anyone discovered any ROMs for this phone yet that can handle the notch? I almost tried Lineage until I found out there is no notch support. I've grown strangely fond of the thing for some reason lol
rhinogator said:
I have a Canadian CLT-L04 that i rebranded and rooted to CLT-L29 with the guide on here.
https://forum.xda-developers.com/hu...de-how-to-root-debrand-remove-retail-t3788326
if you want better firmware compared to version 109 thats still on clt-l04 you can follow this guide, it worked well for me. (don't wait canadian OTA it'll take too long)
1) quite sure that TWRP is the easiest and safest way to root. Currently unaware of a better way to root the phone.
b) if you remove TWRP by flashing a stock recovery_ramdisk, root is kept. If you do an OTA though you might lose root.
2) thats here to stay i believe. Cannot find a way to hide it currently.
3)In this guide under the "install an OTA Stock Update: PC Method" you will find all the information you need.
cheers
Click to expand...
Click to collapse
Did you by any chance find a way to go back to CLT-L04 by any chance?
mrnovanova said:
Did you by any chance find a way to go back to CLT-L04 by any chance?
Click to expand...
Click to collapse
unfortunately no
mrnovanova said:
Did you by any chance find a way to go back to CLT-L04 by any chance?
Click to expand...
Click to collapse
If you do a full backup of the L04 in TWRP before rebranding you should be able to go back to it easily at any time, just remember to save it somewhere safe other than the phone itself. If you've already flashed and are looking to go back you may find someone willing to share a stock backup if you ask around. But always best to do your own backup first, then you can go back whenever you like!
djparent said:
If you do a full backup of the L04 in TWRP before rebranding you should be able to go back to it easily at any time, just remember to save it somewhere safe other than the phone itself. If you've already flashed and are looking to go back you may find someone willing to share a stock backup if you ask around. But always best to do your own backup first, then you can go back whenever you like!
Click to expand...
Click to collapse
I never thought of backing up my L04. ??? I guess I'm stuck with L29. Oh well... Thanks for the reply.
help with rebranding tutorial
mrnovanova said:
I never thought of backing up my L04. I guess I'm stuck with L29. Oh well... Thanks for the reply.
Click to expand...
Click to collapse
bro did u use the same files as the main tutorial that you share? cause I have the L04 but the mexican one, and I want to rebrand it
but i'm a noob in this things, hope you can help me.:good:
Search for dladz's tutorial.
ON THIS THREAD : https://forum.xda-developers.com/hu...to-root-debrand-remove-retail-t3788326/page46
Page 16
Sent from my Google Pixel 2 XL using XDA Labs
Anyone unlocked bootloader and rooted recently for the L04 model with 120(C792) Sept-2018 update?
Im scared to update before unlocking and rooting as the update might do something to fastboot etc. (this has happened to LG)
If not, then Ill update but if so, Ill just not update and unlock it as it is.
JF-GINO said:
Anyone unlocked bootloader and rooted recently for the L04 model with 120(C792) Sept-2018 update?
Im scared to update before unlocking and rooting as the update might do something to fastboot etc. (this has happened to LG)
If not, then Ill update but if so, Ill just not update and unlock it as it is.
Click to expand...
Click to collapse
It's really easy to update once you've unlocked, I would suggest unlocking first if you have concerns. I have an L04 as well and just updated to 120 with no problems.
djparent said:
It's really easy to update once you've unlocked, I would suggest unlocking first if you have concerns. I have an L04 as well and just updated to 120 with no problems.
Click to expand...
Click to collapse
Hey, Thanks djparent, I unlocked and updated as you suggested.
Everything working properly, just need to root/twrp etc. now.
Thnaks again
No problem, glad it worked for you. I've soft bricked and recovered my phone a few times now experimenting so if you run into any problems I'm happy to help! Lots to learn with the P20.
I have a CLT-L04 8.1.0.136 C69 with October security patch from Mexico I want to rebrand it to CLT- L29 to get wifi calling and get rid of all the bloatware. Could I use this tutorial from dladz's tutorial:
ON THIS THREAD : https://forum.xda-developers.com/hua...3788326/page46
Page 16
One of the notes mentions the following: I) ]NOTE*** If you are on a later firmware than 120, please do not attempt this guide!!
I have only rooted one phone before in my life so I am no expert. I do no want to mess up my phone becuse it is the only one that I have. Also If I unlock the boot loader and rebrand can i get OTAs and the upcoming Pie release? Thanks for the help!
LineageOS 15.1 on L04
I installed LineageOS 15.1 on my L04 with out any issue. Some things to consider. USB-C will only charge the device, Titanium Backup will install but doesn't get root access and you'll miss the camera application.
Vedrick said:
I installed LineageOS 15.1 on my L04 with out any issue. Some things to consider. USB-C will only charge the device, Titanium Backup will install but doesn't get root access and you'll miss the camera application.
Click to expand...
Click to collapse
Did you install it with a locked bootloader ? I really dont feel like paying for an unlock code. Would like to try Lineage though.
matever said:
Did you install it with a locked bootloader ? I really dont feel like paying for an unlock code. Would like to try Lineage though.
Click to expand...
Click to collapse
I do have an unlocked bootloader. Truth is i'm addicted to Rom's lol. That in mind I have tried every Rom, kernel, flash-able zip within this Forum and I can't brick this thing. L04 Canadian. Lineage is the best Rom for our device.
Roms that work:
- Lineage - Hauwei camera can be installed and works, dark mode works well.
------- Doesn't work: USB-C audio, NFC, RAW Option in the camera, Second ear piece as speaker, main speaker works well.
- First Ever Android 9 - Being the first build it works well. (Note: When I installed this rom I never installed the RemoveEncryption-P20Pro.zip) Seemed to work just fine without it. I did run it just because I wanted to see if it would brick my phone. It didn't.
-------Doesn't work: Dark mode, NFC, RAW Option in camera, Second ear piece as speaker, main speaker works well, seems to kill TWRP. eRecovery needed to get TWRP to function.
- AOSP 9 - Berkeley-Flex - Do Not Use...not ready.
Vedrick said:
I do have an unlocked bootloader. Truth is i'm addicted to Rom's lol. That in mind I have tried every Rom, kernel, flash-able zip within this Forum and I can't brick this thing. L04 Canadian. Lineage is the best Rom for our device.
Roms that work:
- Lineage - Hauwei camera can be installed and works, dark mode works well.
------- Doesn't work: USB-C audio, NFC, RAW Option in the camera, Second ear piece as speaker, main speaker works well.
- First Ever Android 9 - Being the first build it works well. (Note: When I installed this rom I never installed the RemoveEncryption-P20Pro.zip) Seemed to work just fine without it. I did run it just because I wanted to see if it would brick my phone. It didn't.
-------Doesn't work: Dark mode, NFC, RAW Option in camera, Second ear piece as speaker, main speaker works well, seems to kill TWRP. eRecovery needed to get TWRP to function.
- AOSP 9 - Berkeley-Flex - Do Not Use...not ready.
Click to expand...
Click to collapse
What did you use to unlock your bootloader ? Funky ? Also I know what you mean I am addicted to Roms as well :laugh: Thanks for all the info I really appreciate it.

2020 Guide to Root the XZ1C ?

Hi there !
So for the first time in years of ownership, I am interested in Rooting.
Naturally I searched around here, but could only find 2017 and 2018 threads with many problems and various bugs.
For an April 2020 guy, rooting is stock latest ROM, and interested in keeping stock but go rooted (mostly to block some Android trash) - What is the easiest way, can I have a link that is updated, or a paid tool I can buy and not mess with anything ?
Thanks a lot !
baboon23 said:
What is the easiest way, can I have a link that is updated
Click to expand...
Click to collapse
Crack on - https://forum.xda-developers.com/xp...devonly-exploits-temp-root-to-backup-t3795510
SXUsr said:
Crack on - https://forum.xda-developers.com/xp...devonly-exploits-temp-root-to-backup-t3795510
Click to expand...
Click to collapse
Too much mess for my blood !
How much would It be to hire your service via screenshare ?
PM me please
Keep in mind I only want a root so I can disable some stock google trash with F-Droid apps.... I don't really need a new ROM, or do I ?
I rooted mine on stock just a few weeks ago.
All I did was unlock the bootloader, flash TWRP, then flash the latest magisk. I then used Titanium Backup to remove the bloat. It was quick and painless.
Thanks !
Which thread did you use as guide/link glossary ?
I didn't use a guide, just did it based on experience rooting my Sony devices from before. But I can write up something brief. How much knowledge do you have rooting devices?
baboon23 said:
Too much mess for my blood !
How much would It be to hire your service via screenshare ?
Click to expand...
Click to collapse
I wouldn't want to do it that way, and if you do it yourself you'll gain a little experience which makes restoring or further modding easier.
baboon23 said:
Keep in mind I only want a root so I can disable some stock google trash with F-Droid apps.... I don't really need a new ROM, or do I ?
Click to expand...
Click to collapse
If you want to root you need to unlock the bootloader, if you're unlocking your BL then it's advised to backup your DRM keys and restore them after unlocking your BL which is a one time process. Everything you need is in the thread I've linked to above.
Thanks SX. I have seen a lot of your work around here doing searches, and I'm honored that you reply to my question
I will have a crack at it, I have done those things before but I remember not leaving the house for a few days, so it scarred me a bit
Haha
One last question if I may.... Do you believe that installing Lineage with no google on the xz1c is worth it? I guess it's a general question, but what I'm really asking is, should I even bother with rooting for privacy if my end goal isn't to flash Lineage ?
OK, after some more research, I have decided that what I really want to do is just install the 17v LineageOS version for the XZ1C.... It is my understanding it is possible without a root. ?
For sure the bootloader needs unlocking and TWRP to backup/flash correct ?
Super SU, does that make my procedure easier in any way ?
It is my understanding that if I flash a Lineage OS after unlocking via code and flashing TWRP, then the camera and all will still work.
Considering I don't mind binning that phone if I get sick of Lineage (I have like four of those in a box) - Can I skip the TA backup and restore ?
Apologies for the newb questioning, just trying to "get the hang" of it so I actually understand what i'm doing rather than just follow guides.
I'm a bit older than all you guys so forgive me
I'm running lineage 16.1 on root with unlocked bootloader without restoring TA. But I didn't care about preserving the keys. Yes camera works great and everything is super stable.
You don't have to root lineage so if you need help best to narrow down what exactly you want to do as there are many possibilities.
betacrypt said:
I'm running lineage 16.1 on root with unlocked bootloader without restoring TA. But I didn't care about preserving the keys. Yes camera works great and everything is super stable.
You don't have to root lineage so if you need help best to narrow down what exactly you want to do as there are many possibilities.
Click to expand...
Click to collapse
Absolutely, you're right !
I will be as specific as I can:
Sony abandoned the XZ1C, so I want to swap to Lineage OS with a full heart with no Gapps (i'll manage).
Here is what I understand tell me if I am correct:
1. Unlock bootloader via sony website
2. Flash latest TWRP
3. Use it to flash 17.1 Lineage OS from the genius dude (mod punk?)
4. Happy days
5. If modpunk updates it, will I be able to update with no reformatting ?
baboon23 said:
Absolutely, you're right !
I will be as specific as I can:
Sony abandoned the XZ1C, so I want to swap to Lineage OS with a full heart with no Gapps (i'll manage).
Here is what I understand tell me if I am correct:
1. Unlock bootloader via sony website
2. Flash latest TWRP
3. Use it to flash 17.1 Lineage OS from the genius dude (mod punk?)
4. Happy days
5. If modpunk updates it, will I be able to update with no reformatting ?
Click to expand...
Click to collapse
Yep that's about right. Unlock bootloader with Flash Tool by getting unlock code from Sony. Flash TWRP in fastboot mode. Boot to TWRP and flash lineage 17.1. If you don't need gapps you're good to go.
As for lineage updates probably best to check with the thread. Usually you can dirty flash, i. e. flash new version over the old and it should be ok. Lastly check to see if they're are any major bugs with 17.1. Since it's so new there could be issues. 16.1 is smooth fast and stable if you ever need to go back to it.
betacrypt said:
Yep that's about right. Unlock bootloader with Flash Tool by getting unlock code from Sony. Flash TWRP in fastboot mode. Boot to TWRP and flash lineage 17.1. If you don't need gapps you're good to go.
As for lineage updates probably best to check with the thread. Usually you can dirty flash, i. e. flash new version over the old and it should be ok. Lastly check to see if they're are any major bugs with 17.1. Since it's so new there could be issues. 16.1 is smooth fast and stable if you ever need to go back to it.
Click to expand...
Click to collapse
Superb, thank you so much ! What a wonderful community. I feel like im stealing. I will be sure to donate !
One question, may I use adb tools for the bootloader ?
No problem. That one I'm not sure about. I've only used flash tool myself but adb tools should work with the right commands.
Yay for me !
Bootloader unlocked, onto recovery and LOS
I did it !
Thanks yall
I get this horrible " please lock the bootloader" greeting when I turn on the device, for 5 seconds.
Is that normal for everyone ?
baboon23 said:
Considering I don't mind binning that phone if I get sick of Lineage (I have like four of those in a box) - Can I skip the TA backup and restore ?
Click to expand...
Click to collapse
You've got 4 XZ1Cs in a box?
baboon23 said:
I get this horrible " please lock the bootloader" greeting when I turn on the device, for 5 seconds.
Is that normal for everyone ?
Click to expand...
Click to collapse
It is yes, you'll have to live with that unfortunately. In regards to the TA, I would have taken the time to back them up, that'll matter should you wish to return to stock. It's better to have it and not need it than to need it and not have it. But you've achieved what you wanted to which is all that matters. :good:
Thank you sir !
You're probably right, I just couldn't be bothered... Sometimes 20 minutes more is like a life long more
Well, now that all is installed....
So when modpunk stopps working on the project (like sony stopped working on the xz1) - Will it be safe to just continue using the phone without updates at all ?
Or is the eventual doom of all ROM Flashers is to come back to stock (but then, it doesn't get updates anymore also...)
So does it matter in which platform I remain outdates ?
Re the XZ1's, I knew that this was going to be the last proper small phone so I made sure to stock. I plan to carry these into 2022 …….
Problem is, I think even in box without, the batteries will die out. So I'm not sure how smart I was when I got several.
All in all, for all phones I paid less than one iPhone so I'm pretty happy, but hopefully a lab can change the batteries on them.
baboon23 said:
Thank you sir !
You're probably right, I just couldn't be bothered... Sometimes 20 minutes more is like a life long more
Well, now that all is installed....
So when modpunk stopps working on the project (like sony stopped working on the xz1) - Will it be safe to just continue using the phone without updates at all ?
Or is the eventual doom of all ROM Flashers is to come back to stock (but then, it doesn't get updates anymore also...)
So does it matter in which platform I remain outdates ?
Re the XZ1's, I knew that this was going to be the last proper small phone so I made sure to stock. I plan to carry these into 2022 …….
Problem is, I think even in box without, the batteries will die out. So I'm not sure how smart I was when I got several.
All in all, for all phones I paid less than one iPhone so I'm pretty happy, but hopefully a lab can change the batteries on them.
Click to expand...
Click to collapse
I believe it is recommended to charge lithium-ion batteries fully every other month or so to keep it healthy.
If you are rooted I recommend checking out the ACC magisk module and controller app. This allows the phone to stop charging when the battery level has reached a certain level. In the long run keeping your device charged between I think 80% - 20% will increase your battery longevity by 200% (sorry I don't remember the exact study this was from).
And I agree the XZ1c is the last proper small phone. I've rebuilt mine from one sold for parts from eBay and now it feels like new.
About the security:
If you want to you can keep a look out for specific vulnerabilities in Android after the last security patch released for the custom rom.
https://source.android.com/security/bulletin
But in general by not connecting to sketchy WiFi hotspots, being un-rooted, having se-linux on enforcing, and running af-wall (requires root permissions) or another firewall you should be good for a while.
I think it really depends on what security issues get discovered in the future and what vulnerabilities your specific use case opens you up to.
Hi guys !
What about DRM key backup ?
I need help if you have a solution
https://forum.xda-developers.com/xp...de-to-install-lineageos-17-1-scratch-t4136195
Thanks you !

Question Question regarding root and updates?

Hey there guys,
I just received my s21 ultra (G998B) and planning to root it. I had a few questions since I’m new to this and wanted some clarifications:
1) If I root the phone can I update it OTA through the settings or do I have to update it by another method? Will I lose root/data/apps if I do that?
2) If I lose root when updating it, can I just root again and be all set? Or do I have to follow another procedure for that?
3) I am planning to debloat a few apps and services that I won’t be using, if I update the system/software will the stuff that I debloated come back and will I have to do the debloat again?
Thank you for all the help.
paul_cherma said:
Hey there guys,
I just received my s21 ultra (G998B) and planning to root it. I had a few questions since I’m new to this and wanted some clarifications:
1) If I root the phone can I update it OTA through the settings or do I have to update it by another method? Will I lose root/data/apps if I do that?
2) If I lose root when updating it, can I just root again and be all set? Or do I have to follow another procedure for that?
3) I am planning to debloat a few apps and services that I won’t be using, if I update the system/software will the stuff that I debloated come back and will I have to do the debloat again?
Thank you for all the help.
Click to expand...
Click to collapse
1- Probably not usually the root or recovery will block OTA updates from installing, even if they download.
2- If you lose root, you can USUALLY re-root assuming the same root method wasnt patched. If it was patched, a new root method (though probably still through magisk) will be needed. If this is the case, its up to the dev to find that method, you might be without root for a while.
3-if you debloat, and receive an OTA, your will probably need to de-bloat again, thought I havent personally had experience with this.
Why are you rooting? Just to de-bloat? If so, root isn't really necessary...
As someone who's been in the rooting stage for many years, i can answer your questions.
1. You can not update your phone through OTA updates after rooting the device, as the device was modified in an unauthorized way. And since you own a galaxy phone, the e-fuse within the motherboard will blow and knox will be permanently blown. You can no longer use samsung pay, google pay, and any other app that uses the safetynet api, even after you unroot the device.
2. You will lose root every time you update. You will need ODIN on your PC in order to properly update your firmware and to re-root your device by following the procedure again that you used to root your device, unless samsung patched the method you used to root your device. You can always check what bootloader version you're on within the firmware. For example, on the galaxy S8, the firmware version is N950U1UES5CRG9. The 5th to last number of the firmware will tell you. In this case, N950U1UES5CRG9 is the 5th bootloader version. Keep this in mind once samsung starts to update your phone often.
3. You will have to debloat again from scratch. In order to fully update your device through ODIN, you need to download the full firmware file containing an AP (Firmware), BL (Bootloader) , CP (Modem), and CSC (Carrier File) and manually flash them.
Do keep in mind, it is possible to soft brick or even hard brick your device, so back up your data frequently if you decide to tinker with your device.
Thank you for the detailed answer. I just updated my software to the latest official one by Samsung (April 1st security patch) but I am not rooted yet. I guess I could live with the fact that I can root the phone now and stay on this software version/security patch until I upgrade, since I would have to go through a lot of hassle to set-up the phone the way I wanted. But the main reason why I want to get the official updates is because of the camera improvements that Samsung does, since the main reason of me getting this phone is the camera. And there are some root-required tweaks that I absolutely need such as Viper, and some xposed tweaks also. I like the Stock ROM of Samsung, it really has come a long way at least imo throughout the years, as I have been a Samsung user since day 1 but:
Would it be a good idea to install a custom ROM then? I am reading the description of a few custom ROMs and it seems like I can “retain everything” by simply dirty flashing the ROM and following the dev’s instructions on how to retain root whenever the developer updates it. Is that a better route to take you think? I can keep my device rooted, and still get the updates through a custom ROM.
paul_cherma said:
Thank you for the detailed answer. I just updated my software to the latest official one by Samsung (April 1st security patch) but I am not rooted yet. I guess I could live with the fact that I can root the phone now and stay on this software version/security patch until I upgrade, since I would have to go through a lot of hassle to set-up the phone the way I wanted. But the main reason why I want to get the official updates is because of the camera improvements that Samsung does, since the main reason of me getting this phone is the camera. And there are some root-required tweaks that I absolutely need such as Viper, and some xposed tweaks also. I like the Stock ROM of Samsung, it really has come a long way at least imo throughout the years, as I have been a Samsung user since day 1 but:
Would it be a good idea to install a custom ROM then? I am reading the description of a few custom ROMs and it seems like I can “retain everything” by simply dirty flashing the ROM and following the dev’s instructions on how to retain root whenever the developer updates it. Is that a better route to take you think? I can keep my device rooted, and still get the updates through a custom ROM.
Click to expand...
Click to collapse
That really varies depending on the custom rom you go for. Usually when you dirty flash a rom, you would need to re root your device, but some (not all) roms are persistent with root after system updates. Do keep in mind if you switch to a custom rom, your system might be more buggy and crash more often. One thing i will say though is that xposed is outdated. The last android version xposed officially supported was either 8 or 9. When it has to come down to certain mods you'd wish to have with root, take that into consideration too, as it might make your device really unstable if it's too outdated or if there's a buggy port available. I've dealt with that issue too many times on my phones.
HighOnLinux said:
That really varies depending on the custom rom you go for. Usually when you dirty flash a rom, you would need to re root your device, but some (not all) roms are persistent with root after system updates. Do keep in mind if you switch to a custom rom, your system might be more buggy and crash more often. One thing i will say though is that xposed is outdated. The last android version xposed officially supported was either 8 or 9. When it has to come down to certain mods you'd wish to have with root, take that into consideration too, as it might make your device really unstable if it's too outdated or if there's a buggy port available. I've dealt with that issue too many times on my phones.
Click to expand...
Click to collapse
if xposed is outdated, what is the new thing the comunity is migrating to? All the privacy, security, and customizability tools available through xposed must go somewhere, right?
Twodordan said:
if xposed is outdated, what is the new thing the comunity is migrating to? All the privacy, security, and customizability tools available through xposed must go somewhere, right?
Click to expand...
Click to collapse
There's buggy ports thats flashable on magisk. While you still can get xposed, it'll be an unofficial version, and more likely to run into issues within your rom and daily use into your device.
HighOnLinux said:
There's buggy ports thats flashable on magisk. While you still can get xposed, it'll be an unofficial version, and more likely to run into issues within your rom and daily use into your device.
Click to expand...
Click to collapse
I mean xprivacy on xposed was the must have killer feature for any android device to turn your device into anything other than a privacy nightmare. If we can't do that any more we are f'd.
[EDIT] Looks like the new version of xprivacy, xprivacyLua is still supported for android 11, with magisk and EdXposed or LSPosed:
[CLOSED][APP][XPOSED][6.0+] XPrivacyLua - Android privacy manager [UNSUPPORTED]
XPrivacyLua Really simple to use privacy manager for Android 6.0 Marshmallow and later (successor of XPrivacy). Revoking Android permissions from apps often let apps crash or malfunction. XPrivacyLua solves this by feeding apps fake data...
forum.xda-developers.com
XPrivacyLua/README.md at master · M66B/XPrivacyLua
Really simple to use privacy manager for Android 6.0 Marshmallow and later - XPrivacyLua/README.md at master · M66B/XPrivacyLua
github.com

Categories

Resources