NoRefresh enabler

Search This thread

el34han

Member
Apr 19, 2011
22
5
I have been looking for soming link this for almost a year.
This is by far the most useful tweak I have installed on my N2E.
Thank you so much.
 

marspeople

Senior Member
Jul 7, 2011
70
100
Thanks for this great addon!

I just have one problem with it.

I'm using the NoRefresh Toggle - noGestures version.

In Opera Mini, I have to start it for every page again and again. In other apps, I just have to use it one time to make it working for this app.

It's a bit annoying to reload a webpage, or to click a link, and then have to start the norefresh toggle again and again.

Am i doing something wrong?

Thanks in advance!

This is a known problem. It happens because B&N framework keeps overriding the screen refresh mode in several situations. There is no way to avoid it for now.

However, in Opera Mobile I only have to re-enable NoRefresh whenever I use the stock keyboard, not at every page change. Try using it instead of Mini.
 

mrWax

Senior Member
Jan 31, 2012
147
24
problems with switching off no-refresh

It is shame that there is still no posibility of having always on - No-refresh.
It is so annoying. For example Ebookdroid after update stops no-refresh after loading every new page. That makes djvu unreadable for me again.
any ideas for some other app? or chance to make always on - no refresh?
 

TheDarthVader

New member
May 5, 2012
1
0
Hi,

Good work with the Nook NoRefresh app.
but.. is there a way that someone add the gesture mode and the contrast adjustment to the PRS-T1 Reader?
These features are really nice, but I don't own a Nook ;/

Thanks
 

wingmann

Senior Member
Mar 2, 2007
99
5
OK, I am ready to be slapped silly if this question is viewed as one of those, "duh" moments but can someone tell me please how to install this? I downloaded the NoRefreshTogel-noGestures.zip file found in the forum. Since everything I read on this forum so far mentioned the program as being an .apk, i assumed unzipping what I downloaded would produce an .apk file. It does not. So, I'm not sure how to install this! I did navigate ESExplorer to the zipped file, and to the unzipped folder... hoping it would just know what to do with it and install it. But alas, that didn't work either. Any concise instructions on how to install this would be much appreciated. Heck, it wouldn't hurt to have a small instrucion on the programs usage in one spot (first post?), but I think I gleened that much from reading all the posts. Just a thought though.

An early apology if this is something I should have known, and a hearty "Thank You" to you all who make, teach, help and "put up with" the rest of us!

Wingmann :)
 

wingmann

Senior Member
Mar 2, 2007
99
5
mdall, thank you for the reply but.... that did not help. As I mentioned in my post, I have the file -- I just don't know what to do with the file! Let me reiterate: I have installed .apk files before... I navigate to the file within ESExplorer, e.g. "programiwant.apk". ESExplorer then installs it. The file, as you see, had an ".apk" extension. The file I downloaded where you showed me, and where I downloaded it in the first place is "NoRefreshToggle-noGesters.zip". That has a ".zip" extention, so I know it's a zipped file (and not an .apk". When I unzip that file, I get the following:

(folder called) com
(folder called) META-INF
(folder called) res
AndroidManifest.xml
classes.dex
resources.arsc

As you can see, none of those end with ".apk" so obviously I have to do something different with it that just load one file. This I know -- but I just don't know WHAT to do with them. It looks like the folder/file set up that one would install a ROM using CWM. Is that what I'm supposed to do with this? I do not know.

If I could ask again for someone to give some step-by-step instruction on what to do with the downloaded zipped file (and perhaps even some instruction on how the program works), I don't think it would be a bad thing.... perhaps someone else besides me could benefit from it? I would sure appreciate it. And let me again apologize -- as I did in my first post -- if this seems a dumb/noob request. I honestly read all the posts, and I still am not sure how to install this.

Thanks for any help! Wingmann
 

darkguy2008

Senior Member
Apr 30, 2011
672
240
Heredia
mdall, thank you for the reply but.... that did not help. As I mentioned in my post, I have the file -- I just don't know what to do with the file! Let me reiterate: I have installed .apk files before... I navigate to the file within ESExplorer, e.g. "programiwant.apk". ESExplorer then installs it. The file, as you see, had an ".apk" extension. The file I downloaded where you showed me, and where I downloaded it in the first place is "NoRefreshToggle-noGesters.zip". That has a ".zip" extention, so I know it's a zipped file (and not an .apk". When I unzip that file, I get the following:

(folder called) com
(folder called) META-INF
(folder called) res
AndroidManifest.xml
classes.dex
resources.arsc

As you can see, none of those end with ".apk" so obviously I have to do something different with it that just load one file. This I know -- but I just don't know WHAT to do with them. It looks like the folder/file set up that one would install a ROM using CWM. Is that what I'm supposed to do with this? I do not know.

If I could ask again for someone to give some step-by-step instruction on what to do with the downloaded zipped file (and perhaps even some instruction on how the program works), I don't think it would be a bad thing.... perhaps someone else besides me could benefit from it? I would sure appreciate it. And let me again apologize -- as I did in my first post -- if this seems a dumb/noob request. I honestly read all the posts, and I still am not sure how to install this.

Thanks for any help! Wingmann

If you unzip an apk you'll see the same contents. Just replace the extension to apk and install.

Sent from my MB526 using XDA
 

marspeople

Senior Member
Jul 7, 2011
70
100
Hi everyone,

I guess we all would like NoRefresh to be automatically enabled when dragging and disabled after (like PRS-T1), but this seems hard to implement on the NST. It seems wheilitjohnny was developing a kernel mod to do this but I don't know how it ended up.

So I tried a dirty hack to detect when the screen is being "animated" and after tweaking some nasty parameters (there should be room for improvement here) it quite works. But of course it is not perfect: it may take a while to activate, it may cause unwanted activation, etc. Also, this probably should drain more battery, but I didn't test a lot yet.

To use it, just launch the app and cause some screen animation (e.g., scrolling) to activate NoRefresh. It deactivates only when the animation stops. This is useful for inertial scrolling and automatic animations (such as games). I removed contrast adjustment (for now).

So here it is, I will wait for some feedback to see if it worth posting at the first page. Source code is at: https://github.com/marspeople/NoRefreshToggle
 

Attachments

  • NoRefreshToggle-auto.apk
    14.6 KB · Views: 191
Last edited:
  • Like
Reactions: mrWax

chriscsh

Senior Member
Aug 13, 2007
1,065
77
Hong Kong
thanks marspeople :D

my device: software 1.1.0 with the multitouch enable kernel
just try the new apk (auto)
install, restart then launch the app
but seem no different when scrolling or any drap and drop :confused:
 

marspeople

Senior Member
Jul 7, 2011
70
100
thanks marspeople :D

my device: software 1.1.0 with the multitouch enable kernel
just try the new apk (auto)
install, restart then launch the app
but seem no different when scrolling or any drap and drop :confused:

I didn't test with multitouch kernel, but I think it should work. As I said, it takes a while to activate NoRefresh, try scrolling for longer.
 
  • Like
Reactions: mrWax

Renate

Recognized Contributor / Inactive Recognized Dev
If you are in doubt what/if any "no-refresh" or EpdController app/service is doing just look at your logcat.
You should be seeing things like this:

Code:
D/EPD#Example( 5223): set region 6 ACTIVE = 0,0 -> 600,800 = A2
D/NATIVE-EPD( 5223): epd_set_region: 6 (0,0,600,800) 3,8 1
 

Top Liked Posts

  • There are no posts matching your filters.
  • 42
    Since the Nook A2 mode seems to be overridden when switching foreground activity, I've tried another approach with a background service which toggles A2 mode when requested by user. This way, the foreground activity isn't switched and "fast refreshing" mode works (until you change activity).

    This fast refresh mode (called A2) is only possible because it uses only 1-bit depth, i.e, just black on white, meaning you can't see grayscale pictures but it's good enough for black text on white background and scrolling. I have not "created it", it is built-in from the device (you can test using the stock reader, it is activated when holding a page button). What I implemented is a way to activate and deactivate it at user will from inside any app.

    Thanks to dairyknight for his N2EpdController class, which made this possible.
    Thanks to bardo8430 for bringing the idea.
    Thanks to AndroSS source code for screenshots used in automatic contrast.

    Changelog:
    01/Mar: Now when you launch the app and it is already running, it will activate NoRefresh mode. So you can also use an activation shortcut to the app using NookTouchTools (i.e. B&N's book icon at top left corner).
    02/Mar: Improve activation shortcut to perform toggle between modes. Tap gestures aren't needed anymore (use "-noGestures" apk version if you don't want them).
    04/Mar: Got rid of initial ghosting by redrawing the screen after activating A2.
    04/Mar (2): Minor improvement of removing ghosting at screen edges.
    12/Mar (Beta): Now you can adjust contrast in A2 mode. Images shouldn't be dark or black anymore if you raise the contrast a bit.

    22/May: Completely redesigned version 2.0:
    - Several options can be customized via settings screen.
    - NoRefresh can be toggled by manual app shortcut, tap gestures or automatically according to screen animation (new).
    - New App Whitelist to avoid unwanted activation in specific apps (except for manual mode).
    - Background service can be launched at boot.
    - Small improvements and tweaks.
    - Custom app icon (finally :D)

    06/Jun: Fix crash on empty whitelist

    08/Jul: (Version 2.1)
    - Automatic contrast when activating NoRefresh, according to total "brightness" of the screen (simple algorithm). This should ask you for root permission.
    - Also supports manual setting in specific situations (customizable).
    - Fix possible crash at startup.

    26/Jul: (Version 2.2)
    - Fix contrast setting behaviour

    06/Dec:
    - Alternative version with fixed compatibility for FW 1.2.0 available at https://github.com/marspeople/NoRefreshToggle/downloads

    First Video: http://youtu.be/6pBPsyno5PY
    Other Video: http://youtu.be/kBbl6egyPsQ
    Another demo: http://youtu.be/5b7JjllImjM

    Repository: https://github.com/marspeople/NoRefreshToggle
    14
    Hi,

    I am trying to put a code together to control the refresh behavior of the e-ink screen. The final goal is to have a drop-in library for app developers to help making their app more e-ink friendly.

    The code works already for the PRS-T1, but needs a different driver for the Nook Touch (N2EpdController included).

    My one and only beta tester gets the famous "There is a problem parsing the package" error. Pls find enclosed the sources.

    I would be grateful if someone could fix possible Eclipse setting or other errors.
    4
    Hi,

    I finally surpassed all my laziness and improved NoRefresh app as I been wanting to do for a long time. Check it out at the first page.
    3
    I've just implemented a new feature I think you'll enjoy.

    Now you can adjust contrast setting for the NoRefresh/1-bit/A2 mode. Images shouldn't be dark or black anymore if you raise the contrast a bit. Actually, thanks to the B&W dithering to imitate grey, they may look nice too! (see video)

    This is a more "beta" version, you can download at first page post.

    Now let's hope someone can make this thing also play videos. :p
    2
    Hi!
    -your app is nice!
    -however i have sometimes problem with unexpected deactivation of norefresh. is there any chance of using nook touch tools of color tools to map for example small book icon on the top-left to start your app and toggle the no-refresh?

    thx

    Since I cannot avoid those automatic deactivations of NoRefresh by the system, this may be useful.

    I've just implemented it, so now when you launch the app and it is already running, it will activate NoRefresh mode. So you can just use a shortcut to the app using NookTouchTools to activate.

    I will add it to the first page post.