yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] emraz786:
¿This kernel is better than the stock of PureNexus, Any recommendation?

Enviado desde mi Nexus 4 mediante Tapatalk
[Nexus 4 Android Development] dragos281993:
Custom kernels are better than the stock ones, as long as you tweak them. So download Kernel Adiutor, open it, and take a look at what options you have there. Then start doing a lot of research on what every single option you find in there is meant for. After "mastering" the meaning of those options, fiddling with them is gonna be inevitable.

There are tutorials and threads where you can find all the information you need if you want to squeeze everything out of a custom kernel, for either more performance or longer battery life.
[Nexus 4 Android Development] Vlad87do:
is toolchain 7.0 stable enough to use ?? or should i better use 5.3
[Nexus 4 Android Development] dragos281993:
Yes. I used r9 aosp tc7.0 for a few days, and everything is absolutely stable. The "experimental" status is for more in depth stuff.
[Nexus 4 Android Development] emraz786:
¿then you recommend the r9 instead of r10? I'll put the r10 with uber-tc 7.0

Enviado desde mi Nexus 4 mediante Tapatalk
[Nexus 4 Android Development] dragos281993:
When I tried r9, Speezi hadn't release a newer build. Then r10 came out and now appears that r9.5 is the best one. It's the latest. Try r9.5 tc7.0. Make sure you choose yhe correct version according to what the ROM that you're using is based on, AOSP or CM.
[Nexus 4 Android Development] emraz786:
¿Is there a recommended configuration?

Enviado desde mi Nexus 4 mediante Tapatalk
[Nexus 4 Android Development] dragos281993:
Install Kernel Adiutor, open it and from the "CPU" section, choose "pegasusq" as governor. This is just 1 single tweak. Pegasusq makes everything smoother. The rest of tweaks should be done according to your needs, meaning more performance or more battery.
[Nexus 4 Android Development] bart.found:
Is Pegasusq smoother than hellsactive in your opinion?

Which governor is more balanced between battery and performances? I noticed that alucard, in previous release, had different frequency values in 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1... while now they are all set to 384 MHz.. how this affects the hotplug behaviour? How much cores should be better to have always online?

Sorry, I know, to many questions, but I'm a bit confused with all this options! XD
[Nexus 4 Android Development] dragos281993:
I tried alucard and I came to the conclusion that it's meant for better battery life, just because the amount of lag and stutter is higher than with the other options.

Pegasusq is smoother than hellsactive as long as the "freq for responsiveness" is set to 1.3 GHz (the default value). But hellsactive offers a good balance between performance and battery life.

All those little changes made for alucard, are meant to improve the experience so if it affects the hotplugging, it's definitely in a good way. AutoSMP is the best hotplug at the moment. It's very stable and paired with a good governor, the overall experience is great. You can choose the minimum number of online cores and even when using only 1 (as minimum), the phone still works perfectly, something that didn't happen in the past. Now 1 or 2 cores online may be better or worse bit that depends on the way you personally are using the phone. You have to do some testing. Use, for 1 day, the phone with "minimum CPU online" set to 1 core, and the next day try it with 2 cores online. Make sure you calibrate the battery otherwise the results may not be the most accurate. Use "Battery calibration" made by "Deadswine Studio" and calibrate the battery before each testing sequence.
[Nexus 4 Android Development] bart.found:
Thank you! I'm on hellsactive + autosmp right now! I'll do some more testing changing 1 parameter per battery cycle! But your info were important to me to have a base to starting from! ;)
[Nexus 4 Android Development] spezi77:
Thanks, I take it as a compliment. ;)

P.s.: gestern war i zum Vaddertag grilln[emoji14]

Sent from my beanstalk'd & hellspawn'd N4.
[Nexus 4 Android Development] nimbold:
Using Alucard both for governor and hotplug + zen I/O scheduler and now I have 4:30 hours of SOT!

This never happened after android 5.1.

Thanks for the work on developing this project. Wish you a happy weekend :)
[Nexus 4 Android Development] Jakub_Z.:
Can anyone explain to me what exactly that wakelock stuff do?

And how should I set those up to save battery and don't screw anything up :D

[IMG="wakelockshellspawn"]http://i.imgur.com/6FKOUL6.png[/IMG]
[Nexus 4 Android Development] Mrcactuseater:
If you don't understand them, just leave them how the dev has them set up.

Tapatalk'd from my Twisted, Despaired Nexus 5x
[Nexus 4 Android Development] Pquad:
Can someone tell me why does Alucard hotplug keep only one core on, no matter what I do, if I set the minimum cores on to 1? (Of course the max cores on is set to 4)

If i set it to 2 the other cores get switched on and off correctly.

This happened to me with every release so far, everything else works perfectly.
[Nexus 4 Android Development] cemilplt:
[MENTION=3032862]spezz[/MENTION]i77 http://xdaforums.com/nexus-4/development/kernel-taurus-mr1-r41-t3346366/page14 Please read! ??
[Nexus 4 Android Development] dragos281993:
Don't worry. Benchmarks only show how things look on paper. That doesn't mean a phone with a 30k result, is much slower than one that got 32k. It's a very small difference which is pretty unnoticeable. If the difference is higher, like 10k, 20k, then people will start noticing better performance and smoothness.
[Nexus 4 Android Development] jer_ying_fd:
Sorry I can't test the 3.18 build now as I have public exams so can't afford to mess with my phone. Hope can flash it on the 17th ?
[Nexus 4 Android Development] cemilplt:
Well, thanks anyway for information.
[Nexus 4 Android Development] Cristiano Lira:
spezi77, I noticed that the sound with this kernel is worse than with DU stock kernel, for example, and I think it could be the sound control/driver(?) you use in the kernel. Check the audio session from Quanta because I think it has a more clear/powerfull audio than stock. Thanks in advance.
[Nexus 4 Android Development] dragos281993:
Describe the "worse" behaviour. Do you hear crackling and static noise ? Cause if you do, try setting the minimum frequency to 486 MHz.
[Nexus 4 Android Development] sidnoit22:
Or raise the voltage.
[Nexus 4 Android Development] dragos281993:
It has no effect. I don't do UV and have static noise but that happens on every kernel I tried. I'm using V4A. Increasing the minimum frequency does the trick very well. Another potential fix would be setting the governor to "ondemand".
[Nexus 4 Android Development] Cristiano Lira:
Less power/clarity in bass and more distortion too.
[Nexus 4 Android Development] Mrcactuseater:
Flash Viper4android then.

Tapatalk'd from my Twisted, Despaired Nexus 5x
[Nexus 4 Android Development] Cristiano Lira:
The problem isn't V4A bro, I use it, the thing is the sound quality is worse with this kernel.
[Nexus 4 Android Development] dragos281993:
Activate "expert mode" withing the v4a app, then somewhere down you'll see a bunch of bass related tweaks. You'll be able to increase the bass to the point where your headphones might break. And don't frogrt that I said that you must increase the minimum frequency to 486MHz to get rid of the problems. And increasing the min freq fixes the problem 120%. Someone reported this behaviour in the v4a thread, including me,a and we were presented with this fix by someone there.

Here's how that particular section looks like (increasing the bass frequency and bass boost will give you the sound you want):
[Nexus 4 Android Development] underskyzx:
Ditch V4A and use Poweramp, problem solved.
[Nexus 4 Android Development] spezi77:
Thanks, I have noticed it, and nothing to add.

It just tells me that both kernels (Taurus & hellspawn) are very close to each other. :D

Sent from my beanstalk'd & hellspawn'd N4.
[Nexus 4 Android Development] spezi77:
I think that I have found a solution. Wait for next build. I'm currently testing it.

Sent from my beanstalk'd & hellspawn'd N4.
[Nexus 4 Android Development] dragos281993:
PowerAmp is just a music player while V4A is applied to the entire system. They're not very related. You should try and see for yourself how cool the sound is when you're watching a YouTube video, for example.

And the static noise is something a lot of phones have and that's related to frequency scaling. For instance let's say that you're listening to music with Spotify. You play a song and turn off the screen and just listen to it. The CPU is trying to "relax", meaning that the cores will go down to the minimum frequency, then scale up from time to time. If the CPU goes below 486MHz (on our N4), static noise will appear, especially if the song has a of 'low to high' frequency fluctuations and vice versa. I noticed that continuously tapping the screen (while the minimum freq is below 486), which makes the CPU raise the frequencies, reduces the amount of static noise significantly. But it's not a kernel bug.

But again, PowerAmp is limited to only songs, music that's on your phone, while v4a is just something much more superior. I use v4a, dolby atmos (which comes with the v4a version that I'm using) and Poweramp. When I listen to music, I use all 3 apps to tweak the sound. The experience is just fantastic.
[Nexus 4 Android Development] bart.found:
I don't listen to music on my phone, so I never noticed that, do you think that leaving more cores always online could do the trick? They shouldn't boost to high frequencies just to play music
[Nexus 4 Android Development] dragos281993:
No, that won't do it. The lower CPU frequencies can't handle sound processing very well and that's when the static noise appears. 486MHz is the ideal min freq for a clean sound.

If you're using Kernel Adiutor, you can create a profile for the CPU, with the normal settings (min freq 384, etc) and another one with the minimum freq set to 486MHz for when you're listening to music or watching videos.

Then you can add a widget on the homescreen where you're gonna see the profiles you created. Double tap on one of them to apply. It applies with a tiny bit of delay so don't tap too many times. Turning off the screen is not required, as the profile is applied as soon as it says that it has been applied. And having the min freq set a step higher than 384, doesn't affect the battery almost at all.
[Nexus 4 Android Development] dragos281993:
Hey [MENTION=5091819]spezi77[/MENTION] , could you post r11 so I can give it a spin ? Or you could send me a pm with a link, if you want.
[Nexus 4 Android Development] underskyzx:
Boosting min frequency just to listen to music is ridiculous...one of the reasons I abandoned sound mods, Poweramp sound just as good and I don't have static or any other problem....

About using sound effects on Youtube...When I really like a music video I download it as sound, plent of sites do that for you
[Nexus 4 Android Development] dragos281993:
I guess you didn't understand my comment. Poweramp is limited to the music that's in your music folder (etc).

V4A is applied to > the entire system <. That's why I said they were not related. V4A enhances sound processing and makes every single sound better. Poweramp just plays your songs and does a bit of processing. V4A is not limited to just the music on your phone.

Raising the min freq 1 step is a small price to pay for the ultimate sound experience.
[Nexus 4 Android Development] Cristiano Lira:
Omg, I know how to use V4A, bro. I used the same settings to test with and without HellSpawn, same rom, same sound mods, same V4A settings... I'm not a noob.
[Nexus 4 Android Development] dragos281993:
No one said you were a noob. It was a simple suggestion.

Ok, I stepped on the thing I said when you called me an ignorant and I tried to help you anyways. It's the last time though. I've got no idea what your problem is, but, frankly, I don't even want to know.
[Nexus 4 Android Development] underskyzx:
Don't worry I'm sure it was useful for someone reading this topic or will be in the future as reference. ?
[Nexus 4 Android Development] cemilplt:
[MENTION=942874]spez[/MENTION]i77 if you share information about r11 test results?Thanks.
[Nexus 4 Android Development] spezi77:
You have a pm.
[Nexus 4 Android Development] Cristiano Lira:
Is it in test phase yet or unfinished? Can't we test also, as an test build? Or send me through PM if you want. Thanks.
[Nexus 4 Android Development] sidnoit22:
FIXED THE ISSUE

I recently installed HellSpawn on latest Chroma and after boot all I see is Black Screen. Help anybody?

I clean flashed everything.
[Nexus 4 Android Development] redj12:
Hi guys. My alarm doesn't ring in the morning. It happened 3 times since friday. I don't know if the issue is kernel or ROM related. I am using PureNexus with r8 kernel version. Never happened in the past.
[Nexus 4 Android Development] ivanich:
Getting logspam in logcat with cm-9.5 kernel, ROM cm-13

05-10 14:54:35.316 599 674 E PowerHAL: touch_boost: failed to send: No such file or directory
05-10 14:54:35.379 599 674 E PowerHAL: touch_boost: failed to send: No such file or directory
05-10 14:54:35.379 599 674 E PowerHAL: touch_boost: failed to send: No such file or directory

There is also a patch for kernel to fix this warning https://github.com/CyanogenMod/andr...mmit/3e8578020f84a22c4a0229ea3f61dd8c120f9612

NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'UID' not found
[Nexus 4 Android Development] dragos281993:
Tty using "Alarm clock Xtreme free + timer" (AVG Labs) from the Play Sore.
[Nexus 4 Android Development] spezi77:
Which is your exact version, e.g. ubertc4.9 r7 aosp?

Sent from my beanstalk'd & hellspawn'd N4.
[Nexus 4 Android Development] spezi77:
It is very likely a ROM related issue. My alarm clock rings every week day in a reliable way, and I had quite a few different hellspawn kernel versions on my n4.. [emoji12]

Sent from my beanstalk'd & hellspawn'd N4.
[Nexus 4 Android Development] spezi77:
It is very likely a ROM related issue. My alarm clock rings every week day in a reliable way, and I already had quite a few different hellspawn kernel versions on my n4.. [emoji12]

Sent from my beanstalk'd & hellspawn'd N4.
[Nexus 4 Android Development] sidnoit22:
Oh god how can I be this noob, I flashed the CM version of a AOSP ROM OH GOD WHY. I FEEL EMBARRASSED. SORRY FOR THE MESS.
[Nexus 4 Android Development] dragos281993:
Didn't you get the funky colors as soon as the phone booted up ? That's the main sign to let you know that something is not right.
[Nexus 4 Android Development] Pquad:
Hi [MENTION=5091819]spezi77[/MENTION], I have just found a weird behaviour regarding wifi: After some random time connected to wifi, 2 cores get stuck to 1.5 Ghz (even though I set my max freq at 1.3) while the other 2 usually behave normally, but sometimes they won't scale down either.

I'm pretty sure the problem is related to the wifi connection, because as soon as I switch to 3G data the cores go back to normal, but they go crazy again when I turn on the wifi.

The only way I found to fix this is a reboot and unfortunately I don't really know how to replicate it.

Now that I think of it, it happened 2 times after playing some Clash Royale, but also sometimes while the phone was sleeping or during daily use.
[Nexus 4 Android Development] redj12:
I flashed the latest kernel, changed the governor and installed this app. I don't know what was the problem but I am awake [emoji16] Thank you.
[Nexus 4 Android Development] sidnoit22:
Exactly, no inverted colors. I would have known if that happens, just black screen that's why I thought there is something wrong with the Chroma and this kernel combination.
[Nexus 4 Android Development] dragos281993:
Did you manage to fix your problem ?
[Nexus 4 Android Development] nereis:
http://xdaforums.com/showthread.php?t=3369645

flash this if you want better sq on mako, notaby it includes a better quality mixer/resampler. it's not a soundmod in the sense that it replaces low level sound libs instead of just adding effects like v4a. the new a2dp libs works on beanstalk but if you run into dropouts, disable ldac in build.prop

went a little crazy replacing files / editing .confs with r11 which broke headphones, turned out to be kernel and r9.5 works now.
[Nexus 4 Android Development] spezi77:
Thanks, cherry-picked. ;)

About "PowerHAL: touch_boost" logspam:

Afaik, this can be fixed on hw/device tree level, which means that it must be applied when building the rom. I tried to fix it (see here), but then I decided to simply kill the logspam in BS for mako as follows:

https://github.com/spezi77/android_device_lge_mako/commit/1f046d3f2c0444633c0549c43f2b765b7693904b
[Nexus 4 Android Development] La Grande:
Wow best kernel for marshmallow ever.

using Alucard and zen schedule give me fantastic battery life

Keep up the great work
[Nexus 4 Android Development] spezi77:
...finally r11 has arrived -- a true spawn of hell! :laugh:
[Nexus 4 Android Development] TheArt.:
Thank you spezy! Flashing right now :)

By the way reading your changelog I just discovered that some governors are friendlier with UV with respect to others.

Always learning new things :)

PS: Is it ok using:

pegasusq, max 1242MHz, freq_for_resp 918000, bfq

-75 mV UV (-50mV for some high frequencies)?
[Nexus 4 Android Development] dragos281993:
Yes, it is. So you're going for more battery life. Keep us posted with SOT details.
[Nexus 4 Android Development] .stendeck:
Seems that r11 don't like latest SuperSU. I tried different attempts now but cannot install SuperSU (used 2.71 and 2.72) parallel to HellSpawn r11. Installation process of SuperSU (in TWRP) runs fine but I don't get root access on Android.

Then I tried an installation of r9.5 again and everything seems fine—with same procedure. Are there any ramdisk optimzations that could hamper a proper installation of SuperSU?
[Nexus 4 Android Development] jer_ying_fd:
Why not just use stable version?
[Nexus 4 Android Development] .stendeck:
Really? You think that's the answer of my problem? I've never had that kind of problems with beta versions of SuperSU. Okay, I will try. In the hope that it's not a waste of time. ;)
[Nexus 4 Android Development] jer_ying_fd:
I'm using it now so it should be fine :good:
[Nexus 4 Android Development] .stendeck:
Hmm… no, that doesn't work. But why should a beta of SuperSU work on any HellSpawn version except the latest? Maybe a ROM related issue (I'm using Fake Nexus)… but again: why does r9.5 still work?
[Nexus 4 Android Development] jer_ying_fd:
Did you flash newest version directly on top of previous version?
[Nexus 4 Android Development] .stendeck:
No, I proceed as follows:

flash ROM related stock kernel (via fastboot)

wipe dalvik/cache

flash HellSpawn (via TWRP 3.0.2)

wipe dalvik/cache

flash SuperSU (via TWRP 3.0.2)

reboot
[Nexus 4 Android Development] jer_ying_fd:
Then I have no idea how. It only worked for me because I clean flashed.
[Nexus 4 Android Development] .stendeck:
However, thanks for your efforts. Maybe [MENTION=5091819]spezi77[/MENTION] has any further ideas. :D
[Nexus 4 Android Development] jer_ying_fd:
Hmm, I tried flashing latest fake nexus and it worked on stock kernel. Only didn't work with latest hellspawn, which it says no SU binary is installed and SuperSU cannot install it. Before I was using Frank november build.
[Nexus 4 Android Development] math.rangel:
Having the same problem I had with Quanta V15: When you're taking pictures or recording videos, the screen goes black and only a hard reboot to solve it. Hellspawn r11 and Exodus ROM
[Nexus 4 Android Development] jolas:
Probably it is ROM 's problem.

No problem with Fake ROM
[Nexus 4 Android Development] zaclimon:
[MENTION=5091819]spezi77[/MENTION] for the camera problem, revert the hz related commits for kgsl and the defconfig one. Looks like our devices can't handle it will as far as the camera is concerned (just a note XD)

https://github.com/spezi77/hellspawn-N4/commit/d73935c2c874b29f49fe50d7c2f83929eed49162

https://github.com/spezi77/hellspawn-N4/commit/e34fddba1251244d36b50bd02f6dc31493aac973

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] sidnoit22:
I'm running Fake Nexus rom with hellspawn. Clean flash ROM then flash SU not kernel then kernel after SU.

1. ROM

2. Su

3. Kernel
[Nexus 4 Android Development] jer_ying_fd:
Wouldn't that make it revert to stock kernel?
[Nexus 4 Android Development] dragos281993:
This is the order:

- ROM, Gapps, SuperSU, then the custom kernel at the end.
[Nexus 4 Android Development] jer_ying_fd:
Ok, thx!
[Nexus 4 Android Development] .stendeck:
Thanks for your answers. But this order doesn't work either. Flashing Hells-Core or HellSpawn always kills SuperSU (that's already installed)—at least that's my experience with these kernels for months. And now I've tried it again: no success. :( Again: this phenomenon only occured since r11. So I'm wondering that nobody else meets that problem.

[MENTION=5579519]jer_ying_fd[/MENTION]

You can confirm my trouble, right?
[Nexus 4 Android Development] bart.found:
hi, I just flashed r11 on my mako.. since someone gave me a microusb pendrive... I'd just like to know if it is possible to enable USB OTG, because even installing stickmount and connecting a Y cable, my phone just charges when I connect the pendrive...
[Nexus 4 Android Development] dragos281993:
Make sure the pendrive is formatted to FAT32.
[Nexus 4 Android Development] spezi77:
You can enable USB OTG with my latest Kernel Adiutor-Mod shared a few pages back.

Sent from my beanstalk'd & hellspawn'd N4.
[Nexus 4 Android Development] Goldian:
I can confirm that the Phone begin to charge as soon as I attach the Y-Cable. To be honest i didn't expect that. I guess that I read somewhare that it is not possible to do both at the same time, read the usb storage and charge. I have no idea wheather it's wanted or not. As I heard a lot of times in my job - It's not a bug, it's a feature ! - :D
[Nexus 4 Android Development] mammenj:
Got a random reboot on rr mix ROM, attached logs.

BTW, what is the best settings for max battery.
[Nexus 4 Android Development] spezi77:
Thx, I will look into it.

For battery use alucard hotplug with smartmax, intellimm or alucard governor.

Sent from my beanstalk'd & hellspawn'd N4.
[Nexus 4 Android Development] spezi77:
Thx, I will look into it.

For battery life use alucard hotplug with smartmax, intellimm or alucard governor.

Sent from my beanstalk'd & hellspawn'd N4.
[Nexus 4 Android Development] kanishkad:
I think the log spam is still present, can you please look into it ☺️
[Nexus 4 Android Development] Trickster22:
Guys what you recommend to turn on or off fsync. I tried fsync off two times but within two or three days device stuck at boot loop.
[Nexus 4 Android Development] spezi77:
Which log msg are you referring to?

Sent from my beanstalk'd & hellspawn'd N4.
[Nexus 4 Android Development] spezi77:
Fsync off allows for faster I/O speed on the cost of potential data loss. I am afraid that nobody can provide to you a general recommendation. I suggest that you decide about it on your own. Maybe this info is useful: http://rootzwiki.com/topic/28333-whats-fsync/

Sent from my beanstalk'd & hellspawn'd N4.
[Nexus 4 Android Development] dragos281993:
My bet is that he'll get problems, considering that M is different from L despite the similarities. I recall some users being bugged after flashing a kernel meant for M.
[Nexus 4 Android Development] jcgalon:
I will test today, tomorrow I say what I thought
[Nexus 4 Android Development] dragos281993:
Do a backup first, cause you have a high chance of screwing it up, and if you happen to not even be able to boot up the phone, a reflash of the stock image would be required.
[Nexus 4 Android Development] Jakub_Z.:
Flashed today with latest Pure Nexus unnoficial build and it looks really promising.

Well I can say - as always with your work :D

Will try elementalX with rest default for some time. Then I'll try your recommended settings.

Thanks for your good work man!