#force-koreader-landscape not working with type folio

1 messages · Page 1 of 1 (latest)

carmine sonnet
#

version 3.25.1.1
package installed through reManager
koreader keeps rotating resulting in not being able to use it fullscreen with the stand

neat vapor
#

via reManager, go to Maintenance and run xovi's debug command, copy the result and paste it here, or once it's running, (assuming reManager higher than 1.1.0) submit a support bundle and paste the URL to it here. That command won't terminate, so once it's run for a minute or so, stop it, then run xovi start

carmine sonnet
#

this part maybe?
Loading file forceKoreaderLandscape.qmd
[qmldiff]: Failed to load file /home/root/xovi/exthome/qt-resource-rebuilder/forceKoreaderLandscape.qmd: Error while parsing: expected Identifier, got Unknown('?')

neat vapor
#

that's the guy

ornate quiver
#

Too old qt-resource-rebuilder

neat vapor
#

which device?

carmine sonnet
#

rm2

neat vapor
#

which version of qt-resource-rebuilder do you have installed?

carmine sonnet
#

on reManager it says 17.0.0-r4

neat vapor
#

that's what I thought, no one should really get v16 via reManager / vellum

ornate quiver
#

@neat vapor Oh yeah, how do you publish the not-yet-released v18?

neat vapor
#

it's only in the testing repo

ornate quiver
#

Or do you not do that yet, before I make it a real release

#

Ah

neat vapor
#

@vast pond has been working on that PR

ornate quiver
#

Anything that uses wildcards (?[...]) syntax will break on v17 and earlier

neat vapor
#

oh I thought v17 supported wildcards?

obsidian imp
#

Isn't forceKoreaderLandscape.qmd the same between 3.24 and 3.25 though? It works for me on 3.24

neat vapor
#

yeah should be the same qmd content

ornate quiver
#

Oh right - yeah, that should work

carmine sonnet
#

haha okay i was looking at the github repo and you guys are the ones who make all of these things i feel a little stupid but am i just waiting for the v18 now?

ornate quiver
#

Try manually forcing v17 onto your tablet from my repo @carmine sonnet

#

That should make it work

neat vapor
#

that's not ideal

vast pond
#

@carmine sonnet could you do sha256sum ~/xovi/extensions.d/qt-resource-rebuilder.so and share the output?

carmine sonnet
#

316d60e8bc0597854172addb4b09ff7363a1148b8128c7e55977877a7e41910b /home/root/xovi/extensions.d/qt-resource-rebuilder.so

vast pond
#

which device?

ornate quiver
ornate quiver
neat vapor
#

I'm re-bootstrapping my rm2 to test

neat vapor
#

v17 should be 9a973f73123893f25d17c4d2e053de76583d58312b34e8aaabbecef3a4aee91f right

vast pond
ornate quiver
#

That's not v16 either

neat vapor
#

@m try hitting "vellum upgrade" in reManager maintenance

ornate quiver
#

I've no idea what qt-resource-rebuilder you're on, but it's none of the officially built ones

vast pond
carmine sonnet
#

is it just lying

neat vapor
#

hmm can you open the terminal (either via remanager or ssh) and run vellum fix qt-resource-rebuilder

#

had you installed any of the xovi stuff before reManager?

#

(or after)

carmine sonnet
#

no everything through remanager

vast pond
neat vapor
#

should

carmine sonnet
#

(1/1) Reinstalling qt-resource-rebuilder (17.0.0-r4)
ERROR: qt-resource-rebuilder-17.0.0-r4: DNS: transient error (try again later)

neat vapor
#

damn rm dns

#

toggle airplane mode on, wait a couple seconds, then turn off airplane mode

obsidian imp
neat vapor
#

then re-run that command

carmine sonnet
#

OK

#

omgggg thank you all so much its working now

neat vapor
#

I wonder how that happened

vast pond
#

okay now the question is how that happened in the first place

neat vapor
#

could you submit a support bundle, no need to post it here, I'll take a look at the logs on my end 🙂

vast pond
#

could you do sha256sum /home/root/xovi/extensions.d/*.so, curious if it's just qrr or all xovi-extensions

neat vapor
#

oo good call

carmine sonnet
#

e6cd2f6b1a00a2bf6a5aef2570a0668ad1a4d915c1945164a5f8cfff7bc94272 /home/root/xovi/extensions.d/appload.so
b4c07a6f1ed100517633dff081f46b9d94bdc4e598dee8a57b81cea1da78ca8b /home/root/xovi/extensions.d/fileman.so
a60ef8ad3f3cd96e0904cc8dd1554ff318a4e0f0fac8bbe7d1a1ad2e47e4f1e0 /home/root/xovi/extensions.d/framebuffer-spy.so
1e1300097b0544c8adcfc29287ff2988e9a6469ee05f62da5a266238bd7d91f7 /home/root/xovi/extensions.d/qt-command-executor.so
9a973f73123893f25d17c4d2e053de76583d58312b34e8aaabbecef3a4aee91f /home/root/xovi/extensions.d/qt-resource-rebuilder.so
f31f0b44fb86591a7fbf735d63a403ff1eb575b779138949b1c2d323228c2dd0 /home/root/xovi/extensions.d/random-suspend-screen.so
cfc1db7ace0addf699d992c07d8d4d79c38e4f14cfc9f211580e0ec577d70f17 /home/root/xovi/extensions.d/webserver-remote.so
0bd54e0d14a2bdeb10ede78d7afcc0f0d7bd9cf0e64e019a494780250c3adb07 /home/root/xovi/extensions.d/xovi-message-broker.so

neat vapor
#

hold on

ornate quiver
#

BTW: I'm still open for the ideas on how to fix this correctly, LOL. There should be no need for that qmd file, if appload worked correctly.

neat vapor
#

there's no way reManager installed those

ornate quiver
#

Oh yeah - do not run fileman if you're not a developer haha

neat vapor
#

fileman's never been packaged in vellum

vast pond
#

are you sure you haven't installed xovi after (or before) remanager?

neat vapor
#

vellum list -I would be interesting too

carmine sonnet
#

yea because the first thing i wanted and knew of was koreader and when installing it xovi is a dependency right? so remanager installed like 5 other things

ornate quiver
#

Yes, but fileman is a tool that remanager couldn't have installed

vast pond
ornate quiver
#

It's meant to be used for developers for hooking low-level file access

carmine sonnet
vast pond
#

you can send the history here probably

neat vapor
#

yeah you could do history | grep xovi

vast pond
#

also history | grep extensions might be useful, since the libs were moved from there

neat vapor
#

ah yeah I forget xovi isn't in the extensions zip name

carmine sonnet
vast pond
#

that doesnt even have xovi in it

#

wait but you need to do that on the remarkable, not your computer

carmine sonnet
#

i didnt copy the whole command but it was there in the file path

#

oh haha

#

45 cd ./home/root/xovi/exthome/appload/koreader
50 cd xovi
58 sha256sum ~/xovi/extensions.d/qt-resource-rebuilder.so
61 sha256sum /home/root/xovi/extensions.d/*.so
63 history | grep xovi

#

history | grep extensions
58 sha256sum ~/xovi/extensions.d/qt-resource-rebuilder.so
61 sha256sum /home/root/xovi/extensions.d/*.so
64 history | grep extensions

ornate quiver
#

Honestly, I suggest a full reinstall at this point

#

At least of xovi and friends

#

QMDs are probably all OK, and so are koreader apps

#

But the extensions are weird

vast pond
#

can you also do find xovi -maxdepth 3?

carmine sonnet
#

xovi
xovi/debug
xovi/stock
xovi/extensions.d
xovi/extensions.d/fileman.so
xovi/extensions.d/webserver-remote.so
xovi/extensions.d/xovi-message-broker.so
xovi/extensions.d/random-suspend-screen.so
xovi/extensions.d/qt-command-executor.so
xovi/extensions.d/appload.so.conf
xovi/extensions.d/framebuffer-spy.so
xovi/extensions.d/appload.so
xovi/extensions.d/qt-resource-rebuilder.so
xovi/start
xovi/xovi.so
xovi/stop
xovi/rebuild-hashtable.sh
xovi/exthome
xovi/exthome/appload
xovi/exthome/appload/koreader
xovi/exthome/qt-resource-rebuilder
xovi/exthome/qt-resource-rebuilder/unlockMethodsContent.qmd
xovi/exthome/qt-resource-rebuilder/_ingatellent.qmd
xovi/exthome/qt-resource-rebuilder/hashtab
xovi/exthome/qt-resource-rebuilder/enableAllColors.qmd
xovi/exthome/qt-resource-rebuilder/forceKoreaderLandscape.qmd
xovi/exthome/qt-resource-rebuilder/ingatellent
xovi/rebuild_hashtable

vast pond
#

stop?

#

appload.so.conf?

carmine sonnet
#

okay i think i was trying to install something else maybe? and gave up on it in the middle becuase i remember something with the rebuild hashtable

vast pond
#

hmmmmm

#

have you used "freemarkable" in the past?

ornate quiver
#

Yeah... I don't remember writing these files, like ever

carmine sonnet
#

im sorry guys i might have been lying about not installing anything before or after but i honestly dont remember

ornate quiver
#

I've no idea what xovi/stop is and I wrote the damned thing 🤣

neat vapor
#

it's okay, we're just trying to figure out the mystery

carmine sonnet
#

no it was not freemarkable

vast pond
carmine sonnet
#

let me check my search history

neat vapor
#

readmarkable? my enemy

#

hmm I don't see it there either (at least in the copy of the source I have)

carmine sonnet
#

omg yea i first tried it with readmarkable

#

but that didnt work

#

so i used remanager

neat vapor
#

lol more proof that dude just ripped off freemarkable

ornate quiver
#

Did readmarkable really install fucking everything and the kitchen sink into the extensions?

#

That's irresponsible LOL

neat vapor
#

yeah but I think freemarkable did too

#

(since that's where they stole the code from)

vast pond
neat vapor
#

there's plenty of blame for readmarkable

carmine sonnet
#

haha is there remarkable drama

neat vapor
#

so reManager exists because readmarkable exists

#

I saw them making a closed source tool that stole community-made software without attribution, and I spent 3 weeks writing reManager and a package system for it to use lol

vast pond
#

like it's mounting / as rw on xovi/start, making the xovi systemd dropin permanent

#

@carmine sonnet do cat xovi/start | head -n 10

neat vapor
#

at this point, I'd recommend the following:

rm -r xovi
rm -r .vellum

then re-install via reManager

ornate quiver
#

Recipe for disaster

neat vapor
#

that will delete everything in xovi, you may not have to go that hard

ornate quiver
carmine sonnet
vast pond
#

yea you might want to make a backup of xovi/exthome

ornate quiver
#

Essentially it's the nuclear approach: Start over. Also, make sure you don't have anything written to root, because if what notfrants says is true then that might actually brick your tablet

neat vapor
#

ah true crap, what a mess

ornate quiver
#

The safest thing here would probably be to update to the same version you're on, then restarting, then removing xovi and starting anew with reManager only

neat vapor
#

you might want to do a fresh os install. Easiest steps (probably):

  • install rm-version-switcher via reManager
  • run it, swap to booting from your backup partition
  • once you reboot into the previous version, check for updates, install 3.25.1.1, reboot into it
  • then do the deletes I mentioned
ornate quiver
#

It's amazing how many people do not get why I explicitly made xovi this way

vast pond
carmine sonnet
vast pond
#

or in general?

carmine sonnet
#

okay right i should be able to follow instructions

neat vapor
#

those steps are safe

vast pond
carmine sonnet
#

#!/bin/bash
mkdir -p /etc/systemd/system/xochitl.service.d
mount -t tmpfs tmpfs /etc/systemd/system/xochitl.service.d
cat > /etc/systemd/system/xochitl.service.d/xovi.conf << 'XOVI_CONF'
[Service]
Environment="QML_DISABLE_DISK_CACHE=1"
Environment="QML_XHR_ALLOW_FILE_WRITE=1"
Environment="QML_XHR_ALLOW_FILE_READ=1"
Environment="LD_PRELOAD=/home/root/xovi/xovi.so"
XOVI_CONF

vast pond
#

okay at least remanager saved that

vast pond
neat vapor
#

I really don't know why the freemarkable person rewrote all the installers...

#

lol apparently a couple new people are trying to keep freemarkable alive

carmine sonnet
vast pond
#

of what?

carmine sonnet
#

swap to booting from your backup partition means that i will boot into a backup? im assuming i had to make something like that or am i understanding it wrong sorry guys

vast pond
#

fallback would be a better word probably

neat vapor
#

ah no, just the OS, reMarkable runs an A/B os scheme

carmine sonnet
#

oh okay im going to try this then

neat vapor
#

so when you do an OS upgrade, it upgrades the fallback partition, then boots into and that's the new active partition. Then the next upgrade does the other one, so you're always flip-flopping between then as you do upgrades

carmine sonnet
#

oo cool thank you

neat vapor
#

is it a dick move to go plug my own tool in freemarkable's github issues lol

#

how was there a PR 30 min ago? lol

vast pond
#

maybe ping @scaredpelican since it's their project? they have some explanation to do lol

#

wait hold on they left the server

neat vapor
#

Was that wowitsjack?

#

I think they left when they got rid of their rM

#

Which was like a week after making the project…

vast pond
neat vapor
#

Antlers yep

carmine sonnet
#

thank you everyone you have been really helpful i have reinstalled the packages and everything works yay

ornate quiver
#

Happy to hear that 🙂

neat vapor
#

Make sure you disable rM autoupdates

#

Then check compatibility for your installed packages before you pull the trigger on upgrading the OS. reManager has a Check OS button for that.

carmine sonnet