dumpyara's People
Forkers
lly-q cclough101 joker-commits soviet-android narayanr7 rokibhasansagar mahajant99 karthik1896 rahul9999xda menorziin carlitros900 zenlty mg712702 fdlyfz deivid21 yashlearnpython djchittoor-pr geopd pulkit077 madmax7896 adithya2306 sb6596 hikaricalyx android-utilities mistersmee divyanshu-modi a9ito ariollex xdxc14 classicvalues crackercat klozz scto maluueu irawans-android-lab imjyotiraditya kacskrz kleidione amaterasushen ayushpriyadarshi2000 mainey bladerunner-a2c saurajbot motoonepower shashankx86 onenormalusername xgodyt9 reaper1010 dhruvkumar1805 pronoy2108 afterallafk andra297 punepicstudio rahulkhatri137 p-salik poad42 monuformirror leddaz jacksproject sunil98025 ohmyvenyx starztg hellinfix igaganpreetsingh xoo2001 sreeshankark lanmiemie potthead1 lemezohaib lacentix pavanpadamata21 vedxp joker-v2 sreelekshman vullk4n someone5678 shra1v32 dkpost3 zainarbani bharath6300000 v4lkyr wmhaganjr1013 nayem8854 inferno0230 przekichane xianwan1314 thepriyanshujangid shand-stuffs ram-unlok herokuapp511 chukotka-forever ccrevanth hefatss sagarshah1729 vikas-v2 reduxxt99 androdevmdz hopireika nikhilmenghani alextrack2013dumpyara's Issues
Same problem
You are using a different repo, report it there
https://github.com/AndroidHQ254/DumprX
Originally posted by @deadman96385 in #39 (comment)
All two script Dumpyara with DumprX same problem!!!. A73 uses ext4 not erofs
AssertionError: Logical partition metadata has invalid geometry magic signature.
Device:N-one(aka incar) npad air(codename NpadAir)
NOTE:i extracted pac file then made a zip out from it
Log:
Dumpyara
Version 1.0.2
[INFO] Step 1 - Extracting archive
[INFO] Step 2 - Preparing partition images
[INFO] Pattern payload.bin not found
[INFO] Found multipartition image: super.img
[INFO] Failed to unsparse super.img
Traceback (most recent call last):
File "/workspace/.pyenv_mirror/user/3.12.1/bin/dumpyara", line 8, in
sys.exit(main())
^^^^^^
File "/workspace/.pyenv_mirror/user/current/lib/python3.12/site-packages/dumpyara/main.py", line 40, in main
output_path = dumpyara(args.file, output, args.debug)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/.pyenv_mirror/user/current/lib/python3.12/site-packages/dumpyara/dumpyara.py", line 33, in dumpyara
step_2(extracted_archive_path, raw_images_path)
File "/workspace/.pyenv_mirror/user/current/lib/python3.12/site-packages/dumpyara/steps/step_2.py", line 43, in step_2
func(multipart_image, raw_images_path)
File "/workspace/.pyenv_mirror/user/current/lib/python3.12/site-packages/dumpyara/utils/multipartitions.py", line 32, in extract_super
lpunpack(image, output_dir)
File "/workspace/.pyenv_mirror/user/current/lib/python3.12/site-packages/liblp/partition_tools/lpunpack.py", line 87, in lpunpack
metadata = ReadMetadata(image, slot)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/.pyenv_mirror/user/current/lib/python3.12/site-packages/liblp/reader.py", line 275, in ReadMetadata
geometry = ReadLogicalPartitionGeometry(fd)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/.pyenv_mirror/user/current/lib/python3.12/site-packages/liblp/reader.py", line 97, in ReadLogicalPartitionGeometry
geometry = ReadPrimaryGeometry(fd)
^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/.pyenv_mirror/user/current/lib/python3.12/site-packages/liblp/reader.py", line 84, in ReadPrimaryGeometry
return ParseGeometry(buffer)
^^^^^^^^^^^^^^^^^^^^^
File "/workspace/.pyenv_mirror/user/current/lib/python3.12/site-packages/liblp/reader.py", line 54, in ParseGeometry
assert geometry.magic == LP_METADATA_GEOMETRY_MAGIC,
AssertionError: Logical partition metadata has invalid geometry magic signature.
Erofs, fail extraction samsung firmware
In trying to run the script agianst a stock samsung FW zip, ran into erofs errors. Is it just a matter of firmware?
The error itself did not prevent the dump from completing. So non issue, just wondering if I can address it.
find: ‘/home/martin/FW/dumpyara/working/T510/bootimg’: No such file or directory
Trying to extract system partition via fsck.erofs.
erofs: cannot find valid erofs superblock
erofs: failed to read superblock
Extraction via fsck.erofs failed, extracting system partition via 7z
Trying to extract vendor partition via fsck.erofs.
erofs: cannot find valid erofs superblock
erofs: failed to read superblock
Extraction via fsck.erofs failed, extracting vendor partition via 7z
Trying to extract product partition via fsck.erofs.
erofs: cannot find valid erofs superblock
erofs: failed to read superblock
Extraction via fsck.erofs failed, extracting product partition via 7z
find: ‘/home/martin/FW/dumpyara/working/T510/modem’: No such file or directory
find: ‘/home/martin/FW/dumpyara/working/T510/tz*’: No such file or directory
system/system/build.prop
and
[WARNING] Unknown HAL type native
Cannot get Samsung device (b4q) dump
Device: Samsung Galaxy Z Flip4 (SM-F721B, b4q)
Log:
...
boot_kallsyms.txt generated
boot.elf generated
dtbo extracted
find: ‘/home/nio/dumpyara/working/SAMFW.COM_SM-F721B_EUX_F721BXXS5EXAB_fac/bootimg’: No such file or directory
Trying to extract system partition via fsck.erofs.
<E> erofs: cannot find valid erofs superblock
<E> erofs: failed to read superblock
Trying to extract system_ext partition via fsck.erofs.
<E> erofs: cannot find valid erofs superblock
<E> erofs: failed to read superblock
Trying to extract vendor partition via fsck.erofs.
<E> erofs: cannot find valid erofs superblock
<E> erofs: failed to read superblock
Trying to extract odm partition via fsck.erofs.
<E> erofs: cannot find valid erofs superblock
<E> erofs: failed to read superblock
Trying to extract product partition via fsck.erofs.
<E> erofs: cannot find valid erofs superblock
<E> erofs: failed to read superblock
Trying to extract vendor_dlkm partition via fsck.erofs.
<E> erofs: cannot find valid erofs superblock
<E> erofs: failed to read superblock
find: ‘/home/nio/dumpyara/working/SAMFW.COM_SM-F721B_EUX_F721BXXS5EXAB_fac/modem’: No such file or directory
find: ‘/home/nio/dumpyara/working/SAMFW.COM_SM-F721B_EUX_F721BXXS5EXAB_fac/tz*’: No such file or directory
No system build*.prop found, pushing cancelled!
I can't extract any firmware
For some apparent reason I can't dump any FW, I tried 3 devices:
SM-A207M
SM-A217F
SM-A205G
All attempts give build.prop not found, I already gave sudo bash setup and it doesn't even work, any ideas?
I/O:
➜ dumpyara git:(master) ./dum* ../*217*
File detected.
Copying...
Create Temp and out dir
Extracting firmware on: /home/chikatto/Downloads/dumpyara/working/AP_A217FXXU3ATH4_CL19448112_QB33925879_REV00_user_low_ship_MULTI_CERT_meta_RKEY_OS10.tar
super detected
find: ‘/home/chikatto/Downloads/dumpyara/working/AP_A217FXXU3ATH4_CL19448112_QB33925879_REV00_user_low_ship_MULTI_CERT_meta_RKEY_OS10.tar/bootimg’: File or directory not found
find: ‘/home/chikatto/Downloads/dumpyara/working/AP_A217FXXU3ATH4_CL19448112_QB33925879_REV00_user_low_ship_MULTI_CERT_meta_RKEY_OS10.tar/modem’: File or directory not found
find: ‘/home/chikatto/Downloads/dumpyara/working/AP_A217FXXU3ATH4_CL19448112_QB33925879_REV00_user_low_ship_MULTI_CERT_meta_RKEY_OS10.tar/tz*’: File or directory not found
No system build*.prop found, pushing cancelled!
Couldn't extract system partition by 7z. Using fsck.erofs
I try extract firmware samsung galaxy A73 but it get problem. How to fix
Couldn't extract system partition by 7z. Using fsck.erofs.
erofs: cannot find valid erofs superblock
erofs: failed to read superblock
Couldn't extract system partition by fsck.erofs. Using mount loop
Telegram channel unavailable https://t.me/dumprequests
Greetings
Where can I send a request?
Thanks
OnePlus 10 Pro (op516fl1)
India(IN) (NE2211_11.C.22)
Incorrect extract-dtb path
python3: can't open file '/root/dumpyara/extract-dtb/extract-dtb.py': [Errno 2] No such file or directory
Could not find a version that satisfies the requirement aospdtgen
Getting the following error while running the setup.sh script:
Collecting aospdtgen
Could not find a version that satisfies the requirement aospdtgen (from versions: )
No matching distribution found for aospdtgen
I am running here:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.6 LTS"
NAME="Ubuntu"
VERSION="18.04.6 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.6 LTS"
VERSION_ID="18.04"
erofs problem
script has one problem when i finds out that partitions are erofs thn while extracting it makes some file shortcut links instead of copying file to that location. when you click on that file to show target then file manager isnt able to find out the file because its path is written as root. for example rm10proa41/system/system/etc/security/otacerts.zip here the dumpyara extracted it with fsck.erofs but in that location it is shortcut/link of the file otacerts.zip when you click on the link file to go for the target file it cant find it because of wrong link location.
see it does not able to find the path of file because path is set as root.
see here is file present in that directory where it is pointing but becaus of starting path is set as root it cant find it.
thats why here it gives error while generating dt.
python -m aospdtgen rm10proa41/
Android device tree generator
Version 1.0.0
[INFO] Figuring out partitions scheme
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/arsalan/.local/lib/python3.10/site-packages/aospdtgen/main.py", line 11, in
main()
File "/home/arsalan/.local/lib/python3.10/site-packages/aospdtgen/main.py", line 31, in main
dump = DeviceTree(args.dump_path)
File "/home/arsalan/.local/lib/python3.10/site-packages/aospdtgen/device_tree.py", line 36, in init
self.partitions = Partitions(self.path)
File "/usr/local/lib/python3.10/dist-packages/sebaubuntu_libs/libandroid/partitions/partitions.py", line 25, in init
self.partitions[PartitionModel.SYSTEM] = AndroidPartition(PartitionModel.SYSTEM, system)
File "/usr/local/lib/python3.10/dist-packages/sebaubuntu_libs/libandroid/partitions/partition.py", line 38, in init
self.files = get_files_list(self.path)
File "/usr/local/lib/python3.10/dist-packages/sebaubuntu_libs/libandroid/partitions/partition.py", line 29, in get_files_list
files.extend(get_files_list(i))
File "/usr/local/lib/python3.10/dist-packages/sebaubuntu_libs/libandroid/partitions/partition.py", line 29, in get_files_list
files.extend(get_files_list(i))
File "/usr/local/lib/python3.10/dist-packages/sebaubuntu_libs/libandroid/partitions/partition.py", line 29, in get_files_list
files.extend(get_files_list(i))
File "/usr/local/lib/python3.10/dist-packages/sebaubuntu_libs/libandroid/partitions/partition.py", line 25, in get_files_list
for i in path.iterdir():
File "/usr/lib/python3.10/pathlib.py", line 1017, in iterdir
for name in self._accessor.listdir(self):
FileNotFoundError: [Errno 2] No such file or directory: 'rm10proa41/system/system/etc/security/otacerts.zip'
please see through this issue deeply
Dump requests group link is broken
The README links to https://t.me/dumprequests, which is a blank channel parking the username
7z requirement issue. Please pre-include p7zip into the source.
GitHub token not found. Dumping just locally...
dumpyara.sh: line 35: inline-detox: command not found
dumpyara.sh: line 36: inline-detox: command not found
File detected. Copying...
Create Temp and out dir
head: error reading '/mnt/nvme/dumpyara/input': Is a directory
/mnt/nvme/dumpyara/Firmware_extractor/extractor.sh: line 149: 7z: command not found
BRUH: This type of firmwares not supported
find: ‘/mnt/nvme/dumpyara/working//bootimg’: No such file or directory
find: ‘/mnt/nvme/dumpyara/working//modem’: No such file or directory
find: ‘/mnt/nvme/dumpyara/working//tz*’: No such file or directory
No system build*.prop found, pushing cancelled!
Assertion error while trying to create ROM dump for xaga 14.0.3TLOCNXM
I encounter this error while running ./dumpyara.sh
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/db-rom/dumpyara/.venv/lib/python3.9/site-packages/twrpdtgen/__main__.py", line 11, in <module> main() File "/home/db-rom/dumpyara/.venv/lib/python3.9/site-packages/twrpdtgen/main.py", line 37, in main device_tree = DeviceTree(image=args.image) File "/home/db-rom/dumpyara/.venv/lib/python3.9/site-packages/twrpdtgen/device_tree.py", line 66, in __init__ self.device_info = DeviceInfo(self.build_prop) File "/home/db-rom/dumpyara/.venv/lib/python3.9/site-packages/sebaubuntu_libs/libandroid/device_info.py", line 117, in __init__ self.codename = self.get_first_prop(DEVICE_CODENAME) File "/home/db-rom/dumpyara/.venv/lib/python3.9/site-packages/sebaubuntu_libs/libandroid/device_info.py", line 177, in get_first_prop raise AssertionError(f'Property {props[0]} could not be found in build.prop') AssertionError: Property ro.product.bootimage.device could not be found in build.prop
Is there any way to overcome this other than to manually change the files?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.