Build By : Omkar Parte ( RAKMOSOLUTIONS )
git clone https://github.com/Realme-GT-2-PRO/device_realme_ferrarri.git -b blaze device/realme/ferrarri
git clone https://github.com/Realme-GT-2-PRO/device_oneplus_sm8450-common.git -b blaze device/oneplus/sm8450-common
git clone https://gitlab.com/ram-unlok/proprietary_vendor_realme_ferrarri.git -b rebase vendor/realme/ferrarri
git clone https://gitlab.com/ram-unlok/proprietary_vendor_oneplus_sm8450-common.git -b rebase vendor/oneplus/sm8450-common
git clone https://github.com/Realme-GT-2-PRO/android_hardware_oplus.git -b TEST hardware/oplus
git clone https://github.com/pjgowtham/android_kernel_oneplus_sm8450.git kernel/oneplus/sm8450
git clone https://github.com/Machad3x/android_kernel_oneplus_sm8450.git -b test kernel/oneplus/sm8450
git clone https://github.com/Realme-GT-2-PRO/android_kernel_oneplus_sm8450.git kernel/oneplus/sm8450
git clone https://github.com/pjgowtham/android_kernel_oneplus_sm8450-modules.git kernel/oneplus/sm8450-modules
git clone https://github.com/Machad3x/android_kernel_oneplus_sm8450-modules.git -b test kernel/oneplus/sm8450-modules
git clone https://github.com/Realme-GT-2-PRO/android_kernel_oneplus_sm8450-modules.git -b Rebase kernel/oneplus/sm8450-modules
git clone https://github.com/pjgowtham/android_kernel_oneplus_sm8450-devicetrees.git kernel/oneplus/sm8450-devicetrees
git clone https://github.com/Machad3x/android_kernel_oneplus_sm8450-devicetrees.git -b test kernel/oneplus/sm8450-devicetrees
git clone https://github.com/Realme-GT-2-PRO/android_kernel_oneplus_sm8450-devicetrees.git kernel/oneplus/sm8450-devicetrees
git clone https://gitlab.com/ram-unlok/proprietary_vendor_oplus_camera.git vendor/oplus/camera
git clone --depth=1 https://github.com/Realme-GT-2-PRO/device_realme_ferrarri.git device/realme/ferrarri
git clone --depth=1 https://github.com/Realme-GT-2-PRO/device_oneplus_sm8450-common.git device/oneplus/sm8450-common
git clone --depth=1 https://gitlab.com/ram-unlok/proprietary_vendor_realme_ferrarri.git vendor/realme/ferrarri
git clone --depth=1 https://gitlab.com/ram-unlok/proprietary_vendor_oneplus_sm8450-common.git vendor/oneplus/sm8450-common
git clone --depth=1 https://github.com/Realme-GT-2-PRO/android_hardware_oplus.git -b A14 hardware/oplus
git clone --depth=1 https://github.com/pjgowtham/android_kernel_oneplus_sm8450.git kernel/oneplus/sm8450
git clone --depth=1 https://github.com/Machad3x/android_kernel_oneplus_sm8450.git kernel/oneplus/sm8450
git clone --depth=1 https://github.com/pjgowtham/android_kernel_oneplus_sm8450-modules.git kernel/oneplus/sm8450-modules
git clone --depth=1 https://github.com/Machad3x/android_kernel_oneplus_sm8450-modules.git kernel/oneplus/sm8450-modules
git clone --depth=1 https://github.com/pjgowtham/android_kernel_oneplus_sm8450-devicetrees.git kernel/oneplus/sm8450-devicetrees
git clone --depth=1 https://github.com/Machad3x/android_kernel_oneplus_sm8450-devicetrees.git kernel/oneplus/sm8450-devicetrees
git clone --depth=1 https://gitlab.com/ram-unlok/proprietary_vendor_oplus_camera.git vendor/oplus/camera
- To Update trees which were cloned with depth=1 use below
git pull -f --depth=1 --rebase
git lfs fetch --all
- Build BCR (add this to your blaze_device.mk)
- Thanks to chenxiaolong
git clone https://gitlab.com/ram-unlok/bcr.git vendor/bcr
$(call inherit-product, vendor/bcr/bcr.mk)
- Build VIPERFX RE
- Thanks to TogoFire
git clone --depth 1 https://github.com/TogoFire/packages_apps_ViPER4AndroidFX.git packages/apps/ViPER4AndroidFX
$(call inherit-product, packages/apps/ViPER4AndroidFX/config.mk)
- Change Build Time and Date to Indian time
- Replace
date -u
invendor/blaze/config/version.mk
with
TZ=IST-5:30 date
- Basic Commands for start building
Build using less space and network bandwidth
repo init --depth=1 -u https://github.com/RAM-UNLOK/blaze-manifest.git -b 14
repo sync -c -j$(nproc --all) --force-sync --optimized-fetch --no-tags --no-clone-bundle --prune && repo forall -c git lfs pull
. build/envsetup.sh
lunch blaze_$device-userdebug
make bacon
- Lets Extract Dump from OTA
git clone https://github.com/RAM-UNLOK/dumpyara.git
cd dumpyara
bash setup.sh
bash dumpyara.sh /otazippathname.zip
git clone https://github.com/LineageOS/android_tools_extract-utils -b lineage-21.0 android/tools/extract-utils
git clone https://github.com/LineageOS/android_prebuilts_extract-tools -b lineage-21.0 android/prebuilts/extract-tools
- Lets extract Images from OTA zip files
-
Extract the OTA zip or 7z file
-
Download and extract payload-dumper-go
-
Drag and drop payload.bin on payload-dumper-go executable
- move to you device tree where extract-files.sh is located
bash extract-files.sh /otadumppath/
- ( usually home/username/dumpyara/working/otazippathname/ )
python3 reorder-libs.py
- (rearanges files in proprietary-files)
sort proprietary-files.txt | uniq -cd | sort -nr
- (Finds Duplicate in proprietary-files.txt)
grep -r filename
- (Do to the dir where you want to search for and then use the above command)
Download Fix from Dexer125/SELinux-Denials-Tool or DarkJoker360/selinux-denial-fixer
java -jar SELinuxDenialsTool.jar
python3 denials.py
grep -rli 'EXPORT_SYMBOL' | xargs sed -i 's/EXPORT_SYMBOL(/EXPORT_SYMBOL_GPL(/g'