Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch for enabling Google Drive/Dropbox on all device models #139

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

imax9000
Copy link

@imax9000 imax9000 commented Aug 6, 2024

Tested this on FW 4.38.23038 on my Kobo Libra 2.

@imax9000 imax9000 requested a review from pgaskin as a code owner August 6, 2024 18:32
@liups233
Copy link

liups233 commented Aug 11, 2024

There are some bugs on Clara BW version 4.39.23027. I can see Google Drive and Dropbox menus on my ereader, but I cannot login. When I click "Get Started", there is only a blank screen.

(Not my network problem, because I can access Google Drive with internal browser)

@jillmess
Copy link

There are some bugs on Clara BW version 4.39.23027. I can see Google Drive and Dropbox menus on my ereader, but I cannot login. When I click "Get Started", there is only a blank screen.

(Not my network problem, because I can access Google Drive with internal browser)

I have enabled Google Drive on my Libra 2 version 4.38.23038 using this patch but I did have to edit eReader.conf per info found at the bottom of this: pgaskin/NickelMenu#143 to get beyond the blank screen for initial setup.
I already had DropBox setup via NickelMenu so it just worked without any further changes.

@liups233
Copy link

There are some bugs on Clara BW version 4.39.23027. I can see Google Drive and Dropbox menus on my ereader, but I cannot login. When I click "Get Started", there is only a blank screen.
(Not my network problem, because I can access Google Drive with internal browser)

I have enabled Google Drive on my Libra 2 version 4.38.23038 using this patch but I did have to edit eReader.conf per info found at the bottom of this: pgaskin/NickelMenu#143 to get beyond the blank screen for initial setup. I already had DropBox setup via NickelMenu so it just worked without any further changes.

Very useful. Thank you. I just need to edit .kobo/Kobo/Kobo ereader.conf,
add https://authorize.kobo.com/{region}/{language}/LinkDropbox after dropbox_link_account_poll=, and
add https://authorize.kobo.com/{region}/{language}/linkcloudstorage/provider/google_drive after googledrive_link_account_start=

@imax9000
Copy link
Author

I had that URL copied over from Kobo Sage from when I was trying to get it working via NickelMenu, so I did not notice a potential problem. I've dug around some more, and it seems that these values aren't shipped in the firmware images, but rather they're fetched during initial device setup via an authenticated request to https://storeapi.kobo.com/v1/initialization. I assume the returned chunk of JSON contains different values depending on the device model.

I'll update the patch description to include the config values necessary for the sync to actually work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants