This tutorial i'll show you how to decompile and recompile systemui.apk windows only.
Why i made this, because i try to decompile systemui.apk and recompile it but it always failed when i recompile.
The problem when recompile is devide into 2 categories:
1. Style
2. No default translation
{
"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 dont know its is only mega systemui or all other devices too, but all device with 4.2.2 JB have almost same problem,
What tools do we need for this:
1. APKTool compatible with 4.2.2
2. AAPT
3. Zipalign
*) I already upload number 1-3 on the attatchment below
4. 7zip
5. Notepad++
Lets go to the tutorial:
1. Extract all tool (1-3) that we've dowload below and put all 4 files in c:\WINDOWS
2. Make folder in C:\ directory, in this tutorial i use APK TOOL
3. Put framework-res.apk and systemui.apk in this folder
4. Make another folder inside the APK TOOL called backup, and put another copy of systemui.apk there
5. Open CMD
6. CD the folder that you made, ex: cd apk tool
7. Than we start decompile by
PHP:
apktool if framework-res.apk
apktool if systemui.apk
apktool d systemui.apk
8. When its done we'll have a folder called systemui, we can make any change there
After you make a change on your SystemUI.apk its time to recompile back..
9. Now if we proceed to compile the apk and it will make 2 error that i already mention above, but its okay we need to know where the error come from
PHP:
apktool b systemui almostdone.apk
After that command a lot of error will show up in your cmd window. Lets fix it one by one.
Find the first problem:
C:\APK Tool\systemui\res\layout\system_bar_notification_panel_title.xml:14: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarNotificationText').
Its mean the first problem is style in C:\APK Tool\systemui\res\layout\system_bar_notification_panel_title.xml, and the error in line 14
Now open the xml file with notepad++ and find line 14, please add + in front of @style/SystemBarNotificationText.
Old: @style/SystemBarNotificationText
New: @style/SystemBarNotificationText
And continue another style problem with same treat as above
After all style finish please try recompile again to know if all the style problem already gone
PHP:
apktool b systemui almostdone.apk
If there is no style error again proceed to 2nd problem
2nd Problem
aapt: warning: string 'day_of_week_long_sunday' has no default translation in C:
\APK Tool\systemui\res; found: mk
aapt: warning: string 'day_of_week_long_thursday' has no default translation in
C:\APK Tool\systemui\res; found: mk
For no translation problem:
1. Open your systemui decompile folder and go to build/apk and delete androidmanifest.xml there
2. Open as archive your systemui.apk from backup folder above
3. Copy folder META-INF and AndroidManifest.xml
4. Paste both in build/apk
5. Done
When you try to recompile again
PHP:
apktool b systemui almostdone.apk
everything should ok now and almostdone.apk already created in your folder.
10. Open as archive almostdone.apk and original systemui.apk from backup folder side by side with 7zip
11. Delete META-INF and AndroidManifest.xml from almostdone.apk and replace it with META-INF and AndroidManifest.xml from original SystemUI.apk
12. Close the 7zip folder and open cmd again and now put command
PHP:
zipalign -v 4 almostdone.apk done.apk
13. Now the done.apk is already created, copy to your phone and rename it with SystemUI.apk
14. Put in /System/App and it should work.
Credit to:
@powerpoint45 for the amazing thread about compilation systemui.apk original thread
@devabhishek for the tips in no translation original post
Hope this help guys, please press thanks below if this information is useful for you
Happy theming guys..
Thanks for credits
Sent from my Amazon Kindle Fire2 using Tapatalk 2
how about framework-res.apk? is it same?
Awesome Bro ,,, I was really need this Thanks and made a thread for framework-res.apk also ... Thanks
plz help me i am not able to decompile it (systemui.apk)
C:\Users\Aman Kumar\Desktop\New folder>apktool if framework-res.apk
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-nodpi-v8-ERR0
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-v8-ERR1
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-hdpi-v8-ERR2
I: Framework installed to: C:\Users\Aman Kumar\apktool\framework\1.apk
C:\Users\Aman Kumar\Desktop\New folder>apktool if systemui.apk
I: Framework installed to: C:\Users\Aman Kumar\apktool\framework\127.apk
C:\Users\Aman Kumar\Desktop\New folder>apktool d systemui.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Aman Kumar\apktool\framework\1.apk
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-nodpi-v8-ERR0
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-v8-ERR1
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-hdpi-v8-ERR2
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080956
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010806c8
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010806c8
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010806c8
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080b03
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080754
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010806c4
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010806c8
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080b03
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080b04
I: Decoding values */* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x010406a3
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferen
ceValue.java:62)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResRefe
renceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlValueExt(Re
sScalarValue.java:86)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlValue(ResSc
alarValue.java:55)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlItemValue(R
esScalarValue.java:48)
at brut.androlib.res.data.value.ResArrayValue.serializeToResValuesXml(Re
sArrayValue.java:61)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResour
ces.java:440)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:243
)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
C:\Users\Aman Kumar\Desktop\New folder>
Screenshot?
Can you post a screenshot showing what can be done with this?
Thanks Sir
Thank You sir for this guide :good:
problem solved
Born to be a coder said:
C:\Users\Aman Kumar\Desktop\New folder>apktool if framework-res.apk
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-nodpi-v8-ERR0
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-v8-ERR1
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-hdpi-v8-ERR2
I: Framework installed to: C:\Users\Aman Kumar\apktool\framework\1.apk
C:\Users\Aman Kumar\Desktop\New folder>apktool if systemui.apk
I: Framework installed to: C:\Users\Aman Kumar\apktool\framework\127.apk
C:\Users\Aman Kumar\Desktop\New folder>apktool d systemui.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Aman Kumar\apktool\framework\1.apk
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-nodpi-v8-ERR0
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-v8-ERR1
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-hdpi-v8-ERR2
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080956
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010806c8
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010806c8
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010806c8
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080b03
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080754
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010806c4
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010806c8
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080b03
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080b04
I: Decoding values */* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x010406a3
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferen
ceValue.java:62)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResRefe
renceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlValueExt(Re
sScalarValue.java:86)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlValue(ResSc
alarValue.java:55)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlItemValue(R
esScalarValue.java:48)
at brut.androlib.res.data.value.ResArrayValue.serializeToResValuesXml(Re
sArrayValue.java:61)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResour
ces.java:440)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:243
)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
C:\Users\Aman Kumar\Desktop\New folder>
Click to expand...
Click to collapse
This was happening to me bcz i was not having java jdk
you are super man!
Thanx A Lot Bro
jusho said:
This tutorial i'll show you how to decompile and recompile systemui.apk windows only.
Why i made this, because i try to decompile systemui.apk and recompile it but it always failed when i recompile.
The problem when recompile is devide into 2 categories:
1. Style
2. No default translation
I dont know its is only mega systemui or all other devices too, but all device with 4.2.2 JB have almost same problem,
What tools do we need for this:
1. APKTool compatible with 4.2.2
2. AAPT
3. Zipalign
*) I already upload number 1-3 on the attatchment below
4. 7zip
5. Notepad++
Lets go to the tutorial:
1. Extract all tool (1-3) that we've dowload below and put all 4 files in c:\WINDOWS
2. Make folder in C:\ directory, in this tutorial i use APK TOOL
3. Put framework-res.apk and systemui.apk in this folder
4. Make another folder inside the APK TOOL called backup, and put another copy of systemui.apk there
5. Open CMD
6. CD the folder that you made, ex: cd apk tool
7. Than we start decompile by
PHP:
apktool if framework-res.apk
apktool if systemui.apk
apktool d systemui.apk
8. When its done we'll have a folder called systemui, we can make any change there
After you make a change on your SystemUI.apk its time to recompile back..
9. Now if we proceed to compile the apk and it will make 2 error that i already mention above, but its okay we need to know where the error come from
PHP:
apktool b systemui almostdone.apk
After that command a lot of error will show up in your cmd window. Lets fix it one by one.
Find the first problem:
C:\APK Tool\systemui\res\layout\system_bar_notification_panel_title.xml:14: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarNotificationText').
Its mean the first problem is style in C:\APK Tool\systemui\res\layout\system_bar_notification_panel_title.xml, and the error in line 14
Now open the xml file with notepad++ and find line 14, please add + in front of @style/SystemBarNotificationText.
Old: @style/SystemBarNotificationText
New: @style/SystemBarNotificationText
And continue another style problem with same treat as above
After all style finish please try recompile again to know if all the style problem already gone
PHP:
apktool b systemui almostdone.apk
If there is no style error again proceed to 2nd problem
2nd Problem
aapt: warning: string 'day_of_week_long_sunday' has no default translation in C:
\APK Tool\systemui\res; found: mk
aapt: warning: string 'day_of_week_long_thursday' has no default translation in
C:\APK Tool\systemui\res; found: mk
For no translation problem:
1. Open your systemui decompile folder and go to build/apk and delete androidmanifest.xml there
2. Open as archive your systemui.apk from backup folder above
3. Copy folder META-INF and AndroidManifest.xml
4. Paste both in build/apk
5. Done
When you try to recompile again
PHP:
apktool b systemui almostdone.apk
everything should ok now and almostdone.apk already created in your folder.
10. Open as archive almostdone.apk and original systemui.apk from backup folder side by side with 7zip
11. Delete META-INF and AndroidManifest.xml from almostdone.apk and replace it with META-INF and AndroidManifest.xml from original SystemUI.apk
12. Close the 7zip folder and open cmd again and now put command
PHP:
zipalign -v 4 almostdone.apk done.apk
13. Now the done.apk is already created, copy to your phone and rename it with SystemUI.apk
14. Put in /System/App and it should work.
Credit to:
@powerpoint45 for the amazing thread about compilation systemui.apk original thread
@devabhishek for the tips in no translation original post
Hope this help guys, please press thanks below if this information is useful for you
Happy theming guys..
Click to expand...
Click to collapse
you saved my time and gives me my i idea back to creating new rom thanx a lot bro...it worked perfectly for me....and now im going to continue my work in creating a new rom thanx a lot definitely will put credits when i post my rom thanx again
I suggest apk multi tool
---------- Post added at 05:41 PM ---------- Previous post was at 05:32 PM ----------
is better
Hi,
I know this thread is quite old but I just stumbled over the exact same problem. Unfortunately there is some point in the wonderful explanation that I do not fully understand. Maybe I am dumb...maybe...
You are suggesting the following:
Its mean the first problem is style in C:\APK Tool\systemui\res\layout\system_bar_notification_p anel_title.xml, and the error in line 14
Now open the xml file with notepad++ and find line 14, please add + in front of @style/SystemBarNotificationText.
Old: @style/SystemBarNotificationText
New: @style/SystemBarNotificationText
And continue another style problem with same treat as above
Click to expand...
Click to collapse
Well what exactly has to be added?
"Old:..." and "New:..." are the same?!
I am a little bit confused since there obviously isn't anything added to the "new" line.
Please help me!
Thanks in advance
deomaki
Related
i' m trying to use apktool to decompile apk, but don't work. I have pull framework from my phone with this command: apktool if. then when i want to decompil BlurDialer.apk cmd command say:
HTML:
C:\Documents and Settings\Administrateur>apktool d -f D:\Defy+\Themed\BlurDialer
.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Documents and Settings\Administrateur\ap
ktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
icon, value=0x0302017b
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
src, value=0x030203f9
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0302009a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
src, value=0x030203f9
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0302009c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
src, value=0x0302009a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
src, value=0x0302009a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0302009a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
src, value=0x030201b4
W: Could not decode attr value, using undecoded value instead: ns=android, name=
src, value=0x0302009a
I: Decoding values*/* XMLs...
Can't find framework resources for package of id: 3. You must install proper fra
mework files, see project website for more info.
.
When i want to decompile framework.apk, it's run.
Can somewone tell me how to to?
thx
BlurDialer and many other blur apk are dependent on framework-res, blur-res and moto-res, I use apk manager for decompiling and I have to install those 3 with apk tool and then I was able to decompile. In the log it says Can't find framework resources for package of id: 3, I think it's the moto-res.
NITRO_100 said:
BlurDialer and many other blur apk are dependent on framework-res, blur-res and moto-res, I use apk manager for decompiling and I have to install those 3 with apk tool and then I was able to decompile. In the log it says Can't find framework resources for package of id: 3, I think it's the moto-res.
Click to expand...
Click to collapse
awesome ! Thank you Nitro_100. i have try and all is fine
blurPhone and no network
After decompile, changing png file, recompile, signed with signapktic, put right permissions and install BlurPhone.apk in system/app, i have no network , so i have to reinstall original file.
Where is the problem?
thx
manoutch said:
After decompile, changing png file, recompile, signed with signapktic, put right permissions and install BlurPhone.apk in system/app, i have no network , so i have to reinstall original file.
Where is the problem?
thx
Click to expand...
Click to collapse
Hmm, I never sign system apks, so maybe there's the problem ?
when I change something in frameworkres.apk i do this:
-change the name in frameworkres.apk.zip
-extract all what it contain and made any changes what i whant to do
-then with "Total comander"(it help me to modified without afect the signature) opend frameworkres.apk.zip in a part and in the other (files extracted and modified)
-now in Total comander with copy/paste or drop/drag put the modified files in
xxx.zip archive
-when i finished close Total comander
-rename frameworkres.apk(delete.zip)
and thats it
ATENTION!!! all files what you whant to modified must have the same name
like original file
Enjoy!!!
i will try. thx for your help vaserbanix
Hi guys, go to
http://forum.xda-developers.com/showthread.php?p=23644305 to get yours. it's ray home.apk but should be compatible with arc or neo
Now with Xperia S style of home launcher
Added Xperia S mirror effect on Lower Dock..
REQ: Edit Home.apk of Xperia-s
hansip87,
I was trying to decompile the xperia s home.apk, which i have got it from one of your link. i'm running into the below issue. could you please help me out, what is wrong that i'm doing?
-----------------------------------------------------------------------------------------------------------
error
-----------------------------------------------------------------------------------------------------------
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\admroot\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x02090045
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x02090048
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x02090045
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x02090048
I: Decoding values*/* XMLs...
-----------------------------------------------------------------------------------------------------------
Note: Before editing, i have downloaded framework-res.apk of xperia s and did an 'apktool if framework-res.apk' as well. I'm also using the apktool recommended by you in one of your reply.
-Thanks
please update the apktool.jar to at least version 1.4.1. Don't have any link now unfortunately. the old download link is expired Or you can update by searching @ google "apktool"
hansip,
I have managed it to decompile by including the other resource file of xperia-s.
-Thanks.
I've updated this guide for the simpler method ever..
Here I'm using lidroid's modified SystemUI (from Real ICS ROM), should work on other stock based SystemUI
First you need to decompile your SystemUI.apk
Open res/values/drawable.xml with any good xml editor (here I'm using NP++)
Delete this line:
Code:
<item type="drawable" name="notification_tracking_bg">#xxxxxxxx</item>
the #xxxxxxxx value maybe vary in each ROM, just delete the whole line )
Save
Prepare your desired .png file, can be opaque or transparent, and can be in any size/dimension (the system will resize it to match the screen)
Rename it to notification_tracking_bg.png and put it in res/drawable-mdpi
Recompile your SystemUI.apk, push to your phone and you are.......
Done !!
The result will be looked like these :
{
"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"
}
Remember to
ALWAYS MAKE BACKUP !!
before doing anything above..
I don't responsible of any negative things like bootloop, bricked device, burned SD card, you late to go to school, or the third world war caused by the guide above..
You have been warned !!
Click to expand...
Click to collapse
Good luck..
[off topic sorry]Is there any way to make statusbar transparent in ICS stock Rom?
Sudanminipro said:
[off topic sorry]Is there any way to make statusbar transparent in ICS stock Rom?
Click to expand...
Click to collapse
Yes, i only want a transparent status bar
Is there any way? Plz make it possible
i've tried to make my statusbar transparent..
it's imposible cuz my systemui have double layer, so the back layer will be visible if i make the front one transparent..
it can be seen on the lockscreen, the front layer is covering the back layer and make the icons (battery, signal, etc) looked so worse..
i don't have the original/stock 4.0.4 systemui,
maybe i'll try to make it transparent if someone could upload it..
leloiboi said:
Yes, i only want a transparent status bar
Is there any way? Plz make it possible
Click to expand...
Click to collapse
Not for ICS, sadly.
iiandskater said:
i've tried to make my statusbar transparent..
it's imposible cuz my systemui have double layer, so the back layer will be visible if i make the front one transparent..
it can be seen on the lockscreen, the front layer is covering the back layer and make the icons (battery, signal, etc) looked so worse..
i don't have the original/stock 4.0.4 systemui,
maybe i'll try to make it transparent if someone could upload it..
Click to expand...
Click to collapse
You can find it here. http://forum.xda-developers.com/showthread.php?t=1709056
Sorry i'm using my phone so i can't upload that file. Tks
Sorry for my bad english!
thanks for the tutorial.
i get dis error when i try to decompile... am using Apk_Manager_5.02_ICS_APKTool!!!
--------------------------------------------------------------------------
|qua 11/07/2012 -- 17:48:07,82|
--------------------------------------------------------------------------
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02, mixed mode)
--------------------------------------------------------------------------
|22/07/2012 -- 5:45:25.67|
--------------------------------------------------------------------------
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
Could Not Find C:\Users\LaLa\Downloads\Compressed\Apk_Manager_5.0.2_ICS_APKTool\place-apk-here-for-modding\../place-apk-here-for-modding/signedSystemUI.apk
Could Not Find C:\Users\LaLa\Downloads\Compressed\Apk_Manager_5.0.2_ICS_APKTool\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\LaLa\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x01040421
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010302ee
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010302fc
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010302fc
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010302fc
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010302fc
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x010806ff
W: Could not decode attr value, using undecoded value instead: ns=android, name=opacity, value=0xfffffffd
W: Could not decode attr value, using undecoded value instead: ns=android, name=state_activated, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=animateLayoutChanges, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=animateLayoutChanges, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=exitFadeDuration, value=0x010e0001
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x0108073f
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0101030e
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0101030e
W: Could not decode attr value, using undecoded value instead: ns=android, name=opacity, value=0xfffffffd
W: Could not decode attr value, using undecoded value instead: ns=android, name=exitFadeDuration, value=0x010e0001
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x010301ea
W: Could not decode attr value, using undecoded value instead: ns=android, name=interpolator, value=0x010c0008
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x010102f0
W: Could not decode attr value, using undecoded value instead: ns=android, name=alpha, value=0x3ecccccd
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0101030e
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0101030e
I: Decoding values*/* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010301e9
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:55)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:51)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:59)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:43)
at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:48)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:264)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:137)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
leloiboi said:
You can find it here. http://forum.xda-developers.com/showthread.php?t=1709056
Sorry i'm using my phone so i can't upload that file. Tks
Sorry for my bad english!
Click to expand...
Click to collapse
thanks for the link..
but i'm on limited bandwith so can't download whole zip,
i'll be thankful if someone could upload systemui.apk only..
whalesplaho said:
i get dis error when i try to decompile... am using Apk_Manager_5.02_ICS_APKTool!!!
--------------------------------------------------------------------------
|qua 11/07/2012 -- 17:48:07,82|
--------------------------------------------------------------------------
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02, mixed mode)
--------------------------------------------------------------------------
|22/07/2012 -- 5:45:25.67|
--------------------------------------------------------------------------
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
Could Not Find C:\Users\LaLa\Downloads\Compressed\Apk_Manager_5.0.2_ICS_APKTool\place-apk-here-for-modding\../place-apk-here-for-modding/signedSystemUI.apk
Could Not Find C:\Users\LaLa\Downloads\Compressed\Apk_Manager_5.0.2_ICS_APKTool\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\LaLa\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x01040421
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010302ee
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010302fc
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010302fc
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010302fc
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010302fc
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x010806ff
W: Could not decode attr value, using undecoded value instead: ns=android, name=opacity, value=0xfffffffd
W: Could not decode attr value, using undecoded value instead: ns=android, name=state_activated, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=animateLayoutChanges, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=animateLayoutChanges, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=exitFadeDuration, value=0x010e0001
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x0108073f
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0101030e
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0101030e
W: Could not decode attr value, using undecoded value instead: ns=android, name=opacity, value=0xfffffffd
W: Could not decode attr value, using undecoded value instead: ns=android, name=exitFadeDuration, value=0x010e0001
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x010301ea
W: Could not decode attr value, using undecoded value instead: ns=android, name=interpolator, value=0x010c0008
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x010102f0
W: Could not decode attr value, using undecoded value instead: ns=android, name=alpha, value=0x3ecccccd
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0101030e
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0101030e
I: Decoding values*/* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010301e9
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:55)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:51)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:59)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:43)
at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:48)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:264)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:137)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
Click to expand...
Click to collapse
which systemui do u want to decompile ??
maybe u need to install the secondary framework to ur apktool (SemcGenericResUxp.apk) ..
iiandskater said:
which systemui do u want to decompile ??
maybe u need to install the secondary framework to ur apktool (SemcGenericResUxp.apk) ..
Click to expand...
Click to collapse
i copied tha SystemUI.apk from my phone [/system/app/] den send to PC.... how do i install secondary framework to apktool (SemcGenericResUxp.apk) please?
whalesplaho said:
i copied tha SystemUI.apk from my phone [/system/app/] den send to PC.... how do i install secondary framework to apktool (SemcGenericResUxp.apk) please?
Click to expand...
Click to collapse
pull it from ur phone (in /system/framework),
then install it like u install ur framework-res apk earlier..
Code:
apktool if your/path/to/SemcGenericResUxp.apk
iiandskater said:
pull it from ur phone (in /system/framework),
then install it like u install ur framework-res apk earlier..
Code:
apktool if your/path/to/SemcGenericResUxp.apk
Click to expand...
Click to collapse
i havent install tha framework-res.apk brov.. dat means i will need to install SemcGenericResUxp.apk & framework-res.apk!!! but will i just open command prompt & type dose codes or what?? please be more comprehensive, i really need to do dis!
is dis tha real code:- apktool if your/path/to/SemcGenericResUxp.apk?
whalesplaho said:
i havent install tha framework-res.apk brov.. dat means i will need to install SemcGenericResUxp.apk & framework-res.apk!!! but will i just open command prompt & type dose codes or what?? please be more comprehensive, i really need to do dis!
is dis tha real code:- apktool if your/path/to/SemcGenericResUxp.apk?
Click to expand...
Click to collapse
hey.. what tool are u using ??
i'm using native apktool here..
which everything is done by cmd command,
it's more comfortable and flexible for me..
yes, u need to install both apk..
no,
i mean that is path where u extract the SemcGenericResUxp.apk
here's a reference for u:
http://forum.xda-developers.com/showthread.php?t=1760133
don't forget to always using latest apktool stuffs,
good luck..
iiandskater said:
hey.. what tool are u using ??
i'm using native apktool here..
which everything is done by cmd command,
it's more comfortable and flexible for me..
yes, u need to install both apk..
no,
i mean that is path where u extract the SemcGenericResUxp.apk
here's a reference for u:
http://forum.xda-developers.com/showthread.php?t=1760133
don't forget to always using latest apktool stuffs,
good luck..
Click to expand...
Click to collapse
thanks so much buddy... Gracias!!!
am using ApkManager_5.0.2_Apktoopl for ICS...
Help please
Hey Bro iiandskater
Help me please....
How can i change background in this part?? (part of date)
Please man.
AxelGom said:
Hey Bro iiandskater
Help me please....
How can i change background in this part?? (part of date)
View attachment 1215123
Please man.
Click to expand...
Click to collapse
that's color related, not an image..
you can modify it in /res/values/drawable.xml and the string is some like notification_header_bg or what (sorry i don't remember),
and change the color value..
you can use custom image by using the method based on my 1st post above,
still you need creativity and improvements..
WT19i ICS systemUI.apk
Here is stock ICS Wt19i systemUI.apk , please make for me a transparent status bar. And i'll be very happy if you show me how to do it .TKS
hi !!!!
i don't have res/value/public.xlm
iiandskater said:
that's color related, not an image..
you can modify it in /res/values/drawable.xml and the string is some like notification_header_bg or what (sorry i don't remember),
and change the color value..
you can use custom image by using the method based on my 1st post above,
still you need creativity and improvements..
Click to expand...
Click to collapse
yeeeii! thank u so much bro! my mod now is complete see this!
:good:
leloiboi said:
Here is stock ICS Wt19i systemUI.apk , please make for me a transparent status bar. And i'll be very happy if you show me how to do it .TKS
Click to expand...
Click to collapse
too bad,
I've tried the case is just same with my SystemUI (see my earlier post)..
but i think that's NOT the stock SysUI,
stock SysUI don't have quick panel and the statusbar clock is not disapearing in lockscreen..
royal-kingzzz said:
hi !!!!
i don't have res/value/public.xlm
Click to expand...
Click to collapse
i've updated the tut,
playing with public.xml is not needed anymore.. :laugh:
AxelGom said:
yeeeii! thank u so much bro! my mod now is complete see this!
:good:
Click to expand...
Click to collapse
good job my bro,
keep ur creativity..
Hello,
Im Trying to translate rom with unsucces
im get an error when im try to Decompile,That the errror:
Code:
largeScreens, value=0xffffffff
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR8
W: Could not decode attr value, using undecoded value instead: ns=android, name=
configChanges, value=0x00000fb0
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR9
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x0103000f
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR10
W: Could not decode attr value, using undecoded value instead: ns=android, name=
icon, value=0x7f020000
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR11
W: Could not decode attr value, using undecoded value instead: ns=android, name=
launchMode, value=0x00000001
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR12
W: Could not decode attr value, using undecoded value instead: ns=android, name=
screenOrientation, value=0xffffffff
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR13
W: Could not decode attr value, using undecoded value instead: ns=android, name=
windowSoftInputMode, value=0x00000002
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x0105005a dimen/multiwindow_gap, config=-v13
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readType(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readTable(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(Unknown Sou
rce)
at brut.androlib.res.AndrolibResources.loadFrameworkPkg(Unknown Source)
at brut.androlib.res.data.ResTable.getPackage(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.decoder.ResAttrDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(Unknow
n Source)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu
e(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Unkno
wn Source)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(Unknown So
urce)
at brut.androlib.res.decoder.ResFileDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.decode(Unknown Source)
at brut.androlib.Androlib.decodeResourcesFull(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Exception in thread "main" brut.androlib.AndrolibException: java.io.FileNotFound
Exception: 9 (■■∞ε≥°δ· αΘ∩ α⌠∙°σ· ∞α·° α· Σ≈σß⌡ ∙÷σΘ∩)
at brut.androlib.res.AndrolibResources.installFramework(Unknown Source)
at brut.androlib.Androlib.installFramework(Unknown Source)
at brut.apktool.Main.cmdInstallFramework(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: java.io.FileNotFoundException: 9 (■■∞ε≥°δ· αΘ∩ α⌠∙°σ· ∞α·° α· Σ≈σß⌡ ∙
÷σΘ∩)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
... 4 more
I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR0
W: Could not decode attr value, using undecoded value instead: ns=android, name=
versionCode, value=0x00000002
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR1
W: Could not decode attr value, using undecoded value instead: ns=android, name=
installLocation, value=0x00000001
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR2
W: Could not decode attr value, using undecoded value instead: ns=android, name=
minSdkVersion, value=0x00000004
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR3
W: Could not decode attr value, using undecoded value instead: ns=android, name=
targetSdkVersion, value=0x0000000e
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR4
W: Could not decode attr value, using undecoded value instead: ns=android, name=
anyDensity, value=0xffffffff
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR5
W: Could not decode attr value, using undecoded value instead: ns=android, name=
smallScreens, value=0xffffffff
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR6
W: Could not decode attr value, using undecoded value instead: ns=android, name=
normalScreens, value=0xffffffff
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR7
W: Could not decode attr value, using undecoded value instead: ns=android, name=
largeScreens, value=0xffffffff
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR8
W: Could not decode attr value, using undecoded value instead: ns=android, name=
configChanges, value=0x00000fb0
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR9
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x0103000f
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR10
W: Could not decode attr value, using undecoded value instead: ns=android, name=
icon, value=0x7f020000
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR11
W: Could not decode attr value, using undecoded value instead: ns=android, name=
launchMode, value=0x00000001
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR12
W: Could not decode attr value, using undecoded value instead: ns=android, name=
screenOrientation, value=0xffffffff
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR13
W: Could not decode attr value, using undecoded value instead: ns=android, name=
windowSoftInputMode, value=0x00000002
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x0105005a dimen/multiwindow_gap, config=-v13
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readType(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readTable(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(Unknown Sou
rce)
at brut.androlib.res.AndrolibResources.loadFrameworkPkg(Unknown Source)
at brut.androlib.res.data.ResTable.getPackage(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.decoder.ResAttrDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(Unknow
n Source)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu
e(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Unkno
wn Source)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(Unknown So
urce)
at brut.androlib.res.decoder.ResFileDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.decode(Unknown Source)
at brut.androlib.Androlib.decodeResourcesFull(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Could Not Find C:\ANDROTRANSLATE\place-apk-here-for-modding\../place-apk-here-fo
r-modding/signedTaskManager.apk
Could Not Find C:\ANDROTRANSLATE\place-apk-here-for-modding\../place-apk-here-fo
r-modding/unsignedTaskManager.apk
I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR0
W: Could not decode attr value, using undecoded value instead: ns=android, name=
versionCode, value=0x00000002
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR1
W: Could not decode attr value, using undecoded value instead: ns=android, name=
installLocation, value=0x00000001
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR2
W: Could not decode attr value, using undecoded value instead: ns=android, name=
minSdkVersion, value=0x00000004
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR3
W: Could not decode attr value, using undecoded value instead: ns=android, name=
targetSdkVersion, value=0x0000000e
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR4
W: Could not decode attr value, using undecoded value instead: ns=android, name=
anyDensity, value=0xffffffff
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR5
W: Could not decode attr value, using undecoded value instead: ns=android, name=
smallScreens, value=0xffffffff
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR6
W: Could not decode attr value, using undecoded value instead: ns=android, name=
normalScreens, value=0xffffffff
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR7
W: Could not decode attr value, using undecoded value instead: ns=android, name=
largeScreens, value=0xffffffff
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR8
W: Could not decode attr value, using undecoded value instead: ns=android, name=
configChanges, value=0x00000fb0
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR9
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x0103000f
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR10
W: Could not decode attr value, using undecoded value instead: ns=android, name=
icon, value=0x7f020000
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR11
W: Could not decode attr value, using undecoded value instead: ns=android, name=
launchMode, value=0x00000001
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR12
W: Could not decode attr value, using undecoded value instead: ns=android, name=
screenOrientation, value=0xffffffff
I: Loading resource table from file: C:\Users\nar\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR13
W: Could not decode attr value, using undecoded value instead: ns=android, name=
windowSoftInputMode, value=0x00000002
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x0105005a dimen/multiwindow_gap, config=-v13
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readType(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readTable(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(Unknown Sou
rce)
at brut.androlib.res.AndrolibResources.loadFrameworkPkg(Unknown Source)
at brut.androlib.res.data.ResTable.getPackage(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.decoder.ResAttrDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(Unknow
n Source)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu
e(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Unkno
wn Source)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(Unknown So
urce)
at brut.androlib.res.decoder.ResFileDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.decode(Unknown Source)
at brut.androlib.Androlib.decodeResourcesFull(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Press any key to continue . . .
What is it mean?
Thnx.
I want to decompile systemui.apk to remove clock from status bar
For decompiling I use elesbb's GUI APK Tool. I installed custom framework (both frameworks from /system/framework folder) when i decompile I get this log:
Code:
16.09.2013
17:55:45,08
Decompiling..
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Mihai\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x02030057
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x02030057
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingTop, value=0x02050059
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050001
W: Cant find 9patch chunk in file: "drawable-hdpi/qp_brightness_bg.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/qp_bg.9.png". Renaming it to *.png.
I: Decoding values */* XMLs...
I: Done.
then I open the decompiled folder i find in res/layout the status bar.xml and I make my changes.
I removed this from the xml:
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
So far so good. But then I go to recompile and I get this error (btw I searched all on google first no luck there so I really need your help):
Code:
16.09.2013
17:57:06,37
Re-compiling...
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:164)
at brut.androlib.Androlib.build(Androlib.java:181)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:214)
at brut.apktool.Main.main(Main.java:74)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:160)
... 4 more
I don't know how to solve this I try everything that crossed my mind and...nothing!
My OS: Windows 7 64-bit, JDK, JRE, .NET 3.5,4.0,4.5 installed
Also all security is disabled when using this files (I don't want avast to interfere with my work)
What and where is the apktool.yml I don't know...
PLEASE HELP ME to solve this:crying:
apktool.yml doesn't exist, this means it wasn't decompiled correctly.
I suggest you to use APK Manager and read here: http://forum.xda-developers.com/showthread.php?t=2158816 it will help you decompiling correctly.
xpirt
---------- Post added at 05:13 PM ---------- Previous post was at 05:12 PM ----------
And another thing, install as a framework also SystemUI.apk (apktool if SystemUI.apk)
xpirt
xpirt said:
apktool.yml doesn't exist, this means it wasn't decompiled correctly.
I suggest you to use APK Manager and read here: http://forum.xda-developers.com/showthread.php?t=2158816 it will help you decompiling correctly.
xpirt
---------- Post added at 05:13 PM ---------- Previous post was at 05:12 PM ----------
And another thing, install as a framework also SystemUI.apk (apktool if SystemUI.apk)
xpirt
Click to expand...
Click to collapse
if everything works with your help after I'll test the mod I'll add it to apps thread with versions for stock sensedx+ and so on...with the apropriate credits and thanks of course
same problem: it decompiles framework-res no problem (apktool.yml is there) but again error and no apktool.yml in systemui
MihaiA7X said:
same problem: it decompiles framework-res no problem (apktool.yml is there) but again error and no apktool.yml in systemui
Click to expand...
Click to collapse
Three ways remaining:
1. Did you install as framework all 3 files? framework-res.apk, com.htc.resources.apk and SystemUI.apk? If not, install all of them.
2. Update apktool.jar with newest one from here, decompress tar.bz2 downloaded and replace apktool.jar to /others folder if you use ApkManager.
xpirt
xpirt said:
Three ways remaining:
1. Did you install as framework all 3 files? framework-res.apk, com.htc.resources.apk and SystemUI.apk? If not, install all of them.
2. Update apktool.jar with newest one from here, decompress tar.bz2 downloaded and replace apktool.jar to /others folder if you use ApkManager.
xpirt
Click to expand...
Click to collapse
when decompiling com.htc.resources:
Code:
--------------------------------------------------------------------------
|16.09.2013 -- 18:47:12,97|
--------------------------------------------------------------------------
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars
c file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:54)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes
ources.java:540)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav
a:76)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav
a:68)
at brut.androlib.Androlib.getResTable(Androlib.java:51)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:191)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:116)
at brut.apktool.Main.cmdDecode(Main.java:148)
at brut.apktool.Main.main(Main.java:77)
Caused by: java.io.IOException: Expected: 0x00000008, got: 0x00000000
at brut.util.ExtDataInput.skipCheckShort(ExtDataInput.java:56)
at brut.androlib.res.decoder.ARSCDecoder.readValue(ARSCDecoder.java:219)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:179)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:167
)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:133)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10
8)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:81)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 8 more
i switched to apk manager and followed the tutorial that you suggested
1. Extract APK Manager from the .zip file.
2. Run Setup.bat
3. Grab the untouched framework-res.apk and SystemUI.apk from the Base ROM.
4. Place them both in "place-apk-here-for-modding" folder
5. Double click on Script.bat
6. type in 24 and type the corresponding number for framework-res.apk
7. type 9 and it should decompile (If you don't decompile framework-res.apk first you'll have serious problems.)
8. Now type in 24 again and type in the corresponding number for SystemUI.apk
--------Everything fine until step 9--------------
9 Type in 9 and decompile.
10. Now make your modifications in "projects folder"
Removed
---------- Post added at 05:58 PM ---------- Previous post was at 05:55 PM ----------
MihaiA7X said:
when decompiling com.htc.resources:
Code:
--------------------------------------------------------------------------
|16.09.2013 -- 18:47:12,97|
--------------------------------------------------------------------------
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars
c file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:54)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes
ources.java:540)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav
a:76)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav
a:68)
at brut.androlib.Androlib.getResTable(Androlib.java:51)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:191)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:116)
at brut.apktool.Main.cmdDecode(Main.java:148)
at brut.apktool.Main.main(Main.java:77)
Caused by: java.io.IOException: Expected: 0x00000008, got: 0x00000000
at brut.util.ExtDataInput.skipCheckShort(ExtDataInput.java:56)
at brut.androlib.res.decoder.ARSCDecoder.readValue(ARSCDecoder.java:219)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:179)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:167
)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:133)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10
8)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:81)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 8 more
i switched to apk manager and followed the tutorial that you suggested
1. Extract APK Manager from the .zip file.
2. Run Setup.bat
3. Grab the untouched framework-res.apk and SystemUI.apk from the Base ROM.
4. Place them both in "place-apk-here-for-modding" folder
5. Double click on Script.bat
6. type in 24 and type the corresponding number for framework-res.apk
7. type 9 and it should decompile (If you don't decompile framework-res.apk first you'll have serious problems.)
8. Now type in 24 again and type in the corresponding number for SystemUI.apk
--------Everything fine until step 9--------------
9 Type in 9 and decompile.
10. Now make your modifications in "projects folder"
Click to expand...
Click to collapse
So... first of all open Setup.bat (not Script.bat) -> Option 2 (Install framework files) -> Option 5 (Pull dependiencias from phone) -> Wait until all are completed.
Now open Script.bat and after you put SystemUI.apk into place-for-modding folder, select option 9 and wait.
xpirt
xpirt said:
Removed
---------- Post added at 05:58 PM ---------- Previous post was at 05:55 PM ----------
So... first of all open Setup.bat (not Script.bat) -> Option 2 (Install framework files) -> Option 5 (Pull dependiencias from phone) -> Wait until all are completed.
Now open Script.bat and after you put SystemUI.apk into place-for-modding folder, select option 9 and wait.
xpirt
Click to expand...
Click to collapse
done exactly what you said and:
Code:
|16.09.2013 -- 18:59:09,72|
--------------------------------------------------------------------------
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Mihai\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingTop, value=0x02050059
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x02030057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x02030057
W: Cant find 9patch chunk in file: "drawable-hdpi/qp_bg.9.png". Renaming it to *
.png.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050001
I: Decoding values */* XMLs...
I: Done.
i fell like I'm going insane here:laugh: thanks for helping me
MihaiA7X said:
done exactly what you said and:
Code:
|16.09.2013 -- 18:59:09,72|
--------------------------------------------------------------------------
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Mihai\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingTop, value=0x02050059
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x02030057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x02030057
W: Cant find 9patch chunk in file: "drawable-hdpi/qp_bg.9.png". Renaming it to *
.png.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050001
I: Decoding values */* XMLs...
I: Done.
i fell like I'm going insane here:laugh: thanks for helping me
Click to expand...
Click to collapse
So did you work, right?
xpirt
xpirt said:
So did you work, right?
xpirt
Click to expand...
Click to collapse
well it didn't although I pulled the dependencies from the phone placed the systemui in its modding folder applied the commands and the damn thing doesn't decompile correctly
Code:
Please make your decision:9
Decompiling Apk Sources and Resources Files
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.
"An Error Occurred, Please Check The Log (option 26)"
Press any key to continue . . .
Code:
--------------------------------------------------------------------------
|16.09.2013 -- 19:00:19,52|
--------------------------------------------------------------------------
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Mihai\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-hdpi/qp_bg.9.png". Renaming it to *
.png.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x02030057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x02030057
W: Cant find 9patch chunk in file: "drawable-hdpi/qp_brightness_bg.9.png". Renam
ing it to *.png.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingTop, value=0x02050059
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingLeft, value=0x02050001
I: Decoding values */* XMLs...
I: Done.
Press any key to continue . . .
MihaiA7X said:
well it didn't although I pulled the dependencies from the phone placed the systemui in its modding folder applied the commands and the damn thing doesn't decompile correctly
Click to expand...
Click to collapse
Same error? See apktool-log.txt and give me last part.
xpirt
xpirt said:
Same error? See apktool-log.txt and give me last part.
xpirt
Click to expand...
Click to collapse
Code:
--------------------------------------------------------------------------
|16.09.2013 -- 19:00:19,52|
--------------------------------------------------------------------------
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Mihai\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-hdpi/qp_bg.9.png". Renaming it to *.png.
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x02030057
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x02030057
W: Cant find 9patch chunk in file: "drawable-hdpi/qp_brightness_bg.9.png". Renaming it to *.png.
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingTop, value=0x02050059
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050001
I: Decoding values */* XMLs...
I: Done.
that is the last part
MihaiA7X said:
Code:
--------------------------------------------------------------------------
|16.09.2013 -- 19:00:19,52|
--------------------------------------------------------------------------
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Mihai\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-hdpi/qp_bg.9.png". Renaming it to *.png.
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x02030057
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x02030057
W: Cant find 9patch chunk in file: "drawable-hdpi/qp_brightness_bg.9.png". Renaming it to *.png.
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingTop, value=0x02050059
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingRight, value=0x02050058
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingBottom, value=0x0205005a
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x02050001
I: Decoding values */* XMLs...
I: Done.
that is the last part
Click to expand...
Click to collapse
Look at /projects folder lol it should be a folder called /SystemUI.apk.
xpirt
xpirt said:
Look at /projects folder lol it should be a folder called /SystemUI.apk.
xpirt
Click to expand...
Click to collapse
it is but it is not complete and it doesn't have a apktool.yml file so the recompiling its impossible
ok i think i know why it fails: i have the systemui modded with lidroid so that might be the problem...
Try Ibotpeaches Apktool http://forum.xda-developers.com/showthread.php?t=1755243
Sent from my HTC Desire X
MihaiA7X said:
it is but it is not complete and it doesn't have a apktool.yml file so the recompiling its impossible
ok i think i know why it fails: i have the systemui modded with lidroid so that might be the problem...
Click to expand...
Click to collapse
So last.. go here: https://code.google.com/p/android-apktool/downloads/list
Download .tar.bz2 file and extract apktool.jar to Desktop.
Replace apktool.jar into /APK-Manager/other/ folder.
Now redo option 9 to decompile.
xpirt
xpirt said:
So last.. go here: https://code.google.com/p/android-apktool/downloads/list
Download .tar.bz2 file and extract apktool.jar to Desktop.
Replace apktool.jar into /APK-Manager/other/ folder.
Now redo option 9 to decompile.
xpirt
Click to expand...
Click to collapse
done that but still...
{
"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"
}
In the end it worked with elesbb's GUI APK Tool v1.2.4.5 loaded all apps xpirt said as framework than the decompilation of SystemUI.apk completed
it is builded but it doesnt work on phone i tried both signed and unsigned something is missing (well the META-INF folder is missing from mine
EDIT: IT WORKS FINALLY!!! The last problem was the AndroidManifest.xml but it's fixed now. Thank you xpirt for all your help.