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
echo "persist.service.adb.enable=1" >> /system/build.prop | |
echo "persist.service.debuggable=1" >> /system/build.prop | |
echo "persist.sys.usb.config=mtp,adb" >> /system/build.prop |
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
gitdir=$(git rev-parse --git-dir); scp -p -P 29418 mycax@review.lineageos.org:hooks/commit-msg ${gitdir}/hooks/ | |
tmp=$(mktemp) | |
hook=$(readlink -f $(git rev-parse --git-dir))/hooks/commit-msg | |
git filter-branch -f --msg-filter "cat > $tmp; \"$hook\" $tmp; cat $tmp" @{u}..HEAD |
This file has been truncated, but you can view the full file.
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
mycax@mycax-Aspire-X3995 ~ $ adb logcat | |
- waiting for device - | |
--------- beginning of main | |
01-03 02:47:30.516 0 264 I SELinux : SELinux: Loaded service_contexts from: | |
01-03 02:47:30.518 0 264 I SELinux : /plat_service_contexts | |
01-03 02:47:30.518 0 264 I SELinux : /nonplat_service_contexts | |
01-03 02:47:30.530 270 270 I SELinux : SELinux: Loaded service_contexts from: | |
01-03 02:47:30.532 270 270 I SELinux : /vndservice_contexts | |
01-03 02:47:30.565 265 265 E hwservicemanager: BINDER_SET_INHERIT_FIFO_PRIO failed with error -1 | |
01-03 02:47:24.778 263 263 W auditd : type=2000 audit(0.0:1): initialized |
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
mycax@mycax-Aspire-X3995 ~ $ adb logcat | |
- waiting for device - | |
--------- beginning of system | |
01-01 00:14:35.499 283 283 I vold : Vold 3.0 (the awakening) firing up | |
01-01 00:14:35.500 283 283 V vold : Detected support for: exfat ext4 f2fs ntfs vfat | |
01-01 00:14:35.505 283 283 I vold : [libfs_mgr]fs_mgr_read_fstab_dt(): failed to read fstab from dt | |
01-01 00:14:35.507 283 291 D vold : e4crypt_init_user0 | |
01-01 00:14:35.507 283 291 D vold : e4crypt_prepare_user_storage for volume null, user 0, serial 0, flags 1 | |
01-01 00:14:35.507 283 291 D vold : Preparing: /data/system/users/0 | |
01-01 00:14:35.508 283 291 D vold : Preparing: /data/misc/profiles/cur/0 |
This file has been truncated, but you can view the full file.
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
mycax@mycax-Aspire-X3995 ~ $ adb logcat | |
- waiting for device - | |
--------- beginning of main | |
01-01 00:12:34.781 284 284 W auditd : type=2000 audit(0.0:1): initialized | |
01-01 00:12:35.550 284 284 I auditd : type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295 | |
01-01 00:12:35.556 1 1 I init : type=1400 audit(0.0:3): avc: denied { module_request } for kmod="personality-8" scontext=u:r:init:s0 tcontext=u:r:kernel:s0 tclass=system permissive=1 | |
01-01 00:12:35.706 221 221 I ueventd : type=1400 audit(0.0:4): avc: denied { module_request } for kmod="personality-8" scontext=u:r:ueventd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=1 | |
01-01 00:12:36.773 1 1 I init : type=1400 audit(0.0:5): avc: denied { create } for name="sdcard" scontext=u:r:init:s0 tcontext=u:object_r:tmpfs:s0 tclass=lnk_file permissive=1 | |
01-01 00:12:36.900 237 237 I fsck.f2fs: type=1400 audit(0.0:6): avc: denied { module_request } for kmod="personality-8" scontext=u:r:fsck:s0 tcontext=u:r:kernel |
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
source ./build/envsetup.sh; | |
# Recovery updates | |
repopick 186687; ## https://review.lineageos.org/#/c/186687 | |
repopick 187332 187374; ## https://review.lineageos.org/#/q/change:187332+OR+change:187374 | |
repopick 187155; ## https://review.lineageos.org/#/c/187155 | |
# Bionic and native |
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
if [[ ! -e $HOME/.jackdone && -e $HOME/.jack ]] | |
then | |
sed -i "/SERVER_PORT_SERVICE=/c\SERVER_PORT_SERVICE=$(($UID+5010))" $HOME/.jack | |
sed -i "/SERVER_PORT_ADMIN=/c\SERVER_PORT_ADMIN=$(($UID+5160))" $HOME/.jack | |
touch $HOME/.jackdone | |
fi | |
if [[ ! -e $HOME/.jack7done && -e $HOME/.jack-settings && -e $HOME/.jack-server/config.properties ]] | |
then | |
sed -i "/SERVER_PORT_SERVICE=/c\SERVER_PORT_SERVICE=$(($UID+5010))" $HOME/.jack-settings |
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
lrwxrwxrwx root root 1970-01-01 04:14 DDR -> /dev/block/mmcblk0p23 | |
lrwxrwxrwx root root 1970-01-01 04:14 aboot -> /dev/block/mmcblk0p5 | |
lrwxrwxrwx root root 1970-01-01 04:14 abootbak -> /dev/block/mmcblk0p11 | |
lrwxrwxrwx root root 1970-01-01 04:14 boot -> /dev/block/mmcblk0p18 | |
lrwxrwxrwx root root 1970-01-01 04:14 cache -> /dev/block/mmcblk0p36 | |
lrwxrwxrwx root root 1970-01-01 04:14 cust -> /dev/block/mmcblk0p29 | |
lrwxrwxrwx root root 1970-01-01 04:14 drm -> /dev/block/mmcblk0p32 | |
lrwxrwxrwx root root 1970-01-01 04:14 eksst -> /dev/block/mmcblk0p26 | |
lrwxrwxrwx root root 1970-01-01 04:14 encrypt -> /dev/block/mmcblk0p25 | |
lrwxrwxrwx root root 1970-01-01 04:14 factory -> /dev/block/mmcblk0p30 |
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
# Merge tag | |
git remote add <NAME> <url> | |
git fetch <NAME> --tags | |
git merge <TAG> | |
# As new branch | |
git remote add <NAME> <url> | |
git fetch <NAME> | |
git branch <NEWBRANCH> <TAG> | |
git checkout <NEWBRANCH> |
NewerOlder