[Q] Creating a Nexus 7 Android Emulator in Eclipse - Nexus 7 Q&A, Help & Troubleshooting

Hi Folks,
Brand new to the forum (and, indeed, Android development). I have a Nexus 7, and I'm developing on Windows 7 using Eclipse. To try out the tutorials on the Android site, I attempted to follow their instructions to create a virtual Nexus 7 device. Seemed pretty straightforward. However, when I try to start the deveice, I get the error "Failed to allocate memory:8". It doesn't matter if I put 200 in the "SD Card Size" or select the SD card img file, I get the same message and the emulator is terminated by the application.
I have searched the archive on this forum but can't find anything close to this. Any ideas?

Cran0g said:
Hi Folks,
Brand new ot the forum (and, indeed, Android development). I have a Nexus 7, and I'm developing on Windows 7 using Eclipse. To try out the tutorials on the Android site, I attempted to follow their instructions to create a virtual Nexus 7 device. Seemed pretty straightforward. However, when I try to start the deveice, I get the error "Failed to allocate memory:8". It doesn't matter if I put 200 in the "SD Card Size" or select the SD card img file, I get the same message and the emulator is terminated by the application.
I have searched the archive on this forum but can't find anything close to this. Any ideas?
Click to expand...
Click to collapse
You might not have enough ram in your PC, try 512mb that's as low as you can go for 4.2
Sent from my Nexus 7 using xda app-developers app

IRX120 said:
You might not have enough ram in your PC, try 512mb that's as low as you can go for 4.2
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Hello,
I''m new as well and have exactly the same scenario on installing Eclipse on win 7 64 bits and try to learn with a Nexus 7 tablet.
I've tried adding the parameter to set 512mb but I'm still have the same problem. what else can be the problem ?
Thanks for any feedback.

Cran0g said:
Hi Folks,
Brand new to the forum (and, indeed, Android development). I have a Nexus 7, and I'm developing on Windows 7 using Eclipse. To try out the tutorials on the Android site, I attempted to follow their instructions to create a virtual Nexus 7 device. Seemed pretty straightforward. However, when I try to start the deveice, I get the error "Failed to allocate memory:8". It doesn't matter if I put 200 in the "SD Card Size" or select the SD card img file, I get the same message and the emulator is terminated by the application.
I have searched the archive on this forum but can't find anything close to this. Any ideas?
Click to expand...
Click to collapse
Did you solve this issue ?. I have exactly the same problem you have and I couldn't find any answer yet.
Thanks.

nexusnino said:
Did you solve this issue ?. I have exactly the same problem you have and I couldn't find any answer yet.
Thanks.
Click to expand...
Click to collapse
There seems to be a bunch of things that the prior respondents never bothered mentioning
- What version of OS are you using on your PC? (also, 32-bit, or 64-bit?)
- How much RAM is in your PC?
- After you boot up your PC, and have a look with the Windows Task Manager, how much memory do you have in use with your PC sitting idle?
- What version of the Android Developement Tools do you have installed into Eclipse (v21.1 or above)?
- Does your processor have Intel/AMD Virtualization extension support?
- You are *not* attempting to run an emulator under an emulator (e.g. VirtualBox) are you?
- Which API Level and Device are you trying to run from the AVD?
I have a Win7 Pro x64 box, i5 quad-core uP w/ VT-X extensions, 4 GB RAM. When I create (for instance) an "API Level 17" Nexus 7 emulator, the AVD dialog complains:
Android Virtual Device Manager said:
On Windows, emulating RAM greater than 768M may fail depending on the system load. Try progressively smaller values of RAM if the emulator fails to launch
Click to expand...
Click to collapse
Now, the default settings for a Nexus7/API 17 AVD device are 1024 MB RAM (just as with the physical device). When I attempt to run this way, sure enough I get a message
Starting Android Emulator said:
...Failed to allocate memory: 8...
Click to expand...
Click to collapse
but when I edit that virtual machine to use 768 MB, it runs just fine.
Monitoring the physical memory in use:
Windows 7 Pro x64: ~1.0 GB
+ Eclipse (v3.6.2) + AVD : ~ 1.2 GB
+ 768 MB Emulator Running: ~1.7 GB.
I conclude that the "768 MB" limit is some strange interaction between the ADT and Windows - I routinely operate other VMs on my machine that use up to 2 GB of memory.
hope that helps.

bftb0 said:
There seems to be a bunch of things that the prior respondents never bothered mentioning
- What version of OS are you using on your PC? (also, 32-bit, or 64-bit?)
- How much RAM is in your PC?
- After you boot up your PC, and have a look with the Windows Task Manager, how much memory do you have in use with your PC sitting idle?
- What version of the Android Developement Tools do you have installed into Eclipse (v21.1 or above)?
- Does your processor have Intel/AMD Virtualization extension support?
- You are *not* attempting to run an emulator under an emulator (e.g. VirtualBox) are you?
- Which API Level and Device are you trying to run from the AVD?
I have a Win7 Pro x64 box, i5 quad-core uP w/ VT-X extensions, 4 GB RAM. When I create (for instance) an "API Level 17" Nexus 7 emulator, the AVD dialog complains:
Now, the default settings for a Nexus7/API 17 AVD device are 1024 MB RAM (just as with the physical device). When I attempt to run this way, sure enough I get a message
but when I edit that virtual machine to use 768 MB, it runs just fine.
Monitoring the physical memory in use:
Windows 7 Pro x64: ~1.0 GB
+ Eclipse (v3.6.2) + AVD : ~ 1.2 GB
+ 768 MB Emulator Running: ~1.7 GB.
I conclude that the "768 MB" limit is some strange interaction between the ADT and Windows - I routinely operate other VMs on my machine that use up to 2 GB of memory.
hope that helps.
Click to expand...
Click to collapse
=========================================
Thanks for the message; here are the answer to the questions you sent:
1- I have Windows 7 ( 64 bits)
2- 4 GB of Ram
3- When the computer just started and idle use 1.3Gb of Ram
4- I've installed ADT V 22.0.1 - 685705
5- I can't find how to check if the VT-x is enable or not
6- I don't use any kind of Virtual Machine on this computer
7- API level is set to 17, but not sure what you refer to Device or AVD
As an extra comment I have and Nexus 7 that is running 4.2.1, that eventually I would like to test the apps in there.
Thanks for your time and help.

nexusnino said:
=========================================
Thanks for the message; here are the answer to the questions you sent:
1- I have Windows 7 ( 64 bits)
2- 4 GB of Ram
3- When the computer just started and idle use 1.3Gb of Ram
4- I've installed ADT V 22.0.1 - 685705
5- I can't find how to check if the VT-x is enable or not
6- I don't use any kind of Virtual Machine on this computer
7- API level is set to 17, but not sure what you refer to Device or AVD
As an extra comment I have and Nexus 7 that is running 4.2.1, that eventually I would like to test the apps in there.
Thanks for your time and help.
Click to expand...
Click to collapse
@nexusnino
Your setup looks pretty close to mine. Win7/x64, 4 GB. Now that I think about it a little more, I'm not sure if the VT-X processor extensions matter for the emulator, as the Android emulator is an ARM instruction-set emulator, not a true x86 native instruction-set VM.
(In my case, I built my own machine; knowing that I was going to be using VMs a lot, I went through Intel's processor model comparison database and selected an processor model that supports the VM hardware extensions. Intel sells a lot of "i5", "i7" processor model variants. In your case, you would need to find out the exact processor model in your PC to figure out if it has Intel VT-X or AMD/V. But, as I mention above, I'm not certain it is relevant to the Android emulators).
In the AVD (Android Virtual Device) v21.1, when I select Nexus 7, it pre-populates the VM RAM/Heap settings. If I leave RAM at 1024 MB, I get the error 8 message. But if I adjust the VM RAM size downward (e.g. 768 MB), the VM starts correctly. I didn't try other values - the /!\ caution message seems to indicate that other values, possibly higher, might work.
I just updated my ADT (and eclipse plugins) to 22.0.
Same deal on v22.0 as on v21.0 - the emulator errors out (error:8) if I leave the RAM set to 1024, but if I drop it to 768, it starts up just fine.
see attachment image
What happens if you drop the RAM settings down?

bftb0 said:
@nexusnino
Your setup looks pretty close to mine. Win7/x64, 4 GB. Now that I think about it a little more, I'm not sure if the VT-X processor extensions matter for the emulator, as the Android emulator is an ARM instruction-set emulator, not a true x86 native instruction-set VM.
(In my case, I built my own machine; knowing that I was going to be using VMs a lot, I went through Intel's processor model comparison database and selected an processor model that supports the VM hardware extensions. Intel sells a lot of "i5", "i7" processor model variants. In your case, you would need to find out the exact processor model in your PC to figure out if it has Intel VT-X or AMD/V. But, as I mention above, I'm not certain it is relevant to the Android emulators).
In the AVD (Android Virtual Device) v21.1, when I select Nexus 7, it pre-populates the VM RAM/Heap settings. If I leave RAM at 1024 MB, I get the error 8 message. But if I adjust the VM RAM size downward (e.g. 768 MB), the VM starts correctly. I didn't try other values - the /!\ caution message seems to indicate that other values, possibly higher, might work.
I just updated my ADT (and eclipse plugins) to 22.0.
Same deal on v22.0 as on v21.0 - the emulator errors out (error:8) if I leave the RAM set to 1024, but if I drop it to 768, it starts up just fine.
see attachment image
What happens if you drop the RAM settings down?
Click to expand...
Click to collapse
Thanks very much for the very detail post; I've adjust to 768 and I can consistently run without getting the error back.
Much appreciate your time and help.
Paulo

Related

Triple booting win8, win7 and ubuntu

Hi guys I have just downloaded win 8 from Microsoft but I want to triple boot my laptop is that please help.
Extra info : ram 4gb
Hard disk 320gb
Core 2duo processor
Sent from my GT540 using xda premium
You can dual boot win8 and win7 its a breeze, i just did follow this simple steps posted on microsoft-news.com
just make three partition on your laptop...one for each.. or you can install Ubuntu through wubi on windows 7 and windows 8 on a separate partition.. am currently using like this...
Easiest way is to install ubuntu inside windows 7 and use VMware to instal Windows 8 on virtual machine.
I did that today. Could go without windows eight tho.
thnx everyone i run win8 in VMware..
rajatbajpai0072 said:
Hi guys I have just downloaded win 8 from Microsoft but I want to triple boot my laptop is that please help.
Extra info : ram 4gb
Hard disk 320gb
Core 2duo processor
Sent from my GT540 using xda premium
Click to expand...
Click to collapse
Its actually pretty simple.Just dual boot windows 7 and 8.Im sure u knw how o do this.Then install Ubuntu alongside 7 through the boot setup!
If you had a newer CPU, I'd suggest using Client Hyper-V (from Win8) to run the other OSes virtually, but the Core 2 family lacks second-level address translation, which means Hyper-V messes up desktop performance so MS made SLAT mandatory on client (non-server) builds if you want Hyper-V.
rajatbajpai0072 said:
Hi guys I have just downloaded win 8 from Microsoft but I want to triple boot my laptop is that please help.
Extra info : ram 4gb
Hard disk 320gb
Core 2duo processor
Sent from my GT540 using xda premium
Click to expand...
Click to collapse
I had my windows 7 installed , and then i installed ubuntu. Now , lets say you installed windows 7 on a LocalDrive (c):, then in this drive there will be some files.
wubildr
wubildr.cfg
wubuildr.mbr
These are the files that gets your ubuntu booted.
So just install windows 8 normmally on some other drive. (note: dont keep any operating system in same drive. Make a 100gb for windows 7 , 50gb for ubuntu(if you not compiling any big projects) and 100 gb for Windows 8 , and the rest 70 gb a 4th hard drive )
You can store songs and stuff in any drive you want.
NOTE:
When you boot up your computer,this is what happens,
1) Bios awakes all the hardware("Goodmorning mouse,keyboard harddisk, any other devices connected too (except your internet router) )
2)Bios finds a operating system and boots up its "SELECT OPERATING SYSTEM"(called bootmanager).(in my pc when i use windows 8 and shut it down, the next time i start pc i get windows 8's boot menu. but if i use windows 7 and shut it down , and next time when i turn on my pc i get windows 7's bootmenu, You wont get ubuntu boot menu on startup)
3)Go to Windows 8 , open my computer . Now you will see that the drive on which you installed Windows 8 is now C drive..
4) Find out on which drive you had your windows 7, open it, go to program files. and use which ever software you had without reinstalling it, Like lets say if i want photoshop, then i will go to windows 7 drive, open program files, then Adobe, then photoshop cs5 and here there will be photoshop.exe, i will create shortcut on desktop (use this method only when the software publisher have not published the software for windows 8, eg TeamViewer , they released their software for windows 8 , so i wont link it to desktop from my windows 7 files.. I will download a new one.. )
Thats it.. have fun buddy..
Check this out.
Google EasyBCD. And then download that software. so if you ever mess up , then you can make a new entry in your bootmanager and name it what you want. lets say you mess up with ubuntu, and in boot menu ubuntu option doesnt come, then you go to windows 7/8 and then open up EasyBCD , make a new entry , name it Ubuntu(or what ever you want) and then point it out to "wubildr.mbr" (remeber , make backup of the three files i told above..) Also you can change the names of existing OS. Like Windows 7 can be changed into Hello, This is Windows 7 . Then this will appear in your boot screen..
Hope i helped. I know you booted windows 8 in VM, but VMs are slow... I just gave you extra info so u know what to do if you mess up on install new OS again
rajatbajpai0072 said:
Hi guys I have just downloaded win 8 from Microsoft but I want to triple boot my laptop is that please help.
Extra info : ram 4gb
Hard disk 320gb
Core 2duo processor
Sent from my GT540 using xda premium
Click to expand...
Click to collapse
It is easy install Ubuntu alongside win7 and install windows 8 to a different partision
you can install them separately, each on a partition
it is very normal and easy
i did it, i installed windows 7 then 8 then ubuntu
just make sure to install ubuntu after all because of the grub boot loader
Win 8, then Hyper-V as many different OSs as you have space for, its quick, painless, you don't need to worry about Linux over zealous bootloaders screwing everything up, unless you are running several at the same time even a moderate spec'd PC with the correct hardware requirements will run them both without much of an issue.
one thing I miss from 7 is the ability to run XP programs right of my desktop, I have some USB hardware that only supports 32bit XP, on 64 bit 7 I VM'd with XP mode, had the program icon that used said hardware right on my 7 desktop, double clicked, and for all intensive purposes it ran and worked the hardware as if it was on that very os
pretty impressed I have to say, alas it doesn't work like that on 8 which is a shame

Windows 8 installation error

when im trying to install windows 8 in virtual box im getting the following error:
please give me d solution
should we have graphic card to install windows 8..?
vinaysweetheart007 said:
when im trying to install windows 8 in virtual box im getting the following error:
please give me d solution
should we have graphic card to install windows 8..?
Click to expand...
Click to collapse
If you're trying to run Windows 8 64-bit, you have to have hardware virtualization support.
See http://www.virtualbox.org/manual/ch03.html#intro-64bitguests and http://www.virtualbox.org/manual/ch10.html#hwvirt.
EARTH SOUND im running on windows 7 (32 bit operating system)...
vinaysweetheart007 said:
EARTH SOUND im running on windows 7 (32 bit operating system)...
Click to expand...
Click to collapse
No he means that your cpu needs virtualization support in order to run it in a VM. What CPU do you have?
vinaysweetheart007 said:
EARTH SOUND im running on windows 7 (32 bit operating system)...
Click to expand...
Click to collapse
If you follow and read the links I posted above, you'll see that if you're running the 64-bit version of Windows 8 (as a guest) it needs hardware virtualization (i.e., your CPU needs to support either VT-x [Intel chips] or AMD-V [AMD chips]). You'll need to turn it on in the BIOS.
I believe the other option is to run the 32-bit version of Windows 8 in your VM, where it will not require that hardware virtualization (if my memory serves).

How to run qemu Linux virtual machines properly on android tabs.

My tab specification's are 1.2 GHz quad core processor and 1 GB ram, 16 GB internal ROM.
I want to run RHEL 5.0 X86 CLI I mean without any gui on my tab and so I followed the steps below
At first on windows I have installed qemu manager and after that I have created a virtual machine RHEL with processor option as Pentium 3 and ram option with 256 MB. The installation was successful and I am able to boot properly into it.
After that I have transferred the installation image to my tab. In order to run the virtual machine I have installed limbo qemu manager. I have selected the transferred image and specified the same options as above.
When I run the above virtual machine I am unable to boot into my system properly and I getting the following errors
kernel panic not syncing: kernel compiled for Pentium+ requires TSC feature.
general protection fault : fffa [#1]
Kindly suggest how to successfully run the above virtual machine on my tab.
Regards,
Rupesh.
help
any ideas how to run net hunter kali on lenovo ideatab a3000?

WinBook TW800

I picked up a TW800 from Micro Center and it has both a front facing and back facing camera but I can't use the front one for pictures or recording, the camera app just doesn't have such an option or at least I don't see one. Are there any 3rd party camera apps out there that would address this issue? Thanks in advanced for your help. :laugh:
I bought the same device - skype will work with the front camera. Running out of internal memory quick on this thing.
rsktkr1 said:
I bought the same device - skype will work with the front camera. Running out of internal memory quick on this thing.
Click to expand...
Click to collapse
I know what you mean, I bought a 32GB SD card just to find out you can't really install apps on the SD card or at least I don't know how.
Format the SD card as NTFS, move the \Program Files\WindowsApps folder to the SD card (make sure you preserve security and other such metadata, not just the files themselves, thus the card needing to be NTFS), create a symlink pointing to the new location. Alternatively, do this for individual apps within that folder. You may need to do it from a boot disk or as true Admin (not "run as Administrator" but actually under the local Administrator account). Don't forget to make sure that local-to-remote symlinks are enabled (fsutil is your friend).
You can, of course, install desktop apps to the SD card just fine, even if it's formatted as FAT. You can also relocate and/or move+symlink other stuff to the SD card, like your user profile.
I took my TW800 back and got the TW801 with the 64G sd card. I was able to install Ubuntu in a virtual machine all running off my external sd card and its really cool. You could still do this probably on the TW800.
GoodDayToDie said:
Format the SD card as NTFS, move the \Program Files\WindowsApps folder to the SD card (make sure you preserve security and other such metadata, not just the files themselves, thus the card needing to be NTFS), create a symlink pointing to the new location. Alternatively, do this for individual apps within that folder. You may need to do it from a boot disk or as true Admin (not "run as Administrator" but actually under the local Administrator account). Don't forget to make sure that local-to-remote symlinks are enabled (fsutil is your friend).
You can, of course, install desktop apps to the SD card just fine, even if it's formatted as FAT. You can also relocate and/or move+symlink other stuff to the SD card, like your user profile.
Click to expand...
Click to collapse
Thanks GoodDay, I managed to install office on the SD Drive but I'm still very low on space, any other tricks of the trade?
You're welcome!
Make sure compression is enabled on all relevant drives (Windows Explorer -> right-click any drive -> Properties -> "Compress this drive to save space"). NTFS compression is less efficient than things like ZIP, but that's because it needs to allow fairly random access into even big files without decompressing them first, and it's still pretty good. Also may actually improve performance in some cases; it uses more RAM and CPU when access storage but reduces storage I/O time, and the I/O speed is usually the bottleneck (on magnetic storage, compression is usually a significant speed-up). Note that doing this may confuse/break "file undelete" utilities, though those are pretty iffy on flash storage (when TRIM is enabled) anyhow.
If you don't mind losing hibernate, you can get back the space consumed by the hiberfile (which is to say, the amount of RAM you have) by running "powercfg -H OFF" in an Admin command prompt, or at least reduce the size of the hiberfile somewhat using "powercfg -H -Size 75" or similar (the last number is a percentage, must be at least 50). I don't know if it's possible to put the hiberfile on a separate volume, but I doubt it (since it needs to load before the kernel even resumes).
You can reduce the size of the pagefile if you don't usually need it much. Windows will also let you create one on another volume (which may let you shrink or remove the one on C: without running out of virtual memory space). May not work with anything that the OS recognizes as removable storage, though, as the system will almost certainly crash if it loses access to the pagefile.
Disk Cleanup, as always, is your friend. Windows Updates and various temp files all consume a lot of space.
Tools like WinDirStat are really handy for figuring out where your storage is going.
Problem resetting Windows 8.1
Hi, i recently purchased TW800 but it got very slow after it filled the storage with windows updates. Now i want to reset my tab but I'm unable to do so.
I'm getting an error saying "There was a problem resetting your PC". Checked online for solutions but most of them are suggesting to reinstall the OS. I have a windows license but can I use it for this tab? Else can you suggest any way out?
Anyone know if we can complete wipe out the winbook and reinstall windows 8.1 pro? I have my own licensed version of windows 8.1 pro. If we can do this, there are 16GB of space to use and we don't have to worry about space too much.
henry8668 said:
Anyone know if we can complete wipe out the winbook and reinstall windows 8.1 pro? I have my own licensed version of windows 8.1 pro. If we can do this, there are 16GB of space to use and we don't have to worry about space too much.
Click to expand...
Click to collapse
I don't know about installing Windows 8.1 Pro but I found info on another site on how to install Windows 10 technical preview and I think it should be the same for installing Windows 8.1 pro. http://www.tabletroms.com/forums/winbook-tw100/7314-custom-reload-tw700-800-801-win-8-1-win10.html
Enable RDP on Windows 8.1 Basic for Winbook TW700/800/801/802/100
I didn't see many threads on this tablet on XDA yet, so I figured I throw this on here. I picked up a Winbook TW801 yesterday and I was trying to use remote desktop to log into the tablet. I then came to the realization that Windows 8.1 Basic doesn't have RDP enabled. I did some digging and found a batch file that installs the necessary files and permissions to enable it.
https://dl.dropboxusercontent.com/u/1749299/RDP Enable 8.1.zip
Just unzip and drop that folder on your tablet and run the install.bat file. After the install you can delete the files you copied over to save space. You are then able to RDP into the tablet. It works great if you don't have a keyboard and mouse to hook up to it and want to manage things on the tablet quickly.
w1retap said:
I didn't see many threads on this tablet on XDA yet, so I figured I throw this on here. I picked up a Winbook TW801 yesterday and I was trying to use remote desktop to log into the tablet. I then came to the realization that Windows 8.1 Basic doesn't have RDP enabled. I did some digging and found a batch file that installs the necessary files and permissions to enable it.
https://dl.dropboxusercontent.com/u/1749299/RDP Enable 8.1.zip
Just unzip and drop that folder on your tablet and run the install.bat file. After the install you can delete the files you copied over to save space. You are then able to RDP into the tablet. It works great if you don't have a keyboard and mouse to hook up to it and want to manage things on the tablet quickly.
Click to expand...
Click to collapse
I bought this too thanks for the zip. I was wanting to run Linux on this tablet like with a dual boot - but no drivers really so I just use VMWARE and run Ubuntu and Mint on both 32 and 64 bit virtual machines (with Intel VT option selected even though windows is 32 bit). I put a 64 Gig sdcard in the external where the the virtual machines are installed.
Sent from my SM-T330NU using XDA Free mobile app
If you need drivers for Windows (which you may be able to use in a wrapper to run under Linux), you can grab them from here:
https://drive.google.com/folderview...dDU21IaGYxbmU5WlgzWDd5dkc3cGZnd0k&usp=sharing
Those are the TW801 drivers extracted from a system image. People on the Microcenter forums report they work for all the variants of the Winbook tablets, but I haven't tested them on anything other than the TW801.
rsktkr1 said:
I bought this too thanks for the zip. I was wanting to run Linux on this tablet like with a dual boot - but no drivers really so I just use VMWARE and run Ubuntu and Mint on both 32 and 64 bit virtual machines (with Intel VT option selected even though windows is 32 bit). I put a 64 Gig sdcard in the external where the the virtual machines are installed.
Sent from my SM-T330NU using XDA Free mobile app
Click to expand...
Click to collapse
wow, surprising that you can run VMWARE and install Ubuntun, how is the speed?
I have installed Ubuntu 64 Bit and 32 Bit virtual machines - takes forever to install Linux Image - but its not bad once its running. I can play videos, stream music. I also installed LinuxMint 64 Bit and its pretty good too. Only 2 GB Ram - so allocated 1.3 GB to virtual machine and the rest to Windows.
---------- Post added at 10:38 PM ---------- Previous post was at 10:34 PM ----------
w1retap said:
If you need drivers for Windows (which you may be able to use in a wrapper to run under Linux), you can grab them from here:
https://drive.google.com/folderview...dDU21IaGYxbmU5WlgzWDd5dkc3cGZnd0k&usp=sharing
Those are the TW801 drivers extracted from a system image. People on the Microcenter forums report they work for all the variants of the Winbook tablets, but I haven't tested them on anything other than the TW801.
Click to expand...
Click to collapse
cool i will check it out thanks
---------- Post added at 10:39 PM ---------- Previous post was at 10:38 PM ----------
w1retap said:
If you need drivers for Windows (which you may be able to use in a wrapper to run under Linux), you can grab them from here:
https://drive.google.com/folderview...dDU21IaGYxbmU5WlgzWDd5dkc3cGZnd0k&usp=sharing
Those are the TW801 drivers extracted from a system image. People on the Microcenter forums report they work for all the variants of the Winbook tablets, but I haven't tested them on anything other than the TW801.
---------- Post added at 10:59 PM ---------- Previous post was at 10:39 PM ----------
I can even use Unity mode with Linux Mint. Also, the physical windows button on the tablet activates the Ubuntu app launcher, and all of the host devices work on the virtual machine. I have also installed XBMC and ProjectM and VLC. and Pithos (pandora) and they all work good. I even have a Delorme GPS usb that I installed GPXD and Foxtrot and can run GPS.
Click to expand...
Click to collapse
Friends, I have TW800 tablet, but its broken. While installing Ubuntu I wiped all partitions and now device doesn't boot. Is there any recovery partition image for this tablet? Or I can simply install Windows 8.1 and apply drivers from upper links?
This tablet is useless now in 2019. I managed to install Windows 10 on it but now it sucks even more and is slower, the memory just fills up too quick. Wish there was a way to just run a Linux distro without having to boot into Windows at all.

ZF2 Running Windows 7, 8 & 10 using KVM

Let me preface that ever since I heard of an Intel based phone, the idea of running Windows at near native speeds has always intrigued me.
It's not perfect, but I think we're very close to that goal
Here's a video of my ZE551 running Windows 7:
Edit:
Here's @knightmare running Windoze 10 on his ZF2
http://forum.xda-developers.com/showpost.php?p=62008697&postcount=144
Edit:
Here's a video of my ZE551 installing Windoze 8: ( pretty boring for most people since it's just the install )
Edit:
Here's a video of my ZE551 playing ( I use that term loosely here ) a D3D9 game: Runes of Magic. Even though the Windows 8 QXL driver says it's hardware enabled in DxDiag, it's painfully slow.. taking nearly 15 minutes to start up/log in.
Edit:
Here's a video of Passmark 8 on Windows 8. Some people asked for benchmarks:
Here are the tools you will need to get this running yourself ( ZE551 ):
1. KVM enabled kernel - http://forum.xda-developers.com/zen...fhd-kernel-ze551-kvm-bridge-compiled-t3145055
2. Linux chroot - the one I use is called Linux Deploy ( in the Play Store )
3. Spice client - the one I use is called aSPICE ( in the Play Store )
4. Root - kinda duh
5. Unlocked Bootloader - without an unlocked bootloader, you can't install a new kernel
6. Terminal Emulator - the one I use is called Terminal Emulator ( in the Play Store )
7. SSH client - the one I use is called VX ConnectBot ( in the Play Store )
8. Busybox - most every root-based app uses this ( in the Play Store )
9. OS iso - any cdrom image of the OS you want to run, ie windows 7?
Optional:
1. (optional) a decent sized MicroSD card, I use a 128 gb one that's partitioned 50 gigs or so as ext4 for Linux & 70'ish gigs for vFAT
2. (optional) an SD Card partitioner - the one I use is called Aparted ( in the Play Store )
After unlocking your bootloader and getting root running, this is the process you will follow:
1. Flash the 2.19 kernel img using fastboot flash boot boot_2.19_kvm_bridge.img and reboot. Pray you boot up.
2. Start Terminal Emulator
2a. at the $ prompt, type: su
2b. Grant Permission to Terminal Emulator for Root access ( 1 time thing )
2c. check to see if kvm.ko and kvm-intel.ko are loaded by typing: lsmod
2d. If they aren't loaded, load them using the commands: insmod /lib/modules/kvm.ko and insmod /lib/modules/kvm-intel.ko
2e. exit out of Terminal Emulator by tying the command: exit and then exit again
3. Partition your microSD card using Aparted * OPTIONAL *
4. Use Linux Deploy to install your favorite Linux distro. Unless you are hoping to compile the Android AOSP kernel ( what the FHD phone kernel is ), you can use just about any of them. ONLY use SSH, you won't need framebuffer or X access. This could take upwards of half an hour.
5. After Linux Deploy has installed your linux distro, click Start to start up the chroot.
6. Use an SSH client to connect to your linux distro. ( I prefer to ssh in via my laptop, but also use VX ConnectBot when I'm out and about )
7. Use the package manager to install qemu-kvm for your distro. Most Debian & Ubuntu distros use apt-get, Arch uses pacman, Fedora uses rpm, etc...
7a. (optional) I find it easier to grant superuser privileges to my qemu-kvm executable, so I chmod a+s /usr/bin/qemu-system-x86_64 ; if you are paranoid about security, read through the documentation to do this correctly
8. I recommend creating a shell script to start up qemu-kvm because it can be a pain in the butt to remember all of the switches you like. ie...
qemu-system-x86_64 -full-screen -m 1G -enable-kvm -cpu host \
-drive file=/mnt/0/machine1.img,format=raw -boot menu=on \
--usbdevice tablet -smp 4 -vga qxl -monitor stdio -balloon virtio \
-soundhw hda -net nic,model=virtio \
-net user,smb=/mnt/MicroSD \
-spice port=5900,addr=127.0.0.1,disable-ticketing [email protected]
I have this line ( it's broken up by \'s <-- MAKE SURE THERE IS NO WHITE SPACE AFTER THE \ ) in my bash script called start_win7.sh
Here's a quick explanation of the line:
8a. qemu-system-x86_64 - This is the name of the qemu-kvm executable on my Arch x86_64 distro
8b. -full-screen - Full screen
8c. -m 1G - 1 gig of ram for our virtual machine
8d. -enable-kvm - enable KVM, the whole point of this endeavor
8e. -cpu host - use the same cpu information as our ZF2
8f. -drive file=/mnt/0/machine1.img,format=raw - the location of my hard drive, this is a 10 gig file
8g. -boot menu=on - boot menu enabled ( hit F12 etc.. )
8h. -usbdevice tablet - Qemu SUCKS at tracking the mouse, this forces qemu to track where we touch the screen
8i. -smp 4 - we're using 4 threads ( cores )
8j. -vga qxl - we're using the qxl vga adapter
8l. -monitor stdio - allow us to use the console to make immediate changes to the VM
8m. -balloon virtio - use the virtio balloon feature in the KVM kernel
8n. -soundhw hda - use the Intel HD Audio driver for sound
8o. -net nic,model=virtio - create a network card using the virtual IO feature in the KVM kernel
8p. -net user,smb=/mnt/MicroSD - create a shared folder, in this case the vFAT portion of the microSD card
8q. -spice port=5900,addr=127.0.0.1,disable-ticketing - Start up the SPICE engine for passing video & audio
8r. [email protected] - pass any further arguments to our qemu-kvm executable
so my file: start_win7.sh looks like this:
#!/bin/bash
qemu-system-x86_64 -full-screen -m 1G -enable-kvm -cpu host \
-drive file=/mnt/0/machine1.img,format=raw -boot menu=on \
--usbdevice tablet -smp 4 -vga qxl -monitor stdio -balloon virtio \
-soundhw hda -net nic,model=virtio \
-net user,smb=/mnt/MicroSD \
-spice port=5900,addr=127.0.0.1,disable-ticketing [email protected]
8s. chmod +x start_win7.sh to make it executable
9. Start up the qemu-kvm virtual machine referencing the location of your windows 7 install cd. ie...
./start_win7.sh -cdrom /mnt/MicroSD/Vcd/en_windows7.iso
9a. Qemu will start up and then show you this:
QEMU 2.3.0 monitor - type 'help' for more information
(qemu)
9b. you can then issue QEMU commands from the (qemu) prompt
10. Start up aSPICE
11. Click the OFF button to the left of Show Advanced Settings
12. Make sure Enable Sound is checked, if it isn't, do so.
13. The default connection is 127.0.0.1:5900, so click Connect
At this point, you should see your Windows install starting.
After this you will need the virtio drivers for your Windows box. I'll try to get those urls, but you should be able to Google them. Redhat has VirtIO & Spice guest driver cd's for Windows.
Redhat Windows Virtio Drivers CD: https://fedoraproject.org/wiki/Windows_Virtio_Drivers
SPICE Guest Drivers: http://www.spice-space.org/download.html ( download the QXL Driver and Spice Agent, the executable does not work )
Windows 8 QXL Drivers from Red Hat People: http://people.redhat.com/~vrozenfe/qxlwddm/
How to connect to Windows via RDP: http://forum.xda-developers.com/showpost.php?p=62096457&postcount=165
Edit:
Verified that Windows 8.1 pro can be upgraded to Windows 10. Redhat's qxl windows 8 driver works with Windows 10.
Great job bro. This is iam waiting for using zenfone 2.Is there any sound for windows 7?
if like can i change into windows 8 or 10??.
Tq
Yes, there is sound using aspice if you use the Intel hd audio driver. Unfortunately, the pc link video grabber doesn't record sound. ( why there isn't audio in my video )
Since this virtual machine is simply a pc, you should be able to install Windows 8 or 10.
Please let us know how that turns out!
Sent from my ASUS_Z00AD using XDA Free mobile app
this is amazing...this means there is a chance in the future, to run windows 10 or windows phone 10 (whenever that comes out) ? what about connecting mouse/keyboards via bluetooth? i cant wait for this to grow more! amazing work...!!!
Amazing! Care to try with Windows 10 to see how it behaves?
Seems already fast in your video, you already have ideas to make closer to native speed or it's already the best?
You've outdone yourself. A full modern Windows desktop OS in our pockets.
@ycavan
The very important question: What about video driver? Is it just dummy SVGA or full featured 3D graphics card?
Without Direct3D, windows for me will be nearly useless.
At the moment there is no direct 3d. The problem there is that my chroot doesn't seem to have proper access to all the hardware.
I've heard that the vmware driver is supposed to support d3d9 natively via gallium.
So... The next step would be to look at getting qemu-kvm compile for Android.
If any awesome Android developers out there are willing to do that, we might have a chance at full speed Windows with direct 3d.
I will say this... Epsxe was able to start up ps1 games with Pete's opengl driver via spice.
Sent from my ASUS_Z00AD using XDA Free mobile app
I've been messing around with the Android NDK lately, and if I have time today, I can try cross-compiling qemu-kvm.
This type of stuff is why I love supporting the XDA Community. Very cool. I'll give it a shot today - if USB OTG works, I'll have to see if I can get my Tactrix OpenPort cable to work with it and MazdaEdit.
This is a wonderful job bro... Can we follow the same procedure on other phones (Oneplus One in my case) with a kernel that supports KVM?
vigneshnallamad said:
This is a wonderful job bro... Can we follow the same procedure on other phones (Oneplus One in my case) with a kernel that supports KVM?
Click to expand...
Click to collapse
Since the Oneplus One is using an ARM based chip , not a x86 chip so I don't think it's possible to run Windows
damn man, that's some awesome stuff right there. imma have to find me self a zenfone 2
Jay.Lent said:
damn man, that's some awesome stuff right there. imma have to find me self a zenfone 2
Click to expand...
Click to collapse
Do it. Peer pressure!
awesome work Bro..
btw will it increases battery life of zenfone 2? or making it worse?
as we all know that android 5.0 is very buggy, the memory leak problem cause battery draining, so I wonder about your trick by installing windows 7 on asus zenfone 2 will it fix the battery draining problem?
Awesome Work !! Wish you all the very best for future developments
Wow excellent job.:thumbup:..didn't except such a beautiful stuff....lol touch screen Windows 7
Sent from my ASUS_Z00AD using XDA Free mobile app
Oh my glob! If there is any possibility to have tf2 in my pocket... I will seriously throw money at someone.
qkall said:
Oh my glob! If there is any possibility to have tf2 in my pocket... I will seriously throw money at someone.
Click to expand...
Click to collapse
You could always stream it from your PC as I'm not certain it would run well even on minimum settings.
As per the fact that the windows 7 runs on VM inside the Android, it should ideally worsen the battery life. Windows 7 doesn't replace the android os. If someone is worried about battery should not try this. Nevertheless, it truly would be a great thing to witness.

Categories

Resources