yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] dorimanx:
News Update!

Kernel 9.1

21/02/16

*Merged updates to ARM code, used for GCC code alignment and other fixes.

*Merged update to SMD driver. and to camera VIDC.

*Merged code updates to thermal sensor driver.

*Reverted changes to FS from 3.16.y in order to update FS to 3.10.y much of that code was bugged anyway.

*Merged all FS(filesystem) code from 3.10.y, that includes: EXT4,FUSE,NTFS,FAT,CIFS,INOTIFY,EXFAT,F2FS,PROC,RAMFS,ENCRYPTFS,PIPE, and more.

This is huge step toward making kernel for LG G2 that is 3.10.y, where LG failed, i have won.

*Merged all BLOCK and INIT code from 3.10.y to support new FS and other massive changes in kernel drivers.

That include updates to ALL I/O Sched govs to 3.10.y version.

*Merged updates to sound driver, bug fixes, not sound quality related.

*Merged all IPC code from 3.10.y to support new FS and BLOCK code.

*Merged many updates to Audit code for selinux and other drivers in FS.

*Merged updates to Memory code to support new FS and BLOCK.

*Merged many updates to NET code to support new FS/PROC code.

*Updated touchboost code to check min/max freq ranges from sysfs.

*Tuned process reclaim code.

*Converted BT driver to support new FS structure.

*Merged updates to USB,SCSI,DM code.

*Updated ram console code to support new FS.

*Merged updates to Alucard and Nightmare CPU GOVS. and tuned Ondemand Gov.

*Merged new updated to SCHED CORE,FAIR,DEADLINE and workqueue code.

*Merged mods to ZRAM to support 3.10.y BLOCK code.

*Allowed KSWAPD memory reclaim to run on all 4 cores to speedup memory release for other needs.

*Merged updates to LIB code.

*Fixed ADB switch script in Control App.

*Reduced SWAPPINESS to 50 from 60 in all profiles.

*Merged XML descriptions for control app rewritten by [MENTION=264829]hermit[/MENTION]blue big thanks for hard work!

*Added new option to enable storage SWAP to extend RAM by 256MB or 512MB, in cost of storage space and cpu power, and battery.

set OFF by default, if you have high RAM shortage, you can enable to get some air. if not, leave it OFF.

It's read/write to storage and consume I/O speed. there are no free gifts here :)

*Integrated new swap to synapse status.

*Profiles will be reset on first boot.

This BUILD is MEGA BETA. stable for me so far.

It's recommended to WIPE Dalvik cache this time! as filesystem code has been changed like 90%

I did that just to make sure all will be ok.

If you want, do full backup of all storage/system/data/ just in case to PC... so you will not loose anything.

I didnt do that :) no problem here.

Enjoy. report, and lets wake this thread! :)

you get 3.10.y kernel that is 20% 3.4.110 all the rest is new.

version stay 3.4.110!
[G2 Android Development] 60nine:
i guess the filename is mispelled for d802 :)
[G2 Android Development] henrylar:
Hi Dori

I have until now been a happy user of your Kitkat kernel. My work demands me to encrypt my phone for use of their exchange server, and having upgraded to Lollipop I cannot find an easy way to circumvent their demand - which maybe also is not very appropriate. So my question - is it on your list to make the kernel work with encryption or do I need to say goodbye to your wonderful work with there kernel for Lollipop?

Sorry - I just saw post 7055 I will be happy to hear of any exp. with 9.1 and encryption
[G2 Android Development] djtiesto22:
Bug in dorimanx update app, two same 9.0 versions at top, so is related to last post in thread. Is it good to flash or do I must to wait for dori to fix ?
[G2 Android Development] n@vier:
[MENTION=1672587]djtiesto22[/MENTION]

It's not a bug of ota app....simply [MENTION=2376110]dorimanx[/MENTION] for d802 named new version 9.0 instead of 9.1 when he will reupload the correct name version ota app will show 9.1 ;)

That's all ;)
[G2 Android Development] zdrawko12:
To anyone who find mistakes in sentences in DORIMANX app. Please, post your changing propositions in the kernel's Q&A thread by recolling my username.

Have anyone idea, where to find some explanations about MSM adreno TZ controls (like Cap value target value and so on)? I have looking for info without results.

By the way, Great work Dorimanx!!!
[G2 Android Development] dorimanx:
Oh, missed the d802 naming... i will fix. Hold your pants up :)

Edit. Done. Uploaded. Now 9.1 for d802.
[G2 Android Development] Peppe91:
Hi dorimanx, thanks for update.

CPU sample rate and hotplug sample rate are recommended to have same values. In default profile they aren't the same, in cpu sample rate it's 3000 and hotplug it's 20.

I'll write feedback on these days after some daily usage.

Big thanks as always! Great job
[G2 Android Development] dorimanx:
Recommended but not must. I have set this like that. 30 create small lag... and we dont like lag, right.

You are free to change as you wish.
[G2 Android Development] Romagnolo1973:
Just a positive feedback for me, tested new 9.1 listening 2 hours MP3 music and everything ok, no dzdz even if I use only one core at 800 mhz when screen is off. Absolutly another gem by master Dori
[G2 Android Development] RegMaster:
Strange laggy scroll in firefox with 9.1 not seen before, wiped caché and dalvik. Resto of things are ok and working like a charm
[G2 Android Development] kocaman1321:
I think firefox is lagging lol.
[G2 Android Development] OT-Xtreme:
got a freeze on Instagram, rebooted manually with buttons

https://drive.google.com/file/d/0BxKaoFvOB5O-Mnh5ckJVbVFiX2s/view?usp=docslist_api
[G2 Android Development] dorimanx:
Nothing in log.

I see you have selected 512 swap, but free show only zram.

Its mean you dont have more than 768mb in data...

Read the instructions before doing profile changes.
[G2 Android Development] Djsam92:
I have a strange problem with 9.1, phone rebooted while watching a video on youtube app so i went on dorimanx app to take a log, i pressed the button and appeared the overlay that tells that the zip has been created but there is no zip on sdcard
[G2 Android Development] masteril:
So far so good..9.1 is a beast a real one! I even dont want to buy the new g5 anymore lol thank you dori stable from yesterday super fast and very good battery life?great work
[G2 Android Development] jeebspawnshop:
Loving 9.1, just like every other version.

Sadly I had a black screen when I pulled the phone out of my pocket earlier. Couldn't turn it on so I hard rebooted it; I checked the debug file, and it registered my power key presses, but I can't figure out anything else from the log... :confused:

All settings in Dori app at default (all I change is audio levels, and DC charge levels, nothing else).

Please let me know if it is just my hardware or some stupid app causing these issues, that way I won't keep posting useless/misleading logs.

:good:
[G2 Android Development] Nightshadow931:
Reboot while playing game (clash of clans)

https://drive.google.com/file/d/0ByjJgOg9lm4vcTdTMEl3S29aQ2M/view?usp=docslist_api

It froze for a few seconds first..
[G2 Android Development] OT-Xtreme:
so what's the culprit of the freeze
[G2 Android Development] stroge:
Probably not enough space for the 512MB swap file...
[G2 Android Development] dxkernel:
Hi all , first thanks dorimanx for the amazing kernel. [MENTION=2376110]dorimanx[/MENTION] i have one question about battery calibration (battery counter) as you like to name it . so you're kernel's option to reset battery counter normally delete batterystatus.bin file like what other apps do ? If yes why when using battery calibrator app and hit calibrate nothing changes immediately? Otherwise it does with Stweak app .

From my experience with your kernel i charge battery till 100% then i hit reset battery counter immediately its shows some 80~ ℅ . i charge it again till 100% , then reset again >= ( some mA Gain ;) normally some 95% . onece agin ti full charge ,after that huge battery life improvement.

I have a feeling what I'm doing is not good for my phone and battery but i keep checking my battery during charge (temperature & voltage) everything goes good .

What are you thinking master ?

Dorimanx kernel magic toolbox :D
[G2 Android Development] zdrawko12:
There is some other magic in charging the battery. If you have wattmeter you can nottice that phones and other electronic device NEVER charges battery to 100% its capacity. It could degrated it's lifetime so when charging level reacher 100% on phone it means that about 90% of it's capacity is charged. After that charger still charges battery 'to keep electrons floating'. After some time it reaches about 100% ant stop charging. After dissconection, it disscarges it back to 90% in order to extend battery lifetime. Of course we can't be shure about that, but many sources say so.

The best charging is from 40% to 80% (that method is the most efficient for longest battery lifetime).

Dorimanx kernel have an option to reaclibrate battery every saturday so we don't have to bother about wrong showing battery level indicator.
[G2 Android Development] dxkernel:
Totally agree with you but when we're talking about good battery , So for old one ( that normally should be replaced) i think we can benefit of its reset ?
[G2 Android Development] dorimanx:
lg gps service triggered crash in ram code.

kernel tried to fix it, and did. but ROM died anyway waiting for this service to respond.

first time we get that, and it's not connected to changes in 9.1 or 9.0

will monitor.
[G2 Android Development] zdrawko12:
Think it work that way.

Let's assume that you have old battery with 30% of damaged capacity. Real capacity is 70% when the new battery have 100%. Now if I ask kernel to calibrate, it takes the remaining 70% and declare it now as a new 100%. That's the trick. Phone thinks that is 100% but in real is 70%. Battery capacity remains untouched.
[G2 Android Development] dorimanx:
seems like bug in one of LG services that triggered BUG alert in RAM code. and reboot as should be.

when BUG function called, it's write what was the bug and where, and order reboot.

BUG: Bad page map in process GLThread 6077 pte:e3200447 pmd:1f48b831

nothing i can do.
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

For me 9.1 is another masterpiece! I can change rom from Cloudyg2 to Google Edition and your kernel is always a beast and improves everything! You are simply great! Nothing new because you know that you are the number one! ;)

Thanks for all!
[G2 Android Development] rebar71:
I would like to thank [MENTION=2376110]dorimanx[/MENTION] for keeping our devices alive. Unfortunately, my G2 met an untimely and spectacular end over the weekend. I was planning on keeping my G2 for a couple more months as I have been patiently waiting for the 820 devices. But alas, I have been forced to move on early. I picked up a G4 yesterday. Probably won't have it long, but anyway... thank you, [MENTION=2376110]dorimanx[/MENTION] for your diligent work.
[G2 Android Development] ccrofts820:
Had a non responsive phone this morning had to hard reboot. Hopefully logs show something useful. Vs980 running xdabebbs lpop Rom with stock kernel settings. Thanks in advance

https://www.dropbox.com/s/kktp5z2xhd0qvpy/dorimanx_debug-V9.1.zip?dl=0
[G2 Android Development] smartpr1v4t3:
Had 2 freezes last minutes.

First freeze i got while writing in tapatalk, the phone rebootet after some seconds.

2nd freeze was 1minute after the phone bootet. It didnt restartet automatically.

So couldnt create log from 1st freeze.

https://drive.google.com/file/d/0B1cbckb82WVUb2NMN1JDcG9NLWs/view?usp=docslist_api
[G2 Android Development] FatherD:
I'm back to the G2 after a short excursion with a few 5.5" devices that were as pocket friendly as a anvil.. So naturally now rocking this kernel again.. Happy pocket, happy days ?
[G2 Android Development] dorimanx:
Nice, why you post this here? Any useful info about kernel work in post...

Please use QA next time for dev useless posts. Its message to all.

Thanks.
[G2 Android Development] smartpr1v4t3:
Had again a freeze while i was browsing tapatalk. Dori is this rom/app related in my case? Hope not :)

https://drive.google.com/file/d/0B1cbckb82WVUSnJoYjlMT0oyaW8/view?usp=docslist_api
[G2 Android Development] jeebspawnshop:
Sadly I bring bad news again!

The phone had a hot reboot after I updated the Gmail and Maps apps. I did that, then put the screen off, and a few seconds later it was on the LG logo.

Tried to read the log as usual, but failed... As usual!

Again, please let me know if it's just me or a real bug.
[G2 Android Development] dorimanx:
reinstall ROM.

i dont see clear reason. seems like ROM services crashing.

when there is a real bug, many people report the same, if one user report problems every day.

well problem is local to that device.

no problem here.
[G2 Android Development] dorimanx:
strange that your report not include /data/logger/ files.

every one else when reporting have the logs.

kernel started to record the error, but ROM rebooted already. seems like ROM bugs.
[G2 Android Development] smartpr1v4t3:
Was thinking the same, this is last log from me till i install a fresh rom ;)

Freeze while was using google maps navigation.

https://drive.google.com/file/d/0B1cbckb82WVUWHVoNVpEV09KUUE/view?usp=docslist_api
[G2 Android Development] jeebspawnshop:
Thanks for the feedback, my friend.

Gonna look in to installing a fresh ROM, cuz I hate posting errors that your stellar kernel did NOT cause.

:angel:
[G2 Android Development] dorimanx:
My kernel can be bugged and that is a possibility.

When thread explode with bug reports with same problem, then i react and try to fix it as fast as possible.

When few report bug log, i am checking every one, and if there is no similarity i check the recorded function and see if it seems normal and nothing missed compared to 3.10.y.

If nothing missing, then waiting for next report.

So kernel is not stellar :) its advancing beta test for something better than default.
[G2 Android Development] xry75:
The control app is blank and it doesnt respond to changes.
[G2 Android Development] dorimanx:
Give it root access.

And wait 1min after boot before using it.

That is only for you. For all the rest its working.
[G2 Android Development] OT-Xtreme:
just opened tibu then black screen then super fast reboot (like soft reboot)

https://drive.google.com/file/d/0BxKaoFvOB5O-cm1WOFhqYjhFWjA/view?usp=docslist_api
[G2 Android Development] tester5224:
Question [MENTION=2376110]dorimanx[/MENTION] , How do you decide if a version is Stable or Beta?

amount of testing you do before releasing, or\and amount of big"dangerous" changes you incorporated inside that version?

sorry if it been asked before. could not find...
[G2 Android Development] merlin21:
I guess it's stable if 5 from 10000 report errors. But in every way it's only declared as stable after test of all users and confirmation from dorimanx in THIS beta thread... [emoji6]
[G2 Android Development] tester5224:
[MENTION=2760682]merlin21[/MENTION] , so every release is Beta and only later it might be "upgraded" to Stable?

Cool, from previous observation, I thought Stable is always released as Stable. I guess I missed that.
[G2 Android Development] dorimanx:
There is no such things as stable before all users test it.

Its can be ok for me, and bugged for 20 other beta testers that report same problem.

I cannot call any ver stable from day 1.
[G2 Android Development] dorimanx:
Soft boot is rom bug. Not kernel.
[G2 Android Development] Cienight:
Does the kernel affect the media storage update frequency? When I download an image for example it takes a while before it shows up in the gallery,used to be instant.

Great work by the way!
[G2 Android Development] 60nine:
the way that i see it

- the word "stable" doesn't exist from the moment you root your device and install a custom rom/recovery/kernel...

and i live with that thought in mind...
[G2 Android Development] OT-Xtreme:
what do you think caused it
[G2 Android Development] dorimanx:
Rom ordered reboot. Kernel rebooted.

Look at last lines in last log before bug section.

Reboot reason null, rom shutdown the iirc channel, what ever it is.... no idea, then told kernel to reboot.

Next was going to reboot now.

Its not telling me anything. There was no kernel crash or bug hit.
[G2 Android Development] Jan Philipp:
Hell Yeah! I never expected so much locked power in my G2. On Dorimanx Default Profile Antutu shows around 52000 Points.

And with the Extreme Performance Profile (oc to 2,8 GHz!) + cold environment its over 57500. When I think about the first bench with 34759 Points I'm freaking amazed.

Thanks for this Kernel!
[G2 Android Development] Ganjax:
Becareful to have an orgasm with this benchs. This numbers change your life? Useless benchs, nothing else.

Wysłane z mojego LG-D802 przy użyciu Tapatalka
[G2 Android Development] Jan Philipp:
But interesting enough to make you look at... ;) ;) ;)

For daily use I agree totally with you. But to keep an eye on a single devices power improvement it's not that bad.
[G2 Android Development] duki994:
iirc is specific service to LG devices. It commands and works as IR blaster service. If it crashed lge uei irrc driver it may be bad. Check /drivers/misc/ for lge uei irrc driver. See if some commits happened to introduce new functions or clear out old ones that may be used by LG's driver. My IR blaster was behaving a little erratic.
[G2 Android Development] OT-Xtreme:
no its not.. wish someone will kill antutu dev already
[G2 Android Development] masteril:
Two minor bugs to report after daily use from the release,takin pic today with the cam got a restart sorry no log i was driving/: and the second after the restart try to load my performance profile and its not saved..got the standard one that came with the kernel.and that's it so far very stable kinda more slower after full charge in the night and disconnect the charger but i just restart my phone everyday to avoid that.
[G2 Android Development] KpKi:
Ok I used 9.1 and here what I noticed: there is a difference how the kernel manage the ram (in a very good way ) , also I think (my own observation) that there is a lag in hotplug, remember when we had the sound buzz thing then to solve it we had to turn 2 cores online to solve it ..after version ( 8.5 ) the buzz thing was 100% gone even on 1 Core online ... With 9.1 it is back on 1 core ... 2 cores (rarely)...so I concluded it may be due hotplug changes . I will fresh install the rom to eliminate system (rom) errors and try again
[G2 Android Development] dorimanx:
Nothing changed there. I dont touch lg drivers. If its not for replacing deprecated function name or call method. Its not really change anything.

So its possible rom bug, or some app that use IR crashed.
[G2 Android Development] dorimanx:
set hotplug to 10 sample rate.

try to set cpu gov to 10000 sample rate.

should fix the cpu overload on screen off when you use music player and tons of other apps that drain cpu power for things you dont need when screen is OFF.

This what is the problem. not hotplug. so to help kernel to stream clean music, it's needs more power to do it.

also keep the max freq on screen off not under 1.9Ghz that is also the key to fix problem that you have. (not me)
[G2 Android Development] Romagnolo1973:
Yes with 9.1 the buzz sound when screen off is come back but is not a great issue, it is only one bzbz in the first song you play after screen turn off, something people can leave with. I use 800 mhz in one core when screen is off and this setting is perfect for extend battery life, I'm used to play music at night with nothing else in background. If someone wolud use whatsapp or facebook and listen music is better set dori kernel to use 2 core or use a higher cpu freq and problem solved.
[G2 Android Development] Nightshadow931:
Phone rebooted while sitting on the table, I didn't touch anything.

https://drive.google.com/file/d/0ByjJgOg9lm4vUGlBUi1kX3FjcGc/view?usp=docslist_api
[G2 Android Development] dorimanx:
Modem crashed.

Fatal error on the ADSP! ADSP subsystem failure reason: :Excep :0:Exception detected subsys-restart: subsystem_restart_dev(): Restart sequence requested for adsp, restart_level = SYSTEM. AO-Notify: Generel: 6 L-Notify: Generel: 6 Kernel panic - not syncing: subsys-restart: Resetting the SoC - adsp crashed.

Normal way of getting it online again.

REBOOT. nothing else will help.

Why? I have no idea. Ask LG.
[G2 Android Development] dikachik1:
having problems with the recent 9.1 release in ls980

I updated my kernel two days ago to 9.1 in my lg g2 ls980 and noticed these problems;

If I switch off my phone and switch it own, my phone bootloops except i go to the recovery to shut it down and switch it on again.

My internet network just started stalling.

Are those kernel problems?

Thanks to the developer, may God bless your good works.
[G2 Android Development] degman:
I have freeze with last version of kernel. I force reboot holding power button. Logs attached.
[G2 Android Development] masteril:
256 mb zram option is doing nothing minor bug
[G2 Android Development] RegMaster:
I have disable zram option in 9.1, and now it feels more responsive, and I perform moderate-heavy use of apps and 0 reboots or hangs for now. (I don't play any games)
[G2 Android Development] Claudius A.:
First reboot with 9.1 while using Chrome. Stuck on LG logo and had to do hard reboot.

https://www.dropbox.com/s/t16i9s7m7w31tyb/dorimanx_debug-V9.1.zip?dl=0
[G2 Android Development] migui7:
Reboot v9.1

Hello! I have never writen here because I have always the best experiencie with dorimanx kernel unless the generaly kernel bugs.

I have one strange reboot today. Additionally I have feel that kernel is more heavy, slow than other versions. I upload the log. I hope help you.
[G2 Android Development] dorimanx:
Nothing in log. No crash.

Your profile is set to be slow. You cut freq for cpu and gpu. Cut zram.

And ask more power from your device with apps that need more.
[G2 Android Development] dorimanx:
Bug = chrome.
[G2 Android Development] dorimanx:
Tip to save some power, cpu and battery in cost of loosing logcat function.

If you never used it, then you dont need it. Its logging every rom fart :)

Draining power every sec.

Open any terminal app.

Type:

su

stop logd

mount -o remount,rw /system

mv /system/bin/logd /system/bin/logd-old

sync

mount -o remount,ro /system

Enjoy. No need to reboot. And on next boot its will not start.

1|root@g2:/ # logcat

logcat read failure: No such file or directory

1|root@g2:/ #

Then all good :)
[G2 Android Development] Cienight:
Anyway to do that within phone?
[G2 Android Development] dorimanx:
read my post AGAIN x3 times. then use terminal app from google play.

PLEASE. if you dont understand. skip dev posts.
[G2 Android Development] CampfireVibés:
Dear dori

I have a great idea regarding this information.

Maybe on your very last kernel release

that doesn't have any bugs you should take out

the log feature. :) it would give your final g2 kernel release that extra speed etc. And since it would be your last update logs wouldn't be required anyways :)
[G2 Android Development] dorimanx:
for kernel development i dont need logcat. so you and I can use it now.

dmesg is what i need. and it's have nothing to do with logd.

if you wish to write something, use QA.
[G2 Android Development] Cienight:
Sorry, you're right I didn't read your post correctly.
[G2 Android Development] Dimberr:
got reboot, ver 9.1

https://www.dropbox.com/s/wmfk86aybmbhp3d/dorimanx_debug-V9.1.zip?dl=0
[G2 Android Development] dorimanx:
nothing wrong in the log.

reboot by power key press.
[G2 Android Development] hakreul:
Confusion

Im not sure if this is the right place to ask this question, but I'm in deep confusion.

Im on Cloudy G2 3.3 rom, and the bootloader i installed is of a date newer than the one available for my model on Dorimanx's site.

My question is do i have to flash the latest one from the Dorimanx's one itself or the one im on is fine?

Thanks
[G2 Android Development] jeebspawnshop:
Questions should be placed in the Q & A thread, here:

http://xdaforums.com/lg-g2/help/dorimanx-lollipop-kernel-qa-thread-t3103105/page1

Enjoy!