Question LineageOS 19.1 + root with magisk: how to do that? - Samsung Galaxy A52 4G

What's the best way, to install root with magisik on an a52q device?
The manual at https://topjohnwu.github.io/Magisk/install.html seems to describe how to install root with the official Samsung OS, but not with LineageOS?
And how can I update LineageOS regularly with staying root persistent?
Thanks!

redcarholder said:
What's the best way, to install root with magisik on an a52q device?
The manual at https://topjohnwu.github.io/Magisk/install.html seems to describe how to install root with the official Samsung OS, but not with LineageOS?
And how can I update LineageOS regularly with staying root persistent?
Thanks!
Click to expand...
Click to collapse
LineageOS, at least the PHH builds, already have root built in. Just install the Magisk app.

V0latyle said:
LineageOS, at least the PHH builds, already have root built in. Just install the Magisk app.
Click to expand...
Click to collapse
When I install the Magisk app, it says:
Installed: N/A
Zygisk: No
Ramdisk: Yes
When pressing the Install button, I'm asked for selecting and patching a file.
What I'm doing wrong? I use this manual: https://wiki.lineageos.org/devices/a52q/install

Flash Magisk in TWRP. No need to rename the extension, TWRP will flash apks.

Related

[ROOT][L09/L19] Pre-rooted boot.img for P9 Nougat (b378)

This is now deprecated
See proper SuperSu root installation instruction by @hakaz here: https://forum.xda-developers.com/showpost.php?p=71588837&postcount=102
Install stock b378 boot image (L09) here first: https://mega.nz/#!v1RGRSzD!7Z9oKmvEbZHG9UGwxh-iCR_tEw2qjVJ2tHkb1mFSTLk
Splitting this out into separate thread for better visibility. Note that if you are already on L09 B378 root, no need to update -
What is this?
Root on Nougat for the Huawei P9. It's a boot image, pre-rooted with PHH's SuperUser. Requires an unlocked bootloader.
Downloads:
B378
L09: https://mega.nz/#!ekJVzLyY!pOhWHYpdhuRSFtBvxGYlMMFH5hFg0TG8bG17D13ZohM
L19: https://mega.nz/#!blgUnDpD!OAiHXwXvUfJ36OZeNBFbVkBeEocnNc-irHHo5CxMjrA
Installation:
Root install method 1 (no TWRP)
Reboot phone into bootloader mode
Download boot.img to PC and fastboot flash with: "fastboot flash boot rooted_b378_boot.img"
Reboot phone back into system
Install phh's SuperUser app from Play Store
Install JRummy's Busybox Installer and install to /vendor/xbin
Root install method 2 (with TWRP)
Download boot.img to phone (Internal Downloads or External SD)
Use OldDroid's TWRP: https://forum.xda-developers.com/p9/development/twrp-t3565703/post71244945#post71244945
Reboot into TWRP
Select "Install" -> Click "Images" -> Go to External SD and select your rooted_b378_boot.img
Flash and reboot phone back into system
Install phh's SuperUser app from Play Store
Install JRummy's Busybox Installer and install to /vendor/xbin
Note: To get AdAway working, go to Preferences, then scroll down to "Target hosts file" and set it to "custom target". Then set Custom target to "/vendor/etc/hosts"
No responsibility if this doesn't work/breaks your device/eats your cat etc. - make sure you backup your data and have a backup boot/recovery image handy
XDA:DevDB Information
Pre-rooted boot.img for P9 Nougat, Kernel for the Huawei P9
Contributors
Atarii, PHH, LastStandingDroid, OldDroid, Dkionline
Version Information
Status: Stable
Stable Release Date: 2017-03-17
Beta Release Date: 2017-01-20
Created 2017-03-17
Last Updated 2017-03-17
Update (17/03/2017):
* Added L19 pre-rooted boot.img
This is not systemless root yes? No OTA support?
askor said:
This is not systemless root yes? No OTA support?
Click to expand...
Click to collapse
Yes this is Systemless, OTA should be fine - I've manually flashed OTA via dload but not tested normal OTA upgrade
will this root method have any drawbacks compared to the standard method( installing twrp and then flasing super su) am i going to be able to do the same things that im able to do with any rooted device? thanks in advice
ricardo99831390 said:
will this root method have any drawbacks compared to the standard method( installing twrp and then flasing super su) am i going to be able to do the same things that im able to do with any rooted device? thanks in advice
Click to expand...
Click to collapse
SuperSu does not currently work on the P9 with Nougat, partially due to lack of loop mount support in the kernel. Kernel sources are needed to rectify this, so I encourage people to email Huawei asking for their Nougat kernel patches.
PHH is not perfect (some apps don't work fully) but it's the best we have right now
Atarii said:
SuperSu does not currently work on the P9 with Nougat, partially due to lack of loop mount support in the kernel. Kernel sources are needed to rectify this, so I encourage people to email Huawei asking for their Nougat kernel patches.
PHH is not perfect (some apps don't work fully) but it's the best we have right now
Click to expand...
Click to collapse
ohh okay thanks for the info and also the work, i guess im waiting till the fully working method is out.
I've heard that they will relase the source near this month or the next when they finsh updating every p9
Is it possible to use this prerooted boot.img for l19 honor 8?
No. It's for P9, Honor 8 isn't P9, right?
Atarii said:
Splitting this out into separate thread for better visibility. Note that if you are already on L09 B378 root, no need to update
What is this?
Root on Nougat for the Huawei P9. It's a boot image, pre-rooted with PHH's SuperUser. Requires an unlocked bootloader.
Installation:
Root install method 2 (with TWRP)
Download boot.img to phone (Internal Downloads or External SD)
Use OldDroid's TWRP: https://forum.xda-developers.com/p9/development/twrp-t3565703/post71244945#post71244945
Reboot into TWRP
Select "Install" -> Click "Images" -> Go to External SD and select your rooted_b378_boot.img
Flash and reboot phone back into system
Install phh's SuperUser app from Play Store
Install JRummy's Busybox Installer and install to /vendor/xbin
Note: To get AdAway working, go to Preferences, then scroll down to "Target hosts file" and set it to "custom target". Then set Custom target to "/vendor/etc/hosts"
Click to expand...
Click to collapse
Thank you for the guide, everything worked as described. I've got my P9 with c432 b378, rooted and TWRP installed.
By testing so far, RootChecker, AdAway (v3.2), Titanium and Reboot (to boot into TWRP or fastboot) all work fine with this phh's SuperUser
PS: It's possible to install Chainfire's SuperSU instead, and Viper4Android works too, see e.g.
https://forum.xda-developers.com/showpost.php?p=71761747&postcount=167
Hi all, is that ok to flash on my current P9 L09C432B383 ?
The stock and pre-rooted boot.img states its form .378 but would it be ok on .383?
I dont know how to get root on it currently...
Thanks
twerg said:
Hi all, is that ok to flash on my current P9 L09C432B383 ?
The stock and pre-rooted boot.img states its form .378 but would it be ok on .383?
I dont know how to get root on it currently...
Thanks
Click to expand...
Click to collapse
https://forum.xda-developers.com/p9/development/root-supersu-2-81-emui-5-t3612258
flash this, V3 is the version i would suggest.

Magisk — Invalid Uri / Installation failed

Hi,
I am running Magisk 16.0 on my OnePlus 3. I would like to install my modules via the manager, but I always get that error. What's there to be done? Thanx.
AlexBurnout77 said:
Hi,
I am running Magisk 16.0 on my OnePlus 3. I would like to install my modules via the manager, but I always get that error. What's there to be done? Thanx.
Click to expand...
Click to collapse
Latest magisk is 17.2 version so it seems you need to update it

Update Magisk 17.1 to 18.1?

I currently have Magisk 17.1 installed and when I open Magisk manager I am notified about the new update to Magisk manager v7.0.0. When I update to the new manager and try to open it I am told that it came open because Magisk is below v18.0.
My question is what is the best/safest way of updating to 18.0/18.1 from 17.1? I don't have TWRP installed currently. Do I need to uninstall Magisk, patch a system.img with the latest version (18.1), then reinstall that way? Supposedly you can easily go from 18.0 to 18.1 but I haven't found any straight forward answers to go from 17.x to 18.x.
Thanks for any help

How to root pixel4a with lineageos?

I see the magisk method but it require boot.img, something that lineageos doesn't have. Any clue?
Thanks.
BWRainbow said:
I see the magisk method but it require boot.img, something that lineageos doesn't have. Any clue?
Thanks.
Click to expand...
Click to collapse
With lineage, the 'recovery' image is the boot.img. It's just the boot image with lineage recovery 'injected' into it. You can use it and inject magisk.
I think the better way to do that though is to adb sideload the magisk apk, but you first have to rename the 'magiskxxx.apk' to 'magiskxxx.zip'. Doing it that way will also add a needed script file to the lineage system, so that when u do a lineage update, magisk and it's modules will be in the updated slot.
cheers

Help with granting root access?

I have seemingly done everything that's needed to have a functioning nethunter kernel on top of lineage os 18.1 - My oneplus one starts up with kali nethunter -
On the Nethunter Startup notification, it states ROOT: No root access is granted. Also when I click on the nethunter app, it says no root access...
I used the SuperSu.zip and flashed using twrp and it said everything went fine....i think I am missing something between using SuperSu or flashing magisk.
Can someone enlighten me?

Categories

Resources