yashsingh1/xdaforums huggingface dataset:
[G3 Android Development] mostafaz:
Actually i didn't check that. I'll check with v 2 and share it.

V2 has some of my favourite options

Cpuidle & mmc from 3.10.y

Just some little check & upload them. I schedule it for today [emoji16]

I'm trying to get another profile too. Takes time
[G3 Android Development] Suigintou:
Good to see you motivated and on the battlefield again :D (Maybe you always were but took you some time to create with great 1.7 version)

I use Default with intelliactive/glassfish + alucard hotplug. I had a 4h SoT+ 1h screen off audio streaming (No gaming).

Only flaw is, cpu was too high in freq while screen Off (maybe I overthink it) with 18%@1,4GHz and 10% @960MHz while I was running soundcloud (screen off). Feel, like I could have lost less battery here, would be great if I could spare a little on music/audio streaming.

Edit: + it is really butter smooth
[G3 Android Development] mostafaz:
Awsome details & SOT.

I think we can't have two profile with same driver : default and glassfish to intelliactive. Can we? I'll check again.

You always have great details [emoji106]

My goals for v2 are less cpu cycle & better performance which should have a little less power consumption.

Other parts should get update to get a balanced state.
[G3 Android Development] Suigintou:
I meant, I loaded default profile and then applied the Intelliactive + alucard HP.

Never had so much SoT with my G3, I stuggled having 2h30.
[G3 Android Development] mostafaz:
Oh

I'll test yours [emoji106]
[G3 Android Development] Suigintou:
If you wanna test, I'll give you further details: I changed a few other things. I try to remember doing tests but didn't save (that's bad :D)

Intelliactive/ Glassfish

sample rate sleep 800000

Alucard HP

sample rate sleep 40

-20mV

GPU 27-578MHz with consevative (but not sure you save much compared with ondemand but for gaming)

Since I've 3Go RAM

I used medium/medium/relaxed for OoM

and decreased both swapiness ON/OFF to 0%

It is kind of intuitive tweaking (someone said random? XD ) Maybe some aren't very impactful, you can tell me what you think. I'm trying to do something similar from the performance profile, to see what SoT I can have from it.

Edit: for fulmics, I used dcop7 sugestion to disable Qualcomm assertive display, in fulmics tweaks.
[G3 Android Development] mostafaz:
Also you can backup your stweak's profile. Very good.

I think it's possible to make a flashable zip for that.
[G3 Android Development] Suigintou:
Just tried, but seems it overwritte the current profile eg: it said backup of performance profile is done
[G3 Android Development] mostafaz:
Assertive display. Thanks dcop7

Look at /data/. Gabriel/

It should like default. Profile_Backup
[G3 Android Development] mostafaz:
Kernel v 2.0

* merge MMC codes from 3.10.y kernel mainline

* merge cpuidle codes from 3.10.y

* add ability to disable dmesg (kernel logging)

* merge qseecom from 3.10.y

* merge watchdog from 3.10.y

* add frandom

* add Boeffla sound engine

sysfs available at: /sys/class/misc/boeffla_sound/*

enable with : echo 1 > /sys/class/misc/boeffla_sound/boeffla_sound

to change volume you should add left & right chanel : echo "20 20" > /sys/class/misc/boeffla_sound/speaker_volume

##### Ramdisk/Stweak

* add ability to disable dmesg logging (others tab)

* add sound control options

* update busybox
[G3 Android Development] dcop7:
I keep getting better battery with assertive display disabled :) Much better battery! And of course, with your kernel :)
[G3 Android Development] mostafaz:
Thanks

Is it ro.qcom.ad?

Then i can add to stweak
[G3 Android Development] Suigintou:
Why did I even downloaded the 1.8 :D I thought it would come tomorrow or so :highfive:
[G3 Android Development] mostafaz:
Just wanna separate builds for easy debugging [emoji16]

I dont have any for tomorrow or the day after [emoji12]
[G3 Android Development] dcop7:
I use fulmics, in the fulmics tweaks there is a switch to that.

I believe that is that settings (I've check this thread: http://xdaforums.com/lg-g3/general/qualcomm-assertive-display-plugin-lg-g3-t3349370 )

But I think assertive display is not native, so, there is only available when some DEV implement it in the ROM. Normally it shouldn't be active.
[G3 Android Development] mostafaz:
Thanks for info [emoji106]
[G3 Android Development] danial.aw:
Hey installed v2... Dorimanx is saying no kernel support after flashing it...

Sent from my LG-D852
[G3 Android Development] mostafaz:
U opened it early

Kill frlm recent app & wait almost 1 minute or reboot and wait same
[G3 Android Development] danial.aw:
Did not know that at all.... Working now, thanks

Sent from my LG-D852
[G3 Android Development] Stiffmeistro:
is anyone tested it on f400?how is it guys?
[G3 Android Development] Hamada DZ:
hello mostafaz

i think there is a problem with the d850 versions since the 1.8.

all of them(1.8 ,1.9 and 2.0) gives me an error when i try to install - script aborted: assert failed: run_program("/tmp/install.sh") -

and thank you for your hard work
[G3 Android Development] mostafaz:
Hey

Never users told about it exept you. No problem.

I'll send another one and let u know it.

D850 is the only that have largest size.
[G3 Android Development] ishanbhatnagr96:
Have been away from stock ROMs for a while and now I see that the long awaited kernel is available on F400. Currently on tekacfe 3.4 (UX4) and wondering to give this kernel a go.

I think of myself as a heavy user who uses music streaming apps (Spotify, SoundCloud) and social sites (Google+, WhatsApp, XDA) a lot.

Would love to get some feedback from the users as to which settings would be best for a decent battery life.

Currently I get somewhere around 2.5 hours which is a lot low for me since I used to get around 4.5 a few months back (Yes, I ordered a new battery today).

Thank you dev for supporting this masterpiece.

Cheers.
[G3 Android Development] beastobadness:
Same for me, love the LG G3 but it's time to top up its fuel tank and buy a new battery.
[G3 Android Development] Zahr:
I've mentioned an error, error 7 when flashing when version 1.8 of the kernel on d850 was released. Interested in trying out newer version.
[G3 Android Development] ZjemCiKolege:
Any plans to support Cyanogenmod? or only stock ?
[G3 Android Development] nimjk:
Thx for making this awesome kernel!

But I want to inform you that, after I flash this kernel to my device (f400) with Fulmics rom, i can't use bluetooth. When I use stock kernel in Fulmics, it works fine. Can you fix this problem? (Maybe the hint is in the stock config)
[G3 Android Development] mostafaz:
I don't know if i hae time for that.

We can stick with stock.

Let's what dreams may come
[G3 Android Development] mostafaz:
Thx for report.

I'm sure it's config but can u send log?

Dmesg
[G3 Android Development] mostafaz:
uploaded with smaller size

Gabriel-V-02.0-[25-11-16]-D850
[G3 Android Development] marcdw:
I was getting the same errors but not with Gabriel. After flashing Fulmics or Nimax ROM things seemed to mess up a bit. A few zips that have always flashed were now giving me the assert failed errors.

A couple of kernels, busybox, few other items.

Given that flashing Fulmics, et al, jacks up my modem (have to reflash it each time) I'm thinking there are other side effects.

After removing or backing up the ROMs I flashed Resurrection Remix (it was on hand) then removed it. No assert failed errors after that. Strange.

LG G3 D851, PAC-MAN LP ROM, Tapatalk 4.9.5
[G3 Android Development] Hamada DZ:
mostafaz thank you very much for your fast reply

i downloaded the [25-11-16] version ,installed it with no errors.

but i can not use data
[G3 Android Development] mostafaz:
?

Did you had no data with v 1.7 ? Can you confirm?
[G3 Android Development] Hamada DZ:
i don't no ,i never try to install any zip file exept gabriel.

and the Gabriel-V-02.0-[25-11-16]-D850 resolves the problem and installed with no errors.

the bad thing is that i can not use data in that version :crying: so i reinstall the 1.6

---------- Post added at 11:22 AM ---------- Previous post was at 11:18 AM ----------
[G3 Android Development] Armand02:
Very useful work mostafaz. Thank you
[G3 Android Development] Zahr:
I lost data as well after flashing the newer d850 2.0. With 1.7 data works for me.
[G3 Android Development] Suigintou:
Hello guys.

I have a little build with which I was able to go to 4h SoT and which is really smooth.

It's important to note that I'm no expert, and that is not perfect at all and have surely some room for improvement.

It's tested on 1.8 and I have sometime my phone which is long (few secs) too wake up when I turn it on. If someone has any idea to fix that, I'll test it.

Also I'm not in best situation for tests because I'm under fair use data (slow data connection ), and this I have some hope it could be better, particularly while even off,or charging online content.

https://mega.nz/#!P5AXzbhL

Place it into data/.gabriel

Choose default profile into dorimanx

Then go into profile tab and use restore

That should work :s

Hope someone can enjoy it.
[G3 Android Development] mostafaz:
Thanks man

For slow wakeup look at cpu sleep sample rate.

Cpu driver sleep sample rate is set to 60000 for sleep state.if stweak value can't change it i will remove from driver for next build and let stweak to control it.
[G3 Android Development] Suigintou:
You're welcome.

I chose to set it to 60000 to make it less prompt to climb the Frequencies while sleeping, but didn't thought it could slow it so much. Furthermore it is not every time the phone is turned on.
[G3 Android Development] sheikhramnuj:
Thanks for this awesome kernel! One issue i found is the bluetooth not working in my nimax slim rom. How to get logs for that issue? When i try to install other kernel bluetooth is working again.
[G3 Android Development] mostafaz:
Stweak / kernel stuff / active debug

Send the generated zip file

Gabriel-debug

Thanks
[G3 Android Development] sheikhramnuj:
Hope that will help :D
[G3 Android Development] mostafaz:
Forget to mention try to enable data ( not working) then get the log

To insert itself in the log
[G3 Android Development] sheikhramnuj:
This time data is enabled.
[G3 Android Development] :
[MENTION=5175597]mostafaz[/MENTION], do you tend to sync kernel with v30g lastest source?
[G3 Android Development] mostafaz:
The source of kernel should be available at opensource.lge.com

Seems latest one is v30j
[G3 Android Development] :
Oh nice information :))
[G3 Android Development] sheikhramnuj:
I really like this kernel. If bluetooth is fix i will definitely use this forever ?
[G3 Android Development] mostafaz:
oh my bad

i thought you had data problem :p

it was bluetoth, right ?

try on / off bluetoth and give the log
[G3 Android Development] ishanbhatnagr96:
Bluetooth not working on F400. Using tekcafe 3.4 with Gabriel 2.0

Log attached.
[G3 Android Development] xxAirwickxx:
My Data seems to be dropping more frequently with 2.0 then the last version. On Flumics 6.6 with Fido(Rogers) D852 would you like a log ??
[G3 Android Development] danial.aw:
Hello... Would you please add an option to disable the color profile option and brightness setting on boot ... It conflicts with using cf.lumen because it enables afterwards and the filter stops working

Sent from my LG-D852
[G3 Android Development] mostafaz:
if you mean kcal then well, it's in the others tab in stweak. change it to stock

here is the values just FYI.
[G3 Android Development] mostafaz:
i appreciate it if send a log.

BTW there is a improvement commit on net speed that may cause this issue, i'll check
[G3 Android Development] mostafaz:
I'm working on 2.1

I/O driver and dependencies from 3.10.y

Library update from 3.10.y

Some fix on LMK
[G3 Android Development] mostafaz:
can't download :confused:
[G3 Android Development] Suigintou:
Try again :D

https://mega.nz/#!P5AXzbhL
[G3 Android Development] mostafaz:
Enter encryption !
[G3 Android Development] Suigintou:
https://mega.nz/#!f9gFRYYC!hiYuwdmUWQvAyBVXvj_Ry-DDwKOZ9fwpQjB26GWgXRA

This one is good
[G3 Android Development] Siletina:
I will give it a try. Thanks
[G3 Android Development] :
[MENTION=5175597]mostafaz[/MENTION], Can you find out why hissing sound appear when plug earphone? It happens on every ROMs even stock.
[G3 Android Development] mostafaz:
codec ?

i didn't noticed about that. my files are 128 or 320 - 44100 bitrate. i will try flac. can you ? BTW it's pointless for lower bitrate. i'll check,thanks
[G3 Android Development] :
Mine is 128.
[G3 Android Development] radeonxt:
how to install this kernel on fulmics 6.5?

just don't want to have bootloop.

tia.
[G3 Android Development] GUZGUN:
Through recovery.

LG G3 d855 32gb

Zoe Rom v3

Gabriel v2.0
[G3 Android Development] xxAirwickxx:
Hope I got it for u. I kno flumics has data issues anyways but seems to drop just a lil more frequently with your 2.0 not a deal breaker but inconvenient sometimes
[G3 Android Development] danial.aw:
Hey can you explain what the difference is between the 3 settings for Bricked hotplug... It's made by showp ... So kind of lost why stock and showp are two different settings for tuning

Sent from my LG-D852
[G3 Android Development] sheikhramnuj:
Is your bluetooth working with zoe rom and gabriel 2.0?
[G3 Android Development] mostafaz:
A little tuning in showp config from nexus branch and i merged optimized driver from dorimanx's branch called stock.

https://github.com/mostafa-z/MM_RAMDISK/commit/1208de3b46d202cb6791135a039e8994ff4afec5
[G3 Android Development] GUZGUN:
Yes working perfect.

LG G3 d855 32gb

Zoe Rom v3

Gabriel v2.0
[G3 Android Development] radeonxt:
i know.

i meant i wanna be sure since i just came back from xda, there's many new things i need to catch up on.

just read of systemless roms bootlooping when changing kernels and such.

i just wanna make sure this time around.

i think the bootloop happened last time i did it was because i flashed gabriel kernel then i thought i should restart then flash mr. bump.

i'm on fulmics 6.5.

flash gabriel kernel, do not restart phone, then flash mr. bump. is this right?

tia.

this is the one i'm talking about. found this on exceed kernel thread.

so the same step if i want to try gabriel kernel?
[G3 Android Development] GUZGUN:
What is your profile? Which is your governor and hotplug?

LG G3 d855 32gb

Zoe Rom v3

Gabriel v2.0
[G3 Android Development] mostafaz:
Gabriel profile + 60% swappines (fixed some bad swappiness in profiles for 2.1)

Before update I've 60,000
[G3 Android Development] ishanbhatnagr96:
How's the battery life with this profile?

Btw, are you working on BT fix for F400?

Thanks!
[G3 Android Development] mostafaz:
For better io test you do it through adb or terminal app as sudo (admin):

# dd if=/dev/zero of=/sdcard/test count=30000

It's nand to internal write.and reverse for internal read. Also for ext card ...

This pic is with intelliactive + kestrel profile(2.1) + zen 1024
[G3 Android Development] mostafaz:
Didn't measure yet ! Just stick with asphalt 8 [emoji16]

Today checked d850. I'll do f400 [emoji4]
[G3 Android Development] Sealant:
Settings

WOW!!!

its with data and cache f2fs? I have problems.. I have TWRP 3.0.2.0 Unofficial and when i install rom tekcafe or fulmics then im installing gabriels kernel then im chaning data and cache as f2fs. Im doing this properly? if im changning on f2fs data and cache before install rom, rom dont want to install in fully.. stacking on 50%. And i have problem because when i set f2fs on data and cache in system i have crash facebook messenger google, google shop and some apps. Sry for bad eng
[G3 Android Development] mostafaz:
1-Install rom

2-Boot

3-Backup

4-Copy the backup to pc or ext ram or backup to ext ram

5-Convert to f2fs

6-uncheck format in setting ( use rm )

7-restore converted partition or partitions

8-done

If it's stuck in restore then reboot to recovery and try restore again.

I didnt test twrp 3 but I've. 2.8.7 by jon777

I've only cache as f2fs for some days.others are ext4 [emoji4]
[G3 Android Development] Sealant:
Thanks for Help!

In LG G3 are some troublers with data as f2fs.. for example on LG G2 with crdroid 1.2 i have f2fs on data and cache and all works fine this same compilation of rom for LG G3 not working good with data on f2fs.. Damn ;d

Regards!
[G3 Android Development] jinderation:
My d851s Bluetooth is not working on this kernel 2.0 on fulmics latest ...I try to turn it on but doesn't respond
[G3 Android Development] mostafaz:
You mean does it work on 1.8 & 1.9 ?
[G3 Android Development] jinderation:
I haven't tried or used the older versions sorry..
[G3 Android Development] Sealant:
If i good understand its beta section download? cuz if i good understand the newest its 2.0 gabriel kernel.. Its possible to download 2.1?

I tested on clean rom with gabriel kernel with gabriel profile with 60% swappiness by antutu and i have 48k points.. i have ux 17300 against to u 24k, cpu 14k against to u 20k. How its possible ;x
[G3 Android Development] karasumert98:
[MENTION=5175597]mostafaz[/MENTION] im using tekcafe v3.5 with stock kernel keyboard running with 0 lag but when i install v2 (gabriel profile gpu min 27 mhz ) keyboard opening laggy and sometimes freezing i install 3 times but result not changed any suggest ? btw really awesome kernel battery life about 4.30 h and multitasking is really fast im not play games just social apps thanks for great work..
[G3 Android Development] mostafaz:
After finish sime changes [emoji12]

Which profile ? Stock ui ? Lg key ?

BTW if you send debug log from stweak i can check profile
[G3 Android Development] karasumert98:
stock ui , lg keyboard and gabriel profile i just changed min gpu freq to 27 mhz
[G3 Android Development] mostafaz:
Bluetooth Fix Test Build !

[MENTION=7493946]jinderation[/MENTION]
[MENTION=4962290]ishanbhatnagr96[/MENTION]
[MENTION=6017942]sheikhramnuj[/MENTION]

thanks
[G3 Android Development] dcop7:
Hi mostafaz, I had a reboot. Can you check? http://s000.tinyupload.com/index.php?file_id=64154574794886030896
[G3 Android Development] mostafaz:
Dmesg seems clear. I'll check at pc later.

BTW i had some too. That was mem leak and now 2 days no reboot.

It was much severe when enabled zcache( i had slow io with that. So disabled).after all dmesg is clear.

Seems you have 3 GB model .so no pressure but bug in v2 caused. I hope so.

I will atach d855

Edit: hi
[G3 Android Development] alibili:
Hello #mostafaz, Bluetooth isn'nt working in v2.0 for ls990, i didn't check it in previous versions.
[G3 Android Development] mostafaz:
hey
[G3 Android Development] alibili:
Thank you, it's working now.
[G3 Android Development] sheikhramnuj:
[MENTION=5175597]mostafaz[/MENTION] bluetooth is working now! Thanks a lot bro! Mwahh! ?
[G3 Android Development] Suigintou:
I'm on 6.7, I flash ROM then kernel, that's all.

[MENTION=5175597]mostafaz[/MENTION] How is it with intelliactive? :confused:

How much RAM do you have? Can you keep a track on background and switch with your OoM settings?

And what does it help for to set it to aggressive? How does it balance battery and performances.
[G3 Android Development] ishanbhatnagr96:
Bluetooth working now! Loving this kernel so far on tekcafe 3.5
[G3 Android Development] nimjk:
Thx for hardworking to fix bug! Bluetooth is now working with Fulmics 6.7!
[G3 Android Development] mostafaz:
I've 2GB.

Oom: thats the reason i merged LMK from 3.10.y to solve it n driver is much calm now.i increased swappiness to 50 or 60 to keep it relax n 750 zram. Before that big apps were killed easilly like asphalt 8. My current is medium and recommended pressure but sometimes can't keep tasks alive in recent apps. I added some service and system.ui to LMK driver protection to avoid redrawing in clean cache that may cause oom .they are stay in ram always n will get bigger during the time.actually I'm with nova n it's Low resource consumption n no lag in ui.

So i have much to do with oom .lmk ... [emoji16]

Changed to intelliactive from gabriel profile.seems good n stable. I didn't check well coz trying to merge some codes and tracking the log every day .sometimes can't stay with phone even 1 day [emoji16]

At this time I'm ready for 2.2 [emoji12] . android binder process communication system is our next driver from 3.10 n seems good n dmesg is clear .

BTW I've some app crash n seems coz of xposed. I don't have backup I'll do clean install today.
[G3 Android Development] Suigintou:
Thank you for explaining. So with my 3Go RAM it can relax settings until right before it begins to kill my apps while switching? Won't impact much battery nor performances, right?
[G3 Android Development] mostafaz:
I think killing app then they will reload itself cause cpu cycle but having them in mem is mean they are ready to run n eat cpu n ram again ?!!

Relax setting should do that.

Stock is the g3's default stock oom level

I should learn about it more ...
[G3 Android Development] Suigintou:
I meant: having settings which will use the maximum RAM without killing apps. And thus having maximum number of apps into the RAM.
[G3 Android Development] mostafaz:
Hmm relax n lower oom level.

Set the memory sleep state for awake state.

Lowernig the vfs n swappiness means use ram more than swap but may trigger oom.
[G3 Android Development] Suigintou:
I'm trying to remove every memory saving tools, but cool tool won't tell me the memory left is decreasing XD

I have removed UKSM, OoM are very light and relaxed

I've increased both dirty ratio to 40%

reduced vsf to 10% and I still have the same amount of remaining memory :o (cool tool's telling)
[G3 Android Development] mostafaz:
Lower dirty means free up ram faster.

Total free mem is free mem + cached mem.

If u have terminal use free -m and vmstat for more clear info.

Increase vfs means don't use cache or do less :/ BTW system releade the cache when it needs.

Cooltool uses which command to show results .

Attached. Pic is for used swap. Use vmstat and free to examine which part it shows(its free + cached)

I'm searching for more free room n u don't [emoji23] [emoji23]
[G3 Android Development] Suigintou:
I just seek battery/performance :)

What would you do? Is it useful to spare memory when you have enough?
[G3 Android Development] mostafaz:
You have 1 GB free mem. I think cache means ready to go or prefetched.

If you want have them all on free available mem you can do clean cache

echo x > /proc/sys/vm/drop_caches

X: 1 or 2 or 3 (related to vfs_cache_pressure)

Increase vfs to max and look what happens during the time.

Also before using the drop caches please run "sync" command.

We have them in tweak tab.

I'll go for this which what i did if i have much ram.

I'm using more zram to have more ram when needed (big app loding to ram) so you can disable that.

After clean install i set to extreme battery profile n seems all app in recent list is still alive yet
[G3 Android Development] mostafaz:
[MENTION=5065973]Suigintou[/MENTION]

When extra physical memory is not in use, the kernel attempts to put it to work as a disk buffer cache. The disk buffer stores recently accessed disk data in memory; if the same data is needed again it can be quickly retrieved from the cache, improving performance. The buffer grows and shrinks dynamically to use the memory available, although priority is given to using the memory for paging. Thus, all the memory you have is put to good use.

http://m.linuxjournal.com/article/2770?page=0,0
[G3 Android Development] Suigintou:
I read it wrongly, it was actually 746 (free + cache)

After a while it droped to 185 + 387 = 575Mo

Considering the free RAM is put to good use, as you said, I think I'll just use your profil with medium/recommended profil, but without the uksm stuff since I'm not in need and it uses a little of the cpu ressources. I'll see after some usage how much free RAM I have :) No need to overdo it :eek: