編輯:關於Android編程
make showcommands snod
用這個命令查看生成system.img使用的命令:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.5
TARGET_PRODUCT=msm7627a_sku3
TARGET_BUILD_VARIANT=user
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GRJ90
============================================
build/core/main.mk:292: implicitly installing apns-conf_sdk.xml
build/core/base_rules.mk:105: *** Module name: corgi contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: dejitter contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: inputraw contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: linear contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: variance contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: pthres contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libtslib contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: ../ts contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: e2fsck contains invalid LOCAL_MODULE_TAGS
vendor/qcom/proprietary/factory_kit/Android.mk:15: src/com/qualcomm/factory/SIM2/SIM2.java src/com/qualcomm/factory/Gyroscope/Gyroscope.java src/com/qualcomm/factory/CameraBack/CameraBack.java src/com/qualcomm/factory/PSensor/PSensor.java src/com/qualcomm/factory/PSensor/ImageTextView.java src/com/qualcomm/factory/TouchPanelKey/TouchPanelKey.java src/com/qualcomm/factory/MSensor/MSensor.java src/com/qualcomm/factory/Keypad/Keypad.java src/com/qualcomm/factory/FM/FmManager.java src/com/qualcomm/factory/FM/FM.java src/com/qualcomm/factory/SDCard/SDCard.java src/com/qualcomm/factory/Utilities.java src/com/qualcomm/factory/Speaker/Speaker.java src/com/qualcomm/factory/WiFi/WiFi.java src/com/qualcomm/factory/GPS/GPS.java src/com/qualcomm/factory/STKAccCali/STKAccCali.java src/com/qualcomm/factory/Battery/Battery.java src/com/qualcomm/factory/TouchPanelEdge/TouchPanelEdge.java src/com/qualcomm/factory/TriColorLed/TriColorLed.java src/com/qualcomm/factory/Flashlight/Flashlight.java src/com/qualcomm/factory/TestSettings.java src/com/qualcomm/factory/GSensor/GSensor.java src/com/qualcomm/factory/Vibrate/Vibrate.java src/com/qualcomm/factory/ControlCenter/ControlCenter.java src/com/qualcomm/factory/ControlCenter/UtilitiesControlCenter.java src/com/qualcomm/factory/LightSensor/LightSensor.java src/com/qualcomm/factory/TransmitterReceiver/TransmitterReceiver.java src/com/qualcomm/factory/Headset/Headset.java src/com/qualcomm/factory/LCM/LCM.java src/com/qualcomm/factory/CameraFront/CameraFront.java src/com/qualcomm/factory/FuelGaugeCalibration/FuelGaugeCalibration.java src/com/qualcomm/factory/Bluetooth/Bluetooth.java src/com/qualcomm/factory/Bluetooth/DeviceInfo.java src/com/qualcomm/factory/SIM1/SIM1.java
build/core/base_rules.mk:105: *** Module name: FactoryKit contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:146: user tag on app FactoryKit at vendor/qcom/proprietary/factory_kit - add your app to core.mk instead
build/core/base_rules.mk:105: *** Module name: hci_qcomm_init contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: LiveWallpapers contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:146: user tag on app LiveWallpapers at packages/wallpapers/Basic - add your app to core.mk instead
build/core/base_rules.mk:105: *** Module name: BrowserQuick_cu contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:146: user tag on app BrowserQuick_cu at vendor/qcom/proprietary/qrdplus/QRDExtensions/DynamicComponents/res/BrowserQuick/CU - add your app to core.mk instead
build/core/base_rules.mk:105: *** Module name: sound contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: librefcne contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: cnd contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: StopTimer contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:146: user tag on app StopTimer at vendor/qcom/proprietary/qrdplus/StopTimer - add your app to core.mk instead
build/core/base_rules.mk:105: *** Module name: PrivInit contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:146: user tag on app PrivInit at vendor/qcom/proprietary/webkit/PrivInit - add your app to core.mk instead
build/core/base_rules.mk:105: *** Module name: ScrCapService contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:146: user tag on app ScrCapService at vendor/qcom/proprietary/qrdplus/ScreenCapture - add your app to core.mk instead
build/core/base_rules.mk:105: *** Module name: MagicSmokeWallpapers contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:146: user tag on app MagicSmokeWallpapers at packages/wallpapers/MagicSmoke - add your app to core.mk instead
build/core/base_rules.mk:105: *** Module name: checksparse.py contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: rawprogram0.xml contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: Stk contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:146: user tag on app Stk at packages/apps/Stk - add your app to core.mk instead
build/core/base_rules.mk:105: *** Module name: com.qrd.plugin.feature_query_cu contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: com.qrd.plugin.feature_query_cu.xml contains invalid LOCAL_MODULE_TAGS
find: `src': No such file or directory
build/core/base_rules.mk:105: *** Module name: libchromatix_gc0339_preview contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libchromatix_ov5647_ar contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libchromatix_ov5647_preview contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libchromatix_ov5647_default_video contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libOmxVp8Dec contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: com.qrd.wappush contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: com.qrd.wappush.xml contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: QRDSaveLog contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:146: user tag on app QRDSaveLog at vendor/qcom/proprietary/Savelog - add your app to core.mk instead
build/core/base_rules.mk:105: *** Module name: hostapd_cli contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: hostapd_wps contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: hostapd contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: hostapd.conf contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libhostapd_client contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: HomeLocation contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:146: user tag on app HomeLocation at vendor/qcom/proprietary/qrdplus/HomeLocation - add your app to core.mk instead
build/core/base_rules.mk:105: *** Module name: sensors.default contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: FileExplorer contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:146: user tag on app FileExplorer at vendor/qcom/proprietary/qrdplus/FileExplorer - add your app to core.mk instead
build/core/base_rules.mk:105: *** Module name: LiveWallpapersPicker contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:146: user tag on app LiveWallpapersPicker at packages/wallpapers/LivePicker - add your app to core.mk instead
build/core/base_rules.mk:105: *** Module name: qrngd contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: qrngtest contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: WorldClock contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:146: user tag on app WorldClock at vendor/qcom/proprietary/qrdplus/WorldClock - add your app to core.mk instead
All DianXinOS APK Files: 3036101111002001.apk 3036101111005001.apk 3036101111007068.apk 3036101111009002.apk 3036101111013001.apk 3036101111019001.apk 3036101111019002.apk 3036101111021004.apk Launcher2.3_v1.0.3_huachenghaina_0514.apk luzhu_theme.apk
build/core/base_rules.mk:105: *** Module name: qrd_omadownload contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:146: user tag on app qrd_omadownload at vendor/qcom/proprietary/qrdplus/QRDExtensions/DynamicComponents/java/omadownload - add your app to core.mk instead
build/core/base_rules.mk:105: *** Module name: VisualizationWallpapers contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:146: user tag on app VisualizationWallpapers at packages/wallpapers/MusicVisualization - add your app to core.mk instead
build/core/base_rules.mk:105: *** Module name: QRDUpdate contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:146: user tag on app QRDUpdate at vendor/qcom/proprietary/qrdplus/OSUpdate - add your app to core.mk instead
build/core/base_rules.mk:105: *** Module name: QualcommSettings contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:146: user tag on app QualcommSettings at vendor/qcom/proprietary/QualcommSettings - add your app to core.mk instead
build/core/base_rules.mk:105: *** Module name: libgridview_QMemOpt contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: librs_jni contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libmm-abl contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: mm-abl-daemon contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:73: unusual tags development eng optional on CABLService at vendor/qcom/proprietary/mm-core/display/abl/CABLService
build/core/base_rules.mk:105: *** Module name: gatttool contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libloc_eng_v01.default contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libgps.utils contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: fatimgcheck contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: poweroffcharging contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: CellBCSetting contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:146: user tag on app CellBCSetting at vendor/qcom/proprietary/telephony-apps/CellBCSetting - add your app to core.mk instead
build/core/base_rules.mk:105: *** Module name: com.qrd.plugin.common_interface contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: com.qrd.plugin.common_interface.xml contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: silent_profile contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libaudioeq contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: AudioFilter contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:73: unusual tags test on QualcommSoftAP at packages/apps/QualcommSoftAP
build/core/base_rules.mk:105: *** Module name: libdemoplugin_cu contains invalid LOCAL_MODULE_TAGS
find: `src': No such file or directory
build/core/base_rules.mk:105: *** Module name: Browser_Res_cu contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:146: user tag on app Browser_Res_cu at vendor/qcom/proprietary/qrdplus/QRDExtensions/DynamicComponents/res/Browser_res/CU - add your app to core.mk instead
build/core/base_rules.mk:105: *** Module name: qcnvitems contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: qcnvitems.xml contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: ip contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libecc contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libiwnwai_asue contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libsms4 contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: wpa_cli contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: fm_qsoc_patches contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: ATFWD-daemon contains invalid LOCAL_MODULE_TAGS
build/core/copy_headers.mk:15: warning: overriding commands for target `out/target/product/msm7627a_sku3/obj/include/data/inc/ds_list.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `out/target/product/msm7627a_sku3/obj/include/data/inc/ds_list.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `out/target/product/msm7627a_sku3/obj/include/data/inc/ds_util.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `out/target/product/msm7627a_sku3/obj/include/data/inc/ds_util.h'
build/core/base_rules.mk:105: *** Module name: radish contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: StorageMgr contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:146: user tag on app StorageMgr at vendor/qcom/proprietary/storagemgr - add your app to core.mk instead
build/core/base_rules.mk:105: *** Module name: Launcher_Res_cu contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:146: user tag on app Launcher_Res_cu at vendor/qcom/proprietary/qrdplus/QRDExtensions/DynamicComponents/res/Launcher_res/CU - add your app to core.mk instead
build/core/base_rules.mk:105: *** Module name: pvplayer contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libopencore_common contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libopencore_author contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libopencore_player contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libomx_sharedlibrary contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libomx_avcdec_sharedlibrary contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libomx_m4vdec_sharedlibrary contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libomx_aacdec_sharedlibrary contains invalid LOCAL_MODULE_TAGS
build/core/copy_headers.mk:15: warning: overriding commands for target `out/target/product/msm7627a_sku3/obj/include/libpv/getactualaacconfig.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `out/target/product/msm7627a_sku3/obj/include/libpv/getactualaacconfig.h'
build/core/base_rules.mk:105: *** Module name: libomx_amrdec_sharedlibrary contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libomx_mp3dec_sharedlibrary contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libomx_amrenc_sharedlibrary contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libopencore_net_support contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libopencore_downloadreg contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libopencore_download contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libopencore_rtspreg contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libopencore_rtsp contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libopencore_mp4localreg contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: libopencore_mp4local contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: ar6000.ko contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: abtfilt contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: drvdebugctrl contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: recEvent contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: wlan_tool contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: wmiconfig contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: athwlan221 contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: athwlan_router221 contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: athwlan_mobile221 contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: athpatch221 contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: athotp221 contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: athtcmd221 contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: athdevice221 contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: athutf221 contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: athtestflow221 contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: athdata221 contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: com.qrd.plugin.demoplugin_cu contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: com.qrd.plugin.demoplugin_cu.xml contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: WoRead_cu contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:146: user tag on app WoRead_cu at vendor/qcom/proprietary/qrdplus/QRDExtensions/DynamicComponents/res/WoRead/CU - add your app to core.mk instead
build/core/base_rules.mk:105: *** Module name: qcrilhook contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: qcrilhook.xml contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: amploader contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: media_profiles.xml contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: 01_qcomm_omx contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: TrafficMonitor contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:146: user tag on app TrafficMonitor at vendor/qcom/proprietary/qrdplus/TrafficMonitor - add your app to core.mk instead
build/core/base_rules.mk:105: *** Module name: com.qrd.plugin.feature_query contains invalid LOCAL_MODULE_TAGS
build/core/base_rules.mk:105: *** Module name: com.qrd.plugin.feature_query.xml contains invalid LOCAL_MODULE_TAGS
No private recovery resources for TARGET_DEVICE msm7627a_sku3
Install: out/host/linux-x86/bin/mkyaffs2image
out/host/linux-x86/bin/acp -fpt out/host/linux-x86/obj/EXECUTABLES/mkyaffs2image_intermediates/mkyaffs2image out/host/linux-x86/bin/mkyaffs2image
host Prebuilt: mkuserimg.sh (out/host/linux-x86/obj/EXECUTABLES/mkuserimg.sh_intermediates/mkuserimg.sh)
out/host/linux-x86/bin/acp -fpt system/extras/ext4_utils/mkuserimg.sh out/host/linux-x86/obj/EXECUTABLES/mkuserimg.sh_intermediates/mkuserimg.sh
Install: out/host/linux-x86/bin/make_ext4fs
out/host/linux-x86/bin/acp -fpt out/host/linux-x86/obj/EXECUTABLES/make_ext4fs_intermediates/make_ext4fs out/host/linux-x86/bin/make_ext4fs
make snod: ignoring dependencies
Target system fs image: out/target/product/msm7627a_sku3/system.img - yaffs2
out/host/linux-x86/bin/mkyaffs2image -f -c 4096 -s 128 out/target/product/msm7627a_sku3/system out/target/product/msm7627a_sku3/system.img
chmod a+r out/target/product/msm7627a_sku3/system.img
Target system fs image: out/target/product/msm7627a_sku3/system.img - ext4
PATH=out/host/linux-x86/bin/:/home/jdk1.6.0_37/bin::::/home/jdk1.6.0_37/bin:/home/jdk1.6.0_37/jre/bin:/home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/liujin/share/R360C/out/host/linux-x86/bin:/home/liujin/share/R360C/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin:/home/liujin/share/R360C/development/emulator/qtools:/home/liujin/share/R360C/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin:/home/liujin/share/R360C/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin out/host/linux-x86/bin/mkuserimg.sh out/target/product/msm7627a_sku3/system out/target/product/msm7627a_sku3/system.img.ext4 ext4 system 204472320
in mkuserimg.sh PATH=out/host/linux-x86/bin/:/home/jdk1.6.0_37/bin::::/home/jdk1.6.0_37/bin:/home/jdk1.6.0_37/jre/bin:/home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/liujin/share/R360C/out/host/linux-x86/bin:/home/liujin/share/R360C/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin:/home/liujin/share/R360C/development/emulator/qtools:/home/liujin/share/R360C/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin:/home/liujin/share/R360C/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin
make_ext4fs -l 204472320 -a system -s out/target/product/msm7627a_sku3/system.img.ext4 out/target/product/msm7627a_sku3/system
Creating filesystem with parameters:
Size: 204472320
Block size: 4096
Blocks per group: 32768
Inodes per group: 6240
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 49920
Block groups: 2
Reserved block group size: 15
Created filesystem with 911/12480 inodes and 47206/49920 blocks
make_ext4fs -l 204472320 -a system out/target/product/msm7627a_sku3/system.img.ext4.unsparse out/target/product/msm7627a_sku3/system
Creating filesystem with parameters:
Size: 204472320
Block size: 4096
Blocks per group: 32768
Inodes per group: 6240
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 49920
Block groups: 2
Reserved block group size: 15
Created filesystem with 911/12480 inodes and 47206/49920 blocks
chmod a+r out/target/product/msm7627a_sku3/system.img.ext4
Target system fs image for 8 bit BCH ECC: out/target/product/msm7627a_sku3/system.bchecc.img - yaffs2
out/host/linux-x86/bin/mkyaffs2image -f -c 4096 -s 160 out/target/product/msm7627a_sku3/system out/target/product/msm7627a_sku3/system.bchecc.img
chmod a+r out/target/product/msm7627a_sku3/system.bchecc.img
Target system fs image for 2K NAND: out/target/product/msm7627a_sku3/system.2knand.img - yaffs2
out/host/linux-x86/bin/mkyaffs2image -f -c 2048 -s 64 out/target/product/msm7627a_sku3/system out/target/product/msm7627a_sku3/system.2knand.img
chmod a+r out/target/product/msm7627a_sku3/system.2knand.img
size=$(for i in out/target/product/msm7627a_sku3/system.img; do stat --format "%s" "$i" | tr -d '\n'; echo +; done; echo 0); total=$(( $( echo "$size" ) )); printname=$(echo -n "out/target/product/msm7627a_sku3/system.img" | tr " " +); echo "$printname total size is $total"; img_blocksize=135168; if [ "" == "yaffs" ]; then reservedblocks=8; else reservedblocks=0; fi; twoblocks=$((img_blocksize * 2)); onepct=$(((((210862080 / 100) - 1) / img_blocksize + 1) * img_blocksize)); reserve=$(((twoblocks > onepct ? twoblocks : onepct) + reservedblocks * img_blocksize)); maxsize=$((210862080 - reserve)); if [ "$total" -gt "$maxsize" ]; then echo "error: $printname too large ($total > [210862080 - $reserve])"; false; elif [ "$total" -gt $((maxsize - 32768)) ]; then echo "WARNING: $printname approaching size limit ($total now; limit $maxsize)"; fi
out/target/product/msm7627a_sku3/system.img total size is 195043200
out/host/linux-x86/bin/mkyaffs2image -f -c 4096 -s 160 out/target/product/msm7627a_sku3/system out/target/product/msm7627a_sku3/system.bchecc.img
這句生成bchecc的system image, 為什麼-s 160這個參數是怎麼計算得出的?
之前一直有猶豫過要不要寫這篇文章,畢竟去反編譯人家的程序並不是什麼值得驕傲的事情。不過單純從技術角度上來講,掌握反編譯功能確實是一項非常有用的技能,可能平常不太會用得到,
堅果手機相信受到了很多朋友的關注,說不定就已經有不少朋友入手了。我們手機在滑動窗口的時候因為設置不同可能會導致窗口動畫縮放的速度不同,大家就就會覺得自己的手
下面通過圖文並茂的方式給大家分享下如何使用Android實現接口實信息在留言板顯示。 看到標題,顧名思義,我今天只是和大家
SurfaceHolder.Callback (2012-03-09 09:15:44) 轉載▼ 標簽: 雜談 分類: android