Code Monkey home page Code Monkey logo

Comments (3)

bkerler avatar bkerler commented on August 19, 2024

Make sure you have the requirements installed. You need to install pyasn1-modules (https://github.com/etingof/pyasn1-modules)

from android_universal.

58773622 avatar 58773622 commented on August 19, 2024

确保您已安装要求。您需要安装 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.

58773622 avatar 58773622 commented on August 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.