'Android: Edify script problem with flashing unpacked tar.xz kernels files (img) - files can not be flashed - missed
I have problem with extracted from kernel.tar.xz my img's kernels for Android device. I use for unpack and flash Edify - updater-script.
The img's files are phisicly unpacked in /tmp/scripts folder but with package_extract_file are as missed in the same directory.
I use commands like this:
run_program("/tmp/scripts/busybox", "tar", "-xvJf", "/tmp/scripts/kernel.tar.xz", "SMG988B-boot.img", "-C", "/tmp/scripts");
package_extract_file("/tmp/scripts/SMG988B-boot.img", "/dev/block/platform/13100000.ufs/by-name/boot");
or even I only unpack full kernel.tar.xz and I have 7 img's files with SMG988B-boot.img in Aroma installer log is as missed. enter image description here enter image description here
I've tried to set permissions again but this doesn't help.
As You see :
G988B Detected
@G988B Detected
about to run program [/tmp/scripts/busybox] with 8 args
SMG988B-boot.img
package_extract_file: no tmp/scripts/SMG988B-boot.img in package
If anyone solved this problme and can give any advice - thanks.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
