yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] wikowikowiko:
Same here with me. Somehow after installed 7.2, i noticed that i lost superuser binary. I tried to check on superSU, it said my binary need to be updated.

Then i flashes the supersu zip file, problem solved.
[G2 Android Development] g.paganini:
Just an observation, it may be probably anecdotal. I had reboots on earlier version when others didn't suffer. Now, when others started to have issues I don't have a single reboot or freeze.. Very strange. 7.1 and 7.2 absolutely flawless in my experience.
[G2 Android Development] dorimanx:
seems like camera driver crashed, and rom stuck in hot boot. as rom init killed all apps and services.

camera driver was not changed. it's stock. so what was it i dont know. took 20 picks, nothing...

report if happen again...
[G2 Android Development] dorimanx:
no log, no problem.
[G2 Android Development] dimakolenko:
I will post log next time, thank you.
[G2 Android Development] Lycidias:
Anyone else has the Problem, that, outgoing whatsapp voicenotes are sometimes just silent? But it's very rare Problem.

More often the voicenotes i send are interrupted, my voice just stops after a time.

I dont had this Problem with Stock, but with Dorimanx since i switched to LP
[G2 Android Development] Rachid.Ala:
I use very often whatsapp voice notes and I don't have any problem with it

You just need to wait for like 1 or 2 seconds after pushing the button before talking

Post a kernel debug so we can see your profile

Cheers

Sent from my LG-D801
[G2 Android Development] Diechel:
[MENTION=2376110]dorimanx[/MENTION]

What I mention with 7.2(and maybe earlier versions) and ondemand is that core0 most of the time is using 1728 as maximum.

When I update an app with play store it's locked to 1728 with 1 core. When I open a browser it uses multiple cores.

Synapse shows 2.5ghz as core0 so I think it's decided by the ondemand cpu driver.

When switching to Alucard at core0 it's not locked.

Iam using default performance profile
[G2 Android Development] picard47:
For me 7.2 is much more smoother and snappier than any other version. Feels really good. No reboots or issues at all.
[G2 Android Development] 60nine:
i think i posted the similar question not so long ago (1 month ago or so) and dorimanx explained this... i've had also noticed ondemands max 1.7ghz in cpu spy app then
[G2 Android Development] kondzio66:
With 7.2 my g2 freeze and soft reboot everyday at morning. After 2h phone works normal.
[G2 Android Development] bolydah:
freeze after calling

Phone ap freeze:

after i made a call about 10mn, n if made again a call again, phone ap haven't response, i tried to stop it via task manager but nothing change, setting also had no response. I had to reboot to solve it!

It's first time for me!

See attached debug.zip

Excpect that!everything work fine

My config : G2 D802 32 Gb Srk D80230F
[G2 Android Development] Alexander1988:
This is very strange. I see a lot of users complaining about reboots on 7.2 and I have an uptime of about 37 hours. I on the other hand found 7.1 unusable. Couldn't make or receive any call. So whatever [MENTION=2376110]dorimanx[/MENTION] did to fix the call issue is working but apparently not for everyone. Just my 2 cents.

Sent from my LG-D802
[G2 Android Development] gamertwo1:
V7.2 working great on my d800. Uptime is 49hrs. Thanks alot dori ;)
[G2 Android Development] kobredabre:
Just one word for 7.2 so far... Purfect! :)

Sound is noticeable better and no more strange hiss sounds. Also, much more smoother and lag free than before. Seems like battery too is showing signs of even more happiness than before...

I'm on impulse governor, alucard hotplug and battery profile.

Good job as always m8, thumbs up ;)
[G2 Android Development] khanjui:
7.2

While phone 75celsius (on charge), phone vibrated few times. I'm sure not for notification or something. Was that kind of warning?
[G2 Android Development] duki994:
Did you change Sound Controls from STweaks to Fauxsound in Dorimanx app?
[G2 Android Development] luckydude:
thanks my friend the dorimanx control app works like a charm ;)
[G2 Android Development] dorimanx:
first you need to compare the D802 STOCK SOURCE! no changes! to D800

see what is different for your model... the ATT...

now need to understand what is good to merge, and what is better to leave as was...

LG devs are strange... they do mods for one model, that are global and good for all. but in other model they dont!

no idea why...

so after all compared. and you have the DIFF... you just apply it to my full source... and correct merge errors...

then you need to take apart the ramdisk from original kernel, and merge all that different with my ramdisk,.

split it to sections as with KK.. so each model will have what changed for it.

then tune build script to use that..

and thats it! you have kernel. simple 10min work.... (NO!) :)

maybe 10 hours...
[G2 Android Development] berryman13:
10 hours? That's doable.

Have you downloaded the source for any variant besides the D802? Have you compared them to see if the differences are as vast as you say, still? I believe you....I know you go through a lot of stock source, but honestly this isn't the most gargantuant task in the world.

You have the stock source on your github for the D802, I'll make a repo for the D800, and start diffing.
[G2 Android Development] wikowikowiko:
i dont know what went wrong, but sometimes when I open facebook and dominations game, my phone becomes laggy.

I'm using 30e & dorimanx 1.5.
[G2 Android Development] Wimmme:
That's what i have too. I thought it was about the dual intelligent temp control, but I am having this now with just intelligent temp control too.

If my phone reaches 30°C and then trying to use facebook or snapchat or Boom Beach, my phone becomes laggy as hell.

If i reboot i don't have it immediately, so i guess it's not about the therman controls.

Tried allucard, ondemand, intellimm and darkness governors (and kept the rest on my phone stable while testing ;)
[G2 Android Development] Sfuma:
Me too about battery drain. Im on stock lp whit "stock" dorimanx settings and profile, my battery have less life. Now I want to test other dori profiles, and I'll share my opinion
[G2 Android Development] shaneel1491:
For me personally I underclock and undervolt as well as many other tweaks and with 1.4 I got around 5 hrs of SOT at 50% battery ( I know it sounds impossible), but with 1.5 I got around 3 hrs SOT at 50%..
[MENTION=5855296]Sfuma[/MENTION]
[G2 Android Development] berryman13:
https://github.com/berryman13/LGD800_LP

Once I'm done diffing this with Dorimanx initial commit(s), I will start cherrypicking them.

I'm gonna do this! It's fun and pretty easy so far. Think I got a d800 defconfig setup!!!
[G2 Android Development] MangeH73:
After 2h SOT i still have 83% battery left. Feels pretty ok to me :)

(ON 1.5)
[G2 Android Development] oTeMpLo:
0:53h.. 73% left.. + Sod at morning.. Not that good.
[G2 Android Development] minotavros:
Mine has 5:30h sot with performance mode
[G2 Android Development] dorimanx:
Ram. Is low. Set on screen oom to aggressive.

Its lp bugs not my.

Sent from my LG-D802
[G2 Android Development] dorimanx:
Its not good that you post useless posts here.

Sent from my LG-D802
[G2 Android Development] Andr3y29:
I am sorry if i sound like a noob, but I don't want more lines on my G2. I am right now on D802 V30b-EUR-XX stock kernel. just rooted with bumped TWRP. Can I just flash this kernel or do I have to do something else before ? I see something about KK bootloader but i don;t know if root/recovery downgrades the bootloader like on KK.

Sorry for asking, but because of the Lp bootloader I ended up with lines on the display.
[G2 Android Development] Wimmme:
Tnx, that's what i figured too. Put everything back on default and OOM to aggressive.

Hoped the Xposed module had more effect to counter the memory leak -> more free RAM.

Will report back :good:
[G2 Android Development] iamtha1:
D800 here.. Cant wait to try this out!.. One question.. Will it work on simple rom. V3 or just stock lollipop?
[G2 Android Development] duki994:
dorimanx I've found something strange.

In /sys/kernel/sched/

arch_power is set to 1 after EVERY boot.

On LP setting it to 1 makes device drain battery like crazy, but reverting it to 0 makes battery and heat normal again.

I've looked for apps that might change this on boot but found none. Maybe something in ramdisk or some ROM binary changes it automatically.

Removing sysfs controls from sched will block apps/binaries/scripts from changing this param.

This may address some SODs and bad battery life reported by someone. Because of this I noticed change in battery.

---------- Post added at 03:18 PM ---------- Previous post was at 03:11 PM ----------

Xposed module fixes ColorFade bug where allocated memory to screen-off animation (or some other animation, I don't remeber well) is not released, o RAM keeps getting fuller until LMK has to kill almost everything to make device running.

It's located in services.jar, but we don't really have full services.jar. There is file in /system/framework folder but only with MANIFEST file.

I don't think this module works with G2 as I did not find ColorFade in other framework files I decompiled.
[G2 Android Development] dorimanx:
OK! Good find. i will take care of this.

actually this sysfs is custom, none of apps should know to change it.

i think its set by kernel on boot! need to inspect code and and set it as 0.

maybe i will set perms on control to READ ONLY... just to make sure no one touch it.

thanks for report.

EDIT:

Found!

FIXED!

https://github.com/dorimanx/DORIMAN...mmit/972a705907baad4e851379211433e18b76e6c544
[G2 Android Development] samuele94:
any side effects? I want to set 0 but i'm not sure
[G2 Android Development] Everhez:
Great Work, thanks You v.7.2 [MENTION=2376110]dorimanx[/MENTION].

Enviado desde mi LG-D800 mediante Tapatalk
[G2 Android Development] 60nine:
benchmarks... meh...
[G2 Android Development] dorimanx:
Bench = trash for kids. Dont post trash here.

Sent from my LG-D802
[G2 Android Development] Claudius A.:
No root access! 7.2! Dori :(
[G2 Android Development] dorimanx:
kernel do not change ROOT access.

update supersu or reinstall it via recovery
[G2 Android Development] gurulbn:
Many random freezes :(
[G2 Android Development] Claudius A.:
Sorry, my bad... Rebooted and all ok. Thanks
[G2 Android Development] Lizzacore:
Almost 16 Hours with Balanced usage. Its Perfect !

Cheers,
[G2 Android Development] Trixanity:
Why are you still trolling another dev's thread? You've done it before, it wasn't exactly pretty and the moderators didn't like it either.

I just went into your thread to make sure Dorimanx wasn't doing the same. He didn't. One post. That post was him helping a user of his kernel switch to yours. That's politeness if I ever saw it.

So I really don't get what your purpose is? To get more users? To me, it seems you're accomplishing the opposite. You're basically scaring away other users. Is it jealousy that another kernel, other than your own, is popular? Is that it?

Why not just ignore this thread and spend your time working on your kernel and the sub-community that is your dev thread. I'm sure that would be more productive.
[G2 Android Development] dorimanx:
News Update!

Kernel 7.3

22/11/15

*Reverted changes to slimbus driver, added at 7.0 kernel and we started to have stuck at call.

*Merged updates to cpufreq table code, to allow to monitor other cores freq usage. when they online!

*Merged updates and fixes to USB Gadget driver.

*Merged updates to binder driver that allow to speedup all android OS.

*Merged updates to RMNET(data internet) driver mostly code fixes and optimizations.

*Merged updates to alarm timer code, should allow to wakeup device from SHUTDOWN state!

when ROM default alarm is set. Need to test this :)

*Merged updates to sound voice call driver.

*Updated busybox with more applets and added missing user/group information for cron and other applets.

*Fixed cron scripts.

*Fixed no access to storage after boot if usb was connected all the time and original ADB is used.

No need to unplug and plug now. kernel will restart USB by auto.

I will delete kernels 6.9/7.0/1/2 they all have the random call stuck bug and watchdog bug. but they all where BETA!

I hope that this build will fix the stuck on call bug.

If not. i will remove more changes till stability is gained back. i will not let you down :)

Thanks to all testers for help with logs, only this way i was able to locate bug source.

And it's happen to me too, so i had same errors as others. in log.

Please let me know after some time how it's goes.

Enjoy!
[G2 Android Development] Diechel:
Ondemands behavior seems to be fixed with V7.3, thank you
[G2 Android Development] duki994:
[MENTION=2376110]dorimanx[/MENTION]

I have no more signal dropouts :)

Seems like BAM pipe code on earlier versions was responsible dropping out signals and hanging after call. If I understood BAM code correctly, that's only thing that was source strange modem behaviour. I think LG changed modem handling in newer basebands (V30x) so new BAM pipe code could've bugged out.
[G2 Android Development] merlin21:
If i understand it right update to alarm timer should wake up device from complete power off?

If I'm right - tested it, but it don't work. Set alarm 2minutes in future and shut off device. Don't wake up. If i misunderstood it please correct me.

But thanks for v7.3 (flashed with 67h running time on v7.2 without errors)
[G2 Android Development] n@vier:
It doesn't work with cloudyg2 3.3...I made a test. Maybe it works only with stock...

[MENTION=2376110]dorimanx[/MENTION]

thanks for your awesome work and support! :good:
[G2 Android Development] gurulbn:
Reboot while idle :)
[G2 Android Development] love4k21:
30f doesn't work too

edit: what i saw, after turn on the phone again the time was completely wrong, maybe thats why it doesn't work?
[G2 Android Development] dorimanx:
Well we tried the alarm wakeup, and its not working :) oh well.

i got it from cm13 kernel.

Its not brake anything, if it didnt work before too :)

Sent from my LG-D802
[G2 Android Development] duki994:
AFAIK it needs some other CM code to boot it. I think it's going to hibernate mode, not complete poweroff. Then wake up from hibernate.
[G2 Android Development] masteril:
Dunno about what you talking here :) but 7.3 is great and even better then 7.2..dori you have no limits at all just when you think its perfect BOOM you get even a better version..thank you for your work!GREAT KERNEL!superb work!
[G2 Android Development] raptorddd:
thanks , man do you ever rest? sleep? LOL. i just wish i could see a aosp dorimanx kernel when i try aosp.. this is great kernel alot of optons..
[G2 Android Development] Rachid.Ala:
Random reboot while using whatsapp

Logs : http://pastebin.com/pQhuyeXp

Thanks

Sent from my LG-D801
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

It's incredible how every time I think that we have the best release and soon after you make better!

Ladies and gentlemen we have the most advanced kernel available on Android and v7.3 simply flies without problems! Ok it is soon to tell this but I'm sure with the impressive boost of performance...simply awesome!

I'll update my report after some days but it's great after some intensive tests (sound, video, browsing, chat etc.)

Thanks ;)
[G2 Android Development] OT-Xtreme:
your drifting man, its still crappy 5.0.2 lollipop.
[G2 Android Development] duki994:
Man. Get new charger/cable or use stock. Too much current variation. Probably cable. Or cheap no name charger.

If you tried to take front camera picture in WhatsApp, then it would surely bug. WhatsApp has bug that crashes kernel due to bad camera buffers (causes some kind of integer overflow and bad size from my observations).

It will crash on ANY phone with ANY kernel. It's big flaw and MAJOR BUG of latest version of WhatsApp.

Maybe some some very small percentage of vendors/ROMs and/or kernels are unaffected.
[G2 Android Development] n@vier:
I suggest you to read github and changelog before and maybe you will understand that it is not the simple stock android kernel.

You read 3.4.XX but the core is merged with kernel 3.10.X and 4.2.X so think carefully ;)
[G2 Android Development] duki994:
[MENTION=2376110]dorimanx[/MENTION]

Small idea. I think state notifier can be used in KSM/UKSM. So, if phone goes to suspend, KSM/UKSM goes disabled. Suspend/wake logic code can save previous state of KSM/UKSM (it's set via sysfs and realized as moduleparam in driver if I recall correctly) in one variable. So if user disabled it, it can just restore previous state value (it can be 0 or 1).

Then UKSM would work only when phone is not in deep sleep.
[G2 Android Development] jeebspawnshop:
It's actually pretty hard to Power Off a CM phone - it actually goes in to a super-deep-sleep state, where it turns off all radios and almost all hardware. It's sort of like Sleep mode in Windows PCs.

So that's probably why alarm wakeup works on CM, but not normal phones that Power Off properly.

Yea, this is what I meant... I think... lol...
[G2 Android Development] dorimanx:
We actually have the option to set no cpu usage when screen is off. And when on, other value.

So its already have that option, no need to hook it to state notify.

See dori app the last control for uksm.

Sent from my LG-D802
[G2 Android Development] gurulbn:
Phone dead while charging at night. Alarm don't woke me up to work :/
[G2 Android Development] dorimanx:
thanks for report.

seems like bug in MMC driver. new one... as MMC driver was not changed mounts...

Can be something with storage, errors in flash.

best to try this procedure:

free room for backup in storage or use OTG via recovery, need Fat32 disk/flash. you will need max 9GB.

backup all your system/data partitions.

transfer all the storage file including the twrp dir with your backups to you PC via recovery MTP.

make sure all transferred! count the folders and used space.

full wipe all! system! data! cache! storage!

run disk check via recovery convert menu on system, data, cache

reboot recovery! to sync all changes!

upload all storage back to phone. via recovery MTP

Restore system/data from backup.

long process, but this may release you from many problems, that can be same as what was tonight.

My alarm worked just file, and i never seen such bug in other reports, so it's triggered by something in your file system.

let me know if you get any problems after that correction...
[G2 Android Development] gurulbn:
One more error log b4 I'll start wipe...
[G2 Android Development] duki994:
I expressed myself wrong. Sorry :)

I thought that when device goes to pm suspend KSM/UKSM goes disabled, not on screen on/off. That will reduce drain more.
[G2 Android Development] hitardo:
I want to run this procedure, in order to solve possible problems.

Can anyone help me with this?

I do not know how to:

"run disk check via recovery convert menu on system, data, cache"

and

"upload all storage back to phone. via recovery MTP"

I already searched on Google and everything that I got was about recover deleted files, and I did not find any option on recovery that mentioned that.

Thank you in advance.
[G2 Android Development] masteril:
Little bug when using this kernel with noname420dpi rom..contacts when i want to add contact i get fc..rolled back to stock and its working very strange..your kernel is great dori can you speculate why its happening?
[G2 Android Development] Trixanity:
Probably because your rom uses a modified dpi setting. Seen it cause lots of FCs. One thing you can try is to still use the rom but use xposed and the module "app settings" to manually set the dpi of FCing apps to default dpi (480 I believe)
[G2 Android Development] Rachid.Ala:
It's not kernel related IMHO

Ui crash sometimes with custom dpi

Sent from my LG-D801
[G2 Android Development] Alexander1988:
Cloudy 3.3, Dori 7.3, xposed v78. Freeze after call, freeze while trying to wake up screen.
[G2 Android Development] dorimanx:
file system errors in data partition!

EXT4-fs (mmcblk0p30): re-mounted. Opts: (null)

EXT4-fs (mmcblk0p30): re-mounted. Opts: (null)

EXT4-fs (mmcblk0p30): re-mounted. Opts: (null)

init: android_reboot command = reboot,

SysRq : Emergency Remount R/O

Emergency Remount complete

ROM! init binary order full RO remount on data partition, this is DEATH to android OS. black screen and end of road.

kernel was obeying orders.
[G2 Android Development] Lycidias:
10sec freeze and than auto reboot while playing ingress (gps+bt+music+charging) at 7.3

http://www38.zippyshare.com/v/4V6jUz0H/file.html
[G2 Android Development] n@vier:
I don't understand why same configurations (rom+kernel) seem to have different behaviour! It's very strange...anyway I have cloudyg2 3.3 with dorimanx 7.3 and xposed framework v78... I can only confirm what I said ...after 1 day of use my g2 continues to fly without any problem! I test everything only alarm doesn't work, as we know, but till now the rest for me it is simply perfect.
[G2 Android Development] dorimanx:
overheat.
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

I stressed my g2 with viper4android settings and I had a freeze so I forced hard reboot.

Attached the log maybe it can be useful...
[G2 Android Development] Diechel:
[MENTION=2376110]dorimanx[/MENTION]

Had 2 reboots today while using waze navigation with V7.3.

Both logs don't show any 'last_kmsg'.

In 'dmesg' i have found the following like somebody else had also in this thread:

<3>mmc0: Got data interrupt 0x00200000 even though no data operation was in progress.

<6>mmc0: clk: 200000000 clk-gated: 0 claimer: mmcqd/0 pwr: 10
<6>mmc0: rpmstatus[pltfm](runtime-suspend:usage_count:disable_depth)(0:0:0)

<6>EXT4-fs (mmcblk0p30): re-mounted. Opts: noauto_da_alloc,data=ordered
<6>EXT4-fs (mmcblk0p30): re-mounted. Opts: noauto_da_alloc,data=ordered
<6>EXT4-fs (mmcblk0p30): re-mounted. Opts: noauto_da_alloc,data=ordered

More in log

So my partition is corrupt. I'm running 30f and will clean flash 30b today. But maybe for your information you can find something in my log which possibly is related to commits.

Hope that i helped a bit.
[G2 Android Development] dorimanx:
This is not the same.

No log, then kernel was not the issue.

no emergency remounts. Actually nothing, about what was before the reboot.

Device was hot?

Sent from my LG-D802
[G2 Android Development] Diechel:
CPU was around 65 degrees, it was running waze navigation with GPS. Also i streamed music to my car (bluetooth) using xiialive and 4G.
[G2 Android Development] 60nine:
since v73 release, no problem at all -survived multiple hours of extensive NFS playing...

until few monites ago when i got the imfamous freeze again while simple reading in Feedly...

log

https://www.dropbox.com/s/256m15vnb6jdund/dorimanx_debug.zip?dl=0
[G2 Android Development] salmankhere:
[MENTION=2376110]dorimanx[/MENTION] again thanks for your quick support

i think my vs980 is getting hot than before while on idle, i have tested it on new stock rom too.. but phone is getting hot...
[G2 Android Development] boyheadkick:
quick report here..

oh wait, scratch that, actually there's nothing to report lol

7.3 is absolutely stable for me, no reboots, no freezes, no overheating, no nothing!

playing boom beach, madden mobile, nfs no limit; constantly on g+, facebook, espn app, instagram, checking work emails, and youtube

didn't test the alarm wakeup feature though, so..
[G2 Android Development] dorimanx:
No last kernel log, rom or app bug.

I see you strees cpu in config.

When you do that, best to reduce max temp from 76 to 73 to compensate the heat stability.

Seems like heat spike, or rom/app panic/crash.

kernel was not the issue.

Sent from my LG-D802
[G2 Android Development] dorimanx:
Check apps in background. Kernel not doing anything, if not requested to do.

Heat comes from cpu/gpu, install cooltool app to see your cpu and other parameters in your upper screen, and you will know when something is wrong. High freq and high cpu usage when you do nothing.

Find what is it, and shot it. I cant control your device and apps.

Sent from my LG-D802