yashsingh1/xdaforums huggingface dataset:
[G4 Original Android Development] xrad:
Thanks for clearing up fast charge, makes sense of course.

Er, yes, and that's why I asked. For what is it, exactly? "Everyone does it" is not really an argument on its own... :) Myself I have never had a situation when I needed permissive, so I don't quit see why.

Anyway it's fine. I was just curious. As I said, I can compile the kernel myself. In fact I did already and have the boot.img. Do you have an additional script to do the final ZIP packaging?
[G4 Original Android Development] AndroidGX:
To be honest, me neither :p

But I think to others, if they need it (just in case) for their own futur roms :good:

I'm mostly using this :

cd /home/androidgx/projects/tools/SimpleGX_KERNEL_zip
zip -r SimpleGX_X-KERNEL_XXXX_vx.x.x.zip .

"SimpleGX_KERNEL_zip" contains everything of the flashable zip

:good:
[G4 Original Android Development] xrad:
Hm... no such script in my tools folder. I found one on pastebin, but is that current? Perhaps you can commit this too.
[G4 Original Android Development] Minto107:
If you have TWRP you can flash boot.img from it or via download mode going back to permissive, yeah I don't think it's really needed, I only need it for viper4android nothing else and if I'm not mistaken even on kernel that forces permissive you can still get selinux enforcing by using selinux mode change app available from XDA and then you use kernel you want with enforcing selinux(correct me if I'm wrong :P)

Wysłane z mojego LG-H815 przy użyciu Tapatalka
[G4 Original Android Development] xrad:
Yes that's possible but I'd also need to install the modules that go with that kernel (see updater-script).
[G4 Original Android Development] Minto107:
My bad, again I have forgotten about that part [emoji14]

Wysłane z mojego LG-H815 przy użyciu Tapatalka
[G4 Original Android Development] kpirnie:
#1

In the long run you get a better charge on your battery with it off... along with a bit better battery life
[G4 Original Android Development] AndroidGX:
I don't share all my scripts of course, but you have found what I wanted to share to a friend only :D it's almost my current yes :)
[G4 Original Android Development] xrad:
Strictly you have to share due to GPL but I don't think anyone will care to sue :). Anyway I've already taken to grind the scripts to fit my local path structure and to make them more generic. When I'm done I'll add them to my github fork so you can merge it back if you want. (I do kernel development and scripting for a living so perhaps it's a small way to contribute back.)
[G4 Original Android Development] AndroidGX:
Are you joking? :laugh: as you can see my github is already sharing my source, so I don't have to share anything else.

All my building scripts are personal, and if I don't want to share them to public, I can (of course!). You can ask any moderator here to approve :highfive:
[G4 Original Android Development] xrad:
Well I'm not joking, the GPL requires all sources and tools(!) needed to turn the source into the shipped binary to be open. Example: you invent a new language but don't ship the compiler. Opening source code alone wouldn't help anyone because without the compiler they can't create (and modify) the binary. That's the rationale behind this. But again, just saying, and I don't think anyone will care. I really didn't mean to offend or threaten you in any way, I was only giving some input. As I said, I deal with this kind of stuff in my RL, give or take for the past 25 years. No hard feelings I hope! :good: :highfive:
[G4 Original Android Development] AndroidGX:
I'm a bit surprised, because if you take a look at the very most of githubs accounts, they don't share that, but only the source, and they never had any problem respecting GPL license. But I will check that :good:

No worries, I don't take it personally :highfive:
[G4 Original Android Development] xrad:
We have saying - if there's no plaintiff then there won't be a judge. These things are really relevant when big $$$ corporations try to circumvent the GPL. For that we have the EFF. Here on XDA we're just a small community and most people will just be happy the way it is. Glad we're still good. And sorry to listeners for the OT. I'd better had this taken to the PM level.
[G4 Original Android Development] AndroidGX:
UPDATE (Happy New Year 2017 release)

★ CHANGELOG ★ :​

15.01.2017

: v1.5.9 released.

SuperSU updated to 2.79 SR3

sbin: update internal busybox to 1.25.1 from osm0sis

defconfig: enable back stock ZRAM

Added two flashable ZIP's to configure ZRAM (can be found in downloads section).

Few other scripts will be available very soon. Actual ones are to disable or enable ZRAM (stock flashing kernel will enable ZRAM as default now).

Some new UI retouch during flashing procedure

Enjoyz :highfive:

Special thanks to my friend [MENTION=3194769]xdamc2010[/MENTION] for the idea of re-enabling stock ZRAM :good::)

People will now have choice to enable it, disable it, or configure it with their own settings.
[G4 Original Android Development] HorstiG:
[MENTION=2687701]AndroidGX[/MENTION]

Thank you!!! But what is that??? Some new UI retouch during flashing procedure :confused:
[G4 Original Android Development] gentr:
What is this fantastic kernel I forget to charge my phone:good::good::good::good::good::good:
[G4 Original Android Development] AndroidGX:
Didn't you noticed it during flashing 1.5.9 in TWRP ? :cool: (anyway it's very small changments at the beginning and at the end) :good:
[G4 Original Android Development] HorstiG:
Wow, great :victory:
[G4 Original Android Development] HorstiG:
Works like a charm
[G4 Original Android Development] HorstiG:
I don't know why, but my G4 is running very fast and smooth with your update
[G4 Original Android Development] HorstiG:
[MENTION=2687701]AndroidGX[/MENTION]

A bit of advertising ;)

https://plus.google.com/+HorstGeorgThiel/posts/UjFa9Ka6jK8
[G4 Original Android Development] piturcaandrei97:
[MENTION=2687701]AndroidGX[/MENTION] in terms of battery, it's better with zram off or on? Because some users say in antother topic " zram it's unsless on G4 and affect battery life " thanks for your work!!!!
[G4 Original Android Development] AndroidGX:
Depends, if you're looking for battery you'd better to disable zram, but if you're looking for performance, then zram may help :good:

I always disabled it personally, because I'm mostly looking at battery, but I will do some tests with it to compare and be really sure.
[G4 Original Android Development] piturcaandrei97:
Ok, i will disable it , thanks for fast answer ?
[G4 Original Android Development] Minto107:
In case of G4 yeah zram is useless. 3GB of RAM is still more than enough considering Samsung still makes phones with just 1.5GB RAM or stupid Xperia with 1GB and they both work. G4 might need ZRAM in future when all phones will have 8 or 10GB of RAM(wtf is wrong with todays phones). I can give you a conclusion here. 2 phones. Same phones, same firmware(Android 4.4.4) but one with 1GB of RAM and second with 2GB. On first one ZRAM is somehow useful as couldn't keep much in memory, second one was flying and could keep around 10 apps in memory(phones I mentioned here are Samsung Galaxy S III with Exynos 4412, I9300 and I9305). ZRAM is not RAM. It can keep app that is no longer used on internal memory but keep in mind that setting high swapiness will cause a lag(as internal memory is slower than RAM) and it won't help that much. Today I had pretty nasty multitasking on my G4. I kept future fight for almost whole day, Shazam, YouTube, Facebook. These all were draining my battery haha but none of them got closed. So I don't think we need some extra memory ;)

Wysłane z mojego LG-H815 przy użyciu Tapatalka
[G4 Original Android Development] joriq:
ok, what are pros and cons for ZRAM?

edit: Nevermind, I missed the few recent posts :angel:
[G4 Original Android Development] yesman89:
Thank you for this really nice "plug and play" Kernel ? works very good with latest Imperium Rom.
[G4 Original Android Development] Loulou-13:
Pro :

Created since the firsts android versions for low devices with poor ram ....we can put a big rom on a poor phone . Less ram consumed...

Cons :

cpu loose time and energy to compress and uncompress process services and apps all the time...

A similar tweak is used in Samsung phones for to content theirs sh*** very heavy firmwares and theirs lots of impressives bloats...

My own opinion :

Completely useless for a hight device like a G4 with enought ram.....and we don't have eclair,froyo,gingerbread,jb

It's better to adjust a good "minfree" + do a debloat or freeze unused things + greenify all apps what we want
[G4 Original Android Development] xrad:
Is disabling logd really causing a significant gain? I (and possibly others) rely on logcat for development purposes, so TBH I'd rather have that feature not removed. Anything you can do about this?
[G4 Original Android Development] AndroidGX:
Weren't you trying to build you own kernel based on mine with permissive off ? ;) so you can enable back logd also I guess.

My kernel will stay with logd disabled :good:
[G4 Original Android Development] xrad:
Yeah I need to locate the corresponding commit though. Do you know which one off-hand? I also wanted to know if there's a good reason to do this. Meanwhile I found a thread discussion this, but as usual on xda it's just a load of unscientific "tests" and unreliable SOT discussion. Weird to turn off such an essential feature. Logcat is also important for non-devs to help devs.
[G4 Original Android Development] kpirnie:
have a look in the updater-script mate... all he does is rename the file...
[G4 Original Android Development] AndroidGX:
Not really, it's a bite more harder than just renaming a file in updater-script :D

[MENTION=4719877]xrad[/MENTION] : Here is the right commit (was in my previous G4 20d github source)

I don't feel the need to enable this, since I still even don't know how to proper read a log yet (I'm not a dev as I clearly stated into first post) :p

My kernel had been created for my own use before sharing it to public, so my settings goes first. It's not weird at all then..
[G4 Original Android Development] xrad:
I figured as much, thanks. I just have not enough time to follow up on all of this so to be honest I had been hoping it was possible to make something like that at least configurable.
[G4 Original Android Development] chrisharris:
can I flash this with H811 20q. Also, will I be able to make changes to this kernel via kernel toolkit or similar apps? Because I have the boot loop issue and I need to disable the 2 big cores but they are not turning off, they turn back on automatically. Please Help. It'll save my phone
[G4 Original Android Development] gentr:
★ for H811 ★ go to first page, is h811x you can install in any MM 20d and up
[G4 Original Android Development] chrisharris:
HI , My main question was will I be able to disable the 2 big cores with after bootup. Because my phone is in bootloop and I need to disable those two cores and because with stock kernel, when I try to turn them off they, turn back on automatically .,
[G4 Original Android Development] gentr:
however you can prove with kernel auditor
[G4 Original Android Development] AndroidGX:
UPDATE

★ CHANGELOG ★ :​

19.01.2017

: v1.5.10 released.

Now compiled with latest UBER-TC 2017-01-15 toolchain (from [MENTION=5169465]DespairFactor[/MENTION])

NjOyZ!
[G4 Original Android Development] franky_z:
Trying different CPU-Values with Ex Kernel Manager

Hi,

Im using Genisys Rom with SimpleGX Kernel which gives me great experience.

Now I want to try some different cpu values for more speed or more battery in Ex Kernel Manager. There some scripts in this thread

https://xdaforums.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557

and here

https://docs.google.com/spreadsheets/d/1P1LXnJnUdz9cC_qpcwMpfParUBlaPbIhyLZHOWjknUE/htmlview?pli=1

which I use. It´s normally for the Nexus 5x, but the cpu is the same as in the G4.

Now my problem: i can set new values in EKM with SimpleGX Kernel and when I look with a root explorer e.g. in /sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads, the new values are there.

But if I turn of the screen for a while, the "old" stock values are there again, the new values won´t stick.

So, is there something in this kernel that sets the stock cpu values again after turning of the screen? I tried over and over again with EKM but they won´t stick...

***Solved: values don't stick "on the fly" but after reboot***
[G4 Original Android Development] Slapiukas:
Why does your changelog says it is 2016?
[G4 Original Android Development] AndroidGX:
Nop

Everything is stock from this side :good:

Maybe this script is maybe not compatible with G4?

Because I'm still not convinced that we are in 2017 :D

*Changelogs edited* ;)
[G4 Original Android Development] Bud Cord:
... sounds like a change for you as a manufacturer of the kernel.

Could you please explain whether something for us as a user changes? :confused:

Or directly asked: Does the changed production process also have any impact on the battery life?
[G4 Original Android Development] Levent2101:
is anyone having USB connectivity issues with this kernel? I am suspecting the USB socket and I just wanna be sure before I RMA my phone.
[G4 Original Android Development] AndroidGX:
It's of course always to ameliorate a bit both battery and performances :good:

I ran an antutu right after flashing 1.5.10 and reached 74390 with zram activated (as default), which is an excellent score for my device :cool:

When you connect USB, be sure to select MTP, and then accept the pop-up.

Otherwise yes, I guess it's your USB socket. Did you tried with another USB cable (just in case) ? also, with an OTG so be sure.
[G4 Original Android Development] Levent2101:
yeah I have tried couple of cables, I dont even get USB recognition on PC nor my phone syncs with fast charger, I was almost certain now I am pretty sure its the socket, thanks also keep up the good work.
[G4 Original Android Development] runittwiice:
Just installed this without a single problem (my first unlock/root/etc.. on my LG G4), I don't want anything flashy just some slight improvements here and there to the phone, I really hope this Kernel can deliver! Thanks in advance for your work!

I can't seem to find the fastcharge setting tho'?
[G4 Original Android Development] kingtm:
Hello. Which is a app that control zram feature?
[G4 Original Android Development] sirsomething:
There are no fastcharge settings, only usb fastcharge under battery in kernel adiutor
[G4 Original Android Development] runittwiice:
I only got 64k on Antutu test that's 11k less than you? How? Some tweaks not installed properly?
[G4 Original Android Development] PeeHoo:
Hi!

I've used this kernel now 2 weeks with my H815 G4 (Imperium ROM v 11) but now it seems that during heavy using (playing f.e. Clash Royale) phone suddenly power off. This hasn't happened before this... Any idea what could cause this?
[G4 Original Android Development] Minto107:
Your ROM might be slowing down your phone. I get 64k on stock with power saving on [emoji14]

Wysłane z mojego LG-H815 przy użyciu Tapatalka
[G4 Original Android Development] runittwiice:
I just have stock too, yes.

Other than that this kernel seems to be doing pretty fine. I don't know all the tweaks you've done, because I can't find the changelog on your github, but the phone's performance seems smoother overal, I seem to have a better connection as well and when I play games my phone is no longer heating up. It used to go to temperatures around 60 C° when I was playing a game, now it just stays normal. As far as battery life goes, I don't know if that has improved alot, maybe a a few percent, the phone does seem to charge faster tho'.

Overall I'm really liking this.

Cheers.
[G4 Original Android Development] Minto107:
Of course it will be smoother. Switch rom to genesis or imperium, you will notice difference ;)

Wysłane z mojego Lenovo TAB S8-50LC przy użyciu Tapatalka
[G4 Original Android Development] runittwiice:
Can you run imperium rom on this kernel?
[G4 Original Android Development] AndroidGX:
This kernel is fully based from latest 20d source. So if it decreased performance a a bit, it's due to this. It cannot be due to optimizations I included, quite the contrary, stock 20d kernel could be at least equal or worse than this kernel then.

I made several Antutu benchs also, and never reached again more than 72/73k, so this source looks not having same performance as previous one, but at least it fixed a lot of problems, and smoothness is here.

I'm the kind of person who prefer to trust his phone using and appreciate overall smoothness, than benchmark scores, and that's something already proved :good:

This kernel is made to people who like simple things, slight more performance than pure stock, stability for daily usage, and ... that's all I guess :cowboy:

If you're looking for performance, feel free to try other kernels with overclocking capacity :victory:

If SuperSU has been correctly installed previously, it should stay.

Sometimes when I switched many kernels on G4, I had to flash Imperium kernel to solve my root and busybox problems, then flashing my kernel, to find root back :good:

But the first thing you can try is to flash my kernel, then directly flash supersu 2.67+ right after, since supersu 2.67 needs for boot.img already properly installed before flashing procedure

You can try nd report, It should work, if not try above solution :good:
[G4 Original Android Development] japoco_poz14:
Use gpu governor simple_ondemand and try again. Report me

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Original Android Development] AndroidGX:
UPDATE

★ UPDATE ★ :​

31.01.2016

: v1.2.0 released.

This release is like a new start. I completely started again from stock source and revised commits one by one (some were deleted, some added) because I wasn't satisfied enough about previous release.

Less artificial, more efficiency but always more close to stock.

Please visit my github page to see what exactly changed (old source deleted), or you can just read actual main features from post above.

N-JoYz :good:
[G4 Original Android Development] zuqka10:
Tested it for the last 2 hours only but I can tell this one is a keeper...fast, fluid, no lags. Thank you
[G4 Original Android Development] chavocarlos:
I have the same issue like you. Do you have solve this? Please share your experience.

Regards.
[G4 Original Android Development] amdev0101:
As OP said you need to flash kernel first and then SuperSU, I thought when I flashed superSU over the kernel it reduced the performance like but it was only because of the V20D version of software. I went back to the V20B where's no issues with performance at all!
[G4 Original Android Development] AndroidGX:
I guess it's due to that SuperSU 2.6x releases which are patching boot.img instead of system partition.

So it means that if you for example, comes from another custom kernel which flash supersu after flashing kernel (and that if you flash mine later) : root will voids.

That's why I prefer to keep supersu (old) 2.52 which installs root on system partition, so no problem if you move to another kernel. So, in other word, we can say that my kernel is root friendly for other kernels :laugh:

About performance, I just reached an almost 75k again on my kernel with my own custom rom (pure stock 20D based), so reduced performances are definitely not related to supersu :good:
[G4 Original Android Development] chavocarlos:
I was on fresh intall stock 20d then rooted, and then discover your kernel :) ... flashed your kernel, lost root, and root again... voilá the phone works well, but benchmakrs is about 63k, the phone feels fast but I wonder if could be faster (75k like your).
[G4 Original Android Development] AndroidGX:
I'm generally doing my benchs after cleanly rebooting my device andlet it idle for at least 5 good minutes to make sure that all services and background apps are loaded correctly so avoid any performance issue during the bench. Did you tried this? also keep in mind that all devices are different and benchmark apps are not showing always the same result. For exemple I had to make at least 15x antutu benchs to reach the score I posted into first post, otherwise I'm generally more at 71/73k :cowboy:
[G4 Original Android Development] chavocarlos:
Yes, I do. Maybe should flash again your kernel and use a day without root.
[G4 Original Android Development] AndroidGX:
UPDATE

★ UPDATE ★ :​

06.02.2016

: v1.2.1 released.

ramdisk: remove logd to avoid probable battery drain

ramdisk: update simplegx script

N-JoYz ;)
[G4 Original Android Development] Eddiekool12:
Ooo looks good. Any chance for h811 mm version
[G4 Original Android Development] AndroidGX:
If you buy me a h811 : then yes, with pleasure :good::highfive:
[G4 Original Android Development] HorstiG:
Dear Dev, please never ask for a log file. :D:D:D
[G4 Original Android Development] AndroidGX:
No worries, you're in the safe side here :cyclops::D

(anyway I never knew how to properly read one... :p)
[G4 Original Android Development] amdev0101:
Have you optimised it with V20e yet?
[G4 Original Android Development] AndroidGX:
autoprime said difference between 20d and 20e only concerns integrated carriers (or something like that), 20e appeared only 1 week after 20d, meaning that ramdisk should be unchanged anyway :good:

I can upgrade it for fun, but I don't know where to grab a full stock boot.img from 20e yet :p
[G4 Original Android Development] amdev0101:
I think you could dump it from kdz as a .bin and convert it to img. Would it work?
[G4 Original Android Development] AndroidGX:
Of course it will work but the question is, where to find 20e kdz yet? :)
[G4 Original Android Development] amdev0101:
I've got mine of this post H815 v20e but I upated it officially from v10d and flashed latest recovery and your kernel directly from 6.0
[G4 Original Android Development] Minto107:
Sure. You can run any rom that is based on stock firmware

Wysłane z mojego Lenovo TAB S8-50LC przy użyciu Tapatalka
[G4 Original Android Development] Loulou-13:
:victory: always fan of this maaaaarvelous kernel ! I love !!!! :p

Thank again for your fabulous work ! Your kernel really have completely changed my life with a great SOT (more or less than 5h with hard 4g and facebook / opera ...)

For users who have problem (with genesys or imperium) i highly sujest to use a "pure" stock with just this kernel ... :good:
[G4 Original Android Development] Dervisk:
Have you tried running this with Genesys / Imperium ?

If so, what differences have you seen running Stock Rom ?
[G4 Original Android Development] Loulou-13:
Yes...i have tried these 2 roms "pure" (just flash genesys....and later just flash imperium with his kernel ) but after near 1 week of each roms with great battery life ,they began to have sime small problems....and the batteey life began to horribly drain

I didn't have modified myself....i didn't have understood what happen....

I have said that i think it's better and much more clean to flash a pure stock and then this "simpleGX" kernel for to have a safe environment on the phone..because imperium and genesys have theirs own tweaks in the system (and lots of changes) ...and maybe it's possible to have conflict with "simpleGX kernel" with his own build.

It's my own opinion but i can have wrong....

With my h815 v20i and this kernel ,i never have had bug ,i have a crazy fu**ing great batteey life ! And never want to change... :p

But i love so much Resurection Remix on others phones....a d this G4 seem not have fm-radio.... Real pity !!!!! A big disaster ...
[G4 Original Android Development] AndroidGX:
I think I will maybe release my own rom for this week-end ;)

Not much tweaks on it, but I guess it worth releasing it, because I can confirm, all roms I can see for G4 got too much things and tweaks.

Keep it Simple.... keep it SimpleGX ! :cool:

See you 'laters :highfive:
[G4 Original Android Development] sirsomething:
You ****ing rock :highfive: