Key Ring Rewards App - Modified for Nook Touch - Nook Touch Themes and Apps

I modified the Key Ring Reward Cards app for use on the nook. The e-Ink screen of the nook touch means that even old scanners will be able to scan the barcodes that are displayed.
The attached apk is the latest version (as of 2011.11.30) of the Key Ring Reward Cards app. I reverse-compiled the code via apktool, then modified the android manifest so that the camera feature is no longer required. I recompiled it, and signed it with a newly generated certificate (because the nook won't install an app if it isn't signed; it doesn't seem to care who signed it though).
To install this app on your rooted nook touch, you first need to copy over a couple files to your system partition. These two can be obtained from the latest gapps zip file. These two files are required by the application. Even though they are for embedded google maps, they are NOT installed when you install the google maps app and must therefore be installed manually.
Download the latest gapps file. Search google for "gapps" (I can't link because I'm a new user)
Extract the following two files from the gapps zip
/system/etc/permissions/com.google.android.maps.xml
/system/framework/com.google.android.maps.jar
Connect to your nook touch via adb
Remount your system partition as read-write
adb shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Push the two files to their respective locations
adb push com.google.android.maps.xml /system/etc/permissions/
adb push com.google.android.maps.jar /system/framework/
Reboot your nook
Install the attached apk (via adb install or copying to an sd-card and opening the apk from es file explorer)
Note: the app freezes if you try to add a new key card. Use their web interface or your phone to add a card. Viewing and editing the cards on the nook should be fine.
I hope I'm not violating any rules by attaching the apk, since this app is completely free and I am simply removing the restriction of a built-in camera.

Works great!
Thanks

yerlizard said:
Works great!
Thanks
Click to expand...
Click to collapse
Glad to help out.

Modified App No Longer Needed
It looks like they developers have changed the program in order to accomodate users lacking a camera. This means the Android Play (Market) version installs natively on a rooted nook now!
When you add a card with the nook, it simply asks for the barcode number,whereas on a camera-equipped device it would let you scan a barcode. Thank you so much, developers of this app! I was really happy to find out today that this works.

Related

Backup Android SD contents to desktop?

One thing I miss about my windows mobile device is the ability to backup the device to the desktop.
A search on Market didn't turn up anything.
Any options?
keenerb said:
One thing I miss about my windows mobile device is the ability to backup the device to the desktop.
A search on Market didn't turn up anything.
Any options?
Click to expand...
Click to collapse
When you say sd contents, are you refering to the fat32 partition of your sd card? You can just mount it to your computer and copy and paste it over.
Or you could also use ADB
Code:
adb remount
adb pull /sdcard desktop/backup
If you want the ext2/3/4 partition, it would be
Code:
adb remount
adb pull /system/sd desktop/backup
(I used "desktop/backup" as an example but you can pull the data to anywhere on your computer that you want)
As for a linux-swap partition, there's nothing in there that you would need/want to backup.
yeah, I know I can do that, but I'd like it to happen automatically.
I wish we had cron or some way to schedule SH scripts on this thing.
As it is for now, I put a shell script in my root directory on the SD card that rsyncs everything with a folder on my desktop PC.
So, whenever I mount the phone, I'll just run the script and it'll get synced.
keenerb said:
yeah, I know I can do that, but I'd like it to happen automatically.
I wish we had cron or some way to schedule SH scripts on this thing.
As it is for now, I put a shell script in my root directory on the SD card that rsyncs everything with a folder on my desktop PC.
So, whenever I mount the phone, I'll just run the script and it'll get synced.
Click to expand...
Click to collapse
Doesnt Gscript allow u o schedule scripts?
pentace said:
Doesnt Gscript allow u o schedule scripts?
Click to expand...
Click to collapse
Hm, I don't know. I saw where it lets you RUN scripts, but I don't recall seeing a 'schedule' option.
Maybe that's in the full version, I'll check.
It would be awesome to tar/gzip a directory on the SD card and then just upload it to an FTP server, but I don't know if there's a secure ftp application in the Android console.
*edit*
Looks like busybox does support SCP, tar, gzip in a console.
I am writing up a script to tar/gzip a folder and then upload it to an IP address on my internal ftp server
Sadly, gscript does not appear to be capable of scheduling a job to run at a specific time.
Still, it's a step in the right direction.
Ideally, I'll have the following features:
Blacklist of folders to not sync.
Verify Wifi connectivity. (Don't want to eat up my monthly bandwidth!)
Establish VPN connection to home if not on home network.
Tar/gzip file
SCP to home server
Most of this is relatively straightforward...
BUT HOW TO SCHEDULE???
*/edit*
General all-around fail so far.
tar czvf daily.tar.gz DCIM Books works fine. Archives and zips my images and ebook library, not speedy but not too slow.
The SCP command is all fail though.
scp -i /root/key1 [email protected] /sdcard/daily.tar.gz
/bin/cp: No such file or directory
cp is in /data/expstick/xbin/bb/

[Q] NOOKcolor to display books in other languages?

Anybody tested books in other languages for the NOOKcolor?
I loaded some Chinese books on the nook, the titled displayed fine but all the text when reading were in the question mark symbols "?".
I also tried loading by different formats and conversions but still nothing.
I don't have a nook to play with but here's my idea.
The Nook app uses fonts that only support a subset of Unicode for displaying the content. The reason the titles are displayed correctly is probably because for titles a different font is used.
I guess to fix this globally one would have to either hack the app so one can choose more fonts than it displays in the settings, or choose the ugliest of them and on a rooted Nook go look for the fonts on the device and rename one of the droid.ttf fonts to <that font's name>.ttf -> reboot, test, ... don't forget to make backups.
Here is how I modified the system font to support non-english language.
1. Fully root your phone and install su and SuperUser application as per this thread
http://forum.xda-developers.com/showthread.php?t=857636
2. Copy your font files to media folder or anywhere that you can access while you use NC as storage through computer. I actually have created folder "fonts" which is "/media/fonts" from the shell.
3. Unmount NC from your computer.
4. Using Root Explorer and switch to R/W mode
5. Still in Root Explorer, copy font files from step2 to replace fonts in /system/fonts
6. Reboot
After I have done the steps above, now I'm using my NC to read Facebook Feeds in Foreign language.
Which fonts where present in /system/fonts before you added yours?
Which fonts did you edit?
I got in, copied some fonts, but still didn't display properly. Is there a special font pack for android?
I might have copied the wrong fonts and now I can't delete those really big font files. How can I delete it?
I load some Chinese PDF format ebook (I used to have a sony ebook reader), and it works perfect. However, it doesn't do any bookmark, so everytime when I open the pdf, it starts in begining.
pudd said:
I load some Chinese PDF format ebook (I used to have a sony ebook reader), and it works perfect. However, it doesn't do any bookmark, so everytime when I open the pdf, it starts in begining.
Click to expand...
Click to collapse
Yeah the pdf loaded fine for me as well, however, its still hard to read for me and I needed to be able to load it on the nook color by text so I can customize the text size.
nk414 said:
Yeah the pdf loaded fine for me as well, however, its still hard to read for me and I needed to be able to load it on the nook color by text so I can customize the text size.
Click to expand...
Click to collapse
I used www.inien.com to do the conversion. so far so good.
The browser does unicode - I read on.cc from time to time on it just fine. ssongpol might be right, it might just be that particular font you used. Converting PDF to epub would also give you a lot more reading options as well.
ssongpol said:
Here is how I modified the system font to support non-english language.
1. Fully root your phone and install su and SuperUser application as per this thread
http://forum.xda-developers.com/showthread.php?t=857636
2. Copy your font files to media folder or anywhere that you can access while you use NC as storage through computer. I actually have created folder "fonts" which is "/media/fonts" from the shell.
3. Unmount NC from your computer.
4. Using Root Explorer and switch to R/W mode
5. Still in Root Explorer, copy font files from step2 to replace fonts in /system/fonts
6. Reboot
After I have done the steps above, now I'm using my NC to read Facebook Feeds in Foreign language.
Click to expand...
Click to collapse
Followed these instructions.
Copied the following fonts from my windows 7 into /system/fonts
simhei.ttf
simsun.ttc
uming.ttc
I'm now able to read chinese under the Kindle app.
Calibre was used for conversion
bagajai said:
Followed these instructions.
Copied the following fonts from my windows 7 into /system/fonts
simhei.ttf
simsun.ttc
uming.ttc
I'm now able to read chinese under the Kindle app.
Calibre was used for conversion
Click to expand...
Click to collapse
Are you able to read chinese under stock B&N reader?

Accessing apk files

Thank you in advance, this is a great community.
I am running cognition 3.04 and making my first attempt at transparent widgets. However, I am uncertain if I am properly set up to access and reinstall apk files. I can find them on my phone using the file explorer in Andriod Mate. However, it appears that when I plug my phone into the usb or use any other file exploring software, the base directory is /mnt/sdcard/ . I feel that I am missing a critical component of this process, as I do not have ready access to the files I need to alter and eventually replace.
Thank you again,
Dez
Dezdemona said:
Thank you in advance, this is a great community.
I am running cognition 3.04 and making my first attempt at transparent widgets. However, I am uncertain if I am properly set up to access and reinstall apk files. I can find them on my phone using the file explorer in Andriod Mate. However, it appears that when I plug my phone into the usb or use any other file exploring software, the base directory is /mnt/sdcard/ . I feel that I am missing a critical component of this process, as I do not have ready access to the files I need to alter and eventually replace.
Thank you again,
Dez
Click to expand...
Click to collapse
You would need to copy them from ur /system/app folder to some folder on ur sdcard to see them on computer.
Below is the file system layout.
/ (root)
/system
/system/app
/...
/...
/...
/sdcard
/sdcard/...
/sdcard/...
/sdcard/...
/sdcard/external_sd
/sdcard/external_sd/...
/sdcard/external_sd/...
/sdcard/external_sd/...
When u connect to computer, it mounts only the internal and external sd cards. It does not mount the system areas like system, data, etc.

Block OTA (Beginners guide?)

adb shell, sqllite, build prop...Any other non-tech major people around here a little lost?
I'm rooted. I don't want the new update. I can follow directions but would be more comfortable if some basic instruction were written. Treat me like I'm 10.
It looks like the best way to do this is as follows:
"From this thread:
http://forum.xda-developers.com/showthread.php?t=874871
Attached is a working sqlite3 binary.
Copy it to /system/bin
(I transfered it to my SD, then used rootexplorer (mount R/W) to copy into /system/bin))
you will now be able to edit sqlite databases on the nook itself.
--------------------------------------------------------------------------------
Attached Files sqlite3.7z (11.9 KB, 56 views)
--------------------------------------------------------------------------------
In your terminal:
$ adb pull /data/data/com.bn.devicemanager/databases/devicemanager.db devicemanager.db
$ sqlite3 devicemanager.db
sqlite> update registry set value='manual' where name='com.bn.device.fota.mode';
sqlite> .q
$ adb push devicemanager.db /data/data/com.bn.devicemanager/databases/devicemanager.db
$ adb reboot
"
Do I unzip the attached binary and paste that into the location or the .zip as a whole? What do I use as a terminal?
I've been flashing my DROID since day one but the NC development circle has been far from entry level user-friendly. Any help would be appreciated.
you can do it on windows too.
1) pull/get/copy the.db file from your phone to your pc
2) update the database file using sqlitebrowser. I.e run the sql command "update ......". Close sqlitebrowser.
3)push/put/copy the updated .db file to the same location overwriting the original.
britoso said:
you can do it on windows too.
1) pull/get/copy the.db file from your phone to your pc
2) update the database file using sqlitebrowser. I.e run the sql command "update ......". Close sqlitebrowser.
3)push/put/copy the updated .db file to the same location overwriting the original.
Click to expand...
Click to collapse
Progress. However...
I got SQLite on my PC. I found the devicemanager file on my NC, pasted it to my SD card for transfer over to my PC for editing. I trasnferred the file over to my PC for editing. I open SQLite but have no idea how to use it.
I just did this today using sqlite editor only!!! Its a GUI so it real simple to use.
1.Install the apk
2.reboot
3.go to extras and launch sqlite editor
4.allow it, give it the permision it needs
5.look for DeviceManagerService
6.click on devicemanager.db
7.click on registry
8.look for _id 7, name>>>> "com.bn.device.fota.mode"
9.scroll to the right and click and hold value field "auto", until a little pop up shows and select edit field
10. Change the value from auto to manual
11. Save
Done!!!
If you need the apk here is a link I just made
?d=LTSQDZ65 for megaupload (sure u guys can piece it together!)
Let me know if it helped anyone!
Yes, we totally need another thread on this. I must note that pushing the build.prop in my thread and my two Nook Colors have not updated. Dunno about this method or others. Caveat emptor!
This is exactly what I was looking for. Thank you. Very simple.
Sent from my NC using XDA App
Thanks for breaking it down for us, nookme.
Do we need to do this if we are operating from an SD bootable Froyo or CM7 ROM?
tablo said:
Thanks for breaking it down for us, nookme.
Do we need to do this if we are operating from an SD bootable Froyo or CM7 ROM?
Click to expand...
Click to collapse
In theory it should work for both, whether its a soft root mod or simply a bootable sd card that emulates froyo... It's a matter of just having root access and changing a registry setting on the device itself. Hope this shines some light! happy rooting ppl
Not noobie enough for me, sigh
So, if I have followed these directions from an earlier post have I messed something up? Not blocked updates at all? I don't understand the directions in this thread. What happens if I don't block the update? There must be a lot of people like me who had the technical skills to manage the root process but don't understand all of your coded instructions. I read in another thread that I should do a Titanium backup. How does that help after an update? Will market aps that have already been downloaded still work? Will everything revert to stock? Could someone explain what we should expect? Thanks!
To disable OTA (over the air) updates:
Change the name of this file: otacerts.zip to anything else
To do this, get root explorer ($3) from the market
Run root explorer
Go to etc/security/otacerts.zip
Hit the little mount button near the top to change r/w to r/o
Rename the file otacerts.zip to otacerts.zip_DISABLED_OTA_UPDATES
Hit the little mount button again to change r/o back to r/w
Droiddict said:
So, if I have followed these directions from an earlier post have I messed something up? Not blocked updates at all? I don't understand the directions in this thread. What happens if I don't block the update? There must be a lot of people like me who had the technical skills to manage the root process but don't understand all of your coded instructions. I read in another thread that I should do a Titanium backup. How does that help after an update? Will market aps that have already been downloaded still work? Will everything revert to stock? Could someone explain what we should expect? Thanks!
To disable OTA (over the air) updates:
Change the name of this file: otacerts.zip to anything else
To do this, get root explorer ($3) from the market
Run root explorer
Go to etc/security/otacerts.zip
Hit the little mount button near the top to change r/w to r/o
Rename the file otacerts.zip to otacerts.zip_DISABLED_OTA_UPDATES
Hit the little mount button again to change r/o back to r/w
Click to expand...
Click to collapse
If you read this >> http://forum.xda-developers.com/showthread.php?t=1007551
you will see that the sqlite method is used by many and is the simplest way too, again this is a GUI, so no shell command line... How can this be difficult??
Just follow my steps... it works
I have had nothing but problems with my rooted NOOK Color due to B&N auto updates. I followed your instructions and now I hope my problems are resolved and my NOOK Color will never update again.
Thank you

Nook Touch friendly Better Keyboard skin

I hope this is the right place to post this. I installed Better Keyboard 8 on my rooted Nook Touch. It works great, but the skins all leave something to be desired on E-Ink. What I'm looking for is a simple skin with white keys and black text. I know Better Android (the developer for BK8) had exactly what I'm looking for free on the market, but I guess they got kicked off the market at some point (glad I had backup .apks!) and I can't seem to find what I'm looking for. Googling around usually just brings up broken links for the Better Android one.
Can anyone help me out? Maybe there's a skin that fits my description, some way I can edit a skin to get what I want. I believe SwiftKey's skins work on BK8 as well.
Here's essentially what I'm looking for. I apparently can't post links yet due to posts so you'll have to copy/paste.
fs03.androidpit.info/ass/x89/495189-1274726992951-160x284.jpg
Any help would be greatly appreciated.
i use the GO Keyboard, that include the white theme, and that work great
chriscsh said:
i use the GO Keyboard, that include the white theme, and that work great
Click to expand...
Click to collapse
That theme does look great, indeed. I'm wondering if GO Keyboard will let one get around the keyboard "drop-off" problem that Google Voice/Talk has on the N2E (i.e., the last row of the keyboard simply drops off the screen rendering the apps useless). Anyone try them both together?
Short question, does prediction show up in GoKeyboard? Or in any even?
domi.nos said:
Short question, does prediction show up in GoKeyboard? Or in any even?
Click to expand...
Click to collapse
I don't believe any predictive keyboard routine works with the N2E.
We need to try out all the keyboards and find which works the best.
A key thing for me is do they have tab key completion for ssh, also what about alt, ctrl and f keys?
To try out a keyboard apk you need:
Code:
adb shell mount -o rw,remount -t ext2 /dev/block/mmcblk0p5 /system
adb push keyboard.apk /system/app/
adb shell chmod 644 /system/app/keyboard.apk
then NookColorTools to select one of the new keyboards
Anyone know how I can activate GoKeyboard on my N2E?
Follow the instruction above your post.
Or download the file you want, rename it to keyboard.apk.
Using root explorer, make a copy of keyboard.apk from /system/app. Put it somewhere safe (sd card or computer).
Get the downloaded keyboard.apk and put it in the same directory as above (first, press the r/w button on top of the screen when on /system/app).
change properties to 644 (read/write for user, all others only read) using properties of file.
Reboot (not sure about this part, but it never hurts).
PROFIT!
apeine said:
Follow the instruction above your post.
Or download the file you want, rename it to keyboard.apk.
Using root explorer, make a copy of keyboard.apk from /system/app. Put it somewhere safe (sd card or computer).
Get the downloaded keyboard.apk and put it in the same directory as above (first, press the r/w button on top of the screen when on /system/app).
change properties to 644 (read/write for user, all others only read) using properties of file.
Reboot (not sure about this part, but it never hurts).
PROFIT!
Click to expand...
Click to collapse
actually no need to rename the apk
install the gokeyboard from market
move the gokeyboard.apk from /data/app to the system/app (i use ES file explorer cause this is FREE ),
restart your device
open NookColour Tools, choose keyboard

Categories

Resources