2018-10-23
uboot ext4
# part list mmc 0
# ext4ls mmc 0:4 /
# ext4load mmc 0:4 0x24000000 test.bin
preferred activities
@ xml path
/system/etc/preferred-apps/preferred-activities-home.xml
/data/system/users/0/package-restrictions.xml
@ source code
frameworks/base/services/core/java/com/android/server/pm/Settings.java
@ reference site
https://stackoverflow.com/questions/34073290/set-default-application-on-aosp
https://github.com/opengapps/all/blob/master/etc/preferred-apps/google.xml
Labels:
activity,
android,
default,
preferred activities
2018-10-16
ssh mount
출처 : https://blog.leocat.kr/notes/2018/04/23/sshfs-mount-remote-server-using-ssh
$ sshfs -o reconnect mirror@mirror:/mirror /mnt/mirror
$ sudo umount /mnt/mirror
2018-10-15
android - init.rc
on late-init
trigger early-fs
trigger fs
trigger post-fs
trigger late-fs
trigger post-fs-data
trigger early-boot
trigger boot
on boot
class_start hal
class_start core
2018-10-12
repo
$ repo init -u <url>
$ repo init -u <url> -b <branch_name>
$ repo init -m <manifest_file>
$ repo init -m <manifest_file> -b <branch_name or commit_id>
$ repo sync
$ repo sync -d
$ repo start <local_branch> --all
# snapshot manifest
$ repo manifest -o <manifest_file> -r
$ repo manifest -o release.xml -r
$ cp release.xml .repo/manifests/release.xml
$ cd .repo/manifests/
@git add, commit & push
# snapshot checkout
$ repo init -m release.xml
$ repo sync -d
@ local branch가 있는 경우, release.xml에 있는 revision으로 checkout 안되는 경우 있음.
@ -d 옵션을 주면, 모든 git repository가 manifest에 정의된 revision으로 checkout(detach) 됨.
# .repo folder에서 remote server 접속 없이 checkout
$ repo sync --local-only
# repo group option
// groups in repo manifest. "pdk", "device", "vendor"
<project groups="pdk" name="platform/art" path="art" />
$ repo list -g group_name
$ repo list -g group_name -p
$ repo forall -g group_name -c 'git status'
# repo checkout w/ date
$ git rev-list -n 1 --before="2019-04-01 00:00" master
$ git rev-list -n 1 --first-parent --before="2019-04-01 00:00" master
$ git rev-list -n 1 --all --before="2019-04-01 00:00"
$ git checkout `git rev-list -n 1 --before="2019-04-01 00:00" master`
$ git checkout `git rev-list -n 1 --first-parent --before="2019-04-01 00:00" master`
$ git checkout `git rev-list -n 1 --all --before="2019-04-01 00:00"`
$ repo forall -c 'git checkout `git rev-list -n 1 --before="2019-04-01 00:00" master`'
$ repo forall -c 'git checkout `git rev-list -n 1 --first-parent --before="2019-04-01 00:00" master`'
$ repo forall -c 'git checkout `git rev-list -n 1 --all --before="2019-04-01 00:00"`'
Subscribe to:
Posts (Atom)