自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 收藏
  • 关注

原创 MTP - Implement CopyObject(0x101A) operate on Android O

解决win10上不能进行内部存储/SD卡之间不能拷贝的问题。可以提升拷贝速度。剪切拷贝可以去实现MoveObject. 主要实现:Implement CopyObject(0x101A) operate on Android OMtpResponseCode MtpServer::doCopyObject() { if (!hasStorage()) ...

2018-08-30 15:47:03 861 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 732

原创 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 2095

翻译 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 258

原创 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 rootadb pull /data/data/com.android.providers.media/databases/external.db external.db2. parse the db file t...

2018-04-25 13:44:51 415

原创 python - sqlite3 - db2xls

python - sqlite3 - db2xls1. install xlwt#ubuntusudo pip install xlwt#windowspip install xlwt2. db2xls:import sqlite3 as sqliteimport sysfrom xlwt import *def sqlite_get_col_names(cur, table):...

2018-04-25 13:36:08 283

原创 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 1243

原创 Stability - Coredump - enable

Stability - Coredump - enable1. Enable such feature from source codeApply 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 366

原创 Power - clock debug

Enable clock debug:#echo 1 > /d/clk/debug_suspendor enable in source code:drivers/clk/msm/clock-debug.c670void clock_debug_print_enabled(void)671{-672 if (likely(!debug_suspend))+ if (false)...

2018-04-18 15:09:39 456

原创 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_sourcearea.view wakeup_sourcearea.selec...

2018-04-18 15:05:16 384

原创 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 256

原创 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 410

原创 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 osimport subprocessimport timeimport refrom mylog...

2018-04-18 09:33:35 295

原创 python - module - mythread

python  module - mythread'''threading.Thread subclass mythreadfrom mythread import myThreadfrom mythread import setloggerfrom mythread import myThreadParam as myParamfrom mythread import Timpor...

2018-04-17 22:59:13 1227

原创 python - module - mylog

python module -- mylog'''logger:save log to file and print to consolefrom mylog import mylogfrom mylog import debugfrom mylog import infofrom mylog import errorfrom mylog import initlogfrom m...

2018-04-17 22:50:03 987

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除