Hi Henrik, I was just trying to see what others are using to perform upgrade on devices that aren't cell-phones and so on..
My device holds the Boot loaders (X-Loader and U-Boot) in NAND, the Kernel and Android RFS are stored on an eMMC that contains 2 partitions (FAT32 and EXT3). Our client has asked us to allow for an upgraded Android image to be stored on a USB Flash drive. One the flash drive is inserted into the device, an application would be run to transfer do the upgrade. We can't upgrade Android while it is actively running and that left us to wonder how Android on cell-phone do the updates when OTA isn't an option. That led us down the path of the manual upgrade described on a variety of phones using the SD card and the update.zip file. But the way to trigger this upgrade involves turning the phone on with a particular key pressed and then using a D-pad to scroll to a specific option and then choosing to do the upgrade. We basically want to mimic all of that and set the trigger for the upgrade or something and then reboot the device which will, hopefully, cause Android to do the upgrade and end up booting into the new image.. We are basically open to any scheme possible with the knowledge that it needs to be done from an Android application and a USB flash drive.. Regards -- Ashwin On Fri, May 28, 2010 at 2:48 AM, Uhrenfeldt Henrik <henrik.uhrenfe...@ixonos.com> wrote: > Hi Ashwin, > > You do not give many details here, so without even knowing which device we > are talking about, it is hard to give you any advice. > > To update Android, you basically have a few important components: > > 1. Linux kernel > 2. Android's filesystem - home of all system code, apps, media, etc. > > How these things are stored in a device varies vastly from device to device. > Some have it stored on a memory card as a plan linux kernel image file + > ramdisk and then the Android filesystem in a real filesystem. Others store > all these inside NAND flash in dedicated YAFFS2 partitions. You could even > store these things on a harddrive if you like. > > The only thing in Android relating to update would be the fastboot protocol > which is a way to transfer images from a host system (a PC) to the device for > flashing which is supported by many Android devices. It is well documented > online, but it does not seem like it is in play for your device. > > As I said - more information please :-) > > --- > Henrik Uhrenfeldt > Chief Software Engineer > Ixonos Denmark ApS > Niels Jernes Vej 10, > DK-9220 Aalborg Ø, Denmark > mobile +45 4030 2607 > email: henrik.uhrenfe...@ixonos.com > http://www.ixonos.com > > -----Original Message----- > From: android-porting@googlegroups.com > [mailto:android-port...@googlegroups.com] On Behalf Of Ashwin Bihari > Sent: 27. maj 2010 19:33 > To: android-porting > Subject: [android-porting] Updating Android > > Guys, > > How are you, people with non-phone like embedded devices, running a > particular version of Android supporting updating to a newer version? > We have a device that doesn't have a keyboard and it looks like > different phones out there use different key sequences to trigger a > manual update. We would like to trigger this with an application which > reads the update image from a USB flash drive. > > Does anyone have pointers as to where the Android upgrade/update code > resides and how to interface to it? > > Regards > -- Ashwin > > -- > unsubscribe: android-porting+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-porting > > > -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting