Comments (3)
Make sure you have the requirements installed. You need to install pyasn1-modules (https://github.com/etingof/pyasn1-modules)
from android_universal.
确保您已安装要求。您需要安装 pyasn1-modules ( https://github.com/etingof/pyasn1-modules )
I threw an error after installation!
root@PC:/home/pc/android_universal# ./makeramdisk.sh -filename boot.img
Makeramdisk Android v3.30 (c) B. Kerler 2019-2021
Linux/Mac detected.
32Bit detected
Target: Boot
Unpacking image : boot.img to tmp
- Unpacking initramfs to tmp/ramdisk
Traceback (most recent call last):
File "root/scripts/makeramdisk.py", line 850, in
main()
File "root/scripts/makeramdisk.py", line 846, in main
rdm.go(args, BOOTPATH, param)
File "root/scripts/makeramdisk.py", line 676, in go
self.unpack_initfs("rd.gz", self.RAMDISK)
File "root/scripts/makeramdisk.py", line 265, in unpack_initfs
rdcpio = self.guz(os.path.join(self.RPATH, filename))
File "root/scripts/makeramdisk.py", line 248, in guz
with gzip.open(filename, 'rb') as f:
File "/usr/lib/python3.8/gzip.py", line 58, in open
binary_file = GzipFile(filename, gz_mode, compresslevel)
File "/usr/lib/python3.8/gzip.py", line 173, in init
fileobj = self.myfileobj = builtins.open(filename, mode or 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'tmp/rd.gz'
root@PC:/home/pc/android_universal#
from android_universal.
root@DESKTOP-NM8UG5T:/home/pc/adbroot# ./makeramdisk.sh -filename boot.img
Makeramdisk Android v3.30 (c) B. Kerler 2019-2021
Linux/Mac detected.
32Bit detected
Target: Boot
Unpacking image : boot.img to tmp
- Unpacking initramfs to tmp/ramdisk
Traceback (most recent call last):
File "root/scripts/makeramdisk.py", line 850, in
main()
File "root/scripts/makeramdisk.py", line 846, in main
rdm.go(args, BOOTPATH, param)
File "root/scripts/makeramdisk.py", line 676, in go
self.unpack_initfs("rd.gz", self.RAMDISK)
File "root/scripts/makeramdisk.py", line 268, in unpack_initfs
p.stdin.write(rdcpio)
BrokenPipeError: [Errno 32] Broken pipe
root@DESKTOP-NM8UG5T:/home/pc/adbroot#
from android_universal.
Related Issues (11)
- no root after patch boot.img HOT 1
- Android 11: Could not open file init@0750, init.rc@0750: No such file or directory HOT 3
- broken pipe issue
- FileNotFoundError: [Errno 2] No such file or directory: 'tmp/rd.gz' HOT 2
- BrokenPipeError: [Errno 32] Broken pipe HOT 8
- Could not use this tool HOT 4
- ModuleNotFoundError: No module named 'Crypto.Util.asn1' HOT 2
- I Don't see boot.patched after the script is finished HOT 1
- A
- Couldn't find any valid sepolicy file. Aborting....
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.
from android_universal.