yashsingh1/xdaforums huggingface dataset:
[Microsoft Surface] sandman01:
Hi youling257!

This thread is made for the Microsoft Surface Pro 2 so I do not want to get to far away and deal with other tablets too.

I know your problem and I have also an other one that has similar issues than yours, but pleas keep this thread clean for the SP2

Let us instead discuss via PMs

regards

Mario
[Microsoft Surface] deBricker:
Has anyone managed to install without using the Type Keyboard? My Keyboard is broken and I don't have a USB splitter atm
[Microsoft Surface] benniehelder:
does anyone know if it works for Surface RT too?
[Microsoft Surface] :
Νο
[Microsoft Surface] urby66:
Partition scheme for Dell Venue 5130 standalone install

Hello Colleagues,

I would like to install the "Bliss-v7.2-android_x86_64-OFFICIAL-20171014-1217_k4.9" version to my Dell Venue 5130.

The live mode seems working well, so I would like to install to the HDD. The disk is blank.

My question would be how can I set the partitions to make is bootable standalone?

Thanks.
[Microsoft Surface] sandman01:
I think its the same procedure for your SP1 like on mine SP2.

start with the HOW-To in the first posts and check whats working and whats not as your first step
[Microsoft Surface] dimex:
Any updates? I tried a few dongles and none are working well (extremely slow).

On Saturday I'm receiving a Toshiba Portege Z10t-a2111 I scored for $650 on eBay. Very expensive tablet (targeted at business class, $1,500) and discontinued now. There happened to be one available, but you literally can't find them anywhere. There's some of the Ivy Bridge versions floating around, but I was specifically looking for the 7260AC card in this case.

I've been doing a lot of research and reading through the Android-IA email list archives. Intel 7260 family of WiFi cards are the only ones officially supported by Android-IA, so with those cards you can guarantee to have support. My goal is to have a Wacom pennable tablet that I can dual boot Android on. The Z10t I bought is the fully decked out version: i7 Haswell, 256GB SSD, 8GB, so it will be more powerful than my SP2. It SHOULD (god I hope so) install Android-IA and run everything flawlessly. I will then have my ultimate tablet!

The keyboard dock on the Z10t seems really clunky, so I purchased the Surface wireless adapter using some Staples rewards I had, which turns a type cover into a bluetooth keyboard. The SP3 type cover is just about the same dimensions as the Z10t, so I'll probably pick one up so I can have a thin keyboard setup to go along with the Z10t, and one that'll fit into a folio case with the tablet. I rarely use the type cover with my SP2 anyways, so it won't be a big deal having a keyboard separated from the tablet.
[Microsoft Surface] sandman01:
Hi!

So far no real update, sorry

last week I destroyed the file system on my NAS so It took me some time to restore the files from that (XFS file system)

However every day after work I try out new ways to compile my local android-x86 sources with different kernel settings and other modifications to get WIFI working.

WIFI is for me the most important feature that have to work, before every thing else gets interested, e.g.: Type cover,...

But as I mentioned before, I'm a noob and learning to handle linux based systems day by day
[Microsoft Surface] gwithrow:
Android on Surface Pro2

I have had limited success getting the Android-x86 isos/images running.

I have been concentrating on using the native hyper V and not virtual box (seems to be easier to share/mount SD Card and USB).

I am definitely interested in running Lollipop.
[Microsoft Surface] sandman01:
Good to see that I'm not the only one like to run Android on our SP2.

Status:

creating Android-x86 out of the sourccode is not a big deal at the moment.

including gapps also not a problem only have to copy the *.apk's after installation

WiFi is hard to analyse

- correct the firmware for our usb8797_uapsta.bin because the one delivered with Android-x86 (also with Ubuntu 14.10) do not work

the original firmware do not create a network interface, the correct one creates automatically a interface called mlan0

- android is working only with the interface called wlan0 so thats the first step to solve,

- tried to mod the init.x86.rc and wpa_supplicant.conf to rename all the entries from wlan0 to mlan0 but this is not working (service wpa_supplicant -Dnl80211 -imlan0 -c/etc/wifi/wpa_supplicant.conf)

- tried to get mor info with wpa_cli but it says the the wpa_supplicant service is not running

-at the moment I compile a build where the kernel modul creates the interface as wlan0 (not mlan0 any more)

Information:

our Wifi mudule is 88W8797 wich uses mwifiex_usb.ko kernel modul that automatically loades mwifiex.ko and cfg80211.ko.

Also a workiong firmware must me placed unter /lib/firmware/.../mrvl/usb8797_uapsta.bin (~550kb file from git.marvell.com)
[Microsoft Surface] sandman01:
WiFi working on Microsoft Surface Pro 2

Yes, I got Wifi working!

only mod of kernel module + newest firmware did the job.

now I have a wlan0 interface running after startup that runns out of the box. :D

Haha, I'm so happy

Speed up to 3,33MByte/sec download

Speed up to 4,25MByte/sec upload
[Microsoft Surface] dimex:
Sent you an email. Don't even know where to begin as I've never built anything before on Linux let alone used Linux. If I can overwrite files with modified versions on an already installed Android-x86 build that would be awesome, but maybe not possible.

Either way, if you could upload your build iso's to Google Drive or something and share them with me, I would be forever grateful and wouldn't mind paying you for them.
[Microsoft Surface] sandman01:
Hi, See post 3, I upload a zip file and the Instruction where to place the files.

Its for the standard kernel shipped with lollipop-x86 build so hopefully it will work for you
[Microsoft Surface] dimex:
It works, amazing!

I think I successfully installed GApps but I'm receiving 972 error while trying to install apps. Little research said it's because I have an ext3 partition. So I gotta do this all over again and install to ext4? Grrrrr!!!!
[Microsoft Surface] sandman01:
Hi!

Its not as hard as you think.

Copy the content out of your EXT2/3 partition and reformat it as EXT4 with an GParted/Ubuntu live system.

After that restore the content back on your fresh EXT4 partition.

I think that will also do the job.

regards
[Microsoft Surface] sandman01:
Got the Type Cover 2 working [Keyboard, Touchpad, Mouse Buttons]

Its a dirty hack but it works for now.

So now I can hack without any external USB devices. :D

http://ubuntuforums.org/showthread.php?t=2183946&p=12844865#post12844865
[Microsoft Surface] sandman01:
Status:

At the moment I test sensors under ubuntu to see if they are working on linux-based environment.

Ambient Light sensor working

Accelerometer working

Gyrometer working

Inclinometer working

Rotation working

Frontcam working

regards

Mario
[Microsoft Surface] sandman01:
For Information:

Did a clean build over the night and installed the iso which was createed.

Also in the installer it was possible to use the Type Cover 2 :)
[Microsoft Surface] sandman01:
upload an iso image from 2015-02-04 to my google drive.

see first post
[Microsoft Surface] jpeps:
How can I install Java and Microsoft surface pro hide it installed but it doesn't run
[Microsoft Surface] oddbehreif:
Hi there,

Great to have an android build with WiFi working, thanks!

However I am stuck at a blank screen when trying to boot from USB. Menu shows up alright but whatever I select it just displays a blank screen and stays like that until rebooted.

File corruption unlikely (tried downloading several times). Help would be greatly appreciated!

PS. Man I hope the latest UEFI update didn't break anything - I've not been able to boot from microSD since...

--EDIT--

Problem solved - I ran the installer in VirtualBox. Other than that the provided instructions worked fine.
[Microsoft Surface] jpeps:
I boot and run from USB stick not not install
[Microsoft Surface] sandman01:
So the installer worked fine for all?

I hope so, becauseying otherwise I try to upload a new iso.

Yes you are right the boot from microSD is dead since last Microsoft firmware update.

So the methode I'm using at the moment is booting and installing to USB-Stick and copy the installed folder from the USB partition to my SSD partition after that I mod the grub.cfg file to change the booting entries to the current copied folder (change the date code)

Did a lot of research the last days why so often the Type cover is broken when mod files for other stuff.

Have huge troubles to understand how the sensors are connected (iio bus) and how to initialisize them.

in ubuntu the most of the stuff is working, but I don't know how to port them to android.

BTW: Wifi & the covers are not really stable, also in ubuntu I face connecting problems and issues with the Type cover when disconnecting and reconnect it. :silly:

regards
[Microsoft Surface] sandman01:
If someone is interessted I uploade a iso image with 3.18 kernel

in search of solutions for all the other hw devices I switched to 3.18 kernel for testing.

the 32bit build is working like the older iso with 3.10 kernel. (64bit fails :( )

regards

PS: nobody else who want to support with debugging?

I'm also a beginner so don't be shy. :)
[Microsoft Surface] sandman01:
Senmsors working

Hi all!

Dont know what went wrong, but today I made a build that was extreamly lagge so I decided to undo all my changes and make an fresh unmodded build (only with the Marvell firmware for Wifi)

Due to the fact that in the 3.18 kernel my hint with mlan0 to wlan0 is already integrated nothing else needs to be changed.

While testing the clean build I faced that the sensor kernel modules are automatically loaded and the devices showed up in /sys/bus/iio/devices

so I tried to turn the tablet and it is turning out of the box

Conclusion:

Rotation is worlking :)

Build ccan be found in the OP
[Microsoft Surface] oddbehreif:
Awesome, will try it out when I get home!

You mentioned that only the marvell drivers are included, does this mean that type cover support is now nonfunctional?
[Microsoft Surface] sandman01:
with kernel 3.18 Type and Touch Cover 2 are also included and do not need to be integrated in the kernel modules any more.

they are working like they do in ubuntu (included in hid-sensor-hub)

also 2-finger scroll events are working :)
[Microsoft Surface] oddbehreif:
Sounds good :) noob question: I've been unable to install Gapps - tried multiple sources, with every file in seemingly right places and permissions set - am I missing something crucial?

I had problems with WiFi in the last build (saved networks but would not connect), will test the newest build thoroughly tomorrow.
[Microsoft Surface] prohackerbro:
rotation isnt working for me... on build with latest kernel. pretty smooth though :)

EDIT: after couple of reboots it worked. it works flawlessly!!!

im here for help in this. if you need help just write it here:)
[Microsoft Surface] prohackerbro:
holy f***... opengl works on mine i think, the 3d part of antutu runned smooth at 60fps...
[Microsoft Surface] sandman01:
Antutu Benchmark

Great you are right.

Antutu works and finished all tests with a 3D benchmark 50-60fps

Overall result 70568 starting live from USB drive. :D
[Microsoft Surface] sandman01:
Hey Guys!

Camera is also working!

Tested it with open Camera from Google playstore ==> Front and Back Camera are working without anything else
[Microsoft Surface] prohackerbro:
Nice! have to reinstall, installed without RW rights. will chech other things when i have play store installed.

any info about standby? would be pretty important to me.
[Microsoft Surface] BallCity:
How is everyone getting the Google Play Services / Store installed? I cannot seemingly get it installed for the life of me. Probably some sort of permissions thing... Wish there was a way to flash ZIPs :\.
[Microsoft Surface] dimex:
Download the pico Gapps from Paranoid Android XDA post. The structure of the zip does not match the file system on the device, but throw the corresponding sections into priv-app, etc.

If you screw it up Google Play will crash, so no worries just try again. I can update this later with more specifics when I get home. It was a bit nerve wracking at first but it's really not a big deal.

So for example, open the zip. Open the first folder Core ---> required ---> now you will find app, etc, framework, priv-app. Place the folders/files in those directories into the corresponding app, etc, framework, priv-app directories on your Android-x86 install.

All you need to worry about are the Core, GApps, and GMSCore folders. The rest is unnecessary (unless I'm wrong and in that case someone else please speak up).

Make sure permissions match.

After reboot you can install the rest of your Google Apps, which is much easier than manually installing a bigger GApps package IMO.

Make sense?
[Microsoft Surface] sandman01:
As you said its not a big deal to integrate gapps into the installation.

I'm not sure if its allowed from a legal perspective, however I could also integrate gapps directly into the image to save time/work.

necessary is a EXT4 partition werer everything is installed, because otherwise you wil get an error when gapps like to connect to the network.
[Microsoft Surface] BallCity:
Woo, that worked, thanks! I used the Ext2 File System Driver for windows to mount my android partition and move them over all in windows (http://sourceforge.net/projects/ext2fsd/files/Ext2fsd/0.53/). Worked like a charm.

Also, as you stated, there is an issue with Google Play installing stuff - I would always get the 972 error. I created a data.img as EXT4 with the following commands while removing the "data" folder that existed, and it appears to have fixed this issue:

dd if=/dev/zero of=data.img bs=1M count=2047
mkfs.ext4 data.img

Now everything seems to be more-or-less working. It seems that Wifi doesn't work 1/2 the time on boot (not sure why yet - perhaps whenever I don't have it plugged in charging), and there is weirdness where if an app rotates the screen it will not auto rotate back to landscape. Otherwise everything is really smooth and works great - thanks everyone for the awesome work!
[Microsoft Surface] sandman01:
don't know why nobody else is trying to build images for Surface Pro

For test I build a KitKat 4.4.4 EFI image with 3.18 kernel

Wifi and the others working like on lollipop!
[Microsoft Surface] jpeps:
Can boot this build from usb drive only not install
[Microsoft Surface] sandman01:
Interresting!

On my side I installed the lollipop and kitkat build normal to the 2nd partition of my USB stick and copied the whole partition to my ssd where my grub entries pointing to.

booth android versions are booting fine.

Kitkat:

==> Wifi, Type Cover, Pen is working, Hid Sensors are present but rotation for example do not turn the main display?!?!

btw. Camera is working but is mirrowed :D
[Microsoft Surface] jpeps:
Who did you do it ??
[Microsoft Surface] sandman01:
Things I do at the moment to test my images:

- download img file

- open the img file in Ubuntu and copy the content on my USB-Drive (2 partitions: one fat partition + one 8GB EXT4 partition)

- shut down my SP2

- press & hold VOL-DOWN key while pressing the POWER Button

- select install Android from the EFI loader (using my connected Type Cover2)

- select install on /dev/sdc2 linux partition

- follow the instructions (no grub bootloader, /system as RW yes,...)

-wait until setup is finished and then reboot into ubuntu again

- start gparted

- delete my EXT4 Partition on my internal SSD (/dev/sda8 for me)

- copy EXT4 partition from USB-Drive to internal SSD (release the partition if mounted)

- config grub bootmanager (using Grub costumizer) to point on the correct partition/directory

- restart and choose the grub entry to boot into the new test installation
[Microsoft Surface] m2293:
hi everybody ... i found this thread cause i really want my surface to have a windows/android dual boot ... but i read a lot of things, the most important is the not working wifi ... is there anybody who is so kind to tell what are the things not working and a how to guide, if there's a chance to get wifi working? cause i read so many things ><
[Microsoft Surface] oddbehreif:
Hi,

Did you not read the OP? It states very clearly what works and which things don't.
[Microsoft Surface] rootsuperuser:
THANKS!
[Microsoft Surface] pmw188:
Thank you

Thank you

I have question . Is it work on sp3?

Thank you
[Microsoft Surface] dinohunter117:
Has anyone tried DuOS? I have been running it on my Surface Pro 1 for about a week now and I have yet to find anything wrong with it. Its a virtual machine inside windows and it runs flawlessly.
[Microsoft Surface] sandman01:
I can not test it on a SP3 but users here and on Google groups reported boot issues with the standard android-x86 images.
[Microsoft Surface] sandman01:
Interesting but as far as I know and tested nothing comes close a android build that runs natively.
[Microsoft Surface] slashdevnull:
Hi Sandman,

that's interesting. I've got the surface pro 3 with Docking Station, installed android x86 (EFI Image: "Android-x86 4.4-r2 EFI image") on microSDCard, the kernel starts to boot, but I'm having trouble with the root-partition.

Partitioning of my microSDCard:

sdb1: 120 MB, FAT16 ->EFI stuff

sdb2: 12G, ext2 -> Android x86

I copied the EFI stuff from live Image to sdb1, including kernel and initrd.

There's a grub.cfg inside efi->boot-dir, where I set root to (hd1,gpt1), but that didn't work...(hd1,1) didn't either, since it's not for EFI.

I'm almost there, but I don't know how to Access the root-partition (sdb2) on my microSD. :)

I already tried creating GPT Partition table on the microSD, but with that I couldn't install Androidx86 at all, the partitions weren't recognized.

Can someone help me with that? :)

P.S.: Running the LiveSystem from USB works perfectly well with the known issues (no WiFi).
[Microsoft Surface] sandman01:
Sounds good but please change your partition type to an EXT4 partition to avoid issues with gapps

The grub entry on the efi image is used for booting from the USB Drive

I had also an grub2 bootmanager from my ubuntu installation (where I build the images)

the grub2 bootmanager is installed on my local ssd and there I include the code to boot from my ssd Partition

e.g.

set root='(hd0,8)'
linux /android-2015-03-04/kernel root=/dev/sda8 androidboot.hardware=android_x86 SRC=/android-2015-03-04
initrd /android-2015-03-04/initrd.img
[Microsoft Surface] slashdevnull:
Hi,

thanks for your reply. :)

I've got Arch Linux running on my Surface's internal SSD, but I didn't want to shrink my partitions any further, so I wanted microSD-boot. :)

I don't think that

set root='(hd0,8)'

will work on the surface3, since there's no "normal BIOS mode" available, EFI only.

As I mentioned before,

set root='(hd1,gpt1)'

didn't work.
[Microsoft Surface] sandman01:
that code is working on my SP2 (EFI only, disabled secure boot)

btw if you are using grub2 you can also get a little help by the "e" key to get into the editor during the boot process

in the editor set the cursor to the x hdx and press "TAB"

At the bottom you will see available options (e.g. hd0, hd1, hd2)

The same works for the partition after the comma, the grub editor will show you available options

This helps me to find out which hd number and partition number I need to implement to get my android installations booting
[Microsoft Surface] slashdevnull:
doing this it just gives me the EFI directory, but no other partitions available.

I'm wondering if this could be a problem of Androidx86 not being able to install on a microSDCard with GPT partition layout ?
[Microsoft Surface] sandman01:
I will give it a try when I'm back home from work and repartition my 32G microSD and format it with GPT and 2 partitions

lets see if I can get it working.

but I don't think it would run as smooth as directly from ssd
[Microsoft Surface] sandman01:
A little bit frustrating.

After the latest Microsoft SP2 firmware uptade I'm not able to boot directly from MicoSD any more.

Msdos Partition table allows me to install android from installer directly but I can't force my grub loaded to boot from it.

Gpt partition table and the android installer didn't find the MicroSD any more and also booting via grub do not work.

Seems that there is more magic to be done to boot from MicroSD. :(
[Microsoft Surface] stickshift88:
I can definitely agree duOS is fantastic. Been running it on my SP2 for a few months no problems and it handles gaming very well
[Microsoft Surface] slashdevnull:
Hi,

my experiences last night were similar to yours:

I tried to use the partitioning tool provided by the installer and it says "Unsupported GPT (GUID Partition Table) detected. Use GNU Parted.", but the latter is not available with the install medium. I created a gpt disk with two partitions (using gparted), but the partitions are not recognized by the installer.

Another thing to try would be dd-ing the EFI-Image to microSD and try to boot from that. If that's working, it's definitely a problem of the AndroidX86 installer. I also saw, that it doesn't really offer an option for formating in ext4, ext2+3 only. :(

So...to conclude our experiments...: The Android X86 Team should add support for installing on gpt partition layout, especially on external media like (micro)SDCards...this is not a Problem we can fix.
[Microsoft Surface] sandman01:
This is why we still need the How to from the first posts because formating the partition with EXT4 and the GPT partition table is currently not supported.

btw. there are allready discussions ongoing on google groups to implement EXT4 capability to the intaller
[Microsoft Surface] slashdevnull:
According to the first post one possible "workaround" would be:

Install to USB-Stick with msdos Partition layout, create GPT on microSDCard, config EFI stuff on microSDCard, copy partition from USB-Stick to microSDCard.

...might be worth a try :)
[Microsoft Surface] sandman01:
Status Update

Since yesterday I got Android 5.1 up and booting

- new GApps required

- Kernel 4.0 up and running

- Wifi is broken at the moment (authentification problems)
[Microsoft Surface] sandman01:
lollipop 5.1 link in OP for testers
[Microsoft Surface] mrfishball:
install apps from play store

has anyone tried installing apps from the playstore. a lot of apps are incompetible . i played around with the build.prop file,no luck. downloaded the clash of clan apk directly from the playstore but package installer wont install the app. anyone?

---------- Post added at 07:25 PM ---------- Previous post was at 07:06 PM ----------

i came across this line in the nexus 9's build prop "wifi.interface=wlan0" which didn't exsist in my surface pro's build.prop (lollipop 5.0.1) so i took the liberty of adding that in myself last night. since then i haven't experienced any wifi connectivity drops nor connectivity issues. i'm not sure if that helps as i'm still experimenting. you can find the build.prop file under /system. right now my biggest concern is installing apps from the play store as many apps are incompatible or missing:(
[Microsoft Surface] MarkusP87:
Hello,

i've got a Surface Pro 2 and tried the 4.4 KitKat, 5.0 Lollipop and the newest 5.1 Lollipop.

Both the 4.4 KitKat and 5.0 Lollipop works surprisingly well, W-Lan and Orientation at 5.0 Lollipop and W-Lan at 4.4 Kitkat.

Unfortunately the 5.1 Lollipop Image with both 3.XX and 4.0 Kernel doesn't even boot, it's just a black screen.

Is this image for Surface Pro 2 also ?

I've gotten the same Authentification Problems (Getting IP/Connecting...) when playing around with the system folder and it's permissions.

The Solution at least on my Problem was to set the system folder's permission (chmod -R 655 /system) after that the W-Lan successfully connected.

Thanks for working on our beloved Tablets, they deserve Android :D

greetz,

MarkusP