yashsingh1/xdaforums huggingface dataset:
[Nook Touch General] Darrian:
If you can copy apks over and install them you might try ADB Wireless and use your wifi instead of a cable. That's what I used to do on my 1st gen Nook when I had trouble getting ADB to see my Nook.
[Nook Touch General] Windsor1959:
Thanks for the suggestion. I had forgotten about ADB Wireless.

I just discovered that the Glowlight has a respectable browser hidden away in its innards, which only rooting and a launcher will help you find. I don't think it was installed as part of the rooting process. Why would B&N hide it?
[Nook Touch General] prurigro:
Hey! The "preserve ownership" errors are fine, and I believe they only occur because the filesystem doesn't support ownership, but either way, I had this error in a few spots and can "adb shell" in without any issues. Try rebooting your PC without your Nook plugged in, then plugging it in to see if that helps, and if it doesn't, did you add the local udev config for your user/root? If you run "dmesg", then plug your Nook in while running and run "dmesg" again, does it show anything having appeared? Can you access the filesystem at that point using mtp? Also, is the Nook unlocked when you try, and if it is, does it pop up with a message asking if it's OK to allow the PC attempting to connect access? -- Just some ideas on where to start debugging anyway-- let us know how it goes!
[Nook Touch General] Windsor1959:
Yes, I didn't add the local udev config for my user/root. Now I have - and learned about creating files and changing permissions and ownership in the process. And - I have ADB! Thanks!
[Nook Touch General] prurigro:
Linux root script package update

Hey all-- I realized I'd accidentally uploaded my previous package with the original README (though with the new name I gave it). This update includes my updated one and:

Some additional updates to the new README.

A new script that automatcally configures adb in /etc/udev/rules.d (when run as root) and ~/.andoid (for the current user)

I didn't bother including the git repo this time as that made the package rather large (to the point where xda barely accepted it). If you want to see what I changed, you can grab my previous package and see what I originally changed there, then difference this against that.

Note: The updated README is in markdown, which can be converted to a ton of different formats, including directly to live html if you copy and paste it here: jbt.github.io/markdown-editor
[Nook Touch General] Windsor1959:
Root and ADB are both up and running. The only feature I can't get to work is the "create sdcard symlink" script. I get ownership errors when I run it, and the one app I am using so far that needs an sdcard won't run. It just tells me "no sd card" and then shuts down. Any ideas, or alternate methods?

Thanks!

Sent from my Nook Glowlight
[Nook Touch General] Windsor1959:
Okay, when I run ls -l /sdcard, this is what I get:

# ls -l /sdcard

lrwxrwxrwx root root 2014-05-23 10:45 sdcard -> /data/media

My guess is that this means that my symlink is properly set up. I have an app that, when I try to start it, gives me the message "no sd card". It may be that the problem is simply with this one app. Other apps work fine.
[Nook Touch General] prurigro:
Hmm, I've actually been getting the same issue- I wonder what those certain apps are looking for?
[Nook Touch General] Windsor1959:
Reading through this thread, I see that it is possible to create an sdcard partition on the Glowlight. I've worked with partition tools before, but this might also require editing the init.rc file and maybe others. That's the part I am unsure of. Besides, I don't know if that would fix the issue. When I have some time, I may tinker with it, remembering to do a backup first!

Sent from my Nook Glowlight
[Nook Touch General] dotancohen:
Opera Mobile gives a similar error when trying to download an APK from e.g. Github:

A memory card is needed for file downloads. Please insert one and try again.

If I can figure out how to work around this, I'll post back. Note that I just rooted a Nook Glowlight with firmware 1.3.1 on Kubuntu Linux 13.10 using the prurigro's files from this post:

http://xdaforums.com/showpost.php?p=52789488&postcount=397

Thank you to prurigro, straygecko, idefix0815, renate, and everybody else who's had a hand in this! The rooting went smooth as silk.
[Nook Touch General] Sergei Fork:
Could not mount /system as RW:

adb.exe shell "su -c 'mount -o remount,rw /system'"

Raise the:

Usage: mount [-r] [-w] [-o options] [-t type] device directory

message. Please, help!

Want to make some changes in NG2 framework-res.apk, but stuck on this step :(
[Nook Touch General] straygecko:
Try this:

mount -o rw,remount -t ext2 /dev/block/mmcblk0p5 /system
[Nook Touch General] Sergei Fork:
Thanks! That worked.
[Nook Touch General] dotancohen:
Regarding the issue of the SD card, I think the problem is that we need to set "getExternalStorageDirectory()" after creating the symlink. How is that done? See this related thread:

http://xdaforums.com/android/help/set-getexternalstoragedirectory-rooted-t2804246/
[Nook Touch General] Kramar111:
Just add into the init.rc

setprop EXTERNAL_STORAGE_STATE mounted

and set

export EXTERNAL_STORAGE=/media

accordingly to created symlink

It works

Thanks to antsm for this link - http://xdaforums.com/showpost.php?p=38182954&postcount=38&nocache=1&z=2747799905739899
[Nook Touch General] Kramar111:
Some ready uRamdisk files

Just rename to uRamdisk and put to /boot partition of the NG2

uRamdisk-adb	187 072 b (After rebooting will allow access to the adb via USB as root)
uRamdisk-adb-sdcard	187 126 b (See above + will allow the user to additionally use about 1.9 GB of memory at /sdcard + full emulation memory card)
uRamdisk-adb-wifi	187 073 b (After rebooting will allow access to the adb via Wi-Fi as root)
uRamdisk-adb-wifi-sdcard	187 124 b (See above + will allow the user to additionally use about 1.9 GB of memory at /sdcard + full emulation memory card)
uRamdisk-noogie	180 318 b ("Noogie" file)
uRamdisk-original	185 946 b ("Original" file)

In this case, /sdcard - a symlink to the free space in /data.

Because section /data formatted in ext3, access it from a computer via adb or via RootExplorer as root on NG2.

Sorry for my bad english :(
[Nook Touch General] BobbySteel:
Having major issues getting ADB going. I followed the directions in the earlier post and ran the omaplink.exe to get the boot partition loaded. I changed the uRamdisk as noted in the separate post. But upon reboot, I can't trigger any sort of ADB. No ADB device appears in the Device Manager nor does omaplink light up at all. Any ideas? Seems like it's not a driver issue (or else I'd at least see something in the Android section of Device manager, right now there's nothing). This is a brand new NG2 v1.3.0 on Win8.1-64.

Cheers
[Nook Touch General] Renate:
Try booting Clockwork Mod Recovery over USB.

(Make sure that you don't have the ADB server running.)

It should boot all the way over omaplink.exe to ADB.
[Nook Touch General] BobbySteel:
Thanks. Which Cwm though? I didn't see any one that was made for the NG2.

cheers

---------- Post added at 11:11 PM ---------- Previous post was at 10:36 PM ----------

And assuming it's the same uramdisk and uimage as NST, just load it via omaputil the same way as usual?

Thanks
[Nook Touch General] BobbySteel:
Yeah, so tried the regular NST CWM and no go. Something seems to be odd about this new 1.3.0 NG2. It does not behave like the directions say it should behave.

i'll try on a Win7 pc at home tomorrow but i wonder if there's some other change that's happened, or else something really missing in the directions.

To recap, I downloaded all the drivers. omaplink runs fine and is successful. But upon reboot, the Nook mounts as a regular storage device and there's no ADB device coming up in the Device Manager and omaplink shows 5 volumes. Confusing...

omaplink aboot.bin u-boot-ng2-e

xp-v03.bin uImage-ng2-130-stk uRamdisk-adb-sdcard

Waiting for bootloader... 0451:D00E, OMAP3630, pbi, ok

Received ASIC id, 69 bytes

OMAP36XX, rev 07

Unlocked

ID12: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

ID14: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

CRC1: EF3EBF13, CRC2: 00000000

Sending image file aboot.bin, 3480 bytes... ok

Received a-boot response

Sending image file u-boot-ng2-exp-v03.bin, 175048 bytes... ok

Waiting for disconnect... ok

Waiting for fastboot... 0451:CAFE, 3621GOSSAMER, Android Fastboot, ok

product 3621GOSSAMER

version 0.5

Making boot image... ok

Sending boot image, 1961984 bytes... ok

Waiting for disconnect... ok

Waiting for ADB...
[Nook Touch General] Renate:
NG2 has a different screen resolution and I think there is another CWM for it.

Use bootutil.exe (in the signature) and look in the ramdisk to see how you have ADB configured.

You either don't have it enabled or else it's set for WiFi.

C:\>bootutil /x /v uRamdisk-adb-sdcard init.rc default.prop

Find the sections that have to do with ADB.
[Nook Touch General] BobbySteel:
AAAH. Got it. I had an older version of ADB. Updating the platform tools has gotten it working. Win! Thanks for the help!
[Nook Touch General] giannihsd:
bick mi glow

Hi,

I have tried the to root my NGL2 with linx, and after reboot the ereader stuck at boot.

not do nothihn it remain on initial nook screen.

If I press for 20 seconds the power button I can re-enter in cwm mode on linux, I see all the partition.

I have copied the firmware update 1.3.1 in the "nook" partition and I want try to rebook and install it to restore original firmware but I don't know how I can do this, or if is possible I want retry to restore origina 1.3.0 firmware.

Someone can help me please?

Thank's
[Nook Touch General] giannihsd:
resolved... ??

Hi,

I have unblocked my nook, I copied the original boot partite and nook boot again, after I have install 1.3.1 update, and when finish I have used

http://xdaforums.com/showpost.php?p=52789488&postcount=397

to unlock and ave launcher.

I have installed Opera and used the

http://xdaforums.com/showpost.php?p=53896500&postcount=408

uRamdisk files, to enable the sdcard emulation.

All ok but, for example when i try do download a fine into /sdcard/download/, file became read only, so I can move or open or copy, I'm unable to use.

If I enter with file manager into /sdcard and create a new folder, i can create, but I can't save files from browser into it, or move files from /media/ to it

Someone can help me?

Or can have a new uRamdisk files to resolve this problem?
[Nook Touch General] Kramar111:
In this case, /sdcard - a symlink to the free space in /data.

Because section /data formatted in ext3, access it from a computer via adb or via RootExplorer as root on NG2.
[Nook Touch General] giannihsd:
brick

Ok, I think I have bricked my NG2,

I can access only via CWM, and after via ADB.

I tryed command line "recovery", but nothing.

How I can restore my NG" to original nook firmware 1.3.1?

Thank's
[Nook Touch General] BobbySteel:
Weird. I've updated everything to reflect the /sdcard pointing to /data/media. Having strange permissions problems though. When I download files to the SDCard, the default permissions seem to be 0700. My init.rc is the default one here in the uRamdisk-adb-wifi-sdcard posted earlier upthread.

Also, even when I manually fix the permissions, I've noticed that newly downloaded epubs aren't viewable until after a reboot of the device. This happens on the device whether I download to /media or anywhere else. Has anyone else come across this?
[Nook Touch General] scottjl:
question about upgrading?

I'm not trying to root my Nook GL but I thought I'd throw this question out here in case anyone knows. I currently am sitting at firmware 1.1.5 (not rooted) and I want to upgrade it to 1.3.1. I've let it sit for days on wifi, and tried the manual method (copying the .zip over to the Nook and letting it sit) but it still hasn't updated. I tried B&N's "tech support" and all they told me to do was power cycle it, reset it, download again, try again and don't have any help beyond that. Has anyone noticed a way to force-upgrade or force a bootloader to reset the unit and reload from the .zip?

I have noticed that it seems immediately after I unmount the Nook (from a Windows 7 system) the .zip file disappears. It seems deleted because the space is back (from 240M free before I copy over, 114M after), if I unmount and immediately remount I am back to 240.

Thanks!
[Nook Touch General] :
This is because you have a Nook SIMPLE TOUCH with Glowlight, and not the plain Nook Glowlight. The latest software update for your device is 1.2.1., not 1.3.1.
[Nook Touch General] scottjl:
DOH! I'm an idiot. Thanks, I had no idea there was a newer model, bad B&N for naming them so close.

Took a bit to find this update, but sure enough as soon as I copied it on an disconnected the Nook went about updating itself.
[Nook Touch General] :
Hey, no problem, man.

You will find that 1.2.1 is much better than 1.1.5, so thanks for asking about it.

Could you thank that post for me?
[Nook Touch General] N00b-un-2:
recovery for Glowlight?

Just wondering if anyone has a bootable clockworkmod recovery for the Glowlight. I have mine rooted, but I don't much like the idea of having that much access without an insurance policy. I know the SimpleTouch Glowlight has CWM, are they similar enough to use the same recovery image?
[Nook Touch General] :
Don't quote me on this, but I believe the NST CWM image also works on the GlowLight.
[Nook Touch General] N00b-un-2:
is it a uRamdisk image that can be booted using omaplink?
[Nook Touch General] :
Yes, I think so.
[Nook Touch General] Kramar111:
Set permissions rwxrwxrwx for folders/files thru RootExplorer. They will be visible to all programs.
[Nook Touch General] :
You can also use ES File Explorer with root permissions turned on, it actually works better for me.
[Nook Touch General] Kramar111:
Do you see the text in the settings section of the ESFile Explorer on NG2? I am not.
[Nook Touch General] :
Not in the main setting screen, no. But if you tap on one of the white spaces, you CAN kind of see the text in that settings branch/subfolder.
[Nook Touch General] OverByter:
Just use an older version of root Explorer, it's very simple to use and e-ink friendly.

OB
[Nook Touch General] BobbySteel:
Anyone else notice this problem? Quite irritating to need a reboot everytime I download a file, but not the end of the world I suppose.
[Nook Touch General] Eniariom:
I'm really hoping someone can walk me through what may be wrong with my attempts to resize my partitions on my NGL. It's brand new -- just bought it this week -- and I was extremely annoyed when I realized the 1.5GB/500MB split, as I don't downloads books from BN. I was grumpy enough about no SD expansion, but the storage split caught me completely off guard.

I've gone through the rooting process and everything works as described. I can't get the bloody partitions to resize, though, not GParted OR EraseUS PM. When I've booted to Noogie via USB (per the http://xdaforums.com/showpost.php?p=49665945&postcount=279 instructions...at least that's what I'm assuming that's what it's doing) I can see all of the partitions on the Nook in Device Manager and the other partitioning programs, but GParted gives me a short read error when I try to shrink the last partition, and EUSPM won't even give me an option to do anything other than view contents of the partition.

I've spent my entire day trying to learn how to do this and troubleshoot my way through it. I'm sooo close, but this last hurdle finally has me at my wit's end. I don't want to change my software to run android as I really do only use my Nooks as portable libraries and I'm find with how it works...I merely want all of that extra space they locked away moved to where it is useful to me.

An explanation of what could be wrong (is it locked somehow or are there permissions that need resetting?) and a play by play of how to try to fix things would be really helpful.

Any help?
[Nook Touch General] Kramar111:
Did you update aboot.bin from this post?

I did resize with Gparted Live.
[Nook Touch General] :
I have this problem, too, although I wouldn't care much about fixing it as it makes sense (at least to me). :)
[Nook Touch General] BobbySteel:
Yeah I'm more confused than Anything. Seems like the bn reader app has some problem reading files that I can't understand. Files open with third party reader without needing reboot
[Nook Touch General] :
Really? I need to try that...

I mainly use Renate NST's reader app and the stock reader app, so it doesn't work that way for me. :?
[Nook Touch General] BobbySteel:
I use the stock app I mean. I can't get Renate's app working well.
[Nook Touch General] :
It's pretty touchy right now, I agree - i.e., it only works on side-loaded books, none of the B&N books seem to work. But for PDFs and side-loaded ePubs, I much prefer it :D.
[Nook Touch General] Renate:
My reader app does not even attempt to mix with B&N purchased content.

It will work with DRM-free content and Adobe DRM (OverDrive library books) if that has already been configured.
[Nook Touch General] :
Yes, I noticed that. I'd love a little help on how to un-DRM my B&N books so that I can read them with your app!

Can you help with that?
[Nook Touch General] r4z0r7o3:
periodim the

Hey,

First off thanks for all you've done here. I'm an android n00b but can hack my way around in Linux just fine. Anyway, I managed to copy-out and resize all the partitions, re-make the filesystems, fix up init.rc manually. Though I think I have now learned (the hard way) many apps get installed under /system/... and so it should probably be left with a bit more than 25meg :_( I can fix that but I'm not in the mood at the moment (it's a PITA to do by hand).

Anyway, my question: Are you sure the above is correct for /sdcard?

Two things I noticed:

1) It does mount at boot, but once the B&N crap launcher gets going, *poof* it's gone (un-mounted).

2) If I manually mount it again, a handy-dandy notification comes up asking me if I'd like to format the sdcard :S

3) From adb shell, when I tried ``chmod system:sdcard_rw /sdcard`` but it says no such user/group (yes I know I said two things, but it's late and I'm lazy).

I formatted it as ext3 w/o anything fancy (copied features from other ext3 filesystems on the nook). It mounts fine by hand. Any ideas what could be going on or where I should look for more details?

Second question:

I worked around the /media sillyness by symlinking it to /data, is that kosher?

Thanks a bunch!
[Nook Touch General] :
Number one, unfortunately you are in the wrong thread. This thread is about hacking the Nook

GlowLight

, not the Nook

Simple Touch with

GlowLight. I know that you do not have a Nook GlowLight due to the fact that the Nook GlowLight does not have an SD card slot in it.

If I'm wrong about the above, please tell me.

And to answer your question:

Try reformatting your card as FAT. Don't symlink /media to /data. It just makes things more complicated.
[Nook Touch General] r4z0r7o3:
Yep, you're wrong, I'm in the right thread :D This is the "new" nook glowlight I've got.

The Linux instructions suggest

. Since I was resizing all the partitions, I figgured I'd just mount up a real filesystem there (nothing wrong w/ mounting same fs in two places on same system) instead of linking. It really did say "The sdcard you've inserted is not formatted" (after I manually mounted in adb shell). Though, based on your comment, I wonder if this is a hold-over in the B&N software where it expects a vfat /sdcard (mine was ext3).

Nevertheless, I found it really did not like the /media -> /data symlink, so I've taken her all back appart and am re-jiggering the partitions again, I'll try making /sdcard into vfat this time and see how it goes.

For others benefit, I've found it's MUCH easier to work off of a copy of the backup image on a loop device, readonly mounted to their logical locations (/mnt/system, /mnt/data, etc.). Then after setting up the partitions how I want them in a new image (on another loop device), formatting the partitions, I'm just mounting and copying over original contents.

Note: I made the mistake of trying this before registering the device, don't do that. Register it first, get it talking to B&N properly (assuming you care) THEN make a second backup, and work on the partitioning from that. Otherwise you'll get all kinds of wierd crypto errors on device registration (again, assuming you care).
[Nook Touch General] techxx:
I was looking for a one click solution, when I found this post. I wanted to make sure that I should still be good following these instructions and using the files they are linked to. I have no idea what I'm doing but I read your instructions and it seems like I should be able to pull this off. Another question is there a way to get the kindle app on here after it is rooted?
[Nook Touch General] Akkifokkusu:
Not sure right now what the most up to date rooting method is, as it's been a while since I did it. However, you definitely can get the Kindle app once rooted. Search around this forum for an apk that's compatible with Android 2.1.
[Nook Touch General] :
Here's one: [APP] eInk-friendly Amazon Kindle App
[Nook Touch General] Krakozawr:
hello!

whether there is any way to remap the "read now" button for the alternative reader?

Thank you for any ideas! :)
[Nook Touch General] :
First off (I ask this every time lol), do you have the Nook Glow device that has the

white

shell, and not the gray/black one?

If you have the gray/black style, I will point you toward the Nook Touch Mod Manager thread.

If you have the white one, this option is not available for your device yet.
[Nook Touch General] :
:p

Yeah, the white one isn't the greatest. No SD slot, no physical page-turn buttons - not so great.
[Nook Touch General] Krakozawr:
Sure. And unfortunately, the new design is really crappy :( Not a solid item as the old. But I found the good cover, with which this white should looking not so ugly :)

But the screen is better (not to much, but better) and backlight is really perfect - especially in comparision with the old NSTwGL when the backlight was unusable for me. Buttons is not a big deal, I will install CoolRider and will set up the touchzones so it's should still comfortable. SD-card - it's painful, but I made my calculation and I found that I can live without after remounting 1,9Gb as \sdcard for my dictionaries... so I will try this one. But, if you (or somebody else) will do something with .jars for the possibility of "read now" button remapping, I would be finally happy :) with the ReLaunch+CoolReader combination, remapping of this button for the side-reader will be really useful.

P.S. Sorry my English please :)
[Nook Touch General] :
That's really awesome that you've done so well with rooting your NG!

I have a feeling that mods like the one you're speaking of will come out in a month or so, but not so soon after a stable rooting method is established.

So stay around the forums and keep your eyes peeled! :good:
[Nook Touch General] BobbySteel:
Really? This device has been out a while now and there doesn't seem to be much interest.

I'm thinking of just breaking down and getting a Kindle voyager later this year
[Nook Touch General] OverByter:
For $200+? What exactly doesn't your current reader do that requires such an investment? :eek:

OB
[Nook Touch General] BobbySteel:
This one doesn't work that smoothly for me to be honest. If it was just a matter of cost sure the ng2 is fine. But I can't get Google Play and framework working on this, the filesystem is still weird for me (library still can't use sdcard even though it's readable writable), etc. Nowhere near as smooth to use as the old nooks and dev volume is really low here, so I've not got much hope sadly.
[Nook Touch General] OverByter:
I would recommend that you start a new thread with your issues, hopefully someone will be able to give you some advice. Renate isn't around as much but she might be able to help you out. Good luck and never give up! :thumbup:

OB