View Single Post
Old 09-24-2012, 08:22 AM   #40
silver18
THE NOOB
silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.
 
silver18's Avatar
 
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
Quote:
Originally Posted by baf View Post
On 5.1.2 I have file /etc/prettyversion.txt
Quote:
Originally Posted by ixtab View Post
It's a combination of /etc/version and /etc/prettyversion.txt...

[root@kindle root]# cat /etc/version.txt /etc/prettyversion.txt
System Software Version: 004-juno_2_0_1_yoshi-167953
Tue Jul 17 17:00:45 PDT 2012
Kindle 5.1.2 (~~otaVersion~~)

More detail:
Spoiler:

This is straight from some (now dead) JBPatch code documentation:

/* The Amazon logic to determine the version seems to use the native
* libraries liblab126utilsjni and liblab126utils, to determine the
* "revision" of the Kindle from /etc/version.txt. Without having
* thoroughly decompiled everything, the device info
* "Kindle 5.1.0 (1557760049)" seems to stem from /etc/prettyversion.txt
* (for the first part), and the first line of /etc/version.txt:
* In this case it was:
* System Software Version: 049-juno_2_yoshi-155776
* So the "end" (155776), concatenated with the "beginning" (049), and
* some filler zeroes in between. */

Thanks to both of you!!
It seems I didn't search so well...
silver18 is offline   Reply With Quote