app 2 sd and partition size + more questions - Hero, G2 Touch Q&A, Help & Troubleshooting

Hello.
Im trying to get app 2 sd to work.
But i think i miss somting.
This is an unbranded HTC Hero in Europe.
This is what i have done:
Downloaded: flashrec-1.1.3-20091107-2.apk and recovery-RA-hero-v1.6.2.img and flashed the recovery boot loader.
Updated the phone with 3.2-update-hero-modacocustomrom-core-signed.zip from the recoveryboot loader menu.
Updated the phone with update-hero-radio-63.18.55.06JU_6.35.09.26-signed.zip from the recoveryboot loader menu.
Now i booted my phone and used it a few minutes.
Then i partitioned the SD card from the bootloader.
Swap-size = 32 MB
Ext2-size = 512 MB
Fat32-Size = Remainder (8 gb transcend class 6 card)
Then i did a move apps+davl to SD
I think i also did a fix apk vid mismatches.
Is this all that's needed to be done?
Or did i somthing in the wrong order here?
How can i check that i'm using my SD card?
Are the default partition sizes OK?
I'm sorry, but i was not able to post images here, links are not allowed for new users, picture of the process... you need to copy paste if you want to look at the pictures...
img16.imageshack.us/img16/6891/img1084c.jpg
img205.imageshack.us/img205/484/img1085.jpg
img248.imageshack.us/img248/3620/img1086k.jpg

rvenes said:
[snip]
Then i did a move apps+davl to SD
I think i also did a fix apk vid mismatches.
Is this all that's needed to be done?
Or did i somthing in the wrong order here?
How can i check that i'm using my SD card?
Are the default partition sizes OK?
[snip]
Click to expand...
Click to collapse
No need to select "Move apps+dalvik to SD" as Apps2SD will automatically kick in if it detects an ext2/3/4 partition on your sdcard. Don't know if it makes a difference that you did though.
Default partition sizes are okay, 512 MB is plenty for tons of apps. Don't think you need any swap for Modaco, at least I always set swap to 0 MB. Oh and keep the ext2 partition ext2 (don't upgrade to ext3/4, it wears out your sdcard much quicker).
You can check if it worked by using adb (if you don't know how to use adb, use the search):
adb shell
ls -al /data
If the output includes something like this:
lrwxrwxrwx root root 2010-03-16 23:42 app-private -> /system/sd/app-private
lrwxrwxrwx root root 2010-03-16 23:42 app -> /system/sd/app
...then you're golden. The arrows mean they are symlinks pointing to your sdcard, as opposed to actual directories (in phone memory).
EDIT: or much simpler. Run AndroidCommander.
Hope that helps.

Thank you.
I've moved on, so now using HeroDroid 0.4, but that change change within the end of the day.
First time flashing it was scary, 2nd not so scary, and the 3rd one will be just a walk in the park.
I assume ADB is Android Debug Bridge...
I've also tried AndroidCommander, but didnt get it to work... must look into that...

rvenes said:
Thank you.
I've moved on, so now using HeroDroid 0.4, but that change change within the end of the day.
First time flashing it was scary, 2nd not so scary, and the 3rd one will be just a walk in the park.
I assume ADB is Android Debug Bridge...
I've also tried AndroidCommander, but didnt get it to work... must look into that...
Click to expand...
Click to collapse
You're welcome. You're right about the scariness, however always make sure to do a nandroid backup before flashing, or it will get scary again.
Yes, and ADB is included in the android SDK you can grab from google. Running the SDK setup also allows you to download the usb debug driver (it's listed in sdk setup's repository as "usb driver package") you need for ADB - and Android Commander in turn, as it relies on adb for everything. You need to manually replace the HTC sync driver with the one from the sdk.

Hmm...
maybe it works...
img696.imageshack.us/img696/9166/app2sd.jpg
In that image you see a arrow pointing to somwhere else...
but with the ADB command i get an error...
w:\android-sdk_r05-windows\android-sdk-windows\tools>adb shell
# ls -al /data
ls -al /data
-al: No such file or directory
I did not change the HTC driver that i have installed on my Win 7 64 bit, but i am "inside" the phone... i have installed a program with AndroidCommander, and when i try just "ls" i get a list...
# ls
ls
sqlite_stmt_journals
config
cache
emmc
sdcard
d
etc
sbin
init
system
init.rc
proc
init.hero.rc
init.rc~
init.goldfish.rc
default.prop
data
sys
logo.rle
root
dev
#

Looks like it works for you! The green arrow in AndroidCommander means it's a symlink pointing elsewhere. And in the statusbar it says you have 430 MB free space on your ext partition. Assuming you used the default 512MB, that means there's already some 82 MB of apps on there. If all apps are showing in your Applications list, then it's all good.

Related

[REF] How to boot your SD build from magldr [quick guide]

This is a very short guide for all of you looking to dual boot android from the sd card now that you have windows phone 7 taking up the nand space. It's originally posted by letama and I added a bit to it.
It's actually quite simple. All you have to do is add nand_init to one line in the init.rc file. For most builds, you will need to use a linux distro and mount the rootfs.img file, then edit the init rc file, add nand_init to this line:
Code:
service ril-daemon /system/bin/rild -l /system/lib/libhtc_ril_wrapper.so -- -d /dev/smd0
so it looks like this
Code:
service ril-daemon /system/bin/rild -l /system/lib/libhtc_ril_wrapper.so -- -d /dev/smd0 nand_init
For builds that uses the cedesmith initrd method, you have to mount the system.ext2 file, everything else is the same.
Save your file. Make sure you haven't changed the permissions and unmount the image. Copy the build to your microsd, set magldr to boot from the directory you copied it to and boot ad sd, you should be good to go.
Problems: booting it this way does not read from your startup.txt, you have to wait for cotulla to add it in future magldr. I'm not sure if the old method of updating (dumping everything in a folder named root) still works.
Disclaimer: I've tried this with jdms, hd2one, superram, desire_hd2 and mdj rEVOlution 2.3 and they all work fine with my old data image, your mileage may vary. This is a very quick guide because that's all I know Anymore I'll have to search google, so you might as well do that yourself Anyone who have a better method of editing feel free to post it. I'll add it here if you post it in this thread.
Tip from aled99 to edit without linux.
Corias said:
I've managed to mount system.ext2 to Windows 7. Without VM and Linux at all.
What tools are needed:
1. Windows Ext2/Ext3 driver. You can get it from here.
2. Any software to mount image to virtual drive. I've used Gizmo Drive, but there are others also working.
Tip: Gizmo doesn't show ext2 as supportable image type, when you browse for image. So, manually type *.* filter.
Click to expand...
Click to collapse
Some files that are already edited:
CoreDroid HD 0.4 edited by ricola7
Desire_hd2 system.ext2 file
HD2ONE 0.3.5 system.ext2
JDMS 1.62
MDJ HD v4.6
MDJ rEVOlution 2.3 rootfs.img
NexusHD2-FRG83D v1.8 from nzxtneo
Superram 1.5 from letama
Builds that already work with magldr:
DL DesireZ v2.2 from dandiest
HD2 Gingerbread/CyanogenMod7 from copenhagen
Is this a method to boot a NAND Rom from SD Card without flashing?
blax123 said:
Is this a method to boot a NAND Rom from SD Card without flashing?
Click to expand...
Click to collapse
No it boots the sd builds from this subforum. Not the nand builds.
will this work if I have android in my nand, and want to run a different android off of sd card? Like if I wanna test drive gingerbread roms off the sd, while sticking with a froyo based rom in nand? I really want to do this.
izzy spun said:
will this work if I have android in my nand, and want to run a different android off of sd card? Like if I wanna test drive gingerbread roms off the sd, while sticking with a froyo based rom in nand? I really want to do this.
Click to expand...
Click to collapse
I haven't tried copenhagen's build but it should work the same way. Try it and let us know how it worked out
Edit: Actually I got curious and checked it out. Copenhagen's build does not require editing. You can boot it from sd using magldr as it is. Nice too. I think I'll play with that for a while
Sorry but I'm stuck on the first line. What is a linux distro? How do I edit the line? I'll be able to take care of the rest. This is the part that confuses me.
buzz killington said:
This is a very short guide for all of you looking to dual boot android from the sd card now that you have windows phone 7 taking up the nand space. It's originally posted by letama and I added a bit to it.
It's actually quite simple. All you have to do is add nand_init to one line in the init.rc file. For most builds, you will need to use a linux distro and mount the rootfs.img file, then edit the init rc file, add nand_init to this line:
Code:
service ril-daemon /system/bin/rild -l /system/lib/libhtc_ril_wrapper.so -- -d /dev/smd0
so it looks like this
Code:
service ril-daemon /system/bin/rild -l /system/lib/libhtc_ril_wrapper.so -- -d /dev/smd0 nand_init
For builds that uses the cedesmith initrd method, you have to mount the system.ext2 file, everything else is the same.
Save your file. Make sure you haven't changed the permissions and unmount the image. Copy the build to your microsd, set magldr to boot from the directory you copied it to and boot ad sd, you should be good to go.
Problems: booting it this way does not read from your startup.txt, you have to wait for cotulla to add it in future magldr. I'm not sure if the old method of updating (dumping everything in a folder named root) still works.
Disclaimer: I've tried this with jdms, hd2one, superram, desire_hd2 and mdj rEVOlution 2.3 and they all work fine with my old data image, your mileage may vary. This is a very quick guide because that's all I know Anymore I'll have to search google, so you might as well do that yourself Anyone who have a better method of editing feel free to post it. I'll add it here if you post it in this thread.
Click to expand...
Click to collapse
thanks.. so i must use linux? any tools available in win?
buzz killington said:
I haven't tried copenhagen's build but it should work the same way. Try it and let us know how it worked out
Edit: Actually I got curious and checked it out. Copenhagen's build does not require editing. You can boot it from sd using magldr as it is. Nice too. I think I'll play with that for a while
Click to expand...
Click to collapse
can you elaborate on this please.
can you give a step by step.
i am real interested in trying this.
thanks in advance.
Anthonayy said:
Sorry but I'm stuck on the first line. What is a linux distro? How do I edit the line? I'll be able to take care of the rest. This is the part that confuses me.
Click to expand...
Click to collapse
It's just short for Linux distribution, such as ubuntu or redhat. I used ubuntu. Once you have it mounted you can use any text editor available.
vista1984 said:
thanks.. so i must use linux? any tools available in win?
Click to expand...
Click to collapse
Sorry, I don't know if there are. Maybe others can chime in. Anything that'll let you mount an ext2 image and edit its contents will do. Unfortunately I'm not familiar with any windows tools.
Will this hack enable me to run Android from my SD card, with WP7 installed on the phone?
I just want to make sure, because I've been searching around, and several indidual sources have said that WP7 doesn't recognize any SD cards, including compatible SD cards.
I would really love to try WP7, but without losing my android.
Sent from my HTC HD2 using XDA App
WOOZ!E said:
Will this hack enable me to run Android from my SD card, with WP7 installed on the phone?
I just want to make sure, because I've been searching around, and several indidual sources have said that WP7 doesn't recognize any SD cards, including compatible SD cards.
I would really love to try WP7, but without losing my android.
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
Dude, it has nothing to do with WP7, You boot Android from MAGLDR not WP7. So you would either use a different SD card to boot into Android BEFORE booting windows or you would partition your SD card in a way that it allows you to use it for WP7 and Android at same time.
How can I mount the system.ext2 by using terminal?
Code:
[email protected]# mount -o loop system.ext2 /mnt
system.ext2: No such file or directory
asdfg2010 said:
How can I mount the system.ext2 by using terminal?
Code:
[email protected]# mount -o loop system.ext2 /mnt
system.ext2: No such file or directory
Click to expand...
Click to collapse
you have to specify where your file is and I believe you have to create a mount point, you can't just put it in /mnt. Somebody correct me if I'm wrong
Code:
cd /mnt
sudo mkdir sys
sudo mount -o loop -t ext2 /home/usr/Desktop/system.ext2 /mnt/sys
buzz killington said:
you have to specify where your file is and I believe you have to create a mount point, you can't just put it in /mnt. Somebody correct me if I'm wrong
Code:
cd /mnt
sudo mkdir sys
sudo mount -o loop -t ext2 /home/usr/Desktop/system.ext2 /mnt/sys
Click to expand...
Click to collapse
I try but not successful
windows ext2 editing
buzz killington said:
It's just short for Linux distribution, such as ubuntu or redhat. I used ubuntu. Once you have it mounted you can use any text editor available.
Sorry, I don't know if there are. Maybe others can chime in. Anything that'll let you mount an ext2 image and edit its contents will do. Unfortunately I'm not familiar with any windows tools.
Click to expand...
Click to collapse
I think you can edit an ext2 image with windows using the method in post #4 from this thread: http://forum.xda-developers.com/showthread.php?t=808169
Corias said:
I've managed to mount system.ext2 to Windows 7. Without VM and Linux at all.
What tools are needed:
1. Windows Ext2/Ext3 driver. You can get it from here.
2. Any software to mount image to virtual drive. I've used Gizmo Drive, but there are others also working.
Tip: Gizmo doesn't show ext2 as supportable image type, when you browse for image. So, manually type *.* filter.
Click to expand...
Click to collapse
I've tried editing the file and it seemed to save the changes, but I haven't tried booting android yet.
I am trying to do this method in super ram Rom but no success. I have successfully mount system.ext2 but there wasn't any init.rc file. After a lot Google search I have managed to discover that this file is in file initrd.gz and I made the change. But the build starts and hangs in first screen.any suggestion;
Sent from my HTC HD2 using Tapatalk
can anyone uploade the files? i dont have linux..
Cool, thanks! I seems to be working for me with MDJ FroYo HD v4.6. Has anyone had any success getting two Android ROMs running from their microSD card? I was doing this when booting from WM6.5 by putting them in different directories and modifying rel_path in the startup.txt for one of them, but obviously this method won't work until MAGLDR supports startup.txt...
clio94 said:
I am trying to do this method in super ram Rom but no success. I have successfully mount system.ext2 but there wasn't any init.rc file. After a lot Google search I have managed to discover that this file is in file initrd.gz and I made the change. But the build starts and hangs in first screen.any suggestion;
Sent from my HTC HD2 using Tapatalk
Click to expand...
Click to collapse
I didn't do the superram built myself, but letama posted a full version later in that magldr thread. Try to see if you can find it. If not I'm sure I still have it somewhere I can post it for you.
You can change Android folder on SD using MAGLDR
Enter Magldr
Select 9. Services
then 1. BootSettings
then 3. AD SD Dir

Custom scripts for Archangel root for firmware 2.0.71, 2.1.02, 2.1.03, 2.1.04, 2.1.08

Finally we have a method to obtain root that does not involve installing the SDE and that works on at least three different firmware versions. 2.0.71, 2.1.02, 2.1.03, 2.1.08. For all the details see http://forum.xda-developers.com/showthread.php?t=928767
This program has the possibility to execute a script after root is acquired. See the readme.txt of Archangel v2.
You can create a script in /sdcard/sdcard/extraroot.sh and this will be executed as root
whenever you reboot, so you can use this to do any additional root functions you want.
If you make an error with this script which causes you a problem then you can eject your
sd card and reboot and it then will not execute.
Click to expand...
Click to collapse
NOTE: For windows users. Please use Notepad++ to edit the extraroot.sh and convert the file to unix format. In the menu choose "Format" -> "Convert to UNIX Format". This option is available with version v5.1.4 of Notepad++ it has been reported that it's not available in other versions.
Please post the firmware version, your script and a little description here.
Firmware 2.1.02, 2.1.03, 2.1.04,2.1.08 - Disable Swap
Swap is automatically enabled in these firmware versions.
Code:
swapoff /dev/block/mmcblk0p3
To verify that swap is turned off go to the Terminal Emulator and type free
Code:
/ $ free
total used free shared buffers
Mem: 243824 230972 12852 0 4332
Swap: 0 0 0
Total: 243824 230972 12852
Another way to turn off swap permanently without using the a script is to disable the swap service. This can be done from within the Terminal Emulator with the following commands
Code:
$su
#setprop persist.sys.archos.swapctl.en 0
Then reboot the device.
This only needs to be done once.
Firmware 2.0.71, 2.1.02, 2.1.03, 2.1.04, 2.1.08 - Disable ads
Disable ads. This was posted by archaism1 here http://forum.xda-developers.com/showthread.php?p=10941853#post10941853
Code:
cat <<EOF >/tmp/hosts
127.0.0.1 localhost
127.0.0.1 pagead2.googlesyndication.com pagead.l.google.com googleads.g.doubleclick.net
127.0.0.1 api.admob.com mm.admob.com r.admob.com mob.adwhirl.com cus.adwhirl.com met.adwhirl.com
EOF
mount --bind /tmp/hosts /etc/hosts
I have not tested this myself because I think the devs of applications need the ads to make some money.
Firmware 2.1.02, 2.1.03, 2.1.04, 2.1.08 - Swap on sd-card
Disable swap on internal storage and create a swap file on sd-card. The swap is 256Mb big to change the size just adjust the 256 value in the script.
ATTENTION: it can take a few minutes the first time the script is executed.
Code:
swapoff /dev/block/mmcblk0p3
if [ ! -f /sdcard/sdcard/myswap ]
then
echo "Creating swap file"
dd if=/dev/zero of=/sdcard/sdcard/myswap bs=1M count=256
mkswap /sdcard/sdcard/myswap
fi
swapon /sdcard/sdcard/myswap
And here the result of free
Code:
# free
total used free shared buffers
Mem: 243824 241432 2392 0 6232
Swap: 262136 320 261816
Total: 505960 241752 264208
WARNING: if you use a swapfile, which is described here, you can't use a usb connection to copy files without disabling the swap with the following command.
Code:
$su
#swapoff /sdcard/sdcard/myswap
Credit for this goes to http://forum.archosfans.com/viewtopic.php?f=74&t=42718
Hondaracer posted some scripts I'll include them as attachments
Advanced stuff.
Loading kernel modules.
There was a post in another thread about CifsManager here
chulri was so kind as to build the module. You can download it here.
Unzip the downloaded file and place it in a directory under /sdcard I suggest /sdcard/modules/
Add the following code to the extraroot.sh
Code:
insmod /sdcard/modules/cifs.ko
and reboot.
Now you can install CifsManager and start mapping drives.
Disable swap without using scripts
In Terminal Emulator execute following commands
Code:
$su
#setprop persist.sys.archos.swapctl.en 0
I have to create a file named extraroot.sh and and put it in /sdcard/sdcard ?
Do I need to make it executable ? (chmod +x)
Does it work only with permanent root ?
Thanks
ben.daccache said:
I have to create a file named extraroot.sh and and put it in /sdcard/sdcard ?
Do I need to make it executable ? (chmod +x)
Does it work only with permanent root ?
Thanks
Click to expand...
Click to collapse
You don't need to make it executable it's executed with sh /sdcard/sdcard/extraroot.sh
And you don't need the permanent root option either. It is also executed when you push the button.
Have tried your "Disable ads" script and it works perfect
No ads.
Why disable swap? Is there any reason?
cu
pOpY
PS: is there any way to increase the app storage size without using urkdroid?
popy2006 said:
Have tried your "Disable ads" script and it works perfect
No ads.
Click to expand...
Click to collapse
Good to know.
popy2006 said:
Why disable swap? Is there any reason?
Click to expand...
Click to collapse
There is some concern that swap on internal flash may reduce the lifetime of the flash. i just posted a way to enable swap on the sd-card . This is safer as the sdcard can be replaced the internal flash can not be replaced.
popy2006 said:
Is there any way to increase the app storage size without using urkdroid?
Click to expand...
Click to collapse
I'll look into it but i doubt it.
oh, thats a good reason to disable swap on the internal flash.
But i dont have an sdcard yet
Why then archos enables the swap default?
cu
pOpY
popy2006 said:
oh, thats a good reason to disable swap on the internal flash.
But i dont have an sdcard yet
Why then archos enables the swap default?
Click to expand...
Click to collapse
I have no idea why this was enabled by default. You have to ask Archos.
Swap
Will Swapper for Root or Swapper 2 (for root user) do the same thing for us noob's?
Mod57 said:
Will Swapper for Root or Swapper 2 (for root user) do the same thing for us noob's?
Click to expand...
Click to collapse
From what I can see all the commands to manage swap are present on the archos so both will probably work.
I'll get back to you.
Mod57 said:
Will Swapper for Root or Swapper 2 (for root user) do the same thing for us noob's?
Click to expand...
Click to collapse
Swapper for root is no solution as the swap file is created on the internal flash.
Swapper 2 on the other hand is working fine. But remember to place the swap on the external sd-card /sdcard/sdcard/swapfile.swp
I still placed
Code:
swapoff /dev/block/mmcblk0p3
in the extraroot.sh to be sure the internal swap was off.
Swap
Thank you.
wdl1908 said:
Originally Posted by popy2006
oh, thats a good reason to disable swap on the internal flash.
But i dont have an sdcard yet
Why then archos enables the swap default?
Click to expand...
Click to collapse
I have no idea why this was enabled by default. You have to ask Archos.
Click to expand...
Click to collapse
Probably the realization that they screwed up with only 256MB of RAM.
ARCHOS PRESIDENT: We get lots of complaints about the small RAM... what could we do?
ARCHOS ENGINEER: We can always use some of the internal flash for a swap.
ARCHOS PRESIDENT: Won't that decrease the life of the flash memory?
ARCHOS ENGINEER: Yes, but by then we'll have Gen9 out.
ARCHOS PRESIDENT: Great... go with it...
argie said:
Probably the realization that they screwed up with only 256MB of RAM.
ARCHOS PRESIDENT: We get lots of complaints about the small RAM... what could we do?
ARCHOS ENGINEER: We can always use some of the internal flash for a swap.
ARCHOS PRESIDENT: Won't that decrease the life of the flash memory?
ARCHOS ENGINEER: Yes, but by then we'll have Gen9 out.
ARCHOS PRESIDENT: Great... go with it...
Click to expand...
Click to collapse
LOL Good one.
I'v been doing some testing with swap and i'v seen not a lot of improvement.
Some tests I did.
Disable swap
install the flash plugin.
Go to the site of archosfans with the stock browser
Play the first flash video on the site.
The result is that after the video has started all apps in the background are killed off by the android memory manager and even ADW launcher is killed.
So second test
Enable swap
Go to the site of archosfans with the stock browser
Play the first flash video on the site.
Check with the command free via adb
The result is exactly the same as above and only 10Mb swap is used.
So for me swap is useless under android.
I suspect the android memory manager kicks in before the linux kernel has time to swap out the programs to free memory.
I also suspect that non of the real android apps are swapped out to those 10Mb but only the real linux programs are swapped out. I can't verify it at the moment as the top command thats installed does not show if a program is in swap or not.
Confirmation that it works on 2.1.04 from ShadowZephyr
I'm kinda lost when it comes to the extraroot.sh file. I created a sdcard folder in the sdcard, copy and pasted the script into a .txt file and renamed it to .sh. I'm guessing its wrong since nothing is happening. Could any kind soul shine a light on this?
Do these scripts work with the overclock zimage? Can i just point to the extraboot.sh in the init.rc?
smile_gerard said:
I'm kinda lost when it comes to the extraroot.sh file. I created a sdcard folder in the sdcard, copy and pasted the script into a .txt file and renamed it to .sh. I'm guessing its wrong since nothing is happening. Could any kind soul shine a light on this?
Click to expand...
Click to collapse
What do you mean when you say nothing is happening? What do you expect to happen? You won't see anything on the screen. And the script will only be run when the Archangel script tries to root the device.
liutszho said:
Do these scripts work with the overclock zimage? Can i just point to the extraboot.sh in the init.rc?
Click to expand...
Click to collapse
Why would you want these scripts to run on a fully rooted device. You can do anything you want on your device if it's fully rooted.
These scripts only make sense when used together with the Archangel root app.

[Q] Possible Brick? internal SD card seems to be "stuck" as is. WEIRD

Okay guys, so here's a weird one.
My g-tablet was working great. Was running VEGAn-Tab Build, BETA 5.1.1, no reason to update it, because it did everything I needed. I finally had it to where I wanted it, then it all kind of started falling apart. Here's how.
I power it on and notice my home screen got all messed up for some reason (using launcher pro). All of the settings defaulted to the original. I tweaked it back to more or less how I wanted it, and when I had it back to normal, thought nothing better of it. Must have glitched out some how.
Then I notice a bunch of things starting to force close, specfically android market, amazon market, titanium backup, google services framework, launcher pro, etc. Odd thing is it would do it one at a time, but otherwise my tablet would carry on as normal.
I go ahead and restart the tablet, to see if that helps at all, and what do you know, the homescreen is messed up again! I thought launcher pro might have been the culprit, so I un-installed the app and rebooted... And launcher pro is still there.
I go ahead and delete it again and start deleting other apps, restarting the tablet, and no matter what I do, everything stays the same. time for some clockwork mod action. I go into clockwork mod, and try to do the factory reset option, thinking what the hey, I'll try anything right now. Hit it, mourn the loss of my user data, and reboot the system... and again, everything is still the same.
I hook up my tablet to the computer via usb, and it looks like I'm able to at least delete misc. files that way. But when I return to good old Tabatha (my nickname for Gtab) everything is stuck just the way it is.
Needless to say, it feels like I'm stuck in the twilight zone.
I know I should have researched it by now, but I'm going to finally look it up to see if I can recover with NVFlash (I know I know, very noobish of me, using strange roms and not knowing any of the basics).... but I'm increasingly worried I've got some kind of a hardware malfunction on my hands. Could it be the memory? The internal SD card?
Oddly enough, my tablet still functions... I can browse the web, hook it up to my computer, etc etc, but no matter what I do I can't alter the data I already have on my tablet. Can't delete things, can't change settings, update apps, etc. etc. Which makes it pretty much useless for what I wanted to use it for.
I finally realized what this is like. The movie groundhog day, and I'm stuck in the same day, over and over again.
Any help or input that might get me out of this mess would be greatly appreciated.
Phil: "I was in the Virgin Islands once. I met a girl. We ate lobster, drank piña coladas. At sunset, we made love like sea otters. *That* was a pretty good day. Why couldn't I get *that* day over, and over, and over..."
This is now the second time that I've seen this exact same problem. I was in the process of troubleshooting the original one when the user returned his gTablet for replacement. If you can stand the deja vu, read this thread.
Do not nvflash your tablet--nvflash cannot fix SD-card related problems. Read this post for why not.
Instead, do this for me: Reboot the gTablet, then open a Terminal, or, use adb and run this command:
Code:
$ dmesg > /mnt/sdcard/dmesg.txt
Attach that dmesg.txt which will contain messages from the kernel to your next post.
I'll check this thread in the evening.
rajeevvp said:
This is now the second time that I've seen this exact same problem. I was in the process of troubleshooting the original one when the user returned his gTablet for replacement. If you can stand the deja vu, read this thread.
Do not nvflash your tablet--nvflash cannot fix SD-card related problems. Read this post for why not.
Instead, do this for me: Reboot the gTablet, then open a Terminal, or, use adb and run this command:
Code:
$ dmesg > /mnt/sdcard/dmesg.txt
Attach that dmesg.txt which will contain messages from the kernel to your next post.
I'll check this thread in the evening.
Click to expand...
Click to collapse
Thanks for the direction, at least I know it isn't an isolated incident. It's 1:45 AM where I am right now, and I have to wake up for work in about 5 hours... So I probably won't be able to get in depth with the follow up on this stuff untill after work tomorrow night (so long as the wife doesn't hog the computer )
Again thanks for the quick response, I appreciate you pointing me into some sort of direction. Can't wait to try to get this sorted out!
Currently trying to figure out how to get ADB going.... pretty intimidating, but I'm trying. I got the Java JDK installed, installing the SDK, but can't find the "SDK Setup.exe" file or even a USB driver folder in the SDK directory. Got a good resource for getting ADB set up?
Save yourself some trouble. Got to http://www.knoppix.org/ and download the latest Knoppix live CD image.
Burn it, boot it, then use the adb executable from this post. For simple things like just running adb, you don't need the entire Android SDK.
Get me a dmesg while inside ClockworkMod:
Code:
$ [B]sudo ./adb shell dmesg > dmesg.txt[/B]
ADB commands documentation
Thanks, I'll try it out sometime this weekend!
Well, I really screwed myself now. I got the Linux distro loaded but still couldn't figure out how to get ADB to work. For whatever reason, When I boot from the DVD, I can't download the zip from within linux (get errors) and I could not open the ADB command by navigating to where I have it extracted in my hard drive. [Do I need to load the OS onto a flash drive instead?]
So I started messing with some stuff in clockwork mod. I apparently really goofed it, and I got a "Magic Value Mismatch" error everytime I tried to boot it up.
I looked up Magic Value Mismatch, and from there it pointed to using NVFlash to try to fix that problem. So tried that. After I flashed it, I thought for sure I finally had it back to stock, as the intro screen started to show the tap n tap logo... but i basically got stuck in a boot loop, tap n tap, then "n", then tap n tap, then "n", etc, until it dies.
I looked up this issue and apparently the key is to get into clockwork mod and do factory reset, reset cache, and partition the SD card to 2048 and 0, which I did... (per post #4 on this thread: http://www.slatedroid.com/topic/17501-helpstuck-in-bootloop/ ) but still no dice.
Not sure where to go from here, or if I can even get it to interface with ADB in its current state. Looks like I'm done for
Thanks for trying though
On second thought, I may have had a breakthrough, at least in getting ADB to see my tablet!!! Woohoo! It finally sees the device and has a serial number. Was following the device on this thread:
http://www.androidtablets.net/forum/viewsonic-gtablet-technical/5377-adb-g-tab-step-step.html
7. under the "[Google.NTx86]" section, paste the following:
Code:
;NVIDIA Tegra
%SingleAdbInterface% = USB_Install, USB\VID_0955&PID_7000
%CompositeAdbInterface% = USB_Install, USB\VID_0955&PID_7100&MI_01
save the file and exit.
But I have a 64 bit machine, so I finally figured it out and plopped that into the 64 bit portion of the .inf file. DOH!
So now let me see what I can drum up through the previous commands above.... though the parameters have changed now to be sure... Due to my haste things may have taken a turn for the worse.
To recap, now my tablet is stuck in a boot loop after having done NV Flash, after having screwed up some settings in clockwork mod trying to fix a "Magic Value Mismatch" error.
Tried:
$ dmesg > /mnt/sdcard/dmesg.txt
I just run this in the cmd prompt at my platform-tools directory where the adb is correct?
All it says is, "The system cannot find the path specified."
Am I doing something wrong, or is my tablet that messed up?
Okay, this is slightly weird. So I was browsing around in clockwork mod, and lo and behold, the original zip flies for vegan tab are all STILL THERE. So I reloaded them... And My tablet zips back to exactly the way I had it before!
Only this time, so far no force closes. This looks way too good to be true after what I've been through. I'm going to try modifying some files and settings and restart my tablet to see what it does. I'm pretty sure I can't be out of the woods yet. Allthough it is 3:33 AM as this is happening... magic hour. I may be going insane.
EDIT: Nope, was definitely way too good to be true. All my data is as stuck as it was ever was. But at least now I can get into it again. But now we're back to square one. Lemme figure out this dmesg business and get back to you. X(
So I would try issuing the following exactly in the command line at the adb platform tools folder:
$ dmesg > /mnt/sdcard/dmesg.txt
Is that code supposed to be copy and paste in? I don't seem to be getting anything. I can do the following command and get the info to pop into the command interface:
adb shell dmesg
But I can't figure out how to save that to a text file. And you want me to do that while the g tablet is in recovery, correct?
FYI, trying to do it through Windows 7. Would that command only operate in the linux environment via knoppix?
Thanks
titobetlogs said:
I can do the following command and get the info to pop into the command interface:
adb shell dmesg
But I can't figure out how to save that to a text file.
Click to expand...
Click to collapse
Redirect the output to a file:
Code:
C:\SOME\PATH> [B]adb shell dmesg > dmesg.txt[/B]
titobetlogs said:
I got the Linux distro loaded but still couldn't figure out how to get ADB to work. For whatever reason, When I boot from the DVD, I can't download the zip from within linux (get errors) and I could not open the ADB command by navigating to where I have it extracted in my hard drive.
Click to expand...
Click to collapse
I suggested using Knoppix just because it is so easy to use adb in Linux. Broken-down steps for future reference:
1. Download and burn the latest Knoppix Live CD iso image. Check the downloaded file size. The .iso file should be ~700MB in size. Also, test the CD by booting it and then typing at the boot prompt: knoppix testcd
2. Boot Live CD and skip the creation of any partition or file to store user data. After all, we just want to run adb.
3. After Knoppix has booted into the desktop, run a browser, right click on the adb.zip attachment in this post, then select "Save Link As..." and save the zip file into /tmp.
4. Connect the gTablet to the PC via the USB cable.
5. Open a terminal window, then type in it:
Code:
hostpc$ [B]cd /tmp[/B] [I]Change to the dir. where adb.zip was saved[/I]
hostpc$ [B]unzip adb.zip[/B] [I]Unzip zip file[/I]
hostpc$ [B]ls -l adb[/B] [I]Check if the adb program was extracted OK[/I]
-rwx------ 1 rvp rvp 159620 Dec 1 22:23 adb
hostpc$ [B]chmod 555 adb[/B] [I]Make adb executable.[/I]
hostpc$ [B]sudo ./adb shell dmesg > dmesg.txt[/B]
Note 1: do not type in the shell prompt, 'hostpc$'. It is only there to show you what the screen should (roughly) look like.
Note 2: If adb says something like "device not found", just unplug the USB cable from the PC, wait a few moments, then re-plug the cable and re-run the adb command again.
6. Go back into the browser and attach the dmesg.txt file that is there in /tmp. You will have to tell the Noscript plugin to allow scripts from xda-developers to enable attachments. Right click on the page, then select the Noscript menu item, then choose "Temporarily allow xda-developers.com".
I thought for sure I finally had it back to stock, as the intro screen started to show the tap n tap logo... but i basically got stuck in a boot loop, tap n tap, then "n", then tap n tap, then "n", etc, until it dies.
Click to expand...
Click to collapse
I'm not surprised. If the files on the internal SD card cannot be modified then that boot loop behaviour is to be expected. Here's why:
Android requires certain partitions to exist on the system. These partitions can be either on the flash or on SD cards. The partitions are:
/system: This is where the binaries and system apps that come with the firmware are stored. This partition is usually mounted read-only to protect it. On the gTablet, this partition is on the 512MB built-in NAND flash chip.
/cache: As the name indicates, this is the partition used to speed up the execution of the Java apps. Temporary files are also created here. This partition too is on the built-in NAND flash chip.
/data: This is where user-downloaded apps are stored by default, and also where Android stores its system configuration data. This partition, on the gTablet, is on the internal SD card.
/sdcard: This is where user content like media files, books, and the apps moved to SD card are stored. This partition too is on the internal SD card.
The first 3 partitions are critical and Android won't come up without them being present (or, if there are any errors on them). Among these 3, only /system needs to be correctly populated (When you install a ROM, new stuff is copied here). The other 2 partitions, /data and /cache can be empty and the system will boot up fine--with defaults. In fact, when you select "wipe data/factory reset" in CWM, /cache and /data are re-formatted--effectively, wiped clean.
(There are 2 other important partitions on the NAND flash chip, but, these are not mounted because they don't contain a proper filesystem. You have to use special tools to create the contents of these 2 partitions.
The first of these is the "boot" partition. This one and "system" are re-written when you install a new ROM. The "boot" partition holds the Android Linux kernel. If you install a new kernel, only the "boot" partition is rewritten.
The second is the "recovery" partition. This contains a separate, and usually different (and safe), Linux kernel and a mini filesystem image. This is a fail-safe partition. Stock recovery and ClockworkMod sit here.)
In your case, nothing on the internal SD card can be modified, so the stuff in /data will still be from your old ROM. (nvflash also cannot modify SD card contents, as I mentioned before.) When the stock firmware boots up, it will find incompatible stuff in /data. Critical apps will then die. Android will restart them, they will die again. This is your boot loop.
Get me the dmesg output and then we'll run a few tests using CWM, but, judging from your previous posts, I don't think your internal SD card can be fixed. You have 2 options:
1. Return the tablet for a replacement.
2. If you can't return it, I can switch the internal and external SD cards on your ROM so that you can boot and use the system (almost) normally. But, this is a custom solution and you will need to have an external SD card in its slot always. Read through this thread.
Wow, you really know you're stuff! I'll see what I can get you later on in the day with regard to the dmesg, I'm currently still at work.
I had suspected a hardware error... bummer. I'll definitely be interested in seeing if I can just use the external micro sd slot to sub out for the internal sd card. I would at least like this thing to be functional again, though I suppose I'll never be able to try any of the honeycomb roms when those get past alpha. Oh well.
Do you know if this thing takes 32 gb micro sd cards? That would be pretty awesome, I at least wouldn't feel too limited on space.
By the way, thanks for all your help on this, I know I'm a huge noob. I greatly appreciate your patience and taking the time to break everything down for me. I have absolutely zero background in programming or anything computer related, though I do find this stuff extremely fascinating! If I could rewind the clock and study this stuff in school, I would do it in a heartbeat.
Again, thanks so much, can't thank you enough.
titobetlogs said:
I would at least like this thing to be functional again, though I suppose I'll never be able to try any of the honeycomb roms when those get past alpha. Oh well.
Click to expand...
Click to collapse
No, you should be able to run whatever ROM you want. I'll send you an installable zip file, in a few days, which should get you going again on Vegan-Tab, at least. You'll just need to remember to flash this zip file right after you've flashed the ROM (of your choice).
Right now, I don't know if I need one zip file for each kind of ROM in existence for the gTablet, or, if I can use some scripting and do the internal/external SD card switch using just a single installable zip file. I'll look into this on the weekend.
Do you know if this thing takes 32 gb micro sd cards?
Click to expand...
Click to collapse
Yes, it does.
By the way, thanks for all your help on this, I know I'm a huge noob...
Click to expand...
Click to collapse
I was a complete noob to Android myself back in April of this year. I've picked all of this up in just a few months. I'm pretty sure you can do it too, with a bit of poking around in the system. Of course, having a background in Unix/Linux helps a lot.
In your honor, below are some inspiring lyrics from the Karate Kid soundtrack:
You’re the best!
Around!
Nothing’s gonna ever keep you down
You’re the Best!
Around!
Nothing’s gonna ever keep you down
You’re the Best!
Around!
Nothing’s gonna ever keep you dow-ow-ow-ho-how-ho-own
INSPIRING GUITAR SOLO
Dude! you're embarrassing me -- I haven't send you the zip file yet... and, you haven't sent that dmesg output I wanted.
I know I've been stuck at work and family functions every day this week so far. Hopefully I'll get to it soon
Finally got to this! Here you go! Thanks again!
titobetlogs said:
Finally got to this! Here you go!
Click to expand...
Click to collapse
Can't see any problems in that dmesg output. Time for some tests on the internal SD card.
Boot into CWM, then run on PC (on Linux run: sudo ./adb shell):
Code:
C:\SOME\PATH> [B]adb shell[/B]
~ # [B]mount /dev/block/mmcblk3p1 /sdcard[/B] [I] Mount internal SD card partition[/I]
~ # [B]mkdir -p /sdcard/a/b/c[/B] [I]Make a directory tree[/I]
~ # [B]echo test > /sdcard/a/b/c/test.txt[/B] [I]Create a file[/I]
~ # [B]cat /sdcard/a/b/c/test.txt[/B] [I]Read it back again[/I]
test [I]Correct[/I]
~ # [B]echo 3 > /proc/sys/vm/drop_caches[/B] Flush kernel caches
~ # [B]cat /sdcard/a/b/c/test.txt[/B] Read it back again
test Correct
~ # [B]umount /sdcard[/B] [I]Unmount[/I]
~ # [B]mount /dev/block/mmcblk3p1 /sdcard[/B] [I]Remount /sdcard[/I]
~ # [B]cat /sdcard/a/b/c/test.txt[/B] [I]Reread file[/I]
test [I]You should see "test" here[/I]
~ # [B]umount /sdcard[/B]
You should see "test" after the kernel flush and the remount.
Next, reboot the tablet--back into CWM, then run the cat command again. `cat' should output "test", again, if the SD card is OK.
Here's a screen of the commands I entered and what I got back. Did I do anything wrong? Looks like something's a bit off.

[HOWTO][CM7 ALPHA2.1] FIX - sdcard storage mounts as readonly

This has been reported at http://code.google.com/p/cmtouchpad/issues/detail?id=436&start=100.
In order to fix this, reboot your touchpad into webOS. Fire up novacom on your computer, and run the following:
Code:
umount /dev/store/media
fsck.vfat -vy /dev/store/media
The issue is due to the Android fsck not working correctly, so it's not able to fix filesystem issues. Once you run the above and reboot to CM7, the sdcard should no longer remount as readonly.
This helped alot thanks.
My touchpad seems to be in read only mode. Not able to webos doctor properly because of it. Cant reinstall cyanogenmod either. I have access to webos recovery and clockwork mod. Any command to get write access back?
Used novaterm for commands
Noob Question
Hi, I'm really new at this and I'm having the same problem stated above. I was able to load CM7, Alpha 2 on my Touchpad and all seemd well until I started downloading apps. Now, SD storage is full yet seeing plenty of storage left under settings. Could you please give step-by-step instructions for the fix above? For instance, do I load webOS then go into USB mode or do I go into USB mode during the webOS reboot using the volume up button? Any and all help would be greatly appreciated!!!!
This should be stickied
Sent from my SPH-D700 using XDA App
Here's what you do:
If you installed the novacomd drivers which you should have to get preware going then do the following.
1. Hook up your touchpad to the pc, and boot it up to web os. Don't mount the usb drive just leave it alone.
2. Navigate to C:\Program Files\Palm, Inc\terminal and double click novaterm the windows batch file. The icon will look like two cogs.
3. In the new window select file connect.
Type fsck.vfat -vy /dev/store/media and hit enter.
You're done. exit the screen and restart into cm7, everything should be back to normal now.
I keep getting an error when double clicking novaterm. It will open up a terminal window and an error message saying "javaw" on the top with the following text: "Windows cannot find 'javaw'. Make sure you typed the name correctly, and then try again."
Any help is appreciated!
It's because you have installed a wrong version of Java (same problem for me, I installed a x86 version and i've got a x64).
So uninstall it completely
If you have a x64, install the right version of java SE Development kit
And everything would work great ! (worked for me)
Thanks! That allowed me into get into novaterm. And the fix works!!!
Hi,
hope this is the right place to post but I'm using Ubuntu 11.04 and when trying to enter the command via novacom I receive the following error:
Code:
bad or error response from other side: 'err -1 bad command string'
the novacom drivers are corectly installed (I managed to flash CM onto the touchpad with the ACMEinstaller) and I can see the touchpad when typing the following command:
Code:
novacom -l
I'm sure this is down to my inexperience with using novacom rather then the drivers etc. Can anyone help?
Thanks
danh86 said:
Hi,
hope this is the right place to post but I'm using Ubuntu 11.04 and when trying to enter the command via novacom I receive the following error:
Code:
bad or error response from other side: 'err -1 bad command string'
Click to expand...
Click to collapse
novacomd should be running (check it ps -ef | grep novacom).
You want to start novaterm (assuming novacomd is already running) and enter the command there. (Not as a command line argument to novacom).
So, it should look something like this:
Code:
$ ps -ef | grep novacomd
root 8331 1 0 13:37 ? 00:00:00 /opt/Palm/novacom/novacomd
$ novaterm
[email protected]:/# umount /media/internal
[email protected]:/# fsck.vfat -vy /dev/store/media
dosfsck 2.11 (12 Mar 2005)
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "MSWIN4.1"
Media byte 0xf8 (hard disk)
512 bytes per logical sector
32768 bytes per cluster
96 reserved sectors
First FAT starts at byte 49152 (sector 96)
2 FATs, 32 bit entries
1409024 bytes per FAT (= 2752 sectors)
Root directory start at cluster 458 (arbitrary size)
Data area starts at byte 2867200 (sector 5600)
352168 data clusters (11539841024 bytes)
0 sectors/track, 0 heads
0 hidden sectors
22544384 sectors total
/Open Source Information.pdf
Contains a free cluster (66256). Assuming EOF.
/Open Source Information.pdf
File size is 292092 bytes, cluster chain length is 0 bytes.
Truncating file to 0 bytes.
(..snip..)
Reclaiming unconnected clusters.
Reclaimed 15 unused clusters (491520 bytes) in 7 chains.
Checking free cluster summary.
Free cluster summary wrong (253428 vs. really 253444)
Auto-correcting.
Performing changes.
/dev/store/media: 25628 files, 98724/352168 clusters
[email protected]:/#
systoxity said:
Here's what you do:
If you installed the novacomd drivers which you should have to get preware going then do the following.
1. Hook up your touchpad to the pc, and boot it up to web os. Don't mount the usb drive just leave it alone.
2. Navigate to C:\Program Files\Palm, Inc\terminal and double click novaterm the windows batch file. The icon will look like two cogs.
3. In the new window select file connect.
Type fsck.vfat -vy /dev/store/media and hit enter.
You're done. exit the screen and restart into cm7, everything should be back to normal now.
Click to expand...
Click to collapse
I try to click file->connect, but every time it says "unable to connect service."
I boot into WebOS 3.0.4, connect to USB, and doesn't select to mount TP.
Anyone can help?
Just tried this fix on Alpha 3, after SD card said it was unmounted. I booted onto Web OS, connected to PC. Hit cancel when it asked me to turn on USB mode. Navigated to Crogram Files / Palm.Inc/ Novacom/ Novaterm. Ran Novaterm, typed in the commands as spelled out here, also tried copy pasting the command to make sure it wasn't spelling or caps that was the issue, it did its thing. Unplugged, rebooted to CM 7, and nothing, still says SD card was removed, please mount a new one. Can anyone help?
Oh yeah, even more troubling, now when the TP goes to sleep it fails to come back. The only way to bring it back is to reboot.
mes215 said:
Just tried this fix on Alpha 3, after SD card said it was unmounted. I booted onto Web OS, connected to PC. Hit cancel when it asked me to turn on USB mode. Navigated to Crogram Files / Palm.Inc/ Novacom/ Novaterm. Ran Novaterm, typed in the commands as spelled out here, also tried copy pasting the command to make sure it wasn't spelling or caps that was the issue, it did its thing. Unplugged, rebooted to CM 7, and nothing, still says SD card was removed, please mount a new one. Can anyone help?
Oh yeah, even more troubling, now when the TP goes to sleep it fails to come back. The only way to bring it back is to reboot.
Click to expand...
Click to collapse
Sorry to say but sounds like the clusters are all messed up. Only way I got around this was in webOS secure wipe all. The most secure method and it will redo all the partitions. Takes a couple hours and you will lose all data but after that, I was back in business.
Sent from my PG86100 using Tapatalk
Leoisright said:
Sorry to say but sounds like the clusters are all messed up. Only way I got around this was in webOS secure wipe all. The most secure method and it will redo all the partitions. Takes a couple hours and you will lose all data but after that, I was back in business.
Sent from my PG86100 using Tapatalk
Click to expand...
Click to collapse
i did a regular wipe and it cured my sd card problems.
I am attempting the fix as well. When I attempt to run Novaterm, I get the message: "Could not find the main class: de/mud/jta/Main. Program will exit" under Java Virtual Machine Launcher.
I'm running 32bit Vista.
Any help appreciated!
Does the secure WebOS wipe remove CM7 as well? Do you need to reinstall CM7 after? If so, how does it correct the SD Card Read Only problem?
I am running CM7 Alpha 3 (upgraded using Clockwork Mod) and I can't download anything to my Touchpad. Says "SD Card Full" while viewing "Storage" under Settings says I have over 25G free. CM7 won't download, save or play any Audio/Video or other files.
I tried the fix mentioned above, but got message: "Could not find the main class: de/mud/jta/Main. Program will exit". I have deleted and reinstalled Java and get the same message. 32Bit Vista OS on desktop.
Any Ideas?? Many thanks.
After this command (fsck.vfat -vy /dev/store/media) i get
Reclaiming unconnected clusters.
Any ideas how to fix this?
I just installed the 3.5 update to both a 32gb and 16gb which had been running 3.0.
The end result is that both machines now state that the sd card is not mounted. Should I try the above fixes on 3.5 or is the suggested fix only for 2.1?

[Q&A] [TOOL][NABI2] NabiLab - Root, Play, Recovery

Q&A for [TOOL][NABI2] NabiLab - Root, Play, Recovery
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [TOOL][NABI2] NabiLab - Root, Play, Recovery. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
State of Nabi 2 Root as of 12/14?
So I have admittedly been out of the loop on the state of rooting my two Nabi 2s since after I restored them to stock and all back last year when they released the update that included the Gapps. So I've been running stock since then and am on the latest firmware (2.4.6 I believe). All is mostly fine, but I would really like to get the external SD cards to be writable again, and from what I can tell, I need root again to do that.
So...as of today...what is the state (and best procedure) of rooting the Nabi 2 on the latest OTA update? Is Nabi Lab still the best tool? From what I've pieced together from scattered threads, it's looking like possibly use Nabi Lab to install TWRP, and then use that to install the SuperSU (http://forum.xda-developers.com/showthread.php?t=1538053). However, I could likely be wrong...hence why I'm asking.
Eyebolt said:
So I have admittedly been out of the loop on the state of rooting my two Nabi 2s since after I restored them to stock and all back last year when they released the update that included the Gapps. So I've been running stock since then and am on the latest firmware (2.4.6 I believe). All is mostly fine, but I would really like to get the external SD cards to be writable again, and from what I can tell, I need root again to do that.
So...as of today...what is the state (and best procedure) of rooting the Nabi 2 on the latest OTA update? Is Nabi Lab still the best tool? From what I've pieced together from scattered threads, it's looking like possibly use Nabi Lab to install TWRP, and then use that to install the SuperSU (http://forum.xda-developers.com/showthread.php?t=1538053). However, I could likely be wrong...hence why I'm asking.
Click to expand...
Click to collapse
Nabilab will still work as long as you use a version with a Jellybean TWRP(since you are on 2.4.6).
katinatez repackaged it for jellybean here:
http://forum.xda-developers.com/showpost.php?p=48987089&postcount=2088
I've searched high and low and can't find anything. I have nabi2S running KitKat. Every rooting guide I've found is for JB. Is there any way to root the 2S?
Sent from my Nexus 5 using XDA Free mobile app
jaxbierley said:
I've searched high and low and can't find anything. I have nabi2S running KitKat. Every rooting guide I've found is for JB. Is there any way to root the 2S?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
For the sake of anyone else looking for this information we are discussing it at the main Nabi thread starting at post #2477
http://forum.xda-developers.com/showthread.php?t=1905674&page=248
Stock Restore
Hi
I have downloaded NabiLab, as I am having wifi issues on my updated Nabi2. I unzipped, ran the .bat and chose option 3 (with my nab connected via USB). Nothing happened, no errors etc, the screen flashed up and shut down. Do I need to do something with the Nabi (recovery mode etc), do I need to install anything from NabiLab before trying this? Any help would be appreciated
Firepants said:
Hi
I have downloaded NabiLab, as I am having wifi issues on my updated Nabi2. I unzipped, ran the .bat and chose option 3 (with my nab connected via USB). Nothing happened, no errors etc, the screen flashed up and shut down. Do I need to do something with the Nabi (recovery mode etc), do I need to install anything from NabiLab before trying this? Any help would be appreciated
Click to expand...
Click to collapse
What version of software? Use Nabilab2015 http://forum.xda-developers.com/showpost.php?p=59073456&postcount=2544
It has more diagnostic info. Just be in Android or TWRP with ADb enabled. It also can see if drivers are loaded.
Hacking Nabi2 to Allow Data2SD
I managed today to hack my kids Nabi2 to enable Data2SD. I was to frustrated by the limited space in the tab. My kids were complaining about not being able to add more games. Thus, I decided to take the risk of modifying the mount points of the tab to allow the data partition to point to a partition in a large sdcard, instead of the limited 4.5 GB space in the internal storage.
Warning: I am not responsible of any damage as a result of following the next steps. Always make backups
Note: I have the last update (KitKat) installed in the Nabi2
1- Dump the boot image from an adb shell:
Code:
su
cat /dev/block/platform/sdhci-tegra.3/by-name/LNX > /sdcard/boot.img
2- Open this url http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images
to see the instructions of how to unpack and repack the boot image. Note that, the splitimage script mentioned in the page can be found at https://gist.github.com/jberkel/1087743
Warning: do not do anything in the tutorial, just wait
3- Format an sdcard as one partition of ext4 type
4- Insert the sdcard in the nabi2
5- Use the tutorial in step 2 to extract the ramdisk contents from the boot image and then Modify the file "fstab.mt799" in the ramdisk folder by replacing the line
Code:
/dev/block/platform/sdhci-tegra.3/by-name/UDA /data ext4 noatime,nosuid,nodev,journal_async_commit,data=writeback,nodelalloc,errors=panic wait,check,encryptable=/dev/block/platform/sdhci-tegra.3/by-name/MDA
with
Code:
/dev/block/platform/sdhci-tegra.0/by-num/p1 /data ext4 noatime,nosuid,nodev,journal_async_commit,data=writeback,nodelalloc,errors=panic wait,check,encryptable=/dev/block/platform/sdhci-tegra.3/by-name/MDA
which switches the data partition mount point to be on the sdcard
and the line
Code:
/devices/platform/sdhci-tegra.0/mmc_host/mmc2 auto vfat defaults voldmanaged=sdcard1:auto
with
Code:
/devices/platform/sdhci-tegra.3/mmc_host/mmc0 auto vfat defaults voldmanaged=sdcard1:12
which mount your old data partition into the directory of the external sdcard
6- Repack the boot image as mentioned in the url in step 2
7- Copy the new boot image to the nabi2 sdcard
8- Once you copied the new boot image (e.g. new_boot.img), replace the current boot image with the new one using adb shell:
Code:
su
cat /sdcard/new_boot.img > /dev/block/platform/sdhci-tegra.3/by-name/LNX
9- Now the kernel is replaced and once you rebooted your external sdcard would be in use, but note that your device is now having an empty data partition on the external sdcard, so you have to setup everything from the beginning. Note also that your previous data partition is now mounted as an sdcard, however, you have to format it from ext4 to fat32 to work as an sdcard (you can do the format from setings->storage->sdcard format)​
ashahin1 said:
I managed today to hack my kids Nabi2 to enable Data2SD. I was to frustrated by the limited space in the tab. My kids were complaining about not being able to add more games. Thus, I decided to take the risk of modifying the mount points of the tab to allow the data partition to point to a partition in a large sdcard, instead of the limited 4.5 GB space in the internal storage.
Warning: I am not responsible of any damage as a result of following the next steps. Always make backups
Note: I have the last update (KitKat) installed in the Nabi2
1- Dump the boot image from an adb shell:
Code:
su
cat /dev/block/platform/sdhci-tegra.3/by-name/LNX > /sdcard/boot.img
2- Open this url http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images
to see the instructions of how to unpack and repack the boot image. Note that, the splitimage script mentioned in the page can be found at https://gist.github.com/jberkel/1087743
Warning: do not do anything in the tutorial, just wait
3- Format an sdcard as one partition of ext4 type
4- Insert the sdcard in the nabi2
5- Use the tutorial in step 2 to extract the ramdisk contents from the boot image and then Modify the file "fstab.mt799" in the ramdisk folder by replacing the line
Code:
/dev/block/platform/sdhci-tegra.3/by-name/UDA /data ext4 noatime,nosuid,nodev,journal_async_commit,data=writeback,nodelalloc,errors=panic wait,check,encryptable=/dev/block/platform/sdhci-tegra.3/by-name/MDA
with
Code:
/dev/block/platform/sdhci-tegra.0/by-num/p1 /data ext4 noatime,nosuid,nodev,journal_async_commit,data=writeback,nodelalloc,errors=panic wait,check,encryptable=/dev/block/platform/sdhci-tegra.3/by-name/MDA
which switches the data partition mount point to be on the sdcard
and the line
Code:
/devices/platform/sdhci-tegra.0/mmc_host/mmc2 auto vfat defaults voldmanaged=sdcard1:auto
with
Code:
/devices/platform/sdhci-tegra.3/mmc_host/mmc0 auto vfat defaults voldmanaged=sdcard1:12
which mount your old data partition into the directory of the external sdcard
6- Repack the boot image as mentioned in the url in step 2
7- Copy the new boot image to the nabi2 sdcard
8- Once you copied the new boot image (e.g. new_boot.img), replace the current boot image with the new one using adb shell:
Code:
su
cat /sdcard/new_boot.img > /dev/block/platform/sdhci-tegra.3/by-name/LNX
9- Now the kernel is replaced and once you rebooted your external sdcard would be in use, but note that your device is now having an empty data partition on the external sdcard, so you have to setup everything from the beginning. Note also that your previous data partition is now mounted as an sdcard, however, you have to format it from ext4 to fat32 to work as an sdcard (you can do the format from setings->storage->sdcard format)​
Click to expand...
Click to collapse
If you are not sure which line to change, I have the fstab.mt799 file attached with this post. You can simply replace your file with this one.
ashahin1 said:
I managed today to hack my kids Nabi2 to enable Data2SD. I was to frustrated by the limited space in the tab. My kids were complaining about not being able to add more games. Thus, I decided to take the risk of modifying the mount points of the tab to allow the data partition to point to a partition in a large sdcard, instead of the limited 4.5 GB space in the internal storage.
Warning: I am not responsible of any damage as a result of following the next steps. Always make backups
Note: I have the last update (KitKat) installed in the Nabi2
1- Dump the boot image from an adb shell:
Code:
su
cat /dev/block/platform/sdhci-tegra.3/by-name/LNX > /sdcard/boot.img
2- Open this url http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images
to see the instructions of how to unpack and repack the boot image. Note that, the splitimage script mentioned in the page can be found at https://gist.github.com/jberkel/1087743
Warning: do not do anything in the tutorial, just wait
3- Format an sdcard as one partition of ext4 type
4- Insert the sdcard in the nabi2
5- Use the tutorial in step 2 to extract the ramdisk contents from the boot image and then Modify the file "fstab.mt799" in the ramdisk folder by replacing the line
Code:
/dev/block/platform/sdhci-tegra.3/by-name/UDA /data ext4 noatime,nosuid,nodev,journal_async_commit,data=writeback,nodelalloc,errors=panic wait,check,encryptable=/dev/block/platform/sdhci-tegra.3/by-name/MDA
with
Code:
/dev/block/platform/sdhci-tegra.0/by-num/p1 /data ext4 noatime,nosuid,nodev,journal_async_commit,data=writeback,nodelalloc,errors=panic wait,check,encryptable=/dev/block/platform/sdhci-tegra.3/by-name/MDA
which switches the data partition mount point to be on the sdcard
and the line
Code:
/devices/platform/sdhci-tegra.0/mmc_host/mmc2 auto vfat defaults voldmanaged=sdcard1:auto
with
Code:
/devices/platform/sdhci-tegra.3/mmc_host/mmc0 auto vfat defaults voldmanaged=sdcard1:12
which mount your old data partition into the directory of the external sdcard
6- Repack the boot image as mentioned in the url in step 2
7- Copy the new boot image to the nabi2 sdcard
8- Once you copied the new boot image (e.g. new_boot.img), replace the current boot image with the new one using adb shell:
Code:
su
cat /sdcard/new_boot.img > /dev/block/platform/sdhci-tegra.3/by-name/LNX
9- Now the kernel is replaced and once you rebooted your external sdcard would be in use, but note that your device is now having an empty data partition on the external sdcard, so you have to setup everything from the beginning. Note also that your previous data partition is now mounted as an sdcard, however, you have to format it from ext4 to fat32 to work as an sdcard (you can do the format from setings->storage->sdcard format)​
Click to expand...
Click to collapse
If you don't have the time to do all these steps, I have the modified boot file attached here.
Yo can either follow steps 7 and 8 above to write it, or use the fastboot command as follows:
Code:
fastboot flash boot new_boot.img
Nabi2 not found
Hi, I purchased a reconditioned Nabi, which was reset back to stock. The wifi worked fine, until I updated it through the tablet. I am now on version 2.0 with no wifi. I have tried various options through NabiLab , however my Nabi is not recognised as being connected (although windows picks it up). Please help!
Swipe to restore
I am trying to return my nabi to stock, i can get to the screen that asks you to 'swipe to restore' but the screen is not responding. I dont have issues with the touchscreen normally
Aytul said:
I am trying to return my nabi to stock, i can get to the screen that asks you to 'swipe to restore' but the screen is not responding. I dont have issues with the touchscreen normally
Click to expand...
Click to collapse
That's weird...if you keep messing with it you may find a spot a little left, right, higher, or lower where you can grab the button to swipe....or you try to re-flash TWRP or maybe there's a new version of TWRP for your particular nabi software version.
did you ever get nabilab to see it? did you check the device manager to see if it was totally recognized? Are developer options enabled?
n3wt said:
That's weird...if you keep messing with it you may find a spot a little left, right, higher, or lower where you can grab the button to swipe....or you try to re-flash TWRP or maybe there's a new version of TWRP for your particular nabi software version.
did you ever get nabilab to see it? did you check the device manager to see if it was totally recognized? Are developer options enabled?
Click to expand...
Click to collapse
The Nabi is showing as a device, it's responds as it should up to the point of TWRP. I had to repeatedly press buttons to get to the restore swipe and have tried many times, unsuccessfully. Where do I enable developer options?
I am on version 2 (Nabi) and using the most up-to-date version of NabiLab. I am trying to restore to stock so that the software version goes back, as the update has stopped my wifi working. Even a factory reset doesn't take the Nabi software back further than v2.0
Aytul said:
The Nabi is showing as a device, it's responds as it should up to the point of TWRP. I had to repeatedly press buttons to get to the restore swipe and have tried many times, unsuccessfully. Where do I enable developer options?
I am on version 2 (Nabi) and using the most up-to-date version of NabiLab. I am trying to restore to stock so that the software version goes back, as the update has stopped my wifi working. Even a factory reset doesn't take the Nabi software back further than v2.0
Click to expand...
Click to collapse
For developer options you go to settings, scroll all the way down, if you don't see "Developer options" there, press About tablet, then repeatedly tap build number until it pops up and says "You are now a developer!", then go back and now you should see the Developer options menu item, press it and then make sure it's on at the top and that the USB Debugging option is checked.....then try nabilab again.
n3wt said:
For developer options you go to settings, scroll all the way down, if you don't see "Developer options" there, press About tablet, then repeatedly tap build number until it pops up and says "You are now a developer!", then go back and now you should see the Developer options menu item, press it and then make sure it's on at the top and that the USB Debugging option is checked.....then try nabilab again.
Click to expand...
Click to collapse
Yes this is enabled, as without it I am unable to run nabilab etc. The problem is TWRP & the version of software I am running on the tablet?
Aytul said:
Yes this is enabled, as without it I am unable to run nabilab etc. The problem is TWRP & the version of software I am running on the tablet?
Click to expand...
Click to collapse
Well, the touch issues are probably due to a bad build of TWRP but not necessarily the wrong one. The problem with nabilab not being able to see the tablet I think has to be drivers. Have you checked device manager to make sure there are no unrecognized things? 'cause the tablet show up as two separate things in there and it sounds like the USB storage part is working but not the adb and/or fastboot part(s).
n3wt said:
Well, the touch issues are probably due to a bad build of TWRP but not necessarily the wrong one. The problem with nabilab not being able to see the tablet I think has to be drivers. Have you checked device manager to make sure there are no unrecognized things? 'cause the tablet show up as two separate things in there and it sounds like the USB storage part is working but not the adb and/or fastboot part(s).
Click to expand...
Click to collapse
I've managed to sort the drivers by installing PDANet, then managed to sort TWRP by installing an older version. I've now updated to 2.1 on the Nabi but no luck with the wifi issue..i'm guessing it's really broken and it happening whilst updating may have been a coincidence?!
Aytul said:
I've managed to sort the drivers by installing PDANet, then managed to sort TWRP by installing an older version. I've now updated to 2.1 on the Nabi but no luck with the wifi issue..i'm guessing it's really broken and it happening whilst updating may have been a coincidence?!
Click to expand...
Click to collapse
It might just be broken but that's a heck of a coincidence... Do you have a backup from before the wifi issue started? If so, I'd try to thoroughly wipe everything but your external sd card and then restoring your backup and see if that helps.
n3wt said:
It might just be broken but that's a heck of a coincidence... Do you have a backup from before the wifi issue started? If so, I'd try to thoroughly wipe everything but your external sd card and then restoring your backup and see if that helps.
Click to expand...
Click to collapse
Hi, I bought it as a reconditioned did unit. Turned it on, updates it (wifi worked) and then had this problem, so no backup to go back to unfortunately

Categories

Resources