[Miscellaneous Android Development] smartecosse:
just bought a Nabi 2 for my daughters birthday just after Xmas and thought i would install a few games on......no google play......checked on here and thankfully there is a solution.

however, running the program seems to have an issue for me as it gets to the recovery page, runs and then i get

E:Unable to mount '/data' (tw_mount)

E:failed to mount/data (Invalid argument)

this goes on for quite a few lines!

any ideas? obviously something basic that I am not doing but have no idea what!!

Thanks

****EDITED to add log****

Starting TWRP "2.2.2.1" on Tue Dec 18 20:34:34 2012
Loading volume table...
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null)
1 /recovery emmc /dev/block/mmcblk0p1 (null)
2 /boot emmc /dev/block/mmcblk0p2 (null)
3 /system ext4 /dev/block/mmcblk0p3 (null)
4 /cache ext4 /dev/block/mmcblk0p4 (null)
5 /misc emmc /dev/block/mmcblk0p5 (null)
6 /staging emmc /dev/block/mmcblk0p6 (null)
7 /data ext4 /dev/block/mmcblk0p11 (null)
8 /external_sdcard vfat /dev/block/mmcblk1p1 (null)
9 /addon ext4 /dev/block/mmcblk0p7 (null)

I:Internal path defined: '/data/media'
I:External path defined: '/external_sdcard'
Pixel format: 1024x600 @ 32bpp
Pixel format: BGR_565
framebuffer: fd 3 (1024 x 600)
I:=> Installing busybox into /sbin
ln: /sbin/mke2fs: File exists
ln: /sbin/sh: File exists
ln: /sbin/tune2fs: File exists
I:=> Linking mtab
I:=> Getting locations
W:Device does not support /proc/emmc
W:Device does not support /proc/mtd
* Verifying filesystems...
I:=> Let's update filesystem types via verifyFst aka blkid, command: 'blkid'.
I:=> Created /external_sdcard folder.
* Verifying partition sizes...
E:Unable to mount '/data' (tw_mount)
du: /data/media/.android_secure: No such file or directory
+----------+-----------------------------+--------+----------+----------+---+---+
| Mount | Block Device | fst | Size(KB) | Used(KB) | M | B |
+----------+-----------------------------+--------+----------+----------+---+---+
| | | | 0 | 0 | 0 | u |
| system | /dev/block/mmcblk0p3 | ext4 | 524288 | 323136 | 1 | f |
| data | /dev/block/mmcblk0p11 | ext4 | 8192 | 0 | 1 | f |
| boot | /dev/block/mmcblk0p2 | emmc | 8192 | 8192 | 0 | i |
| recovery | /dev/block/mmcblk0p1 | emmc | 8192 | 8192 | 0 | i |
| cache | /dev/block/mmcblk0p4 | ext4 | 786432 | 13084 | 1 | f |
| external_sdcard | /dev/block/mmcblk1p1 | vfat | 7557120 | 64 | 1 | n |
| | | | 0 | 0 | 0 | n |
| andsec | /data/media | vfat | 0 | 0 | 0 | f |
| sd-ext | /dev/block/mmcblk1p2 | | 0 | 0 | 1 | f |
| | | | 0 | 0 | 0 | n |
| | | | 0 | 0 | 0 | n |
| | | | 0 | 0 | 0 | n |
+----------+-----------------------------+--------+----------+----------+---+---+
I:boot information:
mnt: 'boot'
blk: '/dev/block/mmcblk0p2'
dev: '/dev/block/mmcblk0p2'
alt: ''
fst: 'emmc'
fnm: ''
format location: '/dev/block/mmcblk0p2'
mountable: 0
backup method: 2
memory type: 2

I:system information:
mnt: 'system'
blk: '/dev/block/mmcblk0p3'
dev: '/dev/block/mmcblk0p3'
alt: ''
fst: 'ext4'
fnm: ''
format location: '/dev/block/mmcblk0p3'
mountable: 1
backup method: 3
memory type: 2

I:data information:
mnt: 'data'
blk: '/dev/block/mmcblk0p11'
dev: '/dev/block/mmcblk0p11'
alt: ''
fst: 'ext4'
fnm: ''
format location: '/dev/block/mmcblk0p11'
mountable: 1
backup method: 3
memory type: 2

I:cache information:
mnt: 'cache'
blk: '/dev/block/mmcblk0p4'
dev: '/dev/block/mmcblk0p4'
alt: ''
fst: 'ext4'
fnm: ''
format location: '/dev/block/mmcblk0p4'
mountable: 1
backup method: 3
memory type: 2

I:recovery information:
mnt: 'recovery'
blk: '/dev/block/mmcblk0p1'
dev: '/dev/block/mmcblk0p1'
alt: ''
fst: 'emmc'
fnm: ''
format location: '/dev/block/mmcblk0p1'
mountable: 0
backup method: 2
memory type: 2

I:sdcext information:
mnt: 'external_sdcard'
blk: '/dev/block/mmcblk1p1'
dev: '/dev/block/mmcblk1p1'
alt: ''
fst: 'vfat'
fnm: ''
format location: '/dev/block/mmcblk1p1'
mountable: 1
backup method: 1
memory type: 2

I:sdcint information:
mnt: ''
blk: ''
dev: ''
alt: ''
fst: ''
fnm: ''
format location: ''
mountable: 0
backup method: 1
memory type: 0

I:sd-ext information:
mnt: 'sd-ext'
blk: '/dev/block/mmcblk1p2'
dev: ''
alt: ''
fst: ''
fnm: ''
format location: ''
mountable: 1
backup method: 3
memory type: 0

I:android_secure information:
mnt: '.android_secure'
blk: '/data/media'
dev: '/data/media/.android_secure'
alt: ''
fst: 'vfat'
fnm: ''
format location: ''
mountable: 0
backup method: 3
memory type: 0

I:special 1 information:
mnt: ''
blk: ''
dev: ''
alt: ''
fst: ''
fnm: ''
format location: ''
mountable: 0
backup method: 1
memory type: 0

I:special 2 information:
mnt: ''
blk: ''
dev: ''
alt: ''
fst: ''
fnm: ''
format location: ''
mountable: 0
backup method: 1
memory type: 0

I:special 3 information:
mnt: ''
blk: ''
dev: ''
alt: ''
fst: ''
fnm: ''
format location: ''
mountable: 0
backup method: 1
memory type: 0

I:Loading package: TWRP (/script/ui.xml)
E:failed to mount /data (Invalid argument)
E:failed to mount /data (Invalid argument)
E:failed to mount /data (Invalid argument)
E:failed to mount /data (Invalid argument)
E:failed to mount /data (Invalid argument)
E:failed to mount /data (Invalid argument)
E:failed to mount /data (Invalid argument)
E:failed to mount /data (Invalid argument)
E:failed to mount /data (Invalid argument)
E:failed to mount /data (Invalid argument)
E:failed to mount /data (Invalid argument)
E:failed to mount /data (Invalid argument)
E:Unable to mount /data/media during GUI startup.
I:Loading package: TWRP (/res/ui.xml)
I:Loading resources...
I:Loading variables...
I:Loading pages...
I:Loading page main
I:Loading page main2
I:Loading page install
I:Loading page flash_confirm
I:Loading page flash_zip
I:Loading page flash_done
I:Loading page clear_vars
I:Loading page confirm_action
I:Loading page action_page
I:Loading page action_complete
I:Loading page filecheck
I:Loading page rebootcheck
I:Loading page reboot
I:Loading page mount
I:Loading page usb_mount
I:Loading page usb_umount
I:Loading page wipe
I:Loading page backup
I:Loading page backupname1
I:Loading page backupname2
I:Loading page backup_run
I:Loading page restore
I:Unable to open '/data/media/TWRP/BACKUPS/015d3248fe5fec08'
I:Loading page restore_select
I:Loading page renamebackup
I:Loading page restore_run
I:Loading page settings
I:Loading page timezone
I:Loading page advanced
I:Loading page partsdcard
I:Loading page htcdumlock
I:Loading page lock
I:Loading page filemanagerlist
I:Loading page filemanageroptions
I:Loading page choosedestinationfolder
I:Loading page filemanagerrenamefile
I:Loading page filemanagerrenamefolder
I:Loading page filemanagerchmod
I:Loading page filemanagerconfirm
I:Loading page filemanageracction
I:Loading page decrypt
I:Loading page trydecrypt
I:Loading page terminalfolder
I:Loading page terminalcommand
I:Switching packages (TWRP)
Processing arguments (1)...
I:Set page: 'clear_vars'
I:Set page: 'main2'
Command: "/sbin/recovery"

ro.secure=0
ro.allow.mock.location=1
ro.debuggable=1
persist.sys.usb.config=adb
ro.build.id=IMM76L
ro.build.display.id=full_mt799-eng 4.0.4 IMM76L eng.jmz.20120927.142732 test-keys
ro.build.version.incremental=eng.jmz.20120927.142732
ro.build.version.sdk=15
ro.build.version.codename=REL
ro.build.version.release=4.0.4
ro.build.date=Thu Sep 27 14:27:44 MST 2012
ro.build.date.utc=0
ro.build.type=eng
ro.build.user=jmz
ro.build.host=gooey.goo.im
ro.build.tags=test-keys
ro.product.model=Full Android on Emulator
ro.product.brand=Android
ro.product.name=full_mt799
ro.product.device=mt799
ro.product.board=mt799
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=unknown
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=tegra
ro.build.product=mt799
ro.build.description=full_mt799-eng 4.0.4 IMM76L eng.jmz.20120927.142732 test-keys
ro.build.fingerprint=Android/full_mt799/mt799:4.0.4/IMM76L/eng.jmz.20120927.142732:eng/test-keys
ro.build.characteristics=default
ro.cm.device=mt799
keyguard.no_require_sim=true
ro.com.android.dateformat=MM-dd-yyyy
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.adb.qemud=1
ro.kernel.android.checkjni=1
ro.setupwizard.mode=OPTIONAL
net.bt.name=Android
net.change=net.bt.name
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.factorytest=0
ro.serialno=01xxxxxxxxx8
ro.bootmode=unknown
ro.baseband=unknown
ro.carrier=unknown
ro.bootloader=unknown
ro.hardware=mt799
ro.revision=0
ro.emmc=0
init.svc.recovery=running
service.adb.root=1
init.svc.adbd=running

E:failed to mount /data (Invalid argument)
E:failed to mount /data (Invalid argument)
E:Unable to mount /data when trying to read settings file.
I:Attempt to load settings from settings file...
E:failed to mount /data (Invalid argument)
I:Mounting /data/media to /sdcard
umount: can't umount /sdcard: Invalid argument
mount: mounting /data/media on /sdcard failed: No such file or directory
I:Script file found: '/cache/recovery/openrecoveryscript'
I:command is: 'install' and I:value is: '/sdcard/gapps.zip
'
I:Zip file not found on internal storage, trying external...
E:failed to mount /data (Invalid argument)
Installing zip file '/sdcard/gapps.zip
'

-- Install /sdcard/gapps.zip
...
Finding update package...
I:Update location: /sdcard/gapps.zip
Opening update package...
E:Can't open /sdcard/gapps.zip
(No such file or directory)
* Verifying filesystems...
I:=> Let's update filesystem types via verifyFst aka blkid, command: 'blkid'.
* Verifying partition sizes...
E:Unable to mount '/data' (tw_mount)
du: /data/media/.android_secure: No such file or directory
E:failed to mount /data (Invalid argument)
E:failed to mount /data (Invalid argument)
+----------+-----------------------------+--------+----------+----------+---+---+
| Mount | Block Device | fst | Size(KB) | Used(KB) | M | B |
+----------+-----------------------------+--------+----------+----------+---+---+
| | | | 0 | 0 | 0 | u |
| system | /dev/block/mmcblk0p3 | ext4 | 524288 | 323136 | 1 | f |
| data | /dev/block/mmcblk0p11 | ext4 | 8192 | 0 | 1 | f |
| boot | /dev/block/mmcblk0p2 | emmc | 8192 | 8192 | 0 | i |
| recovery | /dev/block/mmcblk0p1 | emmc | 8192 | 8192 | 0 | i |
| cache | /dev/block/mmcblk0p4 | ext4 | 786432 | 13088 | 1 | f |
| external_sdcard | /dev/block/mmcblk1p1 | vfat | 7557120 | 64 | 1 | n |
| | | | 0 | 0 | 0 | n |
| andsec | /data/media | vfat | 0 | 0 | 0 | f |
| sd-ext | /dev/block/mmcblk1p2 | | 0 | 0 | 1 | f |
| | | | 0 | 0 | 0 | n |
| | | | 0 | 0 | 0 | n |
| | | | 0 | 0 | 0 | n |
+----------+-----------------------------+--------+----------+----------+---+---+
E:Error installing zip file '/sdcard/gapps.zip
'
Done processing script file
I:Switching packages (TWRP)
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'