[Q] Cygwin and Kitchen error - Android Q&A, Help & Troubleshooting

Hi,
I'm new to rom development and i tried to set up kitchen but i failed. it gives this error when i type cd ../kitchen
bash: cd: ../kitchen: No such file or directory
i tried alot but it just wont open
pls help
i attached screenshots
i tried cd /cygdrive/d/cygwin/home/kitchen
then i entered ./menu and it said
bash: ./menu: /bin/bash: bad interpreter: No such file or directory
help

Related

[Q] [q] I keep having this error in my adb

Whatever script I try to install with
Code:
sh install.sh
I always got this response
Code:
sh: Can't open istall.sh
I did the first code after
su
cd to the directed folder
Please help, really confused here
I use vista 32bit for OS, does it somehow related?
Or do I need to copy the install.sh into that directed folder?
Help needed >.<
Thanks

[Q] Rooting on Mac and stuck, please help

So i am following this guide
And i am stuck on the Mac terminal part, I have put the folder in my desktop but when i type cd /rooteve3dnew it says -bash: cd: /rootevo3dnew: No such file or directory
What am I doing wrong? Please help!

[Q] CM10.1 Won't suddenly won't build (No rule to make target...)

This isn't the first time I've tried to build Cyanogenmod for my i9100 on Ubuntu 12.10; I've done it successfully a few times before. However recently, it has just refused to build.
Code:
lunch cm_i9100-userdebug && mka
gave a bunch of errors: http://pastebin.com/Mn3YLZDY.
Code:
brunch cm_i9100-userdebug
gives different errors: http://pastebin.com/xiv4ettD. Teamhacksung's build script also gives the exact same errors. I tried starting in a new directory from scratch, but I still get the same errors.
The parts that look suspicious to me are
Code:
/bin/bash: line 0: cd: external/apache-harmony//home/ari/android/system/external/apache-harmony: No such file or directory
/bin/bash: line 0: cd: external/apache-harmony//home/ari/android/system/external/apache-harmony: No such file or directory
/bin/bash: line 0: cd: external/apache-harmony//home/ari/android/system/external/apache-harmony: No such file or directory
/bin/bash: line 0: cd: external/apache-harmony//home/ari/android/system/external/apache-harmony: No such file or directory
(/home/ari/android/system/external/apache-harmony does exist) and
Code:
/bin/bash: line 0: cd: libcore//home/ari/android/system/libcore: No such file or directory
/bin/bash: line 0: cd: libcore//home/ari/android/system/libcore: No such file or directory
/bin/bash: line 0: cd: libcore//home/ari/android/system/libcore: No such file or directory
/bin/bash: line 0: cd: libcore//home/ari/android/system/libcore: No such file or directory
find: `src': No such file or directory
I think this could be related to a repo sync problem I had/have where it couldn't download anything properly with lots of
Code:
Connection reset by peer
errors, although I think it has now synced (df -h shows 15GB). I also ran
Code:
repo forall -c "git fsck && git gc"
which "repairs" each repository, and that didn't give any errors.
Can anyone help with getting this to build?
EDIT: I found a post on the Android Building mailing list that was similar, and the suggestion to run
Code:
export CDPATH=""
(previously, $CDPATH=".")
got CM to build much further than before. No idea how this works, but it does.
However there are now more errors later during the build, e.g.
Code:
make: *** No rule to make target `/media/build/android/out/system/target/product/i9100/obj/lib/libTVOut.so', needed by `/media/build/android/out/system/target/product/i9100/obj/EXECUTABLES/mediaserver_intermediates/LINKED/mediaserver'. Stop.
It seems to have built a .zip flashable file now:
Code:
Package complete: /media/build/android/out/system/target/product/i9100/cm-10.1-20130121-UNOFFICIAL-i9100.zip
md5: f9fe076a6f0dfe140329e94ce6aa1867
Creating kernel zip...
Bootimage found...
No instructions to create out/target/product/i9100/kernel-cm-10.1-20130121-i9100-signed.zip... skipping.
Elapsed: 47 min(s) 20 sec(s)
but it says it can't create a kernel zip?

Cyanogenmod 12 mkvendor.sh problem

Hi guys i have a question, i want to get my device tree with the mkvendor.sh on the cyanogenmod source build/tools/device folder, y run this line using the previusly boot.img extracted:
./build/tools/device/mkvendor.sh dell yellowtail ~/boot.img
But the problem is that that some files are missing, i got this:
Code:
Arguments: dell yellowtail /home/quevon24/boot.img
Output will be in /home/quevon24/android/system/cm12/device/dell/yellowtail
gzip: ../boot.img-ramdisk.gz: No such file or directory
cpio: premature end of archive
cat: /tmp/quevon24/bootimg/boot.img-base: No such file or directory
cat: /tmp/quevon24/bootimg/boot.img-cmdline: No such file or directory
cat: /tmp/quevon24/bootimg/boot.img-pagesize: No such file or directory
cp: cannot stat
«/tmp/quevon24/bootimg/boot.img-zImage»: No such file or directory
Creating initial git repository.
~/android/system/cm12/device/dell/yellowtail ~/android/system/cm12
Reinitialized existing Git repository in /home/quevon24/android/system/cm12/device/dell/yellowtail/.git/
On master branch
nothing to commit, working directory clean
~/android/system/cm12
Done!
My boot.img is from a dell venue 8 3830, its from a android 4.4 stock image from here: http://forum.xda-developers.com/showpost.php?p=51090040&postcount=2
Anyone can help and explain me please?
Thanks

Help, Problem with mkvendor.sh to get device tree

Hi, im starting to learn to port roms following cyanogenmod guide but now i have this problem trying to generate the device tree of the dell venue 8 3830, i hope anyone can help me.
I run this:
Code:
./build/tools/device/mkvendor.sh dell yellowtail ~/boot.img
And i got this:
Code:
Arguments: dell yellowtail /home/quevon24/boot.img
Output will be in /home/quevon24/android/system/cm12/device/dell/yellowtail
gzip: ../boot.img-ramdisk.gz: No such file or directory
cpio: premature end of archive
cat: /tmp/quevon24/bootimg/boot.img-base: No such file or directory
cat: /tmp/quevon24/bootimg/boot.img-cmdline: No such file or directory
cat: /tmp/quevon24/bootimg/boot.img-pagesize: No such file or directory
cp: cannot stat
«/tmp/quevon24/bootimg/boot.img-zImage»: No such file or directory
Creating initial git repository.
~/android/system/cm12/device/dell/yellowtail ~/android/system/cm12
Reinitialized existing Git repository in /home/quevon24/android/system/cm12/device/dell/yellowtail/.git/
On master branch
nothing to commit, working directory clean
~/android/system/cm12
Done!
quevon24 said:
Hi, im starting to learn to port roms following cyanogenmod guide but now i have this problem trying to generate the device tree of the dell venue 8 3830, i hope anyone can help me.
I run this:
Code:
./build/tools/device/mkvendor.sh dell yellowtail ~/boot.img
And i got this:
Code:
Arguments: dell yellowtail /home/quevon24/boot.img
Output will be in /home/quevon24/android/system/cm12/device/dell/yellowtail
gzip: ../boot.img-ramdisk.gz: No such file or directory
cpio: premature end of archive
cat: /tmp/quevon24/bootimg/boot.img-base: No such file or directory
cat: /tmp/quevon24/bootimg/boot.img-cmdline: No such file or directory
cat: /tmp/quevon24/bootimg/boot.img-pagesize: No such file or directory
cp: cannot stat
«/tmp/quevon24/bootimg/boot.img-zImage»: No such file or directory
Creating initial git repository.
~/android/system/cm12/device/dell/yellowtail ~/android/system/cm12
Reinitialized existing Git repository in /home/quevon24/android/system/cm12/device/dell/yellowtail/.git/
On master branch
nothing to commit, working directory clean
~/android/system/cm12
Done!
Click to expand...
Click to collapse
Intel's provided their own custom boot image, thus default Google's unpack tool has no effect on it. Luckily, there are many dev shared their tool to unpack/repack it, i.e @shakalaca, or @social-design-concepts of your dell. You should find those repo, and download or build by yourself follow their guide, then place compiled tool to your path. After that, You can change at line 20 as below
Before:
Code:
UNPACKBOOTIMG=$(which unpackbootimg)
After modified:
Code:
UNPACKBOOTIMG=$(which unpack_intel)
P/s: unpack_intel here is just an example,only. In facts, it's maybe has different, depending its name on makefile. Good luck:laugh:
How to get the mkvendor.sh ?
quevon24 said:
Hi, im starting to learn to port roms following cyanogenmod guide but now i have this problem trying to generate the device tree of the dell venue 8 3830, i hope anyone can help me.
I run this:
Code:
./build/tools/device/mkvendor.sh dell yellowtail ~/boot.img
And i got this:
Code:
Arguments: dell yellowtail /home/quevon24/boot.img
Output will be in /home/quevon24/android/system/cm12/device/dell/yellowtail
gzip: ../boot.img-ramdisk.gz: No such file or directory
cpio: premature end of archive
cat: /tmp/quevon24/bootimg/boot.img-base: No such file or directory
cat: /tmp/quevon24/bootimg/boot.img-cmdline: No such file or directory
cat: /tmp/quevon24/bootimg/boot.img-pagesize: No such file or directory
cp: cannot stat
«/tmp/quevon24/bootimg/boot.img-zImage»: No such file or directory
Creating initial git repository.
~/android/system/cm12/device/dell/yellowtail ~/android/system/cm12
Reinitialized existing Git repository in /home/quevon24/android/system/cm12/device/dell/yellowtail/.git/
On master branch
nothing to commit, working directory clean
~/android/system/cm12
Done!
Click to expand...
Click to collapse
Hey can you please help me? I am trying to build device tree. I have done all the previous steps. But theres no mkvendor.sh file in my cm14.1 repo. Please help.
bnayagrawal said:
Hey can you please help me? I am trying to build device tree. I have done all the previous steps. But theres no mkvendor.sh file in my cm14.1 repo. Please help.
Click to expand...
Click to collapse
I didn't keep trying, but if you are trying for the same device, you can't use cm 14.1, but I think you need to use cm 12, there's no any development for other android versions.

Categories

Resources