Calificación:
  • 0 voto(s) - 0 Media
  • 1
  • 2
  • 3
  • 4
  • 5
Solución, no elegante, para el sonido del A2.
#1
Ya lo dice su autor, la solución no es muy elegante, pero creo que si práctica.
Consiste en un script que automatiza el cambio del sonido para los que estéis cansados de cambiarlo cada vez que iniciáis el X7.
Lo he probado y funciona. A mi me gusta y por eso lo comparto. Es del foro de MINIX y su autor tsol_mi. Espero que os guste.


I came up with a little work around to automate changing the audio output device on startup. I warn you, it's not the cleanest or prettiest solution, and you need to be rooted.

Place the following script at the root of the sdcard folder.



Code:
#!/system/bin/sh
am start -a android.settings.SOUND_SETTINGS &&\
input keyevent 22 &&\
input keyevent 20 &&\
input keyevent 20 &&\
input keyevent 20 &&\
input keyevent 23 &&\
input keyevent 20 &&\
input keyevent 20 &&\
input keyevent 23 &&\
input keyevent 3
The script opens the sound settings and sends key presses to change the setting back to RK29_RT5616.

Then just automate the script to run at boot. I'm using script manager.

Script Manager is pretty straight forward (and free). Just navigate to your script and click the su and boot flags. Done, like i said not pretty.

tsol_mi, Friday at 1:03 AM


Saludos.
Responder
#2
Seguro que alguno le servirá, gracias por el aporte.
Apadrina una ROM, invítame a una birra! :D <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4GYPXRS9GVNN4&lc=ES&item_number=Invitame%20a%20una%20birra&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted"><img src="https://www.paypalobjects.com/es_ES/ES/i/btn/btn_donate_LG.gif"></img></a>

No se contestan dudas por privado, usad el foro para ello :)
Responder
#3
Pues muy interesante, gracias.
Responder


Salto de foro:


Usuarios navegando en este tema:
1 invitado(s)

Powered by MyBB.