Ver Mensaje Individual
  #6402  
Viejo 26/08/11, 19:48:39
Array

[xs_avatar]
jofran jofran no está en línea
Usuario muy activo
· Votos compra/venta: (1)
 
Fecha de registro: sep 2008
Localización: Almeria
Mensajes: 2,330
Modelo de smartphone: Note 8
Tu operador: Yoigo
[quote=fran;2737172]+ 100 durante el dia ya me va bien pero en la cama a oscuras el pantallote pega un fogonazo del demonio żno se podria bajar eso?



Claro, es para eso. ademas el colega no a modificado en el suyo el valor maximo, solo los bajos. para mi gusto a oscuras no hace falta tanta iluminacion de la pantalla. y se ahora bateria bastante.

a que pongo como se hace mas o menos. ahora hace falta descifrarlo jejeje



Steps
  1. Download APK manager and unpack somewhere
  2. Grab framework-res.apk from your phone under \system\framework\ (e.g. adb pull) and place it in the "place-apk-here-for-modding" folder
  3. Run Script.bat and select option 9
  4. Once done, go to projects\framework-res.apk\res\values\arrays.xml and edit your values as per first post.
  5. Once edited, compile the apk using option 11
  6. Qn: Is this a system apk. Ans: y
  7. Qn: Aside from the signatures, would .... least. Ans: y
  8. Prompt: In the apk manager folder u'll find a keep folder..... done then press enter on this script. Press any key to continue . . . You have to go to "keep" folder and delete resources.arsc because arrays.xml have been changed. After this You can press any key in apk manager window.
  9. Once done, input 22 in apk manager and select "unsignedframework-res.apk" by entering the number that stands for it. After selecting it You should see in apk main window in the top right corner "Current-App: unsignedframework-res.apk". Now press 5 to zipalign apk. You will find your completed, zipaligned apk under place-apk-here-for-modding\unsignedframework-res.apk
  10. rename back to framework-res.apk and adb push the file back to your phone.

And here are the values I use, taking some values from my Hero days
Code:
<integer-array name="config_autoBrightnessLcdBacklightValues"> <item>5</item> <item>25</item> <item>60</item> <item>125</item> <item>255</item> </integer-array>