[Q] DsiXDA kitchen error - Android Q&A, Help & Troubleshooting

Hello every1,
Was trying to setup dsixda kitchen but on giving ./menu command,it just gave the error the application java is not installed.
I solved it by using this post.
Then,when i restarted Cygwin,entered cd kitchen and then gave the command ./menu,it started giving the below error:
Code:
$ ./menu
./menu2 line 462 chmod2 command not found
scripts/check_insta11_dir2 line 132 grep2 command not found
scripts/init_kitchen2 line 122 chmod2 command not found
scripts/init_kitchen2 line 132 chmod2 command not found
scripts/init_kitchen2 line 142 chmod2 command not found
scripts/init_kitchen2 line 152 chmod2 command not found
scripts/init_kitchen2 line 162 chmod2 command not found
scripts/init_kitchen2 line 172 chmod2 command not found
scripts/init_kitchen2 line 182 chmod2 command not found
scripts/init_kitchen2 line 192 rm2 command not found
scripts/init_kitchen2 line 292 rm2 command not found
scripts/init_kitchen2 line 212 rm2 command not found
scripts/init_kitchen2 line 222 rm2 command not found
scripts/init_kitchen2 line 232 rm2 command not found
scripts/check4binaries2 line 222 c1ear2 command not found
Welcome to dsixda’s Rndroid Kitchen
Please wait _
Well,I'm quite sure i followed the readme file in the cygwin-packages properly.
HELP PLEASE

I have the same issue!

Hmm,i am gonna try setup linux to use it

When im entered ./menu command i get ./menu: No such file or directory error

fustrated beyond words
i followed every letter to install java sdk and dsixdas kitchen once done cygwin kept giving me error the java was not installed i searched for answer applied all possible answers and got nothing but error java not installed ... my machine shows java installed every thing i run shows java installed except this one i applied fixes by changing bash file to include or mod lines to java folders and files as instructed and nothing but error java not installed.... i have been trying for almost two months to get this kitchen and software to work all with same end results error java not installed... im tired of the bs i have completely wiped and did ungodly formats and wipes of drives and fresh installs of all basic programs and updates to only install this stuff on puter to work with adding nothing to the machine but windows and this only no other software at all and it still says no java installed and yet java and this is the only things installed i have searched countless times for fix and applied all of them none work same error keeps coming up...so now what ? i want this working as described.. i have followed everything as instructed nothing works..... no this is the only option to work with so no installing Linux or emulator just windows im using and the java files i was instructed to get and the software instructed to get also so whats fix??? oh and this is a far cry from all the problems i have encountered with xda info , apps, or instructions specially in the last year ... wondering what the problem is all the sudden?

giuseppemascia3 said:
i followed every letter to install java sdk and dsixdas kitchen once done cygwin kept giving me error the java was not installed i searched for answer applied all possible answers and got nothing but error java not installed ... my machine shows java installed every thing i run shows java installed except this one i applied fixes by changing bash file to include or mod lines to java folders and files as instructed and nothing but error java not installed.... i have been trying for almost two months to get this kitchen and software to work all with same end results error java not installed... im tired of the bs i have completely wiped and did ungodly formats and wipes of drives and fresh installs of all basic programs and updates to only install this stuff on puter to work with adding nothing to the machine but windows and this only no other software at all and it still says no java installed and yet java and this is the only things installed i have searched countless times for fix and applied all of them none work same error keeps coming up...so now what ? i want this working as described.. i have followed everything as instructed nothing works..... no this is the only option to work with so no installing Linux or emulator just windows im using and the java files i was instructed to get and the software instructed to get also so whats fix??? oh and this is a far cry from all the problems i have encountered with xda info , apps, or instructions specially in the last year ... wondering what the problem is all the sudden?
Click to expand...
Click to collapse
this is a simple path fix:
add the following line at the end of .bash_profile
PATH=/cygdrive/c/Program\ Files/Java/jdk1.6.0_45/bin:/cygdrive/c/cygwin/bin
save,exit,restart
*note, if you have more to add to PATH, do it now, but this will get kitchen to fire up. This also assume you installed to C drive.
Also, I have better luck using jdk 6 than 7.
-js

js99912 said:
this is a simple path fix:
add the following line at the end of .bash_profile
PATH=/cygdrive/c/Program\ Files/Java/jdk1.6.0_45/bin:/cygdrive/c/cygwin/bin
save,exit,restart
*note, if you have more to add to PATH, do it now, but this will get kitchen to fire up. This also assume you installed to C drive.
Also, I have better luck using jdk 6 than 7.
-js
Click to expand...
Click to collapse
Ditto, your a genius or sort of it, that fixed this problem with 'java application not installed" that was giving me a headache

Here, i have Cygwin and dsixda kitchen for windows in a zip, just extract it to the root of your C: drive;
http://www.mediafire.com/download/m6o9jsgm0gdxcde/cygwin.zip

Related

[Q] Can't run flashtool 32-bit vista...tried everything. HELP!

****FIXED!!!!****
After creating a new user account, moving everything to the root of C (I remembered SOMETHING I used at some point had to go there) actually trying to edit the javascript myself (FAIL) and several other crazy measures, I figured out that flashtool, at least on this particular computer, MUST BE INSTALLED to C:/Windows/System32.
I've spent all day searching for the answer to this; I haven't come across anything that says "FLASHTOOL MUST BE INSTALLED IN THE DEFAULT DIRECTORY." I've actually come across a few tutorials in which it is installed in other directories. I know that when I used it with windows 7, I kept the program on the desktop, as I generally do with standalone exes. So I'm assuming it's this machine, or vista. However, the main flashtool page might possibly benefit from a note "On some machines it is necessary...." or something similar.
I did find quite a few instances of similar (not exactly the same) problems; perhaps this would help those people out?
I hope someone who is having this problem stumbles across this thread....most of the search results for the complete error lead to, well...nothing.
------
I wanted to update my Xperia X10a to 2.3, but it still isn't available in my region. before I figured out THAT was the problem (duh) I stupidly allowed SEUS to "repair" my phone, thinking that maybe it would "recognize" it's software and give me the update. So now I'm stuck with 2.1 and no root. No problem...I'll just use flashtool.
Downloaded and tried running it. Asked for admin permission, then nothing. Ran as administrator, same thing. Turned off UAC, same...left it off, ran as administrator...same. I already had JDK, but I uninstalled and reinstalled all java, rebooted. Got this error:
Startup Error
java.lang.NullPointerException
at gui.FlasherGUI.initLogger(FlasherGUI.java:114)
at gui.FlasherGUI.main(FlasherGUI.java:142)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
Added this to "path" in environment variables ;C:\Program Files\Java\jre6\bin
Rebooted. Same error.
Obviously this has something to do with Java, which I really don't know anything about. I'm desperate at this point. I wish I had just been happy with 2.1 and not even tried, but I wasn't thinking I was taking some huge chance since it's SOOOO easy to reinstall firmware, root, ect. I've lost ALL my apps/info. Was relying on Titanium backup pro, which I cant use without root. AUGH!!!! Can anyone help?
EDIT: Just followed these instructions(below), for giggles, and same error.
it doesn't seem to be common at all. I've uninstalled java and started over something like 10 times now. I'm going insane!
PREPARATION BEFORE FLASHING
PREPARATION BEFORE FLASHING
1. Download the f/w and flashtool from above link.
2. Extract Flashtool to a folder (we'll be using \X10Flash for this example)
3. Extract the f/w to \X10FLash\firmware
4. Download 32bit JDK here (JDK, Not JRE!!) . Its usually the first download from the top>>
5. Install JDK. By default it will be installed to C:\Program Files\Sun\JavaDB
6. Copy this t your clipboard "C:\Program Files\Sun\JavaDB\bin" (including "")
7. Go to your Control Panel>System>Properties>Advanced>Enviroment Variables.
8. In the System Variables section(bottom half of the window), look for 'Path' and click 'Edit'.
9. Go to the end of the line and type ';' and paste the path from earlier "C:\Program Files\Sun\JavaDB\bin". Click OK to everything after that. This will tell windows where to look for the java files so Flashtool can run properly.
10. Restart your system. Shut down your X10 Mini Pro at the same time since it need to rest in off state for about 20-30 secs. If not some X10 Mini Pro will boot automatically when u plug in the usb cable.
hey dude have u tried installing JRE coz imo JDK is needed oly when u use Android Development Kit or Android SDK and JRE for Runtime Purpose !! i used flashtool with JRE only and not JDK !! did u try out this thing ??? sorry if u have tried !!
else try and see if it might help !!
thank me if it did!!
OR
just disable your anti-virus and firewall while running.
Be sure that you have installed java 6 (from control panel)
could you run with compatibility mode Windows XP service pack 3?
Crystalline888 said:
****FIXED!!!!****
After creating a new user account, moving everything to the root of C (I remembered SOMETHING I used at some point had to go there) actually trying to edit the javascript myself (FAIL) and several other crazy measures, I figured out that flashtool, at least on this particular computer, MUST BE INSTALLED to C:/Windows/System32.
I've spent all day searching for the answer to this; I haven't come across anything that says "FLASHTOOL MUST BE INSTALLED IN THE DEFAULT DIRECTORY." I've actually come across a few tutorials in which it is installed in other directories. I know that when I used it with windows 7, I kept the program on the desktop, as I generally do with standalone exes. So I'm assuming it's this machine, or vista. However, the main flashtool page might possibly benefit from a note "On some machines it is necessary...." or something similar.
I did find quite a few instances of similar (not exactly the same) problems; perhaps this would help those people out?
I hope someone who is having this problem stumbles across this thread....most of the search results for the complete error lead to, well...nothing.
------
I wanted to update my Xperia X10a to 2.3, but it still isn't available in my region. before I figured out THAT was the problem (duh) I stupidly allowed SEUS to "repair" my phone, thinking that maybe it would "recognize" it's software and give me the update. So now I'm stuck with 2.1 and no root. No problem...I'll just use flashtool.
Downloaded and tried running it. Asked for admin permission, then nothing. Ran as administrator, same thing. Turned off UAC, same...left it off, ran as administrator...same. I already had JDK, but I uninstalled and reinstalled all java, rebooted. Got this error:
Startup Error
java.lang.NullPointerException
at gui.FlasherGUI.initLogger(FlasherGUI.java:114)
at gui.FlasherGUI.main(FlasherGUI.java:142)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
Added this to "path" in environment variables ;C:\Program Files\Java\jre6\bin
Rebooted. Same error.
Obviously this has something to do with Java, which I really don't know anything about. I'm desperate at this point. I wish I had just been happy with 2.1 and not even tried, but I wasn't thinking I was taking some huge chance since it's SOOOO easy to reinstall firmware, root, ect. I've lost ALL my apps/info. Was relying on Titanium backup pro, which I cant use without root. AUGH!!!! Can anyone help?
EDIT: Just followed these instructions(below), for giggles, and same error.
it doesn't seem to be common at all. I've uninstalled java and started over something like 10 times now. I'm going insane!
PREPARATION BEFORE FLASHING
PREPARATION BEFORE FLASHING
1. Download the f/w and flashtool from above link.
2. Extract Flashtool to a folder (we'll be using \X10Flash for this example)
3. Extract the f/w to \X10FLash\firmware
4. Download 32bit JDK here (JDK, Not JRE!!) . Its usually the first download from the top>>
5. Install JDK. By default it will be installed to C:\Program Files\Sun\JavaDB
6. Copy this t your clipboard "C:\Program Files\Sun\JavaDB\bin" (including "")
7. Go to your Control Panel>System>Properties>Advanced>Enviroment Variables.
8. In the System Variables section(bottom half of the window), look for 'Path' and click 'Edit'.
9. Go to the end of the line and type ';' and paste the path from earlier "C:\Program Files\Sun\JavaDB\bin". Click OK to everything after that. This will tell windows where to look for the java files so Flashtool can run properly.
10. Restart your system. Shut down your X10 Mini Pro at the same time since it need to rest in off state for about 20-30 secs. If not some X10 Mini Pro will boot automatically when u plug in the usb cable.
Click to expand...
Click to collapse
It's your antivirus
It did it to me the other day
Reinstall flashtool to c:\flashtool
Disable antivirus
Run flashtool
Works fine
Just disable if you want to flash
Sent from my Xperia X10 using xda premium
Still No go. Getting same error again and again.
Fed up with this.......

[Q] sbf_flash on 64-bit Linux

When trying to use the sbf_slash utility, I get a
Code:
"Value too large for defined data type
!! failed"
It works fine on files under 2GB however it cant work on any of the sbf files. I read somewhere that it is a compilation error or something to that degree. Is there anyone who has successfully done this?
I get the same thing in the same setup. I had to boot over to windows to get it to work.

help(cygwin)

for those who dont understand this stuff plz dont rply
hey guys! theres a little problem with me while setting up the kitchen
i have jdk installed but when i rum "./menu" command in cgywin it says jdk not installed.......so i referred to the solution by dsixda and yes it worked...i got no more no jdk installed error.....but instead i got a new error
""The application 'clear' is not installed. The kitchen will not function properly without it. Refer to the FAQ for the HTC Android Kitchen at xda-developers.com for assistance on installing the binary for 'clear'.""
i know the clear package is supposed to be installed from ncurses package but it dont work
theres a solution for this problem too in dsixda thread but but the jdk solution and this solution both says to add a line in bash script at the *end*line
so the problem is if i add the clear package line to the end line then the jdk stops workind and displays teh earlier error
I recommend to install ubuntu, its like a custom ROM
No need to use Cygwin then, and never have errors
Greets!

[Q] problems with android sdk

*RESOLVED*
ive searched to no prevail. id like to start developing apps but am having issues getting the environment set up. i have the jdk properly installed.
issue 1 (main \ major ):
ive installed the android sdk from multiple sources, but when i try to start sdk tools, the command prompt flashes/ opens briefly and i get this message:
"Failed to execute tools\android.bat:
The system cannot find the file specified."
do i need to change a PATH variable or something...
issue 2:
i cannot get eclipse to run. when i try to open the exe file ( because there is no short cut icon...?) it gives a message about not finding a companion library... ive try to change the properties in the file that is supposed to fix it, but it was already set the way its supposed to be. this is not major as i can use a different IDE.
so im completely lost as to th sdk tool. any help would be appreciated!
edit:
i just tried adding the file path to the android sdk ( PATH variable) and it still did not work... :/
i also just tried start the android,bat file and the cmd promt flashes briefly saying somthing about xcopy is not an operable command...etc couldnt read all of it...
btw im on windows 7 home premium
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
Check if this can help you.
Actually, you don't need to configure environment variables. You only need to install Java SE, and Eclipse and Android SDK should work fine.
RoberGalarga said:
Check if this can help you.
Actually, you don't need to configure environment variables. You only need to install Java SE, and Eclipse and Android SDK should work fine.
Click to expand...
Click to collapse
well eclipse wont install either, it cant find some companion library.all i curently have is the java jdk and an IDE called intelliJ idea or something like that, nothing else will install...i had to add an environmental variable to get the java jdk to work on cmd. if you could give links to any files your using that would be of help. , that is if your on windows 7
Sure...
Eclipse
Android SDK
Follow the indications of my previous link
Word of caution
I hate to discourage anyone from following their hearts desires especially when it comes to software development. But I wanted to share some advice with you coming from an experienced software engineer. I've been developing software for over 15 years. My experience comes mainly from developing Windows desktop applications in C/C++. I've also been developing software using Java for several years so I'm by no means new to Java technology or development tools.
I've only recently started to develop for the Android platform. It didn't take me long to get started (i.e. get the development environment setup and start developing using the AVD manager) but as I dig into it I'm finding that the Android platform has become very much like developing Windows applications which is interesting to find because I really haven't done a lot of user interface development using Java. In the past my Java development projects have always been more back end server integration related to App Servers and database integration (i.e. Apache/Tomcat, JSP, Oracle, etc.).
I have seen user interface development libraries in Java such as Swing in the past but haven't had a real need for them. So to tell you the truth I can't say how much better or worse the Android SDK user interface libraries are than the traditional JDK 1.4 libraries.
All of this is to say that when I say this you know it's coming from someone that isn't just learning how to program. My advice to you is that if you haven't done much Java development in the past that Android development is not the place to start. You might want to start with the basics first like just setting up a simple Java program and learning the technology first before you jump head long into something.
I've done that more times than I can count in my long career and I can tell you from experience it's the surest way to fail before you get started.
thanks but...
RoberGalarga said:
Sure...
Eclipse
Android SDK
Follow the indications of my previous link
Click to expand...
Click to collapse
i tried to use those files, but still the same problem, they wont launch/ install...in your post it says to launch them from the folder, correct...? the problem is, THEY WONT LAUNCH AT ALL...no UI for anything, just a quick flash of the cmd window for both of them and a pop up window for eclipse...
***i wasnt yelling, just frustrated...
First. DELETE EVERYTHING FROM DOWNLOADED FILES TO EXTRACTED FILE GET RID OF ALL OF IT then clear trash can.
THen ensure the JDK is successfully installed by opening command prompt and typing "java -version" you should have build 1.7 or higher. If not, you may download it here http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u4-downloads-1591156.html
Download this http://developer.android.com/sdk/index.html and pick the one that has "Recommended" next to it.
after you have that downloaded. FOLLOW THE STEPS BELOW TO A T! NO SHORTCUTS WHAT SO EVER!
Then once everything is downloaded. simply FOLLOW ME again TO A T! and if you follow that you should get everything working. And seriously, FOLLOW IT TO A T! do not take shortcuts do not try to do more than one thing at a time just take it step by step. I had no problems getting it up and running by following that last link.
Hope that helps and BE PATIENT you will get to play around soon enough
elesbb said:
...Then once everything is downloaded. simply FOLLOW ME again TO A T! and if you follow that you should get everything working. And seriously, FOLLOW IT TO A T! do not take shortcuts do not try to do more than one thing at a time just take it step by step. I had no problems getting it up and running by following that last link.
Hope that helps and BE PATIENT you will get to play around soon enough
Click to expand...
Click to collapse
thank you very much. i have what i need now, although i think i figured out my problem...stupid me was viewing the archive for eclipse instead of extracting the files to a separate folder, where the shortcut appeared!. thank you as it was your instructions that led me to my problem.
tripartist1 said:
thank you very much. i have what i need now, although i think i figured out my problem...stupid me was viewing the archive for eclipse instead of extracting the files to a separate folder, where the shortcut appeared!. thank you as it was your instructions that led me to my problem.
Click to expand...
Click to collapse
hahaha!! Sometimes all we need to do is slow down and look at whats infront of us xD glad you got it figured out!
Samsung Galaxy S II not recognized on PC
I want to sync my PC with my Samsung Galaxy Skyrocket and put music on it, but the PC won't recognized the phone.
I have tried downloading and installing the driver, Kies, etc and still get the same error.
Can someone help me??
android.bat still not present
I went to the sdk site to download. I ran the exe file, says that it couldn't find the tool\android.bat file. Please help

Genymotion Version 2.2.2 ( Mac Os X Help)

whenever i try to drag and drop the Genymotion Arm translation V1.1 inside the Genymotion device ( currently using 4.4.2) it tells me "Copy of file(s) with success to: /sdcard/Download/" rather then telling me "Genymotion Arm Translation V1.1 Has been flashed successfully. You might need to reboot your virtual device..."
Then I did follow all the steps and dragged and dropped the APK file and gives me this "An error occurred while deploying a file.
INSTALL_FAILED_CPU_ABI_INCOMPATIBLE"
There is no way I can get this thing working... I have already downloaded the SDK & ADB files from Android website, i have a feeling that the file "System-Images" in side the SDK folder is missing. Android does not give that anymore and maybe that is the problem its causing my files not being able to flash inside the Genymotion Device.
Same thing for the Gapps-Jb ( file 4.4 , 4.3) doesn't matter i tried both. It just tells me "Copy of file(s) with success to: /sdcard/Download/" as it should be saying " .. has been flashed successfully..."
I'm trying to get APK of Simpsons tapped out work, but there is no way... Anyone who can help would be great... Thanks

Categories

Resources