yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] samuele94:
No i have only cloudy g2 2.2 without changes
[G2 Android Development] dorimanx:
BETA 9.9.8 for D802 uploaded to BETA Storage.

*Fixed PA Gain when switching to Faux App control.

Please test let me know if OK...
[G2 Android Development] dorimanx:
it's theoretical question? it's there right now... so yes.
[G2 Android Development] dorimanx:
logs... any config changes? something...!!! i know that you think i see your screen, but i am not :)

Little help please...
[G2 Android Development] dorimanx:
try the 9.9.8 for D802...

it's can be one of sound changes... try other players...
[G2 Android Development] Formhault:
I didn't flash the latest beta, that's why I asked.

But anyway, when I flash the kernel, it'll be practical and not theoretical anymore :)
[G2 Android Development] oudbrood:
Hi Dori,

Flashed latest beta 9.9.8 on my Cloudy G2 2.2 rom.

With default music player no sound. Installed VLC en sound os working with mp3.

Flashed back to beta 9.9.5 and default music player is working fine.

https://www.dropbox.com/s/czaviccielrnxpx/dorimanx_debug.zip?dl=0 /URL]
[G2 Android Development] Morts:
Sorry [MENTION=2376110]dorimanx[/MENTION]

I believe that the problem is on CRON table. When I check the "Zipaling" task, the screen don't turn on.

Same problem on 9.9.8

Thanks
[G2 Android Development] Eminemiero:
I made a lot of reasearch and i couldnt find my answer. I have tried ALL the stock based roms for the G2 and all of them have the same issue, Voice recordings (whatsapp notes) ARE HORRIBLE, so i tried lots of things, i edited the mixer_paths.xml that is on /system/etc but it didnt help, i also tried different kernels to tweak the mic gain, and again, it didnt help.

The thing is that in aosp roms this doesnt happen, voice recordings are excellent, as they should.

Do you have any idea what might be happening?
[MENTION=2376110]dorimanx[/MENTION]
[G2 Android Development] Tinchoska:
You know I'll do my best to find those bad things that want to break our believe in you, but, I'll test it tonight, I am at doctor.... Will look into posts above with I've read before posting and try to repeat those things. Let me know if you need anything else (not music that I've read you want us to test sound quality). About faux app I never used it so, I can't test that, if you want me to I'd download the app and test. Just let me know what you need
[G2 Android Development] d_Schizzo:
Works!!:)

In Stweaks and in Fauxsound:good:

Thanks a ton
[G2 Android Development] dorimanx:
it's will run at 4AM so no, this is not the problem...

i am checking.
[G2 Android Development] Morts:
I tested it.

When I turn the zipalign on, the screen don't turn on anymore.

(so I reboot to get the screen on again)

When I turn the zipalign off, the screen turn on/off with no problem.

Can someone try to reproduce it?
[G2 Android Development] dorimanx:
root@g2:/# crontab -l

crontab -l

# This file is at /var/spool/cron/crontabs/root

#field allowed values

#----- --------------

#minute 0-59

#hour 0-23

#day of month 1-31

#month 1-12 (or names, see below)

#day of week 0-7 (0 or 7 is Sun, or use names)

#JOBS

0 0-23/1 * * * /sbin/busybox sh /data/crontab/cron-scripts/drop-cache-only.sh

0 6 * * 6 /sbin/busybox sh /data/crontab/cron-scripts/ad_block_update.sh

0 6 * * 6 /sbin/busybox sh /data/crontab/cron-scripts/reset_battery.sh

0 3 * * * /sbin/busybox sh /data/crontab/cron-scripts/database_optimizing.sh

0 4 * * * /sbin/busybox sh /data/crontab/cron-scripts/clear-file-cache.sh

50 4 * * * /sbin/busybox sh /data/crontab/cron-scripts/zipalign.sh

root@g2:/#

What do you see?

50 4 * * * mean run this JOB at 4:50 AM not every screen off.

so what you say is wrong.

delete /data/.dori folder and reboot.

something is broken in your kernel config.
[G2 Android Development] Morts:
I understand [MENTION=2376110]dorimanx[/MENTION], I din't try to say you were wrong. I told you that I could reproduce this "bug".

I'll delete the folder.

Thanks a lot for your help. I really like your job so much and tried to help you.
[G2 Android Development] dorimanx:
BETA TEAM.

Uploaded BETA 9.9.9 for D802 ONLY to BETA STORAGE.

*Reverted few sound sampling code changes. should fix default music player.

*Fixed GPU low freq stuck on high temp below allowed min freq.

*Reverted ROM thermal allow 5c thermal change... not working. probably brake something...

Please test default music player, if OK, i will release for all models.

Thanks.
[G2 Android Development] natalya:
New beta and Chelsea eleminated, this is one fine evening :)

Sent from my LG-D802
[G2 Android Development] samuele94:
Yes,it works on cloudy g2 2.2 you are THE magician
[G2 Android Development] krija:
Default music player works with latest beta, but for me it worked with v998 too (without V4A). Anyway, dori thanks for awesome kernel.
[G2 Android Development] Lycidias:
9.9.9 working good, thank you Master :)

Could you maybe seperate headphone Left & right channel gain into stweaks?

Thanks

D802
[G2 Android Development] iko11:
With BETA 9.9.9 Everything is working as it should be. App controls are OK.

And also my phone didn't freeze when I pushed the Zipalign button like some people said. It works, took almost 2-3 minutes.
[G2 Android Development] dorimanx:
yes i can do this... later.

now i am going to sleep happy :)

at morning when i get to work, and will have free time. i will compile for all...
[G2 Android Development] wisefreakz:
A myth!!!!! Lmfao hard!!
[G2 Android Development] z720:
finally able to get [MENTION=2376110]dorimanx[/MENTION] kernel running on L22. But still got 1 problem rtc not working, the clock been reseted to 1970 and can not update. Any hint how to fix this ?
[G2 Android Development] dorimanx:
Kernel rtc works with rom code.

And seems like l22 read/write to different path.

Sent from my LG-D802
[G2 Android Development] oudbrood:
I also can confirm. With latest beta 9.9.9 default music player is working good on Cloudy G2 2.2.

Thanks
[G2 Android Development] z720:
ok.. thanks for the hint. at least now I know where to find it. :good:

---------- Post added at 07:51 AM ---------- Previous post was at 07:31 AM ----------

problem fix thanks..
[G2 Android Development] Tinchoska:
[MENTION=2376110]dorimanx[/MENTION] do newly on 9.9.8 sound on player pro (playing music) wasn't playing any sound at all, but I've read again and realize you upload a new beta that fix some stuff, will check that out and let you know more specific stuff. Again, let me know what you need to be test
[G2 Android Development] vPro97:
I don't understand how you guys are having problems with 9.9.7. I'm still on 9.9.7 and it's working flawlessly. :D
[G2 Android Development] Tinchoska:
Definitely that is the rock solid one, but I think latest beta is gonna be another rock solid one...

By the way, [MENTION=2376110]dorimanx[/MENTION] sound on latest beta works awesome, new sounds control is awesome as well, will test battery and performance
[G2 Android Development] Formhault:
I wake up and 2 more beta builds are up? Yuri, are you an owl? :silly:
[G2 Android Development] dorimanx:
Nope, but i am stuck at cust site, cant do any kernel mods...

I will make one more beta with 2 channels gain control. And maybe something else.

Sent from my LG-D802
[G2 Android Development] masteril:
Ebay app clicked search typed a few keys on the keyboard device stucked and rebooted latest beta cloudyg3 d802 alucard hotplug&gov.
[G2 Android Development] d_Schizzo:
Its a little bit less information dont you think?! On which beta? Any logs? Dori fixed a possible freq stuck of GPU in v9.9.9.

So try latest and see if you can reproduce any crash.
[G2 Android Development] jeebspawnshop:
I'm on CloudyG2 2.2 (the G3 port), with like 10 Xposed modules, Dori 9.9.9, PowerAmp, MX Player (for videos), and TON of Tasker tasks, etc.

For kernel config I use intellimm for all CPU's, CFQ instead of ROW for i/o, medium OOM instead of default, and I turn off CRON. Everything else is stock.

Been running on 9.9.9 since the moment it was cooked, and I've not seen any issues at all; I've listed to music on PA, watched videos on MX and YouTube, etc.

And the wake-up is much snappier thanks to Dori and Neo's awesome work. So happy with this!

Just wanted to add my report here - they don't all have to be bug reports ;)
[G2 Android Development] masteril:
Just edited dont be angry i was on the run..nothing on logs checked myself now.and yes i talk about latest beta! 9.9.9!
[G2 Android Development] krija:
Hi [MENTION=2376110]dorimanx[/MENTION]. Here is my little theory. Can you add (unlock) 499200 kHz frequency for Min CPUx frequency menu in STweaks? This one works with same voltage like 300 000 kHz. If we could set 499 200 kHz as Min CPU frequency then we could achieve better smoothness in low frequencies, better wakeup from deep sleep with same or close to same power consumption (theoretically). What do you think, please?
[G2 Android Development] deftonpl:
http://www.phonearena.com/news/Andr...fficiency-improvements-to-the-Nexus-6_id67167

Dorimanx, it's possible add this tweak to your kernel? Thanks!
[G2 Android Development] vPro97:
Back in the JB kernel we had the possibility to underclock minimum cpu speed to 96mHz. Will that not save more battery? If yes, can you readd it?
[G2 Android Development] d_Schizzo:
Hey:)

Im not angry. Just want to help, which is hard without any informations. ;)
[G2 Android Development] Formhault:
Is it possible for you to read the article? Thanks!

PS, quote from the article :

"Apparently, apart from improvements made to the ART runtime and any other possible optimizations of code, the new firmware also forces the Nexus 6's quad-core Qualcomm Snapdragon 805 processor to run*all four cores at all times:

This is where your performance gain comes from."
[G2 Android Development] deftonpl:
Ooops, sorry
[G2 Android Development] ramabg:
Already done. Seriously, who would want to do It ?

upload images free
[G2 Android Development] infected85:
How about this part ...

"Google has disabled something called 'built-in thread migration routines' that helps your battery survive for longer."
[G2 Android Development] nexus_vl:
I think it's not such a bad idee.

4 cores online working at lower speeds/voltage much more often, seems logical.

Been testing for about an hour now with tuned intelliactive gov, wich is necessary, cause no need for 4 cores jumping continuously to max speed.

My profile settings: https://www.dropbox.com/s/napy5w4tld5gi0q/performance.profile_backup?dl=0

Btw, used béta 9.9.9 wich works great so far! :good:
[G2 Android Development] SPBoss:
Such a low clock speed would probably take more time to process background tasks and this wouldn't be any benefit as the longer time to process tasks will equal to the same or more battery consumption.
[G2 Android Development] vPro97:
I love you guys :) You're great at finding awesome articles on the internet but you forget that this kernel isn't just a basic kernel with some added features. It's a VERY advanced kernel and dorimanx has put so much effort into it that it surpasses what's provided by OEMS.

As for the four cores always online - I think it has been covered already. You can activate that yourself in the Hotplug section :)

The 'built-in thread migration routines' is already disabled by dorimanx and if I'm not mistaken it's replaced with a more optimised system. If you take a look at the changelogs you'll see several "MERGED UPDATES TO CPU CODE".

dr87 used to have 2 cores active at all times with his SimpleKernel saying that it would save more battery having them running constantly than having cpu1 hotplugging. But I'm torn on that matter, since our hotplugs (Intelligent hotplug, MSM hotplug and Alucard Hotplug) are all very good hotplugs. I wish somebody like would thoroughly investigate that :)
[G2 Android Development] bloof:
http://xdaforums.com/showthread.php?p=58880406

I have been running and promoting aggressive governors + aggressive hotplugs (4 cores min is hyper aggressive) + underclocking as a way to get performance & powersaving at the same time.

In theory done right it should work. I have not tested 4 cores min though, only 2 cores min, plenty sufficient for me.
[G2 Android Development] maxwellz:
Sorry for posting here, but the QA thread wasnt helpful, how can I set a custom ntp? I tried with some app but it seems that after every reboot Stweaks sets it back to asia, thanks!
[G2 Android Development] ramabg:
There is an application called Antutu tester, used for battery testing for various condition. You can use that to know the different between always quad core but low freq vs often single core but high freq to power consumption under realistic usage. I just remember that there is a post, which compares 2 High freq vs 4 low freq. The result shows that 4 low freq has significant battery saving. http://xdaforums.com/showpost.php?p=58880461&postcount=6

Yup. Sorry I missed that part. It is actually some kind of quallcomm built in driver, but I do not really understand. In my newbie opinion, disabling a feature is should be easier than adding a new one.
[G2 Android Development] ibrakadabrax87:
4 core at same time...and battery???
[G2 Android Development] Formhault:
Can we please just stop this?!
[G2 Android Development] gozzaa:
9.9.9 is working well!

love the new hotplug behaviour :)
[G2 Android Development] dorimanx:
Set the gps ntp to default, then kernel will not touch it.

Sent from my LG-D802
[G2 Android Development] dorimanx:
One more clock... yes its can be done...

No idea what its will change...

Its off for unknown reason.

Sent from my LG-D802
[G2 Android Development] dorimanx:
Proven uneffective, cpu was always jumping higher, as freq was too low to handle the load... so its was off and forgotten.

Sent from my LG-D802
[G2 Android Development] zdravo:
Hi guys :)

[....]

edit2: oops, bad thread, sorry. You can help me in Q&A topic :)

edit3: and of course, thx to Dori for his kernel ! :cowboy:
[G2 Android Development] Formhault:
Okay. That's very weird.

I haven't had that happening to me since 6 months ago I think :eek:
[G2 Android Development] zdravo:
Sorry... i move my "problems" to Q&A thread... :) (too many windows ²²²)

See you there ^^
[G2 Android Development] dorimanx:
Beta Release.

To all BETA TESTERS, New BETA 9.9.10 is ONLINE in beta storage. for all Models and Types.

SUMMERY from 9.9.7 to 9.9.10

9.9.10:

*Added 499Mhz freq to enabled freqs. seems to work just fine.

*Added Left/Right channels gain control in STweaks for headphones

9.9.7 >> 9.9.9

*Moved all Sound Gain controls to STweaks.

Now we can select what app we want to use for sound control.

STweaks (by default) OR Faux Sound. WIN/WIN

*Merged many updates to sound driver code. including critical memory corruption fixes.

*Merged NET and Rmutex updates from Aurora.

*With help from NEO we now using screen ON/OFF notifiers to wake/suspend hotplug driver and cpufreq limiter.

this reduce small lag on screen wakeup, as hotplug wakeup super fast now.

*Merged fixes for in kernel Modem driver.

*Merged big update to power charger code from Aurora 3.5.y kernel.

This allow more control of charge by kernel, so battery not get any more power than 100%. so it's prolong battery life.

Also many code fixes and optimizations that may fix wakelocks and other strange stuff that we see in thread sometimes.

*Updated the Synapse app that included in kernel from google play.

*Allowed to kill CROND service.

*Merged updates to MEM code and to lowmemkiller debug code.

*Merged big update to GPU driver that allow to reduce RAM use by GPU without any effect.

This reducing lags with other things like disk I/O and RAM.

*Fixed GPU low freq stuck on high temp below allowed min freq and was crashing part of kernel.

PROFILES WILL RESET ON FIRST BOOT. (if you had profile backup, it's will be loaded with new changes)

Default music player is fixed, PA gain with faux app fixed.

Test all that possible. after few days it's will be new Public stable.
[G2 Android Development] Norside:
Whoa betas are coming incredible fast nowadays, exiting!

Edit: Working flawlessy so far, impressive sound! It is actually better than on my lenovo x240..great!:D 9.9.10 d802.
[G2 Android Development] Tinchoska:
[MENTION=2376110]dorimanx[/MENTION] downloading right now. By the way 9.9.9 has just awesome sound, and new sound settings are just great, speed is awesome battery I couldn't test it the way it has to be test so can't say anything about it, but I am having 23:xx battery hours and around 430 sot . So it's OK with 30%... I'll test new beta and let you know
[G2 Android Development] vPro97:
Omg! This is absolutely fantastic!

It's time to test it out with true stereo mod! It's going to be awesome if we can manage small speaker gain from dorimanx stweaks!

EDIT: I LOVE YOU DORIMANX! IT WORKS!

Edit: for those of you asking, here's the mod True stereo mod for LG G2
[G2 Android Development] masteril:
9.9.10 is super great so far dori you did it again :) ? great work!!
[G2 Android Development] madmax916sps:
All right here, no bugs or reboots here. And I will test the all cpus min 499200 khz setup. At the moment, all is instantly fast and battery looks normally. Nice sign :)

Thx dorimanx
[G2 Android Development] SPBoss:
Quick note about 499Mhz..

Just because someone said it consumes same power as 300Mhz doesn't mean it actually will. That is not how hardware works otherwise everyone would undervolt multiple frequencies to the same voltage.

I guess it can make the phone smoother and more power efficient but making it the minimum frequency instead of an additional will waste power.

New beta running smooth thanks dori :)
[G2 Android Development] oTeMpLo:
Ram speed is much slower than it was on 9.9.. sound is good now.
[G2 Android Development] Kemby13:
I doubt it, but nhf :) ... Is it visible in your everyday interaction or only in benchmarks?

Check your background apps and services, they can consume resources...
[G2 Android Development] krija:
Someone said it could consumes same or close to same power, theoretically. Reality could show something else. But i'm sure that theory = reality.

It's not about the hardware, it's about kernel. Hardware is nothing without "software".

You are right. Everybody can undervolt multiple frequencies, but i wrote about stock voltages. And stock is pretty safe for everyone. This is spirit of the dorimanx's kernel and his work.
[G2 Android Development] vPro97:
In actually torn about this. I'm not entirely sure you are right, do you have anything to back it up with? I'm not attacking you, I just really want to know whether it's true or not.

Remember that SOC manufacturers intentionally overvolt frequencies to make sure the SOC can run smoothly and without issues on that voltage across all SOC bins.

I'm looking forward to seeing whether it really drains more battery or not, but one thing is for sure - microstutter has been greatly reduced :)
[G2 Android Development] bloof:
It should consume about 60% more power, but that is very little compared to power consumed at higher frequencies, so in day to day operations it won't make much difference at all since everything is done at higher frequencies which consume a hell of a lot more.

If you want to test then test your idle battery consumption, everything else will be overshadowed by your higher frequencies.

Our maybe test video playback (same movie) for an hour or two since it is very benign power-wise.
[G2 Android Development] Kenepo:
People talking too much B $#!+ on this thread lately, dk what's going on.
[G2 Android Development] pitsgraft:
Hmmm

Talking bulls!*t...how come? Why is that?

this is development thread and as i been reading its developing for us LG G2 users (to some of us here G2 is still a piece of monster ) and most ppl here are contributing ideas, real live test reports and [MENTION=2376110]dorimanx[/MENTION] provided us with changes that are archiving better performance,sound,battery life FOR LG G2..

So no body/ no one is talking bull**** here...

Starts honoring and respects others...

Cheers,
[G2 Android Development] bloof:
http://xdaforums.com/showthread.php?p=58067918

Nobody forced you to read this thread, i am usually tolerant but not so much today.
[G2 Android Development] draskome:
Installed 9.9.10, moving from 9.9 stable. In both cases , profile is set to "Battery", and everything else is untouched.

Both versions are 100% stable, no issues at all with newest beta.

Battery consumption is very well balanced, and it's hard to see any difference in battery consumption. According to BBS, average consumption while in stand-by is a little bit under 0,5% per hour (greenify on,wifi off).

On 9.9.10 sound is considerably louder and almost perfectly clear with LG's QuadBeat2 headphones. But, with Sennheiser CX150 bass is to loud and somehow "plastic" with default sound settings. Anyhow, sound is really improved in this version!

Dorimanx, thank you so much for all the efforts and this magnificent kernel :)
[G2 Android Development] shaneel1491:
I'm sure you could use Viper4Android to fix the sound problems if needed?
[G2 Android Development] vPro97:
Dori, core0 doesn't stick on 499 MHz. After some time it goes back to 300 MHz on core0.
[G2 Android Development] nexus_vl:
Béta 10 seems great to me, no problems, very smooth, no lags.

Béta 9 got very hot during charging (1200mA). Now charging on béta 10, CPU: 55°C on wake.

Got me a 7h 7m SOT! :good: 4 cores online all the time!!

I noticed that min freq won't stick if set higher then 300MHz, they always reset to 300 after a while, not shure why or if it was present at previous versions.
[G2 Android Development] sheikhramnuj:
With the latest beta installed i'm enjoying listening to music [MENTION=2376110]dorimanx[/MENTION] sound gain control is the best! Also no issues or lags encountered. Thanks!
[G2 Android Development] krija:
Until now it's ok for me. Sticked on all cores.
[G2 Android Development] goran_oh:
All ok for me,Sticked on all cores online great job dori:)
[G2 Android Development] dorimanx:
Check cpu apps if you have that can mod freq, in kernel there is no one that touch min freq...

I will check it out some more.

Maybe its rom thermal driver... when reset freq after cooling, its maybe also reset min freq... test that after high temp, wait for lower than 55c and check if freq was reset.

Sent from my LG-D802
[G2 Android Development] vPro97:
I have absolutely no other cpu apps installed - and why would I :) stweaks gives me all I need and more. So no need to install a rubbish app that will conflict with stweaks.

I did the test - stressed cpu to 84 degrees and cooled it down to 49 degrees but it remained at 499. I'll test and report back.
[G2 Android Development] Djsam92:
Same thing happened to me, core0 minfreq went back to 300mhz from 499mhz.

Default profile, stock 20h rom, i only changed cores minfreq

Edit: now also core1 and core2 minfreq go back to 300 mhz

Edit 2: i decided to delete .dori and .synapse folder, rebooted my devices, after some time i opened synapse and core0 minfreq was 500mhz :confused: i checked on stweaks and core0 minfreq was set to 300mhz (default kernel config) then after some time core0 minfreq went back to 300mhz :confused:
[G2 Android Development] ndnesh:
Has anyone faced any network issues? I am seeing some connection issues where some of my calls are getting disconnected, after 30 seconds into the call I hear some static and then there isn't any audio from the speaker and the other party is unable to hear me. This started happening today afternoon. I am still unsure if this is due to the latest beta or if it has to do something with the network here. I will revert to 9.9.5 which was what I was on before this started
[G2 Android Development] djtiesto22:
For all guys with battery problem, please try to resset battery counter in Stweaks app, I found that after long time using dori + cloudy2.2 15% of juice is missing..

Now is so close to time when I bought it
[G2 Android Development] saspo59:
Get SOD black screen at end of incoming call

I am on last beta with 220h build
[G2 Android Development] Closed Force:
Bsods on 9.9.9 https://drive.google.com/file/d/0B0VI19YCAsqkaml6RDhKTllXN28/view?usp=sharing