binder: 140:140 transaction failed 29189, size 0-0

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

binder: 140:140 transaction failed 29189, size 0-0

5,546 Views
albert_zhang
Contributor II

Hi nxp,

I have a big trouble, that's a long story. So I will show you all my steps:

1.I bought an i.mx6q-sd board, and there is a sdcard in it(pictute one).

2.I follow Android_User's_Guide.pdf, download and build Android 4.4.3_2.0.0 image, i wanna download the images to sdcard.

    Here are my commands:

        $source build/envsetup.sh

        $lunch sabresd_6dq-eng

        $make BUILD_TARGET_DEVICE=sd -j16

3.And then i follow the Android_User's_Guide section 4.1.1, to burn the images(u-boot-imx6q.imx, boot-imx6q.img, revovery-imx6q.img, system.img) to the sd.
    Here are my commonds:

        $ sudo umount /dev/sdb*

        $ sudo chmod +x ./device/fsl/common/tools/fsl-sdcard-partition.sh

        $ sudo ./device/fsl/common/tools/fsl-sdcard-partition.sh -f imx6q /dev/sdb

4.And then, i put the sd into the SD3, supply the power, the boot mode(SW6) is right but it didn't work.

5.I use dd commands to reburn the images, as follows:
    $sudo dd if=u-boot-imx6q.imx of=/dev/sdb bs=1K seek=1; sync
    $sudo dd if=boot.img of=/dev/sdb1; sync
    $sudo dd if=system.img of=/dev/sdb5; sync
    $sudo dd if=recovery.img of=/dev/sdb2; sync

I repeat step4 again, u-boot boot normally but i got an error:
/*-----------------log start-------------------*/
Hit any key to stop autoboot: 0

booti mmc1

booti: bad boot image magic

fastboot is in init......USB Mini b cable Connected!

fastboot initialized

USB_SUSPEND
/*-----------------log end-------------------*/

It's similar to these questions:
    https://community.nxp.com/thread/436561
    https://community.nxp.com/thread/428699


6.And then i download "android_KK4.4.3_2.0.0-ga_tools.tar.gz" file on my Windows host, i copy the mksdcard.sh to my Ubuntu 16.04 host, i use


$sudo ./mksdcard /dev/sdb
1+0 recods in
1+0 recods out
1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00825365 s, 124 kB/s
sfdisk: unsupport unit 'M'


7.And then, i put the sd into SD3, and change the SW6 to MFGTools Download mode, i copy the images to my Windows host, i double click the "mfgtool2-android-mx6q-sabresd-sd.vbs" and Click the "Start" button, the mfgtool shows burn successed.I can show you the MFGTool log.

8.I change the SW6 to sdcard boot mode. And i got these errors, these are parts of the logs:
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCIATH3K protocol initialized
usbcore: registered new interface driver btusb
cpuidle: using governor ladder
cpuidle: using governor menu
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc1: no vqmmc regulator found
mmc1: no vmmc regulator found
mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
mmc2: no vqmmc regulator found
mmc2: no vmmc regulator found
mmc2: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA
mmc3: no vqmmc regulator found
mmc3: no vmmc regulator found
mmc2: new high speed SDHC card at address aaaa
mmc3: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA
Galcore version 5.0.11.25762
mmcblk2: mmc2:aaaa SS08G 7.40 GiB
mmcblk2: p1 p2 p3 < p5 p6 p7 p8 > p4
mmcblk2: p4 size 13344768 extends beyond EOD, truncated
mmc3: unrecognised EXT_CSD revision 7
mmc3: error -22 whilst initialising MMC card
mmc3: unrecognised EXT_CSD revision 7
mmc3: error -22 whilst initialising MMC card
mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
mxc_asrc 2034000.asrc: mxc_asrc registered
mxc_vpu 2040000.vpu: VPU initialized
hidraw: raw HID events driver (C) Jiri Kosina
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
ashmem: initialized
logger: created 256K log 'log_main'
logger: created 256K log 'log_events'
logger: created 256K log 'log_radio'
logger: created 256K log 'log_system'
usbcore: registered new interface driver snd-usb-audio
mmc3: unrecognised EXT_CSD revision 7
mmc3: error -22 whilst initialising MMC card
wm8962 0-001a: customer id 0 revision D
fsl-hdmi-dai hdmi_audio.17: failed to probe. Load HDMI-video first.
fsl-hdmi-dai: probe of hdmi_audio.17 failed with error -12
input: WM8962 Beep Generator as /devices/soc0/soc.1/2100000.aips-bus/21a0000.i2c/i2c-0/0-001a/input/input4
imx-wm8962 sound.28: wm8962 <-> 202c000.ssi mapping ok
imx-audio-hdmi sound-hdmi.29: initialize HDMI-audio failed. load HDMI-video first!
NET: Registered protocol family 26
u32 classifier
Actions configured
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (15958 buckets, 63832 max)
ctnetlink v0.93: registering with nfnetlink.
NF_TPROXY: Transparent proxy support initialized, version 4.1.0
NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
xt_time: kernel timezone is -0000
ip_tables: (C) 2000-2006 Netfilter Core Team
arp_tables: (C) 2002 David S. Miller
TCP: cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 10
mip6: Mobile IPv6
ip6_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 17
NET: Registered protocol family 15
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
mmc3: unrecognised EXT_CSD revision 7
mmc3: error -22 whilst initialising MMC card
can: netlink gateway (rev 20130117) max_hops=1
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: BNEP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Bluetooth: HIDP socket layer initialized
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
VGEN1: disabling
SWBST: disabling
SW4: disabling
wm8962-supply: disabling
usb_otg_vbus: disabling
regulator-dummy: disabling
imx mcc test is registered.
file system registered
android_usb gadget: Mass Storage Function, version: 2009/09/11
android_usb gadget: Number of LUNs=1
lun0: LUN: removable file: (no medium)
android_usb gadget: android_usb ready
input: gpio-keys.27 as /devices/soc0/gpio-keys.27/input/input5
snvs_rtc 20cc034.snvs-rtc-lp: setting system clock to 1970-01-01 00:00:01 UTC (1)
ALSA device list:
#0: wm8962-audio
Freeing unused kernel memory: 340K (80e52000 - 80ea7000)
SELinux: Permission attach_queue in class tun_socket not defined in policy.
SELinux: the above unknown classes and permissions will be denied
type=1403 audit(1.770:2): policy loaded auid=4294967295 ses=4294967295
SELinux: Loaded policy from /sepolicy
type=1404 audit(1.790:3): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295
init (1): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj instead.
init: /dev/hw_random not found
keychord: using input dev gpio-keys.27 for fevent
init: cannot open '/initlogo.rle'
Console: switching to colour dummy device 80x30
fs_mgr: Cannot mount filesystem on /dev/block/mmcblk3p5 at /system
init: fs_mgr_mount_all returned an error
init: /dev/hw_random not found
init: Unable to open persistent property directory /data/property errno: 2
rfkill: BT RF going to : off
init: cannot find '/system/bin/sh', disabling 'console'
type=1400 audit(23.970:4): avc: denied { entrypoint } for pid=140 comm="init" path="/sbin/healthd" dev="rootfs" ino=152 scontext=u:r:healthd:s0 tcontext=u:object_r:rootfs:s0 tclass=file permissive=1
healthd: BatteryTemperaturePath not found
healthd: BatteryTechnologyPath not found
binder: 140:140 transaction failed 29189, size 0-0
init: cannot find '/system/bin/servicemanager', disabling 'servicemanager'
init: cannot find '/system/bin/vold', disabling 'vold'
init: cannot find '/system/bin/netd', disabling 'netd'
init: cannot find '/system/bin/debuggerd', disabling 'debuggerd'
init: cannot find '/system/bin/surfaceflinger', disabling 'surfaceflinger'
init: cannot find '/system/bin/app_process', disabling 'zygote'
init: cannot find '/system/bin/drmserver', disabling 'drm'
init: cannot find '/system/bin/mediaserver', disabling 'media'
init: cannot find '/system/bin/installd', disabling 'installd'
init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
init: cannot find '/system/bin/keystore', disabling 'keystore'
init: cannot find '/system/bin/rild', disabling 'ril-daemon'
init: Unable to write persistent property to temp file /data/property/.temp.xdpwks errno: 2
init: Unable to write persistent property to temp file /data/property/.temp.TwdFpB errno: 2
init: using deprecated syntax for specifying property 'ro.serialno', use ${name} instead
init: using deprecated syntax for specifying property 'ro.product.manufacturer', use ${name} instead
init: property 'ro.product.manufacturer' doesn't exist while expanding '$ro.product.manufacturer'
init: cannot expand '$ro.product.manufacturer' while writing to '/sys/class/android_usb/android0/iManufacturer'
init: using deprecated syntax for specifying property 'ro.product.model', use ${name} instead
init: property 'ro.product.model' doesn't exist while expanding '$ro.product.model'
init: cannot expand '$ro.product.model' while writing to '/sys/class/android_usb/android0/iProduct'
init: property 'sys.powerctl' doesn't exist while expanding '${sys.powerctl}'
init: powerctl: cannot expand '${sys.powerctl}'
init: property 'sys.sysctl.extra_free_kbytes' doesn't exist while expanding '${sys.sysctl.extra_free_kbytes}'
init: cannot expand '${sys.sysctl.extra_free_kbytes}' while writing to '/proc/sys/vm/extra_free_kbytes'
android_usb: already disabled
read descriptors
read strings
mtp_bind_config
binder: 140:140 transaction failed 29189, size 0-0
binder: 140:140 transaction failed 29189, size 0-0
binder: 140:140 transaction failed 29189, size 0-0
binder: 140:140 transaction failed 29189, size 0-0
binder: 140:140 transaction failed 29189, size 0-0
binder: 140:140 transaction failed 29189, size 0-0
binder: 140:140 transaction failed 29189, size 0-0

And the system couldn't boot normally, i have never modified the Android 4.4.3_2.0.0 source code, so are these source code problem? Or my operations problem? Or my sd partition is bad? I think i follow the Android_User's_Guide, download the source code and build it, it shouldn't be like this, so i really don't how to solve this problem.

Hope get your answers.


0 Kudos
2 Replies

3,236 Views
albert_zhang
Contributor II

I think my problem is my sd partition. but i don't how to decide the partition size

0 Kudos

3,236 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

I apologize for the delay.

You are having a problem with the way you are using the script or downloading your image to the SDcard.

If you want to use the fsl-sdcard-partition.sh script you need to have all the images in the same folder where is located the script and the permissions that the script needs are as below:

$ sudo chmod a+x fsl-sdcard-partition.sh

If you want to download the image to the already created partitions, the system image needs to be a raw image. To make it a raw image run the below code before downloading the system image to the SDcard.

$ sudo simg2img system.img system_raw.img

Finally just copy the created image to the partition block 5.

If the above did not work. Try setting the below u-boot parameters:

U-Boot > setenv bootargs console=ttymxc0,115200 androidboot.console=ttymxc0 consoleblank=0
vmalloc=400M init=/init video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb1:off
video=mxcfb2:off video=mxcfb3:off androidboot.hardware=freescale cma=384M
U-Boot > saveenv

Hope this information can help you.

Best Regards,

Diego.

0 Kudos