Using Bouncy Castle with an Android app

by fba » Sat, 28 Aug 2010 06:55:39 GMT


Sponsored Links
 Has anyone managed to use Bouncy Castle in one of their apps?   I need
to be able to do detailed manipulations of x509 certificates (generate
CSRs, generate key pairs, convert between different certificate
formats, etc.), and BC seems the best way to do that.

I have tried putting the bcprov library in to my project, and then
just using BC like I normally would.   When the app is installed, a
large number of "DexOpt: not verifying"... messages pop up.  I suspect
this is because BC is already used in Android.  However, when I make
calls to certain methods in certain classes, I get errors like this :

java.lang.ClassCastException: org.bouncycastle.asn1.DERSequence


I suspect this is because of ambiguity between the classes that are
included in the OS, and the ones in my project.

Is there any way to get around this?  Maybe tell my program to use the
BC library that is included with it and ignore the one included in the
OS?

Or, could I get around this by making sure that I am using the same
version that is included in the OS?   (Or, in a nutshell, is the
ClassCastException likely to be a problem because the parameters
defined for the same method names don't match?)

Thanks for any help!

--



Using Bouncy Castle with an Android app

by Frank Weiss » Sat, 28 Aug 2010 07:17:17 GMT


 I suppose you might try asking the folks at BouncyCastle to provide an
Andorid/Dalvik/Harmony version or become a committer on that project.
(Damnit! I'm starting to see some merit to the Oracle vs
Google/Android lawsuit)

--


Sponsored Links


Using Bouncy Castle with an Android app

by Fabrizio Giudici » Sat, 28 Aug 2010 07:29:08 GMT


 -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



I don't fully understand what's happening to you because more details
are needed, and generally speaking I think that Android would prevent
you from embedding in your app classes which are already present in
the runtime, but your problem seems to definitely fall within this area.

One possible solution (but it's about the symptom, not necessarily the
real cause and thus not necessarily the best solution) is to use a
static bytecode manipulator that renames packages in a jar. I use
Maven and there is the maven-shade-plugin, but I'm sure similar tools
exist for Ant. The basic idea is that if you have L.jar containing
com.acme.MyClass and A.jar referring to it, with the tool you can
directly feed in L.jar and A.jar and achieve L2.jar and A2.jar where
both the original class and its references have been replaced by
something such as foo.bar.com.acme.MyClass. This works for me (not for
BouncyCastle but for other stuff). With this trick, your source files
stay as they are, but the binary code gets fixed before being
converted to dex.

- -- 
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
java.net/blog/fabriziogiudici - www.tidalwave.it/people
fabrizio.giud...@tidalwave.it
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla -  http://enigmail.mozdev.org/ 

iEYEARECAAYFAkx4SjMACgkQeDweFqgUGxfolwCfeStWh31mcmgzcRdjkcbCNA+Y
qOsAn0Twzw2rUyRDwSh5hT2UKyUD/dzK
=zjwJ
-----END PGP SIGNATURE-----

--



Using Bouncy Castle with an Android app

by joebowbeer » Tue, 31 Aug 2010 05:49:20 GMT


 If there's a conflict at runtime then you may not need to include the
BC classes yourself.  Just add BC to your bootclasspath for building.
Seems a bit fragile, though, even if it works...

Can you access the needed functionality via the java.security
framework?

Joe




--



Using Bouncy Castle with an Android app

by joebowbeer » Tue, 31 Aug 2010 06:02:17 GMT


 By the way, bouncycastle is currently in libcore:

 http://android.git.kernel.org/?p=platform/libcore.git ;a=tree;f=security





--



Using Bouncy Castle with an Android app

by joebowbeer » Tue, 31 Aug 2010 09:09:31 GMT


 By the way, the bouncycastle sources are currently in libcore:

 http://android.git.kernel.org/?p=platform/libcore.git ;a=tree;f=security




--



Using Bouncy Castle with an Android app

by Robert Nekic » Tue, 31 Aug 2010 21:46:23 GMT


 I'm using bcprov-jdk16-145 in my app and it works fine.  I also see
the DexOpt messages in logcat and I get some build warnings from it
(Ignoring InnerClasses attribute for an anonymous inner class that
doesn't come with an associated EnclosingMethod attribute. (This class
was probably produced by a broken compiler.)

Regardless, it ultimately builds and appears to work properly.  I'm
using it for some x509 stuff but I haven't encountered any
ClassCastExceptions.

I'd love to remove it if this stuff is actually available in Android
somewhere since the jar adds quite a lot of bulk to my app.






--



Using Bouncy Castle with an Android app

by fba » Wed, 01 Sep 2010 05:49:25 GMT


 (Robert Nekic) Have you tried to generate a CSR with BC in your app?
I seem to be able to do a lot of different certificate related things,
but hit the ClassCastException when I try to generate a CSR.

The other route I have looked at is CoDec, but the license listed on
SourceForge doesn't match the license in the code.   I have contacted
the developers who have said they will get back to me, but I am
looking for a mitigation route if the license doesn't pan out how I
would hope.

Does anyone know of any other libraries that would work for
certificate manipulation?   The java.security.cert classes don't have
any obvious way to generate a CSR, so I am not sure that will work.
Also, I don't need to be able to actually generate SSL sessions using
the certificates, since they are fed in to another program that
handles all of that.  I just need to be able to work with the
certificates.





--



Other Threads

1. System.img Load Problem

Hello Dears,

I am new to android development and also first time working on Linux.
I am having a very strange problem. I googled the problem but not
found any solutions.

I am trying to update Android Package from SD Card. For this purpose i
have successfully updated u-boot.bin, zimage, ramdisk-uboot.img and
userdata.img. Now when i try to update system.img from sd card its
updates normal without any error. but when i boot it struck. Please
guid me i am pasting my dnw messages here so plz take a look and help

U-Boot 1.3.4 (Aug 17 2010 - 16:42:45) for SMDK6410



CPU:     s3c6...@666mhz

         Fclk = 666MHz, Hclk = 133MHz, Pclk = 66MHz, Uclk = 48MHz,
Serial = CLKUART (ASYNC Mode)

Board:   SMDK6410

DRAM:    256 MB

Flash:   0 kB

============= s3c_lcd_logo 6666===================

======== SYSC_GetClkInform ==============

g_APLL=666, g_MPLL=266, g_ARMCLK=666, g_HCLK=133, g_PCLK=66

======= Display_TD028TTEC1 ==========

============ LCD_InitTD028TTEC1_RGB ==============

========= LCD_InitDISPC ==========

===== uClkVal = 9

 ===== uClkDir=1

===uHSz=800, uVSz=480

======= LCD_Backligh_On =========

OneNAND: *** Warning - No valid OneNAND BBM data found.

256 MB

*** Warning - using default environment


In:      serial

Out:     serial

Err:     serial

Hit any key to stop autoboot:  0


OneNAND read: device 0 offset 600000, size 300000  addr 50008000...
3145728 bytes read: OK


OneNAND read: device 0 offset 900000, size 100000  addr 50800000...
1048576 bytes read: OK

Boot with zImage

do not support this address : 50008000

get_format

-------- 1 --------

## Loading init Ramdisk from Legacy Image at 50800000 ...

   Image Name:   ramdisk

   Created:      2010-08-30   5:33:25 UTC

   Image Type:   ARM Linux RAMDisk Image (uncompressed)

   Data Size:    160426 Bytes = 156.7 kB

   Load Address: 50800000

   Entry Point:  50800040

   Verifying Checksum ... OK


Starting kernel ...


Uncompressing
Linux.................................................................................................................................
done, booting the kernel.
[    0.000000] Linux version 2.6.29 (r...@guo-desktop) (gcc version
4.3.1 (for S3C64XX Samsung Electronics AP Development Team) ) #234 Sat
Aug 21 00:27:42 HKT 2010
[    0.000000] CPU: ARMv6-compatible processor [410fb766] revision 6
(ARMv7), cr=00c5387f
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing
instruction cache
[    0.000000] Machine: SMDK6410
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Ignoring unrecognised tag 0x41001099
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] CPU S3C6410 (id 0x36410101)
[    0.000000] S3C Clocks, (c) 2004 Simtec Electronics
[    0.000000] S3C64XX: PLL settings, A=666000000, M=266000000,
E=48000000
[    0.000000] S3C64XX: HCLKx2=266000000, HCLK=133000000,
PCLK=66500000
[    0.000000] mout_apll: source is fout_apll (1), rate is 666000000
[    0.000000] mout_epll: source is fout_epll (1), rate is 48000000
[    0.000000] mout_mpll: source is mpll (1), rate is 266000000
[    0.000000] mmc_bus: source is dout_mpll (1), rate is 133000000
[    0.000000] mmc_bus: source is dout_mpll (1), rate is 133000000
[    0.000000] mmc_bus: source is dout_mpll (1), rate is 133000000
[    0.000000] usb-host-bus: source is mout_epll (0), rate is 48000000
[    0.000000] lcd: source is dout_mpll (1), rate is 133000000
[    0.000000] uclk1: source is dout_mpll (1), rate is 33250000
[    0.000000] spi_epll: source is mout_epll (0), rate is 48000000
[    0.000000] spi_epll: source is mout_epll (0), rate is 48000000
[    0.000000] sclk_audio0: source is mout_epll (0), rate is 48000000
[    0.000000] sclk_audio1: source is mout_epll (0), rate is 48000000
[    0.000000] sclk_audio2: source is mout_epll (0), rate is 48000000
[    0.000000] irda-bus: source is mout_epll (0), rate is 48000000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 51816
[    0.000000] Kernel command line: console=ttySAC0,115200
[    0.000000] PID hash table entries: 1024 (order: 10, 4096 bytes)
[    0.000401] Console: colour dummy device 80x30
[    0.000526] console [ttySAC0] enabled
[    0.180602] Dentry cache hash table entries: 32768 (order: 5,
131072 bytes)
[    0.189168] Inode-cache hash table entries: 16384 (order: 4, 65536
bytes)
[    0.213717] Memory: 204MB = 204MB total
[    0.213775] Memory: 201728KB available (3684K code, 917K data, 164K
init)
[    0.219485] Calibrating delay loop... 665.19 BogoMIPS (lpj=1662976)
[    0.330469] Mount-cache hash table entries: 512
[    0.332558] CPU: Testing write buffer coherency: ok
[    0.339705] net_namespace: 520 bytes
[    0.342419] NET: Registered protocol family 16
[    0.346651] ----------------------power on ----- power key
[    0.366029] S3C6410 Power Management, (c) 2008 Samsung Electronics
[    0.366756] S3C6410: Initialising architecture
[    0.371232] S3C DMA-pl080 Controller Driver, (c) 2006-2007 Samsung
Electronics
[    0.378250] Total 32 DMA channels will be initialized.
[    0.425349] bio: create slab <bio-0> at 0
[    0.434820] cfg80211: Calling CRDA to update world regulatory
domain
[    0.436054] cfg80211: calling CRDA failed - unable to update world
regulatory domain, using static definition
[    0.452854] NET: Registered protocol family 2
[    0.453192] IP route cache hash table entries: 2048 (order: 1, 8192
bytes)
[    0.459602] TCP established hash table entries: 8192 (order: 4,
65536 bytes)
[    0.466507] TCP bind hash table entries: 8192 (order: 3, 32768
bytes)
[    0.472400] TCP: Hash tables configured (established 8192 bind
8192)
[    0.478245] TCP reno registered
[    0.481861] NET: Registered protocol family 1
[    0.486601] checking if image is initramfs... it is
[    0.564879] Freeing initrd memory: 156K
[    0.565987] S3C PWM Driver, (c) 2006-2007 Samsung Electronics
[    0.569283] NetWinder Floating Point Emulator V0.97 (double
precision)
[    0.587642] ashmem: initialized
[    0.589232] yaffs Aug 19 2010 07:07:05 Installing.
[    0.590190] msgmni has been set to 395
[    0.601531] alg: No test for stdrng (krng)
[    0.601736] io scheduler noop registered
[    0.603903] io scheduler anticipatory registered (default)
[    0.609520] io scheduler deadline registered
[    0.613840] io scheduler cfq registered
[    0.618318] S3C_LCD clock got enabled :: 133.000 Mhz
[    0.630081] LCD TYPE :: LTE480WV will be initialized
[    0.757564] Window[0] - FB1: map_video_memory: clear
ff000000:00177000
[    0.764450]             FB1: map_video_memory: dma=5c600000
cpu=ff000000 size=00177000
[    0.766786] Window[0] - FB2: map_video_memory: clear
ff0bb800:000bb800
[    0.773288]             FB2: map_video_memory: dma=5c6bb800
cpu=ff0bb800 size=000bb800
[    0.796850] Console: switching to colour frame buffer device 100x30
[    0.809016] fb0: s3cfb frame buffer device
[    0.820874] Window[1] - FB1: map_video_memory: clear
ff177000:00177000
[    0.828509]             FB1: map_video_memory: dma=5c800000
cpu=ff177000 size=00177000
[    0.830840] Window[1] - FB2: map_video_memory: clear
ff232800:000bb800
[    0.837346]             FB2: map_video_memory: dma=5c8bb800
cpu=ff232800 size=000bb800
[    0.846006] fb1: s3cfb frame buffer device
[    0.849821] SMDK board LCD Backlight Device Driver (c) 2008 Samsung
Electronics
[    0.857452] Registered led device: lcd-backlight
[    1.483732] S3C64XX ADC driver, (c) 2007 Samsung Electronics
[    1.483971] ADC platform data read
[    1.488384] S3C64XX ADC driver successfully probed !
[    1.492944] s3c64xx-uart.0: s3c_serial0 at MMIO 0x7f005000 (irq =
16) is a S3C64XX
[    1.501548] s3c64xx-uart.1: s3c_serial1 at MMIO 0x7f005400 (irq =
20) is a S3C64XX
[    1.508932] s3c64xx-uart.2: s3c_serial2 at MMIO 0x7f005800 (irq =
24) is a S3C64XX
[    1.516620] s3c64xx-uart.3: s3c_serial3 at MMIO 0x7f005c00 (irq =
28) is a S3C64XX
[    1.546370] brd: module loaded
[    1.557657] loop: module loaded
[    1.558363] nbd: registered device at major 43
[    1.585368] pmem: 1 init
[    1.586870] pmem_render: 0 init
[    1.588253] pmem_stream: 0 init
[    1.589812] pmem_stream2: 0 init
[    1.593212] pmem_preview: 0 init
[    1.596351] pmem_picture: 0 init
[    1.599488] pmem_jpeg: 0 init
[    1.603085] PPP generic driver version 2.4.2
[    1.607009] PPP Deflate Compression module registered
[    1.610524] PPP BSD Compression module registered
[    1.616249] PPP MPPE Compression module registered
[    1.619821] NET: Registered protocol family 24
[    1.624412] PPPoL2TP kernel driver, V1.0
[    1.628283] STRIP: Version 1.3A-STUART.CHESHIRE (unlimited
channels)
[    1.634568] libertas_sdio: Libertas SDIO driver
[    1.639038] libertas_sdio: Copyright Pierre Ossman
[    1.644423] Linux video capture interface: v2.00
[    1.650942]  S3C G2D  Init : Done
[    1.651634] S3C G3D Driver, (c) 2007-2009 Samsung Electronics
[    1.658859] s3c_g3d version : 0x1050000
[    1.661288] G3D_RESERVED_MEM_SIZE : 32 MB
[    1.665221] G3D_CHUNK_SIZE : 2 MB
[    1.668450] G3D_CHUNK_NUM : 16 (UI_CHUNK:5)
[    1.672661] 0 th virt_addr = 0xce000000, phy_addr = 0x5e000000
[    1.678465] 1 th virt_addr = 0xce200000, phy_addr = 0x5e200000
[    1.684268] 2 th virt_addr = 0xce400000, phy_addr = 0x5e400000
[    1.690087] 3 th virt_addr = 0xce600000, phy_addr = 0x5e600000
[    1.695885] 4 th virt_addr = 0xce800000, phy_addr = 0x5e800000
[    1.701716] 5 th virt_addr = 0xcea00000, phy_addr = 0x5ea00000
[    1.707513] 6 th virt_addr = 0xcec00000, phy_addr = 0x5ec00000
[    1.713320] 7 th virt_addr = 0xcee00000, phy_addr = 0x5ee00000
[    1.719121] 8 th virt_addr = 0xcf000000, phy_addr = 0x5f000000
[    1.724933] 9 th virt_addr = 0xcf200000, phy_addr = 0x5f200000
[    1.730743] 10 th virt_addr = 0xcf400000, phy_addr = 0x5f400000
[    1.736640] 11 th virt_addr = 0xcf600000, phy_addr = 0x5f600000
[    1.742530] 12 th virt_addr = 0xcf800000, phy_addr = 0x5f800000
[    1.748426] 13 th virt_addr = 0xcfa00000, phy_addr = 0x5fa00000
[    1.754321] 14 th virt_addr = 0xcfc00000, phy_addr = 0x5fc00000
[    1.760217] 15 th virt_addr = 0xcfe00000, phy_addr = 0x5fe00000
[    1.766779] S3C6400 MFC Driver, (c) 2007 Samsung Electronics
[    1.776085] S3C6400 MFC driver module init OK.
[    1.776142] S3C PostProcessor Driver v3.12, (c) 2009 Samsung
Electronics
[    1.784878] S3C JPEG Driver, (c) 2007 Samsung Electronics
[    1.790433] S3C CMM Driver, (c) 2008 Samsung Electronics
[    1.796176] Muxed OneNAND 256MB 1.8V 16-bit (0x40)
[    1.870080] *** Warning - No valid OneNAND BBM data found.
[    1.870146] Creating 7 MTD partitions on "onenand":
[    1.874802] 0x0000000c0000-0x000000100000 : "misc"
[    1.883919] 0x000000100000-0x000000600000 : "recovery"
[    1.898412] 0x000000600000-0x000000900000 : "kernel"
[    1.908022] 0x000000900000-0x000000a00000 : "ramdisk"
[    1.913334] 0x000000a00000-0x000005100000 : "system"
[    2.064050] 0x000005100000-0x000009000000 : "cache"
[    2.198282] 0x000009000000-0x000010000000 : "userdata"
[    2.434734] [S3C USB-OTG MODE] : DMA
[    2.437233] [ADB_UMS] string_dev = S3C6410_Android
[    2.437546] mass_storage_function_add
[    2.443343] android_usb gadget: Number of LUNs=1
[    2.445903] adb_function_add
[    2.449902] android_usb gadget: Android Composite USB, version: Aug
19 2010
[    2.455740] android_usb gadget: android_usb ready
[    2.460329] Registered gadget driver 'android_usb'
[    2.467340] mice: could not register psaux device, error: -16
[    2.470837] mice: PS/2 mouse device common for all mice
[    2.476090]
[    2.476103] +++CheckCryptoSecurity
[    2.476111]
[    2.476115]
[    2.483821] GPIO-149 autorequested
[    2.487180] GPIO-148 autorequested
[    2.525353] --------------------------
[    2.525368]
[    2.525372]
[    2.525376]
[    2.525380]
[    2.525384]
[    2.525388] CryptoSecurityPASSES<6>
[    2.533945] --------------------------<6>input: s3c-keypad as /
class/input/input0
[    2.543052] s3c-keypad Initialized
[    2.545869] S3C GPIO Keypad Driver
[    2.548874] S3C TouchScreen got loaded successfully : 12 bits
[    2.555770] input: S3C TouchScreen as /class/input/input1
[    2.563241] ====== bma150_sensor_init
[    2.564891] input: bma150-sensor as /class/input/input2
[    2.591031] BMA150 Sensor I2C 3 Wire Mode [rd = 0x00]
[    2.592728] BMA150 Sensor Chip version [0.0]
[    2.596487] BMA150 Sensor Chip ID [0]
[    2.600214] HardKernel-C100 BMA150 Sensor driver initialized!! Ver
1.0
[    2.605771] S3C24XX RTC, (c) 2004,2006 Simtec Electronics
[    2.610623] s3c2410_rtc: tick irq 34, alarm irq 92
[    2.615361] s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
[    2.624143] s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as
rtc0
[    2.628021] s3c_bat_init
[    2.630199] smdk6410-battery smdk6410-battery: s3c_bat_probe
[    2.638423] ======== OK to register power supply
[    2.640426] ======== s3c_cable_changed_isr
[    2.644763] ======== POWER_SUPPLY_HEALTH_OVERHEAT
[    2.649487] smdk6410-battery smdk6410-battery:
s3c_cable_check_status: Unhealth battery state!
[    2.659069] smdk6410-battery smdk6410-battery:
s3c_cable_check_status: Unhealth battery state!
[    2.667541] sdhci: Samsung S3C6410 SD/MMC driver
[    2.671253] s3c-sdhci s3c-sdhci.1: clock source 0: hsmmc (133000000
Hz)
[    2.677603] s3c-sdhci s3c-sdhci.1: clock source 1: hsmmc (133000000
Hz)
[    2.684148] s3c-sdhci s3c-sdhci.1: clock source 2: hsmmc (133000000
Hz)
[    2.691552] Registered led device: mmc0
[    2.695250] mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.1]
using DMA
[    2.701689] s3c-sdhci s3c-sdhci.2: clock source 0: hsmmc (133000000
Hz)
[    2.708110] s3c-sdhci s3c-sdhci.2: clock source 1: hsmmc (133000000
Hz)
[    2.714672] s3c-sdhci s3c-sdhci.2: clock source 2: hsmmc (133000000
Hz)
[    2.722110] Registered led device: mmc1
[    2.735933] mmc1: SDHCI controller on samsung-hsmmc [s3c-sdhci.2]
using DMA
[    2.742229] logger: created 64K log 'log_main'
[    2.743373] logger: created 256K log 'log_events'
[    2.747605] logger: created 64K log 'log_radio'
[    2.752799] Advanced Linux Sound Architecture Driver Version
1.0.18a.
[    2.763520] No device for DAI s3c64xx-ac97
[    2.764426] WM9713/WM9714 SoC Audio Codec 0.15
[    2.768136] asoc: AC97 HiFi <-> s3c64xx-ac97 mapping ok
[    2.867202] ALSA device list:
[    2.867248]   #0: SMDK6400 (WM9713)
[    2.868251] IPv4 over IPv4 tunneling driver
[    2.873466] GRE over IPv4 tunneling driver
[    2.877751] TCP cubic registered
[    2.879462] NET: Registered protocol family 17
[    2.884236] 802.1Q VLAN Support v1.8 Ben Greear
<gree...@candelatech.com>
[    2.890716] All bugs added by David S. Miller <da...@redhat.com>
[    2.896770] lib80211: common routines for IEEE802.11 drivers
[    2.902389] VFP support v0.3: implementor 41 architecture 1 part 20
variant b rev 5
[    2.914557] s3c2410-rtc s3c2410-rtc: setting system clock to
2000-10-30 13:05:32 UTC (972911132)
[    2.918851] Freeing init memory: 164K
[    2.931694] [s3c_udc_cable_connect]
[    2.931753] android_usb gadget: high speed config #1: UMS Only (Not
debugging mode)
[    3.178390] mmc0: new high speed SD card at address b368
[    3.182870] mmcblk0: mmc0:b368 5     238 MiB
[    3.183316]  mmcblk0: p1
[    4.198398] init: cannot open '/initlogo.rle'
[    4.231340] yaffs: dev is 32505860 name is "mtdblock4"
[    4.231389] yaffs: passed flags ""
[    4.234231] yaffs: Attempting MTD mount on 31.4, "mtdblock4"
[    4.690920] Partially written block 415 detected
[    4.691530] yaffs tragedy: Bad object type, -134250497 != 15, for
object 268173311 at chunk 26622 during scan
[    4.701151] yaffs tragedy: Bad object type, -16908289 != 15, for
object 201064447 at chunk 26619 during scan
[    4.710586] yaffs tragedy: Bad object type, -33281 != 15, for
object 268435199 at chunk 26617 during scan
[    4.720101] yaffs tragedy: Bad object type, -20545 != 15, for
object 268435455 at chunk 26615 during scan
[    4.729845] yaffs tragedy: Bad object type, -1 != 15, for object
266305535 at chunk 26613 during scan
[    4.738506] yaffs tragedy: Bad object type, -136314882 != 13, for
object 260045821 at chunk 26612 during scan
[    4.748391] yaffs tragedy: Bad object type, -9 != 15, for object
268423125 at chunk 26611 during scan
[    4.757581] yaffs tragedy: Bad object type, -1073741921 != 13, for
object 268435454 at chunk 26610 during scan
[    4.767544] yaffs tragedy: Bad object type, -1025 != 14, for object
268434173 at chunk 26609 during scan
[    4.776991] yaffs tragedy: Bad object type, -257 != 13, for object
234881023 at chunk 26608 during scan
[    4.787300] yaffs: dev is 32505860 name is "mtdblock4"
[    4.790908] yaffs: passed flags "xattr,check=no"
[    4.795463] yaffs: Bad mount option "xattr"
[    4.801929] yaffs: dev is 32505862 name is "mtdblock6"
[    4.804701] yaffs: passed flags ""
[    4.808146] yaffs: Attempting MTD mount on 31.6, "mtdblock6"
[    5.546647] yaffs_read_super: isCheckpointed 0
[    5.551865] yaffs: dev is 32505861 name is "mtdblock5"
[    5.551914] yaffs: passed flags ""
[    5.554757] yaffs: Attempting MTD mount on 31.5, "mtdblock5"
[    5.978809] yaffs_read_super: isCheckpointed 0
[    5.992999] init: cannot find '/system/bin/sh', disabling 'console'
[    5.993706] init: cannot find '/system/bin/servicemanager',
disabling 'servicemanager'
[    6.003380] init: cannot find '/system/bin/vold', disabling 'vold'
[    6.007836] init: cannot find '/system/bin/de{*filter*}d', disabling
'de{*filter*}d'
[    6.014881] init: cannot find '/system/bin/rild', disabling 'ril-
daemon'
[    6.021639] init: cannot find '/system/bin/app_process', disabling
'zygote'
[    6.028477] init: cannot find '/system/bin/mediaserver', disabling
'media'
[    6.035316] init: cannot find '/system/bin/dbus-daemon', disabling
'dbus'
[    6.042077] init: cannot find '/system/bin/installd', disabling
'installd'
[    6.048926] init: cannot find '/system/bin/keystore', disabling
'keystore'
[    6.061653] [adb_function_enable] adb_function => (enabled)


Regards
Nomi

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website:  http://www.***.com/ 

2. Android Dual Screens

Folks,

I wanted to connect two displays to Android - One through HDMI TV and
other one status LCD panel.

HDMI port will show the android desktop screen and other appliactions.
Status LCD will only show device notifications like Power ON, Power
OFF, Bluetooth ON, Ethernet ON etc. Can anyone please give me some
pointers on how to do this?

-- 

3. Screen shot of the canvas screen

4. Please help --- Delay in the text being displayed in the browser proxy authentication dialog box

5. PNG file with transparent drop shadow that appears as solid

6. EditText animation onTouch - Custom animation class or ViewSwitcher

7. Android emulator not booting with customized kernel image