2021年7月5日 星期一

手機 realme x50 android

 https://www.gsmarena.com/realme_x50_5g-10319.php



手機 realme x50 android



2020 8月發行


6GB ram, 128GB 


6.57 吋


qualcomm 765



usb type-c



wifi 802.11abgnac



1080x2400


2sim


Android 10

手機 lg velvet android

 https://www.gsmarena.com/lg_velvet_5g-10209.php



手機 lg velvet android



2020 5月發行


6GB ram, 128GB 


6.8 吋


qualcomm 765



usb type-c



wifi 802.11abgnac



1080x2460


2sim


Android 10

2021年3月24日 星期三

手機 ASUS ZenFone (A400CG)


asus ZenFone T00I A400CG



https://www.gsmarena.com/asus_zenfone_4_(2014)-5951.php


asus ZenFone 4 t00I A400CG


ww ASUS ZenFone (A400CG)(T00I)軟體版本: V6.6.3 (Android 4.4) 



ram 1G/ ROM 4G


Intel Atom Z2520

Dual-core 1.2 GHz


4.0 inches, 45.5 cm2 (~59.6% screen-to-body ratio)


Wi-Fi 802.11 b/g/n, Wi-Fi Direct, hotspot



https://www.asus.com/tw/supportonly/ASUS%20ZenFone%20A400CG/HelpDesk_BIOS/

2021年3月12日 星期五

顯示解析度列表

 


https://en.wikipedia.org/wiki/Graphics_display_resolution


1920x1080 fhd (16:9)


1400x1050 sxga+ (4:3)


1280x960 sxga- (4:3)



1280x1024 sxga (5:4)


 

1600x1024 wsxga (3:2)


2021年2月25日 星期四

手機 sony xperia xa2 h4133 android

 


https://zh.wikipedia.org/zh-tw/Sony_Xperia_XA2


https://www.gsmarena.com/sony_xperia_xa2-8986.php


2018 2月發行



3GB ram, 32GB eMMC




5.2 吋




qualcomm 630




usb type-c




wifi 802.11abgn




1080x1920


2sim






Android 8



sony unlock bootloader

https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader#unlock-code

2021年1月7日 星期四

git repo 管理

 git repo 管理





有一個使用情形是用 repo管理

 

已經出一版 1.0 sdk了。


如果是有patch的話想只出1.01有修改的檔案

如  project a 的 ddd.c  和 project b的 eee.c

 

是不是有對應的指令可以做到


repo forall -c 'git diff --src-prefix=old/$REPO_PATH/ --dst-prefix=new/$REPO_PATH/ v1.0 v1.0.1' > all.patch


This command generates a single patch for the change from v1.0 to v1.0.1 tags.




將有修改後的檔案 tar起來。


single tar file::  files the change from v1.0 to v1.0.1 tags.



List file different to `filelist`

$ repo forall -c 'git diff HEAD v1.0.1 v1.0 --name-only | sed -e "s|^|$REPO_PATH/|"' > filelist


Create tarball according to `filelist`

$ tar jcvf test.tar.bz2 `cat filelist`





https://stackoverflow.com/questions/33030289/is-there-a-tool-to-create-repo-manifest-file-with-sha-based-on-current-work-dire




The repo manifest command creates manifest files with fixed SHA-1s based on the current workspace.


repo manifest -r -o my-manifest.xml







只用git管理的情形

http://stackoverflow.com/questions/12841360/git-archive-from-changed-files-on-bare-repos

 


git archive --format=tar --prefix='/' master `git diff V1.02 master --name-only` | gzip -9 > ~/tars/update-v1.02-`git describe master --tags`.tar.gz



https://www.jianshu.com/p/58e5d4f9f9a9


https://source.android.com/setup/develop/repo



大丈夫日記 

http://ryan0210.blogspot.com/2013/10/coding-repo-git.html


泰勞筆記

https://thai-lin.blogspot.com/2017/05/repo-git.html




repo sync -j threadcount



 -j threadcount :在線程之間拆分同步,以加快完成速度。確保不要通過為其他任務保留一些CPU來壓倒計算機。要查看可用CPU的數量,請首先運行: nproc --all

 



git push origin master 


1.

直接 push:

$ git push orgin default:master


2.


進到 code review的push 指令

git push origin default:refs/for/master


PS. 其實 repo upload 指令,就是把 topic branch push 到 refs/for/project-branch,

       就會直接進到 code-review 頁面上



tig


m main view

d diff view

r branch view the branches, remotes and tags in the repository.

t tree view

b blame view Displays the file content annotated or blamed by commits.


all view

j k up/down

J K next/previous

上鍵 下鍵 next/previous

page up/down : page up down

q 關閉 畫面


in main view

D 切換 date display modes

A 切換 author display modes

X 切換 commit sha

enter  查看 commit 的詳細 diff 變更 

q 關閉 diff 畫面。


還有 tig 指令後面接 branch 名稱可以直接查看分支,接著在分支 commit 上按大寫 C 可以 cherry-pick 回目前的 branch,而 tig 後面接檔名的話可以直接查看跟這個檔案有關的 commit,更多的基本功能介紹可以看 git? tig! 這篇文章。



https://devhints.io/tig

http://blog.kidwm.net/388

http://jonas.nitro.dk/tig/manual.html


htc 內建遊戲

 


htc 內建遊戲



https://forum.xda-developers.com/t/app-teeter-apk.1666561/



TEETER 平衡球遊戲 - HTC論壇


https://community.htc.com/tw/chat.php?mod=viewthread&tid=5446



https://www.youtube.com/watch?v=CNhH5LE1tO8