[Q] re BurritoRoot, is JavaSDK reg to use ADB from Android SDK? - Kindle Fire General

I know to use BurritoRoot3 I need to download and extract the Android SDK so I can use ADB. Java SDK is listed as a requirement for the Android SDK, but is it necessary to have it to run ADB if I am not going to do app development?
I ask because I downloaded and extracted the Java 7 SDK, but haven't found where I need to drop the folders. While looking for that information, I found default-jdk and openjdk-7 in the Debian repros (packages.debian.org imply they are equivalent, I'm running lmde), but both want to replace Pulse Audio packages, I would as soon not take a chance on messing with my sound if installing Java SDK is not required.

Related

How to root HTC Magic w/ Donut using OSX?

Hi,
Is there an easy way to root my magic (Dutch Vodafone branded "with google" 32b) which is running Donut, using solely OSX?
I don't have acces to a windows pc..
I searched the entire forum, nowhere is anything about OSX mentioned.. Can't find it on google either..
I thought the only option was the 1c procedure from theunlockr.com, but then i need 1.5 first, which requires me to use windows programs again..
Am i just being bluntly stupid, and have wasted about 2 weeks of searching, or is there just no way this can be done?
Thanks for your answer,
Jacob
You would do it just like you would with linux, since both Mac OS 10 ad linux are Unix-like operating systems. You don't need any Windows-only software like HTC sync. Probably want to install the SDK and get ADB working.
Re:
Okay, so is there a Linux guide to do this?
First I should say that I have not rooted any phones, but I've looked through some of the guides, that is about it.
From what I've seen, even though the guides might say things like C:\ you can just mentally replace that with proper *nix syntax.
Also, this guide
http://theunlockr.com/2009/10/15/how-to-root-a-donut-phone-android-1-6/
is not windows specific.
Is there some guide to which you are referring that is stumping you on what to do on a mac?
The biggest issue could be if you need to make a goldcard, which I am told is the most difficult part. From what I've seen, people are using QMAT for this, but I am not sure if there is an alternative to QMAT (which is now PSAS and apparently has a free version again) for mac/linux, so you might need to use wine to run it.
Setup the SDK so you can use ADB, like it says here:
http://wiki.xda-developers.com/index.php?pagename=HTC_Sapphire_Hacking
Add the tools directory to your path like I said here.
Code:
export PATH=${PATH}:/Users/softbanksucks/Documents/android-sdk-mac_x86-1.6_r1/tools
Replace the above path with the full path to where ever you saved the SDK.
If you don't have a good mac text editor, you can use the built-in TextEdit.app but you must make sure the .bash_profile saves as a txt file, not rtf by hitting command+****+t before saving. Even if you specify no extension, sometimes it is added so from the terminal do
Code:
cd ~
ls -a
if you see .txt after .bash_profile, do this
Code:
mv .bash_profile.txt .bash_profile
Now you can use adb.
If you are using mac os 10.6, there will be some issues with the SDK because last time I checked (a few months ago), it wasn't compatible with the 64 bit version of Java. This is certainly an issue for ddms, but I am not sure if it affects adb - probably not but figured I'd mention it.
If adb works fine for you, ignore the rest of this post unless you want to use ddms.
If you want to use ddms with MAC OS 10.6 Snow Leopard, you have to make 32 bit mode the default for applications by dragging it to the top of the list in /Applications/Utilities/Java Preferences. You also have to add a line of code to /tools/ddms (in the SDK folder located where ever you put it)
Find this:
Code:
os_opts="-XstartOnFirstThread"
and change to this:
Code:
os_opts="-XstartOnFirstThread -d32"
Remember, this is for using ddms which I don't think you really need.

Android SDK for Linux?

I installed linux just to help with the android development, now what?
same basic process as with windows, download the Android SDK from the dev site, and follow the directions on the site. If you have Ubuntu just use the software explore to get/install Java JDK, and Eclipse. From eclipse install android plugin, and then android components
you can add the Android/tools folder to Path if you so desire as well (for ADB), I believe that is also on the dev site.

JDK driving me mad!! please help

Ok so i ran into some problems today after updating eclipse and JDK.
when opening sdk manager i get told java not found in your path then it finds it in program files and tells me to reflect this in user variables path which i already have. what is going someone please helpme before i put my fist through the comp screen!!
I am running win7 home premium 32bit
I also tried the zip sdk revision 8 and still get the same message seem ok going into sdk manager but on exit it gives me this message
cyberpedz said:
Ok so i ran into some problems today after updating eclipse and JDK.
when opening sdk manager i get told java not found in your path then it finds it in program files and tells me to reflect this in user variables path which i already have. what is going someone please helpme before i put my fist through the comp screen!!
I am running win7 home premium 32bit
I also tried the zip sdk revision 8 and still get the same message seem ok going into sdk manager but on exit it gives me this message
Click to expand...
Click to collapse
Control Panel -> System -> Advanced -> Environment Variables
Make sure your Path= has the JDK directory in it.... odds are your old one is still there and its not pointing to the new JDKs folder. (Just saying it again even though you said you already did).
Remove all traces of old java installs and try again -- including adding it to the path..... Sometimes the JDK can be a real PITA, but usually most of the issues occur in 64bit versions.
Did you uninstall Java JREs you had installed before the JDK as well?

Could anyone Help?

Hi,
I am currently trying to get into Android Developing and I am following a tutorial book called "Practical Android Projects" however, I have only got so far and I am coming across a problem.
I have installed the Android SDK and required files, and installed ant as per instructions here: http://ant.apache.org/manual/install.html (Under Windows and OS/2 section)
I am getting an error about my /res folder not existing, when it infact does exist, in the directory it specifies?
Please see screenshot at the following link: http://server3.uploadit.org/files/StuMcBill-cmdprompt.jpg
Thanks for any help you can give?
I am running Windows 7 Home Premium x64!
Stewart
I would suggest using eclipse. Especially for beginners it is alot easier than building everything on console.
It has nice plugins and the android emulator from the sdk is integrated.
100% agree with Dark3n.
Ant is a programming language in and of itself. (Well sort of a scripting language but whatever).
No need to try and learn two things at once. I'd suggest wait until your 2nd or 3rd app at least to learn Ant. You really don't need it unless you want to use something like ProGuard. (Which is yet another thing to learn and another thing I'd suggest waiting on).
Oh an for a possible quick fix type
>ant clean
And see if that helps.
EDIT:
Err nevermind -- looked at your screenshot... why are you running ant from the System32 directory? Is your Android project really in that folder?
Usually you set the path environment variable in your system properties in windows to add ant to the list of paths, so you can run ant from any folder.
Then you can open that folder, type cmd in the address bar and open a command prompt in your project directory. You then run ant from there which reads the build.xml file an default.properties and local.properties files in your android project folder.
OK, I will give eclipse a try.
RE system32 and ant: Well the book I am following said to use ant, and I just followed the instructions and it installed the project in System32.
Could I just substitute Eclipse for ant while following the guide?
I do have Ubuntu installed on this computer, would that be better / easier?
Eclipse is available for any OS.
Use the one you are most comftable with.
I think eclipse might even use ANT internally but you don't have to hassle with it.
Working in system32 is not adviseable, you should generally keep out of there .

SDK Manager won't start

Hi, i'm having troubles to open the SDK manager. I have Windows 7 64-bit and i Installed de jdk 1.7.0_25 64-bit. This are the solutiones i've tried but with no success:
Installing SDK in c:\
Adding JAVA_HOME enviroment variable to the system pointing to jdk1.7.0_25
Adding JDK_HOME pointing the same place...
adding c:\program files.....jdk...\bin; to Path in enviroment variables
Editing few lines of android.bat file like:
Code:
set java_exe=
call lib\find_java.bat
if not defined java_exe goto :EOF
to
Code:
set java_exe="c:\Program Files\Java\jdk1.7.0_25\bin\java.exe"
Downloading the version that comes with eclipse... same results..
Finally i tried with Android Studio but when i try to open SDK Manager inside this program it comes an error that say:
ERROR: No suitable Java found. In order to properly use the Android Developer
Tools, you need a suitable version of Java JDK installed on your system.
We recommend that you install the JDK version of JavaSE, available here:
http://www.oracle.com/technetwork/java/javase/downloads
If you already have Java installed, you can define the JAVA_HOME environment
variable in Control Panel / System / Avanced System Settings to point to the
JDK folder.
You can find the complete Android SDK requirements here:
http://developer.android.com/sdk/requirements.html
As it writes you this
ERROR: No suitable Java found. In order to properly use the Android Developer
Click to expand...
Click to collapse
maybe it wants 32-bit Java for you 64-bit system anyway?
Like an obvious hint: Try 32-bit Eclipse 32-bit Java and 32-bit ADT plugin in you system. It should work.

Categories

Resources