yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] Josh:
I try to flash latest beta and it failed . I'm on clean flash Cm13 0601 and gapps after that I try to flash kernel Twrp 3.0.2.-0.I try several time to download and nothing.. I dont use any bootstack,Cm works fine. Any suggestion? Maybe I try install bootstack or some can post file to flash? Thanks
[G2 Android Development] szabyka95:
couldn't you automatize these procedures with a script or idk ? (compiling for 8 variants)
[G2 Android Development] bahi84:
Same problem for me

I have hybrid bootstack
[G2 Android Development] blastagator:
I'm sure he is using scripts, but that doesn't address the other issues I raised. (Also my script for building twrp is over 530 lines of code, so it isn't exactly a 5 minute process.)

Compile time costs cpu time, $, etc. and then it just leads to repeated reports. It isn't very sensible to compile more and more of the same thing with issues.
[G2 Android Development] astherion:
How funny! Everybody has beta-N1 except (still, after almost 1 week) ls980/vs980 users!:(((
[G2 Android Development] johnb380:
Entitled much? It's already been discussed why...
[G2 Android Development] jeebspawnshop:
Yea, that really IS funny! Hahahaha...

So what's your point?
[G2 Android Development] pipyakas:
I dont know if I can ask this question here: is there any way to force the cpu run all 4 cores with all of them on the highest clock speed?

I tried everything I know: performance gorvenor, force hotplug to run all 4 cores, disable core control in thermal control, but the clock speed always throttle down to around 1.2-1.7ghz [MENTION=5422660]Galactics[/MENTION]tryder can you implement a feature to disable all thermal throttling? Is it possible?
[G2 Android Development] idkwhoiam322:
You want to heat up the device as much as possible and cause something, most probably the battery to go BOOM and get a third degree burn? Why would you need the CPU clocked at max at all times???? That's the whole thing about the CPU control... it increases only when it needs so much power you know
[G2 Android Development] jeebspawnshop:
Impossible. That would lead to INSTANT over-heating, which would damage your phone and/or cause a system lock up to protect the hardware.
[G2 Android Development] alirezagoli95:
Hi please help me how to installing this kernel on cm13 night d802

Please help me of step 0 to end. Thanks.
[G2 Android Development] szabyka95:
flash the .zip
[G2 Android Development] pipyakas:
Yes I know what i want, because sometimes I play game and I need the most performance out of my phone for it, for ex some cpu intensive emulator like ppsspp :rolleyes:
[G2 Android Development] lunafag:
For PPSSPP you want ONE core running at the top frequency. Also you can try really old versions of PPSSPP - they won't be as compatible but might be significantly faster in some games(2014-something version fixed stutters in late Patapon levels for me).
[G2 Android Development] alirezagoli95:
Tnx but i flashed this zip file and before flash bootsteek but when the start OS I couldn't use phoneID and call everyone

When clicke on name for calling my mobile phone restart. Please help me where does i do wrong?

I'm sorry for bad en.
[G2 Android Development] pipyakas:
Even with only one core up only, I still cant force a 2.57ghz clock speed as it would throttle down to around 2ghz and lower as time went on, even if my device is not getting much heat as only one core is running

I just want to disable thermal throttling that's all
[G2 Android Development] Trixanity:
That's why it's called thermal throttling: the chip is too hot. You might not feel it immediately, especially if it throttles quickly. What you want is to get peak performance perpetually but that's not possible. You'll have to settle for sustained, even if it's considerably lower. Even if the kernel can overwrite all throttling (shouldn't be possible since the chip should have internal mechanisms to avoid high temperatures especially in case the kernel fails), you'll end up with a dead device. You'll probably lose the display first though since it seems very vulnerable to high temperatures. And then there is the danger of either ruining the battery or even causing fire hazards.

Oh and as for high clock speed, they don't scale very well. That means when you reach a certain point, even a slight increase in frequency causes a large rise in power consumption resulting in considerably more heat. Even the advertised 2.2 Ghz is a boost clock meaning it will be hard to maintain that speed for long. It's a smartphone chip: the TDP is low. It's not really meant to hit such high clock speeds for long. The power draw increases dramatically when you get up there and raising it to say 2.5 is beyond what it's designed for, that often results in potentially unstable behavior or excessive power consumption. Again, smartphone chip with a small TDP. It's got passive cooling with a small power envelope. Those speeds you ask for are not possible for any length of time.

If you want better performance, then buy a new device. Either one with Snapdragon 820 or a device sporting A72 cores. Or wait and buy one with upcoming 823 or even 830 (or the upcoming A73). The TDP will still be a factor but they do have much higher performance.

I would actually suggest trying to use emulators on a tablet device when possible. They should have a higher TDP due to sheer physical size and possibly better passive cooling solutions. It allows for better heat dissipation.
[G2 Android Development] GalaticStryder:
BETA 2 is alive

Not so much to say, I'm just releasing this new BETA today in order to complement the fails some people had in the previous release. I can't be 100% sure if it works okay for everyone, so I'm uploading the variants that reported a non-booting scenario before.

Order: d800, d801, ls980, vs980,d802

These are the ones I plan to release today. Try always to clean flash if coming from something that is not Hipnose release and always use on certified firmware like untouched init/configuration files. It means: CyanogenMod, crDroid, AICP and others. These are the only ones I could find some latest activity/sources. The content of the "ROM" doesn't matter (eg. I use my Slim6 build which is not CM at all but I didn't change the init/fstab files = works magically).

Changes from BETA 1:

- Fixed F2FS reboots (it's fairly stable now, 5 days no reboots)

- Wakelocks switchers

- Eight new governors (seven enabled): darkness, nightmare, intellimm, pegasusq, impulse and yankactive from dorimanx. Slim governor brought up on my own, courtesy of Robbie Lancaster. Brazilianwax governor is disabled for now, I'm bringing it up from older kernel versions just for fun!

- MSM limiter will lock at 2.2GHz since boot - although it's late_initcall driver it won't burn out your temps/race with thermal driver anymore.

OBS: I saw some commits from Bruce that locked the driver at 2.2GHz on boot back then so I took it as a North. He applied his lock code in cpufreq driver which is core_initcall. Usually, OC leads to boot-looping in most devices.

D800 variant is up. Others are uploading.
[G2 Android Development] idkwhoiam322:
Could you upload recommended settings as well? Does synapse work yet or we have to use terminal/modded auditor? Thanks for your sanding work!
[G2 Android Development] ytgbg:
Hi mate,

Thanks for Beta 2!

Do you care to share your build of Slim6? It's a shame that there is no Slim6 rom for G2...
[G2 Android Development] dharani1234:
D800 - Beta 2- Dirty unicorns - Stuck on LG logo at boot.
[G2 Android Development] pockets916:
First off thank you for your work galaticstryder. D800 beta 2 xosp stuck on boot.
[G2 Android Development] usama_92:
D800 - Beta N2 - AICP 20150603 build. Stuck on LG logo.
[G2 Android Development] GalaticStryder:
I'm pushing another build with max allowed frequency set to 2.2GHz for CPU initialization, what bootloader does your D800 run? Other than that my only thought would be voltage related. I didn't have a look at XOSP tree but shouldn't be so different from CM. I also need to recap the newest ramdisk changes, I use the ones from the stable cm-13.0 as a reference.

D800 and D802 ready for reports.
[G2 Android Development] szabyka95:
Tested on d802, exodus aosp, everything is fine. Though I miss sound control
[G2 Android Development] usama_92:
D800 AICP 20160603 - Beta N2 2nd build, still stuck on boot logo. I'm using blastagator's hybrid bootloader.
[G2 Android Development] szabyka95:
In antutu ram score is 1000 less then before with stock kernel, so is Storage performance.
[G2 Android Development] astherion:
GalaticStryder, hope you release N2 beta builds for ls/vs980 soon! Because we even didn't try N1 Hypnose yet:(
[G2 Android Development] aleasto:
Hipnose N2 working well on d802, cm based rom. Feels a lot snappier than previous build! Also no reboot so far.

Good job, sir.

- Edit -

I'm having a hard time trying to let cpu max freq stick at 2.8ghz, it seems to get reset to 2.2ghz after few minutes of inactivity. Any clue?
[G2 Android Development] dremoto:
Anxiously awaiting the ls980 release! Rome wasn't built in a day. Great work and appreciated time put in to the project GalacticStryder! This is a hobby not a job.
[G2 Android Development] bestgames:
Work perfectly on LS980 - Resurrection Remix 5.6.9. No problem till now!
[G2 Android Development] belgianrebel:
After flashing the latest beta I had my accelerometer that wasn't working properly. Auto rotate and tilt steering in games didn't work. So I returned to the pure build and now its working again.

I'm on cm13 latest nightly with my d802 can anyone confirm?
[G2 Android Development] szabyka95:
What? Exodus ain't supported? Best AOSP CAF firmware for the gw, and fastest too
[G2 Android Development] OT-Xtreme:
what ia gw...

what about aicp
[G2 Android Development] dharani1234:
I think he meant g2. Also, AFAIK AICP is based on CM.
[G2 Android Development] GalaticStryder:
As I posted before, I can't track ALL Android projects that exist, all I can do right now is recommend people use the ones I can see the source code. I'm going to plan a standalone solution for my kernel, thus, CyanogenMod init files don't work properly. You can try though.

su

dmesg | grep 'init'

Will return you 'write_file: can't write... no such file or directory' or 'can't expand property' issues.

Do this on stock and see that this doesn't happen.

This is another +1 for my standalone ramdisk overlaying of init files. The problems some of you pointed in BETA 3 are going to be evaluated although I could find some related changes in daily usage.

It doesn't "reset" but I confirm this issue as well. You can get some more insight/report for me using limiter API:

su

cd /sys/kernel/msm_limiter

cat resume_max_freq

Should return a 2.8GHz on all cores if you set it universally on Adiutor mod.

Go to the app and set it again to 2.8GHz.

cat live_max_freq

Will return the actual value a given CPU can achieve. All should return 2.8GHz in good conditions.

Let it sleep some minutes and check again.

cat live_max_freq

All should return 2.8GHz again, if it doesn't some core might have gotten stuck at CPU boost frequency.

A workaround for this is to set the frequencies per core in Adiutor (Only mod supports 5.3 limiter).

Let it sleep and check the live_max_freq attribute again. Should now return what you set previously.
[G2 Android Development] chemavilla:
D802 CM13 05/30 compilation with Hypnose B3, can't activate bluetooth, it freezes changing wifi status in quick settings and sometimes reboots, neither of this problems with CM kernel and B2. Performance gets better than B2.

Thanks GalacticStryder, keep the good work.
[G2 Android Development] dremoto:
I ended up with steady random reboots on Resurrection Remix on the ls980. Haven't had a ton of time to test since I'm at work currently. Ended up flashing to the last pure build so I could finish business matters on my phone for the rest of the day. I have faith still in his nose! Keep up the good work GalacticStryder!
[G2 Android Development] Floodland:
B2 boots and works ok with Exodus, at least with D802/5/6.

It feels fast, Slim is a great governor, but even tweaked, I could not get good battery duration (again, b2).

The thing is, Exodus stock kernel is hard to beat for that matter...

Keep up the good work!
[G2 Android Development] quangtuyen88:
I'm using RR 5.6.9 also on my D802.. I have not had random reboot with B1 but many reboots with B3 and i need to rollback to B1 .
[G2 Android Development] Afeef.mlk:
Hey I want to try this kernel on my LG G2. I'm a bit new here because I never tried to flash a kernel on my device. I am running CM 13 second snapshot on my D802. Just wanted to know which version of jernel will work best for my phone. Can I try the latest beta version for this old build of CM13 ? Also what is the difference between "Pure" and "Beta" builts ?
[G2 Android Development] bestgames:
Confirmed! Random reboot with Beta 3 (LS980). Not happen with beta 1.
[G2 Android Development] Afeef.mlk:
Secondly if something goes wrong after flashing the kernel, how far will the problem go ? I mean do kernel effect your phones recovery, bootloader or other sensitive partitions, or just your phones system partition ? Also if I make a backup through TWRP rec will I be able to recover from it if I get bootloops ? Thanks
[G2 Android Development] quangtuyen88:
I want to capture the logs when my phone freeze and then reboot .. how can i do it ?? i saw 2 times i use toggle to turn on/off wifi and it's hanged and then reboot.
[G2 Android Development] gnaneshwar.v1:
Bro...please make this kernel for F320 !!!
[G2 Android Development] android extreme:
I installed beta 3 on aicp, the phone booted fine without bug freeze random reboot or other strange behaviour. It incredible that this kernel in 3 release can match the performance and the stability of kernel like healty marshmallow or dorimanx that are developed for a long time. I wonder what the developer can do in 3 month of costant development.

Congratulation for your work here galactikstraider
[G2 Android Development] GalaticStryder:
I've been cleaning up all my cpufreq code, this should solve most issues with inactivity/suspend frequencies getting stuck. I'm fetched the latest CAF 3.10 kernel (1.3.5 for MSM8976). I'll try to backport some things since I already have the base running 3.10 tree codes, it may be easier. BETA purpose is testing, hopefully gettin' into stable soon.
[G2 Android Development] astherion:
Beta N3 for LS980 leads to spontaneous reboots.
[G2 Android Development] astherion:
Phone sometimes random freezing. Just stuck on freezed desktop - and nothing! You just can only reboot it by holding 3 keys.

For now real stable enhanced kernel (for LS980, maybe because it has no "official" cm13) is Pure Stable from 22/04. Another is too hot/battery drain/leads to reboots/stuck/etc.
[G2 Android Development] android extreme:
Instaed instead of complaining bug on your rom why you don't try to take log of every strange behaviour that happen on your device? Post that reporting bug without log are really useless
[G2 Android Development] Litendria:
Installed BETA N3, i got random reboot, freeze issues on d802 CM13 official version.
[G2 Android Development] Mrondo:
I've just about had it with your bad, arrogant and entitled attitude. The devs who work on this amazing kernel don't owe you anything. Their work is theirs to carry out, manage and distribute as they see fit; so don't come here complaining as if someone denied you something that is your right. Outright bashing of someone's work is frowned upon and discouraged. If you have issues with the operation of your device after flashing the kernel attach logs so that they can be looked into as opposed to directing your frustrations at this forum. You are entitled to your opinion but express it respectfully and politely.

MOD EDIT: Please be respectful towards people.
[G2 Android Development] bromoxitos:
i have a problem, i flash this kernel last day but the synapse dont work on me it want let me to any settings,i download the Frequency form the cpu,but after i clik the ok it backs to start,and i dont see any core single speed,i have the last beta3 for d 802!! any idea????
[G2 Android Development] ramabg:
Next time, attach your logcat so your useless annoying whine can be a bit usefull. This is the guide http://xdaforums.com/showthread.php?t=1726238
[G2 Android Development] android extreme:
On aicp i had 2 reboot when:

-installing an app

-opening a page on a browser
[G2 Android Development] android extreme:
The developer said that in this new build the ukm lack of some part so you should use app like kernel adiutor mod to tweak the kernel values
[G2 Android Development] bromoxitos:
well i go back to stable old version...ty any way:good:
[G2 Android Development] astherion:
Maybe need wipe cache + dalvik after installing the kernel. I made it and has no issues for now. Lets see tomorrow...
[G2 Android Development] Abrilabr:
So, i got a noob question here, whats better for batt life, Smartmax default gov or Ondemand?
[G2 Android Development] xxoscarxx28:
Ondemand is far better than smartmax, performance, efficiency and battery-wise. Btw... CPU burns just 10-20 percent of your battery. Your screen is your enemy

Another sidenote... Interactive governor is what you must use if you want to optimize everything, and so it is better than ondemand
[G2 Android Development] android extreme:
Someone else noticed that the max gpu frequency doesn't go under 650 mhz in gpu setting of kernel adiutor mod? I tried several times and with many different rom but the max frequency remain on 650 mhz and the minimum on 100 mhz
[G2 Android Development] xxoscarxx28:
Might be a problem with the latest betas. I am using Hipnose Beta 1 and I can change GPU min-max freqs. Only "quirk" observed is msm_limiter "locks" the cpu gov sometimes
[G2 Android Development] astherion:
How can I made log from my device if my phone is unresponsible? Or if my phone just only reboots? Thanks for the help.

@GalacticStryder thanks for the great kernel! Unfortunately Beta-N3 for ls980 leads to reboots & freezes phone. Will be waiting for you next releases!!!
[G2 Android Development] xxoscarxx28:
You can use last_kmsg to retrieve log of last android session by using this code

cat /proc/last_kmsg > /sdcard/kernel_log-$(date +"%m-%d-%Y").txt

You might want to save this as a script. The log will be found in /sdcard
[G2 Android Development] banjaminicc:
So no f2fs support?
[G2 Android Development] xxoscarxx28:
F2FS supported but unstable for now, next build contains a hotfix as said by dev
[G2 Android Development] banjaminicc:
Oh thanks
[G2 Android Development] astherion:
Thanks! Will try & hope this logs help developer improve great kernel!
[G2 Android Development] pinkfloyd3:
me too

Bliss Rom 6.4 d802

i have a lot of freezes & reboots :(
[G2 Android Development] aleasto:
Even if i had just set 2.8ghz in Adiutor,

cat resume_max_freq

returns 2.2ghz;

cat live_max_freq

instead returns 2.8ghz.

After sleeping for a bit

cat live_max_freq

returns different values for every core and for every time i execute it: for example i got

2.26/1.19/1.19/1.19 or 2.26/1.49/1.49/1.19

By using Kernel Adiutor Mod to set frequency per-core, i got

cat resume_max_freq

to return all 2.8ghz, but after sleep

cat live_max_freq

still returns lower different values, just as i mentioned earlier.

The way I got it to work is to set suspend max frequency to 2.8ghz too. I'm fine with it, but a proper fix would be great ;P
[G2 Android Development] melvinsiminiano:
Bro you still supporting f320 devices?
[G2 Android Development] GalaticStryder:
Fixed this awful issue just now, cleared it up and made the print messages more detailed for our msm_limiter. It will be now 5.4. I have made a general cleanup/rebase to assure 100% quality for stable release. Please test latest D802 incremental on drive. AICP, CrDroid and CM working good with this one.
[G2 Android Development] aleasto:
CPU OC up to 2.8ghz and governors are gone? [emoji5]

Also, kernel adiutor mod still says msm_limiter 5.3, not 5.4
[G2 Android Development] android extreme:
GalacticStryder i've a few question regarding your latest incremental:

-is safe to use with cyano on f2fs partition?

-does it have the latest adreno blobs?

-is avaible a changelog?(this is because i'm out of curiosity ahahahahahah)
[G2 Android Development] GalaticStryder:
I said will be 5.4 when I rebase all changes into one so others developers can use my code. OC isn't in question at this time, I'm planing to create a safer boot lock to 2.2GHz. We are using a mixed 3.10 cpufreq drivers so most 3.4 governors aren't working as intended.

F2FS is stable as rock with latest fix for dirty pages, I encourage everyone to use it by the way. Kernel has nothing to do with blobs and no, G2 doesn't have up-to-date blobs although we could use hammerhead-caf for this purpose. I'm recreating my changelog script to push it for everyone's device inside UKM (when ready) so you can read from there. Proper changelog is at https://github.com/GalaticStryder/kernel_lge_msm8974, lambda branch is the official one and will be updated on stable state, the others are tests like limiter.
[G2 Android Development] android extreme:
The kernel is stable and really fast with cyano 21/06 on f2fs partition but i have always the same issue: kernel adiutor mod doesn't let me to change only the max frequency on gpu core. Apart that the kernel is fully stable

EDIT: Found an important bug: after the boot the core 1,2,3 are disabled and all the task are loaded on core 0. This issue can be fixed disabling and enablig the mp decision hotplug.

The issue doesn't happen on briked hotplug but only on mp decision
[G2 Android Development] VToTheA:
After trying to flash the kernel from TWRP recovery, I rebooted and now am stuck on a black screen with "[800] fastboot mode started" written in small and white on the top. What do I do?

[Edit:]

Holy ****. I nearly **** my pants... After holding the power button longer when on black screen, I could finally turn off my phone completely and get into recovery afterwards.

Thank God!!
[G2 Android Development] Pacer_456:
That's bad, you are nearly hard bricked. I had to short circuit some pins on the cpu and manually flash the boot images to get it to work again, took a grueling day. There are somethings you can try though, does your pc recognize it etc.

There is a guide somewhere in the xda forums I think is titled How to fix real hard brick
[G2 Android Development] VToTheA:
I'll try to connect to PC.