[INCOMPLETE HOW TO] Reconstruct Mi 4c kernel source

ketut.kumajaya

Recognized Developer
Apr 28, 2011
4,935
14,131
0
Bekasi
Last edited:
  • Like
Reactions: kevinnol

emfox

Senior Member
Mar 16, 2011
270
887
0
Still have no motivation to create a flashable zip, much better than no motivation to open source our modifications :laugh: Be respectful developer by not violate the GPL :victory: You must open your changes immediately after you start distributing the binary package. That's so simple!
Of course you may keep your little secret for more time, and feel the envy eyes on you from those 4c users :D
 
  • Like
Reactions: kevinkvothe

dexxa05

Senior Member
May 5, 2007
493
61
0
Metz
You know guys like you, who develop for this kind of phone help also for the success of the phone.
And guys like buy only phone where you will have development and will found many ROM's, kernel's etc..
So thx for your work and keep it going !
 
  • Like
Reactions: gonzalocav

ketut.kumajaya

Recognized Developer
Apr 28, 2011
4,935
14,131
0
Bekasi
Of course you may keep your little secret for more time, and feel the envy eyes on you from those 4c users :D
No 4c without you and your group :good:
You know guys like you, who develop for this kind of phone help also for the success of the phone.
And guys like buy only phone where you will have development and will found many ROM's, kernel's etc..
So thx for your work and keep it going !
Someday you will realize: "I love the way he live open source".
 
  • Like
Reactions: dexxa05

dexxa05

Senior Member
May 5, 2007
493
61
0
Metz
Beware, working for Xiaomi device will make you disrespect GPL easily :D Too bad if Xiaomi bad attitude influenced our developer here[emoji23]For me, source code always much important than a final binary. If I get bored or died, someone else will take over it.
You totaly right ! And i agree with you !

Envoyé de mon Mi-4c en utilisant Tapatalk
 

SlanDev

Senior Member
Apr 9, 2015
164
43
0
I managed to separate original CAF's input driver from Xiaomi modification and then apply Xiaomi version as a separate driver. Device still working properly, including double tap and edge control.
Sorry for the noob question, but does that mean that we have a working kernel (that we could modify) built from the sources?
 

zhukry

Senior Member
Jul 27, 2013
288
37
0
Just upload a new boot image to Drive https://goo.gl/sLLLdb No flashable zip for now, currently for advance user and/or developer only.

Update:
- F2fs support
- Default noop scheduler, bfq when boot completed
- Use a modified MIUI 7.2.1.0 ramdisk. Secure boot, device lock disabled. My kernel will boot MIUI 7.2.1.0 with old bootloader

Let me dancing on stock ROM for a while :laugh:

Current kernel source commits https://github.com/kumajaya/android_kernel_xiaomi_msm8992/commits/libra-l-oss-kumajaya
Can i use it for cm12.1?
Really hope have custom kernel for CM12.1
 

ketut.kumajaya

Recognized Developer
Apr 28, 2011
4,935
14,131
0
Bekasi
Strange, Lollipop ROM but Marshmallow kernel :D
Almost everything working, except:
- In-kernel USB driver not compatible to Lollipop ROM, MTP and adb not working
- Equalizer not working, incompatible soundfx libraries
- Wrong headset button mapping
- I'll check further, still under testing
 

Attachments

Last edited:

Talha7866

Senior Member
Sep 22, 2012
465
29
0
Can we have a custom kernel for miui ? Because battery backup is too low even on wifi I get barely 4 hours screen on time and also it gets 41-42°C on normal browsing web
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone