yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] daktary:
hello,

I'm using aosip since 1 year and no specific problem excepted magisk safetynet no passed (ctsProfile:false)

I tried many tips resulting in camera crash or worse results (basicintegrity:false) (props editing or installing some modules)

Any bank apps refused to work probably after detecting root.

Do you have a solution to pass the security check, specifically with this custom rom?

Thx for detailled infos I'm a basic user...
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] manjaroid:
Have you tried the MagiskHide Props Config module?

https://xdaforums.com/apps/magisk/module-magiskhide-props-config-t3789228
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Shanta1111:
try using magiskhide props config, and choose moto g6 fingerprint for this rom, it works, if basic integrity fails, try re installing magisk and in magisk settings choose to hide magisk manager with different name.

simply use magisk hide and select the apps you dont want to know your device is rooted after you pass safteynet test, may work without passing but hadn't tried it
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Coleby:
Found the issue (probably)

I think I have found the solution to my problem. The hard freezes I'm getting seems to have stopped after changing the renderer from OpenGL Skia variant to the regular OpenGL driver. So far I had no issues after changing. Looks like something is wrong with the Skia renderer. Also, with the Skia renderer I was having some overheating issues which seems to have stopped as well after going back to the regular OpenGL renderer.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Entodoays:
Does Wi-Fi Direct work on this ROM?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] daktary:
"Try using magiskhide props config, and choose moto g6 fingerprint for this rom, it works"

Yes I would like to, but don't know how...

I used Termux to edit props but after what to do? All my tests failed after creating ro.*** values and list of fingerprints don't seems selectable

Thx for detailled steps

Edit: ok turned termux option 1 (device fingerprint) to g6+, and option 2 (basic key) enabled to g6+ too, ctsprofile finally green, but banking apps failed again...

Are my 2 values correctly changed???
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Igor Warneck:
Has anybody the link to the flashable Asus Camera?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] CMKdaGreatest:
https://www.androidfilehost.com/?fid=11410963190603890117

For ARM64 only, if you want I can share the ARM link too. Credits to [MENTION=7201331]Deivid_21[/MENTION]
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] gDR43:
+1

There's a bit lag in UI when night light is ON. I don't know whether other devices have this issue but xt1643 has. I could get the logs if the issue is device specific.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
It's present in all variants of athene and in all pie roms with night light.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
Weather on lockscreen feature is present, check somewhere in owl's nest lockscreen tweaks. However sometimes it doesn't work or may take time to show up. Try with high accuracy for location. For brightness, as a temporary workaround if you have ex kernel manager you can enable backlight dimmer toggle. I'll look into this later.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Tanishqsk:
Is whatsapp camera working...??

And also the text selection from recents..??
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Skippy12359:
Removed
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Igor Warneck:
Found a working camera

Im wondering why, but it works, without the nice green pics :)

Mi X Camera - MI 10 Camera + / PlayStore

Flash isn't syncing. Camera no crashes. All other cams I testet, crashed.

I'm confused ...
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
Time for a quick cosmetic update

/* New build added */

AOSiP-9.0-Pizza-athene-20190116

Fixed and improved charging info on lock screen (thanks [MENTION=5740993]jer194[/MENTION] for the feedback)

Removed status and nav bar edge paddings.

Fixed whatsapp video call (whatsapp camera still doesn't work)

Always on display is now disabled by default to avoid battery consumption. Users can still enable it if they want.

Updated Gallery app.

Download link updated in OP. The build can be dirty flashed, in case of any issues do a clean flash before reporting.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] lCrD512:
Try asus camera form post #22 above.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Igor Warneck:
Sorry, wrong thread ... uuups
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] yashvone:
i have been using arrow os for about 2 months now, was super good in the beginning but a later update made the phone very laggy but was fixed later. However it started lagging again but it was an issue with Youtube Vanced module installed via magisk.

Still it's a bit choppy sometimes..maybe it's just my device. Everyone seems to have a smooth experience..downloading this one now. Didn't think to leave arrow os but this one looks promising by the comments so far
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Deivid_21:
Credits to [MENTION=8138444]sebastian3567HD[/MENTION]
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] alvintimothyjr:
I attempted to change the screen density in build prop. Unfortunately, the values will not save. Is this an Android 9 barrier? Great ROM. And I appreciate your efforts on on loony as well.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jer194:
Exactly the way it should be, thanks a lot! :good:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Sauravco:
Charging while switch off

Plz add new Motorola Charging screen while phone is in charging mode and switched off. Also if possible add Moto actions and display and add Moto help app
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] yashvone:
I'm having an issue with the dark theme, it automatically keeps switching to it. I had same issue with arrow os 9.0

Also, when using pixel launcher with dark theme it has white font on white background in app drawer and home settings... Impossible to read
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Sauravco:
My Jio volte not working

Jio voice call doesn't work
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] krunalshah68:
Can we dirty flash it over arrow?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] tyratron:
No
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] manjaroid:
Is Busybox installed? If a Busybox package isn't already installed just install a Magisk module called Busybox for Android NDK.

You might try a Pie fingerprint for Pixel 2.

There's no guarantee your banking app will be fooled by MagiskHide even with basicintegrity and ctsProfile true. As long as SafetyNet is passing you've already given it your best shot and the only other option for getting this particular app to work is to use it on an un-rooted phone with a locked bootloader.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] daktary:
Thx for suggestions

I currently run with pixel2 9.0 as fingerprint, and basic key disabled

The 2 checks are green but bank apps still failed

So probably nothing to do

F* security policy... (On a PC with cracked OS and without antivirus they don't react...)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Coleby:
Update: It didn't solve my problem, but the hard freezes became less frequent. Still a problem, though. And I don't even know what to do anymore. Clean flash, use of an older build, even returning to Stock and going back to AOSiP. Nothing is stopping these hard freezes.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] manjaroid:
Not all secured apps will work on modified phones and banking apps are the most fickle of all.

As a last resort, and if the app came from Play Store, try removing all traces of it and reinstall later. Make sure the app is installed only once Play Store has certified the phone (see Play Protect certification in Settings menu). When SafetyNet isn't passing Play Store won't certify the phone. Once SafetyNet is passing it takes a while for 'Device is certified' to show up in Google Play's settings menu. In Android settings, clearing cache and storage for both Google Play services and Google Play Store will refresh your app inventory and should speed up the process.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] daktary:
Indeed the Play Protect of my play store app detects Root Explorer (not from Play store...) as a dangerous app, so I'll uninstalled it.

Play Protect check is now ok.

I reinstalled the 2 banking apps, ticked in magiskhide, but same result, doesn't work.

I'm not sure that it's intentional, because same bank variant apps of other countries have no problem
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jer194:
New build: AOSiP-9.0.0_r60-Pizza-athene-20200923-arm64-userdebug-SP200905.zip

- AOSiP / LOS source updates

- Security patches up to 2020-09-05:

AOSiP version_defaults.mk:

Bump Security String to 2020-09-05

Implemented:
============
CVE: References: Type: Severity: Updated AOSP versions:
CVE-2020-0074 A-146204120 EoP High 8.0, 8.1, 9, 10
CVE-2020-0379 A-150156492 ID High 8.0, 8.1, 9, 10
CVE-2020-0380 A-146398979 RCE Critical 8.0, 8.1, 9, 10
CVE-2020-0381 A-150159669 ID High 8.0, 8.1, 9, 10
CVE-2020-0383 A-150160279 ID High 8.0, 8.1, 9, 10
CVE-2020-0384 A-150159906 ID High 8.0, 8.1, 9, 10
CVE-2020-0385 A-150160041 ID High 8.0, 8.1, 9, 10
CVE-2020-0386 A-155650356 EoP High 8.0, 8.1, 9, 10
CVE-2020-0391 A-158570769 EoP High 9, 10
CVE-2020-0392 A-150226608 EoP High 9, 10
CVE-2020-0393 A-154123412 ID High 9, 10
CVE-2020-0394 A-155648639 EoP High 8.0, 8.1, 9, 10
CVE-2020-0395 A-154124307 ID High 8.0, 8.1, 9, 10
CVE-2020-0396 A-155094269 ID Critical 8.0, 8.1, 9, 10
CVE-2020-0397 A-155092443 ID High 8.0, 8.1, 9, 10
CVE-2020-0399 A-153993591 ID High 8.0, 8.1, 9, 10
CVE-2020-0401 A-150857253 EoP High 8.0, 8.1, 9, 10

Previously Implemented:
=======================
CVE: References: Type: Severity: Updated AOSP versions:
CVE-2020-0245 A-152496149 ID High 10
RCE Critical 8.0, 8.1, 9

Not Implemented:
================
None

Not Applicable (platform source):
=================================
CVE: References: Type: Severity: Updated AOSP versions:
CVE-2020-0382 A-152944488 ID High 10
CVE-2020-0388 A-156123285 EoP High 10
CVE-2020-0389 A-156959408 ID High 10
CVE-2020-0390 A-157598026 ID High 10

Otherwise no changes.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] kk9999gada:
Awesome. Successfully upgraded from previous version. Clean Flashed System only.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] dariomtk:
I am pleasantly surprised that a new update has arrived for my favorite rom. It would be nice to see SELinux Switch.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] thakki:
Phone is stuck in Phone is starting loop. I am downgrading from Arrow 10 and done a system format. What could be the issue?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jer194:
There could be various reasons, eg Magisk incompatibility.

Try a clean flash, i.e. 'wipe data, cache, system' (backup boot, system, data before, if you want to go back).
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jer194:
The switch doesn't make sense in the current setup: the ROM is not ready for enforcing SELinux.

It can be easily tested, if root is enabled: 'setenforce 1' results in a non-responding ROM ...
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Les402:
Dual SIM support?

Hi, I am running the stock OPJ28.111-22, Security patch level: December 1, 2018.

This is a Moto G4 Plus XT1642, with dual SIM and I am using both. Just wondering...

Does AOSiP have good support for dual SIM use?

Can I configure which one to use for data?

Can I set which SIM different contacts should be called on, or easily choose when dialling?

I have read thru all the issues and solutions posted here, practiced using TWRP on an old spare phone, which I installed LOS on. I would like to get my G4 running something like that, but there doesn't seem to be much Lineage support for something this old. AOSiP is looking like a good choice, so I am planning to unlock my G4 and start the process.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jer194:
All good I'd say .. however, LOS receives at least monthly updates as well, for N, O, P, if you prefer LOS.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Scurzmann:
I get a recurrent self reboot issue. Is it just me, or a known bug in custom android 9/10 roms?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] daktary:
After installed Magisk v21.0, my banks apps works finally !!!!!! :laugh::laugh::laugh:
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jer194:
New builds: AOSiP-9.0.0_r61-Pizza-athene-20201022-arm64-userdebug-SP201005*.zip

- AOSiP / LOS source updates

- Security patches up to 2020-10-05, cf.AOSiP version_defaults.mk

- '-Deivid' version is based on https://github.com/Deivid21 (thanks to [MENTION=7201331]Deivid_21[/MENTION] for sharing his trees!)

And thanks to [MENTION=4450994]kk9999gada[/MENTION] for testing!
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] manjaroid:
No LOS camera in this build. Was there a problem with it?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jer194:
Both builds, or just 'Deivid' one?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] kk9999gada:
There are two builds.

One build that ends with name Deivid has Moto Camera. This is the first build that's based on Deivid's device tree.

And another build that ends with name Loony has Snap (LOS) Camera. It is based on Loonycrd's device tree. This is update to the regular build that jer194 has been releasing till now.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] manjaroid:
I installed the Deivid build. I noticed there were two new builds a day apart but didn't understand their differences.

---------- Post added at 04:19 PM ---------- Previous post was at 04:07 PM ----------

Interesting. I usually have both installed and get Moto camera from Play Store. Maybe I'll try the Loony build for that routine, but if there's no difference installing a suitable Snap apk for the Deivid build I'll just do that.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] kk9999gada:
Yes, Moto Camera can be downloaded on both. But, Loony build doesn't have Moto Camera inregrated. Whereas, Deivid build has Moto Camera integrated into ROM replacing Snap Camera.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] manjaroid:
I've seen complaints from Lineage users about the camera app but I think Snap on a G4 Plus produces crisp jpegs on parr with Moto Camera. They're both similar and although one camera app is enough, Snap has a few extra options and crashes less often, while Moto seems to have better stabilization with videos.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Shanta1111:
for deivid build, do i just dirty flash and clear cache?

i have the old build, non deivid
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] kk9999gada:
Dirty flash should be fine with wipe cache and dalvik cache. However, do a clean if you face any problems.

Apart from those, Camera differences in both builds that I mentioned in my previous posts. Both versions use different implementation of Moto Actions. In Loony build, it is located at Settings > System > Moto Actions. Whereas, in Deivid build it is at Settings > Moto Actions. This will get reset if you are switching builds, that is from Loony to Deivid or vice versa.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] leetripper:
I' running the looney build. There's no sound in videocalls with telegram.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jer194:
I asked somebody to check, it is ok for him.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] leetripper:
Found out, I had to activate "hey google" then it works. Would like to know the configuration of "somebody". Did he activate voice match also?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jer194:
New builds:

AOSiP-9.0.0_r62-Pizza-athene-20201109-arm64-userdebug-SP201105-Loony.zip

AOSiP-9.0.0_r62-Pizza-athene-20201109-arm64-userdebug-SP201105-Deivid.zip

- AOSP / AOSiP / LOS source updates

- Security patches up to 2020-11-05 (thanks to aoleary)

- 'Loony' and 'Deivid' version
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] jer194:
On behalf of @kk9999gada :

AOSiP arm64/arm (usual location):

* Based on ArrowOS device tree

* December, 2020 Security Patch

* Enable Airtel India VoLTE (Tested) (fsg modification no longer required)

* Enable Vodafone India VoLTE (Not Tested)

* Minor audio changes and Enable Dynamic Audio Processing

* Removed Changelog and Updater from Settings.

* Update Chromium Webview
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Entodoays:
I'm running SuperiorOS because it seemed to me the best Pie Arm32 build. Now I realise that this ROM is also available as an ARM32 build. I wanted to avoid ARM64 because my device has just 2 GB of RAM and I read that ARM64 builds use more RAM. I'm already running at 1.7 GB on average so I'm guessing that installing a 64-bit ROM would make the phone slower or suffer from random boots, etc. Correct me if I'm wrong.

My second question is, is it safe to dirty flash the ARM32 build of AOSiP over Superior OS (since they're both ARM32 builds and share a lot in common)?

Thirdly, will there be a Deivid ARM32 build? And is the only difference the camera and moto actions implementation?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] kk9999gada:
Practically, its not worth installing 64-Bit ROM on 2GB RAM device. The only advantage is that, with arm64 you get more compatible apps.

Secondly, never flash one ROM over another. You might get into serious trouble and lose data.

Thirdly, Deivid arm32 build won't be there because its difficult it maintain so many versions of same ROM at same time. Deivid's tree is based on ArrowOS device tree and my tree is also based on ArrowOS but modified according to my taste. So, there shouldn't be much difference except Moto Camera and Moto Actions.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Entodoays:
When I spoke of dirty flashing what I really meant was wiping system, cache and dalvik, but not data. In a dirty flash you don't erase system. I should have been more specific. Sorry for this. Would that work? I would like to avoid, if it is possible, to have to reconfigure every app that doesn't get reconfigured automatically when restoring the Google backup.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] kk9999gada:
Its ok, I got what you said in previous post. I replied keeping that mind. Wiping data is must when switching ROMs and also when switching architecture i.e. arm and arm64.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Master One:
Having two Moto G4 (XT1622 / athene) with stock Android 7.0 firmware, I now have to decide if going for AOSiP 9.0 or ArrowOS 10.

Is it still true with the latest AOSiP version that SELinux is disabled?

And what's up with the different download locations:

AOSiP-9.0.0_r63-Pizza-athene-20201214-arm64-userdebug-SP201205-kk9999gada.zip (Athene ROMs)

AOSiP-9.0-DerpFest-Final-athene-20201215.zip (Moto G⁴ | Global™)

Is the DerpFest version an arm64 build as well and what's the difference?
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Entodoays:
SELinux is permissive, at least in the ARM32 build that I'm using.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] kk9999gada:
Yes, SELinux is permissive in both arm and arm64 versions.

Both the versions are compiled and uploaded by different developers.

You can read about DerpFest here: https://github.com/DerpFest-Pie
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Master One:
I guess there is no easy way to find out what's the difference and which one to use? After all, both releases are just one day apart.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Shanta1111:
Can I dirty flash kk9999gada's version over the loony r61 version
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] manjaroid:
Since I started using AOSiP about a year ago, dirty flashing was typical for me and it usually worked out. But not after flashing r63 over r62 (Loony) and I ended up re-flashing clean. The problem was UI bugginess I've never seen before. I decided on a clean start after getting stuck in immersive mode with no apparent way of breaking out.

One difference I noticed with the more recent r63 ROM is the location of its webview.apk. Ordinarily it's in /system/app/webview but this lastest build is using /system/product/app/webview. This threw me off slightly when it came time to replace Chromium webview with Bromite.

So far so good and the r63 ARM64 build is working out really well.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Entodoays:
I prefer Moto Camera over snap. It is "snappier" (pun intended) in focusing and is easier to operate with one hand. Unfortunately the picture folder location is greyed out and cannot set it to save on the external SD card. Does anyone have a solution for this?

I haven't rooted my phone and do not intend to do so.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] manjaroid:
When you installed the SD card was it setup as portable or internal storage?

See this page about SD cards if you haven't already...

https://motorola-global-portal.custhelp.com/app/answers/indevice_detail/a_id/111333/p/30,6720,9686
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Entodoays:
My sd card is set up as portable storage.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] manjaroid:
Is the card recognized by other apps? If it's not recognized at all I remember reading something like this in one of the forums. The user powered down, removed the card and booted into recovery mode and deleted cache. Apparently after that and reinstalling the card it started working. Sorry, but that's my only idea aside from verifying the card works in other devices or trying a different card in the phone.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Entodoays:
The sd card works and is recognised by other apps. I even tried using a different sd card to no avail.
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Shanta1111:
So I got a problem,

I was previously using r61 loony, the performance was not great, heating issues etc, I think that was a cause of me tweaking the kernel too much.

I flashed the r63 yesterday 64bit btw, now the performance Is awesome, like godlike, games are much smoother, ui is also smoother etc

but, there are random reboots while general use like browsing reddit or youtube, the reboots were also there in previous versions but I flashed the "lk aio binder.zip" mentioned somewhere in this thread, the reboots stopped but performance was worse but don't take my word as I don't remember much

Also I speculate that the performance drop was due to the smartpack kernel manager, so I haven't installed it after flashing the latest version.

If you rom developers have an idea on how to fix this pls tell me, if you want I can give logcat
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] kk9999gada:
Flash this updated kernel on arm64. Performance will be better after flashing this.

lk_preempt.zip (arm64 only)
[Moto G4 Plus ROMs, Kernels, Recoveries, & Other De] Entodoays:
For the time being I worked around the issue by formatting the SD card as internal storage. That way photos are being saved on the SD card even though the Camera app doesn't recognise the SD card as such.