[Miscellaneous Android Development] Hb20032003:
On PC:

PS C:\Users\hbars\Desktop\ale5000-git-tingle-3abeae5\ale5000-git-tingle-3abeae5> python main.py
MENU

1 - Patch file from a device (adb)
2 - Patch file from the input folder

> 2

*** OS: Windows 10 (win)
*** Python: 3.6.0 (64 bit)
*** Mode: 2
*** Working dir: C:\Users\hbars\AppData\Local\Temp\Tingle-bnz0ucg1
*** Device SDK: 28
*** Decompressing framework...
DEBUG: Decompressing framework.jar
*** Disassembling classes...
DEBUG: Disassembling framework/classes.dex
Exception in thread "main" org.jf.dexlib2.util.DexUtil$UnsupportedFile: Dex version 039 is not supported
at org.jf.dexlib2.util.DexUtil.verifyDexHeader(DexUtil.java:94)
at org.jf.dexlib2.util.DexUtil.verifyDexHeader(DexUtil.java:71)
at org.jf.dexlib2.dexbacked.DexBackedDexFile.fromInputStream(DexBackedDexFile.java:110)
at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:97)
at org.jf.baksmali.DexInputCommand.loadDexFile(DexInputCommand.java:144)
at org.jf.baksmali.DisassembleCommand.run(DisassembleCommand.java:161)
at org.jf.baksmali.Main.main(Main.java:102)
Traceback (most recent call last):
File "main.py", line 598, in <module>
smali_folder, dex_filename, dex_filename_last = find_smali(smali_to_search, "framework/", DEVICE_SDK)
File "main.py", line 516, in find_smali
disassemble(search_dir+filename, out_dir, device_sdk)
File "main.py", line 483, in disassemble
subprocess.check_call(disass_cmd)
File "C:\Python36\lib\subprocess.py", line 291, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath\\java.exe', '-jar', 'C:\\Users\\hbars\\Desktop\\ale5000-git-tingle-3abeae5\\ale5000-git-tingle-3abeae5/tools/baksmali.jar', 'dis', '-l', '--seq', '-o', './smali-classes/', 'framework/classes.dex', '-a', '28']' returned non-zero exit status 1.

PS C:\Users\hbars\Desktop\ale5000-git-tingle-3abeae5\ale5000-git-tingle-3abeae5> python main.py
MENU

1 - Patch file from a device (adb)
2 - Patch file from the input folder

> 1

*** OS: Windows 10 (win)
*** Python: 3.6.0 (64 bit)
*** Mode: 1
*** Working dir: C:\Users\hbars\AppData\Local\Temp\Tingle-z4jbj734
*** Selected device: TA93302THF
*** Automounting /system...

ERROR INFO
==========
Type: <class 'FileNotFoundError'>
Name: The system cannot find the file specified (2)

Traceback (most recent call last):
File "main.py", line 578, in <module>
adb_automount_if_needed(SELECTED_DEVICE, "/system")
File "main.py", line 326, in adb_automount_if_needed
output = safe_subprocess_run([DEPS_PATH["adb"], "-s", chosen_device, "shell", "case $(mount) in *' "+partition+" '*) echo 'Already mounted';; *) mount '"+partition+"';; esac"])
File "main.py", line 203, in safe_subprocess_run
return subprocess.check_output(command, stderr=subprocess.STDOUT)
File "C:\Python36\lib\subprocess.py", line 336, in check_output
**kwargs).stdout
File "C:\Python36\lib\subprocess.py", line 403, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Python36\lib\subprocess.py", line 707, in __init__
restore_signals, start_new_session)
File "C:\Python36\lib\subprocess.py", line 990, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified