cofface / android_bootimg Goto Github PK
View Code? Open in Web Editor NEWAndorid unpack/repack boot/rececovery.img for windows Thanks @liudongmiao @yyjdelete
Home Page: https://github.com/liudongmiao
Andorid unpack/repack boot/rececovery.img for windows Thanks @liudongmiao @yyjdelete
Home Page: https://github.com/liudongmiao
Please upload the source code do that I can port to Linux... I don't wanna use wine every time I unpack
The image is from https://dl.twrp.me/a70q/twrp-3.5.0_9-0-a70q.img.html
At first, I have changed name to "boot.img" but when I try to unpack , it reoprts :
arguments: [bootimg file]
bootimg file: .\boot.img
output: kernel[.gz] ramdisk[.gz] second[.gz]
found nonstandard ramdisk_addr
found nonstandard tags_addr
found device_tree_image
base: 0x0
ramdisk_addr: 0x2000000
second_addr: 0xf00000
tags_addr: 0x1e00000
page_size: 4096
name: "SRPRL06C001"
cmdline: "console=null androidboot.hardware=qcom androidboot.memcg=1 lpm_levels.sleep_disabled=1 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 service_locator.enable=1 swiotlb=1 androidboot.usbcontroller=a600000.dwc3 nokaslr printk.devkmsg=on androidboot.vbmeta.avb_version=1.0 androidboot.avb_version=1.0 buildvariant=eng"
padding_size=4096
arguments: [ramdisk file] [directory]
ramdisk file: ramdisk
directory: initrd
output: cpiolist.txt
Traceback (most recent call last):
File "", line 2213, in
File "", line 1463, in unpack_bootimg
IOError: invalid ramdisk
and fail to get ramdisk.
Could you help me to slove the problem??
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.