Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 06-08-2025, 08:34 PM   #46
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 903
Karma: 3000000
Join Date: Jun 2010
Device: K3W, PW4
Thank you for the testing. I guess I will need to check the version levels of the provided libraries in the original sox package and replace those two with the same version level to avoid this problem.

This suggests I need to do the same for the other support libraries to be sure I include working versions.

Regarding the UI, that is a limitation of KUAL. The best that can be done is what the author of the V2 did using Python to dynamically recreate the menus.

Dave
dhdurgee is online now   Reply With Quote
Old 06-09-2025, 11:49 AM   #47
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 903
Karma: 3000000
Join Date: Jun 2010
Device: K3W, PW4
If you have a chance it would be helpful to know if there are any other missing dependencies among the library files and what levels of those dependencies need to be. At this point it appears that I either need to provide an appropriate libc6 of 2.28 or find versions of the library files that will work with the level present in the Kindle firmware.

Dave
dhdurgee is online now   Reply With Quote
Old 06-09-2025, 01:49 PM   #48
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 903
Karma: 3000000
Join Date: Jun 2010
Device: K3W, PW4
I'm not sure if this will do it, but try unzipping the attached into your library directory and try the ldd again on the mad and mp3 library files.

Dave
Attached Files
File Type: zip libc.so.zip (560.5 KB, 15 views)
dhdurgee is online now   Reply With Quote
Old 06-09-2025, 09:39 PM   #49
Hubris
Member
Hubris began at the beginning.
 
Posts: 20
Karma: 10
Join Date: May 2025
Device: Jailbroken Kindle paperwhite 7th gen Firmware 5.16.2.1.1
Quote:
Originally Posted by dhdurgee View Post
I'm not sure if this will do it, but try unzipping the attached into your library directory and try the ldd again on the mad and mp3 library files.

Dave
It looks like that is not compatible.

Here’s a quick update on my testing with the new HF Sox package and libraries:

I confirmed my Kindle PW4 is running glibc 2.20 (checked via /lib/libc.so.6).

I tried playing an MP3 using the updated Sox, but got this error:

relocation error: /lib/libpthread.so.0: symbol h_errno, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference

I also checked the system’s environment and confirmed my current libraries (and that glibc is 2.20, not 2.27 or 2.28).

It seems the included libmad and libmp3lame libraries were built against a newer glibc than what’s on my Kindle, causing this error.

Thanks again for your help—happy to test more builds.

—Hubris
Hubris is offline   Reply With Quote
Old 06-09-2025, 09:52 PM   #50
Hubris
Member
Hubris began at the beginning.
 
Posts: 20
Karma: 10
Join Date: May 2025
Device: Jailbroken Kindle paperwhite 7th gen Firmware 5.16.2.1.1
Also, here's a ton of info on my device if you have any more questions about compatibility.
[root@kindle us]# /lib/libc.so.6
GNU C Library (GNU libc) stable release version 2.20, by Roland McGrath et al.
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.9.1.
Available extensions:
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
libc ABIs: UNIQUE
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
[root@kindle us]# strings /lib/libc.so.6 | grep GLIBC_
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
GLIBC_2.9
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
GLIBC_2.13
GLIBC_2.14
GLIBC_2.15
GLIBC_2.16
GLIBC_2.17
GLIBC_2.18
GLIBC_PRIVATE
[root@kindle us]# uname -a
Linux kindle 4.1.15-lab126 #1 SMP PREEMPT [REDACTED DATE] armv7l GNU/Linux
[root@kindle us]# cat /proc/version
Linux version 4.1.15-lab126 (builder@eink-builds) (gcc version 4.9.1 (GCC) ) #1 SMP PREEMPT [REDACTED DATE]
[root@kindle us]# cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 1 (v7l)
BogoMIPS : 7.54
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x4
CPU part : 0xc09
CPU revision : 1

Hardware : Freescale i.MX6 SoloLite (Device Tree)
Revision : 0000
Serial : [REDACTED]
[root@kindle us]# cat /proc/meminfo
MemTotal: 502384 kB
MemFree: 52716 kB
MemAvailable: 185436 kB
Buffers: 59268 kB
Cached: 89976 kB
SwapCached: 168 kB
Active: 234288 kB
Inactive: 131376 kB
Active(anon): 115360 kB
Inactive(anon): 111952 kB
Active(file): 118928 kB
Inactive(file): 19424 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 131068 kB
SwapFree: 130360 kB
Dirty: 8 kB
Writeback: 0 kB
AnonPages: 216284 kB
Mapped: 65612 kB
Shmem: 10892 kB
Slab: 24496 kB
SReclaimable: 9536 kB
SUnreclaim: 14960 kB
KernelStack: 6352 kB
PageTables: 5140 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 382260 kB
Committed_AS: 1599064 kB
VmallocTotal: 1548288 kB
VmallocUsed: 35372 kB
VmallocChunk: 1306588 kB
CmaTotal: 0 kB
CmaFree: 0 kB
=================================
Total RAM: 524288 kB
[root@kindle us]# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 493.6M 446.4M 37.0M 92% /
tmpfs 245.3M 180.0K 245.1M 0% /dev
tmpfs 245.3M 124.0K 245.2M 0% /dev/shm
tmpfs 64.0M 6.8M 57.2M 11% /var
tmpfs 250.0M 0 250.0M 0% /mnt/kfxcache
/dev/loop/2 384.0K 384.0K 0 100% /usr/share/X11/xkb
/dev/loop/3 80.0M 80.0M 0 100% /usr/java/lib/fonts
/dev/loop/4 128.0K 128.0K 0 100% /etc/kdb.src
/dev/loop/5 768.0K 768.0K 0 100% /usr/lib/locale
/dev/loop/6 14.3M 14.3M 0 100% /usr/share/keyboard
/dev/loop/7 2.0M 2.0M 0 100% /opt/var/local
/dev/loop/8 128.0K 128.0K 0 100% /etc/uks
/dev/loop/9 2.3M 2.3M 0 100% /usr/lib/mmseg
/dev/loop/10 6.0M 6.0M 0 100% /usr/lib/webkit-gtk
/dev/loop/11 35.8M 35.8M 0 100% /usr/bin/chromium
/dev/mmcblk1p3 987.0K 21.0K 864.0K 2% /keys
/dev/mmcblk1p9 975.9M 55.8M 868.9M 6% /var/local
fsp 27.3G 8.2G 19.1G 30% /mnt/us
cgroup_root 245.3M 0 245.3M 0% /sys/fs/cgroup
/dev/root 493.6M 446.4M 37.0M 92% /chroot/lib
/dev/root 493.6M 446.4M 37.0M 92% /chroot/usr/lib
tmpfs 245.3M 180.0K 245.1M 0% /chroot/dev
/dev/loop/11 35.8M 35.8M 0 100% /chroot/usr/bin/chromium
/dev/loop/0 27.3G 8.2G 19.1G 30% /mnt/base-us
tmpfs 64.0M 6.8M 57.2M 11% /chroot/var/cache
tmpfs 64.0M 6.8M 57.2M 11% /chroot/var/lock
tmpfs 64.0M 6.8M 57.2M 11% /chroot/var/run
/dev/loop/4 128.0K 128.0K 0 100% /chroot/etc/kdb.src
/dev/mmcblk1p9 975.9M 55.8M 868.9M 6% /chroot/var/local
fsp 27.3G 8.2G 19.1G 30% /chroot/mnt/us
/dev/root 493.6M 446.4M 37.0M 92% /chroot/etc/fonts
/dev/root 493.6M 446.4M 37.0M 92% /chroot/etc/gtk-2.0
/dev/root 493.6M 446.4M 37.0M 92% /chroot/etc/pango
/dev/root 493.6M 446.4M 37.0M 92% /chroot/etc/resolv.d
/dev/root 493.6M 446.4M 37.0M 92% /chroot/usr/share
/dev/root 493.6M 446.4M 37.0M 92% /chroot/usr/ssl
/dev/loop/6 14.3M 14.3M 0 100% /chroot/usr/share/keyboard
/dev/loop/3 80.0M 80.0M 0 100% /chroot/usr/java/lib/fonts
/dev/loop/2 384.0K 384.0K 0 100% /chroot/usr/share/X11/xkb
/dev/root 493.6M 446.4M 37.0M 92% /chroot/usr/lib/pango
/dev/loop/5 768.0K 768.0K 0 100% /chroot/usr/lib/locale
tmpfs 64.0M 6.8M 57.2M 11% /chroot/tmp/session_token
[root@kindle us]# mount
/dev/root on / type ext3 (ro,noatime,nodiratime,barrier=1,data=ordered)
none on /proc type proc (rw,nosuid,nodev,noexec,relatime)
none on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
tmpfs on /dev/shm type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /var type tmpfs (rw,relatime,size=65536k)
tmpfs on /mnt/kfxcache type tmpfs (rw,relatime,size=256000k)
/dev/loop/2 on /usr/share/X11/xkb type squashfs (ro,noatime,nodiratime)
/dev/loop/3 on /usr/java/lib/fonts type squashfs (ro,noatime,nodiratime)
/dev/loop/4 on /etc/kdb.src type squashfs (ro,noatime,nodiratime)
/dev/loop/5 on /usr/lib/locale type squashfs (ro,noatime,nodiratime)
/dev/loop/6 on /usr/share/keyboard type squashfs (ro,noatime,nodiratime)
/dev/loop/7 on /opt/var/local type squashfs (ro,noatime,nodiratime)
/dev/loop/8 on /etc/uks type squashfs (ro,noatime,nodiratime)
/dev/loop/9 on /usr/lib/mmseg type squashfs (ro,noatime,nodiratime)
/dev/loop/10 on /usr/lib/webkit-gtk type squashfs (ro,noatime,nodiratime)
/dev/loop/11 on /usr/bin/chromium type squashfs (ro,noatime,nodiratime)
/dev/mmcblk1p3 on /keys type ext3 (ro,noatime,nodiratime,errors=continue,user_xattr, acl,barrier=1,data=ordered)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
/dev/mmcblk1p9 on /var/local type ext3 (rw,relatime,errors=continue,user_xattr,acl,barrie r=1,data=ordered)
fsp on /mnt/us type fuse.fsp (rw,nosuid,nodev,noatime,user_id=0,group_id=0,allo w_other)
cgroup_root on /sys/fs/cgroup type tmpfs (rw,relatime)
none on /sys/fs/cgroup/memory type cgroup (rw,relatime,memory)
/dev/root on /chroot/lib type ext3 (ro,noatime,nodiratime,barrier=1,data=ordered)
/dev/root on /chroot/usr/lib type ext3 (ro,noatime,nodiratime,barrier=1,data=ordered)
none on /chroot/proc type proc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /chroot/dev type tmpfs (rw,relatime,mode=755)
/dev/loop/11 on /chroot/usr/bin/chromium type squashfs (ro,noatime,nodiratime)
/dev/loop/0 on /mnt/base-us type vfat (rw,noexec,noatime,nodiratime,fmask=0000,dmask=000 0,allow_utime=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
none on /chroot/sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /chroot/var/cache type tmpfs (rw,relatime,size=65536k)
tmpfs on /chroot/var/lock type tmpfs (rw,relatime,size=65536k)
tmpfs on /chroot/var/run type tmpfs (rw,relatime,size=65536k)
/dev/loop/4 on /chroot/etc/kdb.src type squashfs (ro,noatime,nodiratime)
/dev/mmcblk1p9 on /chroot/var/local type ext3 (rw,relatime,errors=continue,user_xattr,acl,barrie r=1,data=ordered)
fsp on /chroot/mnt/us type fuse.fsp (rw,nosuid,nodev,noatime,user_id=0,group_id=0,allo w_other)
/dev/root on /chroot/etc/fonts type ext3 (ro,noatime,nodiratime,barrier=1,data=ordered)
/dev/root on /chroot/etc/gtk-2.0 type ext3 (ro,noatime,nodiratime,barrier=1,data=ordered)
/dev/root on /chroot/etc/pango type ext3 (ro,noatime,nodiratime,barrier=1,data=ordered)
/dev/root on /chroot/etc/resolv.d type ext3 (ro,noatime,nodiratime,barrier=1,data=ordered)
/dev/root on /chroot/usr/share type ext3 (ro,noatime,nodiratime,barrier=1,data=ordered)
/dev/root on /chroot/usr/ssl type ext3 (ro,noatime,nodiratime,barrier=1,data=ordered)
/dev/loop/6 on /chroot/usr/share/keyboard type squashfs (ro,noatime,nodiratime)
/dev/loop/3 on /chroot/usr/java/lib/fonts type squashfs (ro,noatime,nodiratime)
/dev/loop/2 on /chroot/usr/share/X11/xkb type squashfs (ro,noatime,nodiratime)
/dev/root on /chroot/usr/lib/pango type ext3 (ro,noatime,nodiratime,barrier=1,data=ordered)
/dev/loop/5 on /chroot/usr/lib/locale type squashfs (ro,noatime,nodiratime)
tmpfs on /chroot/tmp/session_token type tmpfs (rw,relatime,size=65536k)
[root@kindle us]# lsmod
Module Size Used by
g_ether 5010 0
usb_f_ecm 10309 1
usb_f_rndis 27251 2 g_ether
u_ether 14348 3 g_ether,usb_f_ecm,usb_f_rndis
bcmdhd 669206 0
pkt_monitor 3617 0
usb_f_mass_storage 51007 0
libcomposite 49114 4 g_ether,usb_f_ecm,usb_f_rndis,usb_f_mass_storage
configfs 26493 5 usb_f_ecm,usb_f_rndis,usb_f_mass_storage,libcompos ite
gt9xx_ts 49578 1
falcon 22088 0 [permanent]
mxc_epdc_v2_fb 109207 3
[root@kindle us]# /lib/libc.so.6
GNU C Library (GNU libc) stable release version 2.20, by Roland McGrath et al.
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.9.1.
Available extensions:
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
libc ABIs: UNIQUE
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
[root@kindle us]# ldd --version 2>&1 | head -n 1
ldd (GNU libc) 2.20
[root@kindle us]# aplay -l 2>&1
aplay: device_list:223: no soundcards found...
[root@kindle us]# ls -l /dev/snd
total 0
crw-rw---- 1 root root 116, 33 [REDACTED DATE] timer
[root@kindle us]# ls -l /usr/bin/gst*
-rwxr-xr-x 1 root root 9248 [REDACTED DATE] /usr/bin/gst-feedback
-rwxr-xr-x 1 root root 3173 [REDACTED DATE] /usr/bin/gst-feedback-0.10
-rwxr-xr-x 1 root root 9244 [REDACTED DATE] /usr/bin/gst-inspect
-rwxr-xr-x 1 root root 30280 [REDACTED DATE] /usr/bin/gst-inspect-0.10
-rwxr-xr-x 1 root root 9244 [REDACTED DATE] /usr/bin/gst-launch
-rwxr-xr-x 1 root root 20256 [REDACTED DATE] /usr/bin/gst-launch-0.10
-rwxr-xr-x 1 root root 9248 [REDACTED DATE] /usr/bin/gst-typefind
-rwxr-xr-x 1 root root 9604 [REDACTED DATE] /usr/bin/gst-typefind-0.10
-rwxr-xr-x 1 root root 1734 [REDACTED DATE] /usr/bin/gst-visualise-0.10
-rwxr-xr-x 1 root root 9248 [REDACTED DATE] /usr/bin/gst-xmlinspect
-rwxr-xr-x 1 root root 17672 [REDACTED DATE] /usr/bin/gst-xmlinspect-0.10
[root@kindle us]# ls -l /usr/lib/gstreamer* /lib/gstreamer* 2>/dev/null
/usr/lib/gstreamer-0.10:
total 247
lrwxrwxrwx 1 root root 23 [REDACTED DATE] libgstaudiblesrc.so -> libgstaudiblesrc.so.1.0
lrwxrwxrwx 1 root root 23 [REDACTED DATE] libgstaudiblesrc.so.1 -> libgstaudiblesrc.so.1.0
-rwxr-xr-x 1 root root 29992 [REDACTED DATE] libgstaudiblesrc.so.1.0
-rwxr-xr-x 1 root root 166280 [REDACTED DATE] libgstcoreelements.so
-rwxr-xr-x 1 root root 8548 [REDACTED DATE] libgstcoreindexers.so
lrwxrwxrwx 1 root root 22 [REDACTED DATE] libgstmixersink.so -> libgstmixersink.so.1.0
lrwxrwxrwx 1 root root 22 [REDACTED DATE] libgstmixersink.so.1 -> libgstmixersink.so.1.0
-rwxr-xr-x 1 root root 20912 [REDACTED DATE] libgstmixersink.so.1.0
lrwxrwxrwx 1 root root 19 [REDACTED DATE] libgstttssrc.so -> libgstttssrc.so.1.0
lrwxrwxrwx 1 root root 19 [REDACTED DATE] libgstttssrc.so.1 -> libgstttssrc.so.1.0
-rwxr-xr-x 1 root root 20336 [REDACTED DATE] libgstttssrc.so.1.0
[root@kindle us]# find /mnt/us/extensions/sox
/mnt/us/extensions/sox
/mnt/us/extensions/sox/killsox.sh
/mnt/us/extensions/sox/._killsox.sh
/mnt/us/extensions/sox/playinternetradio.sh
/mnt/us/extensions/sox/._playinternetradio.sh
/mnt/us/extensions/sox/bookmark.sh
/mnt/us/extensions/sox/._bookmark.sh
/mnt/us/extensions/sox/soxi
/mnt/us/extensions/sox/._soxi
/mnt/us/extensions/sox/sox
/mnt/us/extensions/sox/._sox
/mnt/us/extensions/sox/library
/mnt/us/extensions/sox/library/libsox_fmt_amr_wb.so
/mnt/us/extensions/sox/library/._libsox_fmt_amr_wb.so
/mnt/us/extensions/sox/library/libvorbis.so.0
/mnt/us/extensions/sox/library/._libvorbis.so.0
/mnt/us/extensions/sox/library/libsox_fmt_mp3.so
/mnt/us/extensions/sox/library/._libsox_fmt_mp3.so
/mnt/us/extensions/sox/library/libsox_fmt_lpc10.so
/mnt/us/extensions/sox/library/._libsox_fmt_lpc10.so
/mnt/us/extensions/sox/library/libsox_fmt_w64.so
/mnt/us/extensions/sox/library/._libsox_fmt_w64.so
/mnt/us/extensions/sox/library/libvorbisenc.so.2
/mnt/us/extensions/sox/library/._libvorbisenc.so.2
/mnt/us/extensions/sox/library/libltdl.so.7
/mnt/us/extensions/sox/library/._libltdl.so.7
/mnt/us/extensions/sox/library/libsndfile.so.1
/mnt/us/extensions/sox/library/._libsndfile.so.1
/mnt/us/extensions/sox/library/libsox_fmt_caf.so
/mnt/us/extensions/sox/library/._libsox_fmt_caf.so
/mnt/us/extensions/sox/library/libsox_fmt_sndfile.so
/mnt/us/extensions/sox/library/._libsox_fmt_sndfile.so
/mnt/us/extensions/sox/library/libgsm.so.1
/mnt/us/extensions/sox/library/._libgsm.so.1
/mnt/us/extensions/sox/library/libwavpack.so.1
/mnt/us/extensions/sox/library/._libwavpack.so.1
/mnt/us/extensions/sox/library/libsox_fmt_xi.so
/mnt/us/extensions/sox/library/._libsox_fmt_xi.so
/mnt/us/extensions/sox/library/libsox_fmt_sd2.so
/mnt/us/extensions/sox/library/._libsox_fmt_sd2.so
/mnt/us/extensions/sox/library/libsox_fmt_vorbis.so
/mnt/us/extensions/sox/library/._libsox_fmt_vorbis.so
/mnt/us/extensions/sox/library/libsox_fmt_mat5.so
/mnt/us/extensions/sox/library/._libsox_fmt_mat5.so
/mnt/us/extensions/sox/library/libmad.so.0
/mnt/us/extensions/sox/library/._libmad.so.0
/mnt/us/extensions/sox/library/libpng12.so.0
/mnt/us/extensions/sox/library/._libpng12.so.0
/mnt/us/extensions/sox/library/libsox_fmt_mat4.so
/mnt/us/extensions/sox/library/._libsox_fmt_mat4.so
/mnt/us/extensions/sox/library/libsox_fmt_paf.so
/mnt/us/extensions/sox/library/._libsox_fmt_paf.so
/mnt/us/extensions/sox/library/libsox_fmt_pvf.so
/mnt/us/extensions/sox/library/._libsox_fmt_pvf.so
/mnt/us/extensions/sox/library/libtwolame.so.0
/mnt/us/extensions/sox/library/._libtwolame.so.0
/mnt/us/extensions/sox/library/libmagic.so.1
/mnt/us/extensions/sox/library/._libmagic.so.1
/mnt/us/extensions/sox/library/libid3tag.so.0
/mnt/us/extensions/sox/library/._libid3tag.so.0
/mnt/us/extensions/sox/library/libsox_fmt_wavpack.so
/mnt/us/extensions/sox/library/._libsox_fmt_wavpack.so
/mnt/us/extensions/sox/library/libFLAC++.so.6
/mnt/us/extensions/sox/library/._libFLAC++.so.6
/mnt/us/extensions/sox/library/libmp3lame.so.0
/mnt/us/extensions/sox/library/._libmp3lame.so.0
/mnt/us/extensions/sox/library/libsox.so.2
/mnt/us/extensions/sox/library/._libsox.so.2
/mnt/us/extensions/sox/library/libsox_fmt_fap.so
/mnt/us/extensions/sox/library/._libsox_fmt_fap.so
/mnt/us/extensions/sox/library/libsox_fmt_flac.so
/mnt/us/extensions/sox/library/._libsox_fmt_flac.so
/mnt/us/extensions/sox/library/libsox_fmt_amr_nb.so
/mnt/us/extensions/sox/library/._libsox_fmt_amr_nb.so
/mnt/us/extensions/sox/library/libsox_fmt_gsm.so
/mnt/us/extensions/sox/library/._libsox_fmt_gsm.so
/mnt/us/extensions/sox/library/libMAdLib.so.0
/mnt/us/extensions/sox/library/._libMAdLib.so.0
/mnt/us/extensions/sox/library/libvorbisfile.so.3
/mnt/us/extensions/sox/library/._libvorbisfile.so.3
/mnt/us/extensions/sox/library/libFLAC.so.8
/mnt/us/extensions/sox/library/._libFLAC.so.8
/mnt/us/extensions/sox/._library
/mnt/us/extensions/sox/config.xml
/mnt/us/extensions/sox/._config.xml
/mnt/us/extensions/sox/playfile.sh
/mnt/us/extensions/sox/._playfile.sh
/mnt/us/extensions/sox/playall.sh
/mnt/us/extensions/sox/._playall.sh
/mnt/us/extensions/sox/menu.json
/mnt/us/extensions/sox/._menu.json
/mnt/us/extensions/sox/silence.wav
/mnt/us/extensions/sox/._silence.wav
/mnt/us/extensions/sox/README.txt
/mnt/us/extensions/sox/._README.txt
[root@kindle us]# busybox
BusyBox v1.34.1 ([REDACTED DATE]) multi-call binary.
BusyBox is copyrighted by many authors between 1998-2015.
Licensed under GPLv2. See source distribution for detailed
copyright notices.

Usage: busybox [function [arguments]...]
or: busybox --list[-full]
or: busybox --install [-s] [DIR]
or: function [arguments]...

BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable. The shell in this build
is configured to run built-in utilities without $PATH search.
You don't need to install a link to busybox for each utility.
To run external program, use full path (/sbin/ip instead of ip).

Currently defined functions:
[, [[, acpid, add-shell, addgroup, adduser, adjtimex, arp, arping, ash,
awk, base64, basename, bash, beep, blkdiscard, bootchartd, brctl,
busybox, cat, chgrp, chmod, chown, chpasswd, chpst, chroot, chvt,
cksum, cmp, comm, conspy, cp, cpio, crond, crontab, cryptpw, cttyhack,
cut, date, dc, dd, deallocvt, delgroup, deluser, devmem, df, dhcprelay,
diff, dirname, dmesg, dnsd, dnsdomainname, dos2unix, dpkg, dpkg-deb,
du, dumpkmap, dumpleases, echo, ed, egrep, eject, env, envdir,
envuidgid, ether-wake, expand, expr, factor, fakeidentd, fallocate,
false, fatattr, fbset, fbsplash, fdflush, fdisk, fgconsole, fgrep,
find, flock, fold, freeramdisk, fsfreeze, fstrim, fsync, ftpd, ftpget,
ftpput, fuser, getty, grep, groups, gunzip, gzip, hd, hdparm, head,
hexdump, hexedit, hostid, hostname, hush, hwclock, i2cdetect, i2cdump,
i2cget, i2cset, id, ifconfig, ifdown, ifenslave, ifplugd, ifup,
install, ionice, ip, ipaddr, ipcalc, iplink, ipneigh, iproute, iprule,
iptunnel, kbd_mode, kill, killall, killall5, klogd, last, less, link,
linux32, linux64, ln, loadfont, loadkmap, logger, login, logname,
logread, losetup, lpd, lpq, lpr, ls, lspci, lsscsi, lsusb, lzcat, lzma,
lzop, makedevs, makemime, man, md5sum, mesg, microcom, mkdir, mkfifo,
mknod, mkpasswd, mktemp, more, mountpoint, mt, mv, nameif, nanddump,
nandwrite, nbd-client, nc, netstat, nice, nl, nmeter, nohup, nproc,
nsenter, nslookup, nuke, od, openvt, partprobe, passwd, paste, patch,
pgrep, pidof, ping, pipe_progress, pivot_root, pkill, popmaildir,
printenv, printf, pscan, pstree, pwd, raidautorun, rdate, rdev,
readahead, readlink, realpath, reformime, remove-shell, renice, resize,
resume, rev, rm, rmdir, route, rpm, rpm2cpio, rtcwake, run-parts,
runsv, runsvdir, rx, scriptreplay, sed, sendmail, seq, setarch,
setconsole, setfattr, setfont, setkeycodes, setlogcons, setpriv,
setserial, setuidgid, sh, sha1sum, sha256sum, sha3sum, sha512sum,
showkey, shred, shuf, slattach, sleep, smemcap, softlimit, sort, split,
ssl_client, start-stop-daemon, stat, strings, stty, su, sulogin, sum,
sv, svc, svlogd, switch_root, sync, tac, tail, tar, tcpsvd, tee,
telnet, telnetd, test, tftp, tftpd, time, timeout, touch, tr,
traceroute, true, truncate, tty, ttysize, tunctl, ubiattach, ubidetach,
ubimkvol, ubirename, ubirmvol, ubirsvol, ubiupdatevol, udhcpc, udhcpd,
udpsvd, uevent, uname, unexpand, uniq, unix2dos, unlink, unlzma,
unshare, unxz, unzip, uptime, users, usleep, uudecode, uuencode,
vconfig, vi, vlock, volname, w, wall, watchdog, wc, wget, which, who,
whoami, whois, xargs, xxd, xz, xzcat, yes, zcat, zcip
[root@kindle us]# LD_LIBRARY_PATH=/mnt/us/extensions/sox/library ldd /mnt/us/extensions/sox/sox
linux-vdso.so.1 (0x7ee2e000)
/usr/lib/libenvload.so (0x76fce000)
libsox.so.2 => /mnt/us/extensions/sox/library/libsox.so.2 (0x76f5b000)
libm.so.6 => /lib/libm.so.6 (0x76ed6000)
libgomp.so.1 => /usr/lib/libgomp.so.1 (0x76ebb000)
libpthread.so.0 => /lib/libpthread.so.0 (0x76e9b000)
libc.so.6 => /lib/libc.so.6 (0x76d68000)
/lib/ld-linux-armhf.so.3 (0x76fd7000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x76d44000)
libltdl.so.7 => /mnt/us/extensions/sox/library/libltdl.so.7 (0x76d2e000)
libpng12.so.0 => /mnt/us/extensions/sox/library/libpng12.so.0 (0x76d05000)
libz.so.1 => /usr/lib/libz.so.1 (0x76cec000)
libmagic.so.1 => /mnt/us/extensions/sox/library/libmagic.so.1 (0x76cc6000)
libgsm.so.1 => /mnt/us/extensions/sox/library/libgsm.so.1 (0x76cae000)
libdl.so.2 => /lib/libdl.so.2 (0x76ca3000)
[root@kindle us]#
Hubris is offline   Reply With Quote
Old 06-10-2025, 10:28 AM   #51
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 903
Karma: 3000000
Join Date: Jun 2010
Device: K3W, PW4
Will look for versions built against glibc 2.20 and get back to you.

Dave
dhdurgee is online now   Reply With Quote
Old 06-10-2025, 01:14 PM   #52
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 903
Karma: 3000000
Join Date: Jun 2010
Device: K3W, PW4
I went back to the archives looking for earlier releases and have attached what I hope will be working replacements for libmad and libmp3. Please try these replacements and remove that libc from your library.

Let me know how it goes.

Dave
Attached Files
File Type: zip libm.so.zip (184.0 KB, 10 views)
dhdurgee is online now   Reply With Quote
Old 06-10-2025, 07:31 PM   #53
thebeginning
Junior Member
thebeginning will become famous soon enoughthebeginning will become famous soon enoughthebeginning will become famous soon enoughthebeginning will become famous soon enoughthebeginning will become famous soon enoughthebeginning will become famous soon enough
 
Posts: 4
Karma: 590
Join Date: Jan 2021
Device: PW4
Surprised to see it's still going.

Quote:
Originally Posted by Hubris View Post
P.S. It would be amazing if you could enhance the UI by adding more controls—like the ability to choose a specific recording or browse through folders. This would make it much easier to jump to a particular audiobook or chapter, streamlining the listening experience for users who have a large library.
It actually could be done, when the solution is found for older fw versions I'll try to remember to make an update that will make working with individual files easier. I can't remember why exactly didn't I do this in the first place, but it could be just too much for KUAL and was dropped during testing.

Anyway, I've been thinking about adding an interface into overlay somehow, my best idea is to make it either a plugin for KOReader (if it's even possible, never used it), or to use LIPC and show the interface on an event. Or even make a separate app for audiobook listeners.

I've managed to track down useful events for those who might wish to try it before I have a chance. I've not been able to find an event that is triggered for the main menu, but the book overlay and the "crown" (which is status bar probably) is these two in com.lab126.winmgr:

Code:
titleBarVisiblityChange "invisible"
chromeVisiblityChange "chromeDown"
So one can subscribe to them like this:

Code:
lipc-wait-event -m com.lab126.winmgr titleBarVisiblityChange,chromeVisiblityChange
and track whether the overlay is open or not.

To find the actual menu event it would help to do:

Code:
lipc-probe -a
# get a lot of possible interfaces
# for each of them do
lipc-wait-event -m {interface} "*"
# lipc-wait-event -m com.lab126.winmgr "*"
# and try to open the menu
but it's a lot and obvious places didn't give me much.
thebeginning is offline   Reply With Quote
Old Yesterday, 04:39 AM   #54
Atiq Zawad
Junior Member
Atiq Zawad began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2023
Device: Kindle
Quote:
Originally Posted by dhdurgee View Post
I went back to the archives looking for earlier releases and have attached what I hope will be working replacements for libmad and libmp3. Please try these replacements and remove that libc from your library.

Let me know how it goes.

Dave
It works. However, Is it possible to add options to play the next or previous tracks, or to manually select a specific song to play?
Atiq Zawad is offline   Reply With Quote
Old Yesterday, 09:30 AM   #55
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 903
Karma: 3000000
Join Date: Jun 2010
Device: K3W, PW4
Quote:
Originally Posted by Atiq Zawad View Post
It works. However, Is it possible to add options to play the next or previous tracks, or to manually select a specific song to play?
You say that it works, which particular audio formats are you able to play?

The v2 version uses Python to enable additional features, but that is not my code and I understand there are still problems getting Python running on the HF firmware.

I would suggest you get in touch with the author of the v2 code to see if he can get things sorted out for his code and Python in the HF firmware.

Dave
dhdurgee is online now   Reply With Quote
Old Yesterday, 02:25 PM   #56
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 903
Karma: 3000000
Join Date: Jun 2010
Device: K3W, PW4
Quote:
Originally Posted by thebeginning View Post
Surprised to see it's still going.

It actually could be done, when the solution is found for older fw versions I'll try to remember to make an update that will make working with individual files easier. I can't remember why exactly didn't I do this in the first place, but it could be just too much for KUAL and was dropped during testing.

Anyway, I've been thinking about adding an interface into overlay somehow, my best idea is to make it either a plugin for KOReader (if it's even possible, never used it), or to use LIPC and show the interface on an event. Or even make a separate app for audiobook listeners.

I've managed to track down useful events for those who might wish to try it before I have a chance. I've not been able to find an event that is triggered for the main menu, but the book overlay and the "crown" (which is status bar probably) is these two in com.lab126.winmgr:

Code:
titleBarVisiblityChange "invisible"
chromeVisiblityChange "chromeDown"
So one can subscribe to them like this:

Code:
lipc-wait-event -m com.lab126.winmgr titleBarVisiblityChange,chromeVisiblityChange
and track whether the overlay is open or not.

To find the actual menu event it would help to do:

Code:
lipc-probe -a
# get a lot of possible interfaces
# for each of them do
lipc-wait-event -m {interface} "*"
# lipc-wait-event -m com.lab126.winmgr "*"
# and try to open the menu
but it's a lot and obvious places didn't give me much.
I'm sure there are any number of people who would be interested in you enhancing your version further, but first the issue of getting Python working reliably on the HF firmware needs to be resolved. Once your current version will run on HF firmware then work on further improvements.

As you can see here I have been working to put a working HF version together of the original version, but I am hampered by the lack of a Kindle with HF firmware to test on. If you have one I would appreciate someone checking which of the audio support libraries I cribbed from Debian Jessie are working and which are not. The sox binaries and libraries appear fine, it is the audio support libraries that are in some cases problematic.

This appears to mostly be related to the fact that the HF firmware uses GLIBC 2.20 and thus the binaries and libraries cannot depend upon a later release.

Thanks for your work on version 2 and I look forward to seeing a newer release.

Dave
dhdurgee is online now   Reply With Quote
Old Yesterday, 03:48 PM   #57
thebeginning
Junior Member
thebeginning will become famous soon enoughthebeginning will become famous soon enoughthebeginning will become famous soon enoughthebeginning will become famous soon enoughthebeginning will become famous soon enoughthebeginning will become famous soon enough
 
Posts: 4
Karma: 590
Join Date: Jan 2021
Device: PW4
Quote:
Originally Posted by dhdurgee View Post
I'm sure there are any number of people who would be interested in you enhancing your version further, but first the issue of getting Python working reliably on the HF firmware needs to be resolved. Once your current version will run on HF firmware then work on further improvements.

As you can see here I have been working to put a working HF version together of the original version, but I am hampered by the lack of a Kindle with HF firmware to test on. If you have one I would appreciate someone checking which of the audio support libraries I cribbed from Debian Jessie are working and which are not. The sox binaries and libraries appear fine, it is the audio support libraries that are in some cases problematic.
Well, at the moment I have two PW4 Kindles, one with 5.10.1.3 (pre-HF, I guess) and one with 5.16.2.1.1 (HF, it seems). To the 5.16 one I've installed kterm -armhf from here, python3.9 with Update_python3_0.15.N_install_pw2_and_up.bin from here, set up v2 of the extension (figured out there's no individual track selection after opening the sources though, that's a bummer), connected the headphones and it just worked. Python opens from kterm, the player works but requires some patience since the menu update is not instant, maybe I'll need to add GNU Awk in the mix.

Let me know how can I help, pointers to the previous messages containing important information will be helpful since you had some progress already.
thebeginning is offline   Reply With Quote
Old Yesterday, 04:41 PM   #58
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 903
Karma: 3000000
Join Date: Jun 2010
Device: K3W, PW4
Quote:
Originally Posted by thebeginning View Post
Well, at the moment I have two PW4 Kindles, one with 5.10.1.3 (pre-HF, I guess) and one with 5.16.2.1.1 (HF, it seems). To the 5.16 one I've installed kterm -armhf from here, python3.9 with Update_python3_0.15.N_install_pw2_and_up.bin from here, set up v2 of the extension (figured out there's no individual track selection after opening the sources though, that's a bummer), connected the headphones and it just worked. Python opens from kterm, the player works but requires some patience since the menu update is not instant, maybe I'll need to add GNU Awk in the mix.

Let me know how can I help, pointers to the previous messages containing important information will be helpful since you had some progress already.
Interesting, I had thought that 5.16.3 was the first HF firmware.

At this point the best way you could help me would be to download the soxhf.zip from a few posts earlier and install it. Then download the libm.so.zip from a more recent post and overwrite those two libraries with them. At that point you should be able to test from KUAL and see what formats work.

You could also via kterm do the ldd on all of the audio format support libraries and see which ones are missing what dependencies. You don't have to check the libsox libraries as they are fine.

Once we get my version up and running you can update your version to incorporate the proper HF versions for that release. I assume there is no way to issue a single release for both.

Thanks again for any help you can give me.

Dave
dhdurgee is online now   Reply With Quote
Old Yesterday, 05:23 PM   #59
thebeginning
Junior Member
thebeginning will become famous soon enoughthebeginning will become famous soon enoughthebeginning will become famous soon enoughthebeginning will become famous soon enoughthebeginning will become famous soon enoughthebeginning will become famous soon enough
 
Posts: 4
Karma: 590
Join Date: Jan 2021
Device: PW4
Quote:
Originally Posted by dhdurgee View Post
Interesting, I had thought that 5.16.3 was the first HF firmware.

At this point the best way you could help me would be to download the soxhf.zip from a few posts earlier and install it. Then download the libm.so.zip from a more recent post and overwrite those two libraries with them. At that point you should be able to test from KUAL and see what formats work.

You could also via kterm do the ldd on all of the audio format support libraries and see which ones are missing what dependencies. You don't have to check the libsox libraries as they are fine.

Once we get my version up and running you can update your version to incorporate the proper HF versions for that release. I assume there is no way to issue a single release for both.

Thanks again for any help you can give me.

Dave
Yep, went to check and it turned out that 5.16.2.1.1 is indeed not yet a HF version, I've only attempted to install kterm-armhf, but it failed to launch. At least that explains why does the player work.

As for testing, I don't see any benefit in updating (yet, gotta buy one more Kindle first) and to speed things up I'd suggest using Tailscale together with @Hubris, it has a feature called "subnet routers" that will help you get direct access to the Kindle with HF firmware. @Hubris will have to configure Tailscale on their PC to route their local subnet to Tailscale, enable SSH over Wi-Fi and add your PC as a second team member. Once done, you'll be able to just ssh root@192.168.1.123 to their Kindle from your device and do the testing.

Last edited by thebeginning; Yesterday at 05:25 PM.
thebeginning is offline   Reply With Quote
Reply

Tags
mp3, sox

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PW4 Sox Media Player KUAL extension initial release dhdurgee Kindle Developer's Corner 61 03-07-2022 11:45 AM
PW [KUAL] Yet another clock extension MrTick Kindle Developer's Corner 3 10-21-2019 03:06 PM
kual extension to open a book shoelesshunter Kindle Developer's Corner 14 08-16-2016 12:30 PM
Is there a Kual Extension/add-on for cloud eduardomb Kindle Developer's Corner 19 07-08-2016 05:43 PM
is there any KUAL extension development guide? fangzi Kindle Developer's Corner 2 01-02-2014 10:11 AM


All times are GMT -4. The time now is 08:48 AM.


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