yashsingh1/xdaforums huggingface dataset:
[G Pad 8.3 Android Development] fishears:
Custom and StockPlus versions 1.0.2 are now released. These both include a new exFAT module which fixes support for large SD Cards and the exFAT filesystem. There are no other changes, this is just a hotfix for the exFAT issue.
[G Pad 8.3 Android Development] Disrupthor:
Is it just me that gets a freeze and a reboot when setting Interactive as governor in custom 1.0.2?
[G Pad 8.3 Android Development] fishears:
Unfortunately, no, it's not just you ;)

Custom 1.0.2 is now fixed - please re-download
[G Pad 8.3 Android Development] nozyk12:
Stockplus kernel 1.0.2

SD card formated in exFAT
[G Pad 8.3 Android Development] fantasmanegro:
Holly unmount ...
[G Pad 8.3 Android Development] auleu:
there is also a 30b hong kong rom released

and for the 5.0 memory leak there is an xposed module for that
[G Pad 8.3 Android Development] fishears:
Can you provide logs (dmesg & logcat) for this?

:laugh:

As far as I know the HK rom is the same as 30a but with different language-specific elements. I have no plans to officially support it but feel free to be the first to try my kernel with it ;)

The xposed module only targets the screen on/off animation leak which might not even affect us - it would depend if LG use that code in their screen on/off animations (I think it only affects the fade option). Anyway, there are other holes in 5.0.2...

Custom 1.0.3 is released with GPU overclocking, CPU Undeclocking, voltage control, more work on LMK, Dynamic Hotplug Driver*, updated Interactive Governor

StockPlus 1.0.3 is also up with the LMK improvements and a small fix to the mmc code

*About dynamic hotplug driver:

It's a very simple driver that uses the calculation of load by ondemand and interactive governors. The logic is very simple. The driver calculates the average load of CPUs every 0.5sec. Over an average load threshold cores goes online and stay online at least for 5 seconds. Under this threshold they go offline one by one every 5 seconds.

To use the Dynamic Hotplug Driver you need to disable Qualcomm MP Decision. If you use a kernel tweaker like Trickster Mod then you should see some tunables for this driver.

Again, please be thorough when reporting issues. That means LOGS guys.
[G Pad 8.3 Android Development] auleu:
can you increase gamma levels even further without battery loss ? are the values from a specific device or are they custom? dark scenes seem way better with the fix but i'm curious if you can increase even more
[G Pad 8.3 Android Development] fishears:
I'll make it user-configurable one of these days.
[G Pad 8.3 Android Development] aicjofs:
I have ran it all week. Works fine. Ramdisk is the same for all practical purposes.
[G Pad 8.3 Android Development] fishears:
Up late ;)
[G Pad 8.3 Android Development] aicjofs:
I think you are talking about you not me. Haha. Have to check out 1.0.3 and it's new editions today.

Later then I wanted. All I saw was the KDZ for 30B(has no one made a flashable yet?), I don't need it messing the bootloader, so by the time I extracted and made a flashable zip, checked ramdisk diff, I had managed to waste the night.

On a side note if someone wants my flashable zip let me know, it has Fishears kernel built in, but otherwise stock. I personally don't see much difference from 30A, but the kernel runs smooth on both.
[G Pad 8.3 Android Development] Maraudeur:
I think everyone wants it :) especially with kernel from Fishears
[G Pad 8.3 Android Development] brk:
Yes, please share it. Thanks.
[G Pad 8.3 Android Development] fishears:
I'm curious to know if QVoice has an English UI in this release. Also, the Calendar, does it come without the SOL/LUN calendar? Since there's been no source release I'm guessing any differences are in the closed-source apps...
[G Pad 8.3 Android Development] aicjofs:
Ok I'll post it here, give me some quick feedback, if there aren't any issues I'll make a thread for it so discussion can take place there and not in the kernel thread. Plus I want fishears "ok" since it's his kernel in the flashable.

ROM Hong Kong Lollipop 30B

Fishers Custom 1.0.3 bumped

MLT disabled

Flash safe (doesn't touch bootloader)

SE permissive

V50030B with fishears 1.0.3

I will attach a 30Bstock.zip to this post that changes the entire thing back to "stock"(everything stock except boot.img is bumped so it will boot with older bootloader)
[G Pad 8.3 Android Development] fishears:
You have my blessing :angel:

Edit: I've flashed it so I'll amend the project to include support for 30b.
[G Pad 8.3 Android Development] nozyk12:
dmesg and kmsg

https://www.dropbox.com/sh/quvpyow48k9cgwo/AADJvl9usJ0JF8IKzsHeMJMha?dl=0
[G Pad 8.3 Android Development] Disrupthor:
fishears, when I set in kernel auditor the GPU to 487MHz max speed and simple governor, after some time I'll go back to check it and max speed is in 200 MHz by it self. Do you have this too?

Enviado do meu LG-V500 através de Tapatalk
[G Pad 8.3 Android Development] fishears:
Yes and figuring out why is giving me headaches ;)
[G Pad 8.3 Android Development] Disrupthor:
With that you just made my day better, lol.[emoji1]

Enviado do meu LG-D405 através de Tapatalk
[G Pad 8.3 Android Development] fishears:
At least one of us can be happy :crying:
[G Pad 8.3 Android Development] Disrupthor:
Sorry that came out wrong, but still thank you for the work and dedication. Also for sharing.

Enviado do meu LG-D405 através de Tapatalk
[G Pad 8.3 Android Development] Maraudeur:
The same problem there was in AIC kernel, and I noticed that this was incompatibility Faux apps and Trikstermode. If I set GPU clock only in faux and didn't touch it in Trickster , it was all ok. May be it helps
[G Pad 8.3 Android Development] fishears:
Thanks, it helps me to know its been a problem before ;)

I think I've just fixed it but I need to run it for a while to make sure.

EDIT: not fixed but now it resets to 320mHz instead of 200mHz...
[G Pad 8.3 Android Development] Maraudeur:
It's very strange behavior 'cause I haven't got this issue. There are 487 MHz , when GPU is in use and 200/320 MHz in idle. I apply GPU setting in Trickster
[G Pad 8.3 Android Development] sibere:
So far so good with the 1.0.3 Custom kernel.

What about implementing F2FS?

http://xdaforums.com/showthread.php?t=2697069
[G Pad 8.3 Android Development] Deltadroid:
I think [MENTION=4517918]fefifofum[/MENTION] would also be also interested if you have improved the mmc code. The sdcard unmount bug has been difficult to fix (in CM12.1 and AOSP).

Thanks for your contributions. :)

Edit:

I see this commit: https://github.com/fishears/LG-V500-Kernel/commit/497d3f75f7d93ff6acf31d2ebb9ca43f3049579e

Is this a bug in the official palman mmc driver?
[G Pad 8.3 Android Development] fishears:
Thanks. Its not directed at the Palman driver, rather its a patch to the 3.4.y branch of Linux. It might improve umounts but we don't know exactly what the problem is. Having said that, I've seen two reports and one was related to bad media files causing the scanner to freak-out and the other was caused by a bad ext4 partition on SD for Links2SD. Neither of which would be helped by the stock or the palman driver.
[G Pad 8.3 Android Development] aicjofs:
I played with it, wasn't impressed with the results. Anyone have an Androbench, or Antutu storage score on ext4? I don't want to switch back it is a pain.
[G Pad 8.3 Android Development] fishears:
New builds are up for both kernels. Please see post#1 for changes.

GPU overclocking has been removed from Custom. The max GPU speed was being reduced because the thermal limit was being reached when overclocking to 487. To me, this really defeats the benefit of using a higher clock speed because you then have to run at a lower speed while the GPU cools down. I think it's better to leave the max at 400 and be able to run at 400 for longer. I have no plans to increase the thermal limit as this could put hardware at risk.
[G Pad 8.3 Android Development] auleu:
you should just delete mlt apk as its just useless

battery life is really great with the kernel, did you reduced clock values?
[G Pad 8.3 Android Development] fishears:
In the Custom kernel the cpu has some extra frequencies below 384 but the top is still 1728. I'm glad you're getting good results, I've put a lot of hours into it ;)
[G Pad 8.3 Android Development] Maraudeur:
You upset me very much... This option was very useful for me and make G Pad fly like a god.. *crying*

I didn't have problem with overheating, may be because I don't play games on tab..I dunno.. But this change upset me at all

Anyway thanks for your big work!

P.S. With ver.1.0.3 I have sd card issue, when I'm downloading big-sized files and turn off screen.
[G Pad 8.3 Android Development] laboratik:
P.S. With ver.1.0.3 I have sd card issue, when I'm downloading big-sized files and turn off screen.[/QUOTE]

I have the same issue regarding sdcard.stock kernel no issue but i just switched to this custom kernel alnd sd 'unmounts' when entering sleep... The sdcard is not accessible and mount-remount solves it untill the nezt time it goes to sleep...
[G Pad 8.3 Android Development] laboratik:
I have the same issue regarding sdcard.stock kernel no issue but i just switched to this custom kernel alnd sd 'unmounts' when entering sleep... The sdcard is not accessible and mount-remount solves it untill the nezt time it goes to sleep...[/QUOTE]

Version 1.0.4 exhibits the same problem...
[G Pad 8.3 Android Development] fishears:
Guys, if you want me to fix a problem please provide logs.
[G Pad 8.3 Android Development] laboratik:
I would be happy to do so if i know which logs and how to get to them...
[G Pad 8.3 Android Development] fishears:
If you're new to bug reporting then its simplest to use an app. If you install Kernel Ardiutor (link in OP) and go to Settings you'll see a Debugging section. There you can save your logcat, dmesg and last_kmsg to internal storage. Please do this after you experience an unmount and then zip them up and post them in the thread with a description of the issue.
[G Pad 8.3 Android Development] Disrupthor:
fishears, a dev for my phone which is a LG L90 has added to the kernel a force fast charge USB feature. Can you do that for our tab? It would be great if our tab would charge faster!

Enviado do meu LG-D405 através de Tapatalk
[G Pad 8.3 Android Development] Maraudeur:
This feature only unlocks limitation of USB connection max current what is about 500 mA. So it isn't fast charge)
[G Pad 8.3 Android Development] fishears:
True, and I've implemented it before on the Galaxy S (long time ago). It was useful to a point but meant having to reboot to access MTP mode... I only added it then because it kept my battery stable in the car while using GPS but then I bought a 2amp car adapter. Problem solved. Suffice to say, I'm not a fan but I don't rule it out completely. There are more important things atm.
[G Pad 8.3 Android Development] tmihai20:
Upon [MENTION=3325155]fishears[/MENTION] request, I am posting it here too. It is a known issue that with the Korean ROM the tablet will not be able to connect to WiFi networks operating on 2.4 Ghz channels above 11, it is a country limitation. I was able to connect to my AP on channels above 11 using these two modifications in /system/etc/wifi/WCNSS_qcom_cfg.ini:

# 2013.07.16 moon-wifi@lge.com[formmh.kim] Add CountryCode [START]
# KOREA = KR, USA = US, JAPAN = JP, BRAZIL(LATIN AMERICA)/EU/others = BR
# Country code
gStaCountryCode=BR
# 2013.07.16 moon-wifi@lge.com[formmh.kim] Add CountryCode [END]

gCRDAfaultCountryCode=GB

The second property (gCRDAfaultCountryCode) needs to be uncommented (it means to delete the # in front of it). gStaCountryCode has value KR (Korea) by default.
[G Pad 8.3 Android Development] brk:
Hi,

My tablet is freezing with this kernel.

Custom version but no change to any default values

Dirty flash from 4.4 to 5.02 kr and then to 5.02 hk

Files:

https://www.dropbox.com/s/54z3a46x1thf9u3/dmesg.txt?dl=0

https://www.dropbox.com/s/xwdtvucaj9458nm/last_kmsg.txt?dl=0

https://www.dropbox.com/s/6lqhbh90pplpmyl/logcat.txt?dl=0

Enviado do meu LG-V500 através de Tapatalk
[G Pad 8.3 Android Development] sibere:
What about that bit in the config file ?

#SOFTAP Channel Range selection

gAPChannelSelectStartChannel=1

gAPChannelSelectEndChannel=11

#SOFTAP Channel Range selection Operating band

# 0:2.4GHZ 1: LOW-5GHZ 2:MID-5GHZ 3:HIGH-5GHZ 4: 4.9HZ BAND

gAPChannelSelectOperatingBand=0
[G Pad 8.3 Android Development] tmihai20:
I do not know. This is the way I got it to work. Feel free to try and let us know if you managed to do anything.
[G Pad 8.3 Android Development] fishears:
SoftAP is for when the device is used as a hotspot.
[G Pad 8.3 Android Development] Maraudeur:
Next time please give credit to me because it was my research. Thanks
[G Pad 8.3 Android Development] tmihai20:
Sorry about that. I did not mean I discovered it. [MENTION=273775]MARAUDER[/MENTION] is the one that found the first property and [MENTION=3325155]fishears[/MENTION] is the one that found the second one.
[G Pad 8.3 Android Development] aicjofs:
Overall I wasn't impressed with F2FS from a benchmark perspective the last few days. I am personally abandoning anymore effort on it but I will share what I have if someone else is interested in playing with it along with fishear's kernel. Not sure where to post this exactly but this is the only kernel thread, for stock Lollipop ROM's.

Working source under F2FS branch https://github.com/aicjofs/LG-V500-Kernel

Ramdisk is attached as V500_RAMDISK_30B_F2FS_DC.tar.gz, and is for data and cache partitions, if you want an "F2FS-ALL" you will need to edit fstab for /system. Also I changed default prop to boot a root ADB interface, you can change it back.

You will also need to place a fsck.f2fs binary in /system/bin

For anyone that doesn't want to develop and just try it out, I'll add some instructions to 30B ROM thread. Like I said I wasn't impressed but if you want to try, I'll add a way to do it. http://xdaforums.com/lg-g-pad-83/development/rom-custom-stock-v50030b-lollipop-5-0-2-t3230344
[G Pad 8.3 Android Development] fishears:
Yay, I just got forked. Feels good :silly:

Now you'll build AIC for Stock LP?
[G Pad 8.3 Android Development] fishears:
And credit to [MENTION=2782481]tmihai20[/MENTION] for helping to get this kernel released in the first place. Anyone who who hasn't thanked him yet, start clicking :good: on one of his posts now.
[G Pad 8.3 Android Development] aicjofs:
I'm not letting you off the hook that easy! fishears=stock lollipop, AIC=stock kitkat. Hahaha. I just wanted to try some of the newer F2FS code, and it still just isn't that much faster on the gpad. Perhaps over time as the filesystem grows/ages it could show some benefits.
[G Pad 8.3 Android Development] fishears:
Ah, thought I had you there :(. The main reason I started this was to get other devs to build - that's why there's a "rebase" branch.
[G Pad 8.3 Android Development] fishears:
Custom 1.0.5 is released.

Key changes are: Kernel defaults are now set up. These include Intelliactive as CPU governor, Simple as GPU governor, CPU min-freq of 162, KSM enabled, ZRAM of 175mb, plus a bunch of VM tweaks. All of these can be overwritten by your choice of kernel manager if you wish.

With this release the kernel should be more stable and use RAM more efficiently.
[G Pad 8.3 Android Development] sibere:
Thank you for the update!

KSM hasn't been proven being very efficient on other ROMs I've tried on an other old device (Galaxy Note 1). It's quite power consuming and doesn't save much RAM in the end. ZRam is IMHO more efficient in that matter. But I'll give it a try and disable it if I don't like it. At least you're offering each user the option to use it or not :)

Why did you reduce ZRam default size?
[G Pad 8.3 Android Development] fishears:
KSM *should* be a lot more efficient on a quad-core 1.72 than a dual-core 1.4 but as you point out, choice is the key and if it proves detrimental I'll turn it off by default.

I reduced ZRAM because in my tests 450mb was much larger than necessary for good performance. Again, this isn't set in stone and users can increase it but I've been seeing better RAM management and stability with the current configuration.

Try it and see what you think - feedback is always appreciated here ;)
[G Pad 8.3 Android Development] MightyBen:
Hi! First of all thank you very much for your great work. I am still a happy user of your 1.0.1 kernel. Now I tried 1.0.3, 1.0.4 and 1.0.5. But for me no kernel is as stable as 1.0.1. I reverted back to this kernel because of "out of memory issues" while I did some heavy multi-tasking which works quite fine with 1.0.1. Memory pressure was so high that the kernel decided to reboot. I tried to get last logcat, but I just got kmsg. I hope it helps.
[G Pad 8.3 Android Development] fishears:
Well that didn't last long :crying:
[G Pad 8.3 Android Development] MightyBen:
Sadly, yes. But I had similar problems with 1.0.4. The tablet was so busy that the ui just didn't reacted on anything anymore and the screen ultimately froze. I restarted manually with power + volume up back then. So this might not be directly related to latest changes in 1.0.5.
[G Pad 8.3 Android Development] fishears:
1.0.5 is pulled. Please do not flash.
[G Pad 8.3 Android Development] sibere:
Damn'it. Too late. ;) What s the issue ?

Will revert to 1.0.4 but I ve had no problem so far with 1.0.5
[G Pad 8.3 Android Development] fishears:
If you flashed 1.0.5 and want to switch to another kernel you must redownload the stock kernel from the OP and flash that before any other version.

Sorry for the inconvenience.

Normal service will be resumed shortly.
[G Pad 8.3 Android Development] aicjofs:
Dang it, and I had just merged your upstream commits too! haha.
[G Pad 8.3 Android Development] MightyBen:
I didn't do that. So I still have ZRAM of 170 MB in kernel 1.0.1 and no visible memory pressure. The problems might be more related to the commits between 1.0.1 and 1.0.5 rather than the updated shell scripts. It feels even snappier with current ZRAM settings - at least for me.
[G Pad 8.3 Android Development] fishears:
Thanks. Thats what I thought about the reduced zram but some of the other vm adjustments might give you bad results. Anyway, I think I've fixed the problem now.

BTW do you read PMs? ;)
[G Pad 8.3 Android Development] fishears:
Custom 1.0.6 is released

Kernel defaults are now set up. These include Intelliactive as CPU governor, Simple as GPU governor, CPU min-freq of 162, KSM enabled, ZRAM of 225mb. Replaced Dynamic Hotplug with Intelli-plug (off by default), Cleancache, LMK improvements. Should fix all previously reported issues.

DOWNLOAD
[G Pad 8.3 Android Development] iko11:
I have been away from forum for a while moving my house, starting college and I came back saw this just OMG! Made my day buddy, Kernel development is such a hugh effort, thanks for bringing this to our devices. As soon as possible I will buy you a beer/coffee :)
[G Pad 8.3 Android Development] fishears:
Thanks for this. You've made MY day so we're even ;)
[G Pad 8.3 Android Development] tmihai20:
While trying to solve some of the lag on my G Pad and my Nexus, I ran across this thread http://xdaforums.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957. Read it carefully and extract the information you think applies to you. We do not use our devices the same way and the same settings may yield to different results over time in day to day use. I use multi-tasking a lot and I have chosen (at least for now) CFQ as I/O scheduler for the internal memory and the SD card, with a read-ahead value of 1024 kB for both.

Edit: FIOPS was the used one before I changed it
[G Pad 8.3 Android Development] auleu:
do you plan on doing a marshmallow aosp version? gamma fix is important
[G Pad 8.3 Android Development] fishears:
I have no plans for an M kernel. [MENTION=4297659]adrianom[/MENTION] is doing excellent work on that and I think his kernel will have improved gamma.
[G Pad 8.3 Android Development] iko11:
[MENTION=3325155]fishears[/MENTION] Incredible Deepsleep!!
[G Pad 8.3 Android Development] fishears:
Thanks :cool:

With the thread going so quiet after 1.0.6 I was thinking that either its working well or people have just left because it was so bad :confused:
[G Pad 8.3 Android Development] iko11:
I am very pleased with the 1.0.6 and I believe rest of us did too [emoji1]

Sent from my SM-N920C
[G Pad 8.3 Android Development] Disrupthor:
Concur

Enviado do meu LG-D405 através de Tapatalk
[G Pad 8.3 Android Development] tmihai20:
I have nothing bad to say either. This time no news is good news.
[G Pad 8.3 Android Development] Disrupthor:
Can you add the usb fast charge ability to the kernel? LG makes usb charging too slow. Thank you.

Enviado do meu LG-D405 através de Tapatalk
[G Pad 8.3 Android Development] fishears:
It will be in the next release.
[G Pad 8.3 Android Development] Disrupthor:
Nice, if it's not pushing too much some more governors and i/o schedulers would be great. ?

Enviado do meu LG-D405 através de Tapatalk
[G Pad 8.3 Android Development] brk:
Hi, thanks for your work.

Knock screen activation is not working for me, even with that option turned on in settings. Anyone with the same isue?
[G Pad 8.3 Android Development] Xup8:
Is this kernel working with multirom?

Enviado do meu LG-D855 através de Tapatalk
[G Pad 8.3 Android Development] fishears:
Yes it works. I just forgot to list it as a feature.
[G Pad 8.3 Android Development] Disrupthor:
DT2W is working normally. Do you use Xposed? Maybe it could be some module...

Enviado do meu LG-D405 através de Tapatalk
[G Pad 8.3 Android Development] brk:
No xposed here.

Just found out what is the problem.

I've Knock code as lock screen, and with that screen lock the knock to activate does not work. Maybe some kind of bug?

Thanks anyway.
[G Pad 8.3 Android Development] fishears:
It works for me with knock code, I just tested it. You know that if you're using a knock code that you just tap your code with the screen off to unlock it - you don't double-tap then tap your code?
[G Pad 8.3 Android Development] brk:
:)

Yep, that was my mistake. thanks.
[G Pad 8.3 Android Development] Maraudeur:
[MENTION=3325155]fishears[/MENTION] , man! Thank you for hard work!

add please more governers.

And many of people form another forum complain that after update to 1.0.6 , it have problem with reducing battery life.
[G Pad 8.3 Android Development] tmihai20:
I actually have great battery life. I am using it just like before, playing games and stuff. A log would be good, or even a printscreen with usage.
[G Pad 8.3 Android Development] fishears:
Я не умею говорить по-русски
[G Pad 8.3 Android Development] DKTigra:
Hello. Thanks for the great kernel!

Is there any additional information about reverting back to LG emmc driver in custom kernel (as it mentioned at github commits)? Many users reported mmc dismounts on stock kernel, mostly after device wakes up, so external sd-card was almost useless. I've encountered that error on any stock kernel 4.2.2 through 5.0.2. Didn't try custom 1.0.6 yet, but external sd is critical for me. Thanks
[G Pad 8.3 Android Development] fishears:
I decided to revert the Palman driver based on our testing and user feedback. The reports that I have investigated of multiple dismounts have been caused by filesystem errors or corrupted files rather than the driver.There are some other code changes relating to the mmc which seem to have a positive effect. My advice is to try it for yourself because there are so many variables like sd type, size, format content and usage.
[G Pad 8.3 Android Development] DKTigra:
Thanks. I'll try 1.0.6. But as for stock kernel - it produces unmounts regardless sdtype and size (got unmounts both on 16G/4 class and several 32G/10 class sdcards from different manufactures - Transcend , Sandisk, Silicon Power etc). All of them were formatted to FAT32 (didn't try exFAT), but unmounts starts even on "clean" device (with extsdcard formatted and empty and device was hard reseted). So your first custom kernel :good: was the only option to make external sd usable.