heya,
I was looking around the forums and i found this -
http://forum.xda-developers.com/showthread.php?t=422606
It was a port of warcraft 2, i saw a video of it in action and it looked amazing. I was wondering do you think anytime in the near future we will be seeing anything like this on the g1? i know a port of linux is on the g1 but will that open windows to more ports like this?
munky.
Since the source of doom has been out for a while now, it could be done pretty easily. Warcraft? Probably not. Although, I'm sure we will be able to boot into windows mobile eventually from our g1s.
crackmunky said:
i know a port of linux is on the g1
Click to expand...
Click to collapse
The G1 runs Android, and that has always been built on Linux. What is required to get Linux apps working is a mix of providing the environment they expect to run (e.g. if they are expecting to draw to a window manager, or if they need opengl, etc), adapting of controls, and tweaks to get compiling with arm.
Hey, I am entirely new to Android development. Is it possible to run Android OS inside a VM Player on my PC running Windows 7? I've done this with several flavors of Linux, but I dont know enough about how Android operates.
I'm not talking about just a development sandbox... a fully-functional installation of Android with networking capabilities would be the goal. Does anyone have experience with this?
First one with helpful answer gets a free iPad!!*
*some restrictions apply
----
EDIT: seriously, has nobody ever done this
Yes - see http://www.android-x86.org/
You can download a live cd version of Android compiled for x86 machines, and install it in your VM of choice. - Just pick Linux 2.6 as the host OS when creating your VM
(Though the Android emulator that comes with the SDK is pretty much fully functional, too, and more representative of an actual phone, since it's running Arm instructions rather than x86)
Cool, thanks for the tip
I havent played with the Emulator yet, or really gotten my hands dirty. Does the emulator just allow you to test your program, or does it emulate the entire OS- destop, applications, settings and all?
What I would really like to do (not sure if possible) is to do all the configuration for my phone OS via my PC, then just save the image and copy it to the phone. Starting to think this might not be easy
SilverStrings said:
I havent played with the Emulator yet, or really gotten my hands dirty. Does the emulator just allow you to test your program, or does it emulate the entire OS- destop, applications, settings and all?
Click to expand...
Click to collapse
The emulator in the SDK gives you pretty much a full phone environment (It's missing stuff like the google branded apps, but there are ways around that...)
Okay guys I have been looking around the internet and I am bumbfounded by all of the crap that you have to sift through to get a simple answer.
I am a Student in a Robotics Team at a community college. I am trying to impliment the Kinect and Android powered phones/tablets into our program, but when I try and find the topic I get overwelmed by all of the technical jargin that they have on these sites.
I am a senior in Electrical Engineering Tech. but have little programming skill. If anyone could help me with this robot that I am building I would be extremely greatfull.
I am trying to use these two sites for inspiration and one is even a how to site, but I cannot figure out what it is trying to say.
raymondlo84.blogspot.com/2011/07/howto-using-microsoft-kinect-on-tegra.html
blog.recursivepenguin.com/?p=70
I would like to just get the interface working but I have plans on either controlling a Propeller microcontroler to move forward and reverse and/or just controlling a paint-ball gun so that it can move up and down.
If anyone can help please do so. I know this is, what I believe to be, a hard task to jump into, but know that if you do help you are helping the Robotics Team expand their horizons in a small town in southern West Virginia.
Maybe helpful...
Ubuntu Manual Install
Quick copy-paste instructions to get up-and-running instantly:
Code:
sudo apt-get install git-core cmake libglut3-dev pkg-config build-essential libxmu-dev libxi-dev libusb-1.0-0-dev
git clone git://github.com/OpenKinect/libfreenect.git
cd libfreenect
mkdir build
cd build
cmake ..
make
sudo make install
sudo ldconfig /usr/local/lib64/
sudo glview
Click to expand...
Click to collapse
I found this and tried it with a copy of chroot on my Acer Iconia but it doesn't detect that I have a kinect connected via the usb. I believe that the usb is not implemented over the bridge where I am viewing the ubuntu using the VNC viewer.
source: http://openkinect.org/wiki/Getting_Started
Also this will not work with the new Ubuntu 11.10 so I have no idea if this is even a good way of even doing this anymore. I know it worked on 10.10.
I am not sure what help this will be, but you may want to check out the FIRST Robotics competition forums. The task this year is to build a robot that can shoot basketballs from input delivered via Kinect.
http://forums.usfirst.org/forumdisplay.php?f=1537
It may not help you get the kinect stuff running on your A500, but it may be useful in working with it after you get it up and running.
Thank you Psichi for your help in the future. I also see some files that I could use with the windows problems that I have been having with it. lol.
I really only need help with getting the Ubuntu chroot on my Acer Iconia A500 to be able to read something when it is hooked into the USB slot on the side. It is running perfectly but the connection is not there.
You have the power for the kinect unit plugged in as well right? A developer on my team at work mentioned the unit can't do power over usb on anything other than the new xbox.
I know it is a stupid question, but the amount of times I forget to rule out the simple things are more than I would like to admit
Sent from my tomato filled Evo
Yes I went out and bought a 30 dollar plug in that separated the USB and the power. I had this working on an older version of Ubuntu but it won't connect via chroot now because the USB functionality doesn't bridge to the emulated Ubuntu...
You should have a look at hirotakaster.com he has connected Kinect to Android using OpenNI 1.5 and 2
bscholt22 said:
Yes I went out and bought a 30 dollar plug in that separated the USB and the power. I had this working on an older version of Ubuntu but it won't connect via chroot now because the USB functionality doesn't bridge to the emulated Ubuntu...
Click to expand...
Click to collapse
NUIDROID/NUITRACK SDK - Android TV
MarkDurbin said:
You should have a look at hirotakaster.com he has connected Kinect to Android using OpenNI 1.5 and 2
Click to expand...
Click to collapse
looks like 3divi provides kinect ndk Nuitrack (NUIDROID). I did registration in 3divi.com byt every time i got only welcome message. I am trying to figure out if i can get this SDK and can connect Kinect to my Android Ijealy beaan) TV. If anyone has got this SDK then please share also let me know if this could work out..
http://devpost.com/software/3d-gesture-recognition-middleware-and-sdk
If you don't understand what ssh or vnc is, please don't attempt this.
I am able to run Kali Linux armhf on the 13.3.1 by following this guide. It can run other distros too.
I can confirm it is working 100% and runs very smooth. Here is a link to the Linux Deploy app. You need a vnc app or a ssh app to interface with it. I recommend Real VNC Viewer. Instead of connecting to your private ip, just connect using your loopback 127.0.0.1 It is faster.
I hope this could be of some use towards cracking the bootloader. Comments, questions, discussion wanted.
Nice idea but what can you really do on Kali that you can't do via adb shell?
PS putty ftw!
Sent from my Nexus 4 using Tapatalk
Spec-Chum said:
Nice idea but what can you really do on Kali that you can't do via adb shell?
PS putty ftw!
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
Install linux native applications, light server, supports many linux distros like gentoo arch debian ubuntu fedora. Aircrack-ng, reaver, sslstrip, metasploit. The fun stuff.
Faznx92 said:
Install linux native applications, light server, supports many linux distros like gentoo arch debian ubuntu fedora. Aircrack-ng, reaver, sslstrip, metasploit. The fun stuff.
Click to expand...
Click to collapse
Nice, I'm sold
Repurpose a device
I would really like to get a different OS on my device or even do a GRUB bootloader kind of thing which will allow Android or another OS. I want to repurpose a tablet for my car project and I don't want to use Android.
I have done the VNC thing in the past with Ubuntu and it was horribly slow. Anything emulating on top of an OS will be less than optimal. I have used VMPlayer and VirtualBox before on a regular desktop and they seem ok. But still I'd like another OS that will be fast on boot up and ready to go in the shortest amount of time.
chris
This is very interesting. Has anyone managed to get Mer working through Linux Deploy? Having Plasma Active running like that would be pretty awesome. Other DEs aren't really optimised for touch the way Plasma Active is.
EDIT: Actually, it might be possible to get Plasma Active running via Gentoo, as they have an overlay for it. Still experimental, but then what isn't experimental at this point
GreatEmerald said:
This is very interesting. Has anyone managed to get Mer working through Linux Deploy? Having Plasma Active running like that would be pretty awesome. Other DEs aren't really optimised for touch the way Plasma Active is.
EDIT: Actually, it might be possible to get Plasma Active running via Gentoo, as they have an overlay for it. Still experimental, but then what isn't experimental at this point
Click to expand...
Click to collapse
You use a vnc app on loobback address(127.0.0.1) to connect. It is the fastest emulation I ever had running on any device. This is perfect for me if i can get a keyboard working. If you lower the resolution of the linux guest with a ui like lxde it is very easy to use it as a touch interface.
Mr_Ada said:
I would really like to get a different OS on my device or even do a GRUB bootloader kind of thing which will allow Android or another OS. I want to repurpose a tablet for my car project and I don't want to use Android.
I have done the VNC thing in the past with Ubuntu and it was horribly slow. Anything emulating on top of an OS will be less than optimal. I have used VMPlayer and VirtualBox before on a regular desktop and they seem ok. But still I'd like another OS that will be fast on boot up and ready to go in the shortest amount of time.
chris
Click to expand...
Click to collapse
Try it out on the loopback address 127.0.0.1 It is blazing fast with ui like lxde or xfce. Fastest I ever seen on a tablet/android.
Faznx92 said:
You use a vnc app on loobback address(127.0.0.1) to connect. It is the fastest emulation I ever had running on any device. This is perfect for me if i can get a keyboard working. If you lower the resolution of the linux guest with a ui like lxde it is very easy to use it as a touch interface.
Click to expand...
Click to collapse
Yea, thanks. I'll read a bit more on Linux Deploy to see how it works. And I'm very familiar with Gentoo (have three Gentoo devices here), so setting it up shouldn't be a problem. I also asked on their IRC, and they said Plasma Active should theoretically compile on Gentoo ARM, but nobody ever tested it. Sounds like a good opportunity to do just that!
Got to run Gentoo, although it required a bit of effort. Since I want Plasma Active, I didn't choose any GUI (I need to set it up manually). However, the problem is that SSH wouldn't run, either, citing that OpenRC wasn't started itself, and that I had to execute touch /run/openrc/softlevel in order to get it to start. Which is nice and all, but it's a circular dependency: to create the file, I need to log in through ssh, and to log in through ssh I need to create the file. So I ended up doing this:
Create a bash script file with that line
Upload it to the device (I put it in the downloads directory)
Do a "chmod 777 /datamedia/media/0/Download/<myscriptfilename>.sh"
In Linux Deploy:
Enable Custom mount (leave the path default)
Enable Custom startup
Set Script file to "/mnt/0/Download/<myscriptfilename>.sh"
That allowed me to create that file and start sshd correctly. So now I can log in via ssh, yay!
It makes me wonder, though – is there a support forum for Linux Deploy in English? Their main forum seems to be Russian...
GreatEmerald said:
Got to run Gentoo, although it required a bit of effort. Since I want Plasma Active, I didn't choose any GUI (I need to set it up manually). However, the problem is that SSH wouldn't run, either, citing that OpenRC wasn't started itself, and that I had to execute touch /run/openrc/softlevel in order to get it to start. Which is nice and all, but it's a circular dependency: to create the file, I need to log in through ssh, and to log in through ssh I need to create the file. So I ended up doing this:
Create a bash script file with that line
Upload it to the device (I put it in the downloads directory)
Do a "chmod 777 /datamedia/media/0/Download/<myscriptfilename>.sh"
In Linux Deploy:
Enable Custom mount (leave the path default)
Enable Custom startup
Set Script file to "/mnt/0/Download/<myscriptfilename>.sh"
That allowed me to create that file and start sshd correctly. So now I can log in via ssh, yay!
It makes me wonder, though – is there a support forum for Linux Deploy in English? Their main forum seems to be Russian...
Click to expand...
Click to collapse
Great job! It looks like the original dev was russian and their github is in russian but use google translate. Hope this helps.
Android Terminal Emulator
Faznx92 said:
Great job! It looks like the original dev was russian and their github is in russian but use google translate. Hope this helps.
Click to expand...
Click to collapse
I actually took concepts from Linux Deploy and Complete(??) Linux Installer, and built a set of scripts to do all the chroot work without needing an Android app. Since I primarily use the terminal, running everything from the shell is much easier than using an app.
Using something like Android Terminal Emulator, you do not need ssh on the android side at all. You simply su to root and run a chroot command:
chroot <linux-mnt-pt> /bin/bash -i
or
chroot <linux-mnt-pt> /bin/su <user>
or
chroot <linux-mnt-pt> /bin/login <user>
The last option requires typing a password, but since it's a login, it sets up your environment correctly. The other two inherit your Android PATH (among other things), so you have to set PATH by hand or use an rc file which sets it from scratch.
Personally, I find even LXDE much too slow for regular use over vnc. Most of my interest revolves around emacs and gcc, which both work great in Android Terminal Emulator.
-Pie
Faznx92 said:
Great job! It looks like the original dev was russian and their github is in russian but use google translate. Hope this helps.
Click to expand...
Click to collapse
Ah, thanks for pointing that out. His issue list is in English, and that's exactly what I need!
I talked to people over at #systemd to see if it would be possible to have systemd launching things in a chroot, and unfortunately it seems to be impossible for the Kindle Fire HDX 7, because its kernel is not compiled with PID namespaces that systemd requires to function, and we don't have any means to compile custom kernels as far as I know. It's too bad, but I guess I can cope with OpenRC for now.
EatingPie said:
I actually took concepts from Linux Deploy and Complete(??) Linux Installer, and built a set of scripts to do all the chroot work without needing an Android app. Since I primarily use the terminal, running everything from the shell is much easier than using an app.
Using something like Android Terminal Emulator, you do not need ssh on the android side at all. You simply su to root and run a chroot command:
Click to expand...
Click to collapse
Interesting, although I do prefer an app (it's really quite convenient). Also, as far as ssh goes, I do prefer having that running over typing things into the terminal using the touchscreen.
Overall the experience of running Gentoo on ARM is interesting. The Snapdragon 800 is really quite a beast, but rather peculiar. There are often delays before my input starts to be processed, but once it does, it runs very fast, until it goes idle again. And the speed at which it compiles things is amazing. It's also nice that I can use all of those nice optimisations (I'm using -march=native and -mfpu=neon-vfpv4, with the neon USE flag enabled; I'd like to set -mcpu to something specific, but it doesn't seem to have Snapdragon as an option).
Ubuntu os
Maybe sometime we would be able to get Ubuntu os on our tabs.
zhable said:
Maybe sometime we would be able to get Ubuntu os on our tabs.
Click to expand...
Click to collapse
You already can, although it's limited to the desktop version (which isn't any good when it comes to touchscreens). Not sure if Ubuntu Touch will be available at some point. But eventually Ubuntu will ship Unity 8, which will be more touch-friendly.
This is all great news!
GreatEmerald said:
Overall the experience of running Gentoo on ARM is interesting. The Snapdragon 800 is really quite a beast, but rather peculiar. There are often delays before my input starts to be processed, but once it does, it runs very fast, until it goes idle again. And the speed at which it compiles things is amazing. It's also nice that I can use all of those nice optimisations (I'm using -march=native and -mfpu=neon-vfpv4, with the neon USE flag enabled; I'd like to set -mcpu to something specific, but it doesn't seem to have Snapdragon as an option).
Click to expand...
Click to collapse
I don't think -march=native is doing anything there buddy.
GCC doesn't officially "support" Krait (yet), nearest I can see would be Cortex-A9 which uses the same scheduling model (albeit with 3 less pipeline stages) as a Krait. Interestingly, LLVM/Clang has just patched in a krait -mcpu target, if you can use that. To be honest you'll not be gaining too much as, IIRC, the main difference between a Krait and an A9, in compiler specific terms, is vfp4, but you're setting that with the -mfpu option anyway.
My point after spouting that gibberish is to not sweat it, lose -march, change -mcpu to cortex-a9 and you're golden. At least until a krait mcpu target for GCC...
Spec-Chum said:
I don't think -march=native is doing anything there buddy.
GCC doesn't officially "support" Krait (yet), nearest I can see would be Cortex-A9 which uses the same scheduling model (albeit with 3 less pipeline stages) as a Krait. Interestingly, LLVM/Clang has just patched in a krait -mcpu target, if you can use that. To be honest you'll not be gaining too much as, IIRC, the main difference between a Krait and an A9, in compiler specific terms, is vfp4, but you're setting that with the -mfpu option anyway.
My point after spouting that gibberish is to not sweat it, lose -march, change -mcpu to cortex-a9 and you're golden. At least until a krait mcpu target for GCC...
Click to expand...
Click to collapse
Nope, -march=native sets -march to armv7-a, which is close enough. The point in using it is that as soon as GCC gets better optimisations, -march=native will use the more optimised choice, without manual intervention.
too slow download
very slow retrieving of files from server i have a 2 mb/s line
any idea how should i retrive it offline
---------- Post added at 06:24 PM ---------- Previous post was at 06:00 PM ----------
suit urself and paste any one link in mirror url in linux depoly settings for kali and other deployments
http://http.kali.org/README.mirrorlist
remove the readme when adding the url ... press thanks nd make me feel aprreciated
I've looked around on stack overflow and other places trying to find answers. I have software I want to install on my phone so I can more easily chat, send files, links, etc. on LANs that I work within throughout my day. This program works well for me: https://www.beebeep.net/download
I can use this on my windows and linux boxes. I want to integrate my phones into this communications array.
I'm looking at the snapcraft or any of the other linux variants. I can't figure out how to run a linux app on droid.
I can ssh through the terminal and so on. I can perform other functions that one normally does in BASH though now that I think of it, I haven't tried crontab. Anyway, how could I get this BeeBeep script to work on my android? Can anyone help solve this problem?
I have not seen anything on this, but very interested in this Linux development...
I did see an XDA section for only Ubuntu Touch...
I don't know about direct onto android but apparently it can be done to Chromebooks and I know that android apps can be converted to work on Chromebooks too so perhaps it can be reversed?
https://www.androidcentral.com/how-install-linux-apps-your-chromebook
So basically if an app could be converted to work on a Chromebook could it then be further converted to work on Android?
Seems like a long shot but you never know.
I've seen Windows apps / games work on Android, I've had Wolfenstein, quake arena and doom 3 ports on my phone so I would assume that Linux being a much closer cousin to Android would be an easier chore.
What you need is a framework to do the work for you, not to emulate but to directly port..
Can't find much online but I think if you dig enough you may find something
Certainly interesting though, best of luck pal.
If I find something, I'll post in development. This is a backburner project, but clearly it's one I need to take on myself. Thanx for your responses.