yashsingh1/xdaforums huggingface dataset:
[HTC One X+] maxwen:
works :)

I will link your app in my kernel thread starting with the next

official release

Oh BTW: would be nice if you would add a possibility

to "disable" manual hotplugging for me :)

actually it is disabled by writing 0 to cpusallowed

you would just need to add a check in your kernel

to just skip a value of 0 in cpusallowed_status_write
[HTC One X+] :
Sounds good, I'll look into it asap
[HTC One X+] siseb:
Hi Bedalus,

I got several reboots today while loading via torrent. I'm using v1.7 and hadn't have this issue with v1.6. So maybe JRCU again? I didn't use v1.5, because I've used CM/AOKP this time, but with the same issues on Maxwen's Kernel versions. Hope, the logcat helps... If I can provide anything else, just tell me...
[HTC One X+] :
Thanks, for me the file /proc/last_kmsg is what I need.
[HTC One X+] siseb:
Here we go!

https://www.dropbox.com/s/shq1atbx5s7vkes/last_kmsg
[HTC One X+] :
Thanks, it's the same deadlock issue as before. Sigh, it seems the spinlock protection in the updated code did nothing. I'm forced to revert to the stock RCU. I'll just have a quick look to see if I can adjust the hotplugging code like maxwen suggested then I'll release a new version. I've also added some important smartmax fixes (thanks maxwen!)
[HTC One X+] maxwen:
Which exact version of BLADE kernel have you used

where you experiended the issues?
[HTC One X+] siseb:
Generally I followed every update you released. But I can't tell you for sure, if the latest version works without reboots, sorry. It wasn't that long until I switched back to ARHD. But there were definitely several versions before that, I've experienced those reboots with. I sticked about two months on ROMs requiring your kernel.

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] pradeepvizz:
Hey guys, i am new here. Just flashed your latest experimental version on my phone with the stock ROM. Will report back on my experience. Thanks bedalus & maxwen for your time & effort.
[HTC One X+] adamkx7xdesire:
Hi Bedalus, I wonder if you could tell me how is this kernel optimized for performance.

I'm asking because whenever I play Real Racing 3 it has very annoying lags on 4 cores and 1600mhz.. and it's definitely not a hardware issue because it's not stable effect (sometimes very smooth and very laggy).

I found an app called "game booster" on market https://play.google.com/store/apps/details?id=com.burakgon.gamebooster2 and it does magic! when I enabled hard gaming lags gone.. even on "balanced gaming" they are rare :) also performance of multitasking is better.. everything seems to be more smooth :) I would say more! the battery drain seems to be more stable (because unused frequencies like 51, 102, 204 mhz are in use).

I really don't know how this app work but maybe it's not that hard to make the performance of this kernel better without this app :)

I believe this kernel will become the most powerful for our one x plus :)

Kernel 1.6

ViperX 1.0.8
[HTC One X+] jizang:
Bedalus are these scripts compatible with your kernel and to which folder do i have to copy it
[HTC One X+] :
The main thing I've done is disable auto hotplugging. To me it seems like an intensive and wasteful process.

If the game is lagging on four cores it could be because it is getting too hot. Try to use the minimum cores possible.

I'm working on a new version with an updated cpu scaling governor, and I'll tweak the values for better performance before the next release.

I don't know about the app you mention, but I'll check it out!
[HTC One X+] :
v2.0: http://d-h.st/s0k

CoreManager.apk is here: http://d-h.st/C9c

-easy app for setting the number of cores

-allows setting of fast-charge toggle and charge limit

-now allows auto-hotplugging (apply using core setting at 0)

-after rebooting, remember to open/save+exit to restore your preferences

Please grant super-user permissions

My kernel config

-GPU OC

-Slide to Wake [S2W]

-Optional hotplugging

-Power saving companion core not active when screen is on (prevents lags)

-Companion core active when screen is off (higher speed cores not allowed)

-User defined core activation (use the above app)

-smartmax governor by maxwen (tuned for performance)

-limited to one core by default

-enabling more cores adjusts the cpu frequency governor parameters automatically

-when the camera is activated, a minimum of two cores will be available for smooth video recording

-added fast-charge to kernel (thanks maxwen)

-added BLX (thanks ezekeel)

-added ticket based rwsem algorithm and google's tcp proportion rate reduction algorithm

-added cifs

-disabled fsync

-switched to BFQ v6

-enable zcache

Version 2.0 allows hotplugging as an option, Update both the kernel and the Core Manager.apk and you will be able to slide the Cores value to the 0 position. This will set Auto mode, and hotplugging will work like stock. However, the low-power core is still prevented when awake, and the high-power quad-core is still forbidden when the screen is off. This is to ensure performance when the screen is on, and power-saving when it is off.

From now on my advice would be to either fix at one core if you want to ensure that you save power, otherwise try the auto mode to get more power when it is required. Fixing at 2/3/4 cores now seems unnecessary.

Remember after a reboot, it is necessary to open and save+exit the app to restore your preferences. Installing the new app will again require super-user permissions to be granted.

Thanks to maxwen for the motivation. :)
[HTC One X+] reaper90:
Nice, thanks for this one! I think now that you implemented optional hotplugging I'll give it a try!
[HTC One X+] :
The gpu ones are, although I tried with asphalt 7 and couldn't see a difference. I should probably bake it into the core manager.apk
[HTC One X+] snakebiteex:
i been avoiding this one since there were no hotplugging, now that it is added goona give this a try.

thanks for your hard work!
[HTC One X+] pradeepvizz:
[MENTION=4128576]bedalus[/MENTION] thanks for the latest version. I am pretty much new to HOX+ modding. Had been using a HOX before.

I think the GPU de-coupling works as do see a difference in the overall smoothness.

I had loaded with **** loads of apps after i unlocked and have been Little laggy. I had tried elite kernel for 1 day and it could not run the phone and kept freezing very occasionally. hXORe runs pretty smooth but laggy at times, i guess some apps or the ROM is to be blamed.

v2 seems to be better on performance. i will report back if i have issues.
[HTC One X+] pradeepvizz:
[MENTION=4128576]bedalus[/MENTION] Just to clarify, hotplugging is the feature where the number of active cores is dynamic, is that right? how do we enable it ?
[HTC One X+] Notechis:
Use coremanager and 0. All is working fine as always for me.

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] :
That's right. Enable it by sliding the slider to 0 (just the core slider.) Use the app I provided.
[HTC One X+] pradeepvizz:
Thanks both.. i had it on 4 and i thought its going to be a separate option :) v2 shows a better performance than 1.7
[HTC One X+] ace_viknesh:
Hey Guys! I'm new to this kernel thingy. So can someone kindly explain to this noob what I have to do after flashing the kernel? Thanks! Help will be much appreciated!
[HTC One X+] :
Download the core manager app too, install it, open it and grant it super-user permissions. The governor and core management are biased towards performance, but don't worry about your battery because your screen is going to eat most of that. The only settings left are whether you want to force multiple cores online, or allow hotplugging. Fastcharge has a toggle, and there is the BLX feature. I keep mine set at 90%

Save and exit the app to apply the settings (you'll also need to do this any time you reboot.)
[HTC One X+] ace_viknesh:
So will the phone run still function normally if I don't tweak the CPU values?
[HTC One X+] :
The kernel default if you boot and don't use the app is one core fixed, no fastcharge, and 100% blx

I may change this in the next release so the default is to allow hotplugging.
[HTC One X+] ace_viknesh:
I see. Great thanks!
[HTC One X+] jizang:
edit:deleted
[HTC One X+] adamkx7xdesire:
Amazing! just flashed new kernel & app and I've tested the performance on real racing 3 without any gamebooster and I'm under impress! LAGS GONE :) THANK you Bedalus
[HTC One X+] Notechis:
I run benchmarks a few times. Hotplugging vs 4 cores enabled ... Same results, so it works great. I got a significant better score than with 1.7

Now I will test one core....

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] jizang:
how was the temperature?
[HTC One X+] adamkx7xdesire:
Normal.. Than hot but without much difference.. Haven't tried with game booster but when i will I tell you how it was :)
[HTC One X+] jizang:
Thanks i will wait for the results
[HTC One X+] Addicted2xda:
Had a query:

What is charging limit?

If it means the perecent upto which battery will charge (which I doubt!) - then keeping it at 100% will be a prob?
[HTC One X+] :
It cuts charging off at whatever percentage you want. It's meant to help your battery last extra years by keeping it healthy. Charging up to the limit wears it out faster.
[HTC One X+] pradeepvizz:
I think this kernel is very good. wanted to ask others using this kernel - What ROM do you use? i have stock at the moment and i think its time to change my ROM too!
[HTC One X+] Notechis:
Depends what you want. More Tweaks / Mods or more Stock.

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] marck1991:
I think you can do nothing wrong with Android Revolution HD from mike1986. :)
[HTC One X+] pradeepvizz:
Thanks guys, overall improvement is what i am looking for .. more than happy to have more tweaks/mod :) seems like ARHD is very popular, i am probably going to try that.
[HTC One X+] TatoValverde:
I tried your new version of the kernel, and now it goes into deep sleep as it is intended! :victory: Charging, with alarms set, etc, and it still goes into deep sleep =)

Also, having the hotplugging option is great! sometimes I didn't know how many cores to activate.

Just two personal requests: Could you make hotplugging default? Because first boot up is slow, first keyboard typing is veeery laggy (pin code), etc., so it would be great if it booted up on 4 cores, and then you could chose whatever you want afterwards with the app.

And could you please look into the memory thingy you said you had to change in order for nik3r's Swap mod to work? I really miss that mod..

Thanks!! I'll keep testing and see if I find anything strange going on
[HTC One X+] :
Yes, I looked at the swap mod recently, but I won't use it as it takes a big chunk of ram.

The next version of the kernel with have hotplugging as default. I'm just playing with the CPU governor at the moment. When I feel I've got it nicely optimised I'll push a minor update.
[HTC One X+] adamkx7xdesire:
As I promised here are some results of using this kernel without power saving during a day.

I've attached settings on venom tweaks and battery drain 1) without gamebooster 2) with gamebooster set on balanced gaming.

There is no visible difference while playing real racing 3 on kernel settings or "balanced gaming". there is difference on hard gaming or ultra but also more battery drain and the heat...

BUT the conclusion is that now it's better not to use game booster because of more battery drain! so this kernel release rocks!!!
[HTC One X+] reaper90:
I also have to say, v2.0 is great in terms of permformance! I use it with auto hotplugging and everything is super smooth and fast. All my games run very well without having to tweak anything and that's with power saver enabled which helps to keep temperatures at good values. Battery life in standby is also good so far probably due to low power lock. There are some features i'm missing (coming from Elitekernel) but there's nothing to complain about. Very good Kernel!
[HTC One X+] :
Thanks for the great feedback everyone. I'm working hard on 2.1 to iron out some glitches with the cpu frequency governor, but I think I've cracked it. Will test tomorrow, if all good, will release! Bedtime for me now :)
[HTC One X+] :
Morning all! :D

I have uploaded a test version on this post called boot.img, flashable in the usual way.

I have two conflicting theories about managing the cpu frequency governor and the hotplugging. In this version I have tweaked it so it becomes progressively harder for the cpu frequency to increase as more cores come online. The idea is that if another core comes online, there is more computing power available, so attenuate the ease of ramping up the frequencies to

a) save power and

b) make it less likely that the core that just came online should immediately go back offline (which would have been a waste of bringing it back online)

I have a second theory, which would work the opposite way, which if a core comes online, make it easier for the frequency to scale up. Why? Because if there is enough demand for one more core, then perhaps if it is easier to scale up, it will make it less likely that further unnecessary cores come online.

I think my first theory is probably the most sensible. I haven't tried it the second way yet for two reasons

1) The first way seems to work great

2) I think either maxwen or nik3r said that having more cores is more power efficient than using higher frequencies.

I'm not sure if the second point is true, because I've read conflicting evidence elsewhere. Anyone got any expertise on this matter?

tl;dr

Test version release! Feedback please!

EDIT: v2.1 is out so this test version is removed.
[HTC One X+] jizang:
I have question what is hotplugging
[HTC One X+] reaper90:
I also think the first theory should be the better one. Flashing your test version now!

Autohotplugging automatically enables/disables CPU cores dependant on workload.
[HTC One X+] marck1991:
Thanks for the test release! For me it is an improvement! Now there are of course less lags in the UI and in apps like Facebook. It seems, that now a higher clock is available when the screen is touched...
[HTC One X+] Notechis:
I would confirm that,too. With the new Insert Coin, I have a much higher speed. Scrolling is incredible...

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] :
v2.1 is here: http://d-h.st/Iqk

CoreManager.apk is here: http://d-h.st/C9c

-easy app for setting the number of cores

-allows setting of fast-charge toggle and charge limit

-now allows auto-hotplugging (apply using core setting at 0)

-after rebooting, remember to open/save+exit to restore your preferences

Please grant super-user permissions

Version 2.1 builds on what I started with v2.0, but I have followed some more of maxwen's updates to his great smartmax governor, and made some adjustments of my own. I now feel that the governor handles multiple cores just as well as it handles a single core, and feedback about the test kernel confirms what I felt myself, that scrolling in particular is now as it should be, nice and smooth!

My kernel config

-GPU OC

-Slide to Wake [S2W]

-Optional hotplugging (automatic hotplugging is now default for faster boot)

-Power saving companion core not active when screen is on (prevents lags)

-Companion core active when screen is off (higher speed cores not allowed)

-User defined core activation (use the above app)

-smartmax governor by maxwen (tuned for performance)

-enabling more cores adjusts the cpu frequency governor parameters automatically

-when the camera is activated, a minimum of two cores will be available for smooth video recording

-added fast-charge to kernel (thanks maxwen)

-added BLX (thanks ezekeel)

-Miscelaneous tweaks: ticket based rwsem algorithm; Google's tcp proportion rate reduction algorithm; added cifs; disabled fsync; switched to BFQ v6; enable zcache

About automatic hotplugging

v2.0 and higher allow automatic hotplugging.

With these kernels you need the updated Core Manager.apk to be able to slide the Cores value to the 0 position. This will set Auto mode, and hotplugging will work like stock. However, the low-power core is still prevented when awake, and the high-power quad-core is still forbidden when the screen is off. This is to ensure performance when the screen is on, and power-saving when it is off.

Remember after a reboot, it is necessary to open and save+exit the app to restore your preferences. Installing the new app will again require super-user permissions to be granted.
[HTC One X+] jizang:
Will auto hotplugging reduce the temperature while playing games,and to activate it I have to set cores to 0 in the core manager app right?
[HTC One X+] :
Yep, set 0 to activate auto hotplugging.

It might make it cooler if you've been running with 3/4 fixed cores previously. If you're trying to prevent heat you could fix it to one core.
[HTC One X+] ace_viknesh:
edit:deleted

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

Bedalus, I tried the kernel and it cost me a

huge

headache. My phone kept freezing and wouldn't boot. The internal storage got formated and all sorts of problems until I had to reinstall the entire ROM. Please advice on why this happened. Thanks!

P.S. My Internal Storage is a generic hierarchical file system.
[HTC One X+] :
I've no idea. What Rom?
[HTC One X+] ace_viknesh:
ARHD 6.5
[HTC One X+] :
I'm still on arhd 6.3 (never felt the need to update since then)

It seems strange that you had such terrible problems.

Do you have any kind of app to change the phone's performance (apart from core manager)?

Did the phone even boot at all? If so, how far? All the way to the lockscreen?

Have previous versions worked ok?

Also, have you flashed any arhd tweaks, or any other mods?
[HTC One X+] pradeepvizz:
I have flashed the latest kernel (2.1) with ARHD 6.5 and dont have problems.. May be you could have tried to clear the cache/dalvik .. or may be it was taking long time for a first boot
[HTC One X+] jizang:
Thanks bedalus i will try when i'm home
[HTC One X+] ace_viknesh:
I'm really not sure about the problem. I'll give it another shot. But this time I'll backup my ROM just in case.

Yes, I've flashed Lyapota's tweaks for Quick Settings, I was able to get to the lockscreen but the phone refused to locate the service provider and just hung. I cleared everything from dalvik to data. Still not working. I don't understand what I wrong man...

And also it took a super long time for the first boot, I allowed it to boot, but it hung after getting to the lockscreen. I pull the ring and it shows me an app, with no words or buttons, just a black bar at the bottom and white background. Also, after a while screen powers off, and the notification light remains constantly red, even after a hard restart, same problem. Able to get past boot sequence but hangs after booting.

Oh and I forgot to mention, hasson's toolkit showed me <error:device not found> and later on detected the device on the second cmd prompt, as we are required to close the first one to flash the kernel using the second one. I'm not sure if that could be the problem.

Is there any other way possible to flash the kernel? I could attempt troubleshooting if there are other ways to implement the kernel to the system.
[HTC One X+] :
Copy your backup to your computer if you want extra safety.

You'll have to use fastboot to flash it. There's no alternative.

Because fsync is disabled, if the phone suffers any sudden reboots data can be corrupted. I wouldn't have added that tweak if I wasn't sure about the stability of the kernel. I may have to revert it now!
[HTC One X+] ace_viknesh:
Fastboot failed too. I think it's a tweak that causing the problem. But what I find strange is that I appear to be the only person having this problem as even pradeepvizzsaid it was perfect.

Also, I may have flashed wrongly so let me confirm, the fastboot command is [fastboot flash boot boot.img] right? Boot.img being the kernel file.

Also, when i fastbooted the stock kernel, it didn't do any good. It still hung, and I have no idea what was causing the problem. The phone also showed me in recovery that it was unable to detect the SD card (Internal Storage). The internal storage refused to show up on the computer too after flashing the kernel.
[HTC One X+] snakebiteex:
well theres your problem...

first delete cache

then flash boot image

then delete cache again.

those are mandatory..
[HTC One X+] :
If you flash the stock kernel you need to flash the stock kernel modules too. There's a zip around somewhere to do it. If you can't find it, you'll have to flash your Rom in recovery, then reboot to fastboot, then flash the stock kernel. There's a myth about erasing cache and dalvic cache when flashing kernels but it's not true. You only need to erase the cache when updating or changing ROMs (or flashing mods)
[HTC One X+] reaper90:
What do you mean by "fastboot failed"? The command is right but i didn't really get what exactly went wrong / doesn't work for you.

You flashed the boot.img and your phone didn't boot anymore? Give me/us some more information on what you did exactly and what went wrong or didn't work.
[HTC One X+] somemadcaaant:
Need a log cat if he can boot into the rom partially - so he can't boot it hangs(soft brick) or cant get past the lock screen as he's said both?

Sounds like he's a little confused and maybe tried flashing in the recovery and probably wiped system so the rom wouldn't boot, then probably tried flashing an old/different rom backup which has corrupted his rom so he can't get past lock screen and hangs, then tried hasoon's took kit which still presented the same problem, then manual fastboot flash which at this point won't do much.

If it was a bad kernel flash he wouldnt get past the bootloader as it would hang a black screen, soft brick.

Maybe you need a batch file ppl can run, erase cache then flash boot like Nik3r perhaps.

No issues flashing your current kernel 2.1 here nice and snappy, good work, testing over weekend.

-smc
[HTC One X+] sffmandrake:
hi,

i have a pb with core manager, fast charge and BLX works but when i select one core or other it didn't work, it seems that it's stuck with auto hotpluging, someone can confirm ?

and want to thx Bedalus, like other user says it's smooth and snappy ;D
[HTC One X+] ace_viknesh:
Exactly. That's why I didn't and still have problems. I guess there's something wrong with my phone and it doesn't like your kernel. :p I'll just stick to the stock kernel. Thanks beladus!
[HTC One X+] :
Well, I'm sorry it's not working for you, but if you change your mind and want to try again, pm me first and we'll do it step by step
[HTC One X+] :
I suppose it can't be a super-user issue as you say blx/fastcharge are working... Maybe worth a double-check though.

Otherwise, get CPU Stats off the market (it's free) to see what's happening with the cores. I'm having no problems with the Core Manager personally.
[HTC One X+] :
[MENTION=2535411]somemadcaaant[/MENTION]

I suppose it's an option, but hasoon's toolkit is the one-stop-shop for all our flashing needs... I use it myself because typing in paths in Windows is a pain. The toolkit's 'flash kernel' option even reboots the device to fastboot so I don't even need to touch it!
[HTC One X+] Notechis:
Since this Version, I cannot change number of cores with the manager. There are always 3 online. Drain is good by the way...

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] sffmandrake:
Same here ...since 2.0

Edit: i use SystemPanel
[HTC One X+] :
Using root explorer or equivalent, open

/sys/class/misc/cpusallowed/cpusallowed

as text.

Make sure it matches what you set it to in Core Manager. If it doesn't then the app isn't working and you'll need to make sure it is granted super-user permissions.
[HTC One X+] FirePoncho86:
Well well well, looks like I have to trade in my Nexus S for a One X+
[HTC One X+] maxwen:
don't try SLOB :)
[HTC One X+] :
Yes, I have a feeling that I saw some commit somewhere that mentioned how SLOB didn't work. Any idea if it's fixable?
[HTC One X+] saibz:
Thank you for developing for the One X+, I'll be following your updates closely. :good: