- 博客(12)
- 资源 (1)
- 收藏
- 关注
原创 设置userdata分区大小
设置data分区大小 ---storage sizemount 命令查看挂载的分区/dev/block/dm-0 on /data type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered)cat proc/partitionsmajor minor #blocks name...
2019-11-05 20:17:34 1673
原创 添加Splash分区
添加 splash分区diff --git a/bootable/bootloader/lk/app/aboot/aboot.c b/bootable/bootloader/lk/app/aboot/aboot.cindex eb9fb23..28d666b 100755--- a/bootable/bootloader/lk/app/aboot/aboot.c+++ b/bootabl...
2019-11-05 20:12:40 871
原创 Android横屏方案修改
diff --git a/frameworks/base/cmds/bootanimation/BootAnimation.cpp b/frameworks/base/cmds/bootanimation/BootAnimation.cppindex ed6c25d..899cec5 100644--- a/frameworks/base/cmds/bootanimation/BootAnim...
2019-11-05 20:12:00 532
原创 反编译dtbo
反编译 dtbo:dtc -I dtb -O dts -o output_file.dts input_file.dtbout/target/product/YOUR_PRODUCT_NAME/obj/KERNEL_OBJ/scripts/dtc/dtckernel\msm-3.18\scripts\dtc
2019-11-05 20:11:04 1868
原创 限制USB速度
限制USB速度:1.add max speed property in dts file...2084 dwc3@7000000 {2085 compatible = "snps,dwc3";2086 reg = <0x07000000 0xc8d0>;2087 interrupt-parent = <&intc>;2088 interr...
2019-11-05 20:10:11 1060
原创 Android中执行adb命令
Android中执行 adb 命令public static void setPerssion(){ exusecmd("mount -o rw,remount /data"); exusecmd("chmod 777 /data/data/shensi");}public static boolean exusecmd(String command) { Proce...
2019-11-05 20:07:45 5479
原创 高通平台下在modem配置LDO电压
在modem中设置 ldo 电压//修改 LDO8diff --git a/boot_images/core/systemdrivers/pmic/target/msm8953_pm8953_pmi8950/system/src/pm_sbl_boot_oem.c b/boot_images/core/systemdrivers/pmic/target/msm8953_pm8953_pmi8...
2019-11-05 20:06:55 920
原创 TIOTEST工具使用
Actually, TIOTEST is open source tools, you search materials about it's building and usage from internetAnyway,refer to the following stepsone of the downloading pathhttp://sourceforge.net/pro...
2019-11-05 20:06:17 2238
原创 GPIO模拟I2c
#include <platform/gpio.h>#include <debug.h>#include <string.h>#include <smem.h>#include <err.h>#include <qtimer.h>#define SDA 10#define SCL 11#define OUT...
2019-11-05 20:04:43 231
原创 高通Secure boot版本开启dump
开启 secureboot版本打开debug权限SDM450.LA.3.2.1/common/sectools/config/sdm450/sdm450_secimage.xml@@ -36,7 +36,7 @@ <msm_part>0x0009A0E1</msm_part> <oem_id>0x0000</oem...
2019-11-05 20:02:44 1915
原创 Camera 施工中
Camera APP层的一般流程 :# Step 1camera = Camera.open(); //1.调用Camera的open()方法打开相机。# Step 2Camera.Parameters parameters = camera.getParameters();parameters.setPreviewSize //设置预览尺寸大小 .setPreview
2015-11-16 11:39:33 643
原创 MTK之camera框架
image_sensor首先在mediatek\platform\mt6582\kernel\core\mt_devs.c完成对板级设备的初始化工作#if 1 ///defined(CONFIG_VIDEO_CAPTURE_DRIVERS) retval = platform_device_register(&sensor_dev); if (retval != 0){
2014-07-01 12:16:58 3270
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人