yashsingh1/xdaforums huggingface dataset:
[Microsoft Surface] MarkusP87:
Hello,

well my Surface Pro 2 doesn't have any Fans activated or atleast i can't hear them.

The CPU Cores are all around 1,95Ghz when just browsing Facebook and when playing Spotify between 1,95Ghz and 2,5Ghz without your Modification.

My Tremps are around 58C°-65C°.

After adding your script to Init the CPU won't go higher than 1,8Ghz no matter what i'm running.

But the Temps are still at around 58C°-62C°.

Since i can't see any perfomance loss i'll keep that setting so i get more Battery Power.

Thanks for the "fix" :D

greeTz,

MarkusP
[Microsoft Surface] dimex:
No problem. So on sandman's builds, anything about 3.18 kernel has broken WiFi? I installed the 5.1.1 with kernel 3.18 build and Play Store constantly crashes when trying to search for apps.
[Microsoft Surface] fl3xtra:
I can't get any gapps to work. Using lollipop_5.1.1_4.3_x86_64_Gapps
[Microsoft Surface] MarkusP87:
Yes, anything from 4.0, but 4.4 works.

Have you tried to search via Browser for "Google Play Services" and try to update them?

Maybe try Apkmirror, download and install the newest Play Store/Google Play Services from there.

greeTz,

MarkusP
[Microsoft Surface] bigr1979:
Hi, I would like to do this but not sure which file to add this to, can you please let me know, thanks.
[Microsoft Surface] sandman01:
at the moment I'm also working hard on an other Tablet I own (Trekstor Surftab Wintron 7.0) to get all the HW running.

If there are complaints about 5.1.1 build let me know, I will try to rebuild the image for everyone

I will try to integrate

echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo

also so it will be a benefit for all of us. :)

BTW: I do not get G-APPs working on Marshmallow builds so far so sorry for that.
[Microsoft Surface] sandman01:
echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo

test:

simply write this into you console and the option is deactivated until you reboot the tablet

permanent:

with root permissions (superuser) you need to edit /etc/init.sh and add this command on a place were it is always executed on boot
[Microsoft Surface] oddbehreif:
Come on buddy, don't leave us hanging. Share the link!
[Microsoft Surface] bash-ninja:
[MENTION=6610243]MarkusP87[/MENTION] [MENTION=4871138]oddbehreif[/MENTION]

I'm trying to get RemixOS working on my SurfacePro 1 and am having that same wifi issues. Have you guys solved it? If so, can you help me do the same? I'm proficient in compiling my own kernels.
[Microsoft Surface] MarkusP87:
Hello,

i've uploaded it to mediafire.

RemixOS 2.0.100 with working WiFi for Surface Pro 1/2.

Enjoy.

Credits: sandman01, wsprh123.

greeTz,

MarkusP
[Microsoft Surface] bigr1979:
Confirmed working thanks !
[Microsoft Surface] bigr1979:
Been trying for ages to get Gapps installed on this RemixOS image. Have been trying that gmsinstaller.apk they are suggesting with no joy at all. Anyone had any joy ?
[Microsoft Surface] MarkusP87:
Hello,

i've also tried to install Gapps with the GMSinstaller then i've used one from a chinese site here and installed them.

After that i've installed the Play Store and Google Play Services from APK Mirror and did a reboot.

After that i've used the first GMSInstaller from xda and installed gapps again, did a reboot, removed and installed again and made another reboot and then it was installed and everything worked, haha.

I hope it works the same way on you, if not i'll take the time for you and try to exactly reproduce how i've got it installed.

greeTz,

MarkusP
[Microsoft Surface] bash-ninja:
Do we know what is different in this image? It worked for me as well, but I'd like to know what needs to be done to regular RemixOS to make it function like this.
[Microsoft Surface] fl3xtra:
This may seem ignorant, but isn't this image on Remix's website? I'm not sure what's different. It has the same version number.

http://www.jide.com/en/remixos-for-pc#downloadNow

Edit: Hrm, the version on Remix is .101 whereas the other is .100
[Microsoft Surface] bash-ninja:
You would think it would be the same, but it isn't. There are fixes specifically for the Surface Tablet on that image that the regular RemixOS or Android-x86 don't have. I don't know what they are, but they've fixed WIFI issues among other things.
[Microsoft Surface] MarkusP87:
I think the only difference between the both are the Kernel's.

The original RemixOS uses Kernel 4.0.9 and the one from sandman01 uses Kernel 4.4.

My Question would be, how could sandman01 build RemixOS with a custom Kernel without the Source Code :D

But i'm just happy that it works.

greeTz,

MarkusP
[Microsoft Surface] bash-ninja:
Well, I tried using the kernel from that image, and it didn't work.

Isn't this the source? https://github.com/jide-opensource/remixos-kernel
[Microsoft Surface] MarkusP87:
Yep, that's it, now we know how he could build a custom Kernel. :)

greeTz,

MarkusP
[Microsoft Surface] sandman01:
with the source code on Github it is easy to build a custom kernel. :)

the simple patch that I include to get Wifi working is to rename the device when it is detected.

normaly marvell Wifi devices are registered as "mlan0", "mlan1",....

I simple change the auto name to "wlan0", "wlan1",...

its located in drivers/net/wireles/mwifiex/main.c

simply search for the entry "mlan" (only one hit) and rename it to "wlan". Thats all :)

Than rebuild the kernel and if no other mods breaks the mwifiex kernel module it should work on our Surface Pro.

Android-x86 kernel has addition patches that causes the WiFi Module to generate an "Autentication Error" I'm in search for that eval patch but didn't find it so far.
[Microsoft Surface] goran98:
I've installed 5.1.1, with 4.3 kernel and GApps, x86 version, and it seems to run great. Only problem I'm having is not being able to put the device to sleep. The power button just brings me to the "Power Off" screen, and turning the screen off through time-out for example makes the device reboot. Also, if I disconnect the Type Cover, I need to reboot Android for it to work again, although that's not nearly as important.

I see that great progress has been made for Remix OS, though. How do I go about installing that? I can see the .img files are provided as-is, with no installer.
[Microsoft Surface] bigr1979:
You can use the installer that comes with remix OS then the system.IMG to SD and delete system.sfs
[Microsoft Surface] MarkusP87:
After a research about Gapps and the RemixOS with working WiFi it came to the fact that it's impossible to install Gapps without root access.

You need root access, the GMSInstaller APP from XDA and the GMSInstaller APP from here.

After you've istalled and opened the Chinese app just press on the first Button (which opens a Menu with some chinese text and "Play Store" in the text) and press the right bottom Text.

Then a popup should appear, press the right text and wait for the download to finish.

After the download has finished you should get another popup, press the right text and wait for the green hook on the top, the installation should be done.

You can do the same for the second Button which will install Google Apps (like Google Search, Google Speech).

After that reboot your device, start the GMSInstaller from XDA, press remove Google Play Services and install Google Play Services.

After another reboot you should have working Gapps.

I know that's a long and by far not the simpliest way but that's how i've got it to work and never expierenced any Play Store errors.

Ii'll make a new Step by Step Guiide with Screenshots tomorrow, had no time today.

greeTz,

MarkusP
[Microsoft Surface] bigr1979:
I found that once rooted a run of the gmsinstaller app did the job. Here is an easy way to root and get the job done.....

Things you will need.

Download the Surface Pro 2 Remix OS image with wifi fix

http://xdaforums.com/showpost.php?p=65246232&postcount=307

Download RMX Tools

http://xdaforums.com/remix/remix-os/rmxtools-remix-os-data-img-t3308158

Download Notepad++

https://notepad-plus-plus.org/download/v6.8.8.html

What to do.

Run RMX Tools on Windows as administrator

Top right click "Browse" and navigate to the SPro2 Remix OS with fixed wifi image

Then click the Extract system.img button on the bottom middle. - This will now expand the image into the same folder the image was in into a "_system_" folder.

Then click the Root (system.img) button and pick the "_system_" folder that you have extracted.

Then you want to click the Repack system.img Repack button and pick the "_system_" folder again.

Once you done this there will be a repacked image file, delete your old Surface pro 2 fixed wifi image and rename the one you repacked as "system.img"

Then make a normal USB drive with Remix OS from their website and use their tool, once done delete the "system.sfs" file and paste in your newly modded "system.img" file.

http://www.jide.com/en/remixos-for-pc#downloadNow

You will be able to boot as-is but rather than a quick file not found error message popping up you can go into the efi/boot folder on the USB stick and edit the "grub.cfg" file with the Notepad++ and change the references to "system.sfs" to "system.img"

Once you have booked into Resident mode you should find the Superuser app in your apps tray... Run this and when it says it needs to be installed/updated choose the "normal" option. Once complete it will ask you to do a reboot, do the reboot.

You should then be able to run the GMSinstaller app, if you need it here is a direct link

https://www.dropbox.com/s/xig55qb7yd41iwq/GMSInstaller.apk?dl=0

Once Gapps installed, go to settings on remixos and Applications, delete data and cache from google services, google framework and the playstore.

Then do a reboot and you should be good to go.
[Microsoft Surface] Ranomez:
I already have the modified android-x86 5.1.1 from here installed on my surface and would like to switch to RemixOS but I have 3 questions:

As far as I know RemixOS should be android version 5.1.1 but is it running in x86 or x64 mode?

Does it have libhoudini setup already or at least the source parts so we would only need to copy the libhoudini and other files to the right place and set permissions and it would work?

Would I need to delete my android-x86 data to install it or I can switch without a problem?
[Microsoft Surface] bigr1979:
Hi remix OS is 64bit version. Not sure on question 2. I'd say safer bet to use fresh data.IMG I've installed to c: with android x86 installer all I found on xda,I've set mine as 16gb data
[Microsoft Surface] dimex:
Hey guys, another update on the SP2 thermals/CPU throttling. Disabling turbo boost is an option as I mentioned above, but I still found that maxing at 1.6GHz (it tends to sit there even when idling a lot of the time) still is overkill and doesn't help battery life.

I will ask Chih-Wei if he can explain to me why Android-x86 doesn't scale frequencies that well. Anyways, a lot of kernel tweaking programs don't work, but I decided to download Trickster Mod which I paid for back in the day.

Unfortunately, there aren't incremental steps to choose from between 800 MHz and 2.6 GHz, but you can lock the CPU at 800 MHz. Coupled with disabled turbo boost, this should definitely help in the battery/heat department. Performance takes a hit, but Antutu puts it in line with the Nexus 6. Unless you're gaming or doing something really intensive, even locking the CPU at minimum works fine.

Those of you on Remix OS, give it a shot as well.

---------- Post added at 11:07 AM ---------- Previous post was at 11:05 AM ----------

Make another partition and install Remix to that.
[Microsoft Surface] Ranomez:
I can just re-format my 5.1.1 partition as it's not that great, just wanted to know if it's really needed.
[Microsoft Surface] MarkusP87:
Hello,

thanks for the Reply and Informations.

Anyways, once i was using my Surface Pro and forgot to connect the Power Supply and it did go in Standby and somehow it has got out of Power.

After i've plugged the power supply in and was booting into Remix OS i was wondering why everyhting runs so damn slow, i couldn't even Browse in Chrome, it was everything slow until i saw in CPU-Z that the SP2 was running at 800 Mhz all the time.

After several reboots i couldn't fix the throttling until i forced RemixOS to Standby one time and voila, it got fixed.

What i want to say is that 800 Mhz for RemixOS is way too slow for me and how to fix this Throttling if it happens to you :)

greeTz,

MarkusP
[Microsoft Surface] Chinpokomon:
What was the fix? Do you have a way to patch the 2.0.101 release? Sorry if this has already been answered. Following BLaCk9404's guide, I seem to only be seeing limited views of threads.
[Microsoft Surface] MarkusP87:
sandman01 just used a newer Kernel with custom WiFi drivers.

If you want the newest RemixOS with fixed WiFi we have to friendly ask sandman01 to build the newest RemixOS with his Kernel.

I'm not familiar with building Android nor Custom Kernel's.

greeTz,

MarkusP
[Microsoft Surface] sandman01:
sorry I havn't played with RemixOS so far

maybe I find the time to fork the source code and compile the latest kernel with the Wifi fix for Android.

At the moment I invest more time to fix Wifi issues for my 2nd Tablet
[Microsoft Surface] sandman01:
small update

I've removed old images from my google drive due to space issues

one new lollipop-x86 image with integrated pstate mod and a few things for my 2nd tablet that do not affect the SP2

OS: Android Lollipop 5.1.1

Kernel: 4.4

GApps: Yes

Date: 2016-02-20

feel free to download and use
[Microsoft Surface] bigr1979:
Thanks for the new image. I can't get it to boot off a stick like the others, any ideas?

(not to worry anyway if it's only the pstate no turbo mod I've done that so will prob leave as is)
[Microsoft Surface] Haitham.ghoneim2:
Mario,

Can you please explain how to make a bootable usb from "lollipop_5.1.1_4.4_x86_gapps_20160220.iso" file, for me it failed to boot on my MS SP 2,

or would you provide an .img file for the new image like the previous builds?
[Microsoft Surface] sandman01:
Ok i will build an *.img to.

Chih-Wei told me to not build img files any more and switch back to iso files.

The challenge for our SP2 will be that we need to copy the boot loader from the first posts on the stick and copy only the iso contend to the stick too.

For the one that want wait, please download the zip from the 2nd post and place the boot and efi folder on the usb stick. After that you can place the files (inside the iso) to the stick in a folder called android.

Regards

Mario
[Microsoft Surface] sandman01:
also a *.img is up for you all
[Microsoft Surface] Haitham.ghoneim2:
System unexpectedly restarts at wakeup

Mario,

Thank you for your quick response. I installed the .img on my SP2 and it is working perfect except an annoying bug which is:

The device restarts when I press the power button or the windows button to wake it up from sleep,

Sorry for my bad English

Any help??
[Microsoft Surface] bigr1979:
Just an issue with lollipop on this tablet, not alot can do until a newer version is released with a fix
[Microsoft Surface] npjohnson:
What is the build target for IMG? The source code documentation only lists ISO_IMG.
[Microsoft Surface] sandman01:
You can build your images with

make -j4 efi_img

Or

make -j4 iso_img

On your SP2
[Microsoft Surface] bigr1979:


New remix beta wifi works out the box. Other things also working..

HD video

Screen rotation (needed a bit of messing to get working)

I'm using Apex launcher (remix doesn't allow 3rd party launchers but deleted some system apps and got round it)

Brightness bar works (after some build prop settings)

Once installed rooted with gapps get a build prop editor.... I changed the dpi to 208..the ro.nowallpaper to false and ro.boxmode to false. Once you have done that there are also some more options in the experimental features menu
[Microsoft Surface] sandman01:
If you want me to post your workarounds in the initial posts

please describe them in detail and send me a PM or directly post your work here and I will link them so everyone finds the infos quick.

thanks for your afford

Mario
[Microsoft Surface] yada-yada:
Touchscreen stops responding on Surface Pro 3

I've successfully installed android x86 on my Surface Pro 3, but I'm running into an issue where the touchscreen stops responding after a while and I have to do a hard reboot. The physical power, volume, and capacitive Windows buttons continue to work, but no touches are registered on the screen. This happens to me on KitKat and Lollipop builds. Is anyone else experiencing this?
[Microsoft Surface] Ranomez:
Might be just a SP3 problem with the android TS driver as it does not happen here.

This might not be the answer you want but you might want to try out RemixOS, it seems that the latest official beta has better device support than android-x86, both on the (at least my) surface and on other brands (even obscure Chinese ones), for me everything works except rotation (and here I am probably being dumb as the rotation sensor does seem to work in all the sensor reading apps I have tried but for some reason no apps can rotate, even apps made to launch in portrait mode always run in landscape, even if sometimes broken).

The only downside to it over android-x86 is that it uses a data.IMG that you will need to resize (and also need to install it on an ext3/4 or NTFS partition if you want the data file 4GB+).
[Microsoft Surface] voluptuary:
Is there a way to root this? I searched for remix OS roots but they want to replace system.img which would mess up the surface customizations right?
[Microsoft Surface] yada-yada:
I was hoping to stay on KitKat for a while because there were a few games (Chaos Rings, Chaos Rings Omega) I wanted to play that don't support Lollipop. It turns out the screen will still respond to the Surface Pen, so I can work around the issue for now.

I also found this bug mentioned on the android-x86 Google Group, so it looks like some people are aware and working on it
[Microsoft Surface] Ranomez:
Use RMXtools from here on xda to root the image yourself, you will also need to replace the initrd with this: http://xdaforums.com/showpost.php?p=65714668&postcount=198

I am using the official 64 bit beta and not the version posted here and that doesn't have specific surface customization (I think) yet everything works.

Are you sure those don't work on Lollipop cause I just installed Chaos Rings on my Note 4 on android 5.1.1 and been playing for about 2h and didn't notice anything broken? (what I mean is did you actually try it and something didn't work or did you just look at the warning on Play Store?)
[Microsoft Surface] voluptuary:
[MENTION=2621033]Ranomez[/MENTION] thanks, that helped. I went through everything and after SuperSU installed successfully and I still couldn't delete things with CMFileManager I installed Root Browser and it worked. So... It must a been a bug with the app.
[Microsoft Surface] yada-yada:
Chaos Rings hasn't worked on my OnePlus One since I upgraded to lollipop. Are you using Touchwiz? I wonder if Samsung changed something to make it compatible....

But anyway, I'll try Remix and android-x86 5.1.1 again to confirm.
[Microsoft Surface] Ranomez:
Yes, I did test it on a TW based ROM (actually Note 5 TW based) but now you got me curious, when I get home from school I will try on CM12.1 and CM13 on my Note 4 (as I have them set up in multi boot).

Also if you do test it on RemixOS before me please also post the results here, this is actually quite interesting.
[Microsoft Surface] yada-yada:
Unfortunately I couldn't get Chaos Rings to work on Remix or Android-x86 Lollipop, and I even encountered the same touchscreen bug on Remix. I guess I'll just stick with 4.4 for now.
[Microsoft Surface] light2yellow:
So, what about screen rotation on RemixOS or android-x86? One person has written it's possible, but didn't provide any instructions.
[Microsoft Surface] Ranomez:
The sensor seems to work in RemixOS (as seen in any app that can read data from that sensor) but it seems that doesn't support any other orientation than landscape actually as even apps that are made to open in portrait mode can't switch the orientation and are forced to launch in landscape mode, nor can any other (root or no-root) app designed to manually set orientation.

I can't see any build.prop line or anything like that which could point at a rotation lock thing.
[Microsoft Surface] king001001:
Did anybody here got "shareit" working properly in remix os?

I tried it but both send and recive option isn't working.am i the only one having this problem?

I also did tried it on phoenix,its working properly in it.
[Microsoft Surface] muzab a:
Any development for the latest remix os version
[Microsoft Surface] XDA-00:
Is this only for surface pro or it will work on surface rt 64GB?
[Microsoft Surface] sandman01:
This image is only for Microsoft Surface Pro 2

it i based on android-x86 and will work also on other x86 compatible architectures, but not on ARM

Microsoft Surface RT is an ARM powered unit that needs to get software to be compiled especially for it, sorry
[Microsoft Surface] youling257:
can you compile Android x86 cm13 ?
[Microsoft Surface] sandman01:
At the moment I try to get a clean build of android-x86 nougat up and running
[Microsoft Surface] youling257:
now，Android x86 nougat has more bug ，wait、wait source improved.
[Microsoft Surface] sandman01:
Hi guys

I've sorted out all the old images and build a fresh marshmallow build from sources

Also a test image of Android nougat is uploaded

As allready mentioned the nougat build is not as bug free as the marshmallow one.

a fist simple test:

WiFi is working

Audio is working

Touchscreen is working

Type cover is working

rotation is not working

Bluetooth is not working

best regards

Mario
[Microsoft Surface] youling257:
git init

git remote add maurossi https://github.com/maurossi/linux

git fetch maurossi kernel-4.8rc5

git checkout FETCH_HEAD

git remote add sound https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git

git fetch sound

git merge sound/topic/intel

then add these patch，https://github.com/plbossart/UCM/files/465241/0001-sound.zip ，https://patchwork.kernel.org/patch/9277989/ ，https://github.com/burzumishi/linux...hes/v4.8/0008-rtl8723bs_rfill_bluetooth.patch

then edit arch/x86/configs/android-x86_defconfig，F2FS_FS=y，and Android 7.0 need these config，https://sourceforge.net/p/android-x86/device_generic_common/ci/nougat-x86/tree/selinux_diffconfig

then compile vmlinuz and modules，make android-x86_defconfig ，time make -j8，time make -j8 targz-pkg -i，copy modules to /system/lib/modules，rename vmlinuz-4.8.0-rc5-android-x86+ to kernel，

BUT bootloops，this is my dmesg，did you try 4.8 kernel on Android 7.0 ?
[Microsoft Surface] kmccmk9:
Thank you for developing this, I can't wait to try it out!
[Microsoft Surface] sandman01:
its been a long time since I test the hardware as at the beginning.

feel free to give some feedback if you find issues, I will check as much as I can as soon as my next daily build is ready.
[Microsoft Surface] youling257:
can you build 7.0 with 4.8 kernel ?
[Microsoft Surface] sandman01:
Im still struggling around with marshmallow and Nougat on Standard Kernel 4.4 to geh a stabile build.

The last Werks my SP2 is always restarting so I Need to test further.

However, I will Try to make a build and Try if it starts.

I'll let you know wen its uploaded on my gdrive
[Microsoft Surface] sandman01:
hmm

Marshmallow with kernel-4.8 is booting but nougat wan't it hangs on the android loading screen :(

If someone like I can also upload the images but they are not better in any way than images with kernel-4.4 as far as I can see on a quick review.

regards

Mario
[Microsoft Surface] youling257:
As I said before ，it bootloops； now ，I test 7.0 iso with 4.8 ，still bootloops ; I really need 4.8 kernel 7.0 ；my tablet sound can work on 4.8 kernel，6.0 with 4.8 kernel，sound work fine ；I really like 7.0 freeform Windows，https://play.google.com/store/apps/details?id=you.in.spark.parallel 、https://play.google.com/store/apps/details?id=com.farmerbb.taskbar ，very well.