[How To] Running wine on your phone via ubuntu and qemu - Thunderbolt General

I take no credit for this and I always thought it would be way too slow, but it looks semi promising. The guy that wrote the tutorial up has a phone running at least half the stock speed of the thunderbolt and it's able to handle at least windows solitaire over ubuntu + qemu (it translates x86 bytecode into ASM [things like the android emulator use it]) + wine on his phone (it takes a bit to load up, but it runs fine after).
Obviously don't count on running anything drastically huge with it, but it's pretty cool it's not quite as slow as I thought it would be.

Related

[Q] Ubuntu or Windows 7

I've been reading up on this subject ... I really want to try Ubuntu but I hear it has major bugs ...which on in y'all opinions do you prefer and why?
Sent from my SGH-T959 using XDA Premium App
i recocmend u try a dual boot its actually really easy if u follow the instructions.
i installed ubu about 3weeks ago and i love it because u can customize it to no end and it really dosnt have that many bugs.
i installed inside of windows and did a 20gig partition so its defiantly not my daily, but its still fun to mess around with.
and if you need help with the installation feel free to pm me.
You can try the live image, to test if it suits your purpose. Also, you can use virtual machine to install ubuntu with Windows to test it.
Id reccomend the liveCD or as mentioned running in a virtual machine if your pc can handle it.
This will allow you to explore Ubuntu without any major bugs or chances of wiping your hard drive
Personally i prefer Windows for a development environment, but Ubuntu has its advantages.
I suggest you to choose windows, the best ever, ubuntu is good but not like windows
I have test Linux one times per Year. I will never love it. I use Windows since 3.1. Linux/Ubuntu is not Windows. If you know how windows work use this.
Tri boot OSX Lion, Arch Linux, and Windows 7.
Ubuntu is bloated, and Unity is TERRIBLE.
actually ive been hearing really good things about linux mint isadora its pretty much the same as ubu but has a cleaner overlay and more user freindly.
arch linux just has way more repositorys than ubu and arch linux is more complicated to install.
man the geek radar just went off the charts with that one lmao.
I'm standing at the edge on this one as well. I really like the way Ubuntu looks and how it operates, I'm just not 100% sold yet.
it is what it is, its a love hate relationship with me i love the open source like android but i hate how it looks.
i would definitely recommend running it in virtual machine to try it first before you do any hdd partitions.
if you like mac youll probably like linux since mac is pretty much linux on steroids lol.
Bierce22 said:
actually ive been hearing really good things about linux mint isadora its pretty much the same as ubu but has a cleaner overlay and more user freindly.
arch linux just has way more repositorys than ubu and arch linux is more complicated to install.
man the geek radar just went off the charts with that one lmao.
Click to expand...
Click to collapse
LinuxMint is based off of Ubuntu, but, is much more user-friendly for beginner Linux users (comes will all codecs and what not pre-installed, saves having to play around with the Package Manager, etc).
With Linux, there are several different desktop environments. KDE, is the Windows look-a-like, so, choose a KDE version if you prefer and are used to the Windows layout.
I suggest to the OP to go to http://www.linuxmint.com/download.php and download the DVD edition. Burn it to a blank DVD disc, put it into the computer and restart, and start trialling Linux from there (yes, it's that simple). To get the best of both worlds, dual boot (we can help you with that if you're having difficulty ).
It's entirely up to you though. There are advantages and there are disadvantages for choosing one over another. But, there is a learning curve to Linux. It isn't like Windows and you'll just be asking yourself for a recipe for disaster if you just go straight in and expect it to be the same.
man i almost crapped myself the first time i installed ubu i did it without anyones help and the first time i did it i did what u said and restarted with the dvd then hit escape for options then somehow crashed my system it seriously took 2hrs for my computer to restore its self after that one but thankfully it did. once it fully booted again i just popped the dvd into the tray and ran wubi installer on my desktop and i was done in about 5min i was seriously punching myself on that one lol.
also if u dont have any blank dvds laying around im pretty sure you can use daemon tools to mount the iso if your installing inside windows like i did.
If you have to ask then I suggest Windows 7 (if you have sufficient hardware). If you're interested in getting to know Linux then Ubuntu, Mint or any other variation of Ubuntu would be best. Granted there are better distros out there but they require a fair bit of knowledge.
Someone suggested Arch to a noob!?! Why not Slackware??
I'm running Lubuntu on an old machine only because XP is too heavy for it. Bottom line as a Desktop I still like Windows (let the hazing begin...)
heres kde or kubuntu in action.
http://www.youtube.com/watch?v=iyEx3hVTGDk&feature=related
and heres ubu in action
http://www.youtube.com/watch?v=oFCnNs8jbgw
both are not my videos fyi
just out of curiosity has anyone got tethering to work on ubu 11.0.4 because for me itll recognize the ssid but will never connect to it usb tether works fine though.
ApplesRevenge said:
Id reccomend the liveCD or as mentioned running in a virtual machine if your pc can handle it.
This will allow you to explore Ubuntu without any major bugs or chances of wiping your hard drive
Personally i prefer Windows for a development environment, but Ubuntu has its advantages.
Click to expand...
Click to collapse
Hi, everyone has his/her own taste of OSs (and any other things ), so I suggest you should answer by yourself.
In my oppinion, there no bug in Ubuntu. One difficult thing when using Ubuntu is: it cannot run our Windows software (for instance: MS Office, IDM, WinRar, etc)
You can try Ubuntu by use Live CD (download from ubuntu.com) or install it in dual mode. This way you can use Ubuntu w/u effecting your Win 7.
Enjoy.
I think window 7 is really good. Relatively easy to operate.
for common use windows,
for developing, ubuntu

PC emulation on Android - OS XDA project links.

So in this thread it tells you how to install pc operating systems like windows and linux on the Evo 3D.
http://forum.xda-developers.com/showthread.php?t=1459153
This, is freaking awesome. This one is a big breakthrough.
----
Here is the thread in the Nook Color forums for ubuntu on the device:
http://forum.xda-developers.com/showthread.php?t=1055954
----
These two threads are native installs, not using some client to access the installation, the device itself is the client as it should be.
This is not some chrooted virtual OS simulation, but the real deal installed to the device.
----
In the back of my mind i've wanted to play with ubuntu installed on the MT4GS, but not a virtual installation I want it installed and running on the device natively.
I definitely don't have the time to do this and a lot i'm trying to do around here even if I wasn't in my busy season for work.
Dropping this information so I can find it later when I do get to trying to get ubuntu (and now windows XP looks like a possibility) installed on this device.
If anyone else feels like looking into this, here's a good place to start. If anyone comes across any other projects that are the real deal and not virtual installs please post links here.
Have fun!
Blue6IX said:
So in this thread it tells you how to install pc operating systems like windows and linux on the Evo 3D.
http://forum.xda-developers.com/showthread.php?t=1459153
This, is freaking awesome. This one is a big breakthrough.
----
Here is the thread in the Nook Color forums for ubuntu on the device:
http://forum.xda-developers.com/showthread.php?t=1055954
----
These two threads are native installs, not using some client to access the installation, the device itself is the client as it should be.
This is not some chrooted virtual OS simulation, but the real deal installed to the device.
----
In the back of my mind i've wanted to play with ubuntu installed on the MT4GS, but not a virtual installation I want it installed and running on the device natively.
I definitely don't have the time to do this and a lot i'm trying to do around here even if I wasn't in my busy season for work.
Dropping this information so I can find it later when I do get to trying to get ubuntu (and now windows XP looks like a possibility) installed on this device.
If anyone else feels like looking into this, here's a good place to start. If anyone comes across any other projects that are the real deal and not virtual installs please post links here.
Have fun!
Click to expand...
Click to collapse
Regardless of what impression you may have, it is ABSOLUTELY IMPOSSIBLE to run MSWin on ARM hardware natively. The reason for this is that MSWin is x86 and ARM is... ARM. The approach used in the first link is to use BOCHS (pronounced "Box"), which is a VIRTUAL HARDWARE EMULATOR. It requires a host operating system to be functioning in the background, in this case Linux.
As for Ubuntu... well sure. No problem. Its Linux and the phone runs Linux. Not that big of a stretch to replace the Android parts with GNU.
Note that NONE of this is any kind of "great breakthrough". Bochs has been around for a VERY long time. First OPEN SOURCED in early 2000. Yeah, 12 years ago. As for Ubuntu... well I suppose that the main reason that most people aren't making a native android replacement out of ubuntu, is that not many people are all that interested in it. Cute in theory, but not practical.
What would be a more worthy project would be to upgrade android to GNU libraries and utilities. This would afford us an actually USEFUL balance between the two. Also the ability to run X *through* android without having to do stupid things like VNC. Have the proper interface ***AS AN ANDROID APPLICATION***, leaving Android to work (i.e., phone calls, etc.) while simultaneously offering the standard Linux applications.
My thought though, is that this is becoming less and less important. Firefox is on Android now, the Document foundation has announced LibreOffice for Android -- supposed to be by late 2012 to early 2013... GIMP has no place on Android... That certainly covers the basics.
Appreciate the post. I didn't have time to dig into it too deeply, so took it at face value for the impression I got. Happened to come across it in passing and didn't want to lose track of something vital to the future dev of a project like this on the doubleshot. (but definitely this doesn't belong in the dev section at this time - just clutter there.)
I was hoping people would add to it, especially the way you have, who had more of an understanding of what's going on there - I didn't realize that it was a virtual environment for the windows stuff, but it did seem to good to be true.
Even if no one responded I figured the thread would get pushed down out of the way, but still be here when I got the time to come back to it.
----
My reason for running native linux on the device itself is to be able to use the Android SDK and tools without needing a computer to do so. I have 2 of these phones and a Nook Color. The NC has USB host support, so I could plug the doubleshot into it without frying either device. (yes, i'm blending android and linux concepts here - but usb host support in android shows that it's capable of doing it)
Even from one doubleshot to the other I could use wifi adb for a lot of stuff without plugging them into each other through USB and frying the phones. So that would be a victory as well.
The lack of a hardware charging circuit in the doubleshot makes the worry of frying the phones a big deal, power transfer through USB is a big hurdle to jump in management.
Beyond that - the doubleshot is powerful enough on hardware specs to be able to compile a kernel, but that's not gonna happen through a virtual linux install because the overhead is too much. A native install might just be able to do it though. Won't know until I try, but it's worth the work to get to the point of trying, even if it doesn't work out.
The Nook Color probably won't be able to compile a kernel - it's asking too much from a device not really able to handle that.
Getting what I mentioned above to work would mean I could do all my dev work with what fits in my pocket, and let me keep working wherever I am.
I do like the idea of an app to work with this through Android itself - but I don't see how I could use the SDk and variety of user-created tools without a native linux install. Worth pursuing either way though.
If anyone has anything to add, i'd be welcome to hear it. Just understand this is not a project i'm working on or actively pursuing right now - but fully intend to down the line.
Actually blue. There is a thread somewhere that has a step by step on installing ubuntu on gingerbread. I meant to add it when I added the backtrack link. For some reason I didn't, I probably forgot, I actually think the link for it is in the backtrack thread in the sticky.
If I do find it ill let you know.
Sent from my ICS Splashed using Tapatalk

Android Dev: Linux vs. Mac vs. Windows

Experts, Developers, Fellow Gentlemen (& perhaps, some Lassey?),
PURPOSE:
To request, collect, organize, and clearly present 3 types of information related to BOTH android application development (for sale on the market) and ROM cooking (using scripts, kitchens, etc.).
INFO REQUESTED:
(1) Compare the relative the PROs and CONs of Android Dev. using:
Windows with Cygwin and Eclipse
Windows with a Linux VM (Eclipse installed on the VM)
Mac with Eclipse
Mac with a Linux VM (Eclipse installed on the VM)
Linux on bare metal (using Eclipse, of course, or the NDK)
(2) If you have used two or more of the above for Android Dev., please describe your experiences and insights, the primary differences, similarities, tips and pitfalls, etc.
(3) Given a fairly large budget to buy your own laptop for use in Android application development and ROM cooking, please RANK the above 5 choices in order from your 1st (best and most desirable) choice to your 5th (last and least desirable) configuration.
Best Regards,
Paul
Honestly your best bet if you want to do android ROM development, and not developing apks, then your best bet is to dual boot your laptop with widows and ubuntu. I thouhgt that you were wanting to develop apks, since you mentioned the SDK and eclipse, that is really more for app development, rather than ROMS and android open source it self.
The reason for ubuntu is that all the of utilities all work with ubuntu, they can work with other distros, but ubuntu seems to be the one most flock to.
The reason not to use a VM is because it can have issues connecting to the USB connection with your phone attached.
Mac will work, if you really want to go down that path, but it is more cumbersome to get things to work "well" as BSD is the underlying kernel, but you have to install an Xwindows environment to use most of the Android utilities, and that can be a pain to get working for someone not really experienced with linux AND OS X.
Windows with cygwin is a possibility, but again, more of a pain that just dual booting ubuntu.
+1 for dualboot
I'm definitely not a developer but I do know PC's. Jim's right you won't get any odd b.s. if you partition and install Ubuntu.
For the small amount of rom tweaking/developing I have done I use windows with cygwin. With baksmali and smali for decompiling dex files.
Sent from my MB865 using xda premium
Me too. I get by with Windows7 and Cygwin...
I know that I will eventually have to at least set up dual-boot with Ubuntu if I want to get involved in "real" development (even that would freak out my wife though - having options at boot on our shared family computer... gonna need a separate dev machine I guess)
Sent from my mind using XDA
I have worked through both windows and linux (ubuntu mostly), and I can give you some info about macs too, but I don't have actual experience there.
Windows
Pros:
More software for things other than android development, so if you want just one OS it may be the way to go.
If you are familiar with it already, it will make your life easier as you won't have to learn about a new OS.
Not much more really.
Cons:
most developers use linux, so you will be a bit alone i the android dev world meaning possible less support.
Not as well supported officially or not.
Overall:
Windows will probably be just fine for app development, as the sdk and eclipse both run fine.
You will have trouble with rom development. Android is based on the linux kernel, so it does not play well with windows.
You can use Cygwin, but you will have mixed results. It is not perfect. Some things just won't work unless you have linux, and quite honestly it is probably easier to get ubuntu working right.
Ubuntu
Pros:
It's FREE!!!!!
most official support
It's what most devs use, so unofficial support is good
Most utilities are built for it.
Cons:
Can be tough to learn if you are used to windows
not as many apps for other things, but that is getting better.
Over all:
By far the best for development. you are just gonna be better off in general. your best bet is to dual boot, which is really easy, and you can always use windows when you want. A virtual machine is an option, but you will have issues with certain things, like usb support. A VM will also require more cpu power to do everything so it is not a good idea on low power machines.
Hardware
Linux is much lighter than windows, so a low power computer will be better off with it.
You should be fine with anything that is not total crap for app development. Basic rom development should be fine in the mid to low end. If you are getting into more serious stuff like building up android source you will want some serious power. I have 4GB or ram and an intel i3 processor (2.13 gHZ dual core 4 thread) and that barely cuts it. compiling cm7 takes a couple hours and it runs at 100% cpu usage the whole time and gets hotter than hell.
You will need a pretty big hard drive for some stuff. The AOSP source is huge. all my android stuff takes about 28GB.
Over all
your best bet is to dual boot windows and Ubuntu Linux on at least a decent PC. you will be happier with something with a slightly higher end CPU.
I use 64-bit Ubuntu, it's just so much better and everything just runs natively! I mean some of those kitchens and tools are only for windows, but it doesn't really bother me because I dont use them
If you want to learn to write code, get ubuntu and jump head first into it.

[Q] Native Linux on phones

What phones can boot into and run a desktop ARM Linux distro (such as Arch, Slackware, Ubuntu or Debian) natively, with call and messaging support?
Ubuntu Edge.
linuxphone said:
What phones can boot into and run a desktop ARM Linux distro (such as Arch, Slackware, Ubuntu or Debian)
natively, with call and messaging support?
Click to expand...
Click to collapse
The closet you can get is with Ubuntu Edge but it is still under development and will not be available for a some time.
I am sorry I can not post the links yet in the post but you can google for the "Ubuntu Edge" and you will get enough reading material about the project.
There are also some solutions with VNC and a VM in which you run a desktop Linux. Might not be what you want, but you would have a Linux running on your phone.
The main problem is going to be drivers, which is why a ARM Linux can't just be booted. Someone would need to be merging device specific drivers into the linux, test it, debug it and so on, which doesn't make sense if there are so few people really wanting it. And as you can see with Ubuntus try on that: It is a lot of development needed.
It's possible to dual boot Maemo (to use it for phone features) and Ubuntu (desktop) on Nokia N900.
It's also possible to dual boot Windows Mobile (for phone features) and Ubuntu (desktop) on HTC HD2.
On the other hand, these Indian tablets boot and run Linux:
w w w .youtube.com/watch?v=n1tC8uSR0og
And have phone features:
w w w .techulator.com/resources/9492-Datawind-UbiSlate-7C-Edge-tablet-Full-specifications-features-online.aspx
If anyone tested Linux with phone calls on those devices, please tell.
A long time ago I installed Gentoo Linux on an ARM based hx4700 iPaq; it worked but ran so slowly it wasn't much use. The specialised Linux distros Familiar and Angstrom ran much better, as they were specifically designed for handheld devices. Granted phone specs are way improved now, but is there any real advantage running a full-blown Linux on a phone.... surely Android is basically a Linux distro optimised for phone specs (and chargeable apps, etc...). Would it be less work to port apps you need to run on Android instead - if that's your aim? Although it may be worth doing just for the sake of it....
Full-blown Linux offers the advantage of being in control of the operating system. You choose the tools you need. Android is less secure (backdoors, apps reading your data) and mobile apps generally feel like crippled desktop apps. For example, apt-get is much more comfortable to use, you just type the packages you need and it downloads them, no need for searching inside categories of app market (and all of them are free with full functionality with no ads). You can use the same scripts you wrote for your PC. It can be tweaked to run really fast (low resource usage apps written in C vs Android's Java), and you choose your desktop environment (e. g. a tiling window manager with the right apps literally flies on an old machine, RAM used on system start with Xorg running equals 20 MBs). Also, there's full filesystem encryption.
Mobile hardware is more or less the equivalent of a Pentium 2 / 3 / 4 desktop PC, which is enough for full desktop app experience.
Im glad i found this topic.
Thats not new to me...
I think the questions to add are:
- How to fully remove Android to Install Linux
- Can i install all the Drivers needed?
So that i can use: Modem(phone); WiFi & GPS under Linux.
-Is it possible to revert to Android?
- Minimum Requirements to Run Linux and What Distro?
Sent from my GT-I9003 using XDA Free mobile app

running a (linux) distro on top on android?

Hi,
I'm looking for a new tablet the idea is to have a linux based environment as the main ui, usage will mostly be web browsing media playback and file management the occasional linux program.
why? short version I want a desktop touch experience somewhat similar to what I get out of my windows 8 tablet but without the Microsoft part.
one method I have seen seems to be the chroot ubunto running on top on android and I was wondering if anyone could help with a few questions please?
1/is it possible to use without needing VNC? (not a fan of having to vnc into the local desktop)
2/any performance hits running a linux system on top of an android one? (other than vnc)
3/its running on top of android so it should have full hardware support with any device right? it isn't going to use the touch screen as a track pad right?
4/recommend any devices I might have luck with? looking around maybe $70ish price range with supported rooting/modding.
5/is it actually there? I mean does it work? Im going to assume if it could be done people (someone at least) would be doing it already ?
thanks
~SandG
*edited*
after many days *cough* 10 minute sections where I had nothing better todo* I messed around and finally got the x server working.
it isn't accelerated (and stopped working after I tried to change base distro)
the x wrapper felt slower than VNC.
the dpi is kind of messed up the UI isn't made for it.
the touch screen works like a track pad (urg)
the keyboard erm where is the keyboard? (don't answer that)
for some reason they went and put this really neat tilt thing that moves the mouse around but lacks other things(acceleration?)
I could maybe pass as a really slow desktop if it were hooked upto a usb hub keyboard mouse and hd screen.
I still think it is an amazing feat it just isn't there. it is not usable for day to day tasks, install it for fun with vnc to show your friends you have "linux" installed on your tablet/phone, use it to run scripts / tools on the go you wouldn't normally have access to but that's about the extent to its usefulness, you aren't going to be playing games in it, doing heavy browsing streaming video or even playing sound.
tldr I got no feedback from anyone with experience but from what I gather it isn't going to replace android os on your tablet.
guess I will probably look for a tablet that runs linux native or suck it up and get a vanilla droid tablet and forget about switching out the UI/OS this way

Categories

Resources