Skip to content

feiplane/vayu

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I'm just an self-learning programming enthusiast that like to learn about programming in my free time.
This is just my experimental kernel for Poco X3 Pro(vayu), will be mostly focuses on hid-sony and hid-playstation.
Feel free to be my guest but use the codes at your own risk, I won't responsible for anything happened to your phone.


Things done:
Added necessary components for the phone to operate properly:
  - Wifi driver
  - Audio driver (mandatory, or else the phone won't boot into system)
  - Data driver
  - Exfat filesystem
    ( All these do not included in Xiaomi vayu's kernel source due to not their proprietary.
      but available in their repositories as standalone repo. )
  - Xiaomi Turbo Charge key
    ( I have no idea why this is not included )
    
Sony playstation 4/5 controllers related changes:
  - Enabled force feedback(vibration) for Sony PS4 controller(Dualshock 4) - hid-sony
  - Added Sony PS5 controller(Dualsense/Edge) - hid-playstation support.
  - Migrated Dualshock 4 support from hid-sony to hid-playstation
    ( Both sony driver sources upstreamed to exactly latest commit available(as of 2022-12),
      with necessary backports/dependency for hid-playstation)
    
Fixes:
  - some compiler warnings
  - some compiler output display issue


Things to do:
  - trying to expand hid-sony and hid-playstation functionality.
  
  
Things to find out:
  - where to start android app development?
  - how to convert kernel device driver to android userspace driver?
  - how to execute linux binary from android app?
 (Gurus please lead me to correct paths)
 
 
 Special Thanks to:
  - https://github.com/MiCode/Xiaomi_Kernel_OpenSource
  - https://github.com/blakbin/MiCode_Kernel_Vayu/tree/vayu-r-oss-mod
  - https://www.kernel.org/
  - https://patchwork.kernel.org/comment/23977779/
  - https://android.googlesource.com/
  and Sony Team which leads by Mr. Roderick Colenbrander contributing in both the Sony drivers support.

About

Xiaomi Mobile Phone Kernel OpenSource

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.4%
  • Assembly 1.1%
  • Makefile 0.2%
  • Perl 0.1%
  • Shell 0.1%
  • Python 0.1%