yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] Cristiano Lira:
Simple GPU governor is working fine here (with the tweak) and lowering the frequencies very quick and staying at 27Mhz in idle, I think we could have it as a option at least. Anyway, thank you so much for your efforts in our old mako, spezi77.

---------- Post added at 06:28 PM ---------- Previous post was at 06:26 PM ----------

I think the partial reverted Dimitry patches is the winner then. :)
[Nexus 4 Android Development] snacs:
Hi [MENTION=5091819]spezi77[/MENTION]. I installed R03 CM version, booted rom, then installed R04 test cpubootfix over and get bootloop :(
[Nexus 4 Android Development] Cristiano Lira:
Bad news. The problem is still there. :(
[Nexus 4 Android Development] xenyz:
I just realized that elementalx, hellsactive, and conservative all have a CPU boost built-in, and I believe mako hotplug already does the wakeup boost on screen on, so I don't even think it's necessary, unless using ondemand. (elementalx is ondemand but better, anyways)
[Nexus 4 Android Development] spezi77:
You are right about the fact that CPU boost within the governors is called by the Hotplug framework. But afaik wakeup & input boost are additional interfaces.

However, disabling wakeup & input boost, doesn't do anything about the constant load on CPU cores 1 & 2 in screen-on/IDLE mode as mentioned above.

Anyone still has r02 or maybe hellscore on their device? I would be interested in whether the CPU utilization is different.

Sent from my beanstalked N4.
[Nexus 4 Android Development] Cristiano Lira:
Just tested r02 and it seems that the problem I described before isn't present on it. :)

---------- Post added at 05:47 AM ---------- Previous post was at 05:34 AM ----------

Also, playing with r02, I don't see any need for adding input/wakeup boost on it as it's already smooth even using conservative governor.
[Nexus 4 Android Development] spezi77:
Good to know! Then I better remove the additional boosts.

Sent from my beanstalked N4.
[Nexus 4 Android Development] spezi77:
Honestly, I don't see much of a difference with cpu load and frequency handling in r02. In my device core 1 or 2 stay at 1350Mhz for most of the time, and then occasionally in one core it jumps between 94/384MHz and 1350Mhz. And in general the CPU load is at 15-30% while screen is on.

See here:

View attachment 3707544

@ all testers: What are your observations? Would be great if you let us know..

Cheers! :)
[Nexus 4 Android Development] Cristiano Lira:
The problem I noticed is that after some time the core 2 frequency doesn't get below 1026 Mhz, it only goes below if I reset the minimum cpu frequency to any value below 1026 Mhz, but after some minutes it all starts again. It's a bug that isn't present on r02, just on r03 and later.
[Nexus 4 Android Development] spezi77:
Ok, got it. I have misunderstood the reproduction steps..

Now, considering your helpful test results and feedback, I can make the right optimizations to this kernel! [emoji16]

Sent from my beanstalked N4.
[Nexus 4 Android Development] jcgalon:
hey guys, didn't work very well for stock rom :/
[Nexus 4 Android Development] dragos281993:
Of course not. The stock ROM is Android Lollipop. The kernel it's been exclusively built and tested on Marshmallow.
[Nexus 4 Android Development] tom0769:
Just wanted to report that the with KA the setting for preventing msm_hsci_host wakelock seems to do actually nothing, no matter if toggle is on or off.

Observing it for 24h each time with toggle on and off (rebooting each time after setting) showed no markable differences of wakelock occurrence.

Tested with WakelockDetector.
[Nexus 4 Android Development] spezi77:
In my phone it works. Tested with Wakelock Detector Free. Don't forget to clear history after toggling.

Sent from my beanstalked N4.
[Nexus 4 Android Development] xenyz:
[MENTION=5091819]spezi77[/MENTION] check out the comments on hells core blog here, he mentions issues with video playback on UberTC 5.3. I just confirmed this trying to watch the UCL on Kodi with this kernel. Switching back to hc88m it worked fine.

Could you possibly create another test build of r04-alpha-02 with the same toolchain as hC, UberTC 4.9.4 20160310? I wish I could compile, but I have a very old Macbook Pro that overheats. :/
[Nexus 4 Android Development] spezi77:
Hum, good to know. You are lucky, I was just about to create a new test build and also did the one for you using UBER TC 4.9 (AOSP).

https://www.androidfilehost.com/?fid=24459283995313671

Looking forward to your detailed report...

Cheers!

;)
[Nexus 4 Android Development] xenyz:
Wow that was quick, thanks. Now I have to load an AOSP ROM to test it, though. I'll try the latest Fake Nexus with April security updates and see if Cataclysm Mod is still kicking ;)
[Nexus 4 Android Development] xenyz:
I switched back to AOSP to test the new kernel and I think I have the solution. You have to disable cpu-boost manually, the Kernel Adiutor in fdroid/Play Store is different than on Beanstalk and it doesn't have the toggle to switch it off. Go into terminal and enter

# echo 0 > /sys/module/cpu_boost/parameters/input_boost_enabled

It should probably be set to disabled by default, but it stops the min freq jumping to 1026 MHz. I'm guessing it's because the input boost defaults are ...

root@mako:/sys/module/cpu_boost/parameters # grep . *
boost_ms:1000
input_boost_enabled:1
input_boost_freq:0:0 1:0 2:0 3:0
...

...so it doesn't have correct boost freqs set.

I'm going to try watching some videos in Kodi to see if the earlier issues I was having are resolved.
[Nexus 4 Android Development] xenyz:
[MENTION=5091819]spezi77[/MENTION] the new R15 looks like it's back to being stable, I've got some 70 h uptime with no issues.

What do you think about porting the sweep2sleep feature from bricked/ElementalX? I've been missing it since Cataclysm went away. You obviously don't need the sweep2wake portion, as dt2w works just fine, but swiping navbar to switch off screen would be nice to have again.
[Nexus 4 Android Development] spezi77:
Hey mate,

Sounds interesting. Once I will find a little time, I have a look into it. If it doesn't go into hellspawn, then maybe into revival. As I remember, hellspawn has already the knock-knock-code (from hells_Core) inside, which didn't allow me to add features like sweep2wake.

Cheers! ;)
[Nexus 4 Android Development] xenyz:
Yeah, that's why I thought you may be able to pick out the sweep2sleep feature and only include that.
[Nexus 4 Android Development] knm1574:
Hi Spezi77, I would like to integrate Hellspawn as default kernel for my local N4 build. I am getting an error http://pastebin.com/dL6RXfNT Kindly help hope I will get your help.
[Nexus 4 Android Development] dragos281993:
Hey Narasimha, I saw that another guy asked you about the ADB problem on G+. I'm curious on how you fixed the issue in your build. Would you be kind enough to share it with us ?
[Nexus 4 Android Development] knm1574:
Hi Dragos, I am just build with brunch mako command instead brunch mako user. :). You can check my repo on github.com/knmurthy for commits. Will you help me in integrating other kernel as you are building with Revival as stock?
[Nexus 4 Android Development] knm1574:
Dragos kindly help me in migrating the kernel pls.
[Nexus 4 Android Development] dragos281993:
Check your Inbox.
[Nexus 4 Android Development] spezi77:
Hi, you have my permission and I guess that dragos has already been a big help. Best of luck! :laugh:
[Nexus 4 Android Development] TheArt.:
Hi knm, are you going to create a thread of your port of PN here on XDA or you will post it only on G+?
[Nexus 4 Android Development] Cristiano Lira:
[MENTION=5091819]spezi77[/MENTION], did you see my pm?
[Nexus 4 Android Development] spezi77:
Yep, thanks for your inspiration. I will give it a try.
[Nexus 4 Android Development] knm1574:
TheArt as Dragos is already created a thread on XDA, I don't want to create another thread on XDA. You can follow me on G+.
[Nexus 4 Android Development] jacomail95:
[MENTION=5091819]spezi77[/MENTION], what do you think about this?

http://xdaforums.com/showthread.php?t=3429491

I'm sort of crazy about the obtaining of good audio quality on this old but capable device, see if it can interest you also :) thanks for reading

Inviato dal mio Nexus 4 con Tapatalk 2
[Nexus 4 Android Development] spezi77:
Interesting. I could merge it and make a test build for you. I will let you know when it's ready..
[Nexus 4 Android Development] Cristiano Lira:
I'm looking forward for that too. :P I'm also crazy looking to make audio better and more powerfull on my mako. :D.

PS: HH r16 test is working good, I only had a subtle power off but couldn't gey any logs as I noticed I hit Android log button by mistake on KA mod. Rofl. But if happens again I will take the logs for you.
[Nexus 4 Android Development] fr3quency:
Time to play with a new kernel it seems as I flashed the factory image to revert back to ext4.

I saw you have created another kernel as well by the name Revival http://xdaforums.com/nexus-4/development/kernel-n4-revival-r1-t3405752 - I am a power user and I want(need? xD) to edit every setting possible. Which one offers more settings and flexibility to a power user? This or revival? (I also like to beta test things so I'll flash r16 test right away - If you ever need help to test some stuff, just say the word)
[Nexus 4 Android Development] xenyz:
They both have options, you just have to choose your base. Revival = Semaphore; HellSpawn = hells-Core. I do believe HellSpawn has the most governors/hotplugs, though (and is the one I use with my custom installer)
[Nexus 4 Android Development] fr3quency:
Oh! I flashed this one and I'm pretty impressed thus far.

Anyone can help me improve my setup?

CPU max: 1512MHz

CPU min: 384MHz

CPU Governor: hellsactive

CPU voltage: -55mV

Hotplug: MPDecision (Kernel Adiutor lists it as an available hotplug and I'm very happy about that. I don't know if it's a bug, but I'd choose MPD any time over any hotplug)

GPU: 487MHz

GPU governor: ondemand (I cannot find interactive - is it available in this kernel or it's available in OP's other kernel?)

I/O scheduler: fiops

Read-ahead: 2048kB

Laptop mode: 1 (was 0 before, so I guess 1=enabled?)

Entropy - Read: 1024, Write: 2048

Fsync: disabled

So, any improvements? I'm willing to modify the other hotplugs' settings as well. (I chose MPD as I always had the best results with scrolling and smoothness overall)
[Nexus 4 Android Development] Cristiano Lira:
Where's this Laptop mode setting located at? And what it does?

Edit: found it.
[Nexus 4 Android Development] spezi77:
Having MPD enabled means that you use no hotplug at all. I have removed MPD support in both of my kernels.

Of course without hotplug everything works really smooth, but also draining battery a lot. I'd recommend AutoSMP to you.
[Nexus 4 Android Development] tyler999:
hello , i have mako hotplug and auto SMP activated it's normal or i should choose just only one ?

sorry for my english
[Nexus 4 Android Development] dragos281993:
Choose only one. First disable them both, then activate only the one that you want.
[Nexus 4 Android Development] tyler999:
thx
[Nexus 4 Android Development] fr3quency:
One more question as seeing the changelog made me think otherwise.

"r12

* Fix camera crash (thanks zaclimon)."

So, can we Nexus 4 users use the camera3 .apk? The video never worked in that but I want to be sure it's ROM or kernel related. I've been using camera2 and I wouldn't mind going to camera3.
[Nexus 4 Android Development] zaclimon:
This isn't the same issue. I was trying some Franco stuff and it was crashing the camera when recording. I posted the fix a bit ago but it isn't related to camera3

Here's the link if you're interested:

http://xdaforums.com/showthread.php?p=66890916

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 Android Development] fr3quency:
So with Camera4(Nougat) we might still face the same problem as it's Android-related? We might not? Time will tell? :p

If there is a fix why hasn't it been merged yet?

Edit: I think I kinda lost you the way you explained things. :|
[Nexus 4 Android Development] zaclimon:
That's correct. Also AFAIK there are no fix for this yet as the entire Camera HAL would need to be compliant for Camera2. (It wasn't Camera3)

The fix I posted a long ago and this aren't related at all if you're wondering.
[Nexus 4 Android Development] spezi77:
r16 (official) is there!
[Nexus 4 Android Development] ivanich:
Can't find any difference between revival and this kernel. The same phone freeze with stockdemand and battery hungry dyn_hotplug.

Отправлено с моего Nexus 4 через Tapatalk
[Nexus 4 Android Development] spezi77:
I have found a little time to flash RR. And I have been able to reproduce that strange freeze on RR when changing governor to Stockdemand.

Just fyi: on BS ROM Stockdemand works like a charm. Maybe it can be fixed if people are willing to share more information, e.g. at least they could tell which is their ROM or ideally share a last kmesg or logcat.
[Nexus 4 Android Development] Cristiano Lira:
[MENTION=5091819]spezi77[/MENTION], how to chance GPU voltage?
[Nexus 4 Android Development] dragos281993:
With "Synapse". It's the only app that can do that. But it's so damn ugly.
[Nexus 4 Android Development] spezi77:
Btw, I have asked yoinx to add GPU voltage controls into KA Mod.
[Nexus 4 Android Development] ivanich:
You're right about sharing kmsg and logcat, but it won't be useful in this case, anyway 3 bugs remains for the 3 last version of your kernel and each time I or someone else told you about it you saying something like "Yes I will look into it". So let's take a look for these 3 bugs:

1. Ondemand governor and min freq. No logcat or kmsg needed,. just open KA Mod for example or any app that can show cpu freqs in realtime and you will see what I'm talking about. I know that blind cherry-picking without real testing causing such stupid bugs.

2. dyn_hotplug the same as above 2 cores always on, even if it's set to 1 core min.

3. You were able to reproduce freeze with stockdemand, the same happens with revival kernel before and was reported by several users.

I'm using cm13 rom, but I mention this multiple times before, however I cease to bother you and also will stop flash every new version of your kernel in hope that something is really has been fixed.
[Nexus 4 Android Development] dragos281993:
Oh yeah ! That's great. Synapse shall finally RIP.

About "stockdemand" + dynplug. It hasn't given me any freezes so far, on Pure Nexus. I have the latest Revival.
[Nexus 4 Android Development] xenyz:
These aren't bugs. Ondemand works exactly as it did in Semaphore: there was a reason he put minimum 2 cores to try to get lower freqs, but there's just too much activity on Marshmallow. You can increase down _threshold to skip lower freqs if you wish. I can both set min 1 CPU in dyn_hotplug and stockdemand gov in r16-test. (although ElementalX is a better 'stock demand')

Please make certain you know what you're doing before writing such misinformation. As far as I can tell r16 has zero bugs.
[Nexus 4 Android Development] spezi77:
You are right about the Stockdemand freeze. As mentioned before it is under investigation.

Of course, you can lower the min. online cores in dyn_hotplug to 1. Please renew your KA-mod. There was a problem in the app which prevented to lower the amount of online cores. Again, there is not a bug in the kernel.

Please let's keep the thread on topic, and not get too emotional. Thanks!
[Nexus 4 Android Development] Anthonius:
teacher to use new kernel must install the original core or can only mount on r16 in r15, sorry for bad english, i use traslator ^^; ¿which it is the recommendation? Instal original kernel and then custom kernel. ¿core the same designer is not necessary? it is my question!!!
[Nexus 4 Android Development] spezi77:
If I understood you in the right way then you are asking about whether dirty-flashing r16 over r15 is possible. Answer is yes. :)
[Nexus 4 Android Development] benyjr:
Screen color inversion

Hi Everyone,

I installed the latest version of Hellspawn on Resurrection Rom 5.7.3 and it works, but the screen colours are inverted/negative.

Is there some way to fix this?
[Nexus 4 Android Development] jer_ying_fd:
I bet you flashed the AOSP version instead of the CM version
[Nexus 4 Android Development] benyjr:
Whoops, yes I did. I'll try again with the CM version.
[Nexus 4 Android Development] mathorv:
Not true, these users may use old xposed platform or problematic xposed modules.

hellspawn-N4-mm-6.0-r16-AOSP-UBERTC-7.0 works with chroma_mako-2016-08-02

hellspawn-N4-mm-6.0-r15-AOSP-UBERTC-7.0 works with chroma_mako-2016-07-07
[Nexus 4 Android Development] mammenj:
[MENTION=476929]Spezi[/MENTION] awesome piece of work Sir, on RR mix
[Nexus 4 Android Development] str3tch72:
Download links for me not working. :(
[Nexus 4 Android Development] spezi77:
Sorry, I had to take the r17 offline. I tested it successfully with AOSP and BS, but found a severe crash with CM build.

Please stay with r16 until I have fixed it.
[Nexus 4 Android Development] str3tch72:
Can You provide me working link for it? :D
[Nexus 4 Android Development] spezi77:
Which build, AOSP?
[Nexus 4 Android Development] str3tch72:
Yes, AOSP. :)

Wysłane z mojego Nexus 4 przy użyciu Tapatalka
[Nexus 4 Android Development] spezi77:
Here are the r17 test builds:

* AOSP: https://www.dropbox.com/s/ujodnynolrdm3e8/hellspawn-N4-mm-6.0-r17-AOSP-UBERTC-5.4.zip?dl=0

* BeanStalk: https://www.dropbox.com/s/hxay2zrwds6o5eb/hellspawn-N4-mm-6.0-r17-BS-UBERTC-5.4.zip?dl=0

CM builds aren't booting, so don't ask for it. ;)
[Nexus 4 Android Development] TheArt.:
Hi [MENTION=942874]spezy77[/MENTION], do you think this: http://xdaforums.com/showthread.php?t=2769899&page=1 might be useful to you?
[Nexus 4 Android Development] spezi77:
Yeah, thanks a lot for sharing it. I was definitely looking for such an awesome CPU fine tuning guide like this. However, it is useful for everyone. It would be nice if people would give it a try and share their experiences. If we come to a conclusion what is the optimal setup for our nexus 4, then I would be glad to update the default settings in my kernel(s) accordingly. :laugh:
[Nexus 4 Android Development] TheArt.:
I shared it with [MENTION=4217103]zaclimon[/MENTION] back in February because at that time I was using another ROM and his Quanta kernel. Eventually he implemented the stuff in that guide to QuantaV11-12. Just today I realized that I could share that link also to you :D

Now I'll post it in Taurus thread as it seems a good guide!
[Nexus 4 Android Development] Anthonius:
Days Test R17

Master spezzi77 i'm using the latest version R17 AOSP and the phone is presented in a few moments freeze when playing Clash Royal, sometimes also presents slowly using the browser Chrome, in my opinion I think the version R15 works better, sorry for my english, i use translator, i look forward to your next kernel
[Nexus 4 Android Development] spezi77:
Did you record a logcat, by chance?
[Nexus 4 Android Development] zephyr79:
I have to say I have the same problem with Chrome, I assumed it was a issue with Chrome because I don't have the same issue with Firefox or Dolphin. I'm not yo sure about any games because I only play 8 ball pool & its always been a little laggy no matter which kernel I've been using, I'm really happy with your work & appreciate all you've done since [MENTION=647113]hellsgod[/MENTION] hung up the boots on mako. :good:
[Nexus 4 Android Development] mammenj:
Deleted, fixed.
[Nexus 4 Android Development] spezi77:
Did you do any modifications to the original setup of this kernel, e.g. UV?
[Nexus 4 Android Development] zephyr79:
I have since done a COMPLETE wipe & even with your battery saving config using intellimm, alucard hotplug, GPU set to 320 seem to have rid myself of the lags...? Odd maybe but its working fantastically! So again a massive thank u for all your hard work [MENTION=3032862]spezz[/MENTION]i77 :good:
[Nexus 4 Android Development] spezi77:
R18 has just arrived. I was able to restore full compatibility with CM-based ROMs. I did extensive tests with RR 5.7.3. All remaining CPU governors can be switched through without any troubles.

A quick glance on the changes:

* Revert: CPU governor stockdemand (not working with CM-based ROMs)

* Revert: updates for kernel installer script (not working with CM-based ROMs)

* Revert: series of power efficiency patches from NVIDIA (has introduced a performance decrease)

* Ondemand patch: update frequency when limits are relaxed (currently ondemand doesn't do that when limits are relaxed, wasting power on systems with relatively low sampling rate.)

* AIO SSD ONLY: enable the SSD-only optimization for the Linux Asynchronous IO

framework.

Enjoy! ;)
[Nexus 4 Android Development] mathorv:
Tested kernel AOSP TC 5.4 v17 and v18 with latest [ROM][N4][6.0.1_r62][MTC20F] Chroma 08/02/2016. Works perfectly fine.
[Nexus 4 Android Development] chaostrodamis:
Is it a known issue that interactive GPU does not stick even with the k.a. mod that you have on the revival thread?
[Nexus 4 Android Development] spezi77:
HellSpawn has no support for Interactive. I think that KA mod makes a wrong detection of GPU governors.

ATM, only revival kernel has interactive.
[Nexus 4 Android Development] nereis:
Turning on software crc may have solved an issue with my device (my guess is aging nand) which causes soft reboots under heavy io. May still be too early to say it's completely solved but stability seems better.
[Nexus 4 Android Development] chaostrodamis:
Thank you for the reply. Understood.
[Nexus 4 Android Development] tyler999:
thx r18 works fine
[Nexus 4 Android Development] zephyr79:
Big favour to ask anyone got a copy of r17 they can upload for me?
[Nexus 4 Android Development] Trickster22:
Test builds r17 might work for you

http://xdaforums.com/showpost.php?p=68169596&postcount=1032
[Nexus 4 Android Development] jacomail95:
Sadly i can't use that wonderful kernel on my N4 anymore, got the glass and touch broken again, and for the same price for its repair i got a N5 from a friend... Maybe in future i'll repair it anyway to use WebOS/LuneOS, available only for N4, but for now is a goodbye to this section of XDA, but hopefully not forever. Thanks to [MENTION=5091819]spezi77[/MENTION] for its remarkable work and all N4 developers. I'll miss you and your work greatly, you made my N4 a true jewel envied from all

Inviato dal mio Nexus 5 con Tapatalk 2
[Nexus 4 Android Development] Ahmed Kassem:
I am still experiencing the problem of not being able to change selinux to permissive, I've tried using revival kernel (which is permissive by default) and it works fine at default, also switching between permissive and enforcing is working fine too. I am on pure nexus rom and I really need to set selinux to permissive and revival kernel doesn't suit me :D
[Nexus 4 Android Development] spezi77:
What is it that you are missing in revival kernel?
[Nexus 4 Android Development] Ahmed Kassem:
I get poor battery life with revival, also I got some SODs.

I guess the battery life is because I use alucard hotplug on hellspawn and it's not in revival.
[Nexus 4 Android Development] spezi77:
I guess that you were using an older revival version which caused the SOD. Are you sure about SOD, you didn't mean a random reboot, right? By chance, do you remember the version no.?
[Nexus 4 Android Development] Ahmed Kassem:
Well, Iam sure about SODs but I also encountered some random reboots. I was using the latest version. What bothers me most on revival is battery life tho.
[Nexus 4 Android Development] chaostrodamis:
I've also been getting random reboot since the 08 version (including the 09 version included in your latest beanstalk ROM.)

Edit: Sorry wrong thread. I wanted to post this in the revival thread. Hellspawn works flawlessly for me, and is my goto kernel.
[Nexus 4 Android Development] zephyr79:
Only time u have any issues with this kernel is when I unddrvolt lower than -100 otherwise it is fricking flawless in my opinion
[Nexus 4 Android Development] bart.found:
Hi spezi, I flashed revival 08 over NitrogenOS nougat, it's working well and I want to test it for few days! ;)

Does Hellspawn work on 7.0 too?