aospdtgen icon indicating copy to clipboard operation
aospdtgen copied to clipboard

assert PartitionModel.SYSTEM in self.partitions

Open n0raml opened this issue 3 years ago • 1 comments

`PS C:\Users\x\Desktop> python -m aospdtgen -o C:\Users\x\Desktop\rom C:\Users\x\Desktop\images Android device tree generator Version 0.1.0

[INFO] Parsing all_files.txt [INFO] Figuring out partitions scheme Traceback (most recent call last): File "C:\Users\x\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\x\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run_code exec(code, run_globals) File "C:\Users\x\AppData\Local\Programs\Python\Python310\lib\site-packages\aospdtgen_main.py", line 11, in main() File "C:\Users\x\AppData\Local\Programs\Python\Python310\lib\site-packages\aospdtgen\main.py", line 31, in main dump = DeviceTree(args.dump_path) File "C:\Users\x\AppData\Local\Programs\Python\Python310\lib\site-packages\aospdtgen\device_tree.py", line 43, in init self.partitions = Partitions(self.path) File "C:\Users\x\AppData\Local\Programs\Python\Python310\lib\site-packages\aospdtgen\utils\partitions.py", line 26, in init assert PartitionModel.SYSTEM in self.partitions AssertionError`

i try in wsl&windows,dont work. model: realme q3 kernel-souce: https://github.com/realme-kernel-opensource/realmeQ3_Q3pro_AndroidS_kernel-source vendor-source: https://github.com/realme-kernel-opensource/realmeQ3_Q3pro_AndroidS_vendor-source

n0raml avatar Aug 26 '22 05:08 n0raml

img url: https://drive.google.com/file/d/1WaLA-ICjv4dRuaUx-txt2L7d_NOKzUXG/view?usp=sharing

ghost avatar Aug 26 '22 15:08 ghost

You must use dumpyara.

Poempoat avatar Oct 08 '22 12:10 Poempoat

You must use dumpyara.

I am coming across the same issue and I can assure you I used dumpyara

AidanWarner97 avatar Dec 10 '22 14:12 AidanWarner97

Account gone, anyway, looks like this user didn't dump the images

SebaUbuntu avatar Mar 04 '23 07:03 SebaUbuntu