[Tool]Advanced ApkTool v4.2.0[Windows][18/05/2018][Supports Oreo][Updated]

ahmed.nasser.hk

Senior Member
Mar 11, 2014
100
164
0
Hurghada
www.facebook.com
Advanced ApkTool v4.2.0 - Supports Oreo
Included APKtool V.2.3.3
Already Installed Frameworks For CM15.1/lineage

Main Features :

  • User friendly
  • Automated Decompiling APK/JAR
  • Automated Recompiling APK/JAR
  • Automated Sign APK/JAR
  • Automated Zipalign APK/JAR
  • No need to copy META-INF folder after recompiling
  • Sony Xperia owners won't face bootloop after recompiling framework-res.apk


Changelog [HK-PROJECTS] :
  • Based on Apktool 2.3.3 (Android Oreo Supported)
  • Installed Frameworks For CM15.1/lineage
How To Use :
  • Extract the downloaded file anywhere in your pc
  • Double click on "Advanced ApkTool.exe" to start the tool
  • Copy your framework files to the "2-In" folder & also the apk files you want to decompile
  • Install Framework first (Install OEM specfic framework also)
  • Decompile apk, the decompiled folder can be found inside "3-Out" folder
  • After editing Recompile it, recompiled file should be found inside "4-Done" folder
  • If needed sign the recompiled file, it will replace the recompiled file inside "4-Done" folder
  • You can also zipalign the recompiled file, it will replace the recompiled file inside "4-Done" folder
  • You can wipe any folder easily by wipe folder option
  • You can find more in more menu option

Downlaod :
AFH - Supports Nougat
AFH - Supports Oreo


Thanks To :
  • Brut.alls for ApkTool
  • iBotPeaches for ApkTool
  • Ticklefish for Tickle My Android

Contributors
BDFreak, AhmedNasserHK


Version Information
Status: Stable
Current Stable Version: v4.2.0
Stable Release Date: 2016-02-10

Created 2017-05-17
Last Updated 2018-05-18
 
Last edited:

Ibuprophen

Senior Member
Sep 4, 2012
9,551
6,495
253
Upstate New York
Hmmm... Very interesting!

I just might have to give it a try.


"Live Long and Prosper..."
~Ambassador S'chn T'gai Spock

Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise
 

ahmed.nasser.hk

Senior Member
Mar 11, 2014
100
164
0
Hurghada
www.facebook.com
@ahmed.nasser.hk, is there a reason why @NisseGurra had detected this Trojan?


"Live Long and Prosper..."
~Ambassador S'chn T'gai Spock

Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise


no problem at all just ignore it, will never hurt or harm your PC, my microsoft essential security already catch it and and i choose allow all items.
the reason i don't know why this the trojans from source project by BDFreak THREAD LINK PROJECT

As I said no problem at all, will not get any problems with your pc
 

Attachments

Last edited:

suriyaprakas

Senior Member
Feb 26, 2017
103
49
0
While recompiling it shows could not find sources.
also thread "main" Androidlib exception.

no errors while decompiling.
i tried to edit samsung settings app
 

vincom

Recognized Contributor
May 5, 2011
3,878
4,145
0
bolton, on
i cant seem to edit samsung framework-res and/or services.jar
if its baked into rom it either doesnt boot or fc on opening almost any app depending on how i compiled and/or dragged/dropped in the oringinal meta/inf files in the new apk
i did make it flashable zip w/just the mod but factory reset would bork it
 

Moal Dibejaan

Member
Aug 7, 2017
21
8
0
Bogor
Advanced ApkTool v4.2.0 - Supports Nougat
Included APKtool V.2.2.2
Already Installed Frameworks For CM14.1 lineage

Main Features :

  • User friendly
  • Automated Decompiling APK/JAR
  • Automated Recompiling APK/JAR
  • Automated Sign APK/JAR
  • Automated Zipalign APK/JAR
  • No need to copy META-INF folder after recompiling
  • Sony Xperia owners won't face bootloop after recompiling framework-res.apk


Changelog [HK-PROJECTS] :
  • Based on Apktool 2.2.2 (Android Nougat Supported)
  • Installed Frameworks For CM14.1 lineage
How To Use :
  • Extract the downloaded file anywhere in your pc
  • Double click on "Advanced ApkTool.exe" to start the tool
  • Copy your framework files to the "2-In" folder & also the apk files you want to decompile
  • Install Framework first (Install OEM specfic framework also)
  • Decompile apk, the decompiled folder can be found inside "3-Out" folder
  • After editing Recompile it, recompiled file should be found inside "4-Done" folder
  • If needed sign the recompiled file, it will replace the recompiled file inside "4-Done" folder
  • You can also zipalign the recompiled file, it will replace the recompiled file inside "4-Done" folder
  • You can wipe any folder easily by wipe folder option
  • You can find more in more menu option

Downlaod :
Android File Host


Thanks To :
  • Brut.alls for ApkTool
  • iBotPeaches for ApkTool
  • Ticklefish for Tickle My Android

Contributors
BDFreak, AhmedNasserHK


Version Information
Status: Stable
Current Stable Version: v4.2.0
Stable Release Date: 2016-02-10

Created 2017-05-17
Last Updated 2017-05-17
Help. System UI has stopped.
But just decompile then recompile again.
Nougat 7.1.1 Xperia X
Thanks.
 
Last edited:

narutam

Member
Dec 12, 2016
9
0
0
brut_util_Jar_ has stopped working

I face this probleme whene trying to recompile brut_util_Jar_ has stopped working

HTML:
 Log Type : Recompiling 

 Log Recorded At : Fri 29-12-2017 23:22:54.40 

 Log Recorded By : Advanced ApkTool v4.2.0 By BDFreak 

------------------------------------------------------ 

W: A/        ( 8268): First type is not attr!
W: 
W: This application has requested the Runtime to terminate it in an unusual way.
W: Please contact the application's support team for more information.
W: res\drawable-v21\$avd_hide_password__0.xml: Invalid file name: must contain only [a-zA-Z0-9_.]. Ignoring...
W: res\drawable-v21\$avd_hide_password__1.xml: Invalid file name: must contain only [a-zA-Z0-9_.]. Ignoring...
W: res\drawable-v21\$avd_hide_password__2.xml: Invalid file name: must contain only [a-zA-Z0-9_.]. Ignoring...
W: res\drawable-v21\$avd_show_password__0.xml: Invalid file name: must contain only [a-zA-Z0-9_.]. Ignoring...
W: res\drawable-v21\$avd_show_password__1.xml: Invalid file name: must contain only [a-zA-Z0-9_.]. Ignoring...
W: res\drawable-v21\$avd_show_password__2.xml: Invalid file name: must contain only [a-zA-Z0-9_.]. Ignoring...
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 3): [C:\Users\jimi\AppData\Local\Temp\brut_util_Jar_1597490121583584647.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 22, --version-code, 1999999617, --version-name, 4.6 no crash, --no-version-vectors, -F, C:\Users\jimi\AppData\Local\Temp\APKTOOL740640641231677496.tmp, -0, arsc, -0, arsc, -I, C:\Users\jimi\Desktop\Advanced\1-BDFreak\Frameworks\1.apk, -S, C:\Users\jimi\Desktop\Advanced\3-Out\music2.apk\res, -M, C:\Users\jimi\Desktop\Advanced\3-Out\music2.apk\AndroidManifest.xml]
	at brut.androlib.Androlib.buildResourcesFull(Androlib.java:477)
	at brut.androlib.Androlib.buildResources(Androlib.java:411)
	at brut.androlib.Androlib.build(Androlib.java:310)
	at brut.androlib.Androlib.build(Androlib.java:263)
	at brut.apktool.Main.cmdBuild(Main.java:227)
	at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 3): [C:\Users\jimi\AppData\Local\Temp\brut_util_Jar_1597490121583584647.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 22, --version-code, 1999999617, --version-name, 4.6 no crash, --no-version-vectors, -F, C:\Users\jimi\AppData\Local\Temp\APKTOOL740640641231677496.tmp, -0, arsc, -0, arsc, -I, C:\Users\jimi\Desktop\Advanced\1-BDFreak\Frameworks\1.apk, -S, C:\Users\jimi\Desktop\Advanced\3-Out\music2.apk\res, -M, C:\Users\jimi\Desktop\Advanced\3-Out\music2.apk\AndroidManifest.xml]
	at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:440)
	at brut.androlib.Androlib.buildResourcesFull(Androlib.java:463)
	... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 3): [C:\Users\jimi\AppData\Local\Temp\brut_util_Jar_1597490121583584647.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 22, --version-code, 1999999617, --version-name, 4.6 no crash, --no-version-vectors, -F, C:\Users\jimi\AppData\Local\Temp\APKTOOL740640641231677496.tmp, -0, arsc, -0, arsc, -I, C:\Users\jimi\Desktop\Advanced\1-BDFreak\Frameworks\1.apk, -S, C:\Users\jimi\Desktop\Advanced\3-Out\music2.apk\res, -M, C:\Users\jimi\Desktop\Advanced\3-Out\music2.apk\AndroidManifest.xml]
	at brut.util.OS.exec(OS.java:95)
	at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:434)
	... 6 more
 

Zulfi

Senior Member
Aug 28, 2008
1,042
328
0
Pune
recmpile error with Oreo OPSystemui
Please help


Log For : OPSystemUI.apk

Log Type : Recompiling

Log Recorded At : 26-01-2018 -- 20:20:57.02

Log Recorded By : Advanced ApkTool v4.2.0 By BDFreak

------------------------------------------------------

W: ERROR: 9-patch image C:\Users\Jango\Desktop\3MinitBatteryMode\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\3-Out\OPSystemUI.apk\res\drawable-mdpi\pip_dismiss_scrim.9.png malformed.
W: No marked region found along edge.
W: Found along left edge.
W: ERROR: 9-patch image C:\Users\Jango\Desktop\3MinitBatteryMode\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\3-Out\OPSystemUI.apk\res\drawable-hdpi\pip_dismiss_scrim.9.png malformed.
Exception in thread "main" W: No marked region found along edge.
W: Found along left edge.
 

mirkolo

Senior Member
Dec 7, 2015
267
88
0
Rotterdam
Goo day

People help me with this?
Log Recorded At : do -09-08-2018- 12:00:34,65

Log Recorded By : Advanced ApkTool v4.2.0 By BDFreak

------------------------------------------------------

W: Config flags size > 56. Size = 60. Exceeding bytes: 0x18030000.
W: Invalid config flags detected. Dropping resources: drawable-ERR0
W: Config flags size > 56. Size = 60. Exceeding bytes: 0xE7030000.
W: Invalid config flags detected. Dropping resources: drawable-ERR1
W: Config flags size > 56. Size = 60. Exceeding bytes: 0xE4010000.
W: Invalid config flags detected. Dropping resources: drawable-ERR2
W: Config flags size > 56. Size = 60. Exceeding bytes: 0x68020000.
W: Invalid config flags detected. Dropping resources: drawable-ERR3
W: Config flags size > 56. Size = 60. Exceeding bytes: 0x88010000.
W: Invalid config flags detected. Dropping resources: drawable-ERR4
W: Config flags size > 56. Size = 60. Exceeding bytes: 0x18030000.
W: Invalid config flags detected. Dropping resources: drawable-ERR5
W: Config flags size > 56. Size = 60. Exceeding bytes: 0x18030000.
W: Invalid config flags detected. Dropping resources: drawable-v21-ERR6
W: Config flags size > 56. Size = 60. Exceeding bytes: 0xE7030000.
W: Invalid config flags detected. Dropping resources: drawable-v21-ERR7
W: Config flags size > 56. Size = 60. Exceeding bytes: 0xE4010000.
W: Invalid config flags detected. Dropping resources: drawable-v21-ERR8
W: Config flags size > 56. Size = 60. Exceeding bytes: 0x68020000.
W: Invalid config flags detected. Dropping resources: drawable-v21-ERR9
W: Config flags size > 56. Size = 60. Exceeding bytes: 0x18030000.
W: Invalid config flags detected. Dropping resources: drawable-v21-ERR10
W: Unknown data detected. Skipping: 1328 byte(s)
W: Unknown data detected. Skipping: 2448 byte(s)
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_ic_menu_cut_mtrl_alpha.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_ic_star_half_black_36dp.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_list_selector_disabled_holo_dark.9.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_scrubber_control_to_pressed_mtrl_000.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_ab_share_pack_mtrl_alpha.9.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/hw_music_next.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/flashlight_bg_off.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_scrubber_control_off_mtrl_alpha.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_text_select_handle_right_mtrl_dark.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/event_arrow_left.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_btn_check_to_on_mtrl_000.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/bubble_box_rectangle.9.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_textfield_search_default_mtrl_alpha.9.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/hw_music_album_default.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_ic_star_black_36dp.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_list_longpressed_holo.9.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/bg_health_gps.9.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/hw_album_bg.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_scrubber_primary_mtrl_alpha.9.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_btn_check_to_on_mtrl_015.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_text_select_handle_middle_mtrl_light.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_list_pressed_holo_dark.9.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_btn_radio_to_on_mtrl_015.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_btn_switch_to_on_mtrl_00001.9.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/flashlight_bg_on.png
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x0203007e
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x0203007f
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_ic_star_half_black_16dp.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_text_select_handle_right_mtrl_light.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_ic_menu_paste_mtrl_am_alpha.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/event_arrow_right.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_menu_hardkey_panel_mtrl_mult.9.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_scrubber_control_to_pressed_mtrl_005.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_ic_menu_selectall_mtrl_alpha.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/bg_slider.9.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_btn_switch_to_on_mtrl_00012.9.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_text_select_handle_left_mtrl_light.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_spinner_mtrl_am_alpha.9.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_ic_commit_search_api_mtrl_alpha.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_btn_radio_to_on_mtrl_000.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_textfield_default_mtrl_alpha.9.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_list_selector_disabled_holo_light.9.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_list_pressed_holo_light.9.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_ic_star_black_16dp.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/bubble_triangle.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_textfield_activated_mtrl_alpha.9.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/error_stat_earphone.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_ic_menu_copy_mtrl_am_alpha.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_popup_background_mtrl_mult.9.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_cab_background_top_mtrl_alpha.9.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_textfield_search_activated_mtrl_alpha.9.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_tab_indicator_mtrl_alpha.9.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_ic_star_half_black_48dp.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_text_select_handle_left_mtrl_dark.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/colon.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_ic_menu_share_mtrl_alpha.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_list_focused_holo.9.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_text_select_handle_middle_mtrl_dark.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_scrubber_track_mtrl_alpha.9.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_ic_star_black_48dp.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_switch_track_mtrl_alpha.9.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/abc_list_divider_mtrl_alpha.9.png
Exception in thread "main" java.lang.NullPointerException
at brut.androlib.res.data.value.ResEnumAttr.serializeBody(ResEnumAttr.java:56)
at brut.androlib.res.data.value.ResAttr.serializeToResValuesXml(ResAttr.java:64)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:697)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:263)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:131)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:124)
at brut.apktool.Main.cmdDecode(Main.java:164)
at brut.apktool.Main.main(Main.java:73)

THanks in advance
 
  • Like
Reactions: franjuas

zakariabattekh

New member
Jun 9, 2018
1
1
0
Advanced ApkTool v4.2.0 - Supports Oreo
Included APKtool V.2.3.3
Already Installed Frameworks For CM15.1/lineage

Main Features :

  • User friendly
  • Automated Decompiling APK/JAR
  • Automated Recompiling APK/JAR
  • Automated Sign APK/JAR
  • Automated Zipalign APK/JAR
  • No need to copy META-INF folder after recompiling
  • Sony Xperia owners won't face bootloop after recompiling framework-res.apk


Changelog [HK-PROJECTS] :
  • Based on Apktool 2.3.3 (Android Oreo Supported)
  • Installed Frameworks For CM15.1/lineage
How To Use :
  • Extract the downloaded file anywhere in your pc
  • Double click on "Advanced ApkTool.exe" to start the tool
  • Copy your framework files to the "2-In" folder & also the apk files you want to decompile
  • Install Framework first (Install OEM specfic framework also)
  • Decompile apk, the decompiled folder can be found inside "3-Out" folder
  • After editing Recompile it, recompiled file should be found inside "4-Done" folder
  • If needed sign the recompiled file, it will replace the recompiled file inside "4-Done" folder
  • You can also zipalign the recompiled file, it will replace the recompiled file inside "4-Done" folder
  • You can wipe any folder easily by wipe folder option
  • You can find more in more menu option

Downlaod :
AFH - Supports Nougat
AFH - Supports Oreo


Thanks To :
  • Brut.alls for ApkTool
  • iBotPeaches for ApkTool
  • Ticklefish for Tickle My Android

Contributors
BDFreak, AhmedNasserHK


Version Information
Status: Stable
Current Stable Version: v4.2.0
Stable Release Date: 2016-02-10

Created 2017-05-17
Last Updated 2018-05-18
how to make framework-res.apk flashable zip file ?
 
  • Like
Reactions: franjuas

LonelyDay

Senior Member
Jul 4, 2018
164
44
0
Regensburg
recmpile error with Oreo OPSystemui
Please help


Log For : OPSystemUI.apk

Log Type : Recompiling

Log Recorded At : 26-01-2018 -- 20:20:57.02

Log Recorded By : Advanced ApkTool v4.2.0 By BDFreak

------------------------------------------------------

W: ERROR: 9-patch image C:\Users\Jango\Desktop\3MinitBatteryMode\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\3-Out\OPSystemUI.apk\res\drawable-mdpi\pip_dismiss_scrim.9.png malformed.
W: No marked region found along edge.
W: Found along left edge.
W: ERROR: 9-patch image C:\Users\Jango\Desktop\3MinitBatteryMode\Advanced_ApkTool_v4.2.0_By_BDFreak_2.3.0\3-Out\OPSystemUI.apk\res\drawable-hdpi\pip_dismiss_scrim.9.png malformed.
Exception in thread "main" W: No marked region found along edge.
W: Found along left edge.
Hi dude.
Can you fix your problem?
Same with me, decompile SystemUI (LineageOS 15.1) then recompile and error.

Btw, renaming ....scrim.9.png to ....scrim.png doesn't work.