yashsingh1/xdaforums huggingface dataset:
[Microsoft Surface] russicool:
Hellp my.

Hello everyone! I installed the last build last ( android-x86_64-5.1-rc1.img -------

--Android-x86 5.1-rc1 EFI image (64-bit OS).I started Android and everything was

functioning perfect. But there is an error: after the restart Windows 10

is starting but not Android, and I can't choose Android,also there

is no GRUB as if it's not installed. But when I've been installing Android I've been

always choosing yes, yes, yes from the installing menu.

I tried with program easyBCD to install again the GRUB in disk C:.

And from the partition with Android I made a copy menu.lst in disk

C: folder NSTand I changed it with the original menu.lst. I restarted

the system and now there is Windows 10 and Android, but when I try

to start Android there is error that file: NST/Neogrub.mbr doesn't exist

(but the file exist in disk C:, folder NST), Status: 0xc00007b.

Info for my computer: Surface Pro 1. UEFI. I have memory 120GB GPT, in disk C: 100GB for Windows 10 and 20GB for Android. Partition for Android has a format EXT3, hard disk GPT.

Please If someone knows how to help me I'd be really thankful!
[Microsoft Surface] alex1301:
Hey guys,

getting a Surface Pro 2 tomorrow and I want to ask if this versions of Android are also working on it. Another questions then would be if the newest version is android 5.1.1 and if should it install the same way like in the second post of this thread.
[Microsoft Surface] sandman01:
You will need a standard android-x86 image and the package for the usb stick from the fisrt posts.

Due to the fact that my WiFi fix is permanently included in the sources no additional fix,... is required.

by playing a little bit with different kernels you can enable also rotation, ....

I prefer 3.18 but for that you need to compile from sources
[Microsoft Surface] Ranomez:
Why do we still need the usb stick package from the first post?

Can it not install normally directly to a partition on the ssd like on any other efi device?
[Microsoft Surface] :
After you instal android from usb, and start android from usb, you can select , to move android to a partion in ssd, so you will never need usb again.. You can do what you ask, but read all the treat.. I read it 3 times when i was trying.. :)
[Microsoft Surface] sandman01:
Currently uploading a lollipop 5.1.1 image with kernel 3.18

This image has working wifi and bluetooth. :)

Edit: done

trying to build also a marshmallow image
[Microsoft Surface] MarkusP87:
Hallo sandman01,

echt super das du gleich immer die neusten Veröffentlichungen uploadest (natürlich mit funktionierenden WIFI).

Marshmallow wäre schon interessant auf dem Surface Pro 2.

Ist das 5.1.1 Image mit 3.18 Kernel eines der neusten ? Hatte gestern das Release (von android-x86) installiert und da hat sich Android immer nach jeder APP neu gestartet, mal schaun ob das Problem hier auch noch vorhanden ist.

Danke dir schon mal, bin echt froh das sich hier noch einer die Mühe macht und dem guten relativ alten Surface Pro 2 noch den letzten Schliff gibt ^^

Mit freundlichen Grüßen,

Markus P.
[Microsoft Surface] sandman01:
Hi Markus

I will answer in english to give all the others the possibility to join the conversation.

The images are build form current android-x86 sources.

The only diffetence is the kernel.

I need to switch back to kernel 3.18.8 because 4.0 breaks WiFi on my SP2

It founds the networks, but I'm not able to connect due to authentication problems.

Regards

Mario

PS: Marshmallow build process is running on my SP2 under Ubuntu 15.10 :)
[Microsoft Surface] Ranomez:
Is the build an x86 one or a x86_64 one?

Also since it is an iso instead of an img (as the normal uefi+gpt installable version is) I want to ask if this one requires using the trick with installing to the stick and then copying the partition over instead of being able to just install it directly on a partition on the ssd?
[Microsoft Surface] alex1301:
I don't know how the Surface mounts the sdcard in the UEFI, but is there the possibility to install android on the sdcard? Would be interesting to know because l have a 64 GB SDCard.
[Microsoft Surface] sandman01:
The image is X86 iso only because last time I tried to build X86_64 it fails to boot

Also the efi images would not compile at the moment (did not dig into the problem)

At the beginning the SP2 also boots from SD-Card but since a UEFI Firmware update it won't anymor. :(

You can try by creating the contend on the sd card instead of the USB stick and see if POWER + VOL DOWN also boots from sd
[Microsoft Surface] alex1301:
Sorry to bother you again, but is the gdrive link from the OP the correct one? So is the image from 28.10. the newest one?
[Microsoft Surface] sandman01:
ok on my side I see the 29-oct the latest one.

one original with kernel 4.0 without gapps

one with kernel 3.18 and included gapps (the good one for our SP2)

sorry to tell that the marshmallow build didn't boot, only a blinking cursor
[Microsoft Surface] alex1301:
Can you post the the latest link to the files?
[Microsoft Surface] prohackerbro:
Hey, just wanted to ask if the new 4.3 rc1 kernel ( i think) works with android. Because im using ubuntu right now with that kernel (on my sp2), and it works flawlessly, wifi is fine and no freezes...
[Microsoft Surface] alex1301:
I neither See the latest version nor do I have a clue how to install it since the files from draco aren't up anymore. Anyone with a hint?
[Microsoft Surface] sandman01:
on ubuntu currently I use kernel 3.16 because all others freeze my system when WiFi is busy.

Here the direct link to the latest working lollipop image

https://drive.google.com/open?id=0B43N_UcsJhpjVW9lTFo5RVFIMjQ

it was built on 28-oct but uploaded on 29-oct :D
[Microsoft Surface] alex1301:
Alright, so do I need the files from draco to only boot it? wanted to make a bootable stick with rufus since the files with grub aren't avilable anymore
[Microsoft Surface] alex1301:
Nevermind, got it booting.
[Microsoft Surface] Jimmy Mossiba Floyd:
Can you please specify what you mean by "got it booting"?? do you mean that you got it booting on a flash drive? or is it dual-booting?

Thanks in advance :)
[Microsoft Surface] alex1301:
Sorry, got it only booting from the flash drive. It won't Boot from a sdcard.
[Microsoft Surface] Jimmy Mossiba Floyd:
and what about the data? does the Live-USB save data? (I'm asking because standard .img files can't get data saved on live-boot)
[Microsoft Surface] alex1301:
I dunno, but I don't think so. Normally you have to define space in unetbootinh for the Live-Stick in which for example ubuntu can use. But in our case we don't create the stick with unetbootin so no usable space.
[Microsoft Surface] Jimmy Mossiba Floyd:
Thanks for sharing the info :) .... so it's just a use it then throw it session :(
[Microsoft Surface] alex1301:
Yeah. I am thinking about installing Android to the internal storage, but I only have 64GB at all...
[Microsoft Surface] Jimmy Mossiba Floyd:
if only I could share my 256 gigs with you :P I used to have Android working on my SP3 but I deleted it then forgot how did I make it work on first place :(
[Microsoft Surface] alex1301:
:D Yeah a bigger Version would be nice, but I think for my studies it's enough.
[Microsoft Surface] Jimmy Mossiba Floyd:
I got the bigger version with a good good price so I couldn't but jump on the occasion ;)

Anyway, to come back to the topic, does anybody in here have the time to make a "working" full tutorial for dual-booting android 5.1-rc alongside win10?
[Microsoft Surface] vagaerg:
Thank you very much for your awesome work!

However, I am finding it very difficult to get it to boot. I have followed all the details on the link, but it does not boot.

So what I have done is:

Format pendrive in Fat32 & ext2 (I've tried in MBR and in GPT, none work)

Extract the ISO with 7ZIP and copy the contents to the Fat32 partition, and I've also tried to directly mount the image and copy them (none work)

Shut down the Surface, hold Volume Down + Power and turn it on (or through Windows' Advanced Startup)

However, it always boots into W10 Pro, and never into Android. Is there anything I am doing wrong? I have also tried to use Lili Linux USB and UNetBootin, to no avail.

Any ideas would be welcome :)

Thanks!

EDIT: I have tried with the only DD file that you have, and that worked great using Rufus, so the Surface can boot from USB, that's not the issue. However, it is an old version so I'd much rather know what I am doing wrong with the ISOs, so I can get 5.1 working!

It seems to me that there is some missing file, because when I did it with the img file (dd method) I could see some .efi files, that are just not present when copying contents from the ISO
[Microsoft Surface] puacham3:
i know 2 method

1- http://xdaforums.com/showthread.php?t=2536533 just use rufus , put needed file to your usb , then press Windown + S -> Recovery Options -> Advance the usb will shown up if not do it 2 or 3 time

everything is working but cant install apps

2- Download ubuntun install with rufus

- Download https://download.01.org/android-ia/releases/android-4.4.2_r1-ia2-baytrail_generic-userdebug.zip or other android ia verison, extract with winwar or 7zip-> copy initrd.img, kernel, ramdisk.img, system.sfs to android folder on your ubuntu usb( creat one)

- On your USB ubuntu open boot -> grub -> grub config (turn on hidden file if u not see it)

edit grub config add those line

submenu "Android" {

menuentry "Android" --class android --class linux --class os {

linux /android/kernel root=/dev/ram0 androidboot.hardware=android_x86 quiet video=1920x1080 dpi=145 i915downclock=1 i915.powersave=1 usbcore.autosuspend=2 SRC=/android/

initrd /android/initrd.img

}

menuentry "Android text output" --class android --class linux --class os {

linux /android/kernel root=/dev/ram0 androidboot.hardware=android_x86 video=1920x1080 dpi=145 i915downclock=1 i915.powersave=1 usbcore.autosuspend=2 SRC=/android/

initrd /android/initrd.img

}

menuentry "Android debug mode" --class android --class linux --class os {

linux /android/kernel root=/dev/ram0 androidboot.hardware=android_x86 video=1920x1080 dpi=145 i915downclock=1 i915.powersave=1 usbcore.autosuspend=2 SRC=/android/ DEBUG=1

initrd /android/initrd.img

}

}

- Wifi not working but u can install app with file manager , some app work some not work , dunno why. test yourself

It's not perfect but only thing i know , some tell unmount sd card.

- Sometime boot from usb dont work , so u have to do it 2 or 3 time

- Sometime usb not even show up, try disable delete , disable everything from eufi setting.
[Microsoft Surface] vagaerg:
Thanks for your reply. Got it to work.

What I did was downloading a Ubuntu x64 image (as you said), and then copying all the contents of the Android iso to an "Android" folder on the USB.

I also created an Ext4 partition on the USB Pendrive to install android there.

Then, manually edited the grub.cfg file you gave me with the option to install android, so it is now like this:

submenu "Android" {

menuentry "Android" --class android --class linux --class os {

linux /android/kernel root=/dev/ram0 androidboot.hardware=android_x86 quiet video=1920x1080 dpi=145 i915downclock=1 i915.powersave=1 usbcore.autosuspend=2 SRC=/android/

initrd /android/initrd.img

}

menuentry "Android text output" --class android --class linux --class os {

linux /android/kernel root=/dev/ram0 androidboot.hardware=android_x86 video=1920x1080 dpi=145 i915downclock=1 i915.powersave=1 usbcore.autosuspend=2 SRC=/android/

initrd /android/initrd.img

}

menuentry 'Android-x86 VER Installation' --class android --class linux --class os {

search --file --no-floppy --set=root /android/system.sfs

linux /android/kernel root=/dev/ram0 androidboot.hardware=android_x86 quiet video=1920x1080 dpi=145 i915downclock=1 i915.powersave=1 usbcore.autosuspend=2 SRC=/android/ CMDLINE DEBUG= INSTALL=1

initrd /android/initrd.img

}

menuentry "Android debug mode" --class android --class linux --class os {

linux /android/kernel root=/dev/ram0 androidboot.hardware=android_x86 video=1920x1080 dpi=145 i915downclock=1 i915.powersave=1 usbcore.autosuspend=2 SRC=/android/ DEBUG=1

initrd /android/initrd.img

}

}

BTW, is it only for me or the Trackpad is not working on the Type Cover on 5.1.1? The keyboard itself works, but the trackpad doesn't. It did on 4.4.4. This is just to know if it is an issue with my installation of if it happens to everyone :)

I have also seen that other people are saying that they cannot get the Orientation sensor to work on android. I have the same issue, it works when booting from the USB, but it doesn't when running from the installed version on the SSD. Is there any solution?

Thanks
[Microsoft Surface] MarkusP87:
Hello,

for me the Orientation, Keypad and Trackpad works on the latest 5.1.1 release from here with my Surface Pro 2, i don't know if you got an SP2 or SP1.

Sometimes i had problems with these when booting with wrong or missing parameters into Android.

I've also found out that if you pull off/disconnect your Type Cover the Orientation stops working.

So the only way i got Orientation to work is booting completely without Type Cover or leave it connected while the complete Android session.

Here are my Boot-Parameters:

menuentry "Android LP" --class android {
set root=(hd0,gpt5)
linux /android-2015-10-29/kernel root=/dev/sda5 [B]androidboot.hardware=android_x86 sdhci.debug_quirks=0x8000 video=-16 quiet DATA=[/B]
initrd /android-2015-10-29/initrd.img
}

Just try it out and tell me/us if it works.

greeTz,

Markus P.
[Microsoft Surface] jjjhhhppp:
Hello,

A rather while back ago I was able to install a KitKat build on my surface and I had used it as my daily driver for around a month or so, before reverting back to Windows. Ive tested the latest Lollipop build (via live USB) and felt as though it was stable enough to use as my primary OS. I don't recall the exact means how I installed KitKat previously as my primary OS, and I have run into a bit of a snag trying to install Lollipop. At this point, where I should normally see the "android" boot-animation I am instead presented with a blinking cursor (its small and offset in the mid left center of the screen), and I have not been able to progress much further from that point.

The steps I have taken thus far are as follows:

Booted Ubuntu off a live USB that contained the install_package.zip on the root directory

Formatted the Surface SSD to ext4 using gparted in the live session

Rebooted the Surface

Booted off a USB Drive containing lollipop_5.1.1_3.18_x86_gapps_20151028.iso

Ran the Android install

When asked to format I chose "Do not format"

Pressed yes to all the additional prompts during the install (including both grub prompts)

Removed the USB and shut off the Surface

Booted Ubuntu off a live USB

Mounted the Surface SSD as R/W

Deleted all the directories on the Surface SSD except android-2015-10-29

Renamed android-2015-10-29 to android

Copied the files from "Copy Content to HDD Partition" of the install_package.zip to the root of the Surface SSD

Modified the Grub.cfg to match the current file structure

if loadfont /boot/grub/font.pf2 ; then
set gfxmode=auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
terminal_output gfxterm
fi

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
set timeout=5

menuentry "Run Android x86" {
set root=(hd0,gpt1)
linux /android/kernel root=/dev/sda1 androidboot.hardware=android_x86 SRC=/android
initrd /android/initrd.img
}

Rebooted the Surface

Was presented with the Grub boot-loader with the option to "Run Android x86"

Pressed Enter, and immediately saw many lines of verbose text before ultimately arriving to a blinking cursor and nothing more

Would anyone happen to know what i am doing wrong or how I can resolve this issue? I would greatly appreciate it!
[Microsoft Surface] prohackerbro:
well, the new stable 4.3 linux kernel fixes that on various linux distributions. also enables keyboard hotswapping and sleep by deflaut... wifi works perfect only without monitor mode (not needed on android) and there are no crashes at all. why just dont try it? regards
[Microsoft Surface] :
I've managed to run the latest ISO with the 3.18 kernel by using the method presented on page 23, on a HP Envy X2 13-j001ng. Tablet has Core M 5Y70 CPU and 8GB RAM.

Things that don't work are WiFi (likely needs some firmware), hardware buttons (different kernel config?). and orientation sensor.

Sorry for hijacking the thread - it's still very nice too see Android working quite alright though.
[Microsoft Surface] sandman01:
thats exactly what i try at the moment.

x86_64 builds are also working but ther when changeing the kernel to 3.18 it wont boot into android anymore.

so next approach is to checkout 4.4 mainstrem kernel and patch the Android standard settings in there.

lets see what happends :D
[Microsoft Surface] GazaIan:
Perhaps someone can help me, I've been having this issue for months with no solution :( I can't get my Surface to boot from USB at all anymore. I used to be able to do it just fine, but now I can't get the damned thing to boot up to anything but Windows 10. I have Secure Boot disabled. When I reboot to select my boot drive, there is this phantom USB Drive option -- phantom as in it shows up in the list, even when there are no external devices connected. I can't get rid of it no matter what I try. I don't have any bonus partitions that would cause it, or nothing that wasn't already there. I have my system EFI partition, my Windows Partition, two recovery partitions and one unallocated that I can't move, because the recovery partition is in the way and Windows' Disk Management doesn't give me any options to do anything with the blocking partition. I'm entirely fine with this, since I'll be using that last partition anyway for Android.

Still, this goddamn "USB Drive" just sits there in my boot device options. hindering ****. Any way to remove it? I feel that's causing some interference with my boot drives.

EDIT: When trying to write the image, I get this error: http://imgur.com/m3tUsM5 Should I not be using the GPT for UEFI partition schemes? It wants me to target BIOS, but this clearly doesn't use BIOS...

EDIT2: So writing the image with "MBR Partition Scheme for BIOS and UEFI" and naming the device "BOOTME" finally got the little f*cker to show up in the boot menu, and it shows up as "USB Class Device". I still have that "USB Drive" option that literally leads nowhere, but I'm glad I can finally get somewhere now. Also enabled boot logs, so I can see just what the f*ck this thing is doing during bootup. Lastly I just wrote a rEFInd image to the USB to see if I can get *anything* to boot. I want to see if it's refusing all images or just Android ROMs.

EDIT3: ...aaaaaand the rEFInd USB Stick works. What the f*ck, Surface :( I don't understand why I can't get any of the Android images to work.
[Microsoft Surface] sandman01:
Hi GazaIan!

Dont give up.

Here a few hints to find what can be the issue.

- did you try an other USB stick?

- please create a MBR partition table not GPT

- did you mark the stick as bootable

- I will provide EFI images in the future as long as no iso is required for anyone to test the images also on other non EFI devices

EFI images are simpler in handling, however they are a little big bigger in size.

[MENTION=535343]all[/MENTION]

great news, with the help of others in the google groups forum of android-x86 I was able to build a new image (sources from 20-Nov-2015 with kernel 4.3)

this is an EFI image so we only need to place the contend on the USB stick no addition grub folders,...

on linux distribution simply

sudo dd if=~/IMAGE.img of=/dev/sdX

where IMAGE.img is the name of the image file downloaded and

sdX is the USB device (normally B or C, depends on your system inserted usb Sticks, µSDcards,...)
[Microsoft Surface] TheTobii:
Does WiFi work in this version?
[Microsoft Surface] sandman01:
of curse :)

I patched the kernel sources to make WiFi working.

==> rename the marvell device from mlan0 to wlan0 because Android is hardcoded on many places to use only devices that have the name wlanX

for everyone that is interested to build his own version, my used kernel sources can be found here:

https://github.com/holzingerm/linux.git
[Microsoft Surface] GazaIan:
I realized what I was doing wrong, I hadn't been including grub on the USB Stick so the image had nothing to boot to. I was going to redownload the original link that's in the guide from draco, but the link is dead. I don't understand how to set up grub to boot Android so I'm kind of confused :\

At least that's what I think I'm doing wrong. I pulled this old grub bootloader I had and tried to use the grub.cfg that was included in the ISO and the system booted to grub (but all non-letter chacters became question marks), and when i selected an option it would reboot to Windows.

Well, as it turns out, your Lollipop/4.3 kernel image boots just fine. Finally. I'm gonna play around with it a bit, I want to see if I can run the apps I need with no problem. I remember with KitKat the WiFi would just stop working until the system was rebooted, hopefully this no longer happens here.

---------- Post added at 02:03 PM ---------- Previous post was at 01:35 PM ----------

Okay so the Lollipop/4.3 kernel image is working great but video playback issues :( Browser video works fine, but Plex was what I really wanted. The Android app is great and I need something to cast to my TV when I'm home. But the app won't play back any videos :( any advice?
[Microsoft Surface] :
[MENTION=219258]SandMan[/MENTION]: What is better in new version? It is 5.1.1? Does orientation work?

Waiting if you create a new image! Thanks!! :)
[Microsoft Surface] sandman01:
nothing new from my side.

only a new kernel that probably fix things.

I mentioned that hot pluging the Type-Cover is working fine but orientation stops after de/attaching the Type cover

regards

Mario
[Microsoft Surface] sandman01:
64bit images are now also uploaded with kernel 4.3 and Wifi patch :)
[Microsoft Surface] Markos:
Does this also work with the SP3? According to ifixit it has the Marvell 88W8897 chip instead of the 88W8797. And it also has another touchscreen, N-Trig if I'm right instead of Wacom. Capacitive touch I don't know if they are different.

I'm running Ubuntu 15.10 at the moment and so far I know everything seems to work.

And what about the SP1? It has the same touchscreen, digitizer and wifi
[Microsoft Surface] :
Which one do you think is better? x64, or x32? I see 2 files, one have gapps in its name. This one has gaps, the other not?

I already have installed your old kitkat version with wifi fix, to a partition on surface pro 2..

Is there an easy way to upgrade it? I already have grub with options to select android / windows..

I try for the easier way to update.. I don't have Linux installed.

Thanks again.
[Microsoft Surface] sandman01:
switching between android builds is simple.

each installation creates his own folder on the Ext4 partition. you only need to add aditional lines in your grub config that points to the new folder.

you are correct always try to build a clean image and if this is booting fine I create an additional one with gapps
[Microsoft Surface] :
Thanks.. Hadnt thought of creating another one in same partition.. The method is the same like in past? With a usb flash stick and after see that it works to install and copy folder to ssd partition? I remember something like this as i have months, i did it in past and i dont remember very well..
[Microsoft Surface] GazaIan:
Having trouble installing this, again :( The Live version worked ok, the install seemed to go fine and I didn't have an issue copying the partition over. I used GRUB to make the bootloader and when I select my Android partition, it begins to load and then stops, and comes to a black screen with a blinking cursor. It's a working terminal window, because I can enter commands and get responses but for whatever reason the text doesn't stay on screen for longer than a second. Why didn't Android boot? Is there something wrong with my GRUB settings maybe? here are my grub.cfg and loopback.cfg, is there something wrong?

http://pastebin.com/AR5iWztW