This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo mount /dev/nvme1n1p3 /boot/efi | |
| yay -S shim-signed sbsigntools | |
| sudo mv /boot/efi/EFI/BOOT/BOOTx64.EFI /boot/efi/EFI/BOOT/grubx64.efi | |
| sudo cp /usr/share/shim-signed/shimx64.efi /boot/efi/EFI/BOOT/BOOTx64.EFI | |
| sudo cp /usr/share/shim-signed/mmx64.efi /boot/efi/EFI/BOOT/ | |
| sudo efibootmgr --verbose --disk /dev/nvme1n1 --part 2 --create --label "Shim" --loader /EFI/BOOT/BOOTx64.EFI | |
| openssl req -newkey rsa:4096 -nodes -keyout MOK.key -new -x509 -sha256 -days 3650 -subj "/CN=my Machine Owner Key/" -out MOK.crt | |
| openssl x509 -outform DER -in MOK.crt -out MOK.cer | |
| sudo sbsign --key MOK.key --cert MOK.crt --output /boot/efi/EFI/BOOT/grubx64.efi /boot/efi/EFI/BOOT/grubx64.efi | |
| sudo sbsign --key MOK.key --cert MOK.crt --output /boot/vmlinuz-linux-holoiso /boot/vmlinuz-linux-holoiso |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Folder PATH listing for volume 32 GB | |
| Volume serial number is 5481-4386 | |
| I:. | |
| ├───BOOT | |
| │ BOOTx64.efi | |
| │ .contentFlavour | |
| │ | |
| └───OC | |
| │ .contentFlavour | |
| │ OpenCore.efi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo systemctl disable sendmail | |
| sudo apt purge snapd | |
| sudo apt autoremove | |
| sudo systemctl disable NetworkManager-wait-online.service |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git fetch google/common android-4.14-stable | |
| git fmt-merge-msg -F .git/FETCH_HEAD --log=9999 > ../log.txt | |
| git merge FETCH_HEAD -F ~/merge.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- a/smali/com/qualcomm/qti/internal/telephony/WifiManagerCompatible.smali | |
| +++ b/smali/com/qualcomm/qti/internal/telephony/WifiManagerCompatible.smali | |
| @@ -17,7 +17,7 @@ | |
| .locals 1 | |
| .line 15 | |
| - sget-boolean v0, Lmiui/os/Build;->IS_GLOBAL_BUILD:Z | |
| + const v0, 1 | |
| return v0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ 45% 113/250] including hardware/qcom-caf/sm8150/Android.mk ... | |
| hardware/qcom-caf/sm8150/audio/hal/Android.mk: warning: audio.primary.sm6150: LOCAL_COPY_HEADERS is deprecated. See https://android.googlesource.com/platform/build/+/master/Changes.md#copy_headers | |
| hardware/qcom-caf/sm8150/display/include/Android.mk:18: warning: BUILD_COPY_HEADERS has been deprecated. See https://android.googlesource.com/platform/build/+/master/Changes.md#copy_headers. | |
| hardware/qcom-caf/sm8150/display/sdm/libs/utils/Android.mk:34: warning: BUILD_COPY_HEADERS has been deprecated. See https://android.googlesource.com/platform/build/+/master/Changes.md#copy_headers. | |
| hardware/qcom-caf/sm8150/display/sdm/libs/core/Android.mk:82: warning: BUILD_COPY_HEADERS has been deprecated. See https://android.googlesource.com/platform/build/+/master/Changes.md#copy_headers. | |
| hardware/qcom-caf/sm8150/display/sdm/libs/core/Android.mk:95: warning: BUILD_COPY_HEADERS has been deprecated. See https://android.googlesource.com/platform/build/+/master/Cha |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| yikes, gh. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| int __fastcall platform_set_echo_reference(int a1, int a2, int a3) | |
| { | |
| int v3; // r5 | |
| int v4; // r7 | |
| int v5; // r8 | |
| int v6; // r4 | |
| int v7; // r4 | |
| int v8; // t1 | |
| int v9; // r0 | |
| int v10; // r6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| source build/envsetup.sh | |
| breakfast davinci | |
| git -C device/xiaomi/davinci/ fetch https://github.com/sm6150-dev/android_device_xiaomi_davinci && git -C device/xiaomi/davinci/ checkout FETCH_HEAD | |
| git -C device/xiaomi/sm6150-common/ fetch https://github.com/sm6150-dev/android_device_xiaomi_sm6150-common && git -C device/xiaomi/sm6150-common/ checkout FETCH_HEAD | |
| git -C kernel/xiaomi/sm6150/ fetch https://github.com/sm6150-dev/android_kernel_xiaomi_sm6150 && git -C kernel/xiaomi/sm6150/ checkout FETCH_HEAD | |
| set -e | |
| changes=( | |
| 278020 # FODCircleView: handle more visibility cases | |
| 278021 # FODCircleView: let's smoothly fade-out the view, before going to View.GONE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| __int64 __fastcall enable_snd_device(__int64 a1, unsigned int a2) | |
| { | |
| unsigned __int64 v2; // x22 | |
| unsigned int v3; // w20 | |
| __int64 result; // x0 | |
| __int64 v5; // x19 | |
| __int64 v6; // x21 | |
| __int64 v7; // x0 | |
| const char *v8; // x2 | |
| signed __int64 v9; // x21 |