![]() |
#16 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
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. |
|
![]() |
![]() |
![]() |
#17 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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). |
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
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$ 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 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 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. |
|
![]() |
![]() |
![]() |
#19 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#20 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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). |
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,500
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
OK, I'll try
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |