04-02-2017, 01:50 PM | #1 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Search bar shortcuts.
This list is an update of the information found in the Kindle Hacking section of the wiki. Information current as of 5.8.8
Code:
";dm" : "/usr/bin/dm.sh", ";dh" : "/usr/bin/dh.sh", ";dt" : "/usr/bin/dt.sh", ";shpm" : "/usr/sbin/shipping_mode", ";lzzl" : "/usr/sbin/shipping_mode", ";urst" : "/usr/sbin/userstore_reset", ";debugOn" : "/usr/bin/debugOn.sh", ";debugOff" : "/usr/bin/debugOff.sh", ";311" : "/usr/bin/311.sh", ";411" : "/usr/bin/411.sh", ";611" : "/usr/bin/611.sh", ";711" : "/usr/bin/711.sh", ";setTime" : "/usr/bin/dateTime.sh", ";st" : "/usr/bin/dateTime.sh", "~ds" : "/usr/bin/ds.sh", ";updateCamp" : "/usr/bin/updateCamp.sh", ";csc" : "/usr/bin/clearStoreCache.sh", ";uzb" : "/usr/bin/enableUSBInDemo.sh", ";duzb" : "/usr/bin/disableUSBInDemo.sh", ";dsts" : "/usr/bin/startSettingsInDemo.sh", ";enter_demo" : "/usr/bin/createDemoModeFlagFile.sh", ";exit_demo" : "/usr/bin/deleteDemoModeFlagFile.sh", ";demo" : "/usr/bin/demoConfig.sh", ";vfd" : "/usr/bin/verifyDemo.sh", ";wwreset" : "/usr/bin/wwReset.sh", ";chkup" : "/usr/bin/checkUpdate.sh", ";wwresetoverride" : "/usr/bin/wwResetOverride.sh", ";wwresetknown" : "/usr/bin/wwResetKnown.sh", ";att" : "/usr/bin/play.sh" , ";astop" : "/usr/bin/stopPlay.sh", ";invertedPage" : "/usr/bin/pageTurnConfig.sh", ";jit" : "/usr/bin/resetTutorial.sh", ";bsalogOn" : "/usr/bin/bsaLogOn.sh", ";bsalogOff" : "/usr/bin/bsaLogOff.sh", And perhaps other requirements, I haven't fully tested that shortcut yet. Note ;chkup works, it will request a download if available next time you connect. (Handy for trying out OTA Blocking methods. Nice of Lab126 to give us a unit test for that. ) You most likely want to be jail broken, have USBnetworking and Rescue Pack installed before you try that one out. There does not seem to be any way to cancel the download request from the todo list. And ;urst does not fool around, try that one only if you want to kiss goodbye to everything you have on visible USB storage - it will repartition and reformat user storage. It might also repartition and reformat /var/local - I didn't try this one out myself either. Last edited by knc1; 04-02-2017 at 02:14 PM. |
04-03-2017, 12:14 PM | #2 |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
knc1,
We had a thread sometime back, where we discussed adding user defined short cuts to this list. For me, it worked on my PW1, but not on my PW3 & KT3. Will update again with full details. At that time, you had just got your KT3 and said you would try adding user defined short cuts to see if they worked. Just a reminder... ;-) |
Advert | |
|
04-03-2017, 04:46 PM | #3 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Then you will have them. There is a dispatcher on ;log now, you can find reference copies of the scripting in visible USB storage. That is not the copy that is executing, but it is an exact copy of what is running (it gets installed / auto-reinstalled from the copy in USB storage). There are some rough spots in the scripting when it comes to extending it, but consider that it was created in only a few hours . . . Yeah, it needs some help, but no one has tried to extend it and asked about what/how to fix it. As long as no one wants to use it, it remains a non-issue. |
|
04-06-2017, 12:39 AM | #4 | |
just an egg
Posts: 1,586
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
Is it safe to use ;chkup if you do want to update your Kindle but are too lazy to download the update and transfer it manually, and too impatient to wait for Amazon to push it to your Kindle automatically? |
|
04-06-2017, 08:02 AM | #5 | |
Grand Sorcerer
Posts: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
Quote:
|
|
Advert | |
|
04-06-2017, 08:09 AM | #6 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
My AP has blinking lights to indicate use and uses WAP2 to be certain I am the only one using it. So I feel I can trust the lights to indicate my KT3 (5.8.5). I am also using ;dm plus transferring over USB the four message logs produced (to where I have a larger screen). I have a couple of potential update blockers that I am testing. So far: *) Blockers in place. *) Put online *) KT3 tried (and failed) to do a silent OTA update. *) Wait a week (there is a time delay between schedule retries). *) Put online *) Nothing - logs show delay was checked but I didn't have it on-line long enough for it to get organized. *) Wait a few days *) Put online *) Nothing, not even had the delay checked *) Offline *) Enter: ;chkup *) logs confirmed an update check was scheduled with the todo handler *) Wait a few days *) Online *) Lights show more than usual activity *) Offline *) One of the OTA blockers being tested had been cleaned up (not all of them). *) Logs show that an update check had been made and a download started. And that the download had been interrupted by a Wifi disconnect (me). So that seems to indicate to me that in the case of a device that requires an update, the ;ckup is working as described in the scripting. Other cases not yet tested, but the scripting does seem to be written to safely handle other cases. Such as: ;ckup on a device with same or newer than posted by Amazon firmware. Various other failure path combinations. = = = = = I really don't want 5.8.8 on any of my devices, so testing this is not one of my top todo things. But sure, give it a try, keep good notes, keep the logs and let me know what happens as an end result. |
|
04-07-2017, 01:50 AM | #7 |
just an egg
Posts: 1,586
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
nevermind
Last edited by odamizu; 04-08-2017 at 07:40 PM. |
04-08-2017, 07:39 PM | #8 |
just an egg
Posts: 1,586
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
KV currently on 5.8.7.0.1. I turned on WiFi and entered ;chkup in search bar about 9 hours ago. I even plugged in to ac power. So far no update.
|
04-09-2017, 09:58 PM | #9 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
It is strange how updates hit some people minutes after being posted and other people can wait forever to not receive one.
|
04-09-2017, 10:05 PM | #10 |
just an egg
Posts: 1,586
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
Yes. Also, after all this time, if I do get an update, I won't know if it was because I used ;chkup or Amazon deciding to push it to my Kindle at that time.
|
04-10-2017, 10:15 AM | #11 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Not clear if we can make use of it for ourselves. I was gone the past three days, working on my computer system. Which still does not have all of its storage devices running properly. Once, if ever, I get all of the disk space that is physically attached to the computer working, I will have enough to look into the OTA controls in detail. geekmaster is currently going through a similar upheaval in his home computer setup. Needing to nearly rebuilding the entire setup. It is a good thing we can do the work ourselves, if we had to send them out to a repair shop . . . . |
|
04-10-2017, 01:38 PM | #12 |
just an egg
Posts: 1,586
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
FYI, I did the ;dm thing and it does show that ;chkup was triggered, but still no update.
|
12-17-2018, 05:14 PM | #13 |
Wizard
Posts: 1,060
Karma: 3000026
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
I am worried about ;urst
It looks so easy just to type that in the search bar and hit Enter to erase user partition! Do you guys think it is safe to link userstore_reset to a null device like this? Code:
ln -s -b /dev/null /usr/sbin/userstore_reset |
12-17-2018, 09:16 PM | #14 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
I do not think that ;urst is active in customer firmwares, only in the factory-use-only firmwares.
Now beware that I am writing this from memory, and my memory ... Yeah, that is why I don't answer very many questions any longer. |
12-17-2018, 09:42 PM | #15 |
Wizard
Posts: 1,060
Karma: 3000026
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
On my customer 5.9.6.1 I can still see it in /usr/sbin/userstore_reset and it is also listed in /usr/share/webkit-1.0/pillow/debug_cmds.json
By 'not active' do you mean that even if I trigger the script through search bar, it won't start? How do we check that? Last edited by mergen3107; 12-17-2018 at 09:46 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Regex in search problems (NOT Search&Replace; the search bar) | lairdb | Calibre | 3 | 03-15-2017 07:10 PM |
Shortcuts for search & replace clips | celiapgt | Sigil | 2 | 12-11-2016 11:45 PM |
exec in search bar ? | tommytomtom | Kindle Developer's Corner | 2 | 04-09-2014 01:10 PM |
Way to hide search bar? | derangedhermit | Calibre | 12 | 01-20-2013 03:46 PM |
9.4 portable search bar RED | theducks | Calibre | 2 | 10-26-2012 05:22 PM |