yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] lynxrz:
Just can't believe sound quality improvement with 7.0

That is a HUGE change for me and eargasming now.

Better and clearer sound than jet audio with small eq adjustment in default music player.

Thanks for thousands times!
[G2 Android Development] dorimanx:
Temp solution. Disable usb debug in dev settings.

Mtp should work.

Something is missing in configs for your model in my kernel.

Sent from my LG-D802
[G2 Android Development] BaschtlWaschtl:
All good here with charging rate..
[G2 Android Development] errikosd:
Freeze just when I answered a call. Had to manually reboot. v7.0, all settings default.
[G2 Android Development] dorimanx:
there was no /proc/last_kmsg to read from

Rom or modem stuck. kernel was ok.

Sent from my LG-D802
[G2 Android Development] errikosd:
Thanks for the answer. I am using stock v30d (upgraded a few days ago).

Other than this, kernel works amazingly.
[G2 Android Development] :
Sound stutters and hangs..with 7.0
[G2 Android Development] lollipo:
yeah same here
[G2 Android Development] Ginel:
kernel wotking great, sound same, but why when i set to charge at 1600ma, my phone charges at 1410,1420,1450,1500 always fluctuating, it not lock to a specific " ma " charge. Why this happening? my charger is original lg with 1.8ma
[G2 Android Development] dimakolenko:
It is normal! It always works this way!
[G2 Android Development] lynxrz:
You need hq headphones and flac or mp3 (at least 320 kbps) music file to make out difference.
[G2 Android Development] Romagnolo1973:
use Ondemand for all 4 cores and if continue with sound issue set max cpu frequency when screen off at higher values or use 2 core.

I'm a mp3 lovers and for me everithing is ok with 7.0 playing music
[G2 Android Development] Computoncio:
The fluctuations on ma is normal, it all depends on charger, cable, hardware and battery.

Volts are more stable, ma are not.

If you use a cheap cable with more internal resistance the ma decrease, or if battery not 100% good, why OHM I(Ampere)=V(Volt)/R(Resistance).

Phone: LG G2 D805

Kernel: Dorimanx kernel v7.0 LP D802

1st ROM : SRK-D80230f_20150926_droidth

2nd ROM : Waiting for custom recovery ;)

MODS: Viper4Android, Xposed
[G2 Android Development] gamertwo1:
Updated to v7.0. Feeling huge difference in sound as compared to previous versions. Thanks alot dori. :)

Got a reboot while watching movie in mx player.
[G2 Android Development] falconhawk81:
Same here, make a call, hang up and the phone never wake up, manually reboot. V7.0 default settings.
[G2 Android Development] :
I have nothing set in Kernelapp, all stock settings! Hm.
[G2 Android Development] n@vier:
I suggest to set performance profile and after in tab CPU Hotplug you can also set Min Core Online 2 core.
[G2 Android Development] dorimanx:
News update.

Kernel 7.1

15/11/15

*Merged updates to sound driver to fix hang after call. After last update.

Now should be stable.

Sound driver now irq aware and power management aware. Should be great.

All changes in git.

Sound is great.

have fun.

Sent from my LG-D802
[G2 Android Development] lynxrz:
Sounds great and not needed eq adjustment

It is very balanced now.
[G2 Android Development] d_Schizzo:
Hi Dorimanx,

v7.0 & 7.1 feels so smooth! Even underclocked, my device runs perfectly. And Audio is great with latest Releases.

Big Thanks to your awesome work my friend!

Cant wait to test the Audio high Performance mode! Hope it will also work even with faux Sound control selected....

Regards,

Schizzo
[G2 Android Development] dorimanx:
Its will work, also fixes the bz sound on screen off and freq cut hard.

now only 300mhz on 35% core needed to play most of the music.

When high audio (hifi) then more power needed, but still less then was. And sound is great.

Testing all now.

Sent from my LG-D802
[G2 Android Development] enzo_cz:
A one hell of Kernel, Dori. Many thanks for all the hard work, man.
[G2 Android Development] gamertwo1:
After connecting vpn with 3g internet, device is getting too much hot (70+) while only browsing. Is there anything i can do to fix it?
[G2 Android Development] AlexVipXDA:
There is someone that use this kernel and hibrydbooloader?

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] dorimanx:
Hmm... something is stressing the cpu. Check what use cpu. What service or app.

I dont have answer for you.

Sent from my LG-D802
[G2 Android Development] samuele94:
only feedback, the 7.1 kernel works fine the only things that I have noticed for some time is that impulse lags and there is no way to fix this thing (I increased all that increases performance and has not resolved. There is a way to solve this lag?

I hope you can change any parameter of the governor to make it responsive

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] Lizzacore:
Nothing like this here with music, Bluetooth and Mobile Data.. Maybe make a Clean Install.

Cheers,
[G2 Android Development] jeebspawnshop:
Makes sense that it would lag, seeing as Impulse is geared more towards battery savings than performance.

Try use Ondemand instead.
[G2 Android Development] ferap:
I install it on my d805 then install my baseband and now I lost 4g.
[G2 Android Development] falconhawk81:
I have it on my D806 , with baseband official d805, did not lose anything.
[G2 Android Development] Computoncio:
Flash this baseband http://dorimanx.casoncia.org/index.php?dir=Tools/&download=baseband-d805-official.zip

I use it and i have 4g

Credits goes to [MENTION=1670821]cybernetus[/MENTION] for extracting it.

And next time use Q&A ;)

Phone: LG G2 D805

Kernel: Dorimanx kernel v7.1 LP D802

1st ROM : SRK-D80230f_20150926_droidth

2nd ROM : Waiting for custom recovery ;)

MODS: Viper4Android, Xposed
[G2 Android Development] ferap:
Sorry and thanks
[G2 Android Development] hitardo:
I always have had some lag in the first 30 to 60 seconds of waking up the device.

I am using ondemand governor, MSM stock hotplug (not LG's stock) and CFQ I/O scheduler.

Regarding the heat, I have had many problems with heat, since the Lollipop official update, then CloudyG2 and then DormanX kernel (with CloudyG2 ROM).

My country - Portugal - is a hot place, meaning, ambient temperature is already high, reaching 35-40ºC in the Summer, so...

The phone reached 70ºC in no time

I reached a point where I installed:

- Amplify - with many services strangled to 3600 seconds (1 hour) frequency to sync;

- Greenify - to stop many applications from running: Qualcomm SVI was a pain;

- MyAndroidTools - to unable some services (and Broadcast receivers, Activitis and Content providers) to avoid privacy issues, save battery and lose some weight (LG's apps are horrible, like Meteo and Smart everything);

- And a few more tweaks.

Only with then I got my phone cool.

But, with high levels of brightness - like when I want to use it as a GPS on my car - it gets really hot.

I guess this heating problem is the reason many people get their motherboard (SoC) fried, LCDs getting yellow or even dead, and so on...

As I am more sensible to this issue, I guess I avoided such an end.
[G2 Android Development] Computoncio:
I used Cloudy rom but i changed to a pure stock because of the heat, if you have time, do a nandroid and try the one in my signature. If temo doesn't drop just restore you nandroid.

When i use gps in the car it get hot too maybe lg should made tiny holes in the back to cool the cpu [emoji12]

Phone: LG G2 D805

Kernel: Dorimanx kernel v7.1 LP D802

1st ROM : SRK-D80230f_20150926_droidth

2nd ROM : Waiting for custom recovery ;)

MODS: Viper4Android, Xposed
[G2 Android Development] hitardo:
You live in Brazil, so... It is quite hot in there, depending on the exact place you live in.

The holes in the back will not matter, as people will add covers.

Much like me. I think the tempered glass and my cover are blocking the heat dissipation. But, even if I have it without cover, it gets to much hot, so...

I think the problem are:

- The phone is too thin, with no space for heat pipes, to dissipate more heat;

- The LCD drivers are too much near the SoC, raising the heat in that spot;

- The stock ROM has too much crap running in the background.

As I have 180 applications installed, the SoC has many things to do. So I had to improvise.

That "Kra-Pow-Moo-Sab" version looks nice.

I will keep it under my watch. Thank you :)
[G2 Android Development] dorimanx:
To reduce heat when using gps, just set gpu max freq to 200mhz or if app lag, to 320mhz.

As all gps apps push the gpu to max. And its really not needed.

This create 2 points of heat, cpu process and gpu overload.

Same for not heavy games, that you want to play longer and with less heat. :)

Gpu is major source of heat.

Sent from my LG-D802
[G2 Android Development] hitardo:
Yes, that is an excellent tip.

Here is my settings for GPS:

[IMG="Profile_GPS"]http://s25.postimg.org/ja4ey0bhb/Screenshot_2015_10_31_20_22_46.png[/IMG]

And for other things, here is the gallery:

http://postimg.org/gallery/2jdcd5yj0/

Even with this it gets very hot, mainly due to screen brightness.
[G2 Android Development] raptorddd:
[MENTION=2376110]dorimanx[/MENTION]

why is sweep to wake activated on kernel? theres no sweep to wake on this phone is there? we only need knock on. right?

and do we need the xposed memory leak fix , as i see theres some settings for the memory leak.? do we need it or with settings in kernel phone is ok.?
[G2 Android Development] OT-Xtreme:
hey dori can you recommend on a good CIFS app that can mount network shared folders on sdacrd? long time ago we had "mount manager" but it doesn't work with lollipop or at all.. cant seem to find any decent app to mount folders through the cifs module we have in your kernel
[G2 Android Development] Diechel:
http://xdaforums.com/showpost.php?p=53760495&postcount=537
[G2 Android Development] Ginel:
i have a question about charging, i had set max 1600ma from doris app. all good i put charger in my phone charging with 1460ma, but when i unplug charger and then put in again my phone will charge at 1860ma constant idk why this happening. I need to reboot phone and then to plug in charger to be all normal. i try more then 10 times to plug in out in out and always Ma set to 1860, only reboot solve the problem, i have original charger and cable 1.8ma. this is normal?
[G2 Android Development] AlexVipXDA:
Little OT, wich app do you use for check wakeloxks?

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] hitardo:
I will bet on this one:

https://play.google.com/store/apps/details?id=com.uzumapps.wakelockdetector
[G2 Android Development] boyheadkick:
sweep to sleep is useful in situations where you are in an app and want to turn off the display from there, you can just sweep to sleep, where as if it is not enabled, you'd have to press home just to use dt2w

you can use memory leak xposed to fix the memory leak issue, specifically since the memory leak issue was only fixed (or amended in a way) in 5.1.1, which we dont have since we are on stock 5.0.2...i personally don't use the xposed module for it, just rely on kernel settings
[G2 Android Development] raptorddd:
better battery stats here on xda or wakelock detector..
[G2 Android Development] anh676:
My device is on LP stock rom. I want to flash Cloudy 3.3 and dorimanx kernel. So should i flash which first!
[G2 Android Development] 60nine:
always flash rom first then the kernel

and use Q&A thread next time
[G2 Android Development] Diechel:
For the best developer since the beginning of my G2.

V7.1 is working good without reboots anymore :) Thank you for you hard work AGAIN!

8T0642692A3019901
[G2 Android Development] dorimanx:
Thanks for support! New build is cooking and boiling :)

I am testing all and then release.

After that i will build new small busybox for you with all needed to flash kernel via ota app and reboot.

Sent from my LG-D802
[G2 Android Development] OT-Xtreme:
tnx, iv tried but it never works.. any more apps or suggestions?
[G2 Android Development] enginmanap:
I have some (4 in 2 days) reboots when I receive or initiate a call on 7.1. All settings are on default, model 802. The debug log created by dorimanx app is attached.
[G2 Android Development] dorimanx:
I think i have resolved the bug in test build.

I hope that is from kernel, and not exposed or other app update.

As when its happen, there is no log by kernel, its seems that kernel dont see any problem, its the userspace that stuck... (rom)

In your log, there in no last kernel log before crash, as kernel didnt crash.

Sent from my LG-D802
[G2 Android Development] dorimanx:
News Update!

Kernel 7.2 "MEGA BETA"

19/11/15

*Merged many updates to sound driver code. audio quality and code checks improved!

*Added HIFI audio performance mode that allow to improve sound for hifi flac and wave formats.

for MP3 this mode is auto off in kernel to save power, as there is no difference.

Now you will be able to listen to music a lot longer on one charge cycle.

*Possible fix for strange hang after call bug. not sure if it's kernel related.

*Updated kernel toolchain with new libs and crosstool updates. made for 3.4.110 build.

*Merged many updates for modem driver, more stable operation and crash checks and subsystem restart

in case of modem stuck. if kernel cant hot restart modem without reboot, then kernel will reboot.

*Merged many updates to critical code named susbsystem restart, it's responsible for everything in kernel!

every driver that register ON/OFF its self, use it, and now it's very smart in it's way of operation.

see git, it's a lot more complicated! :)

*Merged updates to ZRAM driver from 4.2.6 kernel! and to ZSMALLOC that support ZRAM.

*Merged many updates to percpu macros defines that now check many many things before allowing drivers

to use cpu, preventing crashes and optimizing cpu speed! made my tests and i see 25% improvement!

in cpu power from cold to hot state.

*Made new busybox 1.25.0 from source! using my custom toolchain for LG.

Busybox will be auto updated on first boot. it's include new applets and its much better than what we had before.

*Fixed audio hissing and pop/bz sound bugs! i didnt hear anything wrong so far :)

So far kernel works very good here. i see speed optimization, RAM speed boost, and more correct zram readings.

Sound is great, no reboots, and seems like a good build.

But one or 100! users cant define that all good! or not! we need my 6000 users to test it :)

Enjoy.
[G2 Android Development] errikosd:
Thanks for your work Dori. Your kernel keeps my G2 in life :)

I have a (weird) question. Would your kernel work if I just dd boot.img into boot partition?
[G2 Android Development] Computoncio:
That way you will only flash the kernel, the zip have much more.

Like busybox, apks, etc...

Don't do it that way, or if you do, don't come back here with complains :p:good:
[G2 Android Development] dorimanx:
Hmm.. well its possible.

If you installed my previous kernel via recovery or via ota, AND you check my git and seen that i didnt change any of the zip content.

Then you can use dd to boot partition with the image file and reboot.

Busybox and all critical parts as modules, packed inside the image file.

Just dont flash it to your bootloader, aboot, or say goodbye to your device.

Sent from my LG-D802
[G2 Android Development] errikosd:
Well I was thinking of only dd-ing the boot.img file, so that the apks don't get installed at all, I always keep your stock settings anyway.

Put it another way, are the apks mandatory for the kernel to work? I guess I could try :p
[G2 Android Development] hitardo:
I noticed significant improvement in 'cold start' with this new 7.2 version!

"made my tests and i see 25% improvement! in cpu power from cold to hot state."

Much better!

This is noticeable when I wake up the device and go to write a sms.

The LG Keyboard is faster to type and predicting text.

Thank you DorimanX!
[G2 Android Development] dorimanx:
i will answer simple. use stock. or use as is in zip.
[G2 Android Development] duki994:
[MENTION=2376110]dorimanx[/MENTION]

Is there ZSMALLOC_NEW in mainline?

If there is some update from 4.2.x mainline for zsmalloc new it would be better to use it. It's better optimized for ARM architecture. ARM is faster at page table mapping and zsmalloc_new is using it extensively.

On Galaxy Alpha it works much faster than updated (from upstream 4.2.x) ZSMALLOC. I tried it.

EDIT:

I haven't seen kconfig and code of our zsmalloc. In Sammy kernel it might have just been renamed to ZSMALLOC_NEW. Or Samsung added some mm optimizations.

But I saw somewhere than ZSMALLOC_NEW depends on !ZSMALLOC
[G2 Android Development] dorimanx:
No such driver in main line, sammy has old junk zsmalloc with few mods that we dont need, when we have 4.2.6 code.

Sent from my LG-D802
[G2 Android Development] Koucz87:
With last update, my unit just fly now. I was thinking to switch for G4, but with your grate work it's not necessary.

Wysłane z mojego LG-D802 przy użyciu Tapatalka
[G2 Android Development] destroyer31:
I want to learn dori this is amazing work can you share me please how did u learn %25 thing about cpu or Update libs and adaptive to g2 share the source links. My respect is infinity.
[G2 Android Development] hitardo:
I am having some hangs in the last three versions on DorimanX.

You can download my debug *zip here.

Sometimes, when I receive a call (1 in every 5 calls) the screen does not turn on. The other factors are:

- The majority of the times, the phone does not do anything: neither vibrates, nor blinks the LED.

- The last call I received it vibrated (first at the rhythm, but then vibrate constantly after trying the power button), blinked the LED but nothing more.

I was not able to answer the call and after rebooting, the call was not in the register, which causes some inconvenients.

Right after rebooting, I extracted this debug file I attached.

I add a screenshot of my battery draining graph, which has come peak descents, the last was from the call.

The other - which is a big one - I cannot identify.
[G2 Android Development] raptorddd:
i get those drops on battery too.but i wonder if you wiped dalvik and cache and did an optimization in recovery i think this and reboots takes alot of power in our g2.?
[G2 Android Development] hitardo:
Yes, everything that takes some time in recovery will drain your battery: whether it is flashing a ROM or backing up.

Wiping "Dalvik" cache (since ART implementation) is different than before, as all apps have to be "compiled" again.

So, it is normal that this process takes so much time (as I have 180 apps installed) and it takes a big chunk of battery.

But today I did not wiped Dalvik or cache partitions, as it was a simple flash of the kernel.

I also think it is not due to the flashing, as it is pretty quick to do it.

What I think it can be is:

As the phone was rebooted (to flash the kernel and again to implement changes), the battery monitor system implemented by LG woke up and refreshed the exact value of energy remaining in the battery, which as less than before.

I think I did not do "an optimization in recovery", but I am not sure what is that and what you mean by that.

A quick search did not revealed anything that popped my attention.

So, what do you mean?
[G2 Android Development] duki994:
That's exactly what happened to battery reading. Battery sensor got rebooted/reset and read different value. Battery capacity reading is very difficult (for Li-Ion and Li-Poly and any Lithium based battery). Sometimes batt voltage is same, but current amount is less. So for same voltage you get two different capacities depending on usage. And battery sensor needs to readjust it's reading mechanism to those delicate variations. So sometimes it drops way too much and after some time it reports back good value.
[G2 Android Development] Morts:
Complete frozen, I needed to hard reset.

https://cloud.mail.ru/public/3i3q/wnkH7Y62L

Cloudy 3.3 + dorimanx 7.2 + xposed 75 + Brazilian baseband
[G2 Android Development] raptorddd:
you said it

(Wiping "Dalvik" cache (since ART implementation) is different than before, as all apps have to be "compiled" again.

So, it is normal that this process takes so much time (as I have 180 apps installed) and it takes a big chunk of battery.)

when the white square appears and builds the dalvik its optimizing the apps.. i was kind of a hurry and wrote wrong.

---------- Post added at 10:07 PM ---------- Previous post was at 10:04 PM ----------

funny thing ive owned my g2 for almost a month and never ever had a ramdom reboot..i started using 6.8---7.2

no ramdom reboots.
[G2 Android Development] dorimanx:
Suspend max freq is set to 960mhz

This is a big mistake, when call get in phone need cpu process power to wakeup, clean junk from ram, start modem, sound, mic, and other drivers, and you gave it 1ghz when its needs full 2.26ghz at least to do it fast.

So your device will do all that, but slowly, and you cant wait, and reboot it.

Or its stuck as this was not designed to be like that.

Dont do wrong config and blame kernel.

That limit allowed by request! to save power when you listen to music, then set back to 2ghz at least... maybe few down..

But not what you set. Think! Before you mess with cpu.

About battery drop, each saterday, kernel reset battery sensor, or recovery do that, or rom.

so you see high drop, that should go up a half later, or its was the real charge.

Please all, use qa for chat about dalvik/art and other non dev talk.

Sent from my LG-D802
[G2 Android Development] Ginel:
after flashing 7.2 i saw some yelow tint on screen on right corner when phone heats a bit? never had this problem. seem like a burn :((((
[G2 Android Development] khanjui:
Didin't happen to me, interesting...
[G2 Android Development] 60nine:
it has nothing to do with low suspend max freq...

i have mine set to max 1.7ghz and just got a freeze while someone called me...

and with previous versions of kernel - i had max suspend frequency set to even lower 1.4ghz and never ever had that problem...

while i'm here - i got several freezes with 7.2 since yesterday - browsing feedly, reading facebook, playing a game... something is fishy outthere :)
[G2 Android Development] Ginel:
well is there anyting i can make to not see that yelowish colour?
[G2 Android Development] sheikhramnuj:
I've been using this monster kernel since it was born and i didn't encounter that kind of issues. If your phone heats up cool it down or turn it off :D
[G2 Android Development] destroyer31:
You are A legend if I send you money can you answer my questions?
[G2 Android Development] Morts:
I used 7.0 for more than 100 hours with the same apps and settings and never had a single problem.

But 7.2 frozen wile I was on twitter. So I post the log to try to help dorimanx with something.
[G2 Android Development] Lycanlk:
Nice update for audiophils. Good sonics. Bassier and good clarity. Tried acoustic and hipop tracks for testing. And pluged in to a 1000w amplifier.

With 7.2 default setting.
[G2 Android Development] destroyer31:
Root acces

No root here supersu said root again
[G2 Android Development] falconhawk81:
Freeze with 7.2 and have to hard reboot, back to 7.1
[G2 Android Development] qweewq22:
D800 cloudy 3.3 and dori7.2. All good . uptime 12h
[G2 Android Development] dorimanx:
No. I dont ask for money. I build and update kernel for me, and share it with any one that wish to use it.

Sent from my LG-D802
[G2 Android Development] Claudius A.:
Re: [LP 5.0.2 Kernel 3.4.110][19 Nov] Dorimanx 7.2 LG G2 D800/1/2/5 LS/VS980

Hi Dori,

Had and stuck on reboot before completing the process (rebooting).

This happened after taking a photo and closing the camera.

Had to do hard reboot.

I don't know the problem, :confused: I made a kernel debugging. (Attached).

...............

Forgot the kernel version; 7.2 ☺
[G2 Android Development] dimakolenko:
Freeze with 7.2 twice and had to hard reboot while tried to make a call.

After reboot - working fine, and I hope it will not happen again

Sorry for no log, maybe next time!