06 2013 档案
摘要:由于测试的需要,经常需要手动刷入boot.img和system.img,把它写到envsetup.sh就可以每次使用一行命令来代替了;function flashtestimage(){ if [[ "$(fastboot devices | grep \"fastboot\")" == "" ]]; then adb -s 0123456789ABCDEF reboot bootloader fi fastboot flash boot $OUT/boot.img fastboot flash system $OUT/system.
阅读全文
摘要:在/system/etc/mkshrc文中尾部添加以下代码即可:# for busyboxfor n in $(busybox --list)do eval alias $n=\'busybox $n\'done这样子方便没有基本命令的手机进行调试;
阅读全文
摘要:源代码中的解释:[platform_build/tools/releasetools/ota_from_target_files] # Recovery is generated as a patch using both the boot image # (which contains the same linux kernel as recovery) and the file # /system/etc/recovery-resource.dat (which contains all the images # used in the recovery UI) a...
阅读全文
摘要:其中的原文件中包含的注释如下:<?xml version="1.0" encoding="utf-8" ?><!-- Copyright (C) 2012 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy
阅读全文
摘要:<?xml version="1.0" encoding="utf-8"?><!-- Fallback Fonts This file specifies the fonts, and the priority order, that will be searched for any glyphs not handled by the default fonts specified in /system/etc/system_fonts.xml. Each entry consists of a family tag and a lis
阅读全文
摘要:一博客中,一段的注释的解释:[From: http://blog.csdn.net/hustpzb/article/details/8525324]/** * Access to the system diagnostic event record. System diagnostic events are * used to record certain system-level events (such as garbage collection, * activity manager state, system watchdogs, and other low level act...
阅读全文
摘要:原文件注释说明:# audio hardware module section: contains descriptors for all audio hw modules present on the# device. Each hw module node is named after the corresponding hw module library base name.# for instance, "primary" corresponds to audio.primary.<device>.so.# the "primary"
阅读全文
摘要:方法1:使用脚本#!/bin/bash - #===============================================================================## FILE: gvi# # USAGE: ./gvi # # DESCRIPTION: # # OPTIONS: ---# REQUIREMENTS: ---# BUGS: ---# NOTES: ---# AUTHOR: linkscue (scue), linkscue@gmail.co...
阅读全文
摘要:1. install chinese fonts sudo apt-get install ttf-wqy-microhei ttf-wqy-zenhei2. set language vi /etc/defaults/locale3. install ia32-libs dpkg --add-architecture i386 apt-get update apt-get install ia32-libs4. sudo E: is not in the sudoers file. This incident will be reported. ...
阅读全文
摘要:No.1 ========================================frameworks/av/services/camera/libcameraservice/camera2/ZslProcessor.cpp: In member function 'android::status_t android::camera2::ZslProcessor::updateStream(const android::camera2::Parameters&)':frameworks/av/services/camera/libcameraservice/ca
阅读全文
摘要:scue@Link:~$ cat ~/bin/ipclientstart#!/bin/bash - #===============================================================================## FILE: ipclientstart# # USAGE: ./ipclientstart # # DESCRIPTION: # # OPTIONS: ---# REQUIREMENTS: ---# BUGS: ---# NOTES: ---# ...
阅读全文
摘要:错误1:=====================================================================================================target thumb C++: gralloc.stuttgart <= hardware/samsung/exynos4/hal/libgralloc_ump/framebuffer_device.cpphardware/samsung/exynos4/hal/libgralloc_ump/framebuffer_device.cpp: In function 'in
阅读全文
摘要:gvim .repo/local_manifests/hardware.xml<?xml version="1.0" encoding="UTF-8"?><manifest> <remote name="github" fetch=".." review="review.cyanogenmod.org" /> <remote name="private" fetch="ssh://git@github.com" /
阅读全文
摘要:bin/IMCDownloadbin/cksfvbin/glgpsbin/init.lenovo.shbin/wtddbin/hostapdbin/rildbin/btldbin/mtsbin/alsa_ctlbin/alsa_aplaybin/alsa_amixerbin/stmdbin/nac_serverbin/fusiondbin/supercmdbin/bluetoothdbin/brcm_patchram_plusxbin/agentxbin/bdaddrxbin/dbus-monitorxbin/dbus-sendxbin/dhdutilxbin/hciconfigxbin/hc
阅读全文