Respuesta
 
Herramientas
  #1  
Viejo 08/11/15, 09:26:35
Array

[xs_avatar]
Bigticket Bigticket no está en línea
Usuario muy activo
· Votos compra/venta: (2)
 
Fecha de registro: feb 2011
Localización: Euskadi
Mensajes: 2,076
Modelo de smartphone: iPhone 12 Pro Max
Tu operador: O2
Poner botones en pantalla (virtuales) y deshabilitar los capacitativos

Es el mismo tutorial que había hasta ahora pero varía el archivo que hay que tocar para desactivar los botones capacitativos, ya que la botonera de este móvil es synaptics y no atmel.

 Cita:
[GUIDE][5.0]How to enable on-screen nav bar and disable hardware capacitive buttons.


INTRODUCTION
This guide is for Ivan's 5.0 Lollipop AOSP ROM but will work with other ROMs as well.

FEATURES
Pure AOSP feel.
Many people prefer it, including me.
Workaround for 'hardware key wakeup' bug.
Can use Lollipop features like Screen Pinning easily.
Looks cool

PREREQUISITES
Ivan's Lollipop AOSP ROM.(May work on others too)
MI3.(Again may work on others too)
Root.
ES File Explorer.(or any file manager with root access)

INSTRUCTIONS

Enabling on-screen nav bar.

Open ES File Explorer and grant su access.
Go to system and open build.prop with ES Note Editor and add this line in the end:
Code:
qemu.hw.mainkeys=0
Save build.prop and reboot.
Check if soft keys are enabled.
If enabled successfully, proceed to next section.


Disabling hardware capacitive keys.

Go to system/usr/keylayout and open 'synaptics_dsx.kl' with ES Note Editor.
In the end of that file there will be following three lines:
Code:
key 139 MENU VIRTUAL
key 102 HOME VIRTUAL
key 158 BACK VIRTUAL
Add a '#' before each line so it would look like this:
Code:
#key 139 MENU VIRTUAL
#key 102 HOME VIRTUAL
#key 158 BACK VIRTUAL
Save the file and exit.

Última edición por Bigticket Día 08/11/15 a las 11:53:52.
Responder Con Cita


  #2  
Viejo 08/11/15, 13:33:46
Array

[xs_avatar]
Silvermain Silvermain no está en línea
Usuario muy activo
 
Fecha de registro: jul 2009
Mensajes: 913
Modelo de smartphone: Xiaomi Mi4c
Tu operador: Simyo
 Cita: Originalmente Escrito por Bigticket Ver Mensaje
Es el mismo tutorial que había hasta ahora pero varía el archivo que hay que tocar para desactivar los botones capacitativos, ya que la botonera de este móvil es synaptics y no atmel.
Y cual es la diferencia entre las dos?
Responder Con Cita
  #3  
Viejo 08/11/15, 13:35:54
Array

[xs_avatar]
Bigticket Bigticket no está en línea
Usuario muy activo
· Votos compra/venta: (2)
 
Fecha de registro: feb 2011
Localización: Euskadi
Mensajes: 2,076
Modelo de smartphone: iPhone 12 Pro Max
Tu operador: O2
 Cita: Originalmente Escrito por Silvermain Ver Mensaje
Y cual es la diferencia entre las dos?
Pues que en el tutorial dice que hay que poner las # en el archivo 'atmel-maxtouch.kl´ pero en el caso del mi4c hay que poner las almohadillas en el archivo 'synaptics_dsx.kl'. Si editas el atmel los botones no se deshabilitan.
Responder Con Cita
  #4  
Viejo 08/11/15, 13:40:19
Array

[xs_avatar]
Silvermain Silvermain no está en línea
Usuario muy activo
 
Fecha de registro: jul 2009
Mensajes: 913
Modelo de smartphone: Xiaomi Mi4c
Tu operador: Simyo
Ah, vale, es tema de configuración.
Responder Con Cita
Respuesta

Estás aquí
Regresar   Portal | Indice > Foros Xiaomi > Otros modelos de Xiaomi antiguos > Xiaomi Mi4c > ROMs y desarrollo Xiaomi Mi4c



Hora actual: 10:42:38 (GMT +1)



User Alert System provided by Advanced User Tagging (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.

Contactar por correo / Contact by mail / 邮件联系 /