会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
自強不息 厚德載物
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
18
下一页
2018年2月13日
compensation 在 spec 上的意義
摘要: compensation 翻譯為補償, 之前觀念都認為補償都是正的, 原來補償也可以負的, 例子: 電池充電電流在 10 ~ 45 度為 1800 mA, 在 0 ~ 10 度時,jeita 補償 1200 mA, 也就是說 0 ~ 10 度時,電池充電電流為 1800 1200 = 600。
阅读全文
posted @ 2018-02-13 15:33 wangchangruei
阅读(181)
评论(0)
推荐(0)
2018年2月1日
測試 電池溫度的 batch file
摘要: 無限迴圈, 執行讀取 電池溫度,
阅读全文
posted @ 2018-02-01 21:20 wangchangruei
阅读(388)
评论(0)
推荐(0)
2018年1月30日
無法使用 adb push file,Read-only file system
摘要: ``` adb root adb remount adb push xxx /system/etc/xxx failed to copy 'xxx' to '/system/etc/xxx': couldn't create file: Read-only file system ``` ``` adb root adb disable-verity // 需要重開機 adb remou...
阅读全文
posted @ 2018-01-30 22:36 wangchangruei
阅读(5645)
评论(4)
推荐(0)
2018年1月17日
低溫 -30度 手機自動開機
摘要: 之後再做一個實驗, 將 switch 拿掉,就沒有再發生問題, 原來 switch 內的 鐵件 會因為溫度過低收縮,造成誤動作。
阅读全文
posted @ 2018-01-17 21:55 wangchangruei
阅读(240)
评论(0)
推荐(0)
2018年1月2日
手動設定 電池溫度 mtk platform
摘要: 27 即是所要設定的溫度, 此設定需要進入 adb shell, 方可設定 電池溫度, 並且需等一會兒才會生效, 可以使用以下命令驗證是否生效。
阅读全文
posted @ 2018-01-02 19:55 wangchangruei
阅读(535)
评论(0)
推荐(0)
2017年10月30日
Android build code command
摘要: ``` make bootimage -j8 ``` ``` make systemimage -j8 ```
阅读全文
posted @ 2017-10-30 11:25 wangchangruei
阅读(203)
评论(0)
推荐(0)
2017年9月27日
kernel cmdline
摘要: 從 lk 傳送到 kerel 的 cmdline 會放在開機後的 adb /proc/cmdline 開到 android 後,又會被讀出來 /system/core/init/util.cpp /system/core/init/init.cpp
阅读全文
posted @ 2017-09-27 18:15 wangchangruei
阅读(631)
评论(0)
推荐(0)
2017年9月26日
fastboot flash image usage
摘要: // // power on mobile phone // power on mobile phone // // reboot bootloader // android/out/host/linux x86/bin$ sudo adb reboot bootloader // // flash
阅读全文
posted @ 2017-09-26 22:16 wangchangruei
阅读(621)
评论(0)
推荐(0)
設定 gpio 為 讀取用途,需注意的參數
摘要: Schematic 解說 上面的 線路圖, R1 R2 只能有一個被接上, R3 R4 只能有一個被接上, 是使用 gpio 讀取 電壓 判斷為0 或是 1 這時的 gpio 設定,其中一個參數需設為 NO PULL, 不可以有 pull down, 不可以有 pull up, 否則會影響電壓讀取,
阅读全文
posted @ 2017-09-26 15:15 wangchangruei
阅读(740)
评论(0)
推荐(0)
2017年9月25日
Qualcomm download 所需要的 contents.xml
摘要: Platform MSM8917 PM8937 PMI8940 在 Qualcomm code base 中, amss下有許多 MSM89xx 之類的 folder, 這些是為了不同 chip 所產生的 download file, 裡面有一隻 contents.xml,說明所需要 downloa
阅读全文
posted @ 2017-09-25 10:32 wangchangruei
阅读(3473)
评论(1)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
18
下一页
公告