Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,731,116 Members 46,835 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
katinatez
Old
(Last edited by katinatez; 3rd March 2014 at 03:32 AM.)
#1  
katinatez's Avatar
Senior Member - OP
Thanks Meter 373
Posts: 686
Join Date: Mar 2011
Location: Arizona

 
DONATE TO ME
Default (Tutorial)Lock Screen mod for Nabi 2 NABI2-NV7A

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!
If I helped, click the Thanks button
  • One Plus One
  • I9300 SG3
  • Nexus 7 32GB
  • Nabi 2 (X2)
The Following 10 Users Say Thank You to katinatez For This Useful Post: [ Click to Expand ]
 
Nilsonf
Old
#2  
Nilsonf's Avatar
Senior Member
Thanks Meter 107
Posts: 708
Join Date: Nov 2011
Sweet thanks for making this thread

Sent from my Nexus 5 using Tapatalk
 
saw429
Old
#3  
Member
Thanks Meter 6
Posts: 41
Join Date: Oct 2006
Location: San Tan Valley
Quote:
Originally Posted by katinatez View Post

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
 
katinatez
Old
#4  
katinatez's Avatar
Senior Member - OP
Thanks Meter 373
Posts: 686
Join Date: Mar 2011
Location: Arizona

 
DONATE TO ME
Quote:
Originally Posted by saw429 View Post
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
If I helped, click the Thanks button
  • One Plus One
  • I9300 SG3
  • Nexus 7 32GB
  • Nabi 2 (X2)
The Following 2 Users Say Thank You to katinatez For This Useful Post: [ Click to Expand ]
 
2girlzdad
Old
#5  
Junior Member
Thanks Meter 5
Posts: 21
Join Date: 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!
 
aicjofs
Old
#6  
Recognized Contributor
Thanks Meter 627
Posts: 569
Join Date: Nov 2012
Location: Portland, Oregon
Quote:
Originally Posted by 2girlzdad View Post
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.
Read my less technical and uncensored ramblings on Nabi Tablet modding
Nab Tab Hacks
The Following 2 Users Say Thank You to aicjofs For This Useful Post: [ Click to Expand ]
 
katinatez
Old
#7  
katinatez's Avatar
Senior Member - OP
Thanks Meter 373
Posts: 686
Join Date: Mar 2011
Location: Arizona

 
DONATE TO ME
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
If I helped, click the Thanks button
  • One Plus One
  • I9300 SG3
  • Nexus 7 32GB
  • Nabi 2 (X2)
The Following 2 Users Say Thank You to katinatez For This Useful Post: [ Click to Expand ]
 
2girlzdad
Old
#8  
Junior Member
Thanks Meter 5
Posts: 21
Join Date: Jan 2014
Thanks guys -- I'll try to poke around with it later tonight when I get home.

Appreciate the info.
 
katinatez
Old
#9  
katinatez's Avatar
Senior Member - OP
Thanks Meter 373
Posts: 686
Join Date: Mar 2011
Location: Arizona

 
DONATE TO ME
Quote:
Originally Posted by 2girlzdad View Post
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.
If I helped, click the Thanks button
  • One Plus One
  • I9300 SG3
  • Nexus 7 32GB
  • Nabi 2 (X2)
The Following User Says Thank You to katinatez For This Useful Post: [ Click to Expand ]
 
2girlzdad
Old
#10  
Junior Member
Thanks Meter 5
Posts: 21
Join Date: Jan 2014
Quote:
Originally Posted by katinatez View Post
Remember to make backup with twrp before you start making changes.

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

Thanks!
Tags
lock screen, nabi 2
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes