yashsingh1/xdaforums huggingface dataset:
[Nook Touch Android Development] roustabout:
I think what's going on is that BN has a fair amount of authentication services they need on the device, to be sure that you're properly accessing your account and syncing your reading position, etc.

Google has a lot of auth services they need, too, to lock down access to gmail and the credit cards tied to your account.

Although in the Nook app for Android, BN kept all of its ducks in a row, on the NC and NT BN decided to set its auth services up as the dominant auth services, and getting the Market and gmail to play nicely in parallel is challenging.

Mind you, I'm not a dev, just a semi-informed observer who's seen a little of the discussion and tried to figure out why the Nook for Android app will no longer install on the NC.
[Nook Touch Android Development] nickveldrin:
K I went through the steps again, and it looks like it's after doing youtube where it does not want to go past. I am able to authenticate to my account on youtube, but when opening gmail and trying to sync, it just closes.
[Nook Touch Android Development] roustabout:
Sounds a lot like the early attempts at getting manual nooter running on the NC without doing a complete device wipe - if you only formatted /system the root kinda worked adn the market didn't at all.

For me, I'm happy with where I am on the Touch, because there are only about 5 applications I want to add: adb wireless, fbreader + fbsync, Newsrob and Tasker. I'm sure there are others also, but those are the biggies for me, plus a launcher.

So the sideload process works fine for those apps as need it (and most are actually still installed, since I didn't wipe /data.)
[Nook Touch Android Development] mali100:
Just tried, and it works for me. I can install apps from the market without problems (I got the nook today and updated immediatly, so I'm sure there is no device id from a previous patched framework).

br
[Nook Touch Android Development] GabrialDestruir:
On your normal android device, you'll have something called an Android ID, this ID I think is connected to your Google account and allows you to access your services such as Gmail, and Market. In your normal phone, and I may have this wrong, it responds to the servers that it's a phone and therefore can be assigned an Android ID. On your normal unhacked framework.jar within the Nook Simple Touch, this doesn't exist, so Android ID doesn't properly get generated.

Without this Android ID, Gapps will not work, you won't be able to check Gmail, you won't be able to use market, etc. This framework.jar is only required if you want Gapps working. If you don't care about Gapps then you don't need it.
[Nook Touch Android Development] GabrialDestruir:
Okay, got a new version of TouchNooter put together, I will be trying it and seeing how it works.
[Nook Touch Android Development] ros87:
There are three pieces of info that Market asks for:

Android ID (Auto generated on first boot, also on the NST)

Phone Type (NST surprisingly returns GSM when asked for this)

Device ID (this is where it goes ka-blam as this is null on the NST)

getDeviceId() would normally return the IMEI for a GSM unit, but as there are nothing in the other end of the Radio Interface Layer on the NST this function returns null, and it it this function that is patched in the framework.

I've actually been looking into writing a dummy-ril for the NST as to avoid having to use a modified framework.
[Nook Touch Android Development] GabrialDestruir:
Ah well, my understanding was always that android id thing was broken. The device gets patched framework.jar using the method I linked to previously and it works... but if we could find a way to make it work without a modified framework.jar maybe we could build a version of TouchNooter that persists between version updates?
[Nook Touch Android Development] ros87:
Looking at the updater-script for 1.0.1 doesn't leave much hope for a persistent TouchNooter :(

...
format("ext2", "/dev/block/mmcblk0p5");
mount("ext2", "/dev/block/mmcblk0p5", "/system");
...

And there's also the problem with uRamdisk being replaced by the update.
[Nook Touch Android Development] GabrialDestruir:
I was unable to get TouchNooter to boot with the version of framework.jar posted earlier. I'm getting the black flashing screen boot loop. Not really sure what's causing this and have no way to adb in to find out. (My computer really doesn't like USB ADB) I may just release a Gapp-less version of touchnooter until I can figure it out.

Okay... maybe I'm just hitting some bad luck, but even after removing framework.jar from nooter I can't seem to get it to boot. Idk what's going on.
[Nook Touch Android Development] GabrialDestruir:
Well, what I mean is persistent in the sense that one version could work across multiple versions of BN software.
[Nook Touch Android Development] ros87:
Ah sorry, misunderstood you there :D

Yeah that should be possible.
[Nook Touch Android Development] nickveldrin:
I see! That makes sense - thanks for explaining. I will wait patiently for a fix and will try again as more progress is made.
[Nook Touch Android Development] GabrialDestruir:
Seems there's something else wrong with TouchNooter besides the framework, I'm going to have to rebuild it from the ground up for 1.1 It seems even without framework.jar somethings corrupting system so it won't boot.

Some bad news, it appears that there may be some sort of signature based protection on files in /system. I'm not sure how to confirm this, but it seems if I replace framework.jar it boot loops, if I modify build.prop without replacing framework.jar it also boot loops. If someone could verify this maybe with noogie? I can add files to /system/ but any modifications to an existing /system/ file causes a boot loop from what I can tell.
[Nook Touch Android Development] apeine:
Dear Fellows,

Kralik, a XDA user, having few posts, and being unable to post in the development forum, posted the following on Mobileread forum:

Link

Maybe it can help us get to a solution faster.
[Nook Touch Android Development] ros87:
fwiw, I've also seen this behavior on 1.0.0 and 1.0.1 when replacing android system files on a fully running system. (dalvik cache?)

Just did a quick test on editing build.prop with noogie and then reboot.

#cat build.prop
...
ro.config.sync=yes
dalvik.vm.stack-trace-file=/data/anr/traces.txt

#Added by ros87
ro.dummy.test=hello
#

No problems with that.

Then I tried copying that patched framework.jar (again trough noogie) and rebooted.

As expected there were loads of complaints about incorrect dependency signatures by dalvik which would force it to rebuild cache.

In the end it booted just fine and on subsequent boots there's no complaints.

Unit works just fine with the patched framework, but I cannot confirm the patch itself working as I haven't tried installing gapps yet.

This is more or less the same behavior I've seen before which suggests to me there's nothing new and sinister added to 1.1 :)

---------- Post added at 12:39 PM ---------- Previous post was at 12:33 PM ----------

Update:

I quickly wrote a small app that displays AndroidID, Phone Type and Device ID

With the patched framework getDeviceID() now returns a 15 digit number instead of null, so this confirms it working as intended.

I'll try to set up market next.

---------- Post added at 12:45 PM ---------- Previous post was at 12:39 PM ----------

Update #2:

It's also worth noting that Device ID (IMEI) is regenerated on every call, which could cause trouble with certain apps.

This has been discussed before, just wanted to emphasize that this problem is still there with this patch.
[Nook Touch Android Development] niphoet:
I rooted my 1.1.0 with the new ramdisk and I was successfully able to remove some files from/system, specifically the 2 "how-to" books included. I don't know if this helps or not.
[Nook Touch Android Development] GabrialDestruir:
Odd, anytime I modify build.prop or replace framework.jar it sticks in a boot loop. Specifically it sticks in the same boot loop mentioned earlier about running an unmodified TouchNooter. (Flashing black every 5 seconds) and it just repeats and repeats and repeats, doesn't progress beyond this point.

I suppose if the issue is with replacing the files in a fully running system it's time to rewrite the uRamdisk used by TouchNooter. Fun Fun -sarcasm-
[Nook Touch Android Development] mali100:
Could you please upload that app?

---------- Post added at 05:19 PM ---------- Previous post was at 04:56 PM ----------

Hi,

I have absolutely no problems modifying the files in the running system. Just tried it another time, adb pulled the build.prop, edited the file, remounted /system as rw, pushed it back, rebooted without problems. Also when i did the same thing with the framework.jar, i got no problems.

Can you get an adb logcat from the bootloop?
[Nook Touch Android Development] GabrialDestruir:
If I could.... this would be a LOT simpler.
[Nook Touch Android Development] ros87:
Sure, I'll pm you the link a little later, dinner first :)
[Nook Touch Android Development] chriscsh:
i have replace the patch framework.jar and uRamdisk (only inside the nooter/boot, cause when i replace both uRamdisk, it can boot to the root forever screen, then boot to normal nook home, seem nothing happen :confused:) and it work fine for me

my problem is:

i can launch the youtube at first boot to add the google account, but after that when launch market and it show error "A server error has occurred. Retry, or cancel....." then youtube can't launch anymore

but other than that everything work fine
[Nook Touch Android Development] nickveldrin:
Same with me. Gmail seems to work okay now that i have that fixed framework.jar, but market behaves the same way as before.
[Nook Touch Android Development] GabrialDestruir:
redo the packages.xml via adb and reboot again
[Nook Touch Android Development] chriscsh:
i just try delete the patch framework.jar and add back the ori 1.1 framework.jar (use root explorer)

my Market back to normal, search, update.... :D
[Nook Touch Android Development] GabrialDestruir:
It seems, I cannot find a method in which to inject framework.jar and modify build.prop automatically without causing a bootloop, until I can it looks like TouchNooter is dead in the water.
[Nook Touch Android Development] rev0l:
yesterday i have restored it to factory defaults by long press poweroff on "your nook is starting..."-screen for 8 times..

but the only thing that happen is that /data were deleted...

all the other stuff still exists... (root, launcher, my damaged wlan config...)

I have to dd my image back to the nook to get a real factory reset....
[Nook Touch Android Development] Michael.Rose:
Everything else went okay, but the Market always reports Server is unavailable.

Everything else went smooth after I launched the script manually. YouTube signed in just fine. I got the ID from the working emulator, popped it in to the Nook, and now Youtube just exits, Gmail exits, and Market says Server Unavailable. Google Voice and Google Talk work perfectly though.

Any ideas?

I am stumped.
[Nook Touch Android Development] GabrialDestruir:
Reboot should fix Gmail just closing and maybe even Market unavailable. If not try running with the sdcard active again, this'll do the packages.xml hack and such again and that might fix it.
[Nook Touch Android Development] redbluff:
I am already rooted and have busybox, Su, Nook Color tools, etc. Just need to get access to the market. Can we do a script that does not include all the other stuff or just post a listing of what portion of the script I need to use to get market apps?

Thanks
[Nook Touch Android Development] Michael.Rose:
Reboot hadn't fixed before, trying the card again didn't help.

I had rebooted it as per the instructions, it didn't work. I have rebooted since then it still doesn't. I also tried to boot off TouchNooter card as well and still no luck with the Market, Gmail, or YouTube. :confused:
[Nook Touch Android Development] xboxexpert:
Once there is a framework.jar available I'll post up a script to use. Its pretty easy I'll give you an idea below.

adb shell mount -o remount,rw /dev/block/mmcblk0p5 /system
adb push ./gapps /system/
adb push ./mods/build.prop /system/
adb shell chmod 644 /system/build.prop

gapps are the gapps folders

build.prop is already modified for the nocheckin flag

The rest of what would be the code would be the accrual of the Android ID.
[Nook Touch Android Development] GabrialDestruir:
Once there's a hacked framework.jar and I can figure out why it's not triggering in init.rc this will be just as effective as AutoNooter or ManualNooter.

Figured out why it's not triggering and I have an idea of how to fix it, I'll fix it and release a new version tonight
[Nook Touch Android Development] GabrialDestruir:
Well YouTube would crash after your first login... that's just the way it's been even on the NC, however Gmail should come up saying "This account hasn't been configured for sync" or something along those lines, at which point you refresh and it should work. I pushed my android ID to settings.db where it says androidID so may that's why mine is working as opposed to pushing it to gls.db
[Nook Touch Android Development] MystaWright:
Recovery.

Turn off.

Push power button and hold, then press and hold bottom left and right page buttons for 5 seconds.

Image posted in this thread:

http://xdaforums.com/showpost.php?p=14940686&postcount=40
[Nook Touch Android Development] Michael.Rose:
Gmail did say that as indicated on the first attempt. It did connect, but it would not sync. Youtube did not crash at all until AFTER changing AndroidID. Up until changing the AndroidID and having to trigger the script manually via ABD, everything else was by the book. It is only since the manual execution of the script and pushing the AndroidID into the database that Youtube and Gmail are now crashing. The Market was not attempted until after changing the AndroidID and running the script of course. The Market does run, but without hesitation, it just says that it can't connect. :confused:

Thank you so much for your efforts with this script! I hope that we can sort it all out!
[Nook Touch Android Development] Michael.Rose:
Thanks for all the help tonight!

Hi GabrialDestruir!

Thanks for all the help tonight on the nookdevs irc. Market is running perfectly! If you need me to test anything in the future, let me know.

Good luck with the sed portion of the script!

Regards,

Michael (aka Supergrover)
[Nook Touch Android Development] aruangra:
I used your package of Gapps and followed the instructions in

http://nookdevs.com/index.php?title=Enable_the_Android_Market&oldid=3917

The market works. Thanks!
[Nook Touch Android Development] zonyl:
Holding the power switch for more than 20+ secs only reboots the device. (This reset switch) It does not "recover" any firmware issues etc.
[Nook Touch Android Development] xor_:
I'm having the same problem. Gmail is up for a second or so, you can even see there's something in the inbox, but doesn't sync and exits. The same Server Unavailable message on Market. How did you end up resolving it?

Verbose_mode on this please. I saw there's a hexadecimal version of android_id in there, and tried playing around with it, but to no avail.
[Nook Touch Android Development] GabrialDestruir:
If you do the following manually it'll fix those issues. It seems the sed to modify packages.xml isn't being triggered properly. Also I learned last night it doesn't matter whether it's gls.db or settings.db the system will clean up after itself to so settings.db has hex version of the ID and gls.db will have the decimal version.
[Nook Touch Android Development] xor_:
That worked. Thanks.
[Nook Touch Android Development] Michael.Rose:
BTW, a new version of Button Savior is out...

After getting the Market working, I updated to the latest version of Button Savior. The new version allows you to have a horizontal layout at the bottom of the screen. It isn't a Honeycomb soft button area, but being creative with wallpaper, it looks quite nice.

Is there anyway to relocate the notification area to the bottom of the screen like in the CM7 tablet tweaks?

Has anyone made any progress on remapping the N button? It would be fantastic if the N button could be used to toggle software buttons at the bottom of the screen. So far I haven't had much success trying to figure out a solution to that.
[Nook Touch Android Development] GabrialDestruir:
Fixed the script not triggering, don't know if it fixes packages.xml issue or not.
[Nook Touch Android Development] aruangra:
I think the xml file to enable multi-touch (android.hardware.touchscreen.multitouch.xml) should not be included in the package. Because it disables zoom buttons in some programs for example Opera Mobile and Opera Mini.
[Nook Touch Android Development] aruangra:
The Nook search box dominates the Market search function. The workaround is to access androidzoom.com to search in Opera Mobile and it will open Market for downloading.
[Nook Touch Android Development] roustabout:
Touchnooter with market may be dead in the water, but I bet a lot of folks would love to see a TN release that just gave the Superuser and ADB wireless with a warning that that was all it was, and that it was for folks who'd installed 1.1 and still wnated root privs for their old apps or were ready to sideload.

As I said a bit back, the market worked for me maybe once out of the 20-30 times i tried various things to install it.

So I learned adb install and was very happy. :)
[Nook Touch Android Development] GabrialDestruir:
I tried modifying something like nookRestore for what I want, but it refused to do anything with the sdcard, and if I tossed everything in uRamdisk it still boot looped.

I suppose I'll slap together a version that just gives adb/su root and toss in a few things like Nook Color Tools, and the /data/apps since those won't cause boot loops.
[Nook Touch Android Development] GabrialDestruir:
This thread now only applies to version of B&N Software previous to 1.1
[Nook Touch Android Development] trypt:
So the instructions worked pretty well. I had to restart the 1st time as it hung while loading on the B&N screen (after the rooted forever message).

My Gmail doesn't actually sync, is it suppose to? Also I can't search in the market, managed to install the Kindle app since it's at the top of the list when you browse.

Also when I try and format my SD card on my computer the only option is 74MB now. I can't seem to get it back to 2GB after installing this img on it.
[Nook Touch Android Development] italiano1964:
With the nook already turned on, put micro sd card back into it and format the card using the function available under settings/device info/SD card/unmount SD card/format SD card
[Nook Touch Android Development] eded333:
Use this https://www.sdcard.org/downloads/formatter_3/eula_windows/ to format the sdcard.

Use this market to gain search http://xdaforums.com/showpost.php?p=15084704&postcount=51
[Nook Touch Android Development] kohkohnut:
Hi

May I humbly suugest that you add in a basic file manager in the new version to facilitate side loading of apps using APKs for people like me who are not adept at adb. Many thanks.
[Nook Touch Android Development] apeine:
Have to agree with kohkonut. Astro is always helpful when in tight spots trying to install apps.
[Nook Touch Android Development] yves84_2000:
Cannot use touch nooter with winimage

I can't restore a disk with the file I downloaded Toochnooter 1.6.24 ? Someone could help me ?

I follow all the process.

Thanks
[Nook Touch Android Development] GabrialDestruir:
Make sure you're using WinImage or any disk restore software as admin, otherwise you'll be unable to see the disks to restore to.
[Nook Touch Android Development] drjekyll:
Securing the device

I apologize if I've missed this question on the thread or elsewhere. :o

How do I secure, perhaps with a password, the Android "side" of the device?

And the SD card?

If I accidentally leave the device somewhere in public -- as I did a couple of weeks ago, at a bank where a teller noticed and stored it safely until I returned -- the "good stuff" in the Android image, such as email, maybe some passwords, could be captured with trivial effort, correct?

Perhaps it's a two-part solution, one for password security upon accessing the Android image, and the other encryption for the user contents of the SD card?

Best regards,
[Nook Touch Android Development] Googie2149:
I don't know about encryption, but you can use GO Locker to put a pass code on your Nook.
[Nook Touch Android Development] drjekyll:
Good idea for the Nook side! Will investigate.
[Nook Touch Android Development] myshyak:
Any change to port your nice rom to the new NCT with Glowlight? The difference is that it has 1.1.5 rom. Here you can find a factory.zip from it...

http://www.mailpen.com/download/factory-1_1_5.zip

and here you can see uRamDisk for this device:

http://xdaforums.com/showpost.php?p=25572222&postcount=17
[Nook Touch Android Development] GabrialDestruir:
well it doesn't seem to actually enable multitouch so I'll probably remove it in future releases.
[Nook Touch Android Development] Michael.Rose:
Suddenly lost access to ADB over Wifi.

Never mind, I found a solution! I installed "ADB over WIFI Widget" from the AppBrain Market. I was able to toggle it back on. Now I can turn it on and off as necessary. :)
[Nook Touch Android Development] Michael.Rose:
Here is another issue... anyone notice that Wifi does not turn off when the unit is asleep?

Is there another way to do this besides turning Wifi completely?
[Nook Touch Android Development] rev0l:
my wifi have always to be reconenct when i wake up the device...

for the first seconds there is still no wifi icon..

maybe you can script your something with tasker or autoit
[Nook Touch Android Development] GabrialDestruir:
My wifi turns off when the unit sleeps, I can tell because I lose adb access anytime it goes into sleep mode. I used tasker personally to keep wifi off except for a minute or two every hour for data syncing.
[Nook Touch Android Development] GabrialDestruir:
This update should allow the Touch to generate an android ID without needing the emulator.
[Nook Touch Android Development] fpga_guy:
google calendar and contacts sync?

Does the sync work? I am looking to get a N2E to play with.
[Nook Touch Android Development] GabrialDestruir:
They sync but there's no way to control when they do. Also Calendar has some graphical issues to it.
[Nook Touch Android Development] xboxexpert:
Gabe,

Add this to your nooter script to enable non-market installs. Probably work for NC script too.

cat /sdcard/nooter/system/xbin/sqlite3 >> /system/xbin/sqlite3
sqlite3 /data/data/com.android.providers.settings/databases/settings.db "update secure set value=1 where name='install_non_market_apps';"

Attached is the file just drop it in xbin. I also attached a hosts file to block majority of the ads around android.

Also this is for blocking B&N Updates

sqlite3 /data/data/com.bn.devicemanager/databases/devicemanager.db "update registry set value='manual' where name='com.bn.device.fota.mode';"

Finally

rm /system/media/books/Quick_Start.epub
rm /system/media/books/User_Guide.epub

Who needs manuals?
[Nook Touch Android Development] GabrialDestruir:
NookColor Tools deals with the Non Market Install.

Also it's really other peoples choice whether or not they want to block OTA updates. I've never once experienced one so have never seen the point.

Might move the books somewhere else though to make it easier for someone else to delete them if they wanted.
[Nook Touch Android Development] xboxexpert:
Move them to emmc storage. Drop them in the books folder so their accessible through PC USB.