yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] dorimanx:
why only you report that... strange.

something with your windows... as kernel panic when trying to enable mtp.

it's works for other vs980 users...

uninstall all adb/mtp drivers.

reboot.

install latest ADB/USB drivers for LG for your model
[G2 Android Development] baset70:
Hello. I have ROM Cloudy g2 version 3.1. Is Kit Kat flash boot loader to install this kernel should I?

i cant found bootloader kitkat for d801
[G2 Android Development] Peppe91:
I've set "affected cores on touch boost" on 3 cores but in synapse app when i check i see only 2 core boost. Maybe the touch boost it's so fast that synapse can't refresh immediately?
[G2 Android Development] Lizzacore:
Here :

Sendet from my LG-D802 with Tapatalk!
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

Installed v3.1 thanks for your great work!

PS: I tested the previous versions (ie v2.9 and 3.0) and I noticed that extreme profile has worse scores (around 38k points) in antutu benchmark (NOTE: tested always in the same condition ie temp ram etc. to avoid great variations of scores) than performance profile. It seems that performance profile is better than extreme profile. It is possible my assumption?
[G2 Android Development] SimpleX91:
Phone heats up faster then comes CPU (and GPU?) throttling. Anyway, forget about Antutu and don't mention it here anymore, please. No one cares of your scores. ;)

Performance is not intended for GAMES. It's purpose is to give you faster phone response and smoother UI, not FPS in games. You shouldn't overclock CPU for games, it would just lead to faster and more aggressive CPU throttling, that's all. No gain here.
[G2 Android Development] dorimanx:
your /cache is not mounted!

format it again via recovery. something is broken for you.

root@g2:/ # mount | grep cache

mount | grep cache

/dev/block/platform/msm_sdcc.1/by-name/cache on /cache type f2fs (rw,nosuid,nodev,noatime,nodiratime,background_gc=on,user_xattr,inline_data

,active_logs=6)

root@g2:/ #

till you will see this or something similar with EXT4 (may is F2FS) you have a problem!
[G2 Android Development] dorimanx:
correct. its 200ms. you cant register that.
[G2 Android Development] Brahialis:
Dori, i don`t see recovery folder in cache. Should i create it (mkdir /cache recovery) and give it permissions "chmod 777" ?

P.S. Did not see you previous reply! Will try to format cache! Thanks for advise!
[G2 Android Development] mats_youri:
I have LS980. The problem is this occurs as I've said evn if I am DISCONNECTED from pc. Cannot switch USB debugging nor mtp/ptp.
[G2 Android Development] Brahialis:
Tried format cache (in TWRP 2.8.6.1) and it didn`t help, same result. Maybe, try to change it to F2FS ( i am on EXT4 now) ?
[G2 Android Development] n@vier:
Antutu not only head fps games ! When I make changes in addition to the fluidity of the UI I control the benchmark ( not only Antutu ... ) to see if it actually improves or worsens the multitask ram , read / write etc. It is useful to have references about change... (i'm not neophyte...) however I will not do more of these questions , thanks for the warning :good:
[G2 Android Development] saspo59:
i think u are new here ,nobody care about antutu here
[G2 Android Development] n@vier:
I understand, in fact I thanked him for the warning ;)
[G2 Android Development] Lizzacore:
[MENTION=2376110]dorimanx[/MENTION], Everything worked now with F2FS :)

Sendet from my LG-D802 with Tapatalk!
[G2 Android Development] dorimanx:
i have unidentified what causing reboots.!

all that happen when screen is OFF.

hotplug put all cores to sleep. so we have core0 then hotplug stop it's self. and no one to bump cores UP if load is too high on CPU0

during screen OFF and in standby (wakelock hold, can be anything! music,phone call,file copy, and others.)

so core0 is 100% load. and cant give fast response for other system things like I/O RAM Services Modem and so on.

so in some point it's trigger fail on ram allocation or fail in too long I/O wait or too long process waits...

we get Reboot!

now i have checked stock, and guess what! LG was "SMART" they put all cores ONLINE during screen OFF event.

and allow max freq.

we have limited freq on screen OFF.

and no problems! LP kernel and ROM swimming in power of cpu and draining power.

so my solution! is to put 3 cores online when screen is OFF. and allow max freq set in dorimanx app.

this will reduce drain. and fix all reboots from system resource shortages!

https://github.com/dorimanx/DORIMAN...mmit/7e5268683f5520f6105dba4f52a9a23ef9eb0002

BOOM! reboot bug is dead.
[G2 Android Development] SimpleX91:
Yaay! It's awesome you figured out what's the cause of these random reboots is!

But wouldn't 2 cores be enough for screen off time? Or there might be some CPU hungry tasks?

Anyway, you ROCK! Thank you! :good:
[G2 Android Development] reddsmokee:
very good news. i'm waiting for next version.
[G2 Android Development] Lizzacore:
Since now , round about 3 hours , no reboot :)

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

Kernel 3.1.1 is ONLINE.

*Fixed reboots from watchdog kill it's self... extended check time out.

*Enabled 3 cores when screen is OFF and system is no sleeping! (call,music,file transfer, and others)

When will enter suspend, then only core0 is in deepsleep, others OFF.

This should fix reboots from resource shortages.

one core cant handle LP ROM. and our needs.

i will delete 3.1 and this kernel will show 3.1 in kernel version in ROM.
[G2 Android Development] ivan02891:
Are you planning to release for F320 variant?
[G2 Android Development] bender_007:
Hey. Can you check if this happens again? If yes try manually entering /cache/recovery to see if it's there.

Poslano sa mog LG-D802 koristeći Tapatalk
[G2 Android Development] dorimanx:
.

no
[G2 Android Development] dorimanx:
format recovery via recovery. it's damaged and not mounted on boot.
[G2 Android Development] bender_007:
I have no issues on this one :)

Just trying to help out

Poslano sa mog LG-D802 koristeći Tapatalk
[G2 Android Development] dorimanx:
no. 3 is the best solution. we have freq limit! and LP STOCK! use 2.26max 300min on 4 cores during standby.

this way all good with stock... nice hack...

live feed.

root@g2:/data # grep . /sys/devices/system/cpu/cpu*/cpufreq/cpu_utilization

grep . /sys/devices/system/cpu/cpu*/cpufreq/cpu_utilization

/sys/devices/system/cpu/cpu0/cpufreq/cpu_utilization:75

/sys/devices/system/cpu/cpu1/cpufreq/cpu_utilization:77

/sys/devices/system/cpu/cpu2/cpufreq/cpu_utilization:26

root@g2:/data #

Screen OFF! usb connected via adb.

playing MP3 320 48000khz from internet stream di.fm over WIFI and using xhifi and many viper4adnroid features that use CPU hard.

so now on 3 cores load is relaxed. before was 100% non stop on core0 only.

i guess it's can be anything else. for other people.
[G2 Android Development] ivan02891:
Oh why?
[G2 Android Development] dorimanx:
OH! found the BUG.

my fault.

https://github.com/dorimanx/lp_ramdisk_dorimanx/commit/43826358c6bd98f52c1170c3cf1f70f0c1a70aba

i will upload 3.1.2 with cache mount fix. as EXT4. F2FS cache mounts OK. i have it, so i didnt noticed.

try 3.1.2 when it's will be online. already in build process.

Thanks for report.
[G2 Android Development] dorimanx:
it's different phone, and kernel is very different! thank you LG...

I will have to hold new kernel branch only for F320 and start all over there.

no thanks. i have no time for this.

kernel developing take too much of my free time. sorry.
[G2 Android Development] dorimanx:
Kernel 3.1.2 is ONLINE

*Fixed mount of cache as EXT4. was broken from 2.9 no SELINUX.

if your cache is formatted as F2FS. you can skip this update.
[G2 Android Development] Bx16:
Hi [MENTION=2376110]dorimanx[/MENTION]. I can't install kernel by OTA app (md5 dont match) and manually (downloaded kernel in PC and putted It on internal memory) I'm on Cloudy G2 3.1, kernel 2.9, using F2FS for data and cache and my model is D802.
[G2 Android Development] smartpr1v4t3:
Delete the Kernel zip file in /sdcard/DorimanxOTA and download it again with the OTA App.

I downloaded the zip with the OTA App and from mirror www.dorimanx.com

MD5 is fine for me.

[MENTION=2376110]dorimanx[/MENTION]

Thank you very much, hopefully the bug is finally gone. 3.1.1/2 is running fine atm.
[G2 Android Development] seba112:
3.1.2 booted fine on D802 ;)
[G2 Android Development] n@vier:
[MENTION=2376110]dorimanx[/MENTION]

Also the v.3.1.2 (like v3.1.1 as you mentioned) show 3.1 in Dorimanx App.

Thanks for your constant support and development :good:
[G2 Android Development] Bx16:
No, it's not working for me

OTA app causes error in recovery (md5 dont match)

Download from mirror causes error (pic rel in my previously post) :(
[G2 Android Development] bender_007:
1. Download manually and check md5

2. If it matches then disable zip file verification in twrp and flash the zip

Poslano sa mog LG-D802 koristeći Tapatalk
[G2 Android Development] mdau:
can you provide the link for stock kernel (running cloudy g2 3.1 but D802)
[G2 Android Development] bender_007:
I suggest you better just reflash the rom without clearing caches

Poslano sa mog LG-D802 koristeći Tapatalk
[G2 Android Development] lynxrz:
Tried same settings (Alucard x 4, no touchboost ) with sky force game and I can confirm "smooth as hell"

No lags

Same settings ( 2.9 ) is laggy at high fps
[G2 Android Development] Capomen:
I flashed 3.1 kernel and phone have random reboot , when open Dorimanx app my Radio version has gone and gsm service unavailable ,i use stock rom v30b. i add pic. What can i do?
[G2 Android Development] SimpleX91:
Reboot. Noticed some errors in log.

Will try to delete data/.dori and reflash.
[G2 Android Development] n@vier:
Hi, I have v30b stock (LG G2 D802) with dorimanx kernel v.3.1.2 and gsm works well.

Try to flash again the kernel but before flashing it wipe dalvik and cache in recovery.
[G2 Android Development] smartpr1v4t3:
Had now an reboot in standby with d802 (data/cache f2fs) on 3.1.1 with Alucard Hotplug and govenors on ondemand.

Will try msm_hotplug hopefully there isnt a reboot.

Log attached

Edit:

Same with msm_hotplug

I try now set Suspend mode to "Always Active"

I dont understand exact this feature but maybe it works with this settings, then we know where to dig ;)

In the discription you wrote only 1 core is active with Hotplug Suspend. Maybe there is still something wrong with this setting?
[G2 Android Development] mats_youri:
Situation with USB connection got me. Just .tot flashed my LS980 to ZVE, sideloaded ZVG, root, twrp, nothing more installed, flash 3.1.2, trying to turn off USB debugging - reboot, trying to switch to dev adb in dori app - reboot, I'm lost. PC NOT CONNECTED
[G2 Android Development] Capomen:
I do what you write and flashed 3.1.2 kernel but problem not gone
[G2 Android Development] jamesd1085:
Install stock based or cloudy rom and let it set up...was only way i was able to fix when it happened...even restoring my backups failed to fix baseband and imei issues...after it boots and you confirm issue is gone you should be able to restore a backup from there
[G2 Android Development] n@vier:
Try also to delete data/.dori and flash again.

If the problem not gone try previous version or try to flash stock kernel but before do this set SElinux ON in dorimanx app and repeat the flash.

If the problem with stock kernel not gone I don't know...and wait dorimanx's reply.
[G2 Android Development] Capomen:
Ok thanks for reply ,i try that and wait what dorimanx say.

Wysłane z mojego LG-D802 przy użyciu Tapatalka

---------- Post added at 02:40 PM ---------- Previous post was at 02:27 PM ----------

I do that and not work , i must wait what dori say
[G2 Android Development] mannequin:
noticed something weird about applying kcal settings through the script.

the color values ONLY change if i keep the screen ON during the whole boot process, meaning keep touching the screen on the first lockscreen after the boot so it wouldn't turn off until the color changes. tested many times and they never getting applied if i just normally let it boot.

does this make any sense?
[G2 Android Development] SimpleX91:
You could reflash system (without wipes).

I faced the same issue, don't know why. Modem just stopped working. Something related to system partition..
[G2 Android Development] dorimanx:
Use logic. And stop wasting my time with this.

Really... screen off, no color control.

Sent from my LG-D802
[G2 Android Development] Capomen:
I try flash cloudy 3.1 and will see?
[G2 Android Development] renzo090513:
No reboot so far. With 3.1.2 great work dori.

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] kyohiros:
in DorimanX OTA it shows version 3.1 even after i flash 3.1.2, does that mean i got 3.1.2 or the old one?
[G2 Android Development] dorimanx:
No reboots for me.

Going to movie with my girl (wife)

Some people should use stock.

As long i remember, any device i had and made kernels for them.

There was 5% of users that had always problems.

Or rebots or sods. And no matter how much time i have spent fixing things to be great for all the rest, same people reported bugs.

And i always said, please use stock.

So if you see that you are in this 5% as much as i want to help, i cant.

Your device dont like my kernel.

When i have problems, i dont sleep nights looking for solution. But when i dont, then we go forward, and sadly leave small groups with stock...

Good weekend to all :)

Sent from my LG-D802
[G2 Android Development] dannycellestio:
Before you go, please tell me if it's normal to show version 3.1 even if I have 3.1.2 installed ? I think you mentioned this, but I skipped it when I was reading
[G2 Android Development] n@vier:
Read --> here

It's OK ;)
[G2 Android Development] TMG1961:
Enjoy the movie and have great weekend
[G2 Android Development] secret.animal:
There is always a small percent that will have an issue. Especially when building for all variants. The developer is outstanding and could only wish others were like him.

I for one can say that, anyone that is as dedicated to his craft as he i is. Is someone to look up to and try to learn whenever he bears knowledge upon us.
[G2 Android Development] h@lek:
It is normal. Any version x.x.x shows as x.x
[G2 Android Development] Nigglenuts:
I think I know what you're saying. You must tap the screen during bootup so the screen doesn't go off, Color Control then gets root permission, and settings are applied? If you don't touch the screen it just doesn't apply settings of Color Control? Please let me know if I'm understanding correctly.

---------- Post added at 09:00 AM ---------- Previous post was at 08:59 AM ----------

Known problem. I had to flash it manually.
[G2 Android Development] mannequin:
yes. except i don't use Color Control app since it introduces quite visible flicker in my case and use an init.d script instead to set color values (been using one since early KK days). i've never seen such script behavior, especially when the rest of the non color related values from it are getting applied no problem if the screen goes off, only everything color related needs the screen to be on.
[G2 Android Development] Nigglenuts:
I am honestly mind boggled.

Edit: This may sound dumb, but you have turned on init.d support in Dorimanx app, right?
[G2 Android Development] mannequin:
yes, sure. like i said, the rest of the script works on boot no problem screen on or off.
[G2 Android Development] wolfist:
Im on Cloudy g2 3.1 for LG Ls980, after I install the kernel 3.1.2 and reboot the phone from TWRP 2.8.6.1, android updates 2 apps en then reboots again and keep on rebooting, I searched and tried SELinux-Enabler Scrip but phone keeps on LG logo, I have KK bootloader from this link, by the way I installed Cloudyfa's ls980 hotfix.

Hope you guys can help me 'cause I've searched a lot with no results, thank you.
[G2 Android Development] iko11:
A good husband, father, friend. This community grateful to you for your endless effort and sleepless nights. Please have fun with your family, have nice weekend, I wish I could buy your tickets my friend :p
[G2 Android Development] dosek15:
I have cloudy 3.1, where i can find bootloader lollipop?
[G2 Android Development] Maxi_Blitz969:
https://mega.co.nz/#!ZNkTmJ7L!h2siD4om0jKPkrTA4mSpCrdHvMBIY3Bv3aXIQxMDKQo

Flash this zip..select LP bootloader in aroma

And you're done

---------- Post added at 04:39 PM ---------- Previous post was at 04:35 PM ----------

I'm currently using cloudyG2 3.1 with LP bootloader but in the OP it says i need latest KK bootloader to flash this kernel..

What to do..

Help is appreciated:)
[G2 Android Development] n@vier:
You don't need bootloader lollipop!

You need a recovery TWRP Bump, for example if you use autorec v2 before flashing cloudy 3.1 you surely have bootloader kitkat (because made a downgrade of the bootloader).
[G2 Android Development] dosek15:
but i have LS980 cloudy starts fine but when i flash kernel i into booloops, my twrp 2.8.6.3 bumped :/
[G2 Android Development] Maxi_Blitz969:
you have to change the aboot.img file to work with KK for flashing custom kernel..

Worked for me tho..
[G2 Android Development] n@vier:
Guys read the OP :good:

YOU MUST HAVE LAST KK BOOTLOADER INSTALLED!!! FOR YOUR MODEL! OR YOU WILL STUCK ON BOOT!

Refer to other threads for recovery install process and for bootloader install

.

You can download TWRP Recovery HERE: Recovery Mirror

YOU NEED KK BOOTLOADER 20A and UP best to have 20H for D802!!! other models find what was last one version!

Download kernel, upload it to your SDCARD, anywhere.

Always have STOCK Kernel for your device!

so you will always have it on sdcard in case of any disaster!!!

Reboot to Recovery.
[G2 Android Development] Capomen:
Thanks for tip i flashed cloudy 3.1 , and now all working well thanks once again?
[G2 Android Development] TaRsY:
Hi Dorimanx!

While my G2 was under repairing I was using a Note 3, and their kernel dev, arter97 released his modul called "adreno idler" which supposed to lower the power consumption by calculating idle freq for the adreno in a more efficient way.

Have a look at the link, there's more explanation, maybe this is useful for us. Since Note 3 uses the same snapdragon 800 with adreno 330 as g2, merging should be easy.

What's your opinion?

https://bitbucket.org/arter97/andro...mits/28c79e6018fd761245303feb51b1ad684399290f
[G2 Android Development] dorimanx:
interesting! can be merged :)

I will check it out later. saved the link thanks! :)
[G2 Android Development] seba112:
[MENTION=2376110]dorimanx[/MENTION]

Hells-Core Kernel uses Android M merged source and apparently much they give it to the standby battery life.

http://hc-kernel.blogspot.ch/2015/06/nexus-5-b16-l-b2-m.html

Check this.

Sorry for my english ;)
[G2 Android Development] Lizzacore:
No reboots with 3.1

Sendet from my LG-D802 with Tapatalk!
[G2 Android Development] AlexVipXDA:
Hi master [MENTION=2376110]dorimanx[/MENTION], with v3.1.2, I state that I use poweramp and drivers viperfx, with screen off, music playback time I reached 76 ° C, unfortunately, I was in workout in the gym so I could make a log; with the few seconds available I did downgrade to 2.9 and the temperature is dropped shortly after to 50 ° C and finally has settled at normal temperatures.

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] n@vier:
For me temp seems ok. In idle with performance profile cpu 39° C.
[G2 Android Development] tsjanda:
I have had great temps with 3.1.2 on preformance profile with yankactive on 1-2-3-4. Even watching netflix and hulu. Never gets above 52c in recovery. Good and stable .
[G2 Android Development] AlexVipXDA:
If so mutch People not have that problem i go on 3.1.2 and Try again Thanks for answare

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] n@vier:
You can try flashing again the kernel v3.1.2 but before to do this, in recovery wipe dalvik and cache.
[G2 Android Development] blastagator:
[MENTION=2376110]dorimanx[/MENTION] - I recompiled gnu-tar command to support selinux, xattr, and acls (which I don't think android uses, but I tossed it in for good measure). I am creating new ROM install method that keeps all owner/permissions/selinux exactly as original rom, so we don't have to make these scripts to try and fix things after install. I got 30b booting with selinux enforce, even though I'll probably give in and switch to selinux disabled.

If you want the binary, I'll send it to you. It is ~1.5mb. Currently there is a problem where using -C flag to set destination directory doesn't work, just gives error. Work around is to cd/ to the directory you want to extract to, prior to running tar. I hope to work the issue out though.
[G2 Android Development] christiano88:
I get bad standby time with 3.1.2 (didn't test previous versions), battery dropped 13% overnight, sleep shows at 83%, wifi always on, mobile data on, but I guess that doesn't matter if I am connected to wifi. Using default settings in dorimanx app and -50mv UV. In battery manager, I see only cell standby, phone idle, wi-fi as main culprits. Just installed BBS to see if something else might be at fault. Had Facebook/Messenger hibernated with Greenify, only Whatsapp/Airdroid were running in the background. Also wanna add that temperature in idle is 43 and it rapidly jumps at 52-55 on light to medium usage.
[G2 Android Development] Lizzacore:
I have to say, that when phone is connected with Wi-Fi or mobile data the device get very warm , 52 up to 60°C on idle .. :o

But I don't loose so much battery ,that's good for my but not for my pocket :D

Sendet from my LG-D802 with Tapatalk!
[G2 Android Development] Vihru:
is that extreme battery profile best for good battery life settings or have someone something better profile? thanks

and what app i need to Undervolting?
[G2 Android Development] n@vier:
Read this very helpfull post --> here
[G2 Android Development] Lycidias:
I am very excited :)

No issues with latest Kernel Release so far

Thanks!

Spoiler content hidden.
[G2 Android Development] huseinn:
just browsin apps in play store then suddenly stuck and reboot, after that Signal Lost, SIM card unidentified, checking the phone status and IMEI etc says "unknown" . reboot into recovery, reflash kernel, Wipe cache and Dalvik but the issues still there.may I flash modem only or I shoul re-flash the ROM (oohh)

sorry, no log provided, it happens in blink of an eye :P

thanks before

3.1.2 with darkness in 4 CPU
[G2 Android Development] n@vier:
No one of these problem with rom stock lollipop v30b it's rock stable! What is your rom?
[G2 Android Development] huseinn:
Stock 30b, sir
[G2 Android Development] n@vier:
Very strange....have you a nandroid backup? If not, try flashing stock kernel before....you can find it in OP but check your model before flash it.
[G2 Android Development] huseinn:
nope, just start flashing stock using KDZ methode, Normal flash :) will report soon .

thank-ed :D

EDIT : it says com.android.phone has stopped working (uh) trying CSE flash now -___-

EDIT 2 : Back to STOCK (hhhhhh) and (undoubtly will) re-flash 3.12 :rolleyes:;)
[G2 Android Development] metalboy94:
I have this issue where the CPU clock will not go past 1.6 Ghz even though I have the maximum set to the stock 2.2 Ghz. Tested on all hotplug drivers and Alucard, Ondemand, Ondemandplus CPU governors. The issue persists even after a reboot. Any suggestions?

Edit: Seems to be a problem with the thermal protection, even when the CPU temperature is under 60 C i see multiple cores limited to 1.6 Ghz.
[G2 Android Development] n@vier:
[MENTION=4741198]huseinn[/MENTION]

For root you can use DP-Root that works very well.

For TWRP use AUTOREC available on google play (check always your model device i.e. D800 - D802 ...) then flash dorimanx kernel.

[MENTION=4088197]metalboy94[/MENTION]

In dorimanx app tap menu (3 dots) and try to reset to default.
[G2 Android Development] metalboy94:
Already tried, the only real solution I found so far is switching to default temp control only i.e. disabling kernel thermal control.