Question Help installing WSL or WSL2 - Windows 11

Greetings:
Im a noob trying to learn Linux and I have PhoenixLiteOS installed and installing from cmd wsl --install is not avail.
I want to install Ubuntu. Can someone guide me a certain direction? Do I install WSL from MS Store? then what else?
thanks

Installing Ubuntu With a GUI + WSL2 Upgrade - Windows Subsystem For Linux + Premade Ubuntu Virtual Machines (and more!)
Hello Friends~! I decided to write out a step by step guide to install WSL - Windows Subsystem for Linux, with an Ubuntu Distro, and integrated GUI using Xserver. As well as how to update WSL to WSL2. Open Powershell as Admin, then paste: wsl...
forum.xda-developers.com
Here you go!

Open the Microsoft Store on your Windows machine.
Search for "WSL" or "Windows Subsystem for Linux" in the search bar.
Choose a Linux distribution that you want to install (e.g., Ubuntu, Debian, or Fedora). Click on it to open the distribution's page.
On the distribution's page, click the "Install" button to start the installation process. It might take a few minutes to download and install the Linux distribution.
Once the installation is complete, you can launch the Linux distribution from the Start menu or by searching for the distribution's name. The first launch may take a bit longer as it sets up the necessary files.
Follow the prompts to set up a username and password for your Linux distribution.
Congratulations! You have successfully installed WSL on your Windows machine. You can now use a Linux environment directly within Windows.

Related

Create your Linux environment to build YOUR Android

Hello all,
if you are like me, you love to do things by yourself and see how it works. In this thread I'll show you how to create your Linux environment in order to create and compile your own roms - any version (1.5, 2.3, etc etc). I had soooooo many problems to make it work, so here is THE thread
BE CAREFUL : this thread is ONLY to set up the OS. The Android you will compile will not be compatible with your x10 as it needs to be "edited" for our phones. It basically shows you how to get ready
Note : parts 1 and 2 explain how to set up Ubuntu into a virtual machine in Virtualbox. If you don't virtualize Linux, if your Ubuntu is already installed, etc etc you can directly go to 3. It's just here to explain how to install Ubuntu.
This tutorial works of course for any "hard installation" of Ubuntu (I mean not in a Virtual machine) and in any virtualizing software (Virtualbox, VMWare, etc etc). I've dropped the Virtualbox tutorial because the software is free
1. Requirements
2. Set up Ubuntu 64 bit (Virtualbox)
3. Set up Android Source dependencies
4. Set up Android Source
5. Regular use
1. Requirements
A working computer, capable of virtualization (if you don't want to wipe your Windows or your MacOS X !) and with Internet connection
Few Gb on your hard drive (10Gb minimum ! Recomended : 15-30Gb)
As much RAM as possible (Minimum 1024Mb), and as powerful CPU as possible (Core2Solo, Core2Duo, ...)
A bit a time
2. Set up Ubuntu 64 bit
Download and install the latest Oracle VM Virtualbox for Windows
Download latest 64-bit Ubuntu Linux (as .iso package) - you can store the file wherever you want.
(Optional) Download the VirtualBox v4 extension, this will allow you to support improvements like USB2.0... Install : once VirtualBox will be installed, File>Preferences>Extensions>Add... If you get an error (Error 1), try to put the file in a "very simple" location (like C:\) and reinstall.
Once you've set up Virtualbox, run it. Click on "New", then follow the wizard.
Make sure you set the following :
Operating System : Linux
Version : Ubuntu (64 bit)
RAM : 512Mb (you can adjust more, but avoid use lower than 512Mb - I use 2Gb)
Create a new hard drive : set it variable size or fixed sized, but you'll need at last 15Gb to get all the files. To feel confortable, I use 30Gb (variable)
The computer is created, now run it. It will say there's no OS. Click on Devices > CD/DVD > More CD/DVD... Here is you virtual player. Click on Add, and select the Ubuntu .ISO file you downloaded. Then, choose it in the list, and click Choose. Now, you can restart the virtual machine by clicking Machine > Restart.
The computer should restart from the virtual CD, so install it to your virtual hard drive - regular install, same as if you were installing it on a physical HDD.
Once it's installed, do not forget to kick the .iso file from the virtual player for you not to start always on the CD
3. Set up Android Source dependencies
In Ubuntu, do right-click on the upper bar (where are Applications, Shortcuts...), and click Edit Menus. Then, go to System > Administration and tick Software Sources. We need to do this because Sun is highly restrictive on access to Java setup files...
Close that, then click on System > Administration > Software Sources.
Enable all sources, then on the second tab, tick the two Canonical sources (the most important ones, as these sources allow to install Java !)
Close the window and allow to refresh the sources (if you don't, next steps won't work).
Go and read the official Android Source page. That's what we're going to do.
Run a terminal, and copy/paste this : (this is a corrected setup, it should work like a charm -- please tell if it's not)
Code:
sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl sun-java6-jdk zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev
After setup complete, make sure Java works, by typing
Code:
java
and
Code:
javac
This should return help on both commands. If one of these doesn't work (ie. "command not found"), your environment is not configured properly.
4. Set up Android Source
Create a dir called "bin" in your user dir.
Code:
cd ~
mkdir bin
echo $PATH
Then, type this :
Code:
curl http://android.git.kernel.org/repo >~/bin/repo
chmod a+x ~/bin/repo
Next step is to create a folder where we'll store Android sources we work on. You can place it and name it as you wish, let's call it "android" and place it on the user folder.
Code:
mkdir android
cd android
Then, run this command :
Code:
repo init -u git://android.git.kernel.org/platform/manifest.git
If it returns "command not found", restart Ubuntu !
Enter username and email, although I'm not sure it's useful for our use -custom roms-.
Now, let's get the files ! Type
Code:
repo sync
and wait... Wait... Wait... Lots of commands, of "Resolving deltas", "Receiving", etc etc. It can be very long (depends of your Internet speed), just wait...
Finally, let's register the public key and finalize setup process. Type
Code:
gpg --import
And the cursor will down a line and nothing will appear. Stuck ? Broken ? Woooops ? Not at all ! Program is waiting for you to type the key, which is sooooooo big. So, copy and paste all this :
Code:
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
mQGiBEnnWD4RBACt9/h4v9xnnGDou13y3dvOx6/t43LPPIxeJ8eX9WB+8LLuROSV
lFhpHawsVAcFlmi7f7jdSRF+OvtZL9ShPKdLfwBJMNkU66/TZmPewS4m782ndtw7
8tR1cXb197Ob8kOfQB3A9yk2XZ4ei4ZC3i6wVdqHLRxABdncwu5hOF9KXwCgkxMD
u4PVgChaAJzTYJ1EG+UYBIUEAJmfearb0qRAN7dEoff0FeXsEaUA6U90sEoVks0Z
wNj96SA8BL+a1OoEUUfpMhiHyLuQSftxisJxTh+2QclzDviDyaTrkANjdYY7p2cq
/HMdOY7LJlHaqtXmZxXjjtw5Uc2QG8UY8aziU3IE9nTjSwCXeJnuyvoizl9/I1S5
jU5SA/9WwIps4SC84ielIXiGWEqq6i6/sk4I9q1YemZF2XVVKnmI1F4iCMtNKsR4
MGSa1gA8s4iQbsKNWPgp7M3a51JCVCu6l/8zTpA+uUGapw4tWCp4o0dpIvDPBEa9
b/aF/ygcR8mh5hgUfpF9IpXdknOsbKCvM9lSSfRciETykZc4wrRCVGhlIEFuZHJv
aWQgT3BlbiBTb3VyY2UgUHJvamVjdCA8aW5pdGlhbC1jb250cmlidXRpb25AYW5k
cm9pZC5jb20+iGAEExECACAFAknnWD4CGwMGCwkIBwMCBBUCCAMEFgIDAQIeAQIX
gAAKCRDorT+BmrEOeNr+AJ42Xy6tEW7r3KzrJxnRX8mij9z8tgCdFfQYiHpYngkI
2t09Ed+9Bm4gmEO5Ag0ESedYRBAIAKVW1JcMBWvV/0Bo9WiByJ9WJ5swMN36/vAl
QN4mWRhfzDOk/Rosdb0csAO/l8Kz0gKQPOfObtyYjvI8JMC3rmi+LIvSUT9806Up
hisyEmmHv6U8gUb/xHLIanXGxwhYzjgeuAXVCsv+EvoPIHbY4L/KvP5x+oCJIDbk
C2b1TvVk9PryzmE4BPIQL/NtgR1oLWm/uWR9zRUFtBnE411aMAN3qnAHBBMZzKMX
LWBGWE0znfRrnczI5p49i2YZJAjyX1P2WzmScK49CV82dzLo71MnrF6fj+Udtb5+
OgTg7Cow+8PRaTkJEW5Y2JIZpnRUq0CYxAmHYX79EMKHDSThf/8AAwUIAJPWsB/M
pK+KMs/s3r6nJrnYLTfdZhtmQXimpoDMJg1zxmL8UfNUKiQZ6esoAWtDgpqt7Y7s
KZ8laHRARonte394hidZzM5nb6hQvpPjt2OlPRsyqVxw4c/KsjADtAuKW9/d8phb
N8bTyOJo856qg4oOEzKG9eeF7oaZTYBy33BTL0408sEBxiMior6b8LrZrAhkqDjA
vUXRwm/fFKgpsOysxC6xi553CxBUCH2omNV6Ka1LNMwzSp9ILz8jEGqmUtkBszwo
G1S8fXgE0Lq3cdDM/GJ4QXP/p6LiwNF99faDMTV3+2SAOGvytOX6KjKVzKOSsfJQ
hN0DlsIw8hqJc0WISQQYEQIACQUCSedYRAIbDAAKCRDorT+BmrEOeCUOAJ9qmR0l
EXzeoxcdoafxqf6gZlJZlACgkWF7wi2YLW3Oa+jv2QSTlrx4KLM=
=Wi5D
-----END PGP PUBLIC KEY BLOCK-----
Once pasted, hit CTRL+D, this will make the program to register the key, and will display the key has processed.
Everything is now done, you have all the sources and you are ready to create your own roms. You can edit files simply by double-click, or use any software you want.
If you want to compile, simply run a terminal, go to your folder (remember it is cd android (MS-DOS-like command), where android is the folder you defined above) then type
Code:
make
. After a long time (depends on how much RAM you assigned to the machine, 512Mbits is slow), you will generate IMG files.
5. Regular use
If you want to get the latest source files (ie you have 2.1 files and want 2.2.1 files), simply run a terminal, go to your working folder and type
Code:
repo sync
. This should do the trick (correct me if I'm wrong)
Compiling sources takes hours to process, and you may want to kill the compile or pause it. You can then abuse of these keyboard shortcuts (common to Ubuntu OS) :
Code:
CTRL+C
will kill the process. Use it carefully, as it instantly kills it with no prompt.
Code:
RIGHT CTRL+P
is a Virtualbox command. Il will pause the whole Ubuntu (and also your process), and makes the screen ugly/gray (it just stuck the screen on Virtualbox v4.x). This is helpful when you run a Virtual machine, as you can pause the OS and make your computer to sleep/hibernate (or save an image - do NOT turn off your computer, as it will turn off the Virtual machine also !). Out of sleep, you can type again RIGHT CTRL+P to make the process to continue.
** Please note it might be risky to flash your phone with the stock rom you compiled (I mean with no modification), as this is not intended to work on X10
** Please note this install is for AOSP and NOT for Android SDK (you can install it with ease).
What's the difference ?
Android Open Source Project (AOSP) allows you to get the source code of the Android Operating System, in order to improve/change it, and create your personalized Android operating system
Android SDK allow you only to create and edit apps for Android Operating System.
Please note that compiling takes hours to process ! (3 hours or more)
** For any question, deeper info : please FIRST read official documentation. Easy to use, you'll get all info ! **​
man...did you ever stop?!
THANKS FOR INFO. If you can explain how to make system images for our X10 then we can use the dual boot option to make gingerbread or froyo roms for dual boot using Zhidu chargemon file.
I am not clear on making and android system image for the x10. can we extract a system image from a running rom? that way I could make a system image of black freedom and we can all dualboot it instead of installing it.
rendeiro2005 said:
man...did you ever stop?!
Click to expand...
Click to collapse
Lol I can't stop
@SuperUserMovado : I'd love to know, unfortunately I am like you - I don't know how to do this. I'm gonna get several info there and there and try to do some stuff
Regarding Zd's Dual, please note it is not compatible with his xRecovery, which makes things a bit boring when you want to easily install a custom rom AND benefit of Dual Boot.
Dual boot by the way is an excellent idea, but it has limitations (of course), like no SD card mount and few other things because it run from SD card and not from NAND.
EDIT : here is a good start : http://source.android.com/porting/index.html
I have just started playing with this and have compiled one aosp rom from source. I think it can be extracted from a running rom but I'm not sure how yet. On the other hand it looks like the source is available on the se dev website. I'm having trouble downloading it... not sure yet if its on my end or theirs.
Here's the error if someone could help me out: (Ubuntu 64bit)
Archive: /tmp/X10_X10mini_X10_minipro_X8_2.0.A.0.504.tar.gz-4.zip
[/tmp/X10_X10mini_X10_minipro_X8_2.0.A.0.504.tar.gz-4.zip]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
zipinfo: cannot find zipfile directory in one of /tmp/X10_X10mini_X10_minipro_X8_2.0.A.0.504.tar.gz-4.zip or
/tmp/X10_X10mini_X10_minipro_X8_2.0.A.0.504.tar.gz-4.zip.zip, and cannot find /tmp/X10_X10mini_X10_minipro_X8_2.0.A.0.504.tar.gz-4.zip.ZIP, period.
Check this site out as well. The whole site is really helpful. I'm in the process of compiling a captivate rom with some slight changes and i hope it works.
Edit: Btw if you get the error repo not found, type this into the command line
code:
echo 'export PATH=$PATH:$HOME/bin' >> ~/.bashrc
then close the terminal, reopen another one and it should work
@superusermovado
I'm pretty sure you use unyaffs for the system.img and split_bootimg.ph for the boot.img.
That's how to decompile an update.zip.
From there you recompile as usual. I'm not going to post the instructions because they are all over the net.
Hint: Andy rubins tweet lol
gavriel18 said:
I have just started playing with this and have compiled one aosp rom from source. I think it can be extracted from a running rom but I'm not sure how yet. On the other hand it looks like the source is available on the se dev website. I'm having trouble downloading it... not sure yet if its on my end or theirs.
Here's the error if someone could help me out: (Ubuntu 64bit)
Archive: /tmp/X10_X10mini_X10_minipro_X8_2.0.A.0.504.tar.gz-4.zip
[/tmp/X10_X10mini_X10_minipro_X8_2.0.A.0.504.tar.gz-4.zip]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
zipinfo: cannot find zipfile directory in one of /tmp/X10_X10mini_X10_minipro_X8_2.0.A.0.504.tar.gz-4.zip or
/tmp/X10_X10mini_X10_minipro_X8_2.0.A.0.504.tar.gz-4.zip.zip, and cannot find /tmp/X10_X10mini_X10_minipro_X8_2.0.A.0.504.tar.gz-4.zip.ZIP, period.
Check this site out as well. The whole site is really helpful. I'm in the process of compiling a captivate rom with some slight changes and i hope it works.
Edit: Btw if you get the error repo not found, type this into the command line
code:
echo 'export PATH=$PATH:$HOME/bin' >> ~/.bashrc
then close the terminal, reopen another one and it should work
Click to expand...
Click to collapse
Thanks for info
About this package, what's the content ?? The easiest way is to download from XDA the generic global rom, it's the same -- with no bug
Perceval from Hyrule said:
Thanks for info
About this package, what's the content ?? The easiest way is to download from XDA the generic global rom, it's the same -- with no bug
Click to expand...
Click to collapse
Huh? The generic ROM is compiled. The one we are talking about here is source-code. I thought you should know since you started this topic on how to setup a build environment. Im not intirely sure what the download from from SE is but it looks like the source-code from all the changes and additions SE made to the bare system. So there's the kernel source and some other stuff that I don't know the purpose of.
Sent from my SNES using Mario Paint
LouNGeRR said:
Huh? The generic ROM is compiled. The one we are talking about here is source-code. I thought you should know since you started this topic on how to setup a build environment. Im not intirely sure what the download from from SE is but it looks like the source-code from all the changes and additions SE made to the bare system. So there's the kernel source and some other stuff that I don't know the purpose of.
Sent from my SNES using Mario Paint
Click to expand...
Click to collapse
A compiled rom is not a problem
I was asking what was the content within the rom, and as you said - i supposed too - it is the original + all SE garbage.
Very interesting to get some apps back on AOSP (some like the *Scape, i do like predictive input from SE, gains a lot of time)
To answer then, the SE kit should contain everything of what SE adds : RachaelUI, all their apps (the *Scape), modules (keyboard, apis...), etc etc and all files to link these components to the kernel. And make our phones as fast as a monster truck. Not as fast as AOSP (Formula 1 !!!!!)
Don't forget the most important part, the package contains the SE kernel.
Sent from my SNES using Mario Paint
After using, struggling more like with Ubuntu and VMware, the main issue being I couldn't figure out getting VMware tools running so copy and pasting was hit and miss, I tried the Cygwin method instead which works much better for me on Windows 7 Ultimate x64.
XperiaX10iUser said:
After using, struggling more like with Ubuntu and VMware, the main issue being I couldn't figure out getting VMware tools running so copy and pasting was hit and miss, I tried the Cygwin method instead which works much better for me on Windows 7 Ultimate x64.
Click to expand...
Click to collapse
VMWare is much more difficult to run than VirtualBox. But course you can try and compile Android from Windows
But I definitely can't tell you if the kitchen method will work for XPERIA.
Perceval from Hyrule said:
VMWare is much more difficult to run than VirtualBox. But course you can try and compile Android from Windows
Click to expand...
Click to collapse
I've put VB on too, but thought I'd try the Cygwin method, which as I've said works for me, and is better imo, at least for what I need.
Perceval from Hyrule said:
But I definitely can't tell you if the kitchen method will work for XPERIA.
Click to expand...
Click to collapse
I can, and it does.
XperiaX10iUser said:
I've put VB on too, but thought I'd try the Cygwin method, which as I've said works for me, and is better imo, at least for what I need.
I can, and it does.
Click to expand...
Click to collapse
Thanks for info then
Hey guys, did someone do the same install as me ? (Windows 7 x64 host // Ubuntu 10.10 x64 guest).
I've never been able to make USB to work, kinda weird... Because when you compile Android, you'd like to send it to your phone *warning !*
Perceval from Hyrule said:
Hey guys, did someone do the same install as me ? (Windows 7 x64 host // Ubuntu 10.10 x64 guest).
I've never been able to make USB to work, kinda weird... Because when you compile Android, you'd like to send it to your phone *warning !*
Click to expand...
Click to collapse
That's why I went the Cygwin route, much less hassle imo.
XperiaX10iUser said:
That's why I went the Cygwin route, much less hassle imo.
Click to expand...
Click to collapse
I would say it depends. Linux environment is much cooler to work with source files (no boring "NOOO Windows can't find how to open this weird non-Windows file. What to do ? 1.Delete 2.Crash Windows 3.Phone Ballmer to make a tender offer)
Is compiling long with Cyg ? From AOSP, it takes me up to 3 hours with my (well RAM-ed, well CPU-ed) Virtual Machine.

android emulator for windows7

is there an android emulatur to Windows7 as can run Android applications?
It's included in the Android SDK, based on QEMU.
I have downloaded the windows version here: http://developer.android.com/sdk/index.html, and installed it, but how did I start the emulator, sow I can install my Android applications ?
http://gupl.dk/64386/
Virtual Devices seems like a very obvious hint, doesn't it
I can not figure out what to do about this error, can not understand what is meant by "Hint: use '@ foo' to launch a virtual device named 'foo'."
I have set up a virtual drive - see attached picture.
invalid command-line parameter: Files\Android\android-sdk\tools/emulator-arm.exe.
Hint: use '@foo' to launch a virtual device named 'foo'.
http://gupl.dk/64502/
http://gupl.dk/64503/
http://gupl.dk/64504/
You installed in Program Files and the android tools don't like spaces in their path.

How to install Remix OS in VirtualBox (or to harddisk)

Advantages of a "real" installation:
- the amount of storage is only limited by the size of your harddisk
- installation files and methods work for both harddisk and virtual machines (VirtualBox or VMWare)
If you prefer an installation without additional tools like Ubuntu or Unetbootin, have a look at "Installing Remix OS to Hard Drive or Virtual Machine without additional tools" (image based documentation).
Thread "Remix OS on Hard Drive or Virtual Machine - Installation and (OTA) Update" is a new and more comprehensive version of this thread including update of existing installations on hard disk or virtual machine. The current versions are 2.0.403 (2016-07-12) "Lillipop" which you can get from Fosshub and 3.0.102 "Marshmallow" which can be downloaded directly from Jide.
Otherwise if you are familiar with Ubuntu and Linux tools the following documentation is still interesting, because it allows you creating of modified boot media, different methods of disk formatting, and setting up virtual machines based on a prepared vmdk file.
Step 1: Create an iso file allowing real installation of the Android system into an ext4 partition
- you have to mount the original Remix OS iso file to your file system (read only):
create an empty directory "remix", open a terminal and execute:
sudo mount -o loop Remix_OS_for_PC_64_B2016030106.iso ~/remix/
or - in case of 32-bit version -: sudo mount -o loop "Remix OS for PC Beta 32-bit.iso" ~/remix/
- create a new copy of all contents of directory remix within a new directory named remixos
- open file isolinux.cfg with superuser rights (in directory isolinux) and replace section "label guestmode" with
label installmode
menu label ^Install Remix OS to hard drive
kernel /kernel
append initrd=/initrd.img root=/dev/ram0 androidboot.hardware=remix_x86_64 androidboot.selinux=permissive quiet INSTALL=1 DEBUG=
(in case of the 32-bit version the 3rd line contains . . . androidboot.hardware=remix_x86 . . . )
- create a new iso file (named remix.iso) using command
genisoimage -r -V "Remix OS 2.0" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o remix.iso ~/remixos/
- use UNetbootin based on new file remix.iso for creating a modified USB device (which will allow real installation to harddisk)
Step 2: Formatting the disk (ext4 and swap partition)
- Harddisk: Use gparted for creation of an ext4 and a swap partition on a new (empty) disk
- VirtualBox:
Create a new virtual machine called "Remix OS": Linux Ubuntu (64-bit or 32-bit), 20GB disk dynamic, bridged network
Start an Ubuntu installation creating an ext4 and a swap partition. Stop installation (by shutting down VirtualBox) after it has asked for the correct time zone.
Step 3: Installation of Remix OS
- Harddisk: Connect the USB device to your computer
- VirtualBox: Connect the remix.iso with VirtualBox IDE controller and restart the virtual machine.
Choose "Install Remix OS to hard drive"
Choose partition sda1 (ext4)
Do not format the disk
Create grub boot loader
Install system directory as read/write
In the next step the installation will be executed creating the linux system directory
Step 4: Setup Remix OS
Run Android-x86 - this will perform the creation of the Android data directory
If you prefer to use a prepared vmdk file your can go on at
- VMWare: http://forum.xda-developers.com/showpost.php?p=65013881&postcount=8
- VirtualBox: http://forum.xda-developers.com/showpost.php?p=65013915&postcount=9
Otherwise: After a few minutes you'll see "Select your language". Select your keyboard layout (e.g. German) first, then select your language.
After clicking "Next" (harddisk: entering your wi-fi data) and "Start" Remix OS will run.
Step 5 (Remix OS beta): Enable Google Play Services - see post http://forum.xda-developers.com/remix/remix-os/google-play-services-actually-remix-t3327735 - Thank you, You_KS
In version 2.0.403 you have to switch on "Enable debug terminal console" (Settings > Experimental features) in advance.
Enter the root terminal (Alt+F1) and type
pm disable com.jide.apppolicy
pm enable com.android.vending
pm enable com.google.android.gms
pm enable com.google.android.gsf
pm enable com.google.android.gsf.login
Leave the root terminal (Alt+F7)
Reboot
Step 6: Open Google Play Store
You will be asked for your Google account and password, you'll have to accept "terms of service", "privacy policy" and "billing information".
Step 7: Rooting Remix OS (installed within a Linux ext4 file system)
see link http://forum.xda-developers.com/showpost.php?p=65218188&postcount=44
I've just tried but running Android-x86 always seems to stop the machine. I did a few changes on the process but nothing really important (I used a web server to download the custom .iso file in my computer from the VM and used it without any USB, and I used an Ubuntu to make the partitions on the disk (about 23GB of storage, 2GB of swap))
I'm using VMWare Workstation 10.0.1 build-1379776
Maybe I just have to wait a bit more while running Android-x86? I took a snapshot before restarting the machine (Grub sure works, but as soon as I run "Install Remix OS to hard drive" it frozes again ("Detecting Android-x86... found at /dev/sda1") showing the same message: " A N D R O I D _ ")
Shadows_killer said:
I've just tried but running Android-x86 always seems to stop the machine. I did a few changes on the process but nothing really important (I used a web server to download the custom .iso file in my computer from the VM and used it without any USB, and I used an Ubuntu to make the partitions on the disk (about 23GB of storage, 2GB of swap))
I'm using VMWare Workstation 10.0.1 build-1379776
Maybe I just have to wait a bit more while running Android-x86? I took a snapshot before restarting the machine (Grub sure works, but as soon as I run "Install Remix OS to hard drive" it frozes again ("Detecting Android-x86... found at /dev/sda1") showing the same message: " A N D R O I D _ ")
Click to expand...
Click to collapse
I cannot help you with VMWare Workstation. Please check whether you can setup Remix OS using VirtualBox.
Can you please just upload a VMDK so that we can download and use it preconfigured?
+1, would be much appreciated.
evbenev said:
Can you please just upload a VMDK so that we can download and use it preconfigured?
Click to expand...
Click to collapse
or for VB
remixtester said:
I cannot help you with VMWare Workstation. Please check whether you can setup Remix OS using VirtualBox.
Click to expand...
Click to collapse
Ok, I'll try it with Virtualbox later today, and I'll keep trying it on VMWare too, I'd like to see Remix OS running on every different VMs I can. Btw, congratulations for the post!
Execute RemixOS.vmdk with VMWare
Download RemixOS64.vmdk.zip - Link (provided by madLyfe - thank you!) https://mega.nz/#!hpBwgAKC!qC7_CIdlriBgtwJsdGPannrshvrYFr0RsOZHSMEILrY which contains "Remix OS.vmdk" (beta version)
The version of the vmdk file is 2.0.102. How to update to version 2.0.202 (and newer versions) is documented in thread "Remix OS on Hard Drive or Virtual Machine - Installation and (OTA) Update".
The update method described in Update for Remix OS 2.0.102 installations will work for VMWare as well.
Open VMWare Workstation
- Start with "Create a New Virtual Machine"
- Custom
- Workstation 12.0 (e.g)
- "I will install the operating system later"
- Guest Operating System: 2. Linux - Version: Ubuntu 64-bit
- Virtual Machine Name: "Remix OS" (e.g.)
- Processors: 1 / 1 / 1
- Memory: 1372 MB (1024 MB should be ok, too)
- Use bridged networking
- I/O Controller Types: "LSI Logic" (Recommended)
- Virtual Disk Type: SATA (SCSI will not work!)
- Use an existing virtual disk - select the path to Remix OS.vmdk
- Convert existing virtual disk to newer format? - Keep existing format
- Finish
Start up the Remix OS operating system
A few minutes later (1 . . . 5 minutes) you should see the screen "Select your language"
Select your keyboard layout and click "Next", "Next", "Start"
Remix OS should run now
Installation of Google Play Store - method: see http://forum.xda-developers.com/remix/remix-os/google-play-services-actually-remix-t3327735
Enter the root terminal (Alt+F1) and type
pm disable com.jide.apppolicy
pm enable com.android.vending
pm enable com.google.android.gms
pm enable com.google.android.gsf
pm enable com.google.android.gsf.login
Leave the root terminal (Alt+F7)
Open Settings - Applications
Scroll down to "Google Play services", click "Manage space", and "Clear all data"
Click "Google Services Framework", and click "Clear data"
Restart Remix OS
Open the browser
Start a Google Search for "google play services"
Click "Google Play Services"
Sign on with your Google account and answer a few questions
Finally you can "Update" the "Google Play Services"
If this update works fine, your Google Play Store will be installed properly.
Execute Remix OS.vmdk with VirtualBox
Download RemixOS64.vmdk.zip - Link (provided by madLyfe - thank you!) https://mega.nz/#!hpBwgAKC!qC7_CIdlriBgtwJsdGPannrshvrYFr0RsOZHSMEILrY which contains "Remix OS.vmdk" (beta version)
If you want to work with a vdi file, please go to the directory where you have saved the vmdk file and convert it with command
vboxmanage clonehd "Remix OS.vmdk" RemixOS.vdi --format VDI
The version of the vmdk file is 2.0.102. How to update to version 2.0.202 (and newer versions) is documented in thread "Remix OS on Hard Drive or Virtual Machine - Installation and (OTA) Update".
Open VirtualBox
- Start with "New"
- Name and Operating System: "Remix OS", "Linux", "Ubuntu (64-bit)"
- Memory: 1372 MB (1024 MB should be ok, too)
- Disk: Use existing virtual disk (enter path to Remix OS.vmdk)
- Display: 3D acceleration
- Network: bridged
Start up the Remix OS operating system
A few minutes later (1 . . . 5 minutes) you should see the screen "Select your language"
Select your keyboard layout and click "Next", "Next", "Start"
Remix OS should run now
Installation of Google Play Store - method: see http://forum.xda-developers.com/remix/remix-os/google-play-services-actually-remix-t3327735
Enter the root terminal (Alt+F1) and type
pm disable com.jide.apppolicy
pm enable com.android.vending
pm enable com.google.android.gms
pm enable com.google.android.gsf
pm enable com.google.android.gsf.login
Leave the root terminal (Alt+F7)
Open Settings - Applications
Scroll down to "Google Play services", click "Manage space", and "Clear all data"
Click "Google Services Framework", and click "Clear data"
Restart Remix OS
Open the browser
Start a Google Search for "google play services"
Click "Google Play Services"
Sign on with your Google account and answer a few questions
Finally you can "Update" the "Google Play Services"
If this update works fine, your Google Play Store will be installed properly.
evbenev said:
Can you please just upload a VMDK so that we can download and use it preconfigured?
Click to expand...
Click to collapse
Opening http://forum.xda-developers.com/showpost.php?p=65013881&postcount=8 you'll find a vmdk file which you can use both for VMWare and VirtualBox. The vmdk file is not personalized. So you can select your preferred keyboard layout.
madLyfe said:
or for VB
Click to expand...
Click to collapse
Opening http://forum.xda-developers.com/showpost.php?p=65013915&postcount=9 you'll find a vmdk file which you can use both for VMWare and VirtualBox. The vmdk file is not personalized. So you can select your preferred keyboard layout.
Shadows_killer said:
I've just tried but running Android-x86 always seems to stop the machine. I did a few changes on the process but nothing really important (I used a web server to download the custom .iso file in my computer from the VM and used it without any USB, and I used an Ubuntu to make the partitions on the disk (about 23GB of storage, 2GB of swap))
I'm using VMWare Workstation 10.0.1 build-1379776
Maybe I just have to wait a bit more while running Android-x86? I took a snapshot before restarting the machine (Grub sure works, but as soon as I run "Install Remix OS to hard drive" it frozes again ("Detecting Android-x86... found at /dev/sda1") showing the same message: " A N D R O I D _ ")
Click to expand...
Click to collapse
Opening http://forum.xda-developers.com/showpost.php?p=65013881&postcount=8 you'll find a vmdk file which you can use both for VMWare and VirtualBox. The vmdk file is not personalized. So you can select your preferred keyboard layout.
Will you be posting modified alterations for efi installs? Great guide.
rebel1699 said:
Will you be posting modified alterations for efi installs? Great guide.
Click to expand...
Click to collapse
No, I am not planning that because I do not own computers with efi boot.
By the way, your dropbox account is blocked due to high traffic.
Nightshadow931 said:
By the way, your dropbox account is blocked due to high traffic.
Click to expand...
Click to collapse
here is a mega link to the file he uploaded. if he provides the hash for it you can see that it hasnt been altered.
https://mega.nz/#!5pYCALwT!HknLNDJWqRJwuBIspa14AjfGEVYJlFpy7aMUudolSsw
Thank you, got it set up in VM Fusion on my MacBook using your vmdk and instructions.
Working fine with a couple of exceptions. Firstly, it's stuck at a small 4:3 res which only zooms when changing the size of the window?
Secondly, some apps ask for a wifi connection despite everything else working with the outside world. Prime example is the Sky+ app which downloads all the schedules and can set recordings across the net with no problem but if you try to access the Sky box on my network it says it has no wifi network found?
Hi guys,
I made a quick video on how to install on VMWare is anyone is interested.
https://www.youtube.com/watch?v=BT4RcwX2ruM
avotechlife said:
Hi guys,
I made a quick video on how to install on VMWare is anyone is interested.
https://www.youtube.com/watch?v=BT4RcwX2ruM
Click to expand...
Click to collapse
That only gets you guest mode which is where we were all getting stuck before remixtester sussed it.
I just need to sort the resolution as all the changes I've been making to menu.lst end up with it back in guest mode again.
I'm a complete linux noob trying my damnedest to create that installation ISO. I keep getting errors when trying to complete the commands though and generally it's telling me that the mount point doesn't exist or the directory is invalid.
I know it's my own ineptitude with Linux that's the problem but can anyone more savvy than myself create and upload this image for me? I'll be glad to host it for everyone else to download as well if anyone wants it.

[TOOL] OSConnect ~ Run Arch and Ubuntu alongside eachother

Hey XDA!
For those of us that use Arch linux, compiling Android projects can be a little more challenging than on Ubuntu due to the fact the Arch is a rolling release distro. To solve this, I made a tool that allows YOU to choose whether you want to run Arch or Ubuntu in the command line without dual booting. This isn't anything new, just a simplified implementation of an existing method.
What it does:
When you open a terminal, you will be prompted with "Would you like to connect to Arch linux or Ubuntu?". You can enter A for Arch or U for Ubuntu. If you choose Arch, you will be put into your stock environment, but your bash prompt will look like
Code:
[[COLOR="red"]user[/COLOR]@[COLOR="cyan"]Arch[/COLOR] ~]:
If you choose Ubuntu, you will be entered into your Ubuntu chroot, and your bash prompt will look like
Code:
[[COLOR="red"]user[/COLOR]@[COLOR="magenta"]Ubuntu[/COLOR] ~]:
DISCLAIMER
Because Arch linux is aimed at enthusiast and experienced linux users, replies about simple or lack-of-experience issues will not be given priority. Use the following with caution.
How to setup an Ubuntu chroot:
1. Install schroot and debootstrap
2. Follow the steps given here https://bbs.archlinux.org/viewtopic.php?id=100039, or run create-chroot.sh in the OSConnect git repo.
How to install OSConnect:
1. Clone https://github.com/frap129/OSConnect
2. Run the given install.sh
3. If you use terminal mostly locally, respond "Local" to the prompt. If you mostly connect via ssh, respond "SSH" to the prompt.
4. If you connect via SSH, connect as root from now on, not your user. OSConnect will switch to your user for you.
Done! Restart to use.
XDA:DevDB Information
OSConnect, Tool/Utility for the Chef Central
Contributors
frap129
Source Code: https://github.com/frap129/OSConnect
Version Information
Status: Stable
Created 2016-05-15
Last Updated 2016-05-15
How it works:
Ubuntu chroot:
This work by downloading the Ubuntu system files to /var/chroot/ubuntu. The schroot tool then executes bash from ubuntu, and tricks the system into believing that /var/chroot/ubuntu is actually the system root directory.
OSConnect:
OSConnect is contained in its own file, .osconnectrc. This file is executed when shell is reached via your .bashrc. The .osconnectrc is a bash script that asks what operating system you would like to use, then either dumps you into normal shell, or starts the Ubuntu chroot. It also modifies the PS1 (bash prompt) to look cleaner and better distinguish between Arch and Ubuntu.
What is the difference between local and ssh?
The only difference between the local and ssh versions is whether or not youre prompted for your password (when chroot is started) because schroot must be run as root. On the local version, you are simply prompted for your password when necessary. On the ssh version, you are expected to connect as root, and therefore will not be prompted for your password.
HALP I CANT LOG IN AS ROOT
If you are having trouble connecting via SSH as root, follow https://askubuntu.com/questions/511833/cant-ssh-in-as-root
Resource wise is this lighter than running ubuntu as a docker image?
HaoZeke said:
Resource wise is this lighter than running ubuntu as a docker image?
Click to expand...
Click to collapse
I'm way to late for this to matter, but yes, its much lighter than running at as a docker image
frap129 said:
I'm way to late for this to matter, but yes, its much lighter than running at as a docker image
Click to expand...
Click to collapse
Better late than never! ? neat stuff ?

adb.exe v1.0.40

Ubuntu 20.04 sees phone with Linux adb v28 using 'adb devices'.
I've installed the usb driver for my Blackview A80 phone in VirtualBox Windows 10 VM. However, VirtualBox Windows 10 VM fails to see my phone with adb (v1.0.32 & 1.0.39). I'd like to download adb.exe v1.0.40 (as that's the requirement to run B4A Windows app under Wine in Ubuntu.). But I can't find that version anywhere. Has anyone got adb.exe v1.0.40?
I've followed the instructions on
http://adbcommand.com/articles/How to build adb(1.0.40) for windows on Ubuntu but I get 'fatal: cannot make .repo directory: Permission denied' on the step
repo init -u https://android.googlesource.com/platform/manifest. I know nothing about repo. Anybody have any ideas about this repo problem?
johnaaronrose1 said:
Ubuntu 20.04 sees phone with Linux adb v28 using 'adb devices'.
I've installed the usb driver for my Blackview A80 phone in VirtualBox Windows 10 VM. However, VirtualBox Windows 10 VM fails to see my phone with adb (v1.0.32 & 1.0.39). I'd like to download adb.exe v1.0.40 (as that's the requirement to run B4A Windows app under Wine in Ubuntu.). But I can't find that version anywhere. Has anyone got adb.exe v1.0.40?
I've followed the instructions on
http://adbcommand.com/articles/How to build adb(1.0.40) for windows on Ubuntu but I get 'fatal: cannot make .repo directory: Permission denied' on the step
repo init -u https://android.googlesource.com/platform/manifest. I know nothing about repo. Anybody have any ideas about this repo problem?
Click to expand...
Click to collapse
have you tried using chocolatey on the windows VM, to see if their adb source works for you?
you would need chocolately preinstalled, this thread would explain better.
How To Use Chocolatey
========================= ============================================ HOW TO USE CHOCOLATEY ============== ============= Hi Friends~! This amazing package manager changed my Windoz life
forum.xda-developers.com
after you have chocolatey installed, you would run this command:
choco install adb
essentially, it will dl the latest adb, and wrap all it's variables with the correct permissions, even in a vm. I'm not sure if this will help you, but just wanted to put it out there~!
Have a good day~!
jenneh said:
have you tried using chocolatey on the windows VM, to see if their adb source works for you?
you would need chocolately preinstalled, this thread would explain better.
How To Use Chocolatey
========================= ============================================ HOW TO USE CHOCOLATEY ============== ============= Hi Friends~! This amazing package manager changed my Windoz life
forum.xda-developers.com
after you have chocolatey installed, you would run this command:
choco install adb
essentially, it will dl the latest adb, and wrap all it's variables with the correct permissions, even in a vm. I'm not sure if this will help you, but just wanted to put it out there~!
Have a good day~!
Click to expand...
Click to collapse
The specified link does not AFAIK give instructions on how to install chocolately.
Oh It Does~! As well As a VM demonstration on how to install on an unlisted YT vid. But Okay~! Just trying to help ;-)
The link you supplied with its links to "How to install chocolately" sends me to an advertising site.
johnaaronrose1 said:
Ubuntu 20.04 sees phone with Linux adb v28 using 'adb devices'.
I've installed the usb driver for my Blackview A80 phone in VirtualBox Windows 10 VM. However, VirtualBox Windows 10 VM fails to see my phone with adb (v1.0.32 & 1.0.39). I'd like to download adb.exe v1.0.40 (as that's the requirement to run B4A Windows app under Wine in Ubuntu.). But I can't find that version anywhere. Has anyone got adb.exe v1.0.40?
I've followed the instructions on
http://adbcommand.com/articles/How to build adb(1.0.40) for windows on Ubuntu but I get 'fatal: cannot make .repo directory: Permission denied' on the step
repo init -u https://android.googlesource.com/platform/manifest. I know nothing about repo. Anybody have any ideas about this repo problem?
Click to expand...
Click to collapse
Would this help?
Android SDK Platform Tools for Windows
Android Debug Bridge version 1.0.26 platform-tools_r03-windows.zip (2011-02-23) platform-tools_r04-windows.zip (2011-05-10) platform-to...
cxzstuff.blogspot.com

Categories

Resources