yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] alain57:
Thanks for the feedback [MENTION=3208754]codeworkx[/MENTION]

is it worth trying the RIL files of the nexus5X ? or will this only break the phone ? (i guess that replacing back the ril files from the LG G4 would repair it if the nexus5X breaks the radio)

I mean both hardware are relative close.

or should I do a manual network switch on stock and give you the logcat ?
[G4 Android Development] Omegaclawe:
I have mine working this way... couldn't do a dirty flash, though, too many errors, also, I can't get into either the security or lockscreen sections of settings.

Not terrible issues if you're just temp waiting for the full CM13, depending on your situation.
[G4 Android Development] Warmax88:
Hi [MENTION=3208754]codeworkx[/MENTION]

Yesterday i tried GPS again and it still has problems. I made a video and uploaded the logfile if you want to take a loot at it.

This behaviour started after 5 min or so.. (with stock it works fine)

[YOUTUBE]M5_4U4_WbDs[/YOUTUBE]

log:

http://pastebin.com/ihfysnHp
[G4 Android Development] codeworkx:
nothing gps related on your log
[G4 Android Development] codeworkx:
no idea. it's a black box.

log from stock might be helpful.
[G4 Android Development] timmy1980:
I've noticed this stop/start behavior, but I am using an app called AppRadio Unchained Reloaded which injects GPS data from my cars pioneer head unit and its external GPS receiver via mock locations.

In Waze every now and again it says that GPS signal is lost, in Google maps it just like the video posted above.
[G4 Android Development] PhoenixBlitz:
[deleted]
[G4 Android Development] Omegaclawe:
So... insofar as getting the H811 working with CM13... are there any more logs or data or whathaveyou we could be running to help get it working?

Failing that, is there some sort of crash-course/guide on working on this sort of thing? I'm already somewhat versed in C++/Java and happen to have a unusually large amount of free time in the next two weeks, if that would help...
[G4 Android Development] NighthawkXL:
For now do what codeworkx has asked for. Logs from stock, and CM 13 are both useful. So keep them coming, if one of the devs needs something more specific they will ask. So keep a eye out.
[G4 Android Development] codeworkx:
Flash it and then open two terminals. One for adb logcat and the other for adb shell.

Then start stuff by hand and watch the log. Something is preventing main services from coming up.

servicemanager

surfaceflinger

ril

mediaserver

system_server

zygote

It's usefull to start them via strace to get detailed infos about whats going on.

Init:

https://github.com/CyanogenMod/android_system_core/blob/cm-13.0/rootdir/init.rc

https://github.com/CyanogenMod/android_device_lge_g4-common/blob/cm-13.0/rootdir/etc/init.qcom.rc

At the end of the init files you can see all defined services.
[G4 Android Development] alain57:
i saw that you commited a ril patch in today's nightly.

I'll test it again with CM 13 and provide the log

and then if nothing work, i'll do the same on stock and provide log

---------- Post added at 10:34 AM ---------- Previous post was at 09:43 AM ----------

hi [MENTION=3208754]codeworkx[/MENTION]

unfortunately newest nightly did not help, still waiting a long time and getting the forbidden message

here is the cm 13 log : http://pastebin.com/raw/9fxpq9sk

here is the stock log : http://pastebin.com/raw/9T9Z2cbH
[G4 Android Development] albuntu:
Can anyone confirm that the mic is not working on Skype on the 815? Will get some logs later upon confirmation.
[G4 Android Development] bluecream:
Anyone else have screen not turning on problems with lg g4 h811? Stock marshmallow
[G4 Android Development] Termehansen:
I have mentioned this twice in the thread already, but you are the first that confirm it...
[G4 Android Development] f1ux:
I had an issue the other day where they couldn't hear me on Skype and video was just black rectangle, but yesterday it worked fine.

Is the Skype test call working?
[G4 Android Development] Termehansen:
I get "unknown issue with Google play services" in gmail on latest nightly (0209). Latest opengapps but also with holders version I used before...
[G4 Android Development] codeworkx:
log or it didnt happen
[G4 Android Development] Termehansen:
Just tested echo test service (no video) and it works with normal sound - but NO recording when setting sound to speaker....
[G4 Android Development] codeworkx:
should work on next build.

on some operators it takes some time, on others it get's instant.
[G4 Android Development] Termehansen:
logs for skype

cut out logcat of skype test call with no speaker activated and a fully working recording:

http://pastebin.com/dPn2ek5Z

cut out logcat of skype test call with speaker activated and a no recording:

http://pastebin.com/33233LCc

/Termo
[G4 Android Development] codeworkx:
should work on next build
[G4 Android Development] superfes:
[MENTION=3208754]codeworkx[/MENTION]

logcat

logcat -b radio ((no lines))

/system/bin/servicemanager

/system/bin/surfaceflinger

/system/bin/mediaserver #1 #2

/system/bin/gatekeeperd

/system/bin/qseecomd
[G4 Android Development] codeworkx:
thanks.

somehow the output from the camera daemon is missing.

that might be our problem.

Try:

strace -a100 -s200 /system/bin/mm-qcamera-daemon

After that delete the camera hal and gimme a new logcat:

adb root
adb remount
adb shell rm /system/lib/hw/camera.msm8992.so
adb reboot
[G4 Android Development] superfes:
mm-qcamera-daemon

mm-qcamera-daemon NO HAL

By the by, not sure if this is normal, my phone never gets beyond the CM logo (and when I build it myself, the screen never gets passed the LG logo because surface flinger can't find GL), not sure what's different about your build.
[G4 Android Development] codeworkx:
need a full "adb logcat" after you've deleted the camera hal.

You're probably missing the proprietary libs when doing your own builds. ;)
[G4 Android Development] superfes:
Whoops, sorry about that: logcat

(Holy **** that was dumb, I'm not even sure why I didn't think to do that (Been building cm-12.1 forever), thanks)
[G4 Android Development] codeworkx:
ok, seems to be not a camera problem.

can't see any differences compared to h815.

i've no idea what's wrong with this ****ing tslowbile stuff.
[G4 Android Development] nitrous²:
In theory, yes. But I've read stories where LG refuses to repair devices with faulty hardware from mid 2015 under warranty because of the unlocked bootloader.
[G4 Android Development] genesixxbf3:
Maybe try to make a full h811 vendor and see If it's working
[G4 Android Development] superfes:
Not that this is any help right now, but it does look like there may be differences, will have to take a look again later when I've got time.
[G4 Android Development] uplink-svk:
Hi there guys,

This is my try #3 to get an answer :). Please can You tell me which App is taking care of this super annoying error reporting, and how do I permanently disable it? Either via TWRP, delete it, or in settings > apps > system apps?

Please advise,

regards

Bryan
[G4 Android Development] dcwiker05:
Next time it comes into your status bar, long press on it and it will take you to the notification center for that app. From there you can see what's causing it and disable the notification.
[G4 Android Development] Napkinholder:
Hey,

I'm on h811 with the newest nightly and security settings force closes and uninstalling apps causes a reboot . I've tried clearing the security app's cache and doing a full wipe with TWRP and re-flashing but to no avail. I can post logs if it'll help.
[G4 Android Development] uplink-svk:
thx for Your tip. Though, it's a download manager. I don't think that download manager is reporting some stuff, it's just going through it. And I kind of need download manager. Do You think it's bugged?
[G4 Android Development] alain57:
I just saw that there is something on next nightly :)

i'll test it and give you feedback as fast as possible ^^
[G4 Android Development] dcwiker05:
Clear data and force stop, see what happens. If not you may have to reinstall CM over your current install.
[G4 Android Development] uplink-svk:
I kind of was afraid of that one :(. I did that :) didn't budge. So uh. Any clue on how to back up all utilities with in their current states? Super Backup? Does it catch the app states, or not at all? :)
[G4 Android Development] dcwiker05:
You're not doing a clean install, you're doing a dirty install. All your apps and settings will be fine. Though I'd recommend gong to wipe, and wipe cache and davik cache to help. But nothing else needs wipped.
[G4 Android Development] uplink-svk:
I'm kind of having this trouble for about 30 updates now. Do You think that it may solve it? Btw. the download manager only has "disable" and "stop" option. Is there any way where I can clear cache? Thank You for Your time and interest btw! :good:
[G4 Android Development] dcwiker05:
I edited my post hoping you'd see it before replying. When you go in to twrp, go to wipe, select cache and davik cache, wipe them. You won't loose anything at all, then flash and see if that helps. From there your next option is going to be a full wipe. I use titanium for my backups always have, just make sure you don't back up download manager or you could end up restoring the problem afterword.
[G4 Android Development] uplink-svk:
now that, sounds like a solution. So uh, Titanium Backup. I heard a lot about the thingie. I'll give it root priviliges and it will do a nice shiny trick with my partitions and/or data, like smses, and stuff around, right? That sounds like exactly what I need. I'll give it a hit and will update You, but I'll do it throughout the weekend, so I can be half a day without my cell. Thank You very much mate, much obliged and appreciated! :fingers-crossed:
[G4 Android Development] Omegaclawe:
Might be getting somewhere, now... logcat's going kinda crazy when I start services, and the service list starts out with only the following:

root@h811:/ # service list
Found 4 services:
0 SurfaceFlinger: [android.ui.ISurfaceComposer]
1 batteryproperties: [android.os.IBatteryPropertiesRegistrar]
2 display.qservice: [android.display.IQService]
3 vendor.qcom.PeripheralManager: [vendor.qcom.IPeripheralManager]

Attempts at launching service manager claim that it cannot become context manager (device or resource busy), which might mean that it's already running... I mean, it'd make sense that to get the service command working, the service manager would have to be running, but I'm not entirely sure.

After this, I started the mediaserver, which actually increased the service list to:

root@h811:/ # service list
Found 11 services:
0 media.radio: [android.hardware.IRadioService]
1 media.sound_trigger_hw: [android.hardware.ISoundTriggerHwService]
2 media.audio_policy: [android.media.IAudioPolicyService]
3 media.camera: [android.hardware.ICameraService]
4 media.resource_manager: [android.media.IResourceManagerService]
5 media.player: [android.media.IMediaPlayerService]
6 media.audio_flinger: [android.media.IAudioFlinger]
7 SurfaceFlinger: [android.ui.ISurfaceComposer]
8 batteryproperties: [android.os.IBatteryPropertiesRegistrar]
9 display.qservice: [android.display.IQService]
10 vendor.qcom.PeripheralManager: [vendor.qcom.IPeripheralManager]

Lots of output, as well, including a radio error. Trying to start other services (rild, system server, zygote (app_process?) did not add to the running service list, and seemed to have their own errors.

Here's a logcat of what happens when I try to start services, excluding initial startup: http://pastebin.com/Zbw57eqv

Started a lot more services this time... most everything from your first link. Did get drm.drmManager to appear in the services list (and nothing else), but I'm pretty sure that doesn't have a damn thing to do with getting the OS booted, particularly as I'm still sitting on the little android head.

Hopefully something in there proves useful to finding a fix...
[G4 Android Development] dcwiker05:
Honestly, I have no idea. I have an app called backup to Gmail that I use for my sms because it's instant every time I get a new text. But I'm sure it is capable of you set it to do so. It does everything else though so you're covered there. No problem hope it helps.
[G4 Android Development] Jaredc210:
After flashing this ROM my Wifi is very slow, all my other devices are fast on 5ghz network but cm 12.1 device is slow /:
[G4 Android Development] codeworkx:
Nothing in the log. :(
[G4 Android Development] FadeFx:
I cant belive that nobody responded to that post yet... [MENTION=3208754]codeworkx[/MENTION]

You could actually boot cm13 on the h811 [MENTION=7269860]Napkinholder[/MENTION]?

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] genesixxbf3:
Nightly = cm12.1 there is no cm13. 0 nightly
[G4 Android Development] FadeFx:
Ah, i.c. so he just picked the wrong forum... sorry, my bad.

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] seadersn:
anyone else is a little bit enerved about optimizing apps taking THAT long after wiping dalvik/art cache?

it takes around 4-5minutes... on my moto g... on h815 it takes 23minutes!! same amount of apps (91), same setup.

also the bootanimation is veeeeery slow. it's the first thing i delete after flashing a new build xD

when i only had the time to dig into this... i think it's a thermal problem. or maybe 64bit architecture problem. or whatever.
[G4 Android Development] jamesd1085:
Pop it in the freezer...takes 5 or less
[G4 Android Development] codeworkx:
Is your moto running 6.0?

The g4 is really having heating problems which causes cpu to throttle.
[G4 Android Development] seadersn:
yep, same cm 13 nightly.
[G4 Android Development] seadersn:
xD[emoji106]already thought about this experiment :D
[G4 Android Development] jamesd1085:
I can confirm it works...I'm kind of a tinkerer and when i make any change to system i clear caches to make sure nothing old interferes...i hate how hot this thing gets when building caches and i don't understand why it does as it runs cool on my normal use
[G4 Android Development] FadeFx:
It gets hot when the big cores are running full throotle all the time,as they do while building caches. In normal use they usually have some spikes but are idling most of the time.

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] Omegaclawe:
Really? I didn't seem like any of those things were actually, y'know, starting... except the media thing, but that's not starting on its own...

Well, if you come up with anything else you want me to try, just let me know...
[G4 Android Development] freestyle_gus:
Stock Marshmallow 20D = 8.8% per hour average battery drain

CM13 = 3.2% per hour average battery drain

If anything I'm using it more...

Just saying' :):good:
[G4 Android Development] Termehansen:
Nobody else with this issue, or an idea to how i can solve it?
[G4 Android Development] seadersn:
data wipe of gplay services and gmail don't get it running?
[G4 Android Development] Termehansen:
Yep, found a solution :)

-Google Play Services in App settings

-Select Manage Space

-Select Clear all data at the bottom
[G4 Android Development] codeworkx:
Change

DEBUG_LEVEL = 2

to

DEBUG_LEVEL = 5

in /system/etc/gps.conf and reboot your phone.

After that get me a new log when the position is jumping around.
[G4 Android Development] nitrous²:
The last time I used Cyanogenmod on the G4 was in November of last year. This ROM has made tremendous progress since then. It's finally capable of a daily driver for my needs. Yay!

One thing bugs me though. I notice a slight stutter whenever I pull down the notification drawer. Can someone confirm?

Nvm. Got it by enabling forced GPU rendering for 2D animations.

Update: Nope. Still there. It's thermal throttling.
[G4 Android Development] juntulis:
60fps Video still doesnt work?

Thats what holding me from cm :(
[G4 Android Development] codeworkx:
Will probably never work.
[G4 Android Development] xXCool-GuYXx:
Help on lg g4 h811 on 6.0

Hey i have a qustion about your rom cm 12 for the h811 am on 6.0 aka 20i i can flash cm but when i try to flash the gapp arm64 6.0 it fails and gives me error 20 in twrp . i was wondering if you could help me with this?
[G4 Android Development] genesixxbf3:
Except with a excellent camera wrapper

Envoyé de mon LG-H901 en utilisant Tapatalk

---------- Post added at 09:42 ---------- Previous post was at 09:40 ----------

Explain clearly what you want to flash? What rom are you using? What bootloader and modem?

Envoyé de mon LG-H901 en utilisant Tapatalk
[G4 Android Development] tylerdurden:
Will there be an Option to deactivate Notification LED during "Do not dusturb"?

I'd prefer that, because during the night for me the LED is annoying.
[G4 Android Development] dcwiker05:
Standard feature of CM and android M, so yes.

Cm 13 for h811 is broken right now, it doesn't boot even if you can get it to install. But it sounds to me like you didn't download the right GAPPS. Even without upgrading the modem and bootloader I was able to install CM13 and the correct GAPPS it just would not go past the CM13 boot screen. The error you're getting sounds like what happened when I accidently downloaded cm12.1 GAPPS for my tablet not realizing the ROM had bumped up to CM13.
[G4 Android Development] tylerdurden:
OK, but where to find in Settings?
[G4 Android Development] dcwiker05:
Setting>Notifications>interruptions, all the way at the bottom last option. There are things you can tweak under notifications and interruptions that decide when you do and do not get a notification light. Interruption free mode can then be accessed by holding volume down till you reach vibrate then pressing the button once more.
[G4 Android Development] Follow_and_Feel:
Hey there. I just wanted to know two things:

Firstly I can remember a SuperSU Option on previous CM builds (not the developer options, I'm talking about customizing root permissions within CM. Like enable/disable notifications for specific apps, etc.).

Secondly I'd like to know, if you can flash superSU Beta zips, e.g. v.2.67 besides the integrated CM root to achieve exactly what I said in #1?

I would really like to disable the notifications for root access for some apps. Can I flash SuperSU v.2.67 for example? Or will it break root or something?

Any advise would be appreciated :)
[G4 Android Development] dcwiker05:
You can use regular SU and busy box easy.
[G4 Android Development] Follow_and_Feel:
Thanks for your answer. But to be more precise: Can I flash beta superSU zip through TWRP? Like this one?

http://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133

EDIT: I think i got it. You meant I can just download SuperSU App from playstore? Or do I have to flash superSU zip too?
[G4 Android Development] dcwiker05:
I wouldn't see why not, I don't know precisely which work and don't I have the pro version of SU and Busy box so my system is as updated as those apps are and works fine. Personally I would just get SU from the play store and download from there it will flash itself and be fine. But the worst that can happen is do a nandroid of your current set up, flash that zip and see if it boots. If not restore your backup and try my way.
[G4 Android Development] Follow_and_Feel:
Aiii....Thanks a lot sir. As i edited in my comment I downloaded superSU app, but when I try to update binary it gives me an error. Gonna try to update binary through TWRP, if that doesn't help I'm gonna flash the zip :)

Just made a nandroid backup to be sure. Thanks for your suggestions :)

EDIT: So I was trying to update the binary through TWRP, as SuperSU app from chainfire suggested. Gave me a bootloop. Gonna flash the zip now

EDIT 2: Flashing v.2.67 Beta worked for me. Just had to disable CM Root access in developer options. First boot was extremely laggy and I got infinite toasts about apps which are granted root permissions. Rebooted and everything works fine :)

So I can confrim superSU v.2.67BETA working with CM13 :)
[G4 Android Development] xXCool-GuYXx:
Then where do i get cm 13 for the h811 because on the cm site the only have cm 12.1 on there for the h811

---------- Post added at 04:11 PM ---------- Previous post was at 04:07 PM ----------

Want to flash cm 13 oh h811 am on stock 20i am on the bootloader that came with 20i and modem
[G4 Android Development] dcwiker05:
You can't... I mean you can download it from this thread it's in here if you read and look for it. But it's broken so the point of downloading it is moot, unless you know how to build and think you can fix it. Which no offense I kind of question since you can't be bothered to read the thread lol.
[G4 Android Development] xXCoolGuYXx:
How is this cm 13 for the h811 when you click on the link for the h811 to take you to cm its the 12.1 cm only and can soemome help me ?

---------- Post added at 05:55 PM ---------- Previous post was at 05:53 PM ----------

Cm 13 not in this thread, the link in the thread is for cm 12.1 on the h811
[G4 Android Development] dcwiker05:
Again CM 13 is in this thread if you look. It's not in the official post because it's broken. But I can promise you it's here as I downloaded it. But IT WILL NOT BOOT, no one has gotten it to boot and the Dev is not sure what the hold up is. So your quest for CM13 is pointless unless you can build it and get it to boot. -__-
[G4 Android Development] xXCoolGuYXx:
Then mind showing me where it is because i dont see it .
[G4 Android Development] FadeFx:
It is posted some pages back, but you wont get any use of finding it as it doesnt boot.

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] xXCoolGuYXx:
Thanks
[G4 Android Development] dcwiker05:
http://xdaforums.com/showthread.php?p=65196348

Happy? This took all of 5 minutes of my time to find, which means it would have taken the same amount of time as it did to keep asking -__-
[G4 Android Development] xXCool-GuYXx:
Hey could you work on the h811 cm 13 rom too please to see why it wont work ?
[G4 Android Development] dcwiker05:
Dude seriously??! Someone vote this guy off the island. He's our dev, and if you'd take the time to read even just 2 pages of this thread, you'll see not only is he looking a d trying, he can't figure it out just yet. In theory it should boot just fine, in practice it doesn't. People like you are why devs stop doing nice things. Hell even a please could have made that sound a slight bit better.
[G4 Android Development] xXCoolGuYXx:
There was a please in there dude chill out
[G4 Android Development] dcwiker05:
Didn't see that I'm at work reading briefly, my mistake. Either way had you just read your posts for the past 3 pages as well as most of mine wouldn't need to exist.
[G4 Android Development] IIIIkoolaidIIII:
Don't feed the trolls. Theses are his only posts. ;)
[G4 Android Development] ghettomuffin:
Trolls aside, I must say thanks to both codeworkx and genesixxbf3 for all of their hard work getting CM on both the G4 and V10. Thank you again, we would be nowhere in development without you guys!
[G4 Android Development] uplink-svk:
Hey there dcwiker05. Weirdest thing happened to me. As I updated to newest build from yesterday, right after boot I had the error report screen like two times, I deleted the the unsuccessful stuff from download app and now whole day and not a peep. Hmmm...

codeworkx - did You knowingly fix the download bug report and unsuccessful item in Download module bug :confused:
[G4 Android Development] donsasan:
How complex would that be to develop? I've never developed Android related stuff but I'm supposed to have a lot of free time soon. Could somebody point in some kind of direction?