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!!!!
i have a error in my app
error: Error retrieving parent for item: No resource found that matches the given name '@*android:style/Theme.Holo'.
please help
You are compiling the project using an older API (a version below Android 4.0).
Be careful when you choose "Minimum Required SDK", "Target SDK" and "Compile With" for your project.
R: Eclipse error
Quote !
Keep up MEGA project.
Bye
When I try to create a new project android studio show up this error:
Error: Your project location contains whitespace.
How can I solve this?
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!
Whenever i tried to recompile any custom framework-res.apk (like oppo-framework-res.apk, oxygen-framework-res.apk, lenovo-res.apk, vivo-res.apk) i got error
errors are like:
W: Could not find sources
oxygen-framework-res.apk\res\layout\preference_dialog_colorpicker.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/colors_row_1').
preference_dialog_colorpicker.xml:6: error: Error: No resource found that matches the given name (at 'id' with value '@id/check_0'
oxygen-framework-res.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:465)
at brut.androlib.Androlib.buildResources(Androlib.java:403)
at brut.androlib.Androlib.build(Androlib.java:291)
at brut.androlib.Androlib.build(Androlib.java:261)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
No issue with decompile
I can decompile and recompile any other apps including framework-res.apk, just problem xxxy-framework-res.apk
please help...
how decompile framwork-res.apk?
pradeepsmehra said:
Whenever i tried to recompile any custom framework-res.apk (like oppo-framework-res.apk, oxygen-framework-res.apk, lenovo-res.apk, vivo-res.apk) i got error
errors are like:
W: Could not find sources
oxygen-framework-res.apk\res\layout\preference_dialog_colorpicker.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/colors_row_1').
preference_dialog_colorpicker.xml:6: error: Error: No resource found that matches the given name (at 'id' with value '@id/check_0'
oxygen-framework-res.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:465)
at brut.androlib.Androlib.buildResources(Androlib.java:403)
at brut.androlib.Androlib.build(Androlib.java:291)
at brut.androlib.Androlib.build(Androlib.java:261)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
No issue with decompile
I can decompile and recompile any other apps including framework-res.apk, just problem xxxy-framework-res.apk
please help...
Click to expand...
Click to collapse
ARe you installing all the frameworks files? Could be that apktool is not updated to work with that os. It is a common thing with china based OS that they make changes that apktool cant and wont support.
zelendel said:
ARe you installing all the frameworks files? Could be that apktool is not updated to work with that os. It is a common thing with china based OS that they make changes that apktool cant and wont support.
Click to expand...
Click to collapse
Thanks for reply ,
buddy i am using latest apktool version 2.02
only two framework are available in ROM both are installed.
yes ..i was thinking same that they are modding apk so that apktool not able to do re-engineering.
i also post error in apktool thread in github lets see if iBoatPaches will add support in next version of apktool ...
Have you tried installing systemui as well as the frameworks? It might be worth a shot usually helps with dummy files
Sent from my SM-N920C using Tapatalk
sawdoctor said:
Have you tried installing systemui as well as the frameworks? It might be worth a shot usually helps with dummy files
Sent from my SM-N920C using Tapatalk
Click to expand...
Click to collapse
yes buddy, i also tried that..
if i tried recompile in normal way its giving very log error log. then i tried to rename framework-res.apk into 1.apk and oxygen-framework-res.apk into 2.apk and place them c:/apktool/
now the error log is short, only 4xml value showing no resource.
C:\apktool\oxygen-framework-res\res\values\styles.xml:40: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Material.BaseDialog'.
C:\apktool\oxygen-framework-res\res\values\styles.xml:44: error: Error retrieving parent for item: No resource found that matches the given name'@android:style/Theme.Material.Dialog.BaseAlert'.
C:\apktool\oxygen-framework-res\res\values\styles.xml:51: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Material.SearchBar'.
C:\apktool\oxygen-framework-res\res\values\styles.xml:54: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Material.CompactMenu'.
pradeepsmehra said:
yes buddy, i also tried that..
if i tried recompile in normal way its giving very log error log. then i tried to rename framework-res.apk into 1.apk and oxygen-framework-res.apk into 2.apk and place them c:/apktool/
now the error log is short, only 4xml value showing no resource.
C:\apktool\oxygen-framework-res\res\values\styles.xml:40: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Material.BaseDialog'.
C:\apktool\oxygen-framework-res\res\values\styles.xml:44: error: Error retrieving parent for item: No resource found that matches the given name'@android:style/Theme.Material.Dialog.BaseAlert'.
C:\apktool\oxygen-framework-res\res\values\styles.xml:51: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Material.SearchBar'.
C:\apktool\oxygen-framework-res\res\values\styles.xml:54: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Material.CompactMenu'.
Click to expand...
Click to collapse
Have you tried a different apktool? I had to switch back to android 2.00 to decompile marshmallow framework
Sent from my SM-N920C using Tapatalk
sawdoctor said:
Have you tried a different apktool? I had to switch back to android 2.00 to decompile marshmallow framework
Sent from my SM-N920C using Tapatalk
Click to expand...
Click to collapse
yes i tried 2.0 also...
pradeepsmehra said:
yes i tried 2.0 also...
Click to expand...
Click to collapse
if any body can help, please here is the uploaded framework files. and error log
http://pastebin.com/KPbExsRE
https://drive.google.com/file/d/0B4wqBB_yOlMwNGh0YzZoWlFmSEk/view?usp=sharing