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
#!/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 |
@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! |
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
#! /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 |
#! /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' |
Modify /etc/grub.d/40_custom
sudo nano /etc/grub.d/40_custom
Add these lines.
menuentry 'Bliss OS' {
set android=/bliss
#!/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 恢复回收站文件" |
#!/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/ |
From 2a710a626354016cd0344b848adeedb6e31ae643 Mon Sep 17 00:00:00 2001 | |
From: Nathan Chancellor <[email protected]> | |
Date: Tue, 21 Mar 2023 15:04:24 +0800 | |
Subject: [PATCH] kallsyms: strip LTO suffixes from static functions | |
https://lore.kernel.org/all/[email protected]/#r | |
--- | |
kernel/kallsyms.c | 47 ++++++++++++++++++++++++++++++++++------------- | |
1 file changed, 34 insertions(+), 13 deletions(-) |
From 2cea5094c6104dba89e2e759b7984a65357c5d2d Mon Sep 17 00:00:00 2001 | |
From: =?UTF-8?q?=E3=82=BB=E3=83=AA=E3=82=AB=E3=83=BB=E3=82=B7=E3=83=AB?= | |
=?UTF-8?q?=E3=83=95=E3=82=A3=E3=83=AB?= | |
<[email protected]> | |
Date: Sat, 25 Mar 2023 18:13:53 +0800 | |
Subject: [PATCH] kernel: Show the real /proc/config.gz | |
MIME-Version: 1.0 | |
Content-Type: text/plain; charset=UTF-8 | |
Content-Transfer-Encoding: 8bit |