随笔分类 -  Android

摘要:#!/bin/bash - #===============================================================================## FILE: fin.sh# # USAGE: ./fin.sh # # DESCRIPTION: # # OPTIONS: ---# REQUIREMENTS: ---# BUGS: ---# NOTES: ---# AUTHOR: linkscue (scue), linkscue@gmail.com#... 阅读全文
posted @ 2013-08-22 19:07 scue 阅读(2120) 评论(0) 推荐(0)
摘要:#!/bin/bash - #===============================================================================## FILE: boot_test.sh# # USAGE: ./boot_test.sh # # DESCRIPTION: # # OPTIONS: ---# REQUIREMENTS: ---# BUGS: ---# NOTES: ---# AUTHOR: linkscue(scue),# ORGANI... 阅读全文
posted @ 2013-08-05 03:30 scue 阅读(1476) 评论(0) 推荐(0)
摘要:--------- beginning of /dev/log/mainI/installd( 1377): installd firing upI/DEBUG ( 1370): debuggerd: Aug 3 2013 18:29:43D/STMD ( 1371): STMD STATE: BOOTD/STMD ( 1371): value_to_int() - No numeric value foundV/STMD ( 1371): read_config_file: modem reset enable = 1V/STMD ( 1371): read_c... 阅读全文
posted @ 2013-08-04 16:24 scue 阅读(1976) 评论(0) 推荐(0)
摘要:错误1:hardware/samsung/exynos4/hal/libhdmi/SecHdmi/SecHdmiV4L2Utils.cpp: In function 'int android::hdmi_gl_set_param(int, int, int, int, unsigned int, unsigned int, int, int, int, int, int)':hardware/samsung/exynos4/hal/libhdmi/SecHdmi/SecHdmiV4L2Utils.cpp:1689:92: warning: extended initialize 阅读全文
posted @ 2013-07-28 22:29 scue 阅读(2466) 评论(0) 推荐(0)
摘要:bluedroid.so for k860/k860i1./media/Enjoy/AndroidCode/cm10.1/device/lenovo/stuttgart/bluetooth/bluetooth.c [new file]/* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance 阅读全文
posted @ 2013-07-26 22:08 scue 阅读(1038) 评论(0) 推荐(0)
摘要:由于测试的需要,经常需要手动刷入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. 阅读全文
posted @ 2013-06-30 02:41 scue 阅读(517) 评论(0) 推荐(0)
摘要:在/system/etc/mkshrc文中尾部添加以下代码即可:# for busyboxfor n in $(busybox --list)do eval alias $n=\'busybox $n\'done这样子方便没有基本命令的手机进行调试; 阅读全文
posted @ 2013-06-29 16:40 scue 阅读(3103) 评论(0) 推荐(0)
摘要:源代码中的解释:[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... 阅读全文
posted @ 2013-06-17 22:57 scue 阅读(3470) 评论(0) 推荐(1)
摘要:其中的原文件中包含的注释如下:<?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 阅读全文
posted @ 2013-06-17 22:49 scue 阅读(6691) 评论(0) 推荐(1)
摘要:<?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 阅读全文
posted @ 2013-06-17 22:42 scue 阅读(3332) 评论(0) 推荐(0)
摘要:一博客中,一段的注释的解释:[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... 阅读全文
posted @ 2013-06-17 22:40 scue 阅读(1895) 评论(0) 推荐(0)
摘要:原文件注释说明:# 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" 阅读全文
posted @ 2013-06-17 22:11 scue 阅读(4413) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2013-06-05 23:54 scue 阅读(414) 评论(0) 推荐(0)
摘要:错误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 阅读全文
posted @ 2013-06-03 12:44 scue 阅读(3130) 评论(0) 推荐(0)
摘要: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" / 阅读全文
posted @ 2013-06-03 10:53 scue 阅读(1579) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2013-06-03 00:17 scue 阅读(1536) 评论(0) 推荐(0)
摘要:root@android:/ # cat /tmp/btep.sh#!/system/bin/sh#========================================================================## FILE: btep.sh# # USAGE: ./btep.sh # # DESCRIPTION: # # OPTIONS: ---# REQUIREMENTS: ---# BUGS: ---# NOTES: ---# AUTHOR: linksc... 阅读全文
posted @ 2013-04-14 15:51 scue 阅读(524) 评论(0) 推荐(0)
摘要:1. envsetup . build/envsetup.sh2. stockrom(will error) cd <here> ../tools/releasetools/ota_target_from_phone -r3. deodex ../tools/deodex.sh $(pwd)/out/target_files.zip4. stockrom(it's ok) TOOL_DIR=$PORT_ROOT/tools echo $OTA_FROM_TARGET_FILES OTA_FROM_TARGET_FILES=$TOOL_DIR/rele... 阅读全文
posted @ 2013-03-10 03:04 scue 阅读(553) 评论(0) 推荐(0)
摘要:1. 荣耀2相关信息:shell@android:/ # df Filesystem Size Used Free Blksize/dev 864M 64K 864M 4096/mnt/asec 864M 0K 864M 4096/mnt/obb 864M 0K 864M 4096/system 881M 438M 443M 4096/cache 25... 阅读全文
posted @ 2013-02-19 11:14 scue 阅读(1844) 评论(0) 推荐(0)
摘要:#!/system/bin/sh#version:0.1#author:linkscue#前提条件:系统为ICS或JB、安装有busybox;#提醒建议:在终端上输入可能会太长导致出错,建议保存成sh文件运行;#请指定挂载点的名称point=systemdev=$( busyboxmount | busyboxgrep $point | busyboxawk '{print $1}'| busyboxawk -F'/' '{print $4}')size=$(($( busyboxcat /proc/partitions | busyboxgre 阅读全文
posted @ 2013-02-19 09:39 scue 阅读(612) 评论(0) 推荐(0)