![]() |
#1 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Mar 2023
Device: Kindle Paperwhite 5
|
![]()
Hi,
I have a jailbroken Kindle Paperwhite 5, and I require access to the BLE stack in order to use some commands. My goal is to find a way to build and install packages like BlueZ to get access to hciconfig, hcitool, and bluetoothctl. Although there are resources on creating development environment VMs for Kindles, I would appreciate receiving any tips or advice that you may have before investing days of time and effort in them to port on my SoC. Additionally, I noticed that "devcap-get-feature -a bluetooth" returns a value of "1", indicating that Bluetooth functionality is available. However, I do not have access to Bluetooth in the menu. How can I enable the Bluetooth feature on the UI so that I can connect to Bluetooth audio devices? Thanks |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,097
Karma: 12000220
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5, Kobo Libra 2, Kindle PW1
|
You must register / login the device to an Amazon account only then it will show all the options in Settings and also that BT on/off toggle.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Mar 2023
Device: Kindle Paperwhite 5
|
Oh, good point, thanks
![]() What about porting/building C applications for Kindle kernel, or adding to busybox. |
![]() |
![]() |
![]() |
#4 |
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
|
For CLI or systems stuff, just cross-compile to the right target and you're done?
(i.e., https://github.com/koreader/koxtoolchain [Use the binaries right now, the latest gnu make release breaks the glibc build. Updating those TCs, which will also fix this issue, is at the top of my TODO list]). |
![]() |
![]() |
![]() |
#5 | ||
rm -rf /
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 219
Karma: 3333683
Join Date: Nov 2019
Location: United Kingdom
Device: K5, KT, KT2, KT3, KT4, KV, PW2, PW3, PW4, PW5
|
Quote:
If things are similar to the other Kindles with Bluetooth, the BT stack on the device is an entirely different one provided by the chip vendor and is very limited /essentially a pile of shit. You'd need to swap it out with BlueZ entirely for the other tools to work IIRC. Quote:
This book is a great starting point: https://www.oreilly.com/library/view...ux/059600222X/ As for actually building stuff, the easiest way would be to do everything within buildroot to make compiling dependencies etc slightly less painful. |
||
![]() |
![]() |
Advert | |
|
![]() |
#6 |
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
|
Yup, buildroot will probably save you a good amount of hair-pulling, and has the added benefit of being (fairly) straight-forward, given the huge complexity of the task at hand
![]() |
![]() |
![]() |
![]() |
#7 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,778
Karma: 168765399
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
TWIMC: perhaps this thread should be moved to the Kindle Developer's Corner?
|
![]() |
![]() |
![]() |
#8 |
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
|
@DNSB: Oops, indeed, missed that fact
![]() Done. |
![]() |
![]() |
![]() |
#9 | |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Mar 2023
Device: Kindle Paperwhite 5
|
Quote:
I then proceeded to build Bluez along with its dependencies such as dbus, readline, and glib. Finally, I was able to obtain the necessary binaries and libraries. While investigating kernel compatibility and ensuring the Kindle was enabled for Bluetooth in the UI, I, unfortunately, made a mistake. This resulted in an auto-upgrade and I lost my jailbreak. I had previously looked into preventing auto-upgrades based on information from various threads, but I mistakenly assumed that my workaround was successful. However, it turned out that device registration triggered the upgrade process. ![]() |
|
![]() |
![]() |
![]() |
#10 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 875
Karma: 2525050
Join Date: Jun 2010
Device: K3W, PW4
|
Had you done the JB prior to the update? You might be able to apply the latest hotfix and recover from this.
Dave |
![]() |
![]() |
![]() |
#12 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Mar 2023
Device: Kindle Paperwhite 5
|
I tried this hotfix and it was rejected as an invalid update file.
K5 JailBreak Hotfix | JailBreak-1.16.N-FW-5.x-hotfix.zip | 2023-Jan-04 23:53:15 | 150.2K | 165a5e72bd9bb0de099459b96339f3cf | JB Hotfix |
![]() |
![]() |
![]() |
#13 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 875
Karma: 2525050
Join Date: Jun 2010
Device: K3W, PW4
|
Quote:
Dave |
|
![]() |
![]() |
![]() |
#14 |
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
|
I'm not in a position to check and/or rebuild anything at the moment; but, as a rule, if the snapshot's thread timestamp at the bottom predates a FW release date, the hotfix will obviously not work
![]() On the upside, you don't need to run the hotfix at all, just reboot a couple of times. |
![]() |
![]() |
![]() |
#15 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 875
Karma: 2525050
Join Date: Jun 2010
Device: K3W, PW4
|
Quote:
Dave PS: from the Open Sesame Thread: WARNING: FW >= 5.15.1.1 INTRODUCED A BREAKING CHANGE. DO NOT UPDATE! Last edited by dhdurgee; 03-19-2023 at 06:49 PM. |
|
![]() |
![]() |
![]() |
Tags |
bluetooth, development, kindle |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Troubleshooting Kindle PW5 Gen 11 wont turn on (Help!) | symondo | Amazon Kindle | 6 | 06-05-2024 07:01 AM |
New Kindle PW5 unable to be jailbroken | JSWolf | Amazon Kindle | 6 | 01-30-2023 05:33 AM |
Kindle screenshots & PW5 latest firmware(s) ? | valparizzo | Amazon Kindle | 2 | 09-05-2022 04:47 AM |
PW5 Kindle pw5 firmware update 5.14.3.0.1 | vansontv | Kindle Developer's Corner | 4 | 06-28-2022 06:56 PM |
Touch porting tinycore linux to touch | tom_a_sparks | Kobo Developer's Corner | 0 | 07-04-2015 09:55 AM |