yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] dorimanx:
To all BETA TESTERS:

Kernel 8.7.2 D800/1/2/3 Uploaded to BETA STORE:

*Major update to EXT4 Driver.

*Major update to FAT Driver.

*Update to DebugFS.

*Reverts to some commits for FS that can cause problems.

as they not exist in 3.7.y kernel(main line code) that i have made merges from to FS.

we had them from my 4.2 kernel. and then was the first SOD report.

now they gone.

*Merged many fixes to FS.

For me works good. deepsleep is WOW.

0% waste in 14 hours. it's was strange to see this... i dont know if it's possible... for real.

But test and see.
[G2 Android Development] samuele94:
Can I flash your beta???
[G2 Android Development] gozzaa:
Dude everyone with 802 model can flash it.
[G2 Android Development] rebar71:
Any beta love for D801? Pretty please?
[G2 Android Development] samuele94:
Thanks, I thought it was only for beta testers, I have installed the beta.
[G2 Android Development] philliedbz:
Would love to try some beta love on the d803
[G2 Android Development] dorimanx:
Uploaded beta 3.7.2 for D800/1/3

Sent from my LG-D802
[G2 Android Development] br0adband:
Pretty sure when Dori said:

the /1/2/3 part there is meant to be read as D800/D801/D802/D803 so so so... you lucky bastiges get to test the new stuff while us others with the other variant devices just stand by and watch.

This is just a big tease, I swear... ;)

That comment about the deep sleep (potential) improvements is really interesting, however. I do know that on my G2 (specs in the sig) using Dorimanx 8.7 gives me some really long periods of deep sleep where it'll "flat line" across the battery graph and not drop even a percentage point for 6+ hours. Freaked me out when I first saw it, figured it was just some glitch in the battery reporting code or whatever but, after several days of the ROM and kernel settling in somewhat it does that consistently now; BetterBatteryStats shows me it's in deep sleep a majority of the time so I'm damned happy with it either way. :D
[G2 Android Development] bloof:
For everyone actually about testing idle deepsleep:

Please make sure you do NOT start at 100% battery, anything else is fine but really, NOT 100%.

The battery stays at 100% much longer than on anything else.
[G2 Android Development] dorimanx:
6+ hours flat line, is not new. and real. with my kernel. :)

much work done to make it so,

but 14hours is a major improvement. i was in shock.... but need to test more.

it's was really strange.

-1ma in hour :)
[G2 Android Development] bloof:
[MENTION=2376110]dorimanx[/MENTION], do you have any special apps running to help? Such as Tasker to remove sync, or greenify (who doesn't use it?); is this with airplane mode for example?

I usually have 0.2-0.4% per hour with greenify and autostarts for selected apps, with WiFi/data ON and sync ON.

Thanks again for this great kernel :) I learned so much about how my machine actually works!
[G2 Android Development] je2854:
I have a charger that's 5.1V and 2.1a...

Can we have an option for a 10w charger?
[G2 Android Development] dorimanx:
greenify + apps auto start removed. (just for all that i dont want)

task killer pro. every 30min kill all junk that started. and i dont want it.

WIFI/DATA OFF by greenpower app.

GPS OFF.

performance profile, with hoplug suspend and max 1.7ghz on screen off.
[G2 Android Development] dorimanx:
hardware limit is 1600. i cant make it more.
[G2 Android Development] duki994:
http://www.digchip.com/datasheets/5479841-smb349-4-a-charger-ics-fast.html

smb349 can take 3.5A or 4A.

Is it our board limit or smb349 charger chip is programmed to 1.6A max?

You don't need to answer, I'm just curious :D

When I looked through fast charge code the thing puzzling me was that thermal mitigation was set to 1600 for all values from 1600ma to 2000ma, but I assumed what I'll write below :)

Anyway don't take more than 1600ma(even if it were possible to . Battery MAY BE able to take it, but it's not good for thin copper electrical connections. They will burn or be severly damaged if they conduct more current than capable. Don't ask Dori to make you burn your phone.
[G2 Android Development] ziociccio:
Superbe :)
[G2 Android Development] migueldbr:
task killer pro?I have read a lot of times that task killers should not be used on android right?do you see improvements when using it?
[G2 Android Development] dorimanx:
static struct input_current_ma_limit_entry icl_ma_table[] = {

{500, 0x0},

{900, 0x1},

{1000, 0x2},

{1100, 0x3},

{1200, 0x4},

{1300, 0x5},

{1500, 0x6},

{1600, 0x7},

{1700, 0x8},

{1800, 0x9},

{2000, 0xA},

{2200, 0xB},

{2400, 0xC},

{2500, 0xD},

{3000, 0xE},

{3500, 0xF},

};

So max driver can take is 3.5a

BUT:

look here

https://raw.githubusercontent.com/d...m8974-g2-open_com/msm8974-g2-open_com-pm.dtsi

i can set mitigation to 5000! and it's still will be limited to 1600.

and i will not change that. i will not brake my own rule, not to mess with STOCK hardware voltage. == Device Killer.

I dont want to be responsible for 15000 dead devices.

So keep calm and flash dorimanx. :) for dead device go to other kernel :)
[G2 Android Development] Norside:
8.7.2 First impressions: Its quick. Really quick.

First of all, the web sites flew away like silk and with NO stutter at all:good: Everything is working flawlessy out of the box with no changes, great job dori!

But I will update the post soon with battery stats and reports after a day or two! :)

Dorimanx's kernel is really a masterpiece, I think more people than just me would really like to know which phone you're going for next!

And I really appriciate your long term support, with (very!) frequent(!!) updates, new cool stuff and fixes for lg's somewhat messy stuff!

But for now on my FI is that 8.7.2 is your best work yet.

Amazing.
[G2 Android Development] dorimanx:
To add BETA Testers:

Beta 3.7.3 Is ONLINE for D800/1/2/3 F320 LS980.

*Merged critical fixes to:

Sound Driver.

Low Power Driver.

QsecCom Driver.

*Added more sample rates to Sound Policy

*Merged wakeup reason code, to monitor deepsleep.

*Merged fix for ROOT access in dynamic group migration (from 3.10.y)

*Merged NET updates

*Merged USB update.

Changes in 3.7.2 (are in 3.7.3)

*Major update to EXT4 Driver.

*Major update to FAT Driver.

*Update to DebugFS.

*Reverts to some commits for FS that can cause problems.

as they not exist in 3.7.y kernel(main line code) that i have made merges from to FS.

we had them from my 4.2 kernel. and then was the first SOD report.

now they gone.

*Merged many fixes to FS.

Need to TEST:

Stability

Sound

Deepsleep

Wakeup

Net

USB

PERSONAL REQUEST:

People! add your device model to your signature.

I need this info to know WHO is reporting the post. your nick is not helping me.

Have fun :)

VS980 will have to wait for release build.

Thanks to some people.
[G2 Android Development] dorimanx:
Filesystem is the hearth of speed! not just CPU.

Yes i see improvement in I/O access. and that give us fast response in every thing :)

with less stress to CPU.

code update was +6000 code lines

it's not some tuning :)
[G2 Android Development] dorimanx:
Crap info. we dont need to wait for ROM/Kernel to kill apps that sit in ram and do nothing, just wasting power.

once in 30min, it's just fine, if you will set every 5min, you will lose power as you read about...
[G2 Android Development] Norside:
Whoa thats what I thought when I saw the changelog and "codename" x.x.2

I think you are one of the most dedicated kernel devs on xda, 6000 code lines? Thats defintly not fine tuning :P I'm impressed about all areas you manage to improve over and over again (mostly):angel:
[G2 Android Development] dorimanx:
321 commits added in GIT from 8.7 kernel to Beta 3.7.3 :)

days/nights of work. :D
[G2 Android Development] Norside:
Pure awesomness:D You're indeed a hard worker...:) however this only confirms that kernel development is hard and complex stuff..ain't easy to learn how to tweak/develop it :p

Btw 2 releases on 1 day...now thats what I call lightning fast updates..
[G2 Android Development] iall5tar:
This is insane!!! xD

Are you a machine??? seems soo... =)

HUGE appreciation of your work! and all what have you done!

Cheers!
[G2 Android Development] merikgvr4:
DorimanX updated to 8.7.2 running d800 and optimus g3. When i open stweaks i cant change any settings. I'm out right now. Will update to 8.7.3 when I get home.
[G2 Android Development] bender_007:
[MENTION=2376110]dorimanx[/MENTION]

a very mild OT. What I've found on my hdd, looking for kernels.

Familiar ? :)

Just to remember some good times.:good:
[G2 Android Development] duki994:
I fully agree with you on hardware matter.

I wouldn't try 3.5A charge even if battery was 4500mAh. It's stressfull for lithium ions. Too much can lead in oxidation and battery life decreased to 1/4 (less of a problem) or explosion (burns of 3rd degree on skin)

Copper electrical connections that connect to our battery are not able to take more than ~1.8A-2.0A (by looking at their sheer size).

If I was building kernel for battery life, no more that 1.2A (1.6A max bursts would be allowed). No more.

8.7.2 working very good. No bugs. Deepsleep is abnormally GOOD

No reason to change to f2fs (this is aimed for those who want to).
[G2 Android Development] ibrakadabrax87:
Which task killer pro?
[G2 Android Development] dorimanx:
Advanced task manager pro.

Sent from my LG-D802
[G2 Android Development] dorimanx:
My father use my old htc hd2 in car for gps only :)

Still with my rom and kernel :)

Sent from my LG-D802
[G2 Android Development] leos0000:
Can i have link for 3.7 please
[G2 Android Development] Tinchoska:
Dori, bug here, flash kernel, reboot wait till screen turn off when I doble tap to wake it up BOOM phone turn off.... Here's log

Pardus classic, Ondemand plus 1.7 Alucard hotplug suspend.....

https://mega.co.nz/#!Hdc3RZRI!9qyl_9LnQdqba4YsXmIExrRbtSfoeBS-DOwXyuytA20
[G2 Android Development] g.paganini:
Thanks, beta 8.7.3 works like a charm....
[G2 Android Development] berryman13:
[MENTION=2376110]dorimanx[/MENTION] I am really confused by the recent github commits, what I'd the latest development branch? dev-fs-not-ready?
[G2 Android Development] dorimanx:
To all beta testers.

Replace the audio_policy.conf in 8.7.3 to one from 8.7 kernel, and flash. To replace in system.

Or replace manually.

Its cause reboot on deepleep.

I will fix it later, something about too many sample rates.

If your rom not rebooting, then ok.

No need to do anything.

Pardus rom crash, for me.

Sent from my LG-D802
[G2 Android Development] Tinchoska:
I was just going to give you another log I got a reboot. Will do that

---------- Post added at 10:29 PM ---------- Previous post was at 10:27 PM ----------

The audio_policy has to be from 8.7 or from beta 8.7.2 too? And where it goes?
[G2 Android Development] berryman13:
Dorimanx is Dev fs not ready the most updated branch or was LG stock updated as well? I'm trying to get a D800 beta build started
[G2 Android Development] cybernetus:
Copy the audio_police.conf file from the system/etc of the zip of the 8.7 kernel and put on your /system/etc folder of your rom

The file needs to have the 0755 permissions

The owner needs to be the root ( uid 0) and group system (1000)
[G2 Android Development] Tinchoska:
[MENTION=2376110]dorimanx[/MENTION] again, with same conditions but now changed the audio_policy, I took the 8.7 one.... And found it two times turn off.... Reboot and it turn off itself...

https://mega.co.nz/#!vRsHHIYC!uq6RNSg8GB5L_CCynidebryz6Du354_7iSWsajYmPpA
[G2 Android Development] leald:
Random reboot after audio policy conf change. :( [MENTION=2376110]dorimanx[/MENTION]
[G2 Android Development] philliedbz:
Im on cloudy g3 no reboots and i did change the audiopolicy file gave it permission to rw-r-r. And havent had a random reboot yet
[G2 Android Development] leald:
Just changed CPU governers and max screen off to max allowed and all is well again it seems. Strange. I was using alucard, alucard, ondemand, ondemand. Now all are ondemand
[G2 Android Development] philliedbz:
Im using alucard alucard ondemand plus ondemand plus screen off to the same frequency as extreme battery saver profile and no reboot yet weird xD
[G2 Android Development] rootlinux:
Just jumped to 8.7 after two days of sod on 8.6. Not sure why as it had no issues before the last few days. It would not wake up in the AM after charging all night. Maybe something to do with alarm. When the alarm was set it always woke fine. Past two days with no alarm set it didn't wake. Maybe the alarm force woke it? Anyways, testing 8.7 now.
[G2 Android Development] samuele94:
awesome, I always lost 7-8% every night, zero wakelock!

Stock 20G and dorimanx 8.7.2
[G2 Android Development] dorimanx:
I will work on beta later today, for now use 8.7.2 or 1 if no build for your device use 8.7 or any you like.

Seem audio policy is not only one problem.

Sent from my LG-D802
[G2 Android Development] bloof:
Please don't test at 100% battery.
[G2 Android Development] samuele94:
I always left the g2 to 100% and in the morning was at 93-92%. I still test it with other percentages
[G2 Android Development] njstein:
Damit! A few ruin it for all. I have patience, though. Look forward to the new build!
[G2 Android Development] philliedbz:
Weird at work 0 random reboots, got home and random reboots on the way home and at home with audio policy changed oh well flashed 8.7.2 again
[G2 Android Development] boyheadkick:
Only had one random reboot so far, right after i showered and entered my room i noticed the phone reboot..i changed the audio_policy.conf and no reboots so far

Edit: right after posting i get 2 random reboots..wew..reverted to 8.7.2

Sent from my LG-D802
[G2 Android Development] cybernetus:
One random reboot after the change of the audio_police.conf

On 8.7.2 now
[G2 Android Development] Formhault:
The Snapdragon 800 inside our G2's has Qualcomm's Quick Charge 2.0, which allows up to 15W of input power (5V~3A) to charge. In comparison, Quick Charge 1.0 (Snapdragon 600, 410 etc.) only allows up to 10W of input power (5V~2A).

I guess that's from where you know our chipset can take 3.5A / 4A.

Funnily enough, Qualcomm states on their website that the Snapdragon 400 is Quick Charge 2.0-enabled. But my girlfriend's S4 Mini (S400) doesn't even charge at full 2 amps, so... :confused:

I think the only real implementation of QC 2.0 is in the Note 4 at the moment. If you put Oppo's VOOC charger aside, of course.

So... we should be happy with up to 2 ampers of current for now. It's enough :D .
[G2 Android Development] goran_oh:
Hm no reboot on 8.7.2 for my,I dont change audio_police.conf,work great for now.
[G2 Android Development] Tinchoska:
You've set permissions wrong.... It has to be thus way

---------- Post added at 07:30 AM ---------- Previous post was at 07:28 AM ----------

Guys, it's not necessary to report random reboots on beta 3,dori said one page back to revert to beta 2 if you have that beta or to last release that works for you
[G2 Android Development] briketica:
I am using HTC hd2 with your kernel and rom as my back up phone. When i saw that you started development of lg g2 karnel was one of the reasons for me to choose lg g2
[G2 Android Development] Nabuco76:
8.7.3 works fluent d802- pardus black sensation but do not update supersu to 2.19, back to 2.17. Needed to use root cleaner apk just to clean up updated binaries issue ?
[G2 Android Development] cybernetus:
We need this on 8.7.3
[G2 Android Development] Garfield3333:
Can anyone help with f2fs .....? (TWRP 2.8.1.1)

A little tutorial.....?

THX
[G2 Android Development] dorimanx:
To all BETA testers. BETA 3.7.4 for D800/1/2/3 F320 LS980

Is Online.

*Removed wakeup source reason code, we have something close to this by LG.

and they cant work toghether. it's was for debug, not needed for anything else.

now all OK, no reboots.

*Audio policy it OK. no need change.

Request to Moderators:

Please DO NOT delete beta change logs by me, even if beta is broken.

i will update my testers if it's best not to use it.

i need the change logs when i fix things. now i need to write it again.

Thanks.
[G2 Android Development] sancho55:
On D802 with CloudyG3 1.3 . Running stock settings from latest kernel update. No restarts so far whole day, didn't do any permission changes.

Not sure if it's kernel related tho, but is there a way to reduce battery consumption while using 4G/LTE? Its getting destroyed literally (screen off)..
[G2 Android Development] rogconnect:
deleted
[G2 Android Development] merlin21:
[MENTION=3331309]rogconnect[/MENTION]

only you know this (Beta extensions don't appear in info)

what you have flashed!

Please go to QA thread (clickable link on bottom of each last post here!) if posting non development relevant informations. Thx
[G2 Android Development] yehison:
My LG g2 whit kernel 8.7 it's best. ..

During in the sleep the life battery that's good. ...

Thanks dori
[G2 Android Development] berryman13:
[MENTION=2376110]dorimanx[/MENTION], even though 8.7.4 latest beta is built for D800 I still wish to maintain it in the long run if you don't plan on building it as frequently as the versions you have...thanks a lot, I came here to post a link to mine but you already released it! :D
[G2 Android Development] Tinchoska:
Until now, deep sleep it's not giving good results... I'm on latest beta.... Anyone having good battery results?
[G2 Android Development] 0xetrov1:
Okay, so After some time of testing here is the result:

ROM: OPTIMUS-G3 v.1.4.1 (Running on ART)

Device: D802

Governor: OnDemand (all 4 cores)

Hotplug: MSM

*I Don't use Greenify or task-killer or related apps.

Dorimanx 8.7 (31/10)

Sound quality was very good

Deep sleep was very good but it drained about 7-8% at nights

Some WiFi problems, sometimes it disconnected from WiFi by itself.

as mentioned above, I don't use alucard hotplug nor alucard governor. (it didn't give me good performance-sometimes SODs too in previous-releases :| )

Dorimanx 8.7.1

This one was the beast, it was very good, but drained a lot of battery (don't know why)

Sound was very good too.

That WiFi issues were gone, WiFi was very stable (like before 8.7 update)

performance was like always (at least I didn't notice anything special) -- Performance was/is always outstanding for me.

Dorimanx 8.7.2

WOW, seriously this fixed the draining problem for me

last night it slept for (I think-don't remember exactly) for 8/9 hours, and I lost 2%, from 100% to 98% this was something that I haven't seen in my life.

sound is very good.

performance like always, very good.

I remember that dori mentioned in one of his post that we should have done something with audio-policy (or something like that) and, he stated in his post that this cause some issue, I didn't do what Dorimanx said, because didn't have anytime, just flashed the kernel and left home, I was about 6/7 hours out, and no problem at all, I've listened to music for 2/3 hours, talked, used mobile data, and WiFi too, but no problem at all, everything was outstanding, like always.

Can't say anything about the deep sleep, but will try to report tomorrow.

* I should mention this, that I didn't have even one single SOD (testing these 3 releases) (No SODs at all)
[G2 Android Development] johnbeetee:
No problems here on deepsleep on 8.7.4...

Something may be stuck and keeping the system awake ; you need to try and find what is draining more than normal (Gsam is a good start)
[G2 Android Development] luv2increase:
Is there any way to get vs980 too? Would love to help
[G2 Android Development] klemenSLO:
SOD D802

I'm on worship v8 and was testing dori's 8.7.2 beta. I heard calendar alarm so i tried to wake to phone - but with no success. I had to reboot it. Led was blinking for alarm but couldt turn phone-screen on. Log is attached. I saw there was already new beta version and couldn't resist :)
[G2 Android Development] vPro97:
Dorimanx and us beta testers when reporting SODS ;)

http://m.9gag.com/gag/aMbdpVM
[G2 Android Development] pitbullmommy45245:
delete this i didnt mean to out my question here sorry
[G2 Android Development] schwem:
Ever since I started using dorimanx on cloudy G3 at least once a day my front led will blink fairly fast and my screen will not wake! Is this common or have I done something wrong? All gpus set aucard as well as hotplug. Extreme battery profile set and screen off freq set to lowest value! Anything else I need to do?
[G2 Android Development] merlin21:
[MENTION=4486611]klemenSLO[/MENTION]

Just for statistic which supersu version do you use?
[G2 Android Development] klemenSLO:
Hm. Before installing worship Rom I had v17 beta.than I forgot To flash supersu again. Now I checked. And supersu icon was missing. So I reflashed v17. maybe that was the reason....
[G2 Android Development] pitbullmommy45245:
I just experianced a sod. it had been sitting for about a half hour and i couldn't get the screen to turn back on. the led was working though. I had to restart the phone to get it to turn back on. I just flashed this a while ago and i'm on cloudy's g3 rom. i have the d801 version. are there any fixes for this? i did have it on the extreme battery tweak as well. i just went back to the battery tweak so hopefully thats what it was.
[G2 Android Development] Diechel:
....

Logs?

Which version supersu

And so on, with this dori has no information
[G2 Android Development] pitbullmommy45245:
im sorry im a noob. how do i give logs
[G2 Android Development] Diechel:
First by using search on this topic/forum.

Second by going to stweaks - kernel stuff - kernel debug. File will be placed on root of sdcard and you need to upload to xda in your post.
[G2 Android Development] berryman13:
please do not submit any bugs without some logs in a zip file (search how to take a logcat), do so after a crash and post it here. Otherwise, you just get responses like this
[G2 Android Development] duki994:
https://app.box.com/s/27hy9az8dpeat6kpu01c

Two SODs. Found a way to reproduce them. Also found a way to recover from SOD without reboot :) Will tell you in the afternoon/evening when I get home.

You have two logs here.

Don't look for last kmsg because I didn't reboot from yesterday (hooray :D).

dmesg fail is very intetesting, about some suspend/wakeup failures and touch function get data fail.
[G2 Android Development] dorimanx:
Waiting for info.

Sent from my LG-D802
[G2 Android Development] samuele94:
has appeared after enabling fast dormancy, I did just log I noticed. I use 20g and dorimanx 8.7.4 supersu 2:16
[G2 Android Development] goran_oh:
On 8.7.4 after one day all ok,supersu 2.19
[G2 Android Development] Trident:
Had my first sod since installing 8.7 last week. As it used to be, it was while charging last night.

https://docs.google.com/file/d/0B2KlLB6tsRVKUlpzUzRHOFo5X2s/edit?usp=docslist_api
[G2 Android Development] pitbullmommy45245:
ok im sorry i wasnt aware of this. i didnt get a sod this morning so i think im good. if i get another one ill post the log. i think it might of been bc i had the extreme battery tweak on. thanks
[G2 Android Development] samuele94:
dorimanx I apologize to you. The problem of deep sleep is caused only by the operator that does not support fast dormancy and creates alarm at burst and that LGE CHARGING Scenario (absurd but true) .When I remove the fast dormancy it all comes back to work for good. Infinite excuses dorimanx
[G2 Android Development] replyme:
What is quick wakeup exactly? [MENTION=2376110]dorimanx[/MENTION]
[G2 Android Development] runekock:
Hang while typing. Screen still on, but no reaction, had to force a reboot.

8.7.2 on D802.

https://www.dropbox.com/s/37ts5zq6crmrqdx/dorimanx_debug.zip?dl=0

Log says something about ocmem allocation failure. I wonder what ocmem is...
[G2 Android Development] rebar71:
just a quick note to say I have not experienced any issues with 8.7.4 beta.
[G2 Android Development] djtiesto22:
Slow battery charging on lastest 8.7.4 and 8.7.2 and some weird info in battery settings about time need to full charge ?? Cloudyg3 2.0, Stweak default settings... Thanks