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 05-12-2019, 01:15 AM   #1
LivingOn
Junior Member
LivingOn began at the beginning.
 
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?
LivingOn is offline   Reply With Quote
Old 05-12-2019, 03:21 AM   #2
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 4,750
Karma: 13700000
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 9.7, iPad 10.5, 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:
Originally Posted by NiLuJe View Post
Packages targeting the Kindle 5 (Touch/PW1/PW2/KT2/KV/PW3/KOA/KT3/KOA2/PW4):

Last edited by ilovejedd; 05-12-2019 at 03:37 AM.
ilovejedd is offline   Reply With Quote
Advert
Old 05-12-2019, 07:27 PM   #3
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210797
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.
knc1 is offline   Reply With Quote
Old 05-12-2019, 07:49 PM   #4
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 4,750
Karma: 13700000
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 9.7, iPad 10.5, 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
ilovejedd is offline   Reply With Quote
Old 05-12-2019, 08:58 PM   #5
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 10,599
Karma: 18345810
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O & Forma
The mntroot rw bit *is* kind of important, though .
NiLuJe is offline   Reply With Quote
Advert
Old 05-12-2019, 09:09 PM   #6
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210797
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by ilovejedd View Post
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
Yup, that is how a tar bomb is installed.
But
if you can run the tar command, why not just run the mv command and move the certificate to the correct place?
knc1 is offline   Reply With Quote
Old 05-12-2019, 11:45 PM   #7
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 4,750
Karma: 13700000
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 9.7, iPad 10.5, iPad 12.9
Quote:
Originally Posted by knc1 View Post
Yup, that is how a tar bomb is installed.
But
if you can run the tar command, why not just run the mv command and move the certificate to the correct place?
I didn't know if there were permissions from the tar bomb that needed to be kept. I'm quite unfamiliar with *nix.
ilovejedd is offline   Reply With Quote
Old 05-12-2019, 11:48 PM   #8
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 4,750
Karma: 13700000
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 9.7, iPad 10.5, iPad 12.9
Quote:
Originally Posted by NiLuJe View Post
The mntroot rw bit *is* kind of important, though .
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
I'm unfamiliar with serial jailbreak. Would /mnt/us/ already be mounted automatically or does he need to mount that manually as well?
ilovejedd is offline   Reply With Quote
Old 05-13-2019, 08:12 PM   #9
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210797
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by ilovejedd View Post
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
I'm unfamiliar with serial jailbreak. Would /mnt/us/ already be mounted automatically or does he need to mount that manually as well?
If the USB cable is disconnected, it is both mounted and usable.


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).
knc1 is offline   Reply With Quote
Old 05-14-2019, 06:28 AM   #10
LivingOn
Junior Member
LivingOn began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2019
Device: kwp3
Quote:
Originally Posted by ilovejedd View Post
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
I'm unfamiliar with serial jailbreak. Would /mnt/us/ already be mounted automatically or does he need to mount that manually as well?
Thank you very much for your help,my pw3 has been jailbreak
LivingOn is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PW3 Serial jailbreaking help Gyiyg Kindle Developer's Corner 2 06-17-2019 07:05 AM
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


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


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