Git Product home page Git Product logo

pbjb's Introduction

Use https://www.mobileread.com/forums/showthread.php?p=3921722 if you have an issue and can't narrow down proper cause/repro as other users on there may help you. Github is strictly for the technical side, not support.

по русски: http://4pda.ru/forum/index.php?s=&showtopic=886480&view=findpost&p=92768601

This tree uses both Pocketbook SDK for dynamic linking, as well as static musl libc cross compiler for critical services (ssh and smb). The SDK has poor portability between firmware versions, but allows for using ncurses or openssl (those are not suitable for static linking).

For static musl cross compiler: https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs/armv7-eabihf--musl--stable-2018.11-1.tar.bz2 For SDK cross compiler: https://github.com/ezdiy/pocketbook-sdk5/archive/master.tar.gz

Unpack, and point your $PATH to 'bin' folder in both SDKs (gcc are differentiated by cross prefix, cc and cc5 in makefile).

Alternatively you can use a Docker image for compiling and linking, it contains the necessary (i386) packages and the above compilers/toolchains.

Requirements: installed Docker environment

To prepare the Docker image, clone this repository with its submodule(s), if you haven't yet:

git clone https://github.com/ezdiy/pbjb.git --recurse-submodules --shallow-submodules

build the image:

cd pbjb
docker build -t pbjb .

To build pbjb, run the image (from within the same pbjb directory), this runs 'make':

./rundocker.sh

You can also specify a command to run, e.g. to run a 'make clean':

./rundocker.sh make clean

pbjb's People

Contributors

ezdiy avatar 1wap2toxuw avatar steadyquad avatar

Stargazers

Arren avatar Sergei Ianovich avatar Julian Dax avatar Adrian avatar Octopus avatar  avatar Swanny avatar  avatar Matthias Meulien avatar  avatar Ben Simms avatar Anton Danilov avatar Don Perignom avatar Pflegende Angehörige avatar Joe avatar Daniel Hauck avatar  avatar  avatar wojtekadams avatar  avatar  avatar DMz avatar Daniel avatar Anton Kuchekeev avatar Brian K avatar  avatar Denis Donici avatar  avatar Adrian Marciniuk avatar Daniel Hallgren avatar Elmar avatar  avatar Dawid Dziedzic avatar Lukas Stancik avatar Sandro avatar Junaid avatar Dejvino avatar Igor avatar Olivier Le Moal avatar Christian Mötzing avatar Leo Ossa avatar Vasilevsky Alexander avatar Pavel Atanasov avatar Jorge Gomez avatar  avatar Pavel Kuzmin avatar Hugo SCHOCH avatar Sergey Karatkevich avatar Exceptionz Project avatar Delius avatar  avatar Natanael Arndt avatar  avatar Victor Itkin avatar ac1ra avatar Peter Gasper avatar Ostap Konstantinov avatar  avatar Frans de Jonge avatar  avatar Pavel Stano avatar Jussi Tiira avatar  avatar  avatar Alexy Marcell avatar  avatar

Watchers

Erik Kunze avatar Pavel Stano avatar Denis S. Soldatov aka General-Beck avatar James Cloos avatar  avatar  avatar Andriy Byzhynar (GitHub) avatar Renaud Calmont avatar Zbynek avatar Lukas Stancik avatar  avatar Sergei Mironov avatar

pbjb's Issues

Pocketbook lux 4 - PB627

Hey,

I tried your rooting script but it didnt work. Is there a way to do this manually or to update the script.

thanks

Pocketbook Color 741 - report + LED issue

Thanks for this great hack!

I saw you're searching for ppl with other readers, so I'm happy to report the jailbreak works just fine on the current firmware, so do the services. The only issue I have found so far is when the 'suspend integration' is enabled, when I put the device to sleep, the LED on the button remains active.

Jailbreak not (fully) working on the latest firmware of Touch Lux 5

I stupidly updated my PocketBook Touch Lux 5 to U628.6.8.3090 without removing the jailbreak first. The update failed and when I turned on the PocketBook, the touch screen didn't work. When I tried to transfer data, I got the popup that asked me if I wanted to transfer data, but I couldn't choose anything. Luckily, the Wi-Fi still worked and I was able to send a swupdate.bin file (downloaded from the official PB website) to revert to the previus firmware version using this command:

sshfs -oHostKeyAlgorithms=+ssh-rsa root@192.[IP here]:/mnt/ext1 ~/Downloads/sw_20220720_U628_6.5.2890_user/

The downgrade was successful. I removed the jailbreak and updated without a problem. Now when I try to install the jailbreak, the PocketBook reboots like normal, but the jailbreak settings entry is nowhere to be found. And when I try to connect to the PocketBook with ssh, I get the error ssh: connect to host 192.[IP here] port 22: Connection refused. I still can use PBTerm to log in as root though.

It's possible that part of this exploit was fixed.

Services uninstall option seems to never be triggered

After installing root and services, everything works fine AFAIK.
If I want to uninstall services, I try to launch the "Services" script but it only asks me if I want to install it.
If I add a file "/mnt/secure/.pkgver" containing the string "v8-16-g8f1fb88", then uninstallation is possible.
I think there is an access right issue with the file, or it is removed somehow.
Tested and reproduced on
PB840 5.20.706, PB631 5.20.1527 and PB632 6.1.900.

Pocketbook Ultra (PB650)

Jailbreak script fails on Pocketbook Ultra (PB650), firmware W650.5.14.798.

First, I had to manually remove lines with iv2sh and dialog - there are no such binaries on the device.

Then, the script runs for quite some time, eventually printing Failed to install root.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.