yashsingh1/xdaforums huggingface dataset:
[G3 Android Development] mostafaz:
just FYI :

this kernel use stock ramdisk which contains some init.rc files with lots of commands produced by LGe that loads during the boot up. there is "anykernel" ramdisk that can run on any rom or device . in this case anykernel doesn't have those files and commands unless dev add them to load during the boot up.

custom CM and some stock kernel use anykernel ramdisk to flash the kernel.thus some issues may disappear with them because of init.rc and commands doesn't load and some issues may fix with stock ramdisk because of init.rc and commands has been loaded.

in CM some of these files contains in rom and no need to add them in kernel ramdisk and add/apply them during the kernel flashing process.

mentioned files stored at root of device storage "/" like "init.g3.rc" or "init.g3_core.rc" in both stock and CM roms. stock has more of them.

for more investigation user can take a look at CM files and use them in stock but user should make sure stock rom has service/files in those init files to not waste the time.

ie: in file located at /system/etc/init.qcom.post_boot.sh stored commands for default cpu governor/some permissions/hotplug control/power policy and etc which CM has a little different one. :)

some of them contains in rom package.

these are same in stock and CM

CM file is init.cm.rc and stock is init.qcom.rc

enjoy
[G3 Android Development] mostafaz:
i think thats flashed with rom ( stock or custom )

you will find them in this post by [MENTION=3668510]empulse92[/MENTION]
[G3 Android Development] Suigintou:
Here is a log, I can't access Internet using Opera
[G3 Android Development] mostafaz:
Thanks

There is a failure in staging wlan driver. Same as rocky reported issue while my log is clear from this. d855. Maybe not related but i do ckeck.For my info do you use wlan or mobile data?

wlan: [4613:E :WDA] Failure in host offload REQ WDI API, free all the memory 3

[emoji106]
[G3 Android Development] rocky78:
by any chance you are greenifing this app?
[G3 Android Development] Suigintou:
Yeah I use greenify

[MENTION=5175597]mostafaz[/MENTION] my wifi always on bit that problem appear only on data

Tasks are off on Tasker. Only Db optimization and ui reset are left.
[G3 Android Development] mostafaz:
If it's only on data so it can be from modem sleep tweak. Set it to awake mode and test.

If greenify/amplify doesn't affect on it so i have to remove modem tweak.
[G3 Android Development] Suigintou:
I'm not sure I understood: greenify/amplify are possible culprits or not? Should I try disable them?
[G3 Android Development] danial.aw:
I would, I personally used to use them all the time but now on marshmallow I don't see any benefit.... With or without them I still get around my standard 4 hour sot so why have other processes running in the background
[G3 Android Development] rocky78:
the benefit is that they would "go to sleep" earlier then stock would and by that saving more

battery but if it doesn't have any effect for you with or without that's good

---------- Post added at 05:41 AM ---------- Previous post was at 05:40 AM ----------

my hunch that greenify (im using v3 build 5) is doing something wrong.

remove opera from greenify and see what happens

(or better yet just uninstall greenify)
[G3 Android Development] Suigintou:
I'll give a try removing it in a first time
[G3 Android Development] finferlo:
Differences

Where can I read what are the differences between the three versions of the kernel?
[G3 Android Development] Suigintou:
Search Opt in the topic

[MENTION=5175597]mostafaz[/MENTION] hey, seems like I have the connectivity problem with WiFi also, so what you have seen might be the problem.
[G3 Android Development] Suigintou:
The problem appeared with Opera on WiFi, modem sleep is off
[G3 Android Development] mostafaz:
I just using opera. I do for some day.

My log is clear from mentioned fail message or wifi drop.

I still think it's not kernel but i can be wrong.

I've an old installed fulmics 6.6 (restored from backup in rom & thermal test purpose many times).

I do with a fresh install
[G3 Android Development] rocky78:
mostafaz i can update you and you guys

that for me unistalling greenify v3 build 5

solved the network dropout.

it didn't happened since yesterday.

thank you very much :good:
[G3 Android Development] mostafaz:
You did [emoji106]
[G3 Android Development] ImJamIN:
Hi,

this is my experience; how I have wrote, with 2.2 I'have had some problems with connection, and the only method that I have test it's good for me, is to put a script in init.d to load some configuration for network. That help me to have always a good speed and responsive connection.

Here my script :

Another issue is Greenify; if you use the standard Wake-up Tracking and Cut-off, the most of apps remain hibernate even if you use it. This is the problem that apps like Opera, Firefox, youtube, etc. cannot load the pages or navigate to internet. So if you want to hibernate them but when you open the apps, you want that them can use your connection, you must enable Shallow Hibernation (in Greenify settings) and disable Wake-up tracking cut-off.

So, try these changes and tell me if things work better.
[G3 Android Development] mostafaz:
Thanks

Good post
[G3 Android Development] nimjk:
I found an error with Magisk... I can't use Dorimanx stweak after I flashed Magisk unofficial v10... When i used official v9 it works fine but after updating your kernel to v2.2, I can't use stweak with any version of magisk... is there a answer to solve this problem?
[G3 Android Development] danial.aw:
I seem to have random reboots whenever I use simple OnDemand as the GPU governor... It gives better performance than adreno and less UI lag to me

http://cloud.tapatalk.com/s/5866bffad6ff8/gabriel_debug.zip

Haven't had them even once on adreno, but adreno for some reason lags a lot if you 100mhz as min, but fixed itself at 27mhz???
[G3 Android Development] mostafaz:
Hey

Thanks for the log.

It was f2fs panic. I removed 3.10.y f2fs and back to 3.4.y stable branch. I'll attach d852 build and mention you.

Maybe there should be update in kgsl but stock doesn't have 100 mhz. So need to tune & update for it.
[MENTION=1601151]danial.aw[/MENTION]
[G3 Android Development] ImJamIN:
Hi,

some updates from my battery.

I'm on Gabriel 2.1 with a modded suigintou profile.

http://www.mediafire.com/file/85o9j4qn7a2z7dq/1_30Dec.jpg

http://www.mediafire.com/file/5d27agduz3g4lem/2_30Dec.jpg

http://www.mediafire.com/file/4atc11dipd35yc3/3_30Dec.jpg
[G3 Android Development] danial.aw:
I use the optimized version...

Starting to think f2fs is not worth all the headache of installing it -_- lol
[G3 Android Development] danial.aw:
Something wrong with the attached link... Only downloads a weird 178 bytes file.

Can you upload somewhere else I think XDA having issues with their servers
[G3 Android Development] Suigintou:
Can you share with me your mods :D
[G3 Android Development] mostafaz:
:good:

which rom/modem? file system?

xposed/modules?

http://www.mediafire.com/file/3eckz70eu6ha05h/Gabriel-V-02.2-[31-12-16]-D852.zip
[G3 Android Development] ImJamIN:
Yes...tomorrow i'll share all... (Rom mod, init.d scripts and profile)

I'm on fulmics 6.6. Modem 21a, standard file system, no xposed. Only greenify as root.
[G3 Android Development] Mystogan:
So i started using this kernel and the hot plug by the default is MSM. anytime the screen goes off it always switches to msm. Frequencies above 2.26 Ghz do not stick and disgusting popping noises when playing music while screen off. However i checked the power usage on Ampere app and i noticed it uses about 150 mah less than the previous kernel(version 1.6U), which uses almost as low power drain as kitkat rom. it doesnt really seem compatible with kernel adiutor mod.

I then used dorimanx and applied suigintou's profile and switched some settings and everything seems perfect now. Before using this, my phone would wake up every 2 hours or so. now i get a lot better idle drain and popping noises while listening to music with screen off are gone and thanks to dorimanx's setting to only obey dorimanx on certain areas, the hotplug doesnt switch to msm. thanks suigintou and mostafaz!

Rom and kernel at time of this post: Fulmics 6.1(vs985) - Gabriel kernel v2.2 normal
[G3 Android Development] Ali422600@gmail.com:
Thanks for kernel 2.2 and working smooth but rebooting issue still there.LG G3 F400s variant
[G3 Android Development] mostafaz:
Hey

After reboot get last_kmsg

Happy new year to all
[G3 Android Development] projectx009:
hello guys does have gabriel kernel work for lg g3 D858hk (china mobile dual sim lte model ) ??
[G3 Android Development] mostafaz:
No

Please send me your latest boot.img (kernel).

I'll look at your source.since we have 1 sim i hope there no issue for you.

If it's done I'll pm you.

Please message
[G3 Android Development] Stiffmeistro:
Hi mostafaz, thanks for the kernel :)

my phone is running smoothly

when i use suigintou,there's a reboot but when i change to gabriel kernel it fixes all my problem regarding freezing,lags

but sometimes i have to reboot my phone to remove the noises when i'm listening to music

so i hope you can fix that in the next update

#F400L
[G3 Android Development] mostafaz:
Did you tried to push fstrim button in io tab ? Do it when get lag once or twice per day & look hows it going.

For suigintou profile after reboot get kernel debug from stweak & send here please.
[G3 Android Development] projectx009:
right now i am running fulmics 6.7 with stock kernel. how i extract boot.img ? with flashify?

---------- Post added at 04:26 PM ---------- Previous post was at 04:22 PM ----------

right now i am running fulmics 6.7 with stock kernel. how i extract boot.img ? with flashify?
[G3 Android Development] mostafaz:
No need.

I'll get it from fulmics
[G3 Android Development] projectx009:
Ok. thanks you. I hope it will work :D
[G3 Android Development] danial.aw:
If you are using v4arise that may be the issue.. I had nasty popping and crackling with that installed... Went back to stock ROM without mods and the found has no issues again
[G3 Android Development] projectx009:
hi again mostafaz any new about gabriel kernel work for lg g3 D858hk (china mobile dual sim lte model ) ??
[G3 Android Development] mostafaz:
It can be but wait for next update.

Still working on it but not release candidate yet [emoji16]
[G3 Android Development] projectx009:
ok thanks, so i wait for the next update
[G3 Android Development] ImJamIN:
Settings and Modding

Hi,

excuse me for my delay, but I'm trying modding and testing since last year ;)

So, this is my kernel (2.1) suigintou profile mod :

- no Dynamic FSYNC

- no sharpening Control

- Entropy low

- CPU Boost at 1.57Ghz

- CPU Boost Duration 500ms

- CPU Max scren off 1.72Ghz

- CPU undervolt 30 (now i'm testing -40 with very good result)

- CPU Hotplug : dual core with 1000ms duration

- GPU Conservative (now I'm testing simple ondemand with good result)

- no Adaptive LMK

- no SWAP

- no ZRAM

- no LMK log

- Net Congestion (now I'm trying HTCP, that's is good for me)

- YES INIT.D run

Now, these are my rom (fulmics 6.6) mod :

- modded build.pro (as more max events per sec, sleep_mode, touch pressure, integrate bravia engine and others)

- init.d script (as fstrim every boot, sqlite every week, zipalign every week, my internet tweak as posted)

For greenify, I'm found some little problems also with Shallow Hibernation (only if I have no reboot for two days). I've tried Aggresive Doze, but for my setting there are more problems than Shallow. So I've disabled all; only automated hibernation is active, and with new net congestion HTCP I've no timeout or error for every app that request internet access.

I know that with greenify configured as this, after screen turn off every app are hibernated/closed, but I haven't found any lag or other slowdown when open apps or switch between the last I've used.

As I said I'm still under test, so, if you have any suggestion, you are welcome.
[G3 Android Development] mostafaz:
Hey

Thanks

Last year [emoji16]

What is your max per sec ? I think it can be frame_rate * 1.5 > 60 * 1.5 = 90 so I've found some setting 240 & some 500 ( affect on ui? )
[G3 Android Development] ImJamIN:
500

persist.sys.scrollingcache=4

windowsmgr.max_events_per_sec=500

ro.ril.disable.power.collapse=1

pm.sleep_mode=1

wifi.supplicant_scan_interval=360

ro.max.fling_velocity=12000

ro.min.fling_velocity=8000

ro.min_pointer_dur=8

And

ro.HOME_APP_ADJ=1
[G3 Android Development] danial.aw:
Hey can you hook up the init.d script please, preferably without the network modifications.

Please and thank you
[G3 Android Development] Suigintou:
Thank you, you have 3go RAM, do you?

For hotplug touchboost settings, it's not supposed to work with Alucard, isn't it? (@Mostafaz)

After more runs, how is you SoT, what's your usage pattern?
[G3 Android Development] mostafaz:
Hey alu doesn't have that [emoji4]
[G3 Android Development] danial.aw:
Hey, what I can't understand is that touch boost seems to be in two locations in Dorimanx app... Once in the CPU control and once in CPU hotplug control... Which one do I change to have only one core boosted?
[G3 Android Development] mostafaz:
a hotplug option for touch core boost

with cpu-b you can set freq also
[G3 Android Development] danial.aw:
So in the hotplug I have touch boost set to one core... Should I also change the touch boost option to one in CPU section as well (it's at 2) or its not needed?
[G3 Android Development] mostafaz:
Your hp will over ride it
[G3 Android Development] SleapyYy:
Hi guys, I am on Fulmics v6.7 everything stock and I want to try this awesome kernel, can someone advise me how to install it and which version should I use, normal or optimized, which one is more stable and better?

My device is D855 2GB RAM

Is this right way?

1. flash kernel

2. wipe dalvik/cache

3. go back and flash superSU 2.78 SR3 and MR_Bump

4 . reboot
[G3 Android Development] dcop7:
If you have normal root (not systemless), just flash the kernel.

If you have systemless root, flash the kernel, if you don't have root, flash supersu and Mr_bump.

It is not needed to wipe anything
[G3 Android Development] SleapyYy:
Okay, thanks, Yeah I have normal full root, so which kernel should i use v2.2 Normal or Optimized, whats difference and which one is more stable?
[G3 Android Development] dcop7:
You should search the thread for that. Use normal if you want more stable and more battery. Use optimized if you want more performance
[G3 Android Development] SleapyYy:
Tnx, I flashed v2.2 Normal but when I open synapse its not working, There is no UCI Support Detected

What settings should I use there are lots of things, whats best hotplug and governor for cpu and gpu?
[G3 Android Development] dcop7:
First, you should use dorminax. It is a good app. And there isn't a best hotplug, cpu governor gpu governor, etc... You should start with the default profile and if you want, change some things to see what fits you best
[G3 Android Development] danial.aw:
I've noticed that whenever I run simple OnDemand GPU... The phone is butter smooth but it causes a huge amount of heat... Like randomly even sometimes. The heat goes away when on adreno.

Might be something to look into
[G3 Android Development] dcop7:
Smooth uses more gpu. If uses more gpu, it produces more heat...
[G3 Android Development] danial.aw:
But like it's using GPU even when the phone screen is off :/ ... I lost like 30% battery because of the heat when all I was doing was reading a story... So I think the scaling might be a bit out of control shrug ... Just an observation obviously I can be completely wrong
[G3 Android Development] dcop7:
Strange. If happens all the time? One time a friend of mine wasn't doing anything and the phone was very hot. Even with the screen off. After a reboot everything was fine. Can you try conservative gpu governor to see if it happens again? What other settings from the default you change?
[G3 Android Development] ImJamIN:
Hi, yes I've 3gb

These are my new improvements for the battery :
[G3 Android Development] Suigintou:
What do you use your phone for? Which apps?
[G3 Android Development] ImJamIN:
Generally i use tapatalk, amazon, youtube, whatsapp, etc.(very often) and some games.

Some days i use much more phone (when I'm out) and bluetooth for music.

Usually i make a lot of test (script, kernel mod,etc) so the screen is often on.

Wifi and data always on. Screen timeout 2min. Auto brightness.
[G3 Android Development] SleapyYy:
Can you please share your settings? hotplut, cpu, gpu gov, cpu clock speed etc...
[G3 Android Development] ImJamIN:
You can find it here :

https://xdaforums.com/showthread.php?p=70435727

Now, I've unistall greenify
[G3 Android Development] Suigintou:
Asked that because your top drains are from system. Usually it appears later in my battery usage listing.

If I play YouTube 20min it's way more than 5%loss
[G3 Android Development] ImJamIN:
Today I've played youtube for about 18min and I've 2% of battery drain

My battery statistics update
[G3 Android Development] Suigintou:
I'm gonna test a run without lmk,zram, HTCP . Your other changes were about increasing freq on touch boost and screen off (I'm not exp but I wouldn't expect better battery from it) and hotplug mods didn't actually work. Do you use some other tools for battery saving? I hope you're gonna tell me you have a good data connection too.
[G3 Android Development] ishanbhatnagr96:
Are those all of your settings?

I'm running fulmics 4.2 and was thinking of flashing this kernel because of low battery life.
[G3 Android Development] Suigintou:
[MENTION=5175597]mostafaz[/MENTION], would you know what is making app lists in settings or the share menu (with app selection) beeing very long to charge? It's been a while I wanted to ask you, I didn't have this problem before your come back (maybe starting with 1.8 or 1.9).
[G3 Android Development] ImJamIN:
My 4g data connection isn't so good, but WiFi it's good (for were I live).

Now I've uninstall greenify so now no app controlled when screen is off.

Naturally I have disabled all bootable apps that I don't need.
[G3 Android Development] Suigintou:
It's modifications of "Suigintou profile"
[G3 Android Development] ImJamIN:
I'm on fulmics 6.6. And yes those are all my settings
[G3 Android Development] ishanbhatnagr96:
One last question, which version of 2.2 are you using? Normal, optimised or overclocked?

Thanks!
[G3 Android Development] ImJamIN:
I'm on 2.1 normal
[G3 Android Development] lwkoon:
You need to use the mod above for synapse on UCI support.

read my signature

I'm on optimized
[G3 Android Development] ImJamIN:
Hi,

Other utilization of phone, new battery statistics.

Now i have no greenify and that's seems very good.
[G3 Android Development] ImJamIN:
Hi mostafaz,

I'm testing boeffla sound engine, and I would like to know how you have integrate it; in particular, which version of boeffla have you integrate ? Can I use Boeffla sound engine app (1.7.1) to configure it ?

I know boeflla from i9000 and this was the best engine for dac in Samsung. Now, lg g3 have a good dac, but in dorimanx I cannot see any option for oversampling and other for boeffla.

So, is there something that I can do ?

Thank you
[G3 Android Development] Zeghio:
I guess im going for overclocking...

**** Battery Life hahahaha!! :silly:

BTW what are the main differences between the normal version and the optimized v? :p

PD; For the overclocked version it says D855_16 and D855_32 which should I get?
[G3 Android Development] dcop7:
Why don't you search? You will find your answers.

Normal is more battery friendly and more stable. Optimized is more performance oriented.

The "16" and "32" is the version 16gb or 32gb. But it only matters if you use multirom. If not, you can flash anyone
[G3 Android Development] sankarth:
I lost root after flashing this kernel on xdabbeb's Vs985 3.1.1 Rom....It was rooted before flashing...what do I do.??
[G3 Android Development] KittySparkles:
Flash SuperSu
[G3 Android Development] projectx009:
update for lg g3 D858hk model

hi dev when will come out the update for lg g3 D858HK Model.
[G3 Android Development] Zeghio:
Dorimanx or Synapse? Which works better?
[G3 Android Development] cesarandres_8911:
Both applications are oriented towards the same purpose, here the subject is comfort of use for the user. If you want to use synapse with this kernel, you should flash ukm_mod (check in previous comments).

---------- Post added at 10:46 PM ---------- Previous post was at 10:41 PM ----------

You can to use betterbatterystats and review which processes are generating wackelock or are not allowing deep sleep when the screen is off...
[G3 Android Development] Om Kecap:
hello mostafaz, i had "Emergency Call ONLY but IMEI is correct" after flashing your kernel. i tried to search what happen to my phone, i had many solution about it

1. i try to change my sim card try. its work bout 3 week and i get same problems again

2. i try to back stock rom D855 32G with TOT methods but still same, get "Emergency Call ONLY but IMEI is correct"

and i search again about it and found in this thread https://xdaforums.com/galaxy-s3/help/emergency-call-imei-correct-t3031863. he said about EFS damaged or broken, so they have solution about patching "modem and kernel" https://xdaforums.com/showpost.php?p=58874832&postcount=2.

please make patch about this case...
[G3 Android Development] rrben22:
I want to use this kernel.

For gaming and multi tasking purposes and for fixing the overheating issue, may i request pls for the best settings. (sry,for being noob)

Im on fulmics 6.6 d855,16GB

Thanks a lot guys. Godbless
[G3 Android Development] Suigintou:
You can try gabriel or suigintou profile. Mine should give less heat but also less performance. Just test which suits you best (if you have 32go RAM consider using 0% in both swapiness with suigintou profile)
[G3 Android Development] rrben22:
Thankyou [MENTION=5065973]Suigintou[/MENTION]

Do i needd to change the other values or just to change the profile? Thanks
[G3 Android Development] Suigintou:
Just go profile tab and select wanted profile. Then you can make changes you wish.
[G3 Android Development] marco_30:
flashed gabriel kernel v2.2 with default profile.. don't know if this issue has already been reported but at each boot the phone get really hot for the first few minutes and then it comes back to normal temperature

tekcafé odex ux4 + gabriel kernel normal v2.2 (default profile with google fix at boot enabled)

How can I avoid this problem?

Thnx for your hard work, really appreciated
[G3 Android Development] rrben22:
hi Sirs,

can you please help me what is the set-up for gaming purposes? i have a lagg issue when i play Mobile Legends :(

Thanks a lot.
[G3 Android Development] ccheung:
Do I still have root after flashing this kernel? If not now can I get root back?
[G3 Android Development] archraziel:
Yea it keeps root but if you have systemless root you have to flash it again and bumb it.
[G3 Android Development] tedeha:
What

Gesendet von meinem LG-D855 mit Tapatalk
[G3 Android Development] Armand02:
Hello!

My gpu freq never jump over 462 to 578 since dorimanx.And the min freq don't stick. If i let the phone down 3-5 sec, the gpu freq seem to be 27. Even if i set it 300

I look at frequenciess with cpu float app

What does the cap value and target value for msmadreno gpu ? I searched several times for this but i didn.t find the answer.
[G3 Android Development] tedeha:
Which config ja good for fulmics 6. 7

Gesendet von meinem LG-D855 mit Tapatalk
[G3 Android Development] Zeghio:
Happens to me to also... And I dont know if its only me but I feel the phone laggy when I watch some YouTube videos and when I play music the sound gets cut every 5s... Mmm.....

Enviado desde mi LG-D855 mediante Tapatalk
[G3 Android Development] Antidote03:
hello there

i just have question to the dev ,,, i wonder did you remove the support for multirom because i see the kernel no longer support the KEXEC Workaround

thanks in advance
[G3 Android Development] zihar:
hi i have a problem with the lg g3 sprint variant... when i flashed the kernel i can not conect usb mtp with my pc... post data still working in recovery.