Skip to content

Instantly share code, notes, and snippets.

View Amanse's full-sized avatar

Aman Setia Amanse

View GitHub Profile

Keybase proof

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:

@Amanse
Amanse / impermanence.md
Last active February 14, 2024 14:40
Impermanence nix
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
@Amanse
Amanse / sync.sh
Last active January 7, 2023 13:29
#!/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
@Amanse
Amanse / device.sh
Last active January 6, 2023 12:56
Clone needed device trees
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 -