Bliss-x86 Install Instructions

Here is how you can start running Bliss-x86 on your PC

The Instructions
**These instructions are based on the Android-x86 project's installation guide. We have not changed the installer, so all actions still apply. Also thanks to @bg260 for his contributions, this guide was adapted partially from his work**

For Bliss-x86 6.4 USB based installs (32 & 64 bit) 
Part 1 - Gather Your Tools


** Please note that our Bliss-x86 n7.x builds do not currently support this install method for all machines **

For this method, we are going to want to download Rufus, and the 32bit .iso or 64bit .iso/.img file of Bliss-x86. And you are going to need a decent speed USB drive (4gb or larger is recommended). Once we have those tools, we can move on. 

Part 2 - Flashing Bliss-x86 to the USB drive

Plug in your USB drive, and load up Rufus. Once loaded, click on the icon next to the ISO Image dropdown menu. Now browse to where you have your Bliss-x86 (32bit) .ISO, or your Bliss-x86_64 (64bit) .ISO/.IMG file. Once chosen, the dropdown should switch to the correct image type, and fill the rest in for you. Once you are ready, click Start.

Part 3 - Testing Bliss on your system

From here, you can choose to reboot your machine, and make sure it can boot to USB from BIOS. Once that is set, reboot and choose the USB. If everything went smoothly on the install process, you should see a Grub boot screen. Select the "Live CD" option, and if your machine is compatible, you should then see a little bit of text, and then the Bliss mm6.0 bootanimation. This will go on for a few minutes, but should eventually boot to Bliss-x86. If the system never boots to Bliss-x86, this is a good sign that your system might not be able to run it. If it does boot, and you would like to install it, continue to the next step.

Part 3.5 - Using Bliss-x86 from your USB drive

If you so choose to use Bliss from the USB drive, your data will be saved in a temporary state unless you create a data.img to store the data. We can create a data.img in the root dir of the USB drive (make sure you have a minimum 4-5gb free). We suggest using a tool like one from XDA called RMXtools to create it (we suggest you use version 1.7). Check the tool's thread for how to use it, but when you figure it out, you will want to create your data.img inside the root directory of your USB drive, with all the other .img files. From there, just boot into live mode, setup your system the way you want. and the data should be persistant across a reboot now.

Part 4 - Setting up and Installing Bliss-x86 on your HDD/SSD/SDcard

***Team Bliss is not responsible for any damage, tears, lost time, broken marriages, hallucinations or anything of the sort if things go south with this install. Don't even think about blaming us. You automatically agree to these terms upon continuing the install.***

This is where things start to get a little tricky, especially with how PC's vary. Make sure you have a backup plan in case something goes wrong.

Start off by opening your favorite Partition Management software, and create a new partition, making it the size you want (suggested minimum is 8gb.). Just format it to NTFS for now, because it will be changed by the installer later anyways. Remember what drive you setup here, it's important. For Windows machines, it will typically be Sda4 or Sda5. Also create another 300mb FAT32 partition for Grub to install to. (This part might require a third-party partition manager, Windows disk manager won't let it be that small)

  • Boot up the Bliss-x86 USB, and select the Installation option from Grub. (second one down)
  • The installer will load, and you will have an option to choose which partition you created earlier. Pick it, and select Ext4. ***You don't want to get this step wrong. If you are unsure, please boot back to Windows, and write it down this time. It will be Sd** typically.***
  • When it asks if you want to install System as R/W, select YES.
  • When it asks if you want to install Grub, select Grub for Legacy BIOS boot type, Grub2 for UEFI boot type, or neither if you are already running a Linux system.
  • If you chose to install a Grub option, the installer will allow you to choose. Make sure you select the 300mb partition you setup earlier for Grub. 
  • The process will install and create the data directory/img, so go get a drink or something and come back to it.
  • When finished, the installer will then ask if you want to run Android-x86, you can just reboot here, and make sure you remove the USB drive.


If we have followed all the directions correctly, you should be presented with a Grub boot menu. You can choose your bliss_android_x86 option (or android-x86), and it will boot into Bliss-x86. If you feel the need to customize your grub boot entry, please search the web first. We use the same grub setup that Android-x86 project uses. so their forums will contain just about all the info you will need.

Easy Install For Bliss-x86 6.4/7.x UEFI/ESP (32 & 64 bit)

** This method might be the easiest currently, but there's a trick to get proper root for now. **
For the overall instructions on using this method, please refer to the tools original thread: https://forum.xda-developers.com/and...-uefi-t3222483
I have taken some time to update the tool for easy install on UEFI/ESP machines. The builds I produce can be found here: 
https://www.androidfilehost.com/?w=files&flid=140019
And the source for those builds can be found here: https://github.com/BlissRoms-x86/And...er-for-Windows
This tool should work on RemixOS as well, but I have not tested it yet (been too busy on this project)

Part 1 - Using the Installer

The installer has been updated, and it will accept the .iso files just fine now, as well as allow proper root with one simple trick. If you do not want to use root (which is needed for Substratum to work), then just install as normal.

If you do want root, go through the directions like normal, and after install is finished, browse to the AndroidOS directory it created and delete the system.sfs file. 

Part 2- Switching the UEFI/EFS boot entry

Open the EasyUEFI tool mentioned above, then switch the UEFI/EFI entry it created to boot first. Close and reboot. 

Custom Install For Bliss-x86 6.4/7.x UEFI/ESP (32 & 64 bit)

***Again, Team Bliss is not responsible for any damage, tears, lost time, alien abductions, experimental relationships or anything else if things go south with this install. Don't even think about blaming us. You automatically agree to these terms upon continuing the install.***

Part 1 - Mounting Your UEFI/ESP Partition

You will want to make sure you can view hidden and system files in Explorer options (if you need to , google it), Once you do that, hit the start menu, and type in CMD, and then right click, and open as administrator. It should look like the window image attached to this post.
Once that is open, type in:
 

Code:

mountvol X: /S

Then check to see if it is mounted already

  • Start Task Manager; a) CTRL+ALT+DEL -> Task Manager b) CTRL+Shift+ESC c) Right click the taskbar and select Task manager.
  • Click "File" tab -> "Run new task" -> "Browse" -> "This computer" -> SYSTEM (X:) or type in "x:" in the filepath bar"



If you cannot access X:, then that could mean one of three things. 1) You have an ESP setup, and just need to scroll down to the ESP System Partition setups section, or 2) You have a legacy MBR setup and just don't know it. or 3) Your setup falls within the other category. Check below for some insight, or the second post for more links to help you figure things out. 

ESP System Partition setups 

Windows 10 has EFI partition sometimes already mounted under Z: letter, but it's hidden. 

A very quick and easy way to access ESP (EFI System Partition) in Windows 10: (no command line use needed!)

  • Start Task Manager; a) CTRL+ALT+DEL -> Task Manager b) CTRL+Shift+ESC c) Right click the taskbar and select Task manager.
     
  • Click "File" tab -> "Run new task" -> "Browse" -> "This computer" -> SYSTEM (Z:) or type in "z:" in the filepath bar"
     
  • Now go to boot/grub/grub.cfg and edit it accordingly with Notepad++ or other editor
     
  • Save the file and your're ready to go



If this still doesn't work - try this:

  • Run CMD.exe as Admin <- IMPORTANT Then enter following commands:
     
  • Code:

    taskkill /im explorer.exe /f
    This will kill explorer.exe process - don't be surprised It's needed, because by default it's ran by "currently logged in user" and it has to be run as Administrator in order to view the mounted system drive. Administrator account is not the same as an account with administrative privileges.
     
  • Code:

    Code:

    mountvol X: /s
    This will mount the system partition that usually consists of uefi related files. X: is the letter of the drive - you can use whatever letter you want, but it has to be free.
     
  • Then type:

    Code:

    explorer
    This will run explorer as Administrator and will allow you to browse the mounted system partition.


The above may not work for all devices, as some handle UEFI differently.



Part 2 - Run Explorer as Admin

  • Run CMD.exe as Admin <- IMPORTANT and enter following commands:
     
  • Code:

    taskkill /im explorer.exe /f
    This will kill explorer.exe process - don't be surprised It's needed, because by default it's ran by "currently logged in user" and it has to be run as Administrator in order to view the mounted system drive. Administrator account is not the same as an account with administrative privileges.
     
  • Then type:
  • Code:

    explorer
    This will run explorer as Administrator and will allow you to browse the mounted system partition.


Part 3 - Roll Your Own UEFI Install

Let's start by downloading the needed files. Here is a customized UEFI boot for 32 & 64 bit machines. 

**NOTE: For our Bliss-x86 n7.x builds, you will have to editr the grub.cfg and remove the androidboot.hardware... command. I will update this post more in the future with more details **
If you are using Bliss-x86 n7.x, please use the grub entry below as a guide:

Code:

menuentry 'Bliss-x86' --class android {
	search --file --no-floppy --set=root /AndroidOS/system.img
	linux /AndroidOS/kernel root=/dev/ram0 androidboot.selinux=permissive sleep.earlysuspend=0 quiet DATA=/AndroidOS
	initrd /AndroidOS/initrd.img
}


Now that we have the partition mounted, we can copy that BOOT dir to your UEFI partition using Explorer as admin or using the New Task dialog from Task Manager. (look up for a refresher on both of those) Once it is coppied, go back to the admin CMD prompt and type:
 

Code:

mountvol X: /D

or if you used Z:, type:
 

Code:

mountvol Z: /D


This will dismount the UEFI/ESP volume for safe reboot. we then suggest you use EasyUEFI here to create the UEFI boot entry. Open the app, and create a new entry. Select your UEFI partition, and in the File Path, click Browse and use the file manager window to browse to your BOOT/grub/grubx64.efi file. Click OK, and then choose the new grub entry and move it to the top. Make sure secure boot is turned off or else it likely will just boot back to Windows.


Part 4 - The Manual Blissification of Your PC

To do a manual "Wubi like" install of Bliss-x86 after you install the UEFI entry, you will need to open the Bliss-x86 .iso/img with 7zip, and then open the system.sfs inside 7zip, and extract the system.img file to C:/android-x86 or whatever your target drive is. After that, extract the rest rest of the contents to the android-x86 folder. Then create your data.img, we suggest using a tool like one from XDA called RMXtools (use ver 1.7) to create it. Check the tool's thread for how to use it, but when you figure it out, you will want to create your data.img inside that android-x86 folder.

You can now reboot, if you have installed the custom UEFI entry right and selected it using EasyUEFI, you should boot right to the Android-x86 grub theme. There you can use up and down to select, and return to boot that entry. You can also hit e to edit the selected entry. You will want to pay attention to which entry you select, since there will be one for Bliss-x86(32bit) and one bor Bliss-x86_64(64bit).



Bliss-x86 6.4/7.x Custom UEFI/ESP Method Update Instructions:

To do this you will have to make some sacrifices to let this go through successfully. This will of course cause a few of your ROOT apps and tweaks that were written to system to vanish, so after we are done, you will have to reapply/reinstall those


Using the .iso/.img from the Bliss website
You need to grab the .iso/img file for the updated version of Bliss-x86, then we can upgrade manually with no issues usually, but you will have to do this from Windows (or your OS of choice). Open the Bliss-x86 .iso/img with 7zip, and then open the system.sfs inside 7zip, and extract the system.img file to C:/android-x86 or whatever your target drive is, overrighting the existing file. After that, extract the rest rest of the contents to the android-x86 folder:

  • initrd.img
     
  • ramdisk.img
     
  • kernel


I also replace the install.img and isolinux.sys files, but I don't think they are needed. I'm just lazy and drag it all over from the .zip
Once that is done, you can reboot :) 


Bliss-x86 6.4 Xposed Install Instructions (32bit & 64bit):

*** There is the potential to screw up your Bliss-x86 install by installing Xposed. Do not continue if you do not know what you are doing. Team Bliss will not be held responsible.***

Part 1 - Installing Xposed APK:
Start off from your Bliss-x86 installation by heading to this thread and downloading DVDandroid's XposedInstaller. Once you have it downloaded, install the .apk file. 

Part 2 - 32bit Xposed Install (scroll down for 64bit):
You need to grab this Xposed.zip while using the 32bit Bliss-x86 (Thanks to Martin over on the Android-x86 Google Groups for this). Once you have the download, use SolidExplorer or a simular file explorer to extract the contents to your data partition. We recommend extracting it to sdcard/xposed . Now we need to open a terminal app, and type:
 

Code:

su

Grand it permissions, and then type:
 

Code:

cd sdcard/xposed

Then type:
 

Code:

sh flash-script.sh && reboot

If everything goes smoothly, your PC should finish the install, and reboot. Choose your version of Bliss-x86 upon reboot, and wait. It might take a little longer to boot up this time. **Please note that this does not work on all machines. There are some that it will not work for. If you are using one, you will need to extract the system.img file from the iso back to the system partition or directory you have Bliss-x86 installed on**


Part 2 - 64bit Xposed Install:
You need to grab this Xposed64.zip while using the 64bit Bliss-x86 (This one comes from [url=http://forum.xda-developers.com/showpost.php?p=68080472&postcount=88]HypoTurtle over on XDA). Once you have the download, use SolidExplorer or a simular file explorer to extract the contents to your data partition. We recommend extracting it to sdcard/xposed . Now we need to open a terminal app, and type:
 

Code:

su

Grand it permissions, and then type:
 

Code:

cd sdcard/xposed64

Then type:
 

Code:

sh flash-script.sh && reboot

If everything goes smoothly, your PC should finish the install, and reboot. Choose your version of Bliss-x86 upon reboot, and wait. It might take a little longer to boot up this time. **Please note that this does not work on all machines. There are some that it will not work for. If you are using one, you will need to extract the system.img file from the iso back to the system partition or directory you have Bliss-x86 installed on**