|
|
Thread Tools | Search this Thread |
08-29-2016, 08:45 AM | #1 |
Member
Posts: 19
Karma: 10
Join Date: Aug 2016
Device: Kindle 3
|
Kindle 3 WiFi - Disable Amazon Updates / Removal of MKK Developer Keys
I have a kindle 3 WiFi, running firmware 3.4.2.
I recently updated it to the latest firmware, jailbroke it, and installed a ton of mods (MKK, Launchpad, KUAL, USB networking, Backdoor Lock, MyTs terminal, GNU awk, Fonts & Screensaver hacks, and Liberator). Launchpad and KUAL were both working great until I rebooted with wifi enabled. Amazon seem to have removed the developer keystore in /var/local/java/keystore/developer.keystore that was installed with MKK, and now KUAL won't run. I can still run MyTs with Launchpad. This happened with the backdoor "locked" using the backdoor lock hack. I have had some success re-updating/installing MKK to get the developer keys back, but whatever Amazon is doing means it gets removed again on the next reboot if wifi is on. Moving the keys that are used to verify firmware updates (mv /etc/uks /etc/uks.disabled) has no effect either, so I guess it's some other process that removes the keys. A lot of people seem to be just keeping the wifi off to prevent things like this from happening. I could do that, but then the kindle would be a lot less useful - my eventual plan is to set up calibre on my server to scrape news sites, and write a script to download the news ebook from my server every day... which requires wifi to be on! I don't want to use a cable. Plus, I find this really annoying on principle - this is my device, not Amazon's. Any solutions? I don't mind something that breaks Amazon's other services (in fact I'd prefer that, I'd like to de-couple the device from Amazon as far as possible). I was thinking that if the device is downloading something from Amazon and running it or installing it, I might change the /etc/hosts file and resolve requests to the relevant hostnames to 0.0.0.0. Presumably the hostnames would be these ones: Code:
# grep http /opt/amazon/ebook/config/framework.fiona.conf BASE_WEBSITE_URL: http://www.amazon.com CERT_SERVER_URL : https://fras-g7g.amazon.com/FrasProxy/ REGISTER_SERVER_URL : https://firs-g7g.amazon.com/FirsProxy/ TODO_SERVER=https://todo-g7g.amazon.com/FionaTodoListProxy/ CDE_SERVER=https://cde-g7g.amazon.com/FionaCDEServiceEngine/ Any help you can give would be greatly appreciated! |
08-29-2016, 04:13 PM | #2 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Please use the forums correctly. Development questions belong in the development forum, to where I'm now moving it.
|
Advert | |
|
08-29-2016, 04:26 PM | #3 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
The BBB (Block Big Brother) firewall, a KUAL extension.
|
08-29-2016, 04:51 PM | #4 | |
Member
Posts: 19
Karma: 10
Join Date: Aug 2016
Device: Kindle 3
|
Thank you, I noticed that extension before but wasn't sure if it would still be current. Just installed it, turned the BBB filter on, turned the wifi off, and a "Test Kindle Installation Result" ebook appeared almost immediately.
Quote:
Is this something new in firmware 3.4.2? |
|
08-29-2016, 04:59 PM | #5 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Add:
WIFI_NO_NET_PROBE to the top level of visible USB storage. Then re-install MKK (the keys that got wiped). Note: Changing the device's registration status will also wipe the keys. = = = = I can't say, I don't run it myself. Dump all log files, archive them up and attach to your next post. Use the ;dm command in the main page's search bar box. Last edited by knc1; 08-29-2016 at 05:03 PM. |
Advert | |
|
08-29-2016, 05:14 PM | #6 |
Member
Posts: 19
Karma: 10
Join Date: Aug 2016
Device: Kindle 3
|
Just a file with that name?
Logs attached... thanks for your help EDIT: I forgot to add - the device is unregistered. I would prefer not to register it, I'm not going to buy anything from Amazon on it. |
08-29-2016, 05:20 PM | #7 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Does this set of logs cover the time period of the events you described?
It seems to be after activating the BBB filter: Code:
160829:210726 phd[21655]: E udp_tph:sendto_error:to = 23.23.189.57:33434, ret = -1 (of 136), errno = Operation not permitted (1): Where: Code:
NetRange: 23.20.0.0 - 23.23.255.255 CIDR: 23.20.0.0/14 NetName: AMAZON-EC2-USEAST-10 NetHandle: NET-23-20-0-0-1 Parent: NET23 (NET-23-0-0-0-0) NetType: Direct Allocation OriginAS: AS16509 Organization: Amazon.com, Inc. (AMAZO-4) RegDate: 2011-09-19 Updated: 2014-09-03 Comment: The activity you have detected originates from a dynamic hosting environment. Last edited by knc1; 08-29-2016 at 05:30 PM. |
08-29-2016, 05:57 PM | #8 |
Member
Posts: 19
Karma: 10
Join Date: Aug 2016
Device: Kindle 3
|
That's the complete log, not sure whether that message is from before our after the problem, because I don't know if the logs are in BST or not.
The time on the test kindle installation result is the right local time for the problem I had. |
08-29-2016, 06:10 PM | #9 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
That will give me a much better chance of confirming what is happening. |
|
08-29-2016, 06:39 PM | #10 | |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
So your Kindle presumably changed status from "registered" to "unregistered", which triggered the wiping of the developer keys. (Amazon doesn't want authorized developers to give someone else their test devices and then have that device still be able to install test Kindlets...) ... The BBB firewall should save you from that, since it prevents the Kindle from connecting to Amazon and syncing with their registration server. |
|
08-29-2016, 06:41 PM | #11 |
Member
Posts: 19
Karma: 10
Join Date: Aug 2016
Device: Kindle 3
|
Sure, I'll repeat tomorrow.
Does dumping the log to documents actually remove the data from the system log? If so I'll dump it before I start, then install MKK etc again and dump afterwards if I see the same behaviour. |
08-29-2016, 06:46 PM | #12 | |
Member
Posts: 19
Karma: 10
Join Date: Aug 2016
Device: Kindle 3
|
Quote:
I was using this device years ago and it was registered, but when I dug it out a few days ago I reset it to factory defaults, updated it to the latest FW manually, jailbroke it etc, all without registering. Haven't registered or deregistered it since. |
|
08-29-2016, 07:10 PM | #13 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Dumping the log does not clear the logs, although you can diff the before and after versions of the logs...
I kind of assumed if you had everything working without being registered, you must be using the reginfo hack, but maybe not... Some people do it because they have a lost or stolen device (in the latter case, we assume they only found out after buying it), and they want to use e.g. collections. Some people just want "privacy", whatever their personal beliefs about that are. |
08-29-2016, 07:31 PM | #14 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
|
|
08-30-2016, 03:21 AM | #15 |
Member
Posts: 19
Karma: 10
Join Date: Aug 2016
Device: Kindle 3
|
Sure, but it has been turned off and on many times since then, will it continue to do this for ever? Do kindles not work properly when they're not registered?
If you bought a new one from a brick and mortar store instead of online, it wouldn't be registered... would it do the same thing as mine is doing now? |
Tags |
amazon update, backdoor lock, keystore removed, mkk |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Does Amazon Send Updates Via WiFi? | jangell2 | Amazon Kindle | 12 | 06-04-2014 11:39 AM |
[Kindle Touch] Disable OTA updates [How To] | matejs | Kindle Developer's Corner | 21 | 02-24-2014 08:25 PM |
Kindle 3 wifi keeps deleting Developer Keystore every time wifi is turned on. | fireether | Kindle Developer's Corner | 4 | 04-18-2013 12:56 PM |
AndroidCentral: Amazon updates Appstore Developer Portal FAQ for Kindle Fire | kjk | News | 22 | 10-12-2011 09:12 PM |
Amazon Kindle and DRM Removal... | JerryinOCMD | Amazon Kindle | 49 | 03-06-2011 10:11 AM |