operate

[1]shell@msm8610:/ $ tigerwolf
tigerwolf
shell@msm8610:/ # ls
ls
acct
cache
charger
config
d
data
default.prop
dev
etc
file_contexts
firmware
fstab.qcom
init
init.qcom.class_core.sh
init.qcom.class_main.sh
init.qcom.early_boot.sh
init.qcom.factory.sh
init.qcom.rc
init.qcom.ril.sh
init.qcom.sh
init.qcom.spec.switch.rc
init.qcom.ssr.sh
init.qcom.syspart_fixup.sh
init.qcom.usb.rc
init.qcom.usb.sh
init.rc
init.target.rc
init.trace.rc
init.usb.rc
mnt
persist
proc
property_contexts
res
root
sbin
sdcard
sdcard1
seapp_contexts
sepolicy
storage
sys
system
tombstones
ueventd.qcom.rc
ueventd.rc
vendor
shell@msm8610:/ # cd system
cd system
shell@msm8610:/system # ls
ls
app
bin
build.prop
cdrom.iso
etc
fonts
framework
lib
lost+found
media
pre-install
tts
usr
vendor
xbin
shell@msm8610:/system # mount
mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=202828k,nr_inodes=50707,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/secure tmpfs rw,seclabel,relatime,size=202828k,nr_inodes=50707,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,size=202828k,nr_inodes=50707,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,size=202828k,nr_inodes=50707,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,relatime,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware vfat ro,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=cp437
rtname=lower,errors=remount-ro 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/legacy fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0
shell@msm8610:/system # mount -rwo remount /dev/block/platform/msm_sdcc.1/by-name/system /system
ck/platform/msm_sdcc.1/by-name/system /system                                 <
shell@msm8610:/system # chmod 777 system/bin
chmod 777 system/bin
Unable to open system/bin: No such file or directory
10|shell@msm8610:/system # chmod 777 bin
chmod 777 bin
shell@msm8610:/system # ^C
d:\adb\adb2>adb push D:\adb\busybox /system/bin
2447 KB/s (1096224 bytes in 0.437s)

d:\adb\adb2>adb shell
shell@msm8610:/ $ tigerwolf
tigerwolf
shell@msm8610:/ # chmod 777 system/bin/busybox
chmod 777 system/bin/busybox
shell@msm8610:/ # busybox find -name mdss_fb
busybox find -name mdss_fb
./sys/bus/platform/drivers/mdss_fb

 

[2]屏的所有问题不外乎:白屏、黑屏、花屏、闪屏。屏相关的kernel层代码几乎全部在/kernel/driver/video/msm/mdss/目录下,以及相关的dsti文件。可以趁着解决问题的机会先熟悉代码,多打log,跟踪流程。代码熟悉了才更容易分析现象。主板焊线出来才可以打印串口log;
整机无法打印串口log,只好打印adb
dmesg用来跟踪kernel log; ddms和logcat指令用来跟踪user层和framework层log;QXDM打印modom log
各有所用,并非只用一种。

 

[3]adb shell

$tigerwolf

126|shell@c1_c:/ # mount

shell@c1_c:/ # mount -o remount -t auto /dev/block/platform/msm_sdcc.1/by-name/s
ystem /system

shell@c1_c:/ # chmod 777 /system/vendor/lib/

你可能感兴趣的:(Qualcomm)