NITdroid video demo : GNU/Linux Android on Nokia 770

https://web.archive.org/web/20090220143726/http://www.newlc.com/en/nitdroid-demo-gnulinux-android-nokia-n770-0

http://www.linuxfordevices.com/c/a/News/Emulator-tapped-for-AndroidtoN8xx-port/

NITdroid video demo : GNU/Linux Android on Nokia 770

A cheap DIY android platform, available worldwide and beyond.

As every year, this year will be the year of GNU/Linux mobile and now more than ever before.

The G1 phone is out, but who needs to wait for its worldwide availability when you can get your own android plateform for 200 EUR or less ($50 on ebay) ?

GNU/Linux Android was ported to Nokia tablets, since 100% of the Software is open-source and provided under Apache Licence.

The offspring is called “NITdroid” (you guessed where the name came from : Android on Nokia Internet Tablet)

The project was quite active this past year It resulted that It's easy to flash an Android firmware on Nokia tablets.

This is impressive how such a litle community of developers could produce a replacement firmware for this kind of product, but this was pretty logical since Nokia set up Maemo (a GNU/Linux Debian Based OS for Tablets lead by nokia along an open community), there are no excuses not to benefit the previous fantastic work.

Enough talk, now let's go to practice.

Assuming you're familiar with GNU/Linux, that you have a Nokia Internet Tablet (n700 and later) and a MMC Memory card (256MB or more)

Unless you installed ssh or another way to access the shell, you'll need to have a running version of maemo.

FLASHING THE OS

So here is the procedure to flash the “HACKER” version of the firmware (understand as unmaintained)

You can skip this part, but it may be useful if you want to restore the manufacturer's OS later.

Download SU-18_2008HACKER_4.2007.50-6_PR_F5_MR0_ARM.bin from

http://tablets-dev.nokia.com

sudo flasher -F SU-18_*_PR_F5_MR0_ARM.bin -f && sudo flasher  -f -R
flasher v0.8.7 (Oct 17 2006)
SW version in image: SU-18_2006SE_3.2006.49-2_PR_MR0
...
Suitable USB device not found, waiting

Then plug the power supply cable, and the flasher resumes :

USB device found found at bus 001, device address 018
Found device SU-18, hardware revision 1802
...
Sending and flashing rootfs image (58368 kB)...
100% (58368 of 58368 kB, avg. 784 kB/s)
Finishing flashing... done

Reboot again, to place your MMC card in the tray. Check your extra card is visible, then partition and format it (Applications / Utilities / Terminal )

Or host's side, since your nokia is seen as an “usb mass storage” device (/dev/sdx) Mine is sda but it may change depending on your disks :

dmesg | grep sd | grep 'Attached SCSI disk'
sd 4:0:0:0: [sda] Attached SCSI disk
sudo fdisk -l /dev/sda
GNU Fdisk 1.1
...
Disk /dev/sda: 519 MB, 519569408 bytes
32 heads, 32 sectors/track, 991 cylinders
Units = cylinders of 1024 * 512 = 524288 bytes
 Device Boot      Start         End      Blocks   Id  System 
/dev/sda1               1         488      249840    e  FAT16 LBA
/dev/sda2             489         747      132096   82  Linux swap
/dev/sda3             748         991      124416   83  Linux

You can create partitions as you want (using cfdisk or gparted) as long as : * 1st partition is set to FAT16 * 2d one to swap * 3d one to EXT3

Then format them :

mkfs.ext3 /dev/sda3
mkswap /dev/sda2
mkfs.msdos /dev/sda1

Copy the filesystem (rootfs in linux slang) :

wget -c http://guug.org/nit/nitdroid/rootfs-nitdroid-0.3.2.tar.bz2 mkdir -p tmp && cd tmp && tar xfvj ../rootfs-nitdroid-0.3.2.tar.bz2 part=sda3 ; sudo mkdir -pv /mnt/$part && sudo mount /dev/$part /mnt/$part sudo cp -rfva ./ /mnt/$part/ && sudo umount /mnt/sda3 && reboot And finally flash NITdroid's Linux kernel in R&D mode :

wget -c http://www.bundyo.org/maemo/nitdroid/nitdroid_770_20081223.tar.bz2
tax xvfj nitdroid_770*.tar.bz2
sudo /usr/local/bin/flasher-3.0 -f --enable-rd-mode -R -k \
 nitdroid_770/zImage-nitdroid-n770
flasher v0.8.7 (Oct 17 2006)

BOOT

A few seconds later you'll see tux and its verbose console, half a minute a splashscreen, and less than another 30 seconds the desktop is ready to be used.

OK, now you have an overview of the system, don't panic if several warning messages appear, we'll try to shut up those pop up by adding some virtual memory (if this wasn't done before)

ADDING SWAP

Install the patched version of Android Debugger Bridge :

wget http://guug.org/nit/nitdroid/adb.bz2
/usr/local/bin/adb shell

Once logged, you'll be able to use a busybox shell, (feel free to investigate at the filesystem)

# cat /proc/version
Linux version 2.6.28-rc9-omap1-05327-g52a8b74-dirty (bundyo@bundyo) (gcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2)) #148 PREEMPT Tue Dec 23 09:10:12 EET 2008

Now we're about to add some swap space from a remaining partition of the memory card. Be careful and identify the right partition.

# cat /proc/partitions
major minor  #blocks  name
  31        0        128 mtdblock0
  31        1        384 mtdblock1
  31        2       2048 mtdblock2
  31        3       2048 mtdblock3
  31        4     126464 mtdblock4
 179        0     507392 mmcblk0
 179        1     249840 mmcblk0p1
 179        2     132608 mmcblk0p2
 179        3     124928 mmcblk0p3
# /nokia/bin/busybox fdisk -l /dev/block/mmcblk0
...
/dev/block/mmcblk0p2             489         747      132608  82 Linux swap
...

Note : mtd* devices are Internal Flash memory, while mmc* are external ones.

Skip this part If you have formatted your swap partition before, this can be done on android side : the second partition of 1st (and only) MMC card, (might take time)

# date ; /nokia/bin/busybox mkswap /dev/block/mmcblk0p2  ; date
Sat Jan  1 00:07:49 GMT 2000
# ...

If I can reckon, it failed on first time, so I had to do it again.

Once done let's mount it :

# /nokia/bin/busybox swapon /dev/block/mmcblk0p2 && cat /proc/swaps
Filename                                Type                Size        Used        Priority
/dev/block/mmcblk0p2                    partition        132600        2072        -1

To make this configuration permanent, the init script must do the job on each boot :

cat«EOF » /init.rc && reboot

#{ Adding swap space service swap /nokia/bin/busybox swapon /dev/block/mmcblk0p2

  oneshot

#}

EOF Once rebooted let's check again (host side)

/usr/local/bin/adb shell dmesg  | grep swap
<6>[ ] Adding 132600k swap on /dev/block/mmcblk0p2.  Priority:-1 extents:1 across:132600k

INSTALL APPLICATIONS

Then you can have fun with the menu, see API demos for instance.

Last but not least, now let's install your favorite applications, using a patched version of adb (android debug bridge client)

/usr/local/bin/adb install bin/Diet3D.apk

It's icon will appear in the application panel

CONCLUSION

To conclude, before someone ask I won't say NITdroid is better that maemo, IMHO, I would chose the OS depending on freedom it can provide and on applications it can support.

So android is a bit young, and porting native applications is not the philosophy, but Java support fits best.

Other projects need to be investigated on this (obsolete) plateform, I am thinking of mer (Deblet's little brother), but that will be the subject of an other article.

Let me know, if you need assistance or if you have ideas to share.

There are some new GNU/Linux sections just opened in the forum.

See you there.

REFERENCES :

Project headquarter : http://guug.org/nit/nitdroid/

Diet3D : http://rzr.online.fr/java.htm

Files: * http://guug.org/nit/nitdroid/rootfs-nitdroid-0.3.2.tar.bz2 * http://www.bundyo.org/maemo/nitdroid/nitdroid_770_20081223.tar.bz2

Interesting URLs : * http://elinux.org/Android_on_OMAP * https://sourceforge.net/projects/android-n810/ * http://www.android-internals.org/index.php?title=Nokia_770 * http://www.internettablettalk.com/forums/showthread.php?t=21747 * http://en.wikipedia.org/wiki/Nokia_770_Internet_Tablet

Video: Ogg/Theora (or flv) : * http://en.theorasea.org/story.php?title=NITdroid--Linux-Android-on-Nokia-770-1

Promote this project: * http://digg.com/linux_unix/NITdroid_or_just_another_Android_port_nokia_770_and_later

Special thanks go to bundyo, solca and #NITdroid's hackers and newlc for taking the risk to trash their n770.

Licence: http://creativecommons.org/licenses/by-nc-sa/3.0/

<iframe width="420" height="315" src="//www.youtube-nocookie.com/embed/S-bPdSpsuKE" frameborder="0" allowfullscreen></iframe>

OBSOLETE NOTES

NITDROID : ANDROID ON NOKIA INTERNET TABLET : N770

See the VideO proof :

Testing :

  • OpenGlEs demo are impressive : API / Graphics / OpenGlEs / Sprite Test : 35 fps
  • Diet3d is supported (faster than qemu on my laptop)
  • SoftKeyboard is crashing , could be better with some swap (see later)
  • fingerpaint, a bit slow but usable, until it freezed

ToDo / Some what need to be done now ?

Special thanks to solca, stelleg and #NITdroid team

REFERENCE

HARDWARE

INSTALL OS

@tag: Android Java

#/mnt/sdb3# unp /mnt/sdb1/guug.org/nit/nitdroid/rootfs-nitdroid.tar.bz2            
sudo /usr/local/bin/flasher-3.0 -f -k  nitdroid_770/zImage-nitdroid-n770 --enable-rd-mode -R
Waiting for root device /dev/mmcblk0p3
...
kernel panic ... vfs: Unable to mount ... (179,3)

Needed to format ext3 not ext2

Failed to execute /init. Attempting defaults

Trying an other rootfs :

http://guug.org/nit/nitdroid/rootfs-nitdroid-0.3.1.tar.bz2

sudo /usr/local/bin/flasher-3.0 -f -k nitdroid_770/zImage-nitdroid-n770 –enable-rd-mode -R flasher v0.8.7 (Oct 17 2006)

Suitable USB device not found, waiting
USB device found found at bus 001, device address 023
Found device SU-18, hardware revision 1802
NOLO version 0.9.14
Version of 'sw-release': <no version>
Sending kernel image (1557 kB)...
100% (1557 of 1557 kB, avg. 801 kB/s)
Flashing kernel... done.
The device is now in R&D mode
sudo /usr/local/bin/flasher-3.0 -f --enable-rd-mode -R -F ~/incoming/SU-18_2008HACKER_4.2007.50-6_PR_F5_MR0_ARM.bin 

ADDING SWAP

sudo killall adb ;  sudo /usr/local/bin/adb shell
cat /proc/version
Linux version 2.6.28-rc9-omap1-05327-g52a8b74-dirty (bundyo@bundyo) (gcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2)) #148 PREEMPT Tue Dec 23 09:10:12 EET 2008
# cat /proc/partitions
major minor  #blocks  name

  31        0        128 mtdblock0
  31        1        384 mtdblock1
  31        2       2048 mtdblock2
  31        3       2048 mtdblock3
  31        4     126464 mtdblock4
 179        0     507392 mmcblk0
 179        1     249840 mmcblk0p1
 179        2     132608 mmcblk0p2
 179        3     124928 mmcblk0p3

# date ; /nokia/bin/busybox mkswap /dev/block/mmcblk0p2  ; date
Sat Jan  1 00:07:49 GMT 2000
# ...

# /nokia/bin/busybox swapon /dev/block/mmcblk0p2

# df
/: 120979K total, 76865K used, 44114K available (block size 1024)
/: 120979K total, 76865K used, 44114K available (block size 1024)
/dev: 30604K total, 0K used, 30604K available (block size 4096)
/nokia/initfs: 2048K total, 2048K used, 0K available (block size 4096)
/nokia/initfs/tmp: 1024K total, 0K used, 1024K available (block size 4096)

# cat /proc/meminfo
MemTotal:          61208 kB
MemFree:            7184 kB
...

# dmesg
+<6>[ 1392.317629] omapfb omapfb: HWA742: setting update mode to disabled
+<6>[ 1426.771133] Adding 132600k swap on /dev/block/mmcblk0p2.  Priority:-1 extents:1 across:132600k

# cat /proc/swaps
Filename				Type		Size	Used	Priority
/dev/block/mmcblk0p2                    partition	132600	2072	-1


cat<<EOF >> /init.rc 

#{ http://rzr.online.fr/q/nit
service swap /nokia/bin/busybox swapon /dev/block/mmcblk0p2
    oneshot
#} http://rzr.online.fr/q/nit

EOF

DMESG

sudo /usr/local/bin/adb shell dmesg
<5>[    0.000000] Linux version 2.6.28-rc9-omap1-05327-g52a8b74-dirty (bundyo@bundyo) (gcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2)) #148 PREEMPT Tue Dec 23 09:10:12 EET 2008
<4>[    0.000000] CPU: ARM926EJ-S [41069263] revision 3 (ARMv5TEJ), cr=00053177
<4>[    0.000000] CPU: VIVT data cache, VIVT instruction cache
<4>[    0.000000] Machine: Nokia 770
<4>[    0.000000] Memory policy: ECC disabled, Data cache writeback
<7>[    0.000000] On node 0 totalpages: 16384
<7>[    0.000000] free_area_init_node: node 0, pgdat c034b9b8, node_mem_map c03cc000
<7>[    0.000000]   Normal zone: 128 pages used for memmap
<7>[    0.000000]   Normal zone: 0 pages reserved
<7>[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
<7>[    0.000000]   Movable zone: 0 pages used for memmap
<6>[    0.000000] OMAP1710<6> revision 8 handled as 16xx id: 8b5f702f03330200
<6>[    0.000000] SRAM: Mapped pa 0x20000000 to va 0xd8000000 size: 0x100000
<4>[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
<5>[    0.000000] Kernel command line: console=tty0 console=ttyS1,115200n8 root=/dev/mmcblk0p3 ro rootfstype=ext3 rootwait init=/init time
<4>[    0.000000] Clocks: ARM_SYSST: 0x1000 DPLL_CTL: 0x2a93 ARM_CKCTL: 0x050e
<6>[    0.000000] Clocking rate (xtal/DPLL1/MPU): 12.0/252.0/252.0 MHz
<4>[    0.000000] Total of 128 interrupts in 4 interrupt banks
<4>[    0.000000] PID hash table entries: 256 (order: 8, 1024 bytes)
<4>[    0.000000] Console: colour dummy device 80x30
<6>[    0.000000] console [tty0] enabled
<6>[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
<6>[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
<6>[    0.000000] Memory: 64MB = 64MB total
<5>[    0.000000] Memory: 61004KB available (3036K code, 674K data, 136K init)
<6>[    0.000000] SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
<6>[    0.000000] Calibrating delay loop... 125.76 BogoMIPS (lpj=490496)
<6>[    0.000000] Security Framework initialized
<4>[    0.000000] Mount-cache hash table entries: 512
<6>[    0.000000] CPU: Testing write buffer coherency: ok
<6>[    0.000000] net_namespace: 424 bytes
<6>[    0.000000] NET: Registered protocol family 16
<6>[    0.000000] OMAP GPIO hardware version 1.1
<4>[    0.000000] MUX: initialized W19_1610_MMC2_DATDIR1
<6>[ 1262.874847] OMAP DMA hardware version 1
<6>[ 1262.875000] DMA capabilities: 000c0000:00000000:01ff:003f:007f
<6>[ 1262.878265] omap_dsp_init() done
<4>[ 1262.879577] MUX: initialized W4_USB_PUEN
<4>[ 1262.879730] MUX: initialized V6_USB0_TXD
<4>[ 1262.879821] MUX: initialized W5_USB0_SE0
<4>[ 1262.879913] MUX: initialized Y5_USB0_RCV
<4>[ 1262.880096] MUX: initialized AA9_USB0_VP
<4>[ 1262.880187] MUX: initialized R9_USB0_VM
<4>[ 1262.880279] USB: hmc 16, usb0 6 wires (dev), Mini-AB on usb0
<6>[ 1262.923919] OMAP STI support loaded (HW v1.1)
<6>[ 1262.924743] Tahvo/Betty driver initialising
<6>[ 1262.926177] Tahvo v5.2 found
<6>[ 1262.927215] Retu/Vilma driver initialising
<6>[ 1262.928741] Retu v3.2 found
<6>[ 1262.929718] Tahvo USB transceiver driver initializing
<6>[ 1262.931213] tahvo: Registering interrupt 0 for device vbus_interrupt
<4>[ 1262.931976] USB cable disconnected
<6>[ 1262.942626] i2c_omap i2c_omap.1: bus 1 rev3.1 at 100 kHz
<5>[ 1262.946258] SCSI subsystem initialized
<6>[ 1262.951599] usbcore: registered new interface driver usbfs
<6>[ 1262.952423] usbcore: registered new interface driver hub
<6>[ 1262.953430] usbcore: registered new device driver usb
<6>[ 1262.981994] Bluetooth: Core ver 2.13
<6>[ 1262.983184] NET: Registered protocol family 31
<6>[ 1262.983337] Bluetooth: HCI device and connection manager initialized
<6>[ 1262.983459] Bluetooth: HCI socket layer initialized
<7>[ 1262.989471] Switched to high resolution mode on CPU 0
<6>[ 1262.989562] NET: Registered protocol family 2
<6>[ 1263.068257] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>[ 1263.071675] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
<6>[ 1263.072011] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
<6>[ 1263.072255] TCP: Hash tables configured (established 2048 bind 2048)
<6>[ 1263.072377] TCP reno registered
<6>[ 1263.091634] NET: Registered protocol family 1
<4>[ 1263.093038] Power Management for TI OMAP.
<4>[ 1263.093282] MUX: initialized T20_1610_LOW_PWR
<4>[ 1263.094106] OMAP OCPI interconnect driver loaded
<6>[ 1263.098439] ashmem: initialized
<6>[ 1263.099324] JFFS2 version 2.2. (NAND) (SUMMARY)  
 2001-2006 Red Hat, Inc.
<6>[ 1263.100362] msgmni has been set to 119
<6>[ 1263.109792] alg: No test for stdrng (krng)
<6>[ 1263.110097] io scheduler noop registered
<6>[ 1263.110219] io scheduler deadline registered (default)
<6>[ 1263.110402] io scheduler cfq registered
<6>[ 1263.112203] omapfb: lph8923 rev 92 LCD detected
<6>[ 1263.112783] omapfb: configured for panel lph8923
<6>[ 1263.120595] omapfb: LCDC initialized
<6>[ 1263.120809] omapfb omapfb: SoSSI version 1.21 initialized
<6>[ 1263.121419] omapfb omapfb: : Epson HWA742 LCD controller rev 1 initialized (CNF pins 7)
<6>[ 1263.121663] omapfb omapfb: HWA742: setting update mode to auto
<4>[ 1263.160085] Console: switching to colour frame buffer device 100x60
<6>[ 1263.181651] omapfb: Framebuffer initialized. Total vram 770048 planes 1
<6>[ 1263.182078] omapfb: Pixclock 21940 kHz hfreq 24.9 kHz vfreq 51.0 Hz
<6>[ 1263.233714] omap_rng omap_rng: OMAP Random Number Generator ver. 40
<6>[ 1263.234904] Serial: 8250/16550 driver4 ports, IRQ sharing disabled
<6>[ 1263.246958] console [sticon0] enabled
<6>[ 1264.057037] logger: created 64K log 'log_main'
<6>[ 1264.069223] logger: created 256K log 'log_events'
<6>[ 1264.081349] logger: created 64K log 'log_radio'
<6>[ 1264.093037] PPP generic driver version 2.4.2
<6>[ 1264.105244] PPP Deflate Compression module registered
<6>[ 1264.116200] PPP BSD Compression module registered
<6>[ 1264.127247] tun: Universal TUN/TAP device driver, 1.6
<6>[ 1264.138447] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
<6>[ 1264.150502] Retu power button driver initialized
<6>[ 1264.161610] retu: Registering interrupt 0 for device PwrOnX
<6>[ 1264.173909] input: retu-pwrbutton as /class/input/input0
<6>[ 1264.225504] retu: Registering interrupt 2 for device RTCS
<6>[ 1264.236734] retu: Registering interrupt 5 for device RTCA
<6>[ 1264.250833] Retu watchdog driver initialized
<6>[ 1264.261972] Retu/Vilma headset driver initializing
<6>[ 1264.273813] i2c /dev entries driver
<6>[ 1264.287719] dsp dsp: OMAP DSP driver initialization
<4>[ 1264.305114] Driver 'sd' needs updating - please use bus_type methods
<6>[ 1264.318389] omap-hw-nand: OMAP NAND Controller rev. 1.1
<6>[ 1264.329956] NAND device: Manufacturer ID: 0xec, Chip ID: 0xa1 (Samsung NAND 128MiB 1,8V 8-bit)
<6>[ 1264.341725] omap-hw-nand: using PSC values 2, 2, 3
<6>[ 1264.353200] Scanning device for bad blocks
<4>[ 1264.364583] Bad eraseblock 0 at 0x00000000
<5>[ 1264.413005] 5 cmdlinepart partitions found on MTD device omap-nand
<5>[ 1264.424317] Creating 5 MTD partitions on "omap-nand":
<5>[ 1264.435547] 0x00000000-0x00020000 : "bootloader"
<5>[ 1264.450887] 0x00020000-0x00080000 : "config"
<5>[ 1264.465383] 0x00080000-0x00280000 : "kernel"
<5>[ 1264.479289] 0x00280000-0x00480000 : "initfs"
<5>[ 1264.493215] 0x00480000-0x08000000 : "root"
<4>[ 1264.507711] TSC2301 driver initializing
<6>[ 1264.520375] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
<6>[ 1264.531880] ohci ohci: OMAP OHCI
<6>[ 1264.543965] ohci ohci: new USB bus registered, assigned bus number 1
<6>[ 1264.555379] ohci ohci: irq 38, io mem 0xfffba000
<6>[ 1264.641286] usb usb1: configuration #1 chosen from 1 choice
<6>[ 1264.653737] hub 1-0:1.0: USB hub found
<6>[ 1264.665232] hub 1-0:1.0: 3 ports detected
<6>[ 1264.679545] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
<6>[ 1264.690898] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>[ 1264.702250] usb usb1: Product: OMAP OHCI
<6>[ 1264.713420] usb usb1: Manufacturer: Linux 2.6.28-rc9-omap1-05327-g52a8b74-dirty ohci_hcd
<6>[ 1264.724986] usb usb1: SerialNumber: ohci
<6>[ 1264.737284] Initializing USB Mass Storage driver...
<6>[ 1264.749552] usbcore: registered new interface driver usb-storage
<6>[ 1264.760966] USB Mass Storage support registered.
<6>[ 1264.773814] usbcore: registered new interface driver usbserial
<6>[ 1264.785126] usbserial: USB Serial Driver core
<6>[ 1264.797241] USB Serial support registered for pl2303
<6>[ 1264.809631] usbcore: registered new interface driver pl2303
<6>[ 1264.821076] pl2303: Prolific PL2303 USB to serial adaptor driver
<6>[ 1264.832459] udc: OMAP UDC driver, version: 4 October 2004 (iso) (dma)
<6>[ 1264.844330] udc: OMAP UDC rev 6.1, Mini-AB
<6>[ 1264.855774] udc: hmc mode 16, tahvo-usb transceiver
<6>[ 1264.867391] udc: fifo mode 3, 392 bytes not used
<6>[ 1264.880209] android init
<6>[ 1264.893301] android_bind
<7>[ 1264.904491] android_bind_config
<6>[ 1264.904521] mass_storage_function_add
<6>[ 1264.917278] android_usb gadget: Number of LUNs=1
<6>[ 1264.928478] adb_function_add
<6>[ 1264.940705] android_usb gadget: android_usb ready
<4>[ 1264.952210] USB cable disconnected
<6>[ 1264.964255] mice: PS/2 mouse device common for all mice
<6>[ 1265.013997] OMAP Keypad Driver
<6>[ 1265.026906] input: omap-keypad as /class/input/input1
<6>[ 1265.101613] ads7846 spi2.0: touchscreen, irq 175
<6>[ 1265.114644] input: ADS784x Touchscreen as /class/input/input2
<6>[ 1265.181681] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
<6>[ 1265.193247] omap_rtc: already running
<3>[ 1265.205332] SoftDog: cannot register miscdev on minor=130 (err=-16)
<6>[ 1265.229838] Advanced Linux Sound Architecture Driver Version 1.0.18rc3.
<6>[ 1265.241068] ALSA device list:
<6>[ 1265.252106]   No soundcards found.
<6>[ 1265.269013] TCP cubic registered
<6>[ 1265.280060] NET: Registered protocol family 17
<6>[ 1265.291138] Bluetooth: L2CAP ver 2.11
<6>[ 1265.302002] Bluetooth: L2CAP socket layer initialized
<6>[ 1265.313049] Bluetooth: SCO (Voice Link) ver 0.6
<6>[ 1265.324097] Bluetooth: SCO socket layer initialized
<6>[ 1265.335785] Bluetooth: RFCOMM socket layer initialized
<6>[ 1265.347280] Bluetooth: RFCOMM TTY layer initialized
<6>[ 1265.358572] Bluetooth: RFCOMM ver 1.10
<6>[ 1265.369436] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
<6>[ 1265.380270] Bluetooth: BNEP filters: protocol multicast
<6>[ 1265.391042] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
<6>[ 1265.402568] Disabling unused clock "uart3_ck"...  done
<6>[ 1265.413585] Disabling unused clock "uart1_ck"...  done
<6>[ 1265.424602] FIXME: Clock "tc2_ck" seems unused
<6>[ 1265.435242] Skipping reset check for DSP domain clock "dsptim_ck"
<6>[ 1265.445985] Skipping reset check for DSP domain clock "dspxor_ck"
<6>[ 1265.456473] Skipping reset check for DSP domain clock "dspper_ck"
<6>[ 1265.466788] Bootup reason: sw_rst
<6>[ 1265.476909] OMAP GPIO switch handler initializing
<6>[ 1265.493917] headphone (GPIO 14) is now disconnected
<6>[ 1265.504384] prot_shell (GPIO 5) is now open
<6>[ 1265.514546] bat_cover (GPIO 12) is now open
<6>[ 1265.528096] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:20:58 UTC (946686058)
<6>[ 1265.538625] Waiting for root device /dev/mmcblk0p3...
<3>[ 1265.736094] mmci-omap mmci-omap.1: command timeout (CMD8)
<3>[ 1265.747141] mmci-omap mmci-omap.1: command timeout (CMD5)
<3>[ 1265.757792] mmci-omap mmci-omap.1: command timeout (CMD5)
<3>[ 1265.768260] mmci-omap mmci-omap.1: command timeout (CMD5)
<3>[ 1265.778513] mmci-omap mmci-omap.1: command timeout (CMD5)
<3>[ 1265.788889] mmci-omap mmci-omap.1: command timeout (CMD55)
<3>[ 1265.799225] mmci-omap mmci-omap.1: command timeout (CMD55)
<3>[ 1265.809265] mmci-omap mmci-omap.1: command timeout (CMD55)
<3>[ 1265.819183] mmci-omap mmci-omap.1: command timeout (CMD55)
<3>[ 1265.850891] mmc0: card has MMCA version 4
<3>[ 1265.860504] mmc0: CSD capacity is 1014784.
<6>[ 1265.880544] mmc0: new MMC card at address 0001
<6>[ 1265.891012] mmcblk0: mmc0:0001 AF HMB 495 MiB 
<6>[ 1265.900564]  mmcblk0: p1 p2 p3
<6>[ 1265.984488] EXT3-fs: INFO: recovery required on readonly filesystem.
<6>[ 1265.993673] EXT3-fs: write access will be enabled during recovery.
<6>[ 1266.192281] kjournald starting.  Commit interval 5 seconds
<6>[ 1266.201619] EXT3-fs: recovery complete.
<6>[ 1266.265828] EXT3-fs: mounted filesystem with ordered data mode.
<4>[ 1266.275014] VFS: Mounted root (ext3 filesystem) readonly.
<6>[ 1266.284444] Freeing init memory: 136K
<4>[ 1266.296895] Warning: unable to open an initial console.
<3>[ 1267.629018] init: cannot open '/initlogo.rle'
<4>[ 1267.804718] EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
<6>[ 1267.850576] EXT3 FS on mmcblk0p3, internal journal
<3>[ 1268.043497] init: cannot find '/system/bin/playmp3', disabling 'bootsound'
<3>[ 1268.070119] init: cannot find '/system/bin/flash_image', disabling 'flash_recovery'
<6>[ 1268.444977] enabling adb
<6>[ 1268.455414] adb_open
<6>[ 1290.054096] warning: `app_process' uses 32-bit capabilities (legacy support in use)
<4>[ 1333.030530] select 761 (app_process), adj 15, size 2426, to kill
<4>[ 1333.030652] select 774 (app_process), adj 15, size 2773, to kill
<4>[ 1333.030713] select 807 (app_process), adj 15, size 2804, to kill
<4>[ 1333.030804] send sigkill to 807 (app_process), adj 15, size 2804
<4>[ 1334.522162] select 761 (app_process), adj 15, size 2382, to kill
<4>[ 1334.522253] select 774 (app_process), adj 15, size 2719, to kill
<4>[ 1334.522345] send sigkill to 774 (app_process), adj 15, size 2719
<4>[ 1341.616351] select 761 (app_process), adj 15, size 2365, to kill
<4>[ 1341.616442] send sigkill to 761 (app_process), adj 15, size 2365
<4>[ 1344.864123] USB cable connected
<6>[ 1345.029833] udc: USB reset done, gadget android_usb
<6>[ 1345.622759] udc: USB reset done, gadget android_usb
<6>[ 1345.738726] udc: USB reset done, gadget android_usb
<6>[ 1345.875719] android_usb gadget: full speed config #1: android
<6>[ 1345.876147] android_usb gadget: config #1

ERRORS CODES

sudo killall adb ; sudo /usr/local/bin/adb shell
* daemon not running. starting it now *
* daemon started successfully *
error: device offline

Needed to replug the usb cable from the target or reboot it unpluged …

sudo /usr/local/bin/adb shell  /nokia/bin/busybox swapon /dev/block/mmcblk0p2
swapon: /dev/block/mmcblk0p2: Invalid argument

Make sure to format it first

MISC

QUESTIONS ?

Is your card SD, MMC, or SDHC?

MORE

nitdroid.txt · Last modified: 2022/04/16 12:23 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki