Repartition Nabi2 to remove / reallocate "addon" partition? - Fuhu Nabi 2

All,
I've done quite a bit of searching and can't seem to find a good tutorial or method for re-partitioning the NABI2-NV7A to remove the "addon" partition and reallocate its space elsewhere. I would ideally like to put the extra space in the system and data partitions. Has anyone successfully done this? Is it a bad / more risky than normal for XDA users are used to?
I currently have the 3.0.13 KK debloated ROM from n3wt and the latest TWRP 2.8.5.0v2 from aicjofs installed, as well as Links2SD setup with a second ext4 partition on my SD card. I have formatted the addon partition per terminal command instructions for the Nabi2 found elsewhere. Links2SD is not always reliable as it often causes the system to hang when moving data to the second partition. I have seen the post from ashahin1 that sets up this similar second partition without the need for Links2SD - is this more reliable?
Any advice or direction someone can send me in would be very helpful. Thanks!

Gabes Dad said:
All,
I've done quite a bit of searching and can't seem to find a good tutorial or method for re-partitioning the NABI2-NV7A to remove the "addon" partition and reallocate its space elsewhere. I would ideally like to put the extra space in the system and data partitions. Has anyone successfully done this? Is it a bad / more risky than normal for XDA users are used to?
Click to expand...
Click to collapse
The only way is by nvflash, and I am a little fuzzy on the whole thing since it was so many years back. The only solution that was "tested" was using some of the cache partition and putting it in the system partition. I created that solution and somewhere between 5-10 users used it and it worked. I also documented increasing data partition and found that while the tablet ran mounting /data/media/ was having issues. I wouldn't say it was any more risky or bad but it is definitely a very high user understanding to implement it. I have a tool posted somewhere here that does some of it by script but what you want would need to be developed for the data and addon partition(which could then be scripted). Short version. Taking from cache and adding to system worked no issue, increasing data(and I forget from where i took it) had some bugs that I think could be worked through but I stopped at that time.
I'll try and find a link to my notes but in general the issue is that the repartitioning through nvflash is not 100% perfect. There are 3 partition tables, one nvflash uses and a GPT style linux kernel uses(and it's backup). If I remember correctly when formating in nvflash it updates both partition tables but won't boot unless you restore the old nvflash PT(leaving the new modded GPT). It's also best not to remove a partition but shrink it down. In example below I wouldn't get rid of addon but make it 2097152 from 1572864000 then use the left over space to put on data.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You really can't go wrong as long as you grab the first 3 partitions before you start editing. The script I have out there makes a file "bricksafe.img" of those partitions.
Code:
nvflash --bl bootloader.bin --rawdeviceread 0 3072 nabibricksafe.img
Really as long as you have that it is impossible to brick a Nabi2(hardware failure not withstanding). Another common issue is the Nabi2 original came in 2 versions, 18 partitions, and 19 partitions. It's important to figure out which you have before starting. I could go on and on about this but it's been a month since your post so you may not care any more, or you may read what I have said so far and not want to try it so I will save my breath unless you want to try it.
This is where I start talking about nvflash stuff
http://forum.xda-developers.com/showpost.php?p=46579190&postcount=1687
there is a few more after this but more or less the end of my using it
http://forum.xda-developers.com/showpost.php?p=49435879&postcount=2182
I currently have the 3.0.13 KK debloated ROM from n3wt and the latest TWRP 2.8.5.0v2 from aicjofs installed, as well as Links2SD setup with a second ext4 partition on my SD card. I have formatted the addon partition per terminal command instructions for the Nabi2 found elsewhere. Links2SD is not always reliable as it often causes the system to hang when moving data to the second partition. I have seen the post from ashahin1 that sets up this similar second partition without the need for Links2SD - is this more reliable?
Any advice or direction someone can send me in would be very helpful. Thanks!
Click to expand...
Click to collapse
I have honestly never been very interested in making external SD work as increased storage(nor do I own a Nabi2 anymore) but I told people for a long time that ramdisk was the way to go, so ashahin's method is one I would prefer although again I have never tried it.

aicjofs, thanks for all the great info! I'll do my homework and give it a try. My son recently got a gen 5 7" kindle fire. It's nice and I'm trying to resist the urge to do any mortifying to it. So that means I can play around with his old Nabi2 without upsetting him. I have some experience using nvflash to in brick my wife's old Asus Transformer TF100.
I'll let you know how it turns out.

Related

[Q] touchpad 16 gb only showing 12 gb of space?

I just reset my touchpad. (doctor + on device data wipe). My touchpad used to 14 gb before this now it shows 12gb. Any suggestions?
did you install touchdroid android, or modify the partitions in any way?
also, check your installed apps/preware veifry app space usage
I tried that chroid ipk and thats it thats why I doctered my device because I wouldent let me use uberkernel anymore.
curious...do you know how to use novaterm?
No idea man...
blerg...the big problem i have with webOS doctor is that it doesnt restore the partition table...it doesnt even touch it...so im thinking that either something modified your partition, or you can try to reinstall 3.0.2 again...
if you knew how to use novaterm, we could check the partition tables to see if theyre valid, but if you dont have the sdk/pdk set up, its not worth it to do it if you dont know how to use it
Is there a toutorial I can follow that can help redo my partitons?
i TOTALLY do not recommended doing that! As far as I know, that is the only surefire method to bricking your touchpad if you miss a single character on the command line.
Id say google it, but you might be better off taking the 2gb hit and wait for some partition guides to come available. Most of the advanced nova stuff is on webosinternals.com and the palm SDK site, so you cam start your research there.
Also ask some other 16gb users who can use nova to post the size/locations of their partitions, that way you have a reference point
Sent from my HTC Sensation Z710e using XDA App
Thanks man... ill try that do you think CM7 will rest the partitions.
UnderZone7 said:
Thanks man... ill try that do you think CM7 will rest the partitions.
Click to expand...
Click to collapse
highly, unlikely, if anything you will end up with LESS spaace on your webOS partition because CM will need to reallocate partition space for its own use
My Touchpad shows only 12,6 gb too, but it've been that way all along. Other strange thing was that i wasn't able to update from 3.0 to 3.0.2 by OTA, it just showed me "your device is up to date", had to use Doctor. Hope that all those things are just a software hickup, not a damn hardware malfunction.
Unrealwolf said:
My Touchpad shows only 12,6 gb too, but it've been that way all along. Other strange thing was that i wasn't able to update from 3.0 to 3.0.2 by OTA, it just showed me "your device is up to date", had to use Doctor. Hope that all those things are just a software hickup, not a damn hardware malfunction.
Click to expand...
Click to collapse
wow, that is strange... i hope it isnt a hardware defect either...unless webOS 3.x.x takes up 2gb
heres how you can check (make sure you have palm SDK, novaterm and a calculator handy )
-connect TP via usb straight to your pc (no usb hubs!)
-on the TP, either hit cancel or do nothing, do not enter usb mode! you dont need dev mode either.
-load up novaterm
-hit connect
-type "df -h" (without the quotes)
-add up the size totals, and see whatcha got!
if possible, please post results, im curious to see if its hardware or software
I have the same issue.. I will try it out once I get home later today
Solidus_n313 said:
-connect TP via usb straight to your pc (no usb hubs!)
-on the TP, either hit cancel or do nothing, do not enter usb mode! you dont need dev mode either.
-load up novaterm
-hit connect
-type "df -h" (without the quotes)
-add up the size totals, and see whatcha got!
if possible, please post results, im curious to see if its hardware or software
Click to expand...
Click to collapse
I've got some problems with novaterm - it shows an error (which could be ignored) after every keypress, it doesn't scroll proper, ant it doesn't allow me to copy/paste. I've made a screensot of the beginning of that long output thing, here
http://dl.dropbox.com/u/21304732/unt.png
BTW. i've found that it's quite common: here is the thread of a guy who has 12.6 gigs too http://forums.precentral.net/hp-touchpad/298469-where-my-16gb.html
I also had 12.6 GB free space when I received my TP. But I was able to update it to 3.0.2 via OTA without any problems. Though, the free space was still 12.6 GB after the update.
I have a 32gb only showing 23.5 gb available. It seems to lose 2gb each time I do webos doctor. Hopefully there's someway to reset its partitioning.
I'm only showing 12 Gb as well.
Here's what I show in Novaterm:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
theniel said:
I have a 32gb only showing 23.5 gb available. It seems to lose 2gb each time I do webos doctor. Hopefully there's someway to reset its partitioning.
Click to expand...
Click to collapse
I would hope that is not the case....can anyone verify this? Would make WebOS doctor a pretty crappy restore tool.

[Q] SD card slow to mount at boot

I've tried searching this issue with no luck, surprisingly! I thought it would be more common.
Anyway, when I boot up my Nexus One, it takes <Sandlot>FOR-EVV-ERRR</Sandlot> to mount my SD card. I've got most of my apps on that card, so it's super annoying!
Like I've said, I've got a bunch of apps (40?) loaded on to this card, a few documents, 4 CDs... random stuff. I haven't formatted the card in a looong time... nor have I wiped the phone in a loooong time. I am a crackflasher - I flash a new ROM every day, but I VERY RARELY have issues, so that's why I haven't wiped in so long. This is really the only issue I have, and, if somebody knows the command, I would be happy to just mount the SD manually through the terminal when I need it to.
The phone is a Nexus One. I'm running a CM7.1(or whatever it is) based ROM and kernel. The SD card is the 16gig one that came with the phone.
Any help is appreciated!
Billy
Cliffnotes: What's the terminal command to mount the SD card to the phone? So the ROM can access it?
Ok, so I guess I diagnosed this issue... after rebooting my phone and waiting for my apps to become available I was able to, through the settings menu, view the space used/available on the SD card. Sooo... it is mounted? And the delay is just Android loading the apps from the SD card? How can I speed that up?
Thanks,
Billy
Sent from my Nexus One using XDA App
Srsly?
This is the most extensive group of Android geniuses in the world... is this impossible? Am I asking in the wrong place? Am I not making any sense?
TIA,
Billy
Have you tried increasing the read and write speed of your sd card?
Theonew said:
Have you tried increasing the read and write speed of your sd card?
Click to expand...
Click to collapse
Like by buying a faster one?
Thank you for the reply,
Billy
You increase the read/write speed by increasing the SD card cache size. You can use an SD speed boost app to do so easily, there are a couple on the market. There's also a script that you can run.
I had a similar issue. I've been running the same rom for over six months, and initially just flashed updates over the existing version and only wiped caches. I'd strongly recommend that you go ahead and perform a full wipe. It may seem like a pain, but I am 95%, certain that it will fix your issue. Just backup your apps & data with Titanium Backup and after you've completely wiped & flashed your new rom only restore what you need. Weeding out unused apps should speed up your phone as well. You can always restore them if you need them.
plainjane said:
You increase the read/write speed by increasing the SD card cache size. You can use an SD speed boost app to do so easily, there are a couple on the market. There's also a script that you can run.
I had a similar issue. I've been running the same rom for over six months, and initially just flashed updates over the existing version and only wiped caches. I'd strongly recommend that you go ahead and perform a full wipe. It may seem like a pain, but I am 95%, certain that it will fix your issue. Just backup your apps & data with Titanium Backup and after you've completely wiped & flashed your new rom only restore what you need. Weeding out unused apps should speed up your phone as well. You can always restore them if you need them.
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This sounds promising! I feel like I should have known this already, but I'll give it a shot and update this thread.
Thanks a bunch!
Billy
Sent from my Nexus One using XDA App
Hi, I've been wondering why my P500 on the stock rom 2.3.3 has been taking about 4 minutes to boot! Well I just tried booting without the SD card and it booted up in about 30 seconds! Does anyone know why? most of my apps are on the SD, I also have some music. But the SD is 16gb and a class 10 from SanDisk.
Any incite would be a great help.

[Q] Overcome the large file limit of FAT32?

I want to be able to copy files >4Gb to my Touchpad. This is so I can watch HD movies on the device.
I already tried adding resizing the media partition and adding an ext3fs partition using "Tailor" (a webOS app). Although this is easy and it worked, I couldn't find any way to have this partition mount at boot time and be seen by my Android apps.
There are a couple of posts out there on the web from people claiming that they "reformated" the shared partition (/media/internal) to ext3fs successfully.
Has anyone here done that, and if so (a) how? and (b) were you able to have it mount and be visible from android apps?
Otherwise does anyone have any suggestions please?
cheers
Paul
+1
Sent from my HTC Desire HD using XDA App
Getting somewhere...
I tried again having found out that the ext3 partition I created in webOS is found at /dev/mapper/store-ext3fs
Under Android - everything below is done in Android
I am able to mount this partition to my fake sd card (I just created a folder there called "ext").
Code:
su
mount /dev/mapper/store-ext3fs /sdcard/ext
I found that copying files by USB doesn't work while my ext3 partition is mounted, which is a pain - would be good to get that fixed. Anyone have any ideas?
I am now testing copying over a >4Gb file to my ext3 partition using ftp client. Will take some time on my crappy wifi, hence the comment about fixing USB.
I found that in order to make the ftp process work, I had to give full permissions to this folder.
Code:
chmod /sdcard/ext
I am a noob, so if anyone can help me with a less insecure set of permissions I would be grateful.
I'll post an update later on.
Nah, didn't work. After a few hours of copying I went to bed, this morning the folder is empty. I'm not sure if there was an error or anything.
My suspicion is that it crapped out when it got to 4Gb because even though the partition is ext3, it is mounted at a mount point on a FAT32 partition.
I realised I can test this more easily and eliminate possible network errors or ftp client instability, I'm running
Code:
dd if=/dev/zero of=output.dat bs=1024 count=51200000
within my /sdcard/ext folder (my mount point), this should create a 5Gb file.
I'm expecting this to fail, again because even though the partition is ext3, it is mounted at a mount point on a FAT32 partition. If anyone can help me to mount the partition some other way so its not mounted in a FAT32 partition, or point to another method to overcome the file size limit, I would be grateful.
thanks
Paul
That worked!
dd-ing a large file worked. I think I got my calculations wrong so when it got to >7Gb I just stopped it.
Now it would be great to get this working such that I can use USB instead of ftp to get my movies across.... Anyone?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
USB transfers not working
Anyone help me identify partition number for my ext3 partition please?
My ext3 partition is all working except when mounted I cannot use USB transfer.
Believe this is because my vold.fstab mounts the first available partition as SD card.
So would like to know correct partition number for SD card and ext3 partition.
I gave up on this in the end. Assured by clearly very clever jcsullins over on the cm touchpad IRC that the partition doesn't get a number and I would not be able to get my USB file transfer working. I also found the available media players (or maybe CM itself at the moment?) unable to cope with my 720P movies.
All is not lost though. I'm having more luck over on webOS using touchplayer and an overclocked kernel.
Thanks to those who tried to help with this!

Supertool for Nook Tablet

Alright, this thread is going to be dedicated to "Nooky" the supertool. What this script will do, is multiple things. Reset to factory firmware (exploit the /factory partition / bootcount.), Root, fix broken recoveries, and with root comes all of the mods for stock that I came up with. This is so then we can have everything in one tool without worrying about certain things. (also, after root, it could also install CWM recovery.)
Instructions:
I suggest that you have some kind of root shell. Either by using the adb hijack app I made found here or by being in recovery.
Extract the zip, and click "Nooky.bat" Ignore all other files, just click "Nooky" not nook and zergy. Nooky. Just needed to clarify. Anyway, then you just go through the menus and choose what you want. Enjoy.
*Note, you need to have an adb shell running as root on some of these options. So you may want to be booted into recovery off sd or something.
Features:
Root (includes nook and zergy script)
Md5sum check for recovery images.
Recovery flashers (root only.)
Reboot menu (Android and Recovery)
Reset nook to factory state (including /system and boot.) {8 failed boots method}
Auto device checker
More to come (maybe)
Download, screenshots, and changelog will be in 2nd post.
Download link:
download the awesomeness here.
Changelog:
Code:
1.0: Initial Release
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks, it would be great if that tool has an ablility to resize the system partition of NT,
at the moment, users are only able to access 1GB via usb and repartitioning process is pretty complicated.
since there are CWM recovery img floating around the forum we can just reflash that after we repartition.
Very cool!
psh, seems more like a discussion thread >.> lol, J/k Will post video when made.
when you say install recovery, is this stock or CWM? If it is CWM, might I suggest a restore to stock flash as another option? or the reverse?
Other suggestions- stock image flasher? Stock image checker? check mounting of SD card? is it possible to use this tool to force people to boot from SD card by choosing an option here?
Just thoughts.
seems a good tool!
leegoon84 said:
Thanks, it would be great if that tool has an ablility to resize the system partition of NT,
at the moment, users are only able to access 1GB via usb and repartitioning process is pretty complicated.
since there are CWM recovery img floating around the forum we can just reflash that after we repartition.
Click to expand...
Click to collapse
We should have full use of the storage on the Nook Tablet after the next release of the CM7 ROM that Celtic, Gonce and Indirect are working on, without changing partitions at all.
Repartitioning is kinda dangerous with these things, it's not like repartitioning an SD card or a PC. This tool is for prepping/rooting/factory-resetting a nook tab, among other things. I think it's going to be pretty important as a recovery/prep tool when everyone's flashing ROMs to their NTs.
Mike is right. Also, fixed a small bug.
Sorry i don't understand only one think (i hope), To use this supertool, i have to install adb and usbdriver?
Sorry for the stupid question? but i not sure
i want to buy NT, but first, i want know how to root it?
Thanks

As anyone EVER recovered data after a Factory reset?

As anyone EVER recovered data after a Factory reset? There are so many people who just give blind advice to use android recovery software which actually doesn't work. I have contacted all data recovery they claim it's not possible after Android 8. If anyone has recovered data after a Factory Reset in Android 10. Please Share your thoughts. Also, I have contacted Data recovery specialists across the World who mentioned It's not possible after a factory reset.
Rooting OnePlus 8 ain't easy task. Also I spoke with stellar they don't support after Android 8.
Davevar said:
I understood the key is lost with the deletion.
Click to expand...
Click to collapse
any questions left?
aIecxs said:
any questions left?
Click to expand...
Click to collapse
Never got any answer
the answer is keys are lost with the deletion.
Ok. So you mean anything which is permanently deleted on android 10 is not recoverable? I am not sure of key deletion I just googled and got tons of articles with different opinions. I will be glad if you explain it better here.
there are tons of opinions but there is only one truth.
Completely securely deleting a single file
My impression is that, if one wishes to be able to delete a certain file completely, without wiping an entire drive, one should never store it on an SSD. Is that right? Even with whole-disk-encry...
unix.stackexchange.com
True. My last question which I need some clarity. I read encryption works only when the screen password or lock has been set. Since this phone was used by my parent they never had any screen lock or password set. Not sure if it's encrypted without a screen lock or password. As I read it phone encrypts only when the screen password is set,. can you throw some light on this? I would really appreciate it.
Doesn't matter. In case no screen lock provided, KDF generates KEK without credentials. each file is encrypted with Per File Key that gets deleted together with file.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
https://source.android.com/docs/security/features/encryption/file-based#key-derivation
try to find copy of deleted files in .trashcan or .thumbnails with this app
FindMyPhoto – Recover Photos o - Apps on Google Play
A truely free app to recover deleted photos on Android devices.
play.google.com
Davevar said:
I permanently deleted some pics from my Android phone. Is there any way I can recover the pictures? This is Oneplus 8. Android version 10. I believe they come with file-based encryption from the factory not sure though. As I did a lot of googling I understood the key is lost with the deletion. can someone share if there is some way that I can recover the data?
Click to expand...
Click to collapse
It seems possible to recover the photos, as long as they were not overwritten by other data.
https://android.stackexchange.com/questions/208106/how-to-recover-a-deleted-file-from-data-partition
https://forum.xda-developers.com/t/...p-encfs-f2fs-tools-testdisk-photorec.3709380/
Hope that helps.
@wenyendev kindly read the answer you have just linked:
But first of all, see this answer to make sure your data is recoverable.
In short, recovery is more or less possible only if:
Your deleted data hasn't been TRIMmed or discarded.
And you haven't done a factory reset on encrypted /data partition.
source
These two old threads may cast some more insights.
[GUIDE] Internal Memory Data Recovery - Yes We Can!
This method does not seem to work on newer phones that apply TRIM or some other type of partition clearing implementation. If anyone has recovered their data on a device newer than Android 4.3 please pm me and let me know. The Preamble Did you...
forum.xda-developers.com
[Guide] Undelete / Data Recovery - Internal Memory
Hello here is a guide to Recover Deleted files from internal memory From Any android Phone You Need 1.Rooted Android phone ( In my case i used Note 2 N7105 ) 2.Install busybox ( Note : Install in /system/bin NOT at system/xbin ) 3.Drivers...
forum.xda-developers.com

Categories

Resources