ddvk / remarkable-hacks

additional functionality via binary patching
MIT License
1.67k stars 82 forks source link

3.0 out of beta #496

Open StaffanBetner opened 1 year ago

StaffanBetner commented 1 year ago

3.0 is now slowly rolling out. The version number is 3.0.4.1305.

emilBeBri commented 1 year ago

Just got the type folio, and would love to be able to switch between 2.15 and 3.3, using 3.3 only to write with the keyboard on certain notebooks (that I know I wouldn't be able to use when on the 2.15). I can hear a script called switch.sh is mentioned.

I can't find anywhere were somebody describes the steps to get there, it's only someone saying it as if it's already done. I'm comfortabme with the commandline, ssh and have toltec installed and stuff, but I really don't want to break my device, especially now I just got the type folio. Could anyone tell me how to get there?

Eeems commented 1 year ago

https://www.reddit.com/r/RemarkableTablet/comments/12xi0yv/comment/jhizur9/?utm_source=reddit&utm_medium=web2x&context=3

folofjc commented 1 year ago

I can't find anywhere were somebody describes the steps to get there

What @Eeems posted is what I do. The repo for the script is here and specifically the script is here.

The easiest way to do this is:

  1. Make sure that you are on 2.15 with the hacks
  2. Turn on automatic updates. Update the device to whatever the latest is (3.3 seems to be the most current)
  3. Turn off automatic updates.
  4. Clone the above repo (remarkable-update) onto your computer
  5. Copy the switch.sh file to your remarkable. See the commands (remember to change to the IP address of your device) found here
  6. ssh into your device and run the script (as in the directions above)
  7. Reboot

The script will switch back to the previous version (which was 2.15 with the hacks). What is neat is that you can run it again and switch back to 3.x. The rM basically keeps the current and previous version. So this script allows you to switch back and forth. This means you can run 3.x when you want to use the folio and then switch to 2.15 with the hacks when not using the folio. This is what I do and it is super easy.

A few things to remember:

  1. As @ddvk has already mentioned, if you open any notebook in 3.x, it will convert the format and you will be unable to open it in 2.15. What I do is create new notebooks to use with the folio and leave all the other notebooks for 2.15.

VERY IMPORTANT

Make sure that you turn off automatic updates if you want to switch back and forth. Why? Because if you are on 3.3 and then rM goes and releases 3.3.1, then it will update to 3.3.1 and it will move 3.3 to the previous version and then will ERASE 2.15 from your device. Remember that it only keeps one previous version.

So if rM updates again (for instance from 3.x to 3.y), and you want to switch to the newest 3.y, your process should be like this if you are on 3.x:

  1. If you are on 3.x, ssh into your device and run the switch.sh script
  2. Reboot. You are now back on 2.15 with hacks
  3. Turn on automatic updates
  4. Update the device. This will remove 3.x as the previous version, will push 2.15 (with hacks) to the previous version and make 3.y as the newest version
  5. TURN OFF AUTOMATIC UPDATES
  6. ssh back into your device and run switch.sh. This will then swap the versions so that 2.15 (with hacks) is the previous, and 3.y is the current. You can now use the folio with 3.y.
emilBeBri commented 1 year ago

Hmm thank you for the guide! I followed it, and ssh'ed into the device, and after copying the script, I run it, remembering to add executable rights before (not everytime just including it to narrow down possible errors)


chmod +x switch.sh
./switch.sh

It does say:


reMarkable: ~/ ./switch.sh
new: 2
fallback: 3

but when restarting the device, it still boots into the 3.3 version. Somewhat mystified by this.

I went into /usr/share/remarkable/update.conf and added the server line, so it looks like this:


[General]
#REMARKABLE. RELEASE. APPID=xxxxxxxx
#SERVER=https: //updates.cloud. remarkable. engineering/service/update2
#GROUP=Prod
#PLATFORM=reMarkable2
REMARKABLE_RELEASE_VERSION=3.3.2.1666
SERVER=http://10.11.99.2:8000

so right now I'm stuck on 3.3. If I manage to get that fixed, is there a way to switch.sh between the two without ssh'ing into the rm2 to switch? Like ideally, having it in remux would be the best, looked at this and it seems like it might be possible - but since 3.3 does not support toltec, I guess that even if it was possible to add switch.sh as an app in remux from 2.15, then when in 3.3 you would still need to ssh in, because you can't access remux from 3.3. Is this correctly understood? (of course it's better only having to ssh the one way than both ways - but it's not that great having to have a pc nearby to switch)

Eeems commented 1 year ago

To clarify, you were on 2.15 with toltec etc installed. You ran an update to 3.3, and when you tried sketching back you were stuck on 3.3? Did you run switch.sh more than once before rebooting?

emilBeBri commented 1 year ago

To clarify, you were on 2.15 with toltec etc installed. You ran an update to 3.3, and when you tried sketching back you were stuck on 3.3? Did you run switch.sh more than once before rebooting?

That's right. for example, I just restarted the device. I can see I'm on 3.3. I then ssh into the tablet and run switch.sh, which is located in /home/root/.

Strangely, first time I run it, it says:

reMarkable: ~/ ./switch.sh
new: 3
fallback: 2

which is odd, given that I'm already on 3, so I would expect it to be the other way around, right?

Anyway, I run it again and now it says:

reMarkable: ~/ ./switch.sh
new: 2
fallback: 3

I restart, but it is still on 3.3.

(I also tried restarted after running the script once after an restart, e.g. where it says new: 3 and fallback: 2, just to try it out, but the result is the same)

also remux is gone, of course, so I can't get into KOReader, which is kind of a bummer. But I guess that it's only in 2.15 you can get that, right. Damn. Too bad you have to choose between good software or having a keyboard XD

Eeems commented 1 year ago

What you are saying doesn't line up with how things work. Could you jump on the community discord and ping me? If you had 2.15, and only did one upgrade to 3.3, switching will work. At the very least, if there is somehow two copies of 3.3 on the device, we can downgrade one to 2.25. https://remarkable.guide/faqs.html#can-i-downgrade-to-a-different-os-version

emilBeBri commented 1 year ago

What you are saying doesn't line up with how things work. Could you jump on the community discord and ping me? If you had 2.15, and only did one upgrade to 3.3, switching will work. At the very least, if there is somehow two copies of 3.3 on the device, we can downgrade one to 2.25. https://remarkable.guide/faqs.html#can-i-downgrade-to-a-different-os-version

Ok? How odd. Well thanks for helping me out appreciate it, I can post in here what went wrong after we figure it out, because I can't see how i deviated from the fairly simple and straightforward guide posted above. I felt I did everything to the letter, but sunbathing must have screwed up.

Are you there on the discord fairly regularly? I'll just jump on some times doing the coming week and I'll run into you don't you think?

Eeems commented 1 year ago

I'll be around, especially if you ping me.

folofjc commented 1 year ago

I restart, but it is still on 3.3.

Make sure that you actually run reboot from when you are ssh'd into the device and don't just do restart from within the rM UI. If you just restart from within the UI, it won't switch partitions.

emilBeBri commented 1 year ago

Ah this is why it didn't switch! Makes sense.

On Fri, May 12, 2023, 12:57 folofjc @.***> wrote:

I restart, but it is still on 3.3.

Make sure that you actually run reboot from when you are ssh'd into the device and don't just do restart from within the rM UI. If you just restart from within the UI, it won't switch partitions.

ā€” Reply to this email directly, view it on GitHub https://github.com/ddvk/remarkable-hacks/issues/496#issuecomment-1545560044, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHLRUFLERBF6PYXGFMEYBDXFYJTDANCNFSM6AAAAAAS6WVR6E . You are receiving this because you commented.Message ID: @.***>

MtbGot commented 1 year ago

Dear @ddvk , I hope you are doing well. I would love to upgrade to v3, but I recognize that I can't live without your hacks. Do you have any estimated date for the release? How can we help you?

forpascal commented 1 year ago

Dear @ddvk , I hope you are doing well. I would love to upgrade to v3, but I recognize that I can't live without your hacks. Do you have any estimated date for the release? How can we help you?

I am the same... Can't live with the ddvk hack and at the same time would love to move to V3.

@ddvk, will you update your hack one day or are you giving up with upgrades? If the latter, please let us know and we then knowingly decide whether we move on to V3.

rgaufman commented 1 year ago

Any update on this please? - I purchased a reMarkable2 recently and I'm currently on V3.5.1.1792.

ai212983 commented 1 year ago

It has been more than 6 months since the release of version 3.0, and there is still a lack of clarity regarding when and what to expect.

It would be greatly appreciated if we could receive some form of statement. This could include estimates or even stating that no estimates can be given at this time.

Having this information would help people to make choices like sticking 2.15 with ddvk hacks, move to 3.x and be patient, or abandon any hope and fully embrace 3.x.

Back again, many thanks @ddvk for his amazing work, which has been incredibly helpful to many people.

Gaibhne commented 1 year ago

Without in any way meaning to be disparaging or negative, I think it's time to accept that this probably isn't getting an update ever again. I've seen the pattern of lack of updates, forced "I'll find time for it soon" and "It's not abandoned and I'll start on it again in ..." many times in the past, on open source projects, fan fiction stories, websites and amateur game development. In some cases it was real life intruding, in many it was some form of depression, or simply lack of interest and being unable to force oneself to work on something you didn't want to even think about working on, and for free on top of it.

I myself, during the height of my depression, have put up notices about I would really start working on something again, and soon, this time for real, only to spend some weeks dreading getting into the project again only to eventually silently not do it, so I am definitely not judging! These things happen, and as sad as it is for the 'consumer', that is simply the way the world turns sometimes.

We got something amazing for free from this fantastic project, and we should celebrate the joy it's brought us, but I think everyone, including the repo owner, will be better off if we stop holding out and asking for updates and accept that at least at this point in time, this project is fixed at the version it's at, and we can either decide to stay there or upgrade and miss out on the features gained through it.

In that spirit: so long, and thanks for all the fish and the hard work on this fantastic thing!

RhvdG commented 1 year ago

On 20 April, @ddvk said he's just very busy right now. Give him time! I have postponed upgrading to 3.x so far, and will continue to wait. 2.x with the hacks is a pleasure to use anyway.

martin-braun commented 1 year ago

@RhvdG In my mind I concluded the final minor v2 to be the end version of this device. Who knows what will happen, but at least I cannot get disappointed, because I don't expect anything.

It was and is great while it lasts. Isn't that what really matters? I'm happy with v2, so long I have these great hacks with it.

Cheers!

mhantsch commented 1 year ago

I have moved on to v3 (without ddvk hacks), and meanwhile I have gotten used to it. The most important shortcuts are there (like two-finger tap to undo). I can live with it.

emilBeBri commented 1 year ago

I bought a onyx boox tab ultra and sole my rm2 that was Mt solution šŸ˜„ can highly recommend doing that.

I had this sort of rm2 fanboy resistance to it but hands down, it's a better device. No hacks needed for good basic functionality and koreader is available in the app store.

Urbankey1993 commented 1 year ago

How is the writing experience ? and can you download / use customized templates (such as a calendar, etc)?

folofjc commented 1 year ago

I own both. The writing experience on the tab ultra is fine, but I think the rM2 is better. The tab ultra is too "slick". You can see Voja's reviews (youtube MyDeepGuide) where he compares the "paper likeness" of the screens. Voja says it does not bother him, but it does bother me. You can put a screen protector on the tab ultra to make it more paper like, but then it makes the distance from the pen to the screen thicker, and that is also annoying.

The keyboard on the rM2 is also much better in my opinion. It is better to type on, and I like that when you are using just the device, the keyboard is hidden. The tab ultra keyboard is kind of annoying when flipped around the back, so I usually have to take the device out of the keyboard cover if I am not using the keyboard, which I don't do for the rM2.

As far as templates, it is much easier on boox devices to load custom templates.

If you are looking for a calendar, I highly recommend Voja's My Daily Organizer which is just a hyperlinked pdf that you can put on your device. Since it is just a pdf document (and not a template), you just load it like normal. I use it all the time as my calendar (works on many devices since it is just a pdf document).

But you can't use ddvk-hacks on boox devices.

Eeems commented 1 year ago

I would like to remind everyone that this is for discussion around issues with ddvk-hacks, not a Boox support forum.

folofjc commented 1 year ago

discussion around issues with ddvk-hacks

Far enough. See edit.

nickian commented 1 year ago

Starting to lose faith on this as well. Can we maybe start an OpenCollective to fund this and recruit other developers to work on this? We can't rely on one person to maintain this. Would it be possible to document the development process for doing these hacks? Until then, 2.15 for life until an update. I've largely abandoned my RM in favor of my Supernote.

Eeems commented 1 year ago

Starting to lose faith on this as well. Can we maybe start an OpenCollective to fund this and recruit other developers to work on this? We can't rely on one person to maintain this. Would it be possible to document the development process for doing these hacks? Until then, 2.15 for life until an update. I've largely abandoned my RM in favor of my Supernote.

https://github.com/ddvk/remarkable-hacks#why-is-this-not-open-source

martin-braun commented 1 year ago

@Eeems The reasoning doesn't hold. He can write detailed instructions about what he has done without leaking their source, so other developers can reproduce it. At this stage I think this would be the right move to move forward. So:

The only real reasoning not being able to provide those information is that he possesses some required tools or data that could only be obtained in an illegal act, which I highly doubt is the case.

atngames commented 1 year ago

I definitely agree with it and I'd be willing to help if those information are provided. atn

mhantsch commented 1 year ago

The only real reasoning not being able to provide those information is [...]

In some jurisdictions, reverse engineering and/or de-compiling copyrighted binaries is an offense.

martin-braun commented 1 year ago

@mhantsch I'm not a lawyer, quite interesting that it can be an offense if you keep the material itself private. However, I doubt this is the case in Switzerland where @ddvk lives at.

ddvk commented 1 year ago

yes, https://www.fedlex.admin.ch/eli/cc/1993/1798_1798_1798/en#a21

martin-braun commented 1 year ago

Isn't it considered "maintenance" when you give the information to another developer who takes care of the "maintenance"? But thanks for sharing that, I had no idea Switzerland has this law. I'm quite surprised.

nickian commented 1 year ago

Either way, can't this be released anonymously? No one is trying to resell the code or anything.

Also, I'm curious what is meant by this in the FAQ:

Why is this not open source? I don't own the source, the legality is dubious, not in reMarkable AS's best interest due to various reasons, etc

Specifically, this part: "not in reMarkable AS's best interest due to various reasons"

What reasons?

winterdeaf commented 1 year ago

If xochitl is QT (and the symbols have been stripped), the following work presented at USENIX Sec '23 could help reverse engineering efforts: https://www.usenix.org/conference/usenixsecurity23/presentation/wen

Their implementation, based on Ghidra, is at: https://github.com/OSUSecLab/QtRE

al-n commented 1 year ago

What would actually be amazing is to decouple the Lamy pen hack from the patch so that one can use that independently? @ddvk if that's possible?

dstango commented 1 year ago

What would actually be amazing is to decouple the Lamy pen hack from the patch so that one can use that independently? @ddvk if that's possible?

Just found this: https://github.com/isaacwisdom/RemarkableLamyEraser Don't know if it's working with the most update version, but probably worth a try.

GuyNT commented 1 year ago

I have tried it remarkable 2 and latest version and I cannot get it to work.

Any suggestions?

On Sat, 12 Aug 2023, 2:54 pm al-n, @.***> wrote:

What would actually be amazing is to decouple the Lamy pen hack from the patch so that one can use that independently? @ddvk https://github.com/ddvk if that's possible?

ā€” Reply to this email directly, view it on GitHub https://github.com/ddvk/remarkable-hacks/issues/496#issuecomment-1675925811, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUKXZV64NVB22FUXO3SK5FLXU6DKLANCNFSM6AAAAAAS6WVR6E . You are receiving this because you are subscribed to this thread.Message ID: @.***>

GuyNT commented 1 year ago

I would like this also.

I have caved and moved to version 3 this week.

But the think I miss theist is the Lamy hack.

On Sun, 13 Aug 2023, 6:09 am dstango, @.***> wrote:

What would actually be amazing is to decouple the Lamy pen hack from the patch so that one can use that independently? @ddvk https://github.com/ddvk if that's possible?

Just found this: https://github.com/isaacwisdom/RemarkableLamyEraser Don't know if it's working with the most update version, but probably with a try.

ā€” Reply to this email directly, view it on GitHub https://github.com/ddvk/remarkable-hacks/issues/496#issuecomment-1676229839, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUKXZV7NJC357B6QZSGDRK3XVBOSFANCNFSM6AAAAAAS6WVR6E . You are receiving this because you are subscribed to this thread.Message ID: @.***>

regrubtaf commented 1 year ago

What would actually be amazing is to decouple the Lamy pen hack from the patch so that one can use that independently? @ddvk if that's possible?

Just found this: https://github.com/isaacwisdom/RemarkableLamyEraser Don't know if it's working with the most update version, but probably worth a try.

It does work (at least up to v 3.3), but it's not quite as good as the DDVK version. The button functions as a contact eraser, but there's no option to use it as a lasso eraser.

rgaufman commented 1 year ago

Anyone tried it on 3.5.2.1807, which is the latest stable version?

Eeems commented 1 year ago

Just to remind everyone, this is about 3.x support for ddvk-hacks, to find information and discuss other things, you should go to their repository and open a new issue or discussion there.

GuyNT commented 1 year ago

I have it does not work for me.

On Mon, 14 Aug 2023, 9:13 pm Roman Gaufman, @.***> wrote:

Anyone tried it on 3.5.2.1807, which is the latest stable version?

ā€” Reply to this email directly, view it on GitHub https://github.com/ddvk/remarkable-hacks/issues/496#issuecomment-1677993040, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUKXZV7KGKRG5QBWENN6P4DXVKBFJANCNFSM6AAAAAAS6WVR6E . You are receiving this because you commented.Message ID: @.***>

Tridens92 commented 1 year ago

I would also love to have lamy hack decoupled from remarkable hacks. I'm an RM1 user and have no option for a stylus with an eraser like RM2. I use my tablet about 4-6 hours a day taking client notes, and the lamy eraser button is a lifesaver. @ddvk , would be so grateful, if the project is at EOL, for that to happen. In any case, thanks so much for your contribution to the rM community. Without exagerration, you've made every workday an easier day for me!

lowerzen1 commented 1 year ago

What would actually be amazing is to decouple the Lamy pen hack from the patch so that one can use that independently? @ddvk if that's possible?

This is the one feature Iā€™d hate to be without. I accidentally got updated to 3.5 yesterday and Iā€™m really hoping to find a solution for this. If it was a standalone hack for 3.5, it would be a lifesaver.

forpascal commented 1 year ago

I got stuck with no Cloud access anymore and had to update to 3.6! I am desperate!!! I miss so many functionality of the DDVK hack! Please come back and save us!!!!

martin-braun commented 1 year ago

I got stuck with no Cloud access anymore and had to update to 3.6!

Guess this renders this project officially dead. I already consider to sell my device and get something else at this point.

Eeems commented 1 year ago

I got stuck with no Cloud access anymore and had to update to 3.6!

Guess this renders this project officially dead. I already consider to sell my device and get something else at this point.

That's an odd take. I'm on 2.15, and I'm happily using rmfakecloud. This is the first I've heard about 2.15 not working with the official cloud anymore.

@forpascal my guess is that you encountered this, and didn't actually have to update: https://remarkable.guide/faqs.html#my-device-is-connected-to-wifi-but-can-t-sync-or-check-for-updates-how-can-i-fix-this

regrubtaf commented 1 year ago

I got stuck with no Cloud access anymore and had to update to 3.6! I am desperate!!! I miss so many functionality of the DDVK hack! Please come back and save us!!!!

I'm still able to connect to the rM cloud in v. 2.15. All functions still working.

brb commented 1 year ago

Would sponsoring the project help with updates to 3.6?

ai212983 commented 1 year ago

@brb Not sure about that lol