Android OS Forum banner

Decompile/recompile framework-res?

1810 Views 2 Replies 2 Participants Last post by  crackers8199
i'm curious, how do you recompile? i just got my dev edition today and my first goal was to pull framework-res and remove the wifi tether entitlement check. decompile and making the edit was easy, but on recompile i got the following error:

invalid resource directory name: /xxx/framework-res/res/values-mcc310-mnc-1
if i remove the last dash (i.e. change to values-mcc310-mnc1), it works...but i still get a warning on recompile:

aapt: warning: string 'usb_charge_notification_title' has no default translation in /xxx/framework-res/res; found: da de el es fr nb nl pt sv tr zh_CN zh_TW
i pushed the new framework to the phone and so far, it seems to work...but does anyone have any idea what's up with the errors? is it something that will cause any issues? is there a way to resolve it and get a clean decompile/recompile? i've tried using both beta7 and beta8 (which came from the apktool thread, i guess it's not publicly available yet?)
1 - 3 of 3 Posts
i'm curious, how do you recompile? i just got my dev edition today and my first goal was to pull framework-res and remove the wifi tether entitlement check. decompile and making the edit was easy, but on recompile i got the following error:

if i remove the last dash (i.e. change to values-mcc310-mnc1), it works...but i still get a warning on recompile:

i pushed the new framework to the phone and so far, it seems to work...but does anyone have any idea what's up with the errors? is it something that will cause any issues? is there a way to resolve it and get a clean decompile/recompile? i've tried using both beta7 and beta8 (which came from the apktool thread, i guess it's not publicly available yet?)
Delete the following folders if they exist:

values-mcc-310-mnc-1 and values-mcc-450-mnc-1
  • Like
Reactions: 1
Delete the following folders if they exist:
values-mcc-310-mnc-1 and values-mcc-450-mnc-1
Actually I just renamed them (removed the last dash, so mnc1 instead of mnc-1)...still seems to work. Hopefully that doesn't break anything...
1 - 3 of 3 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top