Skip to content

Instantly share code, notes, and snippets.

View ThEMarD's full-sized avatar

Marc Bourgoin ThEMarD

  • Alberta, Canada eh?
View GitHub Profile
@ThEMarD
ThEMarD / proprietary-files.txt
Last active February 1, 2023 15:45
dubai TWRP blobs
vendor/bin/hw/android.hardware.gatekeeper@1.0-service-qti:system/bin/android.hardware.gatekeeper@1.0-service-qti
vendor/bin/hw/android.hardware.keymaster@4.1-service-qti:system/bin/android.hardware.keymaster@4.1-service-qti
vendor/bin/qseecomd:system/bin/qseecomd
system/etc/task_profiles.json
vendor/etc/task_profiles.json
vendor/firmware/aw8622x_haptic.bin
vendor/firmware/aw8622x_rtp.bin
@ThEMarD
ThEMarD / how-to.txt
Created December 16, 2022 07:25
git subtree fw-api
Initial merge:
git remote add fw-api https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/wlan/fw-api.git
Old:
https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/wlan/fw-api
git fetch fw-api <TAG>
git merge -s ours --no-commit --allow-unrelated-histories FETCH_HEAD
@ThEMarD
ThEMarD / merges.txt
Last active December 16, 2022 12:06
Motorola kernel merges
git remote add moto-msm-kernel git@github.com:MotorolaMobilityLLC/kernel-msm.git
git fetch moto-msm-kernel MMI-S3SJ32.1-44-6
git merge FETCH_HEAD
git remote add moto-msm-modules-kernel git@github.com:MotorolaMobilityLLC/motorola-kernel-modules.git
git fetch moto-msm-modules-kernel MMI-S3SJ32.1-44-6
@ThEMarD
ThEMarD / proprietary-files.txt
Last active December 13, 2022 05:00
caprip proprietary-files for TWRP
# system/bin
vendor/bin/hw/android.hardware.gatekeeper@1.0-service-qti:system/bin/android.hardware.gatekeeper@1.0-service-qti
vendor/bin/hw/android.hardware.keymaster@4.1-service-qti:system/bin/android.hardware.keymaster@4.1-service-qti
vendor/bin/qseecomd:system/bin/qseecomd
#vendor/bin/hw/vendor.qti.hardware.vibrator.service:system/bin/vendor.qti.hardware.vibrator.service
# system/etc/vintif
#system/etc/vintf/manifest.xml
# vendor/etc/vintif
@ThEMarD
ThEMarD / fastbootd.txt
Last active November 25, 2022 03:41
dubai update device firmware
fastboot flash --slot=all bootloader bootloader.img
fastboot flash --slot=all bluetooth BTFM.bin
fastboot flash --slot=all dsp dspso.bin
fastboot flash --slot=all logo logo.bin
# We cannot update modem via fastboot as the radio.img contains extra cmds that fastboot fails to recognize. You must use TinyFastbootScript if you really want to update modem.
https://mirrors.lolinet.com/software/windows/TinyFastbootScript/
@ThEMarD
ThEMarD / proprietary-files.txt
Created October 7, 2022 21:01
rhodep proprietary-files for TWRP
# system/bin
vendor/bin/hw/android.hardware.gatekeeper@1.0-service-qti:system/bin/android.hardware.gatekeeper@1.0-service-qti
vendor/bin/hw/android.hardware.keymaster@4.1-service-qti:system/bin/android.hardware.keymaster@4.1-service-qti
vendor/bin/qseecomd:system/bin/qseecomd
vendor/bin/hw/vendor.qti.hardware.vibrator.service:system/bin/vendor.qti.hardware.vibrator.service
# system/etc/vintif
#system/etc/vintf/manifest.xml
# vendor/etc/vintif
@ThEMarD
ThEMarD / dubai-best-clo-tag.txt
Created August 5, 2022 14:31
dubai Best CLO Tag
git remote add clo https://git.codelinaro.org/clo/la/kernel/msm-5.4 && git fetch clo
./best-caf-kernel.py "LA*" | tee ~/Desktop/best_caf_tag.txt
number of tags to check: 273
LA.AU.0.2.0.r1-00500-gen3_gvmgh.0 has 3593778 lines changed
LA.AU.0.2.0.r1-00500-gen3_gvmgh.0 is the new best match with 3593778 lines changed
LA.AU.0.2.0.r1-01300-gen3_gvmgh.0 has 3965658 lines changed
LA.AU.0.2.0.r1-01500-gen3_gvmgh.0 has 3965658 lines changed
LA.AU.0.2.0.r1-01800-gen3_gvmgh.0 has 3965614 lines changed
LA.AU.0.2.0.r1-02100-gen3_gvmgh.0 has 3972551 lines changed
@ThEMarD
ThEMarD / dubai_partitions.txt
Created July 17, 2022 16:37
Dubai partitions
# cat /proc/partitions
major minor #blocks name
1 0 8192 ram0
1 1 8192 ram1
1 2 8192 ram2
1 3 8192 ram3
1 4 8192 ram4
1 5 8192 ram5
1 6 8192 ram6
@ThEMarD
ThEMarD / qcacld-3.0
Created June 11, 2022 18:54
Git subtree
Initial merge:
git remote add qcacld-3.0 https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/wlan/qcacld-3.0
git fetch qcacld-3.0 <TAG>
git merge -s ours --no-commit --allow-unrelated-histories FETCH_HEAD
git read-tree --prefix=drivers/staging/qcacld-3.0 -u FETCH_HEAD
@ThEMarD
ThEMarD / ASUS_I001_1-18.0210.2201.215-kernel-src_best_tag.txt
Last active May 22, 2022 15:30
ASUS_I001_1-18.0210.2201.215-kernel-src best tag
themard@ubuntu:/media/themard/SSHD/Downloads/ASUS_I001_1-18.0210.2201.215-kernel-src/msm-4.14$ git init && git add --all && git commit -m "Initial Commit"
themard@ubuntu:/media/themard/SSHD/Downloads/ASUS_I001_1-18.0210.2201.215-kernel-src/msm-4.14$ git remote add caf https://git.codelinaro.org/clo/la/kernel/msm-4.14 && git fetch caf
themard@ubuntu:/media/themard/SSHD/Downloads/ASUS_I001_1-18.0210.2201.215-kernel-src/msm-4.14$ git remote add msm https://source.codeaurora.org/quic/la/kernel/msm-4.14 && git fetch msm
themard@ubuntu:/media/themard/SSHD/Downloads/ASUS_I001_1-18.0210.2201.215-kernel-src/msm-4.14$ ./best-caf-kernel.py "L*" | tee ~/Desktop/best_caf_tag1.txt
number of tags to check: 845
LA.AU.0.0.1-03620-sa8155_gvmq.0 has 1064447 lines changed
LA.AU.0.0.1-03620-sa8155_gvmq.0 is the new best match with 1064447 lines changed
LA.AU.0.0.1-04220-sa8155_gvmq.0 has 897635 lines changed
LA.AU.0.0.1-04220-sa8155_gvmq.0 is the new best match with 897635 lines changed
LA.AU.0.0.1-04920-sa8155_gvmq.0 has 852989