yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] steadfasterX:
Well.. Check the attached screenshots..: Just doing XDA, Mail and some web browsing... The result is unbelievable.. So I tested again today with the same result.. No gaming and such just a decent use of the phone with always WiFi on.

Keep in mind that I bought a fresh battery just 2 months ago. Every battery older the 2 years should be replaced if you want food battery life btw.

Before the replacement I had 1-2 SOT. JUST a new BATTERY nothing(!) else changed and I had 3.5 SOT (still after 20 cycles). So when we talk about battery usage and that the results differ it is not just the different usage everyone has and which apps are installed (and how they are configured) it is also the age and quality of the battery.

Then the kernel comes into play and as we can see in the attachments it has a BIG influence and last but not least the ROM and its suspend / sleep enhancements.

So.. I'm very impressed [MENTION=5461026]kessaras[/MENTION] about titan. I believe it's your best work here ;)

(marshmallow RR with titan as of 20180216)

Note: I forced always on display for a "quick" test ;) so don't be confused why you see 100% awake here ;)

EDIT:

Ok after three days of usage I have to say that everything is working so far but NOT the camera it does not crash but it cannot communicate with it. I have not looked into it deeply yet but if I remember correctly there was some change in the kernel a while ago regarding exactly this
[G4 Android Development] obvious:
That's impossible. I mean, I see it and I believe it but it's impossible. Damn ?
[G4 Android Development] Minto107:
Oh f*ck. This is amazing. If I had new battery I'd try that without even thinking

Sent from Galaxy Tab A10 with 7300 battery ;)))
[G4 Android Development] #ApolloLiteProblems:
[MENTION=5545101]steadfasterX[/MENTION] where does one get a new battery for the G4? I'm in desperate need and can't find anything on Amazon
[G4 Android Development] zeduck:
Hi all,

I need some explanations.

Does encryption work on this ROM?

If yes, do I have only to turn it ON in settings and let my phone reboot?

Or should I flash some hack zip that remove a so called gatekeaper? (or use some special apps...)

My second question is about recovery.

It seams that recovery doesn't work with this ROM? Is it correct?

In that case, is it possible to do backups?

Thanks by advance!
[G4 Android Development] Marchinho6:
[MENTION=5461026]kessaras[/MENTION] best rom. The little bug's have noticed are: torch tiles, hotspot, auto-brightness, ir-blaster, radio fm. Bluetooth works very well. Great battery life! Great work. :svetius:
[G4 Android Development] A_Kirsh:
Everything except bluetooth calls works here (as expected, no surprises there), torch is fixed using Kenzo fix from the play store. (I even think that IR works better than before now that I've had the opportunity to test it)
[G4 Android Development] steadfasterX:
Im not sure if that one is available for your country but that's the one I bought :

https://www.amazon.de/dp/B01I1N7IGG/ref=cm_sw_r_other_apa_uDCyAbQS3EBHS
[G4 Android Development] INFERNO997:
You can try finding local authorized LG service, I got mine from the LG service that happens to be also authorized supplier for LG parts. Also the battery is fairly cheap ( 20 euros )

---------- Post added at 06:49 PM ---------- Previous post was at 06:45 PM ----------

[MENTION=5461026]kessaras[/MENTION] I know that is somewhat a dumb question and you got work, but ... I am looking to flash again your rom and I am not sure what to install .. Official from cypherOs site , or unofficial ? My question is .. does the latest official contain battery fixes and other fixes that are on latest unofficial ?
[G4 Android Development] DarrenNewsgroup:
Where did you get the battery from? Some battery sellers are effectively con artists so it would be nice to know who sells legitimate batteries.
[G4 Android Development] steadfasterX:
Scroll a bit up
[G4 Android Development] #ApolloLiteProblems:
Search on Amazon for: Gadfull LG G4 battery. Thanks [MENTION=5545101]steadfasterX[/MENTION] for that one!
[G4 Android Development] cartman_73:
I bought it on eBay
[G4 Android Development] #ApolloLiteProblems:
So I keep getting the error "android.process.media keeps stopping" every few (and I mean like 3) seconds, both on the official 15/02 build and the 16/02. I'd get a log but google play and browsers crash before I can download anything and I don't have access to a computer until tomorrow evening.
[G4 Android Development] Shadicbypass:
Why does Hulu not work not work on android n or o. I have tried several n ROMs and anything above n seems to not work for Hulu. Which is odd considering that the lg g4 has a official android n rom
[G4 Android Development] tambukey:
Probably need to do a clean install. I found sometimes that left over data between dirty flashes will cause errors and crashes like that. Or try a dirty with a dalvik/cache, system, and cache wipe under advanced wipe in TWRP if you didn't try that yet.

Auto brightness works just fine, ir-blaster is good to go(you may have to try a few apps, I use https://play.google.com/store/apps/details?id=org.twinone.irremote on my LG tv and it works perfectly), and torch fix from kenzo works great like A_Kirsh said (just remember you have to go into your quick tiles and remove the stock one and find the kenzo one and add it, but kenzo one does not work with gesture controls.)

I do want to add one more bug to that. I'm not sure if [MENTION=5461026]kessaras[/MENTION] can test, or knows, but Android Pay works, however it never detects NFC enabled devices that work with Pay. NFC works between phones(any maybe nfc tags, but I don't have any to test with). I don't know much on how NFC detects others to interact with. I'm guessing that it may need a library or more added to a list of what the phone considers an NFC device it can work with?
[G4 Android Development] #ApolloLiteProblems:
done 3 clean installs [MENTION=8773512]tambukey[/MENTION]
[G4 Android Development] tambukey:
Probably corrupt personal file. Try deleting any recent media like photos music or videos. And try decoupling Google drive from the phone as that can cause it too. It is not a ROM issue so I wouldn't look for answers here. But try those things and hopefully it helps
[G4 Android Development] Minto107:
This has nothing to do with official N by LG or not. I guess Hulu might require Widevine DRM, just like new version of Netflix, kessaras said he's going to add widevine in some later builds so just wait for it, who knows, maybe it'll be included in next update ;)
[G4 Android Development] Shadicbypass:
Oh well I know play movies and YouTube work but Netflix won't install and Hulu refuses to work on any ROM I have tried 7.0 and above with different errors in the catlog depending on the ROM. If it is widevine I hope it gets added soon I love hulu. As of right now I an uses the latest android o build he had uploaded yesterday
[G4 Android Development] Minto107:
Youtube doesn't require DRM to play regular content, but paid might show an error

---------- Post added at 10:11 PM ---------- Previous post was at 09:33 PM ----------

Have you used encryption?
[G4 Android Development] kessaras:
Android police won't allow that. Only stock roms
[G4 Android Development] tambukey:
Netflix will work if you follow their own instructions for "Version not available for your device". It just takes you to their page to download their older version. 4.x or something instead of 5.x. I honestly don't know the difference between them as in 4.x can still download shows.

Okay. I know it works with some phones not on stock. I'll see what I can figure out.
[G4 Android Development] #ApolloLiteProblems:
Turns out it was a problem from restoring something from Titanium backup so I reinstalled everything manually.
[G4 Android Development] kessaras:
test this

>> Android Pay Test ! <<

unpack this .zip and

adb root

adb remount

adb push path/to/system_folder_you_extracted /

adb reboot

test Android Pay if it works and tell me.

#####################

#####################

And nobody said anything about N.

Was the february patch successful ?

I need an answer because i also

updated to google's N r36 and i also

did a "little trick" here to get auto

updates each month.
[G4 Android Development] Minto107:
I'll check it when I'm home at 3 pm ;)
[G4 Android Development] kessaras:
i also just now fixed the tap to unlock but i also in kernel level, made that to 4 tap instead of two. works flawlessly.
[G4 Android Development] Minto107:
Great, that started to be quite annoying after while :D
[G4 Android Development] vellanifederico:
Video's audio dirty

First congrats for this custom ROM AOSP-Based, it's really good!

I found just a problem: I tried to do some videos and bluetooth calls and I discover that audio quality is really dirty..

I want to found a solution, I found some some solutions that propose to insert stock library's file in AOSCP system lib folder, What do you think? Is that the solution?
[G4 Android Development] kessaras:
and i said many times , i can't fix it alone. use search.

As far as the next Official 5.3 (coming soon):

· Partially fixed d2w. Increased taps to 4.

· Fixed rild bug when rild run in the background with more than 99% cpu load

· Kernel Tweaked to be less battery friendly ~ regulator voltage back to closer to default values.

· init cleanup from useless command lines that didn't apply

· new sepolicy rules

· init: moved scripts to /system/bin (to the executables folder where they belong)

· kernel: drivers update and fixes: display, panel, wifi, ffs, regulators, battery, vibrator, sdcardfs

· more minor details....

· Added Ambient Play feature

· Added torch gestures

· Added wake device with volume keys

· more... (i'll update this soon)

i just wrote the most important now.
[G4 Android Development] vellanifederico:
You're right, fix all bugs alone is really difficult or could spend a lot of times, about bad audio bug I ask you an opinion, about replacing some lib files I can do it without problem, but according to you can it work? whereas lib files that I will insert come from the Nougat stock ROM and I don't know if they are compatible with Oreo custom ROM.

What do you mean for search? In this forum?
[G4 Android Development] kessaras:
No O is totally different.

It uses hidl manifest to define the way the Hals will go through. And the old Hals are quite deprecated.

You are able to test anything you want and then just dirty flash rom to fix it , but be ready, psychologically, for many bootloops
[G4 Android Development] vellanifederico:
I think that I can't be able right now, thanks for reply, I hope you could fix this problem :)

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

I found a thread about microphone problems at this link https://xdaforums.com/xperia-z2/development/fix-mic-fix-aosp-n-o-roms-t3727871

I know that it's a thread of Sony smartphone but if you want to take a look he talks also about it works for all AOSP-based O custom ROM and I saw that someone implements that in AOSCP.

Hope it could help.
[G4 Android Development] tambukey:
I'll check this in about 8 hours after I get off work. I'll keep my fingers crossed though.
[G4 Android Development] Minto107:
Fix doesn't seem to work. Seems like Widevine didn't work(DRM says it's still unsupported). Couldn't try with Android Pay now but I tried newer version of Netflix app and it still doesn't work(it also required Widevine). I copied files via recovery. Maybe I did something wrong? (all files are in place)
[G4 Android Development] nigxxx:
fingers crossed, hope the rild bug is fixed because battery drain. quick question... the "official" release includes gapps or not?
[G4 Android Development] Minto107:
Check the size. Of course not
[G4 Android Development] obvious:
How's the latest build running for everyone? I've done a totally clean install and just installed a few apps but phone has been running a bit warm. It's odd because it can go overnight with minimal battery use but then warms up in my pocket during the day and can be difficult to wake with either power button or taps.

It's cooler now I'm home. I know, no log, no problem :)
[G4 Android Development] tqwzUX6fn39GZMEzSnDF:
I have one feature request which I hope is easy to implement: rotate screen by 180°.

I was used doing this while lying during charging, because cable then is on upper side and therefore I could place the phone on my body.

Is this something you could add?
[G4 Android Development] vwbottom:
Not sure if it’s because I’m Blind (Maybe) but I cannot find the option to disable WiFi when the screen is off. Unless you manually toggle it it’s always running. Is the option gone in O?
[G4 Android Development] F1Fanatic27:
There's a neat little app you can use for that, it's called Rotation Control. Here's a link:

https://play.google.com/store/apps/details?id=org.crape.rotationcontrol

I also wanted 180° rotation as you do, so I went searching and found this. There are other apps that do the same thing, but this is the one I'm using.
[G4 Android Development] tambukey:
The option is gone in O, however you can manually change it through terminal or adb. The default is always on, and the values are as follows:

Keep WiFi on during sleep: Always = 2

Keep WiFi on during sleep: Only When Plugged In = 1

Keep WiFi on during sleep: Never = 0

you can use:

adb shell settings put global wifi_sleep_policy 2 (or what value you want)

adb shell settings global (this will just show you the values, good to check before and after to insure change worked.)

if you use terminal just do:

su
settings put global wifi_sleep_policy 2

[MENTION=239639]obvious[/MENTION] do you have pocket detection on? That used to be my issue with the tapping/power button wake so now I keep detection off.
[G4 Android Development] tqwzUX6fn39GZMEzSnDF:
Works perfect. Thank you.
[G4 Android Development] Wills_X:
Pls any review on the oreo rom nd its stability.... Anybody??
[G4 Android Development] Minto107:
Just read. It's not that hard. ROM is very good if you don't mind Bluetooth calling problem and Android Pay(right now) not working. Just give it a go if you can live without those 2 things and decide. It's my daily driver since December

---------- Post added at 08:49 PM ---------- Previous post was at 08:47 PM ----------

Also [MENTION=5461026]kessaras[/MENTION] if it's not a problem, could you enable ambient display in next builds? I know we can't benefit so much from it(LCD screen), but I'd like to have it enabled when I'm at home(charging or laying on desk)
[G4 Android Development] kinuris:
Hi there! I have to say "see you later" to your extraordinary RR version because I'm dying to test your O builds. I've followed the thread, but I see 5.3 in the title but I'm not able to find the 5.3 file (the last build I've found is feb 16, 5.2) Should I install it or should I wait?
[G4 Android Development] tambukey:
Went and tried it out, and same thing as before, nothing happens. Neither the phone or the nfc pay pad recognized each other. I found another issue, may be just me, but when I go to Settings>apps&notifications>all apps> (picking randomly) facebook messenger(this causes it everytime as well as facebook, but others do as well). At this point I notice my phone moves slower, if I pick permissions or storage it is really laggy and unresponsive. Running a terminal top I see system_server at >100% cpu. I'm providing a pic from my google drive. I tried a couple of logs and all I get is a bunch of thermal engine things. I don't know if I am taking a good enough log, I have been using "logcat | grep system_server > /sdcard" or something similar trying to narrow down what may be causing it.

https://drive.google.com/open?id=1JQMVdiCJ7iAfqlu7ysyuioOBUu6AaAcR
[G4 Android Development] Minto107:
Can you try if DRM info says that widevine is supported? On mine it says it's not

Sent from Galaxy Tab A10 with 7300 battery ;)))
[G4 Android Development] fi5z.x9:
Is this meant to be the Feb. update? (didn't try it because initially you said don't flash). However, I got good battery life and performance from the January update. But it takes'bout 2hrs to charge.

Thanks for the efforts, always appreciAte.
[G4 Android Development] kessaras:
If you are not bored to dirty flash later try it.

Ok. Then to remove those now safely you can just wipe system and dirty flash rom and gapps.

I said because was in the middle of testing a trick to auto update me.

Nice then. All good
[G4 Android Development] tambukey:
Yeah it says it is not supported on my device either.
[G4 Android Development] Minto107:
So I think we must be missing something else too... It should say supported

Sent from Galaxy Tab A10 with 7300 battery ;)))
[G4 Android Development] kessaras:
Yeah, the permissions ?

Forget it , it won't be allowed to be used any more. Only on stock roms.

I'm not gonna build 5.3 yet. It's not ready. It's going through some hard changes
[G4 Android Development] Minto107:
I'll give you info if I'll find something useful about that
[G4 Android Development] kinuris:
Hi again. Now installing. I know it cannot be, but when I try to install Nanodroid (for MicroG, signature spoofing etc) the script tell the ROM is ODEXED. So, is there any part of the ROM odexed?, maybe the framework?

I read the nanodroid thread and they always find a part of the ROM odexed, including some versions of LOS, when getting this message. Could you help, please?
[G4 Android Development] ntnlzr:
btw u can use a kitchen script for deodex the rom
[G4 Android Development] kinuris:
Thank you. I will try. But I was almost sure that [MENTION=5461026]kessaras[/MENTION] make all his roms deodexed.
[G4 Android Development] jorgecft:
I see that 5.2 build is finally up, did you guys receive any kind of ota?
[G4 Android Development] kinuris:
Yes. I've found that services is odexed, so that's why the patcher it's not working. I will try to deodex it in the phone mmmmm

---------- Post added at 08:15 PM ---------- Previous post was at 07:58 PM ----------

Hi again. How to install downloaded apk's? Maybe I've found a bug. I do all the way from Applications and Notifications to get the dialog where It's supposed I can try what apps I trust to installs apks and no app is showed. What do you think?
[G4 Android Development] mobidor:
What file format for SD card (portable)? Only vfat?
[G4 Android Development] dat_benjie:
Hi guys,

first of all, thanks for the Oreo update, it is running really well. When I flashed the ROM (16-02-18) however, my twrp recovery seemed to be lost, as I only can access Android recovery. I saw on this post that several people had the same problem earlier, but I couldn't apply their fixes to my phone unfortunately. I cannot access any menu entry without an error, from Android recovery a can reboot to bootloader, but my H815 does not get recognized. It's reported by my device manager either as unknown device, without the opportunity to install Google ADB drivers (although they are actually installed) or it is recognized as ADB device, but cannot be started (error 10). I have enabled debug mode in developer options, tried different cables and different OS (Win 7, Win 10 & OS X), all to the same avail.

Does anybody have an idea on how to fix this? I have no idea how this could have occured, as I flashed everything according to your instructions, did not mess around with adb/fastboot commands whatsoever.

Any help will be appreciated.

PS: if I have overlooked an option for a solution in this thread pls forgive :) I have used the search function, cheers!
[G4 Android Development] INFERNO997:
Check if you have fastboot drivers ... When you reboot to bootloader, you need fastboot drivers and original LG drivers (from LG site) in order to recognize the device on your pc.

Install latest Lg official drivers from Lg site and install adb/fastboot with this tool : https://xdaforums.com/showthread.php?t=2588979
[G4 Android Development] dat_benjie:
Hi, thanks for the quick response. I reinstalled the drivers, but my phone still doesn't get recognized. No chime from Windows. I can't even get into download mode to flash kdz. Any other suggestions are welcome :)
[G4 Android Development] obvious:
What is the hardware ID of the unknown device in device manager -> properties
[G4 Android Development] kessaras:
If you want to flash kdz use SALT. And if the useless windows don't see the phone , then it's time to move on to Linux.

And use the correct thread. Don't ask me what's SALT or about Linux now.

apps are showing fine

no
[G4 Android Development] kinuris:
I repeat myself. So [MENTION=5461026]kessaras[/MENTION], could it be a bug?
[G4 Android Development] niccotaglia:
Is the missing carrier name fixable?
[G4 Android Development] dat_benjie:
The hardware ID is isocusb, but may as well be my tablet. I'll check and let you know.

Installed Ubuntu, but it does not recognize the phone either. I tried to use SALT, but the problem is, that my phone stays in download mode for only about 10 seconds and then boots to Android recovery. I find that very odd behaviour..
[G4 Android Development] ThePiGuy:
Make sure the vol up button is held until the firmware update screen appears
[G4 Android Development] dat_benjie:
Did it exactly like that, but no success. Device reboots into Android recovery EDIT after 10 seconds . :(

---------- Post added at 01:06 PM ---------- Previous post was at 01:00 PM ----------

checked on windows 7 laptop: the hardware id is: USB\UNKNOWN

any idea? Thanks in advance
[G4 Android Development] obvious:
Ok, try this

Uninstall all usb drivers adb, lg, whatever you've installed

Disconnect usb devices inc g4

Power off

Remove power lead and battery from laptop

Press laptop power button a few times to discharge hardware fully

Power back up and enter bios

Reset to settings to default. (Dmi and such can affect irq's)

Install drivers

Reboot

Try again
[G4 Android Development] dat_benjie:
Thank you, I did all of your steps, now the device gets recognized at least, but the hardware ID now says: USB\DEVICE_DESCRIPTOR_FAILURE (code 43)

Although I reinstalled LG Mobile drivers and adb drivers, the driver provider is Windows. If I try to manually install the drivers by providing the path to either Google or Lg drivers, I get the message that the best drivers are already installed.

When I connect the phone to my PC, I get the message by Windows that it was not recognized. On my phone itself I do not get any alert, saying it's connected to a pc/laptop... I can choose in dev options which protocol to use, but thats about it.

Is there anything else I can do? *crossfingers*

EDIT: my tablet gets recognized without any issues, also via adb commands
[G4 Android Development] nigxxx:
try to boot windows in disabled driver signature mode, aka test mode if you are running win10. so if there is unsigned drivers you must be in test mode so the system is able to run them
[G4 Android Development] ThePiGuy:
When your phone is fully booted, does adb reboot bootloader work?
[G4 Android Development] dat_benjie:
No unfortunately not
[G4 Android Development] ThePiGuy:
Ok. When your phone is fully booted (did you say you had AOSCP installed), does windows recognise your device at all as a media device
[G4 Android Development] dat_benjie:
No, only as unknown device. Either with code 10 (could not be started) or 43 (USB description failed)

When I try to manually install the Google USB drivers or LG drivers respectively, it changes the name, says a driver has been found, but the device could not be started.

I am only able to enter fastboot mode via the standard Android recovery y but fastboot does not detect my device.
[G4 Android Development] ThePiGuy:
How weird. And you say Linux does a similar thing?
[G4 Android Development] dat_benjie:
Weird indeed. Ubuntu did not recognize it at all unfortunately.

Same on OS X

Kinda getting desperate :eek:
[G4 Android Development] ThePiGuy:
Before installing AOSCP, did you perform the v29a nougat firmware update