[TUT] How to use apktool for mobile

Search This thread

devilyuri

Senior Member
Mar 6, 2013
1,366
467
@markmellarpes

W: Could not find sources
I: Building resources...
aapt: warning: string 'Keypad_cancel' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'change_inputmethod_popup' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'global_action_data_mode_off_status' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'global_action_data_mode_on_status' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'global_action_toggle_data_mode' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'keyguard_pin_accepted' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'lockscreen_pin_locked_message' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'lockscreen_ruim_pin_blocked' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'lockscreen_sim_pin_blocked' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'permdesc_accessUsb' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: en_GB
aapt: warning: string 'permdesc_readOwnerData' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'permdesc_writeOwnerData' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'permlab_accessUsb' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: en_GB
aapt: warning: string 'permlab_readOwnerData' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'permlab_writeOwnerData' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'pleasewait' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH
aapt: warning: string 'status_bar_clear_all_button' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'status_bar_latest_events_title' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'status_bar_no_notifications_title' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'status_bar_ongoing_events_title' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'stopSelectingText' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'volume_warning_message' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: it
aapt: warning: string 'zzz_dual_clock_city_local' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'zzz_dual_clock_city_seoul' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'zzz_fake_call_activated' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'zzz_glass_lock_help_text_1' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'zzz_glass_lock_help_text_2' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'zzz_puzzle_lock_help_text_1' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'zzz_puzzle_lock_help_text_2' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'zzz_skt_missing_sim_message1' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'zzz_skt_missing_sim_message2' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'zzz_skt_usim_not_used' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'zzz_smart_unlock_help_text_1' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'zzz_smart_unlock_help_text_2' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
aapt: warning: string 'zzz_smart_unlock_sorry_text' has no default translation in /sdcard/apktool/framework/framework-res1_src/res; found: th_TH vi_VN
I: Building apk file...

I tried to translate a rom
When i recompile the apk in the end is written building apk file...
But when i put the framework in a rom and i flash it,when i go in language settings the language that i put isn't on the list

Inviato dal mio GT-S5570I con Tapatalk 2
 
Last edited:

wanyakuza

Senior Member
Jan 7, 2014
170
3
ipoh
sh:applet not found

[TUT] How to use apktool for mobile



1.)Install Apktool4.1.1.apk



2.)Download Apktool Arm.zip



3.)Extract apktool armel.zip and you will see apktool folder inside..



4.)Move apktool folder in your sdcard (not in any folder) it should be look like this sdcard/apktool



1383399_688755947802543_1526900202_n.jpg




5.)Make a new folder inside the apktool folder and put your framework-res.apk and twframework-res.apk inside the new folder. it should be look like this sdcard/apktool/newfolder/framework-res.apk



1384242_688755954469209_348690364_n.jpg




6.)Open Apktool4.1.1 App and go to apktool/newfolder and click framework-res.apk and click import as framework.. (do the same with twframework-res.apk)



67959_688755944469210_87550049_n.jpg




7.)Now you can decompile and recompile any apk you want.. just put it in apktool folder and click decompile all..



NOTE: This is for rooted phones only.. :)



Original Thread



CREDITS

@evanlocked

and the maker of this app i dont know who he is

get applet not found ,why??
 

kakaana

Senior Member
Jan 6, 2013
231
36
Getting dis error while trying to recompile

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:164)
at brut.androlib.Androlib.build(Androlib.java:183)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:160)
... 4 more
 

TheFixItMan

Senior Member
Jul 8, 2012
7,844
4,052
London
Why I always cannot recompile framework.jar? Should I rename it to apk first?

no just use apktool on pc
https://code.google.com/p/android-apktool/downloads/list


all you need to do after navigating to folder containing the file you want to decompile is type

to decompile
apktool d framework.jar NameOfFolderToDecompileTo

to recompile
apktool b NameOFDecompiledFolder newframework.jar

---------- Post added at 09:25 AM ---------- Previous post was at 09:24 AM ----------

Getting dis error while trying to recompile

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:164)
at brut.androlib.Androlib.build(Androlib.java:183)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:160)
... 4 more

incorrectly installed or incorrect use of apktool
 
  • Like
Reactions: GalKill

a7stark

New member
Mar 16, 2014
3
0
Mumbai
Nice work.

[TUT] How to use apktool for mobile



1.)Install Apktool4.1.1.apk



2.)Download Apktool Arm.zip



3.)Extract apktool armel.zip and you will see apktool folder inside..



4.)Move apktool folder in your sdcard (not in any folder) it should be look like this sdcard/apktool



1383399_688755947802543_1526900202_n.jpg




5.)Make a new folder inside the apktool folder and put your framework-res.apk and twframework-res.apk inside the new folder. it should be look like this sdcard/apktool/newfolder/framework-res.apk



1384242_688755954469209_348690364_n.jpg




6.)Open Apktool4.1.1 App and go to apktool/newfolder and click framework-res.apk and click import as framework.. (do the same with twframework-res.apk)



67959_688755944469210_87550049_n.jpg




7.)Now you can decompile and recompile any apk you want.. just put it in apktool folder and click decompile all..



NOTE: This is for rooted phones only.. :)



Original Thread



CREDITS

@evanlocked

and the maker of this app i dont know who he is

This tutorial is very helpful thanks for sharing.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    [TUT] How to use apktool for mobile



    1.)Install Apktool4.1.1.apk



    2.)Download Apktool Arm.zip



    3.)Extract apktool armel.zip and you will see apktool folder inside..



    4.)Move apktool folder in your sdcard (not in any folder) it should be look like this sdcard/apktool



    1383399_688755947802543_1526900202_n.jpg




    5.)Make a new folder inside the apktool folder and put your framework-res.apk and twframework-res.apk inside the new folder. it should be look like this sdcard/apktool/newfolder/framework-res.apk



    1384242_688755954469209_348690364_n.jpg




    6.)Open Apktool4.1.1 App and go to apktool/newfolder and click framework-res.apk and click import as framework.. (do the same with twframework-res.apk)



    67959_688755944469210_87550049_n.jpg




    7.)Now you can decompile and recompile any apk you want.. just put it in apktool folder and click decompile all..



    NOTE: This is for rooted phones only.. :)



    Original Thread



    CREDITS

    @evanlocked

    and the maker of this app i dont know who he is
    1
    Good work. Sir!
    1
    where will i find twframework-res.apk???

    system/framework in roms that have touchwiz - eg stock samsung roms

    aosp cm7 and other manufactuer phones will not have touchwiz
    1
    Why I always cannot recompile framework.jar? Should I rename it to apk first?
    1
    Why I always cannot recompile framework.jar? Should I rename it to apk first?

    no just use apktool on pc
    https://code.google.com/p/android-apktool/downloads/list


    all you need to do after navigating to folder containing the file you want to decompile is type

    to decompile
    apktool d framework.jar NameOfFolderToDecompileTo

    to recompile
    apktool b NameOFDecompiledFolder newframework.jar

    ---------- Post added at 09:25 AM ---------- Previous post was at 09:24 AM ----------

    Getting dis error while trying to recompile

    Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
    at brut.androlib.Androlib.readMetaFile(Androlib.java:164)
    at brut.androlib.Androlib.build(Androlib.java:183)
    at brut.androlib.Androlib.build(Androlib.java:176)
    at brut.apktool.Main.cmdBuild(Main.java:228)
    at brut.apktool.Main.main(Main.java:79)
    Caused by: brut.directory.PathNotExist: apktool.yml
    at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
    at brut.androlib.Androlib.readMetaFile(Androlib.java:160)
    ... 4 more

    incorrectly installed or incorrect use of apktool