Problem with Android Kitchen with Asus ZenFone 2 Z00L .img MM on Linux - Android Q&A, Help & Troubleshooting

Hi guys i'm having a problem with Kitchen 0.224 on opening a system.img of Android MM 6.0.1.
when i start the process of creating a working folder and when the process is done i get the following message:
Compiling simg2img ...
In file included from sparse_crc32.c:46:0:
ext4_utils.h:29:23: fatal error: sys/types.h: No such file or directory
compilation terminated.
gcc: error: sparse_crc32.o: No such file or directory
rm: cannot remove '*.o': No such file or directory
Error: simg2img not successfully compiled!
to be specific i'm running kitchen on linux mint 18.2,followed all the steps to get kitchen working.
Phone Asus ZenFone 2 Z00L MarshMallow.img ROM .
any idea on what is wrong ?? how do i get to work and modify that ROM?
any lil help is appreciated
oh and before someone wonder and even ask yes i am a beginner on those stuff

Related

Building Kernel From Source Help!!

Hi all im trying to build a kernel from sony source. Everything was going fine untill the actual compile and im facing this error
Makefile:327: /scripts/Kbuild.include: No such file or directory
Makefile:571: /arch//Makefile: No such file or directory
make: /scripts/gcc-wrapper.py: Command not found
p�o�p�o�bbpper.py gcc/bin/bash: /scripts/gcc-goto.sh: No such file or directory
��o���o�PaPapper.py gccMakefile:1174: *** target pattern contains no `%'. Stop.
[email protected]:~/Desktop/work-space/Kernel-Workspace/Dark-Moon/kernel$
I don't know whats wrong this is my first atempt at a kernel so i don't have much knowledge i have been following this TuT http://forum.xda-developers.com/showthread.php?t=1748297 and got this error at step 5 part B,a Can anyone help a noob

[Q] Error While Downloading CM12 Source

Hey Guys i am downloading CM12 Source ..Everything is fetched..I just need to sync when i start syncing i get an error .
Code:
error: in `sync`: [Errno 2] No such file or directory: u'/home/humaid/cm12/cts/.git/HEAD'
error: manifest missing or unreadable -- please run init
I have tried many time but i am still stuck .I am running Ubuntu 14 directly on my pc
KIndly help
DONE
Deleated the file from directory and retried and it worked!

smd_private.h: No such file or directory

I'm trying to build a stand alone Android kernel and i want to write loadable kernel module, but when i build my module.c file, i have this error
Code:
error: smd_private.h: No such file or directory
search at google told me that i should change
Code:
<smd_private.h>
into
Code:
"smd_private.h"
in arch/arm/mach-msm/smd_init_dt.c file . but i dont have this file in my kernel folder !!!, so i download this file,but the error still exist!! Can you help me?
[Q]
any help?

Porting Cyanogenmod 13.0 for Lenovo K3 Note: build issues

Hi,
I am trying to port cyanogenmod 13.0 to the Lenovo K3 note.
I have two problems that I have not been able to solve despite googling and searching this forum. Any answers would be appreciated.
Problem 1)
Build terminates close to very end at this line:
Code:
Installing recovery patch to system partition
Warning: could not find RECOVERY/RAMDISK/etc/recovery.fstab
Warning: could not find SYSTEM/build.prop in <built-in function zip>
using prebuilt recovery.img from BOOTABLE_IMAGES...
using prebuilt boot.img from BOOTABLE_IMAGES...
cp: cannot stat ‘$OUT/target/product/aio_otfp/ota_temp/SYSTEM/bin/install-recovery.sh’: No such file or directory
build/core/Makefile:1074: recipe for target '$OUT/target/product/aio_otfp/system/bin/install-recovery.sh' failed
make: *** [$OUT/target/product/aio_otfp/system/bin/install-recovery.sh] Error 1
build/core/Makefile contains the lines
Code:
$(hide) cp $(ota_temp_root)/SYSTEM/bin/install-recovery.sh $(TARGET_OUT)/bin/install-recovery.sh
$(hide) cp $(ota_temp_root)/SYSTEM/recovery-from-boot.p $(TARGET_OUT)/recovery-from-boot.p
however the file install-recovery.sh is missing. In fact the whole $(ota_temp_root)/SYSTEM/bin/ directory is empty.
Has anyone encountered this error before, or have thoughts on a solution?
Problem 2)
If I remove the line entirely from the makefile (i.e. skip install-recovery.sh) the build completes successfully. The $OUT directory contains the files recovery.img, boot.img, system.img, userdata.img, and so forth. I can flash the recovery.img to my recovery partition, and all is well booting into it. However, there is no .zip file for flashing the system as a whole.
I have tried various combinations of make otapackage, make bacon, etc., but none of these seem to work (possibly they were features in previous versions of CM). Is there a different target I should use, or a flag that I need to change in the device tree?
Many thanks for everyone's help!

Kitchen Error: No system folder found! MIUI ROM

Hi!
This is my first attempt with Cygwin and Kitchen.
When kitchen finished creating working folder and extracting rom (xiaomi.eu 11.0.4.0) it gives me Error: No system folder found! (See screenshot)
Whats happening? Any ideas guys? Am i doing something wrong?

Categories

Resources