yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] StormIceX:
How good is the battery life compared to stock kernel?

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] dannycellestio:
flashed stock 30b kernel, settings are working. flashed your kernel back, again not working, doesn't matter if 1.1 or 1.2

it's so confusing..
[G2 Android Development] vladmir:
I'm still fully stock(did a factory resert after update to d80230a) but I also noted frezzes on Google chrome!

Enviado do meu LG-D802 através de Tapatalk
[G2 Android Development] Fahad_ahmad:
I have 30e lollipop.. root and recovery by [MENTION=4008653]somboons[/MENTION] method.. flashed bc kernel...

now do i have to just flash this kernel straightaway or have to change bootloader or anything else to flash this dorimanx kernel ????
[G2 Android Development] Led Zeppelin:
just flash :) if u dont like flash 30b/e kernel or BC kernel again...
[G2 Android Development] Enc0der:
Finally I can jump the LP ship!

Any recommended and supported LP ROMs ?

Does it support only the original LG LP ROM for now, or are there any other supported LP ROMs out there?
[G2 Android Development] berryman13:
[MENTION=2376110]dorimanx[/MENTION], I would be very pleased to help you port this to both 5.1(.) and to D800, and other variants. I've been waiting for the day your kernel came to lollipop for so long, thank you very much. :o
[G2 Android Development] Diechel:
[MENTION=2376110]dorimanx[/MENTION], are you going to upload the LP versions also to the shine mirror.

Now the shine mirror does not work with OTA and LP.
[G2 Android Development] DerSpatz:
Audio quality is bad with "PA gain unlocked". Volume is pumping and goes up and down. Last time I had this problem when I was on a G3 ported Rom on KK. With CloudyFlex all was fine.
[G2 Android Development] dorimanx:
perfect! thanks for report :)
[G2 Android Development] bloof:
About installing xposed:

Just for spoonfeeding people (and anticipating these questions).

If you want to freeze the 4 system apps with titanium they are:

LGsmartcover

Weathet

Weather Theme

WeatherPlatform

==================================================================================================

For viper4android buildprop edit, you can use ROMtoolbox(pro), it has a dedicated build.prop editor (you can do text editor in it to copy paste the additional lines).
[G2 Android Development] dorimanx:
set settings to LIST mode, when using STOCK kernel.

then when you install my, all will be OK.

i dont have idea what is doing that...

maybe selinux in permissive, or ro.secure=0 for rooted adb... i am not sure...
[G2 Android Development] dorimanx:
yes i will set it up too... later... need to sleep, it's 4:30AM now... :)
[G2 Android Development] dorimanx:
seems like LP dont like PA gain change... same for me, just set it locked. and reboot to clear the sound mess...

later i will try to see if i can do anything to fix that. this is HACK, it's was not meant to be used... so if with LP its dead,

then i will remove this option... but i will try to fix first.
[G2 Android Development] DerSpatz:
I have already locked PA gain again.

Instead it seems like HeadPhone gain is very tolerant. I pushed both R and L to +10 without sound quality decreasing.

I'm a bit into audio stuff, and from my experience, the power amplifier sounds like it does not have sufficient power. The volume drops after a lot of energy (bass) is released and the next peak in volume is after a bit of music with less energy (bass), in which the power amplifier could "recharge". This results in pumping, distorted sound.

Maybe LG changed the voltage for the power amplifier, or reduced its power consumption in some other way. But that's just an idea...
[G2 Android Development] Sameer_Ahmed:
Will u make for f320..?
[G2 Android Development] GalaxyGusta:
Synapse won't let me edit and setting... It only let me see the status tab
[G2 Android Development] TMG1961:
On 3.2 at the moment with 30b from somboon. Only thing i noticed is that i dont get any info about remaining battery time..it keeps saying calculating but never gives a time. Also the percentage of remaining battery stays at the same level, it doesnt drop. No idea if its kernel related but thought i mention it.
[G2 Android Development] sjk971005:
Thanks for your continuous care, Dorimanx.

I just flashed 3.2 on my D800 and either my sim wasn't detected or I got no signal at all (had the x above the signal bar).

I wiped Dalvik Cache before flashing and even tried flashing the lollipop modem afterwards because it wasn't working.

Reverted back to 2.9 and my signal is back.

Thanks
[G2 Android Development] iko11:
Could you explain the freq change parts more clearly I couldn't undertand :)
[G2 Android Development] n@vier:
First partial battery stats (kernel v3.2):

-WiFi always on

-Data always on

-Everything in push (i.e. mails notifications etc.)

-Use low-middle (web, chat, mails)

Seems great! :good:

Ps: performance profile (settings default)
[G2 Android Development] dorimanx:
hmm. what can i say. cool. no logs no problems.

use what works for you.
[G2 Android Development] renzo090513:
Waiting for this. :good:

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] thevinh.btr:
[MENTION=2376110]dorimanx[/MENTION] Thanks for your hardwork ^^

7EC914287T0142018
[G2 Android Development] merlin21:
No problems with 3.2 - d802 stock 30b.

Its working great and i think i can go on testing other settings as default. Power consumption is still a little bit higher as it was with kk. Have a sot from 4-5h with default settings and browsing - tappatalking ☕
[G2 Android Development] d_Schizzo:
Do you have extremebeats installed? I have and i noticed that "dolbymobileaudioeffectservice" under system/app had wrong permissions and the app wasnt installed. After setting permissions and installing manually the sound artefacts are gone.

Hope this helps you!;)

Regards,

Schizzo
[G2 Android Development] mannequin:
no, i don't have anything of that kind installed. the artifacts happen on stock if you have a totally brand new system and with every media producing app, basically anything that produces sound will give you artifacts if you leave only 1 core online. this LP issue is being discussed for all devices using older Qualcomm CPUs pretty much.
[G2 Android Development] Nigglenuts:
First time in a long time I've gotten over 5h SOT.. 3.2 is solid as a rock. Thanks dori :D
[G2 Android Development] Dick Gordon:
Reboot. G2 d802 32gb, lp, dori 3.2

Написан с LG-D802. Работает на XDA Forums
[G2 Android Development] g.paganini:
3.2 works like a clock... Everything is smooth, snappy and great on default settings.... Currently at 50% battery, 3h34min screen on time, Tapatalk, viber, messenger, Facebook, browsing etc. Excellent work!
[G2 Android Development] dorimanx:
Thanks for support :)

Kernel patch 3.4.108 is out, i will merge and release new build in next days.

Sent from my LG-D802
[G2 Android Development] dorimanx:
Apps watchdog stuck again and rebooted kernel because its stuck.

I will create by pass in driver not to panic if driver it self stuck, just ignore and keep working.

Till real problem happen.

I hope we will not start to see stuck device reports...

thanks for usefull report.

Sent from my LG-D802
[G2 Android Development] dannycellestio:
[MENTION=2376110]dorimanx[/MENTION] 3.2 is far the best at this moment. since 2.7 or so, I think, I started to test ultra performance profile combos, which means everything on max, all cpus on performance, max freq, gpu min max 650 with performance, and so on.. I think you got the idea about the kind of profile I'm talking about. And all I can say is that 3-3.5 h of SOT, a total battery time of 15 h (deep sleep ftw) and the max temp I monitorized (I do a lot of monitorizing on my phone) was 67 °C.. no words. You are the only one that gives true life to our phone. I think your G2 project is getting at the same level of fame as your S2 project (which I followed and used the kernel too), if not, it's even bigger. big :thumbup::thumbup:
[G2 Android Development] LeoPosas:
Confirmed.

No more random reboots for me, More than 1 hour sleeping, everything fine.

[MENTION=2376110]dorimanx[/MENTION] you're the king of G2
[G2 Android Development] renzo090513:
I had a reboot when i was unlocking my phone. I dont have logs cause it was 1 in 2 days so it doesnt matter. Thanks for the hard work.

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] RainGater:
If it doesn't matter, then what's the purpose of saying that you had a reboot?

Even if it's only ONE reboot in 2 days, wouldn't it make sense to provide the kernel_log so that Dori can make it P-E-R-F-E-C-T even if it's at 99.9999% now?

He is already cooking up a delicious Kernel with Adreno Idler code + Kernel 3.4.108 and any report he gets is only going to elevate it to the best there is, IMHO!
[G2 Android Development] renzo090513:
Yeah you are right, my bad :(. If I had another i will do it.

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] n@vier:
End of test battery drain

Wifi always on

Data always on

Everything in push

Backlight auto 65%

17h +

7h+ display

Performance profile (default)

Awesome!
[G2 Android Development] Lizzacore:
Phone gets with every gov and every profil leggy :/

I don't know what I can do now :/

Log :

https://drive.google.com/file/d/0B6SRUgJRLeB6dTEyQm9COVRtMmM/edit?usp=docslist_api

Sendet from my LG-D802 with Tapatalk!
[G2 Android Development] dorimanx:
Back to KK LP is leggy.

What i should do with your logs if your device leggy?

I will also answer, nothing.

Sent from my LG-D802
[G2 Android Development] Lizzacore:
Oh that's ****ed up but 3.0 wasn't leggy :/

Idk what's wrong with my device :(

Sendet from my LG-D802 with Tapatalk!
[G2 Android Development] Diechel:
No leg here, only a few arms and dead body's. (sarcasm off)
[G2 Android Development] tsjanda:
Try spell check? Just saying.
[G2 Android Development] wisefreakz:
Poor Sheldon...
[G2 Android Development] Lizzacore:
Tried to delete .dori folder and cleaning cache now everything is fine with on-demand.

Sendet from my LG-D802 with Tapatalk!
[G2 Android Development] dorimanx:
Till next time right? This is dev thread.

Use Q&A please.

Sent from my LG-D802
[G2 Android Development] littlejonny17:
my rom is cloudy g2 3.1 (LP) and I think the phone has JB bootloader. How can I upgrade it in order to flash this kernel?
[G2 Android Development] dosek15:
i cant install dorimanx on my LS980 always enter in a bootloop
[G2 Android Development] ChaosLord88:
Flashing D802 patch from this guide should help:

http://xdaforums.com/lg-g2/development-d802/guide-how-to-install-cloudyg2-3-1-d802-t3137055
[G2 Android Development] RainGater:
Well, if your device is already on Cloudy 3.1 (L 5.02.), then you have KK bootloader. All you have to do is flash the kernel in recovery and enjoy the awesomeness!
[G2 Android Development] gozzaa:
lol, all i can think of is this: https://www.youtube.com/watch?v=FCub8r1T5Rs

xD

beside this:

3.2 is running good, i switched min cores online to 2 cores always since you said it doesnt really matter batterywise

is very smooth and i also ditched chrome out for Habit Browser since i had reboots when using chrome

so everything awesome now!

looking forward to that magical powersaving code in next release :D
[G2 Android Development] dorimanx:
Hahahaha!

Leggy leggy leggy leggy, leggy leggy blond hahahahaha...

You made my morning!

Now i can install new checkpoint fw at customer site smiling all day.

Sent from my LG-D802
[G2 Android Development] Salvi1982:
Please add F320 support ... please I really want to try this kernel on my LP device! Anyone have the answer? How can I help to add this device support?

Thx always for this kernel development!
[G2 Android Development] DerSpatz:
Really????

1. You asked that before...

2. Don't ask for ETA!

3. Dorimanx answered that question multiple times: F320 kernel is very different from the others, and he will not put that much effort into a device he doesn't own.

4. You already asked before, ignored the answers and ask again now. Do you really think annoying Dori in his development thread will help you or us? Hint: NO.

So: Really????
[G2 Android Development] sirdragon:
Hi, when I try to flash the 3.2 kernel, something goes wrong, it says "zip file is corrupted"... I downloaded the kernel 10 times and I got the same error. With 3.1 was all ok. Any suggestions? (recovery bumped 2.8.6.1)
[G2 Android Development] d_Schizzo:
Check md5 of the file before flash
[G2 Android Development] sirdragon:
It's correct...
[G2 Android Development] renzo090513:
Download the zip file from another browser and open it with rar before flashing it.

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] RainGater:
Since you are saying MD5 matches, it's bizzare. Open the zip and see whether boot.img has 13,686,800 bytes.

Problem with your recovery? TWRP 2.8.6.3 is the latest and please update it and give it a swirl.
[G2 Android Development] Salvi1982:
Clap clap clap... Thx for your precious & constructive answer!

I'm simple ready to help the F320 development if anyone want this help, unfortunately I haven't the right skills to develop it directly, but I'm ready to give a contribute.

So if anyone is interested simply ask.
[G2 Android Development] sirdragon:
Updated, it works! Thanks [emoji1]
[G2 Android Development] ramabg:
If you really want to help, start by reading tutorial about how to build and tweak kernel in tutorial section, not in this development section. This is not place to learn about building kernel. Your BS readiness is as meaningless as your post. No wonder Dori ignore you.
[G2 Android Development] merlin21:
uhhhhmmm...

[MENTION=4226577]ramabg[/MENTION]

I believe that IS the thread to learn from dorimanx. He always was glad to hear someone is interested in building kernel. Don't be rude. It's the spirit of linux ?

So be thankful someone cares about the device you use with joy. Sorry for ot.
[G2 Android Development] littlejonny17:
Ok, I have already done that. I asked in other thread how to know g2's bootloader and someone said to check the button combination to enter recovery. If its vol - and power I have JB, if its vol - and vol + its KK. And it entered recovery only with vol - and power.

So, with the somboons patch alone the g2 is prepared to flash the kernel?
[G2 Android Development] n@vier:
With fast charge I noticed that g2 becomes hot. My question: can ruin battery or it always safe (set default manual 1600 mA) ?

Thanks in advance
[G2 Android Development] aleasto:
TL;DR version: Phone can't handle background apps on screen off even with 3 cores online.

Detailed version:

I'm having problems using Runtastic and Spotify on background when screen is off. Before 3.2 update it was really a mess, it kept crashing my phone. Now that we have 3cpus online it seems the situation got better, but the phone is still very slow, it takes seconds to wakeup and it's all laggy at first. Today it hanged my phone after 10 minutes running (music was still being played ._. ), i had to force reboot.

I'm not quite sure what's happening because 3 cores should be definitly enough! I've also tried checking Dorimanx app to see if there was something to tweak and i found the clock speed on screen off was limited to 1.9ghz, but still, it should be more than enough!

Also in the app, right in that setting, MAX SUSPENDED FREQUENCY, it still says that it only tweaks cpu0 because it's the only one working: is it an oversight?

Thanks dori for the hard work, hope you can help!

Inviato dal mio LG-D802 con XDA Forums
[G2 Android Development] Tinchoska:
I had it since first day

...... I don't why kernel does that I think it has nothing to with signal....

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] Izy:
Weird mine never has and i have it set to 1800mah which is was the original output of charger and kernel before dori chanhed the default. Maybe something making you wakelock hard on charge
[G2 Android Development] dorimanx:
When battery is low, and charger is strong, kernel allow max set charge.

And battery charged fast, when there is fast charge, battery heating up.

But stay in allowed limit. Max 55c but its in 40-50 range.

Should be fine.

Uou can reduce to 1200, for tests, on coold battery. To compare heat reading.

Sent from my LG-D802
[G2 Android Development] dorimanx:
As far as o know its locks core0 freq, and allow others to have there set max.

Set higher freq to overcome this problem.

Or use less heavy apps

Or make sure other not needed apps not in ram all the time, and auto start all day long

Sent from my LG-D802
[G2 Android Development] n@vier:
Test charge, from 20% to 100%, with fast charge on (default 1200 mA) works perfect! Bettery's temps less than 40°C (35°C-37°C) and full charge in 105 mins.

Thanks! :good:

PS: Keep calm, Dorimanx simply the best! ;)
[G2 Android Development] Lizzacore:
Today something crazy happend, first system ui stoped working and I have to force close it after a few minutes fully working phone the system reboots random after unlocking the phone :/

Here the log, I hope it helps :

https://drive.google.com/file/d/0B6SRUgJRLeB6VjhuQzlFYWdOQms/edit?usp=docslist_api

Cheers

Sendet from my LG-D802 with Tapatalk!

---------- Post added at 01:16 PM ---------- Previous post was at 01:11 PM ----------

Sorry forgot :

Rom : 30b 16 GB

Kernel: 3.2

Hardware rev: 1.0

Sendet from my LG-D802 with Tapatalk!
[G2 Android Development] dorimanx:
News Update.

Kernel 3.3

24/06/15

*Merged patch 3.4.108 and lost patches 3.4.0->1

*Merged Adreno Idler that save power by quick drop GPU to idle if no load on GPU.

This will save power when screen is ON and OFF

*Fixed App WatchDog to stop rebooting kernel when his own IRQ stop responding

as kernel busy with other things... then it's respond again.

But watchdog think that system is frozen, and order REBOOT. now will order reboot

on REAL bugs only. not on it's self.

*Merged fix for WIFI/NET code checks.

*Merged fix for VFP cpu on/off code.

*Merged updates to android ashmem code that allocate ram for ROM needs.

*Cleaned BOOT scripts from possible boot fail triggers! and some other ramdisk mess.

Have fun, and let me know how it's works! should be very good!

Works for me just fine.

minimized possible reboots by kernel, now only real not found yet bugs can reboot kernel.

But with logs i will find them :)
[G2 Android Development] sjk971005:
[MENTION=2376110]dorimanx[/MENTION]

I posted earlier about a network problem.

Sorry for not including a log, I was rushing to get signal back and had forgotten about getting one when posting here(never had to get one on your amazing kernel so I forgot). I thought it could have been a D800 problem.

Anyhow, for some reason, I reflashed your 3.2 kernel to get a log.

Surprisingly, it works fine and I have signal again :)

Must have been a random weird flash before.

Thanks for your hard work, I had a chance to use a Z3 but I just can't leave the G2 because of your kernel.
[G2 Android Development] iko11:
Unfortunately I had 3 reboots in 10 minutes let's see if log helps

Using v3.3

Edit: I gave you another log I have to go back to 3.2 I can't use the phone with all DEFAULT settings.

https://drive.google.com/file/d/0B2J_zJwMDlrucy1uS25TUElxT0E/edit?usp=docslist_api

https://drive.google.com/file/d/0B2J_zJwMDlrudWVaTG9fUEFvUUE/view?usp=sharing
[G2 Android Development] d_Schizzo:
Me too. Cant even get a log, because of bootloop. Iam @ work, so i dont have the Change to get one.
[G2 Android Development] iko11:
Something works for dori not working for us, saw again how it's hard to make one good kernel for all.
[G2 Android Development] Lizzacore:
One Reboot After flashing:/

Log :

https://drive.google.com/file/d/0B6SRUgJRLeB6TnJ3QmNwUUlOM00/edit?usp=docslist_api

Back to 3.2

Cheers

Sendet from my LG-D802 with Tapatalk!
[G2 Android Development] d_Schizzo:
Yeah, shame on LG. I like the phone and was thinking of getting an G4/G5. But its bull**** to have that many variants. And even on the same variant it works for somebody and for others dont.

This was way better with my old sgs2...

And i am saying that only as a User. As a developer it must be to be going crazy...
[G2 Android Development] iko11:
I couldn't agree more with you, in my country buying a phone is a luxery. As a student I can't afford it I am sticking with G2 and dori making it good. Galaxy S6 and EDGE seems nice. But I want to wait and see next flagships.

Sorry for OT dori
[G2 Android Development] iall5tar:
Watching Instagram and got a reboot...

Here are some logs...

https://www.dropbox.com/s/20lcv76ki39eody/dorimanx_debug.zip?dl=0

https://www.dropbox.com/s/g2dt265h17fdfzy/dorimanx_debug_logcat?dl=0

Hope it helps...

PS: first Reboot ever with kernel dorimanx...

After reboot seems that everything works good... More feedback at the end of the day...
[G2 Android Development] 4r44444:
After coming from 3.2 to 3.3 Phone reboots everytime, after reflashing 3.3 reboots stopped but I have no mobile Network signal anymore, back to 3.2.
[G2 Android Development] dorimanx:
OK, reverting ashmem code. strange. works here. oh well...

deleting 3.3

3.3.1 will follow soon.
[G2 Android Development] Djsam92:
No problems here with 3.3 :confused:
[G2 Android Development] Peppe91:
So far, all runs great, no reboots. It's all fine here with 3.3.

Inviato dal mio LG-D802
[G2 Android Development] Lizzacore:
Which hardware rev you all have ? With Rom ?

Device : LG-G2 D802

Rom : Stock 30b 16 GB

Kernel : DorimanX 3.2

Hardware-Rev : 1.0
[G2 Android Development] MilanStojkovic:
One reboot for now, after running "clean ram cache" in a dorimanx app. Default profile, default settings, no tweaks. Second time I tried it worked fine.
[G2 Android Development] dorimanx:
stand by for 3.3.1

bug same as for others.

Unable to handle kernel NULL pointer dereference at virtual address 00000000

pgd = dc230000

[00000000] *pgd=230c4831, *pte=00000000, *ppte=00000000

Internal error: Oops: 80000007 [#1] PREEMPT SMP ARM

Modules linked in: exfat

CPU: 0 Tainted: G W (3.4.108-Kernel-Dorimanx-V3.3-LG-VS980-PWR-CORE+ #5)

PC is at 0x0

LR is at ashmem_shrink+0xcc/0x178
[G2 Android Development] n@vier:
In testing v3.3 for now no one reboot it seems perfect! (stock v30b lollipop)

Tip: before flashing new release always restore default settings then wipe cache and dalvik in this way I think that a clean flash could avoid many problems ;)
[G2 Android Development] Lizzacore:
Which changes staying in 3.3.1 ?

Sorry for asking :/
[G2 Android Development] dorimanx:
Kernel 3.3.1

24/06/15

Quick FIX based on logs.

*Reverted change to asmem shrink core that crash kernel.

All must update. it's will crash with 3.3 soon or later...
[G2 Android Development] dorimanx:
all. this not

https://github.com/dorimanx/DORIMANX_LG_STOCK_LP_KERNEL/commits/master

Just use GITHUB, and dont ask.
[G2 Android Development] dorimanx:
wipe cache and dalvik = USELESS.

do it for ROM not kernel. i have installed 500+ kernels. never did that.
[G2 Android Development] iko11:
No REBOOT it works, thank you master :)
[G2 Android Development] dorimanx:
Thanks for report! now i can do something else for now (non kernel stuff)
[G2 Android Development] iall5tar:
Flashed v3.3.1 and no reboots... everything by default...
[G2 Android Development] RainGater:
Flashed it on D800 (CloudyG2 3.1) and 3.3.1 feels snappier even in extreme battery profile. Great job [MENTION=419143]Dori[/MENTION], you da' man!
[G2 Android Development] toybxb:
installed the kernel 3.3.1 and got after LG logo:

[890] Fastboot mode started

:(
[G2 Android Development] 60nine:
you downloaded and flashed the wrong kernel variant...

flash an earlier kernel version you have... reboot to system... download the correct kernel variant... reboot to recovery - flash it... profit...

or use diechel's ota app for future kernel updates
[G2 Android Development] iall5tar:
Be sure to download the right kernel from your variant...
[G2 Android Development] love4k21:
delete me :)

didnt saw 3.3 was out...
[G2 Android Development] iall5tar:
[MENTION=4795888]love4k21[/MENTION] has eyes or some knowloedge to read?? at least the changelog??