You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks dev for your hard work, After this tool was not working I did some digging and found out that the windows version of AIK in this build doesn't work
If i try to run it seperately it shows this error
"Unrecognized format. Error!"
But this error doesn't show up if we run the python script
Eventually I managed to extract the files from recovery with binwalk and patched the script with hardcoded paths to files and was able to successfully compile twrp for my device.
This tool definitely saved me some time,also would be be nice to have a option to manually provide the script with build prop and other files
Device : Oppo A5s
Model : CPH1909
recovery : https://we.tl/t-FHw6tMc3G1
python3 -m twrpdtgen -o Oppo -v recovery.img
TWRP device tree generator
Version 1.3.1
[aik_manager.py:46 INFO] init: Cloning AIK...
[cmd.py:832 DEBUG] execute: Popen(['git', 'clone', '-v', 'https://github.com/SebaUbuntu/AIK-Linux-mirror', '/tmp/tmp9q3159yw'], cwd=/home/josh/Desktop/TWRP-device-tree-generator, universal_newlines=True, shell=None, istream=None)
[base.py:1085 DEBUG] _clone: Cmd(['git', 'clone', '-v', 'https://github.com/SebaUbuntu/AIK-Linux-mirror', '/tmp/tmp9q3159yw'])'s unused stdout:
[device_tree.py:55 DEBUG] init: Getting device infos...
Traceback (most recent call last):
File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/josh/Desktop/TWRP-device-tree-generator/twrpdtgen/main.py", line 52, in
dt = DeviceTree(args.output, recovery_image=args.recovery_image,
File "/home/josh/Desktop/TWRP-device-tree-generator/twrpdtgen/device_tree.py", line 57, in init
raise AssertionError("Couldn't find any build.prop")
AssertionError: Couldn't find any build.prop
The text was updated successfully, but these errors were encountered: