Congratulations to Cicadaman & co. for getting Froyo running on the Nook Color! Visit the nook Color portal!
See Rooting new hardware FIRST if you have a nook original with a 1003* serial# or above.

Scripting

From nookDevs

Jump to: navigation, search

Installing onto your nook with python

Make this easy on yourself. Start by connecting to adb. Next, pull the contents of your keylayout file.

./adb pull /system/usr/keylayout/s3c-button.kl . 

edit s3c-button.kl to read like the file below this will set your LEFT_NEXTPAGE button to pull up the menu and the RIGHT_PREVPAGE button to act as the system back button.

key 26    VOLUME_UP
key 34    VOLUME_DOWN
key 102   HOME              WAKE
key 58    MENU              WAKE_DROPPED
key 42    ENDCALL           WAKE_DROPPED
key 50    BACK              WAKE_DROPPED
key 105   DPAD_LEFT         WAKE_DROPPED
key 106   DPAD_RIGHT        WAKE_DROPPED
key 25    DPAD_UP           WAKE_DROPPED
key 41    DPAD_DOWN         WAKE_DROPPED
key 33    DPAD_CENTER       WAKE_DROPPED
key 116   ENDCALL                       WAKE 
key 525   HOME   
key 524   MENU 
key 526   RIGHT_NEXTPAGE
key 527   RIGHT_PREVPAGE
key 143   WAKEUP                        WAKE

push the file back to your nook

 ./adb push s3c-button.kl /system/usr/keylayout/s3c-button.kl

Reboot your nook.

you need to download and install the android-scripting base package ase_r15.apk

Install using the command
 ./adb install ase_r15.apk 

once the base package is installed you need to install the files for python

  1. Add ASE to your launcher menu.
  2. Connect to wifi with your nook.
  3. Locking the wifi with Wifi Locker helps maintain the connection.
  4. Run ASE
    1. Hit your menu key
    2. Select Interpreters
    3. Hit menu again
    4. Select add
    5. Install Python and whatever other languages you want.Repeat to taste.
    6. Create the directory /ase/scripts on your sdcard.
    7. You are going to want to have 19 blank files to take up the space of the eink screen, I recommend creating files _00.py through to _19.py

list of some API calls

Views
Personal tools
  • Log in / create account
Navigation
nookDevs Team
miscellaneous
Toolbox
  • What links here
  • Related changes
  • Special pages
  • Printable version