yashsingh1/xdaforums huggingface dataset:
[Nook HD, HD+ Android Development] zspeciman:
I'm on the 10-18 ovation. I used to be able to connect my nook to my pc and transfer pictures to my internal microsd card on cm11 m12. I'm not sure which development mode allows me to enable that, but I can't seem to figure it out.
[Nook HD, HD+ Android Development] s0c4:
[MENTION=6329547]zspeciman[/MENTION]: When the Nook is connected to the PC, swipe down the notification area. A message tells you, how your device is connected. My Nook is "Connected as a media device". Tap on the message and you get a selection of possible connections. I have "Media device (MTP)" selected.

I assume you have a device driver on Windows? I got mine from this post:

http://xdaforums.com/showthread.php?p=34168454#post34168454

My Nook appears as "BN Nook HD" under Portable Devivces (on Win7-x64). With this, reading and writing of both internal storage and SD-card works for me.
[Nook HD, HD+ Android Development] zspeciman:
[MENTION=7025997]s0c4[/MENTION], thanks for the quick reply, I got it to work. I don't remember ever taking those steps before. I think in cm11m12 windows was able to automatically install the drivers. But its no biggie. This latest build is very smooth, a worthy upgrade from kitkat. Some of the problems I was having on kitkat was facebook and yahoo mail use to load very slow and at time no load at all. The keyboard will at times disappear on chrome. I don't experience this on lollipop at all, Bravo for amaces!!!
[Nook HD, HD+ Android Development] pavlos46:
Hello,

Is that an Android 6 buid under experimental?

I think i am going to try it on for size.

Pavlos
[Nook HD, HD+ Android Development] Monfro:
Yes it is 6 Marshmallow.

It boots well (flashed with Banks gapps).

AOSP keyboard stops, other than that had no other problems in the 3 minutes I had to test it..then my wife obliged me to go out
[Nook HD, HD+ Android Development] js290:
Sorry for my ignorance, but how does USB host switcher work? What does it do? Thanks for any tips.
[Nook HD, HD+ Android Development] extrem0:
It allows you to attach (almost) any USB devices using a female to female USB adapter. You can plug a USB keyboard, mouse, USB drives, etc. Demanding USB devices like some USB flash drives or USB hard drives won't work. It is an app developed by [MENTION=3654172]verygreen[/MENTION] that worked since cm10 but isn't working anymore in amaces last build. Maybe a driver is missing..
[Nook HD, HD+ Android Development] king200:
I had a copy of the "USB host switcher app" from [MENTION=3654172]verygreen[/MENTION] and tried it. The message, "USB ID control file not found" might be meaningful.
[Nook HD, HD+ Android Development] s0c4:
The "USB host switcher" is apparently delivered with the system. Can't be uninstalled, just disabled. I downloaded and tried to install [MENTION=3654172]verygreen[/MENTION]'s app to get the missing file, but that is not successful and ends in an error message.

If I knew where this "USB ID control file" is located in the file system, I would copy it from 2015-08-29 to 2015-10-18, or even type it in if it's a text file and not too long.
[Nook HD, HD+ Android Development] verygreen:
The "usb control file" is not something you can copy from the filesystem. It is in /sys and is created as a result of a kernel patch (driver modification in effect). This kernel patch is part of a standard cm kernel for ovation/hummingbird, so unless you switched to a new kernel from some other source, or there was some other system modification that requires extra permissions to get to files in /sys, it all should work.

The actual file path is /sys/devices/platform/omap/omap_i2c.1/i2c-1/1-0048/twl6030_usb/usb_id

The code is in https://github.com/verygreen/androi...reen/usbhostswitcher/USBSwitcherActivity.java (for those who do not want to hunt for it separately).

The patch to the kernel is https://github.com/verygreen/green_kernel_omap/commit/acba6fdc4f064b521fcce1b7b9d6b76c919a14d6
[Nook HD, HD+ Android Development] chuimk:
Problems when installing APKs: "App not installed"

Hi there.

I have two Nook HD+ for my kids and I just installed CM 12.1 2012-10-18 in one of them following the very easy PeteInSequim's instructions, replacing the original Nook ROM it still had. Everything seemed to go fine but one issue I'm having is that I'm not able to install some apps from the Amazon App Store that I had on it previously (like Joining Hands for instance).

After researching for a bit my first suspect was the ro.product.* entries in /system/build.props. I even found a couple of posts suggesting setting ro.product.device to nookhdplus, which I did, but that didn't help. Then I remembered the other Nook had CM 11 2014-11-12 and it worked just fine so I could compare build.props values. To my surprise they were exactly the same...

I connected the table to my PC and ran adb logcat *:E (filtering for errors only) while trying the installation one more time. This was the output

E/Vold ( 149): Error creating imagefile (Read-only file system)
E/Vold ( 149): ASEC image file creation failed (Read-only file system)
E/PackageHelper( 7322): Failed to create secure container smdl980931320.tmp

The read-only error reminds me of some notes from the installation guide about TWRP suggesting to keep the system partition as read-only but I have no clue if this is the cause.

Has anyone seen this issue or has an idea of what's causing it? Thanks for any assistance!

Note: I tried searching for "app not installed" (with the quotes) in this thread but it doesn't look like the search feature does phrase searches and it returns any post that has any of those words. So I'm sorry if this was already posted before.
[Nook HD, HD+ Android Development] belfastraven:
On my HD running [MENTION=4473900]amaces[/MENTION] 10/18 kernal and rom, the file is there, has word "disabled" , is owned by 00000 root and has permissions owner RW Group RW Others RW. Do you see anything wrong with that? From reading the code it would seem that we shouldn't get the message unless the file cannot be found... Probably [MENTION=4473900]amaces[/MENTION] will know what is wrong. Thanks for your help.
[Nook HD, HD+ Android Development] sephiroth2k:
Got a working keyboard by flashing attached, Google Play Services crashes constantly and the screen randomly flashes garbled graphics, then locked up. Not exactly a daily driver, but cool nonetheless!
[Nook HD, HD+ Android Development] verygreen:
Well, it might be some new permission trickery for all I know (SELinux, some better process containment and such).

Also check every path component to make sure they all have enough permission for traversal (though I would expect a permission denied in that case, not file not found.
[Nook HD, HD+ Android Development] digixmax:
FWIW, on my HD+ running CM11, this file has the same exact ownership and permission settings; its content is set to "disable" by default and changes to "enable" when USB Host mode is enabled via USBHost Switcher.
[Nook HD, HD+ Android Development] Monfro:
About Android 6 experimental build. It is very good for an alpha release.

Other bugs I have found: SD is not recognized, home button is not mapped to wake the device.

AOSP keyboard crashes, but we can flash others.

Google Play services crashed in the first minutes...I don't know if it started working well maybe after a silent update or it was not starting again.

Great work Amaces!!!

I love the idea of AOSP: without all CM customizations build should be snappier and eat less resources.
[Nook HD, HD+ Android Development] s0c4:
Thanks, [MENTION=3654172]verygreen[/MENTION]. With the code I now understand how this works. I had found the usb_id file, but wasn't sure if that's all there is (expecting some fancy GUID, or such).

And thanks, [MENTION=5672278]belfastraven[/MENTION]. It's a simple text file that refuses to be opened as output. Tried to edit it to replace "disable" with the word "enable", but no luck. Hoping [MENTION=4473900]amaces[/MENTION] can correct this, despite no root (SuperSU only) and SELinux stuff (enforcing).
[Nook HD, HD+ Android Development] belfastraven:
yes--found this in my audit log--

type=1400 msg=audit(1445782559.469:172): avc: denied { write } for pid=2721 comm="usbhostswitcher" name="usb_id" dev=sysfs ino=2525 scontext=u:r:untrusted_app:s0

so perhaps it is SELinux issue (we are now on Enforcing ,since late August I think). Thanks again for your answers. Perhaps [MENTION=4473900]amaces[/MENTION] will look into this. We know he is busy working on Marshmallow :)
[Nook HD, HD+ Android Development] neutronjeff:
All, I could use some help. I flashed 1018 ovation and gapps and set up, looking good. I went back to recovery and flashed SuperSU and it wouldn't completely boot. I then went back and tried the all-at-once flash method someone mentioned. (Rom, SU, gapps) That doesn't boot for me either.
[Nook HD, HD+ Android Development] twiztid_:
If ROM + GApps worked, and broke after SuperSU, make sure you're using the right SuperSU.

Try this one: https://download.chainfire.eu/696/SuperSU I'm not sure if the newer ones will work.
[Nook HD, HD+ Android Development] neutronjeff:
Thanks, but that is the one I tried.
[Nook HD, HD+ Android Development] mmnspeed:
Has anyone tried changing the dpi in the ROM to see if there is any improvement in the speed while cycling through the recent apps?
[Nook HD, HD+ Android Development] asakurato:
Haven't done anything since I flashed 10/18 build, but 60 fps video suddenly started to work on youtube!
[Nook HD, HD+ Android Development] digixmax:
I just upgraded my HD+ from CM11 to this CM12.1 ROM release dated 10/18: the Nook apps' performance overall is vastly more snappy, making it a joy to again use my HD+.

Thank you, [MENTION=4473900]amaces[/MENTION].
[Nook HD, HD+ Android Development] long2ski:
Is anyone else getting an incessant "Google play services has stopped" on the ovation 10/18 build? I cleared cache, disabled and re-enabled, cleared data and updated it but I still get crashes. Any suggestions? Should I wipe and reflash?
[Nook HD, HD+ Android Development] asakurato:
No crashes for me, try clean install.
[Nook HD, HD+ Android Development] samteex:
How can I set up usb host mode for usb thumb drive or may be NTFS

Thank you:confused:
[Nook HD, HD+ Android Development] games906:
What gapps do I need to use for the 6.0? One was too big, another wouldn't flash, one flashed but all of the Google apps crashed. Help!!
[Nook HD, HD+ Android Development] hotneutron:
I have the same habit of using "Wifi off when screen off". That way the battery could last for weeks. This is very important to me as I'm using the tablet 3 to 4 times a week, every time 10-15 minutes. It would be good to be able to pick up the tablet and use it without worrying about the charge.

Now with 10-18 image and clear data, clear cache, the tablet can last 2-4 days with WIFI on, which is very good. But losing the ability to last weeks is a big minus for me.

If I want to debug this myself, where should I start? which log will show such events?

Thanks.
[Nook HD, HD+ Android Development] mmnspeed:
How is the performance compared to 5.1.1..is it stable enough for daily use?..minus the gapps of course which you still seem to be looking for..:)
[Nook HD, HD+ Android Development] asakurato:
It's not for daily use. Performace is quite good, if not better, but there are many bugs, like computer can't recognize both Internal and external sd (in mtp), file managers can't recognize external sd, constant keyboard crashes (you can use any other) and many other which I have forgotten or haven't found yet.
[Nook HD, HD+ Android Development] Tschumi:
The 6.0 doesn't seem to be ready to use as a daily yet. It's rather snappy, with good response when pressing keys but a lot of heavy apps (mainly YouTube, chrome) crash or don't even load. The sideloaded Google keyboard works enough. The biggest turn off so far is the absence of sd card, but it's rather impressive that the device can even handle the 6.
[Nook HD, HD+ Android Development] chuimk:
Can any one help me with the issue I described in #1229? I just tried reinstalling after wiping everything (except internal and external memory cards) and I still face the same "App not installed" issue. I'm sorry for bumping but it seems it went unnoticed. Thanks!
[Nook HD, HD+ Android Development] games906:
So I was able to use the gapps that didn't work previously. It was just a permissions problem. If your gapps gives you the error with the "binary update error" and whatnot, all you have to do is go to advanced in TWRP and tap fix permission and boom, the gapps installs. Sideload the keyboard on over the gapps. If you get the keyboard crash error, skip everything in the setup wizard that requires it. Go to system settings and then language and input and change the main keyboard to the Google keyboard. Voilà! It's smooth for the most part but there are some glitches every now and then (pulling status bar down or launcher) rarely. I haven't tried root either.

---------- Post added at 06:51 AM ---------- Previous post was at 06:46 AM ----------

For those you just installed the ROM and keyboard alone, not need for the whole keyboard work around. But if you want to download things from the stock browser, you need to give browser storage permission in the Apps page under Settings. Just go to Apps, scroll to Browser, Permissions, Storage.
[Nook HD, HD+ Android Development] gordonthegopher:
Just want to thank you guys for keeping my Nook HD+ alive. Just wiped and went from CM11 to this with /data and /cache to F2FS and it's nice and smooth, and app switching is noticeable faster than KitKat. Can't wait for Marshmallow!
[Nook HD, HD+ Android Development] neutronjeff:
Did you already try installing the .apks from a backup?
[Nook HD, HD+ Android Development] kokercey:
I have found that some apps, like the B&N e-reader app, that worked with 4.4 will not work with 5.1. Check the compatibility of your apps version, an upgrade may be needed
[Nook HD, HD+ Android Development] danj88:
​

Try this:

Go to Settings => Apps

Click the three dots on the top right of screen

Click Preferred install location

Select internal device storage
[Nook HD, HD+ Android Development] chuimk:
I haven't tried that but this would only solve it for apps I had installed before.

How do I check for compatibility? Where are supported Android versions listed? This could indeed explain why it was installed in CM 11 but not on CM 12.1 but see below...

Ha! You nailed it [MENTION=4671534]danj88[/MENTION] ! This made it install flawlessly!

Thanks [MENTION=4119805]neutronjeff[/MENTION] and [MENTION=5634392]kokercey[/MENTION] for your answers as well!
[Nook HD, HD+ Android Development] king200:
The latest version was released Oct. 13. You can get it using, "Rac" http://xdaforums.com/showthread.php?t=2772436
[Nook HD, HD+ Android Development] kokercey:
Thanks for the info. I use Raccoon all the time as I don't use a gapps package.
[Nook HD, HD+ Android Development] belfastraven:
How long did it take for your initial boot on 6? I am trying to install the new hummingbird (HD) from experimental but think I may be boot looping...
[Nook HD, HD+ Android Development] games906:
Its only for ovation (HD+)?
[Nook HD, HD+ Android Development] belfastraven:
Nope--in experimental there are both 10/29 hummingbird and ovation builds. I know [MENTION=4473900]amaces[/MENTION] doesn't have an HD and I would like to provide some feedback, but am not sure how long to give the system to try to boot. I remember that to move to 12.0 from 11 took more than 20 minutes on the boot animation, but I don't want to try to boot for for than say 45 minutes, because I'm afraid to run the battery down and/or fry the HD. :)
[Nook HD, HD+ Android Development] twiztid_:
Its weird, when I first installed the 6.0 I swear it took a really long time, like 10-15 minutes on the android animation. Next time it installed in a usual amount of time. I haven't tried the latest version, I plan doing that in a few minutes.
[Nook HD, HD+ Android Development] games906:
Ohhh ok my bad ? the last time I check was last night for the 10/29 build for hd+. Probably should've checked again
[Nook HD, HD+ Android Development] belfastraven:
thanks. What, if anything, did you wipe before you installed? I've tried a dirty flash(just wiping dalvik & cache), then wiped system, too, haven't yet tried with wiping data. Mine goes into the boot animation and stays there for ever, or at least for 45 minutes.

I think I'll try wiping data too, and removing the sd card, just in case....
[Nook HD, HD+ Android Development] twiztid_:
Whenever I switch versions/distributions I always wipe /cache, /dalvik, /data, and /system. /cache and /dalvik which should be wiped by the system anyway, /system since its being replaced might as well start clean, and /data because some leftover settings might cause issue.

I couldn't get any apks to install, and downloading files still crashes Browser. All gapps I've tried give me an error, kind of wondering if its related to my TWRP version.
[Nook HD, HD+ Android Development] belfastraven:
aha- I have booted into 6. Didn't take more than 10 minutes, I'm sure. I note that the usb switcher will turn "on" now. Don't know if the app is actually working yet. AOSP keyboard is fine, wifi fine, I'll try installing gapps now.
[Nook HD, HD+ Android Development] Monfro:
I have installed Android 6 Marshmallow 29/10 Ovation build.

Physical home button is correctly mapped now.

After the ROM settles it is very smooth.

SD card is mounted now: a pop up will show you the card and you can navigate into it with built in browser, and also open videos and media, but not installing apk.

Gallery does not show media on the card.

File managers I tried did not show the card.

On setup wizard aosp keyboard and play services crash a lot of times.

After setup wizard I changed the keyboard, accessed WiFi and Google account.

After a while play services no more crashed (maybe it updated through play store).

So the only important bug I found is SD card not accessible: only built in file browser can correctly access it.

Great work Amaces!!
[Nook HD, HD+ Android Development] belfastraven:
On Hummingbird, same as above re sdcard. Also location services seem not to be working properly. Accuweather, google maps don't seem to be able to access the services even though they have permission. I have not figured out how to get root . Has anyone achieved root on this rom. If so, how did you do it?

---------- Post added at 02:25 AM ---------- Previous post was at 02:22 AM ----------

I think re browser you need to enable storage permission in settings for browser. I used a banks gapps for marshmallow, and had to flah rom , than gapps without intermediate reboot. I also had to flash the keyboard zip froma previsous post so I could log in to wifi and set up the nook. No luck with root...
[Nook HD, HD+ Android Development] Monfro:
To root Marshmallow build use SuperSU 2.52 beta:

http://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
[Nook HD, HD+ Android Development] andtron:
Where does one get the 6.0?

TIA
[Nook HD, HD+ Android Development] andtron:
Sorry, duplicated post due to crash.
[Nook HD, HD+ Android Development] digixmax:
https://m.box.com/shared_item/https...ygh9vbaw7jjq08xr5evomvaw5ww/browse/3480156918
[Nook HD, HD+ Android Development] belfastraven:
thanks, Monfro. I had done that, but I did it again and it worked :).

[MENTION=4473900]amaces[/MENTION], after a day, on hummingbird, I've noticed a bit of what seems to be a memory management problem... once you have been using several apps for a while, (for me, NYTimes, kindle, Chrome_dev, settings, gmail, e.g. ) apps become rather laggy and you get the application not responding message. I am going to attempt to keep using this as my daily driver, however. Is there a way to do a soft reboot in this rom--previously you could do it from the power menu.

I think it's great you've gotten so far with this so quickly. thanks again.
[Nook HD, HD+ Android Development] toplist:
Reboot to recovery isn't working for me. Currently, I'm running the latest experimental marshmallow build. I've been running op's cm12.1 build even before this thread was created. I didn't have recovery or power off problem like some users until the last cm12.1 10/18 build. When I saw the marshmallow build and decided to try it, that's when I found out that reboot to recovery and complete power off are not working properly. The way I access recovery now is manually pressing power button to shut it off and do power+home to boot to recovery. I tried flashing twrp 2.8.7.4 from amaces's folder and also twrp 2.8.7.0 using flashify. It doesn't fix the problem. I can't access fastboot from computer. When I use adb reboot bootloader command, it loads to cyanoboot and few seconds later shows android boot window. How can I get reboot recovery and power off working again?
[Nook HD, HD+ Android Development] digixmax:
I'd suggest you try flashing UPDATE-SuperSU-v2.46.zip.
[Nook HD, HD+ Android Development] muthaflaco:
I flashed 6.0 10/29 version yesterday. I had the google play services error constantly upon initial startup. I found this on a Google search: http://www.ibtimes.co.uk/android-6-...oogle-play-services-force-close-error-1524431

It fixed my error problem. I also took the advice from a previous post and installed the L Keyboard apk. Previously I had no KB, and the Nook had error-ed many times before flashing it. Another thing I noticed is if using MX Player and watching a video from the SD, it'll rotate into landscape but not want to rotate to portrait when exiting the program to home screen. It just stays in landscape. You can manually rotate to portrait in MX Player before exiting and it's fine. Sometimes 6.0 will hang for a few seconds when exiting to home screen while using Pandora. On a couple occasions it stuttered on the audio in Pandora.

OP - Thank you for doing this work. I appreciate the time you spend breathing new life into these devices. My 9 yr old daughter is the guinea pig beta tester in the family, as she is the hardest on devices. She reports things to me as they happen in extreme detail. Frankly, I've been flashing since I had a T-Mobile Dash (Google and laugh) and I've NEVER seen a ROM work this well in two updates. Amazing. Keep up the awesome work OP, and again thank you.
[Nook HD, HD+ Android Development] games906:
All I did was reflash gapps, removed the setup wizard from twrp file manager and reinstalled any apps that fc when opened
[Nook HD, HD+ Android Development] belfastraven:
[MENTION=4473900]amaces[/MENTION], I am currently running with the 11/01 hummingbird build from experimental, which I installed yesterday. It doesn't work as well for me as the 10/29. It is laggier, and for some reason right now, I can't log into from the kindle app. I also note that on rebooting, it will go through the boot cycle more than once, optimizing various apps each time. Of course, since it just numbers the apps, you can't actually tell what it is doing.:) . I think there are olicy/permission issues since trickster mod can't install busybox into the system partition and, as stated before, system won't boot into to revery, soft boot, or shutdown, without use of power,home keys. Do you wan't logs?

thanks again.

Have trickster mod running now--needed to install busybox through recovery. If there is anything you want looked at, let me know. I note that the system is "idling" a bit warmer than it was onlast Lollipop build--at a little over 30 degrees C.

"miscellaneous" is using 22% of battery.
[Nook HD, HD+ Android Development] Tschumi:
In the experimental folder are the Marshmallow builds, did you flash over Lollipop? There are still a lot of kinks.
[Nook HD, HD+ Android Development] belfastraven:
no--I had been running the 10/29 Marshmallow--. I know that these are very early, but I think the 10/29 was working better for me. I'm sure some of this is not the rom, but the apps. I do note a lot of avc permission problems in the logs, as well as Choreographer complaining about missed frames..., I am excited that this is running at all.