yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] tambukey:
I would agree, people that don't understand that process shouldn't mess with the daemons. I was simply offering a possible solution to an issue I had. For me /system/vender/bin/mm-qcamera-daemon was using about 45% of my cpu putting it at about 90% in use at the time. I was discharging at about 1200mA so my chargers could not keep up. Also my phone was basically on fire. I do not know why the daemon did that nor did I get logs cause I was out at the time and didn't want my phone to die. Force stopping and rebooting didn't work so I used that app to kill the daemon. I have not gotten any errors since and I even restarted the camera immediately after the kill to see if the problem would persist, and it did not.

I apologize if people are coming straight to you for issues, but that is on them. This forum is for your rom, but it is also for Community support for your rom. Thats how these things get better, everyone helps everyone.
[G4 Android Development] lq092009:
https://drive.google.com/folderview?id=18x1akOLCxsLpg9Mnikn0pFUiFfD202uj

A temporary fix solution to the rild ...

I got a delay to start the rild 10 seconds late with the sleep command.
[G4 Android Development] kessaras:
Doesn't work like that and you can start later the ril without extra script.

Even if it start late it will connect only if you are lucky
[G4 Android Development] steadfasterX:
Not in the news but at least in XDA feeds ;)
[G4 Android Development] Minto107:
"... from senior member kessaras" should be recognized contributor or developer ;)
[G4 Android Development] steadfasterX:
Yes. If he want he may can get that title but he must ask XDA for that
[G4 Android Development] Minto107:
True ;) but it's a lot of fields to fill [emoji14]
[G4 Android Development] kessaras:
@@ :D

i will just apply and leave fields empty. no way i complete a whole biography for a title.

EDIT:

Soon the AOSCP website one of these days will be updated and you will all flash the Official
[G4 Android Development] Minto107:
XDA wants to know everything ;) next year they'll require you to share your localization permanently with them haha

---------- Post added at 09:08 PM ---------- Previous post was at 09:08 PM ----------

BTW do you plan to release new build today? I have quite old one and I feel like I'm missing out haha :D
[G4 Android Development] kessaras:
that they know it already from my ip. what they do not know yet is when i poo and pee :p

Yup. Need to check it first because I was jurking with commits adding and removing and I got a little lost.

Later.
[G4 Android Development] Minto107:
Good, I'll wait a little longer just to flash latest build ;)
[G4 Android Development] Monkeypox95:
[MENTION=5461026]kessaras[/MENTION], I wondered, do you know if the DRM Widevine are implemented in the latest build ? It's because some TV Apps need them and as far as I can remember the 20180112 build didn't have them. Correct ?
[G4 Android Development] kessaras:
i need log for that. i dont have proper tv to find that.

Someone test with me latest build. I think i fixed ril that doesn't connect on boot rarely. But i want to make sure.

I may be getting just lucky again and make fool of me that i fixed it, lol.

Wipe only system and dirty flash
[G4 Android Development] Monkeypox95:
Ok I will provide logs on the latest build.

Can we now dirty flash without having to reflash gapps ?
[G4 Android Development] kessaras:
I said official only from inside OTA.

No need logs for ril. You see this damn error is no error. It just doesn't connect randomly.

About widevine I need logs.

p2p will eventually fix it on my own.

Bluetooth distorted audio in call is totally unknown. Tried everything and didn't work. I think as said before it's from the blobs. It needs the g4 blobs not the open source but g4 blobs do not pass Hal. It will have to wait for a LG miracle (g5 Oreo) to use blobs from there

not able to check. he built his own audio hals in device tree. now its different
[G4 Android Development] adamz667:
About RIL - it's funny 'cuz I'm always get no sim error after clean flash also on latest 18.01 build :) But there was one exception - on 14.01 build I've had sim after clean flash without GApps an Magisk

About distortion - I've had in past other LG device - LG L9 (P760) and there was similar problem with distorted audio on CM rom but only while phonecall. Dev changed some volume values in mixer xml to reduce distortion. Here you can find that commits - https://github.com/adamz667/device_lge_p760/commits/cm-10.2/audio I don't know if that could help, but it's better than nothing ;)

EDIT: On 19.01 build sim error still exists - on first boot sim was present, but after reboot it was lost.

EDIT2: And probably SMS service is down on latest build - I don't know right know if it's on my side or is it rom related. Need time to test.
[G4 Android Development] Monkeypox95:
Yes RIL still got issues on the lastest build. 1st boot had no sim card and second boot ok.

For me SMS service is OK. Can receive and send.
[G4 Android Development] kessaras:
damn.... this new strict security is a pain.... but who can blame them.......

There are so many junkies out there spending night and day in front of Android to try find a hole to hack us..........
[G4 Android Development] A_Kirsh:
So there's still hope :)
[G4 Android Development] jurastefo:
Camera is not from stock right? Google camera or snapdragon camera contains this rom?
[G4 Android Development] kessaras:
why do you think about it and shot me with questions too ?

isn't it easier to enter twrp , create a boot,system,data,cache backup

flash any rom you like, and if you dont like, restore backup ?

camera APP is NOT from stock. its from Google.

The apps in 2nd post , the snapdragon is from Paranoid and i simply added few more things to it.

The damn camera quality as i said many times since 1 month or more is same as the stock one because i use nougat sources.

Do that backup and flash any rom you like in this vast universe and if you want , restore back. It takes more time to think about it , than just do it.

(not being rude or angry. i just mean that you have to be more confident and its faster to backup and flash whatever you like)
[G4 Android Development] deltadiesel:
Where did you even get that from ?

---------- Post added at 11:47 PM ---------- Previous post was at 11:44 PM ----------

Awesome. Tnx

Hey why can't we dirty flash?

Every time you make a release I'm going to have to clean flash flash?

Tried dirty this ROM did not like it

Are you able to add any other similar settings or are you keeping it stock aosp?

Date would be great for status bar
[G4 Android Development] Minto107:
From your screenshot?
[G4 Android Development] marn3us:
Sorry for the small OT, but has anybody been able to use Google Camera's HDR+ with this ROM?

If yes, could you please tell me how? Also in PM if you want, so that we don't clog this thread :)
[G4 Android Development] deltadiesel:
What are u talking about?

I think only on complaining about text size is you

Because I ENJOY the size on my screenshot

I have good vision
[G4 Android Development] Minto107:
Wtf. You've sent a screenshot to show that something is wrong. As I haven't spotted anything I thought about only change from stock ROMs. Density
[G4 Android Development] kessaras:
status bar date is already there.

i can't add. i have to modify the whole aoscp framework. AOSCP is made to be simple and close to stock google with only the most important addons and being close to stock is what makes it so stable.

dirty flash doesnt fully work here because AOSCP survival script has same app names with the google apps. So when we dirty flash only the rom, google apps are getting replaced by the roms apps.

To dirty flash successfully you also have to dirty flash your gapps package.

my first builds fixed a lot of bugs and clean flash made sure that it wont have any bug left from previous build.

Tomorrow fixes are in sources, so dirty flash is good. Just remember to dirty flash gapps too.

hdr works in the official google cam app in gapps package and in Snapdragon Cam app i made.

the google cam app in 2nd post is modified to work on snapdr. 820 processors
[G4 Android Development] deltadiesel:
I put a screenshot to show icons background color don't change with black themes and sometimes they go screwy in color ( that might be substratum though for icon color going screwy)

---------- Post added at 12:04 AM ---------- Previous post was at 12:01 AM ----------

Is it what it is. For for advice

I'm not complaining I'm just used to my old ROM

Its a good ROM im using it
[G4 Android Development] kessaras:
cool :cool:

remember dirty flash gapps too on dirty flash.

and that other thing with the fonts up there yeah its from substratum and only the maintainer of that theme can fix that
[G4 Android Development] deltadiesel:
I'm not talking about text LOL someone else is

If you look at my screenshot

You see the colours around the icons stay white....not related to substratum

Color icons changing....that is substratum issue
[G4 Android Development] kessaras:
Did you set a different icon theme and they didn't change ?
[G4 Android Development] deltadiesel:
No I didn't set a different icon theme

Theme I'm using does not change icons

Messaging gmail changed colours somehow though
[G4 Android Development] stratonz:
Snapdragon camera linked in the first post for me produce not viewable images... Has someone the same problem? Thanks.

Ok, the problem exist only saving on sd card, if you use phone memory It works...

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] marn3us:
Same problem for me, I think the camera cannot access external storage but if you use internal storage it works well.

Thanks for answering, I am using your Snapdragon Camera and I really like it but I wanted to try Google's HDR+ which seems to have a fantastic algorithm.

I tried official Google Camera from Gapps and it works but it does NOT have HDR+ (since we are not using a Pixel).

I also tried the Google cam you provided in the second post but I tried turning HDR+ on and off and it makes no difference (so HDR+ isn't working).

Could you guys please explain to me step by step how to make HDR+ work with AOSCP on G4? :)

Thanks in advance
[G4 Android Development] kessaras:
Google cam hdr

https://androidfilehost.com/?fid=889964283620754773

You have to track down updates. I don't know either how to track them down and give the right link.

I can't find the official thread of that , only people posting a version here and there.

That one in the link works and the screenshot shows you how to make it work in the settings.

EDIT:

kisakuku does the same and uploads here

https://androidfilehost.com/?w=files&flid=207256

jamoript the same

https://xdaforums.com/lg-g6/how-to/google-camera-hdr-ported-g6-t3655374

xda devs

https://androidfilehost.com/?w=files&flid=59336

All these are google cam apps modded with hdr and whatever else google adds.

happy testing and the one 1st link i gave you is the one working tested by me.

good luck trucking down the updates , lol.
[G4 Android Development] Dade97:
can i use f2fs filesystem?

it work better?
[G4 Android Development] kessaras:
nah, f2fs is still no good. ext4 is the best.

f2fs is good when it doesn't have to cache something new every second.

ext4

slower but faster io

f2fs

faster but slower io

the best would be if we could use f2fs for the system partition but thats not possible yet on pc or on phone.
[G4 Android Development] marn3us:
Thanks for the info, I've been testing cameras for 2 hours lol

Anyways, I haven't been able to make HDR+ work with any of those cameras (not even with the first one you linked)... I copied the exact same settings of your screenshot but it still didn't work (I also tried other combinations but no results).

Did you have to edit build.prop?

Are you 100% sure HDR+ works for your phone? I mean, with your settings and your Google cam linked I can take good photos but they are not HDR+ (they are normal pictures).

Thanks again :)
[G4 Android Development] kessaras:
im sure it works with snapdragoncamera which i use. focus is faster and i like it. i dont have to try to not move my hand. i just hit the button and thats all
[G4 Android Development] DosenHatti:
I've got no issues with sms

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] Monkeypox95:
[MENTION=5461026]kessaras[/MENTION] as promised the logs attached. Hope it helps. Tell me if you need anything else.

The TV app used is Molotov
[G4 Android Development] nigxxx:
[MENTION=5461026]kessaras[/MENTION] correct me if i maybe miss out this whole 159 pages.... is there a way or is there original LG camera app working on this Oreo of yours? because this stock camera is peace of $*it
[G4 Android Development] Monkeypox95:
[MENTION=5461026]kessaras[/MENTION], Stock cam is not working at all on the latest build nor the GCam.

I clean wiped to install this latest build. Weird.

See attached.
[G4 Android Development] A_Kirsh:
Actually, I was referring to Bluetooth :p
[G4 Android Development] DosenHatti:
Sorry, took the wrong entry to answer. Someone was referring to have probs with SMS earlier

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] kessaras:
drm.service.enabled=true

find that in /system/ (dont remember its name).prop and remove that line. reboot. tell me if its ok

No need to get in trouble with logs when something is fresh. i know where its coming from.
[G4 Android Development] Monkeypox95:
This is for the cam or the Widevine DRM ? (seems DRM but you answered to my cam issue)
[G4 Android Development] kessaras:
they are all connected. all media is a f*** chain. its so hard. you try fix something and breaks something else. just do it and tell me. its only a line. you can add it back later if it doesnt fix the cam

EDIT:

And btw use google camera from PS. you can get link in apkmirror and install from PS. it gets even better photos than stock and can handle hals better.

Also has a better compression algorithm in selfies.
[G4 Android Development] Monkeypox95:
when I want to edit the default.prop file in /System with FX Explorer. I granted root access to it but cannot edit the file in it, it says "Unable to read the file". Any app advice to edit system files on the phone ?
[G4 Android Development] kessaras:
nvm will do that asap now. and edit this post to inform you if it fixes it.

and i saw your log about tv. TV connection is fine. The thermal engine crashes and stops any activity currently running. LMAO./

will fix it soon, this weekend.

EDIT:

Stock cam app works here. Did you wipe system before flashing the rom ?

did you dirty flash or clean flash ?

EDIT2:

Took a look in your log for cam.

W/CAM2PORT_AndCamAgntImp(1724): Releasing camera without any camera opened.

Lol , how ? releasing camera without any camera opened ? lol.

Please reflash latest or ... don't know whats wrong there. Cam is working in the build.
[G4 Android Development] aha360:
I can confirm that the AOSP/stock camera works without issues, and the ROM installation was done by dirty-flashing the ROM, GApps, and Magisk, all in one attempt.
[G4 Android Development] kessaras:
did a clean too to make sure. its working.

the quality of all those LG's out there makes me cry ...

anyway. aha do you have any tv too to make me a log to make sure that indeed thermal engine crashes the connection with some tv apps ?
[G4 Android Development] aha360:
I have a Hisense TV, and a Samsung LE40B550, but my family will be wasting their time watching Indian garbage trash on it. I'll be testing that later in the evening.
[G4 Android Development] tambukey:
So you know, the drm.service.enabled=true is in the /system/build.prop NOT in default.prop. With FX explorer and their text editor you should be able to edit that way, may require setting /system to read/write with FX. Also for me, [MENTION=5461026]kessaras[/MENTION], I dirty flashed(truthfully I just wipe dalvik/cache and cache with TWRP then flash rom, gapps stock, and magisk) and so far everything works just fine including stock camera app. I don't really see a difference between stock and Gcamera, but I think I am going to try the pixel's version of the app thats being ported to a lot of devices.
[G4 Android Development] adamz667:
Latest version of Arnovas GCam is working fine - https://www.google.pl/amp/s/xdaforu...d-google-camera-hdr-60fps-video-t3658552/amp/ You can find my post about app settings in GCam thread for LG G4.

I also use ProShoot cam app. It's stable and has good manual mode.
[G4 Android Development] Monkeypox95:
Ok now the stock cam is fine after another clean flash !

I downloaded the last arnova cam as suggested by [MENTION=3503009]adamz667[/MENTION] but how can we install apk from other sources ? I don't understand it in Oreo...

Just to continue on my GPS issue, Waze can't be configured at all. I don't know yet if it is related to the ROM. Will push further later. Anyone having problem on the last build with GPS?
[G4 Android Development] DosenHatti:
Hi, I installed Waze and it's running on my device. Install from other sources is hidden in the advanced 'app-settings' 'special-app-access'

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] Monkeypox95:
Ok Waze is now fine after reinstall.

The install from other sources you mention is a list of apps installed from unknown sources. The fact is that I cannot install the app by clicking on the APK. It says "impossible to open the file".

Sorry for bothering y'all with my issues, I'm flooding the topic for few pages :rolleyes:
[G4 Android Development] DosenHatti:
I downloaded via Chrome and got asked to give permission for Chrome as a safe source

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] Ironic:
Which apps are you using for the IR blaster? Cause mine isn't working with the latest version of anymote
[G4 Android Development] DosenHatti:
I think we need a proper working phone before we think on remotes. Give Kessaras some time to get the Oreo proper working. Than the apps.

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] tambukey:
Don't know why but this is the only one I have got working. At least I use it for my LG TV and it works

https://play.google.com/store/apps/details?id=org.twinone.irremote

Did you ever get it working?

For everyone, the gcam suggested by [MENTION=3503009]adamz667[/MENTION]: https://www.google.pl/amp/s/xdaforu...d-google-camera-hdr-60fps-video-t3658552/amp/

works amazingly. the stock camera by [MENTION=5461026]kessaras[/MENTION] is great and works very well, but with the right settings from that gcam it's even better, but uses so much battery. I am using the arnova v1.6 version and followed adamz667 settings from here

https://xdaforums.com/g4/themes-apps/google-camera-hdr-t3681549/post75159792
[G4 Android Development] kessaras:
That's what the thread is for. discussing such things. Otherwise it 'd be a chat room not debugging thread :D

It helps me a lot discussing bugs.

Do the smart TV apps you are reffering to use the wifi direct method to communicate with the phone ?

Because p2p is 1 of our only 2 bugs right now i gotta fix.

Audio is one: Now i discovered that our audio device uses voip prefix which is gone now and replaced by voice prefix. I got to find a legacy fix that will bring back the voip prefix.

WiFi direct won't work until i fix p2p. Our device tree never had WCNSS and thats what propably missing to fix p2p. (not sure yet, haven't worked on that at all until now)
[G4 Android Development] #ApolloLiteProblems:
If you want a good laugh, read on.. This is semi-related to the topic. I was telling a friend of my mother's (who's fairly tech savvy) that I was running Android 8.1 from AOSCP. Then my 13 year old brother started shouting that it was illegal because LG 'kept it on Android 6 so we'd buy new phones so therefore this is illegal'. Jeez.
[G4 Android Development] aha360:
?? PMSL - talk about going #fullretard
[G4 Android Development] sperelli:
SURE app is working here.
[G4 Android Development] aha360:
[MENTION=5461026]kessaras[/MENTION]

Sorry for the late reply, but I crashed asleep at 7pm yesterday, so I couldn't get a chance to reproduce the smart TV linkup bug that crashes the Thermal Engine.

Here are some logs.
[G4 Android Development] nigxxx:
i installed build 19/1/2018, huge battery drain, 40% over night discharge, battery is draining like hell. i dont know is that in all builds or just this one, but this is not good. i am going back to stock N, for now. i understand there is lot of things to polish . it is fast rom but pooor batery life.
[G4 Android Development] Monkeypox95:
[MENTION=8773512]tambukey[/MENTION], I finally managed to install it through Google chrome, it is ok now. Thanks a lot ;)

[MENTION=5461026]kessaras[/MENTION] and [MENTION=5659251]aha360[/MENTION], I think there's a misunderstanding here when I was talking about the TV app. It's not related to a physical TV. It's an app, Molotov.tv, where you can see TV program on your phone legally. No need for a physical TV.
[G4 Android Development] Minto107:
Works fine with Xiaomi app

---------- Post added at 11:05 AM ---------- Previous post was at 11:04 AM ----------

Correct him that G4 has android 7 not 6[emoji23][emoji23][emoji23]
[G4 Android Development] #ApolloLiteProblems:
I never got a 7 update (I'm in England) so he knows I was stuck on 6.0

---------- Post added at 11:17 AM ---------- Previous post was at 11:16 AM ----------

Same with battery drain man. Getting an hour and a half of SOT here.
[G4 Android Development] Minto107:
Also 119 build. Battery life is same as before but standby drain for me is lower than it used to
[G4 Android Development] kessaras:
its the dissadvantage of having everything working.

all daemons and services run successfully. i may stop a couple of them when i fix the last bugs ( or quit on them lol ! )
[G4 Android Development] aha360:
Last time I checked, VERY FEW countries only managed to get Android Nougat for the LG G4, and yes, this is coming from someone who now doesn't bother with wanting to use official firmware as daily drivers at all.

Off-topic: I managed to brick an Oppo Find 7a, in which my brother got for his wife, as he wanted to check the custom firmware offerings out, but that went pear-shaped, and I had to use the Unbrick Tool, initially without success as I ended up with 0MB of internal memory, but my brother has since managed to fix this LOL.
[G4 Android Development] #ApolloLiteProblems:
[MENTION=5659251]aha360[/MENTION] Oops lol. I wish I had multiple phones lol.. My G4 is my daily driver so I have to be careful what I do. My mother doesn't know anything about android development and my father has an iPhone so they don't understand a thing I'm doing
[G4 Android Development] Minto107:
By saying lower I meant I achieve better standby time haha
[G4 Android Development] #ApolloLiteProblems:
I keep mine on the charger overnight or else it dies. I might just need a new battery, but LG doesn't sell them anymore and my family doesn't trust 3rd party stuff.
[G4 Android Development] Minto107:
I keep it on the charger as well but it serves me well during the day
[G4 Android Development] aha360:
If my brother found out that I ended up bricking the Oppo Find 7a that isn't mine, he'd kill me, but he didn't mention anything of the sort, except that the OS was rolled back to ColorOS, built on top of Android 4.3 - but as for the fear of getting told off, hehehe we have all been down that road some point in our lives.

As for multiple phones, I have, as of the time of writing, an LG G4 H815, which is a replacement unit, and a second-hand Moto G LTE XT1039 (Peregrine), both on Android 8.1, with the LG G4 obviously on AOSCP (@kessaras and [MENTION=5545101]steadfasterX[/MENTION]), and the Moto G LTE on AOSPExtended (@allstargaurav et al)

There are offlcial(ly labelled) LG G4 batteries being sold on eBay for £5 average selling price, but based on what I have read, your parents might be too skeptical to buy such batteries from eBay.