05-12-2019, 01:15 AM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: May 2019
Device: kwp3
|
PW3,fw 5.10.3 serial jailbreaking help
Hello everyone
I have a pw3 32 fw5.10.3. And according to what I have read https://www.mobileread.com/forums/sh...d.php?t=267541,I have reached the stage of installing the "main-htmlviewer.tar.gz" , but the latest version of the jailbreak plug-in obviously cannot be installed according to the method in the previous post. How to install the jailbreak plug-in, what are the specific steps, and who can help me? |
05-12-2019, 03:21 AM | #2 | |
hopeless n00b
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
As far as I'm aware, the jailbreak process pretty much just copies the file: pubdevkey01.pem into the directory /etc/uks/ with the requisite permissions.
If you have main-htmlviewer.tar.gz from the Factory JB package on the usb root perhaps the following might work. Code:
tar xvf /mnt/us/main-htmlviewer.tar.gz Quote:
Last edited by ilovejedd; 05-12-2019 at 03:37 AM. |
|
Advert | |
|
05-12-2019, 07:27 PM | #3 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Actually that is wrong.
the ;installHTML search bar command expects a compressed archive (*.tar.gz) So just move the compressed archive to the visible root of USB storage. And use the search bar command to install the contents. Note: Only the "factory_*.bin" images have a working ;installHTML search bar command. I may have the case wrong on the above command, but I am sure anyone can figure out what command I am writing about. If on MacOS or Windoze OS - be careful that the OS has not helpfully converted the "tar bomb" (which is correct) into a "safe archive" which will not work. |
05-12-2019, 07:49 PM | #4 |
hopeless n00b
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
OP has a PW3 on 5.10.3 and is doing a serial jailbreak (last factory fw available thus far is 5.9.6.1). From his post, it seems like he already has shell access but further instructions from the serial jailbreak thread are geared towards older devices/firmware.
;installHtml just runs /usr/local/bin/InstallHtmlViewer.sh and this is pretty much what that script contains. Code:
#!/bin/sh
#
# Copyright (c) 2012 Amazon.com, Inc. or its affiliates. All rights reserved.
# PROPRIETARY/CONFIDENTIAL
# Use is subject to license terms.
#
# Populate the files for html viewer
# root path after main-htmlviewer.tar.gz is extracted
FILE_PATH=/mnt/us/transferfiles
# copy files from tar to folders on device
mntroot rw
cd /mnt/us
tar xvf /mnt/us/main-htmlviewer.tar.gz
cd $FILE_PATH
cp wafapp /usr/bin/
if [ -f /var/local/waf/htmlviewer ]
then rm -rf /var/local/waf/htmlviewer
fi
if [ -f /opt/var/local/waf/htmlviewer ]
then rm -rf /opt/var/local/waf/htmlviewer
fi
cp -r htmlviewer /opt/var/local/waf/
if [ -f /mnt/us/html_demos ]
then rm -rf /mnt/us/html_demos
fi
cp -r html_demos /mnt/us/
cp htmlviewer.install /mnt/us/
# register application, cleanup and restart
register htmlviewer.install
cd ..
rm -rf $FILE_PATH
usbnetwork stop
restart appmgrd
restart x
restart framework
|
05-12-2019, 08:58 PM | #5 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
The mntroot rw bit *is* kind of important, though .
|
Advert | |
|
05-12-2019, 09:09 PM | #6 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
But if you can run the tar command, why not just run the mv command and move the certificate to the correct place? |
|
05-12-2019, 11:45 PM | #7 |
hopeless n00b
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
I didn't know if there were permissions from the tar bomb that needed to be kept. I'm quite unfamiliar with *nix.
|
05-12-2019, 11:48 PM | #8 |
hopeless n00b
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Thank you for the correction. I was just throwing out an idea based on how I understand the factory jailbreak to work. I'm guessing OP would need at least these two lines?
Code:
mntroot rw tar xvf /mnt/us/main-htmlviewer.tar.gz |
05-13-2019, 08:12 PM | #9 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
If the user storage area is exported over USB (storage accessible), then it is mounted but can not be used internally (what the serial port command line is). |
|
05-14-2019, 06:28 AM | #10 | |
Junior Member
Posts: 2
Karma: 10
Join Date: May 2019
Device: kwp3
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PW3 Serial jailbreaking help | Gyiyg | Kindle Developer's Corner | 7 | 11-05-2020 02:30 PM |
Jailbreaking PW3 | Metrix84 | Kindle Developer's Corner | 9 | 09-05-2018 09:36 AM |
Jailbreaking PW3 Questions | wozeparrot | Kindle Developer's Corner | 5 | 07-01-2018 02:07 PM |
Re-jailbreaking PW3 on 5.8.9? | bemfica | Amazon Kindle | 10 | 08-19-2017 04:53 AM |
jailbreaking kindle PW3 | Jearth0182 | Kindle Developer's Corner | 8 | 05-10-2017 02:19 AM |