On Wed, May 21, 2008 at 3:02 PM, deepak singal <[EMAIL PROTECTED]> wrote:
> > > On Wed, May 21, 2008 at 2:33 PM, Srivastav <[EMAIL PROTECTED]> > wrote: > >> >> Thanks deepak, I got the sytem.tar and data.tar file. I am trying to >> port the android stuff on nokia 800 with updated touchscreen patch. I >> got the kernel image also. >> >> In the given below steps : >> >> **************************************************************************** >> #### Format the MicroSD card >> >> 1. Insert the MicroSD card into the N8XX >> 2. Connect the N8XX to your computer via USB >> 3. Flash the MicroSD card >> >> > df | grep /media/usbdisk-1 # do this to obtain what the usb >> device name, which >> >> # may vary depending on the linux >> installation >> # I will call mine /dev/sdc1 >> >> > su >> > umount /dev/sdc1 >> >> > mkfs.ext2 /dev/sdc1 >> >> > mount /dev/sdc1 /media/usbdisk-1 >> >> > exit >> >> #### Extract the userspace >> >> > cp android-sdk_m3-rc37a/tools/lib/images/ramdisk.img ramdisk.gz >> >> > gunzip ramdisk.gz >> > cd /media/usbdisk-1 >> >> > cpio -iv < $ANDDIR/ramdisk >> >> > mkdir dev/log >> > touch dev/log/main >> >> > touch dev/log/events >> > touch dev/log/radio >> >> ### Extract system.tar from the sdcard image >> >> > su >> > mkdir card >> >> > mount -o card.img card >> > tar -xvf card/system.tar -C /media/usbdisk-1 >> >> #### Apply the file system patch (will be available shortly) >> >> > cd /media/usbdisk-1 >> >> > cat $ANDDIR/userspace_android-m3-rc37a_N8XX.bz2 | patch -p1 >> >> ************************************************************************************ >> 1) Please Confirm, Is it neccary to purchase MicroSD card for android >> porting on Nokia N8XX? >> 2) Why data.tar file is not extracted from sdcard image ? That steps >> is missing here? >> 3) What is here "userspace_android-m3-rc37a_N8XX.bz2 " ? >> >> -- Anjani >> >> On May 20, 3:04 pm, "deepak singal" <[EMAIL PROTECTED]> wrote: >> > On Tue, May 20, 2008 at 2:01 PM, Srivastav <[EMAIL PROTECTED]> >> wrote: >> > >> > > Deepak, >> > >> > > I tried with that command only, getting the same error. I am facing >> > > problem in creating tar of /system and /data. At present, I am >> > > thinking to use the given android file system(system.tar.gz and >> > > data.tar.gz) from "http://elinux.org/Android_on_OMAP". >> > >> > > --anjani >> > >> > > On May 20, 9:43 am, "deepak singal" <[EMAIL PROTECTED]> wrote: >> > > > Hi, >> > >> > > > Please try this: >> > >> > > > cd /sdcard >> > > > busybox tar -cvf system.tar /system >> > > > busybox tar -cvf data.tar /data >> > >> > > > or >> > >> > > > cd /system/bin >> > > > ln -s busybox tar >> > > > ln -s busybox gzip >> > > > cd /sdcard >> > > > busybox tar -cvzf system.tar.gz /system >> > > > busybox tar -cvzf data.tar.gz /data >> > >> > > > On Mon, May 19, 2008 at 10:19 PM, Anjani < >> [EMAIL PROTECTED]> >> > > wrote: >> > >> > > > > Hi, >> > >> > > > > Thanks for providing useful link. Still, I need some clarification >> > > > > from all expert. >> > > > > I am getting some issues, while creating tar file for >> filesystem(File >> > > > > Sytem - step 5). >> > > > > I added busybox (ARM-cross-complied) to Android SDK- >> > > > > emulator(m3-37).After linking this busybox executable to >> /sbin/tar, >> > > > > When I am trying to run tar command. Its giving "Tar not found". >> Why >> > > > > I am not able to run busybox command inside emulator? >> > > > > Can we use the available Android file system image ( system.tar.gz >> & >> > > > > data.tar.gz.) ? >> > > > > Is it necessary to purchase Micro SD card? We can not do it on >> > > > > existing free space in N810. >> > > > > What is here "userspace_android-m3-rc37a_N8XX.bz2"? >> > >> > > > > Is their any way to keep the original Kernel as it is, and >> flashing >> > > > > the android stuff as dual OS? >> > >> > > > > -- Anjani >> > >> > > > > On May 14, 7:54 pm, Georges Toth <[EMAIL PROTECTED]> wrote: >> > > > > > Anjani Srivastav wrote: >> > > > > > > Hi All, >> > >> > > > > > > I am trying to port the android on Nokia N810. I am new into >> > > > > > > embedded development platform. I am trying my best to >> understand >> > > the >> > > > > > > given procedure in "http://www.elinux.org/Android_on_OMAP". >> > >> > > > > > > As per my understanding, these are the few steps which needs >> to be >> > > > > done. >> > > > > > > 1) Get the kernel patch. >> > > > > > > 2) Get the Android File System(/system and /data) >> > > > > > > 3) Kernel and File System Configuration on Real Target i.e >> Nokia >> > > N810 >> > > > > > > 4) Integrating the Kernel and File System using scripts, and >> > > starting >> > > > > > > of android >> > >> > > > > > > I think, The first two steps, one can easily get from the >> given >> > > > > > > available link. >> > >> > > > > > > I am not clear in steps 3 and having some few query. >> > > > > > > How to go ahead in configuring the kernel and file system on >> Real >> > > > > > > target(N810)? >> > > > > > > In given steps, its mentioned steps wrt Linux-2.6.23 and N810 >> is >> > > > > > > having Linux-2.6.21. Which kernel version and final package to >> > > take? >> > > > > > > Is it possible to keep the original running kernel on N810 >> active >> > > and >> > > > > > > flashing the new android-kernel(for ex- dual boot) ? >> > >> > > > > > > Any help will be highly appreciated. Thanks in Advance. >> > >> > > > > > Hi, >> > >> > > > > > Checkout:http://code.google.com/p/android-on-n8xx/ >> > >> > > > > > -- >> > > > > > regards, >> > >> > > > > > Georges Toth >> > >> > Hi, >> > >> > Follow the below step: >> > >> > deepak@ cd <path_to>/android-sdk_version_linux-x86/tools >> > deepak@ export >> > PATH=${PATH}:<path_to>/android-sdk_version_linux-x86/tools (Set >> path to >> > emulator tools) >> > deepak@ mksdcard -l card 100M >> > card.img >> (Create >> > an empty SDcard (image)) >> > deepak@ emulator -sdcard card.img -console >> > -debug-kernel (Start emulator) >> > >> > The SDK kernel booting and emulator starting. >> > Wait until the emulator is ready, then send the ARM busybox from the >> host >> > into the simulated environment: >> > >> > (please find the attach busybox) >> > >> > deepak@ adb -d 1 push <path_to>/busybox /system/bin/busybox (open >> another >> > console(because emulator running in one console)) >> > >> > android# cd /sdcard >> > >> > android# busybox tar -cvf system.tar /system >> > android# busybox tar -cvf data.tar /data >> > >> > deepak@ adb pull /sdcard/data.tar . >> > deepak@ adb pull /sdcard/system.tar >> > . >> > >> > regards, >> > deepak singal >> > >> > busybox >> > 2302KDownload >> >> > Hi Srivastav > > > Try given below steps : > > > >> ********************************************* >> #### Format the MicroSD card >> >> 1. Insert the MicroSD card into the N8XX >> 2. Connect the N8XX to your computer via USB >> 3. Flash the MicroSD card >> >> > df | grep /media/usbdisk-1 # do this to obtain what the usb >> device name, which >> >> # may vary depending on the linux >> installation >> # I will call mine /dev/sdc1 >> >> > su >> > umount /dev/sdc1 >> >> > mkfs.ext2 /dev/sdc1 >> >> > mount /dev/sdc1 /media/usbdisk-1 >> >> > exit >> >> #### Extract the userspace >> >> > cp android-sdk_m3-rc37a/tools/lib/images/ramdisk.img ramdisk.gz >> >> > gunzip ramdisk.gz >> > cd /media/usbdisk-1 >> >> > cpio -iv < $ANDDIR/ramdisk >> >> > mkdir dev/log >> > touch dev/log/main >> >> > touch dev/log/events >> > touch dev/log/radio >> >> ### Extract system.tar from the sdcard image >> >> > su >> > mkdir card >> >> > mount -o card.img card >> > tar -xvf card/system.tar -C /media/usbdisk-1 > > > >> *tar -xvf card/data.tar -C /media/usbdisk-1* >> > > *chmod -R 777 **/media/usbdisk-1/data/** > > * * > *chmod -R 777 **/media/usbdisk-1/data/** > > > *rm -rf **/media/usbdisk-1/tmp/** > > OR ** >> /media/usbdisk-1 >> >>> *tar -xvf card/data.tar -C /media/usbdisk-1* >>> >> >> >>> *chmod -R 777 **/media/usbdisk-1/data/** >>> >>> * * >> >>> *chmod -R 777 **/media/usbdisk-1/data/** >>> >>> >> >>> *rm -rf **/media/usbdisk-1/tmp/** >>> >>> >> #### Apply the file system patch (will be available shortly) >> >> > cd /media/usbdisk-1 >> >> > > cat $ANDDIR/userspace_android-m3-rc37a_N8XX.bz2 | patch -p1 >> >> ************************************************************************************ > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Internals" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-internals?hl=en -~----------~----~----~----~------~----~------~--~---
