Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,768,845 Members 50,771 Now Online
XDA Developers Android and Mobile Development Forum

[TOOL][NABI2] NabiLab - Root, Play, Recovery

Tip us?
 
aicjofs
Old
(Last edited by aicjofs; 9th March 2014 at 01:42 AM.)
#1  
Recognized Contributor - OP
Thanks Meter 669
Posts: 597
Join Date: Nov 2012
Location: Portland, Oregon
Default [TOOL][NABI2] NabiLab - Root, Play, Recovery

NABI LAB v2



NOTE: The program is becoming long in the tooth and not as useful with Jellybean on Nabi. For Jellybean TWRP installs check this repackaged version of Nabilab http://forum.xda-developers.com/show...postcount=2088

This is a tool for performing various automated tasks on the Nabi 2. It's written as a windows command line batch file, and v1 has been tested by a few members of the forum with positive results. Hopefully this means all the bugs are worked out, most issues have been typos on my part. It's an attempt to include all recent developments in Nabi 2 rooting, Gapps install, recovery methods, and modding and provide and all in one experience. Alot of this is my own original work, and other parts are creations of others intact or modded for Nabi use. Using the latest known working methods, it hopefully prevents users from having to install, break things, uninstall, recover, try new method, ask forum questions, try another method, and all the while for those with kids having them ask why you broke their toy.

Currently you cannot install Gapps on 2.1.27 see here http://forum.xda-developers.com/show...postcount=1647
A test version of NabiLabGUI is here: http://forum.xda-developers.com/show....php?t=2391449

Overview

Video Overview of Nabi Lab v1 mostly the same as v2

-Install ADB/Fastboot digitally self-signed drivers.
-Root the Nabi 2
-Install Gapps(Play Store, etc)
-Fix Android is upgrading message
-Make a stock backup of unrooted device
-Install a stock 1.9.37 in the event of loss of backup.
-Install stock, or TWRP recoveries
-Tablet Information
-Lockscreen modding tool
-NabiLab patching system to install updates to this program
-Fix TWRP touchscreen issues
-While not a built in function using the tools to fix broken Wifi

Download

Read the installation section below to determine which version you want.

File names:
NabiLabFull.zip 1.1GB
Download

NabiLabLite.zip 97MB
Download
Download Mirror

NabiLabv2Update.zip 10.1MB(upgrade patch for v1 users)

Download
Download Mirror

Installation

There are 2 versions of Nabi Lab: Full and Lite. The full edition is 1.1GB and includes a stock 1.9.37 backup of the system, data, and boot partition. It's usefulness is really only of interest to those that need to restore to a stock backup. It should be a rather limited group of people as you should have a backup of your system already that you could use in lieu of this. However in the event you have lost your backup, or have mangled the system to the point you aren't sure what to do, the option to restore to stock 1.9.37 is in the full edition. The likely download of choice is the Lite edition at a more manageable download size of 97MB. It has all the tools of NabiLab just without the ability to restore a stock backup(which of course you have one of your own). The upgrade patch zip is for v1 users.

NEW INSTALLS

1) Download Nabi Lab
NabiLabFull.zip 1.1GB
NabiLabLite.zip 97MB

2) Extract the zip files to a location of your choosing. Run the NabiLab.bat file.

PATCH INSTALLS(For version 1 users)

1) Download NabiLabv2Update.zip 10.1MB

2) Extract the zip IN to the directory NabiLab is in not FROM the directory. What ever your unzip program it should be extracting to X:\somefolder\somefolder\yourNabiFolder\ If you do it right there will be a file RunOncePatch.bat in the same folder as NabiLab.bat, and a NabiPatch.zip in a new folder called patch in your NabiLab folder.

3) Run RunOncePatch.bat

note: This is only necessary this time, any future patches will be applied by downloading a NabiPatch.zip, and installing inside the NabiLab program.

Prerequisites

1) ADB enabled in Android. Enter Mommy/Daddy mode. Open settings->developer options->put a check mark in USB debugging.

2) Unsure you are on version 1.9.37. Enter Mommy/Daddy mode. Open settings->About Tablet->Product Version. If it's at something less then 1.9.37 go up to the "Update" selector and check update and install. You may have to do this more then once.

Notes: At this point it is believed that the Madagascar Nabi 2, and UK version have product versions of 1.9.34, and 1.9.35/6 respectively. You can attempt to use NabiLab at those versions but I cannot guarantee results. Most things should work however.

Usage

Obviously using this product on your Nabi 2 voids the warranty and I take no responsibility for the damage you cause.


MENU 1 - Installing drivers



The provided drivers are for Windows XP,Vista, 7 and 8 32bit and 64bit. They are modded version of the drivers by 1wayjonny found in this thread. The mod to those drivers are adding the Nabi, and the HP Touchpad Tenderloin(only because I have one). The are digitally self signed by "NabiLab".

Menu Option 1 - Auto Install

Check in the top left corner under Detected OS to see if it matches your configuration. The most important part is if it says "x86"(32bit) or "AMD64"(64bit) this is what the auto installer is going to install. If you don't know right click "my computer" and look under system type. If everything looks right proceed. An installer will launch and guide you through install.

Menu Option 2 - Manual Install

If you want to manually install, an explorer window will launch allowing you to pick the NabiDriver32.exe or NabiDriver64.exe. In case it needs stating the NabiDriver32 is for 32bit OS, and NabiDriver64 is for 64bit.

Notes: The driver can be uninstalled by going into control panel and add/remove programs, select Nabi Driver and click uninstall. The digital certificate for Nabi lab is installed in Trusted Root Certification Authorities. Probably the easiest way to view is internet explorer. Go to tools->internet options->content->certificates. It can be removed from here should you feel it's a security risk. I don't think it installs properly on XP, so if you want to add it go to your program files folder->NabiLab->driver and find the NabiLab.cer, right click and select install. When you come to option of where to install manually select Trusted Root Certification Authorities.

MENU 2 - Root, Gapps, Recovery



Menu Option 1 - Install Root, Recovery and Gapps

This option is best used if you have a brand new Nabi. At this point you should have met the prerequisites of enabling ADB in Android and upgrading to 1.9.37. Follow directions, most sticking points are pressing the volume + and then pressing the volume - button twice and making sure recovery kernel is the one highlighted. After its complete you should have a rooted Nabi, with Gapps and a backup of your unmodified Nabi in the folder TWRP/BACKUPS/YOURSERIAL/stockunrooted on your device. Not a bad idea to copy this off the Nabi to your computer if you need to free space or have it in a second location.

Menu Option 2 - Install Root and Recovery

Same as above but doesn't install Gapps. Some people have trouble with option 1 taking the Gapps install, I personally have never experienced it but the option is this one, or I guess if you are an elite hacker that just wants root.

Menu Option 3 - Install Gapps

Same Gapps installed in the Option 1. Useful for re-installing Gapps, and/or getting rid of the Android is Upgrading message. It is the immensely popular t499user Gapps with the 2 stray .odex removed. No sense in reinventing the wheel. This makes NO backup of you Nabi. You will have to already have installed TWRP.

Menu Option 4 - Install Root

Installs root. Nothing fancy here, and likely unneeded but here for completeness if you find yourself in a strange situation. One that comes to mind is that you have a stock backup which you restored and don't want to do another backup so you would just run this and the gapps install. It makes NO backup. You will have to already have installed TWRP.

Note: The layout of this is based on the original work by jmztaylor, modified for what we currently know about the Nabi and tweaked accordingly.

MENU 3 - Return Nabi to Stock Condition



The menu options will only be available if you have downloaded Nabi Lab full. If you have a stock unrooted backup you should try that first.

Menu Option 1 - Return Nabi to Stock 1.9.37. Android can boot.

This is useful if you just want to return your Nabi to stock for regular use, sale, or warranty(morals aside). This is the mode to use if you can boot Android. This operation will take some time to run, so let it. Upon completion TWRP is still installed, to entirely restore to stock you will need to install the stock recovery(see Menu 4). You have the option to put on external or internal storage. Although I don't think I compiled TWRP to use "in place" install, which would mean it still copies to internal. I'm not sure on this one, so internal is probably the best bet, but I have performed it on external and it works fine. You will need space on internal storage to do it.

Menu Option 2 - Return Nabi to Stock 1.9.37. Android not booting.

This is useful if you are in a situation that has left Android unbootable and you have no backup. Otherwise it's the same as Option 1. You will boot to TWRP and then perform the restore. Again TWRP will still be installed afterward, no be completely at stock you will have to remove it by Main Menu 4. I have it this way in the event you plan to immediately reroot it.

Notes: If you want to view this menu in the lite version, you need to open the file havefiles.txt, it is located in the stockimage folder. Change the line backup=false, to backup=true. You can then view the menu. You can then copy files you wanted to the stockimage folder and restore. Since the restore portion is manual I'm not sure why you would ever use it this way but if you want to play around that's how to enable it.

MENU 4 - Install Recoveries



Menu Option 1 - Install TWRP 2.3.3.0 for Nabi Version 1.9.37

Installs TWRP 2.3.3.0. This is the version that everyone should be trying to use first before trying other versions. This is the version that has symlinked paritions since it is thought currently their might be different partition structures for various Nabi's. Newer Nabi kernel and fixes touchscreen issues for some people that were using 2.2.2.1.

Menu Option 2 - Install TWRP 2.3.3.0 for Nabi Versions prior to 1.9.37

Use this option if Option 1 didn't work for you. Older Nabi kernel, otherwise same as Option 1.

Menu Option 3 - Install TWRP 2.2.2.1

This is the original TWRP from the first Nabi rooting thread. Use this if the other 2 don't suit you, or you just trust my compile skills, which may be prudent...

Menu Option 4 - Install Stock Recovery

Installs stock recovery. This is useful for taking an OTA, or completely returning Nabi to stock.

Menu Option 5 - About Recovery Installer

A leftover from my initial recovery installer, I was too lazy to remove it.

Notes: TWRP installs are based off my work in this thread if you want to read more.

MENU 5 - Tablet Information



Nabi Information, serial, version, build date, device mode, internal/external size, detected backups.

Note: This only detects if a backup folder is present, not if there are backups actually inside the folder. The only way this would be the case is if you manually deleted them or just made a empty folder in there, so be aware. Also if you have made a ramdisk modifying init.rc, used creative symlinking to swap internal and external SD, or used a prebuilt app to swap this screen may be incorrect.

MENU 6 - Lockscreen Mod Tool



Don't use this if you have updated to v2.0.5, I haven't tested but the framework-res.apk was updated in the 2.0.5 update and if you are using the old one you could throw yourself in to a bootloop

Menu Option 1 - Install custom lockscreen

Use this to install a custom lockscreen. You will need a picture that is in .png format and is 1440 x 903. A explorer window will open up showing you the location to put the picture. The file MUST be name lockscreen.png, there is one there that is black, you can overwrite it be there MUST ALWAYS be a lockscreen.png file in that folder if you use the tool. Bad things could possibly happen if it doesn't. You have the option to manually install the lockscreen, or automatically install it after the zip is built. In either case it copies whatever you named the zip(you are prompted for a name) to the internal SD, along with a file called lockorig.zip. The lockorig.zip is there if you mess up and Android won't boot you can manually install the lockorig.zip in TWRP to put it back to stock.

Menu Option 2 - Install stock lockscreen

Use this to return to stock. Remember if you used Option 1 there will already be the stock lockorig.zip on your internal storage.

Notes: If you make a custom lockscreen, while it copies the installable zip to your device it also copies it to your picture folder so you can share with others. Make sure you visit in share your creation over in this thread.

MENU 7 - Patch NabiLab



Menu Option 1 - Install Patch

For any updates to Nabi Lab this is where you can automatically load them. Basically you will download NabiPatch.zip and place the entire zip in the patch folder. No unzipping just the single file. Then run this option.

Note: Since this option wasn't in NabiLab v1, we have to do some trickery when coming from version 1 to install, so the procedure is different, all subsequent patches will be the above method however. Coming from version 1 you will need to download NabiLabv2update.zip and extract it into the NabiLab directory such that RunOncePatch.bat is in same directory as NabiLab.bat, and the other file NabiPatch.zip is in the folder "patch", then run the RunOncePatch.bat If you extract into your NabiLab directory it won't be a problem, the hint you didn't do it right will be if the RunOncePatch.bat isn't right there with NabiLab.bat

Credits

jzmtaylor - Original Nabi root. Nabi device code from which to build newer TWRP
t499user - Gapps fix
Dees_Troy - TWRP build tutorial
Eric Karz - Lockscreen Modding, NabiLab scripting
1wayjonny - Universal Driver base code
TeamWin - They are the guys that make TWRP possible

In all honesty everyone that has participated in the main Gapps thread has indirectly made the program what it is from testing, to information, to troubleshooting and everything else Nabi.
The Following 36 Users Say Thank You to aicjofs For This Useful Post: [ Click to Expand ]
 
DarkAngel
Old
#2  
DarkAngel's Avatar
Senior Member
Thanks Meter 187
Posts: 396
Join Date: Aug 2006
Location: Arizona
Hmmm just for giggles I installed Nabi Lab on my Computer to change the Lock Screen and it does not want to read my Tablet.
SGN2 (SPH-L900) - NE2/Running 4.4.2 TW Community Rom/Philz Recovery
SGS3 (SPH-L710) - ND8/Stock, Rooted w/ All the Goodys/Philz Recovery
SGS4 (SPH-L720) - NAE/Stock, Rooted/Philz Recovery
SGM (SPH-L600) - NE4/Stock, Rooted/Philz Recovery
Nabi2 (NABI2-NV7A) - 4.1 JB/Stock, Rooted & Monarch UI Removed/TWRP 2.6.3.0 Recovery

"Fuhu Nabi Wiki" <----Click to view & feel free to add to the knowledge base......
 
strive53
Old
#3  
strive53's Avatar
Senior Member
Thanks Meter 53
Posts: 185
Join Date: May 2011
Location: s. jersey
Thanks for this! Driver install didn't work for me on any of my computers...well it did install a driver but didn't read my nabi. Uninstalled nabilab driver and used PDA.net and all was good. Nabilab worked great installing recovery root n gapps! Thanks agn.

Sent from my EVO using xda app-developers app
The Following User Says Thank You to strive53 For This Useful Post: [ Click to Expand ]
 
aicjofs
Old
(Last edited by aicjofs; 18th January 2013 at 12:15 AM.)
#4  
Recognized Contributor - OP
Thanks Meter 669
Posts: 597
Join Date: Nov 2012
Location: Portland, Oregon
Quote:
Originally Posted by DarkAngel
Hmmm just for giggles I installed Nabi Lab on my Computer to change the Lock Screen and it does not want to read my Tablet.
So it's saying error Nabi not detected or no driver? Is the device seen in Device Manger? Really can be only 2 thing, adb conflict or device driver.


Quote:
Originally Posted by strive53
Thanks for this! Driver install didn't work for me on any of my computers...well it did install a driver but didn't read my nabi. Uninstalled nabilab driver and used PDA.net and all was good. Nabilab worked great installing recovery root n gapps! Thanks agn.
What operating systems and did you have any previous Android devices connected to the computer? Sometimes I noticed it will conflict with any previous driver installs, and while installing the driver is successful it won't use it. I guess it doesnt matter if it's working for you with PDAnet. If you are on vista or later you can try running pnputil -e from command prompt and look through all the oemxx.inf's and see how many google,inc android drivers there are.
 
DarkAngel
Old
#5  
DarkAngel's Avatar
Senior Member
Thanks Meter 187
Posts: 396
Join Date: Aug 2006
Location: Arizona
Quote:
Originally Posted by aicjofs View Post
So it's saying error Nabi not detected or no driver? Is the device seen in Device Manger? Really can be only 2 thing, adb conflict or device driver.




What operating systems and did you have any previous Android devices connected to the computer? Sometimes I noticed it will conflict with any previous driver installs, and not while installing the driver is successful it won't use it. I guess it doesnt matter if it's working for you with PDAnet. If you are on vista or later you can try running pnputil -e from command prompt and look through all the oemxx.inf's and see how many google,inc android drivers there are.

Sorry should have been more specific. It detects it via Device Manager but not via Nabi Lab. I am running Windows 7 x64







SGN2 (SPH-L900) - NE2/Running 4.4.2 TW Community Rom/Philz Recovery
SGS3 (SPH-L710) - ND8/Stock, Rooted w/ All the Goodys/Philz Recovery
SGS4 (SPH-L720) - NAE/Stock, Rooted/Philz Recovery
SGM (SPH-L600) - NE4/Stock, Rooted/Philz Recovery
Nabi2 (NABI2-NV7A) - 4.1 JB/Stock, Rooted & Monarch UI Removed/TWRP 2.6.3.0 Recovery

"Fuhu Nabi Wiki" <----Click to view & feel free to add to the knowledge base......
 
aicjofs
Old
#6  
Recognized Contributor - OP
Thanks Meter 669
Posts: 597
Join Date: Nov 2012
Location: Portland, Oregon
Quote:
Originally Posted by DarkAngel View Post
Sorry should have been more specific. It detects it via Device Manager but not via Nabi Lab. I am running Windows 7 x64
Is it detecting 2 Nabi interfaces in Device Manager? I can see it's detecting the MTP interface, but what about the ADB interface. Usually ADB appears under Android Device and MTP under Portable Devices. Is there anything under "Other Devices"? NABI2-NV7A something or other? Only other thing I could think is that there is a hung up ADB process running, kill it in task manager or reboot.
 
strive53
Old
#7  
strive53's Avatar
Senior Member
Thanks Meter 53
Posts: 185
Join Date: May 2011
Location: s. jersey
sorry knew i should have stated my operating system. my main computer is a macbook and i have a old xp laptop n xp netbook that i use for flashing. i also tried it on my moms win7 desktop and a friends win8 desktop without luck. never changed in device manager from NABI2-NV7A with yellow exclamation point. ive flashed a bunch of phones from my laptop and probably do have drivers installed from who knows what.. it did install the driver but nabi wasnt detected as adb interface. rebooted computers n nabi after installs. i didnt have any other device attached at the time.
 
DarkAngel
Old
#8  
DarkAngel's Avatar
Senior Member
Thanks Meter 187
Posts: 396
Join Date: Aug 2006
Location: Arizona
Quote:
Originally Posted by aicjofs View Post
Is it detecting 2 Nabi interfaces in Device Manager? I can see it's detecting the MTP interface, but what about the ADB interface. Usually ADB appears under Android Device and MTP under Portable Devices. Is there anything under "Other Devices"? NABI2-NV7A something or other? Only other thing I could think is that there is a hung up ADB process running, kill it in task manager or reboot.
Yes it's detecting on both. The only thing that has been baffling me for some time is back when I had a Windows phone and after I switched to android, what appears to show in "Other" looks like my old TouchPro2. I can not delete that.

SGN2 (SPH-L900) - NE2/Running 4.4.2 TW Community Rom/Philz Recovery
SGS3 (SPH-L710) - ND8/Stock, Rooted w/ All the Goodys/Philz Recovery
SGS4 (SPH-L720) - NAE/Stock, Rooted/Philz Recovery
SGM (SPH-L600) - NE4/Stock, Rooted/Philz Recovery
Nabi2 (NABI2-NV7A) - 4.1 JB/Stock, Rooted & Monarch UI Removed/TWRP 2.6.3.0 Recovery

"Fuhu Nabi Wiki" <----Click to view & feel free to add to the knowledge base......
 
aicjofs
Old
#9  
Recognized Contributor - OP
Thanks Meter 669
Posts: 597
Join Date: Nov 2012
Location: Portland, Oregon
Quote:
Originally Posted by strive53
sorry knew i should have stated my operating system. my main computer is a macbook and i have a old xp laptop n xp netbook that i use for flashing. i also tried it on my moms win7 desktop and a friends win8 desktop without luck. never changed in device manager from NABI2-NV7A with yellow exclamation point. ive flashed a bunch of phones from my laptop and probably do have drivers installed from who knows what.. it did install the driver but nabi wasnt detected as adb interface. rebooted computers n nabi after installs. i didnt have any other device attached at the time.
I had trouble with computers that has previous drivers installed sometimes, other times not. I tested fresh installs on XP 32, 7 32, 7 64, 8 64 and everything went fine, but it was much more hit and miss with computers that already had a slew of drivers. I'm more concerned that NONE of yours would work, although I guess it's offset by the fact that PDAnet driver worked and that NabiLab itself worked fine.


Quote:
Yes it's detecting on both. The only thing that has been baffling me for some time is back when I had a Windows phone and after I switched to android, what appears to show in "Other" looks like my old TouchPro2. I can not delete that.
Well you have me baffled too! haha. If you run "adb devices" from cmd prompt what is the output? You have a modified cmd processor, that opens batch files? Seems like everything is in place. It case it's something with the program did you come from v1 NabiLab and patch or just v2?

f you want to play with the lockmod while we figure it out, the pic zip you made will still be in "pictures" folder, just let that portion of the program run until it errors when it tries to adb transfer. You can manually transfer to SD and flash TWRP.
 
DarkAngel
Old
#10  
DarkAngel's Avatar
Senior Member
Thanks Meter 187
Posts: 396
Join Date: Aug 2006
Location: Arizona
Default Re: [TOOL][NABI2] NabiLab - Root, Play, Recovery

Quote:
Originally Posted by aicjofs View Post
I had trouble with computers that has previous drivers installed sometimes, other times not. I tested fresh installs on XP 32, 7 32, 7 64, 8 64 and everything went fine, but it was much more hit and miss with computers that already had a slew of drivers. I'm more concerned that NONE of yours would work, although I guess it's offset by the fact that PDAnet driver worked and that NabiLab itself worked fine.




Well you have me baffled too! haha. If you run "adb devices" from cmd prompt what is the output? You have a modified cmd processor, that opens batch files? Seems like everything is in place. It case it's something with the program did you come from v1 NabiLab and patch or just v2?

f you want to play with the lockmod while we figure it out, the pic zip you made will still be in "pictures" folder, just let that portion of the program run until it errors when it tries to adb transfer. You can manually transfer to SD and flash TWRP.
This is the first time installing it actually since I Rooted and installed GApps through Ubuntu. I just wanted to try it so I can try and change the lockscreen image and update TWRP while I was there also. I downloaded v2 with the backup. I was going to try v1 to see if that made a difference or try the PDAnet driver.

Sent from my NABI2-NV7A using Tapatalk HD
SGN2 (SPH-L900) - NE2/Running 4.4.2 TW Community Rom/Philz Recovery
SGS3 (SPH-L710) - ND8/Stock, Rooted w/ All the Goodys/Philz Recovery
SGS4 (SPH-L720) - NAE/Stock, Rooted/Philz Recovery
SGM (SPH-L600) - NE4/Stock, Rooted/Philz Recovery
Nabi2 (NABI2-NV7A) - 4.1 JB/Stock, Rooted & Monarch UI Removed/TWRP 2.6.3.0 Recovery

"Fuhu Nabi Wiki" <----Click to view & feel free to add to the knowledge base......

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes