yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] dorimanx:
Ok so i see you dont follow me in github and dont know how things works...

first read good posts above this one by PRO users. they KNOW :)

and here is info from me:

With stock kernel min freq is 320mhz... when screen is static, it's still report 320, but actually it's in last freq 27mhz = SLUMBER FREQ.

GPU is actually OFF to save power. every touch wakeup GPU to init freq = 320Mhz, same as with my kernel.

Now when GPU is active, there is a way to use lower freqs with my kernel.

if you wish to have same UI speed as stock + stock battery drain! well have FUN!

set min GPU to 320Mhz.

and when you touch screen or something is moving there, GPU will start at 320Mhz and stay there if no high load on GPU...

controls are for you. use them, or not, it's your call...

for me UI is perfect, i use next launcher, and it's great. totally awesome app... default HOME is actually frozen :)

so blame LG for lags if GPU freq is less than 320Mhz... and you have tons of app in RAM that slow down the system globally by draining cpu power non stop.

You need to learn to control your BEAST, or it's will eat you! :)
[G2 Android Development] dorimanx:
hmm.. GOOD. i see BUG.

in ondemandPlus gov. need to work on it some more!

Thanks for report! for now please use any other gov, ondemandplus is bugged...

At least we wiped other bugs in cpu govs... main CPUFREQ in MSM was changed... this added new bugs.

more correct... old GOVS now do wrong things, and i need to adapt them to new structure one by one.

using reports as yours. as i see why it's failed. in what function. and i can really fix it.

great team! it's very important to me to receive real bug errors with LOG. this is the only way to fix something...

Thanks.
[G2 Android Development] :
Im happy *_* :D i report everything i can found thx Dori 4 ur great Kernel!
[G2 Android Development] oudbrood:
Hi Dori,

While updating a app in the playstore I got a reboot.

After the reboot I was typing the unlock sim pincode and has another reboot.

30b with 2.0

MSM/ 4x darkness

https://www.dropbox.com/s/tlsjo7zwe1dbm3z/dorimanx_debu5g.zip?dl=0

Edit: after the reboot the cpu setting automatic changed to ondemand.
[G2 Android Development] dorimanx:
sadly nothing in log... i will keep monitoring...
[G2 Android Development] samuele94:
Freeze and reboot with alucard-darkness-alucard-darkness alucard hotplug 2° log because it reboot after press kernel bug
[G2 Android Development] the baptizer:
reboot after 10 sec I opened a game

1.9 + 30B with stock governors and hotplugs
[G2 Android Development] Pritt0:
Dori freeze and reboot on v2.0 whit my settings take a look here please

https://mega.co.nz/#!AFpmQbYR!rapLD1jc9FuD37E00Bl6zPUTtsksy1uSSbAVSlZbRDw
[G2 Android Development] Devoct:
thanks, will try that.

thanks for your answer!

so, it's not GPU-related then, may i ask what are the values used in stock kernel for CPU freq?

i just want it to perform like stock(in UI) but with dori's goodies.

well, that's WHY i asked, i'm not a PRO user.

i'm just suspecting that MAYBE it's the GPU freq.

for my usage pattern, battery life with stock is more or less the same.

so, i don't mind the smoother UI for a slight battery drain.

the post 'above' said that it's CPU related, but now you say it's because GPU freq is less than 320Mhz.

now i'm really confused. :eek:

i don't have tons of apps installed, i usually got 1.1Gb~1.2Gb free RAM.

ok, thanks for the explanation.
[G2 Android Development] dorimanx:
any camera mods? or apps that do something for fast charge?

strange logs... camera IRQ is stuck. and voltage reported for charger driver is:

smb349_set_pre_chg_current: bad mA=-1062903180 asked to set

device model is D802???

WTF... strange...
[G2 Android Development] d_Schizzo:
Reboot with 2.0

Hi [MENTION=2376110]dorimanx[/MENTION],

just had a reboot on 2.0 with msm hotplug and 2xOndemand + 2xNightmare.

Logs attached
[G2 Android Development] the baptizer:
[MENTION=2376110]dorimanx[/MENTION]

i have xposed app settings module which let me changes camera app dpi to stock.. because i changed system dpi to 420.. so camera looked strange... and no fastcharge apps, i set max 2000mA in your app.. but at time of reboot the phone was not charging..

and yes... D802 offcourse
[G2 Android Development] quicksilvree:
I use the Mirrors .......
[G2 Android Development] Bdev3:
I used mirror 2 for D800 and it worked. Mirror 1 had the smaller corrupt file.
[G2 Android Development] djtiesto22:
So the question is why to use mirrors ??

Go to play store and support our great developers !
[G2 Android Development] quicksilvree:
Must be my unit then ......... mirror 2 gave me file corrupt three times

---------- Post added at 07:45 PM ---------- Previous post was at 07:43 PM ----------

I prefer installing my kernel that way ....... I will give the app a try

Edit: the OTA worked.
[G2 Android Development] Diechel:
Thank you for the response.

To all the users with corrupt files, check MD5 yourself or use the OTA app as it has MD5 checking as well as a dorimanx is uploading check. Choose your side!
[G2 Android Development] Vittorio_Fittaiolo:
Someone has tested 9.5? It really give a boost, or at least the things goes better than before?

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] dorimanx:
I have uploaded D800 to first mirror. now OK. was corrupted upload.

strange. i have automatic script to do it.

possible line problems...
[G2 Android Development] dorimanx:
hmm...

i think you right.

type_buf = strstrip(buffer);

if (!strcmp(type_buf, "file"))

type = RECLAIM_FILE;

else if (!strcmp(type_buf, "anon"))

type = RECLAIM_ANON;

else if (!strcmp(type_buf, "all"))

type = RECLAIM_ALL;

else if (isdigit(*type_buf))

type = RECLAIM_RANGE;

else

goto out_err;

i will correct the script and test.

i am sure i have seen ram released when i run the script, like BEFORE and AFTER was considerable difference.

Need to check now.

EDIT:

Tested with ALL and with 3

same effect. but correct will be to set echo "all" > /proc/$i/reclaim;

Thanks [MENTION=4610285]runekock[/MENTION]

https://github.com/dorimanx/lp_ramdisk_dorimanx/commit/6ccaf6d362e11c068751d98064a0c95701f4f76b
[G2 Android Development] Vittorio_Fittaiolo:
I don t know coding but i see that the line isdigit doesn't have the ! Before as the other have. And the * before type_buf. Hope help

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] Fr3dY:
Hi,

I think it doesn't matter if you use the constants or the value they define, like here: https://lwn.net/Articles/544319/

#define RECLAIM_FILE (1 << 0)

#define RECLAIM_ANON (1 << 1)

#define RECLAIM_ALL (RECLAIM_FILE | RECLAIM_ANON)

/*

* Writing 1 to /proc/pid/reclaim only affects file

* mapped pages.

*

* Writing 2 to /proc/pid/reclaim enly affects

* anonymous pages.

*

* Writing 3 to /proc/pid/reclaim affects all pages.

*/

if (type == RECLAIM_ANON && vma->vm_file)

continue;

if (type == RECLAIM_FILE && !vma->vm_file)

continue;

walk_page_range(vma->vm_start, vma->vm_end,

&reclaim_walk);

}

Regards,
[G2 Android Development] dorimanx:
you dont know codding :)

all good.
[G2 Android Development] dorimanx:
Yep, thats what i think.
[G2 Android Development] Vittorio_Fittaiolo:
I know[emoji14]

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] saspo59:
Dori 9.5 is best ever,like new fhone stable smooth and best stby battery thanks
[G2 Android Development] sak11000:
And for me is stable 9.4 and 9.5. No problem

Στάλθηκε από το LG-D802 μου χρησιμοποιώντας Tapatalk
[G2 Android Development] nyFOU:
9.5 more stable and smooth than 9.3
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

Question: is it possible exceeded every time?

Answer: Oh yes! You have done many time and you just do it again! Simply awesome! ;)

Great release! Thanks Master! :)
[G2 Android Development] Nightshadow931:
9.5 much better than 9.3 was. :)
[G2 Android Development] gamertwo1:
V9.5 was running smoother and lag free on my d800. Thanks alot [MENTION=2376110]dorimanx[/MENTION] for your uncountable hardwork. :)
[G2 Android Development] Peppe91:
Reboot while sliding notification tab.

V30d

Performance profile with touch boost and hotplug touch boost x4.

Btw 9.5 runs great.
[G2 Android Development] Cienight:
Stock Rom on 9.5 runs perfect! Couldn't be happier
[G2 Android Development] khanjui:
Use stock 30H instead of Cloudy or another ROM. Just an advice. You will see the real performance of kernel.
[G2 Android Development] dorimanx:
Nothing in the log.

Many happy, but you always have some reboot, its interesting.

But every report is welcome.

Consider to use clean rom last build is 30H.
[G2 Android Development] Scorpio99:
Moved from 9.3 to 9.5 have noticed a bad dream

Governor ondemand x3 (1.57ghz) + alucard hotplug + touch boost 1.57 + IO sioplus

I have some problems with the settings? Always worked fine
[G2 Android Development] StructureDr:
Debug report attached - crash with 9.5 (D802) when opening cricinfo app. Only happened once, so maybe nothing.

Generally, huge thanks - live using my G2 since switching to your kernel - around v7, amazed at constant improvement since.
[G2 Android Development] stanbel:
I have a bit older version of the kernel, but may be this issue is still unresolved

View attachment dorimanx_debug-V8.9.zip
[G2 Android Development] Nightshadow931:
There were a lot of changes since that version, so it's probably useless
[G2 Android Development] dodora3d:
I have problem with app dorimanx no option just opining.. ??
[G2 Android Development] n@vier:
Delete folder .dori and reflash correct version kernel for your device after first boot wait till SuperSU gives permission... and then open dorimanx app.
[G2 Android Development] RegMaster:
2 days with 9.5 + stock ROM.

No bugs, no lag, great speed, great battery.
[G2 Android Development] duc.tranviet.5832:
No support L01F?
[G2 Android Development] yahya888:
Same here

V9.5 and everything is GREAT!

Thanks Dori.

Sent from my LG-D802
[G2 Android Development] dorimanx:
Nothing in the log, kernel recorded power key reboot as should.

Rom crashed or app bug.
[G2 Android Development] genziutek:
On Cloudy 3.3 with kernel 9.5 everything good ???

Wysłane z mojego LG-D802 przy użyciu Tapatalka
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

I have seen github you develop a fix for vulnerability with ASLR but we have bad news... :(

http://www.wired.co.uk/news/archive/2016-03/16/stagefright-android-real-world-hack
[G2 Android Development] dorimanx:
Well, thats was just matter of time.

Soon there will be patch.

Or to kernel, or to rom.

Till then. Kill mms. Who use it any way...

Dont download mp3 from hack sites..

Online streaming is the best to use.

Try di.fm premium.
[G2 Android Development] gonk24:
Had a freeze and reboot tonight. Stock ROM

https://drive.google.com/file/d/0B0PaRpmL-JCOZmRNR3hpRmFhTUk/view?usp=docslist_api
[G2 Android Development] tester5224:
So ~3 days on 9.5, default settings, 30h stock lite (SRKG2-4-10 - Kra-Pow-Moo-Sab)...

the best of the best. great improvement to battery life, and smooth as a baby bum.

thanks Dori
[G2 Android Development] zizuka:
Lionfish governor is getting some great feedback. [MENTION=2376110]dorimanx[/MENTION] maybe check it out and see if its config will fit G2 dori kernel

Sent from my LG-D802
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

From this link http://xdaforums.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957

It seems good ;)
[G2 Android Development] NeoPolus:
Too much (yup!) memory saved by UKSM

Hi, I've been using Cloudy 3.3 with Dorimanx's kernel 8.9 for a while, and I noticed something weird with UKSM.

On 9.0 UKSM got dissabled by default, this two lines on the history log explain that it just didn't save as much memory as expected:

*Disabled UKSM by default, this driver is helping to save 25MB or little more, but drain power.

so it's should be used only if you think you need that 25mb for one small app in ram.​

Weirdly on 8.9 with UKSM enabled, I usually see 150MB-300MB getting saved by UKSM :good:... corresponding to about 15-20MB of shared memory only! :confused::confused::confused:

Anyway, despite UKSM saving 150-300MB and ZRAM saving about 100-200MB (~400MB extra memory in total) I usually have less than 400MB free (~700MB on boot)... :confused:

Today I tried updating to 9.5 beta, just in case... and the weird memory savings by UKSM remain.

If you take a look at the attached screen capture (Cloudy 3.3, kernel 9.5beta, some apps open), ZRAM is saving 237MB, UKSM is saving 300MBs (corresponding to 25 shared MBs)... a brutal 537MB of memory savings in total... and just 458 MB free.

If I do a meminfo dump, I get these stats:

[B]# adb shell dumpsys meminfo[/B]
...
Total RAM: 1901688 kB (status normal)
Free RAM: 652420 kB (475636 cached pss + 58700 cached + 118084 free)
Used RAM: 892509 kB (825589 used pss + 66920 slab)
[B]Lost RAM: 356759 kB[/B]
ZRAM: 138380 kB physical used for 511532 kB in swap (524284 kB total swap)
[B]KSM: 341956 kB saved[/B] from shared 27460 kB
365420 kB unshared; 0 kB volatile
Tuning: 256 (large 512), oom 245760 kB, restore limit 81920 kB (high-end-gfx)

As you can see: 871 MB used by apps, 637 MB of available memory and... 348MB of "Lost RAM" (whatever it is)

-----

TLDR:

Weird, isn't it?

How can UKSM find so much (~300MB) duplicated memory on my phone?

How much free memory do you usually have? How much "Lost RAM" on dumpsys?
[G2 Android Development] dorimanx:
I have managed to port updates to EXT4 and all that needed for it from 3.18.y kernel :silly: and it's WORKING!

Also updated F2FS and SCHED CORE, and MODULE loader.

See GIT :)

189 commits.

testing :)
[G2 Android Development] Vittorio_Fittaiolo:
What are the improvements ? And is normal that things in Red?

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] n@vier:
Thanks for all! ;) :good:

---------- Post added at 07:55 PM ---------- Previous post was at 07:24 PM ----------

You have a problem with synapse.

Easy way: erase folder .dori and reflash the correct kernel version for your device ;)
[G2 Android Development] Vittorio_Fittaiolo:
Where is folder. dori?

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] Diechel:
/data/.dori/

Next time Q&A forum please, check first post!

(whoopsy quoted 4 people... )
[G2 Android Development] Vittorio_Fittaiolo:
I find android/data 0/data and /data and there isn t any dori folder :/

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] zizuka:
Did you also have problems finding the Q&A thread?

Wipe cache and dalvik then flash kernel again see if it fixes it.
[G2 Android Development] love4k21:
Hi, possible bug in cron for system ui?

By the way after 90 hours I didn't encounter any problems with 9.5.
[G2 Android Development] CampfireVibés:
I can report 9.5 as stable and fast. Can't wait for the mile stone 10.0 release maybe for it you could check if you can merge a few things from linux kernel version 4.5 /whatever the latest release is at that point :)

(If possible ofc)

Kind regards, Jason a really big fan :D
[G2 Android Development] kabecilhas:
Can I install this kernel on my LG G2 with Stock Lollipop 30d?
[G2 Android Development] AlexVipXDA:
Like it, what so you think [MENTION=2376110]dorimanx[/MENTION]?

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] 60nine:
yes, and welcome to earth :)
[G2 Android Development] dorimanx:
more govs = more problems.

and i will have to adapt it to kernel.

why we need that?
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

The real thing is to try always new stuff but honestly we have already an awesome kernel...so yes we don't need really other govs if could create only more problems ;)

v9.5 is just a masterpiece for smothness and battery, our g2 works great and is better than many of other newer devices.

What can you ask for? NOTHING :)

Thansk always for all Master! :good:
[G2 Android Development] SPBoss:
I had this phone since release and now I'm starting to get yellow spots on the screen :( i think my phone is finally dying. Thanks dorimanx for making this phone last such a long time. I usually change phone within 1 year but you extended the life greatly. Battery still gives me 5 hours screen on time over 24 hour period.

Ps. Dorimanx what phone will you buy next? I follow you from Galaxy S2 days and will continue :)
[G2 Android Development] ntu38:
Charging get a freeze. And then press power button to reboot.
[G2 Android Development] kabecilhas:
And I need to do this first?

Before you install, Change system settings to list view!

or settings will FC after install, strange bug when Selinux is set Permissive.

open settings long press on recent and select list view.

If yes, after that and after flash the kernel, can I put the settings list back to the normal?
[G2 Android Development] 60nine:
what you need is to use the diechel ota app to avoid any further questioning ;)

that settings info is old info which hasn't been removed...
[G2 Android Development] Diechel:
Here also yellow stripe in the middle left. Don't know why, maybe had some hot time there
[G2 Android Development] Lizzacore:
No mtp Connection?

I can't Connect my LG to any of my PC's. I already reinstall the Kernel and reset the Profil :/

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] raptorddd:
use the Q&A thread for questions.. did you try in different computer? i have had this too. but in other computer it worked. i try searching and found no fix. the only way was to format my laptop... then it worked. ive done it like 2-3 times just cause of mtp not working...
[G2 Android Development] zizuka:
Same here. Works on one PC but lately it has not been working on my main PC. Freaking annoying and yea a format will do the trick but damn! there must be an easier fix.

Re-installing usb driver didnt help.
[G2 Android Development] n@vier:
Mtp works perfect for me with Google Edition Rom v1.5 on notebook with windows 10 pro.

Anyway why use mtp when we have Airdroid app? ;)
[G2 Android Development] Lizzacore:
Sure i use 3 different PCs and 3 different Laptops.

I dont ask when i have absolutely no idea.

Sure used Q&A ..

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] raptorddd:
well i couldnt find a fix for it i searched on the wen installed mtp drivers all i could read .. no luck formatting did the trick.

---------- Post added at 03:05 PM ---------- Previous post was at 03:03 PM ----------

then its clear that its not kernel related but hardware problem, what i meant waa thres a thread for asquing questions , this is for bugs reboots or hangs during phone operation.. its in the question, and asnswer section..
[G2 Android Development] djtiesto22:
Are you guys tried to enable usb debugging in developers options? For me always work but no good old mtp like folders, but like device so transfer speed is horible
[G2 Android Development] szabyka95:
it seems modifying incall speaker gain ain't has any effect.. at least for me... for me that little speaker is so quiet .. i barely hear what the other person says (in traffic)
[G2 Android Development] Lycidias:
Same for me With d802.. Always thought i was deaf :D
[G2 Android Development] Lizzacore:
Sorry, but i Think u dont understand. It worked well a serval versions before. Idk when cause i dont Connect my Device often to my pc. Normally if i get an new Top 100 music Charts.

May 9.2 or 9.1 idk Really.

I reinstalled the Kernel again and reset the Profile again but it dosnt Work. Should i install busybox free App?

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] tester5224:
[MENTION=5636887]szabyka95[/MENTION] & [MENTION=5073877]Lycidias[/MENTION] , which rom are you using?

some comes with low settings, (Google edition 1.5 for example) and I also found that changing it in kernel settings does not help much.

SRKG2-4-10 volume is good. although, somboons already boosted it, as stated in release notes: "- MOD Volume Boost". but I also remember that most pure stock are usually better.
[G2 Android Development] szabyka95:
google edition 1.5, had before chelloz .. same, they are too quiet
[G2 Android Development] Lycidias:
I'm using google Edition 1.5 With ViperAtmosDD+. Hmm, i don't want my speaker volume increased, only the in call volume (ear speaker). Anyone know how to set This without affect the bottom speaker? Sorry for OT
[G2 Android Development] Lizzacore:
Ok, fixed für Problem :

Rebooted into Recovery.

Deleted : .Dori & .Dori_old & synapse Folder in /Data

Installed the actual Version again

Fixed the context (twrp -> Advanced -> fix permission)

Worked very well now

Sorry

Cheers,

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] khanjui:
Cheloz known with low voice problem. I don't know about Google Edition but should be same problem IMO.
[G2 Android Development] szabyka95:
is there any rom which doesn't have problems with sound ?
[G2 Android Development] mrkela:
ClougyG 3.3
[G2 Android Development] tester5224:
as said before, using SRKG2-4-10 and in-call volume is good and also loud speaker.

but really, this discussion does not belong here.
[G2 Android Development] Ganjax:
9.5 162h without restart, it's most stable kernel iv'e ever used, it can't slow down!!
[G2 Android Development] runekock:
Funny thing is, 9.4 has been 100% stable for me after I sent that report.

And I'm not aware of having changed anything in my settings, rom or apps.
[G2 Android Development] Peppe91:
Hi dori, just wanted to let you know that all the reboots that i had were related to supersu update in my opinion.

When i updated supersu app the reboots started here and there like once/twice in a week.

Now i reverted supersu 2.46 and passed one week and didn't have ONE issue at all!

Ignore me if this post is useless but wanted to let you know that here with 9.5v and supersu 2.46 i have zero issues.

Thanks master, as always!
[G2 Android Development] khanjui:
Use stock 30H from somboons.
[G2 Android Development] zizuka:
I dont see why people want to update from v2.46. It works and it most stable. Why update just to get bugs -,-

Been using 2.46 for a loooooong time, not a single issue so why bother updating. New is good but sometimes old is better.
[G2 Android Development] Peppe91:
I never update supersu app.. Only reason I did this time was because dorimanx said was safe to updated to 2.65 and install as system app.. For almost everybody 2.65 it's safe and stable but my phone doesn't like it so I reverted to 2.46.. Read some post ago and you'll find Dori post.. I'm not a update fan.

Sorry for ot Dori. I only wanted to report feedback about my "strange reboots".
[G2 Android Development] Cienight:
I have the latest beta supersu running on 9.5 since it's release and never had any random reboots etc Make sure youre using stock roms before blaming the kernel guys
[G2 Android Development] masteril:
After couple of days kernel is really slow dont know why
[G2 Android Development] RegMaster:
+1

Responsiveness go down, after wake up or launch apps as firefox or facebook
[G2 Android Development] djtiesto22:
Facebook uses a lot of RAM, so use lite version. Same thing for Messanger and Chrome...

You can try to disable some of app using servicely, greenfinity or just freeze in titanium backup some which you are not using. Also go in dorimanx app and find TRIM and click that it will boost your speed.
[G2 Android Development] 60nine:
sorry, but i think that 2gb ram device should handle full facebook app without any problem...

lite version sucks (especially in the ui design and lack of features)

yes - fb app is heavy and bad written app but g2 should and must handle it without any issues...

the problems start when you have several heavy apps opened (i.e. i always force-stop facebook before i open a heavy game)