yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] duki994:
LG was lazy. They, as you pointed in one of early git commits, unified common sources with their models made on 8974 base.

Also, Qualcomm set ISP freq for all s800 to 320MHz. LG leaved it at 465MHz as in s801 sources. They may have (or not) overlooked this. It's main reason why G2 can record in 4K on stock, with some libs/apps changed :)

That number 498.... is order of magnitude higher than others (~10x higher). And in s801 sources it's set with one zero less.

Seems like typo error in our source. I may be wrong.
[G2 Android Development] dorimanx:
https://github.com/dorimanx/DORIMAN...mmit/2a1a7eb8c9da8b3ea258d1d827b8c9c3d2b8a9c9

Seems like a major mistake!

Thanks.
[G2 Android Development] purpleraintoxicity:
For me it seems well on chrome

(Ditched Firefox after I've realize it's consuming much more ram on low amount of tabs)
[G2 Android Development] dorimanx:
false alarm, firefox is ok now. (bug in my PC! time went back 2 days! O.o )
[G2 Android Development] purpleraintoxicity:
Dual booting?
[G2 Android Development] lynxrz:
Kernel 6.2

Changed ext4 to f2fs my /data partition using Blastgator's TWRP then copy my backuped files (from ext4 formatted USB stick via OTG and using TWRP) to /data partition

Waited about 10 minutes but it can't bootup

Before doing that I changed /system partition doing same process and boots up normally

WiFi see all the connections but can't establish connection with known password.

Revert back /system to ext4 and WiFi connects very well.
[G2 Android Development] duki994:
Our f2fs is currently unstable. Just look at mainline commits from june 3rd onwards. It fixed many problems, but our ROM is not built to be compatible with f2fs. It's native filesystem maintenance binaries (like fsck, .... etc.) are only for ext4. The ones we have are either prebuilt binaries from other sources and put in /system/bin folder to satisfy kernel.

You can't expect f2fs to work good if it's still buggy. In current implementation in dorimanx's kernel f2fs can use failed inode!!! It's unacceptable since it can make fs work abnormaly and corrupt a lot of important data. Also wrong block address calc --> that will corrupt data if fs code uses it to delete/write those blocks.

Really, use ext4. f2fs is still experimental.

Plus ext4 is stable as almost everyone in linux world uses it, and it's performance is on par with f2fs with latest ext4 related updates/changes added in dorimanx's kernel. And it's tuned for flash devices :)
[G2 Android Development] merlin21:
Does something speak against f2fs with cache partition? For me it works very great with at least with somboons 30b

Using it for months now.
[G2 Android Development] duki994:
It's code is, in current state in dorimanx's kernel is a bit unstable and can lead to some serious data corruptions and filesystem stalls. I think that several upstream commits can fix this instabilities, but f2fs still needs time to mature and stabilize as good fs.

Especially commits from first page

https://github.com/torvalds/linux/commits/master/fs/f2fs
[G2 Android Development] lynxrz:
Just tried :)

Search for this topic to find other users experments about f2fs and suspect what I did... Now I'm sure thanks to you.

Ext4 have a good performance but I wonder how is f2fs :) According to benchmarks there is no difference between ext4 and f2fs read speeds, but random access makes huge difference.

While using /system as f2fs device became more smoother. /system partition read-only partition so there is no write process. Well this can make more stable than /data (at least boot up) because of write processes (maybe... I guess)

Thanks for your reply I'm stick with ext4.
[G2 Android Development] jeebspawnshop:
Well then I hope the commits get merged, cuz I switched to F2FS /data a long time ago, and I've noticed some... disturbing issues occasionally. And I really don't wanna go through the hassle of reverting back to EXT4 :rolleyes:

Also I'll take this opportunity to thank you for all the work/advice you add around here - if Dori was the President, you'd certainly be the Vice President of the United States of Kernel.

:good:
[G2 Android Development] dorimanx:
I have merged latest zram and zsmalloc from 3.10.y aurora.

Enabled and tuned. I have now more 200mb free than before.

Zram take part of ram, and compress it.

By 30 to 40% and you get to have more ram for apps and system.

Its works in ram only, so no storage i/o used, or damage in time to disk.

Safe, fast, uses lz4 compression.

Support tuning for size and stream channels.

We can even split the load to multy treading zram.

So far its great even with single zram dev, and 1 stream.

After some more testing, i will release this beast to public :)

LG gave us 2gb ram, i will give you 2.5gb :)

Sent from my LG-D802
[G2 Android Development] the baptizer:
[MENTION=2376110]dorimanx[/MENTION]

Buy the G5 in march/april !!
[G2 Android Development] 60nine:
please, stop with this "new/next device that dorimanx will buy" at least in this dev thread...
[G2 Android Development] jeebspawnshop:
Is it just me or

Do random people run

In here and

Offer unwanted advice on

Things they shouldn't?

Just saying...
[G2 Android Development] the baptizer:
don't cry guys, relax

---------- Post added at 01:36 AM ---------- Previous post was at 01:30 AM ----------

damnn... how old r u
[G2 Android Development] boyheadkick:
i remember back when i was rocking the galaxy s3 we had this with the boeffla kernel, and it worked wonders for the galaxy s3 with it's 1gb ram..i don't think you really need this on the g2 with it's 2gb ram, but what the hey, more overhead free ram means better multitasking anyways :good::good::good: and they said REAL xda devs don't exist anymore
[G2 Android Development] dorimanx:
I am still here, xda devs, are here, every day.

Sent from my LG-D802
[G2 Android Development] duki994:
LZ4 for zram? Nice and fast.

Zram scheduled on core0?
[G2 Android Development] dorimanx:
it's using the cpu core notify to split the load on turned on cores.

if all off, then core0.
[G2 Android Development] Ginel:
Power-efficient Workqueues is On on default settings? please answer
[G2 Android Development] OT-Xtreme:
man just press the default profile and found out
[G2 Android Development] dorimanx:
News Update!

Kernel 6.3

19/10/15

*Fixed RAM allocation for Camera Decoder thanks to @duki994

*Merged ZRAM driver from 3.10.y kernel with LZ4 compression and highly advanced features!

it's able to compress RAM up to 45% and create more FREE RAM pool for apps to use.

by default set to 512MB for default and above and 256MB for battery profile.

Also added synapse status for ZRAM and control in Dorimanx app.

*Removed D805 build. all D805 users should use D802 kernel + LP D805 MODEM!

*Enabled advanced ZSMALLOC driver that help to operate memory allocations

and speedup the kernel.

*Fixed UKSM config defines in ramdisk scripts.

---PROFILES WILL BE RESET ON FIRST BOOT---

This build fix slow wakeup and LAG after few days of use.

ZRAM is all what was missing to help HEAVY users to enjoy there device!

I was having 320~350MB free RAM after a day of use and device was always in state of OOM (RAM shortage)

Kernel was killing apps just to wakeup! and create LAG.

now with 512 MB ZRAM, i have 180MB Zram used that give me 180 + 40% = 252MB for my normal usage.

My free RAM is 550 to 620MB! and no OOM on wakeup or usage.

Zram used only 28% so i can load my device much more and all will be great! :)

I recommend also small app called ZramCC from market. it's show zram status

Also ZRAM status can be checked any time, real live status via synapse app. (worked hard on that one!)

Dont forget to support my project :)

Enjoy :)
[G2 Android Development] ibrakadabrax87:
Thanks Dori...very good!!!...One only question...so for best smoothness now is best to set oom level to low?
[G2 Android Development] Ginel:
for me is not selected on default i just wanna know it, is not hard to give an answer. i think on old version was selected on default but im not sure.
[G2 Android Development] OT-Xtreme:
hey dori tnx for update really wanna try this release, just downloaded 6.3 for D802 with latest ota free 2.99 and getting md5 error, never got it before.. although i checked on .com site and the md5 looks accurate so it seems the ota app checking for other hash against the download and not the one from the site.. so im not sute what is the correct hash. hope you can fix that.

i enabled log in ota app and uploaded here for you to look:

https://drive.google.com/file/d/0BxKaoFvOB5O-WjNzbG9RNWdEMXM/view?usp=docslist_api
[G2 Android Development] iall5tar:
[MENTION=2376110]dorimanx[/MENTION] Last Version is hecking Awesome... I've never had such a great smoothness in my phone !!!

Hats off!!!you did it again!!

Cheers!!!

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] Lycidias:
6.3 is just wonderful! No more low ram during extreme Multitasking

Thank you Master :)
[G2 Android Development] masteril:
6.3 is just wow great job! I will test stability and report in a couple of days thank you dori!
[G2 Android Development] Romagnolo1973:
Default is not selected now, it was in the past but after some test seems now is no more needed so Dorimanx change the setting in last versions.

I use my G2 for basic task so I select it that give me more battery (but more lags) because I prefer less power consuption.

Even if I don't use Zram (so I have set it Off) because I normaly have 1,1 Gb free ram, It's a great imporvement for heavy task users, thanks Dori new kernel is working perfectly :good:
[G2 Android Development] dorimanx:
OMG!

i have managed to merge all ZRAM + ZSMALLOC + ZPOOL drivers from 4.2.y main line!

and it's working!

Yeee!!!! :laugh::good::good::good:

102 commits in GIT.

i will test few hours and upload 6.4 TODAY! :)
[G2 Android Development] OT-Xtreme:
any word on why the ota app error on md5 download? few posts above iv attached a log and info. tnx
[G2 Android Development] keaheng:
Cant sleep.. You dont even give me a chance to test the 6.3. Now your releasing the 6.4. Im going to sell my note5 tmr :laugh:
[G2 Android Development] Diechel:
Normally it's a busybox problem. Further discussion in my thread.

Post there the output of typing 'busybox' in terminal.

Link to thread in my signature
[G2 Android Development] OT-Xtreme:
oops forgot to install busybox after formated this week tnx! (and doris kernel not installed at the moment witch comes with it so i had no busybox at all. no need for further action
[G2 Android Development] pmgnet:
With 6.3, for the first time ever on lollipop, this device feels lag free. Even the bloated apps are fast, in particular greader, chrome, tapatalk, Gmail, maps. Chrome is running like on my galaxy tab s, maybe even slightly faster. I was starting to give up on this device, but I'm very happy for this new development!
[G2 Android Development] dorimanx:
News Update!

Kernel 6.4

19/10/15

*Merged all changes (bug fixes and code optimizations) for ZRAM + ZSMALLOC + ZPOOL from 4.2.y main line kernel!

I was thinking if i can use the 3.10.y code, why not try to merge up to maximum that i can get from 4.2.y!

and it's took some time and few adaptations and manual relocations, and it's BOOTED! and works GREAT!

New driver is made by non humanoids! that's for sure :)

super complex and reprogrammed by 90%

*Fixed wrong compression set for ZRAM. now it's LZ4 as should be. was LZO (slower but stronger compression)

LZ4 is much faster but little less compression.

I have lightened a fire in size of liberty for the android world!

138 Developers (my followers) and there followers already know! :)

Many devs will take that code and adapt to there kernels. ZRAM FOR ALL :)

Enjoy :)
[G2 Android Development] marchino123:
You are really a monster?

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] OT-Xtreme:
amazing work tnx
[G2 Android Development] Diechel:
For keeping my phone alive and for your HARD work :)

Thank you dori!!

800492454X800382X
[G2 Android Development] dannycellestio:
This is insane !
[G2 Android Development] pmgnet:
If my phone is still this fast in a couple of days, I will be even more happy than now.
[G2 Android Development] Adinaky:
I dont usually make this kind of posts, but now I need to.

Maaan, what you've done to this phone is beyond incredible!

It was smooth and fast before, but now it's like I bought a new phone.

Thank you for never stopping making this device better and better and for spending your free time doing it. You really are the master!

I'm making a PayPal account just to donate to you man, you really deserve it after all you've done for us.
[G2 Android Development] salmankhere:
Another positive feedback for you man.. You are awesome.. Kernel 6.4 works flawlessly
[G2 Android Development] duki994:
[MENTION=2376110]dorimanx[/MENTION]

Does our power regulator have electrical current control capability?

I thought of making CPU current control just like voltage control (to manipulate with dts values).

I think it has, since we have different current tables for different binnings. And power regulator must enforce those values.

6.4 is a beast. How did you manage to merge all that code so fast? Experience? :)
[G2 Android Development] purpleraintoxicity:
Please report either way
[G2 Android Development] evolucion8:
I just installed this from the latest 5.9 version that I had and wow! I am impressed! So smooth and better at memory management! Deff will make a donation cause your work is amazing!
[G2 Android Development] g.paganini:
6.4 is insane. This is not the same phone anymore... It can handle now a s**tload of apps at the same time. Switching between them without effort. All the reboots and sods where worth it,even for those who didn't have any of those. Fantastic work Dorimanx!
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

If Simply=Awesome

And Awesome=Dorimanx

Then

Dorimanx is Simply Awesome! ;)

v6.4 is insane fast and smooth thanks master! :)
[G2 Android Development] iall5tar:
And you did it again...

Well no words...

?

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] Morts:
Amazing! Thank you for this... I can't believe in this smoothness.

Thanks a lot
[G2 Android Development] the baptizer:
3 sods in a row and very heavy lagg

just joking... very nice and smooth!!!! you just gave me a new phone.. omg i love u
[G2 Android Development] MuzakaTheBeast:
First reboot while playing coc. Im on cloudyg2 3.3 plus dorimanx 6.4. Phone went hot and then it rebooted whereas it never happened with your past versions
[G2 Android Development] gamertwo1:
That's why we call you the "MASTER" two big updates in a very short time period. Updated to v6.4. Hope to see no problems in future. Thanks alot [MENTION=2376110]dorimanx[/MENTION] for your hardwork!! Highly appreciated. :)
[G2 Android Development] dorimanx:
From LOG:

Last Kernel dmesg Info before BUG/Opps/Panic triggered:

there was no /proc/last_kmsg to read from

so not kernel bug. no idea what was it.
[G2 Android Development] dorimanx:
I think its does. But why we need to mess with that? Its not safe to change any of that.

Well for device galaxy s2 i have merged almost all kernel from 3.0.11 to 3.16.y

So i will say i have some small experience merging and adapting. :)

What is cool about new zram, that its free its self over time if not used.

and stop using cpu to maintain zram.

But again its few % every +-10sec

The smooth operation came also from new ram allocator zsmalloc its control memory and many drivers use it if its enabled. So even if zram is off for people that have clean device, and above 1gb ram free, still android and apps run faster and more smooth :)

for others that have many apps, best to use 512mb zram. To help allocator to work with free ram and zram.

Sent from my LG-D802
[G2 Android Development] lynxrz:
Can't believe how fast it is

Smooth and lag free even can't see micro lags

Brilliant work!
[G2 Android Development] sheikhramnuj:
Nothing more to say as always your kernel is a monster! Thanks master [MENTION=2376110]dorimanx[/MENTION]
[G2 Android Development] ChaosLord88:
As expected from the Master himself, who has done it again and imho created the most perfect kernel yet, even the 'bug and stutter apps' like chrome, tapatalk, 9gag etc are working SMOOTH AS SILK WITHOUT ANY HICKUPS OR STUTTERS (which almost drove me insane at some point on specific apps) ... Thank you Dori-sensei, you are a Hero for all of us who want a blazing fast G2 without the need to buy new expensive flagships.
[G2 Android Development] Nussi29:
Can we remove now the xposed fix memory leak?

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] Lizzacore:
6.4 is a Performance beast. Perfect as far !

One question, dorimanx Ota dont install the Updates standalone. I have to install them manuelly in TWRP since 5.9.2 .

Anyone Else now a fix ?

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] Ginel:
Thx man.
[G2 Android Development] ibrakadabrax87:
Hi man, which is your setting for "Performance beast"? I have some microlag :\... Thanks
[G2 Android Development] Lizzacore:
Its from Device to Device an special Thing.

Use Interactive , deactivate TP ans HP to alucard Max Cores to 3 and min to 2. You will get an Performance beast what ist Battery Friendly ! :)
[G2 Android Development] ibrakadabrax87:
Mmm...this config is not too good for me :/ lag over lag
[G2 Android Development] Lizzacore:
Set Max to 4 (quad) an hp to intelligent with 1 Core boost, i can send you my profile if you wish.
[G2 Android Development] SimpleX91:
I think it depends on ROM, PVS bin and some other stuff. LG LP ROMs are VERY heavy. They require a lot more resources to just work, let alone work smoothly.

OT (sorry):

I'm using Zg85's CM12.1 Temasek ROM for a few days and it's smooth as butter! Kernel is good, a lot better than default cm kernel, but not even close to what Dori has done here. But it works really good and smooth even with 1.9GHz (max). Even Tapatalk doesn't lag that much here. =)

AOSP ROMs are not that bad anymore. No random reboots, no freezes, (almost) no lags. Battery life is worse though.

Sorry for offtopic.
[G2 Android Development] ibrakadabrax87:
So yes...thank you :)
[G2 Android Development] Lizzacore:
https://drive.google.com/file/d/0B6SRUgJRLeB6R2NOM0FVUjBqYlk/view?usp=docslist_api

Press 2 or 3 times, in dorimanx, Restore to Restore my profile completely.
[G2 Android Development] panos_ts:
I know that a dev's thread is not proper for just sharing users' experience, but I would like to say mine, so sorry in advance. Even though battery life was outstanding, I had huge lag issues with 5.x that led me to go back to Cloudy's stock kernel. With 6.0/1/2, the device was smooth, but with 6.3/4 it's like having bought a new high end phone. Battery life remains great, and everything is extremely fast and smooth, no lags and no problems at all. Thank you very much for that piece of art that you've offered us.
[G2 Android Development] SREEPRAJAY:
Members

Not focused at anyone here. But each one of you are sorry or each is mentioning OT or saying thanks or sharing this or that....

Please analyse off you are doing the right thing to flood or pollute a development thread with all this stuff.

Why can't the Q&A section be used well? Why can't people retain some sense to read, use the right sections, use PM to other guys whom they want to contact rather using a post here which is incredibly useless.

Please please....be sensible and post in the right section. If not, mods have to start interfering every single section every thread every post....that will drive all of us crazy.

Thanks for your understanding
[G2 Android Development] mujka:
BFQ is really nice for multitasking

OOM low and zram 768MB
[G2 Android Development] mujka:
Dorimade g5 from g2 it is really sad thah dev from lg don't do their work.
[G2 Android Development] masteril:
Still on 6.3..amazing version!my phone feels like g5!
[G2 Android Development] d_Schizzo:
What the Hell... The Moderator stated clearly 1 page back to use Q&A or PM for this kind of Stuff/Questions...

And the Sh** goes on....:banghead:

Please show some respect and dont "spam" the dev thread and use Q&A-Section.

Regards,

Schizzo
[G2 Android Development] dorimanx:
Update to last. No point to stay with 6.3.

Sent from my LG-D802
[G2 Android Development] dannycellestio:
[MENTION=2376110]dorimanx[/MENTION] , you have simply blown all that developing kernels mean, you're a God ! what big plans do you have for the future with the kernel ?
[G2 Android Development] pmgnet:
44 hours uptime with 6.4. All apps are loading instantly, Swype keyboard loads quickly. Chrome, Gmail, greader, tapatalk, all good. Even Google voice search is decently responsive.
[G2 Android Development] dorimanx:
Only android god know :)

And few aliens that write the source, lol.

Sent from my LG-D802
[G2 Android Development] salmankhere:
I m using cloudy3.3 with 6.4 dorimon kernel [emoji14] lernel profile set at default... I have felt that my battery drains about 5% in a hour on deep sleep. Is that issue with rom?? I already checked apps through WLD all apps are at normal
[G2 Android Development] n@vier:
It is not related to kernel.

I'm with cloudyg2 3.3 and dorimanx v6.4 in standby 2-3% of battery drain in 10 h (Wi-Fi + 4G always on, performance profile + greenify exposed module).

Bettery drain is lowest that is very impressive...the best till now.
[G2 Android Development] salmankhere:
Wow thats amazing. Is that fault with my battery or due to using hybrid bootstack??
[G2 Android Development] dorimanx:
Sorry kk project is over.

Lp is great now. Forget kk.

We will get M at some point, soon i hope.

Sent from my LG-D802
[G2 Android Development] merlin21:
I guess it's relevant for kk users to know that last zram update really changes the phone. Fastest, no lags and battery friendly.

You all would miss something if you don't try again - performance with default profile is better then with kk. [emoji4]
[G2 Android Development] siggey:
My last donation

9X25205036707915C

I left the G2, now on nexus 6 on android M...

Thank you for everything yuri, and good luck.
[G2 Android Development] mujka:
Today I tried to overload kernel xD 18apps open and on of them using 500mb(5 tabs) I had 300mb left. UKSM was saving around 500mb and zram used was 30% so in total around 700mb was saved lol. Field memory saved is that total memory saved? Can we force somehow to use even more zram max I achieved was 40% out of 512mb. I'm using high pressure lowmemory reserve and oom on Low. Btw at that max point in system apps current runing was 1.2GB free hahaha and in cached was 400Mb left. Good job dori.

I was using Zen io it opens application fast but multitasking is worse than bfq.
[G2 Android Development] dorimanx:
High pressure will release ram faster, to force more zram, need to change the swappiness control.

Default is 60% i will add control for it.

More close to 95% more zram can be used.

Sent from my LG-D802
[G2 Android Development] lordc:
Hi [MENTION=2376110]dorimanx[/MENTION],

Could it be usefull for our device?

(msm: mdss: Backport MDSS doze mode feature) https://github.com/CyanogenMod/andr...mmit/735f665d2f5dd350b92cffae26517ed494760b5f

http://allaboutwindowsphone.com/features/item/18191_Nokia_works_a_LCD_miracle-Glan.php

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] berezker:
How did you flash it on Cloudy?

I tried like 4 times I got bootlooped

6.2 works perfectly but not 6.4
[G2 Android Development] 60nine:
maybe you've downloaded the wrong variant this time or have a bad download... just a thought...
[G2 Android Development] salmankhere:
I did it via ota... Simple :)
[G2 Android Development] berezker:
Just remembered that I don't have the latest bootloader

I had 20A

I'll flash 20H and report back
[G2 Android Development] Lizzacore:
20H ? I dont get it

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] duki994:
[MENTION=2376110]dorimanx[/MENTION]

Can you add sysfs controls/knobs for vmpressure adaptive start/stop (min/max) for advanced users? No need to add in Dorimanx app.

Just a request from advanced user :)