Post Reply

(Tutorial)Lock Screen mod for Nabi 2 NABI2-NV7A

OP katinatez

3rd January 2014, 07:46 AM   |  #1  
katinatez's Avatar
OP Senior Member
Flag Arizona
Thanks Meter: 1,224
 
1,022 posts
Join Date:Joined: Mar 2011
Donate to Me
More
This tutorial is for lock screen modification to Nabi 2 NABI2-NV7A US or UK version although only confirmed working with US version. Although the steps would be identical for either version, just don’t have a UK Nabi 2 to test my theory.

I created this thread in hope that if anyone use this tutorial they will provide a picture of lock screen and also share their flashable zip file for the entire Nabi community. If sharing flashable zip files the naming convention has to match the firmware version as I have done below.


A couple of tools & files will be required first and I have provided links to downloads.

7-zip
apkmultitool
nabi_circle.png
empty_framework.zip


I will start with the apk multi tool, I have to give kudos to the developer of this tool, super easy to use; if possible consider making a donation and continue supporting the development of this tool. Currently using Windows 7 64 OS so all instructions will be for Window users.


1) After download of tool, extract to the root of C:\
2) Make sure you have USB debugging checked in Nabi found in Settings\Developers options
3) Connect tablet and go C:\ APK-Multi-Tool\setup.bat and follow instruction 1 thru 3
4) After the 3 steps go to C:\ APK-Multi-Tool\other you will find the framework-res.apk & SystemUI.apk
5) Copy and paste framework-res.apk to C:\ APK-Multi-Tool\place-apk-here-for-modding now click the Scipt.bat hit enter; then option 9 Decompile apk
6) Then you will find the decompiled apk in C:\ APK-Multi-Tool\projects

The files to edit with your pictures are found here, go and replace the png files listed below.
C:\APK-Multi-Tool\projects\framework-res.apk\res\drawable-sw600dp-mdpi

A. fuhu_ic_lockscreen_handle_normal.png
B. fuhu_ic_lockscreen_handle_pressed.png
C. nabi_circle.png
D. unlock_directions.png (Optional)


The fuhu_ic_lockscreen_handle_normal.png & fuhu_ic_lockscreen_handle_pressed.png have to be 1024 x 552 px. and they both have to be the same picture.The nabi_circle.png 184 x 238 has to be replaced with a transparent.png for simplicity I have provided a download link to one. Also the unlock_directions.png is optional that file is 120 x 120 px by replacing all these files you can create your own custom lock screen mod. What I did is I renamed all my png files to default names.

If you want to change default wallpaper, which is 1536 x 1024 px
C:\APK-Multi-Tool\projects\framework-res.apk\res\drawable-sw600dp-nodpi

1. After you have edited your files; then enter the cmd and choose option 11 Compile system apk files. Then it will ask if you would like to copy additional files that you didn’t modify from the original apk in order to ensure least # of errors (y/n)
2. Enter y
3. Now go back to C:\APK-Multi-Tool\keep and delete the files you have modified then hit enter
4. You will now find a unsignedframework-res.apk file in C:\ APK-Multi-Tool\place-apk-here-for-modding
5. Place this file in different folder (example minions) rename to framework-res.apk
6. Grab the empty_framework.zip open this with 7-zip without unzipping and drag the framework-res.apk in emty_framework.zip\system\framework\drag here.

If your emty_framework.zip is only showing META-INF folder just click file top left of 7-zip and then "create folder" system repeat again and create framework folder, then open that folder and drag framework-res.apk there. 7-zip will ask are you sure you want to copy file just click yes.
If you want to modify the updater script you can extract into your computer and modify it with notepad and change the name of the lockscreen, this will be able to be read in recovery. If you don’t take this last step it will say “Installing custom lockscreen”. The updater script can be found in
empty_framework.zip\META-INF\com\google\android\updater-script

Here are a few lockscreens that are only for firmware 2.3.11 enjoy

With exception of lockorig_2.3.11.zip all have Nexus 7 2013 default wallpaper!



lockorig_2.3.11.zip

frozen_princesses_2.3.11.zip


frozen_marshmallow_2.3.11.zip

ariel_2.3.11.zip


disney_princess_2.3.11.zip

dinosaur_2.3.11.zip


bubble_guppies_2.3.11.zip

minions_2.3.11.zip


minions_face_2.3.11.zip

mario_2.3.11.zip


pokeman_2.3.11.zip

spongebob_2.3.11.zip


super_why_2.3.11.zip


my_little_pony_2.3.11.zip

Before flashing backup entire ROM also store the lockorg_2.3.11.zip in your external card

I am not responsible for anyone bricking your kids tablets, you are choosing to do this mod!
Last edited by katinatez; 3rd March 2014 at 03:32 AM.
The Following 10 Users Say Thank You to katinatez For This Useful Post: [ View ]
3rd January 2014, 09:17 AM   |  #2  
Nilsonf's Avatar
Senior Member
Thanks Meter: 116
 
734 posts
Join Date:Joined: Nov 2011
More
Sweet thanks for making this thread

Sent from my Nexus 5 using Tapatalk
5th January 2014, 11:58 PM   |  #3  
Member
Flag San Tan Valley
Thanks Meter: 6
 
43 posts
Join Date:Joined: Oct 2006
More
Quote:
Originally Posted by katinatez


Before flashing backup entire ROM also store the lockorg_2.3.11.zip in your external card

I am not responsible for anyone bricking your kids tablets, you are choosing to do this mod![/CENTER]

So I flashed the frozen one no problem, but then tired to flash the original and it just hangs on boot loading. Have you tested flashing that zip. I just flashed the frozen back and was fine. Just a heads up.

Sent from my Nexus 4 using Tapatalk
6th January 2014, 12:21 AM   |  #4  
katinatez's Avatar
OP Senior Member
Flag Arizona
Thanks Meter: 1,224
 
1,022 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Quote:
Originally Posted by saw429

So I flashed the frozen one no problem, but then tired to flash the original and it just hangs on boot loading. Have you tested flashing that zip. I just flashed the frozen back and was fine. Just a heads up.

Sent from my Nexus 4 using Tapatalk

I tested the zip file in my nabi and its fine, I also replaced my lock original from my external card from my nabi to the download link.
Please re- download and try again, thanks
The Following 2 Users Say Thank You to katinatez For This Useful Post: [ View ]
6th February 2014, 06:44 PM   |  #5  
Junior Member
Thanks Meter: 5
 
21 posts
Join Date:Joined: Jan 2014
Hi.

I had posted this in one of the general forums since I didn't have access at the time to post in the development forums.. I'll post this here as well now that I can..

Question on the process to change the default kids mode wallpaper in the lockscreen process on the Nabi2's since moving to Jellybean.

katinatez's excellent process for the lock screen portion works fine (THANK YOU for sharing this, BTW)

End result:




I am trying to add a custom wallpaper into the apk when I change the lockscreen.

The file I am targeting is called default_wallpaper_kid.png and it is 1024x552.

The file is located in 2 folders:

framework-res.apk\res\drawable-hdpi

and

framework-res.apk\res\drawable-mdpi

I change these 2 files, recompile and follow the rest of the process as normal. Flash install onto the Nabi2 in TWRP and reboot. I still get the same default blue block kids mode wallpaper.

I've gone back and pulled the framework back off of the Nabi once I did the install and the changed wallpapers are in fact there. I can't figure out where the Nabi is pulling the standard blue block default wallpaper from since I verified that I replaced the files that I thought it should be.

I should note that I had previously changed the wallpaper during another lock screen install, so I'm stumped as to why I'm not able to change it now. And yes, I could just simply copy the wallpaper over to the Nabi and set it as wallpaper from there but it's bugging me as to why the process isn't working.

Any ideas?

Thanks in advance!
6th February 2014, 07:08 PM   |  #6  
Recognized Contributor
Flag Portland, Oregon
Thanks Meter: 700
 
635 posts
Join Date:Joined: Nov 2012
Quote:
Originally Posted by 2girlzdad

Hi.

I had posted this in one of the general forums since I didn't have access at the time to post in the development forums.. I'll post this here as well now that I can..

Question on the process to change the default kids mode wallpaper in the lockscreen process on the Nabi2's since moving to Jellybean.

katinatez's excellent process for the lock screen portion works fine (THANK YOU for sharing this, BTW)

End result:




I am trying to add a custom wallpaper into the apk when I change the lockscreen.

The file I am targeting is called default_wallpaper_kid.png and it is 1024x552.

The file is located in 2 folders:

framework-res.apk\res\drawable-hdpi

and

framework-res.apk\res\drawable-mdpi

I change these 2 files, recompile and follow the rest of the process as normal. Flash install onto the Nabi2 in TWRP and reboot. I still get the same default blue block kids mode wallpaper.

I've gone back and pulled the framework back off of the Nabi once I did the install and the changed wallpapers are in fact there. I can't figure out where the Nabi is pulling the standard blue block default wallpaper from since I verified that I replaced the files that I thought it should be.

I should note that I had previously changed the wallpaper during another lock screen install, so I'm stumped as to why I'm not able to change it now. And yes, I could just simply copy the wallpaper over to the Nabi and set it as wallpaper from there but it's bugging me as to why the process isn't working.

Any ideas?

Thanks in advance!

Someone else asked this question a long time ago. I can't find that answer searching(can't remember enough words from that post), it seems something like it was already cached since it was the apk, so it didn't pick up the change. I can't remember if the solution was to wipe caches or something like that or clear some data in an app in settings. Or maybe neither and I remember nothing..... LOL.
The Following 2 Users Say Thank You to aicjofs For This Useful Post: [ View ]
6th February 2014, 08:55 PM   |  #7  
katinatez's Avatar
OP Senior Member
Flag Arizona
Thanks Meter: 1,224
 
1,022 posts
Join Date:Joined: Mar 2011
Donate to Me
More
I believe the blue block wallpaper you are talking about, is in fact the NabiMode.apk default wallpaper.

Take the NabiMode.apk decompile & go thru steps replacing with whatever wallpaper you want for kids launcher wallpaper.

You will also find Madagascar wallpaper inside the NabiMode.apk

Good luck
The Following 2 Users Say Thank You to katinatez For This Useful Post: [ View ]
6th February 2014, 09:58 PM   |  #8  
Junior Member
Thanks Meter: 5
 
21 posts
Join Date:Joined: Jan 2014
Thanks guys -- I'll try to poke around with it later tonight when I get home.

Appreciate the info.
6th February 2014, 11:35 PM   |  #9  
katinatez's Avatar
OP Senior Member
Flag Arizona
Thanks Meter: 1,224
 
1,022 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Quote:
Originally Posted by 2girlzdad

Thanks guys -- I'll try to poke around with it later tonight when I get home.

Appreciate the info.

Remember to make backup with twrp before you start making changes.
The Following User Says Thank You to katinatez For This Useful Post: [ View ]
7th February 2014, 12:25 AM   |  #10  
Junior Member
Thanks Meter: 5
 
21 posts
Join Date:Joined: Jan 2014
Quote:
Originally Posted by katinatez

Remember to make backup with twrp before you start making changes.


Yeah, I've learned to do that the hard way..

Thanks!
Post Reply Subscribe to Thread

Tags
lock screen, nabi 2
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Miscellaneous Android Development by ThreadRank