Ver Mensaje Individual
  #76  
Viejo 05/06/12, 13:12:56
Array

[xs_avatar]
Hack3r Hack3r no está en línea
Usuario muy activo
 
Fecha de registro: mar 2010
Localización: Burgos
Mensajes: 1,360
Modelo de smartphone: Poco F7 Ultra
Tu operador: Lowi
Barra de notificaciones 50% transparente funcionando correctamente.

http://forum.xda-developers.com/atta...1&d=1338747714



Install:
Go to recovery and wipe cache and dalvik-cache
Install from recovery.


A ver si alguien la puede hacer al 100% siguiendo este tutorial bajo linux (yo lo he intentado y me da errores)

Código:
To do yourself

**** Make a backup first ****

Use ADB for pull and push SystemUI.apk

I use Linux , not Windows 


For Windows , try Wanam's ApkManager : http://forum.xda-developers.com/show...0&postcount=14
(Thanks Wanam)

For Linux 
first download apktool , aapt and sign tool : 
apktool + aapt for Linux : http://www.mediafire.com/?wg7cgaoerq4ab3n
sign tools for Linux : http://dl.dropbox.com/u/26340739/sig..._for_Linux.zip

alternative apktool : http://www.mediafire.com/?gs45ase17lb21ag

create a directory for example : works 
create a directory for signtools : signtools 
create a directory for apk signed : signed 

mkdir ~/works
mkdir ~/works/signtools 
mkdir ~/works/signed

put apktool.jar , aapt in this ~/works
put sign tools in  ~/works/signtools

change permission for aapt : 
cd ~/works
chmod 755 aapt
export PATH=$PATH:.

-1- get SystemUI.apk, framework-res.apk , twframework-res.apk from your phone : 
adb pull /system/app/SystemUI.apk ~/works/SystemUI.apk
adb pull /system/framework/framework-res.apk ~/works/framework-res.apk
adb pull /system/framework/twframework-res.apk ~/works/twframework-res.apk

-2- cd ~/works
-3- java -jar apktool.jar if framework-res.apk
-4- java -jar apktool.jar if twframework-res.apk
-5- Decompile your SystemUI.apk : java -jar apktool.jar d -f SystemUI.apk
-6- Navigate to your decompiled folder and go to ~/works/SystemUI/smali/com/android/systemui/statusbar/StatusBar.smali
-7-Search this line : 

 	Code:
 	invoke-direct/range {v11 .. v16}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V 
-8- Above this line, change :

 	Code:
 	const/16 v16, 0x4 
TO 


 	Code:
 	const/16 v16, -0x3 
-9- Save the file
-10- Navigate to your decompiled folder and go to ~/works/SystemUI/res/values/drawables.xml
-11- Search this line : 

 	Code:
 	<item type="drawable" name="status_bar_background">#ff000000</item> 
Change the value of status_bar_background
example for completely translucent or 50% translucent

Completely translucent

 	Code:
 	<item type="drawable" name="status_bar_background">#00FFFFFF</item> 
50% translucent

 	Code:
 	<item type="drawable" name="status_bar_background">#7f000000</item> 
-12- Save the file
-13- Recompile SystemUI.apk : java -jar apktool.jar b -f SystemUI signtools/SystemUI.apk
-14- cd ~/work/signtools
-15- sign the new apk : java -Xmx64m -jar signapk.jar -w testkey.x509.pem testkey.pk8 SystemUI.apk  ../signed/SystemUI.apk
-16- push the new SystemUI.apk to your phone

 	Code:
 	adb push ~/works/signed/SystemUI.apk /system/app/SystemUI.apk adb reboot 
-17- Enjoy