Skip to content

Instantly share code, notes, and snippets.

View MaheshTechnicals's full-sized avatar
🎯
Focusing

Mahesh Varma MaheshTechnicals

🎯
Focusing
View GitHub Profile
. build/envsetup.sh
export USE_CCACHE=1
ccache -M 50G
@MaheshTechnicals
MaheshTechnicals / states_hash.json
Created July 25, 2022 13:05 — forked from mshafrir/states_hash.json
US states in JSON form
{
"AL": "Alabama",
"AK": "Alaska",
"AS": "American Samoa",
"AZ": "Arizona",
"AR": "Arkansas",
"CA": "California",
"CO": "Colorado",
"CT": "Connecticut",
"DE": "Delaware",

git clone https://github.com/MaheshTechnicals/device_xiaomi_oxygen-pie device/xiaomi && git clone https://github.com/MaheshTechnicals/vendor_xiaomi-new vendor/xiaomi && git clone https://github.com/Sanek-creed/kernel_msm-3.18 kernel/xiaomi/msm8953 && rm -rf hardware/qcom/display-caf/msm8996 && git clone https://github.com/Rohith-Pillalamarri/hardware_qcom_display-caf_msm8996.git -b caf-msm8996 hardware/qcom/display-caf/msm8996 && git clone https://github.com/LineageOS/android_external_ant-wireless_antradio-library -b lineage-16.0 external/ant-wireless/antradio-library/ && rm -rf vendor/qcom/opensource/data-ipa-cfg-mgr/hal && rm -rf vendor/qcom/opensource/data-ipa-cfg-mgr/ipacm/src && rm -rf vendor/qcom/opensource/data-ipa-cfg-mgr/ipanat/src

@MaheshTechnicals
MaheshTechnicals / Git cherry-pick.md
Last active December 15, 2023 04:15
Git cherry-pick.md

How To Use Git Cherry pick?

(With this cammsnd you can pick any commit from other github repository)

git remote add (name which you want) link

git fetch (mame which u used above)

git clone https://github.com/Rohith-Pillalamarri/device_xiaomi_oxygen.git -b xtended device/xiaomi/oxygen && git clone https://github.com/Rohith-Pillalamarri/device_xiaomi_msm8953-common.git -b xtended device/xiaomi/msm8953-common && git clone https://github.com/Rohith-Pillalamarri/vendor_xiaomi_oxygen.git -b oxygen vendor/xiaomi && git clone https://github.com/Rohith-Pillalamarri/kudkernel_xiaomi_msm8953.git -b oxygen kernel/xiaomi/msm8953 && rm -rf hardware/qcom/display-caf/msm8996 && git clone https://github.com/Rohith-Pillalamarri/hardware_qcom_display-caf_msm8996.git -b caf-msm8996 hardware/qcom/display-caf/msm8996 && git clone https://github.com/LineageOS/android_external_ant-wireless_antradio-library -b lineage-16.0 external/ant-wireless/antradio-library

rm -rf vendor/qcom/opensource/data-ipa-cfg-mgr/hal && rm -rf vendor/qcom/opensource/data-ipa-cfg-mgr/ipacm/src && rm -rf vendor/qcom/opensource/data-ipa-cfg-mgr/ipanat/src

@MaheshTechnicals
MaheshTechnicals / AFH.md
Last active January 22, 2020 11:16
AFH

curl --ftp-pasv -T ROMNAME.zip ftp://username:Password@uploads.androidfilehost.com/

export USE_CCACHE=1 && ccache -M 50G && export CONFIG_STATE_NOTIFIER=y && export SELINUX_IGNORE_NEVERALLOWS=true

nano +2145 frameworks/base/services/core/java/com/android/server/am/ActivityManagerService.java

git clone https://github.com/MaheshTechnicals/android_device_xiaomi_oxygen.git device/xiaomi && git clone https://github.com/MaheshTechnicals/android_vendor_oxygen.git vendor/xiaomi && git clone https://github.com/MaheshTechnicals/android_kernel_xiaomi_msm8953.git kernel/xiaomi/msm8953 && rm -rf hardware/qcom/display-caf/msm8996 && git clone https://github.com/MaheshTechnicals/hardware_qcom_display-caf_msm8996.git hardware/qcom/display-caf/msm8996 && rm -rf vendor/qcom/opensource/data-ipa-cfg-mgr/