yashsingh1/xdaforums huggingface dataset:
[Captivate Q&A, Help & Troubleshooting] supaphreek:
Well that sucks. Any ideas on how to fix it? Is the JTAG fix the only option?
[Captivate Q&A, Help & Troubleshooting] studacris:
For the hell of it I've only heard this working once with a bootloader mix up:

remove battery

replace battery

DON'T PRESS ANY BUTTONS

insert jig

Now hold the volume buttons.

if that gets you to download mode use odin one click right away to restore both stock bootloaders, when that causes a bootloop because of your phone not liking one click, use the stock package you used before. But you need to use one click IF you ever get it in download mode. IF being the operative word, don't get your hopes up with this one.

Probably won't work but if it does, WIN!

Get a warranty replacement :p

(hint) kies

Otherwise if you don't have a warranty because it's used or whatnot jtag is the only thing that can fix it at this point.
[Captivate Q&A, Help & Troubleshooting] supaphreek:
haha, il give that a shot then. However, i sent my phone in (saying kies was the problem) about 2 weeks ago. Should i do the same thing again? Or would they catch on?
[Captivate Q&A, Help & Troubleshooting] studacris:
LOOOOL!

That's a good question ... They can't prove it wasn't kies, and to out right refuse a customer his warranty based on just speculation does not make good business sense.
[Captivate Q&A, Help & Troubleshooting] supaphreek:
Haha! I guess that's true. So i guess now my dilemna is, should i send it to Samsung and wait 2 weeks, or should i send it to mobiletechvideos, pay 50 bucks and recieve it back faster.

Do you know if the jtag would void the warranty for sure? (in a way that they would know its been voided)
[Captivate Q&A, Help & Troubleshooting] studacris:
Not sure, but if you're worried about that use the warranty while you still can cause the clock is ticking on that time limit...
[Captivate Q&A, Help & Troubleshooting] EnemyOfGlaDOS:
^^ he's not kidding. Warrenty for all of us is almost up :/
[Captivate Q&A, Help & Troubleshooting] studacris:
That's funny, now I have a question: is the year warranty based on the initial release of the captivates so all of the warranties expire at the same time, is it based on build date of the phone, or is it based on original purchase date?

I'm guessing the first, which blows, but I'm not 100%
[Captivate Q&A, Help & Troubleshooting] EnemyOfGlaDOS:
I'm not 100% either. I just recall it being talked about like 2 weeks ago, and it sounded to me like the Warrenty was based on initial release, but that doesn't make sense to me. I was thinking it was based on original purchase date, and many of us got our captivates on drop or shortly after the release.. in which case its almost up too. So, either way - my Warrenty is getting close.
[Captivate Q&A, Help & Troubleshooting] supaphreek:
That makes no sense! It should be based on purchase date... And i purchased mine in december.. so i have alooot of time to go. But yeah, i guess il be using my warranty then.

Also, could you state your opinion on http://xdaforums.com/showthread.php?p=14066999#post14066999
[Captivate Q&A, Help & Troubleshooting] Ompalompa287:
http://xdaforums.com/showthread.php?t=852025
[Captivate Q&A, Help & Troubleshooting] supaphreek:
The jig doesnt work for me though :(
[Nook Color Android Development] martian21:
*** This thread is now outdated ***

Please follow

this link

for a much better solution - Also, be sure to hit the Thanks! button to show your support for DizzyDen's excellent work!

********************************************************************************

I have removed all the files from this post and I encourage everyone to migrate to DizzyDen's superior solution. If for some reason you are unable to use Dizzy's tool you can PM DizzyDen or myself (Martian21) and one of us should be able to get you want you need.

********************************************************************************

[Original Thread]

I have seen several threads regarding this topic and thought I'd try to consolidate as much as I can in one place.

Credit for the original IMEI work goes to mthe0ry His original thread is here.

Because the NOOK Color is not a phone it does not have an IMEI number. This is why some apps that check for an IMEI number do not work on the NOOK.

Thanks to the work of mthe0ry and now DizzyDen it is possible to modify the framework.jar file in order to create a fake IMEI number on the NOOK Color. Doing so will allow programs such as Swype Beta, the free version of the XDA app, HBO GO, and the Xfinity app to work on the NOOK Color.

Unfortunately you need to have a framework.jar file that matches the ROM you are running as changes to the framework between ROMs can (and probably will) cause problems.

[See DizzyDen's thread for the IMEI generator tool]

*** This is mostly obsolete now that Dizzy's tool handles replacing the framework.jar file and backs up your original file - but I will leave it here just in case it is still useful to someone. ***

Installation:

You will need a file manager with Root access such as Root Explorer.

Download the framework.jar file for your Rom.

Unzip the file and transfer the framework.jar file to your NOOK Color.

Navigate to /System/framework using Root Explorer.

Mount the /System/framework folder R/W.

Rename the original framework.jar to framework.jar.bak.

Using Root Explorer, copy the new framwork.jar file.

Paste the modified framework.jar into /System/framework.

Long press the newly copied framework.jar and select "Permissions".

Change the permissions to match framework.jar.bak [rw-r--r--].

Mount the /System/framework folder R/O.

I recommend you reboot your NOOK although resetting the launcher may be enough.

For those that used my original files or the ones from mthe0ry, the original IMEI used in those files is "12-34567-89012-45". If you wish to continue using this IMEI number [NOT RECOMMENDED] you can manually enter it into Dizzy's tool.

Martian21
[Nook Color Android Development] jzibit17:
Request pls

I know that nightly 78 was the last nightly that runs on .29 kernel all the new nightlys 80,82,83 and 84 need uboot 1.2 and .32 kernel. I have read that some people have been experiencing problems on these builts. Also being that .32 kernel is still label beta i would like to ask you if you could please make a framework for nightly 78. I have attached the framework file from my nightly 78. Thank you
[Nook Color Android Development] MACLUIS1:
Finally was able to reboot after copying framework82. Was able to sign in but have yet to play a movie. I get stuck in the spinning circle.
[Nook Color Android Development] paleh0rse:
I did a total wipe, stock 1.2 install, then a second total wipe before n82. I then added the modded framework and HBO GO worked really well! But, after adding Dal's 5/13 OC, I then got the spinning circle problem you describe. :(

I tried re-flashing just n83 to fix it (without Dal's OC), and re-installing the modded framework, but the spinning circle problem remains. :(

I can't say for sure that the OC kernel broke it -- it could be one of a dozen apps I installed? -- but it's certainly the leading culprit in my case. The 5/13 OC kernel also appeared to break a few of my other apps as well (360 Live failed too, but started working again after I returned to vanilla n83).

I'm going to start the entire process over again tonight to try and narrow down the problem...
[Nook Color Android Development] MACLUIS1:
I have the 5/13 OC installed but HBO GO is now working on my Nook. Just need to uninstall and reinstall HBO GO. Worked like a charm for me.
[Nook Color Android Development] paleh0rse:
Didn't work for me -- still stuck on spinning circle after intro clip plays.

I used TiBu to wipe data, uninstall, then install app. Did you reboot in between, or take any other steps?
[Nook Color Android Development] nemith:
So every one gets the same IMEI?

We are going to fix this in CM soon. Please don't break every other program that uses IMEI to identify a UNIQUE device! I suggestion that no-one uses this. You are really playing with fire here.
[Nook Color Android Development] paleh0rse:
I do appreciate your warning (and, as always, all your hard work), but Dal came out and stated plainly that an IMEI solution would not get added to cm7 builds, so the rest of us took his word for it and had to solve the problem some other way.

Now, if you're saying that the solution WILL be built into one of the next few nightlies -- with unique IMEI's -- then that's fantastic!! :)

However, without it, there's currently no other way to run HBO GO, Swype, etc -- unless we compile our own framework.jar... which isn't an option for some of us noobs. ;)

Has work already begun on a better solution?
[Nook Color Android Development] dalingrin:
I meant the static IMEI hack as presented in this thread. This hack will not be added to CM7.

We are working on a real solution as we speak.
[Nook Color Android Development] paleh0rse:
You're a good man, thank you! :)
[Nook Color Android Development] martian21:
This is great news!!!

I will cease and desist as soon as it it completed. Obviously the best thing would be for people to follow mthe0ry's instructions and do this themselves (it's really not that hard) using their own unique IMEI number. That said I'm happy to continue the "hack" method for those who don't wish to do it themselves.

Yes, having multiple devices with the same IMEI could become problematic but so far it's worked for the apps people want. I do appreciate the warning as I probably wasn't as clear about the "hack" nature of this in the OP as I should have been.

Martian21
[Nook Color Android Development] martian21:
Attached:

enjoy :)
[Nook Color Android Development] smiley1960:
slide it

please disregard below. in reading the thread better I can see it's not for swype at all but for setting the nook up with an IMEI.

I don't mean to be rude, but why not just use slide-it? I'm cognisant of the simplicity of swype as I use it daily on my Galaxy S, but slide-it is nearly as good and works without fault on the nook (rooted stock and CM7) without any mods.
[Nook Color Android Development] paleh0rse:
Many of us use this hack for HBO GO, not just Swype...
[Nook Color Android Development] RASTAVIPER:
First zip file is for which Rom?
[Nook Color Android Development] martian21:
Opps - Typo. It is for CM7 Stable 7.03

I added a note to the first post. I'll try to fix the file name when I get home tonight. I'm sure there will be 1 or two more nightly builds as well.
[Nook Color Android Development] rhester72:
It's also needed for a number of Gameloft titles.

Rodney
[Nook Color Android Development] mr_fosi:
Concerns about unique devices make me wonder... I have a broken HTC Kaiser sitting on a shelf above my desk. It will never again be a functional device, but yet it has it's own unique IMEI.

Does the IMEI alone tell apps anything about what sort of device belongs to the number? If not, then it seems that I could use the IMEI from that Kaiser or the broken G1 I have.

It doesn't seem like these apps know anything about the device from the IMEI alone, given that people have been implementing this fix with no repercussions. That means apps probably don't check any hypothetical IMEI-device info against what's recorded in the build.prop, so this seems like a safe, workable solution for those of us with defective devices on our shelves.
[Nook Color Android Development] kngof9ex:
Is there a way to make this work on a ManualNootered nook with 1.2, or does it only work if you have a custom rom.

Thanks
[Nook Color Android Development] Zorkman:
integrate in CM7

could you not ask the maintainers of CyanogenMod to integrate this in the future nightlies?

they would probably welcome the added functionality
[Nook Color Android Development] mr_fosi:
Did you bother to read the first page of this thread? :confused:
[Nook Color Android Development] marlonbr:
I think I love you guys. =]
[Nook Color Android Development] paleh0rse:
Can you hook it up with n85? :)
[Nook Color Android Development] martian21:
OP updated with n85 as well as an attempt at Rooted Stock 1.2 [which is thus far untested!]
[Nook Color Android Development] paleh0rse:
Grabbing n85 now, thanks!
[Nook Color Android Development] RASTAVIPER:
what about Phiremod users?
[Nook Color Android Development] martian21:
See mthe0ry's original thread which is linked in the OP.
[Nook Color Android Development] Rick_V:
Worked great thanks. Had to uninstall and reinstall the app. I have a question the video is slightly grainy is the fact that I am accessing a G router here at work the reason as opposed to if I am on my N router at home? Will the N data rate help with the graininess?

I am on CM7 7.03
[Nook Color Android Development] n0xx187:
@martian21

I'm trying to mod my own framework.jar but I cant seem to make it happen.

I have no java experience so I dont know how to setup to get this going..

Im getting a No Class Def Found Error.

Ive Googled every thing I could think of but with out knowing where to even start I was lost.

This was from my mac but I got the same from windows.

I think I need to set some class Definitions but I cant find out how or even what.

Thanks

Java> -jar baksmali.jar framework.jar
Exception in thread "main" java.lang.NoClassDefFoundError: baksmali/jar
Caused by: java.lang.ClassNotFoundException: baksmali.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
[Nook Color Android Development] mr_fosi:
Please pardon my ignorance, but that IMEI seems to be missing 2 digits.

Having looked at the IMEI's from my kaiser, G1 and TP2, they all have the format:

35-000000-000000-0, where the 0's are actual numbers. The G1's also have SVs of 02 (analogous to the "45" in the OP IMEI).

In the IMEI given in the OP, shouldn't it have 6 digits in each of the interstitial portions like: 12-34567x-89012x-15, where the x's are numbers?

Having looked at the wikipedia article for IMEI and the check digit algorithm, it seems like the IMEI should be something like this: 12-345678-901234-7 or 12-345678-901234-45, depending on which IMEI standard you care to use.

I understand that this is working for some people, but I don't understand how. Can someone educate me? :confused: :D
[Nook Color Android Development] DizzyDen:
See my post in This thread

Ideally I'll be able to come up with a patch that will read the serial number from partition2 and format an IMEI from that... so everyone will have one framework patch... but individual IMEI.

The IMEI can be 14, 15, 16 OR 17 digits.... a great deal of info can be found in this document
[Nook Color Android Development] martian21:
Honestly, I doubt a change from 8.02.11G to 802.11N will do anything for video quality. If you are feeling brave though, you might give one of the newer nightly builds (n82+) a try with the 2.6.32 kernel. I believe there were some enhancements to video hardware acceleration.

I think you need to full java JDK (not just the JRE). Here is a link. Also, you need to make sure that the Java JDK directory is added to your path. I'm not going to go through a step by step as Google will get you plenty of information on that.

Yes, you raise a valid point which is why this is basically an *ugly hack*. You can make the IMEI anything you want and obviously most apps don't care. I can't speak for mthe0ry but I suspect the point of the original number was actually to be INCORRECT so as not to cross that fuzzy line of possibly using a legit (and thereby spoofed) IMEI number.

Martian21
[Nook Color Android Development] mr_fosi:
Roger that and thanks fellas. :)

I am currently reading that other thread to see if there is mention of how to read the serial number off p2. I'd like to try this hack but I'd like to use a customized IMEI.

If you know that there's no method for reading the serial in that thread, are you willing to point me in the correct direction? An initial search turned up a lot of meaningless results.

EDIT: n/m fellas. I just discovered that ADB will give it to me when I list devices.
[Nook Color Android Development] BitingChaos:
Has Google said anything about this in any official statement?

Non-phone devices have been out for a long time. Why does so much software refer to a device as a "phone" and expect an IMEI in the first place?

I've seen the word "phone" hard-coded in so many apps. The work-around some programmers use is to hard-code the word "tablet" now in its place in certain builds (why not just use the agnostic word "device"?).

Do all of the Apple iOS devices have IMEI numbers? I know iOS has been non-phone exclusive since 2007. Android came out over a year later and had "phone" hard-coded everywhere.

Of course, Google and programmers aren't all to blame:

If Android had been expected to be phone-only, why did hardware makers exclude an IMEI in the first place? The Nook Color has to have at least two MAC addresses. Why not an IMEI?
[Nook Color Android Development] mr_fosi:
My guess is because there is a lot of approval and allocation work that needs to be done before manufacturers can get IMEI numbers assigned to devices.

I just finished going through the document that DizzyDen linked in #31 and it is clear that IMEI numbers have a lot of info in them and that they aren't something that companies can just generate and assign on the fly.

I don't think that the legal stuff will affect us hackers who will never be able to connect our Encores to a cell network, but it would certainly be something I would be very careful of in the cell-equipped tablets or phones.

For all the world, it seems as though the companies/devs who require and IMEI aren't using it beyond their own in-house bookkeeping for account verification and abuse-detection.
[Nook Color Android Development] n0xx187:
Mac has the full JDK installed and the paths set. but I did do all that for windows and got the same error.

Im not sure what the deal is but wish I could find out how to do this for my self :)
[Nook Color Android Development] mr_fosi:
Apparently you don't need the JDK, since I have only JRE6 and was able to successfully baksmali my framework.jar. I haven't finished the whole thing, but that the extraction works indicates that JRE is sufficient.

I didn't add my JRE6 directory to my path, though, so the commands were hellacious.
[Nook Color Android Development] n0xx187:
any clue as to why im getting this no class path error?
[Nook Color Android Development] mr_fosi:
When you run the extraction, are you doing so with terminal possessing admin/root permission?

When I did it, I used baksmali-1.2.6.jar and smali-1.2.6.jar.

Are these the versions you are running?

Did you rename baksmali-1.2.6.jar to baksmali.jar before trying the extraction?

Of course, my NC still isn't displaying my IMEI under Status or *#06#... :(
[Nook Color Android Development] DizzyDen:
fosi... get a market app called imei number checker....or imei widget either one... your generated imei will show up there.... CM7 does not show it for some reason.
[Nook Color Android Development] mr_fosi:
Roger that. I tried both of those and I get force closes when I try to run/use them.

For reference, this is what I put into my TelephonyManager.smali (where the x's are actual numbers corresponding to my NC serial #):

.method public getDeviceId()Ljava/lang/String;
.registers 4

.prologue
new-instance v1, Ljava/lang/StringBuilder;

const-string v2, "00-xxxxxx-xxxxxx-xx"

invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v1

const-string v0, "Tag"

invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

move-result v0

return-object v1
.end method

That's a heck of a lot less than what it replaced in the original .smali:

.method public getDeviceId()Ljava/lang/String;
.registers 4

.prologue
const/4 v2, 0x0

.line 187
:try_start_1
invoke-direct {p0}, Landroid/telephony/TelephonyManager;->getSubscriberInfo()Lcom/android/internal/telephony/IPhoneSubInfo;

move-result-object v1

invoke-interface {v1}, Lcom/android/internal/telephony/IPhoneSubInfo;->getDeviceId()Ljava/lang/String;
:try_end_8
.catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_8} :catch_a
.catch Ljava/lang/NullPointerException; {:try_start_1 .. :try_end_8} :catch_e

move-result-object v1

.line 191
:goto_9
return-object v1

.line 188
:catch_a
move-exception v1

move-object v0, v1

.local v0, ex:Landroid/os/RemoteException;
move-object v1, v2

.line 189
goto :goto_9

.line 190
.end local v0 #ex:Landroid/os/RemoteException;
:catch_e
move-exception v1

move-object v0, v1

.local v0, ex:Ljava/lang/NullPointerException;
move-object v1, v2

.line 191
goto :goto_9
.end method
[Nook Color Android Development] DizzyDen:
That is why I opted to change the name of the original partition to getDeviceID2() and add getDeviceID() to the end of telephonyManager.smali ;)
[Nook Color Android Development] martian21:
Nightly 86 is up.
[Nook Color Android Development] RASTAVIPER:
Ok, I have read whole original thread as U suggested and I would appreciate if U could create a modified file for Phiremod 6.0, which I use.

Since U know how to deal with all that Java codes, I trust U to make this instead trying this myshelf.
[Nook Color Android Development] martian21:
PM me your framework.jar and I'll hook you up.
[Nook Color Android Development] mr_fosi:
Yeah, I couldn't do that though because it would have been too smart. :o

I gave it another go this morning, trying the same code but adding it to the .smali rather than replacing. I also used the 15-digit IMEI that I calculated.

It took longer than normal to boot but a quick *#06# in the phone app returned the IMEI! :D As stated, the IMEI didn't show up under tablet status but that's just fine with me. The Simplicity ROM I have on my TP2 does the same thing.

I don't change builds very often and this fix is so simple that I won't mind doing it each time.
[Nook Color Android Development] Rick_V:
I just updated to nightly 87. Can I use one of the other .jar files or will I need to wait for the nightly#87.jar? I see a big video difference between 7.03 and nightly 87 on netflix.
[Nook Color Android Development] DizzyDen:
If you went from stable 7.03 to N-87 you can not use the one you already have... You can use the one for N-86... you are best off creating your own... since multiple devices with same IMEI on someone's serve may irritate them.
[Nook Color Android Development] hoodred:
problem with HBO go

i did full wipe and install 7.0.3 stable. install the stable framework jar than install hbo go. reboot everything.

But HBO come with error, everytime I click any video, the HBO animation will play than the waiting animation than error message

"We're sorry. Some Videos may not be available at this time. We are working on this issue and hope to have it resolved shortly"

Did I install the correct framework jar ?

When I use my phone HBO play straight away.

BTW I also install xfinity TV (remote control app) and it works however it doesnt display the listing correctly.

And Today I received call from Comcast Xfinity security asking me if my account has been hacked or have been travelling because they saw similiar device like mine (I presume its the IMEi no) has been accesing Xfinity from several locations. I unisntall Xfinity TV app straight away just incase LOL.
[Nook Color Android Development] paleh0rse:
I believe that would be the "fire" Dalingrin warned us about...
[Nook Color Android Development] fuzzynco:
Is there an Nookie Froyo 0.6.8 compatable version?

I didn't see one in the list of ROMs .

Thanks