yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] kessaras:
No. Me im not working on the rom since i got back to lg and had my p20 pro bricked.

This phone sucks. It needs a lot of attention to have everything working.

I'm more working in our device tree and kernel bug fixes. https://github.com/CypherOS/kernel_lge_msm8992 which then gets synced to the other roms we have.

Also most features are not supported here.

Any kind of a feature needs a kernel driver, a hal and a service and the feature in framework ofc.

If i start adding things here, you will see your battery die in 1 hour or 2.

For example locally i added driver for TOF sensor, i built the TOF sensor.

I went to test a few photo shoting and it was amazing. But...... after 10 pics i was down to 10% battery.

Pie is already too much for this phone....
[G4 Android Development] avirgosm:
For me stability and battery saving are the core.

ToF Sensor on our G4? Using laser focus??
[G4 Android Development] avirgosm:
Great!

Wow [MENTION=5461026]kessaras[/MENTION] ¡new build! I will test just now!!!
[G4 Android Development] kessaras:
you are slow. Today i will build again. I fixed a load of things again

https://github.com/CypherOS/kernel_lge_msm8992/commits/poundcake-release

But go ahead. Latest is the best until now. And tomorrow i will try fix the play store bug, otherwise i will add yelp store and make rom independent from gapps
[G4 Android Development] avirgosm:
[MENTION=5461026]kessaras[/MENTION] you win!! Jajaja you let me with a big question inside (ToF con lgg4!?) by the way there are a FOSS Google play client (aurora store) i tested it works fine with his own device simulation
[G4 Android Development] kessaras:
thanks for info. i didnt know such store existed but i dont like this account blacklisted warning.

I'd better use fdroid and yalp store. if we install yalp store in system it can do everything right too.

Just wait a couple of days to see if i can find which prop is wrong.

EDIT: [MENTION=5769171]avirgosm[/MENTION] added it anyway in post #3 information just in case someone wants to run without GAPPS.
[G4 Android Development] ConradP:
Oh. New build on-line :D
[G4 Android Development] kessaras:
Haha yeah. I wanted to share some fixes.

I fixed the NFC. I didn't even know it was broken , nobody said anything.

From Los thread I saw it
[G4 Android Development] kessaras:
Today it is going to be the last build for the summer, unless we find any bug.

- Torch translated to most common languages. If you want to contribute your language tap here.

Download the strings.xml , write down the Flashlight translated to your language and send it to me to import the translation.

Currently available translations: https://github.com/CypherOS/device_lge_g4-common/tree/poundcake-release/flashlight/res

- I have removed most of kernel wakelocks so the device won't wake up for no big reason or if there is no notification.

I let on purpose some important wakelocks for radio (sim signal - its critical. its always on), wifi (wifi scanning - not important. can be turned off from settings), bluetooth scanning (- not important. can be turned off from settings).

So, this strict "no wake up" set up from me, has benefits but it has downsides too.

The good one is that the idle battery drain is close to none. it's like 2% - 4% battery drain during all night if the device doesn't wake up.

If you have more than 20% drain remember to reboot because something has bugged (maybe the ril bug we have since Oreo and it gets to 90% load).

The downside of this strict setup of mine is that the power hal can't measure correctly the battery. It may need a few days and many 0-100 cycles until it adjust.

This means that you may see the battery being 80% but in reality it's 98%. (until it calibrate a few times).

It may confuse you a little bit at the beginning but after a few days it will be fine and the idle battery drain is improved by a lot.

Ofc since we are talking about kernel, this is going to be merged in all our roms.

Have a nice summer , i hope we don't talk again until Android Q. Which means that we are good and we don't have any bugs.
[G4 Android Development] DosenHatti:
Have a nice summer. Thx for all the work you and the team has done for us on the device.

Gesendet von meinem ONEPLUS A6010 mit Tapatalk
[G4 Android Development] avirgosm:
Thanks mate!
[G4 Android Development] wotofoko:
Thanks for your work!

Is play store now fully functional or still most apps are blocked/old?

Enjoy the rest of your summer!
[G4 Android Development] ConradP:
Marvelous job OP?

[MENTION=5461026]kessaras[/MENTION] you really hate Gallery App. It's gone in the latest build
[G4 Android Development] kessaras:
Really? Damn. I always use Google photos and I forget. Will build it tomorrow ?

I don't know. 3rd post below OP I give alternative solutions which work just like playstore. After flashing rom and gapps you can disable play store and use an alternative which does exactly same thing.

I don't know what's going on. Both me and sfx scanned props and they are exactly same in our trees.

After that I added more props about the device and I'm really thinking if this goes on, I'll ban Google like they ban me ?

Maybe I'll add a line in survival script to uninstall playstore ? (joking)

No idea what's going on with playstore....
[G4 Android Development] hamed_forum:
I have one question

It's good change official android 6 to the this rom?
[G4 Android Development] SFDalha:
My phone got bootloop after installing this rom. It's showing kernel crash. Help!!!
[G4 Android Development] avirgosm:
Thanks for new build. Google play or not show some apps or show old one (Google maps, tasker) some kind of prelollypop versions
[G4 Android Development] ConradP:
Can't complain mate. No problems for me. Very smooth. Great battery time.

We only have some issues w GStore but you can download apps from the internet.

Did you use Pie TWRP? IF NOT that is your problem.

Yet I have encountered kernel crash - took out battery. Waited sometime and restated. Now it is working fine. It's like every OS it can crash sometime.

Still my favorite rom for H815 now :good:
[G4 Android Development] SFDalha:
Do you have the pie TWRP link?
[G4 Android Development] PhantomWhisper:
on first page of thread :)
[G4 Android Development] dat_benjie:
Hi, first of all, thanks for porting this old bad boy to Pie!!

What I've found is that with Luna Launcher, my apps on the Home Screen disappear after a while. I could not identify a pattern as of yet. Has anyone else experienced this? Also, from time to time, the app symbols are showing a low resolution..

Build is the one from yesterday.

Any help or insight will be appreciated.

Cheers
[G4 Android Development] Max42352:
Hey, does google pay work? Please check.
[G4 Android Development] kessaras:
Yeah it has its issues. I don't use it. I tried to convince Chris to fix the bugs but I got a no ...

Luna launcher thinks that we have a fingerprint sensor which we do not have and that's what breaks it.

Lawnchair launcher for me.
[G4 Android Development] spawnn6:
Hello.

Where i can find OFFICIAL ROM A.O.S.C.P. for LG G4 with Android PIE ??
[G4 Android Development] kinuris:
I think you have to see the page in a browser. You cannot download from XDA app. Regards
[G4 Android Development] ConradP:
You can find it on the first page of this thread.

Remember TWRP for PIE is a must!!
[G4 Android Development] spawnn6:
Official ROM on the first page for my phone is:

Version: 6.0.0

Date: 2018-07-17
[G4 Android Development] ConradP:
What is your phone model? This is only for H811 and H815 models.

https://mega.nz/#F!00RUzQ7Y!C-Rc4ZENz49y3xGiGc_jtA
[G4 Android Development] mathbond:
Hi

Here the translation in french, tel me if it s ok

thanks for your work ;)
[G4 Android Development] busattovini:
Translation

Portuguese. <3
[G4 Android Development] Mogster2K:
Pie is an UNOFFICIAL build. Use the link named "Pie builds are here for now" in the first post .
[G4 Android Development] ConradP:
I see gallery app is baaaack:D
[G4 Android Development] kessaras:
build 31-07-2019

Revoked framework access to torch.

Located here.

Commit : https://github.com/CypherOS/device_lge_g4-common/commit/bbd043e2db4aa3f97d3d66ec514e3739d55fa27e

No cameraserver crash anymore, since the framework doesn't know that we have a torch.

- Removes the buggy torch tile that was getting auto-created by the flashlight controller

- Removes the torch from settings options

- Removes the torch tile from lockscreens (but if you see it in any 3rd party lockscreen, its just a wasted drawable without any function)

Torch:

Added French and Portuguese translations | thanks to [MENTION=8060625]mathbond[/MENTION] , [MENTION=9768335]busattovini[/MENTION]

https://github.com/CypherOS/device_lge_g4-common/commit/3be2b1a2c90d4ca835ad8eee5cc4dde58c93a225
[G4 Android Development] Scooterthedude:
I just hope as a team we can fix the play store. I swear I ran into the issue before with another rom and fixed it somehow. Looking into it.

Thanks for the new fixes!
[G4 Android Development] kessaras:
We went through these props many many times.

I don't know anymore. I gave up on playstore.

Aurora can update my apps just fine...

If you guys compare with los16 and find something i haven't seen , let me know.

Just remember to clear playstore cache/data before reboot after changing a prop in build.prop. And always keep a backup.

Also what worries me is that not even magisk can fix that. I don't think it's a property problem...

If it was, magisk shouldn't have fixed playstore then ?

I don't know... To me it looks like a very specific ban from Google aiming here this rom+device combo....

I can't explain it in any other way....
[G4 Android Development] kessaras:
01-08-2019

- Fixed Luna Launcher crash

02-08-2019

- Removed WiFi-direct from Settings. After a huge fight we didn't manage to fix error "no such device" for p2p0

- Removed ambient display light sensor permission, forgotten there since MM. Probably someone else before me tried to add this useless for our panel feature.

- Kernel updates: Added per task cpu freq stats for all variants.

- Added more translations for flashlight: pl

I hope i really don't log into the android environment for some time... Enjoy !
[G4 Android Development] kessaras:
How about a teaser ?

Shouldn't we have one YouTube video of our stable Pie to show off to everyone out there ?

Anyone willing to make one ? ;)

We managed to keep alive a legacy and we are about to go for Android Q.

We grabbed the LG sources which had so many bugs and we created a diamond.

LG never shared the Nougat sources , we used the Korean sources from another variant which is half compatible.

LG never released these N builds , they stated that they have many bugs and they failed us. So we only had one major update. LP -> MM.

LG never unlocked officially other variants , but we managed to do that too.

Starting with the Android Q we are a LEGACY.

Despite all difficulties we have now one of the most stable Pie software out there.

We deserve a teaser. Someone good looking and with a nice voice should create one :D

I'm waiting for a link.........
[G4 Android Development] gibbsnich:
Sorry no good looking here ;)

But I must say: what you guys did is really awesome! Thanks for all your hard work! You're already legacy :D

I hope my G4 survives long enough to see Q.
[G4 Android Development] kinuris:
Hehehe mine died and I bought a refurbished one from Aliexpress. Just to be able to use these ROMs and carry on this wonderful community and incredible developers. Thank you all
[G4 Android Development] speed47:
Yep the work you've been doing so far is quite impressive guys. Thanks for your continued involvement [MENTION=5461026]kessaras[/MENTION] [MENTION=5545101]steadfasterX[/MENTION] :)

I think it's time for a little PayPal donation again! Not for what's coming next, because you don't owe the community anything: it's the other way around, your continuous support of this hardware for the last few months (and years!), even for several roms (I use AICP because it's the only one to allow signature spoofing for microG) is very much appreciated. We all still use our G4 thanks to you, and each still-alive-G4 in the world is probably running one of your builds.

Talk about an achievement ! :)
[G4 Android Development] hamed_forum:
tank you [MENTION=5461026]kessaras[/MENTION] [MENTION=5545101]steadfasterX[/MENTION]

do you suggest i use this linkhttps://xdaforums.com/g4/general/guide-create-custom-x-cores-boot-image-t3718389 and disable 2core?i think 2core disable battry is better?

my device know work good but i faer bootloop?

---------- Post added at 06:03 AM ---------- Previous post was at 06:03 AM ----------

tank you [MENTION=5461026]kessaras[/MENTION] [MENTION=5545101]steadfasterX[/MENTION]

do you suggest i use this linkhttps://xdaforums.com/g4/general/guide-create-custom-x-cores-boot-image-t3718389 and disable 2core?i think 2core disable battry is better?

my device know work good but i faer bootloop?
[G4 Android Development] kessaras:
You will disable permanently the big cores out of fear for bootloop ?

It's same with , I'm afraid of cough so I don't get out of my home.

No we don't disable anything when it works. You will disable them only if it's needed because you have a problem.

If you really get a bootloop because of the big cores , then disable them
[G4 Android Development] hamed_forum:
tanks you

if i install Magisk you suggest install xposed?
[G4 Android Development] kessaras:
Mate I don't know about root because I personally don't root. Wait a bit until a user see your post and reply.
[G4 Android Development] hamed_forum:
Why icon don't have good quality[IMG="pic"]https://pasteboard.co/Irhkodp.jpg[/IMG]

And gps about 3 min detect location

After install rom and gapss install usu_baseimage
[G4 Android Development] speed47:
What do you mean?

When you just installed a ROM, the first GPS fix is always a bit long (it's called a cold start), because your GPS chip starts from scratch without any information. Subsequent fixes should be faster, because it already knows the theoretical position of the satellites (it's called a warm start).
[G4 Android Development] ConradP:
No. Don't it is still beta.

---------- Post added at 05:52 PM ---------- Previous post was at 05:49 PM ----------

Simple. Flash Magisk 19.3 reboot and install Magisk Manager 7.2 or 7.3.

It is working for me without any problem
[G4 Android Development] hamed_forum:
sometime after reset phone(change battery) the icon don't have clear and not good quality

[IMG="icon"]https://cdn1.imggmi.com/uploads/2019/8/6/87c32a1d3c72e619523976246b5b70c2-full.jpg[/IMG]

https://imggmi.com/full/2019/8/6/737dd7e0601bd664823bd1b5fa107b6e-full.jpg.html

Runtastic Road Bike in pic must show google map but dont show it

[IMG="road"]https://cdn1.imggmi.com/uploads/2019/8/6/737dd7e0601bd664823bd1b5fa107b6e-full.jpg[/IMG]

https://imggmi.com/full/2019/8/6/737dd7e0601bd664823bd1b5fa107b6e-full.jpg.html

tanks
[G4 Android Development] gh7531:
crash with blue notification light

Hello,

I'm running pie and currently experience crashes once or twice a day. I can not reproduce them and I have no idea what is causing them.

The crash has always the same result.

The backlight of the screen is still on, so light is emitted, but the display itself is black. No coloured artefacts or something like that.

The notification light shines blue and is permanently on.

The phone is completely unresponsive. Buttons do not work and taping on the screen yields no result.

After a while the phone gets warm to the touch so I guess something is consuming power?

The only thing I can do than is removing the battery and putting it back in. After that the phone starts without any issues.

I tried getting various logs but was not really successful.

logcat

I tried it using a terminal app, the adb, and an app called SysLog. The result is always the same: "logcat read failure".

I guess I can not get a logcat file?

dmesg

I successfully got a dmesg output but for my understanding the does not help since it only contains the kernel messages since the current boot but not from the once before.

I think I can get a continuous output with dmesg -w up until the crash occurs but I don't know if that is of any use in a bug report. Nevertheless I'm currently trying it out and if I get something I will update this post but since I can't reproduce it it might take a while.

I have obtained a dmesg log and added it as an attachment but I can't see anything out of the ordinary. It should contain the log from when I started logging up until the crash. While the timestamps make sense I can't guaranty that it worked up until the very last seconds.

-Edit

I have obtained another dmesg log the same way as before and again I cant see anything suspicious. It is a rather large file since I needed to log almost an entire day before i finally crashed a few minutes ago

-/Edit

last_kmsg

I tried the various locations mentioned in the second post of this thread but I was unable to find the "last_kmsg" file.

Can anyone help me with either the crash itself of tell me what I did wrong with the logcat or last_kmsg?

Thank you :)
[G4 Android Development] lordc:
[MENTION=5461026]kessaras[/MENTION] not sure if help but:

Using aoscp 20190802 all ok, then dirtyflashed 20190805 and started sudden black screen (maybe UI crash)

Clean install of 20190805 it's OK

By the way: gapss apk from aurora store show our ROMs as 7 and not as higher (maybe apk is not update)

Gapps.apk from gapp website detect 7.1 version.
[G4 Android Development] kessaras:
You simply hold vol down when that happens.

Can't debug it. It's the ril issue we have since Oreo that sometimes f** this up.

This doesn't help.

The sdk version clearly is 28.

One thing only is broken in latest build , the Bluetooth. Will get fixed tomorrow when I'm back and build again.

I experimented something. But I didn't notice that Bluetooth broke
[G4 Android Development] lordc:
Thanks [MENTION=5461026]kessaras[/MENTION] for your effors
[G4 Android Development] :
I'd like to enjoy this rom. But before I need to know if torch and camera stock app works or if are needed, as always, other external apps for make them work. Moreover, are there any other problems or things I should know about aoscp atm? I returned to the 7.0 stock rom due to the continuous crashes of the apps and even the settings sometimes of these modded rom. So I wouldn't want to do it again ;DD
[G4 Android Development] lordc:
Here no big problems of course and logically aoscp not allow lg stock camera. Torch works perfect
[G4 Android Development] hamed_forum:
All of the app use map Google don't show map

Google map only work what must so ? Help me
[G4 Android Development] gh7531:
Thank you for the suggestion. Around two hours ago my phone crashed again and I did press the vol down button for up to 2min but nothing happened. Am I supposed to do something else too?

I got a log from dmesg -w and attached it to my original post. However I can not spot anything important.

Do you know whats up with the logcat and last_kmsg?

I assume the last_kmsg is only generated after a kernel panic and I guess my issue/the ril issue isn't one?
[G4 Android Development] Mogster2K:
I dunno about last_kmsg, but is your device rooted? AFAIK apps cannot read logcat anymore without root.
[G4 Android Development] kessaras:
Wait until I'm back tonight.

Same , wait until I'm back and see the log. I will fix asap whatever there is to fix, if there is.

Yeah I turned it to production build for users. It's not a debug build. Only root can log ;)

Only Bluetooth is a little broken and only in latest build because I did some experiments and I didn't notice that they broke Bluetooth and I will fix it tonight.

Previous build no bug.

LG apps will never work on custom roms. They depend on the framework.

After I fix Bluetooth again tonight and see if there is anything else to fix, I will do some fixes to the latest N we had from LG. So I won't be active here for a few days.

(For this rom)
[G4 Android Development] hamed_forum:
Next day I going to travel thank s if solve it I need phone
[G4 Android Development] masemoel:
Can any of your Oreo/Pie builds run with the v20p bootloader modem?
[G4 Android Development] kessaras:
i'm sorry. you must ask for help from the developer of that app.

The app you use, doesn't have support for pie framework.

Look at the error:

It sais:

W AdvertisingIdClient: Error while reading from SharedPreferences
W AdvertisingIdClient: java.lang.SecurityException: MODE_WORLD_READABLE no longer supported

world map readable is no longer supported

yes you can but i'm unaware if you will have more issues
[G4 Android Development] kessaras:
Yeah whatever you say.

You just had to get me outside for no reason, right ?

Anyway.
[G4 Android Development] hamed_forum:
My mistake I so sorry

Very tanks for your

If runstatic and other app use Google map correct the ROM is complete
[G4 Android Development] gh7531:
Yes my phone is rooted using magisk and the shell has root permissions granted. This is what I typed while trying to access the log from my pc using adb

[jakob@jakob-manjaro-desktop ~]$ adb shell
h815:/ $ whoami
shell
h815:/ $ su
h815:/ # whoami
root
h815:/ # logcat
logcat read failure
1|h815:/ #

In the meatime I obtained a second dmesg log and attached it to my original post.

Since nobody else is reporting on my issue I guess it's something limited to my device so while I appreciate any help whatever is causing my issue is probably my fault. I'm sure you have more important things to deal with. I should just wipe the phone again and reflash everything and hope it works than.

-------

On another note I just requested all my info stored by google via their takeout.google.com service and while looking through the data I noticed some differences between the information collected about the phone while using this ROM and the previous AICP ROM I used before. Especially a table containing information about the "system functionality" lists various sensors and functions of the device while it was running AICP. And the same table is completely empty using AOSCP.

If you think this might shed light on the ongoing Google Play issue I'm willing to P.M you the important files.

Also related to the Google Play / Device recognition issue: I noticed that I have to spoof my device signature to install apps like PayPal or Twitter. They initially were not available through the search but after I spoofed my signature to mimic a Pixel2 the appeared and could be installed without issues.

I'm just poking in the dark and have no Idea if that info is even remotely helpful I just thought I'd share my experience :confused:
[G4 Android Development] kessaras:
wow hold on a bit.

1. when you update your post and add something, i will not see it if others post below it and your post is being left behind.

In order i get a notification and see your post again, you need to tag me again.

@ my nickname. So i haven't seen the logs. i never found it or forgot about it. (remember i have more than 100 people talking to me in 4 different places including the groups with devs)

2. you can do this as adb root:

adb shell start logd

or from adb shell:

su

start logd

and get any kind of logcat you need.

I disabled it for user builds for less log spams
[G4 Android Development] deltadiesel:
[MENTION=4410982]kassar[/MENTION]as
[G4 Android Development] Frazzy:
Hi kassaras,

First I want to start by saying I'm enjoying how you keep the G4 alive. The only reason I bought a extra G4 for my wife is your super support for the G4!! Thanks!

I have a question about this rom. We are both now running Freedom on our phones and I want to ask you for your opinion: If you need to choose between this rom in and freedom in its current state as a daily driver, would it be this one or freedom? I'm looking for stability and the camera needs to be good.

Thanks again!