Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 11-29-2017, 07:55 PM   #91
fllc
has been
fllc ought to be getting tired of karma fortunes by now.fllc ought to be getting tired of karma fortunes by now.fllc ought to be getting tired of karma fortunes by now.fllc ought to be getting tired of karma fortunes by now.fllc ought to be getting tired of karma fortunes by now.fllc ought to be getting tired of karma fortunes by now.fllc ought to be getting tired of karma fortunes by now.fllc ought to be getting tired of karma fortunes by now.fllc ought to be getting tired of karma fortunes by now.fllc ought to be getting tired of karma fortunes by now.fllc ought to be getting tired of karma fortunes by now.
 
Posts: 55
Karma: 765322
Join Date: Feb 2015
Device: k2, k4nt, touch, PW2, koa2, pw4, Nook GLP 7.8
Quote:
Originally Posted by knc1 View Post
When the Kindle boots, there are two splash screens shown.
The first is the "Please wait while your Kindle starts up..."
The second one is the one with the restart progress bar.

When run by the automation, the bridge messages use the screen between when the two splash screens are shown.

I does not stay on long enough to study the messages, but the screen being cleared and the messages bars appearing are a clear indication that the bridge code ran.

Which I consider is alright, people would complain if we slowed the start-up too much.
It currently uses about 2 seconds on the (very) slow original Kindle Touch.

What I could do is keep track if there is anything found that the user should know about -
If such a situation occurs, then I could trigger a sleep for long enough to read the messages.
Otherwise, the screen flash with a rapidly written set of lines and then continuing with the boot-up should be enough feedback.

Who wants to read a bunch of messages that say everything is alright?
(Or do as radamo did, take a video of the Kindle as it starts up with your camera or phone.)
If it does not stop long enough to read them, then nothing is wrong.

I have a feeling that it will be hard to satisfy everyone on this matter.

I will take suggestions on this subject in this thread.
How about just putting all messages (good and bad) into /mnt/us/bridgeoutput.txt?
This way anybody can look at them later.
fllc is offline   Reply With Quote
Old 11-29-2017, 07:58 PM   #92
Cinisajoy
Just a Yellow Smiley.
Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.
 
Cinisajoy's Avatar
 
Posts: 19,161
Karma: 83862859
Join Date: Jul 2015
Location: Texas
Device: K4, K5, fire, kobo, galaxy
Quote:
Originally Posted by fllc View Post
How about just putting all messages (good and bad) into /mnt/us/bridgeoutput.txt?
This way anybody can look at them later.
Plagiarism.
Cinisajoy is offline   Reply With Quote
Old 11-29-2017, 08:01 PM   #93
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by fllc View Post
How about just putting all messages (good and bad) into /mnt/us/bridgeoutput.txt?
This way anybody can look at them later.
/mnt/us is not available at that point in the start-up sequence.
The FUSE file system layer has not been started.
knc1 is offline   Reply With Quote
Old 11-29-2017, 09:24 PM   #94
radamo
Addict
radamo can program the VCR without an owner's manual.radamo can program the VCR without an owner's manual.radamo can program the VCR without an owner's manual.radamo can program the VCR without an owner's manual.radamo can program the VCR without an owner's manual.radamo can program the VCR without an owner's manual.radamo can program the VCR without an owner's manual.radamo can program the VCR without an owner's manual.radamo can program the VCR without an owner's manual.radamo can program the VCR without an owner's manual.radamo can program the VCR without an owner's manual.
 
Posts: 331
Karma: 175766
Join Date: Mar 2009
Location: Long Island, NY
Device: Oasis 9th Gen
Quote:
Originally Posted by knc1 View Post
...
What I could do is keep track if there is anything found that the user should know about -
If such a situation occurs, then I could trigger a sleep for long enough to read the messages..
This gives a solid way to alert when something is amiss. Or create a log of errors. Either would be a great addition.
radamo is offline   Reply With Quote
Old 11-29-2017, 10:56 PM   #95
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Now that you mention it, that's probably one of the reasons I went with a very short, one-line only feedback in the original bridge: between the eink driver bundling or throttling updates, and the boot process triggering some (or not) depending on the device and/or FW versions and/or ambient temperature, just a flash and a glimpse that something happened ended up being good enough .

eips -h *may* also exhibit some extra-weird behavior on that front, but I may be confusing things, or remembering its behavior on very old devices.
NiLuJe is offline   Reply With Quote
Old 11-30-2017, 12:47 AM   #96
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by NiLuJe View Post
Now that you mention it, that's probably one of the reasons I went with a very short, one-line only feedback in the original bridge: between the eink driver bundling or throttling updates, and the boot process triggering some (or not) depending on the device and/or FW versions and/or ambient temperature, just a flash and a glimpse that something happened ended up being good enough .

eips -h *may* also exhibit some extra-weird behavior on that front, but I may be confusing things, or remembering its behavior on very old devices.
They never changed the embedded font size in eips -
Figure the onscreen size of a 16x24 cell at 300dpi.
It is like reading the engraving on the head of a pen.

It actually looks decent on a KT.
well, at least as decent a bit map font ever looked.
IIRC, it was a big thing when PC's went to that high res, 16x24 font.
knc1 is offline   Reply With Quote
Old 11-30-2017, 10:42 AM   #97
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@knc1: Yeah, and, ironically enough, it was different on a K5 (12x20 on the 600x800 screens).
NiLuJe is offline   Reply With Quote
Old 11-30-2017, 12:10 PM   #98
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by NiLuJe View Post
@knc1: Yeah, and, ironically enough, it was different on a K5 (12x20 on the 600x800 screens).
In a 600 line script, it only takes 100 lines to setup the *$%#% message printer.
Oh well, its done now.
If I don't have any more 'improvement' ideas, I might finish this before I die of old age.

Actually, today's effort is to cut it up into a bunch of re-usage (include) functions.
Mostly to make the job of the package author easier to write a "bridge helper" script for their package.

Of course, I will write the first few "bridge helpers" that can server as worked examples.
Kindlet JB, Kindlet keys, RP and CRP - things that are gone on some mode/firmware combinations.
Such changes will become just a drop helper script into bridge directory or remove the helper script;
not re-write this main bridge script.

(Translation: Once working, I don't ever want to see this script again.)

Last edited by knc1; 11-30-2017 at 12:23 PM.
knc1 is offline   Reply With Quote
Old 12-01-2017, 09:55 AM   #99
otanim
Enthusiast
otanim has a spectacular aura aboutotanim has a spectacular aura aboutotanim has a spectacular aura aboutotanim has a spectacular aura aboutotanim has a spectacular aura aboutotanim has a spectacular aura aboutotanim has a spectacular aura aboutotanim has a spectacular aura aboutotanim has a spectacular aura aboutotanim has a spectacular aura aboutotanim has a spectacular aura about
 
Posts: 26
Karma: 4106
Join Date: Nov 2017
Location: Yerevan, Armenia
Device: KOA, KOA2
knc1, I'm curious, is there any possible way to help you and make a contribution on JB?
otanim is offline   Reply With Quote
Old 12-01-2017, 10:47 AM   #100
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by otanim View Post
knc1, I'm curious, is there any possible way to help you and make a contribution on JB?
Thanks, but not right at this moment.
Once I get this re-write finished ...
1) We can release the jail break
2) Start working on the other packages that need to be modified.
For the ones where the author has disappeared, we will need people who are interested to step up and help.

What I am working on is the part that auto re-installs the jailbreak after an Amazon update.
So it is important to have that working before the general public starts jail breaking their devices.

It is only a matter of age that is taking so long, the mind isn't as active as when I was half this age.
knc1 is offline   Reply With Quote
Old 12-02-2017, 05:04 AM   #101
kdusr
Connoisseur
kdusr began at the beginning.
 
kdusr's Avatar
 
Posts: 77
Karma: 13
Join Date: Oct 2016
Location: Mars
Device: KOA, KV, KOA2,PW4,PW5
HI Knc1, why I can not download koa2 Device Jail Break file, it is showing as follow after click download button, what is the pasword?
---------------------------------------------------------------------------------------
"The file is password protected!
To download this file please enter the password in the field below."
kdusr is offline   Reply With Quote
Old 12-02-2017, 07:13 AM   #102
kdusr
Connoisseur
kdusr began at the beginning.
 
kdusr's Avatar
 
Posts: 77
Karma: 13
Join Date: Oct 2016
Location: Mars
Device: KOA, KV, KOA2,PW4,PW5
Hi Knc1,
short question, as you mentioned, to Prevent OTA Update:

-------------------------------------
"In the topmost visible level of USB storage, add the OTA blocking directory name.
The blocking directory name is:
update.bin.tmp.partial"
------------------------------------

create a file or folder named like "update.bin.tmp.partial"?
and can I use this way to prevent OTA for KPW and KV?

thanks!

PS : during register KOA2, it was already starting to download OTA file, after registered, I imminently turn off wifi, but I found a file named "update.bin.tmp.partial" In the topmost visible level of USB storage, size is 60mb, then checked official OTA file size, it is 261mb, obviously the downloading process was not finished, then I delete the file and created a folder named "update.bin.tmp.partial"

Last edited by kdusr; 12-02-2017 at 07:25 AM.
kdusr is offline   Reply With Quote
Old 12-02-2017, 08:59 AM   #103
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
It MUST be a folder name.

As far as we know, this OTA blocking directory will work on all known model/firmware combinations.
So the answer for other models is: Yes

You did well to keep an eye on what the device was doing and stopping its download.

PM sent in answer to your other questions.
knc1 is offline   Reply With Quote
Old 12-02-2017, 09:07 AM   #104
kdusr
Connoisseur
kdusr began at the beginning.
 
kdusr's Avatar
 
Posts: 77
Karma: 13
Join Date: Oct 2016
Location: Mars
Device: KOA, KV, KOA2,PW4,PW5
thanks for your answer

create an "update.bin.tmp.partial" folder to Prevent OTA Update,
does this way cause cpu busy?
-------------------
1. wifi connected
2. check fireframe version, if it is not the newest,
3. download OTA file
4. create "update.bin.tmp.partial" faile
5. goto step 3 or 4

how frequency is kindle to do this?
kdusr is offline   Reply With Quote
Old 12-02-2017, 09:17 AM   #105
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by kdusr View Post
thanks for your answer

create an "update.bin.tmp.partial" folder to Prevent OTA Update,
does this way cause cpu busy?
-------------------
1. wifi connected
2. check fireframe version, if it is not the newest,
3. download OTA file
4. create "update.bin.tmp.partial" faile
5. goto step 3 or 4

how frequency is kindle to do this?
It should not impact the cpu usage.
It is an event driven system and the execution path to fail is quite fast.
It will post a re-try event, and the time delay has varied with the firmware version. I can't say what it is with the version you have on it from the factory.
It might be fairly aggressive, since Amazon/Lab126 knows the original firmware version can be jail broken and they do not want that to happen.
I have seen in some versions they will re-try every half an hour.

It should not effect the performance or time between battery re-charges.
Still, put it in airplane mode before letting it go to sleep.
There is no reason to let it connect while you are not using it.
And it will wake up and try to call home even when showing the "idle" screensaver. This is specially true on the Special Offers devices.
Yeah, like having an hour old advertisement on the device would hurt their sales.
knc1 is offline   Reply With Quote
Reply

Tags
jailbreak, koa2

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KOA2 KOA2 jail break research knc1 Kindle Developer's Corner 29 04-28-2018 09:48 AM
Is there a jail break for 5.7.2.1? jjokocha Kindle Developer's Corner 13 03-16-2016 02:50 AM
Kindle dxg jail break aksha Kindle Developer's Corner 1 07-19-2015 11:14 PM
Can Jail Break be completel removed? raym777 Kindle Developer's Corner 6 12-19-2014 03:56 AM
Why Jail Break? daffy4u Apple Devices 46 09-18-2009 11:24 AM


All times are GMT -4. The time now is 12:30 AM.


MobileRead.com is a privately owned, operated and funded community.