I hereby claim:
- I am amanse on github.
- I am sanuki (https://keybase.io/sanuki) on keybase.
- I have a public key ASCcgvTZg9Ed1NBhQMn2I3tguxRDxsRlGQvYiF32zhCbqgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
A Backup of https://github.com/NotAShelf/nyx/blob/main/docs/notes/2023-03-14-impermanence.md
Today was the day I finally got to setting up both "erase your darlings" and proper disk encryption.
The end result is a /dev/sda3 that is fully encrypted that uses btrfs snapshots to restore / to its original state on each boot.
git clone https://github.com/ZirgomHaidar/hardware_oplus hardware/oplus --depth=1 | |
git clone https://github.com/ZirgomHaidar/device_oplus_sm8350-common device/oplus/sm8350-common --depth=1 | |
git clone https://github.com/ZirgomHaidar/android_device_oplus_RMX3461 device/oplus/RMX3461 --depth=1 | |
git clone https://github.com/ZirgomHaidar/android_kernel_oplus_sm8350/ -b RMX3461 --depth=1 kernel/oplus/sm8350 | |
git clone https://gitlab.com/itsxrp/proprietary_vendor_oplus --depth=1 vendor/oplus | |
git clone https://gitlab.com/itsxrp/vendor_oplus_rmx3461 --depth=1 vendor/oplus/RMX3461 |
#!/usr/bin/env bash | |
# Make directory with rom name | |
mkdir ~/$1 | |
cd ~/$1 | |
# Sync repo from sync url and branch name | |
repo init $2 --depth=1 -b $3 | |
repo sync -j$(nproc --all) |
sudo apt install bc bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5 libncurses5-dev libsdl1.2-dev libssl-dev libwxgtk3.0-gtk3-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev | |
mkdir cr | |
cd cr | |
repo init -u https://github.com/crdroidandroid/android.git -b 13.0 --depth=1 | |
repo sync -j8 | |
git clone https://github.com/pjgowtham/android_device_oplus_RMX3461 device/oplus/RMX3461 --depth=1 |
git clone https://github.com/pjgowtham/android_device_oplus_RMX3461 device/oplus/RMX3461 --depth=1 | |
git clone https://github.com/RMX3461/device_oplus_sm8350-common device/oplus/sm8350-common -b bk | |
git clone https://github.com/pjgowtham/android_kernel_oplus_sm8350 kernel/oplus/sm8350 -b RMX3461 --depth=1 | |
git clone https://github.com/pjgowtham/android_hardware_oplus hardware/oplus --depth=1 | |
git clone https://gitlab.com/itsxrp/proprietary_vendor_oplus vendor/oplus --depth=1 -b elixir | |
git clone https://gitlab.com/itsxrp/vendor_oplus_rmx3461 vendor/oplus/RMX3461 --depth=1 | |
cd - |