Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 12-17-2018, 10:45 PM   #16
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 mergen3107 View Post
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?
I don't read where you ever replaced the factory 5.9.6.1 with a customer 5.9.6.1 after installing the JB.

I meant that the script was not present.
But as I mentioned, I was going by memory only and could easily be wrong.

Last edited by knc1; 12-17-2018 at 10:49 PM.
knc1 is offline   Reply With Quote
Old 12-17-2018, 11:23 PM   #17
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,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
There may be a guard (usually a simple check for a specific flag file somewhere in the rootfs) that prevents it from running on production FW if the script lives someplace that doesn't get wiped .

(That's a generic comment, I haven't checked this script in particular).
NiLuJe is offline   Reply With Quote
Advert
Old 12-18-2018, 01:06 AM   #18
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
There may be a guard (usually a simple check for a specific flag file somewhere in the rootfs) that prevents it from running on production FW if the script lives someplace that doesn't get wiped .

(That's a generic comment, I haven't checked this script in particular).
OK, so I have now checked.
For our new(er) readers, how to do that (whitespace added):
Code:
mszick@HP8300:~/Downloads/pw3$ ls
update_kindle_all_new_paperwhite_5.9.6.1.bin

mszick@HP8300:~/Downloads/pw3$ kindletool convert --keep update_kindle_all_new_paperwhite_5.9.6.1.bin

Converting update package 'update_kindle_all_new_paperwhite_5.9.6.1.bin' to 'update_kindle_all_new_paperwhite_5.9.6.1_converted.tar.gz' (without sig, keep input).
Bundle         SP01 (Signing Envelope)
Cert number    2
Cert file      pubprodkey02.pem (Official 2K)
Bundle         FB03 (Fullbin [OTA?, fwo?])
Bundle Type    Recovery V2
Target OTA     3314460001
MD5 Hash       54c00a44f0a2c635fcc89dbfed6838bc
Magic 1        2048630901
Magic 2        1897089723
Minor          1
Platform       Wario
Header Rev     0
Board          Unspecified
Devices        14
Device         White Kindle PaperWhite 3 (2016) WiFi (32GB) Japan
Device         Kindle PaperWhite 3 (2016) WiFi (32GB) Japan
Device         White Kindle PaperWhite 3 (Unknown Variant 0KG)
Device         White Kindle PaperWhite 3 (2016) WiFi+3G International (Bis)
Device         White Kindle PaperWhite 3 (2016) WiFi+3G International
Device         White Kindle PaperWhite 3 (Unknown Variant 0KD)
Device         White Kindle PaperWhite 3 (2016) WiFi+3G Japan
Device         White Kindle PaperWhite 3 (2016) WiFi
Device         Kindle PaperWhite 3 (2015) WiFi+3G Japan
Device         Kindle PaperWhite 3 (2015) WiFi+3G Canada
Device         Kindle PaperWhite 3 (2015) WiFi+3G Europe
Device         Kindle PaperWhite 3 (2015) WiFi+3G Mexico
Device         Kindle PaperWhite 3 (2015) WiFi+3G
Device         Kindle PaperWhite 3 (2015) WiFi

mszick@HP8300:~/Downloads/pw3$
That gives a 'standard' *.tar.gz compressed archive which system tools can easily handle.
Code:
mszick@HP8300:~/Downloads/pw3$ tar --extract --file update_kindle_all_new_paperwhite_5.9.6.1_converted.tar.gz

mszick@HP8300:~/Downloads/pw3$ gunzip rootfs.img.gz

mszick@HP8300:~/Downloads/pw3$ sudo mount rootfs.img /mnt/pw3
Check file system tree portion, /usr/sbin:
Code:
mszick@HP8300:~/Downloads/pw3$ tree /mnt/pw3/usr/sbin 

/mnt/pw3/usr/sbin
├── alsaconf
├── alsactl
├── blanket
├── brctl -> ../../bin/busybox
├── chat
├── chpasswd -> ../../bin/busybox
├── chroot -> ../../bin/busybox
├── closerun
├── cmd
├── cramfsck
├── crond -> ../../bin/busybox
├── csp-extract-manifest
├── csp-instbundle
├── csp-unbundle
├── csp-unbundle-all
├── csp-update-props
├── deleteUserContent
├── dhcprelay -> ../../bin/busybox
├── dm
├── dmdld
├── dmld
├── dropdtr
├── eips
├── eu
├── factory_reset
├── fbset -> ../../bin/busybox
├── feature
├── force_compaction
├── ftpd -> ../../bin/busybox
├── genl-ctrl-list
├── get_free_loop_device
├── iconvconfig
├── idme
├── idme_functions
├── ifrename
├── ihbslupdater
├── install_boot_images
├── iptables -> xtables-multi
├── iptables-restore -> xtables-multi
├── iptables-save -> xtables-multi
├── iw
├── iwconfig
├── iwevent
├── iwgetid
├── iwlist
├── iwpriv
├── iwspy
├── loginfo
├── lpd -> ../../bin/busybox
├── lsof
├── manif2prop
├── mcsd
├── mkcramfs
├── mntroot
├── mntus
├── modemcmd
├── nl-class-add
├── nl-class-delete
├── nl-classid-lookup
├── nl-class-list
├── nl-cls-add
├── nl-cls-add
├── nl-cls-delete
├── nl-cls-list
├── nl-link-list
├── nl-pktloc-lookup
├── nl-qdisc-add
├── nl-qdisc-delete
├── nl-qdisc-list
├── otaup
├── parse_waveform
├── passwdlg
├── phd
├── pngGray2X
├── popmaildir -> ../../bin/busybox
├── pppd
├── pppdump
├── pppstats
├── rdate -> ../../bin/busybox
├── rdev -> ../../bin/busybox
├── readprofile
├── resell_demo
├── screenshot
├── sendmail -> ../../bin/busybox
├── setdate
├── setfont -> ../../bin/busybox
├── settings_reset
├── settz
├── shipping_mode
├── startWan
├── stopWan
├── syslog-ng
├── tinyrot
├── tmd
├── tunelp
├── udevadm
├── udevd
├── udhcpd -> ../../bin/busybox
├── update_content_packs
├── updatetime
├── updatewait
├── uperf-log
├── usbnetwork
├── usbserial
├── userstore_clean
├── userstore_reset
├── verbose
├── volumd
├── wancontrol
├── wand
├── waninfo
├── wfm_delete
├── wfm_erase
├── wfm_forceupdate
├── wfm_mount
├── wfm_umount
├── wfm_update
├── wifid
├── xDamageLogger
├── xtables-multi
└── zic

0 directories, 120 files
So that confirms that my memory failed me (again).
There are a number of things in that part of the system tree that I would not expect on the consumer version of any embedded system.

Note 1: the above song and dance is a preliminary to any investigation of a Kindle system image on your Linux powered PC.
Note 2: get your copy of KindleTool from NiLuJe's snapshots thread (he has builds for most of the common PC systems.)

Last edited by knc1; 12-18-2018 at 01:20 AM.
knc1 is offline   Reply With Quote
Old 12-18-2018, 01:37 AM   #19
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,500
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
Yes, they exist, but do you have any clue where I should look at the files (I mean the scripts that check for their validity)?
/etc/upstart/ maybe?

Last edited by mergen3107; 12-18-2018 at 01:49 AM.
mergen3107 is offline   Reply With Quote
Old 12-18-2018, 10:51 AM   #20
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,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@mergen3107: Just follow the yellow brick road?

(i.e., start at /usr/share/webkit-1.0/pillow/debug_cmds.json, and check anything relevant to your interests from there? Most of those should be shell scripts, not ELF binaries).
NiLuJe is offline   Reply With Quote
Advert
Old 12-18-2018, 11:19 AM   #21
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,500
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
OK, I'll try
mergen3107 is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 03:49 AM.


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