View Single Post
Old 09-24-2012, 08:03 AM   #37
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by silver18 View Post
Do you know where is stored the firmware's version?
I searched it some times ago but I couldn't find anything!
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. */

ixtab is offline   Reply With Quote