Open ale8530 opened 5 years ago
Confirmed
Accepted.
Does Jbart handle "API" when using hex?
No. I'll check what changed in smali source code and add fixes to jbart.
Thanks
Decompile java -jar baksmali.jar disassemble -a 28 classes2.dex (Extract all the content inside the out folder) Recompile java -jar smali.jar assemble -a 28 out -o classes2.dex (Create out.dex without problem if not set api i have same error jbart)
Well, baksmali.jar doesn't have "a" (api) option, but smali.jar does. I'll add api to the smali and let you know.
https://github.com/JesusFreke/smali/issues/647
Reply jesus-->Please don't attach images of errors/logs. Text is so much more useful than an image :p
Based on the info in the linked bug, it looks like you need to specify the appropriate api level when disassembling with baksmali.
:+1: :)
Last version jbart not working with framework.jar on android Pie.
framework.jar
When use baksmali/smali 2.2.5 not recompile classes2.dex because not possibile set api 28 on process baksmali/smali
Log error on jbart
[11.09.2018 22:58:22] INFO: Smaling classes2.dex... [11.09.2018 22:58:34] WARNING: MIUI_developer/jBART-polaris_9.0/projects/jbart_8.9.7_polaris_9.0_V10_549955dacb_deodexed.zip.bzprj/baseROM/system/framework/smali_classes2/android/widget/RemoteViews$ReflectionAction.smali[567,4] null [11.09.2018 22:58:34] WARNING: MIUI_developer/jBART-polaris_9.0/projects/jbart_8.9.7_polaris_9.0_V10_549955dacb_deodexed.zip.bzprj/baseROM/system/framework/smali_classes2/android/widget/RemoteViews$ViewContentNavigation.smali[126,4] null [11.09.2018 22:58:35] INFO: Zipping classes2.dex... [11.09.2018 22:58:35] INFO: File classes2.dex was not packed (/home/ale8530/MIUI_developer/jBART-polaris_9.0/projects/jbart_8.9.7_polaris_9.0_V10_549955dacb_deodexed.zip.bzprj/baseROM/system/framework/classes2.dex)
For resolve i have try
Decompile
java -jar baksmali.jar disassemble -a 28 classes2.dex
(Extract all the content inside the out folder) Recompilejava -jar smali.jar assemble -a 28 out -o classes2.dex
(Create out.dex without problem if not set api i have same error jbart)Does Jbart handle "API" when using hex?