yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] Guy Noir:
New user of aoscp_h811-4.1.2-20180218-unofficial

Thanks to all the developers of this ROM. It is the first ROM I used on my h810 (AT&T). Thanks to steadfasterX for working with me to break out of the LG hell. So far it is a great ROM but I have found a couple of problems already.

1) When the device is rebooted, and you have the WIFI on before you restart, the WIFI will not search/display/connect to any 5GHz WIFI. It will connect and display any 2.4GHz signal. If you then turn off the WIFI switch and then turn it back on both 2.4GHz and 5GHz WIFI signals will appear and you will connect to the 5GHz.

2) The touch screen seems to be a little wonky. Especially in browsers, you can hit a button and it will do nothing. If you hit the button again, the highlighting on the button may flash but no action will be taken. And finally, if you press it enough times the action that the button is on screen for will happen. I was wondering if there is a calibration for the touchscreen. I noticed also that you make some changes with the haptic feedback of the touchscreen in the latest version, could that be part of the problem. This website https://www.digitaltrends.com/mobile/lg-g4-problems/ has an article on the touchscreen problems but the only real answer they provided is to replace the keyboard to Google or SwiftKey.

I will probably move to aoscp_h811-5.3-20180228-unofficial to get some Oreo goodness but I want to let Nougat bake a little bit before trying Oreo. I realize that this is the thread for the 5.3 version, however steadfasterX is still producing the 4.1.2 version.

Once again, thanks to the developers and especially steadfasterX.

--

guynoirnpr
[G4 Android Development] aha360:
Hello folks.

I have been trying to connect to a WiFi hotspot, but whenever I try to do this on in the late February AOSCP ROMs, I keep getting "failed to save network" and "failed to connect" toast messages, regardless of what type of WiFi hotspot I connect to.

I'm wondering as to how to solve this problem - thanks.

For a logcat file, see my attachments on this forum post.
[G4 Android Development] Angelwind:
Can you get ARM64 to highlight the 8.1 radio button? It looks like only ARM has access to Gapps 8.1.
[G4 Android Development] tambukey:
Ahaha, oh my, I never actually attempted to download it since I didn't need it yet. Yeah you're right, looks like it isn't ready yet for arm64
[G4 Android Development] szafranski:
Weird. Beta is online and it works on ARM64 actually...
[G4 Android Development] Ironic:
[MENTION=5461026]kessaras[/MENTION]

with your latest aoscp_h815-5.3-20180228 i run into a DemiGod Crash. Reboot reason:

reboot_reason: 0x6d63030b gcc_reset_status: 0x8 pon_pon: 0x200ao

All the other info consists of umlauts and symbols, not readable.

It happened after i played clash royale for like 20 minutes and afterwards i felt the phone got hot. So maybe there is some thermal error again? Just to mention, i enabled fastlane for the little group.
[G4 Android Development] kessaras:
Demigod crash ? with error pon_pon ???

It's kernel panic and kernel doesn't have any change lately and that's not the reason of crash , the reason is in dmesg.

Clean flash if it happens again.
[G4 Android Development] FiloSvR:
Hi, I'm running the build 20180225.

No double tab, disabled Bluetooth, only Wifi - Bluetooth - "auto rotate" - screenshot - battery saver - "night light" and "airplane mode" tiles, displayed. Disabled ambient play from the settings.

For days no problems. Now, some times, the process:

- com.android.systemui

has a constant CPU consumption of 64% - 72%, when the phone is not in idle. If i reboot, the problem can disappear randomly.

Filtering com.android.systemui in th logcat i have this error:

AmbientPlayRecognition: Error while sending audio data
java.net.SocketTimeoutException: timeout
at com.android.okhttp.okio.Okio$3.newTimeoutException(Okio.java:
at com.android.okhttp.okio.AsyncTimeout.exit(AsyncTimeout.java:
at com.android.okhttp.okio.AsyncTimeout$2.read(AsyncTimeout.java:
at com.android.okhttp.okio.RealBufferedSource.indexOf(RealBufferedSource.java:
at com.android.okhttp.okio.RealBufferedSource.indexOf(RealBufferedSource.java:
at com.android.okhttp.okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:
at com.android.okhttp.internal.http.Http1xStream.readResponse(Http1xStream.java:186)
at com.android.okhttp.internal.http.Http1xStream.readResponseHeaders(Http1xStream.java:127)
at com.android.okhttp.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:737)
at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:609)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:471)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:407)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:244)
atcom.android.systemui.ambientmusic.aoscp.AmbientPlayRecognition$RecorderThread.sendAudioData(AmbientPlayRecognition.java:165)
at com.android.systemui.ambientmusic.aoscp.AmbientPlayRecognition$RecorderThread.-wrap0(Unknown Source:0)
at com.android.systemui.ambientmusic.aoscp.AmbientPlayRecognition$RecorderThread$1.run(AmbientPlayRecognition.java:137)
Caused by: java.net.SocketException: Socket closed
at java.net.SocketInputStream.read(SocketInputStream.java:203)
at java.net.SocketInputStream.read(SocketInputStream.java:139)
at com.android.okhttp.okio.Okio$2.read(Okio.java:136)
at com.android.okhttp.okio.AsyncTimeout$2.read(AsyncTimeout.java:211)

In the boot when the problem is not shown, i don't have that logcat.

What could i remove / install or stop?

Thank you
[G4 Android Development] MUSTANG0012:
I had the same problem and i also couldnt pull down quick settings but a clean install fixed all of that.
[G4 Android Development] SeewolfPK:
Try 20180228 - for me it is atm the best rom.
[G4 Android Development] ThePiGuy:
It took me a while to get it done, but I have finally got a local build environment up and running and I was just wondering if those touch screen fixes are now merged into the main source code? I had a look on Gerrit and they now say merged and no longer have the -1 tag. Does this mean the double tap to wake is now working correctly and without battery drain.
[G4 Android Development] obvious:
Now playing is showing a lot of the time, cpu usage is higher than expected while screen is on, phone running warm and battery dropping quicker than usual during screen on.

Attached log which doesn't seem very useful.
[G4 Android Development] FiloSvR:
Is it safe to do a dirty flash directly to the newer version?
[G4 Android Development] ThePiGuy:
It's only a 3 day difference between the builds so you should be fine. As you are flashing between unofficial versions, you will need to reflash Gapps
[G4 Android Development] jorgecft:
Oh, I meant anyone. I'm on 5.1 so I guessed I'd be getting ota updates
[G4 Android Development] ThePiGuy:
If it's 5.1 official, then you should do. Most people here are on [MENTION=5461026]kessaras[/MENTION]'s unofficial builds as they are much more up to date on bug fixes
[G4 Android Development] SeewolfPK:
I thought also it did not running. Only seeing if running musik in the room and then scroll from the top of the screen I see whats now playing in my room. that is very bad espionage.

I also greenifyed all musik apps and have everything that somehow sounds like music in the system with SDMaid frozen. Nevertheless, I am overheard.
[G4 Android Development] ThePiGuy:
When building for the second time, it it ok to do it without cleaning or anything like that. I have done it and it was a lot faster, but it kept creating OTA files as well. What are these, and do I just need to delete them?
[G4 Android Development] kessaras:
whatever you do, it will always run in the background. its permanent and its in systemui it self.

freeze , stop , whatever... it doesn't matter. Ambient Play will always work in the background and the only thing you do is lose your time to just disable/freeze the broadcast/print on screen the result of the search.

these OTAs are useless for unofficial. OTA app won't work. They only work for official.

yes you can delete them.

And yes you can always dirty build unless you removed something that it's location is in a partition other than boot.

ofc the reason is because the dirty build won't remove the leftovers from previous build.

listening to music all days takes up only 1mb all day (24hours). if you want to save your mb remove a chat app.

EDIT:

it only search metadata per minute. its like a few byte per minute
[G4 Android Development] Bleuzen:
I don't like Ambient Play, since I can only use 400 MB mobile internet a month. This uses to much internet. And there is currently no option to disable it. Also Chris has no plans to implement an option to disable it currently, which you can see here:

https://plus.google.com/b/105894342587587795626/105894342587587795626/posts/AZiKaM5vdmR

This is sad. I hope there will be an option to disable this soon, (or at least to have Ambient Play only running when on Wifi).

But currently we can't do anything.

---------- Post added at 04:38 PM ---------- Previous post was at 04:26 PM ----------

My system ui already used 24 MB since I use your latest unofficial build (since 2 or 3 days I guess).

And this is only on mobile network, not Wifi.

On Wifi, the SystemUI already used 119 MB in this 2 or 3 days.

I don't remember that it used internet in the past. Also when I switch the time (it displays the internet usage) to before I switched to the newest 5.3 build, the System UI used 0 B.

So I guess Ambient Play used now:

- 119 MB on WIFI

- 24 MB on mobile data

so 143 MB in the past 3 days on my device.

This are not only some Bytes!

EDIT:

Nah, it seems to not only search metadata. How I understood it, it records audio from microphone, and sends it to some server with a music database. And uploading audio uses internet, not only some bytes.
[G4 Android Development] Minto107:
BTW, OpenGapps now support android 8.1
[G4 Android Development] ThePiGuy:
I would like to have an option to turn it off purely because I don't like the idea of my phone listening to everything I do (I understand it is not malicious, but just from a privacy point of view I would rather be able to turn it off)
[G4 Android Development] obvious:
Yep, need to be able to turn that **** off :D
[G4 Android Development] ThePiGuy:
[MENTION=5461026]kessaras[/MENTION], one more thing about building (sorry about this - I finally got it working). What do you use to edit the source code? I followed a Lineage OS tutorial to generate Android Studio project files, but it failed due to a missing bluetooth file
[G4 Android Development] FiloSvR:
I update to the last build with a dirty flash. I lost my recovery and i cannot flash it anymore.

Doing adb reboot recovey, the phone reboot, then it shows a black screen for 20 seconds and boot the rom.

Using the button combination instead i tell me to do factory reset.

Have anyone any suggest?
[G4 Android Development] SeewolfPK:
I agree with you.

I think it is criminal and if it can not be fixed/hack/patched it is time to leave oreo or did N the same:confused:
[G4 Android Development] ThePiGuy:
Wrong thread - Even if AOSCP caused it, this should really be in the TWRP thread.

P.S.

Typo in recovery

---------- Post added at 05:02 PM ---------- Previous post was at 04:57 PM ----------

I haven't even switched from stock yet - I was planning to and I have been watching the thread, but I tried the original build and the battery drain was too much to use on my G4 (it's my daily driver so I need it to have decent battery life).

I have even just built it before I noticed all these conversations saying it couldn't be turned off, and now I don't think I will switch as it's this sort of feature that I really don't like (it's the sort of thing that OEM's put in that forces privacy conscious users away)
[G4 Android Development] bluelagoon8951:
Battery life is now excellent. My crappy battery that got 1hr 30 SOT on official LOS14.1 now gets 2 and a half. A normal good battery will get 6.
[G4 Android Development] ThePiGuy:
Yeah, it's great work from [MENTION=5461026]kessaras[/MENTION]. I was about to switch, but this Ambient Music thing really puts me off
[G4 Android Development] tambukey:
So the way ambient play works, it doesn't actually send anything off the phone. It uses a locally stored database. That database only gets updated through wifi. It scans only once every minute. I am testing turning off systemui data, and if there are no errors then there is no reason to not do that if you don't want it "listening to everything".

https://www.xda-developers.com/how-google-pixel-2-now-playing-works/
[G4 Android Development] SeewolfPK:
an amateur test: system ui stopped - still music is detected. So does not seem to be coupled to system ui. Control by sdmaid: system ui is still stopped

I wonder why system ui needs internet data since using oreo.
[G4 Android Development] tambukey:
You cant just stop systemui. Kessaras even said that. No matter what it will start back up again. or it will crash and you will have to reboot.
[G4 Android Development] ThePiGuy:
I thought this was a similar idea to the Pixel 2 one, but not based on it? And looking at Kessaras's comments above about it only sending a few bytes of data, I assumed this meant that it wasn't stored locally
[G4 Android Development] Bleuzen:
Nah, I don't think so. Because of 3 things:

- Read the description about ambient play in the system settings. It says: "[...] Ambient Play requires a network connection and only sends temporary recorded data to the recognition database."

- I disabled internet now (airplane mode) and it doesn't detect any song anymore. So I guees it needs internet.

(Ok, maybe this is such a thing again, where I'm just unlucky (so I'm not 100% sure on that already), but I let play 3 songs now, that usually get detected. So yeah, I think it needs an internet connection, so that it can upload audio.)

- Also I don't think that the database to compare to songs is that small that it fits on our device. -> again I guess it's online.

And it also don't only update on wifi. The System UI also uses / downloads a lot of data in the background when on mobile internet, not wifi.

Another guess that I have: Maybe it is not Ambient Play, but another bug that downloads that much background data.

But because of the the 3 things I posted (that happend to me during testing), I still guess that it is Ambient Play which sends data in background.
[G4 Android Development] gibbsnich:
No need to guess, source is available:

Here that "service" is registered to run every 60s:

https://github.com/CypherOS/framewo...systemui/statusbar/phone/StatusBar.java#L1462

This actually happens every 60s:

https://github.com/CypherOS/framewo...tmusic/aoscp/AmbientPlayRecognition.java#L150

It's all posted to http://search.midomi.com:443/v2/?method=search&type=identify

Edit: midomi.. which belongs to soundHound, Santa Clara, CA, USA https://www.midomi.com/index.php?action=main.privacy_notice
[G4 Android Development] tambukey:
The description in the settings is the same as the one from the Pixel. The database isn't like an actual download of songs, it is a collection of rotating 20k=+ songs, but it only uses a super small portion to identify songs and yes, for the pixel at least, this database is on the device.

Regardless of that, gibbsnich is right, this is not the same version that the pixel uses. And with that knowledge I agree that there should be a way to toggle this, either a way to stop the data transmission not over wifi, or just an overall on/off toggle.
[G4 Android Development] Bleuzen:
Yes, without a toggle for this, 5.3 is unusable for me. It uses to much mobile data!

Oh and btw., I just started to read the privacy notice of where our audio gets sent to...

"Any member profile information, media, music, audio recording, image, comment, or any other content posted onto the midomi Service at your direction becomes publicly-published content, is not considered personally identifiable information subject to this Privacy Notice, and may be collected and used by others."

WTF? There MUST be an option to disable this!
[G4 Android Development] michael_0394:
Can someone help me get encryption to work on my h811? I know v29a firmware is required for it to work but I'm not sure if there's a way to flash that since it's meant for h815?
[G4 Android Development] ThePiGuy:
Do not flash firmware for the wrong device

Have a look and see if there is h811 specific nougat if you want to install it

Anyway, mine works on Marshmallow firmware
[G4 Android Development] cartman_73:
Go to factory reset and select it, after then recovery should Go to factory reset and select it, after that the recovery should be start, once in recovery flash it again
[G4 Android Development] tambukey:
Keep in mind decryption isn't working yet.
[G4 Android Development] michael_0394:
I tried encryption on last build and it ended up causing a kernel panic. I'm not sure what I did wrong. I'm still on MM firmware too, I've only ever flashed Lineage 14.1 and now AOSCP.
[G4 Android Development] raptorddd:
Download this:

http://droid.binbash.it:8008/stock/LG/h815/29a/LG-H815_Official_v29A_extracted/modem.bin

Boot in TWRP ( you must use one of the latest preview versions)

Make a full backup but ensure you select

EFS

Firmware

Boot and Flash the file you have downloaded in step 1 in fastboot:

fastboot flash modem modem.bin

or

Boot to TWRP.

Then follow through all these steps:

adb push modem.bin /tmp

adb shell

dd if=/tmp/modem.bin of=/dev/block/bootdevice/by-name/modem

(the above is 1 line!)

sync

if you gave problem just ask
[MENTION=5545101]steadfasterX[/MENTION]
[G4 Android Development] michael_0394:
Thank you so much!! I will try this once I'm home and see how it goes.
[G4 Android Development] ThePiGuy:
Is this not for the wrong phone?
[G4 Android Development] jorgecft:
Umm I didn't, strange
[G4 Android Development] ThePiGuy:
Ok, well that's how it should work in theory. Make sure you have a backup should anything go wrong, and then you could dirty flash the latest 5.2 official over the top. Don't dirty flash unofficial over the official, as that won't end well
[G4 Android Development] kessaras:
Whatever you say or how many times you say it to me about ambient , it won't change anything.

I'm not the lead dev and rom owner. I'm g4 , op3 and more , maintainer.

Encryption works fine and I'm encrypted . I don't know what you did wrong. And mm firmware is wrong.
[G4 Android Development] ThePiGuy:
You are doing a great job and we understand it's not your fault. It's just unfortunate that such a great ROM has a big privacy flaw that we can't remove
[G4 Android Development] michael_0394:
Was the post by [MENTION=5308112]raptorddd[/MENTION] the correct process for installing v29a modem on h811? I'm only asking because I see the download is for h815 and I want to be sure before proceeding and breaking stuff lol
[G4 Android Development] ThePiGuy:
Personally, I wouldn't flash firmware for a different device than the one you own. I haven't heard of h815 firmware working on an h811, and the chance of it permanently bricking your phone is very high.

Sorry I can't give any more info - I own an h815 so I never encountered this issue
[G4 Android Development] michael_0394:
No worries I appreciate the advice lol this is my only phone so I don't wanna take that chance ?
[G4 Android Development] stratonz:
Thanks kessaras! Installed 22/10 rom in association with Titan kernel Los 1.3: all seems work good, photo quality is ok, battery normal (with blu_active/fiops), substratum seems perfect (in lineage with genesixx sources It doesn't work). Some notes:

Is it possibile to have kill app back button, from developer options or buttons configuration, as you like? And generally more configs possibility for navigation and status bar? (Excuse me, I was used to work with the lot of personalization possible in AICP or RR).

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] deezid:
I wonder if it's possible to port Lineage OS' Livedisplay into this rom? It solves all the green tint issues I have with the G4 Display by dialing green down a bit.

Would be amazing.
[G4 Android Development] kessaras:
Live Display:

Optimise your screen based on time of day

Night Light:

Tint your screen amber

I dont know if there is actually any difference between those two , but sadly it's not an app to port it. It's framework depended.

[MENTION=2692527]deezid[/MENTION], by the way,

titan kernel gives full control over the screen. install kernel adiutor and check it for a moment. you will find lots of "things" there

Sorry for the late answer , now I saw it.

Here is not possible to add because I have to change the framework. Aoscp is supposed to be close to pure stock.

In addition, i have already made something good. I'm prepared for when we lose RR and LOS.

I won't let this phone die yet.

For now go with what we have , these two roms (only this one and Los unoff. are up to date).

For Nav and statusbar use substratum. Having oms is good. For example I use

PS solid navbar https://play.google.com/store/apps/details?id=com.juancarlos.navistarterpack

and configure the actions in settings if I want more.

Same goes with statusbar
[G4 Android Development] deezid:
That's sad. There's RGB option which is pretty great. Tried many others, many are overlays, some are native (root). But they all make the phone even slower.

Livedisplay doesn't have any impact on performance ;)
[G4 Android Development] Termehansen:
Changelog of 22/10?

Dirtyflash from 15/10 or do you recommend clean?
[G4 Android Development] kessaras:
You can dirty too, just remember to dirty flash gapps too because I forgot to fix the survival script here. I don't know why it's crap. From a fast look I didn't see any mistake.

Edit:

Framework fixes. Only error fixes for stability.

I mostly worked on kernel this past week
[G4 Android Development] ufocus:
You have in kernel support for changing display colors natively. You can do this with kernel adiutor or any other app that has this option. NO impact on performance! Nada. Or search for "kcal" even there you have a ton of of options.
[G4 Android Development] stratonz:
[MENTION=5461026]kessaras[/MENTION]

Well done man! :good: I've seen some repos movements... Thanks a lot for your efforts in mantaining this phone alive, I'd like to help you, but I've build only some kernels and I don't know how to start to build a whole rom using the correct repos and manifest... :confused:
[G4 Android Development] deltadiesel:
This is probably best ROM I've ever used

Clean

Stable

Simple

Fast

No bull*****
[G4 Android Development] Dade97:
Hi Kessaras,

in google camera post link i've found this way to enable the slow motion to OP3 by addind some line to media_profiles.xml (HERE and here)

it is possible , when you have time, to adjust it for our G4?

take your time and think to more important things first

Thanks for your work!!
[G4 Android Development] kessaras:
good point. i will check it.

it may also work as it is, since our camera already has 60fps and 1920 res. and even more than that.

Did you try adding those lines in your media profiles ? i will test them too of course and maybe add one more for higher resolution
[G4 Android Development] Dade97:
yes, i tried but nothing change... :confused:
[G4 Android Development] jurastefo:
Is Google Camera App PRO only for snapdragon 820/821/835 or too for 808. Which app do you using in this ROM.
[G4 Android Development] kessaras:
there is no app that doesn't work with aoscp. its pure aosp.

those apps developed there are for those cpus because the stock one doesnt work. here the stock full works.

And also use search to see discussions about it from other members too for more info. Of course you can't be the 1st one and only wandering about google cam