yashsingh1/xdaforums huggingface dataset:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Arda Süzen:
crDroid Android

[IMG="1"]https://i.imgur.com/96zGdh9.jpg[/IMG]​

*** Disclaimer
I am not responsible for any damage you made to your device
You have been warned

crDroid is designed to increase performance and reliability over stock Android for your device also attempting to bringing many of the best features existent today​

Features

:

Click for feature list

Changelog

:

April 28th, 2020

Initial first release.

Merged with latest crDroid sources.

Latest 5 April 2020 Android security patch.

Including latest OpenGL and Vulkan drivers.

Including new crDroid bootanimation.

INSTALLATION

:

Pre-installation:

OrangeFox Recovery (Download from here)

Flame GApps (Download from here)

Magisk 20.4 or newer for root (after first boot) - (Download from here)

First time installation:

Boot into recovery

Just in case backup your rom, your data, your internal storage, and your settings/apps, to an external device

Wipe system, data, cache and dalvik

Reboot into recovery

Flash rom

Flash your gapps

Wipe dalvik cache

Reboot into system

Setup your Android

Reboot into recovery

Flash your magisk and other addons

Wipe dalvik cache

Reboot into system

Update installation:

Boot into recovery

Just in case backup your rom, your data, your internal storage, and your settings/apps, to an external device

Flash rom

Flash your gapps

Wipe dalvik cache

Reboot into system

Check your Android setup

Reboot into recovery

Flash your magisk and other addons

Wipe dalvik cache

Reboot into system

For root, after you boot into the rom, you can go back to recovery and install Magisk 20.4 or later.

Downloads

:

Google Drive

Bug Reporting:

Don't expect any support if you:

* are not running the included kernel

* have installed any mods such as Xposed!

* have modified system files

For broken issues - see 2nd post

Thanks to:

Google

LineageOS

SlimRoms

AOSPA (Paranoid Android)

OmniRom

NamelessROM

Many others... (if you're feeling upset being out of the thanks list just send a PM )

XDA:DevDB Information

crDroid Android, ROM for the LG G5

Contributors

Arda Süzen, x86cpu, ROMSG

Source Code: https://github.com/crdroidandroid/android

ROM OS Version: 9.x Pie

ROM Kernel: Linux 3.x

ROM Firmware Required: Nougat or Oreo Modem, Bootloader from last Official Update

Based On: LineageOS

Version Information

Status: Stable

Current Stable Version: 5.12

Stable Release Date: 2020-04-28

Created 2020-04-28

Last Updated 2020-04-28
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Arda Süzen:
What's working:

Same as Lineage

What's not working:

Same as Lineage
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Arda Süzen:
Reserved for custom kernel
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] akyelken:
Best ROM for RS988

Thank you

Everything works except wifi 5ghz hotspot & Viper4Android {not processing}
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Arda Süzen:
This rom based on latest Lineage sources, because of wifi 5ghz hotspot not working. But viper problem causing on you. Working good on me with aml and dolby atmos.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] fernseher:
Does this Rom support MicroG?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Arda Süzen:
Yes, you can use MicroG same as Lineage.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] fernseher:
Thanks, will try!

Do I have to enable Signature Spoofing manually, or is it already enabled?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] tuna88:
kardeşim burada nasıl mesaj yazılıyo anlamadım anca böyle yaptım bu rom şimdi stabil mi çalışıyo 8 den sonra güncelleme almadı sanırım uygulasam tele çalışmayan bişey olcak mı android 10 uygulamayı da yapçanmı
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Tsaviouranzo:
Thanks, Indeed very stable with many mods, thanks keep it up Broh
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Arda Süzen:
Please use only english in the forum. I am very bored with this situation. If you are not familiar with roms, I suggest you do some research. Android 9 roms is currently the most stable but Android 10 roms is not stable now.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
Installed yesterday and so far so good on my RS988. Love how it already includes a launcher based on lawnchair2 (which is what I used anyway).

I'm having the same issue I've had with LOS though and it's kind of annoying, was wondering if you could look into it? With the default messaging app, if the phone is in a deep sleep (ie screen is off for 30-40+ minutes) notifications don't pop-up until I turn on the screen. Using the google Messaging app, this doesn't happen, however the LED blink doesn't work. And yes I have both pop-up notifications on and LED blink enabled. This started happening ever since LOS16.

Anyway, really appreciate the build. Great work.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
Thanks for the build!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ROMSG:
Have you had luck with android 10?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Arda Süzen:
If you have permission, I can make crDroid 6.5 :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ROMSG:
Sure no problem I'll working on it too but you totally can make it and I could post them to my existing thread so you don't have to make another. :good:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Arda Süzen:
Super, I started working on it. I will forward you the developments through a pm :highfive:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ROMSG:
Alright sounds good ?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] fernseher:
Works fine with microG. Thanks for your great work on this rom - and please maintain it in the future!!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Epifistu:
Thanks for this, I've used crDroid on my last device and was very happy to find it here. I've encountered two issues and I'm not sure what causes them:

I used the basic version version of Flame GApps. When I tried to flash it after the ROM, it said "wrong device architecture detected" and that my device was ARM and not ARM64 so it aborted. Is that a common problem for this device which can be fixed somehow? Instead I pushed the openGApps pico package for ARM64 while still in recovery, which successfully flashed. I then continued to followed the given installation steps.

The second issue is that the camera does not work. When I tap on the cam icon in crDroid Home, the camera asks for permission to use location and closes after that. In nova launcher, it doesn't even show a camera icon. When I install another camera, it just shows black.

Do you maybe have an idea about these? I'd love to use crDroid, but I need a camera.

Edit: So I installed some other Roms and had to restore the backup of crdroid I made before. The camera worked, but I have no idea why. I reflashed (first install) crDroid again with openGApps nano and the camera works, so that issue seems to be gone.

Edit 2: I can't get NFC working. The quick settings tile is there but does nothing. In the settings app, NFC is nowhere to find. When I reboot in safe mode, it's there but it's greyed out. When I go back to normal mode it's still greyed out. Clearing cache removes NFC from settings again.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] a455450222:
The camera is abnormal

What should I do
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] mister_ritter:
camera problems

I have exactly the same camera problem, but don't understand how you solved it? I tried different ROMs but the camera never worked. I can rule out a hardware defect because it worked with the Stock ROM.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] dietoro:
Coming from Fulmics based on Nougat 7.0 android-

Flashed oreo bootloeader, then follow your steps.

I lost fingerprints.

NO option in settings.. Why?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
Check your battery isn't expanding. If that isn't it, try upgrading to oreo stock.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] dietoro:
[/COLOR]

Battery not expanded, I update to Oreo with flashing :

1. Oreo Bootloader

2. ROM [H850] H-ROM G7 PORT V1.1 [Full UX7][v30a] G7 porting

Now fingerprints works again.

How I can flash this saveing fingerprint sensor?

May I must flash some bootloeader or some modem before attempting to flash this 9.0 android based rom?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Epifistu:
I don't know what caused the camera to work, but now I ended up using LineageOS 16.0 with a working camera: Clean flash 15.1, check if camera & NFC works. If it does, dirty flash 16.0.

crDroid was kind of unstable for me with some apps, and NFC didn't work at all.

Too bad, because I really liked the crDroid customizability compared to Lineage.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Arda Süzen:
Sorry about the problems you are experiencing, but all features are working on me. if you flash bootloader via custom recovery, they dont work. Please first flash oreo 30a kdz firmware via lgup and after flash custom recovery and install crDroid via clean flash. Because i never used nougat firmware and i dont believe to work.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Arda Süzen:
Bluetooth audio with mic (tested with baseus w07 tws), nfc and android beam, stock snap camera, stock google camera and all of news modded gcams working without any issue. Also if users wish to get better performance and battery, I suggest that they use this modules or applications.

Magnetar Hotel or Golf module,

NFS Injector Pro module with app,

FDE.AI Paid app.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] dietoro:
first flash oreo 30a kdz firmware via lgup and after flash custom recovery and install crDroid via clean flash. ??

Why you didn't write this procedure in first page??

So LG UP is necessary? Cannot flash the Oreo bootloader from recovery? It is not the same?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
Then it must've been a bug in your previous ROM. You can flash this directly, i think
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] trinireddman:
Hopefully helpful

Hopefully this will be helpful to anyone install this crDroid rom.

Coming from my debloated stock h830 with oreo I did a clean install of crDroidAndroid-9.0-20200428-h830-v5.12.zip ( I wiped system, data, cache and dalvik).

My cheap bluetooth 4.0 worked and I could answer and make calls with them. The camera app crashed, the torch and nfc wasn't working.

I then booted into the recovery and wiped system, data, cache and dalvik then flashed to-x86cpu.zip and lineage-15.1-20200506-X86CPU-h830.zip. Rebooted the system and tested camera, nfc, torch, etc to see if they were working (they were).

I then performed another clean install of crDroidAndroid-9.0-20200428-h830-v5.12.zip with gapps and magisk. Now my camera, nfc, torch are all working, my sdcard doesn't mount and wants to be formatted so I'll copy off my data then format it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] a455450222:
但是刷了open_gapps-arm64-9.0-stock 相机还是打不开

---------- Post added at 03:12 PM ---------- Previous post was at 02:46 PM ----------

你好 能分享下你刷的zip文件吗？
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] trinireddman:
I think you need to install lineageos 15.1 then boot into it and make sure everything works. Then clean install crdroid rom.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] a455450222:
谢谢你 已经解决了
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] xxskorpion88xx:
Hi Arda Süzen,

tnx for the developing on the H850 with the result you got. I planned to switch to your ROM as soon as your kernel with 75hz refresh screen will be avaible.

Can't wait to give back life to G5 playing again game with a better experience

Any plans how the kernel will be relased? thank you
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] dietoro:
I experienced a tremendous battery drain without sim card. So installed lineage 16 (pie 9) and, ( with sim inserted) everything fine with h850. Maybe is not the rom but the sim to cause that terrible drain usage in lineage? Maybe it worth try again with cdroid? But this time with sim inserted inside?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Epifistu:
I'm definitely willing to try again with the other bootloader, but I have some questions. Especially because I'm coming from a Nexus 5 and things were a little different with that device.

Do you mean I need to download this LGUP tool and use it to flash H85030a_00_OPEN_EU_OP_0910.kdz from this thread? Or should I better flash this .kdz file from lg-firmwares.com? (I picked the german version because I am located in Germany.)

After flashing the .kdz, can I just install all other ROMS with Android 8 or higher? I suppose that once I flashed the .kdz, the bootloader doesn't change after flashing another ROM?

Many questions - sorry for that, I'm just insecure about randomly flashing stuff and don't want to ruin my device. I'm researching a lot online but I can't find all the answers I need.

Edit: Ok, I tried to get LGUP to work, but for some reason, it always tells me that I have an unknown model and "LGH850AT" in the com port section. I can't run LGUP until now, no matter what I tried with UPPERCUT or patched LGUP etc.

However, when I put my phone in download mode (turn off phone and hold volume up while plugging in usb) and then start UPPERCUT, it says the following: "DLL for H85030f is invalid. Please install valid DLL... bla bla" Does this mean that my phone is already on 30f? Do I need to have 30a for crdroid or is 30f also ok? I bought the phone used some weeks ago and I'm pretty sure that the person didn't root or flash any roms. So probably they just followed the usual stock updates.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] :
Thanks for building crdroid for the G5!

Just to add to others saying camera and NFC not working on clean flash. This is coming from stock Oreo. (also without flashing gapps due to wanting microg).

Fixed like others by first flashing x86cpu's 15.1 lineage build then dirty flashing to crdroid.

---------- Post added at 10:48 AM ---------- Previous post was at 10:25 AM ----------

Signature spoofing also appears to not be working in this build, it usually is in crdroid.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Epifistu:
Yup, I also got it working now with the above mentioned LOS fix. Apart from that, it's great. Thanks for giving us crDroid! I have the h850 model.

I also have Viper4AndroidFX working by doing the following:

1. Delete AudioFX with a root file manager.

2. Install Audio Modification Library with Magisk.

3. Install Viper4AndroidFX with Magisk.

I probably rebooted in between every step, don't remember exactly.

SafetyNet im Magisk returns false for both the ctsProfile and the basicIntegrity.

Sometimes the screen (or UI in general) isn't responding immediately after waking up the device with my fingerprint. Most extreme example: I charge the phone overnight and in the morning I put my finger on the fingerprint reader. The phone unlocks immediately but then the UI is frozen for a couple of seconds (2-4 seconds maybe). After that, everything works normally. It only happens when the device was in sleep for a longer time. I had this on Lineage as well.

Does somebody know if this is a common issue with the phone that can be fixed somehow? Am I the only one experiencing this or is it normal with this phone?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] :
Does signature spoofing work for you out the box? If not how did you get it working? (nanodroid patcher just freezes for me)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] fernseher:
Yes, but I used the magisk module "microG_Installer_Revived-Revived_1.3.0", not the twrp install zips.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] :
Thanks for the reply, are you sure signature spoofing is working (if you go to microg settings and click self check is the checkbox checked)? I've tried using that magisk module and still no luck.

(Nevermind, tried nanodroid patcher once more and it worked this time, who knows)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] fernseher:
Definitely - look:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] :
There seems to be an issue with the doze battery optimisations being too aggressive. I seem to have fixed the freeze on waking by adding System UI to the battery optimisation exclusions.

There also an issue with calls in WhatsApp and Facebook Messenger being killed after a minute when in the background. Again, adding to optimisation exclusions fixes this.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Epifistu:
I tried this and for a day I thought it worked. Today I again have to wait some seconds after unlocking. Whatsapp works fine for me and I get all of its notifications though, without excluding it from the optimizations even.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] trinireddman:
Is this rom still supported?

This rom is my daily driver since i use bluetooth calling a lot and lineage os 17.1 on h830 bluetooth calling isn't working.

I'm also experiencing a 2 to 4 second delay from power button screen unlock to touch working.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Epifistu:
I didn't really investigate it further, but lately I have the impression that when I touch the display while unlocking via fingerprint, the delay is gone. Might just be placebo, but maybe give that a try.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Ascii3:
I also had an experience similar to yours on my LG G5 RS988.USA.

I have tested flashing to Arda Süzen's crDroid 5.12 on my LG G5 RS988.USA device myself via TWRP 3.2.3-0 and have also experienced camera, NFC, torch, auto-rotate, etc. problems. This also happened after a clean install after coming from RS98821d stock Android 7.0 and after the stock system was used and then wiping /system, /data (and including the Internal Storage option), Dalvik/cache, and cache and formatting data. Backing up and restoring in TWRP did not resolve the problem.

I tried wiping and formatting data as before and installing and booting x86cpu's LineageOS 16.0, and experience the same hardware related problems.

To resolve the issue, I installed and booted x86cpu's LineageOS 15.1. After wiping /system, /data (and including the Internal Storage option), Dalvik/cache, and cache and formatting data, and restoring from backup, Arda Süzen's crDroid 5.12, the hardware related things that were not working would now work. I wiped again and formatted data and cleanly installed and booted Arda Süzen's crDroid 5.12 and noticed that hardware like camera, NFC, etc. was still working.

I then once again wiped, formatted data, flashed to stock (system image), but did not boot the system ROM. I rebooted to recovery, wiped again, formatted data, and then again installed Arda Süzen's crDroid 5.12. I did not experience the various hardware (camera, NFC, etc.) problems.

I retried the procedure I used to flash to stock then Arda Süzen's crDroid 5.12, but this time actually booted the stock ROM before wiping, formatting data, and flashing Arda Süzen's crDroid 5.12. The various hardware related functions (camera, NFC, auto-rotate, etc.) would again not work.

My impression is that there is something that x86cpu's LineageOS 15.1 does that is necessary for various hardware to function, and that x86cpu's LineageOS 16.0 fails to do. Whatever x86cpu's LineageOS 15.1 does that results in functioning hardware, does not appear to wipe and is preserved after wiping /system, /data, cache, and Dalvik/cache, but is changed when the stock ROM loads. (Perhaps there is a change in NVRAM? or a partition that is not flashed)

---------- Post added at 10:39 AM ---------- Previous post was at 10:32 AM ----------

Notwithstanding, the hardware-related problems as covered in my previous post, there were some other problems:

--The terminal app would not work properly and commands would result in access denied, no permissions, or command not available.

--(If I remember correctly,) The ARM LineageOS 16.0 root add-on did not work properly, and only adb shell could have root access.

The hardware used was LG G5 RS988.USA.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] dylank:
Seems like it doesn't work well with the flamegapps, i also had problems with the touchscreen and random lag.

Now i flashed it again and installed opengapps pico and it's working fine now.

I also tried microg, nanodroid patcher & fakestore and that also worked well.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] TheMasterSimo:
So is the 5G hotspot the only major feature not working?

Does 5G Wifi work though?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lgg5.845lol:
does it work on h840/h845? :confused:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Arda Süzen:
I cant give any information about h840 because of different mobo and specs. But i will update crDroid rom and also i will share new roms based on R soon as possible.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lgg5.845lol:
thanks much appreciated it if it supports h845 also...
[Realme X2 ROMs, Kernels, Recoveries, & Other Devel] Hosssain:
Recommended magisk
[Realme X2 ROMs, Kernels, Recoveries, & Other Devel] shovon:
Nice work ?
[Realme X2 ROMs, Kernels, Recoveries, & Other Devel] SiddharthBharadwaj:
v20.3
[Realme X2 ROMs, Kernels, Recoveries, & Other Devel] sanamdhiman0001:
This is lit ♥️
[Realme X2 ROMs, Kernels, Recoveries, & Other Devel] pridepinoy:
"• RMX1992 :- ColorOS 6, Android 9, A18 Download here

• RMX1991 :- ColorOS 6, Android 9, A16 Download here

• RMX1993 :- ColorOS 6, Android 9, A18 Download here"

do i have to do something with these files?

because my fingerprint is not working if i try to set it up the display just starts blinking as soon as i touch the reader..i also dont get a vibrate feedback
[Realme X2 ROMs, Kernels, Recoveries, & Other Devel] sanamdhiman0001:
This will b fixed in next update
[OnePlus 8 Pro Questions & Answers] dlads:
Hi all,

I like the back store in gestures, butt I don't need it on the left only the right.

Anyway to disable it?

Cheers in advance

PS: would prefer a mod rather than an app or a file change.

Not sure how simple this is but there are a tonne of apps which have a swipe in gesture for side menus, the XDA app is one of them.
[OnePlus 8 Pro Questions & Answers] nathlynn22:
Dont think it's what you want. But ask in here.

https://xdaforums.com/oneplus-8-pro/themes/how-to-enable-button-navigation-oneplus-t4088669
[OnePlus 8 Pro Questions & Answers] dlads:
Yea I've seen that, it's for two button gestures.

I've been so used to using the FP sensor for my navigation I can't go back to buttons now, plus you lose screen
[OnePlus 8 Pro Questions & Answers] dlads:
There really should be a left hand right hand option
[OnePlus 8 Pro Questions & Answers] cultofluna:
You can use this app

https://play.google.com/store/apps/details?id=com.ivianuu.oneplusgestures

On phone settings>navigation bar & gestures>choose navigation bar

On vivid app , disable navigation bar

Set a bottom edge for home and recents gesture

And a right edge for back gesture....
[OnePlus 8 Pro Questions & Answers] dlads:
Yea I'd prefer not to have something like that tbh. If there's a way to change a value in a time would be the best option I think.

I just want the left side gesture off.

I'll see if I can find the gesture settings myself, muddy be in an ini somewhere
[OnePlus 8 Pro Questions & Answers] cultofluna:
You can't in any way dissable it...

Alteady a lot of feedbacks send to google..

Mostly from pixel users....
[OnePlus 8 Pro Questions & Answers] dlads:
It's that using the same technology? I thought pixel users used that weird squeeze gesture.

I would never say can't in any way. But thanks for your input.
[OnePlus 8 Pro Questions & Answers] cultofluna:
Yes on pixel exactly the same..

Squeeze gestures are for assistant mostly..