PDA

Ver la Versión Completa : [TUTORIAL] [Tutorial][JB]Descompilar y Compilar apk


lMelkorl
08/03/13, 20:15:56
Hace bastante tiempo que quería hacer este tutorial, pero por cosas de tiempo me ha sido imposible.
Lo primero, en este tutorial veremos como descompilar y volver a compilar un apk con apktool. Hay otros programas, pero yo usare este que me acomoda.
En este caso modificaremos el systemui de la rom JellyMOD (http://www.htcmania.com/showthread.php?t=554439)3.0 (http://www.htcmania.com/showthread.php?t=554439) (Gracias a martin_carpio) a la cual le modificaremos un xml y cambiaremos los iconos de batería.

Lo ideal antes de hacer cualquier cambio al terminal es crear un respaldo en caso de que algo salga mal.

por ultimo no me hago responsable por ningún daño que pudiera ocasionar este tutorial (aunque es improbable).

Programas necesarios:
-Apktool: Link (http://code.google.com/p/android-apktool/downloads/list)
-Java Runtime Environment (JRE)
-XML Copy Editor: Link (http://xml-copy-editor.sourceforge.net/)

Procedimientos:
Preparación
1- Bajaremos los archivos apktool1.5.2.tar.bz2 y apktool-install-windows-r05-ibot.tar.bz2, crearemos una carpeta en C: llamada apktool (puede ser cualquier ruta) y descomprimiremos ambos archivos ahíhttp://img189.imageshack.us/img189/658/descompilar1.jpg

2- Ahora extraeremos a la carpeta apktool los archivos framework-res.apk y twframework-res.apk de la rom(ruta JellyMOD 3.0.zip\system\framework\)
http://img401.imageshack.us/img401/8168/descompilar2.jpg

3- ahora pulsaremos shift + click derecho en algun lugar en blanco de la carpeta y elegiremos "Abrir ventana de comandos aquí" y agregaremos la informacion de los frameworks al programa escribiendo esto en la consola
apktool if framework-res.apk
apktool if twframework-res.apk
http://img547.imageshack.us/img547/2439/descompilar3.jpg
http://img824.imageshack.us/img824/509/descompilar4.jpg

Descompilando
1- Extraemos a la carpeta apktool el archivo que queremos modificar, en este caso SystemUI.apk (ruta JellyMOD 3.0.zip\system\app\), yo le cambie el nombre a sis.apk para que fuera mas corto. Abrimos la consola nuevamente y escribimos
apktool d sis.apk
Y el apk comenzará a descompilarse
http://img42.imageshack.us/img42/1677/descompilar5.jpg
http://img24.imageshack.us/img24/3248/descompilar6.jpg

Modificando
1- Una vez descompilado el apk, se creara una carpeta con el nombre del apk, en este caso se creo una carpeta sis, vamos a la ruta "apktool\sis\res\drawable" y abriremos con el XML Copy Editor el archivo stat_sys_battery.xml y veremos que solo muestra los iconos de bateria 0,15 , 28, 43, 57, 71, 85 y 100%, asi que lo modificaremos para que muestre todos los %, haremos lo mismo con el archivo stat_sys_battery_charge.xmlhttp://img96.imageshack.us/img96/5553/descompilar7.jpg
http://img694.imageshack.us/img694/6219/descompilar8.jpg

2- Ahora iremos a la carpeta "apktool\sis\res\drawable-hdpi" y pondremos otros iconos de bateria
http://img594.imageshack.us/img594/8137/descompilar9.jpg

Compilando
1- Ya que tenemos todo modificado procedemos a compilar.
Abrimos la consola y escribiremos
apktool b sis
y empezara a compilar la carpeta sis

2- Una vez terminado se creará una carpeta llamada build, dentro estará otra carpeta llamada apk, ("apktool\sis\build\apk").
Abriremos el archivo systemui original y extraeremos el archivo AndroidManifest.xml y la carpeta META-INF y la pondremos en "apktool\sis\build\apk" con esto nos aseguramos la firma de la apk.

http://img837.imageshack.us/img837/4044/descompilar10.jpg

3- Escribimos nuevamente

apktool b sisy se crea nuestra apk modificada en la carpeta apktool\sis\dist, volvemos a cambiarle el nombre al original y esta lista para ponerla en un zip flasheable o pasarlo manualmente con un gestor de archivos root y darle los permisos necesarioshttp://img5.imageshack.us/img5/6448/descompilar11.jpg
http://img819.imageshack.us/img819/1065/descompilar12.jpg

Resultado
Después de Flashear o pasar el SystemUI.apk veremos el cambio de que realizamos
Sin Modificar
http://img24.imageshack.us/img24/4394/screenshot2013030814134.png
Modificada
http://img822.imageshack.us/img822/4554/screenshot2013030814214.pnghttp://img20.imageshack.us/img20/2179/screenshot2013030814221.png


Tutorial basado casi por completo de Link (http://www.grupoandroid.com/topic/51286-creando-tu-propia-rom-%E2%80%93-motorola-atrix-%E2%80%93-2a-parte-edicion/)(gracias a Gustrick) y adaptado para el advance

lMelkorl
08/03/13, 20:16:55
Modificar SystemUI.apk

Cambiar el color del texto


res/layout :

1. tw_status bar.xml

Color del texto de la batería.

<TextView android:textSize="12.0dip" android:textColor="#XXXXXXXXX"

Color del texto del reloj.


<com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#XXXXXXXXX"
cambiar las XXXXXXXXX por el color elejido.

2. tw_status_bar_expanded_header.xml

Para el color del reloj de la barra de estado expandida
http://imageshack.us/a/img600/2865/clockdateheader.png

<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:textColor="#XXXXXXXXX"Para el color de la fecha.
"@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="#XXXXXXXXX" res/values :

1. colors.xml

Para el color del texto de Notificaciones de la status bar extendida.
<color name="notification_category_color">http://imageshack.us/a/img571/8352/notification.png

Para el color del texto del botón Borrar de la status bar extendida.

<color name="tw_status_bar_clear_btn_text">http://imageshack.us/a/img845/1723/clearbutton.png

2. styles.xml


<style name="TextAppearance.StatusBar.Expanded.Clock" parent="@style/TextAppearance.StatusBar.Expanded">
<item name="android:textSize">32.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ff33b5e5</item>
<item name="android:fontFamily">sans-serif-light</item>

<style name="TextAppearance.StatusBar.Expanded.Date" parent="@style/TextAppearance.StatusBar.Expanded">
<item name="android:textSize">12.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#FF9CE4FE</item>
<item name="android:textAllCaps">true</item>

<style name="TextAppearance.StatusBar.Expanded.Network" parent="@style/TextAppearance.StatusBar.Expanded">
<item name="android:textSize">14.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ff33b5e5</item>

http://imageshack.us/a/img600/2865/clockdateheader.png

Puedes cambiar el tamaño del texto, color, estilo(normal, negrita) en ese xml.


Como hacer el incremento de la batería cada 1%

res/drawable/

- editar el stat_sys_battery.xml y el stat_sys_battery_charge.xml para que quede así :
stat_sys_battery.xml

<?xml version="1.0" encoding="utf-8"?>
<level-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/stat_sys_battery_0" android:maxLevel="0" />
<item android:drawable="@drawable/stat_sys_battery_1" android:maxLevel="1" />
<item android:drawable="@drawable/stat_sys_battery_2" android:maxLevel="2" />
<item android:drawable="@drawable/stat_sys_battery_3" android:maxLevel="3" />
<item android:drawable="@drawable/stat_sys_battery_4" android:maxLevel="4" />
<item android:drawable="@drawable/stat_sys_battery_5" android:maxLevel="5" />
.
. Hasta
.

<item android:drawable="@drawable/stat_sys_battery_95" android:maxLevel="95" />
<item android:drawable="@drawable/stat_sys_battery_96" android:maxLevel="96" />
<item android:drawable="@drawable/stat_sys_battery_97" android:maxLevel="97" />
<item android:drawable="@drawable/stat_sys_battery_98" android:maxLevel="98" />
<item android:drawable="@drawable/stat_sys_battery_99" android:maxLevel="99" />
<item android:drawable="@drawable/stat_sys_battery_100" android:maxLevel="100" />
</level-list>
stat_sys_battery_charge.xml

<?xml version="1.0" encoding="utf-8"?>
<level-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:maxLevel="0">
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="1500" android:drawable="@drawable/stat_sys_battery_0" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim0" />
</animation-list>
</item>
<item android:maxLevel="1">
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="1500" android:drawable="@drawable/stat_sys_battery_1" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim1" />
</animation-list>
</item>
<item android:maxLevel="2">
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="1500" android:drawable="@drawable/stat_sys_battery_2" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim2" />
</animation-list>
.
.
. Hasta
.
.
<item android:maxLevel="100">
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="1500" android:drawable="@drawable/stat_sys_battery_100" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim100" />
</animation-list>
</item>
<item android:maxLevel="101">
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="1000" android:drawable="@drawable/stat_sys_battery_100" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_animfull" />
</animation-list>
</item>
</level-list>
luego poner los iconos de la bateria en res/drawable-hdpi


Como Animar la carga de la batería *Nuevo*

res/drawable/

-Reemplazar el stat_sys_battery_charge.xml por este http://d-h.st/BqA / mirror: MEGA (https://mega.co.nz/#!0BlVFKqZ!McLjGV8wvjqqjP58hwMTWyPs-XN79MOk25BfhanyWDM)



Como Centrar el Reloj

http://imageshack.us/a/img545/8724/greencenter.jpg

res/layout

tw_status_bar.xml

<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBa rView android:orientation="vertical" android:id="@id/status_bar" android:background="@drawable/status_bar_background" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<ImageView android:id="@id/notification_lights_out" android:paddingLeft="6.0dip" android:paddingBottom="2.0dip" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lights_out_dot_small" android:scaleType="center" />
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:id="@id/left_icons" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<TextView android:textSize="15.0dip" android:gravity="center_vertical" android:id="@id/carrierLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<ImageView android:id="@id/doNotDisturbIcon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/tw_dnd" android:alpha="0.7" android:scaleX="0.85" android:scaleY="0.85" />
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
</LinearLayout>
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ff99FF00" android:gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:gravity="right|center" android:orientation="horizontal" android:id="@id/right_icons" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentRight="true">
<LinearLayout android:gravity="right|center" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:gravity="right|center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="0.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/tw_signal_cluster_view" />
<TextView android:textSize="9.0dip" android:textColor="#ff99FF00" android:layout_gravity="center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_network_name_separator" />
<ImageView android:gravity="center" android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="centerInside" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="centerInside" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:id="@id/ticker_text_view_old" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:id="@id/ticker_text_view_new" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.phone.TickerView>
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBa rView>Editar el xml para que quede así



Como reordenar los toogle:

Antes
http://imageshack.us/a/img89/3126/togglenotmove.png
res/values
arrays.xml

<string-array name="QuickSettingButtonAttribute">
<item>Wifi</item>
<item><string-array name="QuickSettingButtonAttribute">
<item>Wifi</item>
<item>Location</item>
<item>SilentMode</item>
<item>AutoRotate</item>
<item>Bluetooth</item>
<item>MobileData</item>
<item>DormantMode</item>
<item>PowerSaving</item>
<item>AllShareCast</item>
<item>MultiWindow</item>
<item>Sync</item>
</string-array>
simplemente cambia la posicion en que deseas que este cada cosa. por ejemplo cambiar el GPS a otro lado


<string-array name="QuickSettingButtonAttribute">
<item>Wifi</item>
<item>SilentMode</item>
<item>AutoRotate</item>
<item>Bluetooth</item>
<item>MobileData</item>
<item>DormantMode</item>
<item>PowerSaving</item>
<item>AllShareCast</item>
<item>MultiWindow</item>
<item>Location</item>
<item>Sync</item>
</string-array>

Despues:
http://imageshack.us/a/img12/8494/togglemoved.png


Como remover la barra de brillo

http://imageshack.us/a/img43/6157/brightnessbar.png

res/layouts
tw_status_bar_expanded.xml

buscar :

<LinearLayout android:orientation="vertical" android:id="@id/brightness_controller" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="56.0dip">
reemplazar
android:layout_height="56.0dip"por
android:layout_height="0.0dip"

Como usar nuestro propio fondo en la status bar

http://imageshack.us/a/img585/4709/screenshot2013022221334.png

res/drawable-hdpi
esta es la manera fácil.
reemplazar el notification_panel_bg.9.png con cualquier imagen con una resolución de 480x800


pero antes de hacerlo no olviden hacer todos los botones transparentes.



Hacer los botones y notificaciones transparentes

res/layouts
tw_status_bar_expanded.xml

buscar :
android:background="#XXXXXXXXX"en el xml cambiar "#XXXXXXXXX" por "#00000000".


cambiar ff a (00 -> 100% transparente, 3f -> 75% transparente, 7f -> 50% transparente, bf -> 25% transparente)
los otros valores (1e1e1e) es RBG para el color gris, si lo quieres negro sera (000000).
So:
#00000000 - negro con 100% transparente
#3F000000 - negro con 75% transparente
#7F000000 - negro con 50% transparente
#BF000000 - negro con 25% transparente

esto fue postedo en http://forum.xda-developers.com/showthread.php?t=2078585 por majdinj
luego ir a SystemUI\smali\com\android\systemui\statusbar\phon e

PhoneStatusBar.smali

- buscar -0x100 (abrá solo dos en este smali)
- cambiar ambos a 0x0 (0=cero)
- guardar
(esto hará las notificaciones transparente).


Como hacer el fondo transparente

http://img823.imageshack.us/img823/7360/transq.jpg

res/layout
tw_status_bar_expanded.xml

buscar:
android:id="@id/notification_panel" android:background="@drawable/notification_panel_bg"cambiar "@drawable/notification_panel_bg" a "#00000000" o el rango de transparencia que se prefiera.



Como remover el texto y el toggles status

res/layout
tw_quick_setting_button.xml

buscar:

<ImageView android:layout_gravity="center" android:id="@id/btn_image" android:layout_width="fill_parent" android:layout_height="60.0dip" android:layout_marginTop="4.0dip" />
1. cambiar el android:layout_height="60.0dip" a android:layout_height="90.0dip".
2. cambiar el android:layout_marginTop="4.0dip" a android:layout_marginTop="0.0dip"

luego en el mismo xml.
buscar:
<TextView android:textSize="@dimen/quick_setting_button_text_size" en la misma linea veras android:textColor="blablabla", cambialo a android:textColor="#00000000".
y android:layout_height="blabla.bladip" a android:layout_height="0.0dip"

también en el mismo xml.
buscar:


<ImageView android:layout_gravity="center" android:id="@id/btn_status_image"
cambiar todo el relleno a esto:


<ImageView android:layout_gravity="center" android:id="@id/btn_status_image" android:paddingLeft="0.0dip" android:paddingTop="0.0dip" android:paddingRight="0.0dip" android:paddingBottom="0.0dip" android:layout_width="fill_parent" android:layout_height="0.0dip" android:scaleType="fitXY" android:drawable="@drawable/tw_quick_panel_off" />
todos estos pasos aumentaran el tamaño de los toggle, removeran el texto y los status de los toggles.

Luego ir a :

res/values
dimens.xml

buscar:
<dimen name="quick_setting_button_habran 7 lineas en este xml.
cambiarlos a esto:

<dimen name="quick_setting_button_height">90.0dip</dimen>
<dimen name="quick_setting_button_image_height">90.0dip</dimen>
<dimen name="quick_setting_button_text_height">0.0dip</dimen>
<dimen name="quick_setting_button_text_size">0.0dip</dimen>
<dimen name="quick_setting_button_status_height">0.0dip</dimen>
<dimen name="quick_setting_button_status_padding">2.0dip</dimen>
<dimen name="quick_setting_button_margin_top">0.0dip</dimen>
proximo paso:
- crear tu propio toggle con una resolucion de 80x100 ó 90x110 ó 90x150.

pasos finales:

res/layout
tw_status_bar_expanded.xml

buscar:
<com.android.systemui.statusbar.policy.quicksetting .QuickSettingPanel android:orientation="horizontal" android:id="@id/quicksetting_container" android:layout_width="wrap_content" android:layout_height="wrap_content"- en esa linea veras android:divider="@bla/blablabla" cambialo a android:divider="#00000000".
(eso removera la división de los toggles)

en el mismo xml, buscar:

<HorizontalScrollView android:id="@id/quicksetting_scroller" android:scrollbars="none" android:layout_width="wrap_content"cambiar android:layout_height= a android:layout_height="90.0dip".

listo, se vera asi
http://imageshack.us/a/img707/6213/blablablaho.png



Tabla de Colores *Nuevo*

Al modificar los colores nos encontramos que tienen este formato FFxxxxxx.
las FF corresponden a la transparencia

FF ->Sin Transparencias
00 -> 100% transparente
3F -> 75% transparente
7F -> 50% transparente
BF -> 25% transparente

y los 6 siguientes números y letras corresponden a colores hexadecimales

http://www.goer.org/images/html/stdcolors.png


hay una pagina con la la lista completa para elegir Color Codes Chart (http://www.rapidtables.com/web/color/RGB_Color.htm)



9-Patch *Nuevo*

http://gliffer.ru/upload/content/098d0148ed5d14a064025cb9762f9ee9.png

Seguramente todos hemos visto este tipo de archivos .9.png y más de alguno se preguntara para que sirve o para que son las lineas de los costados. Acá daré solo una leve idea y les dejare unos link donde se abordan en mas profundidad.

la particularidad de estas imágenes es que son escalables por lo que pueden crecer en medida que se necesiten.

http://radleymarx.com/blog/wp-content/uploads/2011/05/9-patch-guides.png

-las barra de la izquierda y la superior nos dirá lo que se puede expandir de la imagen.
-las barra de la derecha y la inferior nos indicara el relleno que tendra la imagen

Puede sonar complicado pero es mas claro con un par de ejemplos:

http://img547.imageshack.us/img547/4613/exli.jpg http://img841.imageshack.us/img841/835/8q4m.jpg

como vemos en la primera imagen las lineas de relleno van a lo largo de la imagen y las lineas escalables solo tocan en punto morado.
En cambio la segunda imagen la linea de relleno inferior solo tiene esta al centro por lo que solo rellenará ese trozo.

Un ejemplo de uso correcto e incorrecto.

http://img35.imageshack.us/img35/9205/3wq5.jpg
http://img203.imageshack.us/img203/4698/s0zy.jpg

Links:
-HTCMANIA (http://www.htcmania.com/showpost.php?p=3491121&postcount=24) Guía muy completa de criskelo
-Diapositivas (http://forum.xda-developers.com/showthread.php?t=1192207). Presentación en PP de donde saque algunas imágenes, gracias a explodingboy70
-Si lo que deseas es modificar alguna ya creada, te recomiendo que leas la parte 12. HINT HOW TO EDIT IMAGE WITHOUT GETTING ERROR! de este link (http://forum.xda-developers.com/showthread.php?t=2203166). Gracias a joehanh88

traducido de http://forum.xda-developers.com/showthread.php?t=2203166, Todos los créditos a joehanh88 por crearlo y recopilar la info

lMelkorl
08/03/13, 20:17:25
Si encuentran algún error en el tutorial, tienen un metodo diferente de hacerlo o tienen una lista de que hace cada xml por favor postearlo, esta comunidad la creamos todos y cada granito de arena sirve.

lMelkorl
08/03/13, 20:18:05
Reservado

xessus
08/03/13, 20:32:31
:D gracias por el tutorial

rudechild
11/03/13, 21:08:02
muy buen tuto merkol ,gracias

Javho
11/03/13, 22:33:51
no hay que añadir la carpeta Meta-INF dentro del apk que se crea ?

lMelkorl
12/03/13, 01:33:46
no hay que añadir la carpeta Meta-INF dentro del apk que se crea ?

al ingresar apktool b nombre_carpeta se crea una carpeta build entonces agregamos el AndroidManifest.xml y la carpeta META-INF en apktool\sis\build\apk y volvemos a escribir apktool b nombre_carpeta
y queda listo el apk

Saludos!

Javho
12/03/13, 02:24:58
al ingresar apktool b nombre_carpeta se crea una carpeta build entonces agregamos el AndroidManifest.xml y la carpeta META-INF en apktool\sis\build\apk y volvemos a escribir apktool b nombre_carpeta
y queda listo el apk

Saludos!

sisisii despues leí tu tutorial con mas calma y lo hice para poder activar el ripple effect en un mod que estoy haciendo quedo fantastico :D, gracias por tu ayuda

Elturko24
20/03/13, 04:57:19
buenas una consulta de novato , al escribir el codigo del framework en la ventana de comando me sale un mensaje de q java no se reconoce como comando esterno o interno, programa o archivo por lotes ejecutable


a q se debe ..................

hairam
21/03/13, 12:06:19
Tengo una duda, funciona en Windows 8 ?¿?¿

Gracias por vuestro trabajo

warikobio
25/03/13, 18:47:46
buenas una consulta de novato , al escribir el codigo del framework en la ventana de comando me sale un mensaje de q java no se reconoce como comando esterno o interno, programa o archivo por lotes ejecutable


a q se debe ..................
__________________

me uno a la pregunta y añado que el java lo tengo instalado y me ocurre lo mismo (por si alguien que quiera ayudar pudiera pensar que no lo tenemos instaldo)

EDITO: solucionado siguiendo el siguiente tutorial http://www.vicolinker.net/solucion-java-no-se-reconoce-como-un-comando-interno-o-externo-programa-o-archivo-por-lotes-ejecutable/

xDroidPerfect
25/03/13, 22:23:53
Pequeña Solución de java http://www.br-nuestromovilandroid.com/showthread.php?tid=160 :-)

as_de_picas
26/03/13, 00:33:09
Hola chicos gracias por este post uno puede aprender mucho...
Pues bien... Me e decidido a descompilar algunas apks y bueno eso creo lo llevo bien pero tengo una duda al descompilar la apk systemui.apk por ejemplo luego utilizo el notepad++ pero al abrir el archivo xml no me sale como a vosotros me salen como cuadrados negros o así vanos ilegible...

que hay que hacer para poder ver el xml con el notepad++ y se vea cono a vosotros??
Hay que configurar algo en el notepap++???
Gracias

xDroidPerfect
26/03/13, 04:55:47
Hola chicos gracias por este post uno puede aprender mucho...
Pues bien... Me e decidido a descompilar algunas apks y bueno eso creo lo llevo bien pero tengo una duda al descompilar la apk systemui.apk por ejemplo luego utilizo el notepad++ pero al abrir el archivo xml no me sale como a vosotros me salen como cuadrados negros o así vanos ilegible...

que hay que hacer para poder ver el xml con el notepad++ y se vea cono a vosotros??
Hay que configurar algo en el notepap++???
Gracias


Esta mal descompilado systemui.apk

as_de_picas
26/03/13, 08:32:47
Esta mal descompilado systemui.apk

A que te refieres mal descompilado??
lo ago con apk manager de klander pero no sólo los que descompilo cualquier archivo xml que intentó abrir se ve asi

Y cuál sería la solución??

warikobio
26/03/13, 09:27:47
A que te refieres mal descompilado??
lo ago con apk manager de klander pero no sólo los que descompilo cualquier archivo xml que intentó abrir se ve asi

Y cuál sería la solución??

El compañero tiene razón nose como lo estas haciendo pero no lo estas descompilando sino que lo estas descomprimiendo por eso no puedes ver los xml y si no me equivoco tampoco podrás ver las carpetas de los values. Prueba a usar el apktool que va muy bien y sino mira te bien como lo estas haciendo con el apk manager que seguro que hay una opción para que decompile bien

as_de_picas
26/03/13, 11:45:34
El compañero tiene razón nose como lo estas haciendo pero no lo estas descompilando sino que lo estas descomprimiendo por eso no puedes ver los xml y si no me equivoco tampoco podrás ver las carpetas de los values. Prueba a usar el apktool que va muy bien y sino mira te bien como lo estas haciendo con el apk manager que seguro que hay una opción para que decompile bien

Probare con el apktool pero creo lo descompilaba bien ya que me salen todos los archivos y carpetas y al volver a compilarlo puedo instalar bien y sin problemas....
Con el de klander pues primero lo meto en la carpeta correspondiente con la opción 22 elijo la apk que quiero descompilar y le doy a la opción1 que es para descompilarla y entro en la carpera project que es donde están las carpetas despues de descompilar la apk y debajo el archivo xml pero al abrirlo sale así.... ilegible con el notepad++

No lo entiendo que se supone ago mal???

Donde puedo conseguir el apktool??
Éste puente probare con ello pero no se donde tengo el fallo

warikobio
26/03/13, 18:27:01
Probare con el apktool pero creo lo descompilaba bien ya que me salen todos los archivos y carpetas y al volver a compilarlo puedo instalar bien y sin problemas....
Con el de klander pues primero lo meto en la carpeta correspondiente con la opción 22 elijo la apk que quiero descompilar y le doy a la opción1 que es para descompilarla y entro en la carpera project que es donde están las carpetas despues de descompilar la apk y debajo el archivo xml pero al abrirlo sale así.... ilegible con el notepad++

No lo entiendo que se supone ago mal???

Donde puedo conseguir el apktool??
Éste puente probare con ello pero no se donde tengo el fallo

Es que yo creo que el fallo igual no es tuyo ( a no ser que la opción que estés pulsando sea extraer apk y no decompile apk) el fallo seria entonces del programa x eso te digo lo de apktool, lo puedes encontrar aquí code.google.com/p/android-apktool/

as_de_picas
26/03/13, 23:02:23
Es que yo creo que el fallo igual no es tuyo ( a no ser que la opción que estés pulsando sea extraer apk y no decompile apk) el fallo seria entonces del programa x eso te digo lo de apktool, lo puedes encontrar aquí code.google.com/p/android-apktool/

Ok a ver si mañana después de currar tengo torno y lo miro pero intentó abrir cualquier archivo xml no ya de la rom si no del pc y me sale igual

Muchas gracias os ire informando y perdonar por tanta barrila que doy y dare eeee jajaja:D:D:D:D:D:D

lMelkorl
27/03/13, 23:53:22
Agregada mas info, Saludos!

xDroidPerfect
28/03/13, 21:25:17
Gracias

No Compila el MusicPlayer :cry:

Datico
28/03/13, 23:46:04
Yo hago todo como esta en el tuto y no me sirve, quiero cambiar los iconos de la bateria, hago todo como dice aca pero si hago un archico flasheable despues de instalarlo el celular no pasa de donde dice gt 9070 y si lo agrego directamente a la rom y la instalo de nuevo no pasa del bootanimation

as_de_picas
29/03/13, 00:55:14
buenas chicos pues os cuento

He conseguido hacerlo todo bien ya por fin jejej

pero tengo una duda que código de oclores debo usar ya que en archivo XML me salen de 8 cifras y loque crei se ponía el exadecimal son 6 entonces que debo hacer poner solo 6????

Gracias

rudechild
07/04/13, 22:16:55
haber si me podeis ayudar ,descompilo systemui.apk y todo bien,pero le doy compilar ,sin modificar nada ,y me sale esto


272576

habro el build y solo hay un archivo classes.dex saludos.

chucky6600
09/04/13, 20:41:51
Parece como que fuera error en java.. Instala la última versión.. No se cual es ya que uso Ubuntu

Pollos
12/04/13, 20:53:02
Eso ami me pasa cuando cambio todos los colores de colors.xml

Pollos
12/04/13, 20:54:57
Tengo un problema con mi app-mod, cambie el fondo a negro en las apps del sistema pero como las letras eran también negras no se ven, he visto que tengo que modificar el colors.xml pero no se que linea exactamente si alguien me puede ayudar...

rudechild
17/04/13, 18:36:19
dejo un enlace a una aplicacion para compilar y descompilar en un click

aqui esta el post : http://forum.xda-developers.com/showthread.php?t=1978776
y aqui el link de la apilcacion: http://forum.xda-developers.com/attachment.php?attachmentid=1548375&d=1355023729 (http://forum.xda-developers.com/attachment.php?attachmentid=1548375&d=1355023729)

278306

ahora haber si alguien sabe porque cuando edito un xml con el xml copy editor ,en cuanto toco un numero solo, en la pestaña donde esta el nombre del xml sale un ascerisco y cuando le doy a guardar pone esto

No se puede guardar documento en utf-8: Error at line 1, column 1: Start tag expected, '<' not found (guardado con encoding por defecto UTF-8) y ya no me compila.

pesp2020
09/05/13, 17:48:49
Hola que tal
Disculpa ayuda porfa, primero que nada gracias
por tu tutorial para compilar y descompilar,

He seguido el tuto sin problemas
sobre la parte de Como remover el texto y el toggles status

ya pase el apk con el root explorer con sus debidos permisos
xx
x
x

he reiniciado pero ha desaparecido mi barra de notificaciones
se supone que deberia de aparecer aun el reloj no?

ayuda porfa, todo el tuto sobre este asunto fue claro, las lineas todo encontre y reemplace no se que puede ser saludos y gracias de antemano.:ok:

pesp2020
09/05/13, 17:54:28
Aunque la verdad si tuve duda en este paso al momento de compilar

2- Una vez terminado se creará una carpeta llamada build, dentro estará otra carpeta llamada apk, ("apktool\sis\build\apk").
Abriremos el archivo systemui original y extraeremos el archivo AndroidManifest.xml y la carpeta META-INF y la pondremos en "apktool\sis\build\apk" con esto nos aseguramos la firma de la apk.


Como no supe como lo que hice fue el SystemUi.apk le cambie la extensión a SystemUi.rar
y lo extraje y de ahi copie el AndroidManifest.xml y la carpeta META-INF
no se si eso haga perjudicado o bien si me puedes indicar como extraer esos archivos como debería de ser.

Saludos y gracias nuevamente.

CrashOverride93
17/05/13, 20:05:09
Éste método sirve para el Samsung Galaxy S3 mini?, es que un usuario me facilitó este enlace para que pueda agregar la totalidad de los iconos restantes y pues no sé si podré aplicarlo a mi terminal, por pertencer a otro dispositivo.

Gracias

chucky6600
17/05/13, 20:49:46
Éste método sirve para el Samsung Galaxy S3 mini?, es que un usuario me facilitó este enlace para que pueda agregar la totalidad de los iconos restantes y pues no sé si podré aplicarlo a mi terminal, por pertencer a otro dispositivo.

Gracias

Si.. Pero debes de ser root

pesp2020
17/05/13, 21:05:44
:eek: .......

CrashOverride93
18/05/13, 14:41:14
No hay problema, lo soy (si ves la ROM que tengo en mi perfil, lo sabrás).
Además el autor de dicha ROM sacó hace pocos días una actualización (parche v3.4) de la ROM original v3.0 y pues en ella viene modifica los iconos de la bateria, por lo que voy a modifcar dicho parche con lo de la bateria, por lo que con solo instalar el parche pues me instale todo lo que yo quiero.

Si.. Pero debes de ser root

CrashOverride93
18/05/13, 14:49:24
Quería exponer una duda acerca de la modificación del archivo de bateria "stat_sys_battery_changer.xml".

Resulta que en el tuto que hay un poco mas abajo del principal del post, nos muestra como débe quedar en código:

http://www.imagensn.com/images/2013/05/18/rwitgarse.png

Pues bien, cuando voy a modificar el mío, resulta que el código y distribución del mismo es igual al del archivo de estado de batería antes de carga. Para que nos entendamos, aquí os dejo otras capturas del formato de código que veo en los achivos a modificar del estado de la bateria:

http://www.imagensn.com/images/2013/05/18/oerur6uj.png

http://www.imagensn.com/images/2013/05/18/e59yi5ur4.png


A ver que me dicen...

CrashOverride93
18/05/13, 16:50:16
Intento guardar el documento editado y me sale el siguiente mensaje:
No se puede guardar el documento en utf-8: Error at line 1, column 1: Start tag expected, '<' not found (guardado con encoding por defecto UTF-8)

Pero si voy a la carpeta de los 2 archivos, resulta que se guardaron con la modificación..., encima pesan 8Kb más, por lo que se guardó. Podré volver a compilar nuevamente sin problemas?

CrashOverride93
18/05/13, 17:57:51
Vale ya he conseguido acabar el trabajo, ahora desearía pasarlo al terminal para instalarlo.
Como hago?

Bastaría con solo sustituir el SystemUI original de la ROM (zip), por el modificado?
Y flashar el mismo ZIP (ROM), pero con el SystemUI dentro modificado??????

CrashOverride93
18/05/13, 18:18:28
CONSEGUIDO!!!!
He logrado re-flahear la actualización de mi ROM con el apk de SystemUI modificado dentro del zip del Parche de la ROM y ya tengo el icono de la bateria en la barra de notificaciones mostrandome la bateria cada 1%...

Muchas gracias por el tuto!!!!!!!!!!!!!!!

rudechild
18/05/13, 18:51:39
cuentanos como lo solucionaste

CrashOverride93
20/05/13, 21:00:27
Nada seguí los pasos exactos del tuto y dejé de lado el error que muestra el editor de xml ya que si ves el archivo guardado se guardo sin problemas.
Y luego volví a compilar para volver a reunir todo y listo.

cuentanos como lo solucionaste

xessus
23/05/13, 02:33:17
gracias por la actualizacion!!! :ok:

Javho
27/05/13, 03:51:47
amigo cual era el link al post que tenias antes en xda ? antes de la actualizacion ...

lMelkorl
27/05/13, 04:57:04
amigo cual era el link al post que tenias antes en xda ? antes de la actualizacion ...

el link aun esta ahí, http://forum.xda-developers.com/showthread.php?t=2203166

Saludos!

Javho
27/05/13, 05:03:10
el link aun esta ahí, http://forum.xda-developers.com/showthread.php?t=2203166

Saludos!

ese no es el link al que me refiero me refiero a otro que me mandaba al foro del galaxy s2 o del galaxy s3, el cual cada usuario iba posteando algo que se podia modificar del systemui ...

lMelkorl
27/05/13, 08:25:57
ese no es el link al que me refiero me refiero a otro que me mandaba al foro del galaxy s2 o del galaxy s3, el cual cada usuario iba posteando algo que se podia modificar del systemui ...

sera este? http://www.htcmania.com/showthread.php?t=455888

Saludos!

Javho
27/05/13, 12:59:25
sera este? http://www.htcmania.com/showthread.php?t=455888

Saludos!

Sí sisisi ese mismo gracias :D

Javho
27/05/13, 20:24:44
Les traigo otro metodo de quitar la barra de brillo a mi parecer mas fácil y rápido que la que comenta melkor en el tuto

primero que nada descompilamos el systemui.apk

después vamos a la siguiente ruta ==> /res/values/bools.xml

Abrimos el archivo bools.xml con el notepad+++ u otro programa que nos permita editar los xml, y vamos a la siguiente linea:

<bool name="config_useBrightController">true</bool>

Cambiamos el valor de "true" por el "false" quedando de la siguiente manera:

<bool name="config_useBrightController">false</bool>

Quite la barra de brillo de las dos maneras la que les comento y la que comento melkor en el tuto y ambos métodos funcionan a la perfección usen el que mas les acomode ;)

bbeesstt
28/05/13, 00:58:34
hola q tal
tengo unas pregunticas
la primera, este procedimiento es valido para cualquier apk o exclusivo para la del tuto? por veo q los q comentan solo lo hacen con la misma apk del tuto.
tambien quiero saber como extraer la carpeta META-INF
Otra pregunta, cuando ya esta lista, se puede pasar al cel como una apk normal, es decir colocarla a la memoria del cel e instalarla normal (en el caso de q se pueda para cualquier apk)

espero haber sido explicito, y ojala puedan responder gracias de antemano!

FirsTcase
29/05/13, 00:57:04
Hola, emm.. tengo un problema al compilar (creo xD)
me sale algo como esto...
28/05/2013
17:49:40.25
Re-compiling...

I: Smaling...
I: Building resources...
aapt: warning: string 'abbrev_wday_abbrev_month_day_no_year' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'abbrev_wday_day_abbrev_month_no_year' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'abbrev_wday_month_day_no_year' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'abbrev_wday_month_day_year' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'am' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_long_friday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_long_monday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_long_saturday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_long_sunday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_long_thursday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_long_tuesday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_long_wednesday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_friday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_monday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_saturday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_sunday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_thursday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_tuesday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_wednesday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_short_friday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_short_monday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_short_saturday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_short_sunday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_short_thursday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_short_tuesday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_short_wednesday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_friday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_monday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_saturday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_sunday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_thursday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_tuesday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_wednesday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'full_wday_month_day_no_year' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_long_april' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_long_august' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_long_december' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_long_february' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_long_january' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_long_july' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_long_june' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_long_march' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_long_may' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_long_november' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_long_october' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_long_september' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_long_standalone_april' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_long_standalone_august' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_long_standalone_december' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_long_standalone_february' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_long_standalone_january' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_long_standalone_july' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_long_standalone_june' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_long_standalone_march' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_long_standalone_may' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_long_standalone_november' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_long_standalone_october' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_long_standalone_september' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_medium_april' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_medium_august' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_medium_december' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_medium_february' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_medium_january' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_medium_july' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_medium_june' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_medium_march' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_medium_may' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_medium_november' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_medium_october' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_medium_september' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_shortest_april' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_shortest_august' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_shortest_december' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_shortest_february' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_shortest_january' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_shortest_july' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_shortest_june' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_shortest_march' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_shortest_may' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_shortest_november' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_shortest_october' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'month_shortest_september' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'pm' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'quickpanel_data_roaming_disable_toast' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: ar az bg ca cs da de el en_PH en_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
aapt: warning: string 'quickpanel_data_roaming_enable_toast' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: ar az bg ca cs da de el en_PH en_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
aapt: warning: string 'today' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'tomorrow' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'twelve_hour_time_format' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
aapt: warning: string 'yesterday' has no default translation in C:\Users\FirsTcase\APK GUI\InProgress\SystemUI - copia.apk\res; found: mk
I: Building apk file...


Alguien sabe que es? :oh: y como lo lo arreglo?! :cry:

valdesga
06/06/13, 18:16:17
A mi me sale algo parecido a lo que le sale a FirsTcase. ¿Alguna solución?

spaamnk
08/06/13, 15:59:16
No consigo compilar el SystemUI.apk despues de descompilarse correctamente cuando intento volverlo a compilar, sin cambios, sólo por probar si funciona. Pero no hay manera. Esto es lo que sale.

I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...

C:\apktool>apktool b SystemUI
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\apktool\SystemUI\res\layout\system_bar_notifica tion_panel_title.xml:14: error
: Error: No resource found that matches the given name (at 'style' with value '@
style/SystemBarNotificationText').
C:\apktool\SystemUI\res\layout\system_bar_notifica tion_panel_title.xml:19: error
: Error: No resource found that matches the given name (at 'style' with value '@
style/SystemBarNotificationText').
C:\apktool\SystemUI\res\layout\system_bar_notifica tion_panel_title.xml:21: error
: Error: No resource found that matches the given name (at 'style' with value '@
style/SystemBarNotificationText').
C:\apktool\SystemUI\res\layout\system_bar_settings _view.xml:5: error: Error: No
resource found that matches the given name (at 'style' with value '@style/System
BarPanelSettingsRow').
C:\apktool\SystemUI\res\layout\system_bar_settings _view.xml:6: error: Error: No
resource found that matches the given name (at 'style' with value '@style/System
BarPanelSettingsIcon').
C:\apktool\SystemUI\res\layout\system_bar_settings _view.xml:7: error: Error: No
resource found that matches the given name (at 'style' with value '@style/System
BarPanelSettingsContents').
C:\apktool\SystemUI\res\layout\system_bar_settings _view.xml:10: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsPanelSeparator').
C:\apktool\SystemUI\res\layout\system_bar_settings _view.xml:11: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsRow').
C:\apktool\SystemUI\res\layout\system_bar_settings _view.xml:12: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsIcon').
C:\apktool\SystemUI\res\layout\system_bar_settings _view.xml:13: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsContents').
C:\apktool\SystemUI\res\layout\system_bar_settings _view.xml:15: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsPanelSeparator').
C:\apktool\SystemUI\res\layout\system_bar_settings _view.xml:16: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsRow').
C:\apktool\SystemUI\res\layout\system_bar_settings _view.xml:17: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsIcon').
C:\apktool\SystemUI\res\layout\system_bar_settings _view.xml:18: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsContents').
C:\apktool\SystemUI\res\layout\system_bar_settings _view.xml:21: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsPanelSeparator').
C:\apktool\SystemUI\res\layout\system_bar_settings _view.xml:22: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsRow').
C:\apktool\SystemUI\res\layout\system_bar_settings _view.xml:23: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsIcon').
C:\apktool\SystemUI\res\layout\system_bar_settings _view.xml:26: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsPanelSeparator').
C:\apktool\SystemUI\res\layout\system_bar_settings _view.xml:27: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsRow').
C:\apktool\SystemUI\res\layout\system_bar_settings _view.xml:28: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsIcon').
C:\apktool\SystemUI\res\layout\system_bar_settings _view.xml:29: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsContents').
C:\apktool\SystemUI\res\layout\system_bar_settings _view.xml:32: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsPanelSeparator').
C:\apktool\SystemUI\res\layout\system_bar_settings _view.xml:33: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsRow').
C:\apktool\SystemUI\res\layout\system_bar_settings _view.xml:34: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsIcon').
C:\apktool\SystemUI\res\layout\system_bar_settings _view.xml:35: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsContents').
C:\apktool\SystemUI\res\layout\system_bar_settings _view.xml:37: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsPanelSeparator').
aapt: warning: string 'abbrev_wday_abbrev_month_day_no_year' has no default tran
slation in C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'abbrev_wday_day_abbrev_month_no_year' has no default tran
slation in C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'abbrev_wday_month_day_year' has no default translation in
C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'am' has no default translation in C:\apktool\SystemUI\res
; found: mk
aapt: warning: string 'day_of_week_long_friday' has no default translation in C:
\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_monday' has no default translation in C:
\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_saturday' has no default translation in
C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_sunday' has no default translation in C:
\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_thursday' has no default translation in
C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_tuesday' has no default translation in C
:\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_wednesday' has no default translation in
C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_friday' has no default translation in
C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_monday' has no default translation in
C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_saturday' has no default translation i
n C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_sunday' has no default translation in
C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_thursday' has no default translation i
n C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_tuesday' has no default translation in
C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_wednesday' has no default translation
in C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_friday' has no default translation in C
:\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_monday' has no default translation in C
:\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_saturday' has no default translation in
C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_sunday' has no default translation in C
:\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_thursday' has no default translation in
C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_tuesday' has no default translation in
C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_wednesday' has no default translation i
n C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_friday' has no default translation i
n C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_monday' has no default translation i
n C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_saturday' has no default translation
in C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_sunday' has no default translation i
n C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_thursday' has no default translation
in C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_tuesday' has no default translation
in C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_wednesday' has no default translatio
n in C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'full_wday_month_day_no_year' has no default translation i
n C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_april' has no default translation in C:\apktoo
l\SystemUI\res; found: mk
aapt: warning: string 'month_long_august' has no default translation in C:\apkto
ol\SystemUI\res; found: mk
aapt: warning: string 'month_long_december' has no default translation in C:\apk
tool\SystemUI\res; found: mk
aapt: warning: string 'month_long_february' has no default translation in C:\apk
tool\SystemUI\res; found: mk
aapt: warning: string 'month_long_january' has no default translation in C:\apkt
ool\SystemUI\res; found: mk
aapt: warning: string 'month_long_july' has no default translation in C:\apktool
\SystemUI\res; found: mk
aapt: warning: string 'month_long_june' has no default translation in C:\apktool
\SystemUI\res; found: mk
aapt: warning: string 'month_long_march' has no default translation in C:\apktoo
l\SystemUI\res; found: mk
aapt: warning: string 'month_long_may' has no default translation in C:\apktool\
SystemUI\res; found: mk
aapt: warning: string 'month_long_november' has no default translation in C:\apk
tool\SystemUI\res; found: mk
aapt: warning: string 'month_long_october' has no default translation in C:\apkt
ool\SystemUI\res; found: mk
aapt: warning: string 'month_long_september' has no default translation in C:\ap
ktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_april' has no default translation i
n C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_august' has no default translation
in C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_december' has no default translatio
n in C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_february' has no default translatio
n in C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_january' has no default translation
in C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_july' has no default translation in
C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_june' has no default translation in
C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_march' has no default translation i
n C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_may' has no default translation in
C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_november' has no default translatio
n in C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_october' has no default translation
in C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_september' has no default translati
on in C:\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_april' has no default translation in C:\apkt
ool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_august' has no default translation in C:\apk
tool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_december' has no default translation in C:\a
pktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_february' has no default translation in C:\a
pktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_january' has no default translation in C:\ap
ktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_july' has no default translation in C:\apkto
ol\SystemUI\res; found: mk
aapt: warning: string 'month_medium_june' has no default translation in C:\apkto
ol\SystemUI\res; found: mk
aapt: warning: string 'month_medium_march' has no default translation in C:\apkt
ool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_may' has no default translation in C:\apktoo
l\SystemUI\res; found: mk
aapt: warning: string 'month_medium_november' has no default translation in C:\a
pktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_october' has no default translation in C:\ap
ktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_september' has no default translation in C:\
apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_april' has no default translation in C:\ap
ktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_august' has no default translation in C:\a
pktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_december' has no default translation in C:
\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_february' has no default translation in C:
\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_january' has no default translation in C:\
apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_july' has no default translation in C:\apk
tool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_june' has no default translation in C:\apk
tool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_march' has no default translation in C:\ap
ktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_may' has no default translation in C:\apkt
ool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_november' has no default translation in C:
\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_october' has no default translation in C:\
apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_september' has no default translation in C
:\apktool\SystemUI\res; found: mk
aapt: warning: string 'pm' has no default translation in C:\apktool\SystemUI\res
; found: mk
aapt: warning: string 'quickpanel_day_month_year' has no default translation in
C:\apktool\SystemUI\res; found: zh_HK
aapt: warning: string 'quickpanel_month_day_year' has no default translation in
C:\apktool\SystemUI\res; found: zh_HK
aapt: warning: string 'quickpanel_year_month_day' has no default translation in
C:\apktool\SystemUI\res; found: zh_HK
aapt: warning: string 'today' has no default translation in C:\apktool\SystemUI\
res; found: mk
aapt: warning: string 'tomorrow' has no default translation in C:\apktool\System
UI\res; found: mk
aapt: warning: string 'twelve_hour_time_format' has no default translation in C:
\apktool\SystemUI\res; found: mk
aapt: warning: string 'yesterday' has no default translation in C:\apktool\Syste
mUI\res; found: mk
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\ALFRED~1\AppData\Local\T
emp\APKTOOL7227662123397163069.tmp, -0, arsc, -I, C:\Users\AlfredoLanga\apktool\
framework\1.apk, -S, C:\apktool\SystemUI\res, -M, C:\apktool\SystemUI\AndroidMan
ifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:358)
at brut.androlib.Androlib.buildResources(Androlib.jav a:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:
\Users\ALFRED~1\AppData\Local\Temp\APKTOOL72276621 23397163069.tmp, -0, arsc, -I,
C:\Users\AlfredoLanga\apktool\framework\1.apk, -S, C:\apktool\SystemUI\res, -M,
C:\apktool\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 17, --target-sdk-version, 17, -F, C:\Users\ALFRED~1\AppData\Local\Tem
p\APKTOOL7227662123397163069.tmp, -0, arsc, -I, C:\Users\AlfredoLanga\apktool\fr
amework\1.apk, -S, C:\apktool\SystemUI\res, -M, C:\apktool\SystemUI\AndroidManif
est.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.jav
a:355)
... 6 more

C:\apktool>

uhcref
20/06/13, 20:01:00
Estoy intentando cambiar el color de fondo a la apk de Twitter, pero no me sale nada :risitas:
Alguno que tengo bien claro el tema no podria darme una mano?
Mi idea es dejerla el fondo mas o menos del color de esta play store invertida

https://dl.dropboxusercontent.com/u/72198912/Screenshot_2013-04-22-06-47-33.png

AndressMarquezzVe
26/06/13, 01:27:33
Me funciono bien todo, al día siguiente, descompilé un .apk, y cuando lo voy a compilar de nuevo me dice

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java: 164)
at brut.androlib.Androlib.build(Androlib.java:183)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(Abst ractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java: 160)
... 4 more


No entiendo._. Faltará un archivo?

Javho
03/07/13, 09:06:55
Se pueden remover los toggles de la barra de notificación? Me refiero a que en vez de reordenarlos eliminarlos....

Javho
03/07/13, 23:55:32
haber si me podeis ayudar ,descompilo systemui.apk y todo bien,pero le doy compilar ,sin modificar nada ,y me sale esto


272576

habro el build y solo hay un archivo classes.dex saludos.

rudechild a mi me aparece un error muy similar a ese y queria saber como logro solucionarlo porque no me deja compilar ahora el systemui :/

Javho
04/07/13, 04:33:10
Alguien sabe porque al cambiar los archivos en .9 en el systemui me da error al compilar :/

lMelkorl
11/07/13, 17:54:53
agregada un poco de info sobre los .9
Saludos!

tatiquietotio
17/07/13, 14:31:46
hola q tal
tengo unas pregunticas
la primera, este procedimiento es valido para cualquier apk o exclusivo para la del tuto? por veo q los q comentan solo lo hacen con la misma apk del tuto.
tambien quiero saber como extraer la carpeta META-INF
Otra pregunta, cuando ya esta lista, se puede pasar al cel como una apk normal, es decir colocarla a la memoria del cel e instalarla normal (en el caso de q se pueda para cualquier apk)

espero haber sido explicito, y ojala puedan responder gracias de antemano!

+ 1

Se puede con cualquier apk, aunque no sea del sistema?

PaolaXD
03/08/13, 01:03:22
Hago todo, descompilo y todo bien pero cuando quiero compilar me sale esto, tengo el java actualizado y todo... He instalado un monton de javas y sigue mostrando esto ._. ¿Que debo hacer?

Nitemare
08/08/13, 14:04:27
Intentando compilar archivos de JB 4.1.1 (SystemUI.apk, Settings.apk) en Windows, con la última versión de apktool, me da este error en res/values/styles.xml:

Error: No resource found that matches the given name: attr 'android:fontFamily'.

He comparado el XML con el de la versión 4.0.4 que tenía, y la etiqueta 'android:fontFamily' no aparece en 4.0.4 (y compila bien, claro)...

La línea completa en el XML es:

<item name="android:fontFamily">sans-serif-light</item>

así que parece que es una etiqueta nueva de 4.1.x y apktool no entiende... ¿alguna solución que no sea eliminar la etiqueta del XML?

MarGomCito
03/09/13, 16:53:33
Cómo solucionaste amigo este error

Nitemare
03/09/13, 16:56:16
Todavía no lo he solucionado, tengo pendiente probar otra herramienta, pero no he tenido tiempo

MarGomCito
03/09/13, 17:25:58
haber si me podeis ayudar ,descompilo systemui.apk y todo bien,pero le doy compilar ,sin modificar nada ,y me sale esto


272576

habro el build y solo hay un archivo classes.dex saludos.

Cómo lograste compilar sin error!??????

duniel
06/11/13, 00:35:54
Muy buen post, muy buen tuto! Me sirvió! Gracias

echopolvo
15/11/13, 23:47:41
muy buen post gracias. Solo tengo un problema al intentar instalar el .apk desde el explorador de archivos me aparece que la aplicacion no ha sido instalada.
Sabeis algo de esto ? Gracias de nuevo

stereourbina
17/12/13, 07:20:35
Gracias :)

stereourbina
17/12/13, 07:21:57
Hola, muchas gracias por el Tuto. Pero quisiera saber que tengo que hacer para cambiar el color del menú de configuraciones y barra de notificaciones al original negro de JB, http://img.tapatalk.com/d/13/12/17/he2y9usy.jpg http://img.tapatalk.com/d/13/12/17/8asy5apu.jpg

Puesto que el que trae mi Huawei G610 es blanco http://img.tapatalk.com/d/13/12/17/taruqady.jpg

Y no me gusta. Ayudenme por favor, saludos y gracias :)

MarGomCito
19/12/13, 04:30:22
Pasate x aki el.tutorial.del.mismo compi

http://www.htcmania.com/showthread.php?t=557690

stereourbina
19/12/13, 04:33:01
Pasate x aki el.tutorial.del.mismo compi

http://www.htcmania.com/showthread.php?t=557690

Gracias, mañana lo haré ;)

Rayden1980
29/12/13, 12:20:05
Hola quería saber como modificar los pop up de android, quiero decir cuando te sale un pop up para aceptar o cancelar, quiero cambiarle el color del pop up y el color de la letra, sabéis como se hace?
el pop up del sistema se encuentra en el framework apk o en el systemui apk??

gracias de antemano

Leodc_254
04/02/14, 04:17:08
Modificar SystemUI.apk

Cambiar el color del texto


res/layout :

1. tw_status bar.xml

Color del texto de la batería.

<TextView android:textSize="12.0dip" android:textColor="#XXXXXXXXX"

Color del texto del reloj.


<com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#XXXXXXXXX"
cambiar las XXXXXXXXX por el color elejido.

2. tw_status_bar_expanded_header.xml

Para el color del reloj de la barra de estado expandida
http://imageshack.us/a/img600/2865/clockdateheader.png

<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:textColor="#XXXXXXXXX"Para el color de la fecha.
"@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="#XXXXXXXXX" res/values :

1. colors.xml

Para el color del texto de Notificaciones de la status bar extendida.
<color name="notification_category_color">http://imageshack.us/a/img571/8352/notification.png

Para el color del texto del botón Borrar de la status bar extendida.

<color name="tw_status_bar_clear_btn_text">http://imageshack.us/a/img845/1723/clearbutton.png

2. styles.xml


<style name="TextAppearance.StatusBar.Expanded.Clock" parent="@style/TextAppearance.StatusBar.Expanded">
<item name="android:textSize">32.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ff33b5e5</item>
<item name="android:fontFamily">sans-serif-light</item>

<style name="TextAppearance.StatusBar.Expanded.Date" parent="@style/TextAppearance.StatusBar.Expanded">
<item name="android:textSize">12.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#FF9CE4FE</item>
<item name="android:textAllCaps">true</item>

<style name="TextAppearance.StatusBar.Expanded.Network" parent="@style/TextAppearance.StatusBar.Expanded">
<item name="android:textSize">14.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ff33b5e5</item>

http://imageshack.us/a/img600/2865/clockdateheader.png

Puedes cambiar el tamaño del texto, color, estilo(normal, negrita) en ese xml.


Como hacer el incremento de la batería cada 1%

res/drawable/

- editar el stat_sys_battery.xml y el stat_sys_battery_charge.xml para que quede así :
stat_sys_battery.xml

<?xml version="1.0" encoding="utf-8"?>
<level-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/stat_sys_battery_0" android:maxLevel="0" />
<item android:drawable="@drawable/stat_sys_battery_1" android:maxLevel="1" />
<item android:drawable="@drawable/stat_sys_battery_2" android:maxLevel="2" />
<item android:drawable="@drawable/stat_sys_battery_3" android:maxLevel="3" />
<item android:drawable="@drawable/stat_sys_battery_4" android:maxLevel="4" />
<item android:drawable="@drawable/stat_sys_battery_5" android:maxLevel="5" />
.
. Hasta
.

<item android:drawable="@drawable/stat_sys_battery_95" android:maxLevel="95" />
<item android:drawable="@drawable/stat_sys_battery_96" android:maxLevel="96" />
<item android:drawable="@drawable/stat_sys_battery_97" android:maxLevel="97" />
<item android:drawable="@drawable/stat_sys_battery_98" android:maxLevel="98" />
<item android:drawable="@drawable/stat_sys_battery_99" android:maxLevel="99" />
<item android:drawable="@drawable/stat_sys_battery_100" android:maxLevel="100" />
</level-list>
stat_sys_battery_charge.xml

<?xml version="1.0" encoding="utf-8"?>
<level-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:maxLevel="0">
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="1500" android:drawable="@drawable/stat_sys_battery_0" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim0" />
</animation-list>
</item>
<item android:maxLevel="1">
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="1500" android:drawable="@drawable/stat_sys_battery_1" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim1" />
</animation-list>
</item>
<item android:maxLevel="2">
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="1500" android:drawable="@drawable/stat_sys_battery_2" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim2" />
</animation-list>
.
.
. Hasta
.
.
<item android:maxLevel="100">
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="1500" android:drawable="@drawable/stat_sys_battery_100" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_anim100" />
</animation-list>
</item>
<item android:maxLevel="101">
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="1000" android:drawable="@drawable/stat_sys_battery_100" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_animfull" />
</animation-list>
</item>
</level-list>
luego poner los iconos de la bateria en res/drawable-hdpi


Como Animar la carga de la batería *Nuevo*

res/drawable/

-Reemplazar el stat_sys_battery_charge.xml por este http://d-h.st/BqA / mirror: MEGA (https://mega.co.nz/#!0BlVFKqZ!McLjGV8wvjqqjP58hwMTWyPs-XN79MOk25BfhanyWDM)



Como Centrar el Reloj

http://imageshack.us/a/img545/8724/greencenter.jpg

res/layout

tw_status_bar.xml

<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBa rView android:orientation="vertical" android:id="@id/status_bar" android:background="@drawable/status_bar_background" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<ImageView android:id="@id/notification_lights_out" android:paddingLeft="6.0dip" android:paddingBottom="2.0dip" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lights_out_dot_small" android:scaleType="center" />
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:id="@id/left_icons" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<TextView android:textSize="15.0dip" android:gravity="center_vertical" android:id="@id/carrierLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<ImageView android:id="@id/doNotDisturbIcon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/tw_dnd" android:alpha="0.7" android:scaleX="0.85" android:scaleY="0.85" />
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
</LinearLayout>
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ff99FF00" android:gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:gravity="right|center" android:orientation="horizontal" android:id="@id/right_icons" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentRight="true">
<LinearLayout android:gravity="right|center" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:gravity="right|center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="0.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/tw_signal_cluster_view" />
<TextView android:textSize="9.0dip" android:textColor="#ff99FF00" android:layout_gravity="center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_network_name_separator" />
<ImageView android:gravity="center" android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="centerInside" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="centerInside" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:id="@id/ticker_text_view_old" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:id="@id/ticker_text_view_new" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.phone.TickerView>
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBa rView>Editar el xml para que quede así



Como reordenar los toogle:

Antes
http://imageshack.us/a/img89/3126/togglenotmove.png
res/values
arrays.xml

<string-array name="QuickSettingButtonAttribute">
<item>Wifi</item>
<item><string-array name="QuickSettingButtonAttribute">
<item>Wifi</item>
<item>Location</item>
<item>SilentMode</item>
<item>AutoRotate</item>
<item>Bluetooth</item>
<item>MobileData</item>
<item>DormantMode</item>
<item>PowerSaving</item>
<item>AllShareCast</item>
<item>MultiWindow</item>
<item>Sync</item>
</string-array>
simplemente cambia la posicion en que deseas que este cada cosa. por ejemplo cambiar el GPS a otro lado


<string-array name="QuickSettingButtonAttribute">
<item>Wifi</item>
<item>SilentMode</item>
<item>AutoRotate</item>
<item>Bluetooth</item>
<item>MobileData</item>
<item>DormantMode</item>
<item>PowerSaving</item>
<item>AllShareCast</item>
<item>MultiWindow</item>
<item>Location</item>
<item>Sync</item>
</string-array>

Despues:
http://imageshack.us/a/img12/8494/togglemoved.png


Como remover la barra de brillo

http://imageshack.us/a/img43/6157/brightnessbar.png

res/layouts
tw_status_bar_expanded.xml

buscar :

<LinearLayout android:orientation="vertical" android:id="@id/brightness_controller" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="56.0dip">
reemplazar
android:layout_height="56.0dip"por
android:layout_height="0.0dip"

Como usar nuestro propio fondo en la status bar

http://imageshack.us/a/img585/4709/screenshot2013022221334.png

res/drawable-hdpi
esta es la manera fácil.
reemplazar el notification_panel_bg.9.png con cualquier imagen con una resolución de 480x800


pero antes de hacerlo no olviden hacer todos los botones transparentes.



Hacer los botones y notificaciones transparentes

res/layouts
tw_status_bar_expanded.xml

buscar :
android:background="#XXXXXXXXX"en el xml cambiar "#XXXXXXXXX" por "#00000000".

luego ir a SystemUI\smali\com\android\systemui\statusbar\phon e

PhoneStatusBar.smali

- buscar -0x100 (abrá solo dos en este smali)
- cambiar ambos a 0x0 (0=cero)
- guardar
(esto hará las notificaciones transparente).


Como hacer el fondo transparente

http://img823.imageshack.us/img823/7360/transq.jpg

res/layout
tw_status_bar_expanded.xml

buscar:
android:id="@id/notification_panel" android:background="@drawable/notification_panel_bg"cambiar "@drawable/notification_panel_bg" a "#00000000" o el rango de transparencia que se prefiera.



Como remover el texto y el toggles status

res/layout
tw_quick_setting_button.xml

buscar:

<ImageView android:layout_gravity="center" android:id="@id/btn_image" android:layout_width="fill_parent" android:layout_height="60.0dip" android:layout_marginTop="4.0dip" />
1. cambiar el android:layout_height="60.0dip" a android:layout_height="90.0dip".
2. cambiar el android:layout_marginTop="4.0dip" a android:layout_marginTop="0.0dip"

luego en el mismo xml.
buscar:
<TextView android:textSize="@dimen/quick_setting_button_text_size" en la misma linea veras android:textColor="blablabla", cambialo a android:textColor="#00000000".
y android:layout_height="blabla.bladip" a android:layout_height="0.0dip"

también en el mismo xml.
buscar:


<ImageView android:layout_gravity="center" android:id="@id/btn_status_image"
cambiar todo el relleno a esto:


<ImageView android:layout_gravity="center" android:id="@id/btn_status_image" android:paddingLeft="0.0dip" android:paddingTop="0.0dip" android:paddingRight="0.0dip" android:paddingBottom="0.0dip" android:layout_width="fill_parent" android:layout_height="0.0dip" android:scaleType="fitXY" android:drawable="@drawable/tw_quick_panel_off" />
todos estos pasos aumentaran el tamaño de los toggle, removeran el texto y los status de los toggles.

Luego ir a :

res/values
dimens.xml

buscar:
<dimen name="quick_setting_button_habran 7 lineas en este xml.
cambiarlos a esto:

<dimen name="quick_setting_button_height">90.0dip</dimen>
<dimen name="quick_setting_button_image_height">90.0dip</dimen>
<dimen name="quick_setting_button_text_height">0.0dip</dimen>
<dimen name="quick_setting_button_text_size">0.0dip</dimen>
<dimen name="quick_setting_button_status_height">0.0dip</dimen>
<dimen name="quick_setting_button_status_padding">2.0dip</dimen>
<dimen name="quick_setting_button_margin_top">0.0dip</dimen>
proximo paso:
- crear tu propio toggle con una resolucion de 80x100 ó 90x110 ó 90x150.

pasos finales:

res/layout
tw_status_bar_expanded.xml

buscar:
<com.android.systemui.statusbar.policy.quicksetting .QuickSettingPanel android:orientation="horizontal" android:id="@id/quicksetting_container" android:layout_width="wrap_content" android:layout_height="wrap_content"- en esa linea veras android:divider="@bla/blablabla" cambialo a android:divider="#00000000".
(eso removera la división de los toggles)

en el mismo xml, buscar:

<HorizontalScrollView android:id="@id/quicksetting_scroller" android:scrollbars="none" android:layout_width="wrap_content"cambiar android:layout_height= a android:layout_height="90.0dip".

listo, se vera asi
http://imageshack.us/a/img707/6213/blablablaho.png



Tabla de Colores *Nuevo*

Al modificar los colores nos encontramos que tienen este formato FFxxxxxx.
las FF corresponden a la transparencia

FF ->Sin Transparencias
00 -> 100% transparente
3F -> 75% transparente
7F -> 50% transparente
BF -> 25% transparente

y los 6 siguientes números y letras corresponden a colores hexadecimales

http://www.goer.org/images/html/stdcolors.png


hay una pagina con la la lista completa para elegir Color Codes Chart (http://www.rapidtables.com/web/color/RGB_Color.htm)



9-Patch *Nuevo*

http://gliffer.ru/upload/content/098d0148ed5d14a064025cb9762f9ee9.png

Seguramente todos hemos visto este tipo de archivos .9.png y más de alguno se preguntara para que sirve o para que son las lineas de los costados. Acá daré solo una leve idea y les dejare unos link donde se abordan en mas profundidad.

la particularidad de estas imágenes es que son escalables por lo que pueden crecer en medida que se necesiten.

http://radleymarx.com/blog/wp-content/uploads/2011/05/9-patch-guides.png

-las barra de la izquierda y la superior nos dirá lo que se puede expandir de la imagen.
-las barra de la derecha y la inferior nos indicara el relleno que tendra la imagen

Puede sonar complicado pero es mas claro con un par de ejemplos:

http://img547.imageshack.us/img547/4613/exli.jpg http://img841.imageshack.us/img841/835/8q4m.jpg

como vemos en la primera imagen las lineas de relleno van a lo largo de la imagen y las lineas escalables solo tocan en punto morado.
En cambio la segunda imagen la linea de relleno inferior solo tiene esta al centro por lo que solo rellenará ese trozo.

Un ejemplo de uso correcto e incorrecto.

http://img35.imageshack.us/img35/9205/3wq5.jpg
http://img203.imageshack.us/img203/4698/s0zy.jpg

Links:
-HTCMANIA (http://www.htcmania.com/showpost.php?p=3491121&postcount=24) Guía muy completa de criskelo
-Diapositivas (http://forum.xda-developers.com/showthread.php?t=1192207). Presentación en PP de donde saque algunas imágenes, gracias a explodingboy70
-Si lo que deseas es modificar alguna ya creada, te recomiendo que leas la parte 12. HINT HOW TO EDIT IMAGE WITHOUT GETTING ERROR! de este link (http://forum.xda-developers.com/showthread.php?t=2203166). Gracias a joehanh88

traducido de http://forum.xda-developers.com/showthread.php?t=2203166, Todos los créditos a joehanh88 por crearlo y recopilar la info
Amigo, primero t felicito por el post xq esta genial y me sirvio mucho, y ahora t hago una pregunta. Como puedo hacer los toggles transparentes? Ya modifique todo lo demas pero me gustria q toda la cortina quedara transparente, y no logro hacerlo con los toggles!

flamenkito34
10/03/14, 15:20:44
yo tengo una pregunta cuando decompilo mi systemui.apk me descomprime todo menos resources.arcs que para compilar lo e de poner de la apk original si no no me compila quiero cambiar el color del reloj y la fecha y ponerla transparente que hago mal un saludo gracias

steben_09
12/04/14, 02:00:34
Tengo una duda..tengo ke pegar los dos framework ala raiz del celular tambn

ice.modding
10/05/14, 22:10:37
me tira un error cuando quiero compilar el SystemUI, que puede ser?

http://s2.subirimagenes.com/imagen/previo/thump_8908553sin-ttulo.png

scrom
23/05/14, 01:11:32
disculpen una pregunta eh sacado un systemui de un rom version 4.3 y se la eh puesto a otra rom version 4.3 la fusion kat pero se desaparece la barra de notificaciones alguien sabe por que?

manudel
24/07/14, 13:45:03
Hola lMelkorl , ¿ puedes decirme como hacer eso con los temas de cm 11 de ahora que tienen el archivo assets ?.
lo he intentado con el apktool y apkmanager y ninguno de ellos me funciona, gracias.

SleQDL
16/08/14, 23:13:36
Yo Tengo Stock Y ME FALTA El twframework-res.apk
que puedo hacer,¿sigo igual?

yovesmlmt
28/10/14, 15:47:23
Buen tuto

joseturizo
02/04/15, 22:40:15
hola chicos quien me hace el favor de pasarme el SystemUI.apk stock sin ningun cambio les agradeceria gracias

daviddozal
23/04/15, 01:47:55
excelente tuto amigo lo use para modificar el systemui de mi s4, al a primera... gracias

Tellooou
28/05/15, 17:14:40
hola todos
aber si alguiem me da una mano
quiero poner transparente toda la contina pero no lo consigo
hicer hice cambios en los .xml ciento de veces y no lo cosigo
hay un cambio aparente en el color pero sigue siendo oscuro (negro)
e probado poner un color diferente emvez de solo transparente y nada
prove solo el color (00aaff) y con trasp 75 (ef00aaff) y nada
hice los png transparente y nada
sige el negro ese!
lo que me di cuente es al utilizar el mudulo xpose
se aplica las transp completamete lo que antes no lo hacia
pero no quiero usar un modulo!
tambien e logrado cambiar de lugar el (eliminar)
pero las trans ni a gancho!
alguien me da una mano x please!