![]() |
#2191 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
The small binary:
Code:
Dynamic section at offset 0xa04 contains 48 entries: Tag Type Name/Value 0x00000001 (NEEDED) Shared library: [libMagickCore.so.4] 0x00000001 (NEEDED) Shared library: [libMagickWand.so.4] 0x00000001 (NEEDED) Shared library: [libtiff.so.3] 0x00000001 (NEEDED) Shared library: [libc.so.6] 0x00000001 (NEEDED) Shared library: [libjpeg.so.8] 0x00000001 (NEEDED) Shared library: [libfontconfig.so.1] 0x00000001 (NEEDED) Shared library: [libfreetype.so.6] 0x00000001 (NEEDED) Shared library: [libpng16.so.16] 0x00000001 (NEEDED) Shared library: [libexpat.so.1] 0x00000001 (NEEDED) Shared library: [libXext.so.6] 0x00000001 (NEEDED) Shared library: [libXt.so.6] 0x00000001 (NEEDED) Shared library: [libbz2.so.1.0] 0x00000001 (NEEDED) Shared library: [libxml2.so.2] 0x00000001 (NEEDED) Shared library: [libz.so.1] 0x00000001 (NEEDED) Shared library: [libpthread.so.0] 0x00000001 (NEEDED) Shared library: [libSM.so.6] 0x00000001 (NEEDED) Shared library: [libuuid.so.1] 0x00000001 (NEEDED) Shared library: [libICE.so.6] 0x00000001 (NEEDED) Shared library: [libX11.so.6] 0x00000001 (NEEDED) Shared library: [libxcb.so.1] 0x00000001 (NEEDED) Shared library: [libXau.so.6] 0x00000001 (NEEDED) Shared library: [libXdmcp.so.6] 0x00000001 (NEEDED) Shared library: [libdl.so.2] 0x00000001 (NEEDED) Shared library: [libm.so.6] 0x0000000f (RPATH) Library rpath: [/usr/local/lib] The large binary: Code:
0x00000001 (NEEDED) Shared library: [libfreetype.so.6] 0x00000001 (NEEDED) Shared library: [libpng16.so.16] 0x00000001 (NEEDED) Shared library: [libz.so.1] 0x00000001 (NEEDED) Shared library: [libm.so.6] 0x00000001 (NEEDED) Shared library: [libgcc_s.so.1] 0x00000001 (NEEDED) Shared library: [libpthread.so.0] 0x00000001 (NEEDED) Shared library: [libc.so.6] 0x0000001d (RUNPATH) Library runpath: [/mnt/us/linkss/lib:/home/niluje/Kindle/CrossTool/Build_PW2/lib] (And NiLuJe's build system is leaking the build path into the runpath.) While it is off of the kindle, do: Code:
strip --strip-unneeded <filename> So this second one is bigger because all of the external libraries listed in the first but not listed in the second are already built into the convert binary. Last edited by knc1; 08-17-2016 at 07:40 AM. |
![]() |
![]() |
![]() |
#2192 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 477
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
strip command not available on my kindle (KT3, G000KA, 5.8.0-Factory)
If I try strip on my PC (Ubuntu 14.04 32-bit) on the files copied over from kindle, I get error message Code:
strip: Unable to recognise the format of the input file `convert' |
![]() |
![]() |
Advert | |
|
![]() |
#2193 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
FAT-32 does not support links.
/usr/local/bin only exists in factory_* images, not in customer_* images making a copy should work. Ubunta must have re-organized their installs - They used to build/ship the general purpose strip command not the architecture specific build. Yup - that's it: Code:
$ ssh mrdcorn Welcome to Ubuntu 12.04.5 LTS (GNU/Linux ps34532 x86_64) $ strip --help Usage: strip <option(s)> in-file(s) - - - - strip: supported targets: elf64-x86-64 elf32-i386 elf32-x86-64 a.out-i386-linux pei-i386 pei-x86-64 elf64-l1om elf64-k1om elf64-little elf64-big elf32-little elf32-big plugin srec symbolsrec verilog tekhex binary ihex Report bugs to <http://www.sourceware.org/bugzilla/> Code:
strip: supported targets: elf32-i386 a.out-i386-linux pei-i386 elf32-little elf32-big elf64-ia64-little elf64-ia64-big pei-ia64 elf64-little elf64-big elf64-alpha ecoff-littlealpha elf64-x86-64 elf32-x86-64 pei-x86-64 elf64-l1om elf64-k1om elf32-littlearm elf32-bigarm elf32-hppa-linux elf32-hppa elf32-tradbigmips elf32-tradlittlemips ecoff-bigmips ecoff-littlemips elf32-ntradbigmips elf64-tradbigmips elf32-ntradlittlemips elf64-tradlittlemips elf32-powerpc aixcoff-rs6000 elf32-powerpcle ppcboot elf64-powerpc elf64-powerpcle elf32-s390 elf64-s390 elf32-sparc a.out-sparc-linux elf64-sparc a.out-sunos-big elf32-i386-freebsd coff-i386 elf64-x86-64-freebsd elf64-l1om-freebsd elf64-k1om-freebsd elf32-m32r-linux elf32-m32rle-linux elf32-m68k a.out-m68k-linux coff-m68k versados ieee a.out-zero-big aixcoff64-rs6000 aix5coff64-rs6000 elf32-sh64-linux elf32-sh64big-linux elf64-sh64-linux elf64-sh64big-linux elf32-sh-linux elf32-shbig-linux elf32-spu plugin srec symbolsrec verilog tekhex binary ihex trad-core Report bugs to <http://www.sourceware.org/bugzilla/> |
![]() |
![]() |
![]() |
#2194 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 175
Karma: 54048
Join Date: Mar 2016
Device: PW3 5.6.5-usbnet
|
Together with the armel cross gcc the cross strip utility will install.
Do both 'convert' executables work and support the same options? |
![]() |
![]() |
![]() |
#2195 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@nasser: As @knc1 correctly guessed, mine is (mostly) statically linked, while the default one is fully dynamically linked.
Mine's also much, much newer, and much, much faster, so you won't be able to use the default one. (i.e., I built it for a reason ;p). At best it'll crash by going OOM or produce broken output, at worst it won't even run because of unsupported options. We're talking something like 10MB here, are you really that short on storage space? ![]() @knc1: Everything should already be stripped, FWIW ![]() Last edited by NiLuJe; 08-18-2016 at 09:13 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#2196 | |||
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 477
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
Quote:
![]() Quote:
pw3(/etc/local/bin): 6.6.9-5 Q16 2016-04-04 kt3(/etc/local/bin): 6.6.9-5 Q16 2016-04-04 ------------ pw1(linkss/bin): 6.9.0-0 Q8 arm 2014-11-25 pw3(linkss/bin): 6.9.2-0 Q8 arm 2015-08-20 kt3(linkss/bin): 6.9.4-9 Q8 arm 2016-07-08 I can see that you've been updating the build continuously! Quote:
Also, in my poking into the factory image, I see that there seems to be some usbnet and x11vnc stuff there too... ![]() But that's a story for another thread! ![]() |
|||
![]() |
![]() |
![]() |
#2197 | |
Enthusiast
![]() Posts: 27
Karma: 10
Join Date: Oct 2015
Device: Kindle pw2, NST
|
Quote:
Maybe it can be special program that's called by SS function that evals pictures according to strict formatting then moves non-working images to "needFix" folder or something. Last edited by XXCoder; 08-19-2016 at 06:24 AM. Reason: add possible suggest |
|
![]() |
![]() |
![]() |
#2198 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@XXCoder: Current snapshots have "Process staging directory" button that forcefully reprocesses everything in the staging directory to make it compliant.
Automating the detection of "bad" images might be doable, but it's potentially fragile and hard to make 100% exact, so, meh :/. |
![]() |
![]() |
![]() |
#2199 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Aug 2015
Device: Kindle PW2
|
Any chance of a 0.25 release with KFX support? I made sure I had the latest version in the first post (0.24.N - r12287) installed, but it doesn't work with KFX format. I tried the latest snapshot (r13408) and it works great.
Even a note in the first post mentioning that KFX support is only currently available with snapshots (and a more obvious link to the snapshots thread) would be helpful. |
![]() |
![]() |
![]() |
#2200 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@normanr: You're checking old files, the packages in the first post were (stealthily, granted) updated when KUAL 2.7 was released. They're new enough to handle KFX.
|
![]() |
![]() |
![]() |
#2201 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Using the snapshots is always a good -- actual releases are kind of haphazard.
![]() |
![]() |
![]() |
![]() |
#2202 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Current jail break instructions:
Quote:
|
|
![]() |
![]() |
![]() |
#2203 | ||
Enthusiast
![]() Posts: 27
Karma: 10
Join Date: Oct 2015
Device: Kindle pw2, NST
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#2204 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Done as an added feature.
Addition is complete. Get a copy from the snapshots thread to be certain. |
![]() |
![]() |
![]() |
#2205 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Aug 2016
Device: Kindle PW3
|
![]()
I've managed to get this installed(only took nearly ripping my hair out, maybe I can't read), but none of the images I try work. I've even tried using the default image, and merely pasting the image into it via an editor and that fails.
I do not know what I'm doing wrong... Last edited by thekoggles; 08-25-2016 at 04:10 AM. |
![]() |
![]() |
![]() |
Tags |
kindle touch hacks, paperwhite, python, screensavers, touch |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem installing Kindle ScreenSavers Hack | ratchetclank | Kindle Developer's Corner | 3 | 12-30-2015 09:59 PM |
Is it impossible to hack screensavers in K4 4.1? | nonfactor | Kindle Developer's Corner | 1 | 07-04-2012 07:17 PM |
Help! Used screensaver hack- now all collections gone and no screensavers!!! | kuklachica | Amazon Kindle | 1 | 01-16-2011 08:17 PM |
Is a hack necessary to add screensavers? | mldavis2 | Amazon Kindle | 4 | 10-29-2010 05:34 PM |
Hack for screensavers on Kindle 2 | KookyKathy | Introduce Yourself | 5 | 01-09-2010 11:16 PM |