yashsingh1/xdaforums huggingface dataset:
[Nook Touch Themes and Apps] sun4384:
For those suffering Google Talk not working, the cause was a malformed layout file (avatar_no_presence.xml) having no layout_width/height attributes. I apktooled the Talk.apk app and added them with "wrap_content" values, rebuilt, signed and then uploaded to the Nook and made sure it sort of works. GTalk doesn't crash, I can see the list of buddies, and can set status message, but the soft keyboard doesn't popup when trying to send messages, which was sort of the case with the previous rooters (showing half of the soft keyboard). I maybe dig in a little further.

---------- Post added at 02:24 AM ---------- Previous post was at 01:26 AM ----------

Just found the cause for the soft keyboard issue too. In the chat_screen.xml file at line 9, remove "textShortMessage" value from the android:inputType attribute. All works fine now!

Well the problem is that you need to know how to use apktool to decompile and rebuild, how to sign your modified Talk.apk app, and how to replace the app in the system partition... I hope this can be incorporated to the next release of the NTGAppsAttack. Until then it goes something like this:

#enable adb wireless on Nook first

adb connect

%IP%

adb pull /system/framework/framework-res.apk

adb pull /system/app/Talk.apk

java -jar apktool.jar if framework-res.apk

java -jar apktool.jar d Talk.apk

keytool.exe -genkey -keystore

%keystore%

-keyalg RSA -alias

%keyname%

-validity 10000

(I'm using Java 1.7: if you are using an older version it might be different from this.)

Then modify the files:

res\layout\avatar_no_presence.xml: add the following at line 2:

android:layout_width="wrap_content" android:layout_height="wrap_content"

res\layout\chat_screen.xml: remove the following at line 9:

|textShortMessage

#then build, sign, and replace the apk file

java -jar apktool.jar b -a

%path_to_aapt.exe%

Talk

jarsigner.exe -keystore

%keystore%

-sigalg MD5withRSA -digestalg SHA1 -storepass

%password%

Talk\dist\Talk.apk

%keyname%

adb connect

%IP%

adb shell mount -o remount,rw /dev/block/mmcblk0p5 /system

adb push Talk\dist\Talk.apk /system/app

Edit: Well, not yet. Messages are sent/received well, but the problem is once the screen fills up with messages, it doesn't scroll up! I may dig in further...

Edit2: See my other post in the next page for the solution to this issue.
[Nook Touch Themes and Apps] straygecko:
Odd. avatar_no_presence.xml references style Widget.QuickContactBadge.WindowMedium which is defined in framework-res.apk with a parent style of Widget.QuickContactBadge which defines layout_width and layout_height so I don't think they should need to be explicitly specified in avatar_no_presence.xml. Why its requiring them is I believe the bug I was referring to in a previous post. Or perhaps it has something to do with B&N's framework-res but I don't see it. I suspect other theme/style issues may be the root of your other problems too.
[Nook Touch Themes and Apps] sun4384:
Precisely, it's layout_width causing the problem. Without it gtalk terminates immediately when executed, giving a runtime exception saying layout_width attribute is missing in the logcat. As you said, it's weird because it's specified in the framework file.

Regarding the auto scroll issue, it looks (according to the logcat output) some operations that keeps the message view anchored to the bottom is not supported in NST. I think there is no simple quick fix for this, and probably whenever a new message is sent/received, the view must be "force-scrolled" to the bottom. Until then, we have to manually scroll it when messages fill up the screen. It's kind of bearable for now.
[Nook Touch Themes and Apps] straygecko:
I found some info on the layout_width problem and it seems to apply to the keyboard problem as well. It seems to have something to do with SDK compatibility behaviors. Talk doesn't declare a minimum SDK level its compatible with or a target SDK so Android tries to use some compatibility behaviors for Android 1.0. I found a reference to this problem that said a fix was to declare minimum SDK level 7 and target SDK level 9. I tested that and Talk opens fine, doesn't crash and the keyboard seems to display properly. But I don't use Talk so I don't have any way of testing further. Would you try adding the following line to AndroidManifest.xml without any of the other changes to the layouts you have been trying and let me know how it goes.

<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="9" />
[Nook Touch Themes and Apps] sun4384:
I tested straygecko's approach instead of adding layout_width, and gtalk didn't crash. It runs fine on execution. Still the keyboard doesn't popup though. Believing that I can find a working alternative, I tried Xabber. Well, it suffered exactly the same problem: no keyboard popping up, and no auto scrolling down to the new message. I tried the same change I suggested for the keyboard issue with gtalk to Xabber, and it did take care of it.

Regarding the scroll issue, the root cause is that android:transcriptMode attribute in the chat_view.xml, which automatically sets the message list view anchored to the bottom, is not supported on NST. You can easily confirm this in the logcat output. Also android:stackFromBottom behaves somehow weirdly because on NST list view always scrolls by page. For example, when there are 25 items on a list that can show 10 items at a time, you can see the items from 1~10, 11~20, and 21~25, but not from 16~25. So, when the list size is smaller than the page size, android:stackFromBottom works fine. However, when bigger, it only shifts the items on the last page, like 21~25 in the previous example, to the bottom.

At least we can do something for the android:transcriptMode issue by force-scrolling the list all the way down whenever the list is updated (new messages on gtalk). Find ChatView$ChatAdapter.smali under smali/com/google/android/talk, and add the following code. What's being done in the code is that scroll events are being monitored, and when there is an update to the message list (except when user manually scrolls), the list is scrolled all the ways down to the last item.

1. add the following after line 24:

.field public mIgnore:I​

2. Find "onScroll" method. Modify its first line to ".locals 1" (from 0 to 1). Then at the end of the same method right before "return-void", insert the following code:

iget v0, p0, Lcom/google/android/talk/ChatView$ChatAdapter;->mIgnore:I

if-nez v0, :ignore

add-int/2addr p2, p3

if-eq p2, p4, :ignore

const/4 v0, 0x1

sub-int/2addr p4, v0

invoke-virtual {p1, p4}, Landroid/widget/AbsListView;->setSelection(I)V

:ignore

const/4 v0, 0x0

iput v0, p0, Lcom/google/android/talk/ChatView$ChatAdapter;->mIgnore:I
​

3. Find "onScrollStateChanged" method. Then at the end of the method right before "return-void", insert the following code:

iget v0, p0, Lcom/google/android/talk/ChatView$ChatAdapter;->mIgnore:I

const/4 v1, 0x1

xor-int/2addr v0, v1

iput v0, p0, Lcom/google/android/talk/ChatView$ChatAdapter;->mIgnore:I
​

Read my previous post to figure out how to download, decompile, build, sign, and replace the Talk.apk file. It sounds a bit daunting, but once you go through the process, you can hack any app you want. Also don't forget to apply the other changes (removing "|textShortMessage" from chat_screen.xml, and adding "<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="9" />" to AndroidManifest.xml as suggested by straygecko).

Regarding the scroll-only-by-page issue, I think we really cannot do anything at this point. Maybe injecting some dummy messages to the beginning of the list? Oh well...
[Nook Touch Themes and Apps] Goggles2114:
Has anyone figured out what BnN apps to put back in the app directory to get google play/store working again?
[Nook Touch Themes and Apps] slewis1972:
Hi

I am getting "a server error has occurred" when I try and start the market. Any ideas?
[Nook Touch Themes and Apps] MrPuddington:
Same here. It started after I tried to use the search function in the Market, although that may not be the reason. Wiping the data for the market does not help. Anything else I can try?
[Nook Touch Themes and Apps] MrPuddington:
I had the error two, on all three nooks that I am setting up in fact. So it seems to be quite persistent. I tried a lot of recommendations, clear data, different connection, reinstalling the market, reinstaling Gapps, and nothing helped immediately. However, all three are now magically working, without any changes since the last (failed) attempt.

So my guess would be that this is indeed a server issue, and it just takes some time to resolve it. Does that sound like a good theory? I also wonder whether it has to do with using the search function, and I am sure we could imagine and run a few tests to find out.
[Nook Touch Themes and Apps] heapish:
I found that the Market search doesnt work. Is there a fix?
[Nook Touch Themes and Apps] JJEgan:
read post one searchmarket app
[Nook Touch Themes and Apps] digixmax:
http://www.appbrain.com/app/searchmarket/youten.redo.searchmarket.
[Nook Touch Themes and Apps] heapish:
Cheers
[Nook Touch Themes and Apps] apap:
I am unable to install searchMarket from play.google.com because I think the 2nd step verification is not working. I tried to install it as an apk from my sdcard but I get the messge that there is no space. Is this because it is treated as an unknown source?

Without searchmarket and without the ability to install via apk I am stuck. Any suggestions would be appreciated. Thanks, A.
[Nook Touch Themes and Apps] stannoo:
Sorry to be thick but when I unzip the NTGappsAttack to my SD card and load it I don't see a Install NTGappsAttack option there. All I have is the Custom folder with files/menu/scripts folders and the credit and readme files. What am I doing wrong?
[Nook Touch Themes and Apps] straygecko:
Before you unzip NookManager already has the custom folder with subfolders files/menu/scripts. When you unzip NTGAppsAttack it also has the same custom folder & subfolders and the unzip should add those files to the existing custom folder and subfolders already on the sd card. You must have the file /custom/menu/custom on your sdcard for the NTGAppsAttack menu to appear and, of course, all the other NTGAppsAttack files in the appropriate folders for it to work. Then boot NookManager and from the NookManager main menu select More, then Custom, then Install NTGappsAttack.
[Nook Touch Themes and Apps] straygecko:
From the OP: If you use Googles 2 step authorization, create and have ready an application specific password since when registering your Nook it won't redirect to the page where you add a generated pin from the Authenticator app.

If you never got through authorization its unlikely searchmarket will work or, at least, you won't be able to download and install anything so make sure you get that done first. If you still need to install searchmarket from apk try using ADB as it doesn't get the bogus not enough space message.
[Nook Touch Themes and Apps] Xadious:
If during step 14 i accidentally untick the location tracking box - is there anyway to enable it later on? Is the setting in a file somewhere as i might be able to access it via AirDroid?

Also, anyone have issues with reading mail via Gmail (All Mail section)? A lot of emails don't seem to open. It will show the loading screen for a second but then go back to the previous screen showing all the emails. An example email is the ones you get from ebay when you purchase something or even Amazon and many other emails.
[Nook Touch Themes and Apps] oursoul:
Honestly I would do a factory reset and start over again, on mine I tried all sorts of things until I was happy, flashed older OFW's, wiped a few times with CWM, rooted with both the main options here. I've settled with NookManager and NTGAppsAttack and was lucky to get it working first try.

I don't have any issues with gmail, both Amazon and eBay mails are opening just fine. I have 'show pictures' disabled by default on all my gmail browsers but even when I tap 'show pictures' on each email everything loads just fine too.
[Nook Touch Themes and Apps] patp:
I did this too, and Market hasn't updated itself, so Searchmarket isn't appearing even though on play.google.com it lets me do the install. Is location tracking essential?
[Nook Touch Themes and Apps] toibs:
Noob question....

"16. Go back to ReLaunch and open the Market"

Where is this??!!!

(Apologies!)

Cheers
[Nook Touch Themes and Apps] cowbutt:
n key->Home->ReLaunch->App drawer (middle icon on bottom depicting a grid of squares)->Market
[Nook Touch Themes and Apps] dmreeceuk:
sd card too small

I am a complete beginner and have just rooted my nook, I backed up during the process and used a 4GB sd card. Now when I try to unzipNTGAppsAttack on to the same card to continue with installing all the google stuf the card not big enough. What can I do? Can I take some things off the card or just transfer it all to a bigger card. It put the back up on a separate partition on the card but I cant see it and anyway I don't think if I made space there it would help.

I really don't know what I am doing but after rooting I saw that installing NTAppsAttack was the next thing to do? Any help guys/girls
[Nook Touch Themes and Apps] dmreeceuk:
Got it working I just needed to adjust the partition on the sd drive to a sensible state the backup partition was huge for 3 books!
[Nook Touch Themes and Apps] tshoulihane:
I used NookManager and NTGAppsAttack on a new NST, seemingly without any problems, and insalled the #174 kernel - but I'm now wondering if I made some mistake, or if the process is sometimes a little unreliable?

When I use the market, I frequently get server errors (but retry works), and some apps will install but not open (specifically BetterBatteryStats, and a beta build of NewsRob) Oddly, the beta NewsRob build would load OK the first time I tried it, but not any more after uninstall/re-install. AndFTP also loads OK, but crashes.

Should I expect these problems, or is this a sign I should start again?
[Nook Touch Themes and Apps] DevenStonow:
Does anyone have any solutions for being able to read Google Play Books with books that you have uploaded yourself via google play?
[Nook Touch Themes and Apps] StickS81:
Right...I forgot to connect to to WIFI before installing NTGAppsAttack....I cant see a way of connecting now. Anything I can do?:confused:
[Nook Touch Themes and Apps] spedinfargo:
Any other tips on getting Google Market to work? When I long-press and choose Uninstall in relauncher it just gives me a "uninstall unsuccessful" message. Any other way to uninstall the update?

I also tried adding the second gmail account and that didn't do that trick...

Really only interested in getting my DropSync pro installed on it - any other ways of doing that?

Thanks - great instructions on this thread - just running into this known issue...
[Nook Touch Themes and Apps] cowbutt:
You don't need to uninstall Google Market; just the update that it automatically installs if you don't quickly install something (anything) after enabling WiFi for the first time after rooting. Once the update is uninstalled, quickly start it and install something, then it should stay working.
[Nook Touch Themes and Apps] spedinfargo:
Any other trick for uninstalling just the google market update? When I go into Relaunch and go to All Apps and I try to long-press and uninstall I just get a "uninstall not successful" message. Or is there something else I need to go into to uninstall the update?

I can flatten the device and try again from scratch but just seeing if I'm missing something obvious.

Thanks
[Nook Touch Themes and Apps] straygecko:
uninstall not successfull usually means the update hasn't been installed. This is because Market is installed as a system app but the update is installed as a user app. So the update can be uninstalled by normal means (long press, uninstall) but not the base Market app. I would restore to prior to installing NTGAppsAttack and try again.
[Nook Touch Themes and Apps] spedinfargo:
I think time was of the essence. I restarted everything from scratch and did the log in and market stuff right away after boot and things worked MUCH better this time. Got right into the market, installed a free app, and all of my previously-paid-for apps were sitting there ready for me to download as well. Awesome!

Thanks a lot...
[Nook Touch Themes and Apps] sevakm:
Gmail accounts

First, thanks a lot to the op for the wonderful work.

I am having some problems with the gmail app. Any time I try to access account settings (menu->accounts->account settings) something crashes and my NST restarts. Is this a known issue? Any suggestions on how to fix this?

Also, is it possible to remove an account? I successfully added a second gmail account, and would like to remove the original one, but cannot find how to do that.

Thanks.
[Nook Touch Themes and Apps] straygecko:
Yes, account settings is broken. The work around is to add the gmail account again to gain access to the settings. Go into Gmail, open the menu and tap on Add Account. Add your same Google account again and you'll get a screen that will let you select what you want synced. Don't worry, it won't really add the account twice.

Don't know about deleting an account as I only have one. Maybe a long press on the account in the account list?
[Nook Touch Themes and Apps] sevakm:
Thanks a lot! That did it.

As for deleting an account, I still haven't found a way, but I don't need it anymore. I had tried long pressing on an account, but that didn't work.
[Nook Touch Themes and Apps] KEYofR:
Had two email accounts in several apps for a while because of when you had to use youtube to register, and my youtube acct was unrelated to my gmail.

I ended up clearing it slowly over a few days by installing sqlite editor and looking at the db's behind every app the showed either two accounts or showed the wrong account.

I seem to remember also having to be a little perceptive and observant. Don't just blindly delete records. I noticed many times an app would have an sqlite db with two records, one for each email, and one of the fields in each record looked like a counter, like my non gmail addr from youtube would be the 1st line, and one of fields would say 0 or 1. And the 2nd line would be my gmail and that field in the 2nd line would be 1 or 2. I wanted to ise the gmail acct so aside from deleting the youtube line, I also edit that acct# or index field from 1 or 2 down to 0 or 1.

Sounds dicey but it worked after a few days trial & error finding more db's to edit. That was all over a year ago and it's been fine ever since. Sometimes a deleted record just comes back, until you find some OTHER db where it was coming from and edit that one. Sometimes the edit screws up an app and you just delete and reinstall it.
[Nook Touch Themes and Apps] Hung0702:
I'm not sure how to accomplish this... I've looking at the /sdcard/custom/ directory and I'm seeing three folders and 2 text files. I've tried to go through each folder and long press on every file but I haven't found any option that seems relevant to install.

Nvm, used search, found it out here.

Correction: I was wrong again, that post doesn't help me at all. Still the same problem. I can't conceive a feasible method to install given the zip's contents.
[Nook Touch Themes and Apps] cowbutt:
Follow the preceding instructions, including unzipping NTGAppsAttack onto the root of your NookManager SD card. You have to boot your Nook from your pre-prepared NookManager+NTGAppsAttack SD card. Once booted into NookManager, follow the menu options listed to install NTGAppsAttack.
[Nook Touch Themes and Apps] kbuster2:
add to nook manager sd

I successfully rooted the device and pulled the micro sd and inserted in pc to add NTGAppsAttack but pc (win7) no longer sees the micro SD. How to get file to card?
[Nook Touch Themes and Apps] straygecko:
You can boot your Nook off the NookManager sd card and then connect it to your PC. Two new drives will show up on your PC - one is the NookManager partition where you want unzip NTGAppsAttack. The second will be the backup partition where you can copy the backup you made with NookManager to your PC for safe keeping
[Nook Touch Themes and Apps] kbuster2:
Thanks,

That's what I did. Used an ubuntu disc boot to look at it. I also discovered (though I slightly remember this from before) that putting the micro sd card into a usb adapter doesn't work but via an sd card adapter the pc does see the micro sd and it's files. I also learned that it was absolutely necessary to follow instructions and extract the NTGAppsAttack zip to the root of the sd card - copy and past of the extracted file does not work.
[Nook Touch Themes and Apps] cherylbaker:
wonder if anyone can help. I rooted and all was fine. wanted play store so installed this. I got to enter my username and password and it failed.. server error.. during the first part it never ever let me log in.. when trying to start market it gives an error and when I try to uninstall the market it says uninstall failed...
[Nook Touch Themes and Apps] OverByter:
You can try reinstalling the package, you can't uninstall the market because it's a system app, need to use a file browser and navigate to it and delete it that way.

OB
[Nook Touch Themes and Apps] straygecko:
Unfortunately, Google can be fickle sometimes. The best thing to do would be to restore your Nook to prior to installing NTGAppsAttack and install it again.
[Nook Touch Themes and Apps] ursulavasey:
I have a problem that has not been covered in the thread here. I rooted my Nook today, using Nook Manager, and the root went fine. Then I copied the unzipped NTGappsAttack on to the SD card, with Nook manager still on the card. I copied the NTGA folder directly to the root of the card. However, when I inserted the card and booted into Nook Manager, I cannot find the Custom Menu in the More section of Nook Manager, so I can't progress. Can anyone help me with this, please?

It's OK, I have sorted it. I unzipped the NTGA folder to the memory card incorrectly. I copied the folder from the NGTA level, instead of going in one level further to the Custom folder, which is inside the NGTA folder. The Nook then found the Custom option, and I was able to continue the installation and setting up process without any further issues. I think the OP needs to clarify that point in the instructions, making sure that the folder that is copied is the custom folder, contained within the NGTA folder. That was the only stumbling block for me; trying to copy the folder correctly. Apart from that, the instructions were very clear.
[Nook Touch Themes and Apps] MikeDaub:
I would love to know this one too.. The whole reason I am ditching my Nook Classic for the Simple Touch was pretty much for the Google Books part. I can see all the books I uploaded, but I cannot open them..

Anyone have any suggestions?
[Nook Touch Themes and Apps] cairnarvon:
SearchMarket

Can't get SearchMarket to install. I followed all the instructions in the OP (The numbered ones, but I couldn't install Go Contacts EX) but when I open play.google.com, the page doesn't load correctly. The style is incorrect. It doesn't let me search for anything. (In both browser and Opera mini)

However, I managed to get to the App's page via the appbrain website and it won't let me install.

I did only root on Sunday. I know it says something about 24+ hours.

I'm not getting any server errors at least.

--

EDIT: I went to play.google.com/store and it worked.
[Nook Touch Themes and Apps] jonnyhardaker:
deleted...
[Nook Touch Themes and Apps] straygecko:
I've never tried the Play Store using a browser on the NST. Use your PC to go play.google.com instead. My experience with any of the browsers on the NST are they are frustrating at best except for the simplest of things.