Rooting and updating without OTA? - Xiaomi Mi A2 Lite Questions & Answers

Hi!
I'm interested in rooting my device A2 Lite, but as far as i know, for applying OTA the system partition must not have any modification. That means that any mod with root permission must be erased. I'm correct? How to have a control of made modifications? How do you people do the update while they are rooted?
i wonder if the device can be updated with flashable zips by TWRP or installing the new firmware by MiFlash software. Is it mandatory to overwrite all the personal data in the proccess?
Thank you!

Related

Permanent root

I am new to the whole understanding of root on non-Nexus devices seeing how I had to root my Nexus 4 after each update and I had a fair bit of knowledge hacking/modding/rooting the Nexus.
Kedros over at oppoforums (http://www.oppoforums.com/threads/how-to-root-your-oppo-find-7a-w-oppo-recovery.11309/) provided a root method that is permanent. I have no plans to install custom ROMs nor do I feel the need to flash a custom recovery (ex. TWRP).
My question is:
1. Will I still receive OTA updates from Oppo after I root?
2. If no to step 1, will flashing ColorOS updates remove the "permanent" root?
Thanks.
Root and OTA
anwedr said:
I am new to the whole understanding of root on non-Nexus devices seeing how I had to root my Nexus 4 after each update and I had a fair bit of knowledge hacking/modding/rooting the Nexus.
Kedros over at oppoforums provided a root method that is permanent. I have no plans to install custom ROMs nor do I feel the need to flash a custom recovery (ex. TWRP).
My question is:
1. Will I still receive OTA updates from Oppo after I root?
2. If no to step 1, will flashing ColorOS updates remove the "permanent" root?
Thanks.
Click to expand...
Click to collapse
1. Yes. OTA updates will work so long as you're using stock recovery and haven't made drastic changes to the /system partition.
2. Flashing an incremental (OTA) update in recovery will have the same effect as tapping "install update" from the about phone menu. You will lose root. If you flash a complete dump of the /system you will lose root as well since you are replacing /system.
Losing root isn't a big deal. Just flash again from recovery. You could try the OTA survival option built into SuperSu. I didn't bother trying because it takes less than a minute to reboot to recovery and flash SuperSu/su binary. What might be a big deal with the OTA update is that it wipes /data. This is odd because the pop-up that appears prior to installing the update specifically states that you won't lose apps or data. Your custom ROM plans may change after you use ColorOS. I hate it. It's glitchy and has a huge memory footprint. I'd recommend trying the 2.0 beta. I haven't had my Find 7a for long, but I've had no bugs thus far with the 2.0 beta. It's available on the Oppo Forums.
-Sent from my Panasonic 3DO

Xposed and systemless root

Hi everyone
I want to root my nexus 5x to have xposed but the main issue is that I wouldn't be able to install otas even if I rooted with systemless root because xposed misses up system partition , so systemless root becomes pointless .
My question is if I rooted with systemless root and installed xposed , if I wanted to install any new ota if i just removed xposed will this be enough to return system to unmodified status and I can now install the ota , or my system will become modified untill I reinstall the whole binary image ??
Hope I made my question clear as possible and sorry for my bad English
Thanks in advance ...
Or, instead of worrying about OTAs, you could just get the images from the Google website since this is a Nexus device, we are supported for something like 3 years I think I read, with security updates persisting 1.5 years after that.
https://developers.google.com/android/nexus/images
(you would use fastboot flash to accomplish this)
I know , but I don't want to flash everytime the whole binary image if I just can install a ~< 10 mb OTA .
If i can Just uninstall xposed then install the ota that will be much easier ...
I don't think you can take ota updates with a custom recovery and without a custom recovery you would have to flash a system image to get it back to stock in order to take the ota
flashing updates manually via TWRP is very easy once youre used to doing it.
No I can install OTAs using flash fire if the system partition is unmodified , so that's why I'm asking if uninstalling xposed return system partition to unmodified status ?
@2x4 installing updates is very easy with chainfire's flashfire only if you have unmodified system partition , and I want to install xposed but at the same time I want to know if I just uninstalled xposed will that make my system unmodified again ...
Running the xposed uninstalled will undo any changes to the system partition. So to answer your question, yes.
@t-r-e you're coming from the angle of keeping your system partition intact for the SOLE purpose of OTAs (you've said nothing about android pay). Given that, it's easier to just update manually via TWRP instead of doing OTAs, so you won't have to worry about xposed or any other mods.

Magisk v14 and OTA updates

Hey, guys, I wanted to ask if someone tried OTA updates working with the new method of rooting released with magisk 14- a rooting method in which we do not need root or custom recovery beforehand, we just need to provide stock boot image dump to the magisk manager. This method will do us good because if OTA's still work after root we can be rooted on the stock roms without having to download full OTA's when a new update arrives. If someone can confirm working OTA's on the OOS open beta with this root method, it would be really helpful. Thank you!
As long as you take a backup of system and keep TWRP installed so you have a backup to revert to it should be fine. The risk of issues is just too high unless you don't give a **** about your personal data.
Puddi_Puddin said:
As long as you take a backup of system and keep TWRP installed so you have a backup to revert to it should be fine. The risk of issues is just too high unless you don't give a **** about your personal data.
Click to expand...
Click to collapse
Bro, I know how to work with TWRP. Your comment does not answer the question.
blaze95rs said:
Bro, I know how to work with TWRP. Your comment does not answer the question.
Click to expand...
Click to collapse
Well think of it about this. Magisk is just one big hack on the system partition. An OTA changes files on the system partition aswell. What if the OTA changes files that Magisk needs?
1. Your phone will go into a bootloop.
2. You might end up bricking it.
3. You just have to reflash Magisk.
4. Your phone becomes buggy as hell.
Thats why we also recommend to install the full zips when flashing roms and kernels that modify system because of possible conflicts.
Puddi_Puddin said:
Well think of it about this. Magisk is just one big hack on the system partition. An OTA changes files on the system partition aswell. What if the OTA changes files that Magisk needs?
1. Your phone will go into a bootloop.
2. You might end up bricking it.
3. You just have to reflash Magisk.
4. Your phone becomes buggy as hell.
Thats why we also recommend to install the full zips when flashing roms and kernels that modify system because of possible conflicts.
Click to expand...
Click to collapse
Obviously I would uninstall magisk and then install ota and reinstall magisk. Magisk is systemless so I think there shouldn't be any problem.
blaze95rs said:
Obviously I would uninstall magisk and then install ota and reinstall magisk. Magisk is systemless so I think there shouldn't be any problem.
Click to expand...
Click to collapse
See it for yourself! Its something most people do not recommend.
Puddi_Puddin said:
See it for yourself! Its something most people do not recommend.
Click to expand...
Click to collapse
You have missed the whole point of the post. This is a NEW method. Many people have not tried this method of root. So please, if you have any valuable information then only share. Do not litter. There should be logic to your answer and not general acceptance. Saying that many people do this or do that is not a very solid answer.
blaze95rs said:
You have missed the whole point of the post. This is a NEW method. Many people have not tried this method of root. So please, if you have any valuable information then only share. Do not litter. There should be logic to your answer and not general acceptance. Saying that many people do this or do that is not a very solid answer.
Click to expand...
Click to collapse
That doesn't matter. I get that it can be installed without a custom recovery. But that doesn't mean it won't conflict with possible ota's. Again, see it for yourself. Most people including me do rather play it the safe way.
I have recently updated to the lateset Oxygen OS Beta i had Magisk installed, i use Sparks Latest twrp version, with this you can install OTA updates. I dit not unlinstalled Magisk first, you do need the full rom file, but for me when i wanted to install the OTA, it found i had rooted and autmatacly downloaded the full rom. After you installed the update you can install the latest version of Magisk.

from B189 to Oreo .. root/bootloader unlocked/device decrypted! HOW?

Hello everyone
so finally also C432 has received Oreo update !
right now i'm on B189 with root , bootloader unlocked and device decrypted (and twrp)
now the question is....
how can i upgrade to Oreo and and keep device decrypted bootloader unlocked without losing everything and install all again?
is there any way to achieve it? thank you for your help/suggestions !:fingers-crossed:
none? is not possible? It'll just delete everything again?
Hi.. I've done rooting Oreo but it's not properly rooted though. If you're already rooted then search DUK_fullOTA_flasher.zip and follow instructions. You'll get Oreo installed without loosing anything and still unlocked bootloader but you'll loose TWRP and decryption. Copy update.zip file from phone to pc and then use HuaweiUpdateExtractor on pc and extract Ramdisk.img from UPDATE. APP from the 'update.zip' and put it back in phone. Then use Magisk manager to patch this img file and then move it back to pc after patching. Then use adb/fastboot method to flash it. Voila!! You're rooted but device is still encrypted. I've not done any factory reset/data wipe bcz don't wanna loose my data. Device encryption won't let you use any module and you can't change anything apart from using systemless hosts AdAway and also you can use Greenify or TB but can't use any feature that writes to system.
puneetbhagat said:
Hi.. I've done rooting Oreo but it's not properly rooted though. If you're already rooted then search DUK_fullOTA_flasher.zip and follow instructions. You'll get Oreo installed without loosing anything and still unlocked bootloader but you'll loose TWRP and decryption. Copy update.zip file from phone to pc and then use HuaweiUpdateExtractor on pc and extract Ramdisk.img from UPDATE. APP from the 'update.zip' and put it back in phone. Then use Magisk manager to patch this img file and then move it back to pc after patching. Then use adb/fastboot method to flash it. Voila!! You're rooted but device is still encrypted. I've not done any factory reset/data wipe bcz don't wanna loose my data. Device encryption won't let you use any module and you can't change anything apart from using systemless hosts AdAway and also you can use Greenify or TB but can't use any feature that writes to system.
Click to expand...
Click to collapse
thank you for your kind and full answer I appreciate it! seems like I'll have to wait cause having device decrypted is a must as is a must to have it rooted! I'll stick to b189 until a better way is found [emoji4]
Sent from my DUK-L09 using Tapatalk
simika said:
thank you for your kind and full answer I appreciate it! seems like I'll have to wait cause having device decrypted is a must as is a must to have it rooted! I'll stick to b189 until a better way is found [emoji4]
Sent from my DUK-L09 using Tapatalk
Click to expand...
Click to collapse
Any time mate :good:
I know there is a method to decrypt it but I really don't wanna lose my data. Here is the link:
https://forum.xda-developers.com/honor-8-pro/how-to/guide-magisk-root-honor-8-pro-oreo-t3743587

Root magisk questions

Hey guys.
I'm reading the forum over and over, reading guides but still can't quite understand few things about magisk root.
1) Is it necessary to use TWRP for root using magisk? I found a guide to patch stock rom boot.img and then flash custom rom without TWRP. This way encryption also works (I read it doesn't if you use TWRP).
What is the purpose to use TWRP at all? What are the pros and cons of each method.
2) How is OTA update handled for Samsung with magisk? Do I have to revert back to stock rom using odin each time a new update appears?
Or I can do download OTA update, apply it, then without reboot, I just reinstall magisk from my phone and everything will work?
3) Can you make signed custom rom for samsung so you can lock bootloader after root, just like people do it for one plus on this forum?
Or it is not possible with samsung?
Thanks in advance for help.
Kape1234 said:
Hey guys.
I'm reading the forum over and over, reading guides but still can't quite understand few things about magisk root.
1) Is it necessary to use TWRP for root using magisk? I found a guide to patch stock rom boot.img and then flash custom rom without TWRP. This way encryption also works (I read it doesn't if you use TWRP).
What is the purpose to use TWRP at all? What are the pros and cons of each method.
2) How is OTA update handled for Samsung with magisk? Do I have to revert back to stock rom using odin each time a new update appears?
Or I can do download OTA update, apply it, then without reboot, I just reinstall magisk from my phone and everything will work?
3) Can you make signed custom rom for samsung so you can lock bootloader after root, just like people do it for one plus on this forum?
Or it is not possible with samsung?
Thanks in advance for help.
Click to expand...
Click to collapse
Hello,
First off I would just let you know that typically questions like this go in the Q&A section.. This is S20/S20+/S20U Snapdragon Development thread which is usually reserved for people who develop things such as roms, twrp, mods etc. etc. so be sure to ready the rules and other stickied information when considering to post just to be sure you post in the right section.
So next thing I want to say is that in order to use TWRP or root or anything custom really on a usa Snapdragon model (U/U1/W Models) you have to use paid service to unlock the bootloader IF your device is eligible to be unlocked which means you haven't updated to the latest OS, if it is, then you are out of luck for now until new method is developed using new security.
If you are unlocked already, can unlock or just want to know I will try and answer your questions now.
1) TWRP is not necessary. Neither is patching the full ROM. All you need to do (if you don't want to use TWRP) is take the boot.img from the stock firmware, patch it using Magisk app and then flash it in ODIN. Device will wipe most likely if encryption and vbmeta etc. isn't disabled already. I do not know if "encryption" works while just rooted using Magisk patched boot.img or not as I usually disable all that stuff. My guess is that in some form it would be encrypted, just not sure if it's the same thing you are referring to or not.
2) If you are on an unlocked bootloader and complete stock i.e. no root or anything just clean full stock then you should get OTA updates. If you use anything "custom" i.e. Magisk patched boot.img or TWRP installed or vbmeta disabled etc. etc. then OTA updates will NOT work. And no, you don't have to revert to stock in ODIN each time there is a firmware update. It really depends on the update but you can typically use the odin tar with home csc and it should update without wiping but at the same time you would lose root or need to re-patch the new boot.img etc. etc. but wouldn't necessarily have to flash stock first then start over. There's also "safe" updates available some posted by jrkruse in development sections. If you had a usa unlocked device that was unlocked using paid service then you do NOT want to take OTA's because Samsung has changed the way tokens are verified when device boots up so new OS can't read them and most devices have incremented the bootloader so if you did take an OTA you likely would lost your unlock and no way to downgrade.
3) No. In order to do that you would need Samsung's private keys since there is no way to load your own custom key to use.. you can't just sign it with any key.. Also, if you relock your bootloader on a USA model that was unlocked using paid service then you will not be able to unlock again.. either way, it's not possible to use a custom signed firmware then relock the bootloader and have it boot.. not on Samsung anyway..
Hope that clears it up for you.
Thanks

Categories

Resources