yashsingh1/xdaforums huggingface dataset:
[Barnes & Noble Nook Tablet] grantd:
Partition question

Hey Mike,

Sorry to bug you on this thread but was wondering if you could provide the full new partition layout. I am debating on whether or not to repartition manually or use the "recovery-repartition-acclaim-cm14.1-UNOFFICIAL". Also, trying to think if it would be better for me to upgrade from CM13 to CM14.1 now or just wait till LineageOS releases a build. My guess is that I would need to repartition regardless, correct?

Also, how does the CM14.1 perform compared to the CM13? I have successfully downloaded the cm-14.1-20161225-NIGHTLY-acclaim.zip after a lot of "The site can't be reached" messages so just weighing my options.

Thanks in advanced,

Grant
[Barnes & Noble Nook Tablet] drmarble:
I have put some patches up on gerritt that should allow acclaim to move on to LineageOS-14.1:

https://review.lineageos.org/#/c/154811/

https://review.lineageos.org/#/c/154812/

and: https://review.lineageos.org/#/c/157146/ (which cleans up /tmp after a build).

No major changes from CM. I can't commit them so I hope that [MENTION=3088606]chrm[/MENTION]hoffman will reappear and commit them. He might be busy or not interested in rom development now that CyanogenMod is dead.
[Barnes & Noble Nook Tablet] grantd:
Well, I ended up using the repartition recovery and figured I would answer my own question for anyone who comes by with a similar one. Here is the partition table from "sgdisk /dev/block/mmcblk0 --print"

Disk /dev/block/mmcblk0: 30535680 sectors, 14.6 GiB

Logical sector size: 512 bytes

Disk identifier (GUID): CE21388C-B927-4A5C-91CE-DBD1DE4AB3BC

Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 30535646

Partitions will be aligned on 256-sector boundaries

Total free space is 1246 sectors (623.0 KiB)

Number Start (sector) End (sector) Size Code Name

1 256 511 128.0 KiB 8300 xloader

2 512 1023 256.0 KiB 8300 bootloader

3 1024 31743 15.0 MiB 8300 recovery

4 32768 65535 16.0 MiB 8300 boot

5 65536 163839 48.0 MiB 8300 rom

6 163840 262143 48.0 MiB 8300 bootdata

7 262144 1019903 370.0 MiB 8300 factory

8 1019904 5214207 2.0 GiB 8300 system

9 5214208 7311359 1024.0 MiB 8300 cache

10 7311360 30535646 11.1 GiB 8300 userdata

Also, overall this ROM runs a lot smoother then the CM13 ROM I was running and makes my Nook functional for more than just reading which I haven't been able to do in a while.

Thanks
[Barnes & Noble Nook Tablet] Zippy Dufus:
Lineage build?

Hello,

So I tweaked by cm14-1 build script to build lineage-14.1-20170223-UNOFFICIAL-acclaim.zip.

It's flash failed with a status 7 error during the "patching system image unconditionally" step:

Has anybody got a working Lineage build yet?

Do I need to repartition as described in this thread? (I haven't done so yet.)

Is TWRP 3.0.1 out-of-date for this build?

Any ideas?

In advance, thanks.
[Barnes & Noble Nook Tablet] grantd:
Hey Zippy,

You will need to repartition as the system image needs the extra space. From trying to manually partition, I got the same error when it was less than 2 GB.

As for TWRP, I just am using the latest from their site (3.0.2??? Don't have it with me to check)
[Barnes & Noble Nook Tablet] Zippy Dufus:
Thanks. You beat me to updating my original post!

Indeed it is the partition change so I went to this commit and used the original values and edited the BoardConfig.mk rather that bothering to change the partitioning. I don't install GApps and much else on my tablet.

In fact, my bad! I forgot that I solved this problem earlier in this thread when I built cm14.1. :o

Thanks again for the reply.
[Barnes & Noble Nook Tablet] deathsatan:
HELP!

sorry for my bad English first, 如果恰好有人可以用中文回复那就更好了。:highfive:

i got a old device from my friend last week, a nook tablet with a broken USB port (only charging no adb communicating. weird!).

then i flashed it from cm10 to cm14 through this topic : https://xdaforums.com/nook-tablet/development/cm-14-1-nook-tablet-acclaim-16gb-model-t3499226 (because all roms seems not to be downloaded now but this one)

and it was bricked. :crying: recovery shows a flashing text "no command". so i flashed the recovery, in recovery mode i cannot wipe to factory, it said "failed to locate device "/dev/block/mmcblk0p11", no matter cwm or twrp.

-- Factory reset started.
Formatting /data...
I:tw_format: Formatting "/dev/block/mmcblk0p11" as "ext4"
E:tw_format: failed to locate device "/dev/block/mmcblk0p11"
Formatting /cache...
I:tw_format: Formatting "/dev/block/mmcblk0p9" as "ext4"
I:mke2fs command: mke2fs -t ext4 -m 0 /dev/block/mmcblk0p9
mke2fs 1.41.11 (14-Mar-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
65536 inodes, 262144 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=268435456
8 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376

i will up load the recovery.log file later.

now i connot flash any roms include stock, it always shows error.

here is the situation:

bad news is i have an bricked device with out USB communicating. good news is i made a SDcard booting cm10 with terminal in it that can be used and a SDcard booting TWRP recovery with terminal, but i dont know what to do now.

top priority now is make the data(mmcblk0p11) available. then i try to flash any other roms like cm14.

do i make myself clear on this? someone help me plz!:crying:
[Barnes & Noble Nook Tablet] mikeataol:
you could try going into TWRP recovery , go into "wipe", "advanced wipe" , and try formatting the partitions that are shown there.

another thing that almost never fails is to use the recovery SDCard found here:

http://bishoptec.com/2012/06/how-to-un-brick-a-nook-tablet-8gb-or-16gb/ which will repartition and factory reset you to stock 1.4.2
[Barnes & Noble Nook Tablet] deathsatan:
thank you for your reply!

i tried both before, didnt work, but i find a another way out:

ignore the "unmount /data" error , only use "recovery-repartition-acclaim-cm14.1-UNOFFICIAL.img" to do repartition work , reboot into lateset version TWRP to wipe and then flash "cm_acclaim_cm-14.1_13112016_UNOFFICIAL.zip", done!

ps. i found there is no root in cm14.1 and after power off device still shows a black screen with background light on. does any one has a cm14 cm13 "official" version rom?
[Barnes & Noble Nook Tablet] mikeataol:
to enable root in CM, enable developer options, set root to something, exit settings , go back in and set it to what you want.

It's a long standing bug.

as described earlier in the thread I think, there are issues in all recent roms with power off and rebooting.

since CyanogenMod is no longer in business or supporting roms AFAIK.... your best source of roms will be independent ones here I think....

also, the developer in this thread has been maintaining acclaim builds , which you will find in his box download folders....

I prefer the AOSP versions.

https://xdaforums.com/nook-hd/development/marshmallow-nook-hd-hd-t3239269
[Barnes & Noble Nook Tablet] deathsatan:
thank you very much!:good: wish someone still has a cm14 or 13 rom uploaded.:angel:

---------- Post added at 03:16 PM ---------- Previous post was at 03:11 PM ----------

do you know where can i find this rom "Nook Tablet - lineage-14.1-20170225-UNOFFICIAL-acclaim", saw it in your link #7 signature。
[Barnes & Noble Nook Tablet] mikeataol:
that would be another user's signature [MENTION=3651088]Zippy Dufus[/MENTION] .... I've never loaded Lineage OS
[Barnes & Noble Nook Tablet] mikeataol:
to my knowledge, all the recent roms have the power off bug.

yes, the errors at the end of flashing can be ignored.
[Barnes & Noble Nook Tablet] digixmax:
There is a new build (02/26/17) for the NT (acclaim) at https://notredame.app.box.com/s/26a4bygh9vbaw7jjq08xr5evomvaw5ww/1/7651670774.
[Barnes & Noble Nook Tablet] digixmax:
FWIW, in case anyone is looking for a CM14.1 late December nightly build, cm-14.1-20161225-NIGHTLY-acclaim.zip is available at https://archive.org/download/cmarchive_nighlies.
[Barnes & Noble Nook Tablet] deathsatan:
what a treasure!:laugh:

i tried AOSP but it support only English whcih i dont speak as my native language. there are many bugs and no root within, so i will pass for now.

cm14.1 still has many bugs so im looking for cm13 or 12 or 11 or 10...official version. if you know where can download just tell me any time.

many thanks.:highfive:

ps. still wonder why my usb port can only for charging with the original usb-cable has a "n" led logo. no new device comes up on my windows 10 laptop and macbook air with windows 7. broken usb port?:confused:
[Barnes & Noble Nook Tablet] mikeataol:
I have uploaded the latest CM13 I have for acclaim to a mega folder for you...

cm-13.0-20160714-NIGHTLY-acclaim

https://mega.nz/#!6MwwhTgT!oaVo1E6T2Q9ruZXMmYrduongKCSpOS1ujWk_-KuTraQ
[Barnes & Noble Nook Tablet] deathsatan:
感激不尽:highfive:

what recovery do i need to use? is there a particular recovery for this "cm-13.0-20160714-NIGHTLY-acclaim" rom? because i already used "recovery-repartition-acclaim-cm14.1-UNOFFICIAL.img" to repartition my device.
[Barnes & Noble Nook Tablet] mikeataol:
I'm sure whatever recovery you are using will be fine.

as far as partition change, I would say try to load and see what happens. the rom doesn't care what size the partitions are.

if it fails, then use the 1.4.2 recovery SD to go to stock, and start over...
[Barnes & Noble Nook Tablet] theColeHardTruth:
Sorry to hijack the thread a bit, but I flashed CM11 to my Nook Tablet a long time ago and it worked. I since tried to flash to CM14 and it didn't work, and I since can only load the bootloader. Every time I try to install a CM .zip of any type, it fails with status 7, with an undefined error.

Here's a picture of the issue: Picture

I'm not at all fluent in this kind of stuff, could anyone walk me through it? Sorry if someone's already pretty much done this, I can't piece together the process using other people's comments on this thread :(
[Barnes & Noble Nook Tablet] digixmax:
Your recovery version is too old -- you need to first update your recovery, see https://xdaforums.com/nook-tablet/development/recovery-twrp-2-8-5-1-touch-recovery-t3034670 for the latest TWRP recovery.

Since your current recovery is CWM, you'd need to find an available version of TWRP in the form of flashable TWRP zip file. Use your current recovery to flash the new TWRP zip file, then reboot into your new TWRP to wipe /data, then flash the new ROM and GApps zip files.
[Barnes & Noble Nook Tablet] theColeHardTruth:
I see... I'm having considerable trouble tracking down a TWRP flashable zip. Can you point me in the right direction?
[Barnes & Noble Nook Tablet] digixmax:
See posts #261-263 of https://xdaforums.com/nook-tablet/development/cm-13-0-android-m-nook-tablet-acclaim-t3294804/page27 for pointers on updating recovery using adb fastboot and using flashable recovery zip.
[Barnes & Noble Nook Tablet] grantd:
Has anyone read or heard if there will be any Lineage OS builds for the ACCLAIM (official or unofficial)? I have been running this build it and it is great, but wondering of this tablet is finally on it's last legs in terms of new builds. I will reiterate that it runs great, reminds me of when I first got it and loaded CM on it day 1 (snappy, responsive, and use it as my primary tablet all the time).
[Barnes & Noble Nook Tablet] steelfatboy1:
Anyone have a good link to "recovery recovery-repartition-acclaim-cm14.1-UNOFFICIAL.img" or "cm-13.0-20161113-NIGHTLY-acclaim-recovery.img" ?
[Barnes & Noble Nook Tablet] theColeHardTruth:
Thank you, I followed your procedure using the zip from a slightly older TWRP build and re-packaging it according to your procedure, but I still get a Status 7 error from CWM when trying to flash it... It shows that it recognizes that TWRP is trying to install, but still fails :(

Any advice? Image here.
[Barnes & Noble Nook Tablet] digixmax:
I had created flashable zip files for some recent versions of TWRP for the NT which can be downloaded from https://www.mediafire.com/folder/xjwc1a482a6ll/Nook_Tablet.

What version of ROM are you trying to flash on your NT?
[Barnes & Noble Nook Tablet] theColeHardTruth:
My hope was to get the most up to date version 14.1 (if that's what you mean).

Also the link you provided appears to be broken (?) MediaFire redirects me to my library when I follow it.
[Barnes & Noble Nook Tablet] digixmax:
Try this link: https://www.mediafire.com/folder/xjwc1a482a6ll/Nook_Tablet

Also, if needed, see https://xdaforums.com/nook-tablet/general/how-to-installing-aosp-android-7-0-t3578665 for more info/pointers.
[Barnes & Noble Nook Tablet] drmarble:
LineageOS 14.1 rom

I have produced a LineageOS 14.1 rom for the 16GB Acclaim (Nook Tablet). It is standard LineageOS except for being rooted. It has the March 5 security patches. SeLinux is enforcing. It is signed using test keys rather than the official LineageOS keys so no factory reset should be required if upgrading from a previous version of cm.

This link is going away soon.

https://drive.google.com/file/d/0B9WUZ5j7e_fXUTNEYmYyaVh4cUU/view?usp=sharing

This is hosted on my Google Drive account. I am looking for a better hosting location.

I got an AndroidFileHost account and uploaded a more recent build. https://www.androidfilehost.com/?w=files&flid=169989 See my 7th April post.

I don't think it will work on the 8gb model. I don't have one to test. You would have to manually change the partitioning but there are guides on that elsewhere in this sub-forum. If you do try it, be warned that installing gapps will slow it to a crawl. It just doesn't have enough memory. I know this because my Encore also has only 512MB ram and with gapps it constantly swaps. Sideloading apps should work fine.

Installation is unchanged from chrmhoffmann's instrucionts involving repartitioning and his new twrp.

I hope that acclaim can become official again. Chrmhoffmann has not been doing much work on this since the demise of cm. He has been active on other devices. If this rom is well received, I will push to get official status returned. Leave feedback as to how it works. Maybe there is a reason known to chrmhoffmann and unknown to me that keeps it from official status.
[Barnes & Noble Nook Tablet] theColeHardTruth:
That link worked, and I got TWRP 3.1.0 installed successfully! Huzzah! :D

Unfortunately though, neither the CM14 build you also have in that mediafire link nor other acclaim builds from around the internet work! They still give the same Status 7 error as before! :crying:Image link.

I've tried the build you supplied, the one your second link supplies, and the original Nightly build I had tried to use, AND I've even tried to modify them all using the supposed "Fix" posted here. Am I still doing something wrong?
[Barnes & Noble Nook Tablet] nsfgp:
Wow .... so far ... one word .... perfect!!! By far the snappiest N build yet I have tried. No issue to report yet.

All of you need to try this. And hope it gets official status soon and keeps growing.

Thanks so much drmarble and we will be waiting for the next update.
[Barnes & Noble Nook Tablet] digixmax:
Looks like the CM14 build you tried requires a different partition format for your system and user-data partitions.

Did you try amaces' AOSP builds (see https://notredame.app.box.com/s/26a4bygh9vbaw7jjq08xr5evomvaw5ww/1/7651670774) which I believe can be used with your current ext4 partition format? In you run into issues trying AOSP builds, post your question at https://xdaforums.com/nook-tablet/general/how-to-installing-aosp-android-7-0-t3578665.
[Barnes & Noble Nook Tablet] theColeHardTruth:
Thank you, that worked! Which is interesting, considering that I did use the Amaces 7.0 build (step 2d of this link) but I guess it doesn't really matter anyway xD

One last question, how would I go about installing the CM build you posted on your mediafire link? Should I reformat to f2fs?

EDIT: Also, seeing as the working ext4 build of android doesn't come with GApps, and any OpenGApps build I download suffers the same Status 7 error as the other CM14 builds, unless I reformat to f2fs how would I get Gapps?
[Barnes & Noble Nook Tablet] digixmax:
See https://xdaforums.com/nook-tablet/development/cm-14-1-nook-tablet-acclaim-16gb-model-t3499226 for partition reformat requirement and how-to pointers.

You should be able to install a GApps package without partition reformatting -- see https://xdaforums.com/nook-tablet/general/how-to-installing-aosp-android-7-0-t3578665. You might have to try using the older TWRP version 3.0.2-0.
[Barnes & Noble Nook Tablet] theColeHardTruth:
Well, I re-flashed to 3.0.2-0 and reformatted /data, /cache, and /system to f2fs, but now TWRP refuses to mount my sd, and doesn't recognize any of my internal directories any more... The only item that appears in the "Wipe" menu is now the Dalvik/ART cache. What have I done wrong? D:
[Barnes & Noble Nook Tablet] mikeataol:
did you reboot to recovery after changing file types?

just what Ive heard, /cache shouldn't be f2fs is my understanding
[Barnes & Noble Nook Tablet] theColeHardTruth:
Yeah I did...

This post said to make /cache f2fs, but I guess it was wrong :/
[Barnes & Noble Nook Tablet] mikeataol:
yeah, that was me. I fell in love with f2fs at first but I read later that it doesn't make sense for /cache.

doesn't seem to do any harm, Ive used it on many devices, if I find the reasoning I will post it.
[Barnes & Noble Nook Tablet] theColeHardTruth:
Well, it has done harm to me xD

I'll keep messing around, but at current it seems that all my tablet can do is boot to the recovery menu and do nothing from there.
[Barnes & Noble Nook Tablet] drmarble:
I have updated my LineageOS rom. I updated the drm libs. I also removed overclocking. The new power hal (which actually manages power!) was always shooting up to 1200MHz. CyanogenMod folks didn't like default overclocking. I expect LineagOS folks won't like it either. This limits the clock to the stock 1008MHz.

I also got an account on AndroidFileHosts so I don't need to use my GoogleDrive any longer.

https://www.androidfilehost.com/?fid=529152257862717734

md5sum: d5a88ed9210107e8a3da5e425e9b4243 lineage-14.1-20170407-EXPERIMENTAL-DrM-rooted-acclaim.zip

I will erase the old zip soon.

To reenable overclocking. Mount system r/w (adb root; adb remount;adb shell) and change:

/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq to 1200000

and similar for cpu1.

eg:

echo 1200000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

echo 1200000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq

You could also do this with a root file browser.

This would have to be redone after each reboot.

Maybe some kernel app can do it automatically. I know setcpu can't. Or perhaps a script in /etc/init.d, it would need root access which selinux would not like. Maybe I'll upload an overclocked one.

Enjoy.
[Barnes & Noble Nook Tablet] topdawg7793:
Why not have the default governor have a max. cpu clock of 1008Mhz but still have the option for 1200Mhz? If I recall correctly, 1008Mhz is the stock max. frequency that Barnes and Noble used. But the OMAP 4430 is actually capable of running at 1200Mhz as that is the max. cpu clock set by Texas Instruments.
[Barnes & Noble Nook Tablet] digixmax:
I'd suggest you try this "unbrick" method http://bishoptec.com/2012/06/how-to-un-brick-a-nook-tablet-8gb-or-16gb/ to see if you can revert your NT to factory-default partition structure & stock ROM, then you can try again to flash some custom ROM build.

Also, see https://xdaforums.com/showthread.php?t=2575489 for pointers/tips on flashing custom ROMs.
[Barnes & Noble Nook Tablet] drmarble:
Unfortunately, the power hal ignores the governor's maximum set frequency and just goes to max when the screen turns on. Until a recent commit it even ignored the maximum in /sys/. I set the maximum to 1008 and it still runs at 1200. There are many problems with integrating omap processors with the latest android. Ti abandoned mobile processors back at jellybean. This is the best method that programmers much better than I am have come up with.

Overclocking does make a difference. It uses lots more battery and it makes it faster. Quadrant goes from 3300 to 3900. I will put up a .zip with OC enabled (1200Mhz). If it ever becomes official we will have to figure out a way to overwrite the maximum without breaking selinux.
[Barnes & Noble Nook Tablet] drmarble:
updated lineageos-14.1 rom

LineageOS updated their source from 7.1.1 to 7.1.2 (7.2.0 isn't released by Google yet). I updated the roms. I am uploading 2, one is overclocked as you can tell by the OC in the file name. I have also switched back to my prefered zip file naming system with date and time of compilation in the file name and no EXPERIMENTAL in the name. Here is the normal/non-overclocked rom, md5sum: 0c0ddfa04d9a0ed9fd48274bdeeaf40f lineage-14.1-0416_1113-DrM-acclaim-rooted.zip:

https://www.androidfilehost.com/?fid=673368273298947786

Here is the rom overclocked to 1200Mhz, md5sum: bb54c491028db6ae534f7544a0ef422f lineage-14.1-0416_1215-DrM-acclaim-rooted-OC.zip:

https://www.androidfilehost.com/?fid=817550096634762515

So far, 15 people have downloaded roms. I am glad that some folks are enjoying this.
[Barnes & Noble Nook Tablet] grantd:
First time checking this out in a while. Still running the CM14.1 build on my Nook Tablet and very glad to see that it is not dead yet. Keep up the good work. I am downloading now and will upgrade soon.

Side question as I am too lazy to read through all the pages since my last post (lol), does this use the original partition layout or the CM14 modified layout (with a 2GB SYSTEM partition)?
[Barnes & Noble Nook Tablet] digixmax:
FWIW, Amaces' AOSP/LN14.1 builds for the NT (available at https://notredame.app.box.com/s/26a4bygh9vbaw7jjq08xr5evomvaw5ww/1/3480156918) do not require resizing of any partition.
[Barnes & Noble Nook Tablet] drmarble:
This requires the updated cm-14 partition layout. Sorry. I am hoping to get this official and don't want to make major changes from the cm version. You have to do chmrhoffman's repartioning to use this.
[Barnes & Noble Nook Tablet] grantd:
Thanks for the info. Already re-partitioned and didn't want to have to restore to stock to install.

Great work
[Barnes & Noble Nook Tablet] nsfgp:
I have 2 NT16 and 1 HD+ and I have been messing with them a lot lately back and forth; and I didn't keep track of test logs of different versions so I need to ask again.

On my NT16 I was using Amaces' AOSP for awhile before without doing the CM14 repartition. It all worked good but I think the ROM size is steadily growing from less than 200MB to about 23XMB now. For me it seemed since 2017 all the AOSP 14.1 version installed fine; but I ran out of space when I try to install GAPPS after the rom. Going back to the late 2016 AOSP ROM worked again.

At certain point I repartitioned it and put the last CM14.1 on it. Worked good. But then I tried to go back to Amaces's AOSP .... I cannot get it to install .... I can't remeber exactly the errors but it failed and I just cannot install it.

I do not want to repartition it back to original so now I am running dmarble's LN14.1 ROM.

Am I the only one having the issue above?? Any comments??

Now that I see Amaces has new LN14.1 ROM I would like to give it a try too. Will see if I run into the same issue.
[Barnes & Noble Nook Tablet] mikeataol:
there are other ways, but what I have done is using TWRP file manager, after the rom install, copy/move /system/media to the sdcard (emmc)

and sometimes that's enough to install the gapps, then move/copy the folder back before the reboot

on the acclaim recently, I had to delete a couple of system apps (Bluetooth and camera was enough since acclaim has neither) to get gapps installed