yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] dorimanx:
LOG A:

media scanner service crashed, ROM init killed critical rom services. and kernel failed on reading files from storage.

it's possible you have broken files in that folder, or pick with virus (worst case possible)

init: untracked pid 906 killed by signal 9

init: untracked pid 14960 killed by signal 9

init: untracked pid 901 killed by signal 9

init: untracked pid 902 killed by signal 9

BUG: Bad page map in process MediaScannerSer pte:ffffffff pmd:26302831

addr:714eb000 vm_flags:80000071 anon_vma: (null) mapping:e8e25868 index:aa9

vma->vm_ops->fault: filemap_fault+0x0/0x4b8

vma->vm_file->f_op->mmap: ext4_file_mmap+0x0/0x5c

LOG B: same thing.

it's easy to crash kernel if there are errors in data(including storage, same thing actually) it's all set like that!

if there are errors, best to fail on BUG that crash all the reset and freeze or reboot. than keep working and kill all files in storage.
[G2 Android Development] hitardo:
You are right.

Thank you for your fast reply.

I will keep my eye open for that process.
[G2 Android Development] gamertwo1:
v8.8 was better than v8.7 with respect to both performance and battery timing. No heat up issues but in 8.7 when I listening music with builtin cloudy rom player, mobile got hang and have to reboot manually. Now checking 8.8 will report you if found something. Thanks [MENTION=2376110]dorimanx[/MENTION]
[G2 Android Development] Claudius A.:
Solved. There is an option in the BusyBox app, it was checked and I unchecked it and rebooted the device. The Dori app now works fine!

(Just in case someone else faces this problem) :sly:
[G2 Android Development] krija:
Busybox comes with Dori's kernel. I think you don't need other one.
[G2 Android Development] Claudius A.:
Well, I think all my problems (with the Dori App) were because of the BusyBox I have on my phone!!! Thanks! :thumbup:
[G2 Android Development] Computoncio:
Never, ever install other busybox.

Kernel scripts uses commands from kernel busybox, if the busybox you installed doesn't have all the commands you may be in the "Twilight Zone", time bomb till phone crash.

Did that once, and i will regret all my life.

Phone: LG G2 D805

Kernel: Dorimanx kernel v8.8 LP D802

1st ROM : SRK-D80230h_20160107_droidth

2nd ROM : Waiting for custom recovery ;)

MODS: Viper4Android, Xposed
[G2 Android Development] dorimanx:
This is the most stupid option that i seen in my life as dev.

This actually kill all kernel scripts, and blowup all boot process and leave many apps hopeless.

Just uninstall that app. Reboot, and never use it with my kernel installed.
[G2 Android Development] LeoPosas:
Lgg2►lgg3

I'm moving forward to the LGG3, not a big step, but had to change my lovely G2.

[MENTION=2376110]dorimanx[/MENTION], from the bottom of my mind and soul, thanks for your amazing and unique kernel, really enjoyed until the last second.

Please keep giving the best kernel of the android world to this community.:fingers-crossed:

I'll miss you all you guys, great and nice people! Take care and blessing for all of you. Please encourage this cool developer,don't bother him. :cowboy::good:

PD: Sorry [MENTION=5559940]Lawlrus[/MENTION] for the OT. :D:p
[G2 Android Development] mraliaras:
LG G2 Play Edition Rom 1.3 [MENTION=2376110]dorimanx[/MENTION] why ?

LG-D802 cihazımdan Tapatalk kullanılarak gönderildi
[G2 Android Development] 60nine:
i have the same rom - no problem here

delete data/dori folder, reflash kernel, reboot

don't start dori app for about a minute after boot

& questions go to q&a thread
[G2 Android Development] dorimanx:
News Update!

Kernel 8.9

26/01/16

*Merged critical fixes for ZMALLOC for ZRAM.

*Fixed Process Reclaim code, now releasing RAM as should.

*Merged fix for FUSE driver.

*Added new sysfs for checking ram pressure for LMK and Process Reclaim

And added them to SYNAPSE status page. now you can see your RAM pressure :)

*Added new CRON task to clear RAM cache from apps only! every 2 hours.

This will help to get smooth and stable device for longer time.

The option will not kill any apps from RAM, it's just strip cached RAM

by them. so other apps that running for you right now, will run faster.

*Fixed CRON timezone script, and fixed few small bugs in scripts.

*Merged updates to ramdisk and init from D802H stock kernel for D802 build only.

This build bring few but critical fixes to RAM/ZRAM code. also nice ram info for PRO users.

Now every time i wake my device i see that it's has free RAM to run all i need. and my apps still loaded!

Also standby drain is very low, -16ma with net off but turned ON/OFF by app every 30min.

Have fun :)
[G2 Android Development] Diechel:
You are a monster!

Last updates all were super !!!!

No crashes during car driving with Waze and streaming to my car (bluetooth, internet radio).

Thank you :)

Would like to implement dd command flashing into OTA app but don't have all the knowledge for the commands.

Could you make something for me (if you have time of course) which i can run in shell
[G2 Android Development] mraliaras:
Thank you for your response but still gives the same error.

LG-D802 cihazımdan Tapatalk kullanılarak gönderildi
[G2 Android Development] boyheadkick:
i was wondering why on 8.8 twitter kept suddenly closing (with apps in the background)

i thought it was twitter's fault (maybe it was, stupid non-android-optimized apps, lol)

nice to see more ram optimizations in this new build

flashing now

:good::good::good:
[G2 Android Development] raptorddd:
odd like i said in earlier post. it happened to mee too. but i rebooted the phone and i went ahead and opened dori app and saw that same error, i closed it. then after a minute or 2 i open it again it it work. didnt do a thing. but i always delete dori in data. and reaply all settings again.
[G2 Android Development] merlin21:
It's a known self protection that dorimanx app has. We can't boot the phone and directly open that app. Even when screen phone seems booted and you can scroll kernel is still loading his settings from dorimanx app.

You can't play with settings and make a mess while kernel reads boot settings. That's it. Just wait at least a minute when entered pin after boot.
[G2 Android Development] falconhawk81:
Bootloop in d806 when install the Kernel 8.9 in charging, i dont Know why, but i try sort of thing, vol- and power, power, vol+ power and the phone power on O.o
[G2 Android Development] berezker:
Your phone might be too hot to boot

Let it cool down and try again
[G2 Android Development] 60nine:
i just had to do this meme finally
[G2 Android Development] falconhawk81:
I cant power off completely, in d806 the battery is inside the device, and stay the power off botton and cant shutdown.
[G2 Android Development] hitardo:
If you press the power button long enough - 10 to 20 seconds - the phone will power off.
[G2 Android Development] 60nine:
oh really?

every lgg2 variant has non removable battery...

i've been writing the tutorial on how to power off the device for more than 20 times...

i won't write it again - instead, use search...
[G2 Android Development] dorimanx:
If you delete dori folder, you must reboot immediately. As many things depend on profiles that you deleted...

Rule is simple, if you have any problem with control app, delete .dori folder reboot, wait 2min after lock screen. Thats all.
[G2 Android Development] mujka:
Xy
[G2 Android Development] dorimanx:
Its all nice BUT, please use QA thread.

What you changed is not helping. Me with development here.
[G2 Android Development] Dynamatrix:
Increase sampling rate range in the dorimanx app please? I want to be able to increase the sampling rate to 100000 but it only allows me 80000
[G2 Android Development] stroge:
DorimanX, if that is possible, can you decrease min backlight? Lvl60 is still too bright for night. Thanks!
[G2 Android Development] Rachid.Ala:
When the screen is too bright for you, activate battery saver

Sent from my LG-D801
[G2 Android Development] stroge:
Its already on the lowest value possible, battery saver mode does not make it lower.
[G2 Android Development] dongerado:
Use xposed plugin "screen filter"! :thumbup:
[G2 Android Development] dorimanx:
Its not control the backlight, its just make all colors darker...

Its fake but its looks like screen is darker.

Backlight is on lower min possible.
[G2 Android Development] dorimanx:
Why? What you will gain? Lag with cpu freq change... and how is that good?
[G2 Android Development] Dynamatrix:
The reason why you want to weaken your CPU is to save battery. No?
[G2 Android Development] boyheadkick:
weakening your CPU doesn't always translate to battery saving...this has been proven time and again in every custom kernel thread in every forum across xda..
[G2 Android Development] raptorddd:
i use auto and set it to 65. then on dori app. go to display min back light slider, and set it to 100% apply changes and lock device then check min back light. mine was way to dark i had to go higer
[G2 Android Development] migueldbr:
Actually thats wrong. It does save battery if you dont mind the extra time taken to perform tasks. Usually it is said that underclocking is worse because the cpu takes longer to complete tasks and ends up eating more battery in the end. A lot of people say that but thats wrong. I remember seeing the explanation here on xda(but i dont remember the thread) so here goes:

Lets take the Nexus 6 as example(couldnt find the stock voltages for the G2 to use as an example):

voltage @ 1113mhz is 0.91v

voltage @ 2265mhz is 1.075v

Completing a task that takes 30 seconds @ 2265mhz will take 60 seconds @ 1113mhz right?

If P=f*V^2 where f is frequency and v is voltage:

P=2265*1.075^2 = 2617 power units

P=1113*0.91^2 = 921,6 power units

You can easily see that using 1113mhz uses about 35% power compared to 2265mhz. So, even if it takes twice the time to complete the task, it still uses less power on the lower frequency.

This is a simplistic aproach, but we can see how it works.

Anyway my personal opinion is that it is pointless to buy a 2.2 quad core phone and lower the cpu to save battery, but to each his own
[G2 Android Development] 60nine:
wouldn't it be simpler to just a shut down a core or two completely to do the same battery saving?

nevertheless - point well taken with that quad core sentence at the end
[G2 Android Development] boyheadkick:
well said, and yes, to each his own, so i'll just refer you to the thread i started for the galaxy s3 boeffla kernel

in there you'll see replies of a lot of beta tester for that kernel, and you'll quickly find that Lord Boeffla himself said that even with all the undervolting and underclocking you'll do, the most battery you'll save will only be very minimal to say the least, plus you'll only encounter a lot of instability in doing so..i can personally vouch for that, what with all the countless kernel profiles i tested the whole time i was rocking the galaxy s3

[Unofficial] Boeffla Kernel Profile Sharing Thread

make sure to read the great undervolt debate in post #6

'course, that thread is for the older (and legacy, might i add) galaxy s3, with a far older SOC than the SD800 that we have in the G2
[G2 Android Development] dorimanx:
Well nice calc, you forgot one big problem! I say 5.2" problem.

Longer you wait for task to finish, more power your screen will use to show you not what you wish to see.

Cpu usage is minimal compared to lcd and back light and touch screen.

So as many devs said, you are wrong.

You need to look outside of the box to understand how all works.

Wish to save power, set max 3 cores.

but dont UV or cut freq to point that device struggle to perform simple tasks.

Also rising cpu gov sample rate will lead to lag as cpu stuck on low freq long time when kernel cpu sched core screaming "we need power now! Wakeup you lasy stupid gov!"

:)
[G2 Android Development] migueldbr:
Good point, I guess the explanation I saw was referring to older devices with small screens(and probably cpu consumption was very high back then). So underclocking does not save battery? What's your opinion about it? Because zg85(healthy honey kernel dev for cm) does not use the 2265mhz frequency and maxes out @ 1958(or something similar and it does indeed give better battery life compared to using the max 2265. I do remember reading lots of times that undervolting saved minimal battery, but underclocking was different.

Anyway,thanks for pointing out what I was missing, always good to learn something=)
[G2 Android Development] duki994:
Actually, your calc is true for CPU consumption. But screen burns 4x more power (if on 100% than maybe 5x more). Relative power of CPU is much less that one of big screen (5.2"). So CPU becomes not relevant to power calc.

You can save CPU power by tuning governor to "float" around certain frequency/frequencies. Ondemand is easy to tune here on dorimanx kernel. Middle grid, high grid load,steps etc. Easy to tune :)

Best freq for moderate load is 1.728GHz. It is ok for most smaller tasks and uses 1643 power units (by your calc) :)

But underclocking would make device lag and perform task longer. It's ok for some tasks, but in global CPU would draw more power, with less peaks.
[G2 Android Development] dorimanx:
Its ok to cut few freqs from max, i do that with battery profile.

This will save few % user must have light usage, with few apps installed.

Then cpu is working slower but still can do all in reasonable time frame.

Without holding user looking at screen and waiting for things to open.

Burning power at the same rate for lcd. Its constantly draining power. Not really care about cpu or modem or wifi, nfc, or BT.

If you have many apps, and they jump to ram all the time, dont uv or cut freq, so you will get normal latency device, and optimize your usage from screen on-> do some stuff ->screen off! Power saved.
[G2 Android Development] ccrofts820:
[MENTION=2376110]dorimanx[/MENTION] latest kernel is super smooth as great battery life and to me could be classified as stable!!! Thanks for the work you put in on the G2s.
[G2 Android Development] dorimanx:
I agree, its great. Even kernel development with other device kernels, is relaxed, people enjoy peace.

But i am sure its just a moment to rest and push forward again.

3.10.y/CM13/CAF 3.4.y and 3.10.y all quiet.

F2FS/ZRAM all quite too. :)

I will mark it stable later.
[G2 Android Development] Dinarkzn:
unexpected reboot

Unexpected reboot in whatsapp, chrome.
[G2 Android Development] masteril:
The kernel was smooth as silk for 1-2 days and then slow down a little bit perticlry after charging my phone for some reason..changed to more aggressive settings and gov did help for half day and then very slow on wake up only restart helping and not for long but awesome work dori as always ?
[G2 Android Development] hitardo:
Have the same experience with the last 8.9 version.

Right now I am testing switching to"Stock LP ROM" OOM Level, in both Screen On and Off State, as I had on the later versions.

You can find these options under Memory, on DorimanX app.

It seems a little bit better, but not as responsive as the last two versions.

I have all animations to x0.5 (on Settings, under Developer options), so I am used to get really fast transitions and animations.

As I am really addicted to that responsiveness, I tend to complain a little too much about this.

So I will be waiting on more feedback.
[G2 Android Development] dorimanx:
Ram crashed. Try to use ondemand on cpu0. Yankactive is not what i suggest.
[G2 Android Development] dorimanx:
Its all about ram. After long time, rom and apps take ram and lock it.

So there is no free ram left, kernel check what it can kill from ram to wakeup and load all stuff you have.

So its kill the low rating apps that have no services, and this take time and cpu power used to mess with ram clean and allocate for your needs.

I am using app name purify root.

Its aggressive and must be tuned on first run, its easy.

This app help for real. Its block all crap apps from load to ram all the time.

Save battery and save cpu power.

Also ram is free, kernel can do quick swipe to renew drivers and ready for you.

also you can do one big thing, open recent, and push clean all. This release from 50 to 150mb ram. And that was used by systemui only...

Kernel has many auto ram cleaners, but some stuff you must do.

Or suffer slowdown.
[G2 Android Development] raptorddd:
have you tried servicely? never heard of purify? are they same approach? i use servicely. gonna check that purify app.
[G2 Android Development] Dinarkzn:
Ok, thanks. Which a better governor, in economy + balance?
[G2 Android Development] raptorddd:
i think intellimn is good, with intelligent hot plug or alucard.
[G2 Android Development] :
Took phone out and it wouldn't wake from sleep. Strangely showed me a dialogue box I've never seen before telling me to hold power button to reboot whilst counting down in seconds?

https://www.dropbox.com/s/g0ywb40dh5khxkp/dorimanx_debug-V8.9.zip?dl=0
[G2 Android Development] dorimanx:
Cool, never seen or heard about that one.

Its can be only rom stuff or app, or virus/malware/trojan and fun stuff like that.
[G2 Android Development] :
The dialogue box looked like a legit LG one. Similar to the "Android is upgrading" one. I've not got any dodgy apps on here. Maybe it's something new in this 30H rom? Who can know. I let it finish it's count down but then nothing happened so I rebooted the usual way. Peculiar.......
[G2 Android Development] repulse:
V30H from somboons ?
[G2 Android Development] Nightshadow931:
I want my RAM to be filled more. I've noticed that when I reach somewhere around ~400mb free RAM, kernel kills something in the background in order to release some RAM.

I want it to be filled more before killing apps.

Should I just increase adaptive lmk pressure range %?

Is that what I'm looking for? :)
[G2 Android Development] khanjui:
Reboot while home screen.
[G2 Android Development] dorimanx:
Yes. When ram pressure is high, no matter how much ram you have, lmk kill something with low score.

Increase the lmk adaptive pressure, and you get to load more.

But under 300mb, device start to lag hard... rom need 512mb to operate when running apps. This is the vm heap size. Its ok to have less. But its has limits.
[G2 Android Development] dorimanx:
Did you edited the log file?

Its strange, missing data. And nothing wrong in log...
[G2 Android Development] OT-Xtreme:
dori can you add back Trim support (but unticked by default and put it in cron tab - with option to set if screen off or on, and schedule by per couple of hours). i know we have autotrim by Michel but its more convenient from within dori app
[G2 Android Development] khanjui:
I didin't touch. Maybe missclicked two times to button but I'm not sure.
[G2 Android Development] heliumn55:
Hello,

You're right....nice apk!

great great.
[G2 Android Development] cybernetus:
Thanks for this tip :) purify is a amazing app :)

My battery life has many Hour of increase :)

Enviado de meu LG-D805 usando Tapatalk
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

V8.9 after my usual tests works great another masterpiece! Thanks Master!

Ps: viper4android 2.4.0.1 is out since yesterday for who has cloudyg2 3.3 simply download last version install and overwrite the apk (with a file manager with root priviliges) in system/priv-app ;)

EDIT: after 1 day of use viper4android 2.4.0.1 after first manual reboot of my lg g2 doesn't work anymore... it sais to install drivers and after this every reboot when I open v4a asks to install drivers... I have no idea but this it seems a common problem with cloudyg2.
[G2 Android Development] d_Schizzo:
You need to unzip the Viper apk and look for "libv4a_fx_jb_NEON.so" in the assets-folder and place it in System/lib/soundfx with 644 permissions.

Then go to System/etc and open Audio_effects.conf. Search for:

v4a_fx {

path /System/lib/soundfx/libv4a_fx_jb.so (it can also be that it is libv4a_fx_ics.so).

Rename "libv4a_fx_jb.so" to "libv4a_fx_jb_NEON.so".

Do this step also for the Audio_effects.conf placed in System/vendor/etc/. (You will have it, if you have an soundmod installed like xtremebeats etc). If you dont have that file there skip this step.

Now, reboot and enjoy... :)

Regards,

Schizzo

Oh, and sorry for the OT. But i thought this might be interesting for more ppl. ;)
[G2 Android Development] zdrawko12:
If you rename file libv4a_fx_jb_NEON.so to libv4a_fx_jb.so, there is no need to edit Audio_effects.conf

In poweramp advanced tweaks remember to uncheck direct volume control and smooth equalizer(just in case) and check MusicFX

In cloudy 3.3 there are few more steps to make it works.
[G2 Android Development] d_Schizzo:
What?!

1. I use that ROM

2. Read my post again and try to understand it...

3. I dont care about poweramp... Dont use it...
[G2 Android Development] zdrawko12:
2. Your method is not wrong. Just have extra work to have been done.

Cloudyfa made it work so all you have to do is to export files from apk and merge them in system/priv-app and in system/lib/soundfx

No need to edit Audio_effects.conf coz it has everything to make it works! Just make file name are exacly like in this file ("libv4a_fx_jb.so) Just it.

[MENTION=5664999]n@vier[/MENTION]

For apps like poweramp you have to edit build.prop and audio_policy.conf like it is in second post.

In poweramp advanced tweaks remember to uncheck direct volume control and smooth equalizer(just in case) and check MusicFX.

I recommend poweramp (alpha 700)+Viper4android+dorimanx kernell to best audio quality you can get from your phone!
[G2 Android Development] d_Schizzo:
Ok, as we are not here in viper thread one last post about this...

You forgot that the app is looking for its new driver which is named "..._NEON.so". This is coded in app not in Rom.

With your method it can work but maybe not correctly..

Regards,

Schizzo
[G2 Android Development] renzo090513:
Stop the OT in dev thread

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] saspo59:
Why worrey there is a guy name [MENTION=3266862]Guitarded[/MENTION]hero,this guy is so nice and willing to help he made some fantastic modes includes V4A its works perfectly on g2 802 i flashd my self it will blow yours ears

http://xdaforums.com/showthread.php?p=57021246
[G2 Android Development] dorimanx:
Warning about Exposed V80

I have found it unstable.

ROM hotboot and stuck in some conditions as right after boot on lockscreen.

or during high pressure on RAM and opening apps.

In kernel log there is NOTHING... and hotboot = ROM service die... not kernel.

One sec all OK, and sec later i see LG logo and BOOT SOUND! then small anim, and device stuck. no ADB as usb adb is gone..

Need to reboot by holding power.

I have returned to V79 and all OK now. as was.
[G2 Android Development] Nightshadow931:
I've flashed v80 yesterday, no problems so far.

If anything goes wrong, I'll go back to v79.

Thanks for the warning.
[G2 Android Development] dorimanx:
Thanks for TIP.

I have used ViPERDD+ 5.0 Sony Beats Edition.zip

before i have uninstalled viper driver within the app.

Then deleted the viper APK from /system/priv-app/

Installed via recovery. and sound is MASSIVE! :) my Sony XB90 blast me away as never before.

New Kernel build is boiling good in GIT. seems to be ready for release... testing some more.
[G2 Android Development] saspo59:
I did the same procedure and its works with no probem (this is kernel blame[emoji1] ) i try all his modes and settel down on viper/atmos sony beat.... it has more clarity i think.
[G2 Android Development] babe0607:
Hi...

Is there any link for xposed v79?

Send by my lg g2
[G2 Android Development] rajkatiyar07:
Use google or general section bud.. Its not appropriate place to ask such question . Keep thread clean.
[G2 Android Development] dorimanx:
I have uploaded to my mirrors. see the DEFAULT KERNEL section list.
[G2 Android Development] Diechel:
No problems so far on Xposed v80

Verstuurd vanaf mijn LG-D802 met Tapatalk
[G2 Android Development] 60nine:
no problems with xposed80 here as well... using google edition rom 1.3 + your latest kernel
[G2 Android Development] saspo59:
First stack with 8.9 version during whatsup stack with bazer on have to reboot but log says usless.