Hi guys,
I'm trying to decompile MiuiSystemUI.apk using Virtuous Ten Studios, but i'm getting errors. Someone can help me what i need to do ?
This MiuiSystemUI.apk is from Miui JB (20120817) version
New Error:
Code:
22:06:01.834: [Debug] - <>c__DisplayClass2.<ImportFilesAsync>b__1: 'Decompiling apk'
22:06:01.835: [Normal] - ApkTool.DecompileApk: 'Decompiling apk: MiuiSystemUI.apk'
22:06:01.837: [Debug] - FileSystem.GetJavaInstallationPath: 'Found java path: C:\Program Files (x86)\Java\jre7\bin\java.exe'
22:06:01.838: [Debug] - ApkTool.DecompileApk: 'ApkTool args: -jar "C:\Users\Administrator\Downloads\APK-Multi-Toolv1.0.8\other\apktool.jar" d -t miui4 -f "C:\Users\Administrator\Desktop\Miui\system\app\MiuiSystemUI.apk" "C:\Users\Administrator\Documents\Virtuous Ten Studio\Projects\MIUI Softkeys - Teste 1\MIUI SoftKeys - FrameWork MIUI4\Data"'
22:06:06.653: [Error] - ApkTool.DecompileApk: 'ApkTool: I: Loading resource table...'
22:06:06.653: [Error] - ApkTool.DecompileApk: 'ApkTool: I: Loaded.'
22:06:06.656: [Error] - ApkTool.DecompileApk: 'ApkTool: I: Decoding AndroidManifest.xml with resources...'
22:06:06.657: [Error] - ApkTool.DecompileApk: 'ApkTool: I: Loading resource table from file: C:\Users\Administrator\apktool\framework\1-miui4.apk'
22:06:06.657: [Error] - ApkTool.DecompileApk: 'ApkTool: I: Loaded.'
22:06:06.657: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x060d0015'
22:06:06.658: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x060d0015'
22:06:06.658: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x060d0015'
22:06:06.658: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x060d0020'
22:06:06.658: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x060d0020'
22:06:06.659: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x060d0020'
22:06:06.659: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x060d0020'
22:06:06.659: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x060d0020'
22:06:06.659: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x060d0015'
22:06:06.660: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x060d0015'
22:06:06.660: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x060d0015'
22:06:06.660: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x060d0015'
22:06:06.660: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x060d0015'
22:06:06.661: [Error] - ApkTool.DecompileApk: 'ApkTool: I: Decoding file-resources...'
22:06:06.661: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x060a0015'
22:06:06.661: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x060201fc'
22:06:06.662: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0602013f'
22:06:06.662: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=layout_marginBottom, value=0x060a0013'
22:06:06.662: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=layout_height, value=0x060a0013'
22:06:06.662: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=innerRadius, value=0x060a0024'
22:06:06.663: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=pointDrawable, value=0x06020203'
22:06:06.663: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=glowRadius, value=0x060a0025'
22:06:06.663: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=alwaysTrackFinger, value=0xffffffff'
22:06:06.663: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x06020142'
22:06:06.664: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x06020142'
22:06:06.664: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x06020142'
22:06:06.670: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x060a0015'
22:06:06.750: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x06020150'
22:06:06.764: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x06020150'
22:06:06.781: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=layout_height, value=0x060a0013'
22:06:06.800: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=layout_height, value=0x060a0013'
22:06:06.800: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=layout_height, value=0x060a0000'
22:06:06.801: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=innerRadius, value=0x060a0024'
22:06:06.813: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=pointDrawable, value=0x06020203'
22:06:06.818: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=glowRadius, value=0x060a0025'
22:06:06.820: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=alwaysTrackFinger, value=0xffffffff'
22:06:06.822: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingLeft, value=0x060a0015'
22:06:06.828: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x0602014a'
22:06:06.828: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x060201ff'
22:06:06.842: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=innerRadius, value=0x060a0024'
22:06:06.849: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=pointDrawable, value=0x06020203'
22:06:06.851: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=glowRadius, value=0x060a0025'
22:06:06.851: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=alwaysTrackFinger, value=0xffffffff'
22:06:06.852: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=innerRadius, value=0x060a0024'
22:06:06.852: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=pointDrawable, value=0x06020203'
22:06:06.877: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=glowRadius, value=0x060a0025'
22:06:06.892: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=alwaysTrackFinger, value=0xffffffff'
22:06:06.903: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingTop, value=0x060a0000'
22:06:06.908: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=layout_height, value=0x060a0000'
22:06:06.913: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x060201fd'
22:06:06.914: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x06020141'
22:06:06.914: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x06020142'
22:06:06.915: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=layout_height, value=0x060a0013'
22:06:06.915: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0602013f'
22:06:06.915: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x060201fc'
22:06:06.916: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=src, value=0x06020140'
22:06:06.916: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0602013f'
22:06:06.916: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=layout_height, value=0x060a0013'
22:06:06.917: [Error] - ApkTool.DecompileApk: 'ApkTool: W: Could not decode attr value, using undecoded value instead: ns=android, name=layout_height, value=0x060a0013'
22:06:06.917: [Error] - ApkTool.DecompileApk: 'ApkTool: I: Decoding values*/* XMLs...'
22:06:06.917: [Error] - ApkTool.DecompileApk: 'ApkTool: Can't find framework resources for package of id: 6. You must install proper framework files, see project website for more info.'
22:06:06.918: [Debug] - ApkTool.DecompileApk: 'ApkTool failed, see log for further details'
22:06:06.918: [Debug] - ApkTool.DecompileApk: 'Exitcode: 1'
22:06:06.918: [Error] - <>c__DisplayClass2.<ImportFilesAsync>b__1: 'Decompiling apk failed!'
Old Error
Code:
21:12:22.290: [Normal] - ApkTool.DecompileApk: 'Decompiling apk: MiuiSystemUI.apk'
21:12:22.291: [Debug] - FileSystem.GetJavaInstallationPath: 'Found java path: C:\Program Files (x86)\Java\jre7\bin\java.exe'
21:12:22.291: [Debug] - ApkTool.DecompileApk: 'ApkTool args: -jar "C:\Program Files (x86)\Virtuous Ten Studio\External\ApkTool\apktool_1.4.7.jar" d -f "C:\Users\Administrator\Desktop\MiuiSystemUI.apk" "C:\Users\Administrator\Documents\Virtuous Ten Studio\Projects\softkey\MiuiSystemUI\Data"'
21:12:22.993: [Error] - ApkTool.DecompileApk: 'ApkTool: I: Loading resource table...'
21:12:22.994: [Error] - ApkTool.DecompileApk: 'ApkTool: Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x7f0a009c string/status_bar_date_format, config=-zh-rCN'
21:12:22.998: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)'
21:12:23.019: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)'
21:12:23.021: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:197)'
21:12:23.021: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:166)'
21:12:23.022: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:130)'
21:12:23.022: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:105)'
21:12:23.023: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)'
21:12:23.023: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)'
21:12:23.024: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:315)'
21:12:23.024: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:50)'
21:12:23.025: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:43)'
21:12:23.025: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.Androlib.getResTable(Androlib.java:45)'
21:12:23.026: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:151)'
21:12:23.026: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.androlib.ApkDecoder.decode(ApkDecoder.java:101)'
21:12:23.027: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.apktool.Main.cmdDecode(Main.java:128)'
21:12:23.027: [Error] - ApkTool.DecompileApk: 'ApkTool: at brut.apktool.Main.main(Main.java:65)'
21:12:23.028: [Debug] - ApkTool.DecompileApk: 'ApkTool failed, see log for further details'
21:12:23.028: [Debug] - ApkTool.DecompileApk: 'Exitcode: 1'
21:12:23.028: [Error] - <>c__DisplayClass2.<ImportFilesAsync>b__1: 'Decompiling apk failed!'
i need to use 2 frameworks at the sametime, how i do this in vts ???
Nvm i got this!! Thanks all for the answer :cyclops: :good: :highfive:
carloscarvalho said:
Nvm i got this!! Thanks all for the answer :cyclops: :good: :highfive:
Click to expand...
Click to collapse
Please share the answer. I'm having the same problem.
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..
Hi guys, i use Cyanogenmod 10.1 with a theme, and i would decompile/edit and compile SystemUI.apk but when i try with apktool show me this error
Code:
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\lucry\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=
drawable, value=0x01080666
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080665
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080665
S: Could not decode file, replacing by FALSE value: layout/status_bar.xml
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080666
I: Decoding values */* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x01080666
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.encodeAsResXmlAttr(ResSca
larValue.java:44)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:4
0)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlRe
sourceParser.java:313)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu
e(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stati
cXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamD
ecoder.java:80)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
coder.java:130)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD
ecoderContainer.java:34)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:1
07)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:9
1)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:238
)
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)
how can i fix this problem??
bump
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.