- 博客(15)
- 收藏
- 关注
原创 MTP - Implement CopyObject(0x101A) operate on Android O
解决win10上不能进行内部存储/SD卡之间不能拷贝的问题。 可以提升拷贝速度。 剪切拷贝可以去实现MoveObject. 主要实现: Implement CopyObject(0x101A) operate on Android O MtpResponseCode MtpServer::doCopyObject() { if (!hasStorage()) ...
2018-08-30 15:47:03
936
1
原创 Performance - tuning BIMC turbo mode and cpu
bumping up BIMC(NoCs) to Turbo and with scaling governor set to performance modeput IB/AB values for bus voting to get max theoretical requirementscaling governor set to performance modeSet DDR to max...
2018-05-11 11:06:14
806
原创 python - usb bulk transfer(Loopback) speed test
python - usb bulk transfer speed test 1. install libusb on PC2. pip install pyusb3. libusb for usb device3.1 windows: run 'libusb-win32-bin-1.2.6.0\bin\inf-wizard.exe' with admin to setup libusb port ...
2018-05-11 09:30:45
2284
翻译 ARM - System Architecture Overview
引用ARM官网: System Architecture OverviewSystem Architecture Overview它还需要将CPU连接到其他组件(如GPU、加速器和显示单元)的系统组件。包括:The Generic Interrupt Controller (GIC) to handle interrupts from the systemSystem Memory Manage...
2018-05-02 11:31:42
329
原创 MTP - could not find new file in mtp storage on PC
MTP - could not find new file in mtp storage on PC1. Check DB file whether it's include.adb root adb pull /data/data/com.android.providers.media/databases/external.db external.db2. parse the db file t...
2018-04-25 13:44:51
443
原创 python - sqlite3 - db2xls
python - sqlite3 - db2xls1. install xlwt#ubuntu sudo pip install xlwt #windows pip install xlwt2. db2xls:import sqlite3 as sqlite import sys from xlwt import * def sqlite_get_col_names(cur, table): ...
2018-04-25 13:36:08
318
原创 Performance - usb rndis speed - iperf
Performance - usb rndis speed - iperf1. Download iperf3 tool.iperf3 for windows2. Download iperf3 source codeiperf3 source code3. Build iperf3 code for android3.1 build methodpending3.2 download avail...
2018-04-23 16:57:52
1394
原创 Stability - Coredump - enable
Stability - Coredump - enable 1. Enable such feature from source code Apply this patch, then we can turn on it by 'persist.debug.trace'. diff --git a/runtime/native/dalvik_system_ZygoteHooks.cc b/...
2018-04-19 16:32:13
439
原创 Power - clock debug
Enable clock debug:#echo 1 > /d/clk/debug_suspendor enable in source code:drivers/clk/msm/clock-debug.c 670void clock_debug_print_enabled(void) 671{ -672 if (likely(!debug_suspend)) + if (false) ...
2018-04-18 15:09:39
500
原创 Stability - TRACE32 cmm script - Power - wake source
Just open part of TRACE32 scripts on my hand.Stability - TRACE32 cmm script - Power - wake source list:area.create wakeup_source 300. 6000. area.clear wakeup_source area.view wakeup_source area.selec...
2018-04-18 15:05:16
432
原创 Performance - usb storage transfer speed
1. Test the write/read speed to/from block device with dd.test the write speed to block device '/dev/block/mmcblk0p29', which is local emmc.time dd if=/dev/zero of=/dev/block/mmcblk0p29 bs=8k count=13...
2018-04-18 14:54:24
294
原创 Analysis steps for usb adb offline
Adb is google tool, most of the issues you should report to google side. We met adb offline problem sometimes, it's different root cause.Here's checklists for such issue:1. adb server sideyou should c...
2018-04-18 13:33:43
468
原创 python test script - adb pressure test
python test script - adb pressure testmythread mylog''' this test script will creat many subprocess in device. device will easy offline ''' import os import subprocess import time import re from mylog...
2018-04-18 09:33:35
323
原创 python - module - mythread
python module - mythread''' threading.Thread subclass mythread from mythread import myThread from mythread import setlogger from mythread import myThreadParam as myParam from mythread import T impor...
2018-04-17 22:59:13
1328
原创 python - module - mylog
python module -- mylog''' logger: save log to file and print to console from mylog import mylog from mylog import debug from mylog import info from mylog import error from mylog import initlog from m...
2018-04-17 22:50:03
1047
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅