Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-08-2021, 02:28 PM   #1
patrik
Fanatic
patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.
 
Posts: 535
Karma: 277601
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
Adobe drm-system on Kobo

Inspired by NiMa's success with xorg I'm pondering if it's possible to get a practicle solution for a full adobe drm environment on a Kobo.

(With that I mean to be able to buy adobe drm ebooks and borrow library ebooks directly from the ereader.)

One roundabout way could be to install wine and Sony Reader for PC (or ADE).

We got some brilliant people here, can you see a feasable and pragmatic way to make this happen?

(FWIW I know plenty of people choosing Pocketbook before Kobo just because of this.)
patrik is offline   Reply With Quote
Old 01-08-2021, 02:35 PM   #2
NiMa
Addict
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 228
Karma: 2143223
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra H2O, Kobo Glo HD
Quote:
Originally Posted by patrik View Post
Inspired by NiMa's success with xorg I'm pondering if it's possible to get a practicle solution for a full adobe drm environment on a Kobo.

(With that I mean to be able to buy adobe drm ebooks and borrow library ebooks directly from the ereader.)

One roundabout way could be to install wine and Sony Reader for PC (or ADE).

We got some brilliant people here, can you see a feasable and pragmatic way to make this happen?

(FWIW I know plenty of people choosing Pocketbook before Kobo just because of this.)
Wine would not be possible, unfortunately. As it *could* *maybe* run, certainly ADE won't, because it has been compiled for x86_64.
I'm currently testing things with QEMU (got Windows 3.1 emulated on a Kobo yesterday!) and ReactOS (open-source Windows clone) which *could* *maybe* used in a pratical way.
Still testing...
But maybe are there alternatives to ADE for Linux that I don't know of?
NiMa is online now   Reply With Quote
Advert
Old 01-08-2021, 02:45 PM   #3
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 750
Karma: 1224327
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by patrik View Post
Inspired by NiMa's success with xorg I'm pondering if it's possible to get a practicle solution for a full adobe drm environment on a Kobo.

(With that I mean to be able to buy adobe drm ebooks and borrow library ebooks directly from the ereader.)

One roundabout way could be to install wine and Sony Reader for PC (or ADE).

We got some brilliant people here, can you see a feasable and pragmatic way to make this happen?

(FWIW I know plenty of people choosing Pocketbook before Kobo just because of this.)
Nope, it is unfeasible in the best case scenario and probably impossible.

Wine requires x86 PEs and a underlying linux system on the host. That would require to run an emulated linux x86 under qemu and run wine inside that VM. I cannot say it is impossible but running a x86 linux target on a arm host would be painfully slow (hours? to boot) and would require more storage than most Kobos have.

Even then you would need to tweak the build of qemu-system-arm to display the VM contents on e-ink and, in case you get that to work, you'll only be able to deDRM, but not to interact with ascm files in any way on the host.
pazos is offline   Reply With Quote
Old 01-08-2021, 02:48 PM   #4
NiMa
Addict
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 228
Karma: 2143223
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra H2O, Kobo Glo HD
Quote:
Originally Posted by pazos View Post
Nope, it is unfeasible in the best case scenario and probably impossible.

Wine requires x86 PEs and a underlying linux system on the host. That would require to run an emulated linux x86 under qemu and run wine inside that VM. I cannot say it is impossible but running a x86 linux target on a arm host would be painfully slow (hours? to boot) and would require more storage than most Kobos have.

Even then you would need to tweak the build of qemu-system-arm to display the VM contents on e-ink and, in case you get that to work, you'll only be able to deDRM, but not to interact with ascm files in any way on the host.
I've not tried with ARM, but for x86_64 QEMU, it runs effortlessly on my Glo HD (picture attached)
Attached Thumbnails
Click image for larger version

Name:	windows_000.png
Views:	47
Size:	83.0 KB
ID:	184617  
NiMa is online now   Reply With Quote
Old 01-08-2021, 03:00 PM   #5
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 750
Karma: 1224327
Join Date: Apr 2014
Device: BQ Cervantes 4
duh!.

I was meant to say qemu-system-x86, not qemu-system-arm.

Anyways, of course if you run qemu under X you won't need to tweak qemu itself. You just need to run X on the host + qemu on the host + linux distro on qemu (including its own X) + apps on top of that.

Again, I cannot assert it is impossible, but keep in mind that the whole Win3.1 size is less than the x86 linux kernel you'll need to bootstrap to run a distro that's able to run wine. AFAICT alpine on x86 has wine packages so... maybe ???
pazos is offline   Reply With Quote
Advert
Old 01-08-2021, 03:10 PM   #6
NiMa
Addict
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 228
Karma: 2143223
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra H2O, Kobo Glo HD
Quote:
Originally Posted by pazos View Post
duh!.

I was meant to say qemu-system-x86, not qemu-system-arm.

Anyways, of course if you run qemu under X you won't need to tweak qemu itself. You just need to run X on the host + qemu on the host + linux distro on qemu (including its own X) + apps on top of that.

Again, I cannot assert it is impossible, but keep in mind that the whole Win3.1 size is less than the x86 linux kernel you'll need to bootstrap to run a distro that's able to run wine. AFAICT alpine on x86 has wine packages so... maybe ???
I'm testing things with ReactOS at the moment, can't say if it will work, but if it does, then we'd have a (relatively) useful VM already in x86.
NiMa is online now   Reply With Quote
Old 01-08-2021, 05:34 PM   #7
NiMa
Addict
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 228
Karma: 2143223
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra H2O, Kobo Glo HD
Quote:
Originally Posted by NiMa View Post
I'm testing things with ReactOS at the moment, can't say if it will work, but if it does, then we'd have a (relatively) useful VM already in x86.
ReactOS update: it hung at startup. Not really a surprise. Trying MicroXP now... I hope that that will work... Because I think we could install ADE in there...!
NiMa is online now   Reply With Quote
Old 01-08-2021, 08:40 PM   #8
NiMa
Addict
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 228
Karma: 2143223
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra H2O, Kobo Glo HD
Quote:
Originally Posted by NiMa View Post
ReactOS update: it hung at startup. Not really a surprise. Trying MicroXP now... I hope that that will work... Because I think we could install ADE in there...!
Well now it's working on my Libra! Look!
Attached Thumbnails
Click image for larger version

Name:	reactos.png
Views:	56
Size:	126.8 KB
ID:	184630  
NiMa is online now   Reply With Quote
Old 01-09-2021, 03:23 AM   #9
patrik
Fanatic
patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.
 
Posts: 535
Karma: 277601
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
Wow, nicely done.
patrik is offline   Reply With Quote
Old 01-09-2021, 03:28 AM   #10
Uncle Robin
Diligent dilettante
Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.
 
Posts: 1,205
Karma: 15256970
Join Date: Sep 2019
Location: in my mind
Device: Kobo Libra H2O; RealMe X2 Pro
Quote:
Originally Posted by NiMa View Post
Well now it's working on my Libra! Look!
This probably a really dumb question, but how do you get the colors showing on your eink Libra?
Uncle Robin is online now   Reply With Quote
Old 01-09-2021, 11:10 AM   #11
NiMa
Addict
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 228
Karma: 2143223
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra H2O, Kobo Glo HD
Quote:
Originally Posted by Uncle Robin View Post
This probably a really dumb question, but how do you get the colors showing on your eink Libra?
It's a screenshot, simply
Underneath that is still a color Xorg server...
NiMa is online now   Reply With Quote
Old 01-09-2021, 11:31 AM   #12
NiMa
Addict
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 228
Karma: 2143223
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra H2O, Kobo Glo HD
Quote:
Originally Posted by patrik View Post
Wow, nicely done.
Next step is to succeed in installing ADE in it... It requires .NET framework 3.5, however this is ReactOS... And ReactOS doesn't like .NET
It seems possible installing some versions though (4.2.1)
Will try and see what it does

If it doesn't work then we'll have to move on to maybe a light Windows 7 ISO (or maybe another XP ?)

If someone wants to try it on his Kobo, first follow my X.org tutorial, then install those packages:
Code:
apk add qemu-system-x86_64 qemu-ui-gtk
It should be good to go...
NiMa is online now   Reply With Quote
Old 01-09-2021, 11:41 AM   #13
patrik
Fanatic
patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.
 
Posts: 535
Karma: 277601
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
It's probably a lot easier to skip ADE and use Sony Reader for PC instead.

I used to use ADE in Wine, but every other update (of wine) made it stop working, could be fixed, but a hazle.

https://www.sony.com/electronics/sup...loads/W0010082

Thanks for doing this!
patrik is offline   Reply With Quote
Old 01-09-2021, 11:55 AM   #14
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 61,314
Karma: 82128750
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
Quote:
Originally Posted by NiMa View Post
Wine would not be possible, unfortunately. As it *could* *maybe* run, certainly ADE won't, because it has been compiled for x86_64.
I'm currently testing things with QEMU (got Windows 3.1 emulated on a Kobo yesterday!) and ReactOS (open-source Windows clone) which *could* *maybe* used in a pratical way.
Still testing...
But maybe are there alternatives to ADE for Linux that I don't know of?
ADE 2.0.1 for Windows is a 32-bit program. But it won't work with Windows 3.1.

To do it, you would need Wine to install ADE 2.0.1. But you would also need to emulate an X86 processor. So really, Even if it's doable, it's going to be a right mess. Don't do it.

Last edited by JSWolf; 01-09-2021 at 11:57 AM.
JSWolf is offline   Reply With Quote
Old 01-09-2021, 12:08 PM   #15
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 61,314
Karma: 82128750
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
Quote:
Originally Posted by patrik View Post
It's probably a lot easier to skip ADE and use Sony Reader for PC instead.

I used to use ADE in Wine, but every other update (of wine) made it stop working, could be fixed, but a hazle.

https://www.sony.com/electronics/sup...loads/W0010082

Thanks for doing this!
Sony Reader for PC would need to be authorized to all RMSDK to deal with the DRM. Sony is out of the eBook market. So that's not going to happen. Plus, the version of RMSDK is too old. The oldest ADE you should be using is 2.0.1.
JSWolf is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo system cannot recognize fonts added into system-wide fonts directory? codychan Kobo Developer's Corner 11 12-08-2018 06:35 PM
Kobo Adobe DRM ePub Tully Calibre 3 10-05-2015 01:04 PM
What happens to Adobe DE when I upgrade the operating system? edmond General Discussions 12 05-26-2014 10:51 AM
Kobo adobe drm PDFs NightStar76 Kobo Reader 1 10-05-2013 02:14 AM
Why Does Adobe Reader Need a System Restart? Lemurion General Discussions 17 04-29-2013 09:24 PM


All times are GMT -4. The time now is 11:57 PM.


MobileRead.com is a privately owned, operated and funded community.