11-09-2011, 09:10 AM | #1 |
Junior Member
Posts: 6
Karma: 10
Join Date: Nov 2011
Device: none
|
Kindle 3 as Morning Alarm and other things! ( crontab utility does)
I have a kindle 3, now it can play a sound at morning, so I say kindle is used as an alarm. Yes, I use the crontab. Maybe you can use it to do other useful and interesting things.
Steps: 1. jailbreak. thanks NiLuJe and others Font and Screensaver Hacks - The current jailbreak and USBNetworking hacks are also included here https://www.mobileread.com/forums/showthread.php?t=88004 2. Kindle SSH over WIFI instructions. thanks badbob001 https://www.mobileread.com/forums/sho...85&postcount=8 3. mplayer install to /mnt/us/system/mplayer ; then copy a sound file (ex. miaoyin.mp3) to /mnt/us/music/miaoyin.mp3 mplayer can get at https://www.mobileread.com/forums/showthread.php?t=147854&highlight=mplayer thanks for sharing 4. Now suppose you get the root shell. the key is to change the crontab file: /etc/crontab/root, pls see below Code:
################################################# # N O T I C E * N O T I C E * N O T I C E # ################################################# Rootfs is mounted read-only. Invoke mntroot rw to switch back to a writable rootfs. ################################################# [root@kindle root]# mntroot rw system: I mntroot:def:Making root filesystem writeable [root@kindle root]# chmod +w /etc/crontab/root [root@kindle root]# vi /etc/crontab/root ### use vi to edit the file , to add a line [root@kindle root]# cat /etc/crontab/root */15 * * * * /usr/sbin/checkpmond */15 * * * * /usr/sbin/tinyrot */60 * * * * /usr/sbin/loginfo tmpfs */60 * * * * /usr/sbin/loginfo localVars */60 * * * * /usr/sbin/loginfo memusedump */15 * * * * /usr/sbin/loginfo powerdcheck 8 6 * * 1-5 /mnt/us/system/mplayer /mnt/us/music/108.mp3 [root@kindle root]# /etc/init.d/cron restart system: I cron:def:stopping crond start-stop-daemon: lseek: Invalid argument system: I cron:def:starting crond [root@kindle root]# mntroot ro system: I mntroot:def:Making root filesystem read-only [root@kindle root]# 6. Done. I know little about shell, maybe you can do more for yourself. WARNING: DO THIS ON YOU OWN RISK. Good luck :) crontab can do more fun things? please post it! |
11-09-2011, 09:26 AM | #2 |
Wizard
Posts: 2,360
Karma: 9026681
Join Date: Jun 2011
Location: Colorado
Device: Kindle Paperwhite 2nd Gen
|
I'll stick with using my iPhone as my morning alarm and not risk bricking my Kindle.
|
11-09-2011, 09:40 AM | #3 |
how YOU doin?
Posts: 1,100
Karma: 7371047
Join Date: Feb 2009
Location: India
Device: Kindle Keyboard, iPad Pro 10.5”, Kobo Aura H2O, Kobo Libra 2
|
I've been known to swat my phone away while half-asleep, so I think I'll play it safe by sparing my Kindle
It's an interesting idea and appreciable effort, though |
11-10-2011, 01:53 AM | #4 |
Enthusiast
Posts: 32
Karma: 8228
Join Date: Nov 2010
Device: PaperWhite
|
The only use I'd have for an alarm is to keep from reading too long. Will this run in the background with an easily adjustable alarm time?
|
11-10-2011, 06:45 AM | #5 |
Junior Member
Posts: 6
Karma: 10
Join Date: Nov 2011
Device: none
|
Sorry, i tested today but it donot work well
when kindle is on(you are reading and no screensaver) it's ok but when kindle sleep, it doesn't work. so anyone help? |
11-10-2011, 03:50 PM | #6 | |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
11-11-2011, 02:22 AM | #7 |
Junior Member
Posts: 6
Karma: 10
Join Date: Nov 2011
Device: none
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
alarm clock on the kindle ? | lrizzo | Kindle Developer's Corner | 13 | 03-21-2013 09:10 AM |
Embedding user name/password for crontab | awitko | Recipes | 5 | 12-05-2011 05:21 AM |
Kindle ebooks price alarm? | oecherprinte | Amazon Kindle | 14 | 06-02-2011 02:13 AM |
586x720 Won't work on Kindle DTP Upload Utility | gcoleman | Amazon Kindle | 3 | 12-01-2010 03:41 PM |
iPad Alarm | Lotus Esprit | Apple Devices | 0 | 06-14-2010 07:33 AM |