yashsingh1/xdaforums huggingface dataset:
[Nook Color Android Development] mateorod:
What up peeps.

So I told you that I would look at 4.2 over the holiday weekend, and I did. You can see my initial device commits here and here.

I basically am smashing together the 4,1 ParanoidAndroid tree with my 4.2 AOSP tree. But don't believe this was all done in one shot...each of those edits came about as a response to build errors, and some were pretty hard-fought.

Anyway...this is where is currently chokes out:

Traceback (most recent call last):
File "./device/bn/encore/releasetools/encore_ota_from_target_files", line 149, in <module>
main(sys.argv[1:])
File "/home/mateor/android/system/CM10/build/tools/releasetools/ota_from_target_files", line 1200, in main
WriteFullOTAPackage(input_zip, output_zip)
File "./device/bn/encore/releasetools/encore_ota_from_target_files", line 51, in WriteFullOTAPackage
metadata = {"post-build": GetBuildProp("ro.build.fingerprint", input_zip),
File "/home/mateor/android/system/CM10/build/tools/releasetools/ota_from_target_files", line 486, in GetBuildProp
return info_dict.get("build.prop", {})[prop]
AttributeError: ZipFile instance has no attribute 'get'
make: *** [/home/mateor/android/system/CM10/out/target/product/encore/pa_encore-ota-eng.mateor.zip] Error 1

Modifying the python to just return None or comment out that return just delays the inevitable. As does swapping it out with the CM10 'ota_from_target_files' and 'encore_ota_from_target_files'.

So we'll see. The PA guys have added signature-verification to the ParanoidPreferences app, which means that even if compilation is sucessful, we will be using the open-source tool from way back to ICS. They want to keep the official apk for only Official Releases (not that they merge new submits or anything...). They also have pulled large-mdpi resolution support for 4.2, which the Nook Color counts as. I have added it back, but we will just have to see how that impacts things.

I think all the components I need to test this build have actually already been built, so I may throw it all together by hand and see if it boots at least. I didn;t spend much time with the hardware repos, there is always the chance that I need to drag some more hardware stuff into the manifest.

I'll keep looking at it, although it isn;t my highest priority since 4.1.2 is performing so well. But it isn't being ignored. I actually completely wiped every partition on my Nook the other month when flashing AOSP and not being careful about which zip had it's boot.img replaced...not even Leapinlar's emmc repair could save it. Might have to go to full-time sdcard install.

Thanks for listening.
[Nook Color Android Development] thejrcrafter2:
Erm, not sure if this could help, but you could adb (or use terminal emulator) into the nook while in sdcard-android and mount the internal boot partition and copy the boot.img using a file manager, or maybe the terminal if you really feel like it. if this works, i will be happy.
[Nook Color Android Development] DroidXcon:
Anyone have an idea why my bluetooth wont find any devices. i know the OP says not to use 4.2 gapps which i didnt i used

CyanogenMod 10.0.x

4.1.x

20121011

4e9e7ec3c22b0b3471bd05d62b8a659d
[Nook Color Android Development] envygreen:
No antenna = put nook RIGHT next to bluetooth device. I can't pair or communicate any further than about 3 inches on my nook.
[Nook Color Android Development] rampart51:
BLUETOOTH. Even with my Nook 3 inches away from the device, it will not connect. It does PAIR which is weird. Just won't connect.
[Nook Color Android Development] WJThomas:
Re: [ROM][Nightlies] ParanoidAndroid 4.1.2

I've had problems connecting my Nook with my GPS. I found that it will connect no problem after a reboot, but will only pair after it has been running for a while.
[Nook Color Android Development] anapospastos:
Re: [ROM][Nightlies] ParanoidAndroid 4.1.2

I' m also facing problems when trying to connect my nook to a gps. It's a cm10 issue. If you try a cm7 rom it connects instantly and keeps working without disconnections.

Nook's bluetooth range is over 1 meter(maybe more), funny to read about 3 inches.
[Nook Color Android Development] Miltani:
is it only me that i cannot touch the top right corner of the nook?
[Nook Color Android Development] Tiezane:
Re: [ROM][Nightlies] ParanoidAndroid 4.1.2

Touch in the top right corner works fine for me. Having an issue with Netflix constantly wanting to buffer though, it will play for a few minutes, then buffer, every few seconds, then hang. I can back out of the video and restart it, but it will do it again after a few minutes. This is with the latest nightly, with v6 supercharger, didn't happen on older builds
[Nook Color Android Development] k8108:
Re: [ROM][Nightlies] ParanoidAndroid 4.1.2

This area of the screen is very problematic for me too. Haven't found a fix yet.
[Nook Color Android Development] halrulez:
Re: [ROM][Nightlies] ParanoidAndroid 4.1.2

I can second this. It has always been a problem area.
[Nook Color Android Development] scubageek01:
Can't download anything

Has anyone run into the issue of not being able to download anything with the latest ROM? I'm not sure if I'm doing something wrong but all downloads are unsuccessful. Thanks.
[Nook Color Android Development] envygreen:
Have you tried cleaning the screen really well and then running nook screen recalibrate? Mine is usually problematic near the edge but this seems to at least minimize the problem if not eliminate it.

https://play.google.com/store/apps/...vbS5hc3NpZC5hbmRyb2lkLm5vb2tyZWNhbGlicmF0ZSJd
[Nook Color Android Development] ufkal:
My problem, along with the upper corner bit is the whole screen responsiveness. I have to try 3 or 4 or 8 times to click a link, for example in a web broweser, or tap several times to get an app to open.

Not sure what to do to fix that.
[Nook Color Android Development] envygreen:
SD or EMMC install? Certain SD cards underperform badly. Have you compared your settings to this thread? http://xdaforums.com/showthread.php?t=2112756 Other than recommending CFQ scheduler over NOOP this matches what has always worked well for me.

If none of that helps and the screen recalibrate does nothing, what about changing your DPI so that everything is larger? My nook doesn't compare to the iPad I have at work or the N7 or other 'proper' tablets I've tried when it comes to touch responsiveness, but it's generally solid when properly installed and configured.
[Nook Color Android Development] lepa71:
How long does it take to boot up?
[Nook Color Android Development] eungholee2:
does paranoid for the nook color have pie controls? like they do in 2.99 beta versions on the galaxy nexus device?
[Nook Color Android Development] BPB21:
Boot time

Mine takes maybe 10 seconds from powered off to ready to go. I haven't exactly timed it, but it's quick. I've flashed this ROM in the internal memory - not on the SD card. It's also very responsive, which may have to do with it being flashed to the internal memory rather than the SD card. Don't know, but well worth it for me. I use it much more frequently with this ROM.
[Nook Color Android Development] Tiezane:
Re: [ROM][Nightlies] ParanoidAndroid 4.1.2

Mine takes a lot longer than 10 seconds to boot up, more like a minute or two. I'll have to time it to be sure.

Sent from my Sega Master System via Carrier Pigeon.
[Nook Color Android Development] BPB21:
Boot time

Ok, well, now that I think about it, the boot time is probably more like 20 to 30 seconds. I actually haven't timed it; I probably should just to see. But, it is pretty fast.
[Nook Color Android Development] plasticarmyman:
are we going to get any updates soon? it's been over a month...that is the only reason I am asking *cringes* I hate asking this...i honestly do....
[Nook Color Android Development] lepa71:
I switched Workspace and all User Interface setting to Tablet UI and now I can't boot up. It gets stuck on boot animation.

Any ideas?
[Nook Color Android Development] lynnji:
Did you clear cache and dalvik before rebooting? That's what I have to do.
[Nook Color Android Development] lepa71:
I will try it. I did restore backup already. I'm running SCHIZOID right now, but it's shifting navigation buttons on me all the time. I don't know why, so I want to give a pure PA a shot. I tried CM10.1 and it was lagging and there is no Tablet UI. I know it's only alpha so I will wait. I'm also having issue loading cyanoboot menu with pushing N-key. It gets stuck on "Loading menu".

Thanks
[Nook Color Android Development] mateorod:
Yeah, this has been a random issue with the Nook since Gingerbread. I don't see it in stock, so I would guess it is kernel related (from Dalingrin's original overclock I would guess). But as far as I know, no one has looked into it...maybe it is due to something else. Either way, it is a semi-regular complaint. I used to have it, and then I didn't...

I have also heard that clearing davlik solves this...did you install the PA rom over a clean wipe? I always get lingering bugs with any sort of 'dirty' install. I also saw people report this who would later return and state that they just had to wait an abnormal amount of time and then it would boot up (15-20 mins...too long, I know.)

Good luck.

Well, I gave an update on the progress a little while back.

But I do understand. Here is the issue...I pretty much have all the components built as of the above post, but there was a break down in the ota_tool script that zips it all up. Plus, I don't have a working Nook, I actually broke mine when I was porting 4.2 AOSP to the Nook back in October sometime. I completely wiped all the partitions (yes, all) so I either need to rebuild them by hand from the info on the original box or just go buy an sdcard, I guess. Fixing the Nook hasn't been a priority for me b/c I have been using a Nexus7 for my development testing lately.

There is also, to me, a somewhat moral quandary here. I am very unhappy with PA withdrawing the ParanoidPreferences support from non-Official builds, and charging for it in the Play Store. They offer the open-source ICS app, but that doesn't cover a third of the features. So if I build this rom, I am essentially requiring you to go use a paid app in the store to use it properly. That doesn't sit right with me. If they were accepting new devices, that would be a different matter, then I could just put the work in to make the Nook mesh with the upstream tree...the problem is that they don't accept patches. I actually applied for the Nook to be an Official device back in ICS...it was approved, but never merged. I actually just tried to link to their gerrit instance to show our efforts...but it seems to be gone or down or something.

So I haven't decided what to do yet. I will give it some of my time this weekend and tuesday, ok? The Nook is the only device board I frequent, I love the device and the people working on it, I have some measure of pride in my place of all of this, so I am loathe to stop just because of outside issues. But I need to follow my conscience on this, so we will see.

Let me be clear...I don't have a problem with any fundraising...we are looking into crowd-funding a gerrit instance for the Auto-Patcher. But they are pretty active in going after forks that include this apk, and have no reasonable alternatives for ports like ours. If I have this wrong, and you know different, I would be pleased to be corrected...
[Nook Color Android Development] dparrothead1:
Re: [ROM][Nightlies] ParanoidAndroid 4.1.2

Just a suggestion from a complete layman who knows absolutely nothing about building Roms. Could you not forget the PA Preferences and go with something like an Xposed apk?

I am running Dirty Rootbox on my N7 that includes Xposed and IMHO, its as good as or better than PA Preferences.
[Nook Color Android Development] mateorod:
So my hardware is messed up pretty bad here, guys. I have totally wiped everything partition on the thing. I know it is fixable, but I just haven't had the time. I flashed an Encore AOSP rom that had a boot.img in it...whoops.

So here is where we are...I need some very daring guinea pigs who are willing to test a COMPLETELY UNTESTED ROM!!! If you think this is unprofessional of me and wish that I would just stop, tell me so. I wont be mad.

But I couldn't leave the Nook behind...dragging this device into the future with us has been a blast so far. So anyway, I have a

ParanoidAndroid3.0 (Android 4.2.2) rom completely built from source here.

The problem with my hardware came from a rom with a boot.img in it, this rom does not have that problem and it shouldn't be any more dangerous than anything else you have encountered here on the Nook board.

BUT YOU NEVER KNOW!!! (zomg!)

So if there is a brave soul or two who are willing to risk life and limb by flashing a COMPLETELY UNTESTED ROM then let me know in the thread or by pm. Knowing how to pull a logcat is a requirement.

Thanks are due to eyeballer for the commit that got me over the hump (adding OPTIONS to the asserts, of course!) and steven676 for his continued work on the kernel...any mistakes are mine alone.

Edit: Let's just add here that this rom may not, and may never boot at all. This is a much different case for us then 4.1.2 in that it is based on AOSP and Evervolv instead of Cyanogen. This is as close to the PA(OSP) manifest as I could get it, I just pulled my fork of the device tree, steven676's hardware/ti/wlan and some commits to build. So there is a great chance of big issues, ones that are hard to debug without hardware. You have been warned (AGAIN)
[Nook Color Android Development] halrulez:
Re: [ROM][Nightlies] ParanoidAndroid 4.1.2

I just might have to do this
[Nook Color Android Development] dombeef:
Im fine with trying it out, as long as it will run on a SD card.
[Nook Color Android Development] mateorod:
PMS have been sent...I think three people is enough to let us know.

Thanks to the volunteers!
[Nook Color Android Development] dombeef:
Well the sd card recovery installs everything ok, but when i try to boot off the sd card I am faced with a black screen, but the backlight is still on.

It has been 15 minutes already so I think it is safe to say that there might be problems with it, adb doesnt even work through usb
[Nook Color Android Development] plasticarmyman:
i'll test it on the SD card as well....I have no problem with that :)

p.s. sorry for my delayed response, i check this board about once a week
[Nook Color Android Development] WJThomas:
Re: [ROM][Nightlies] ParanoidAndroid 4.1.2

Does PA have a setting somewhere to specify where apps get installed (data, SD, or auto)? I have an SD install with a 4G data partition to ensure that all my apps (mainly kids games) can be installed in data instead of the SD. I want to avoid the SD install because the total space required is more and I think it loads slower because of the indirection.

I have 2G free on data and it is installing apps to SD. I can move them to internal after the install, but I would prefer to install straight to internal.

I've looked, but I don't see it anywhere in the settings. Is this hidden, or is this something that CM10 got rid of?
[Nook Color Android Development] leapinlar:
Re: [ROM][Nightlies] ParanoidAndroid 4.1.2

Some apps have themselves set up to always try to install to SD.

You can get third party apps to change the system preference.

Sent from my Nook HD+ running CM10 on Hybrid SD
[Nook Color Android Development] RoboticBuddy:
Sorry for a late reply, but I might be willing to try.

The Nook Color is basically unbrickable, because of the CWM SD Card(?)
[Nook Color Android Development] leapinlar:
Re: [ROM][Nightlies] ParanoidAndroid 4.1.2

That is true. But if you do the wrong thing like flash a ROM from another device, you can mess it up pretty bad. Just don't bypass any safety checks that are built into the zips and you should be ok.

Sent from my Nook HD running CM10.1 on Hybrid SD
[Nook Color Android Development] mateorod:
Yeah...I got two response back from testers, and it wouldn't boot for them. Which isn't too suprising, because this is basically porting AOSP to the Nook before we ever get to the PA stuff. Now, I did have AOSP 4.2.0 booting on the Nook already (see below) so I know it can be done.

But I need logcats to debug and it just isn't practical to do this second hand. I was hoping we would get something mostly workable right out of the box, since I had done most of the AOSP work already. But, alas, it was not to be that easy.

As for the whys and hows of my Nook, back when I was porting AOSP 4.2, I had some of the AOSP flags still building a boot.img instead of what the Nook Color needs, which is the ramdisk, the kernel and the MLO all separate (look inside a rom and you'll see what the Nook needs at root level.). What we were doing is merely taking the boot.img out and replacing it with the prebuilt kernels and ramdisk etc. from a regular CM10 build, just to boot and see where we were.

Well, one day i was careless with my wildcards and pushed an AOSP encore rom that still had the boot.img, and then flashed it. Big mistake. There are certain partitions that need to be intact on the EMMC for even sdcard installs to work. Leapinlar has numerous threads about this, and is, at this point, probably the foremost expert on bringing Nooks back from the dead.

Leapinlar has looked at my fdisk output, among other helpful things, and has sent me a couple last gasp ideas. I am going to give them a shot soon. But if the Nook doesn't respond, that may be the end for this and several other Nook-related projects I am working on.

So, yeah, kids. If you are porting a strange OS (Ubuntu Touch experimenters, beware...) make sure there isn't a boot.img in there. You can pass every assert and still really tear up the device.

i will let you guys know how it goes.
[Nook Color Android Development] leapinlar:
Re: [ROM][Nightlies] ParanoidAndroid 4.1.2

Mateorod, I just sent you another PM.

Sent from my Nook HD+ running CM10 on Hybrid SD
[Nook Color Android Development] odj1041:
Anyone still have links to the last ICS build of Paranoid Android?
[Nook Color Android Development] leapinlar:
Re: [ROM][Nightlies] ParanoidAndroid 4.1.2

Look here:

http://techerrata.com/browse/mateorod/paranoidAndroid

Sent from my Nook HD+ running CM10 on Hybrid SD
[Nook Color Android Development] motisu:
Hi Mateorod,

Anything new with reviving your Nook Color? Is it still DOA or have you managed to get it up again? It would be a shame if all of us NC lovers would have to stop upgrading with your wonderful ROMs. Hoping for good news. :)
[Nook Color Android Development] mateorod:
No...not yet. But part of that is my fault. I have been sent a wealth of info, and while I have tried bunch of it, I have not tried it all. It needs me to give it my time...I will work on the device tonight and hopefully update you guys on the status soon.

Leapinlar, I have been getting your PMS, I have just read them in my email. I will contact you directly with a status update when I am done with my next session.

Thanks for the PMS of support everyone. Nothing needed from you guys, I will give it sufficient resources to pronounce my Nook dead or alive and then we'll know more.
[Nook Color Android Development] hittingsmoke:
The latest 2.99 version seems to not play nicely with two-factor authentication on a Google account. Since I turned it on I get an error saying that sync failed and it will be back shortly, as if the service is down. It should be asking me for a password.

Is this a problem with the ROM? My stock 4.2.2 N4 handled it gracefully.
[Nook Color Android Development] leapinlar:
Re: [ROM][Nightlies] ParanoidAndroid 4.1.2

Mateorod,

A user here (RedneckReg) just donated a Nook Color for you. He is sending it to me and I will forward to you. I just sent you a PM so you can send me your mailing address.

Good news for us PA users.

Sent from my Nook HD+ running CM10 on Hybrid SD
[Nook Color Android Development] mateorod:
Back to work...a lot to catch up on.
[Nook Color Android Development] lollyjay:
Re: [ROM][Nightlies] ParanoidAndroid 4.1.2

U da MAN!:D

Nexus 7 | PA 3.10 17-Mar2013 | Nova Prime | M-Kernel a44

Nook Color | PA 2.99 | Nova Prime
[Nook Color Android Development] k8108:
Re: [ROM][Nightlies] ParanoidAndroid 4.1.2

I can't wait to see this rom updated!
[Nook Color Android Development] mateorod:
I just got a pm from Leapinlar and quickly wanted to thank a couple people publicly.

(the awesomely named) RedneckReg generously donated a Nook Color so that development on this rom could continue. I had spent as many hours attempting to fix my original Nook, but I couldn't get it done. I had some other offers of donations, but I try and keep the work I do as just giving back what I can. But when RedneckReg's offer came through, I felt I would be selfishly standing on principle instead of just getting back to work, so I accepted.

Thanks RedneckReg! Also thanks to Leapinlar, who actually fronted me his back-up device and facilitated the transaction.

Work has already been continued, you can follow along with the progress (or point out ideas/mistakes/improvements) at my github page.
[Nook Color Android Development] derekr44:
Great news! I'll be keeping an eye out while I attempt to do to my phone what you all have done with the Nook (a story in and of itself...)
[Nook Color Android Development] Tiezane:
Re: [ROM][Nightlies] ParanoidAndroid 4.1.2

Mateorod - so glad to hear you won't have to abandon this project! I have practically 0 skills, but know I'm always available as a tester!

Sent from my Sega Master System via Carrier Pigeon.
[Nook Color Android Development] cammykool:
:D
[Nook Color Android Development] mateorod:
Sorry for long delay, I had a very irritating problem with the update ( now solved). Details (and zip) this week.

Edit: AOSPA ParanoidAndroid 3.15!
[Nook Color Android Development] AgentCherryColla:
Gimme the loot!
[Nook Color Android Development] mateorod:
It is in the hands of the testers now (and has been for a little while, actually. But there were some semi-critical issues to address first.)

It will not be perfect, but barring some major bug discovery, I plan to release a zip tomorrow. I will post here with the new download link when it goes up.

edit: I am updating the OP and rom-building thread. If you see changes there, that does not mean the rom is out yet. I will put up a new post when I have the link live.