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 10-08-2024, 12:24 PM   #1
Radian
Junior Member
Radian began at the beginning.
 
Radian's Avatar
 
Posts: 6
Karma: 10
Join Date: Oct 2024
Device: Paperwhite 2
5.12.2.2 Can't install USBNetwork

Following the Tutorial Open Sesame! (AKA., The New & Improved JailBreak Index) Using 7-zip on a Win PC to extract the files, I prepared a Paperwhite 2 (6th gen) using the WatchThis jailbreak. I applied the hotfix JailBreak-1.16.N-FW-5.x-hotfix.zip , MR Package Installer kual-mrinstaller-1.7.N-r19303.tar.xz , and then KUAL.

At this point I attempted to load USBNetwork kindle-usbnet-0.22.N-r19297.tar.xz using the 'Install MR Packages' helper and although I briefly saw the name of the package appear in the 'destroy' message, the package hasn't shown up in the KUAL menu.

On closer reading I realised I hadn't installed the coplate version of KUAL so applied the uninstall and then installed from KUAL-f190a38-20240104.tar.xz (my only mis-step AFAIK). This left me with two KUALs in the Library so I deleted the defunct one. But this has made no difference - further attempts to install the USBNetwork package still results in no-show.

I have since loaded other packages OK - e.g. Kterm so it seems strange to not get USBNetwork loaded. Any tips here folks?
Radian is online now   Reply With Quote
Old 10-08-2024, 08:05 PM   #2
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,247
Karma: 4738758
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
You don’t need tar.xz files, but rather .bin files from within those archives.

UsePeaSip to deal with tar files.
mergen3107 is online now   Reply With Quote
Old 10-08-2024, 08:05 PM   #3
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,247
Karma: 4738758
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
PeaZip*
mergen3107 is online now   Reply With Quote
Old Yesterday, 06:36 AM   #4
Radian
Junior Member
Radian began at the beginning.
 
Radian's Avatar
 
Posts: 6
Karma: 10
Join Date: Oct 2024
Device: Paperwhite 2
Quote:
Originally Posted by mergen3107 View Post
You don’t need tar.xz files, but rather .bin files from within those archives.
Yep. I only mentioned the use of 7-zip because I know some other compression utils can mess-up unix line endings. I'm extracting the .bin files either to mrpackages or the top level for UYK (/mnt/us)

This is so weird then. Screenshot below of package being loaded... if it gets this far then, how can it not show up in KUAL? I do understand that 'unsuitable' packages get 'silently' dropped which seems to be what's happening.

I don't know if it's significant but if I just drop the Update_usbnet_0.22.N_install_pw2_and_up.bin file into the top level directory, the UYK menu entry remains greyed-out. Is this to be expected?
Attached Thumbnails
Click image for larger version

Name:	screenshot_2024_10_03T16_56_55+0000.png
Views:	11
Size:	9.5 KB
ID:	211286  
Radian is online now   Reply With Quote
Old Yesterday, 08:31 AM   #5
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,247
Karma: 4738758
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
What does the mrpi log file say?
It is in its extensions folder
mergen3107 is online now   Reply With Quote
Old Yesterday, 09:45 AM   #6
Radian
Junior Member
Radian began at the beginning.
 
Radian's Avatar
 
Posts: 6
Karma: 10
Join Date: Oct 2024
Device: Paperwhite 2
Quote:
Originally Posted by mergen3107 View Post
What does the mrpi log file say?
It is in its extensions folder
There is no mrpi log file there or anywhere else. I just tried again to use the Install MR packages helper to load the USBNetwork package to check this... The installer ran as usual, producing the same output as the screenshot above, but left no log in the extensions folder.
Radian is online now   Reply With Quote
Old Today, 01:49 AM   #7
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,247
Karma: 4738758
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
Hmm, interesting. If you had success installing and uninstalling KUAL with mepi, it definitely should have logs somewhere.

Either extensions/mrpi or just extensions folder.

Can you check if your JB is working alright? Can you start KOReader?
mergen3107 is online now   Reply With Quote
Old Today, 04:15 AM   #8
Radian
Junior Member
Radian began at the beginning.
 
Radian's Avatar
 
Posts: 6
Karma: 10
Join Date: Oct 2024
Device: Paperwhite 2
Quote:
Originally Posted by mergen3107 View Post
Can you check if your JB is working alright? Can you start KOReader?
I havn't installed KOReader but have got a few other packages installed through mrpi. Other than that I havn't a clue how to check the JB is fully working - other than...
Code:
[kterm]# whoami
root
Radian is online now   Reply With Quote
Old Today, 12:53 PM   #9
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,247
Karma: 4738758
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
@Radian
Can you please double check once again, if you have the log?

I checked on my Kindle Scirbe (5.16.21, but shouldn't matter), and it is here:
/mnt/us/extensions/MRInstaller/log/mrinstaller.log

The insides look something like this:
Code:

**** **** **** ****

[2024-09-09 @ 14:30:52 -0400] :: [MRPI r19303] - Beginning the processing of package 'Update_usbnetlite_1.0.M_install_khf.bin' (usbnetlite 1.0.M I khf) . . .

Extracting update package 'Update_usbnetlite_1.0.M_install_khf.bin' to '/var/tmp/mrpi/staging'.
Bundle         SP01 (Signing Envelope)
Cert number    0
Cert file      pubdevkey01.pem (Developer)
Bundle         FD04 (Versionless [vls])
Bundle Type    OTA V2
Minimum OTA    0
Target OTA     18446744073709551615
Devices        34
Device         Kindle PaperWhite 4 (2018) WiFi (8GB) (0PP -> 0x2F7)
Device         Kindle PaperWhite 4 (2018) WiFi (32GB) (0T6 -> 0x366)
Device         Kindle PaperWhite 4 (2018) WiFi+4G (32GB) (0T1 -> 0x361)
Device         Kindle PaperWhite 4 (2018) WiFi+4G (32GB) Europe (0T2 -> 0x362)
Device         Kindle PaperWhite 4 (2018) WiFi (8GB) India (102 -> 0x402)
Device         Kindle PaperWhite 4 (2018) WiFi+4G (32GB) Japan (0T3 -> 0x363)
Device         Twilight Blue Kindle PaperWhite 4 (2018) WiFi (8GB) (16T -> 0x4DB)
Device         Twilight Blue Kindle PaperWhite 4 (2018) WiFi (32GB) (16Q -> 0x4D8)
Device         Plum Kindle PaperWhite 4 (2018) WiFi (8GB) (16U -> 0x4DC)
Device         Sage Kindle PaperWhite 4 (2018) WiFi (8GB) (16V -> 0x4DD)
Device         Kindle PaperWhite 4 (2018) WiFi (32GB) India (103 -> 0x403)
Device         Plum Kindle PaperWhite 4 (2018) WiFi (32GB) (16R -> 0x4D9)
Device         Sage Kindle PaperWhite 4 (2018) WiFi (32GB) (16S -> 0x4DA)
Device         Kindle Basic 3 (2019) (10L -> 0x414)
Device         White Kindle Basic 3 (2019) (0WH -> 0x3D1)
Device         Kindle Basic 3 (2019) Kids Edition (0VB -> 0x3AB)
Device         White Kindle Basic 3 (2019) (8GB) (0WF -> 0x3CF)
Device         Champagne Kindle Oasis 3 (2019) WiFi (32GB) (11L -> 0x434)
Device         Kindle Oasis 3 (2019) WiFi+4G (32GB) Japan (0WQ -> 0x3D8)
Device         Kindle Oasis 3 (2019) WiFi+4G (32GB) (0WN -> 0x3D6)
Device         Kindle Oasis 3 (2019) WiFi (32GB) (0WM -> 0x3D5)
Device         Kindle Oasis 3 (2019) WiFi (8GB) (0WL -> 0x3D4)
Device         Kindle Oasis 3 (2019) WiFi+4G (32GB) India (0WP -> 0x3D7)
Device         Kindle PaperWhite 5 Signature Edition (2021) (1LG -> 0x690)
Device         Kindle PaperWhite 5 (2021) (1PX -> 0x6FF)
Device         Kindle PaperWhite 5 Signature Edition (2021) (Variant 2BH) (2BH -> 0x971)
Device         Kindle PaperWhite 5 (2021) (Variant 2DK) (2DK -> 0x9B3)
Device         Kindle PaperWhite 5 (2021) (Variant 21A) (21A -> 0x82A)
Device         Kindle PaperWhite 5 Signature Edition (2021) (Variant 219) (219 -> 0x829)
Device         Kindle Basic 4 (2022) (Variant 2AQ) (2AQ -> 0x958)
Device         Kindle Basic 4 (2022) (Variant 2AP) (2AP -> 0x957)
Device         Kindle Scribe (16GB) (Variant 227) (227 -> 0x847)
Device         Kindle Scribe (64GB) (Variant 23M) (23M -> 0x875)
Device         Kindle Scribe (Variant 23L) (23L -> 0x874)
Critical       0
Padding Byte   0 (0x00)
MD5 Hash       bd5e2f184004f8e410bfc7c67ee241c4
Metadata       7
Metastring     PackageName=usbnetlite
Metastring     PackageVersion=1.0.M-r5b188ff
Metastring     PackageAuthor=Marek
Metastring     PackageMaintainer=Marek
Metastring     PackagedWith=KindleTool v1.6.5.314-g6df9cc9 built by bob@builder on Linux
Metastring     PackagedBy=bob@builder
Metastring     PackagedOn=2024-06-08 @ 10:15:10 UTC
x libotautils5
x install.sh
x usbnetlite.tar.xz
x xzdec
x usbnetlite-preinit.conf
x usbnetlite.conf
x libotautils5.sig
x install.sh.sig
x usbnetlite.tar.xz.sig
x xzdec.sig
x usbnetlite-preinit.conf.sig
x usbnetlite.conf.sig
x update-filelist.dat.sig
x update-filelist.dat
--
Running 'install.sh' for 'usbnetlite 1.0.M I khf' (Update_usbnetlite_1.0.M_install_khf.bin) @ Mon, 09 Sep 2024 14:30:52 -0400

system: I usbnetlite:install::installing custom directory
./build/mntus_package/usbnetlite/
./build/mntus_package/usbnetlite/run/
./build/mntus_package/usbnetlite/etc/
./build/mntus_package/usbnetlite/etc/dropbear/
./build/mntus_package/usbnetlite/etc/dropbear/authorized_keys
./build/mntus_package/usbnetlite/etc/VERSION
./build/mntus_package/usbnetlite/etc/config
./build/mntus_package/usbnetlite/bin/
./build/mntus_package/usbnetlite/bin/usbnetwork.sh
./build/mntus_package/usbnetlite/bin/xzdec
./build/mntus_package/usbnetlite/bin/usbnetwork
./build/mntus_package/usbnetlite/bin/dropbearmulti
./build/mntus_package/usbnetlite/bin/usbnet-link
./build/mntus_package/usbnetlite/bin/libkh5
./build/mntus_package/usbnetlite/bin/sftp-server
./build/mntus_package/extensions/
./build/mntus_package/extensions/usbnetlite/
./build/mntus_package/extensions/usbnetlite/config.xml
./build/mntus_package/extensions/usbnetlite/menu.json
./build/mntus_package/extensions/usbnetlite/bin/
./build/mntus_package/extensions/usbnetlite/bin/usbnetlite.sh
system: I usbnetlite:install::creating the /usr/local/bin directory if need be
system: I usbnetlite:install::installing SSH server
system: I usbnetlite:install::setting up usbnetwork command script
system: I usbnetlite:install::installing preinit upstart job
system: I usbnetlite:install::installing upstart job
system: I usbnetlite:install::cleaning up
system: I usbnetlite:install::done

Success! :)
This is an example for installing the package "usbnetlite" (it is only for higher FW >= 5.16.3, so don't worry about it).

Without the log it is hard to say what is going wrong.

Also, PW2 is fairly old platform, so all the model names should be in the package. Long story short, mrpi checks if the package targets this package before installing to make sure it is compatible.

In the mean time, we can still double check that your model number is indeed there.
Can you please share only three characters (#4 through #6) from your Kindle's Serial Number? For example, for a Serial Number of 16 characters, I need these:

AAAA BBBB CCCC DDDD
mergen3107 is online now   Reply With Quote
Old Today, 01:38 PM   #10
Radian
Junior Member
Radian began at the beginning.
 
Radian's Avatar
 
Posts: 6
Karma: 10
Join Date: Oct 2024
Device: Paperwhite 2
The serial numbers you asked for from #4~#6 are: ---4 22-- ---- ----

There's definitely no log file anywhere within MRInstaller...

Attached Thumbnails
Click image for larger version

Name:	Screenshot 2024-10-10 18.22.10.png
Views:	14
Size:	55.1 KB
ID:	211313  
Radian is online now   Reply With Quote
Old Today, 02:12 PM   #11
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,247
Karma: 4738758
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
Thanks! That is so weird though O_o.

Let's ask @NiLuJe, the author of all this
mergen3107 is online now   Reply With Quote
Old Today, 02:27 PM   #12
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,446
Karma: 100408738
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by Radian View Post
The serial numbers you asked for from #4~#6 are: ---4 22-- ---- ----
The sequence "422" does not appear in any S/N prefix in the wiki page
https://wiki.mobileread.com/wiki/Kindle_Serial_Numbers

so it looks like no one has reported it and code that depends on S/N doesn't know how to handle it. That could explain the problems. I've never heard of the JB working but not MRPI, but that doesn't mean anything.
j.p.s is offline   Reply With Quote
Old Today, 02:31 PM   #13
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,247
Karma: 4738758
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
I got the package for USBNet, and it has sources.

There is a file "libotautils5" that tries to get device ID to set screen parameters.
I don't see PW2 anywhere in that script.

However, if it doesn't find a match, it then just falls back to generic screen size.

I didn't find any other hard stops based on model name in the install.sh either.

The fact that MRPI worked for other packages tells me that mrpi itself works.

Weird...
mergen3107 is online now   Reply With Quote
Old Today, 02:37 PM   #14
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,247
Karma: 4738758
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
@Radian,

Do you currently have the usbnet folder in Kindle's main root?
mergen3107 is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PW3 Fail to install USBNetwork Hack WyattSivan Kindle Developer's Corner 1 02-21-2019 08:10 AM
USBNetwork help gett Kindle Developer's Corner 5 02-07-2016 08:07 AM
install multiple versions, install to ram drive cybmole Sigil 3 01-12-2015 02:13 AM
Hacks I want usbnetwork for 2.5.2 al3bsi Amazon Kindle 4 06-18-2010 12:55 PM
PRS-900 Sony Digital Edition Library Install, and Install, ... Hamlet53 Sony Reader 3 04-05-2010 03:29 PM


All times are GMT -4. The time now is 04:27 PM.


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