yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] cile381:
Hi All,

I'm here to introduce you - pure AOSP 6.0.1 Marshmallow rom for G4/H815. This is started from kernel and device tree by CyanogenMod so thanks a lot to them for the bringup. I've just modified it to work with AOSP. This rom is pure AOSP and no more features will be added, so don't request it.

System:

- Android 6.0.1_r22 Base

- CAF LA.BF64.1.2.2_rb4.25

Installation:

- Reboot to Recovery

- Take necessary backups

- Full wipe

- Flash Rom

- Flash the Gapps

(It is important to use this GAPPS- Stock OpenGapps modified for this rom )

- Reboot to System

- Enjoy

Rom is not rooted.

To get root flash SuperSU

What is working:

- Almost everything

Contributors:

- cile381

Source Code:

-Base

-Kernel

-device tree

-vendor

Credits:

- AOSP

- CodeAurora

- CyanogenMod

XDA: DevDB Information

PURE AOSP ROM for the G4/H815

ROM OS Version: 6.0.x Marshmallow

ROM Kernel: Linux 3.10.x

Based On: AOSP/CAF

Version Information:

Status: Stable

DOWNLOAD ROM

DOWNLOAD GAPPS​

Created 2016-03-18

Last Updated 2016-03-28

​
[G4 Android Development] Gorgonije:
Nice job! Thank You!
[G4 Android Development] ZeNiXxX:
i loved aosp in the past cant wait to test it
[G4 Android Development] cile381:
Using it for the last 5 days. There are still things that need to be trimmed , but at this point can be daily driver :)
[G4 Android Development] kacarot:
Thanks for your work!

Regards.

Enviado desde mi LG-H815 mediante Tapatalk
[G4 Android Development] Unn113:
When android N?

Ofc it's joke ???

Good job mate, I hope it's gonna be as fast as on Nexus 5X. It's great to see G4 rom community growing.

Unn.
[G4 Android Development] mkopec12:
After a short while of testing, i have to say this rom is extremely good.

In fact, it's working better than CM 13 did on my device (no sound crackling or FCs).

Thank you!
[G4 Android Development] raynan:
In all seriousness, I can't wait for the source to be posted. :p

anyway, [MENTION=823251]cile381[/MENTION] , you must have heard I was looking for another AOSP ROM :good:
[G4 Android Development] herveonex:
Thank for stock AOSP :)

Good ROM clean and smooth .

And your Kernel v1.1 :

https://youtu.be/BffqtUyLPjY

Envoyé de mon LG-H815 en utilisant Tapatalk
[G4 Android Development] marcviado:
Can this be flashed on h811 device?
[G4 Android Development] elgavilla:
perfect aosp!!!
[G4 Android Development] ZeNiXxX:
when multirom is ready that will be may stable rom :)

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] Gregzi:
GAPPS 543 MB?? What is inside? Will see by myself...:D

Plan to test it...;)
[G4 Android Development] nickholtus:
Nice ROM, only problemen is bleutooth problems after loosing signal (force closes and not possible to reconnect till reboot)

No laptop here so havent taken a logcat yet
[G4 Android Development] herveonex:
For me , bluetooth headset runs for 1 hour, not FC .

Test: after losing no fc .

Reconnect direct ,no problem ,no fc .

No test in my car ,sorry.

Edit : FC after

Envoyé de mon LG-H815 en utilisant Tapatalk
[G4 Android Development] mattnin:
please consider H811 developer
[G4 Android Development] Unn113:
You can use CatLog app from Play Store

Unn.
[G4 Android Development] asce1992:
Hi [MENTION=823251]cile381[/MENTION] thanks for the rom! :) i'm installing it now! I make you only one question! I read that no more features will be implemented and it is right because it is a AOSP rom. But can you only update the security level to the latest (march)? based on those of google or CyanogenMod! I think it's just a safety advantage. I do not know if it is possible. Thank for amazing rom ;)
[G4 Android Development] genesixxbf3:
can you upload the device tree please :D
[G4 Android Development] c-non:
Thanks for fix mkopec12, also volume increased after this fix ? can somebody confirm ? i think volume very low with CM.
[G4 Android Development] genesixxbf3:
http://review.cyanogenmod.org/#/c/140237/
[G4 Android Development] cile381:
I'm glad that I somehow managed to help :)
[G4 Android Development] NeBouse:
[MENTION=823251]cile381[/MENTION] :

Any up on this please ?
[G4 Android Development] imarcel99:
[MENTION=823251]cile381[/MENTION] do you mind sharing local manifest? Because I am willing to compile builds for that rom.
[G4 Android Development] Frazzy:
Is this rom still in developement? Or is it discontinued? I saw [MENTION=823251]cile381[/MENTION] state he got a Ios device?

I'm looking for a aosp rom that's in development and receives security updates.
[G4 Android Development] u.hedt:
I guess nothing will happen here. Cile381's last activity was 1 month ago.

For AOSP based rom I recommend "Candy Six". It's a nice rom with lot of features and a really good battery life.

http://xdaforums.com/g4/development/rom-candysix-t3263505
[G4 Android Development] DoM!niC:
Somebody know to build the current Android Rev from this ? I tried to use the Git Drivers but what is need about the CAF & so on ?
[G4 Android Development] thodacuppajoe:
Good ROM, apart from the fact that it's un-rootable. Tried Kingoapp, King Root and SuperSU - first two just fail, SuperSU refuses to install binaries.
[G4 Android Development] patalao:
You have to flash supersu throw recovery.
[G4 Android Development] CraigHardy:
Try an older version of supersu instead of saying it's unrootable, i had it installed and successfully gained root with either 2.73/4
[G4 Android Development] NeBouse:
I can confirm that.

I run it since the first version, rooted with SuperSU and Xposed installed.

I can even use Layers with it.
[G4 Android Development] DiosDelRayo:
FDE and Lockscreen

Hello,

can somebody tell me if full device encryption+lockscreen(pin,password) are working with this rom. How it is not working on cm13 and this rom is somehow based on cm13 I worry that the answer is no. The only thing I really searching for is drop stock rom (which I already did) and install some rom without google clutter and WITH full device encryption+good lockscreen, so if there a yes or any other hint how I can archive it help is really welcome. Thanks a lot in advance.
[G4 Android Development] DiosDelRayo:
Unhappily encryption is not working at all, looks like it's doing something but it's only in a loop. After take out the battery to reset you can start without problem (and without encryption) :(
[G4 Android Development] umberto434:
Its possible to have nougat aosp?
[G4 Android Development] Kye2000:
CM14 should be for us within a couple weeks
[G4 Android Development] umberto434:
AOSP rom not a classic cm14 ;)
[G4 Android Development] F1Fanatic27:
Should point out that CM14 is already out. There's no XDA thread for it yet, but someone posted this link in another thread.

http://www.cyanogenmods.org/forums/topic/lg-g4-cm14-cyanogenmod-14-nougat-7-0-rom

Only bugs I've found is no camera and SD card support is a bit patchy.
[G4 Android Development] umberto434:
Oh good hahaha XD
[G4 Android Development] hrvd:
Hi, impossible for me to download the gapps error 404 ?

Envoyé de mon LG-H815 en utilisant Tapatalk
[G4 Android Development] gentr:
https://mega.nz/#!9dNBBCRQ!vR46kgVKXcMTI0WNi4szyYvO1KM2uPWIQ2Bi_EtcozY android 7
[G4 Android Development] Unn113:
Is kernel in this rom newer version than SuperXE 1.1?

Unn.
[G4 Android Development] abelavila:
work xposed??
[G4 Android Development] cile381:
Sure android_device_h815 :D
[G4 Android Development] cile381:
Kernel is built from the same source.

Xposed work ok.
[G4 Android Development] asce1992:
Real amazing rom! Better than cyanogen! fast in restoring applications, quick as a true nexus. Xposed ok! At the moment, no bugs found :) very good!

Only a question.. since it is a AOSP ROM is there possibility of making "Google now" also operated on "off screen" as the Nexus 6p? or Google is always able to recognize our real device and you can not enable this function? Thanks Cile! ;)
[G4 Android Development] turbo1781:
[MENTION=823251]cile381[/MENTION] fm radio and ir working?
[G4 Android Development] |_dan_|:
Dear [MENTION=823251]cile381[/MENTION],

is possible have 4G+ icon on status bar instead of 4G when there is the network carrier aggregation, like stock ROM?

Tnx
[G4 Android Development] nickholtus:
Ofcourse is this possible, but i think the OP will keep this AOSP, so as stock as possible
[G4 Android Development] Gregzi:
This is really pure AOSP rom. Not found a single issue until now:)

I think that Snapdragon Camera needs a little tweaking, snapdragon equalizer working great, sound is really deep and crisp.

Network mode switcher working flawlessly, BT too (to do: test it with my car), WiFi is fast, no issues with GPS, for the battery life is too early to say.

Since Gapps are having almost everything, what Google has to offer, I miss only Google Dialer with phone number lookup function.

Must admit (since used Candy for a while): Absolutely superb "Stock Android" experience with this:good:
[G4 Android Development] davibs:
Any way to reduce navbar size? :D
[G4 Android Development] rav101:
Would have to use an xposed module for that. I believe the OP will keep this as a pure stock ROM.
[G4 Android Development] kabirjedi:
Thanks the great pure rom!

This rom support camera api2? so any manual stuff working welll?(Manual camera,az camera,camera fw 5,etc)Thanks.
[G4 Android Development] davibs:
sad thing, is that i am a stupid snapchat user..ahah
[G4 Android Development] rav101:
So am I... If you log in to Snapchat and then install xposed then it works.... Muhahahaha
[G4 Android Development] davibs:
Really? Ooh awesome ahah!
[G4 Android Development] rav101:
Need to be careful which version of Snapchat you are on if you want to use SnapPrefs though.
[G4 Android Development] davibs:
What if i logout by mistake?
[G4 Android Development] moepkid:
Does this rom has OTA?
[G4 Android Development] rav101:
I keep a titanium backup so I can restore easily. Otherwise its a 5 minute job to uninstall xposed, re login and then reinstall xposed.
[G4 Android Development] Gregzi:
Bug ==> Bluetooth:

- when streaming music the volume is too low - sound is great

- when phone talk the volume is too high with cracking sound in whole volume range - unusable

Tested with my Peugeot audio system (no issues with Candy rom).

Will use it as DD when this is resolved.:good:
[G4 Android Development] Unn113:
I flashed it today morning, it's smoothest rom I tried. Gonna tell about battery, but seem even now that it's gonna be the best too.

Unn.
[G4 Android Development] mkopec12:
Bug: Some Cardboard apps like AAA VR Cinema don't play any video. FullDive works fine, though.

Manual Camera Compatibility Test says it does.
[G4 Android Development] kabirjedi:
Thanks then i try this rom now.Flash on!

ahh another question.Maxx audio souond fx working on this build?
[G4 Android Development] mkopec12:
Don't know about that, but ViPER4Android does, so I don't see why Maxx audio wouldn't. I could be wrong though.
[G4 Android Development] kabirjedi:
corrupted sd card(samsung evo+64 EX-fat )any help?
[G4 Android Development] nitrous²:
Wait, you have crackling noise? When? I mean, using speakers only or also using headphones? If it is speakers only, pull "audio_policy.conf" from /etc/ from a STOCK LG ROM to replace the policy file of CyanogenMod (same location). I remember dealing with crackling speakers since the first days of CM12.1 on my n9005.

UPDATE: Here, have mine. Make a backup first. Unpack this one, copy it to /etc/ and overwrite the existing one. Chroot 0644 and then reboot. It's the audio_policy.conf from stock 20C (EU- GER)
[G4 Android Development] mkopec12:
I had crackling noise in a few games (like Horizon Chase), while using either headphones or speaker. It happened only on CM13 based roms, so it works fine now.
[G4 Android Development] Gregzi:
Guys I think I described the problem well enough: It is an issue over bluetooth only !

To repeat once again:

- Music streaming works well with very low volume

- When making phone call / during call the crackling sound starts instantly, the volume is extremely high - the crackling sound appears over whole range - it does not matter if you lover the volume of bluetooth connection!

Over phone speaker I didn't experienced such a problem / distortion so far!

---------- Post added at 06:44 PM ---------- Previous post was at 06:32 PM ----------

Will test tomorrow with my car audio system again. This time will be with Snapdragon audio+ turned off. Maybe that it causing the issue...
[G4 Android Development] NeBouse:
[MENTION=823251]cile381[/MENTION] :

Are the GAPPS from your first post mandatory ? can't we use micro or nano open Gapps ?

There are a lot of things i don't use in your GAPPS package and it's wasted space for me...

Thx.
[G4 Android Development] Chris_Kardas:
How is the battery life on this pure aosp rom?

Better then on cm and stock?

Can somone post an battery detail screenshot?
[G4 Android Development] Unn113:
I flashed na nano open gapps, no issue so far

Unn.
[G4 Android Development] kabirjedi:
Guys!

My ex FAT formatted sd card corrupt any fix?

Thank you!
[G4 Android Development] MickyFoley:
[MENTION=3223687]kabirjedi[/MENTION]: You could try his kernel for CM13 - could work. But make a backup before :). I think, this is something just a kernel can fix. And since it's announced, that no fixes in this direction will happen... well :). Maybe if it won't work, cile could add a compatible kernel to his thread, linked at the bottom of my post? I know what you said, cile, but I have to be honest: A kernel is the heart of every custom-ROM ;). Since my very 1st Android device, it is the one and only gamechanger of all things, happen good or bad. But maybe I'm talking too much and the kernel simply works like it does for CM13 - testing is the key.

http://xdaforums.com/g4/orig-development/kernel-t3213145
[G4 Android Development] kabirjedi:
thanks the kernel link .Tomorrow i try.yes m2 i think this kernel proble.m.Lets see .

EDITED:Not working stay corrupted my ex FAT samu 64 evo+ H815..... :(
[G4 Android Development] asce1992:
IMPORTANT INFO

Google messenger app leads battery drain!

"Icing wakelock"

[MENTION=823251]cile381[/MENTION] I do not know if you can do something, at best put a warning on the OP :)
[G4 Android Development] raynan:
It's a messaging app, so, I don't believe there's much the ROM dev can do about it if you want timely notifications.
[G4 Android Development] Belzeboia:
This is the smoothest Aosp Rom at the moment for me, but I have an issue with bluetooth, the application freezes every time.:(
[G4 Android Development] cile381:
Bluetooth is fixed. [emoji106]
[G4 Android Development] cile381:
New build 03/18/16 is ready for download.

- MHC19J / LA.BF64.1.2.2_rb4.29

- Fixed BT

Enjoy!
[G4 Android Development] NeBouse:
If I may suggest a fix for the slow notification pulldown when using Nova launcher (or another third party launcher) :

http://xdaforums.com/showpost.php?p=65815146&postcount=9174

Thx.
[G4 Android Development] Kye2000:
Does usb otg work with this kernal?
[G4 Android Development] cile381:
otg works ... whatever ... :)
[G4 Android Development] socratez:
Everything runs smoothly here. The only thing I noticed is veeeery slow tethering
[G4 Android Development] dt@yahoo:
H811 maybe? ?
[G4 Android Development] Darkmasterhk:
idle drain

does anyone else have idle drain issues, specially with "Miscellaneous"?
[MENTION=823251]cile381[/MENTION] I will add a log if problem persists, stupid me forgot to take one before installing bbs and therefore rebooting :/

---

question about gapps:

you modified only the installer or did i miss something else? can't i just put it into the nano pack and use this instead?
[G4 Android Development] asce1992:
I have the same problem!
[G4 Android Development] cile381:
For me it's okay. No idle drain. Waiting log. If you are using opengapps, you can install all versions except the stock, super and aroma.
[G4 Android Development] Darkmasterhk:
I don't know how long i should let my device rest to take a log so i guess if error persists i see and report back in a few hours.

maybe [MENTION=5819603]asce1992[/MENTION] can also take one as he has the same issue.
[G4 Android Development] asce1992:
Now i switch to RR to see if i got the same problem.. I will return to AOSP in two days i think.. AOSP is faster.

I switched to RR for a problem installing the AOSP update yesterday. Yesterday I flashed the update but then I also had to riflash the gapps. It's normal? [MENTION=823251]cile381[/MENTION] how Can i apply correctly the update on the current version of AOSP on twrp?
[G4 Android Development] cile381:
- Wipe system and cache (no data)

- Install update

- Flash gapps and supersu

- Wipe cache

- Reboot
[G4 Android Development] asce1992:
Thanks! With the old phone I was used to install directly. In fact, yesterday I had a lot of FC and had to change rom! But I will return very soon to this! :)
[G4 Android Development] asce1992:
I can definitely say that AOSP is fantastic, RR is ....???
[G4 Android Development] kabirjedi:
Hello mate! this version fixed exFAT sd card issue?

Thanks!
[G4 Android Development] Belzeboia:
This rom is great! Today I've tried bluetooth and it works! Nice job, a beer for you.

Conf.n°5F048262B3083925V
[G4 Android Development] cile381:
I tried, and it seems not working.

It will be taken care of in the next build.

Thanks for the drink :)
[G4 Android Development] turbo1781:
Who i can make updates? OTA? You have a biuld in updater?
[G4 Android Development] asce1992:
miscellaneous drain :( [MENTION=823251]cile381[/MENTION] you use Xposed?
[G4 Android Development] asce1992:
Sorry for two post
[G4 Android Development] cile381:
although it does not "real"drain ... It's fixed :)
[G4 Android Development] imarcel99:
Second release is worse in terms of battery..at least for me. Overnight it went from 100 to 89. Performance wise it is smooth.
[G4 Android Development] davibs:
Not smooth as stock sadly.
[G4 Android Development] mkopec12:
Unfortunately, your audio_policy.conf did not fix my problem. I have no idea what could be causing it at this point.
[G4 Android Development] abelavila:
your rom port would be nice to miui is great :)
[G4 Android Development] nitrous²:
Bummer! It'd always solve it for me in my Samsung days.
[G4 Android Development] Darkmasterhk:
[MENTION=823251]cile381[/MENTION] didn't had time till now, but finally here some logs.

thanks for looking into them!
[G4 Android Development] NeBouse:
[MENTION=823251]cile381[/MENTION] : would you mind sharing the complete rom source code ? I'd like to try and build it with some features added ;)

I mean, a manifest like the one you can find here :

https://github.com/YAOSP/manifest

Thx.
[G4 Android Development] Gregzi:
Something new appeared:

When making a call, the phone UI got a floating window for a second on it with "Call" above the line and empty on the bottom ...

Wiped Phonemanagement.apk data & cache, but no good.
[G4 Android Development] Astur_Torque:
Please the Gapps link is broken
[G4 Android Development] Gregzi:
Sorted out with clean install, bluetooth is fixed as said by OP, will see how the battery is holding...
[G4 Android Development] Astur_Torque:
I found a new gapps link:

https://www.androidfilehost.com/?fid=24459283995302083
[G4 Android Development] gazouille:
hello,

is USB MTP working for you guys ?
[G4 Android Development] genesixxbf3:
It seems uncomplete it miss the target like aosp_h815.mk or something like that did you do git add -A to add the new file for github?
[G4 Android Development] Darkmasterhk:
Did anyone see anything in my logs by now? ^^

Also I wanted to get another set of logs, but for some reason they're all empty, no matter how I get them, even "syslog"s "live logcat" is empty. Even thought it worked 2 days ago.

I also tried wakelockdtector BBS a and looked at my CPUs idle time. It sleeps for 99% of the time, still losses 1.5% battery an hour, at night.
[G4 Android Development] cile381:
Device tree is complete. You're probably thinking of this.
[G4 Android Development] |_dan_|:
[MENTION=823251]cile381[/MENTION] , you have PM
[G4 Android Development] Gregzi:
Jup, working perfectly: MTP & PTP with Android File Transfer on Mac.

No issues with SD card either. Detected properly on numerous times.
[G4 Android Development] gazouille:
Thanks for your answer.

I tried with 3 cables, 2 computers (one on windows 10 and another with seven) and i never have the normal popup for choosing MTP, PTP or charge.

So, i'll try full wipe and will make a new install. hoping that my usb port is not dead!

Thanks again for information.

EDIT:

OK. So it seems that my usb port is dead.

1- try mount in twrp......................not working with internal en external cards.

2- reinstall superxe twrp 3.0.0.0....same thing

3- Full wipe (all except sd card)

4- install genesys 3.8.................. still not functional

5- Full wipe (all except sd card)

6- new install of AOSP superxe....definitely dead

The good news, charge still ok !

NOT ROM FAULT. SORRY
[G4 Android Development] Astur_Torque:
Please, fix reading and writing exFAT sd cards!!!
[G4 Android Development] Gregzi:
Btw you can at least use lets say Asus Launcher and move files over network, or similar...
[G4 Android Development] cile381:
Fixed already.

It will be included in new build. [emoji106]
[G4 Android Development] |_dan_|:
Dear [MENTION=823251]cile381[/MENTION],

can you share with us your manifest file?
[G4 Android Development] Astur_Torque:
thank you very much

I can't wait to try it!
[G4 Android Development] volteretero:
Snap camera version G4 is included in this rom?

Joe como avanza esto

---------- Post added at 08:33 PM ---------- Previous post was at 08:32 PM ----------

Snap camera version G4 is in this rom?

Joe como avanza esto
[G4 Android Development] asce1992:
On AOSP i can't change resolution of my phone. Someone else has tried it?

When i try the string i got the error "no such file or directory". What's the problem?

I tried with:

su

wm size 1920x1080

and also with:

su

wm size 1080x1920

but nothing...

thanks :)
[G4 Android Development] davibs:
Why?
[G4 Android Development] asce1992:
I want try more performance :)
[G4 Android Development] davibs:
Really, is possible to change resolution?
[G4 Android Development] Gregzi:
Not Snap from CM by Codeworks but "pure" Snapdragon Camera.
[G4 Android Development] gazouille:
And I find it very complete. I don't know this app before, but I am very impressed!
[G4 Android Development] amdev0101:
On latest version I set up lock in the set up wizard. Problem - there is no lock at all and settings app crashes when trying to change it. Please take a look at it. *My G4 is running only on 4 cores because it experienced bootloop issue.
[G4 Android Development] cile381:
FC on this?
[G4 Android Development] amdev0101:
I had to record it

https://goo.gl/photos/VXon4Rxjq3vSzNbP6
[G4 Android Development] cile381:
Wipe dalvik/art cache and cache in recovery and reboot...
[G4 Android Development] amdev0101:
Still the same problem.
[G4 Android Development] cile381:
-get into recovery

-wipe system and cache

-install latest rom

-flash provided gapps!

-flash supersu (if you want)

-wipe cache

-reboot
[G4 Android Development] amdev0101:
I've done that twice now, still the same bug unfortunately :(
[G4 Android Development] amdev0101:
I went through the logcat and found this:

--------- beginning of system
03-25 14:09:52.711 1816 1816 E LockSettingsStorage: Cannot read file java.io.FileNotFoundException: /data/system/gatekeeper.password.key: open failed: ENOENT (No such file or directory)
03-25 14:09:52.711 1816 1816 E LockSettingsStorage: Cannot read file java.io.FileNotFoundException: /data/system/password.key: open failed: ENOENT (No such file or directory)
03-25 14:09:52.712 1816 1816 E LockSettingsStorage: Cannot read file java.io.FileNotFoundException: /data/system/gatekeeper.pattern.key: open failed: ENOENT (No such file or directory)
03-25 14:09:52.712 1816 1816 E LockSettingsStorage: Cannot read file java.io.FileNotFoundException: /data/system/gatekeeper.gesture.key: open failed: ENOENT (No such file or directory)
03-25 14:09:52.712 1816 1816 E LockSettingsStorage: Cannot read file java.io.FileNotFoundException: /data/system/gesture.key: open failed: ENOENT (No such file or directory)