0% found this document useful (0 votes)
2K views5 pages

Grub Command Android x86

The document provides instructions for installing Android x86 OS alongside Linux by copying installation files to a new partition, installing Grub Customizer to add an entry pointing to the Android install, and editing boot options to address issues like graphics driver initialization or software rendering for compatibility. Video playback problems can be addressed by trying different boot flags to enable the proper graphics mode for hardware.

Uploaded by

RonieMadha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views5 pages

Grub Command Android x86

The document provides instructions for installing Android x86 OS alongside Linux by copying installation files to a new partition, installing Grub Customizer to add an entry pointing to the Android install, and editing boot options to address issues like graphics driver initialization or software rendering for compatibility. Video playback problems can be addressed by trying different boot flags to enable the proper graphics mode for hardware.

Uploaded by

RonieMadha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

HOW TO INSTALL ANDROID X86 OS ALONGSIDE LINUX

Step 1:
open terminal

Code:
sudo -i
mkdir /remix (your OS)
mkdir /remix/data

Step 2:
Open file manager in root
Copy the four files i.e. initrd.img, kernel, ramdisk.img, and system.sfs from ISO file to remix ((your OS) folder
The folder should be located in the root of the system

Step 3:
Install Grub Cuztomizer

Code:
sudo apt-add-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer

Step 4:
Open Grub Customizer

Create New (pencil icon), choose “others” OS type


Enter this command line:
NO CUSTOM COMMAND IN GRUB
OS (64-BIT)
1 Phoenix OS insmod part_gpt
search --file --no-floppy --set=root /phoenix/system.sfs
linux /phoenix/kernel root=/dev/ram0 androidboot.hardware=android_x86_64 SRC=/phoenix
initrd /phoenix/initrd.img

FIX
insmod part_gpt
search --file --no-floppy --set=root /phoenix/system.img
linux /phoenix/kernel root=/dev/ram0
androidboot.hardware=android_x86_64 EXTMOD=i915 video=1366x768 androidboot.selinux=permissive
initrd /phoenix/initrd.img
PrimeOS insmod part_gpt
search --file --no-floppy --set=root /prime/system.img
linux /prime/kernel root=/dev/ram0
androidboot.hardware=android_x86_64 androidboot.selinux=permissive
initrd /prime/initrd.img

insmod part_gpt
search --file --no-floppy --set=root /prime/system.sfs
linux /prime/kernel quiet root=/dev/ram0
androidboot.selinux=permissive vmalloc=192M buildvariant=userdebug SRC=/prime
initrd /prime/initrd.img
2 Remix OS insmod part_gpt
FIX search --file --no-floppy --set=root /remix/system.sfs
linux /remix/kernel root=/dev/ram0 androidboot.hardware=remix_x86_64 androidboot.selinux=permissive
CMDLINE
initrd /remix/initrd.img

ROOT/FIX REMOUNT
insmod part_gpt
search --file --no-floppy --set=root /remix/system.sfs
linux /remix/kernel root=/dev/ram0 androidboot.hardware=remix_x86 EXTMOD=i915 DPI=160
video=1366x768 androidboot.selinux=permissive CMDLINE REMOUNT_RW=1
initrd /remix/initrd.img
Bliss OS search --file --no-floppy --set=root /bliss/system.sfs
linux /bliss/kernel root=/dev/ram0 SRC=/bliss androidboot.selinux=permissive quiet DPI=160 DATA=
initrd /bliss/initrd.img

search --file --no-floppy --set=root /bliss/system.img


linux /bliss/kernel root=/dev/ram0 SRC=/bliss androidboot.selinux=permissive nomodeset DPI=160 quiet
DATA=
initrd /bliss/initrd.img

Video Playback problem


Combine and try this boot flags and see which one works for you.

1. nomodeset
2. nouveau.modeset=0
3. nouveau.modeset=1
4. video=uvesafb
5. video=simplefb
6. i915.modeset=0
7. i915.modeset=1
8. video=1366x768 (screen resolution)

catatan: 0 artinya false; 1 artinya true

How do i enter this?


# Reboot/Boot and press ESC key to go to main grub menu
# Press E
# Highlight the line that says kernel, press E.
# Enter the above flag/flags right after "androidboot.hardware=remix_x86_64" (Use the arrow keys to go left or right)
# There should be a space between each of the flags
# Optional: go to the end of the line and type DEBUG=1
# Press Enter......Press B to boot.

 One of your graphics cards is Intel


This applies only to Remix versions 3.0.205 and older.
Code:
EXTMOD=i915
This parameter enforces initiating Intel driver module first - sets Intel card as primary.
 NONE of your grapics cards is Intel:
Code:
nomodeset androidboot.swrast=1
"nomodeset" disables "the kernel mode setting" (tells
the kernel to not set the graphic resolution, let X do that instead).
androidboot.swrast=1 enforces software graphics rendering.
All graphics will be handled by the CPU - has drawbacks; lower stability and performance, but will work 99% times - 1% is when your
CPU is not supported

NOTE, HOW TO ROOT PHOENIX OS:


1. extract system.sfs
2. copy system.img instead of system.sfs
3. follow link
https://forum.xda-developers.com/phoenix-os/phoenix-os-news-qa--development/root-how-to-root-phoenix-os-replacing-t3677945

You might also like