[SOLVED] Unable to setup Build Environment? - G1 Q&A, Help & Troubleshooting

Been trying to run mkbootimg. Everything i run it, it either goes permission denied, or no such file or directory.
Unfortunately i don't know why but i'm unable to build my own boot.img Anyone wanna do it for me? Or help me solve this problem which would be even better.
Trying to run adb in the platform-tools folder, i get
bash: ./adb: No such file or directory
I'm running a 64bit installation of Ubuntu 11.04 on Virtualbox.

Related

Setting up ADB? Windows 7

im trying to set up a adb so i can use my g1 as a webcam:
http://forum.xda-developers.com/showpost.php?p=4975656&postcount=17
however when i plug in my g1 it says everything was installed except the adb.
Do you have ADB setup on your computer in the first place? If not, http://forum.xda-developers.com/showthread.php?t=532719.
I installed the adb with the sdk as it was mentioned and my computer still doesnt show my phone as an adb device
Did you install the drivers for adb?
i cant find out how!
85Mario85 said:
i cant find out how!
Click to expand...
Click to collapse
a little search and VOILA!!!
http://forum.xda-developers.com/showthread.php?t=446274&highlight=64bit+usb
this works if you are running windoze 7 x64
i dont get how im supposed to put windows 7 on test mode =S
im getting this aswel "When running the command prompt adb install I receive an error dialog stating:
"This application has failed to start because AdbWinApi.dll was not found. Re-installing the application may fix this problem.""
im getting so frustrrated with thiss
bump! i dont get this =[
Search for pdanet and install it. That's how I set up adb for Windows. (Btw - get rid of Windows. Finally did my switch to ubuntu today - ahahahahahahaha I'm sad I ever even used Windows.)
Yea, but adb is kind of a ***** about permissions and such on ubuntu. But each has its quarks.
@85mario85 - You have to cd to the adb.exe in the tools folder ie. c:\sdk\tools\ then run adb. Or add it to the paths part, but I can't remember at the moment.
evilkorn said:
Yea, but adb is kind of a ***** about permissions and such on ubuntu. But each has its quarks.
@85mario85 - You have to cd to the adb.exe in the tools folder ie. c:\sdk\tools\ then run adb. Or add it to the paths part, but I can't remember at the moment.
Click to expand...
Click to collapse
adding it to the path just saves time. instead of having to cd all the time you can just run adb. i highly suggest it. and i agree - ubuntu is a ***** about permissions all the time. i love it, but i have to learn to use it. however, i'll probably always have a copy of windows in case i can't find out how to do something and have to have it done. better safe than sorry. =]

[Q] Help! Setting Up ADB Shell in Linux

I followed all of these instructions. Link: Here
But when I try to navigate to AndroidSDK folder in my home directory I can't get adb shell to start.
Code:
cd ~/AndroidSDK/tools
adb shell
After that the terminal says command not found and stuff.....anyone know how to set up adb shell on linux? (I'm running linux mint 10 specifically but I am a experienced linux user, i've used ubuntu and linux mint 10, so if you give me ubuntu commands for fixing this i can convert them into linux mint commands if need be).
Thanks for helping me get this set up on linux. I've mainly been a windows user and as easy as it would be for me to dual boot into windows instead i'm trying to make linux my main operating system slowly b/c i'm liking this operating system more than windows 7. so before i do that I want to make sure i know how to complete all the task i would want to do on windows 7 on linux instead, starting with adb shell
Those instructions are for an earlier version of android SDK. I am sure you downloaded and installed the latest from google's official website. If so, the adb command has moved to a different folder - platform-tools.
Do a search in the android sdk folder for "adb.exe", you should be able to find it and then use that folder as your base adb folder. Alternatively, you can setup the folder to be part of the path, that way you can execute adb from anywhere. If you need help, let me know.
andythegreenguy said:
Those instructions are for an earlier version of android SDK. I am sure you downloaded and installed the latest from google's official website. If so, the adb command has moved to a different folder - platform-tools.
Do a search in the android sdk folder for "adb.exe", you should be able to find it and then use that folder as your base adb folder. Alternatively, you can setup the folder to be part of the path, that way you can execute adb from anywhere. If you need help, let me know.
Click to expand...
Click to collapse
Can you give me full instructions on how to set up adb using the latest android sdk from google? Thanks
Sent from my DROIDX using XDA App
kifno said:
Can you give me full instructions on how to set up adb using the latest android sdk from google? Thanks
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
What I found when setting up mine on linux was to start adb, navigate to the tools directory where you have it setup, and use the command "./adb shell" minus the quotes. This seems to work fine, I don't know why. I beat my head against the wall, and don't remember how I found out about this. It's safe to say, the ./adb should need to be used with all the adb commands.
Kifno check the dev section for my thread on how to install adb on Ubuntu should help you out. It might be buried but I posted a full guide.
Edit---- If you look on my thread on how to indtall adb in windows. On the bottom of the post its a link to my other thread..
Yea it's me Again. With the
Modified .HERO.
Step-by-step guide to setting up android sdk on linux:
1. On your linux box, go to http://developer.android.com/sdk/index.html and download the package for linux
2. Create a "androidsdk" folder in your home folder
3. Unzip the contents of the "android-sdk-linux_x86" from inside the tgz file - into the above folder. You should have "add-ons", "platforms", "tools" and "SDK-readme.txt" in the above folder
4. Open a terminal window and navigate to androidsdk -> tools directory
5. Execute command "android" without quotes - this should open a UI
6. Go to available packages and install all packages you need
7. Once it has installed everything, exit the application
8. Navigate to your androidsdk/platform-tools directory - you should have adb there.
Now you can run adb from here or setup your computer to run from anywhere - following steps are to setup so that you can run adb from anywhere...
1. Append the following code in your .profile file - replacing "full path to your platform-tools directory" with the actual path with quotes:
if [ -d "full path to your platform-tools directory" ] ; then
PATH="full path to your platform-tools directory:$PATH"
fi
2. Save your .profile
3. Logout and log back in.
Now you should be able to execute adb from anywhere on the linux box, when you login using your credentials.
andythegreenguy said:
Now you can run adb from here or setup your computer to run from anywhere - following steps are to setup so that you can run adb from anywhere...
1. Append the following code in your .profile file - replacing "full path to your platform-tools directory" with the actual path with quotes:
if [ -d "full path to your platform-tools directory" ] ; then
PATH="full path to your platform-tools directory:$PATH"
fi
2. Save your .profile
3. Logout and log back in.
Now you should be able to execute adb from anywhere on the linux box, when you login using your credentials.
Click to expand...
Click to collapse
the bold is where i'm having trouble....where is the .profile file located?
also would this be the correct full path leading to platform tools? (so i can know when i get ready to do the .profile file thingy once you explain that)
~/AndroidSDK/platform-tools
btw thanks for the help (clicking thanks button.....lol)
edit: i also just got this problem
Code:
kevin-Satellite-L305 platform-tools # ./adb shell
error: insufficient permissions for device
it won't let me launch adb shell even after i typed su and put in my password
.profile is in your home directory. You can get to your home directory from anywhere in linux by typing "cd $HOME" at the shell prompt without quotes and as is here. If you know of DOS, you can relate to a .profile file as an autoexec.bat, that executes everytime a user logs in.
You need the absolute path to the platform-tools folder - which you can get by being in that folder and typing "pwd" without quotes.
The last error, it has something to do with your computer OS not recognizing your device.
1. Go to /etc/udev/rules.d
2. Look for a file 99-android.rules - if one does not exist, create one
3. Append the following line to the file: SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", OWNER="linux user name" GROUP="linux user group", replacing linux user name and linux user group with the actual values.
4. Save the file and restart your computer
This should do it.

[Solved] cant get adb on ubuntu 10.10 maverick

Solved:
thanks to a good friend of mine he directed me to this file on GRP dev-site
http://greenromproject.com/showthread.php?269-ADB-The-Easier-Way
open this file in ubuntu software manager, let the package install and reboot system, then adb should work in any directory
Original Post:
ok guys i really didn't want to do this... i followed over 6 different guides now and am getting confused.. there too many methods and they all do not work.... i keep getting .../adb no such file or directory
i spent the last 2 days trying to set up adb on my 10.10 ubuntu, 64-bit system... i edited the bashrc file with the correct path, even typed it in myself because of known issues with ' " ' those things.. i also made the 71-android.rules file with about 3 different variations of this
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", GROUP="plugdev"
reboot the system, i ran adb kill-server and sudo adb start-server and im still getting message saying .../adb no such file or directory...
only thing i can think of to cause an issue is i updated the system, (not upgrade to 11.04) only update!! installed java jdk and all the needed parts for compiling roms... but just cant seem to get adb working
has anyone else had this type of issue or know how to solve it...? sdk version r12
please someone help
Click to expand...
Click to collapse
...
i keep getting .../adb no such file or directory
...
Click to expand...
Click to collapse
If you get this message, there is no need to look for autoconfig rules or something else, you need to check your path. Try to type
Code:
which adb
if adb cannot be found, you should do a
Code:
export PATH=$PATH:<path to your adb directory>
after that you should be fine for starting adb. If you would like to have it in your path permanently, you shoud add the line above to you .profile file in your home directory.
yeah i already did all that... added the correct path and everything... i tried all these diff methods and none worked, and none were even close to the same as far as what to add to bashrc and the rules.. but i got the issue solved thanks to a file i installed via update manager... rebooted system and adb worked fine

ACMEinstaller issue

Been having issue trying to get ICS on my Touchpad..
Finally got to the stage where I have WebOS doctored, Full Wiped WebOS.
Now having a issue with the cmd script to kickstart the process.
Coming up saying The system cannot find the file specified?
I have created the folder in Root of touchpad put both moboot and ACMEinstaller in that folder.
What have I done wrong / missed out?
Please help
EDIT: Oops wrong section, Mods please move. Sorry
Before you run the command, copy the AcemInstaller to your novacom path .
So if you're in Windows open a CMD prompt to "C:\Program Files (x86)\HP webOS\SDK\bin", make sure you have AcmeInstaller in that folder, and run:
Code:
novacom boot mem:// < AcmeInstaller
P.S I'm 64bit OS so yours might just be "Program Files."
This may be too simple, but are you trying to use ACMEInstaller or ACMEInstaller2?
You need to use ver 2 for ICS
And Linux Newb, ACMEInstaller does not run from Windows. It's supposed to be on the Touchpad, which is where it needs to run. Novacom is simply the interface from your computer that tells the Touchpad to boot ACMEInstaller2 into memory. No files are transferred between computer and TP during the installation process (that is to say, after you've copied the files to the TP initially)
Jay, can you elaborate more on what your process was? We need some more details, such as:
1. Was the TP in USB flash mode?
2. Are you sure that novacom recognizes the device?
3. What did you name the folder where you placed the files?
Some more info will help us help you.
nickmv said:
This may be too simple, but are you trying to use ACMEInstaller or ACMEInstaller2?
You need to use ver 2 for ICS
And Linux Newb, ACMEInstaller does not run from Windows. It's supposed to be on the Touchpad, which is where it needs to run. Novacom is simply the interface from your computer that tells the Touchpad to boot ACMEInstaller2 into memory. No files are transferred between computer and TP during the installation process (that is to say, after you've copied the files to the TP initially)
Jay, can you elaborate more on what your process was? We need some more details, such as:
1. Was the TP in USB flash mode?
2. Are you sure that novacom recognizes the device?
3. What did you name the folder where you placed the files?
Some more info will help us help you.
Click to expand...
Click to collapse
Nah, LinuxNewb is correct ACMEInstaller file should be in SDK\bin or Palm, inc folder either place will do.There is no need for it on the TP.
ps. a related post is in TP General section now.

[Q] Linux Commands to install Evervolv 4.3

(Posted this over at Rootz Wiki and WebOSNation and it was suggested I post here for better response)
I am trying to use Knoppix to install Evervolv 4.3 onto my TP. Each time I open the terminal where the Palm,Inc files are, then enter the commands for installing, I get this:
[email protected]:/media/sda1/SAVE/pALM, iNC$ novacom.exe boot mem:// < ACMEInstaller5E
bash: novacom.exe: command not found
trying this, produces:
[email protected]:/media/sda1/SAVE/pALM, iNC$ ./novacom boot mem:// < ACMEInstaller5E
bash: ./novacom: No such file or directory
and this gets this:
[email protected]:/media/sda1/SAVE/pALM, iNC$ novacom boot mem:// < ACMEInstaller5E
failed to connect to server
I've re-installed novacom several times, updated the drivers and found the "palm-novacom_1.0.76_i386.deb" install in SynapticPM and that is what resides in my pALM, iNC directory.
There is no .exe or boot folder that I can see.
Novacom never did create a Palm, Inc folder at any time. I had to make a new folder with the name "pALM iNC" to double check this.
I also tried the suggestion over at WebOsNation here:
[Link removed due to newby status-check]
Here's the upshot of it, though-
[email protected]:/media/sda1/SAVE/pALM, iNC$ novacomd & novacom boot mem:// <ACMEInstaller5E
[1] 30138
bash: novacomd: command not found
failed to connect to server
[1]+ Exit 127 novacomd
Can I do something different to get this to work? I am totally new to TP, Android and Linux.
Thanks heaps.
TT
Novacom.exe is a Windows executable file and won't work on linux from the command line, afaik.
Could always use a windows emulator or a friend's PC =)
Cheers
Try this one:
http://forum.xda-developers.com/showthread.php?t=2499959
It's easier on Windows.
EDIT:
Should work on KNOPPIX too:
Code:
http://www.toki.co.nz/mobile/2012/10/16-running-novacomd-on-debian/
Thanks, but, "File not found" on all those links for DL's.
I am wondering too why I can't get WebOSQuickInstall to work properly and thinking this may be a common factor here.
Whenever I go to install it, I get the "installing novacom drivers", then success, then cannot install as "no device connected" or something to that effect.
Could those all be related?
yedall vague
After double checking my Java install from suggestions over at Rootz Wiki, I discover I had not installed Java. I was using Iced Tea-Web Plugin for Java applets and thought I was good to go.
Plus, I thought I had installed it because a Java pkg kept showing up in Synaptic PM, but I went to Oracle and it couldn't be found.
So, after hunting for some info I found this:
://andrewelkins....n-oracle-sucks/
and following this I ended up with-
Cannot write to `jdk-7u51-linux-i586.tar.gz' (No space left on device).
download failed
Oracle JDK 7 is NOT installed.
I am running Knoppix on a 8Gb flash drive, and I will have to extend the data img before I try again.
Going on holiday for awhile, so won't be able to post back with results until I get back.
Thanks for the input guys.
Hope this helps somebody in the same predicament.
Using linux
TouchyTouchy said:
After double checking my Java install from suggestions over at Rootz Wiki, I discover I had not installed Java. I was using Iced Tea-Web Plugin for Java applets and thought I was good to go.
Plus, I thought I had installed it because a Java pkg kept showing up in Synaptic PM, but I went to Oracle and it couldn't be found.
So, after hunting for some info I found this:
://andrewelkins....n-oracle-sucks/
and following this I ended up with-
Cannot write to `jdk-7u51-linux-i586.tar.gz' (No space left on device).
download failed
Oracle JDK 7 is NOT installed.
I am running Knoppix on a 8Gb flash drive, and I will have to extend the data img before I try again.
Going on holiday for awhile, so won't be able to post back with results until I get back.
Thanks for the input guys.
Hope this helps somebody in the same predicament.
Click to expand...
Click to collapse
Did you get it installed?

Categories

Resources