yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] ElfinJNoty:
I am running H811 3/10 build. One thing people may not realize is that you have to go into Magisk Manager application and enable root for apps under settings. By default, my setting was set to ADB only after a fresh install.

I updated Magisk Manager to the latest version via play store. The Magisk app is reporting a CTS mismatch and is not passing SafetyNet.

Snapchat would not let me login until I disabled root in Magisk Manager under settings. Then Snapchat allowed login. CTS Mismatch still though.

I am confused why the switch was made by RR to Magisk if it doesn't accomplish this purpose.

I attempted to install the latest Viper4Arise SwanSong Aroma and after reboot, this did not work. The V4A app would fail to install the audio driver. If someone who has accomplished this successfully would please describe how they accomplished it, step by step, that would be wonderful. I tried to install the Magisk module, but it did not help, and the module version does not match any of the available V4Arise downloads.

Battery life has been pretty darn good for me. I had over 4 hours screen on time today, and did a good deal of browsing, FB, YouTube, and calls/sms via Google voice and the phones own phone/messaging apps.

One thing I noticed is that the phone sits at the boot splash screen for a while before starting the boot animation. And then the boot animation is rather quick compared to previous versions of the ROM. Long enough that it scares me each time that I'm in a boot loop(I am on my 4th G4 after others experienced HW defect).

Thanks to Tyler for the builds, have not messed with kernel at all and things are running fast and smoothly. The ROM optimizations really show.
[G4 Android Development] ElfinJNoty:
Forgot this
[G4 Android Development] tylerdurden:
Hi.

Try to hide Magisk (in Magisk settings) and reboot phone. Then SafetyNet check should pass.
[G4 Android Development] ElfinJNoty:
I believe I already had this configuration... Have had that ticked and have rebooted.
[G4 Android Development] besotsima:
Hi guys

I have a problem - when I'm recording video by the default camera app and set for example screen off time on 30 sec, it turns off screen and the stops recording.

Anyway to fix this?
[G4 Android Development] Minto107:
I guess it's more depending on camera app that you use. I don't have that issue with pixel camera
[G4 Android Development] ElfinJNoty:
Just saw a notification for new version available

Tyler, can you give any hints as to anything changed in the ROM regarding Magisk and CTS mismatch?

Was hoping for an official "new build available" post prior to getting my hands dirty with it
[G4 Android Development] Minto107:
@up 99% nothing has changed as magisk works as it should, it's problem on your side. You might have modified something.

Does anyone have this problem with substratum? I don't remember it to happen before. Reboot didn't work. Any ideas?
[G4 Android Development] besotsima:
I have problem with default camera app comes with the ROM.
[G4 Android Development] ntnlzr:
use opencamera or other cam with api2 enable
[G4 Android Development] ElfinJNoty:
I have done clean installs 3 times now, and CTS mismatch Everytime. No other mods. Using included kernel. No SafetyNet pass on initial boot, after 1st reboot, after enabling hide Magisk.... 1 app installed and nothing else modified, only Snapchat, does not allow login and SafetyNet fail

Could it have something to do with the gapps package being used? Can someone who has no issues using Magisk on latest build describe their install process please including what gapps package and any settings enabled
[G4 Android Development] kessaras:
gapps can't cause cts mismatch. the whole security thing came originally from google.

ask in magisk. as you see people don't know why this happen, otherwise someone would have answered to you since yesterday.

also i have the same problem here , but i'm not using anything that needs the safetynet pass.
[G4 Android Development] jeffnnc:
I flashed the March 14th build and this time it kept root unlike the March 10th build.

I've clicked hide Magisk in Magisk settings and rebooted multiple times and SafetyNet check still does not pass.

At least everything else is working this time. I'll live without SafetyNet. It's not something I absolutely must have.
[G4 Android Development] =dgim=:
I've dirty flashed latest, 14.03, build over 25.02, and similalry as 10.03 - I don't have root, installing supersu (2.78 and 2.79) via twrp get me bootlop and I cant install binary after installing supersu via google play. Hm.

Default camera app still crashes... I restored to 25.02. Eh.
[G4 Android Development] Minto107:
There is only magisk root. If you want to use it you have to open magisk manager and enable root, flashing supersu will definitely brick your device as kernel is already patched for magisk
[G4 Android Development] =dgim=:
Ok, thanks for this.

So, If default camera app will be OK - I'll flash again some newest release.
[G4 Android Development] Minto107:
Default camera app? What's wrong with it? :D for me it always worked okay, it's not LG Optimus UX level but still acceptable
[G4 Android Development] =dgim=:
When I want to change default mode from auto (icon on upper right corner) to, for example HDR mode, app has crash, every time. I have this issue on Official RR 5.8.2 and Unoficcial too (march releases).
[G4 Android Development] Minto107:
I don't have HDR function at all ;)
[G4 Android Development] gioxoid:
Magisk root should work as SuperSU?
[G4 Android Development] Diatomix98:
Having that problem as well. Tried everything I could yet couldnt solve it. Freaking annoying.
[G4 Android Development] Minto107:
It works as SuperSU and it's better as SuperSU is more of crap ware now than proper root management app

Did you enable magisk hide in settings?

Wysłane z mojego Lenovo TAB S8-50LC przy użyciu Tapatalka
[G4 Android Development] ElfinJNoty:
Guys... Substratum will detect if root is present and act accordingly. The newest versions simply do not require root privileges. If you are having issues, need to clear theme cache. Then clear the app data. Make sure you are on latest version via playstore. You want it so when you open it, it will put you through the initial app launch welcome screen. Uninstall any overlays and themes prior.

Or... Do a clean install. I haven't had a single issue with substratum after a clean install.

CTS mismatches..... I am still asking for someone who is not seeing a SafetyNet fail to report what device they have, installation process, and options/configuration they have in place to verify this is not a device specific thing or something user related. I am aware that many times are having issues with Magisk and SafetyNet, I am trying to figure out some things for my personal device(h811) as well as with my BlissRom Team members. We currently do not have a build for the G4, so I happily use this wonderful RR flavor by Tyler. But I'm not just *****ing about SafetyNet not working, trying to gather some information towards efforts to resolve it. Thanks
[G4 Android Development] Minto107:
Yeah I figured that out(substratum). I don't know why you get CTS mismatch... Works well on my side. Do you use stock kernel?

---------- Post added at 10:40 PM ---------- Previous post was at 10:36 PM ----------

I've got little feature request for (maybe) next build. Have you thought of making system f2fs? It will increase performance even more ;) what kind of difference we're talking about? Well about difference between OnePlus 3 and 3T. They have SD820 and 821 yeah but it gives about 2% power increase and rest is that file system has changed from EXT4 to f2fs ;) according that our kernel supports f2fs(I guess it does, will check that to be sure) we can give it a try ;)
[G4 Android Development] jeffnnc:
Ok. Now I've lost root again and I didn't change anything. It was working all day yesterday with no problem. This morning I tried to open adaway and it told me I didn't have root. This is what I get when I open magisk manager.
[G4 Android Development] ElfinJNoty:
[MENTION=5387684]Minto107[/MENTION] yes, using stock kernel
[G4 Android Development] theslam08:
Actually F2FS works great on this ROM as is.

TWRP (3.0.2.2 B5) will only format Data (wipes internal SD) and cache as F2FS but I find it does seems to be a bit smoother than EXT4.
[G4 Android Development] tylerdurden:
F2FS:

Here you can find Benchmarks F2FS vx. EXT4

https://xdaforums.com/showthread.php?t=2697069

F2FS has a way better write-performance compared to EXT4, but the system isn't permanently writing on its partition.

I'm not really sure if it's possible to use /system with F2FS, but I don't think it will give us better performance.

It's possible to format /data and /cache with F2FS (I'm using it), so you'll should get better performance by changing those partitions.

I'm quite happy with that configuration.

Magisk, root, SafetyNet:

Until Magisk was introduced by RR I never heard of it.

But since we have it, I've no Probs with root or SafetyNet.

(Of course I'm installing every update I'm publishing. I'm not really sure, but my last clean install should have been more than 3 months ago.)

I'm using the this ROM with recommended GApps (watch first post) and that's it. No tweaks, add-ons or whatever.

Because I own a h815 I can't say if something is different to the h811 variant but some of you h811 users are able to use it like me, I think. Correct?

Maybe you should deactivate USB debugging and test again.

.
[G4 Android Development] jeffnnc:
I'm using h811 and only flashed the ROM and stock gapps. No other ROM tweaks or add-ons. The only apps I use that really need Root are AdAway and Greenify. Deactivating USB debugging and rebooting had no effect.
[G4 Android Development] tylerdurden:
Try to install 03/07 version, you should have root

...then make an update to current version.

Other h811 users have same probs? (no root and/or no safetynet)

EDIT: Did you updated Magisk? I'm on 170308, not on 170312
[G4 Android Development] jeffnnc:
That's what I did after I lost root from the 3/10 update. I went back to the 3/07 build, everything worked fine, then I updated to the current build when it came out. It worked fine for one day, minus not passing safetynet check. This morning when I tried to update AdAway it told me I didn't have root access. Maybe it's just time to do a clean flash instead of a dirty flash.

Edit:

I did update magisk after it didn't pass the safetynet check to see if that would fix it. It didn't help but I still had root access and it worked all day yesterday. The problem started overnight at some point.
[G4 Android Development] waseemmayaa:
I'm on 03/14 build (latest), i have root enabled, don't know about safety net. See screenshots.

P.S: magisk updated, and dirty flashed.

View attachment 4077260http://cloud.tapatalk.com/s/58cad11a157ef/Screenshot_20170316-225128.png?
[G4 Android Development] tylerdurden:
You enabled "Hide Magisk" and reboot?

...I think it's time for a new update. Will be up in 2-3 hours, I'll clean the build cache so nothing should go wrong.
[G4 Android Development] jeffnnc:
Yes I enabled hide magisk and rebooted.
[G4 Android Development] ElfinJNoty:
tyler.... are you signing the builds with test keys?
[G4 Android Development] jeffnnc:
Just flashed the 3/16 update and I have Root again but it still won't pass safetynet check. Let's see if I still have Root access in the morning. If not I'll do a full wipe and clean flash.

Edit: I didn't even have to wait until tomorrow morning. I was about to go to bed and opened magisk manager and it says I'm not rooted.
[G4 Android Development] tylerdurden:
Finally it should now work out of the box.

I updated Magisk inside ROM to the latest Version.

After install you maybe have to reboot twice to get root to work.

Everyone who has problems getting root, please try latest Version and give a short info. Thanks.

.
[G4 Android Development] jeffnnc:
Just flashed the 3/17 build and it seems to be working. It did take 2 reboots to get Root to work. Safetynet still doesn't work but I'm ok with that.
[G4 Android Development] trueiceman:
https://www.xda-developers.com/lg-sued-lg-g4-lg-v10-bootloop-issues/
[G4 Android Development] jeffnnc:
I've lost Root again. I haven't installed anything or changed any settings on the phone at all. It worked all day with no problems. I just decided to open magisk manager and this is what I'm getting.

Edit: after 2 reboots I now have Root working again. Maybe something is going on after the phone has been running for a few hours that causes it to lose root. Every time this has happened it's been after the phone hasn't been restarted for a few hours. I'll check again in the morning to see if it has lost root again and if it has I'll reboot a couple of times to see if it fixes it again.
[G4 Android Development] grinch247:
Clean install 3/17

3/18 lost root
[G4 Android Development] jeffnnc:
I lost Root again earlier today too but rebooting twice fixed it. It seems to work fine for 8-10 hours at a time, then it requires rebooting twice. Once never works.
[G4 Android Development] grinch247:
Just baffles me how this occurs
[G4 Android Development] grinch247:
Root is back lol
[G4 Android Development] Minto107:
A little update on my battery drain problem. It was bootloader fault. Updating to V20L fixed battery drain problems, now everything is back to perfect ??

---------- Post added at 10:20 AM ---------- Previous post was at 10:14 AM ----------

Sorry for late reply, my battery died when I was replying :D

Thanks for reply, I really appreciate that you consider all of our ideas. I didn't know our kernel supports F2FS natively and that it will require some changes ;) I will try to wipe my partitions change to F2FS and flash them back(curious if it will work now, tried few years ago, it didn't want to restore EXT4 to F2FS) again thanks for the reply ;)
[G4 Android Development] StackOverflow13:
Just a quick question, has anyone else noticed poor call audio quality? Everything else works flwlessly for me, root, camera etc.

If someone does have any tips for improving call quality I'd be very grateful if you could share. TIA

Special thanks to tylerdurden for a great ROM.
[G4 Android Development] Minto107:
Yeah it's much worse than on stock but I don't think we can do anything about it :(
[G4 Android Development] StackOverflow13:
Yep thought so it's a really shame, particularly since it's primary purpose is to be a phone
[G4 Android Development] Minto107:
It still works okay, I can live with it and worse camera. But smoothness, battery life and new features makes me stay on RR it's funny because till now I couldn't resist going back to OEM firmware. LG is that bad that I'm staying as far as it's possible :D TouchWiz or HTC Sense, even on older android version than RR/LOS made me going back BUTG UX doesn't... I dont know why :P
[G4 Android Development] ElfinJNoty:
Okay.... So in theory.... [MENTION=3049890]tylerdurden[/MENTION]

Could CTS mismatch be due to mismatching signatures between vendor and kernel?

I'm still yet to get requested details from users who have successful safety net pass with magisk
[G4 Android Development] Minto107:
What do you need? :) my safetynet passes every time I'm doing it ;)
[G4 Android Development] kessaras:
LMAO

yeah right. you and only 10 or 20 more people in the whole world :D

SafetyNet maybe hates Greeks and many more :D

Even after a clean install with nothing installed i can't pass that crap safetynet check.... and the same goes for many people.
[G4 Android Development] ElfinJNoty:
Need to know which model G4 you have, which kernel you are using, what if any mods, which gapps, which firmware you are running.... And WHY you have success when so many other do not lol
[G4 Android Development] SeewolfPK:
I do not know for what i need SafetyNet but when I check via Magisk 11.6 I get CTS profile mismatch.

SafetyNet did not work on my phone H815.
[G4 Android Development] tylerdurden:
I really don't know what's the problem why some of you will not get SafetyNet running.

By looking into Google+ it seems that many have problems even on other phones.

To get Magisk fully working, I need 3 reboots after every install. But after that everything works fine, even after later reboots.

I'm not signing my builds seperately, but as it works on other phones too, it seems not to be the case why your problems exists.

Is Magisk working for you with official RR ROM?

.
[G4 Android Development] Minto107:
I'm using H815 variant. Using Open gapps nexus version, stock kernel(that came with ROM, Llama Sweet based I think :P) the only mod I'm using is ARISE Sound with Arise4Magisk and Viper4android magisk module. I think I'm still on v20g-EUR-XXX UK open bootloader or V20L-OPT2(as Genesis rom, I gave it a try but I hated it). I also had problem with safetynet but I switched something in magisk settings and it started to work. I will post screenshot of settings page in a minute ;)

Wysłane z mojego Lenovo TAB S8-50LC przy użyciu Tapatalka
[G4 Android Development] Minto107:
Here are screenies ;)
[G4 Android Development] SeewolfPK:
3 reboots did change nothing

Will not test, because i did not miss SafetyNet
[G4 Android Development] ElfinJNoty:
Is your SELinux permissive or enforcing?

Also, side note.... Which version Arise and which version of it's Magisk module have you installed?

I believe only h815 users have had success with SafetyNet pass. Which is again [MENTION=3049890]tylerdurden[/MENTION] why I think there may be a signature mismatch between kernel and vendor causing the CTS mismatch
[G4 Android Development] tylerdurden:
Did you ever tried to use official RR?

You could also try to flash boot.img from official RR or Lineage (should be the same)

And you know: make a nandroid before ;)
[G4 Android Development] jeffnnc:
I've flashed the latest update and now I can't keep root for more than an hour. Sometimes it takes more than 2 reboots to get root back. Once it took 6 times. Still no safetynet.

I've tried Selinux with enforcing and permissive and it doesn't make any difference. Is there any way I can remove magisk and go back to SuperSU?
[G4 Android Development] HorstiG:
I uninstalled Magisk, reflashed the boot.img and then SuperSU

The ROM runs perfectly.

Best ROM for my G4, thank you

---------- Post added at 04:01 ---------- Previous post was at 03:56 ----------

Flash the Magisk unistaller zip, take the boot.img from the ROM zip, flash it (change in TWRP to img flashing) and than SuperSU.

After rebooting go to system/app/magisk and delete the Folder.

Go back to TWRP and wipe cache and Dalvik (ART), thats all.

Magisk uninstaller

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

SuperSU 2.79 sr3

https://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
[G4 Android Development] kessaras:
That's a NO. We have zero success. Only Minto.

I don't know what's going on with that crap safetynet. Last time i tried to get it, i used fastboot erase to clean everything and flash a rom, then again erase and flash another rom, etc. I never passed that crap.
[G4 Android Development] Minto107:
I'm using enforcing selinux
[G4 Android Development] Headlamp:
Thats a no. I Flash dirty and it works 100% after first reboot View attachment 4084309

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] kessaras:
good for you.... -_-
[G4 Android Development] tylerdurden:
Come on everybody, make some tests.

Like HorstiG mentioned take the boot.img out of the ROM .zip file and flash that via TWRP.

Then you shouldn't have root access anymore.

Maybe it's also necessary to remove everything from Magisk.

There are SafetyNet Tools in PlayStore to check if it will pass.

If so reinstall Magisk via TWRP or SuperSU if you just want root.

Otherwise we wouldn't get a solutions for your problems.

.
[G4 Android Development] jeffnnc:
Ok this is what I've tried this morning with some success so far. I flashed the magisk uninstaller then flashed the boot.img from the ROM. Then I flashed the latest magisk 11.6 and wiped dalvik/cache. Rebooted and had root on the first boot. Still doesn't pass safetynet, but oh well. I'll see if it's able to keep root now instead of randomly losing it.

Edit: No luck. About an hour later I no longer have root.
[G4 Android Development] choice2rejoice:
Can someone explain why people talk about Magisk 11 when my version is 170322?
[G4 Android Development] tylerdurden:
.

Please note my newest edit in post #3 regarding Magisk.

.
[G4 Android Development] Minto107:
Well that's weird... I rebooted my phone and my safetynet fails the test... Will do some further testing about this...
[G4 Android Development] Brandon9231:
Can anyone check if airplane mode just breaks your internet until you reboot? I turned it on and once I turned it off I had "x"s on the data/wifi icons and my wifi (on full bars) just said "connected, no internet". This always happens for a few seconds after turning my wifi back on so I don't worry....took an hour nap and woke up to no internet still. Soft reboot did nothing, just full reboot brought everything back to normal.
[G4 Android Development] Minto107:
Works fine on H815

Wysłane z mojego Lenovo TAB S8-50LC przy użyciu Tapatalka
[G4 Android Development] Brandon9231:
Weird...It's not doing it for me anymore either. It had happened twice in a row before posting and now nothing happens :confused:
[G4 Android Development] HorstiG:
No Problems

View attachment 4086332
[G4 Android Development] waseemmayaa:
Oh my god. ?

How did you set it up like this?

Wait I'll text you in pm.
[G4 Android Development] darkstreets:
The same question was crossing my mind [emoji1]

Tell us how you achieved that?
[G4 Android Development] HorstiG:
That is KLWP Custom Live Wallpaper from Store
[G4 Android Development] popy2006:
Hey guys, have received my repaired g4 and now i am back in buisiness :D

Just a little question, on older builds there was an lockscreen issue where it freezes when pattern lock was activated (or similar issue).

Are the lockscreen issues solved on the newest builds?

thx

pOpY
[G4 Android Development] ElfinJNoty:
I have attempted to flash official and am seeing the same results as previously reported with CTS mismatch and failing SafetyNet. The official builds use a cm based kernel from what Erwan told me.

This leads to the idea that there is an issue upstream, and again points to an issue in the vendor files and/or a signature mismatch somewhere in the build process
[G4 Android Development] Minto107:
It can't be as it worked for me. Kernel isn't a problem
[G4 Android Development] ElfinJNoty:
Into, I believe ya. Your screenshots speak for yourself. However, you are one of maybe a handful of users who have reported things to be working correctly. And you have an h815 variant. You haven't described anything during installation that is different or useful in comparison to us that don't have things working as intended.

H811 kernel is different slightly than the h815. It is not a matter of the kernel not working, but in some way something is triggering a non passing SafetyNet check.
[G4 Android Development] Minto107:
I always forget you have tmo variant. Tyler what is the base of 811 kernel? I think 815s is based on Llama Sweet right?
[G4 Android Development] HorstiG:
I have SystemUI crash after dirty flashing

View attachment 4087443
[G4 Android Development] Sartharon:
I'm using this rom since a few days now and am very very happy with it. No reboots and super fast. Though i found some minot issues:

- The weather on lockscreen and nav-bar doesn't update. Even though I disabled it and reenabled it. I did change the update interval too no difference. It only updates when changing the interval setting and that's it.

- second sometimes after a reboot the weather on both lockscreen and navbar are disabled and I need to reenabled it again.

I'm coming from stock rom and did a clean install even used fastboot erase cache and boot. In case you need a logcat or something else let me know it
[G4 Android Development] StackOverflow13:
yep me too

I'm getting FC with all browsers too. Dirty flashed too. First time evr with this rom. Latest update. reverted to last revision