Question How to update system with root? - OnePlus Nord 2 5G

How to update system with root?

Some root app lets you save your boot image, reload your stock boot, update ota - maybe some special instructions based on your app, then it loads the patched boot image with root back in place; something like that
check the documentation of your root manager

Related

Rooted but cant give root permission

So I have been following the NOOB GUIDE sticky thread and the Tutorial to achieve root.
http://forum.xda-developers.com/showthread.php?t=849028
http://forum.xda-developers.com/showthread.php?t=925400
I've got superuser in my apps (which means it's rooted right?) and I've downloaded Super Manager so I can get rid of the junk stock apps.
The problem is that when I try to enable ROOT function in Super Manager, the program freezes and/or says that "The ROOT function in this program is not support your device or system image".
So.....any thoughts? Am I just missing a step somewhere or what?
Any help would be great Thanks.
Why don't you just go in the root system folder and manually delete them? It's easier that way.
You may have rooted the phone but did not complete.
Go to unlockr.com google "rooting vibrant with superoneclick" and watch the video seeing is believing
Usually after you root you need to manually go into recovery hit install packages 2nd time and then reboot again back into recovery and you will have rooted and it will recognize
BTW, make sure you download Rom manager and have it installed before you do the above.
cheers!
I am not familiar with the app you are referencing, BUT, if you followed my guide, please try this.
Download Titanium Backup (you should already have it if you followed my guide).
Click on problems, let it install busybox.
does it say you are rooted? yes, good.
You can click on the middle tab and click on the apps you do not want. I suggest freezing them (essentially deleting them, but less chance of messing up since you can revert it back).
if not, PM me

Error Rom Toolbox

Hi,
I has update official my SGT-P7510, with Android 4.0.4 and i have install Rom ToolBox Lite,
But on openning App, an mesage error
We failed to obtain root acces
As stated in market description root access is required to use this app
1 manipulation special is necesary ? ^^
Roooh77 said:
Hi,
I has update official my SGT-P7510, with Android 4.0.4 and i have install Rom ToolBox Lite,
But on openning App, an mesage error
We failed to obtain root acces
As stated in market description root access is required to use this app
1 manipulation special is necesary ? ^^
Click to expand...
Click to collapse
Root your tab correctly.
for the root i have the zip file labeled "Samsung_Galaxy_Tab_10.1_root.zip"
but in Android system recovery <3e>
i would "Apply update from external storage"
but he said
"E:unknow volume for patch [/sdcard]"
:'(
First, you can't root from stock recovery. You have to flash CWM recovery first through Odin. Be careful to get up to date files and make sure you know what steps you're following and don't miss any steps. I wish there was a new guide for ICS I could point you to, but there are so many people having issues rooting recently, there isn't a definitive guide that seems to work for everyone without issue.
Hopefully some kind soul will read this and point you to up to date ICS rooting downloads and some instruction.
Sent from my GT-P7510 using XDA Premium HD app

[Q] keep system app after rom update

Hello fellow Android users,
I am currently using Cyanogenmod 10.1 (nightly) on my GT-I9300, and have this nice app: Cyandelta to update very easy and automatically via TWRP.
Now I'm running into this problem: when I update, I lose this app Secure Settings, that I converted to a system app via Titanium Backup.
The reason I converted it to a system app is because it then gets more functions available that i need. The alternative is installing the "Secure Settings Helper'', but everytime I reboot my phone this ''Helper'' has to install again (god knows why).
My question: is there any way I can get the app to stay on the phone after flashing the update?
I've researched about flashing the APK via a zip file, but it didn't seem easy to do. That way i could let Cyandelta flash it automatically after the ROM. But it would be easier if the app just would retain on the phone.
Thanks

[Q] Delete System Apps on 5.1.1

Hello! I recently updated to stock 5.1.1. I have root access and have set SELinux to permissive as well. Problem is I cannot delete system apps or convert them to user apps using ROM Toolbox or any other method. I can freeze them though. Any idea how can i do this???? e.g. Chrome at the moment is a system app I want to delete it...how can I do this on 5.1.1
Thank you in advance
Since 5.1 came out I've been reading a lot of threads & posts of users with semi-root problems. Because you don't have a proper o real root access you won't be able to do much. My advise is "simple": Build yourself a prerooted zip with all the latest software:
23.4.A.0.546 .ftf
PRF Creator v0.9
SuperSU 2.46
XZDR 2.8.21
I don't know if the SELinux thing is the same as modifying the XZDR.prop but I did. This 2 lines are "true": dr.initd.active=true and dr.keep.byeselinux=true
I don't have any root problems, even when installing 5.1.1 from 4.4.2. Other thing I do: After installing the pre-rooted .zip, I flash a "stripped" .ftf: I select all the 3 wipes, No final verification and Reset customizations BUT excluding system. The phone starts "like new" but with fully functional root and recoveries.
If you want to keep your semi-rooted phone but want to delete system apps, use a debloating script. It is like a flashable .zip but will not install anything, just delete whatever you want.
I managed to remove movie creator with the kinguser app that comes with kingroot.give it a try
Sent from my D6503 using Tapatalk

root and ota updates - how to

as it is asked quite often, here's how you get ota with a modified stock rom.
For example, ota will fail if you have root (as it changes your boot partition slightly) or if you deleted some preinstalled apps (e.g. chrome browser). OTA script always checks the signatures of your running rom and the ota update. If they don't match, it will fail.
An unlocked bootloader does not prevent ota from working!!!
requirements: a backup of a 'clean' stock rom
So if you want to update perform the following steps (edit: you can find a second and easier method at the end of the post)
1. boot twrp
2. backup everything to be safe (boot, recovery, system, data) if something goes wrong
3. restore 'clean' stock boot partition and recovery partition
(4. if you changed something in 'system' restore system as well)
5. boot tablet
6. download and install ota - it should succeed
7. boot twrp and restore data again if needed
(8. root again with magisk)
good to know:
if you restore partitions, make sure they are from the same build! if not, tablet might not boot or ota will fail again.
if you are rooted, you can use the the backup of boot created by the magisk script (-->/data/stock_boot_<sha1>.img.gz)
if you don't have a backup, try to get hands on a stock rom and flash the required partitions manually (e.g. fastboot flash boot.img etc..)
good luck
(if anyone knows a better way, let me know and i will add it here)
edit: @MarkAllen provided this method which is far more simple (but which unfortunately has never worked for me by now).
1) Boot TWRP and install "Magisk Uninstaller"
2) Clear cache and Dalvik cache in TWRP then reboot
3) Uninstall phh's SuperUser and Magisk Manager
4) Start OTA update and follow instructions
This completed no problem for myself and then I just re-rooted again
5) Boot TWRP and installed Magisk 12
6) Clear cache and Dalvik cache then reboot
7) Install phh's SuperUser from the play store
8) Launch SuperUser and Magisk manager each one time (for some reason root checker claimed root was not installed properly until I did this)
9) Check root using root checker
I was rooted from the last February security update. I was under the impression I would be able to allow the April security update to download then copy it on the root of my internal or sdcard storage then boot to normal recovery to install. I've done this with other devices I own (Shield Tablet and TV) and seemed to work fine for them. You would just re-root later when done. Anyway as you noted this didn't work on the Yoga Book though due to changes rooting makes on this device.
How I ended up doing this was a bit different then you describe, but meets the same end as your instructions I guess? All I had done was uninstalled root, ran OTA update (which worked this time), then rooted again and it worked great.
1) Boot TWRP and install "Magisk Uninstaller"
2) Clear cache and Dalvik cache in TWRP then reboot
3) Uninstall phh's SuperUser and Magisk Manager
4) Start OTA update and follow instructions
This completed no problem for myself and then I just re-rooted again
5) Boot TWRP and installed Magisk 12
6) Clear cache and Dalvik cache then reboot
7) Install phh's SuperUser and Magisk manager from the play store
8) Launch SuperUser and Magisk manager each one time (for some reason root checker claimed root was not installed properly until I did this)
9) Check root using root checker
MarkAllen said:
I was rooted from the last February security update. I was under the impression I would be able to allow the April security update to download then copy it on the root of my internal or sdcard storage then boot to normal recovery to install. I've done this with other devices I own (Shield Tablet and TV) and seemed to work fine for them. You would just re-root later when done. Anyway as you noted this didn't work on the Yoga Book though due to changes rooting makes on this device.
How I ended up doing this was a bit different then you describe, but meets the same end as your instructions I guess? All I had done was uninstalled root, ran OTA update (which worked this time), then rooted again and it worked great.
1) Boot TWRP and install "Magisk Uninstaller"
2) Clear cache and Dalvik cache in TWRP then reboot
3) Uninstall phh's SuperUser and Magisk Manager
4) Start OTA update and follow instructions
This completed no problem for myself and then I just re-rooted again
5) Boot TWRP and installed Magisk 12
6) Clear cache and Dalvik cache then reboot
7) Install phh's SuperUser from the play store
8) Launch SuperUser and Magisk manager each one time (for some reason root checker claimed root was not installed properly until I did this)
9) Check root using root checker
Click to expand...
Click to collapse
great to hear...
using the uninstaller alone has never worked for me...it always aborts...sometimes it complains that some files are missing or were changed, the recovery partition doesn't match the expected one, etc...
mostly i can't remember which things i've done to the rom/system.
but again, good to know that magisk uninstaller works, it definitely is less complicated and time consuming.

Categories

Resources