Modify /etc/grub.d/40_custom
sudo nano /etc/grub.d/40_custom
Add these lines.
menuentry 'Bliss OS' {
set android=/bliss
#!/bin/bash | |
clear | |
set -eux | |
setup_export() { | |
export LC_ALL=C | |
export SOURCE_PATH=$PWD | |
export CLANG_PATH=$SOURCE_PATH/prebuilts-master/clang/host/linux-x86/clang-r450784d/ |
#!/usr/bin/bash | |
if [ ! "$1" ] || [ "$1" == "help" ]; then | |
if [ "$2" == "" ]; then | |
echo "Get command help: trash-cli help <put/empty/list/restore/rm>" | |
echo "help 获取帮助" | |
echo "put 把文件或目录移动到回收站" | |
echo "empty 清空回收站" | |
echo "list 列出回收站文件" | |
echo "restore 恢复回收站文件" |
Modify /etc/grub.d/40_custom
sudo nano /etc/grub.d/40_custom
Add these lines.
menuentry 'Bliss OS' {
set android=/bliss
#! /bin/bash | |
set -x | |
setup_export() { | |
export KERNEL_PATH=$PWD | |
export KERNEL_DEFCONFIG=vendor/vangogh_user_defconfig | |
export KERNEL_FILE=Image | |
export CLANG_VERSION=r416183b | |
export BUILD_EXTRA_COMMAND='LLVM=1' |
#! /bin/bash | |
set -eux | |
setup_export() { | |
export KERNEL_PATH=$PWD | |
export CLANG_PATH=~/toolchains/neutron-clang | |
export PATH=${CLANG_PATH}/bin:${PATH} | |
export CLANG_TRIPLE=aarch64-linux-gnu- | |
export ARCH=arm64 |
Extract the iso image and the contained squashfs image
$ mkdir android-image
$ bsdtar -C android-image -xf xxx.iso
$ cd android-image
$ unsquashfs system.sfs
Modify system.img size.
$ sudo e2fsck -f ./squashfs-root/system.img
@echo off | |
@rem Set variables | |
set "TMP_PATH=/data/local/tmp" | |
set "WSA_PORT=127.0.0.1:58526" | |
@rem Check whether platform-tools is exist or not | |
adb devices >nul | |
if not %errorlevel% == 0 ( | |
cls | |
echo [ERROR] It seems that adb is not exist! |
#!/system/bin/sh | |
PATH=/system/bin:/system/xbin | |
houdini_bin=0 | |
dest_dir=/system/lib$1/arm$1 | |
binfmt_misc_dir=/proc/sys/fs/binfmt_misc | |
if [ -z "$1" ]; then | |
if [ "`uname -m`" = "x86_64" ]; then |