Skip to content

MY device runs Android 7 but twrpdtgen gives an error, so is there any older version? #104

Description

@IvanIsOK

heres what twrpdtgen says,
TWRP device tree generator
Version 3.0.0

[INFO] Cloning AIK...
Traceback (most recent call last):
File "", line 203, in _run_module_as_main
File "", line 88, in _run_code
File "/home/ivan/.local/lib/python3.14/site-packages/twrpdtgen/main.py", line 11, in
main()
~~~~^^
File "/home/ivan/.local/lib/python3.14/site-packages/twrpdtgen/main.py", line 37, in main
device_tree = DeviceTree(image=args.image)
File "/home/ivan/.local/lib/python3.14/site-packages/twrpdtgen/device_tree.py", line 66, in init
self.device_info = DeviceInfo(self.build_prop)
~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/home/ivan/.local/lib/python3.14/site-packages/sebaubuntu_libs/libandroid/device_info.py", line 122, in init
self.codename = self.get_first_prop(DEVICE_CODENAME)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/home/ivan/.local/lib/python3.14/site-packages/sebaubuntu_libs/libandroid/device_info.py", line 189, in get_first_prop
raise AssertionError(f'Property {props[0]} could not be found in build.prop')
AssertionError: Property ro.product.system.device could not be found in build.prop, It means my device doesnet have that variable becuase its too old?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions