[GUIDE] x86 32-bit OS's on Android (YAT) - Android Software/Hacking General [Developers Only]

Okay, I know there is a tutorial for this already, but I am making a new one for a new version of the software that is out.
This tutorial uses Windows XP as an example, you may replace Windows XP with other OS if you want!
***Required Software/Hardware***
SOFTWARE:
-Limbo Emulator (QEMU BASED) for Android(Play Store)
-qemu manager for PC (Windows/MAC/Linux)
-OS Installer CD/DVD(ISO is okay too)(E.G. Windows 2000-XP, Ubuntu, Etc.)
HARDWARE:
-High-end Phone(1GHZ Dual-core recommended although ANY phone WILL work.)
-PC
-USB Cable, etc
-At least 5GB free on SDcard OR Phone.
MISC:
-LOTS OF TIME!!!!
-Root (optional)
STEPS:
Step One:
Download all the required software. Install them to the respective device.
Step Two:
- Open up QEMU Manager and create a new VM, USE QEMU32bit for the processor, and Windows XP as the OS (Because the variables are predefind.)
-Select Make new drive and make a Hard Drive that is 3GB-5GB in size.
Make sure it is in qcow2 format!!
(Please note: after installation, the file size will only be 1.49GB)
-Mount the ISO/CD inside qemu manager in the VM settings and begin installation of the OS to the drive.
(This step will take at least 2HOURS! Let it do its thing.)
-After your first successful boot, Shut down the VM from within the VM (Windows XP VM: Start->shutdown->Shutdown)
Step Three:
-Connect the phone to the computer.
-Mount USB Storage.
-Find the Hard Drive file (Usually Installation/images folder!) and copy it to any directory of your SDcard (No spaces in the names and directories!!!)
- Install Limbo Emulator, and then Launch it!
- Select Load VM and hit New give it any name you would like it doesnt matter.
- then make sure the settings are as follows:
~CPU: qemu32
~RAM Memory Size: 256
~Hard Disk (HDA): /mnt/sdcard/{Location of your qcow2 file}
~Network Configuration: User
~Network Card: ne2k_pci
~VGA Configuration: cirrus
******Please note: if the option is not in the above list Leave it at it's default setting!!!!!!!! or this will not work (For Windows XP)
There you go, Go ahead and hit start!
Things to know:
One, it will take awhile to boot up on any phone (5-30 Minutes)
Two, Emulation is never perfect.
Optional Steps:
Getting more RAM for your BUCK
********NOTE: THIS STEP IS NO LONGER REQUIRED, THE APPLICATION HAS BEEN UPDATED TO ALLOW FOR 1GB OF RAM*******
ROOT ONLY
Go ahead and Exit and Kill the Limbo Task.
With root explorer go to /data/data/com.max2idea.limbo/databases/
and edit limbo.db with an SQlite editor of choice.
Find your VM in the Table and edit max memory size to 512 or more!
Remember how much ram your phone has then divied that by 2, and thats the maximum you SHOULD use, but edit this at your own risk!!!!!!
After this MOD, DO NOT EDIT ANY SETTINGS IN THE LIMBO APP AS IT WILL OVERWRITE THIS MOD.
Thats it enjoy!!

Neato
Very cool! Prepping this for my Nexus 7 now. Will post the results.

Going to try on my HTC One X, and post back here results Thanks

Okay! Any news?
Sent from my SCH-R530U using xda premium

sandix said:
Okay! Any news?
Sent from my SCH-R530U using xda premium
Click to expand...
Click to collapse
Sorry, I felt asleep yesterday doing this I`m just copying windows to my phone, will post results in few minutes

Any screenshot please?
Thanks...

There is a youtube video of a guy using an older version of the software.
Sent from my SCH-R530U using xda premium

File missing
Hi guys,
just for fun i tried to get this to work on my overclocked evo 3D, unfortunately without success.
It says a file is missing or broken (<Windows Root>\system32\ntoskrnl.exe)
Can I fix this using my PC or do i have to install my XP again on another VM?
EDIT: I reinstalled my Windows XP and tried it again. When I noticed it still won't work, i tried to change the settings. After playing a bit with them i'm able now to boot into windows without problems. But i got stucked at the desktop, so i rebootet, now it don't works again..

Try a different windows install cd. Do not use the one you have been trying to use. I believe that is the reason it will not boot.
Sent from my SCH-R530U using xda premium

FuNcY said:
Hi guys,
just for fun i tried to get this to work on my overclocked evo 3D, unfortunately without success.
It says a file is missing or broken (<Windows Root>\system32\ntoskrnl.exe)
Can I fix this using my PC or do i have to install my XP again on another VM?
EDIT: I reinstalled my Windows XP and tried it again. When I noticed it still won't work, i tried to change the settings. After playing a bit with them i'm able now to boot into windows without problems. But i got stucked at the desktop, so i rebootet, now it don't works again..
Click to expand...
Click to collapse
Make sure multithreaded AIO is disabled.
Sent from my SCH-R530U using xda premium

Well sandix, AIO Multithread has never been enabled, so I enabled this & tried it again.. This time it booted successfully and without any problems. The only bad thing is, how slow it runs. So I#m going to give it up to 512mb RAM, hopefully it makes it a bit faster

I understand, but the multithreaded AIO is what caused my vm to give the same error. Anyway try what you can. XP is slow but i have had pretty decent results from windows 98 and 2000.
Sent from my SCH-R530U using xda premium

Oh, another OS that will work decently is windows PE.
Try make a BartPE out of a windows XP CD. A.k.a WinPE. The ram requirements of WinPE are very low. (Like windows 98) so it should respond better.
Sent from my SCH-R530U using xda premium

Great tutorial
~-~-~-~-~-~-~-~-~-~-~-~-~
Phone: Samsung galaxy s2 t989
Rom: Jedi knight 6 4.0.4
Kernel: Jedi kernel 2
-~-~-~-~-~-~-~-~-~-~-~-~-
and you thought celebrities weren't smart. =P

Okayy I'm gonna try this BartPE thing out, will post my results here.
PS: @ArianaGrande, damn I wish you were the real one

I just tested bartPE it seems you need to install it to a qcow2 drive file first. Its in the start menu when you boot up in qemu on the pc.
Sent from my SCH-R530U using xda premium

sandix said:
I just tested bartPE it seems you need to install it to a qcow2 drive file first. Its in the start menu when you boot up in qemu on the pc.
Sent from my SCH-R530U using xda premium
Click to expand...
Click to collapse
Thank you very much, works nearly perfectly now. Still slow, but faster than the first one

How did you get it installed in to the qcow2 file? Mine keeps BSODing on me when i select install to hard drive. :/
Sent from my SCH-R530U using xda premium

Sorry I forgot to check back in! Install went great through the QEMU OSX port. Enabled multithread and changed to 512. XP Boots and runs slower than snot but it works

Okay good. Its slow but hey! It runs none the less i was surfing the web with ie8 after mine went through updates (took three days mind you) lol but i was shocked that it actually worked i also took a snap shot so i did not have to wait for it to boot!
Sent from my SCH-R530U using xda premium

Related

Ubuntu 10.10 on LG Optimus 3D xD

Managed to get Ubuntu 10.10 running last night on my rooted LG Optimus 3D , figured I'd post up the files I modified to get it running and a very quick guide, so here goes,
First of you'll need to root your phone, see here.
Install Busybox v1.18.4 (doesnt survive a reboot, so you'll need to reinstall it each time you boot ubuntu after a reboot, (sorry im sure this can be resolved but im an android n00b)) from here.
Then download these files.
Then follow this tutorial.
Ignore the download link on the tutorial page (I've included the correctly edited files here) and the driver installation step (you did that when you rooted the phone).
Enjoy!
EDIT:File now uploaded/linked.
Does our phone support USB OTG so that we could plugin some usb devices
Can you use a BT keyboard and mouse to control it?
Still have these files, the upload site is non-operational.
link dead...
Link please?
There is no ubuntu.rar file to download
Sent from my LG-P920 using xda app-developers app
mjankovic said:
There is no ubuntu.rar file to download
Sent from my LG-P920 using xda app-developers app
Click to expand...
Click to collapse
This is the way I did it a while back and it worked perfectly. It runs whichever Linux distro you choose in a VM on top of Android and you use a VNC viewer app to access the VM. It ran pretty well, but I only tested it a couple times with Ubuntu and Backtrack.
http://linuxonandroid.org/
Their new site with more info.

[Q] Remove Windows on Netbook and Run Android

I know you can use different virtual applications that will allow a person to run Android on a Windows device. For example:
http://www.redmondpie.com/how-to-install-and-run-android-4.0-on-mac-windows-pc-or-linux-tutorial/
What I'm wondering is . . . is it possible to remove the Windows OS on a netbook and run Android 4.0 instead? If so, does someone have a link they can point me to?
*BUMP* Anyone?
Yes, it's possible. Just burn an ISO with Android-x86 (ICS RC1), delete all the partitions you have on your netbook and then create two - one ext3 for Android (4-8GB should be ok) and one fat32 for your data. Then boot Android installer and install on ext3 partition. And yes, it can boot as a normal system.
Teoretically it should work. Don't know if there are any more things to do.
Thanks for the info, so you're saying it's possible to dual boot, windows or Android, just as long as I have the partitions set up correctly? Has anyone else done this? If so, do you have a link to a tutorial or thread? I appreciate the help!
I might try to do this when my I disconnect service to my netbook. Is the android version that is installed rootable?
Sent from my ADR6400L using Tapatalk
disconnecktie said:
I might try to do this when my I disconnect service to my netbook. Is the android version that is installed rootable?
Sent from my ADR6400L using Tapatalk
Click to expand...
Click to collapse
For what I see, Android x86 comes with the SU command, so it's already rooted.
Hell yea. Since there isnt a boot loader there is no need for unlockig either.
Sent from my ADR6400L using Tapatalk
You probably want your data partition something other than FAT32, because it has problems with larger files...
Android-x86.org
There i got 4.0 fully ru.ning on pc
unwritten sentance
mkm1126 said:
Thanks for the info, so you're saying it's possible to dual boot, windows or Android, just as long as I have the partitions set up correctly? Has anyone else done this? If so, do you have a link to a tutorial or thread? I appreciate the help!
Click to expand...
Click to collapse
It is indeed possible, I have done it. If you have the partitions setup right the installation is pretty straight forward, it asks if you have Windows so it's dualboot capable, it will install GRUB and add the Android and Windows items to it for you.
Format your hard drive to ext, then install the Android-x86 project.
icechen1 said:
Format your hard drive to ext, then install the Android-x86 project.
Click to expand...
Click to collapse
You really don't even have to do this, you can install it to a FAT32 partition (I think even an NTFS. But by doing so you can't have root.
Sent from my LS670 using XDA
not sure the point of this , I **** canned WIN7 on my netbook and put Kubuntu on it and it flies now , Windows slowed it down, but Android I dont think would do anything for me, its like running Windows 8 on a desktop (which I am doing right now because I dont have an ARM available)
Vintage144 said:
not sure the point of this , I **** canned WIN7 on my netbook and put Kubuntu on it and it flies now , Windows slowed it down, but Android I dont think would do anything for me, its like running Windows 8 on a desktop (which I am doing right now because I dont have an ARM available)
Click to expand...
Click to collapse
Windows 8 consumer preview is not that bad on a desktop but Android is indeed not that useful on a desktop at all. Although on a laptop of any kind, it's pretty nice as an instant on.
Sent from my LS670 using XDA
Well if thats the case just download the app Bluestacks, then you can keep Windows and run all your android apps in a second! Personally speaking , on the netbook ,windows uses too many resources for it to be useful , Kubuntu only uses what you want and therefore is far superior (on this platform)

Looking for a Linux launcher?

Sorry for the vague title but I wouldn't know where to look or what it's even called. Ok. We had something at my old jobs computer that was like a launcher. We could boot windows 7, or Linux Ubuntu. I can't remember what the "launcher?" was called but I want to say it started with an "A". Does anyone have any idea what I'm talking about? It would be greatly appreciated. I'm planning on porting a very popular ROM over for the infuse and would need this. Thanks for any help
What do you mean by launcher? Like boot off USB? Or what
Sent from my SAMSUNG-SGH-I997 using XDA
Not really an Infuse question, but VMware does what you need. Other option is to dual boot, and you can also use Cygwin for some Linux activities on Windows.
Sent from my SAMSUNG-SGH-I997 using Tapatalk 2
dustinhayes93 said:
What do you mean by launcher? Like boot off USB? Or what
Sent from my SAMSUNG-SGH-I997 using XDA
Click to expand...
Click to collapse
Installed on HDD. Idk it was called like A_______ something launcher. And you would use the arrows and enter key to select what you wanted to boot. Like Linux or windows 7
VMware Player - virtual machine on top of running OS:
http://www.vmware.com/products/player
Or what I use, the LILO bootloader; comes with most Linux distributions, and allows the option to choose from multiple operating systems at boot.
http://en.wikipedia.org/wiki/LILO_(boot_loader)
Sent from my SAMSUNG-SGH-I997 using Tapatalk 2
Hell isn't that grub menu? Anytime time you install Ubuntu along side windows it gives you the grub menu which lets ya dual boot
Sent from my SAMSUNG-SGH-I997 using XDA
dustinhayes93 said:
Hell isn't that grub menu? Anytime time you install Ubuntu along side windows it gives you the grub menu which lets ya dual boot
Sent from my SAMSUNG-SGH-I997 using XDA
Click to expand...
Click to collapse
Yep, or GRUB. LILO is just old school GRUB.
Sent from my SAMSUNG-SGH-I997 using Tapatalk 2
Well the one we had at work was cool. As soon as you booted the computer up you would get a menu. And the options were linux, windows 7, and something else. Then if you booted linux for example everything was linux and it was nice. Then if I wanted to boot Windows 7 I would just restart it and boot 7.
FauxAffliction said:
As soon as you booted the computer up you would get a menu. And the options were linux, windows 7, and something else. Then if you booted linux for example everything was linux and it was nice. Then if I wanted to boot Windows 7 I would just restart it and boot 7.
Click to expand...
Click to collapse
Yes, as do all of the bootloaders mentioned above. Install Ubuntu, or any other Linux distribution, and you can choose the option to select between multiple operating systems at boot.
Sent from my HTC_Flyer_P512_NA using Tapatalk 2
FauxAffliction said:
Well the one we had at work was cool. As soon as you booted the computer up you would get a menu. And the options were linux, windows 7, and something else. Then if you booted linux for example everything was linux and it was nice. Then if I wanted to boot Windows 7 I would just restart it and boot 7.
Click to expand...
Click to collapse
Its called a dual boot, a dual boot is a machine with two OSes on one hdd and it will pop up asking which os you want to boot into.... basic.. and also a virtual machine is also a good option, google both to learn more
Sent from my SGH-I997 using xda premium

Rooting on a mac

So I'm really really new to the whole android world, and I was wondering if anyone could give me a walkthrough on how to root my Samsung Galaxy S2 Skyrocket (SGH-I727) running on ICS 4.0.4, kernal version 3.0.8 using a mac computer? Thanks.
Always look to the stickies section for step by step directions.
One issue I did run into is having Kies installed and trying on OSX Lion was having issues. I have a Mac with Snow Leopard and a Windows Partition. Used the windows side to get it done. Easy as pie that way....
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
read this to flash tar files on a mac http://forum.xda-developers.com/showthread.php?t=1277000
i never used it so read carefully
vincom said:
read this to flash tar files on a mac http://forum.xda-developers.com/showthread.php?t=1277000
i never used it so read carefully
Click to expand...
Click to collapse
this is for a completely different phone though, will it work with the skyrocket?
I am telling you, the Mac route is rough for the Skyrocket... I tried every way possible to do it.
I know it CAN be done, but there are known issues....
Just Google it if you can't find the forum, it will pull up an XDA forum in Google...
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
forget it...
I was able to root my 'old' galaxy s2 from Sprint using my mac but not before spending about 7 hours or so trying to figure it out. It was a pain in the ass. I can root 2.3.5 in about five minutes now.
I gave up using Mac for all this rooting and modification crap and thought about a couple different solutions to this problem.
You can simply buy a cheap windows laptop, which I almost did. Or you can run Bootcamp, partition your hard drive on the Mac and then install a copy of Windows 7 or whatever version you choose on your Mac. This is very easy to do even for a beginner.
Last week I finally decided to just put Windows on my Mac and rooted my skyrocket 4.0.4 stock ICS in about half an hour after several hours of reading first. In reality it only takes about 5-10 minutes once you have done it a few times.
I bought a legitimate copy of Windows 7 premium FULL edition so that was about $165. I also ended up replacing the pretty full 250 gb hard drive with a Seagate Momentus XT 750 GB hard drive for about another $165. I partitioned about 130gb for Windows.
I love my Mac but the majority of all the programs for the phones are written on Windows platforms.
That's what I am trying to tell him....
It can be done, but its easier to just run windows on the Mac and do it that way....
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
onealvideo said:
That's what I am trying to tell him....
It can be done, but its easier to just run windows on the Mac and do it that way....
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
alright so i decided im gonna do the whole bootcamp thing, where would i go from there?
Ranelmcg said:
alright so i decided im gonna do the whole bootcamp thing, where would i go from there?
Click to expand...
Click to collapse
goto a mac forum
It's better if you use a virtual machine like parallels or VMware Fusion, that way there's no need to restart your mac or waste space on a predefined windows partition.
Also you could always just use a friend's PC for the rooting process, Later on unless you want to go full stock or you softbrick your device there's not a real need for a computer.
kishke said:
It's better if you use a virtual machine like parallels or VMware Fusion, that way there's no need to restart your mac or waste space on a predefined windows partition.
Also you could always just use a friend's PC for the rooting process, Later on unless you want to go full stock or you softbrick your device there's not a real need for a computer.
Click to expand...
Click to collapse
When I used programs like that, It really made one OS. Run weird. Mac would crash or windows would do something funky. If your rooting I reccimend staying away from thus and just do boot camp.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app

OS problems

I have been using a windows 7 pc for a while to flash fast boot's. But, recently, I bought a windows 8 pc, and now (no matter what I try) I can't get adb to work. Did any of you guys manage to get it to work? I am screwed?
You can always try using a live CD or run a distro off a flash drive for dedicated developing. Puppy linux works beautifully. Buy a cheapo 4gb drive from a retail chain!
Make sure you're using the correct driver version, win 8 has a finicky install process where it draws the files from the internet even if it's not really correct.
Try manual installation.
Sent from my myTouch_4G_Slide using xda app-developers app
http://forum.xda-developers.com/showthread.php?t=1982718
have you tried this?
http://www.xda-developers.com/android/fix-adb-and-fastboot-on-windows-8-consumer-preview/
this may be better

Categories

Resources