[KERNEL][MIUI V5/QDTXX] Stock kernel with init.d support / fstrim


Status
Not open for further replies.
I tried the kernel for AOSP QDT14 and the "home" button stopped to work. I'm using on M2S 32GB
 
I tried the kernel for AOSP QDT14 and the "home" button stopped to work. I'm using on M2S 32GB
That's weird, is it working again when you flash the stock kernel back?
 
It's strange; I've flashed right now the custom kernel and is working well. Maybe is necessary to flash it after first reboot, or after setting up the phone?
 
I flashed XTweaks on my M2S, but seems like it only supports M2, cause the frequencies for the CPU are not correct.
Will it work if I simply change on "customconfig.xml"
<spinner description="Scaling maximum frequency (Default: 1512000)" name="scaling_max_freq" action="generic /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq">
<spinnerItem name="1512000" value="1512000"/>
<spinnerItem name="1242000" value="1242000"/>
<spinnerItem name="918000" value="918000"/>
<spinnerItem name="594000" value="594000"/>
<spinnerItem name="384000" value="384000"/>
</spinner>
<spinner description="Scaling minimum frequency (Default: 384000)" name="scaling_min_freq" action="generic /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq">
<spinnerItem name="1512000" value="1512000"/>
<spinnerItem name="1242000" value="1242000"/>
<spinnerItem name="918000" value="918000"/>
<spinnerItem name="594000" value="594000"/>
<spinnerItem name="384000" value="384000"/>
with all available frequencies on M2s? Or is not neccessary to put all the frequencies?
 
Editing customconfig will work
If you send me de frequencies I can add official support for Mi2s
 
  • Like
Reactions: deini
This is the content of scaling_available_frequencies :

384000 486000 594000 702000 810000 918000 1026000 1134000 1242000 1350000 1458000 1566000 1674000 1728000



Sent from my MI 2S using Tapatalk 4 Beta
 
  • Like
Reactions: redmaner
redmaner

I can't set the CPU Governor in the last WIUI 3.6.14 to ondemand. Aways after apply, no problem, but if I open XTweaks again the governor is set to interactive again. Can you help?
 
This is the content of scaling_available_frequencies :

384000 486000 594000 702000 810000 918000 1026000 1134000 1242000 1350000 1458000 1566000 1674000 1728000



Sent from my MI 2S using Tapatalk 4 Beta
Can you send your build.prop too? Not from the zip but actually from your device. I need to check something
redmaner

I can't set the CPU Governor in the last WIUI 3.6.14 to ondemand. Aways after apply, no problem, but if I open XTweaks again the governor is set to interactive again. Can you help?
I have this problem too. I will fix this with the next kernel release 3.6.21 which will be out saturday
 
Hey everyone,

I've uploaded two new kernels
- MIUI 3.6.21
- AOSP QDT14
Both kernels are cleaned up compared to older versions.

I have an important announcement to make. From this week XTweaks is no longer supported by me.
I have several reasons for this decision, I will explain them in detail.

First of all the XTweaks application is very outdated. It's a mockup of various android GUI parts.
Some are gingerbread others are Ice Cream Sandwich/Jellybean. Some parts are hardcoded with Java others are XML.
It's really hard to maintain this application, because code is horrible and I am not an application developer.

Second XTweaks is using universal config interface which is not that configureable on every side.
UCI uses hardcoded settings, not device based. So here comes the problem.
I have a Mi2 which is fully supported, but Mi2s is not. Mi2s has diffrent CPU.
I relay on other people to maintain Mi2s, and I am not confident with that because I want to test it myself and fix things myself when needed.

I recommend people who are using XTweaks to use other applications from PlayStore like Trickstermod. It's basically the same it's only supports more devices, GUI is far more better than XTweaks too.
You could also use init.d scripts, the core feature of this kernel. I understand not everyone knows how to use init.d perfectly.
I will start another thread in next coming weeks (when I have time) with some tutorials and examples.

I hope you understand my decision

~ Redmaner
 
I can understand. But does this mean that Xtweaks won't run with the 4.6.21 custom kernel or is there still a chance that it works? I do use trickster mod but just for monitoring purposes since changing the config has absolutely no effect. thanks for yor feedback.

Gesendet von meinem MI 2 mit Tapatalk 2
 
But does this mean that Xtweaks won't run with the 4.6.21 custom kernel or is there still a chance that it works?
wow.... where did you get that 4.6.21 ? we are still at 3.6.21 !!!
would you mind sharing the links for download pls ?
 
I can understand. But does this mean that Xtweaks won't run with the 4.6.21 custom kernel or is there still a chance that it works? I do use trickster mod but just for monitoring purposes since changing the config has absolutely no effect. thanks for yor feedback.

Gesendet von meinem MI 2 mit Tapatalk 2
Nope sorry won't work anymore.
Maybe if you 'trust' trickstermod it will work

wow.... where did you get that 4.6.21 ? we are still at 3.6.21 !!!
would you mind sharing the links for download pls ?
It's just a typo
 
hi ,first thanks your work。today,the xiaomi company publish the mi two open source code for andriod 4.2.2.It maybe can help you to give us more surprise。the adress is https://github.com/mitwo-dev. you can use it to give us a good rom.my english it too bad ,i hope you can knowe what i say.thanks!
 
I am on vacation, kernel releases 3.7.5, 3.7.12 and 3.7.19 will be skipped
 
  • Like
Reactions: Wajk
Status
Not open for further replies.