Development Help!!! - Hero CDMA Android Development

Fellow Developers!
I am getting settled in to the Eclipse IDE, trying to load the Android SDK.
I have everything from Google Downloaded, and the ADT setup.
I am trying to setup the Android Projects to point to the SDK that I have downloaded. I have gone into Window > Prefences > Android > and pointed the SDK to C:\AndroidSDK\
But when I hit OK and Apply I DONT GET ANY FLIPPING SDK VERSIONS!!!
I am sure that it is something simple that I am missing, but can someone maybe provide any help my direction?
BTW I am posting in the Hero forums, because that's the phone I have...Maybe I should of looked for a plain dev forum?

Kcarpenter said:
Fellow Developers!
I am getting settled in to the Eclipse IDE, trying to load the Android SDK.
I have everything from Google Downloaded, and the ADT setup.
I am trying to setup the Android Projects to point to the SDK that I have downloaded. I have gone into Window > Prefences > Android > and pointed the SDK to C:\AndroidSDK\
But when I hit OK and Apply I DONT GET ANY FLIPPING SDK VERSIONS!!!
I am sure that it is something simple that I am missing, but can someone maybe provide any help my direction?
BTW I am posting in the Hero forums, because that's the phone I have...Maybe I should of looked for a plain dev forum?
Click to expand...
Click to collapse
Have you actually downloaded the sdk(s) and not just the tools?
You need to run SDK Setup.exe in your sdk directory and pick which platforms and API's you want to install.

HAHA!!
I ran that setup like 6 times and not once did I pay attention to what the error message said until you said something about installing it!
Yeah I had to force HTTPS. We shall see what happens in the next 2 or 3 minutes and I will reply.
THANKS!
I don't even know what I am going to write yet...but I am determined to make my phone do something cool!
I love java! It's the whole reason I got the phone!

flipzmode said:
Have you actually downloaded the sdk(s) and not just the tools?
You need to run SDK Setup.exe in your sdk directory and pick which platforms and API's you want to install.
Click to expand...
Click to collapse
X2 for this.
My favorite way to check my installed Java SDK versions is to check the registry. Since using java -version at the command line only tells you the one you're currently pointing to, it can be a little confusing figuring it out that way.
Just go to regedit --> HKLM --> Software --> Javasoft --> Java Development Kit
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

flipzmode said:
Have you actually downloaded the sdk(s) and not just the tools?
You need to run SDK Setup.exe in your sdk directory and pick which platforms and API's you want to install.
Click to expand...
Click to collapse
Kudo's to you, pointing out the setup file that i was running...and ignoring the error message.
kmartburrito said:
X2 for this.
My favorite way to check my installed Java SDK versions is to check the registry. Since using java -version at the command line only tells you the one you're currently pointing to, it can be a little confusing figuring it out that way.
Just go to regedit --> HKLM --> Software --> Javasoft --> Java Development Kit
Click to expand...
Click to collapse
Thanks for the SDK tip, this will come in handy as my phone gets updated...hopefully soon by Sprint.
Topic 2---Can you guys tell me any down falls of Developing for the phone in Windows instead of Linux? or having my Phone rooted and using it to test?
Thanks again both of you!

Kcarpenter said:
Topic 2---Can you guys tell me any down falls of Developing for the phone in Windows instead of Linux? or having my Phone rooted and using it to test?
Click to expand...
Click to collapse
The main thing you will find if you get in to deeper dev stuff like the kernel is that any utilities you want require linux or mac os. If you are only planning on making apps then you will be fine in windows.

flipzmode said:
The main thing you will find if you get in to deeper dev stuff like the kernel is that any utilities you want require linux or mac os. If you are only planning on making apps then you will be fine in windows.
Click to expand...
Click to collapse
I agree, the plus side to developing in an IDE is that, save for the deeper diving stuff from a kernel standpoint, that developing in the IDE should make it as seamless as possible between environments. I'd personally do it in Windows until you get to a point where you think you need something from Linux (Linux FTW) and then either just run an Ubuntu box for a bit, or boot into a USB/Extra HDD based persistent Ubuntu installation where you can do the one-off stuff that comes up.
Or you can go to the darkside and abandon Windows altogether. MUAAHAAAHAA.

*GASP* Abandon Windows!?!?!?!?! HOW COULD YOU!...
A little over dramatic??
I like linux just as well, but I am lazy, linux is for someone willing to take an extra step

Or there's always running ubuntu in vmware if you don't want to make the switch.

Related

Need Help With Fresh Kitchen Windows 7

Has anyone gotten the fresh kitchen working properly on windows 7? When I test for java, it doesn't find it. I have installed the correct path, or so I believe. Any help would be much appreciated. Thanks
it worked for me the one time I tried it. Haven't messed with it since. you might need to update your java maybe?
I've downloaded java like 10 times... about to delete it completely and try again
I've had the same problem too. I sent the debug to him and he has no idea why its not checking for java. I'm running Win 7 64bit
Mr. Biggz said:
I've had the same problem too. I sent the debug to him and he has no idea why its not checking for java. I'm running Win 7 64bit
Click to expand...
Click to collapse
at least i am not alone.... I've downloaded both 32 bit and 64 bit versions...
The strange part about it is I completely programmed and tested it on windows 7, 64 bit. And haven't had any problems with java obviously.
@looneylu
Open a command prompt and type "java -version" and tell me what it replies with.
flipzmode said:
The strange part about it is I completely programmed and tested it on windows 7, 64 bit. And haven't had any problems with java obviously.
@looneylu
Open a command prompt and type "java -version" and tell me what it replies with.
Click to expand...
Click to collapse
java version "1.6.0_19"
Java(TM) SE Runtime Environment (build 1.6.0_19-b04)
Java HotSpot(TM) 64-Bit Server VM (build 16.2-b04, mixed mode)
looneylu said:
java version "1.6.0_19"
Java(TM) SE Runtime Environment (build 1.6.0_19-b04)
Java HotSpot(TM) 64-Bit Server VM (build 16.2-b04, mixed mode)
Click to expand...
Click to collapse
Ok. Go to c:\program files\fresh kitchen\utilities\adb\
Inside there you should have 1 or more of the following files:
java-debug.txt
java-pass
java-fail
Will you open any that you have and tell me what they say? Java-pass and java-fail have no extension but they can be opened in notepad.
Copy/paste them to me (or pastebin.com it) and let me know which one was which file.
Here;s your Fix,
Go to google and search for CCleaner. Install it. Then follow my instructions:
Click on the registry side tab, and do an "scan for issues".
Once analyzed, you should see a ton of errors. These are old extensions, etc, that are left behind when uninstalling a prog, etc. It's 99.9% safe to clean all of this.
Click "fix selected issues", and save the backup to a location you dont usually go into. I say this so the nackup folder doesnt get in the way of your normal day to day operations.
Once cleaned, do this process at least 3x. You should continue until there are no more errors.
THis fixed mine immediately without a restart.
If I helped, take a minute and visit my site in my sig. Hook a brother up!
This is for w7 home prem 64 bit (my machine)
This program also has the ability to clean the hell out of your machine, not destroying anything in the process. Every month I run it, clean all my caches, etc, and clear up a gig of crap from surfing the web alone. Very good tool for everyone.
looneylu said:
java version "1.6.0_19"
Java(TM) SE Runtime Environment (build 1.6.0_19-b04)
Java HotSpot(TM) 64-Bit Server VM (build 16.2-b04, mixed mode)
Click to expand...
Click to collapse
Windows 7, 64bit. Working fine here. Here's my java information:
C:\android-sdk-windows\tools>java -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)
It works fine for me? Windoes 7 64-bit Ultimate
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
flipzmode said:
Ok. Go to c:\program files\fresh kitchen\utilities\adb\
Inside there you should have 1 or more of the following files:
java-debug.txt
java-pass
java-fail
Will you open any that you have and tell me what they say? Java-pass and java-fail have no extension but they can be opened in notepad.
Copy/paste them to me (or pastebin.com it) and let me know which one was which file.
Click to expand...
Click to collapse
odd... don't have any of those files... I have
adbwinapi.dll
adb-windows
adbwinusbapi.dll
battery
build
builid
error
model
serial
whoami
I keep getting errors but help says everything is fine, so I deleted it and just use pre kitchen to push files.
atoz350 said:
It works fine for me? Windoes 7 64-bit Ultimate
Click to expand...
Click to collapse
Where do I get that prog at? I have pre I think. It's a small box with 5 buttons.
jerry43812 said:
Where do I get that prog at? I have pre I think. It's a small box with 5 buttons.
Click to expand...
Click to collapse
geekfor.me
jerry43812 said:
Here;s your Fix,
Go to google and search for CCleaner. Install it. Then follow my instructions:
Click on the registry side tab, and do an "scan for issues".
Once analyzed, you should see a ton of errors. These are old extensions, etc, that are left behind when uninstalling a prog, etc. It's 99.9% safe to clean all of this.
Click "fix selected issues", and save the backup to a location you dont usually go into. I say this so the nackup folder doesnt get in the way of your normal day to day operations.
Once cleaned, do this process at least 3x. You should continue until there are no more errors.
THis fixed mine immediately without a restart.
If I helped, take a minute and visit my site in my sig. Hook a brother up!
This is for w7 home prem 64 bit (my machine)
This program also has the ability to clean the hell out of your machine, not destroying anything in the process. Every month I run it, clean all my caches, etc, and clear up a gig of crap from surfing the web alone. Very good tool for everyone.
Click to expand...
Click to collapse
this didn't work either
looneylu said:
this didn't work either
Click to expand...
Click to collapse
Will you turn on the debugger and run the diagnostics and then post the results on pastebin please. It is prompting you for user account control correct? Maybe you are having a UAC problem and might want to try temporarily disabling it just to see if that helps some how.
flipzmode said:
Will you turn on the debugger and run the diagnostics and then post the results on pastebin please. It is prompting you for user account control correct? Maybe you are having a UAC problem and might want to try temporarily disabling it just to see if that helps some how.
Click to expand...
Click to collapse
not prompting me for anything...
pastebin: http://freshkitchen.pastebin.com/jANHCxhK
looneylu said:
not prompting me for anything...
Click to expand...
Click to collapse
It should definitely be prompting for UAC approval as soon as you run the kitchen, unless you already have UAC (user account control) turned off. If not then we've found the source of the problem.
You are on Fresh Kitchen 1.0.5.1, correct?
flipzmode said:
It should definitely be prompting for UAC approval as soon as you run the kitchen, unless you already have UAC (user account control) turned off. If not then we've found the source of the problem.
You are on Fresh Kitchen 1.0.5.1, correct?
Click to expand...
Click to collapse
correct... you mean when it asks whether I will allow it run the update check? it does that

[Tools][Windows]

Hey all.
Have been doing Android dev for a short time, but Windows dev for a while.
I wrote myself two little .bat (batch) files for making a couple things quicker for me. These are crude little batches, nothing complicated here.
The first is LogcatBat, which is a little batch file for viewing logcat on your PC using the ADB binaries.
The second is ShellBat, which opens up an Android shell terminal on your PC connected to your phone through ADB as well.
Now, as stated before, THESE FILES ARE CRUDE. There isn't any support for them, and if you use them you do so at your OWN RISK. This is pretty simple stuff, but it can be used for HARM IF YOU'RE STUPID...
...So, don't be.
Now, you have to right click and save these files as .bat files - just clicking the links will generate the text of the batch commands. Also keep in mind these two files assume that your android directory is at C:\android-sdk-windows\tools. If they are not, email me, and tell me the location of your ADB folder so I can remake the file for you. Or, you can edit them yourself (this is Open Source, of course :wink:.
LogcatBat
ShellBat
My email: [email protected]
Well I guess that it will help a handful of noobs out there.
Most of the script (I'd say about 98%) is ascii art.
LOL I had to throw in a little "sumpin' sumpin'" more than what I used it for daily.
And it's TARGETED towards noobs, because I am one myself.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Also, those who download this PLEASE comment/reply to this to let me know how you like, dislike, or just what's up!
You might include instructions for customizing the directory structure, ex mine is c:\android and I have modded my path var to include the location of adb and fastboot.
Sorry, I should have continued reading. Still instructions and maybe how to set up path might be useful.
Cool to see more batch scripts, i love em as u can tell from my signature. They're so simple yet so powerful. Heres a tip to improve em, u can use errorlevel's to check if adb is in the $path. If its not in the path u cud perhaps ask for user-input to the directory where his/her sdk directory is and "cd" to that before executing commands.
Let me know if u need any help, im no pro but ive been working with them for a while now. Refer to my apk manager script, the top few lines are where i check if java/adb are installed on ur system.
Daneshm90 said:
Let me know if u need any help, im no pro but ive been working with them for a while now. Refer to my apk manager script, the top few lines are where i check if java/adb are installed on ur system.
Click to expand...
Click to collapse
Would you possibly wanna work with me on these? I mean, for my own end I don't care how they are, but if we could provide an actually nice work product that would be really cool!
mooch777 said:
Would you possibly wanna work with me on these? I mean, for my own end I don't care how they are, but if we could provide an actually nice work product that would be really cool!
Click to expand...
Click to collapse
Well i already include anything i can think of to apk manager. But if u propose an awesome idea that doesnt already exist, then yea for sure. Otherwise my help offer still exists.
Daneshm90 said:
Well i already include anything i can think of to apk manager. But if u propose an awesome idea that doesnt already exist, then yea for sure. Otherwise my help offer still exists.
Click to expand...
Click to collapse
Actually I used your script and found that I don't have Java installed. But when I installed the latest 1.6 JDK, they still can't detect it! May I know why?
JokerAce said:
Actually I used your script and found that I don't have Java installed. But when I installed the latest 1.6 JDK, they still can't detect it! May I know why?
Click to expand...
Click to collapse
If u can go to command prompt and type
java -version
if u see command not found, then java is not in ur path. If u do find it however, im intrigued as to why apk manager is complaining, in any case ignore the complaint.
Fyi, redirect any issues to its thread on the g1 forums, i dont wanna hijack this thread/easier to manage 1 thread instead of 2.

[DEV][UPDATE] Backtrack 5 - Multi-Device Linux Chroot Solution - Debdroid Beta V2

Mods: I'm not sure where this thread belongs as it has evolved to support all Android Devices, please move accordingly.
Debdroid is a fully functional Linux-Android chroot solution. With the ability to set what img file is looped, you are able to run any distro built for ARM.
Update 05/14/11
Backtrack 5 Support!
Backtrack 5 on Android - http://www.youtube.com/watch?v=nYShFr0foS8
Debdroid supports any Android device with loopback devices and ext2.
Succesfully tested on Motorola Atrix, HTC EVO, HTC Incredible.
Release Page: http://gititbit.ch/bt5
All mirrors are provided by gitbrew.org, check out http://gitbrew.org/android/ for more android mirrors. Please contact me if you would like free secure file-hosting.
very interesting!!! i'll give it a shot tomorrow.
Tight work.....finally something fun to play with.
Lol "open sores community" that can't be a typo..........lmao, if it was sorry..hehe
Swyped from a galaxy far far away......
I love sniffing. This means free wifi on my EVO from my EVO hacking abilities.
Here is a song for this hack.
They see me sniffin';
They hatin'.
Patrollin'
And tryin. to catch me sniffin dirty.
catch me sniffin dirty.
Jimdog420 said:
Tight work.....finally something fun to play with.
Lol "open sores community" that can't be a typo..........lmao, if it was sorry..hehe
Swyped from a galaxy far far away......
Click to expand...
Click to collapse
I've already checked my post for spelling mistakes.
and thanks everyone!
It's good to finally see a dev who cares to do a project like this. I wish I had the time to contribute. Maybe after I'm done with univ and fail at trying to find a job I will. Thanks for all the hard work anyways.
So I'm running CM7...
sh debian.sh seemed to complete just fine. (I even went step by step to confirm since there's a 'clear' in there).
but...
sh debdroid gives me:
# debdroid
function: not found
modprobe: chdir(2.6.37-cyanogenmod-01174-gaa3cf65): No such file or directory
debdroid: 47: Syntax error: "}" unexpected
#
I'm decent with linux but a noob with bash (or any coding). It seems like a function is missing (or I did something wrong).
Any help would be appreciated. Thanks.
Do I see gentoo around ther corner?
Sent from my PC36100 using XDA App
easy1600, from the way your output is, it looks like you're not in a bash shell, but just the su sh shell. exec the command bash then exec debdroid. Thank you for trying it out.
As for Gentoo, I've been using Debian for years and never messed about too much in other distros other than arch. Though if you can get an ARM Gentoo img this method can be tweaked to work with any ARM img really.
Update: Here's a WIP of the Debtop software which will allow basically the same functionality of the Motorola Atrix Webtop software.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This vnc session is all through USB with no interaction over the wlan though it has the ability to work with vnc over ssh tunnel.
Sweet! It works and I get tab completion in android (that bugged the hell out of me). Thanks!
easy1600 said:
So I'm running CM7...
sh debian.sh seemed to complete just fine. (I even went step by step to confirm since there's a 'clear' in there).
but...
sh debdroid gives me:
# debdroid
function: not found
modprobe: chdir(2.6.37-cyanogenmod-01174-gaa3cf65): No such file or directory
debdroid: 47: Syntax error: "}" unexpected
#
I'm decent with linux but a noob with bash (or any coding). It seems like a function is missing (or I did something wrong).
Any help would be appreciated. Thanks.
Click to expand...
Click to collapse
Same exact problem here. =/
Aerodynamix: Type 'bash' then try again.
OP: What is the simplest way to copy a .cap file from debian to anywhere I can access it from my laptop? If I can just get it to android /sdcard/ I'm golden. Or if I can just send it anywhere that I can reach it...
Well, you can utilize the unionfs script which is supposed to mount the sdcard and debdroid or you can open up a file manager on your phone like astro and nav to /data/local/debian while debdroid is running.
The problem i am having is that when I type Bash im getting "bash: not found"
grzzer2 said:
The problem i am having is that when I type Bash im getting "bash: not found"
Click to expand...
Click to collapse
Do you have bash installed?
easy1600 said:
It's good to finally see a dev who cares to do a project like this. I wish I had the time to contribute. Maybe after I'm done with univ and fail at trying to find a job I will. Thanks for all the hard work anyways.
Click to expand...
Click to collapse
dasmoover said:
Do you have bash installed?
Click to expand...
Click to collapse
No I dont think I do, is it in the market. Sry I am a noob with Linux
You should grab the BusyBox tools from the market if you haven't already, I'm almost positive it comes with bash.
Yes I just installed busybox from the market on my phone and still getting the "bash: not found"
I got everything working, thank you for your help
dasmoover said:
Well, you can utilize the unionfs script which is supposed to mount the sdcard and debdroid or you can open up a file manager on your phone like astro and nav to /data/local/debian while debdroid is running.
Click to expand...
Click to collapse
My /data/ directory is empty (debian is running). Unionft script doesn't seem to work at all.
I got it done by running /sbin/sshd and using winscp though. Thanks, I got lots to play with now!

[Backtrack5]Evo Guide (Sense)

Since msullivan's guide is generalized for all devices I thought I would tailor one specific for our Evo's.
I take no credit for any of this except for what is my own personal experience. 99% of the following has been taken from the original thread HERE
I have not tested this on an AOSP rom nor gingerbread for that matter. If anyone has confirmed it working I will add to the list. Supposedly CM7 cannot find the image file, if that's the case the resolve should be: In Android the "real" location is often /mnt/sdcard, and then the /sdcard mountpoint is added for simplicity. So yeah, my guess would be that Cyanogen doesn't have the /sdcard mount. You can fix your issue by opening the file "bt" in a Unix-compatible text editor (such as Notepad++, or an editor on the phone itself), and replace all instances of "/sdcard" with "/mnt/sdcard".
Working so far:
Froyo Sense (MynsWarmTPTRls5)
Evo Deck (gingerbread) 1.2f
CM7 (gingerbread) Thanks DoManOfFuture
WARNING: THIS IS NOT FOR THE FAINT OF HEART
UPDATE: My goal was to create a version of BackTrack 5 for ARM that was easy to use and install. As of this time, that IS NOT the case! The versions posted here are **probably not** going to work straight out of the box. If you know what you are doing in a Linux environment, you'll probably be able to get it working.
Because of this, the project is currently completely unsupported. You are free to dive in, but you are doing so with no support for me, and I'm not liable for any damage that might be done to your device's ROM.
I encourage you to pass this up unless you know what you are getting yourself into!
If you were referred here from the XDA-Developers.com article...
Hi there! Let's get one thing on the record here... this is *not* a native client! This is the chroot + VNC method that we'd been using to get Ubuntu running with Android for a while. The article makes it sound like that's the case, but sadly it's not. However, with the chroot + VNC method we can really run BackTrack 5 on an Android device, and it really does work. This takes some technical skills, and isn't for the non-Linux experienced user.
Requires a rooted device!
BackTrack 5 installation guides are making their way around this forum. I've tried to synthesize it all, but I've also added my own touches to help with usability and features, along with a workaround for the "ioctl LOOP_SET_FD failed" error message some people have been getting.
In theory this build is nearly universal, so if you have an Android device it should work. I've put it all in one zip file that you can download directly from my website, no hassles or wait timers.
If you are interested have a look, feel free to re-post. Credit goes to the BackTrack team and xda member anantshri (he's got skills, give him props guys), who built the base image file.
If you like what you see help me out, hosting is expensive!
http://www.mattslifebytes.com/donate
(alternatively, you can show interest in the products and services featured on my website, if you know what I mean )
Click to expand...
Click to collapse
Instructions:
BusyBox-
First things first you'll want some of the prerequisites one being Busybox. I'm currently running Myn's Rls5 Rom. All I had to do was go to the market and install "BusyBox Installer." Open that and install the latest version
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Terminal Emulator-
If you do not have one go to the market and install "Android Terminal Emulator"
VNC-
You'll also need a VNC client. Go to the market and find a suitable VNC Client. "android-vnc-viewer" is a good one.
Starting Backtrack5-
After you have the zip downloaded you'll want to unzip it and place the "bt5" folder on the root of your SD Card.
-Next open your terminal emulator and type “su” <enter>, “cd /sdcard/bt5″ <enter>
-Now enter “sh bt” <enter> (in the future to start BT5 skip the line above and come straight to this command)
-enter "y" when it asks you if you want to start with VNCserver.
Note: I had already ran this before which is why your screen may look different
-Now all you need to do is open your VNC client and connect with the following info:
127.0.0.1:5901 pw: root
When you are finished go back to terminal emulator and type "exit"
Click to expand...
Click to collapse
DOWNLOAD:
Direct HTTP Links:
http://brilldoctor.co.cc/Files/BackTrack5ForARM-MattsLifeBytesEditionv2.zip
http://www.shenye.co.uk/files/BackTrack5ForARM-MattsLifeBytesEditionv2.zip
Mirrors:
http://www.megaupload.com/?d=M6YCKZLR
[/LIST]
Thanks
I'm running CM7, and am a very competent linux user so I'll give this a shot. I'll post back with the results. Doesn't seem complicated, well getting it running at least, maybe the build process was, but I'll get back with the results none the less.
Update: Works like a charm.
Updated compatibility list. If anyone is running a different rom and these instructions worked for you let me know so I can add it in. Thanks!
Just thought I'd mention, using your guide, this is running perfectly on my Nexus S running 2.3.4 (rooted, deodexed and zipaligned). I have the UI up in the VNC viewer and also can SSH in from my mac too.
Running BT5 on a Nexus S (9023i) with CM7 nightly 88 no problem. It is not very quick, but hey, it works.
Install was not to difficult at all, just download, unzip, run "sh bt", and connect with VNC
so i got it to work on ava-z3 but when in backtrack i tried to run console commands and it didn't work maybe i did something wrong or its just not supported for the phone may be someone can help if they can i was trying to crack my own wep and i have done it many times on my computer but when i tried it on the phone it didn't even recognized basic commands i get it you can run backtrack 5 but what are you able to do with your phone can annyone explain and advice me ?
*rubbing hands together* downloading now. Hope it works on the n1
Sent from my Nexus One using XDA Premium App
Just so you guys know you cannot crack WEP with this. This method CANNOT have direct access to your wifi card therefore it cannot support a lot of the methods used to crack, etc..
This is backtrack5 running on top of your android rom.
Just thought I'd make that clear to those thinking they have a mobile cracking OS That's what netbooks are for lol!

How to use THE FAST! BlueStack as your alternate Android development emulator

You can do this VERY EASY! but I'll recommend that you first install Launcher Pro or ADW (you can sync the app using the BlueStacks Android app) then set as your default home. Once you have done that you can open Launcher Pro trough the gadget at any time.
Then open Eclipse go to your "Device Manage" tab and under "Android Remote Device" add a new entry like this:
Name: (whatever you want to name it)
Host: 127.0.0.1
Port: 5555
And you are done! BlueStacks is WAYYYYYYYYYY faster to lunch apps that the regular android emulator. I did a small app for testing/debug and it installed/lunch/debug just fine on BlueStacks.
I cant for the life of me find the device manager could you explain how to get it to appear?
minijaws said:
I cant for the life of me find the device manager could you explain how to get it to appear?
Click to expand...
Click to collapse
On the Eclipse menu go to:
- "Window", "Show View", "Other..."
- Then type on the entry text box "Device". It should show under the "Sequoyah" folder.
Today I notice that it automatically added "localhost:5555" under "Android Remote Device" next to my manually added entry and the Eclipse DDMS Console was giving me some errors. I restarted BlueStacks and everything seems to be ok now (the automatic added entry is gone now and no more errors too). Lucky that a BlueStacks restart is SUPER fast!
riveraju said:
Then open Eclipse go to your "Device Manage" tab and under "Android Remote Device" add a new entry like this:
Click to expand...
Click to collapse
I don't found Device Manager in Android Remote Device in Eclipse, anyone can help me some guides ?
Hi,
how do you install your homemade app for testing/debugging (need official certificate) ? Your bluestacks player seems to be windowed ? how do you make that ? thanks...
Hello!
I'm an artist on an Android project and have very little knowledge on the technical side of things.
Any chance you could expand this how-to a bit more in-depth, as I have trouble even finding "Device Manager" and don't know what Launcher Pro and ADW do and where to find them.
I'd really appreciate it!
It really works! Great! Thanks.
I struggled over this for an hour, because I could not see Device Manager tab in Eclipse. So i downloaded MotoDev Studio (It is SDK + Eclipse + all plugins needed) and now i run bluestack smoothly
More precise way to do this:
1. Download and install BlueStack
2. Download and install MotoDev Studio (Its free)
3. Download Launcher pro or ADW launcher .apk
4. Right click on the .apk, select "open with", "Browse"
go to C:\Program Files (x86)\BlueStacks (for 64bit system)
or
go to C:\Program Files\BlueStacks (for 32bit system)
and select HD-ApkHandler.exe
Launcher should be installed after a moment.
5. Open MotoDev
6. select Device Managment tab
7. Right click on Android Remote Device and click New...
8. Name it like you want, for example "BlueStack"
9. fill Host and Port boxes with
Host: 127.0.0.1
Port: 5555
10. Click OK
Now everything should work. You can close MotoDev and try to open BlueStack and then select Launcher. Now bluestack is fast as native android device and games run smooth Thx to riveraju
Must come back here when I have time to read lol thanks a lot for this man. I installed the ask last June and still haven't gotten the emulator to work XD
Swyped from my Red Hot Razr phone running Tapatalk
To prevent spam to the forums, ALL new users are not permitted to post outside links in their messages. After approximately eight posts, you will be able to post outside links. Thanks for understanding!
Click to expand...
Click to collapse
I'm new here. Purposely join to share in-depth step-by-step after reading the guide here. May someone give me ur email so u can post my guide for me. Thx

			
				
Is this still a working method? I'm using a Mac and have just downloaded Bluestacks but I can't even connect to it through adb nor it shows up under my device list.
Any other method to debug my app through Bluestacks with a Mac?
Do you Any tricks to emulate system apps?
Sent from my Nokia 3210 using xda app-developers app
Hey guys,
so I installed BlueStacks as I already had Eclipse installed and "kinda" followed the guides to this method.
I start Bluestacks player and then I start eclipse and look at the device tab and see this after opening Blood Brothers:
https://www.dropbox.com/s/lja2rj4wziycsgq/eclipse.png
Many players say that it should be faster after doing this but I see no difference to playing without Eclipse. Am I missing something, a command or something? Or is that all there is, Eclipse is now connected and running with Bluestacks?
fios
Good stuff, it sped it up just barely to handle the verizon fios mobile tv app. now i can watch live tv on my laptop
is there an alternative to this like regitry hack? I mean I have to download Eclipse or MotoDev which is around 200 mb of size just to put this trick?
phanonad said:
Good stuff, it sped it up just barely to handle the verizon fios mobile tv app. now i can watch live tv on my laptop
Click to expand...
Click to collapse
I'm jealous of you. After logging in I get a back screen only. What's the secret?
Thanks
Instead of searching for device management tab you can simply enter
adb connect 127.0.0.1
after starting bluestacks...
bluestacks certificates
Have you managed to install new certificates on Bluestacks ? Seems to me like Security/Credential Storage menu is completely missing as well as other features. I understand that this is just an emulator but we need many other features for development.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Does this make Bluestacks as fast as a normal android phone ? Without slowdowns ?
tamasu said:
Instead of searching for device management tab you can simply enter
adb connect 127.0.0.1
after starting bluestacks...
Click to expand...
Click to collapse
i dont know how this work, but when I tried its not working.. anyway, i can't find and download link for motodev or even locate the device manager.. anyone know where I can dowload the motodev or any idea to make the bluestack faster... i played samurai siege, jungle heat and other same game and its still too slow...

Categories

Resources