[SOLVED]can't recompile apk file...... - Nexus S Q&A, Help & Troubleshooting

i am trying to modify stutas bar. so i have to decompile systemui.apk.
this is what i did
downloaded apktool 1.4.3
put it in C:\mobile and also framework-res.apk and systemui.apk
open CMD
go to C:\mobile
Code:
apktool if framework-res.apk
Code:
apktool d systemui.apk
until here everything is ok
and then i modified stat_sys_battery.xml and stat_sys_battery_charge.xml
also put png files to res\drawable-hdpi
and then recomplie
Code:
apktool b systemui
report back with lots lots errors...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
i have done some search , but looks like it's all for 2.2/2.3 version , i don't think it wokrs at ICS ...

never mind... problem solved.
just because i put some replaced png files before i decompile it

Related

[Q] Help with decompiling / recompiling ics framework!!!

Hi guys!!
i have been trying for a day now on how to compile this apk (framework-res.apk from 4.0.3...galaxy nexus) ....i've tried all the apk compilers there are...i'm trying to change the recent apps width and height in /values/dimens.xml
thumbnail height = "356"
thumbnail width = "200"
If anyone manages to do this...THANK YOU!!!!!!!
btw: i've tried just decompiling and recompiling...still gives an error
here is the error if you need it:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
i attached the apk
decompile with 1.4.2 and compile with 1.4.3 and thats where i get stuck
because i got bootloops

changing the status bar - advice needed

im trying to get rid of the date in the notification bar by editing the xml
in systemui.apk with no luck, i dont know which line to change..
its a waste of space thats why i want to remove it.
uot kitchen cant remove it, its just make the fonts transperent.
--
can someone advice what to do?
thanks.
systemui file:
http://www.2shared.com/file/oCW_YKmm/SystemUI.html?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I don't know, because I never decompiled a file, but you can add android:VISIBILTY="gone" or something like that...
If that does not work, try to change android:layout_height to "0dip" inside the place where date goes... tell me if it works...
Also, could you post the layout xml file here, please? It will be better to answer if we have the code

[MOD][CM10.1]PowerButton to status bar

[MOD][CM10.1]PowerButton to status bar​
Installation:
1.Download zip from attactment
2.Copy SystemUI.apk from system/app
3.Rename SystemUI.apk to SystemUI.apk.zip
3.Open Attachment,move adi_power.png from Vrtheme/system/SystemUI.apk/res/drawable-hdpi to your SystemUI.apk.zip/res/drawable-hdpi and Move status_bar_expanded.xml from Vrtheme/system/SystemUI.apk/res/layout to SystemUI.apk.zip/res/layout
4.Rename SystemUI.apk.zip to SystemUI.apk (no need sign apk,cause it /system file)
5.put it again into /system/app
6.set permission same as with another system/app
7.reboot
DOWNLOAD:
CM10.1 by dhiru : View attachment 2091026
ScreenShoot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
OP update bro,cuase older method doesn't work
will work on Alpha 8?
TheHalJordan said:
will work on Alpha 8?
Click to expand...
Click to collapse
Work:highfive:

BeanStalk Rebooting,

How can I remove this?
if i replace beanstalk Framework-res.apk to other one like SlimSaber,
I got Softbrick? so how to change this. i cant find any solution on google tho.
I just want the normal one like on the SlimSaber Rebooting animation.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Open the apk and look for the image. If you find it, replace it with an image of same dimensions. I do not recommend unzipping the apk. Only replacing the image within the apk.
I decompile three APK (Framework, SystemUI and Settings) and still cant see the Beanstalk Reboot Image..
You do not need to decompile to look in the apk and/or replace the image. I do not recommend decompiling the apk.
You might look in -- framework-res\res\drawable-hdpi\busy_dlg_icon.png

(Help Needed)Getting Error While Recompiling Apk

I used MULTI APK TOOL To Decompile Apk It Sucessfully Decompiled Showing Error Which Recompiling Apk.
Here Is SCREENSHOT :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Regards
SMARTY BOY said:
I used MULTI APK TOOL To Decompile Apk It Sucessfully Decompiled Showing Error Which Recompiling Apk.
Here Is SCREENSHOT :
Regards
Click to expand...
Click to collapse
Looking into screenshots it appears to be JAVA errors . Check if JAVA jdk is correctly installed on your system . If not try reinstalling latest versio of JAVA JDK .

Categories

Resources