yashsingh1/xdaforums huggingface dataset:
[Nook Touch General] Renate:
Mmm, right now there is only the Windows build of mergesmali.

In worst case you can edit the patches in by hand.

Somebody could also generate *nix style "patches" if they wanted.

Of course, that would be tied closer to a specific system build than using mergesmali.
[Nook Touch General] skyli91:
Wow! Thank you very much! I need to learn a lot about your patches :D it sounds chinese now :D but thanks!

Btw i was unsuccessful with my apk :( Maybe i can't sign properly.. but my apk won't install. I uninstalled the original app with titanium backup and also deleted the entry from /data/system/packages.xml the uninstall was good but my modded apk is unable to install so i had to reinstall the original. I used the framework and decomplied the apk, changed the smail file you told me, recomplied and signed. Could you make the apk please? Or share yours if it has refresh on every page :) Tank you!
[Nook Touch General] Renate:
It's easier if you just do a regular install instead of copying it to /system/app

If you run a logcat when you install you can see any problems that might occur.

ReaderRMSDK.apk does use shared Ids.

That will be a problem if the rest of your system is signed differently.

If you want to fix it once and for all, resign your entire Nook with your own signature.

If you want to try the simple way, just delete the red part in AndroidManifest.xml:

<manifest [color=red]android:sharedUserId="android.media"[/color] ...

If not quite sure if that will break any stock features.
[Nook Touch General] darzur:
Just tried to do your modifications but can't install modified app too. I think something is wrong with signing as I don't have any idea how to do it properly. Removed "android:sharedUserId="android.media"" but with no effect too. It tells "Application not installed" and finishes.

Renate will it be possible to write short manual how to resign ReaderRMSDK.apk? I like stock reader, but I'd like to have every page refresh and your "ReaderCommonUIConstants.smali".
[Nook Touch General] Renate:
"Application not installed" is just what the adb install tells you.

That's not the whole story.

Run a logcat when you install.

Open a second command window and type adb logcat before you type adb install in the first window.

That will tell you the exact reason for the rejection.
[Nook Touch General] darzur:
But I didn't install by adb but directly on Nook using ES File Explorer or ReLaunch. It works for every application but modified reader. Is it possible to logcat in such case?
[Nook Touch General] Renate:
Yes.
[Nook Touch General] darzur:
Finally did it. I'm not sure what was wrong, but most probably it was JDK7. I've changed it to JDK6 and after several retries everything works. Thanks Renate for your awesome work. :)

P.S. Could you tell me what parameter is responsible for margin width?
[Nook Touch General] Renate:
Oops, I should have thought of that one.

Your INSTALL_PARSE_FAILED_NO_CERTIFICATES means that your apk was not signed.

The signing in JDK 7 is not recognized as any signing at all.

All Android stuff only uses JDK 6.33

B&N kind of did something bogus with the user constants that stuck them in anonymous classes.

My patch for font sizes and margins pulled them back into the main class.

If you are using my ReaderCommonUIConstants.smali then the constants appear

at the end as .array-data, 3 sets of 4 dwords, top, right, bottom, left.
[Nook Touch General] skyli91:
Oops, I have JDK7 too. I'll try it again, thanks!
[Nook Touch General] darzur:
Thanks. Found it yesterday for left and right but didn't know about bottom ant top. Now stock reader works perfectly. After all those customizations it's better from most of the others as it properly shows multiple classes from CSS.
[Nook Touch General] brmbrm:
Hi, could you please share your reader apk?

I'm just not able to patch it :crying:
[Nook Touch General] Renate:
What's the problem?

Can you get apktool to work?

Can you get mergesmali to work?

Do you have a problem signing it?

With modifying apps you have to resign them somehow.

With modifying ReaderRMSDK (or Reader.apk) you must resign the whole system or abandon the "sharedId".
[Nook Touch General] Renate:
I've not used any of the no refresh/partial refresh utilities posted here.

I have experimented with the various EpdController modes though.

Yes, the animated arrows on the lock screen do use a lot of power.

I see this using my current monitor: http://xdaforums.com/showthread.php?t=2487055

I don't think the issue is so much how they are updated/drawn/refreshed.

It's simply a case of a moving display and the EPD power circuits being on continuously.

Others have posted ways to bypass the "swipe" screen.

It's only when the Nook is cold booted that the "swipe" screen has no timeout.

This may have been fixed in the 1.3 software.
[Nook Touch General] aiamuzz:
my device is a NST with glowlight.

Added the line as advised in the OP ... rebooted ... the line still part of the file.

But refresh happening every 6 pages, tried value 3 and 9, but refresh page count is still the default 6 pages.

Is the position of the line significant ?

I added the line just before the closing tag.

the content(line entries) of my file aren't identical to Renate's example in the OP)

is that the reason?
[Nook Touch General] David0226:
I believe that the procedure shown in the OP only worked for the Reader (Reader.apk I believe) in firmware versions prior to 1.2.1. IIRC it does not work with the new ReaderRMSDK.apk supplied with firmware 1.2.1
[Nook Touch General] :
I can confirm that this is correct.
[Nook Touch General] damianiw:
Control Page Turn Refresh

Hi sorry I'm trying hard to read and understand all the info in these posts but struggling, the ghosting is spoiling my use of my Nook, my wife's Kindle of the same age is much better outdoors :( I think you've given the detail but I'm at a loss how I implement it can anyone help please i am on version 1.2.1 (nook came with this, have used the halt book to restore it to stock and still ghosting).
[Nook Touch General] damianiw:
In the end I rooted and now use coolreader, comparing my nook to a friends the contrast looks really different so maybe this unit wasnt calibrated right - i'm now looking for a contrast adjuster to see if that solves me needing to fully refresh the screen so much as that will be using more battery
[Nook Touch General] miles600:
Hello, thank you for all your help on the Nook Simple Touch. I know this thread is quite old now, but I'm trying to edit the EpdControllerUtil.smali file to set page refresh to refresh on each page turn. I edited the smali file using a text editor and added your code to the const/4 v1 line under setEpdControllerForPageTurn (am I correct to change to [color=1] to equal refresh each page?). The problem is, when I go to recompile in apktool, I get several invalid text errors for [ ] & / (screenshot below). Please could you tell me what I'm doing wrong and why it's giving this error when recompiling.

Also attached below is a screenshot of the pageturn section before I added [color=1]0x5[/color] on the "const/4 v1," line
[Nook Touch General] miles600:
As I’m on version 1.2.2 and the reader app has slightly different coding (for example the Nook121 patch for font sizing is no longer compatible) the solution for every page refresh was to unpack the apk using the latest version of apktool and jdk 8 (firstly copy the system framework-res.apk from nook to desktop and enter ‘apktool if [path to framework-res.apk]’ as didn’t work without this step), then I entered the command ‘apktool d --use-aapt [path-to-readerapk]’ and in the resultant decompiled folder did the following modifications:

Firstly, I deleted ‘android:sharedUserId="android.media" ‘ from the first line of the AndroidManifest.xml.

Then I opened ReaderRMSDK/smali/com/bn/nook/reader/commonui/EpdControllerUtil.smali and in ‘# static fields’ change ‘ENABLE_GU_UPDATES:Z = true’ to = false, additionally change ‘MAX_GU_UPDATES:I = 0x5’ to = 0x0. Finally, go to ‘.method public setEpdControllerForPageTurn(Z)V’ and change the ‘const/4 v1, 0x5’ line from 0x5 to 0x0 and save the file.

Rebuild using ‘apktool b --use-aapt [path to decompiled reader folder]’. Finally I signed the apk on a computer with JDK 6 installed and zip aligned. This apk installed successfully but the reader wouldn’t launch and the apk name when opening on nook to install was a long string of Chinese text for some reason. So I decompiled the apk once more (this time using ‘apktool d -r [path to modified reader apk]’ to keep resources encoded and AndroidManifest.xml still in encoded android binary). I then copied the AndroidManifest.xml and the edited EpdControllerUtil.smali to a temporary folder and deleted the rest.

Then I decompiled the original unmodified reader apk once more, this time using ‘apktool d -r [path to original unmodified reader apk]’ to keep resources encoded. Finally I replaced EpdControllerUtil.smali with the one from the temporary folder, and replaced the AndroidManifest.xml with the edited but still binary encoded one from the temporary folder as well. Finally I recompiled, signed and zip aligned.

Now the reader is successfully working and fully refreshing each page turn. Only slight issue I’ve noticed, is a few books purchased on the B&N store no longer open (out of 4 only 1 opened). All my side-loaded ebooks however open perfectly. Could this be to do with sharedUserId no longer being part of the app and messing with drm? Also does anyone know how to get the font sizing patch working on the latest reader on 1.2.2? Thank you and I hope this helps anyone in the future.
[Nook Touch General] Renate:
Sorry, I was asleep at the wheel.

Yes, the old EpdControllerUtil mod is still correct.

Were you looking to make it refresh every page?

MAX_GU_UPDATES & ENABLE_GU_UPDATES are private static final.

Therefore their values are already "baked in" the code and changing them does nothing.

You could even delete those lines.

The ReaderCommonUIConstants mod still works for me on 1.2.2

What problem did you run into?

Changing sharedUserId on B&N stuff may break something.

I've never really dived into what they were doing on B&N books.

You could just resign all of the B&N stuff.
[Nook Touch General] miles600:
Thank you very much for the reply. Yes I managed to edit the app in the end to successfully refresh every page turn. Attached is the screenshot of the error I ended up with when trying to compile with the modified ReaderCommonUIConstants

Also with regards to the newer Nook Glowlight 3 and 7.8" plus model, is there a way to get these models to refresh every page that you know of? Thank you
[Nook Touch General] Renate:
Yeah, there was a change in apktool (smali & baksmali) on the formatting of smali instruction const-wide/high16

There is a new patch nook122.zip (under MergeSmali) that should patch fine.

But... There seems to be some sloppiness in the B&N reader and apktool being strict will not assemble correctly.

This has nothing to do with the patching itself.

There are a few files which have to be copied to different directories:

copy E:\Reader122\res\drawable-v8\c_dialog_box.9.png E:\Reader122\res\drawable
copy E:\Reader122\res\drawable-v8\c_empty_screenshot.png E:\Reader122\res\drawable
copy E:\Reader122\res\drawable-v8\installing.9.png E:\Reader122\res\drawable

Now I'm running into a different problem which seems to be a bug in this apktool, so I'll get a newer.

Edit: So, you do have to copy those three files over to rebuild correctly.

The other problem is that B&N used non-standard values in the typeface attribute.

So you must install the framework-res from Nook 1.2.2 to build, not any from a Glow or anything else.

C:\>apktool.bat if Nook122\system\framework\framework-res.apk
[Atrix 4G Q&A, Help & Troubleshooting] mickeycohen:
Hi,

This might be a stupid question, but if I have a properly working recovery, what is the actual risk of playing around with ROMs?

I mean, as long as you can use the recovery, you can always reset/delete everything and install a working ROM, no?

What could happen if I install a wrong ROM / install incorrectly / don't wipe what needs to be wiped before installing

One last question, what is the difference between recoveries in terms of Flashing ROMs? Are there ROMs that can only be flashed with specific recoveries?

Sorry for the noobiness...
[Atrix 4G Q&A, Help & Troubleshooting] AkaGrey:
1) if u flash a wrong rom (ie NOT an atrix rom) you would brick the phone. If u are flashing an atrix rom , but have a bad flash/not wiped properly u can have boot loops or if the phone starts can the rom having problems.

2) U can flash roms with all recoveries, but one could be better with another recovery, it depends.

As always, AFAIK.

Inviato dal mio Atrix con Tapatalk
[Atrix 4G Q&A, Help & Troubleshooting] mandroid717:
and NANDROID backup is your BEST friend........
[Atrix 4G Q&A, Help & Troubleshooting] exwannabe:
Since you said "properly working recover" I assume this to mean you unlocked the bootloeader and installed CWM or such?

If so, that was by far the riskiest step (though still fairly safe if you can follow instructions).

From here on if you avoid using fastboot/RSDlight it will be difficult to get yourself in trouble. You might "soft brick" your phone if you put the wrong stuff on, but you still have recovery to either restore a backup or try something else.
[Sony Xperia P, U, Sola, Go] espe0:
hello guys

my sxs is almost piano black couse my pocket

bravia yellow screen by factory issue

and now it reset it self in stress

I'm asking:

WTF?!
[Sony Xperia P, U, Sola, Go] KidCarter93:
Mine also resets itself now and again but mainly it crashes so I have to do a hard re-boot. I think it's because the phone simply can't handle the technology inside it

Sent from Sony Xperia S using XDA Premium
[Sony Xperia P, U, Sola, Go] gm007:
Lol
[Sony Xperia P, U, Sola, Go] technaudio:
Highly unlikely.

More likely :

An app you installed is doing it. I had a live wallpaper that used to freeze up and reboot my phone, so I uninstalled it.
[Sony Xperia P, U, Sola, Go] KidCarter93:
Possibly, but the reason I guess what I did is because I know tons of these phones that have had the same problem and even a lot of posts here on xda show the same problems aswell. So that's why I'm thinking it must be something on the phone originally rather than something that's been out onto it.

Sent from Sony Xperia S using XDA Premium
[HTC One X] steveuk9000:
My Htc One X phone switched itself off last night on its own. I thought the battery had ran out but it hadnt. I had to go into service mode with a power lead connected to get it to reboot back on again.

Is this going to be a common fault on this phone? Its made worse by not being able to take battery out to do a normal reset.

Its a good job it happened at 2am in the morning and not during the day, as i would not have had a psu with me, only the one i carry in the car.
[HTC One X] Erik Lieders:
lucky man...
[HTC One X] cronus101:
more details are required eg are you rooted? etc...
[Windows Phone 7 Q&A, Help & Troubleshooting] garak0410:
Hello...

I come from old school Windows Mobile (even on a PDA as PocketPC) and pretty much used one until 2010. I kept waiting for Windows Phone 7 but the wait became too long and I decided to go Android.

I've had 3 different Android phones since 2010 and I am currently on the Samsung Skyrocket, which has been the best and most stable Android Phone I've owned. I also have an ASUS Transformer Prime with keyboard and it is a joy to use. I really do love widgets and use them heavily for my tasks, calendar and other at a glance "life notes." I also use OneNote for Android to keep notes and frequently accessed information.

I am also enjoying the Google ecosystem of Gmail, Calendar, Contacts, Reader and other services.

Despite the Tegra processor in my tablet, I don't play a lot of games and I often find that I wish I could do real work on an Android device or even play my "Good Old Games" from GOG.COM on my mobile devices.

However, I am a Microsoft guy. I have a Windows 7 main PC that serves my media to my XBOX. My laptop currently has Windows 8 release preview installed on it. So far, I am liking the ecosystem between Windows 8 and XBOX.

Which brings me to Windows Phone. I have one for work but I've not really made it mine yet. I like most of what I see. Maps do lack when compared to Google Maps and navigation. There isn't a good Google Reader app I've found yet and the YouTube app is pretty bad. However, a lot of these I could live with because I do like the Windows Phone interface and the common ecosystem it will have with Windows 8 and XBOX. I am also Zune owner (we have 3 in our family) and love the Zune player.

Android, in my opinion, is king as far as useful mobile apps and collaboration. I like file level access, apps like DropBox work seamlessly and I love the options on sharing media. But I am really wanting to move to close to one platform as I can. Kind of jarring to go between platforms.

So, all that said, I wanted to hear from other Windows Phone owners on how they like their devices. A few questions:

Will current devices like Titan II and Lumia 900 be upgradable to Windows Phone 8?

I think I will miss being able to change my own battery. If and when a battery needs to be replaced, what is the process? Can a store do it or do we mail it back in?

I'd love to make a Windows Phone my Zune replacement but being limited to 16 GB kind of stinks and I don't want to always have to stream via ZunePass. I have unlimited data but I don't want to become a "top 5%" user.

Thanks for letting me ramble...looking forward to a good discussion. Even if some of you convince me to stay Android...ha.
[Windows Phone 7 Q&A, Help & Troubleshooting] AndyFZ1S:
I wouldn't get too comfy with Zune as it looks like it will be replaced with X-Box Music, It is very difficult coming from a platform which is so customisable to WP7 which is quite closed, No doubt you are aware of the limitations associated with WP7 so I wont bore you with the details, I initially came from using Symbian to Windows mobile 6.1 then 6.5 and now WP7.5, I did find it difficult at first as I was so used to changing backgrounds and checking my files in File Manager etc but now I must admit I don't really miss any of that and am happy having a phone which does not need any tinkering, I find I use my phone less now and only use it when it counts, Before it was a cure for boredom having lots of things to change and I don't miss flashing ROMs or installing CABs,I am not really a heavy business user but my phone keeps my appointments at hand and syncs with my contacts and calender and makes phone calls believe it or not :rolleyes: I love the simplicity that I can update where I am and what I am doing with just a couple of swipes, I use Nokia Maps which I find very adequate and Nokia Drive is superb and Free, The way I look at WP7 is that it is an OS in its infancy which will grow and get stronger.:)
[Windows Phone 7 Q&A, Help & Troubleshooting] garak0410:
Great reply. I use ZunePass to get the music I want and keep the 10 songs a month. It plays very nicely with my Windows Media Center extender on the XBOX as well.

I am OK with less customization as long as I get USEFUL apps. My most useful apps on Android are a caleder widget, syncing with google tasks, Cozi (has a killer grocery list app), OneNote, Google Reader. I use those the most. There are apps to replace those on Windows Phone and I'll try them out on my work phone. I am sure they may not be AS good but they could prove passable.

I am OK not changing backgrounds and such.

Really, I am more fascinated with Windows 8 tablets than anything else and just kind of want my phone on a like ecosystem. The trick is seeing if I could live with the changes. And the frustrating fact nothing comes higher than 16 GB and can't change battery (Titan II or Lumua 900).
[Windows Phone 7 Q&A, Help & Troubleshooting] AndyFZ1S:
It seems they are all going that way with the non removable batteries, It is a pain but I look at it this way, Most batteries can be charged/discharged up to a 1000 times, Taking into account not many people keep their phones for two years you would have lets say 1000 days usage before any severe battery degradation, That is just a theoretical view of course and I am going on standard rechargeable batteries but it makes me feel a little better about it.

Try and stick with it and do try the replacement Apps, Hopefully it won't be too much of a painful transition for you.
[Windows Phone 7 Q&A, Help & Troubleshooting] markthomson1404:
Interesting

I would recomend you look at the recent breakthrough in Titan (1), I came to winphone from 6.5 and now with the recent HSPL breakthrough it is like the good old days again

Mark
[Motorola Droid RAZR] WizeGuyDezignz:
Hey all, I'm a new Droid Razr Maxx owner! I bought it off contract from someone locally and I'm really happy with the phone so far!

With one exception....I noticed a stuck/dead pixel last night off to the right a bit of the center of the screen. :(

Someone with more knowledge than me can tell me which it is, but it shows up white on dark backgrounds. I think that's a stuck one correct?

Anyhow, I ran one of those stuck pixel apps last night while I was sleeping and it's still there. So I'm afraid I'm SOL right? Would Motorola see this as a reason to replace the screen under warranty? I highly doubt it, but just looking for options.

If I can't do anything about it, I guess I will just have to live with it. But I'm pretty anal about stuff like that haha.

What do you guys think? Thanks!
[Motorola Droid RAZR] romdroid.:
Is it like this one in my thread? http://xdaforums.com/showthread.php?t=1552688

If it is, you don't need to worry. There is a bigger chance you will get a phone with another bigger fault if you exchange it. I didn't exchange mine

Also it's not precisly a stuck pixel it has something to do with the gpu because everytime the capative buttons is on aka lighted it's visible.
[Motorola Droid RAZR] WizeGuyDezignz:
Mine isn't much like yours. Mine is a stuck white pixel towards the middle of the screen and it stays in that location no matter what.

It's weird because it doesn't show up on a black screen. It shows up on gray and more neutral colors. It's like the size of a pinhole but it's pretty annoying. I'm assuming it's annoying because I know it's there lol.
[Motorola Droid RAZR] joshw0000:
Unless you're brave enough to replace the screen, I'd try to get it replaced. My old G'Nex had a speaker issue. It slowly started acting up until it bit the bullet. I didn't buy my phone from Verizon and when I went to a store they said they wouldn't help me. I called 611 (from within the store- at this point I was pissed). I explained that I didn't buy my phone from Verizon but it is a manufacturer's defect. They advised me to take it to a store for review, told them I was at one, they finally just agreed to send me a "like new" replacement.

Now, maybe the fact that I've been with them 10 years, never missed a payment, and am currently not under contract had an affect, but I always seem to get much better results when I call in rather than go to a store.

Call them, worse they can say is no.
[Motorola Droid RAZR] iolinux333:
you can try wrapping in plastic and putting in freezer overnight but that will set off moisture sensor and u lose warranty
[Motorola Droid RAZR] joshw0000:
Never heard of that one.
[Motorola Droid RAZR] WizeGuyDezignz:
I got on an online chat with Motorola and they said to send in my phone for evaluation and POSSIBLE repair. I asked if they would even be able to see what I'm seeing and if they would deem a repair for it. She said send it in and they will take care of it.

Color me skeptical. Should I try it?
[Motorola Droid RAZR] joshw0000:
Get an RMA # and go for it!