yashsingh1/xdaforums huggingface dataset:
[Redmi Note 2 Android Development] grox:
Thanks for the V15 version, will install it asap! I set the performance back already to balanced to save battery. It sounds strange, but i don't need the performance so much (as I don't play games or so), I more want a better batterylife. I set nofrills to:

max: 2.158 Ghz

min: 403 Mhz

Governor: interactive

I/O: cfq

What is your opinion to have a responsive phone and the best batterylife? Ondemand as a governor?
[Redmi Note 2 Android Development] tevhid99:
V15 is perfect, root permission works with it.
[Redmi Note 2 Android Development] Namaless:
Is based on your UX experience, for me example when i want to save the battery i setup 806 max, 403 min, cfq (is the best for multicore), the bad for now is we can't disable the 2cpu (big 4 core's), i started to implement on it and i try to write or a small app for manage this or i don't know.. for a moment the only possible we have is this :(

Nice to know, for me working too xD

Restored the stable backup, flashed the dev plus the new kernel build 15 and gg, all working fine :) I post it on OP for everyone with dev version need :)

Thanks for feedback [MENTION=1232579]tevhid99[/MENTION]
[Redmi Note 2 Android Development] Frty&dr:
Can i somehow easily go back to old kernel after installing this one? Ive flashed this tweak some time ago and root acces was denied
[Redmi Note 2 Android Development] Namaless:
Install build 15 to fix this, I have fixed today :)
[Redmi Note 2 Android Development] Frty&dr:
Ok ive got root thx will test:)
[Redmi Note 2 Android Development] hochocnua:
Have a good day and fun !

You are best of best dev of Redmi Note 2.

Thank you very very much, you make a great kernel that every body must have.
[Redmi Note 2 Android Development] Namaless:
I not made the kernel but added features to the ramdisk, btw thanks :) Nice day you too :victory:
[Redmi Note 2 Android Development] Namaless:
One guy found a issue with init.d because i moved the files so the permissions not applyed, now in tired and its time to sleep, when wakeup i fixit and update
[Redmi Note 2 Android Development] cukierkas:
Newest kernel from miui
[Redmi Note 2 Android Development] Namaless:
I need one information about prime version, because I think: the prime have much more cpu power but with my work not used at max power, so I need to check if the device is a prime version or not, I have another way but if anyone here can get one info from the device I'm happy to improve performance for the prime version.

Need a terminal app or adb shell then write this after get root access:

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies

Another possible I think the app cpu no frills or the same in the dropdown menu happen this data, if anyone can check this i'm happy :)

Update for this project, I found another project with the same name so with the latest update I change the name and go to the stable version, so the number go to v1.16 where 16 is the build ofc :)

v1.16 - 2016/01/11
[new] Refactoring the project.
[new] Fix problem with init.d not executed.
[changes] Project name change from Miui Slim to Miui Speed MOD.
[changes] Change versioning from v{kernel version} Build {build version} to v1.{build version}.

I need few time to complete my check then publish and update all here :) Stay tuned :victory:
[Redmi Note 2 Android Development] Namaless:
Thanks from few build far I used the developer kernel I think is much better ;)
[Redmi Note 2 Android Development] cukierkas:
Guessing this way is easier:)
[Redmi Note 2 Android Development] cotrec:
This is from redmi note 2 prime
[Redmi Note 2 Android Development] algida79:
Hi [MENTION=3597029]Namaless[/MENTION], this is the command output from my RN2 Prime. It's from an older ROM (xiaomi.eu 5.10.29) but it's possible that it can help you:

2158000 1885000 1664000 1482000 1326000 1183000 806000 403000
[Redmi Note 2 Android Development] Namaless:
Wow sorry i can't do more thanks for today :victory:

one question btw, anyone get the max power in anycase or need to change?
[Redmi Note 2 Android Development] cukierkas:
Not gaming or having performance mode running. Always at balanced. I'm happy when dialer,mail, calendar,browser,office apps,navigation and Spotify running. More battery juice please. ;)
[Redmi Note 2 Android Development] Namaless:
Before release I wanna fix this issue (or not issue, but Im a developer and i want all perfectly xD) ;)
[Redmi Note 2 Android Development] rodman_den:
Namaless, hi! Please add in kernel selinux=permissive... Thanks!
[Redmi Note 2 Android Development] Namaless:
I not missed the project but I have some issues for run the script with a service... I create the script to know the max and mix frequency but the service boot not wanna working, damn it!!
[Redmi Note 2 Android Development] Namaless:
Anyone remember when the init.d support are stopped to working?

I have tried some ways, disable selinux (not working), use busybox (not working), use external script (same as before, but now not working)... I finish the idea, I have checked smiui and with the same modifications not working too... I lost my mind for this :(

---

I tried to come back to the stable ramdisk (few modifications related to the developer, plus the binary files ofc) and this for me with the stable working, so Ill try to upgrade to developer and try again, stay tuned :victory:

---

The only way I found for a moment to working with developer version (without losing any features) is used SuperSU (much better for me then the bad root management come in developer version)... complete the testing into developer rom, so test back to the stable, if all working fine I upload it :)
[Redmi Note 2 Android Development] Namaless:
Update OP with the status of the development for the new version, much testing for the new project format :victory:

[MENTION=4657196]rodman_den[/MENTION] added permissive selinux for your happy xD
[Redmi Note 2 Android Development] Adam Hui:
Hi [MENTION=3597029]Namaless[/MENTION], i've been following up u at xda & miui hermes forum, i think u're a good guy/girl, thanks for good job & pls keep it up.

In next build, i'm curious if there's ability in hermes kernel to enable 'native' Tap or Swipe to Wake (d/s2w) support. If it's not possible yet, maybe u can check this 77kb app i've been using, which using the proximity sensor to wake up devices.

https://play.google.com/store/apps/...eup&pcampaignid=APPU_1_Q2CWVoPzB4eJuwSP_qCwAw

Pressing power button all the time is pain in the ass..
[Redmi Note 2 Android Development] cukierkas:
use volume buttons instead :D

or this one, with more functions
[Redmi Note 2 Android Development] Adam Hui:
2MB~ GravityScreen using motion sensor wasn't a worth to use instead a 77kb proximity.

IMO it uses more RAM & battery. Been waiting [MENTION=268133]nameless[/MENTION] to reply to check any possibility to dig a native feature from the kernel :) .
[Redmi Note 2 Android Development] benraiso:
Is there a version which can use on CM rom? Thanks
[Redmi Note 2 Android Development] marc.com:
Thanks for best kernel, working in Angels&Demons v5
[Redmi Note 2 Android Development] Namaless:
No I can working for cm version but all still in development. For a moment I working only with miui stable with compatibility for the dev version :)
[Redmi Note 2 Android Development] Namaless:
For the wakeup evey app can do a feature is useless to add in the kernel.. BTW I cant compile the kernel because we don't have the sources pls stop to ask this, I have already writes some some some times....
[Redmi Note 2 Android Development] Adam Hui:
Ok, sorry for that. Been reading but stiil not found any asking about it in this thread.

I've latest global MIUI 7.1 rooted by superSU v.2.49, so i flashed your kernel without flashing superSU again, only wipe cache+dalvik. Will that be matter?
[Redmi Note 2 Android Development] Namaless:
Ofc install SuperSU only if you don't have :)
[Redmi Note 2 Android Development] lomax84:
What if i don't install supersu at all, and i keep the miui stock app to give root permission?

Inviato dal mio Redmi Note 2 utilizzando Tapatalk
[Redmi Note 2 Android Development] Namaless:
With the developer version the miui root permissions working without problem, the problem come from the my scripts because not run because the miui root not able to execute root privileges in the boot time, so the only working part is the power mode profiles, I suggest to use the supersu. I working for move the setup script in other place but for now the situation as this :)
[Redmi Note 2 Android Development] Namaless:
Great update today :victory:

Because some users report some battery drain because some features improve the performance but much more battery drain I working for fix this issue :)

Now the most important performance features working only in performance mode, I added only few improvements for the balanced mode.

Please report any issue related to the battery drain <3
[Redmi Note 2 Android Development] thetrukos:
In global versión 7.1.1, stock kernel i got better SOT in perfomance mode than balanced mode, funny :)
[Redmi Note 2 Android Development] aaditya99:
Hello!

I have flashed Xmister's patch in my hermes.Will your mod work with his patch too?
[Redmi Note 2 Android Development] sunu792002:
Flashing your kernel in sMIUI v6.1.7, it was very very good and fast, but.... there's bug on it.... some apps cannot launch perfectly and will close immediately. For example, BCA Mobile, rashr, google play will close if touch "what's new" description application, and other apps will close without confirmation. Is there any one facing same problem with me?
[Redmi Note 2 Android Development] leo0-0:
i found v18

is that your ?

https://www.androidfilehost.com/?fid=24369303960685212
[Redmi Note 2 Android Development] Namaless:
Nice feedback, you have already cleared the cache + dalvik-cache? Because i not have this problem, but now I working on 7.1.3 china stable, if possible i don't want wipe again my device :D So please check before this I think the problem come from the dalvik, give me feedback after you try please.

I think yes but some implementations come only in performance mode for leave the problem from battery drain, you can try it btw :)

lol yes, I uploaded yestarday for one friend because him have a problem with 3g/4g so I remove a ril module from the scripts but today calling with me and this issue not fixed. For a moment is the same of v1.17 so before fix the problem with him not have sense to post here :)
[Redmi Note 2 Android Development] leo0-0:
[MENTION=3597029]Namaless[/MENTION] bro ! why i can write on system by rootexplorer after flash ur kernel :(

p/s : tried wipe cache + davik cache, reinstall app :(
[Redmi Note 2 Android Development] Namaless:
It's true, I need to check where no remount in ro the system, ty
[Redmi Note 2 Android Development] Namaless:
Released v1.18 with bugfix and improvements.
[Redmi Note 2 Android Development] cotrec:
plase check the download link
[Redmi Note 2 Android Development] Namaless:
Checked, what wrong?
[Redmi Note 2 Android Development] grox:
Amazing speed en performance.....just installed v17, and see now v18 is released!

Over 54000 in Antutu on performance mode! See image. Great!! Installed on smiui v6.1.14 and v17 and i've found no bugs so far.

Will v18 improve even more?

---------- Post added at 08:24 PM ---------- Previous post was at 07:40 PM ----------

And v18 boosts it further! Over 55.000!! Nice!
[Redmi Note 2 Android Development] johnnyman25:
i have the latest developer rom.can i install this?i need supersu too?rom is allrdy rooted.

I also use this method to save battery.does this works with urs?thx
[Redmi Note 2 Android Development] Namaless:
You can see the every changelog in the OP for know what change, btw I suggest all times to update ofc :)

Sure, It's tested with some custom miui rom's and all stock rom's china/global stable/developer.

I think to change from kernel to app, it's more simple to interact to the system, but for now I learn how to develop android app :D
[Redmi Note 2 Android Development] johnnyman25:
So u recommend me to use ur kernel and delete the app? Is ur kernel battery friendly?
[Redmi Note 2 Android Development] tevhid99:
I' ve only 45k points on Antutu. 6.1.14 with v 1.18 and performance mode on. Why??
[Redmi Note 2 Android Development] thetrukos:
I got 54k stock kernel, stable ROM 7.1.1. Mokee ROM gave me 58k. So antutu is crap. Use something like geekbench 3.
[Redmi Note 2 Android Development] Namaless:
Sometimes I get 50k, other my friend with same rom, clean install, install only antutu from sdcard, reboot, run, the other get 52, other 55, other 47... I think antutu run this numbers at random xD

Approve, I use this app to check if my modification take a plus or malus :)

What app? Yes in normal mode i not setup battery drain tweaks, if you use a performance mode so enable all tweaks.

----

Update dev time :D

I writed a simple App for change the power mode, so is possible to enable PowerSave, Balanced and Performance with one simple click :)

For a moment I sended to few friends on facebook group, after some testing and ideas I released here and added to the OP, I think to move some features to the app, more simple for all I think, this mod after the app release is useless, btw I need some testing before :)
[Redmi Note 2 Android Development] Gyovany96:
Xiaomi Redmi Note 2 Prime

MIUI 6.1.11 Stock kernel , Performance mode : 50400

MIUI 6.1.11 Miui Speed Mod 1.18 kernel + SuperSU , Performance mode : 50949

There is no difference... :/
[Redmi Note 2 Android Development] Black_jackss:
Based on v1.17 changelog

[new] Change the method for improve the performance. Now the most important improvements come with performance mode and not into the balanced mode.

So it means there is no more tweaks for balanced setting anymore? Because i ALWAYS use balanced setting for battery life, im still on build 15 BTW,thanks
[Redmi Note 2 Android Development] AssToast:
Benchmarks reflect nothing in real world performance, so you guys should just stop worrying about it. If you feel your phone is performing better with better battery life then the mod did what it was meant to do.
[Redmi Note 2 Android Development] johnnyman25:
morning!!this app m8!

https://play.google.com/store/apps/details?id=hu.xmister.hermestool

http://xdaforums.com/redmi-note-2/general/howto-limit-cpu-frequency-to-save-t3233745
[Redmi Note 2 Android Development] Namaless:
No sense 50k with prime, btw antutu sucks, use geekbench 3 instead :)
[Redmi Note 2 Android Development] Gyovany96:
Xiaomi Redmi Note 2 Prime

MIUI 6.1.11 - Miui Speed MOD 1.18 - Performance mode
[Redmi Note 2 Android Development] Namaless:
It's low, I get 4400 with multicore but much better in single core, I get 900, you reboot before run the benchmark?
[Redmi Note 2 Android Development] Gyovany96:
Just tested again after reboot :

1. Set Performance mode and reboot

2. Disable and re-enable Performance mode

3. Just one more test

Strange... What MIUI version you're using ?
[Redmi Note 2 Android Development] Namaless:
mmm... with 1.18 I used the xiaomi.eu 6.1.7

You can try the new version (only changed is the kernel 6.1.14) for battery save in normal mode. The performance mode no changed.
[Redmi Note 2 Android Development] Gyovany96:
Xiaomi.eu 6.1.14 , stock kernel
[Redmi Note 2 Android Development] Stenlius:
Nice kernel, I was on the Angels & Demons v5 stock kernel, this is Antutu stock, Perfromance mode on:

And this is after kernel v1.17:

Apps open faster, overall great work! The phone si Redmi Note 2 Prime
[Redmi Note 2 Android Development] Namaless:
Antutu benchmark it's a random generator xD When I have time I post the GeekBenchmark 3 screenshot, much better benchmark and all times give the same result :)
[Redmi Note 2 Android Development] fluffyboy2:
Couple of questions:

1. I have to switch to performance mode to have battery saving tweaks? So which is better, balanced or performance for battery?

2. Can I use xmister's App with this kernel? https://play.google.com/store/apps/details?id=hu.xmister.hermestool
[Redmi Note 2 Android Development] Namaless:
1. Ofc for battery save you don't need to use performance mode, it's used much more battery now because I unlock all the power from our device :P

2. I not suggest to use other tweaks mod but you can use it :)
[Redmi Note 2 Android Development] Christian1987:
What is better for battery saving, stock kernel or yours? Battery is for me more important as high performance

Gesendet von meinem Redmi Note 2 mit Tapatalk
[Redmi Note 2 Android Development] Namaless:
In this moment isn't important because I have added only 2 small tweak to default, all other added to performance mode.

I working on app version instead all times need to update and testing some kernel...
[Redmi Note 2 Android Development] Xabadou:
Kernel v1.19 works perfectly for me and gives me much more battery.

I use Miui Stable 7.1.1

Thanks!
[Redmi Note 2 Android Development] Namaless:
i'm happy to save your battery :P
[Redmi Note 2 Android Development] t-ara:
Thanks you ! I flashed your kernel, but how to know i flashed complete ? kernel name didn't change :confused:
[Redmi Note 2 Android Development] Namaless:
We do not have kernel source and I writed in OP ("cooked kernel"), I working only on ramdisk.

Thanks :)
[Redmi Note 2 Android Development] jerryshaw12:
Hey [MENTION=3597029]Namaless[/MENTION] how to use powersave mode in miui 7.1.2.0?
[Redmi Note 2 Android Development] Namaless:
Miui not used directly the power profile for this I made one simple app to change this.. BTW after some test I see the performance not change much more only increments for change the CPU frequency and governors, so I think do not release any update for the future :)
[Redmi Note 2 Android Development] aaditya99:
Hello [MENTION=3597029]Namaless[/MENTION]!

I flashed v1.19 in my hermes with Angels and Demons v5(MIUI rom.But it went into a bootloop(it would get stuck at MI.COM logo for about 10 secs then would vibrate once, screen would go off and the logo would appear again.) I have previously used v 1.18 and it made great difference in the performance of my phone. But the battery tweaks were available only in performance mode.So i flashed the new version but got into a bootloop. Thankfully i got out of it, but I dont understand how it didnt work in my Device,and your mod is too good to pass by. What do I do?
[Redmi Note 2 Android Development] jerryshaw12:
[MENTION=3597029]Namaless[/MENTION] how do you know thermal.conf language, i want to tweak but i don't understand the language ?
[Redmi Note 2 Android Development] Namaless:
I don't know what can appen, I never used this version, you can get me log (you found what I need in the OP)?

I follow one time this, but I not want to try to change any values because I think xiaomi get a great job with the battery drain, so is useless for me try to give less battery usage for now :)

Btw you can found many informations about it.
[Redmi Note 2 Android Development] Dewiso:
Hi my friend, I have installed angels and demons with namaless v1.19 installed and very good stability and good battery life.

Retry but don't boot loop this combination rom and kernel

Enviado desde mi Redmi Note 2
[Redmi Note 2 Android Development] aaditya99:
Okay man.I will try once more.Thanks!
[Redmi Note 2 Android Development] grox:
This kernel is not working on the last smiui. Version 6.1.28. Just installed the ROM and kernel, but the complete system hangs and only turn off is working...

Flashing rom only it works.

Can you please update the kernel, because it is very stable
[Redmi Note 2 Android Development] eyiieyi:
this kernel doesn't work on xiaomi.eu 6.1.29

love this kernel, hope compatible soon
[Redmi Note 2 Android Development] Namaless:
The project are discontinued because I sold my device, I ask tomorrow to moderators to close all my projects, happy to help but without the device I can't support the community.
[Redmi Note 2 Android Development] spoof123:
Thank you Namaless for your hard work. May I ask you; which tool do you use to unpack -repack boot.img in windows ? Because when I use this tool:

http://en.miui.com/thread-27657-1-1.html; It can only unpack. That tool cannot repack boot.img. Thank you for your answer
[Redmi Note 2 Android Development] Namaless:
I used a Linux VM for development every android project :)
[Redmi Note 2 Android Development] Harasan:
I have some freezing in Real Racing 3 on xiaomi.eu 6.1.29, but it works perfect on xiaomi.eu 6.1.21 or 6.1.14
[Redmi Note 2 Android Development] RenatoNismo:
will you give the project to a developers in official miui ? they would bring us newer kernels.
[Redmi Note 2 Android Development] Namaless:
I sold the device, sorry but the project stopped.
[Redmi Note 2 Android Development] xxxTy3uKxxx:
Buddy, what about source of your patches? Can you release on Github/Bitbucket/etc?
[Redmi Note 2 Android Development] AssToast:
Sorry wrong thread :silly:
[Redmi Note 2 Android Development] insestito:
Work on AOSP????? Thqnks
[Redmi Note 2 Android Development] Namaless:
Only for miui rom's. Writed in OP, please read before posting...
[Redmi Note 2 Android Development] mrsurge:
#include <iostream>

#include <stdio.h>

using namespace std;

string dumbAs(void);

int main(){

printf("I don't understand how you can #include a /*comment*/ \n");

printf("Your compiler would just throw an error asking for a header \n");

cout << "the only dumbass in here is" << dumbAs();

return 0;

}

string dumbAs(void){

string loser = "you";

return loser;

}
[Redmi Note 2 Android Development] deimonash:
so sad there is no more update

btw thanks for your work
[Redmi Note 2 Android Development] nms04:
does this also work in redmi note 3 or only on note 2? =)
[Redmi Note 2 Android Development] marc.com:
+1

I hope soon update
[Redmi Note 2 Android Development] grox:
+1, me too!

This kernel is not working on the newer roms....

Hope someone can fix it! It is really a great kernel and working!
[Redmi Note 2 Android Development] barome:
Maybe ^^
[Redmi Note 2 Android Development] nadhif.nrfsw:
please update with lastest developer kernel
[Redmi Note 2 Android Development] mondohow:
Read the first post. You can't miss the BIG BOLD TEXT
[Redmi Note 2 Android Development] Gerek:
please update with lastest developer kernel
[Redmi Note 2 Android Development] Ranomez:
Hi [MENTION=3597029]Namaless[/MENTION] I know you are no longer working on this kernel and as I will receive my Redmi Note 2 Prime in the weekend would like to pick up the work (if possible) but I can not find any information about some of the tweaks you included in your kernel so I want to ask if you could make a guide for those tweaks or at least telling me the files that need to be modified and the values that you used, if not too much trouble of course?

Also I want to ask if current Mediatek devices still need the patched boot image header?

EDIT: Nvm my first question, I unpacked your kernel and saw how you did it, injecting custom scripts in the ramdisk, that's pretty smart, lol.

I also already updated it to the latest dev kernel by doing a diff on the files, ofc I will not share it unless you grant me permission to do so (and ofc only after I get my device to actually test and debug it).

Anyway the fact that now I know how you did it is enough for me to attempt to cook my own kernel and customize it how I see fit (tbh I will go for squeezing more battery life instead of performance).
[Redmi Note 2 Android Development] szczuru:
What about battery on this kernel? Is it better than on stock kernel?
[Redmi Note 2 Android Development] Ranomez:
Ok, so my updated version of this kernel seems to boot, can't yet say how good it is yet as I don't even have my device but if it does work ok and I will get permission I will post it, otherwise will just post whatever the kernel I will cook ends up being, already started working on my own scripts.