yashsingh1/xdaforums huggingface dataset:
[Barnes & Noble Nook Tablet] blueeyedsusan:
post by indirect after I changed the version to 9.9.9

Old 22nd December 2011, 09:59 PM

Tweet this post

[Share this post on Facebook]

# 78

report

Changed version number, build keys, and FOTA checkin mode. I just finished changing more and updated the files. Enjoy guys. Now it changes the checkin time to 0 which means it wont check at all.

there was yet another update after the first one that changed the version to 9.9.9
[Barnes & Noble Nook Tablet] jimmysuggs:
I'm still trying to find something out here: it we use titanium backup to freeze device manager- do we then not have to do the thing with the 3 files? I'm probably gonna do that anyway, but I'm just curious. Also, would uninstalling device manager work? Or just freezing? Again, just kinda curious. Thanks in advance for any info anyone may have.
[Barnes & Noble Nook Tablet] Voyaging:
if you freeze devicemanager, you will have no way to "shop" BarnesNnobles content. If you follow indirect's method, all will work and you will not receive updates.
[Barnes & Noble Nook Tablet] jimmysuggs:
Good to know, but how about if we could care less about ever buying anything from B&N or using any of their services? I'm currently traveling and looking for a quick fix to this issue. Then when I'm home, I can try indirect's method.

Am I good to go by just freezing or uninstalling device manager?
[Barnes & Noble Nook Tablet] NTAB:
it should be noted that you have to buy the full version of Titanium backup for this to work. Not a big deal, but it would be nice if the free version worked as well...

What's with the odd price of TitBack? $6.58....

EDIT: I got it to work with the free version. Apparently since titanium backup was previously install on the sd card before I restored back to 1.4.0, and when I re-installed titback without the sd card in, it caused some issues. None of my apps were showing up on the backup screen either. So I uninstalled it via the market and re-installed (with sd card in) and exported the files from dropbox to the titback folder and did the batch restore operation again and it worked great. I'm now on firmware 9.9.9.

Thanks so much for all your help and instruction devs!
[Barnes & Noble Nook Tablet] lusayalumino:
OTA Fix Working Great!

First of all, I just want to say THANK YOU Indirect... this is terriffic.

I implemented this Over The Air (OTA) fix about 36 hours ago and so far no problems. After rolling the Stock Firmware of my Nook Tablet back to 1.4.0 I have left my Nook Tablet's Wi-Fi on continuously and have so far been safe from Barnes & Noble .

We all appreciate you.

I have made a donation.

Merry Christmas; I hope Santa brings you the ET4G.
[Barnes & Noble Nook Tablet] Novalis31:
Mine says version not available, not 9.9.9. I'm not sure what went wrong. I made sure debugging was on and I re-downloaded the files and made sure they were place correctly. Is it because I re-rooted it yesterday?

BTW, I'd like to thank indirect's hard work, thank you sir!
[Barnes & Noble Nook Tablet] residentorca:
Mine showed "unavailable" when devicemanager was frozen by TB. If your devicemanager is frozen, try unfreezing it before applying Indirect's solution.
[Barnes & Noble Nook Tablet] abiscuit:
Thanks indirect and albertwetz, the video is great, it works perfect!
[Barnes & Noble Nook Tablet] Novalis31:
Worked like a charm! Thanks...
[Barnes & Noble Nook Tablet] ThyGizmo:
Great then, who cares about the b&n stuff?!

Note: currently displaying "Unknown version" as I have frozen the device manager pak using the free App Quarantine app...

Hope it suffices....

Merry xmas everyone and avery special and warm thanks to Indirect!!!

Cheers,

Gizmo
[Barnes & Noble Nook Tablet] Voyaging:
Can you verify i did this correctly? 1. I downloaded the files. 2. I moved the files to titanium backup and chose "replace files" instead of "keep both files." I don't know what you mean by "restore" DeviceManager 2.3.4, however. Mine was already installed and was not frozen. Is there something else I need to do?

Thanks,

Tommy

AND THANK YOU SO MUCH FOR ALL YOUR WORK!!! :D

---------- Post added at 09:02 AM ---------- Previous post was at 08:35 AM ----------

Okay, i do now see the restore options...there are two...do i just do the first or both?
[Barnes & Noble Nook Tablet] mtemal:
Does this completely kill my bn account that I have tied to my tablet? The bn shop no longer works and in device info does not show my account info..

**I had to use anycut to create a new short cut to activity. Scrolled down and chose the first Oobe that I saw. I lauched the shortcut and it took me through the registering process again, and now my BN store works
[Barnes & Noble Nook Tablet] DssTrainer:
Is this supposed to take a long time? I am restoring app+data and it has been running for over 4 mins now.

---------- Post added at 09:01 PM ---------- Previous post was at 08:45 PM ----------

Ok I just rebooted the device and tried again.. this time choosing "data only" that worked. you may want to update the first post
[Barnes & Noble Nook Tablet] jimmysuggs:
"app plus data" worked just fine for me. Only took a few seconds.
[Barnes & Noble Nook Tablet] Indirect:
What they don't know is that they need to have USB debugging otherwise the restore just hangs. -.-

Sent by breaking the sound barrier
[Barnes & Noble Nook Tablet] phil0sophic:
orig files

Can anyone Please post the original files that were modified did the restore and forgot to save the originals...
[Barnes & Noble Nook Tablet] clnook:
Ditto that request.

Thanks!
[Barnes & Noble Nook Tablet] RegLinUsr:
I have attached the

original

B&N Nook Tablet Device Manager files that Indirect's files in the OP replaced.

I would like to suggest

my earlier thread here

which helps alleviate this type of issue.
[Barnes & Noble Nook Tablet] fortunz:
I didn't really want to be rooted originally. Only reason I did it was to prevent OTAs from stealing my sideloading. I know you're not listening B&N, but for the record, you just drove me further away from you. The more you tighten your grip, the more customers will slip through your fingers.

Thanks XDA, and thanks indirect.
[Barnes & Noble Nook Tablet] snailmale:
Has anyone had the problem of their NT being unable to charge after applying this mod?

I'm getting the charging light on the cable, but the NT says it is not charging. It is however, charging very slowly (1% per hour), although it is plugged in to a wall socket.

Edit: This is part of figuring out whether it's just a software issue or if the charger is faulty
[Barnes & Noble Nook Tablet] RegLinUsr:
I've had no odd behavior's of any kind since doing this to my NT other than being able to install things that B&N thinks I shouldn't. :D
[Barnes & Noble Nook Tablet] xboxexpert:
What exact SQL values did you change in the .db file? I'd like to script it in dos to change the values through ADB for you.
[Barnes & Noble Nook Tablet] t-r-i-c-k:
I did this for my Mac root script. See my thread in the dev forum for the download. Obviously won't work for you but it should show you what changed and how. I didn't change absolutely everything Indirect did, just the stuff I myself thought was appropriate. So far so good.
[Barnes & Noble Nook Tablet] xboxexpert:
I'm on it...gimme a few.
[Barnes & Noble Nook Tablet] kbs24:
I implemented this method to block the 1.4.1 update (after having gotten it several days ago and spent hours reverting to 1.4.0 and re-rooting and customizing to get the tablet just right) then I rebooted it, walked away to wash dishes, and came back to be greeted by "installing update do not turn off" etccc. Could not believe it, but yes, the 1.4.1 was back and I don't think I have the stomach to go through this again. I have to decide by early next week whether to return it or not.....kind of ridiculous to pay $250 and not be able to install what I want. Has anyone else tried this easy method, then rebooted, only to have the update pushed again?:(
[Barnes & Noble Nook Tablet] tonyp22:
kbs24, are you saying you used the exact method and files posted by Indirect in Post #1 of this thread? Did you get a Version 9.9.9 when you were done?
[Barnes & Noble Nook Tablet] kbs24:
No I did not get 999. Hmm. I believe I followed the directions exactly, what I did was downloaded and installed Titanium Backup. Then I ran a backup of the DownloadManagerService; then I removed the files that were then located in the folder Titanium Backup on the SD card, and replaced them with the unzipped files from your zip file. Then, I ran a restore of downloadmanagerservice. That is what I did, but obviously I did something wrong. I also did not realize that 9.9.9 was seriously the version that was supposed to be showing. Can you see from above what I did wrong? I will have to retry it then but only if I can figure out what I did wrong the first time. Thanks very much for your help.
[Barnes & Noble Nook Tablet] xboxexpert:
Below is the download link to my OTA Blocker that works 100% since it edits the values of your actual database. Enjoy.

Get ADB Shell working and run my batch file.

If you want to use it in a script go ahead no need to ask my permission.

-XE

adb pull /data/data/com.bn.devicemanager/databases/devicemanager.db devicemanager.db
sqlite3 devicemanager.db "update registry set value='9.9.9' where name='com.bn.device.system.software_version'"
sqlite3 devicemanager.db "update registry set value='manual' where name='com.bn.device.fota.mode'"
sqlite3 devicemanager.db "update registry set value='http://127.0.0.1' where name='com.bn.device.logging.upload_url_v2'"
sqlite3 devicemanager.db "update registry set value='disabled' where name='com.bn.device.fota.update_status'"
sqlite3 devicemanager.db "update registry set value='disabled' where name='com.bn.device.fota.update_state'"
sqlite3 devicemanager.db "update registry set value='http://127.0.0.1' where name='com.bn.device.logging.upload_url'"
sqlite3 devicemanager.db "update registry set value='0' where name='com.bn.device.fota.next_connect_default_interval'"
sqlite3 devicemanager.db "update registry set value='false' where name='com.bn.device.logging.enabled'"
adb push devicemanager.db /data/data/com.bn.devicemanager/databases/devicemanager.db
adb shell chmod 660 /data/data/com.bn.devicemanager/databases/devicemanager.db
adb shell chown system.system /data/data/com.bn.devicemanager/databases/devicemanager.db
del devicemanager.db
[Barnes & Noble Nook Tablet] Indirect:
What the **** xboxexpert? Mine already does exactly that.mm

Sent by breaking the sound barrier
[Barnes & Noble Nook Tablet] xdahgary:
Wow, in your own thread too. Dude, not cool.
[Barnes & Noble Nook Tablet] snailmale:
You aren't supposed to be changing Download Manager. its DEVICE Manager that you need to change.
[Barnes & Noble Nook Tablet] kbs24:
Oh brother, that was soo stupid. Thanks, I will try again, in the morning, when not so tired!!
[Barnes & Noble Nook Tablet] davewuvswaffles:
I granted SU and when I click on the DeviceManagerService 2.3.4 I don't see restore as an option.

The files are in the TB folder on my sd card, am I just missing something?
[Barnes & Noble Nook Tablet] cfoesch:
Yours also requires the person to install TitaniumBackup and restore from your backup. Yours also requires an sdcard, his way does not.

So, basically, your way leaves at least few people out in the cold... let's not be too quick to jump on someone and start beating them up?

Plus, his way requires that a person have sqlite3 installed on their windows machine. An assumption that is _also_ not always correct.
[Barnes & Noble Nook Tablet] RegLinUsr:
His can do whatever it wants so long as he starts his own forum post instead of doing just as he just did and what several other asshats do throughout many a forum; hijack a thread for their own intent. Some people are confused enough and they do not need someone simply coming along and throwing a wrench into the works after so much effort has been put forth already. It leads to more confusion and frustration for all. Some people need more help than others and this type of intrusion is no help to anyone what-so-ever.
[Barnes & Noble Nook Tablet] cfoesch:
He hijacked a thread called "How to stop OTA's" by presenting a way to stop OTAs?

Or is it just that people aren't allowed to present different ways to do things because Indirect is always right? I personally found it super helpful to understand exactly which SQL statements are used to make the OTA blocking devicemanager.db ... you see, I had no idea what it actually did, and so I didn't trust it further than I could trust the locked bootloader. It works, but who knows if they could work a way around the OTA block...
[Barnes & Noble Nook Tablet] gammaworks:
So far, Indirect 2: BN 0. That aside, it will be helpful if xboxexpert can contrast his method against indirect's benchmark:

1) why you need to propose another method

2) anything new that is being brought to the table.

3) the pros and cons

Without clearly stating such, it will naturally anger some, and confuse other people.
[Barnes & Noble Nook Tablet] cfoesch:
I can grant you that gammaworks.
[Barnes & Noble Nook Tablet] xboxexpert:
Let me break this down for you so you can quickly apologize for jumping down my throat. Your method differs in three aspects;

1) you need to install a 3rd party application (titanium backup)

2) you need a SD card to write the files to so that you can use the 3rd party program to restore

3) you do not edit the actual users db file you added your own

My little slice of script not only pulls down the users file but uses sql in command prompt to edit values directly and replaces their file on their system. With out jumping down my throat again why dont you edit your script in the location below and replace it with the following. It will not only make your block SOLID as a rock but allow the user to not install titanium backup as a half ass method to replacing the db file directly.

Replace this;

With this;

You might need to edit around some more of your batch file but once your done you can not only drop the portion of titanium backup install completely but you can ensure no more users complaining about the "Unavailable" issues.

Sorry for jacking your thread but when I posted it I actually though of creating my own but didn't want to steal your thunder of this thread. I guess that's out the window now...

-XE
[Barnes & Noble Nook Tablet] Indirect:
I don't want to make a script for people to change their SQL files because it's possible that if it's corrupted or something similar (or if someone who messes with it, doesn't know what their doing) they can break barnes and noble services. I'm no longer angry since you apologized. However, I also think everyone should have TB installed since it's probably the most useful app since it saves your apps and data.
[Barnes & Noble Nook Tablet] xboxexpert:
As I respect your response I might add that your pushing your own version of the db either way. You can not break the file by pulling down the version that is already there on a fresh 1.4.0 build. Remember all these users are most likely downgrading to a fresh 1.4.0 since they got the update to 1.4.1 or purchased a 1.4.1 premade tablet in store. You can remove permissions to the .db file accidentally and all that will happen will be a force close to the devicemanager com service upon boot.

If the above happens from using my script I feel like its my obligation to yell at myself. As for you promoting Titanium backup I fully endorse it since it saved my many hours of plants vs zombies from cell phone to cell phone but I don't think everyone needs it installed forcefully just to block OTAs.
[Barnes & Noble Nook Tablet] Indirect:
I also don't want the exact values published that I modified because of the fact that b&n can publish a "patch" for devices with the specific configuration I made.

Sent by breaking the sound barrier
[Barnes & Noble Nook Tablet] xboxexpert:
Its right in the MAC script...beside the values are nothing special. I used somewhat of the same value in the Nook Color script I made last year. Incorporate it my way into your script for rooting and its golden for sure. Trust me you will have 0 issues and 0 complaints with people telling you that their versions say unavailable. Also B&N cant patch devices with the specific config you made....since its already blocking OTA's how would they do that?

-XE :)
[Barnes & Noble Nook Tablet] davewuvswaffles:
So, not to interrupt you guys, but could either of you let me know what I'm missing in regards to not seeing the Restore option in TiBu?
[Barnes & Noble Nook Tablet] xboxexpert:
My point exactly....troubleshooting massive amounts of issues between user/3rd party software.

SG,

I'm not certain but I think you should be able to hold down your finger on it and restore app/data.
[Barnes & Noble Nook Tablet] cfoesch:
First the prereqs: do you have an sdcard?

If you don't, then TiBu won't be able to do it's magic.

Also, you do not tap and hold to restore, just tap once shortly, and it will pull up a dialog saying "Backup!" "Freeze!" "Uninstall!" As well as a "Run app" and "Wipe Data" If you have any backups, at the bottom, then it lists the restore points with a "Restore" on one side, and a "Delete" on the other.

xboxexpert, look... we get that the TiBu method isn't as user-friendly as possible. But for people who might want to restore their DeviceManager, and go back to receiving OTAs, then there really isn't a better option. For the minimally invasive root method that Indirect has come out with, it is the best choice. ... you're free to disagree, but stop being rude about it.
[Barnes & Noble Nook Tablet] xboxexpert:
Actually your incorrect in thinking that you cant go back to OTA's. All you need to do is open that extra special menu where you can access development and use the menu system to delete the data from Device Manager. This will remove the modifications done to the database and replace it with the stock database since we do not have S-OFF the OS will default back to stock B&N database upon next boot. I'm sorry if I'm being rude by telling you facts and providing an easier way to disable OTA updates. This will be my last post in this thread, sorry for the inconvenience.
[Barnes & Noble Nook Tablet] cfoesch:
No. This is not sufficient. Because you're assuming that the only changes made were to the database.

Also, your way is not "easier"... intro to the flood of people asking about where to get "sqlite3" and what is doing what and blah and blah and blah.

Yes, the method Indirect chose has some cons, but that's how _EVERYTHING_ works. Every method has downsides and pitfalls, and SURPRISE! Your method is not exceptional in that regard.
[Barnes & Noble Nook Tablet] xboxexpert:
The only changes are to the database. The actual APK was untouched only needed because of how titanium backup uses the restore feature and can only select the DatabaseManager.

As for the flood of people asking where to get sqlite3? Google my friend....Google, or you can just download the package I uploaded to this thread a few posts back.

As for my method being "easier" in a aspect of adding it to a pre-existing root script in all aspects is it "easier" you add a couple of lines and the user has no interactions with a 3rd party program and attains the same result.

In closing what ever way the user chooses results in OTA's being blocked. So do what makes you feel better and choose the method that best fits the application. I was not looking for a fart fest just an easier more user friendly method of blocking the updates. Sorry if you P2P Nuke my method but either way its another way of going about things. Do we have to keep going back and forth, if so then why?
[Barnes & Noble Nook Tablet] RegLinUsr:
And another fine, shiny example as to why hijacking someone's thread to interject with your approach to something is a bad idea all around; whether or not it is similar is irrelevant. There was a reason why netiquette was created but it seems that it has mostly gone by the wayside anymore today. A possible proper approach would have been to have contacted Indirect first before posting your thread reply xboxexpert but maybe this idea of interaction is lost on some people. I can't tell you how to go about doing your business but I'm sure that you can agree that my suggestion is a fair and sound approach and that it might be useful to you [and others as well] in the future.

;)
[Barnes & Noble Nook Tablet] cfoesch:
Netiquette has always been dead or dying... I remember BBSes where people were being entirely rude, and offensive by not following the culture's etiquette...
[Barnes & Noble Nook Tablet] kbs24:
OKAY, it appears that I mispoke in my post, it was definitely the Devicemanager that I restored, not "download". Happy to see that I wasn't quite that far off.....must have done something wrong in the TiBu backup restore process....ANYWAY, I started over today and ran through the method again, and this time it did result in "9.9.9" so mission accomplished! I rebooted, still 9.9.9. THank you, to everyone who helped me.;)
[Barnes & Noble Nook Tablet] HTC_nut:
haha, I had the same problem but was trying to restore the "download" manager..1 too many cocktails-:o
[Barnes & Noble Nook Tablet] beatphreek:
Yikes... I had been happily rooted and OTA-Proof (or so I had thought) since before Christmas and I looked down today while reading up on some other stuff and noticed the Nook symbol in my status bar...

I had used Indirect's root script from about 12/22 or 12/23ish and edited the db's for the device managers FOTA settings from what was known at that time.

Anyway long story short, I didn't notice that wasn't enough until today and when I did the 10 interrupted restarts... I still have 1.4.1?!?! I thought I'd get what was originally shipped. It could be it just took too long for me to get to a place to root.. It was really slow loading up xda to get an apk so that might have been it.

Hoping the SD-Card method can fix it now.... if not I'll pay closer attention when I do another interrupted startup wipe. And see if it gives me 1.4.1 or 1.4.0 and if it's the latter, I'll break my connection to B&N after I get registered.
[Barnes & Noble Nook Tablet] gammaworks:
Just want to be sure, you did not go from 9.9.9 to 1.4.1, right? Otherwise that will cause mass panic.

Although you've used Indirect's root script, does not sound like you have employed his anti-FOTA technique post rooting.
[Barnes & Noble Nook Tablet] lanwarrior:
Can I REVERT the OTA block? If I decides to sell my NT, I would like to revert it back so that the new buyer can receive OTA.
[Barnes & Noble Nook Tablet] Indirect:
Just use the one click unroot. It restores system to factory removing all mods to it.

Sent by breaking the sound barrier
[Barnes & Noble Nook Tablet] RegLinUsr:
When using the 8 Failed-Reboot Reset Method, you must power down immediately after the screen displays "

READ FOREVER

" in order for it to be counted as a failed reboot. If you fail the reboot before that is displayed then the fail-reboot clock will not register that reboot as failed. This is the number one reason why people have difficulty with this reset method; for both the Nook Tablet as well as the Nook Color.
[Barnes & Noble Nook Tablet] lavero.burgos:
A user posted a easier factory reset method in here can someone else try it and confirm that works, i don't have my nook yet so i can't try.
[Barnes & Noble Nook Tablet] phil0sophic:
Speaking of cocktails , some of the folks around here could use a couple and chill the fu*k out ...Happy New Year !
[Barnes & Noble Nook Tablet] cfoesch:
bLAH!"!LKJK"J§!!!! NEW YEARS ISN'T FOR TWO MORE DAYS!!! ;)