View Single Post
Old 02-15-2023, 08:01 AM   #512
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 3,977
Karma: 18026955
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
Quote:
Originally Posted by token_01 View Post
Any solution to the above?
Probably too many solutions.
  • If you use Magisk you can make a Magisk module to replace /system/usr/keylayout/Vendor_0001_Product_0001.kl
  • If you have NeoNoogie as recovery, mount /system r/w and replace the file (best to make a full backup of /system in case of some verification).
  • You could modify the kernel so that the VID/PID of the buttons is not 0001/0001. Then you could put the keylayout in /data/system/devices/keylayout/ which is writeable (but requires root).
  • You could patch the reading app to use whatever codes the buttons generate
Renate is offline   Reply With Quote