Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assert PartitionModel.SYSTEM in self.partitions #27

Closed
ghost opened this issue Aug 26, 2022 · 4 comments
Closed

assert PartitionModel.SYSTEM in self.partitions #27

ghost opened this issue Aug 26, 2022 · 4 comments

Comments

@ghost
Copy link

ghost commented Aug 26, 2022

`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

@ghost
Copy link
Author

ghost commented Aug 26, 2022

@Poempoat
Copy link

Poempoat commented Oct 8, 2022

You must use dumpyara.

@AidanWarner97
Copy link

You must use dumpyara.

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

@SebaUbuntu
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants