Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

webui_invincibility.sh

Patrick Pedersen edited this page May 30, 2019 · 16 revisions

Source

As of OS version 1.7.1.3 the device disables the Web Interface setting at every device boot. To many users this may be an obnoxious implementation/flaw as a vast number of community reMarkable scripts, including our repush and repull scripts, rely on the WebUI. The webui_invincibility script patches the reMarkable's interface, xochitl, to prevent the device from disabling the WebUI.

NOTE: Due to the way this patch works, the WebUI switch can no longer be turned off from the settings once it has been turned on. To turn off the WebUI again, one must either set the WebInterfaceEnabled property in /.config/remarkable/xochitl.conf to false or simply undo the patch using the -u option of this script.

NOTE: Do not attempt to use this patch on a different OS version than 1.7.1.3

Dependencies

Installation

To obtain the latest copy of the script:

$ wget https://github.com/reHackable/scripts/raw/master/host/webui_invincibility.sh

Usage

Usage: webui_invincibility.sh [-v] [-h] [-u backup] [-r ip]

Options:
-v			Display version and exit
-h			Display usage and exit
-u			Undo patches
-r			Patch remotely via ssh tunneling

The script will create a backup of the xochitl binary before applying any patches. You will need this backup if you wish to undo the patch with the -u parameter.

If you have lost your xochitl backup you can obtain a copy of the xochitl binary for OS version 1.7.1.3 here.

Examples

Patch the device via USB

$ bash webui_invincibility.sh

Patch the device remotely, assuming the device ip is 10.0.0.43.

$ bash webui_invincibility.sh -r 10.0.0.43

Undo patches

$ bash repush.sh -u xochitl_backup

FAQ

Q: How do I undo the patches?

A: You can undo the patches by running the patcher with the -u option. This option demands a original xochitl binary for OS version 1.7.1.3 which should be the backup was made when the device was patched.

Issues

Should an issue arise that has not been covered throughout this wiki entry, feel free to submit an issue. We will try our best to respond in time, but would also like to remind everyone that this is voluntary work, and people are busy!

Clone this wiki locally