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 December 13, 2022 05:00
caprip proprietary-files for TWRP
# system/bin
vendor/bin/hw/[email protected]:system/bin/[email protected]
vendor/bin/hw/[email protected]:system/bin/[email protected]
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/[email protected]:system/bin/[email protected]
vendor/bin/hw/[email protected]:system/bin/[email protected]
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
@ThEMarD
ThEMarD / ASUS_I01WD-18.0610.2106.156-kernel-src_best_tag
Last active May 22, 2022 15:26
ASUS_I01WD-18.0610.2106.156-kernel-src best kernel tag
themard@ubuntu:/media/themard/SSHD/Downloads/ASUS_I01WD-18.0610.2106.156-kernel-src/kernel/msm-4.14$ git init && git add --all && git commit -m "Initial Commit"
themard@ubuntu:/media/themard/SSHD/Downloads/ASUS_I01WD-18.0610.2106.156-kernel-src/kernel/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_I01WD-18.0610.2106.156-kernel-src/kernel/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_I01WD-18.0610.2106.156-kernel-src/kernel/msm-4.14$ ./best-caf-kernel.py "L*"| tee ~/Desktop/best_caf_tag2.txt
number of tags to check: 845
LA.AU.0.0.1-03620-sa8155_gvmq.0 has 1075249 lines changed
LA.AU.0.0.1-03620-sa8155_gvmq.0 is the new best match with 1075249 lines changed
LA.AU.0.0.1-04220-sa8155_gvmq.0 has 907479 lines changed
LA.AU.0.0.1-04220-sa8155_gvmq.0 is the new best match with 907479 lines changed
LA.AU.0.0.1-04920-sa
@ThEMarD
ThEMarD / gist:c207ea963bf70099be0adf9a74d0d3b9
Created November 24, 2021 20:38
LA.UM.7.9.r1-06100-sm6150.0 build error on LOS 18.1
../../../../../../kernel/lenovo/sm6150/arch/arm64/kernel/vdso/note.S:26:1: warning: DWARF2 only supports one section per compilation unit
.pushsection .note.Linux, "a",@note ; .balign 4 ; .long 2f - 1f ; .long 4484f - 3f ; .long 0 ; 1:.asciz "Linux" ; 2:.balign 4 ; 3:
^
VDSOL arch/arm64/kernel/vdso/vdso.so.dbg
clang-11: error: unable to execute command: Executable "ld" doesn't exist!
clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/media/themard/SSHD/android/lineage-18.1/kernel/lenovo/sm6150/arch/arm64/kernel/vdso/Makefile:50: arch/arm64/kernel/vdso/vdso.so.dbg] Error 1
make[1]: *** [arch/arm64/Makefile:241: vdso_prepare] Error 2
make[1]: Leaving directory '/media/themard/SSHD/android/lineage-18.1/out/target/product/jd20/obj/KERNEL_OBJ'
make: *** [Makefile:146: sub-make] Error 2
@ThEMarD
ThEMarD / bestcaftag_l78121.txt
Created November 2, 2021 19:18
Best CAF Tag Lenovo Z6 (L78121)
./best-caf-kernel.py "*sm6150.0" | tee ~/Desktop/bestcaftag_l78121.txt
number of tags to check: 21
LA.UM.7.9.r1-06100-sm6150.0 has 199583 lines changed
LA.UM.7.9.r1-06100-sm6150.0 is the new best match with 199583 lines changed
LA.UM.7.9.r1-06500-sm6150.0 has 202783 lines changed
LA.UM.7.9.r1-07300-sm6150.0 has 313916 lines changed
LA.UM.7.9.r1-07500-sm6150.0 has 314731 lines changed
LA.UM.7.9.r1-07600-sm6150.0 has 314744 lines changed
LA.UM.7.9.r1-07800-sm6150.0 has 317465 lines changed
LA.UM.7.9.r1-08000-sm6150.0 has 317591 lines changed