View Single Post
Old 02-08-2010, 12:49 PM   #7
:D ominik
Groupie
:D ominik has a complete set of Star Wars action figures.:D ominik has a complete set of Star Wars action figures.:D ominik has a complete set of Star Wars action figures.:D ominik has a complete set of Star Wars action figures.
 
Posts: 186
Karma: 330
Join Date: Dec 2009
Device: nook
Detailled steps, how to change default home menu:

1. Enable Wifi und stay in the settings dialog (to keep the Wifi connection active)

2. Open a command shell in your android-sdk tools directory

3. Connect to your nook (How to find the IP of your nook):
Code:
adb connect NOOK_IP:5555
4. Open shell session
Code:
adb shell
5. Make a backup copy of the file, before we change it
Code:
busybox cp /data/system/packages.xml /data/system/packages.bak.xml
6. set file-owner and permission to the standard of packages.xml
Code:
chown system.system /data/system/packages.bak.xml
Code:
chmod 0664 /data/system/packages.bak.xml
7. Take a look, if everything went fine (you should see, beyond others, packages.xml AND packages.bak.xml and BOTH should have same user/group/permission-settings)
Code:
ls -l /data/system
8. Close shell session
Code:
exit
9. Download the packages.xml to your computer, pull a second time (so we get a local backup too)
Code:
adb pull /data/system/packages.xml packages.xml
Code:
adb pull /data/system/packages.xml packages.bak.xml
10. Edit the local packages.xml with an editor, e.g. Notepad, Notepad++ (not Word, Wordpad or similar programs, they will most likely destroy your file!)

There will be a line
Quote:
<preferred-activities />
Replace this line (and only this line!) with the section described here

Be careful, check twice!

11. Upload the edited file to your nook
Code:
adb push packages.xml /data/system/packages.xml
12. Open a shell session again
Code:
adb shell
13. "Repair" file-owner and permission to the standard of packages.xml
Code:
chown system.system /data/system/packages.xml
Code:
chmod 0664 /data/system/packages.xml
14. Take a look, if everything went fine (packages.xml AND packages.bak.xml should both have same user/group/permission-settings)
Code:
ls -l /data/system
15. Close shell session
Code:
exit
16. Close ADB connection
Code:
adb disconnect NOOK_IP:5555
17. Reboot your nook.



Bye,
Dominik

Last edited by :D ominik; 02-08-2010 at 12:52 PM.
:D ominik is offline   Reply With Quote