LineageOS 18.1 + Root + MicroG : Possible ? Or need to downgrade ? - Galaxy S 5 Q&A, Help & Troubleshooting

Hello everybody !
I'm a bit at loss with my phone, and I'd love some help. I've been reading threads for several hours, but couldn't find any solid answer.
My situation : I updated from LineageOS 16 + MicroG to LineageOS 18.1 using adb and TWRP. Once installed, I found out that there was no root access for apps on 18.1. I tried to install Magisk via TWRP to gain said root access, but I can't (due to the error `Cannot unmount /system` in TWRP). I tried various solutions from XDA or elsewhere to solve this, but none worked.
Because of this, I'm a bit stuck. Root access is essential for several apps that I use, and I'm starting to wonder if it's possible to have LineageOS 18.1 + MicroG + root access.
Did it work for any of you ? If so, how did you do it ? And if not, is there a safe way to come back to LineageOS 16 ?

Related

Lineage * SuperSU * can't update binaries

This is my installation process [last post is OK]
https://forum.xda-developers.com/galaxy-s5/help/wifi-problem-flashed-lineageos-t3576865
Below are screens from CATLOG [not full tho]
If I try to update binaries in TWRP it stops [nothing in TWRP logs about SU], restarts and stops during Lineage loading screen forever.
So I flash ROM again, and SuperSU from TWRP to fix it.
I was reading that after flashing SuperSU - during first restart it should ask me something like "DO you want to keep root" - it doesn't happen.
SuperSU has no apps listed with root access, but root is OK. TitaniumBackup works, but I'm afraid some of the apps doesn't work properly
Now I'm using
lineage-14.1-20170329-nightly-klte-signed.zip
addonsu-ARM-signed_14.1
SM-G900F
Is there a way to have it done?
I remember like trough a fod that once I was setting permissions in Terminal for some files before updating SU? AM I correct?
Thanks for reding
Hi,
With LineageOS, you must only use one root method otherwise problems will occur. The addonSU zip and SuperSU are not the same thing.
The provided root SU zip from Lineage should be enough to give root permissions for apps. If you want to use SuperSU instead of the SU provided by the Lineage team, you must not flash the addonSU zip.
Saber said:
Hi,
With LineageOS, you must only use one root method otherwise problems will occur. The addonSU zip and SuperSU are not the same thing.
The provided root SU zip from Lineage should be enough to give root permissions for apps. If you want to use SuperSU instead of the SU provided by the Lineage team, you must not flash the addonSU zip.
Click to expand...
Click to collapse
I have tried to flash everything and indeed only addonsu-ARM-signed_14.1 is working from TWRP level. Although SuperSU from APK is working OK [latest SR4].
So root seems to be fine for browsing into root or TB! is not complaining about root, but I can not update SU binary - I have also updated Lineage to today's nightly - same thing.
I've used an S4 with lineage and flashing supersu doesn't work. ONE app in particular will not work because the su part of lineage (and old cyanogenmod) doesn't cooperate; it needs supersu for some reason. I was originally on Cyanogenmod from about a year ago, and tried flashing supersu and had this very problem, which is why I tried lineage, but lineage doesn't work and I cannot flash supersu either. I can install from the play store, but it won't update the binary; flashing in recovery fails (in both older cyanogenmod and lineage os) at the boot image patcher step.
supersu 2.79 said:
Finding boot image
Boot image: /dev/block/mmcblk0p20
Extracting ramdisk
Decompressing ramdisk
Failure, aborting
Click to expand...
Click to collapse
The only reason I'm having to resort to this is because Samsung has a problem with their s7 screens failing and won't do a recall...so I'm having to use an older phone and trying to setup my rooted apps, all of which work with the standard Cyanogenmod root or lineage+su addon, except for one app.
EDIT:
Ah-ha, system mode may be the solution, but I'm still trying to get it to boot without getting stuck! I haven't tinkered with supersu in well over a year, and I didn't even know there were two methods for it now.
https://forum.xda-developers.com/apps/supersu/v2-64-2-66-supersu-mode-t3286120

Rooting issue

Is there any option to root my phone apart from SuperSU? Coz SuperSU gives some error. My sim card is not detecting after installing SuperSU. If I unroot sim card is working.i am using twrp harpia in Moto g4 play and lineage 14.1 rom 7.1.2 nougat.
mathantn said:
Is there any option to root my phone apart from SuperSU? Coz SuperSU gives some error. My sim card is not detecting after installing SuperSU. If I unroot sim card is working.i am using twrp harpia in Moto g4 play and lineage 14.1 rom 7.1.2 nougat.
Click to expand...
Click to collapse
Most Lineage builds come pre-rooted. Enable developer options and look for the root toggle. Might need a reboot to take effect.
Lineage must be compiled differently for SuperSU to work. The ROM builder will know if this was done.
Magisk is an alternative to SuperSU. I don't have experience with it on this device but it should work fine. You'll need to do a little reading to become familiar with the installation procedure.
Davey126 said:
Most Lineage builds come pre-rooted. Enable developer options and look for the root toggle. Might need a reboot to take effect.
Lineage must be compiled differently for SuperSU to work. The ROM builder will know if this was done.
Magisk is an alternative to SuperSU. I don't have experience with it on this device but it should work fine. You'll need to do a little reading to become familiar with the installation procedure.
Click to expand...
Click to collapse
Thanks bro. It worked

Installation of LineageOS without root

Dear all,
I just got an old V500 and I plan to install LineageOS which I already did for a couple of other devices. The main reason is the increased safety by having recent Android security patches.
Therefore, I want no rooted device. However, according to the install instructions (https://wiki.lineageos.org/devices/v500/install), the installation process of LineageOS for the V500 seems to require rooting.
This again works with the procedure given here (https://forum.xda-developers.com/lg-g-pad-83/general/guide-root-twrp-customrom-kot49i-v50020d-t2894277) and requires several downloads where even my Windows Defender warned me about downloading. So I am very skeptical and I have five questions:
Is rooting really needed to install LineageOS on the V500?
Will those files I have to download for rooting and opening the bootloader "survive" on the tablet, or are they only needed to "inject" TWRP and LineageOS? Can you guys confirm these files are not obviously malware?
Will the resulting LineageOS installation be rooted (if I do not install the optional ZIP for root)?
Will OTA updates for LineageOS work?
Is there a way using less downloaded stuff from pages offering me malware? So could I use a "more established" rooting tool (say, Kingo Root or something) and then download Flashify from the Play Store to install TWRP and LineageOS? Will that work as well?
Thanks for help!
root is dangerous!
Root is necessary to flash custom recovery.
There are different methods for root.
I chose the Stump method because it does not require an internet connection during root.
If you will be using an application that supports root, do not forget to set the PIN to access su.
Topster77 said:
Dear all,
I just got an old V500 and I plan to install LineageOS which I already did for a couple of other devices. The main reason is the increased safety by having recent Android security patches.
Therefore, I want no rooted device. However, according to the install instructions (https://wiki.lineageos.org/devices/v500/install), the installation process of LineageOS for the V500 seems to require rooting.
This again works with the procedure given here (https://forum.xda-developers.com/lg-g-pad-83/general/guide-root-twrp-customrom-kot49i-v50020d-t2894277) and requires several downloads where even my Windows Defender warned me about downloading. So I am very skeptical and I have five questions:
Is rooting really needed to install LineageOS on the V500?
Will those files I have to download for rooting and opening the bootloader "survive" on the tablet, or are they only needed to "inject" TWRP and LineageOS? Can you guys confirm these files are not obviously malware?
Will the resulting LineageOS installation be rooted (if I do not install the optional ZIP for root)?
Will OTA updates for LineageOS work?
Is there a way using less downloaded stuff from pages offering me malware? So could I use a "more established" rooting tool (say, Kingo Root or something) and then download Flashify from the Play Store to install TWRP and LineageOS? Will that work as well?
Thanks for help!
Click to expand...
Click to collapse
1, Yes.
2, Don't know.
3, No.
4, Yes.
5, Don't know.
ze7zez said:
Root is necessary to flash custom recovery.
There are different methods for root.
I chose the Stump method because it does not require an internet connection during root.
If you will be using an application that supports root, do not forget to set the PIN to access su.
Click to expand...
Click to collapse
Thank you, I was looking on how to root this tab, and stump method worked great on mine, fffiou

[HELP] - Unable to use Magisk 17.1 + A2017U B35 boot unlocked

Guys,
Anyone successful so far in setting up Magisk 17.1 on stock B35 A2017U + TWRP 3.2.1.0?
I tried following ways but everytime I flash the Magisk 17.1 using TWRP, it boot loops to recovery mode. I tried clearing Dalvik + cache everytime but in vain.
1. Install Magisk 5.9.1 -> uncheck encryption, uncheck "restore dm-verify" -> Boot into TWRP and flash Magisk 17.1 -> Clear Dalvik+Cache and Restart -> Recovery Bootloop.
2. Flash Super SU, Install Magisk 5.9.1 -> uncheck encryption, uncheck "restore dm-verify" -> Boot into TWRP and flash Magisk 17.1 -> Clear Dalvik+Cache and Restart -> Recovery Bootloop
I cannot use Super SU, blanket root due to bank & workplace apps security restrictions.
Any help/guidance will be is appreciated.
Cheers
Any reason you need 17.1? If there's no pressing need go with something like 16.4. Seems to work better for some folks.
marcdw said:
Any reason you need 17.1? If there's no pressing need go with something like 16.4. Seems to work better for some folks.
Click to expand...
Click to collapse
Thanks.
Thinking of trying with v16.7 first. If that works then great.
mandrax.prime said:
Thanks.
Thinking of trying with v16.7 first. If that works then great.
Click to expand...
Click to collapse
it does. i'm staying on 16.7
It would be nice to always have a working version of Magisk as Google updates their Safety Net. We have to update as they update.
I ran into problems today with Magisk 18.1 on the latest official LineageOS 15.1, nothing I did was able to get magisk to work (no icon, no error messages).
Has anyone else tried?
Magisk should work fine on LOS, I use it (Magisk) when I have to (i.e. when there is a particular use for it, like converting a systemless mod to a system-installed mod).
On B35, no go, phone will bootloop. Magisk should work fine on stock ROMs up to B15 N, maybe also with the B25 and B32 OTAs too. I'm not a ZTE stock ROM fan, I dont spend alot of time rooting stock, but from the few tests I did,those were my results.
If you have an exFAT SD card, installing Magisk on stock ROM may make your SD falsely show up as corrupt, only solution is to use the inferior/antiquated FAT32 filesystem.
Maybe one day I'll write my own open source root solution, just to show the Android community that Magisk isnt the only game in town for rooting modern ROMs on modern devices. I dont need to hide from SafetyNet, I dont need stupid systemless mods, I just need root that work reliably. I know this will fall on deaf ears, but Magisk is more trouble than it's worth, I'd recommend staying unrooted instead of using it. @topjohnwu is a genius and means well, I'm sure, but in the real world Magisk just isnt reliable enough.
I tried Magisk 17.3, 18.0, and 18.1 on Axon 7 B19 and B35- bootloop on every try

Safetynet-fix : Oneplus 6t + LineageOS 19.1 + MindTheGaaps + Magisk

Hello,
It took me some time but I finally did it. I upgraded from Stock to LIneageOS latest version (Android 12L).
It took me some time because I think there was a problem during installation. Each time I installed, Google Play could not connect to wifi.
I followed the officila guide from Lineage : https://wiki.lineageos.org/devices/fajita/install
I suggest you do the same.
After the installation - here is the trick - you need to start and run Lineage OS on your phone.
Then reboot the phone to recovery (press Power + Volume Down during boot for 5 seconds)
Do a Reset of the data - This is the second trick and not explained in the official guide.
Go back to the ADB SIDELOAD and install the latest MindTheGapps : https://wiki.lineageos.org/gapps
Restart and run lineageOS and check that everything is fine.
Now go back to recovery mode and you can install Magisk. https://github.com/topjohnwu/Magisk
(Tip: You can rename the APK to ZIP to install it).
Problem : Safety Net is not passing. I tried everything (installing the safetynet-fix and the MagiskHidePropsConf. No Success! :-(
Good luck
OK. I gave up on the original LineageOS for Android 12.
I installed https://forum.xda-developers.com/t/...-6t-gapps-ota-updates-safetynet-twrp.4494053/
like you would install the default Lineage OS.
Then I booted and it was passing the SafetyNet which is normal as it is not rooted.
TWRP becomes the new bootloader. I
After that I booted back in TWRP tADB SIDELOAD to load the latest Magisk.
I booted and was hiding Magisk and activated Zygisk. I also Enforce deny List and Configure it to Google Play and Google Wallet.
After a reboot it still passes SafetyNet.
SUCCESS!
I just noted that because google recognize the phone as a NEXUS. Surelly because the SAFETY NET is spoofed by the ROM. Not sure of the implications of that!

Categories

Resources