Skip to content

ItsPi3141-Exynos/orangefox_device_samsung_y2s

 
 

Repository files navigation

OrangeFox device tree for Samsung S20+ (y2s)

⚙️ Kernel source

Available at https://github.com/corsicanu/android_kernel_samsung_universal9830

🛠️ How to build

Prepare build environment

cd ~
sudo apt install git aria2 -y
git clone https://gitlab.com/OrangeFox/misc/scripts
cd scripts
sudo bash setup/android_build_env.sh
sudo bash setup/install_android_sdk.sh

Clone OrangeFox

mkdir ~/OrangeFox_sync
cd ~/OrangeFox_sync
git clone https://gitlab.com/OrangeFox/sync.git
cd ~/OrangeFox_sync/sync/
./orangefox_sync.sh --branch 12.1 --path ~/fox_12.1

Clone y2s device tree

cd ~/fox_12.1
git clone -b orangefox-12.1 https://github.com/ItsPi3141-Exynos/orangefox_device_samsung_y2s.git device/samsung/y2s

Setup environment variables

. build/envsetup.sh
export ALLOW_MISSING_DEPENDENCIES=true
export FOX_BUILD_DEVICE=y2s
export LC_ALL="C"

Build

. device/samsung/y2s/vendorsetup.sh
lunch twrp_y2s-eng && mka adbd recoveryimage

Note

Sometimes, you will need to clean the build tree so that certain files can be regenerated.

mka clean

🎉 Credits

This device tree was adapted from the following repositories

Thanks to these people for their amazing work

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Makefile 62.2%
  • Shell 37.8%