Throwback to engineermode - OnePlus 5 Questions & Answers

Back when engineeringmode was a big deal because of security concerns, i took advantage of it and rooted my oneplus 5 with magisk installed. This root did not go away with updates until android pie, though i had to reload magisk every reboot. In this latest update, *#808# root test says that i still have root, but i cannot load magisk and thus, cannot use root. Is there anyway to make it so that the I can regain root without unlocking bootloader and wiping?
cheers

Related

I am rooted, but not happy with my current state

Hey everyone,
I`m running LineageOS on my phone and am rooted using SuperSU which seems to work, according to Rootchecker and the feww apps I use, which make use of root privileges.
But I`m not entirely happy with my current situation, since it seems that more and more apps don`t tend to work with my rooted phone. So what are my ways out of this?
Can I easily unroot my phone, while keeping LineageOS?
Is there a working alternative to SuperSU, which would enable me to stay rooted on LineageOS without reflashing the OS and use Banking-Apps?
I`ve heard of Magisk, but I am unsure of how to switch over from my current state and I`am not sure whether or not it would solve my problems
Thanks for any help in advance!!
Magisk
You just have to go to SuperSU, then Full Unroot, then download Magisk 13.3 and flash it from TWRP. After that you should have Magisk Manager, if for some weird reason you don't, install it via apk
Then you just go to the settings, tick MagiskHide, then go back and open the side panel, MagiskHide - select the apps that you want Magisk to hide itself from
So I tried to do what you said.
I did the full unroot in the SuperSu App,
My phone rebooted
I shut it down again and booted into recovery
Tried flashing Magisk
But it failed, apparently due to my Boot image being patched by another program and told me to go with stock image
What do I do now? And will I lose any data by doing so? Thank you so much for any help!
Weird, but you can simply dirty flash LineageOS (the same one that you have now, or an update, doesn't matter) and it should let you install Magisk.
I did what you said and installed a delta update using LineageOS Downloader. Had to manually flash it in TWRP since I had no root permissions anymore. But I was able to install Magisk like a charm! Now I have to questions:
1. How do I update Magisk? Using the app?
2. Do I have to flash it again everytime I'm updating LOS?
Thanks for the great help so far!
And what exactly are those moduls? Should I be messing with them?
If updates come they will appear on the status bar and you can download them, and they'll install with the phone on. after that you have to (not quick) reboot your phone.
and about the modules, seriously? what do you think??

EngineerMode unroot?

back when engineermode exploit backdoor 'thing' whatever you want to call it, was still a thing i seized to opportunity to gain root access, however since then magisk hide has begun failing me and i would like to either find a way to update magisk from v14.0 safely, or to unroot completely (preferably without wiping) as this has started being problematic. I am on the latest oxygenOS update and i used this guide to root (i originaly linked it here but apparently i cant do that, it was on github, called OneplusRoot by a fella named aldur.)
If anyone can help id really appreciate it.
Thanks in advance
Since One Plus removed engineering mode I'm surprised you were able to update OOS and maintain the exploit. Why don't you just unlock your bootloader and root the proper way? Your phone won't melt if you do.
I would like to avoid wiping if possible. I too am surprised at the persistence of root after at least 3 OTAs. At this point I no longer really need root and would rather my phone run smoothly without some applications crashing or not running due to root.
bump?
gbesh said:
bump?
Click to expand...
Click to collapse
As long as your system boots, and you have root, install the latest magisk manager from the magisk thread, and it will prompt you to update. As long as you give magisk manager root access you should be able to do a "direct install" and reboot and should be up to date. Back up your data first though, I'm not responsible for your data loss (but this worked for me)
Same to unroot. Magisk has an uninstall option that should fully unroot you
manor7777 said:
As long as your system boots, and you have root, install the latest magisk manager from the magisk thread, and it will prompt you to update. As long as you give magisk manager root access you should be able to do a "direct install" and reboot and should be up to date. Back up your data first though, I'm not responsible for your data loss (but this worked for me)
Same to unroot. Magisk has an uninstall option that should fully unroot you
Click to expand...
Click to collapse
Well my system doesn't boot with root. I have to manually mount something and start the magisk service.
Which is why I'm not sure how to update as I've been told the updated version has a different file structure that the one I'm on.
were you able to unroot? i think i am in the same boot right now, on 4.5.13 with magisk root by engineermode, if you were successful please tell me how
yohouse2 said:
were you able to unroot? i think i am in the same boot right now, on 4.5.13 with magisk root by engineermode, if you were successful please tell me how
Click to expand...
Click to collapse
no unfortunately i am still waiting for a solution.
gbesh said:
no unfortunately i am still waiting for a solution.
Click to expand...
Click to collapse
When I ran out of options,I unlocked the bootloader (wiped the device), and the new system was unrooted, i then installed Nolimits rom based on OOS 5.1.2
I asked on another thread and another user told me that if you accepted the complete zip update of the OTA prompt the updated system would lose the root, but you wouldn't lose your data or apps, which is nice, but keep in mind you are more probable to have worse performance or battery than clean install
yohouse2 said:
When I ran out of options,I unlocked the bootloader (wiped the device), and the new system was unrooted, i then installed Nolimits rom based on OOS 5.1.2
I asked on another thread and another user told me that if you accepted the complete zip update of the OTA prompt the updated system would lose the root, but you wouldn't lose your data or apps, which is nice, but keep in mind you are more probable to have worse performance or battery than clean install
Click to expand...
Click to collapse
I can confirm this is not the case, i have been updating as the updates roll out and i am now on 5.1.2 and still able to get root access through adb with a locked bootloader.
gbesh said:
I can confirm this is not the case, i have been updating as the updates roll out and i am now on 5.1.2 and still able to get root access through adb with a locked bootloader.
Click to expand...
Click to collapse
Well the alternative is another thing i read but can't find, and honestly can't recommend unless you find in too, is that you can delete the apk and the magisk image(don't know which one, this is how bad i remember this), then rebooting would remove the root.
yohouse2 said:
Well the alternative is another thing i read but can't find, and honestly can't recommend unless you find in too, is that you can delete the apk and the magisk image(don't know which one, this is how bad i remember this), then rebooting would remove the root.
Click to expand...
Click to collapse
After one of the recent updates, magisk hide started working again and my apps are no longer crashing. It is strange but i guess this situation has turned out favourably after all.

Magisk OTA Not Working - Boot Loop - Magisk OTA Working For Anyone?

I made this report on the Magisk post with no reply from anyone;
https://forum.xda-developers.com/showpost.php?p=75631213&postcount=22949
The only way I see this will work on the Mi A1 is by doing the 'Complete Uninstall' or 'Restore Images' and not install to the second slot after OTA, but only restore images and when the OTA is done reboot...
This doesn't exactly seem like maintaining a rooted phone and doing the OTA, rather, having to always unroot it, install OTA and root it over... Seems like this is just defeating the purpose...
Has anyone had success with Magisk OTA on the Mi A1?
Thanks
I'd like to know that too, has anyone done it with magisk only, without twrp? I feel so vulnerable without twrp and yet I really want the true systemless root without messing with ota. But then I have no idea if it will actually boot when I just disable magisk...
Magisk OTA update guide works fine for me. No issues here
Worked for me as well in the past.
worked for me in Nougat as well. do not yet know for Oreo.
So for those that had this work, what method are we talking about?
Restore Images > Install to Second Slot (After OTA) ?
Doesn't work for me too. I tried with February and March OTA but in both cases I got the bootloop. I followed every steps of the official Magisk guide but in both cases I had to restore stock images with Mi flash, update the smartphone normally and do the root again.
I think the problem with MI A1 is when step 2 of the OTA begins and you have to install magisk on slot 2, because as soon as magisk is installed on the second slot, I get step 2 of installation is completed (but it's not true).
Step 2 of installation on unrooted devices takes at least some minutes, while when I do it with root following magisk guide it says it's completed within few seconds and this is impossible. That's why when you reboot your mobile after the OTA you get stuck in bootloop.

Unwanted update

Hi everyone! My Mi A1 updated to the August security patch without my permission. Basically, I was at 1% so I shut it down. When I restarted it, it was magically updated. Thing is it was rooted and with magisk installed. Now it tells me it doesn't have root permissions anymore, and magisk is still installed. Also, the bootloader is still unlocked, I see it when I turn it on.
How can I restore root without damaging anything? Thanks!
Flash latest Magisk through TWRP
mikla90 said:
Hi everyone! My Mi A1 updated to the August security patch without my permission. Basically, I was at 1% so I shut it down. When I restarted it, it was magically updated. Thing is it was rooted and with magisk installed. Now it tells me it doesn't have root permissions anymore, and magisk is still installed. Also, the bootloader is still unlocked, I see it when I turn it on.
How can I restore root without damaging anything? Thanks!
Click to expand...
Click to collapse
Go to developers option and uncheck automatic update
You'll receive a notification when an update is available but it will not install by itself
Just a reminder your other partions is still rooted with magisk
For the next update you'll have to flash firmware or use TWRP to boot on the other slot and uninstall magisk on old partition
Hope it's clear

Oneplus 8 Pro acting strange after OTA update to Oxygen OS 12

I used Magisk to do an OTA update to Oxygen OS 12, but it feels like my root is gone because TWRP disappeared, the bootloader was locked after the update, and I had to unlock it. But when I do root check, it still says I'm rooted. Most of my Root access requiring apps don't work properly either like battery limiter and Adaway. But I check root status in Momo, and it says the environment is abnormal. Upon restart it doesn't pop up with TWRP as recovery; it goes to default OP recovery. Also, the warning at startup where it says the warning about the bootloader being unlocked is also gone, even after reunlocking my bootloader after the OTA update.
Also, slightly unrelated, but my fingerprint sensor has also stopped functioning completely. I couldn't use it to unlock my phone so I removed all fingerprint data and I tried adding it back and it wouldn't even detect my finger when I tried to add it back.
What is a true test to check if I need to wipe and reroot and install TWRP again?
How did TWRP just disappear?
Did I do the OTA wrong?
Why would my phone allow me to grant root access to root checker if I wasn't still rooted?
Would a simple fix be just reinstalling Magisk?
edit: So it seems that Adaway works, but battery limiter does not(I assume doing a fresh install of the APK might help). And my fingerprint sensor also does not work.
I am indeed rooted, but I am still wondering why TWRP just disappeared? And why does my fingerprint sensor not work at all?
I have the Oneplus 8 Pro American version.
Take a step back and read this.
[GUIDE] How to Avoid Killing Your OnePlus 8 Pro / 8T / 9R with OxygenOS 12 / ColorOS 12
As You can see, recently we started seeing more and more threads complaining about OxygenOS 12 killing people's devices. I lost my 8 Pro the same way few months ago and we finally know what caused this! ANSWER - THE BOOTLOADER! Massive Update...
forum.xda-developers.com
A12 is not in a good state anyway and most people use OOS11 or a custom rom.
IDK if battery limiter is a12 compatible but that does not matter.
You should NOT use TWRP with A12 and you should NOT do an OTA with magisk to a12.
What i would do now:
1. Read the thread i posted above carefully.
2. Backup all you data to a pc.
3. Backup persist image.
4. Use MSM Tool ro rollback to a clean state of OOS11.(https://forum.xda-developers.com/t/oneplus-8-pro-rom-ota-oxygen-os-repo-of-oxygen-os-builds.4084315/)
5. Flash latest A12 as local upgrade within the system updater twice (to ensure its on both slots)
6. Extract boot img with payload dumper and patch it via magisk.
7. Unlock bootloader
8. fastboot BOOT patched_boot_image.img
9. Start magisk and install
Enjoy rooted A12.
Or better simply stay on A11 its better anyway.

Categories

Resources