Hello,
Today I've been trying to de/re-compile the SystemUI.apk from i9300's android 4.3 build, and after some time the decompiling part goes flawless,
however, when I try to recompile it, I get the following errors:
Code:
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res\layout\system_bar_notifica
tion_panel_title.xml:14: error: Error: No resource found that matches the given
name (at 'style' with value '@style/SystemBarNotificationText').
C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res\layout\system_bar_notifica
tion_panel_title.xml:19: error: Error: No resource found that matches the given
name (at 'style' with value '@style/SystemBarNotificationText').
C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res\layout\system_bar_notifica
tion_panel_title.xml:21: error: Error: No resource found that matches the given
name (at 'style' with value '@style/SystemBarNotificationText').
C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res\layout\system_bar_settings
_view.xml:5: error: Error: No resource found that matches the given name (at 'st
yle' with value '@style/SystemBarPanelSettingsRow').
C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res\layout\system_bar_settings
_view.xml:6: error: Error: No resource found that matches the given name (at 'st
yle' with value '@style/SystemBarPanelSettingsIcon').
C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res\layout\system_bar_settings
_view.xml:7: error: Error: No resource found that matches the given name (at 'st
yle' with value '@style/SystemBarPanelSettingsContents').
C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res\layout\system_bar_settings
_view.xml:10: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res\layout\system_bar_settings
_view.xml:11: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarPanelSettingsRow').
C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res\layout\system_bar_settings
_view.xml:12: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarPanelSettingsIcon').
C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res\layout\system_bar_settings
_view.xml:13: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarPanelSettingsContents').
C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res\layout\system_bar_settings
_view.xml:15: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res\layout\system_bar_settings
_view.xml:16: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarPanelSettingsRow').
C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res\layout\system_bar_settings
_view.xml:17: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarPanelSettingsIcon').
C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res\layout\system_bar_settings
_view.xml:18: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarPanelSettingsContents').
C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res\layout\system_bar_settings
_view.xml:21: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res\layout\system_bar_settings
_view.xml:22: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarPanelSettingsRow').
C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res\layout\system_bar_settings
_view.xml:23: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarPanelSettingsIcon').
C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res\layout\system_bar_settings
_view.xml:26: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res\layout\system_bar_settings
_view.xml:27: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarPanelSettingsRow').
C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res\layout\system_bar_settings
_view.xml:28: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarPanelSettingsIcon').
C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res\layout\system_bar_settings
_view.xml:29: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarPanelSettingsContents').
C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res\layout\system_bar_settings
_view.xml:32: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res\layout\system_bar_settings
_view.xml:33: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarPanelSettingsRow').
C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res\layout\system_bar_settings
_view.xml:34: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarPanelSettingsIcon').
C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res\layout\system_bar_settings
_view.xml:35: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarPanelSettingsContents').
C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res\layout\system_bar_settings
_view.xml:37: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarPanelSettingsPanelSeparator').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 18, --target-sdk-version, 18, -F, C:\Users\Dylan\AppData\Local\Temp
\APKTOOL3727523403346755097.tmp, -I, C:\Users\Dylan\apktool\framework\1.apk, -S,
C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res, -M, C:\Users\Dylan\Downl
oads\APKTool\APKTool\SystemUI\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:355)
at brut.androlib.Androlib.buildResources(Androlib.java:280)
at brut.androlib.Androlib.build(Androlib.java:203)
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.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 18, --target-sdk-version, 18, -F, C:
\Users\Dylan\AppData\Local\Temp\APKTOOL3727523403346755097.tmp, -I, C:\Users\Dyl
an\apktool\framework\1.apk, -S, C:\Users\Dylan\Downloads\APKTool\APKTool\SystemU
I\res, -M, C:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\AndroidManifest.xml
]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:335)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:333)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 18, --target-sdk-version, 18, -F, C:\Users\Dylan\AppData\Local\Temp\A
PKTOOL3727523403346755097.tmp, -I, C:\Users\Dylan\apktool\framework\1.apk, -S, C
:\Users\Dylan\Downloads\APKTool\APKTool\SystemUI\res, -M, C:\Users\Dylan\Downloa
ds\APKTool\APKTool\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:333)
... 6 more
I understand that the styles are missing, but he, I'm recompiling it, so shouldn't they be there!?
I assume I'm missing an .apk file which I have to include, but I don't quite get which one, or wether it's caused by aapt or the apk's..
as this is my first apk editing, I'd thought I could ask for help around here.
Regards!
Make sure you're using both of the frameworks...
eg...
apktool if framework-res.apk
apktool if twframework-res.apk
and try again....
EDIT - Just realised you're trying to decompile & recompile AOSP/CM SystemUI. Ignore my comment above....
EDIT2 - Ive had a look into it and the styles that are showing as missing should be in SystemUI\res\values-sw720dp\styles.xml
Are you using the latest apktool/aapt from here - http://forum.xda-developers.com/showthread.php?t=1755243
I've just successfully decompiled/recompiled the SystemUI from Slim 4.3.
Hope this helps...
mikep99 said:
Make sure you're using both of the frameworks...
eg...
apktool if framework-res.apk
apktool if twframework-res.apk
and try again....
EDIT - Just realised you're trying to decompile & recompile AOSP/CM SystemUI. Ignore my comment above....
EDIT2 - Ive had a look into it and the styles that are showing as missing should be in SystemUI\res\values-sw720dp\styles.xml
Are you using the latest apktool/aapt from here - http://forum.xda-developers.com/showthread.php?t=1755243
I've just successfully decompiled/recompiled the SystemUI from Slim 4.3.
Hope this helps...
Click to expand...
Click to collapse
I'm recompiling the SystemUI.apk of sammy's original 4.3, and there is no values-sw720dp directory in /res as I can see..
I just updated apktool and aapt using the given links, but the problem still occurs.. ( the exact same )
Thanks for trying to help me out!
(
AAPT.exe crc32 = 0x3D99FA82
APKTOOL.jar crc32 = 0xF4E84FE0
)
EDIT:
I added them manually from the android sdk.. compiling fine now, but I still don't understand why it was missing
HalfDead93 said:
I'm recompiling the SystemUI.apk of sammy's original 4.3, and there is no values-sw720dp directory in /res as I can see..
I just updated apktool and aapt using the given links, but the problem still occurs.. ( the exact same )
Thanks for trying to help me out!
Click to expand...
Click to collapse
No problem.
Have a look at this post - http://forum.xda-developers.com/showpost.php?p=46773564&postcount=2124
It looks like the same problem you're having.
mikep99 said:
No problem.
Have a look at this post - http://forum.xda-developers.com/showpost.php?p=46773564&postcount=2124
It looks like the same problem you're having.
Click to expand...
Click to collapse
Yup, I did the exact same and it's working just fine :]
Thanks for helping out!
HalfDead93 said:
Yup, I did the exact same and it's working just fine :]
Thanks for helping out!
Click to expand...
Click to collapse
Out of interest, can you tell me how you found the styles in the SDK?
I've got the IDE/SDK installed but can't work it out
mikep99 said:
Out of interest, can you tell me how you found the styles in the SDK?
I've got the IDE/SDK installed but can't work it out
Click to expand...
Click to collapse
well, not the SDK, sorry, but the github of a sysui
( cant post links, so no link )
HalfDead93 said:
well, not the SDK, sorry, but the github of a sysui
( cant post links, so no link )
Click to expand...
Click to collapse
ah, right. Thanks for the info...
Related
Hey guys....I started working on MIUI patch ROM but m a newbie in Ubuntu so m stuck with a permission thing, hope someone can help..
When i execute make command, this is what i get
Code:
[email protected]:/home/ubuntu/Desktop/MiCode-legacy-patchrom-a6a023f/P500# make
/home/ubuntu/Desktop/MiCode-legacy-patchrom-a6a023f/tools/apktool d -f /home/ubuntu/Desktop/MiCode-legacy-patchrom-a6a023f/miui/system/framework/services.jar .build/services_miui
make: execvp: /home/ubuntu/Desktop/MiCode-legacy-patchrom-a6a023f/tools/apktool: Permission denied
make: *** [.build/services_miui] Error 127
Don't use ur desktop folder..use your home folder..
for permissions use chmod u+x pathofffilename
Sent from my HTC Explorer A310e using Tapatalk 2
williamcharles said:
Don't use ur desktop folder..use your home folder..
for permissions use chmod u+x pathofffilename
Sent from my HTC Explorer A310e using Tapatalk 2
Click to expand...
Click to collapse
I had tried in home folder but that didn't worked.. and for permission, do I have to give permission to apktool coz apktool can't execute commands..
Sent from my LG-P500 using Tapatalk 2
fundoozzz said:
Hey guys....I started working on MIUI patch ROM but m a newbie in Ubuntu so m stuck with a permission thing, hope someone can help..
When i execute make command, this is what i get
Code:
[email protected]:/home/ubuntu/Desktop/MiCode-legacy-patchrom-a6a023f/P500# make
/home/ubuntu/Desktop/MiCode-legacy-patchrom-a6a023f/tools/apktool d -f /home/ubuntu/Desktop/MiCode-legacy-patchrom-a6a023f/miui/system/framework/services.jar .build/services_miui
make: execvp: /home/ubuntu/Desktop/MiCode-legacy-patchrom-a6a023f/tools/apktool: Permission denied
make: *** [.build/services_miui] Error 127
Click to expand...
Click to collapse
you are root so you should have all permission.just check you install everything perfect. btw don't need to become root user
check mdroid studioandroid for help
aspee said:
you are root so you should have all permission.just check you install everything perfect. btw don't need to become root user
check mdroid studioandroid for help
Click to expand...
Click to collapse
yes thats what I was wondering coz I was root....n patch ROM compiling is different so mdroid's studio won't work... Any idea!!
Bump...... !!! Arjen!! Bytecode!!
Sent from my LG-P500 using Tapatalk 2
M not sure, but try chmod 777 'pathoffile'...
Sent from my LG-P500 using xda premium
Update:-
All errors except one resolved and after this only zip needs to be formed for testing..
Now the bad part is that SystemUI.apk refuse to compile...
Everyone on github is facing same issue.
I will be editing miuisystemui.apk and if this doesn't work then I will be needing developers help to edit the porting.mk file so that it skips miuisystemui.apk compilation
So the error is this while compiling SystemUI
Code:
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:2: error: Error: No resource found that matches the given name (at 'layout_marginBottom' with value '@dimen/notification_item_divider_height').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:6: error: Error: No resource found that matches the given name (at 'id' with value '@id/usb_mode_notification').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:7: error: Error: No resource found that matches the given name (at 'layout_width' with value '@dimen/notification_icon_size').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:7: error: Error: No resource found that matches the given name (at 'layout_height' with value '@dimen/notification_icon_size').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:8: error: Error: No resource type specified (at 'textAppearance' with value '@101580807').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:8: error: Error: No resource found that matches the given name (at 'text' with value '@string/usb_mode_notification').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:9: error: Error: No resource found that matches the given name (at 'id' with value '@id/usb_mode_button').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle_list').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:5: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:5: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:6: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:6: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:7: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:7: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:8: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:8: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:10: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle_list').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:11: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:11: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:12: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:12: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:13: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:13: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:14: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:14: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:16: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle_list').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:17: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:17: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:18: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:19: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:19: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:20: error: Error: No resource found that matches the given name (at 'id' with value '@id/brightness_toggle').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:20: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:22: error: Error: No resource found that matches the given name (at 'id' with value '@id/manual_brightness_panel').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:24: error: Error: No resource found that matches the given name (at 'id' with value '@id/manual_briException in thread "main" ghtness').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_toggle.xml:2: error: Error: No resource found that matches the given name (at 'id' with value '@id/button_privacy_mode').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_toggle_divider.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/status_bar_toggle_divider_lable').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_toggle_divider.xml:4: error: Error: No resource found that matches the given name (at 'text' with value '@string/status_bar_toggle_divider_list').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_toggle_divider.xml:4: error: Error: No resource found that matches the given name (at 'style' with value '@*miui:style/TextAppearance.ListView.SecondaryItem').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_toggle_item.xml:2: error: Error: No resource found that matches the given name (at 'style' with value '@*miui:style/ListItem').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_toggle_item.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/icon').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_toggle_item.xml:5: error: Error: No resource found that matches the given name (at 'id' with value '@id/title').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_toggle_item.xml:5: error: Error: No resource found that matches the given name (at 'style' with value '@*miui:style/TextAppearance.ListView.PrimaryItem').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_toggle_item.xml:6: error: Error: No resource found that matches the given name (at 'id' with value '@id/drag_handle').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/status_bar_toggle_style_compact').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:6: error: Error: No resource type specified (at 'textAppearance' with value '@101580854').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:6: error: Error: No resource found that matches the given name (at 'id' with value '@id/status_bar_toggle_style_compact_text').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:6: error: Error: No resource found that matches the given name (at 'text' with value '@string/status_bar_toggle_style_compact').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:8: error: Error: No resource found that matches the given name (at 'id' with value '@id/status_bar_toggle_style_single_page').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:10: error: Error: No resource type specified (at 'textAppearance' with value '@101580854').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:10: error: Error: No resource found that matches the given name (at 'id' with value '@id/status_bar_toggle_style_single_page_text').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:10: error: Error: No resource found that matches the given name (at 'text' with value '@string/status_bar_toggle_style_single_page').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/xml/toggle_settings.xml:2: error: Error: No resource found that matches the given name (at 'title' with value '@string/status_bar_toggle_settings').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/xml/toggle_settings.xml:5: error: Error: No resource found that matches the given name (at 'title' with value '@string/status_bar_toggle_style').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/xml/toggle_settings.xml:6: error: Error: No resource found that matches the given name (at 'title' with value '@string/status_bar_toggle_style').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/xml/toggle_settings.xml:9: error: Error: No resource found that matches the given name (at 'title' with value '@string/status_bar_toggle_arrangement').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/xml/toggle_settings.xml:12: error: Error: No resource found that matches the given name (at 'title' with value '@string/battery_indicator_style').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/xml/toggle_settings.xml:13: error: Error: No resource found that matches the given name (at 'title' with value '@string/default_usb_mode').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/xml/toggle_settings.xml:14: error: Error: No resource found that matches the given name (at 'title' with value '@string/expandable_under_fullscreen').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/xml/toggle_settings.xml:14: error: Error: No resource found that matches the given name (at 'summary' with value '@string/expandable_under_fullscreen_summary').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/xml/toggle_settings.xml:15: error: Error: No resource found that matches the given name (at 'title' with value '@string/enable_back_long_press').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/color/tab_lable_color.xml:4: error: Error: No resource found that matches the given name (at 'color' with value '@color/tab_lable_color_p').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/color/tab_lable_color.xml:5: error: Error: No resource found that matches the given name (at 'color' with value '@color/tab_lable_color_p').
/home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res/color/tab_lable_color.xml:6: error: Error: No resource found that matches the given name (at 'color' with value '@color/tab_lable_color_n').
brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL1354576437632756126.tmp, -I, /root/apktool/framework/1.apk, -S, /home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res, -M, /home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL1354576437632756126.tmp, -I, /root/apktool/framework/1.apk, -S, /home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/res, -M, /home/saurabh/Desktop/MiCode-legacy-patchrom-a6a023f/P500/.build/SystemUI/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
make: *** [.build/MIUISystemUI.apk] Error 1
Already referred this
And below i am attaching build folder so if someone can modify it to skip compilation of MIUISystemUI.apk
These are all xml missing resources error...xml contains the layout...how android will display its contents..its menu..setting...its option...u need to check in xml files for this error.
Sent from my HTC Explorer A310e using Tapatalk 2
williamcharles said:
These are all xml missing resources error...xml contains the layout...how android will display its contents..its menu..setting...its option...u need to check in xml files for this error.
Sent from my HTC Explorer A310e using Tapatalk 2
Click to expand...
Click to collapse
Had already checked that and everything is in place.. can u modify build folder to skip building systemui...
Thanks
fundoozzz said:
Had already checked that and everything is in place.. can u modify build folder to skip building systemui...
Thanks
Click to expand...
Click to collapse
Decompile framework port miui gb systemui and compared with yours
Sent from my LG-P500 using xda premium
ROM compiled but didn't boot..not even the boot animation...and the bad part is my lappy ditched again,so can't work
fundoozzz said:
ROM compiled but didn't boot..not even the boot animation...and the bad part is my lappy ditched again,so can't work
Click to expand...
Click to collapse
What's the logcat says?
Its first attempt to boot and you got failure that doesn't mean it wont boot
Keep moving forward!
Sent from my LG-P500 using xda premium
aspee said:
What's the logcat says?
Its first attempt to boot and you got failure that doesn't mean it wont boot
Keep moving forward!
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
Can't get log...laptop dead..
Any1 wanna help!!!!
Someone Please Help me, I Can't Compile my Settings.apk
Here the Log :
--------------------------------------------------------------------------
|21/12/2012 -- 6:16:27,00|
--------------------------------------------------------------------------
'chcp' is not recognized as an internal or external command,
operable program or batch file.
'mode' is not recognized as an internal or external command,
operable program or batch file.
java version "1.7.0_06"
Java(TM) SE Runtime Environment (build 1.7.0_06-b24)
Java HotSpot(TM) Client VM (build 23.2-b09, mixed mode, sharing)
'mode' is not recognized as an internal or external command,
operable program or batch file.
'mode' is not recognized as an internal or external command,
operable program or batch file.
I: Copying raw classes.dex file...
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\user\apktool\framework\1-api16.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
'mode' is not recognized as an internal or external command,
operable program or batch file.
I: Copying classes.dex file...
I: Checking whether resources has changed...
I: Building resources...
E:\Apk-Changer_alpha13\out\Settings\res\layout\lockscreen_targets.xml:7: error: No resource identifier found for attribute 'rightChevronDrawable' in package 'android'
E:\Apk-Changer_alpha13\out\Settings\res\layout\lockscreen_targets.xml:7: error: No resource identifier found for attribute 'hitRadius' in package 'android'
E:\Apk-Changer_alpha13\out\Settings\res\layout\lockscreen_targets.xml:7: error: No resource identifier found for attribute 'verticalOffset' in package 'android'
E:\Apk-Changer_alpha13\out\Settings\res\layout\lockscreen_targets.xml:7: error: No resource identifier found for attribute 'horizontalOffset' in package 'android'
E:\Apk-Changer_alpha13\out\Settings\res\layout-land\lockscreen_targets.xml:8: error: No resource identifier found for attribute 'rightChevronDrawable' in package 'android'
E:\Apk-Changer_alpha13\out\Settings\res\layout-land\lockscreen_targets.xml:8: error: No resource identifier found for attribute 'hitRadius' in package 'android'
E:\Apk-Changer_alpha13\out\Settings\res\layout-land\lockscreen_targets.xml:8: error: No resource identifier found for attribute 'verticalOffset' in package 'android'
E:\Apk-Changer_alpha13\out\Settings\res\layout-land\lockscreen_targets.xml:8: error: No resource identifier found for attribute 'horizontalOffset' in package 'android'
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\user\AppData\Local\Temp\APKTOOL5694611997528935709.tmp, -I, C:\Users\user\apktool\framework\1-api16.apk, -S, E:\Apk-Changer_alpha13\out\Settings\res, -M, E:\Apk-Changer_alpha13\out\Settings\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:251)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)
at brut.androlib.Androlib.buildResources(Androlib.java:269)
at brut.androlib.Androlib.build(Androlib.java:192)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.apktool.Main.cmdBuild(Main.java:185)
at brut.apktool.Main.main(Main.java:70)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\user\AppData\Local\Temp\APKTOOL5694611997528935709.tmp, -I, C:\Users\user\apktool\framework\1-api16.apk, -S, E:\Apk-Changer_alpha13\out\Settings\res, -M, E:\Apk-Changer_alpha13\out\Settings\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:249)
... 6 more
'mode' is not recognized as an internal or external command,
operable program or batch file.
'mode' is not recognized as an internal or external command,
operable program or batch file.
Click to expand...
Click to collapse
I use Apkchanger to compile my Settings.apk and I using CM9 ROM.
Please Help me!
Ok lets break this down so you can "in future" know how to debug what your doing.
"DCTDR" (Design, Coding, Testing, Debugging, Repeat) :laugh:
Ok now i have had my fun.
Code:
'chcp' is not recognized as an internal or external command,
operable program or batch file.
'mode' is not recognized as an internal or external command,
operable program or batch file.
This means that you computer can not find these files, either the library is not installed or your not linking to it.
java version "1.7.0_06"
Java(TM) SE Runtime Environment (build 1.7.0_06-b24)
Java HotSpot(TM) Client VM (build 23.2-b09, mixed mode, sharing)
Click to expand...
Click to collapse
Your JAVA is outdated, with newer version of java there are bug fixes and more library implemented/added. if the program you using is built on a newer version of java you may have issues building applications. also make sure you get the updated JDK <-development kit not the EE version
Head over HERE to get the update
Code:
E:\Apk-Changer_alpha13\out\Settings\res\layout\lockscreen _targets.xml:7: error: No resource identifier found for attribute 'rightChevronDrawable' in package 'android'
E:\Apk-Changer_alpha13\out\Settings\res\layout\lockscreen _targets.xml:7: error: No resource identifier found for attribute 'hitRadius' in package 'android'
E:\Apk-Changer_alpha13\out\Settings\res\layout\lockscreen _targets.xml:7: error: No resource identifier found for attribute 'verticalOffset' in package 'android'
E:\Apk-Changer_alpha13\out\Settings\res\layout\lockscreen _targets.xml:7: error: No resource identifier found for attribute 'horizontalOffset' in package 'android'
E:\Apk-Changer_alpha13\out\Settings\res\layout-land\lockscreen_targets.xml:8: error: No resource identifier found for attribute 'rightChevronDrawable' in package 'android'
E:\Apk-Changer_alpha13\out\Settings\res\layout-land\lockscreen_targets.xml:8: error: No resource identifier found for attribute 'hitRadius' in package 'android'
E:\Apk-Changer_alpha13\out\Settings\res\layout-land\lockscreen_targets.xml:8: error: No resource identifier found for attribute 'verticalOffset' in package 'android'
E:\Apk-Changer_alpha13\out\Settings\res\layout-land\lockscreen_targets.xml:8: error: No resource identifier found for attribute 'horizontalOffset' in package 'android'
solve the previous issues and this may resolve it's self. from the quick read i had it's telling you that you have an attribute but it does not call/use anything, making it unused code.
which i believe starts from this Warning
Code:
W: Skipping "android" package group
on a further read it skipped it, so it cant find it when trying to recompile
what helped me out was to make a backup of the framework file the app comes with and use the framework-res.apk from your rom
Code:
I: Loading resource table from file: C:\Users\user\apktool\framework\1-api16.apk
replace with your framework-res.apk
Although i di use FJ APKTools 2.4.
think of a resource identifier as a name of the pizza your want to buy.
Now the attribute is the pizza
so in English it say's, hey i want that pizza, but the shop says, sorry we dont have it
narcarsiss said:
Ok lets break this down so you can "in future" know how to debug what your doing.
"DCTDR" (Design, Coding, Testing, Debugging, Repeat) :laugh:
Ok now i have had my fun.
Code:
'chcp' is not recognized as an internal or external command,
operable program or batch file.
'mode' is not recognized as an internal or external command,
operable program or batch file.
This means that you computer can not find these files, either the library is not installed or your not linking to it.
Your JAVA is outdated, with newer version of java there are bug fixes and more library implemented/added. if the program you using is built on a newer version of java you may have issues building applications. also make sure you get the updated JDK <-development kit not the EE version
Head over HERE to get the update
Code:
E:\Apk-Changer_alpha13\out\Settings\res\layout\lockscreen _targets.xml:7: error: No resource identifier found for attribute 'rightChevronDrawable' in package 'android'
E:\Apk-Changer_alpha13\out\Settings\res\layout\lockscreen _targets.xml:7: error: No resource identifier found for attribute 'hitRadius' in package 'android'
E:\Apk-Changer_alpha13\out\Settings\res\layout\lockscreen _targets.xml:7: error: No resource identifier found for attribute 'verticalOffset' in package 'android'
E:\Apk-Changer_alpha13\out\Settings\res\layout\lockscreen _targets.xml:7: error: No resource identifier found for attribute 'horizontalOffset' in package 'android'
E:\Apk-Changer_alpha13\out\Settings\res\layout-land\lockscreen_targets.xml:8: error: No resource identifier found for attribute 'rightChevronDrawable' in package 'android'
E:\Apk-Changer_alpha13\out\Settings\res\layout-land\lockscreen_targets.xml:8: error: No resource identifier found for attribute 'hitRadius' in package 'android'
E:\Apk-Changer_alpha13\out\Settings\res\layout-land\lockscreen_targets.xml:8: error: No resource identifier found for attribute 'verticalOffset' in package 'android'
E:\Apk-Changer_alpha13\out\Settings\res\layout-land\lockscreen_targets.xml:8: error: No resource identifier found for attribute 'horizontalOffset' in package 'android'
solve the previous issues and this may resolve it's self. from the quick read i had it's telling you that you have an attribute but it does not call/use anything, making it unused code.
which i believe starts from this Warning
Code:
W: Skipping "android" package group
on a further read it skipped it, so it cant find it when trying to recompile
what helped me out was to make a backup of the framework file the app comes with and use the framework-res.apk from your rom
Code:
I: Loading resource table from file: C:\Users\user\apktool\framework\1-api16.apk
replace with your framework-res.apk
Although i di use FJ APKTools 2.4.
think of a resource identifier as a name of the pizza your want to buy.
Now the attribute is the pizza
so in English it say's, hey i want that pizza, but the shop says, sorry we dont have it
Click to expand...
Click to collapse
Thank you! I Try it!
Q&A for [Tool]Advanced ApkTool v3.0.0[Windows][02/09/2014]
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer. Thanks for understanding and for helping to keep XDA neat and tidy! :smile:
UNABLE TO DECOMPILE ([Tool]Advanced ApkTool v3.0.0[Windows][02/09/2014])
HI,
I encountered an error when trying to decompile an apk file. Please help. What's the reason why such this error occurs?
Thanks in advance.
Error message: "Windows cannot find '1-BDFreak\DecompileFile.exe'. Make sure you typed the name correctly, and then try again.
Sign The Apk
How can i put my custon apk signature? its a .keys or something like that in the Advanced apktool?
Not Decompile framework-res.apk sony Z android 4.4.4
Log For : framework-res.apk
Log Type : Decompiling
Log Recorded At : 28 2014-10- 15:00:47,57
Log Recorded By : Advanced ApkTool v3.0.0 By BDFreak
------------------------------------------------------
W: Could not decode attr value, using undecoded value instead: ns=somc, name=drawable, value=0x010805f9
W: Could not decode attr value, using undecoded value instead: ns=somc, name=color, value=0x02060003
W: Could not decode attr value, using undecoded value instead: ns=somc, name=drawable, value=0x01080720
W: Could not decode attr value, using undecoded value instead: ns=somc, name=color, value=0x02060002
W: Could not decode attr value, using undecoded value instead: ns=somc, name=drawable, value=0x010805fd
Click to expand...
Click to collapse
hello..
when i recompile an apk there is in the last two lines a message SYNTAXERROR... why?? the apk goes well after it but the message??thx
Thnks. Worked well for me.
Im getting this error when recompiling :
Code:
Log For : SystemUI.apk
Log Type : Recompiling
Log Recorded At : 01 2015-01- 7:16:30.12
Log Recorded By : Advanced ApkTool v4.1.0 By BDFreak
------------------------------------------------------
W: Could not find sources
D:\ANDROID_ROOT\apktool\AdvancedApkTool\3-Out\SystemUI.apk\res\values\styles.xml:35: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar'.
D:\ANDROID_ROOT\apktool\AdvancedApkTool\3-Out\SystemUI.apk\res\values\styles.xml:36: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar'.
D:\ANDROID_ROOT\apktool\AdvancedApkTool\3-Out\SystemUI.apk\res\values\styles.xml:41: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar'.
D:\ANDROID_ROOT\apktool\AdvancedApkTool\3-Out\SystemUI.apk\res\values\styles.xml:51: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar'.
D:\ANDROID_ROOT\apktool\AdvancedApkTool\3-Out\SystemUI.apk\res\values\styles.xml:151: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar.Ticker'.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\MatanUsr\AppData\Local\Temp\brut_util_Jar_7443338616867257935.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 21, --version-name, 5.0.1-1602158, -F, C:\Users\MatanUsr\AppData\Local\Temp\APKTOOL7585641528169933212.tmp, -I, D:\ANDROID_ROOT\apktool\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -S, D:\ANDROID_ROOT\apktool\AdvancedApkTool\3-Out\SystemUI.apk\res, -M, D:\ANDROID_ROOT\apktool\AdvancedApkTool\3-Out\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:437)
at brut.androlib.Androlib.buildResources(Androlib.java:374)
at brut.androlib.Androlib.build(Androlib.java:277)
at brut.androlib.Androlib.build(Androlib.java:250)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\MatanUsr\AppData\Local\Temp\brut_util_Jar_7443338616867257935.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 21, --version-name, 5.0.1-1602158, -F, C:\Users\MatanUsr\AppData\Local\Temp\APKTOOL7585641528169933212.tmp, -I, D:\ANDROID_ROOT\apktool\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -S, D:\ANDROID_ROOT\apktool\AdvancedApkTool\3-Out\SystemUI.apk\res, -M, D:\ANDROID_ROOT\apktool\AdvancedApkTool\3-Out\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:488)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:423)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\MatanUsr\AppData\Local\Temp\brut_util_Jar_7443338616867257935.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 21, --version-name, 5.0.1-1602158, -F, C:\Users\MatanUsr\AppData\Local\Temp\APKTOOL7585641528169933212.tmp, -I, D:\ANDROID_ROOT\apktool\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -S, D:\ANDROID_ROOT\apktool\AdvancedApkTool\3-Out\SystemUI.apk\res, -M, D:\ANDROID_ROOT\apktool\AdvancedApkTool\3-Out\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:482)
... 6 more
I get this error even when Im recompiling straight after decompiling
hhhhhhhhhhelp
Recompiling : 1.apk
Started : 05-01-2015 23:52:27.19
I: Using Apktool 2.0.0-RC3 on 1.apk
I: Smaling smali folder into classes.de
I: Building resources...
Complete : Yes
Success : No
Ended : 05-01-2015 23:52:36.98
Syriamanal said:
How can i put my custon apk signature?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1231561
help
the system cannot find the file specified
Help please
whats wrong with mine?
dear friends
i try to decompile and recompile, when its on recompile stage its always say complete yes , succes : no
please help, what should i do?
thank you very much
Thank you so much
before I think I stupid because never succes recompile, but this tool is awesome, all apk succes recompile, sign, zipalign, and installed on my device.. thanks, good job ..
Why return to the compilation fails
Why return to the compilation fails???
Log For : KeyguardSPlannerWidget.apk
Log Type : Recompiling
Log Recorded At : 2015 11-02-周三 10:48:56.77
Log Recorded By : Advanced ApkTool v4.1.0 By BDFreak
------------------------------------------------------
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:245)
at brut.androlib.Androlib.build(Androlib.java:257)
at brut.androlib.Androlib.build(Androlib.java:250)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:240)
... 4 more
------------------------------------------------------
could you tell me how to solve this question?
when i was recompiling an apk file a got the following errors as attached, plz help
hi guys, this is the first time I decompile and recompile systeUI KitKat and I have a problem here.
I use this tool to decompile and recompile my systemUI I just replace one image and some value in the string but after I plug in my device I get my statusbar lost and my ScreenLock became black.
is there someone know a solution for this?
for information:
OS: KK 4.4.2
Thanks
i use v 4.1.0
had unsuccess decompiling systemui
here the log
[code}
Log For : SystemUI.apk
Log Type : Decompiling
Log Recorded At : Fri 15-05-2015 16:41:15.22
Log Recorded By : Advanced ApkTool v4.1.0 By BDFreak
------------------------------------------------------
Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:54)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:604)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:74)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:66)
at brut.androlib.Androlib.getResTable(Androlib.java:49)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:93)
at brut.apktool.Main.cmdDecode(Main.java:169)
at brut.apktool.Main.main(Main.java:85)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:43)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:95)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:81)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 7 more
------------------------------------------------------
[/code]
Xiami Music apk , translate from Chine to Spanish
Hi,
xiami-android-spark_701287.apk
The app work perfect in me find7, download music free
I translate string.xml from chine to spanish in app Xiami Music..
After decompile and modify the "string.xml" file that belongs to the "values" folder, compiled and signed application. I return to install, all ok, but links are not working.
If I do not make any modifications to the application, and perform the same operation, the same applies, links are not working.
I use framework of oppo find7.
The application is supplied for any android device, if so use that framework? Is necesary?
Thanks if you help me solve the problem.
I have movil lenguage in spanish-US.
Got an error when recompiling apk
well, i guess i need help here when using Advanced ApkTool v4.1.0.
everything runs well from installing framework-res.apk to decompiling an apk. But when i tried to recompile the apk, it didn't work.
here's the log :
Log For : test-1.apk
Log Type : Recompiling
Log Recorded At : Tue 16-06-2015 11:19:58.01
Log Recorded By : Advanced ApkTool v4.1.0 By BDFreak
------------------------------------------------------
..\3-Out\test-1.apk\smali\com\amazon\inapp\purchasing\ContentDownloadRequest$1.smali[28,0] mismatched input '' expecting END_METHOD_DIRECTIVE
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/amazon/inapp/purchasing/ContentDownloadRequest$1.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:71)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:55)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:371)
at brut.androlib.Androlib.buildSources(Androlib.java:298)
at brut.androlib.Androlib.build(Androlib.java:282)
at brut.androlib.Androlib.build(Androlib.java:256)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
------------------------------------------------------
Click to expand...
Click to collapse
FYI, i didn't do anything with files (modifying it). What i did just decompile and recompile. I just wanna try if this tool works.
can someone help me?
much appreciated..
Hi, thanks for the version Advanced ApkTool v4.1.0.
I am a newbie, I try to decompile Xperia Movie Creator 3.1.A.0.5 but getting error log (as attached).
Appreciate it if you can help me.
I am not able to attache attachment in this reply.
The log starts like this:
Log For : MovieCreator_3.1.A.0.5.apk
Log Type : Decompiling
Log Recorded At : 10 2015-08- 10:53:00.68
Log Recorded By : Advanced ApkTool v4.1.0 By BDFreak
------------------------------------------------------
W: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x7f100134
and it ends like this
W: Could not decode attr value, using undecoded value instead: ns=android, name=value, value=0x7f0e0007
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x7f100134
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:59)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:57)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:53)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:60)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:47)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:45)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:41)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:369)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamDecoder.java:83)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:141)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPullStreamDecoder.java:153)
at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecoder.java:134)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:296)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:131)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:101)
at brut.apktool.Main.cmdDecode(Main.java:165)
at brut.apktool.Main.main(Main.java:81)
------------------------------------------------------
Please help, thanks,
Marcus
Q&A for [TOOL][CROSSPLATFORM] jBART - BurgerZ Android ROM Tools
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [TOOL][CROSSPLATFORM] jBART - BurgerZ Android ROM Tools. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Download link not working
By I came to know about this from another threat and I want to use it translate some special apPS of less is to English but unfortunately downloading link not working and also how to apps duthch language to English by it
:angel:
jBart - MIUI v6 - MiNote Pro
Hello,
I am trying to decompile and compile rom for miui note pro Version: V6.6.4.0.LXHCNCF (MIUI6)downloaded from miui site with jBart.
But even when I just decompile and compile apks, so few of them end up with error. First I had problem with resource folders which contains mcc9999 in their names, after I removed those folders I was able to compile without errors more apks. I have tried to search for a solution of those problems but I couldnt find it.
(I use the newest version from github)
But according to log I am still unable to compile those apks:
Code:
.....
[24.07.2015 23:45:21] I: ******** All files compiled ********
[24.07.2015 23:45:21] I: Errors found: 9
[24.07.2015 23:45:21] I: --> FileExplorer.apk
[24.07.2015 23:45:21] I: --> miui.apk
[24.07.2015 23:45:21] I: --> miuisystem.apk
[24.07.2015 23:45:21] I: --> Stk.apk
[24.07.2015 23:45:21] I: --> InCallUI.apk
[24.07.2015 23:45:21] I: --> Music.apk
[24.07.2015 23:45:21] I: --> Settings.apk
[24.07.2015 23:45:21] I: --> framework-ext-res.apk
[24.07.2015 23:45:21] I: --> framework-res.apk
.....
For example for miui.apk it says "no resource found"
Code:
.....
[24.07.2015 23:43:45] W: C:\Users\Tadeáš\Desktop\ROM\jBART-master\miui_MINotePro_V6.6.4.0.LXHCNCF_d2da9d1ea3_5.0.zip.bzprj\appDecompiled\system__app__miui\miui.apk\res\color\spinner_list_text_light.xml:4: error: Error: No resource found that matches the given name (at 'color' with value '@color/spinner_list_text_color_disabled_light').
[24.07.2015 23:43:45] W:
[24.07.2015 23:43:45] W: C:\Users\Tadeáš\Desktop\ROM\jBART-master\miui_MINotePro_V6.6.4.0.LXHCNCF_d2da9d1ea3_5.0.zip.bzprj\appDecompiled\system__app__miui\miui.apk\res\color\spinner_list_text_light.xml:5: error: Error: No resource found that matches the given name (at 'color' with value '@color/spinner_list_text_color_pressed_light').
[24.07.2015 23:43:45] W:
[24.07.2015 23:43:45] W: C:\Users\Tadeáš\Desktop\ROM\jBART-master\miui_MINotePro_V6.6.4.0.LXHCNCF_d2da9d1ea3_5.0.zip.bzprj\appDecompiled\system__app__miui\miui.apk\res\color\spinner_list_text_light.xml:6: error: Error: No resource found that matches the given name (at 'color' with value '@color/spinner_list_text_color_normal_light').
[24.07.2015 23:43:45] W:
[24.07.2015 23:43:45] W: C:\Users\Tadeáš\Desktop\ROM\jBART-master\miui_MINotePro_V6.6.4.0.LXHCNCF_d2da9d1ea3_5.0.zip.bzprj\appDecompiled\system__app__miui\miui.apk\res\color\tertiary_text_dark.xml:4: error: Error: No resource found that matches the given name (at 'color' with value '@color/dim_foreground_dark_disabled').
[24.07.2015 23:43:45] W:
[24.07.2015 23:43:45] W: C:\Users\Tadeáš\Desktop\ROM\jBART-master\miui_MINotePro_V6.6.4.0.LXHCNCF_d2da9d1ea3_5.0.zip.bzprj\appDecompiled\system__app__miui\miui.apk\res\color\tertiary_text_dark.xml:5: error: Error: No resource found that matches the given name (at 'color' with value '@color/pressed_text_dark').
[24.07.2015 23:43:45] W:
[24.07.2015 23:43:45] W: C:\Users\Tadeáš\Desktop\ROM\jBART-master\miui_MINotePro_V6.6.4.0.LXHCNCF_d2da9d1ea3_5.0.zip.bzprj\appDecompiled\system__app__miui\miui.apk\res\color\tertiary_text_dark.xml:6: error: Error: No resource found that matches the given name (at 'color' with value '@color/selected_text_dark').
[24.07.2015 23:43:45] W:
[24.07.2015 23:43:45] W: C:\Users\Tadeáš\Desktop\ROM\jBART-master\miui_MINotePro_V6.6.4.0.LXHCNCF_d2da9d1ea3_5.0.zip.bzprj\appDecompiled\system__app__miui\miui.apk\res\color\tertiary_text_dark.xml:7: error: Error: No resource found that matches the given name (at 'color' with value '@color/activated_text_dark').
.....
Someone solved this problem? Or any workaround how could I translate this rom? Before jBart I tried everything manualy but I had similar problems and could not overcome them.
Thanks for help! And sorry for my english
Seidak
Which miui version? Did u use latest jBart?
Version as I mentioned is ROM V6.6.4.0.LXHCNCF (MIUI6) and yes I use the latest version of jBart from GitHub.
How to decompile Miui V7 with godzila ui?
Flyme OS problem with jBART
jBart is really cool tool ;]
It would be great if you will make it possible to translate Flyme OS with it also (now I do it with single app decompilation ;p)
Hm, I have some small problem.
When I decompile and compile some files in Flyme OS 5.5.11.24 (without even making any changes) than the Overflow menu and dialogs doesn't work (app on phone stops running).
Does anyone have similar problem ?
I'm trying to de/compile SecSettings2 with apk manager.
and i have error:
C:\rom\apk_manager_6.1_fix_softdx\other\..\projects\SecSettings2.apk\res\layout-sw768dp\tap_hold_delay.xml:9: error: Error: No resource found that matches the given name (at 'style' with value '@style/TapAndHoldDelayButtonTab').
C:\rom\apk_manager_6.1_fix_softdx\other\..\projects\SecSettings2.apk\res\layout-sw768dp\tap_hold_delay.xml:10: error: Error: No resource found that matches the given name (at 'style' with value '@style/TapAndHoldDelayButtonTab').
I added framework-res.apk and twframework-res.apk. and it still doesn't work :crying: Need Help!