#[SOLVED] Get an error when I debug with the rM Hacks (QMLDiff version)

1 messages · Page 1 of 1 (latest)

dry plover
#

At the debug step I cant get the hacks to work and I get errors when I open a document

07:47:47.353 rm.worker.unix /home/root/.local/share/remarkable/xochitl/c88a37c8-81ae-43f3-9e5f-51b38f76d494.pdf: ERROR: ld.so: object '/home/root/xovi/xovi.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. (logErrors /home/runner/work/xochitl/xochitl/src/worker/src/pdfrenderer_unix.cpp:141) 07:47:47.368 rm.scenefile File has UUID map with 1 entries Im on a rM2 - 3.20.0.92 Using the 0.0.11-pre2

Extensions:
-rw-r--r-- fileman.so
-rw-r--r-- qt-command-executor.so
-rwxr-xr-x qt-resource-rebuilder.so
-rw-r--r-- xovi-message-broker.so

vestal dew
#

Give me about 5 minutes and I should have something for you, 10 tops. Are you generally pretty familiar with SSH and SCP? What OS are you installing from (Windows, Mac, Linux)?

dry plover
#

Im on Windows atm
ssh and scp is fine

vestal dew
#

rmHacks Manual Install Guide

Disclaimer: This guide was not written by a developer, just another Xovi user.

This guide assumes a blank slate, and that you haven't already tried installing xovi. If you have, and want to follow this guide, you should first clean up your first attempt by running (on your reMarkable over SSH): rm -rf ~/xovi.

(Currently abbreviated steps. Feel free to ask GreySim for help installing if needed. Use @GreySim to get attention, please do not direct message.)

Download Xovi

Get the latest release available from: https://github.com/asivery/rm-xovi-extensions/releases

If you're on a reMarkable Paper Pro, get extensions-aarch64.zip.

If you're on a reMarkable 1 or 2, get extensions-arm32-testing.zip.

Unzip the files on your computer.

Using SCP (either the scp command, WinSCP, Cyberduck, or whatever SCP app works for you) transfer install-xovi-for-rm and qt-resource-rebuilder.so to /home/root on your reMarkable.

For example (from the directory you unzipped the files to):

scp install-xovi-for-rm qt-resource-rebuilder.so [email protected]:/home/root

Install Xovi

SSH into your reMarkable. Run:

chmod +x install-xovi-for-rm

./install-xovi-for-rm

mv qt-resource-rebuilder.so xovi/extensions.d

mkdir xovi/exthome/qt-resource-rebuilder

xovi/rebuild_hashtable

The last command in particular could take a minute or two, and it's not ready until you see the command prompt again.

#

Optional Validation

If you run find xovi | sort, the output should look like this:

xovi
xovi/debug
xovi/dlfile
xovi/extensions.d
xovi/extensions.d/qt-resource-rebuilder.so
xovi/exthome
xovi/exthome/qt-resource-rebuilder
xovi/exthome/qt-resource-rebuilder/hashtab
xovi/rebuild_hashtable
xovi/start
xovi/stock
xovi/xovi.so

If you get the same output, you should have all the files in the correct place so far.

Install rmHacks

Download rmHacks from https://github.com/asivery/rm-hacks-qmd (use the Code dropdown to Download ZIP). Unzip the file.

If you're running 3.20, you're going to want to use the contents of the 0.0.11-pre2 folder.

Using your SCP app of choice, move zz_rmhacks.qmd and the rmHacks folder to /home/root/xovi/exthome/qt-resource-rebuilder.

For example (from the 0.0.11-pre2 directory):

scp zz_rmhacks.qmd [email protected]:/home/root/xovi/exthome/qt-resource-rebuilder

scp -r rmHacks/ [email protected]:/home/root/xovi/exthome/qt-resource-rebuilder

Optional Validation

Run find xovi | sort again, just like before:

dry plover
#

holy 🤯

vestal dew
#

Run for the First Time

SSH in to your reMarkable. Run: xovi/debug

This will not "complete", but it should cause your reMarkable to restart the GUI. Once that happens, open Settings on your device and there should be a new rmHacks section.

(As of the time of this writing, at least one section is intentionally left blank and is normal. It does not mean something failed to install.)

If you have the rmHacks menu, the install was successful. If something was not successful, the output in your SSH session probably references an error that will be useful in determining what went wrong.

If successful, you can press Ctrl + C in the SSH session where xovi/debug was started to end the debug session.

Run rm install-xovi-for-rm to remove the installation script.

You probably don't strictly need to reboot, but I like to at this point.

Going forward you can now start rmHacks and Xovi by running xovi/start over SSH.

Optional: Install Triple Tap

Every time you reboot the reMarkable, you'll need to SSH in to run xovi/start. This could be a problem if you're not at your computer. One solution is to install this extra script/service created by a different developer: https://github.com/rmitchellscott/xovi-tripletap

If you install this, you can start Xovi by pressing the power button three times in 2 seconds or less.

The author of this guide used the automated installer for this service on their own device, but as the instructions very correctly state:

Piping code from the internet directly into bash can be dangerous. Make sure you trust the source and know what it will do to your system.

Manual install instructions are available on the page as well.

#

End of Guide

You can try just the Download Xovi and Install Xovi portions.

#

But if that doesn't work, you might just want to run through the whole process.

dry plover
#

schweet, thank you
Think I found my first faulty step
I should using the extensions-arm32-testing.zip instead 🙂

vestal dew
#

Feel free to ask any additional questions or for any help not covered by the guide. Could help make the guide better for others in the end. Similar note: if you got it up and running with no further issues, that's also good to know (and a small morale boost).

dry plover
#

This was awsome, super straight forward and got it all working with easy clean slate and following the steps

#

All seems be running now and after reboot and relaunch its there

#

Thanks so so much ❤️

#

Any chanse I can buy you a coffie? 🙂

vestal dew
#

I don't have any easy way to facilitate that, but if you look at @topaz wraith's profile they're the one who really put in the hard work of actually making Xovi and I know they have something like a ko-fi profile in their Discord profile.

#

(Sorry to ping you, just wanted to provide an easy link to your profile.)

dry plover
#

For sure, this is awsome
I'll donate there

#

This guide, is it okey if I post it in a git-post on the site?

#

I multi posted and now wanna spread the word

vestal dew
#

I would prefer not, for the moment. I have a few other pieces I'd like to integrate. Where were you wanting to post it though? I can try to prioritize getting it there sooner than later.

dry plover
#

Sure, no problem
I close it normaly with the main faulty step I did (not using extensions-arm32-testing.zip for my rM2)

vestal dew
#

Sounds good. I will probably try to work with asivery to get the guide posted on the repo directly, if that's something he wants to do. I know he was supportive of something being written, at least. I think he might be on holiday/vacation at the moment though.

dry plover
#

Cool cool, this worked 100% and was easy to follow on my end

#

Thanks again and have an awsome day you 🙂

dry plover
#

[SOLVED] Get an error when I debug with the rM Hacks (QMLDiff version)

vestal dew
#

Definitely feel free to leave this up. Other people may find it useful. I just want to finish merging it with some other instructions I have before posting it more widely.

dry plover
#

Just a followup I saw now, in the rM Hack meny, there is a tab for Quicktools that is empty
You know if there suppose to be there?
All others have stuff to toggle

vestal dew
#

Yep. Per the guide:

#

(As of the time of this writing, at least one section is intentionally left blank and is normal. It does not mean something failed to install.)

#

Stylus is also empty.

dry plover
#

Missed those

vestal dew
#

It was a common enough question that I figured it was worth putting right in the instructions.

dry plover
#

hehe yea, I can see why

dry plover
#

For the sake of logging i just got home and got it working just fine with the guide on my rMPP
Have to say Mono mode is sooo nice

woven aspen
# vestal dew # rmHacks Manual Install Guide Disclaimer: This guide was not written by a deve...

@vestal dew Thanks for this install guide. I am having a go at installing on my reMarkable. So far I've got as far as installing xovi and typing the command xovi/rebuild_hashtable. You then warn 'The last command in particular could take a minute or two, and its not ready until you see the command prompt again.' So after an hour, it hasn't returned to the command prompt. Instead it is giving periodic updates about rm.batterymanager: 08:19:06.092 rm.batterymanager Setting light sleep timer interval to 120000ms (makeLightSleepTimer /home/runner/work/xochitl/xochitl/src/xofm/libs/batterymanager/src/batterymanager.cpp:666)' I have ssh'd in on a different terminal and the find xovi | sortshows everything in place. Should I just cmd-c out of therebuild_hashtable` or might I break something. It is now an hour since I ran the command and it appears to simply be returning events rather than running anything.
Thanks—and apologies for my ignorance and timidity!

#

Also, in case it is relevant, I have version 3.18.2.3 of the reMarkable software with updates off at present. Should I be updating before running all this?

#

I can paste the output in here, but didn't want to to do so unless encouraged, as I'm new to this group and don't know whether that counts as spamming everyone or if there is a better way to send the logs. 🙂 Thanks.

#

As the reMarkable is still running fine, I'm assuming I could reboot; upgrade (because I see that asivery's rm-hacks-qmd seems to want either 3.20.0.92 or 3.17.0.72); try running the `rebuild_hashtable' command again; and then continue. Any thoughts on this?

vestal dew
#

Just now seeing this. Strongly suggest upgrading to 3.20.

woven aspen
#

Thanks very much. I shall do that. Reboot first.