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

Go Back   MobileRead Forums > E-Book Readers > Sony Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 01-22-2018, 06:32 AM   #1
hadesome1
Junior Member
hadesome1 got an A in P-Chem.hadesome1 got an A in P-Chem.hadesome1 got an A in P-Chem.hadesome1 got an A in P-Chem.hadesome1 got an A in P-Chem.hadesome1 got an A in P-Chem.hadesome1 got an A in P-Chem.hadesome1 got an A in P-Chem.hadesome1 got an A in P-Chem.hadesome1 got an A in P-Chem.hadesome1 got an A in P-Chem.
 
Posts: 8
Karma: 6270
Join Date: Jan 2018
Device: DPT-RP1
Lightbulb Unpack and rebuild the DPT-RP1 upgrade firmware

Hi guys! Before, i found something in the jailbroken DPT-RP1.
https://www.mobileread.com/forums/sh...d.php?t=293735

Now, I pull out the FactoryReset.pkg and some scripts.
(FactoryReset.pkg, start_eufwupdater.sh, dec.key, sig.key)

It means that, we could likely modify the .pkg file and make an upgrade.

For now, I can unpack the .pkg file, the problem is how to rebuild a modified .pkg?

Unpack command:
Code:
start_eufwupdater.sh FactoryReset.pkg out out/sig.key out/dec.key

If you run it directly, may get an error likes this:
Code:
./start_eufwupdater.sh: 50: ./start_eufwupdater.sh: arithmetic expression: expecting primary: ""
It’s about the problem of anim section, remove anim stuff in the start_eufwupdater.sh, we don’t need it.
Just delete the whole of this part:
Code:
########################################
# start animation for package check
########################################

And then run the command again
Code:
start_eufwupdater.sh FactoryReset.pkg out out/sig.key out/dec.key

Or you can run the script which I have remove the anim stuff
Code:
start_eufwupdater2.sh FactoryReset.pkg out out/sig.key out/dec.key

Finally, you can get some files in the “out” folder
(FwUpdater aes256.key iv sig.dat)
The “FwUpdater” folder contains the resources.


So,the problem now, is how to rebuild the resources back into a .pkg?

All files has been uploaded to github
https://github.com/hadesome1/Unpack-...grade-firmware

Welcome to discuss together!

My email: hadesome1@gmail.com
My skype: https://join.skype.com/invite/JPNMlTtXodmB

Last edited by hadesome1; 01-22-2018 at 06:38 AM.
hadesome1 is offline   Reply With Quote
Advert
Old 01-31-2018, 12:15 AM   #2
xvan
Member
xvan began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Apr 2017
Device: Papwerwhite
Hi, following this up.
Just purchased my RP1. How would you replace the pkg on a locked device?
If you perform a factory reset, do you loose the Chinese man fix?

For a secure device like this one, I don't think unsigned updates will be accepted, but everything is possible.

On my side I'll try to reverse the pairing process for a full linux file managing. Maybe I can find something related to the upgrade process, either now or when the promised update finally comes.

Last edited by xvan; 01-31-2018 at 12:18 AM.
xvan is offline   Reply With Quote
Old 02-10-2018, 05:12 AM   #3
svosg13
Member
svosg13 began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jun 2015
Location: Seattle, WA
Device: PRS-T1, DPT-S1, DPT-RP1
have you found anything xvan?
Quote:
Originally Posted by xvan View Post
On my side I'll try to reverse the pairing process for a full linux file managing. Maybe I can find something related to the upgrade process, either now or when the promised update finally comes.
svosg13 is offline   Reply With Quote
Old 02-10-2018, 12:31 PM   #4
xvan
Member
xvan began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Apr 2017
Device: Papwerwhite
Quote:
Originally Posted by svosg13 View Post
have you found anything xvan?
The device is enumerated as a cda_acm serial device.

Through that interface some commands are sent that restart the USB is as an rndis nic. Even a new device id is assigned.

Under windows, this happens at the time the dpapp is opened
This is the first time I've never seen something like this, but my USB experience isn't that large.


My guess is that the updates will be uploaded via the rest API, but we'll have to wait for that.
xvan is offline   Reply With Quote
Old 02-13-2018, 06:21 AM   #5
gzqreder
Junior Member
gzqreder began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Feb 2018
Device: DPT-RP1
Great work!!! Can you share /usr/local/bin/factory_reset.sh?
gzqreder 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
Former DPT-S1 lovers: Should I upgrade to RP1? gbgbgb Sony Reader 0 01-13-2018 05:35 PM
DPT-RP1 firmware update expected early next year sartrism Sony Reader 5 12-23-2017 01:37 PM
DPT-RP1 new firmware coming? fgdas Sony Reader 5 12-09-2017 03:42 PM
DPT-RP1 EULA Concerns Hoojamaflip Sony Reader 10 09-22-2017 09:27 AM
DPT-RP1: The successor to Sony's DPT-S1 davester News 0 04-10-2017 05:08 PM


All times are GMT -4. The time now is 03:13 AM.


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