I want to compile a recovery image for the Samsung Moment but have no idea on how to do so. I can't unpack the existing one because Samsung uses a different format (rfs). Any tips? How can I create my own in any case? I already have a compiled binary.
So I've been trying to compile a kernel for the 6P, with no luck making the device booting, so i'm looking for help here.
I've been looking for a guie specific for the Nexus 6P, but couldn't find any so i gathered what i could and knew from the past.
i'm using export ARCH=arm64 and export SUBARCH=arm64 along with the PATH and CROSS_COMPILE variables.
http://softwarebakery.com/building-the-android-kernel-on-linux
The link above is what i relied on for creating a boot.img
I have downloaded the kernel source, and the aarch64 toolchain 4.9 from google.
when the compilation is done i'll have Image, Image.gz & Image.gz-dtb in kernel_src/arch/arm64/boot/.
Then i'll use abootimg to create a boot.img using the guide posted above from the Image.gz-dtb & the stock mmb29m initrd.img & bootimg.cfg (with the bootsize= line deleted) and use fastboot boot testboot.img.
after the device downloads the boot.img it will boot in twrp instead.
Is there anything specific i'm missing or doing wrong?
Hi there! Did you resolve your problem? I had the same on HTC one m9 after compiling.
I have a Huawei Nova 2, for which I want to extract vendor blobs to be able to decrypt the data partition in recovery mode, and for other purposes. I tried using the following tool: https://github.com/anestisb/android-prepare-vendor, but not only was it for Google's Nexus/Pixel devices, but when I tried to edit the code to work with my device, it does not support the images that I have.
I have .img back ups (using dd if= / of= commands) of my vendor and system partitions, but that tool gives an error about some sparse format. Kindly direct me in the right direction
I found out vendor in system partition. I want to create vendor.img. what tool I need to do it?
Multi Image Kitchen - Repack Android partitions from Windows
Possibilities:
Unpacking and packing partitions: System, Vendor, Product, ODM, SOCKO, ELABLE (RAW, SPARSE)
Unpacking and packing partitions with extension: * .img; * .fex; * .Partition; * .new.dat; * .new.dat.br; * .lz4; * .exT4; * .tar; * .md5
Unpacking and packaging logo partition: logo.img, logo.partition
Unpacking and Packaging: _aml_dtb.partition (Single, Multi, Multi / Gzipped)
Extract from the PAYLOAD.BIN file sections file
Removing from the Super.img file partitions
Unpacking and packaging of resource partition: resource.img
Unpacking and packaging SOC Amlogic firmware, Rockchip and Allwinner
Unpacking and assembling Service Package: * .zip (Update.zip)
Decompiling and compile applications (* .apk)
Github: https://github.com/CryptoNickSoft/MIK
Reserved
Reserved 2
Download link not working for me
Scramble said:
Download link not working for me
Click to expand...
Click to collapse
Update
Mine's in Russian
Edit: Nevermind, I've managed to change the language
RichardHer said:
Mine's in Russian
Edit: Nevermind, I've managed to change the language
Click to expand...
Click to collapse
So do something wrong.
omg, thanks you,this tool is useful!
@CryptoNick
Amazing, I was finally able to extract the system.fex. Originally I have a super.fex, which contained 3 other files: product.fex, system.fex and vendor.fex
Out of the 3 fex-files only 2 were automatically extracted after the initial split: system.fex and vendor.fex. The 3rd file product.fex could be manually extracted with your tool.
System.fex etc. can be created after modification, but how do I re-pack the 3 sub-files into the single super.fex again?
Packaging in super.fex has not yet been implemented. If there is a desire, help the project is financially and I will have more motivation to develop it.
Scramble said:
Download link not working for me
Click to expand...
Click to collapse
yes , not working
Zhao li said:
yes , not working
Click to expand...
Click to collapse
Everything is excellent friend
下载链接对我缠绕
just a readme
GitHub - CryptoNickSoft/MIK: Repack Android partitions from Windows
Repack Android partitions from Windows. Contribute to CryptoNickSoft/MIK development by creating an account on GitHub.
github.com
GitHub - CryptoNickSoft/MIK: Repack Android partitions from Windows
Repack Android partitions from Windows. Contribute to CryptoNickSoft/MIK development by creating an account on GitHub.
github.com
thanks
CryptoNick said:
GitHub - CryptoNickSoft/MIK: Repack Android partitions from Windows
Repack Android partitions from Windows. Contribute to CryptoNickSoft/MIK development by creating an account on GitHub.
github.com
Click to expand...
Click to collapse
CryptoNick said:
GitHub - CryptoNickSoft/MIK: Repack Android partitions from Windows
Repack Android partitions from Windows. Contribute to CryptoNickSoft/MIK development by creating an account on GitHub.
github.com
Click to expand...
Click to collapse
Thanks
Halo sir,can this tool solve Samsung devices that fail to flash with odin in the system.img section, after editing system.img with the other tool ?
Droid Maps said:
Halo sir,can this tool solve Samsung devices that fail to flash with odin in the system.img section, after editing system.img with the other tool ?
Click to expand...
Click to collapse
Hey! Try. I did not test, since this functionality is not interesting to me.
After hours and hours of googling I finally found something that can unlock logo.img files on Windows. However, it doesn't seem to work for me. I got the following error:
[7920] Failed to execute script 'imgextractor' due to unhandled exception!
Traceback (most recent call last):
File "imgextractor.py", line 374, in <module>
File "imgextractor.py", line 368, in main
File "imgextractor.py", line 261, in __ext4extractor
File "ext4.py", line 484, in __init__
ext4.MagicError: Invalid magic value in superblock: 0x0000 (expected 0xEF53)
I would really appreciate help as I'm really desperate by now.