Compare commits
3 Commits
c0eb09f1c9
...
0e377b5025
Author | SHA1 | Date | |
---|---|---|---|
|
0e377b5025 | ||
|
54fd28a37e | ||
|
726cb99414 |
@ -40,6 +40,7 @@
|
|||||||
cleanbr = remote prune origin
|
cleanbr = remote prune origin
|
||||||
cleanbrshow = remote prune origin --dry-run
|
cleanbrshow = remote prune origin --dry-run
|
||||||
cleanupbr = "!git branch --merged | grep -v '\\*\\|master\\|develop\\|dev' | xargs -n 1 git branch -d"
|
cleanupbr = "!git branch --merged | grep -v '\\*\\|master\\|develop\\|dev' | xargs -n 1 git branch -d"
|
||||||
|
# Remove local branch that have been removed on the server
|
||||||
cleanupbrprune = "!git fetch --prune"
|
cleanupbrprune = "!git fetch --prune"
|
||||||
contains = !sh -c 'git branch -a --contains $1' -
|
contains = !sh -c 'git branch -a --contains $1' -
|
||||||
wdiff = diff --word-diff=color --unified=1
|
wdiff = diff --word-diff=color --unified=1
|
||||||
@ -68,6 +69,7 @@
|
|||||||
ri = "rebase -i --autostash --autosquash"
|
ri = "rebase -i --autostash --autosquash"
|
||||||
up = pull --rebase --autostash
|
up = pull --rebase --autostash
|
||||||
rebaseour = "rebase -Xours"
|
rebaseour = "rebase -Xours"
|
||||||
|
rank = "shortlog -s -n --no-merges"
|
||||||
[rebase]
|
[rebase]
|
||||||
# when rebasing, update the other common branch too.
|
# when rebasing, update the other common branch too.
|
||||||
# See https://andrewlock.net/working-with-stacked-branches-in-git-is-easier-with-update-refs/
|
# See https://andrewlock.net/working-with-stacked-branches-in-git-is-easier-with-update-refs/
|
||||||
|
@ -87,6 +87,20 @@ RECOMPILE_KERNEL=0 ./kernel_platform/build/android/prepare_vendor.sh waipio cons
|
|||||||
make -j12 ENABLE_AB=true SYSTEMEXT_SEPARATE_PARTITION_ENABLE=true BOARD_DYNAMIC_PARTITION_ENABLE=true ENABLE_VIRTUAL_AB=true SHIPPING_API_LEVEL=29 SKIP_ABI_CHECKS=true
|
make -j12 ENABLE_AB=true SYSTEMEXT_SEPARATE_PARTITION_ENABLE=true BOARD_DYNAMIC_PARTITION_ENABLE=true ENABLE_VIRTUAL_AB=true SHIPPING_API_LEVEL=29 SKIP_ABI_CHECKS=true
|
||||||
adb reboot bootloader
|
adb reboot bootloader
|
||||||
fastboot flash dtbo_a out/target/product/taro/dtbo.img && fastboot reboot
|
fastboot flash dtbo_a out/target/product/taro/dtbo.img && fastboot reboot
|
||||||
|
|
||||||
|
# instead of the make -j12 ... you can try
|
||||||
|
RECOMPILE_KERNEL=0 ./kernel_platform/build/android/prepare_vendor.sh waipio consolidate
|
||||||
|
/bin/bash -c "(cp device/qcom/taro-kernel/dtbs/dtbo.img out/target/product/taro/dtbo.img ) && (out/host/linux-x86/bin/avbtool add_hash_footer --image out/target/product/taro/dtbo.img --partition_size 0x1700000 --partition_name dtbo --prop com.android.build.dtbo.fingerprint:\$(cat out/target/product/taro/build_fingerprint.txt) )"
|
||||||
|
adb reboot bootloader
|
||||||
|
fastboot flash dtbo_a out/target/product/taro/dtbo.img && fastboot reboot
|
||||||
|
=== Camera Module ===
|
||||||
|
|
||||||
|
#Make sure to have run the ./kernel_platform/build/android/prepare_vendor.sh waipio VARIANT with VARIANT be the one used on the plaftorm (consolidate show up in uname)
|
||||||
|
# otherwise THIS IS NOT WORKING ! the new module with have different symbols that the kernel and cannot be inserted
|
||||||
|
mmma -j16 ENABLE_AB=true SYSTEMEXT_SEPARATE_PARTITION_ENABLE=true BOARD_DYNAMIC_PARTITION_ENABLE=true ENABLE_VIRTUAL_AB=true SHIPPING_API_LEVEL=2 SKIP_ABI_CHECKS=true vendor/qcom/opensource/camera-kernel
|
||||||
|
adb push out/target/product/taro/dlkm/lib/modules/camera.ko ./vendor_dlkm/lib/modules/camera.ko
|
||||||
|
adb reboot
|
||||||
|
|
||||||
== Gen Archive ==
|
== Gen Archive ==
|
||||||
tar --exclude='./out' --exclude="./kernel_platform/out" --exclude=".repo/project-objects/platform/prebuilts" --exclude=".repo/project-objects/platform/external" -cf Android_12.no_repo_platform_prebuilts_and_external.tar Qssi_HY22/
|
tar --exclude='./out' --exclude="./kernel_platform/out" --exclude=".repo/project-objects/platform/prebuilts" --exclude=".repo/project-objects/platform/external" -cf Android_12.no_repo_platform_prebuilts_and_external.tar Qssi_HY22/
|
||||||
= Camera =
|
= Camera =
|
||||||
|
@ -21,7 +21,7 @@ alias ../..='cd ../..'
|
|||||||
alias ../../..='cd ../../..'
|
alias ../../..='cd ../../..'
|
||||||
alias greptag='grep --exclude=tags --exclude=cscope.out'
|
alias greptag='grep --exclude=tags --exclude=cscope.out'
|
||||||
alias logcat="adb logcat -v time"
|
alias logcat="adb logcat -v time"
|
||||||
alias remount="adb root && adb remount"
|
alias remount="adb root && adb remount" # use syswrite instead
|
||||||
alias xte='nohup xterm &' # xte lancera un xterm qui ne se fermera pas si on ferme le terminal
|
alias xte='nohup xterm &' # xte lancera un xterm qui ne se fermera pas si on ferme le terminal
|
||||||
alias minicom='minicom -c on'
|
alias minicom='minicom -c on'
|
||||||
alias vims='vim --servername vimserver'
|
alias vims='vim --servername vimserver'
|
||||||
@ -32,6 +32,8 @@ alias gst="vim '+Gedit:' ."
|
|||||||
alias lsempty='find . -depth -type d -empty'
|
alias lsempty='find . -depth -type d -empty'
|
||||||
alias rmempty='find . -depth -type d -empty -delete'
|
alias rmempty='find . -depth -type d -empty -delete'
|
||||||
alias myip="curl -4 icanhazip.com"
|
alias myip="curl -4 icanhazip.com"
|
||||||
|
alias bc="bc -l"
|
||||||
|
alias draw="fingerpaint --hint=$'Press any key or click to finish drawing\nImage will be copied to clipboard' -o - | xclip -sel clip -t image/png"
|
||||||
|
|
||||||
#Extension Alias
|
#Extension Alias
|
||||||
alias -s html=$BROWSER
|
alias -s html=$BROWSER
|
||||||
|
Loading…
x
Reference in New Issue
Block a user