yashsingh1/xdaforums huggingface dataset:
[Nook HD, HD+ Android Development] Jon Lee:
I've been runnng 2-22 for a few days now. It seems to be running just as well as any.

Patched for two Same Origin Policy (SOP) bypass vulnerabilities in webkit.

http://www.securityweek.com/google-patches-second-same-origin-policy-bypass-flaw-android-browser

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-6041

ROM: http://www.mediafire.com/download/3lq96w0k263cqfm/cm-10.2-20150222-UNOFFICIAL-ovation.zip

MD5: http://www.mediafire.com/download/vwz4ztq4cmxdbor/cm-10.2-20150222-UNOFFICIAL-ovation.zip.md5sum

Source:

https://android.googlesource.com/pl...09d59bf6fe4abfd001fc60ddd403f1046b117ef^!/#F0

https://android.googlesource.com/pl...368e05e8875f00e8d2529fe6050d08b55ea4d87^!/#F0

https://android.googlesource.com/pl...e4405a7a12750ee27325f065b9825c25b40598c^!/#F0
[Nook HD, HD+ Android Development] PMikeP:
Had to break my 15 day streak to install this. So far, so good.
[Nook HD, HD+ Android Development] trenty12:
Can someone please tell me how to install this or point me to a post that explains it :(

I have had CM11 on my Nook HD+ plus for a while but fancy starting all over again but cant seem to get this working, I just get the spinning CM loader.

I have succesfully wiped everything and put CM10.2 back on from scractch using the guide here just so I can be sure im installing correctly (its been a while!).

Bu i just dont know how to get this on as it sounds perfect.
[Nook HD, HD+ Android Development] Jon Lee:
1) Flash proper recovery: http://www.mediafire.com/download/33f8skzaxwk00u6/OVATION-TWRP-20140729-recovery-F2FS.zip

2) Reboot into installed recovery (power + n). (Make backup?)

3) Wipe-> Advanced Wipe-> and individually select and convert data and cache to F2FS.

4) Install Rom
[Nook HD, HD+ Android Development] PMikeP:
It's a hybrid ROM. Part f2fs, part ext4. You have to use a special version of TWRP to install it.

I'm on my tablet, so I can't find it for you now. But go backward thru this thread until you find Jon's install instructions.
[Nook HD, HD+ Android Development] trenty12:
Thanks, will give it a try later! I'm hoping its as easy as it sounds....
[Nook HD, HD+ Android Development] infra_red_dude:
Thanks [MENTION=5664601]Jon Lee[/MENTION]! The latest update is running strong.

PS: I am again requesting for a new thread and XDADB for this new 10.2.1 Yellow Kernel ROM. So many people may be missing out on this fantastic ROM!
[Nook HD, HD+ Android Development] trenty12:
ok, looks like i've done it, thank you :)

When it boots though it tells me Trebuchet has stopped?

Also, do i need to install gapps to get play store etc.?
[Nook HD, HD+ Android Development] com35:
Yes, you should install gapps 4.3 version.

This new rom is more stable.

System UI reload on boot has fixed.
[Nook HD, HD+ Android Development] FirePsych:
WiFi stopped. I have it on in Settings, but it doesn't see any networks.

I saw this problem in other threads and deleted data/misc/wifi, rebooted. That didn't help.

Reflashed the 10.2.20150222-unoffical, wiped D&C, rebooted. That didn't help.

Deleted data/misc/wifi again and rebooted.

No luck.

Says Searching for Wi-Fi networks....

But nothing.

Ideas?

UPDATE: Dirty flashed previous build and WiFi came back. All was good.

Dirty flasshed 10.2.20150222 on top and my home network briefly appeared in the available networks list, but shows Not in range. Ovation is sitting on the same table as the laptop I'm typing and my phone, both connected to my home network.
[Nook HD, HD+ Android Development] twiztid_:
Installed TWRP, wiped my system,cache, data, dalvik partitions, formatted the two to f2fs, and went to install the ROM but can't find my files. I had them saved to the download folder, but none of my folders seem to exist under internal_SD, sdcard, storage, or any other folders Ibwould assume they are in.

Ticking the internal storage box in advanced and pressing repair or change fs gives me an error: invalid partition selection. Have I lost my files?
[Nook HD, HD+ Android Development] FirePsych:
I think you lost everything when you wiped data. Try to download the rom, GAPPS and Super SU to your PC/Laptop and transfer to an SD card. Insert the SD while you're in recovery and then mount External SD or Storage, or whatever it's called.

You should then be able to install from the external SD.
[Nook HD, HD+ Android Development] twiztid_:
Bleh now that I think about it, this is why I hate twrp. Second time its killed my internal storage.

Data IS NOT the sdcard/internal/whatever, but it seems to wipe it anyway.

Looks like I'll have to wait a few hours to fix my tablet.
[Nook HD, HD+ Android Development] hilltopper06:
I tried 2-22 (after installing the proper TWRP, advance wiping data and cache to F2FS, installing ROM + 4.3 Gapps)

After booting I get "Unfortunately, Setup Wizard has stopped" over and over. I can hit OK and it just keeps coming back. Any ideas?

3rd time was the charm. I ended up doing a wipe on everything but external SD card first, then setup my partitions again, installed rom, etc. Then it worked. I was coming from an old CM10 build, so maybe there was some lingering issues.
[Nook HD, HD+ Android Development] com35:
Don't install rom and gapps same time.

You should install rom without gapps.

After reboot you can see homescreen without error message.

You can install gapps after this.
[Nook HD, HD+ Android Development] PMikeP:
LMK?

Hi Jon:

Is the a way you can easily add a LMK adjuster? Or should I just use a tweaker app?

I find that Chrome will often restart after I go to Dolphin and return, even tho I have free space in the swap file.

Otherwise, no issues with this ROM. Very stable.

P.S. Using kernel tweaker now for LMK.
[Nook HD, HD+ Android Development] twiztid_:
Since I couldn't find any 'lite' GApps for 4.3, I've "created" (repacked) a GApps package specifically for this ROM. It is based on CyanogenMod's 4.3 GApps, and is modeled after the minimal PA 4.4.x GApps Pico Modular Package. I stripped out all of the extras (Gmail, Ears, GooglePlus, etc.) and left the minimum GApps needed for the Google framework, and Browser syncing:

ChromeBookmarksSyncAdapter.apk

GoogleBackpTransport.apk

GoogleFeedback.apk

GoogleLoginService.apk

GoogleOneTimeInitializer.apk

GooglePartnerSetup.apk

GoogleServicesFramework.apk

Phonesky.apk

SetupWizard.apk

The Lollipop Keyboard version also replaces /system/app/LatinIME.apk and /system/lib/libjni_latinime.so & libjni_latinimegoogle.so (to enable Gesture typing) with their Lollipop versions.

! ! ! ! ! W A R N I N G ! ! ! ! !

YOU ABSOLUTELY MUST BOOT INTO THE OPERATING SYSTEM ONCE BEFORE INSTALLING THESE GAPPS!!!!!

If you do not, the Setup Wizard WILL crash and

THE HOME SCREEN WILL NOT LOAD!

This will (should) also remove existing GApps from your /system/app folder​

===== Downloads:

Paranoid Cyanodroid 4.3 GApps (8.67MB)

Paranoid Cyanodroid 4.3 GApps w/ Lollipop Keyboard (28.4MB)

===== Sources and credit:

I take no credit for the GApps, the packing utility, or the minimal GApps idea. All credit goes to the following people/groups respectively.

Original GApps package (CM 10.2 20130813): http://wiki.cyanogenmod.org/w/Google_Apps

GApps Custom Package Utility: http://xdaforums.com/showthread.php?t=2764533

PA 4.4.x GApps (Pico Modular): http://xdaforums.com/showthread.php?t=2397942

===== DISCLAIMER:

This package worked for me, on my device, with my installed build. I cannot guarantee it will work for you, for your device, or for your chosen build.

Use at your own risk, and be sure to back up any of your data you are not willing to lose.
[Nook HD, HD+ Android Development] Jon Lee:
[MENTION=4617886]FirePsych[/MENTION], I gave it some thought, but I don't have an answer?

[MENTION=5348266]PMikeP[/MENTION], the main part of the Low Memory Killer code is in the kernel at drivers/staging/android. For the most part, the majority of tweaks are to be done there.

Anyway, here's another version to try.

Updated the kernel, drivers/staging/android (binder & lowmemorykiller), and netfilter (no more qtaguid dmesg logs!) .

ROM: http://www.mediafire.com/download/ocmerepm6dwnj1k/cm-10.2-20150306-UNOFFICIAL-ovation.zip

MD5: http://www.mediafire.com/download/q3ta1m21xu17w13/cm-10.2-20150306-UNOFFICIAL-ovation.zip.md5sum

I'll update this post with complete kernel source tonight/tomorrow. But for those interested, here's the diffs..

http://pastebin.com/KbJczLjf

http://pastebin.com/mcM8FCPL

Note: I have done some limited testing of iptables and also droidwall seems to be working well.

Edit: http://www.mediafire.com/download/lxj0evog69e793q/kernel-20150306.tar.gz
[Nook HD, HD+ Android Development] com35:
It's amazing.

Improved sensitivity and response delay.

And much smoother.

Thank you, Jon.
[Nook HD, HD+ Android Development] PMikeP:
I have seen this before w/ me (although not on Jon's CM 10.2.1 builds). In my case, it was due to conflicting Priorities in the wpa_supplicant.conf file, where, somehow, two networks had been assigned the same Priority. I went in to the text file and manually edited one of the Priorities to resolve the conflict.

Since you are deleting everything in wifi, I don't see how this could be the problem. But worth a look in the .config anyway.
[Nook HD, HD+ Android Development] FirePsych:
Thanks.

I'm trying that, but it can't open the file.
[Nook HD, HD+ Android Development] PMikeP:
I wonder if that's telling something, 'cause I can open the file file as text. Did a permission get hosed on yours?
[Nook HD, HD+ Android Development] FirePsych:
That's an idea.

What should they be?

They're showing as

-rw-rw---

660
[Nook HD, HD+ Android Development] PMikeP:
Yes, that's what I show too.

Now, for some reason I wasn't able to open the file in the stock file manager. I had to use fx (nextapp.fx), which IIRC needs a root enabler add on too.

There is also a p2p_supplicant file too, which seems is where static ip configuration is saved.
[Nook HD, HD+ Android Development] FirePsych:
I fixed permissions through TWRP, just to see, but that didn't help.

I'm using the editor in Total Commander and it can't open either file.

I just restored my last back up, where WiFi worked. If it still works, I'll see if I an edit those files. If so, then I guess that narrows it down somewhat.

---------- Post added at 08:33 AM ---------- Previous post was at 07:47 AM ----------

Restored by back-up.

WiFi worked.

Installed Rom Toolbox Pro.

Opened both wpa_supplicant and p2p_supplicant, took pictures of both with my phone.

Flashed the 3_06 rom.

WiFi doesn't work. Same errors

Opened both of the above files with RT-Pro and they're identical.

I don't think it's one of those files.

Also: Under Advanced Settings, it's show Unavailable under IP address.

I guess that makes sense since it's not connected to anything?

Ideas?
[Nook HD, HD+ Android Development] Jon Lee:
I guess the commonly given (and accepted) advice for troubles like these is to revert back to stock (using Leapinlars thread), and then try over again. At the very least format system, data, and cache (format, not wipe), and try a fresh install.
[Nook HD, HD+ Android Development] FirePsych:
Yeah, but that's time consuming. I want a quick fix:)

I may do that anyway.

But, if it needed that deep of a wipe/format, wouldn't I have the same problem when I restore a back up without doing a wipe first?

---------- Post added at 11:55 AM ---------- Previous post was at 11:51 AM ----------

After a variety of Google searches, I found this:

http://forum.cyanogenmod.org/topic/83591-wifi-not-turning-on-after-upgrade-to-cm11/

mad768

"I found a solution posted by another user under a different topic but it did work for me. Download SQLLite Editor (costs money). Open the app, then open Setting Storage, then setttings.db, then Global, then scroll down to wifi_display_on and edit the value, change it to 0. Reboot and then you should have wifi working again."

^^This worked^^
[Nook HD, HD+ Android Development] PMikeP:
Wow. Good detective work. Now the question is, why didn't a dirty flash overwrie settings.db?

And are there any other gremlins like that lurking? (Might explain why I had to do a total wipe to install Jon's CM 10.2.1.)

Does this explain why a 'wipe' isn't the same as a 'format'?
[Nook HD, HD+ Android Development] leapinlar:
The reason a dirty flash did not overwrite settings.DB is because settings.DB is in /data and by definition a dirty flash does not wipe /data. And a wipe is usually the same as a format except with the HD/HD+ since the sdcard is emulated and is part of /data and with a wipe data/factory reset you do not want to wipe the sdcard. Therefore the wipe data/factory reset just 'erases' the files in /data that are not in the emulated sdcard. But a wipe would erase the settings.DB. If you want to completely wipe /data you must go to mounts and storage and select 'format data and datamedia' that formats the entire /data.
[Nook HD, HD+ Android Development] twiztid_:
Has anyone else noticed a weaker WiFi signal?

I'm on 0306 now, was on 0222 before, and I've been getting 2 bars max, dropping to 0 regularly, and notice it when I browse as pages take longer to load and some times don't load at all.

I can't recall exactly what I was getting on stock, but I don't remember it being an issue, and I don't recall ever dropping to 0 bars except for the WiFi bug(? iirc has happened on ALL builds including nook stock) where the connection hangs at obtaining IP, then tries to reconnect over and over.
[Nook HD, HD+ Android Development] PMikeP:
No wifi issues on mine. In fact (and I don't know how this can be possible) mine seems more sensitive with CM 10.2.1.
[Nook HD, HD+ Android Development] PMikeP:
First freeze

My first forced reboot. A touch feeze in Chrome after 6 days of heavy browsing. (0306 build.)
[Nook HD, HD+ Android Development] twiztid_:
I don't think its related to chrome (I'm shocked!), I've had a few touch freezes on 2/22 and 3/06 builds with the stock browser and once in a game (Hearthstone). Turning the screen off/on fixed it for me.

Have you used my gapps package by chance?

I noticed it started happening with my gapps, only AFTER I did a full wipe -> clean install -> my gapps. But it didn't happen before, when I had installed my gapps over a "dirty" uninstall (removed the apps, but left some other files) of the CM 4.3 GAPPS, so maybe I missed a dependency?
[Nook HD, HD+ Android Development] PMikeP:
Yeah, I had a freeze before w/ 0306, but like you was able to screen off/on to clear. This last one required a 15 sec power button reset.

Since moving to Jon's CM 10.2.1 Yellow ROM, I've been GAPPs free. I disabled Play, Services & Frameworks from the start and never went on-line to let them update. So I'm a "best case" for this ROM. (As a result, although I can log into the Play store on Chrome, apk's won't install from the Play store this way.)

BTW, while pecking this out on the OEM keyboard, a key stayed blue, even tho I could continue to type. Perhaps a clue about how touches and video talk to each other? (Two threads = race condition?) It cleared itself after a while, when I tapped the key again.
[Nook HD, HD+ Android Development] twiztid_:
I'm curious to know if anything was done to the sensitivity of the touch screen in 3/06. And if that could be a cause of any anomalies.

A post said it was more sensitive, and it does feel like it, but it may just be a placebo effect. My reason for thinking so is two fold. First, that i feel my screen is registering more "phantom" taps (due to some dust under my screen protector) after the latest update. And second, the touch screen feels better, both more accurate (curse my sausage fingers!) and responsive/faster.

But like I said, this could just be all in my head (now that I'm paying attention I notice it), or due to another unrelated reason like my clean install or some other optimization.

And something like that just happened to me, a key stayed half lit white (lollipop keyboard) but i could still type fine. Hitting the key again 'cleared' it and everything was 100% normal. It has happened on other ROMs, and does it a bit on my phone a bit too, so I think it may be a generic android quark.
[Nook HD, HD+ Android Development] com35:
Sorry, I didn't mean touchscreen sensitivity.

Just overall sensitivity.
[Nook HD, HD+ Android Development] Jon Lee:
Special Pi, anniversary edition. 3-14.

ROM: http://www.mediafire.com/download/f2q824s86fws2t7/cm-10.2-20150314-UNOFFICIAL-ovation.zip

MD5: http://www.mediafire.com/download/liq19vkswdhxrxx/cm-10.2-20150314-UNOFFICIAL-ovation.zip.md5sum

I don't want to say too much for fear of jinxing it, but this one seems to have a certain "feel" to it that the others haven't had. Could just be my imagination, I'm curious if anyone else can tell a difference?

I made one small register change in the kernel (in the quest for touchscreen perfection).

I will throw up source within the week, but I would like some feedback first.
[Nook HD, HD+ Android Development] com35:
Fast scrolling and activity transition.

But sometimes touch failed 1 out of 10 times.

It's not a big problem.
[Nook HD, HD+ Android Development] rainbow99:
Hi John, I wanted to try this, but cannot boot after flashing. Using TWRP. Had to reflash to CM12 to boot. Is there something that I missed out?
[Nook HD, HD+ Android Development] PMikeP:
It's a hybrid ROM, half f2fs, half ext 4.

Here's Jon's install instructions.

http://xdaforums.com/showpost.php?p=59112482&postcount=189

---------- Post added at 07:52 PM ---------- Previous post was at 07:06 PM ----------

I've had it running for 5 minutes now. At first I thought you might have been hinting at PIE controls, which I see is in the settings, but might have always been there. (I don't use, so wouldn't have missed.) Since we don't have haptics, I can't imagine what "feel" we might feel. (That would be quite a trick.)

I do notice that Chrome doesn't flicker like it used to on image redraws, where an image would first paint in a different color space and then, about a second later, repaint to the correct color. But perhaps I'm studying this too hard. Will be interesting to hear what you changed.

It did fc Android Firewall on me while I was selecting what apps to allow. It's never done that before.

Update: AnTuTu is 19460. A new high for me. (Multitasking score jumped up the most.)
[Nook HD, HD+ Android Development] FirePsych:
I suspect "feel" is in an intangible sense.
[Nook HD, HD+ Android Development] twiztid_:
Well, I highly doubt it was your intention, but with the 3/14 build Hearthstone's first launch takes less than a minute. In other builds (Yellow and CM11/12) on the nook, Hearthstone would hang for nearly 10 minutes on first launch.

Other than that, it feels more snappy - but I can't say that it's any more snappy than your last build. My AnTuTu scores are the same between the last two builds (19963 vs 19933).

This is, hands down, the fastest and most stable ROM I've used.

Did you increase the scroll speed? Pages seem to scroll faster (and smoother).
[Nook HD, HD+ Android Development] PMikeP:
I guess I was getting close when I thought a race condition, but I never would have thought an Interrupt issue.

I wonder why touchscreen drivers are so hard to write? AndroidPolice found a huge fail in the HP Slate 8 Pro when you typed too fast. (Apparently HP discontinued model.)

I wonder if this is going to be one of those counterintuitive frequency things like when you OC RAM on a desktop? A lot of times the overall system would work faster with a slower RAM speed because the different bus speeds would synch better.

Since Murphy says nothing is impossible for the man who doesn't have to do it himself, is there an easy way to write a low level app that measures the number of interrupts or benchmarks stalling due to wait states? If not, what should we be looking for at the screen level? Lag or ghosting on a drawing application?
[Nook HD, HD+ Android Development] FirePsych:
I'm not that smart. I think it just feels better :)
[Nook HD, HD+ Android Development] PMikeP:
Adaptive polling?

This is probably massive overkill, but is there such a thing as a polling governor? Like a cpu govenor, it would poll slowly when you're not near the touch screen and then go to normal speed for touches and swipes.

Edit: Found a Linux site about touchscreens that says don't use polling. Always use interupt. http://linux-sunxi.org/Touchscreen

And, out of curiosity, when we're talking about frequency for interrupts, is that a fixed system frequency? Or is tied to CPU freq, which is bouncing all over the place?

Last, I did an AnTuTu run using Performance governor. It benchmarked lower (down ~500) than Hotplug. Why is that?
[Nook HD, HD+ Android Development] Jon Lee:
Just a bit of fine tuning.

.poll_interval = 1500,
.data_odr_init	= ODR100F,

Went through four iterations to arrive at these values.

Reduced (or eliminated?) touchscreen "jitters" and kxtf9 IRQ wuf dmesg logs.

Edit: I just checked the downloaded md5. Long story but mediafire won't let you uploaded amended files with the same name (keeps the old version).

I'll have to post the update tomorrow.
[Nook HD, HD+ Android Development] Jon Lee:
I apologize for the delay. This is one to try. Should be worth it.

ROM: http://www.mediafire.com/download/hajiqiwz882byp9/cm-10.2-20150318-UNOFFICIAL-ovation.zip

MD5: http://www.mediafire.com/download/cvs5e87rcppucpu/cm-10.2-20150318-UNOFFICIAL-ovation.zip.md5sum

Source: http://www.mediafire.com/download/rlg45m1ke09lb4f/kernel-20150318.tar.gz
[Nook HD, HD+ Android Development] PMikeP:
It forced closed Android Firewall again on first use, like it did with the previous build. I get the sense that something in the ROM is "initializing," since it only happens once when the ROM is first installed about one minute after boot. Otherwise, so far, so good.

I just noticed that AnTuTu has a screen test feature, which traces multi-touches on the screen. Might be a poor man's benchmark to check for screen stuttering.
[Nook HD, HD+ Android Development] FirePsych:
Granted a lot of this is stand by and I'm using Greenify, but still, 7 days at 50%? Pretty good

[IMG="screenshot"]C:\Users\Robert\Documents\Nook\Screenshot_2015-03-18-22-06-03.png[/IMG]
[Nook HD, HD+ Android Development] PMikeP:
Yep - I have a screen shot where my battery voltage basically flatlines in standby. (Actually, it creeps up a bit as the battery recovers.)
[Nook HD, HD+ Android Development] com35:
Thanks Jon.

It fixed my touch fail problem.
[Nook HD, HD+ Android Development] PMikeP:
That is pretty creepy. I wonder what she's thinking?
[Nook HD, HD+ Android Development] FirePsych:
She's thinking she'll get away with it. I don't know what "it" is, and I don't want to know, but that's what she's thinking.
[Nook HD, HD+ Android Development] infra_red_dude:
If anything, the latest build should be released officially by B&N. My Nook HD+ has never felt more stable and snappy! Kudos [MENTION=5664601]Jon Lee[/MENTION]...
[Nook HD, HD+ Android Development] PMikeP:
Swap stopped working?

I just did a "free" comman in Terminal. Swap wasn't there.

Update: I rebooted and swap is back. I'll have to check on it now and then to see if it is turning itself off.
[Nook HD, HD+ Android Development] Jon Lee:
1) Was tired of the horrid boot animation. Exchanged it for my cute little original Andy.

2) Still wasn't quite happy with the touchscreen. Made additional adjustments.

ROM: http://www.mediafire.com/download/uun3au9ycl9xxan/cm-10.2-20150322-UNOFFICIAL-ovation.zip

MD5: http://www.mediafire.com/download/k1vmrq5kxk93j0s/cm-10.2-20150322-UNOFFICIAL-ovation.zip.md5sum

Kernel Source: http://www.mediafire.com/download/s0x427itp88gzfx/kernel-20150322.tar.gz
[Nook HD, HD+ Android Development] PMikeP:
Yep, it's smoother. My poor man's test is to swipe left/right on the multitask screen with enough tasks to slide out from the sides. Was jittery before. Better now. :)
[Nook HD, HD+ Android Development] xflier:
I tried to odex the rom as described, but got Android is upgrading at every reboot, any suggestions?