yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] ALD3:
Ok I used ln -s /sdcard2/sdcard and ln -s /sdcard2 /sdcard

I was not sure of if there was a space between sdcard and /sdcard so tried both ways and this is what I got. Also Nabi2 calls sdcard-INTERNAL STORAGE and micro sdcard is SD CARD

if that might make a difference.
[Miscellaneous Android Development] ALD3:
Also after I get the right response, I should reboot......correct?

Here is the vold.fstab file, it uses sdcard and sdcard2 in it, the other internal storage and sd card is what is used in settings/storage.

## Vold 2.0 fstab for kai

#######################

## Regular device mount

##

## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>

## label - Label for the volume

## mount_point - Where the volume will be mounted

## part - Partition # (1 based), or 'auto' for first usable partition.

## <sysfs_path> - List of sysfs paths to source devices

######################

# Mounts the first usable partition of the specified device

dev_mount sdcard /mnt/sdcard2 auto /devices/platform/sdhci-tegra.0/mmc_host/mmc2

dev_mount usbdrive /mnt/usbdrive auto /devices/platform/tegra-ehci.0/usb2
[Miscellaneous Android Development] Dropline:
Try this maybe...

From terminal emulator, enter for each line...

su

cd /

ln -s /mnt/sdcard2 sdcard

exit

exit

To be honest, if the files are copied over already you may not need to reboot at all.

Those files, I kinda see how it works, but still nothing I have used.

Sent from my NuSense Infected ThunderBolt.
[Miscellaneous Android Development] ALD3:
Kind of like when I was trying the vold file but here is the results.
[Miscellaneous Android Development] Dropline:
Try /mnt/sdcard2 for the path.

Sent from ROOTed NEXUS7 running ParanoidAndroid.
[Miscellaneous Android Development] ALD3:
Ok her you go. I know this is draging out so Thank you. You are really the only one to help with this.
[Miscellaneous Android Development] Dropline:
Really close, I know I did this before, but on Gentoo Linux. Where is that void file on the os you talked about? I looked and could not find one on mine. maybe remove the line for the /sdcard/ mount point there, then try this a again. Beyond that it may not work on how the current folder is mounted.

Sent from ROOTed NEXUS7 running ParanoidAndroid.
[Miscellaneous Android Development] ALD3:
Vold.fstab is in system/etc. Also on other devices, you would have to set permissions to read write and excute. All 3 to rwx.
[Miscellaneous Android Development] Dropline:
Did you try changing the first line in the file to this and reboot?

dev_mount sdcard /mnt/sdcard auto /devices/platform/sdhci-tegra.0/mmc_host/mmc2

Sent from ROOTed NEXUS7 running ParanoidAndroid.
[Miscellaneous Android Development] ALD3:
I changed it to

dev_mount sdcard2 /mnt /sdcard auto /devices/platform/sdhci-tegra.0/ mmc_host/mmc2

Also

sdcard2 auto /mnt/sdcard and a few other various changes but not yours, will try it. By the way, every change that I have tried has caused es file explorer to not recognise my micro sdcard/sdcard2 and when opening settings/storage, I get storage has stopped. So storage will not open.
[Miscellaneous Android Development] Dropline:
Between voting and my birthday today, I am not going to be doing many forum things today.

But the reason I said to change that way is sdcard2 really is /mnt/sdcard they rename it sdcard2 being they use internal memory as the virtual /sdcard/ folder.

That's why I said to change that one line to /sdcard/ in hopes it is done after and remounts the /mnt/sdcard as /sdcard/ instead of /sdcard2/.

Hope that makes sense.

Sent from my NuSense Infected ThunderBolt.
[Miscellaneous Android Development] ALD3:
Just tried your suggestion and the same thing as with mine. Setting/storage won't open and es file explorer doesn't recognise the microsd /sdcard2. Crazy is that I changed both to sdcard2 and after reboot....No Change setting/storage opens and both are the same place and es file explorer sees both as always. Oh Yes Happy Birthday too.
[Miscellaneous Android Development] RageAgain:
Sorry I haven't waded in on this again, interested but busy. I have been using GL to SD with some success, but the current version is buggy and it is sometimes necessary to reboot to correct the errors it is causing.

Anyway, I reread this discussion but may have missed some things, so please forgive if I broken record.

That being said I had two questions that rereading may have missed.

1) after incorrect vold mod how do you return to normal?

2) have you tried this iteration?

dev_mount /mnt/sdcard2 sdcard auto /devices/platform/sdhci-tegra.0/mmc_host/mmc2
[Miscellaneous Android Development] ALD3:
1. I have a saved original vold and copy/replace then reboot.

2. Ha......not sure what. Lol but I will certainly give it a try to make sure. :)

Thanks

I haven't mentioned it but I did copy all folders from internal storage to micro sdcard.

EDITED UPDATE. tried your suggestion and same thing as before, settings/storage force close and es File explorer can't recognize sdcard2.
[Miscellaneous Android Development] Clarkiss:
I have not tried the Vold iteration you posted or any of the Vold mods anyone has posted yet...The main reason I have not is because ALD3 has been testing every suggestion anyone has posted with no success so obviously I been waiting for him to say THANK YOU THANK YOU lol or something along those lines and I thank you Mr. ALD3 for all of ur tireless experimenting on the Vold.fstab file! He has been one of the many searching with me from the first post on this subject and I don't plan on giving up anytime soon ha gota get this Nabi 2 ready and have all the games my son wants installed before I rebox it and wrap it up for xmas;) Anyway RageAgain, I have tried GL to SD with NO success :rolleyes: The first game I tried GL to SD on was of course Asphalt 7 being 1.4GB's in size and it moved it to sdcard2 with no problem and I was immediately excited :highfive::victory::D But to my demise when I started the Asphalt 7 App it started like normal but wanted to download the additional 1.4GBs of game files :crying::mad: So I guess the game does not realize the files moved to sdcard2... Which really sucks because that would have been perfect if it worked cause of course we could just use GL to SD for all the HUGE apps when ever we wanted :(
[Miscellaneous Android Development] RageAgain:
When I use GL to SD after moving data, I have found you need to 'open' the app from within the GL to SD main page - but not use the 'mount' command first - and use unmount & exit from the menu after quiting the game. You also need to make sure that 'Add mounted Folders' /sdcard/Android is checked in the Setting menu for non-Gameloft games...

But...

It seems to have a bug in dismounting the /sdcard/Android/data folder...

Also, the Nabi 2 seems to mount the emmc in another location, so the code needed to switch the two is probably incomplete. Fuhu seems to have hardly used any normal conventions in making the Nabi 2.
[Miscellaneous Android Development] ALD3:
Hey jump in anytime. I can use all the help I can get. A lot of us trying got a dump of the Arnova AN7G3. We all had limited experience but together we made it work. I'm barely any good at adb but can follow directions and commands. This vold file has been a Giant pain and I know it will be something simple when we get it.
[Miscellaneous Android Development] Dropline:
I would try it on the one here, but the sdcard is completely full.. ripped all her Disney movies and a bunch of other kids stuff. For my setup internal still has lots of space,not as many games as movies and shows.

May try tomorrow on wifes thrive, she is low on internal space and has pretty much all of her sdcard free. May help me understand what is wrong.

Sent from my NuSense Infected ThunderBolt.
[Miscellaneous Android Development] RageAgain:
[Help] Changing Around Mountpoints for sdcard and extSdCard?

A modification on this method will probably work since the device in question ( Galaxy Tab 2 7" ) seems to be set up basically the same, and only the names are changed...

http://xdaforums.com/showpost.php?p=29413682&postcount=53

---------- Post added at 09:31 AM ---------- Previous post was at 08:51 AM ----------

WARNING!! Although I have every expectation that this should work, I cannot guarantee anything of the sort, so use this at your own risk!!

This is the modified work of the excellent contributing member "DivinityCycle" and any credit belongs to him. The

changes to it are the modifications I believe are necessary to make it function with the Fuhu Nabi 2.

The script was designed to "live" in /data/local/

Code:

======cut here======

#!/system/bin/sh

mount -o remount,rw /

mount -o remount,rw /system

umount /mnt/sdcard

mount -t vfat -o rw,umask=0000 /dev/block/vold/179:49 /mnt/sdcard

rm -r /mnt/sdcard2

ln -s /data/media /mnt/sdcard2

mount -o remount,ro /system

mount -o remount,ro /

======and here======

save as 'sdcard_switch.sh' <-- with no quotes of course, put that file in /data/local/ and use script manager to

run at boot. ( Note: if you read his original posts, which I advise, you will see that I added the last two

mount/remount commands to return the file system to read-only state. )

The edit I made to vold.fstab is VERY minor.

original text:

Code:

dev_mount sdcard /mnt/sdcard2 auto /devices/platform/sdhci-tegra.0/mmc_host/mmc2

modified text:

Code:

dev_mount sdcard /mnt/sdcard auto /devices/platform/sdhci-tegra.0/mmc_host/mmc2
[Miscellaneous Android Development] ALD3:
I had read this just this morning and was wondering if it could be adapted for the Nabi. Now I have reread it, made and placed the sdcard_switch.sh and placed it in /data/local, made changes to vold file per your instructions. Changed permissions on vold and sh to rwx rwx rwx, both. I'm not sure what I need to do to have script manager run at boot, could you help me there. Or do I just reboot now.i
[Miscellaneous Android Development] aicjofs:
Not like we couldn't share an addon upload if needed. ;)

It's an awesome job. That really frees up the space, especially on addon. Now imagine that freed up space useable as part of the data partition. That would solve a lot of problems on 8 GB nabi.

---------- Post added at 07:16 AM ---------- Previous post was at 07:14 AM ----------

Think we hang because the kernel and boot loader are out of whack, I don't understand why that makes the menu not come up though. I'll try and think on it and upload something.
[Miscellaneous Android Development] aicjofs:
You can give this a try. Since you already tried once to put bootloader on the Nabi with APX/nvflash I am working with the assumption you have APX driver setup and the nvflash files from the RESIZE zip I guess. So unzip this into that folder and run hawk.bat It will put jellybean bootloader, JB Boot image, and JB TWRP.

hawkxcore.zip

If it works the bootloader menu will be back, if not we will have to try something else(Even without menu, now that boot.img is on JB I think if you let it sit there trying to boot for a couple minutes or so it will fail and fallback to recovery even without menus, not that that is what we are shooting for). If it does work go straight to TWRP, dont boot it to Android yet. Download the file below and extract the 2311 addon partition. ADB push it to the Nabi in the TWRP/BACKUPS/XXX/folder or use computer and a microSDcard. Whatever works for you and "restore" the addon partition

https://drive.google.com/file/d/0ByTvxgaoJXi5c3ctdW5sZFhJVG8/edit?usp=sharing

EDIT: one other thing I was thinking. You got this device in a non booting state to begin with so with all the changes...you may have no other choice but to do a factory reset in TWRP to get it booting again. Use as a last resort but that may have to happen.
[Miscellaneous Android Development] cogcaviz24:
hey, I'm stuck.

So I thought i soft bricked my son's nabi2. Long story short, I managed to restore it but no matter what I do, I can not get a wifi connections (yes, I tried the wifi fix file). Also, I'm not sure if this is related, but I can not get it to flash anything in TWRP. I tried going to the stock recovery then reflashing TWRP.... nothing seems to work.

BTW, I'm using ubuntu (xubuntu). I have a windows machine, but it has driver issues

thanks for any help.
[Miscellaneous Android Development] katinatez:
Need more info; what firmware version are you on now?
[Miscellaneous Android Development] cogcaviz24:
Currently on 1.9.12. I followed the tutorial to return to stock in Ubuntu Linux found on the wiki
[Miscellaneous Android Development] katinatez:
Wow, you are on the very first firmware. That explains the WiFi not working.

Go to Nabi wiki here

http://xdaforums.com/wiki/Fuhu_nabi_2

Download the current Ice Cream TWRP 2.6.3.0 use the fastboot flash command to install newest TWRP. Then flash all the updates in TWRP up to 2.1.27 then ota over WiFi and update to JB. Then flash TWRP for 4.1
[Miscellaneous Android Development] cogcaviz24:
Thanks, i'll give it a try
[Miscellaneous Android Development] cogcaviz24:
thank you, thank you, thank you. I suspect the version of TWRP was the culprit. But after installing the lastest TWRP, then flashing the 1st OTA, I let the tablet boot up and it found my wifi. So powered it off, pushed the original recovery and am letting completely update via wifi.

one down, one to go (2 kids = 2 nabi's)

thanks again
[Miscellaneous Android Development] katinatez:
Glad it worked
[Miscellaneous Android Development] yournamehere:
[MENTION=4939189]aicjofs[/MENTION]

Hey I know your a very busy man but did you make the resize for those of us with 19 partitions? I really need to wipe this thing, expand as much as possible and I decided to wipe most if not all preloaded apps as they are trials. I also have been following several threads on linking to sd, has anyone fully achieved this? Thanks.

Lol sorry aicjofs, i missed your return from vaca, I'm just looking for extra room in system like the first resize did but one that works with the 19 partitions.
[Miscellaneous Android Development] troybklyn:
I think I'm bricked!!

After trying to use NabiLab full to go back to being fully stock, I accidentally wiped the system clean in the process and can no longer boot into recovery. I have fastboot and adb installed, but it seems to be doing me any good, even though the drivers for Fuhu Nabi 2 Bootloader Interface are installed and visible in Device Manager. Is there anyway possible for me to get a recovery back on my device? Any help will be greatly appreciated.
[Miscellaneous Android Development] yournamehere:
A few posts back they linked a recovery you can fast boot to it
[Miscellaneous Android Development] aicjofs:
It should be easy to increase system partition in the same manner, just a few lines of code and a different flash.cfg. The increase in system partition size is less useful then it was before unless there is some special apps that have to be on system. The most useful for a lot of people would be increasing data partition by shrinking addon.

I ran in to a small roadblock when I was converting a normal Nabi2 to a Disney edition. That required increasing system, addon and shrinking data. Everything worked great except one thing and that was that something went wrong with fuse and I couldn't make it emulate fat when hooking up to a computer. I kind of stopped at that point as that was about the time Jellybean arrived and took alot of my free time, and then I went on vacation. I was very very close to the conclusion we could repartition the Nabi anyway we liked but the /data/media MTP stuff is something that was broke still. From the experiment we can attest to the Nabi2 being almost brickproof if you grab the right files before something goes wrong, and somewhat configurable as far as partitions are concerned, just not 100% foolproof. Funny I had given up on nvflash/APX almost a year ago, and then realized I was a moron! ;)
[Miscellaneous Android Development] yournamehere:
Well it finally has come to this.. my daughter is getting my wife's ipad as it has better games. on the bright side it means i get the nabi so im up for flashing away. do we have a script to reset our serials back to factory from the standard one that got flashed when we went back with nvflash?
[Miscellaneous Android Development] TheSleezkIng:
i cant seem to figure out exactly which tutorial to follow to root my nabi 2.. im on an updated version that has all the GAPPS installed but i wanna root it and get rid of the majority of them cuz this dumb tablet never has space and my son aint using Google+ or any of those other dumb apps that he's not using. any help would be appreciated.
[Miscellaneous Android Development] n3wt:
if you can find the right version of twrp for your nabi2 and a directions to flash it then it will install root for you.
[Miscellaneous Android Development] katinatez:
You can flash minimalnabi.zip in TRWP and remove all the bloatware.
[Miscellaneous Android Development] TheSleezkIng:
ok the flashing part im good with ive flashed a billion things to different phones,just not sure which twrp i need for this,im on nabi 2.3 (the latest update).. thanks for your help guys by the way
[Miscellaneous Android Development] n3wt:
look at post #2039
[Miscellaneous Android Development] katinatez:
Go here and flash Jellytbean TWRP 2.6.3.0 JB4.1

http://xdaforums.com/wiki/Fuhu_nabi_2
[Miscellaneous Android Development] hawkxcore:
This worked perfectly, thank you so much!
[Miscellaneous Android Development] christianedward:
UK User

I'm a UK user who bricked his (daughters) Nabi 2 after the OTA updates (I had already rooted and installed GAPPs).

None of the above fixes worked for me but restoring the 2.1.27 stock image via TWRP got our Nabi back.

It thinks its US now but its working and so I'm trying the 2 part OTA update again now.
[Miscellaneous Android Development] christianedward:
Yes once I got the right version of TWRP in the OTA2.zip worked and has updated the Nabi to JB.
[Miscellaneous Android Development] Waleslie:
TWRP Backup not getting everything?

aicjofs -

Since you're the Nabi TWRP wizard, perhaps you can help answer this... Maybe not so much a Nabi question as a TWRP question.

I did a full TWRP backup of my son's Nabi - Recovery, Boot, System, Data, and Addon partitions.

Then, I was moving some stuff to the ext. SD card and ended up accidentally deleting his Minecraft worlds. They are located at

/sdcard/games/com.mojang/*.*

I figured no big deal, and did a TWRP restore of the System and Data partitions. When I reboot to the system, those files have not returned. Why not?
[Miscellaneous Android Development] aicjofs:
:good:

I fell victim to some deleted Minecraft worlds myself. Fortunately I had manually copied the world he wanted to the in home server a few days prior so only a little work was lost.

So the way the Nabi2 deals with internal SD card is the "datamedia" way. The "internalSD" card is not it's own partition but just a folder "media" inside the data partition. i.e /data/media and hence the name datamedia. When you backup the "data" partition in TWRP the program backup up all of /data EXCEPT it skips the media folder. In the same fashion when you do a factory reset in TWRP in skips the media folder as well. I imagine it's like that because the internal SD(media folder) can have videos, music, photo etc that would make backups in the 10's of GB's.

The short version is TWRP doesn't backup your internal SD. So stuff like minecraft worlds aren't a part of any TWRP backup.
[Miscellaneous Android Development] Waleslie:
Ugh... not the answer I was hoping for. Is there a way to make it backup everything? .. some option box to check or something?
[Miscellaneous Android Development] katinatez:
You could also use Titanium Backup to backup game, make sure to go to preference settings and save to external sdcard.
[Miscellaneous Android Development] SmiggyG:
Great work! I have a question though. How easily can the script be edited to pick and chose which apps to keep?
[Miscellaneous Android Development] n3wt:
Should be able to just open the zip in 7zip, you'll see META-INF, double-click that, and the again on com, google, and android...then right-click updater-script and select edit. if you don't want something deleted then remove the 'delete("whatever.apk");' line, or if you want to delete something that isn't in there then you can add a line for it as long as it's in a location that the script has already mounted and you know the exact path/actual file name.
[Miscellaneous Android Development] SmiggyG:
Thanks! I actually did do what you said to see the script. Just wasn't sure if anything else had to be done with the other files in the zip. Seemed too easy. :)
[Miscellaneous Android Development] katinatez:
The script works but I need to update it, I forgot to remove apk from data/data/ com.angry birds.apk

I believe this will fix the issue of running script twice.
[Miscellaneous Android Development] codest3r:
Finally got around to doing the restore. :)

Results were not good at first. The nvflash restores went well, the partition sizes looked right, but TWRP couldn't restore my system/data from before the resize. I found that the mke2fs and e2fsck commands in the script were failing because TWRP mounted the partitions. Learned that I could do it by hand or go into TWRP->Mounts and uncheck them and then let the script proceed and it ran fine.

Then the next issue is that all my system restores would fail. Tried the backup before restore.bat and the latest JB system and both failed on ICS and JB TWRP's. Finally went back to December 15 TWRP backup and all restored fine.

Taking OTA's now. I tried doing it via TWRP and boot/system restored fine but the addonfix.zip kept failing regardless if I tried installing it from ICS or JB TWRP. I probably overlooked something obvious or was doing it wrong but whatever, just restored stock recovery and took OTA's OTA. :)

And OTA's installed fine. Got a weird gallery app failure on first boot after part 2. No problems since.

Also, lockscreens for this version went on fine with no issues too, THANKS GUYS!
[Miscellaneous Android Development] TheSleezkIng:
so i instaled TWRP on one of the tablets i have,got that far,and then it was kinda glitchy tryna click on anything,i then tried again using nabilab and this time i could click stuff and i ran the root zip and **** said successful but when i went to restart the tablet it said "WARNING NO OS INSTALLED", and i was bit scared to continue the restart but i did anything and the tablet restarted just fine,but i have no idea if the **** actually got rooted or anything lol...is their anyway to check?

my main goal is to just make as much space as possible,my boys dont use none of those google apps (besides the play store) and all the "lite" games,atleast the ones they use i can easily replace with the paid versions...
[Miscellaneous Android Development] katinatez:
To check if its rooted just look for SuperSU in app drawer.

To wipe most of the apps just flash minimal nabi.zip in twrp found in nabi wiki.
[Miscellaneous Android Development] TheSleezkIng:
thanks i dont see SuperSU so i guess i'll have to do it again..

better question how do i boot into recovery from the tablet? lol
[Miscellaneous Android Development] katinatez:
Hold power button and both volume keys down for 10 seconds then use volume - to go to recovery kernel and hit volume up, thats it

On a side note my daughter turned 4 years old and discovered My Little Pony. New My Little Pony lockscreen mod for 2.3.11 found here

http://xdaforums.com/showthread.php?t=2595695
[Miscellaneous Android Development] 2girlzdad:
It's been a while for me, so I may be a bit fuzzy but I had a mess of issues getting the OTA update's onto our Nabi's since I had previously rooted and installed GAPPS. Anyhow, during the process I thought that I had bricked the Nabi's numerous times and I also had the NO OS INSTALLED message and I think it was due to me installing the wrong version of TWRP for Jellybean.

You may want to try this version of Nabilab -- it has the correct Jellybean version of TWRP:

http://xdaforums.com/showpost.php?p=48987089&postcount=2088

I'm sure that someone with more knowledge on these than I will chime in and say for sure what your issue is..