yashsingh1/xdaforums huggingface dataset:
[Nook Color Android Development] DizzyDen:
I'm confused... are you using ADB pull feature trying in place update?

What ROM are you using... you say it finds your OC kernel... this program does not work on the kernel... it is kernel and ROM independent... it looks for /system/framework/framework.jar if pulling from the device....

Are you trying to run this on an OC kernel zip file? It won't work... unless the zip file has /system/framework/framework.jar in it.
[Nook Color Android Development] openallnight:
Does not work for me as is. I used to do the same thing myself manually with and generate a different deviceID. Looks like Swype is storing that against my device somewhere in their system. It wont allow me to use anything different now. I guess i could change what this program generates (using S/N or MAC) and use my old deviceId and it would work.
[Nook Color Android Development] DizzyDen:
Are you saying the program won't work... or your swype beta stops working? If it is swype... that is covered in OP... I will not go back to using the old generic IMEI since the whole purpose of writing this program was creating unique IMEI's to get apk devs that use them off our backs.

You should re-register swype... or change the device it is registered to after using this program to provide a unique number.

You can edit !IMEIme.ini and set Use_ADB = 0 and be able to manually input your old DeviceID... you will also want to make sure Encrypt_IMEI = 0

Could also set Use_Serial_Number = 0 and Use_MAC_Address = 0
[Nook Color Android Development] paleh0rse:
You're going to have to re-register for Swype beta using a new/different email address in order to use the newly generated IMEI this program provides.
[Nook Color Android Development] actorman46:
I'm on cm7 75 running dal's oc kernel. I think I'm just confused on how I use this program. Is there anything I need to do besides having my nook plugged in with adb and running your program? I've read your first post several times and I've been following the thread. I think I'm just not getting something.

Sent from my NookColor
[Nook Color Android Development] DizzyDen:
If ADB is working on that nightly you don't even need it started... unless you have to use adb wireless... I know there are several later versions of CM7 that debug mode is broken in... with those you would have to use adb wireless... there are free apps in market for it.
[Nook Color Android Development] actorman46:
Ok I know what's happening, I needed a copy of my rom on my computer to update. It kept finding a copy of the oc I had on my desktop. Now do I install the file it created via rom manager cm_encore_full 75-imei?

Sent from my NookColor
[Nook Color Android Development] actorman46:
And that's what I did. I was making this way to hard! It works great, thank you so much!

Sent from my NookColor
[Nook Color Android Development] paleh0rse:
With the latest version of this program (10.3), you don't need a rom file to do it. The program can be told to pull the actual framework.jar file that's already installed on your nook, modify it, and push it back.
[Nook Color Android Development] topcaser:
DizzyDen,

your little program rocks. Wow, it is so cool. It worked the first time for me - struggled with 10.1 - but now with 10.3 it is all perfect. Thanks for this.

Two questions:

1. I ran generator from a netbook with adbwireless and it took 10 minutes or so. Ok, it is a very slow computer and i dont know, if adbwireless is very fast. Nevertheless, version 10.1 was much faster (but did not patched anything :-)

2. When i patch (from now on) another nightly: what is the preferred installation process? Extracting the serial again or take the IMEI from the ini file??

Again: Thanks for this great programm.
[Nook Color Android Development] lschroeder:
I used this option as well. On the dialog for rom choose the other option and push it back when that option comes up. This was really helpful to me since I was using nightly 99 on sdcard with usb kernel that required other manual modifications to make usb flash drives automatically mount. If I used the rom version all of the manual modifications would of have to had been redone.

I unzipped the package and move the application to a terrible place, the directory with the adb.exe program.

Make sure you do not place this application exe where your actual adb.exe is? I placed this application in the adb.exe directory and had to update the entire adb sku package as a result. This program creates its own mini adb.exe with supporting files on the fly and then deletes them when done. In my case it wiped out the permanent adb.exe that was there and who knows what else?
[Nook Color Android Development] DizzyDen:
The slowest part on that netbook will be the extracting (baksmali) and compressing (smali) of the framework.jar file... I thing the best method is to utilize the existing IMEI.fix file and use in-place updating (adb-pull/push) method.
[Nook Color Android Development] DizzyDen:
Here's what the file will delete when doing it clean up function:

"framework.jar.bak" temporary bak file when using ADB pull... for testing that the rename of original worked

"classes.dex" temporary file compressed by smali for updating framework.jar after IMEI edits

"7za.exe" program extracts it on run

"baksmali.jar" program extracts it on run

"smali.jar" program extracts it on run

"adb.exe" program extracts it on run

"adb_usb.ini" program extracts it on run

"AdbWinApi.dll" program extracts it on run

"AdbWinUsbApi.dll" program extracts it on run

Directories:

"out" ... temp directory when extracting framework.jar

"system"... directory patched framework jar is copied to for updating zip file

The program will also be setup to delete TelephoneManager.smali again now that I am positive the edits are working as intended... I had left it so you could check if it was truly getting modified during some of the betas that seemed to fail in.

I suppose I could put a test feature in to see if they already exist when the program runs... and not delete them on exit if the do.
[Nook Color Android Development] nolook:
looks like the beta 3 swype removed the imei check...too bad the honeycomb only features don't work on cm...
[Nook Color Android Development] DizzyDen:
And all other apk devs may eventually remove it... but until they do... I have a solution for us. This was also part of my desires in providing this for us... to get the dev's to see us as viable customers/clients.
[Nook Color Android Development] mr_fosi:
I'd say it's working. :D

If the apps keep working and the devs don't shut us out, I'd say it's a job well done regardless of whether IMEI's are needed moving forward.
[Nook Color Android Development] DizzyDen:
Coming up.... yes... still more going on here....

Since in-place is the preferred method now... I am going to change the first screen to ask if you want to do in-place.... ROM update will be the optional.

OPTIONAL - create imei file in ROM on device... use this file if it exists for the imei... update the device once... it will store the IMEI you used... and use it for subsequent runs with nook ADB'd.

Working on a different compression of the ROM file... hopefully eliminating the dup file bug... Trying to get it to work such as winrar will... update the single file we are modifying (framework.jar) and not inspect the remainder of the zip file.

Anything else anyone can think of? (other than nice pretty interface... still kicking that idea around too... I kinda like simple though)
[Nook Color Android Development] liqn7:
This would be fantastic. I can't get ADB to work on my netbook :(

Appreciate all your awesome efforts Dizzy :)
[Nook Color Android Development] DizzyDen:
Current version Beta 10.4

Current version: Beta 10.4

Read the entire OP everytime you download

I try to keep newest info at the top... but things do change.

Changed compression method... you will no longer have to manually update ROM zip files with duplicate files (as Windows sees them).

The first time you run it on a device with Use_Previous_Patch = 0 it will create an imei file in ROM on the device. It will use this file on future runs on the device... as long as ADB is working.
[Nook Color Android Development] lschroeder:
I got 10.3 beta in place ROM update to work perfectly with nightly 99 on SDcard using wifi adb.

I next try to use on rooted Stock 1.2. I never installed gapps, just used amazon app store and titanium backup to move most of my apps over. Here it said it could not find serial number or mac address. Seem to pull frameworks but would not push it back. Any suggestions.

edit: ran 10.4 beta with same problems, permission on rooted Stock 1.2 denied for serial and mac address plus when I attempted to write framework.jar permission denied again. I next edited the !IMEIme.ini to use_Serial_Number = 0. A dialog box came up. I input my Nook's 16 digit serial number. It still denied permission to update framework.jar and said to manually do it. How do I manually update it? Is there anything else to manually update? Can I just File Expert with root permission to move it from a SDcard to proper location and reset the permissions?
[Nook Color Android Development] quikt:
Worked great on first try using adbwireless. Much better method than the last time i tried adding imei. No force crash errors on boot. Thanks!:)
[Nook Color Android Development] DizzyDen:
I'll look into the issues with rooted 1.2... you can use file expert to do what you want to do. Are you SURE it pulled framework from stock, and that it is not the framework left over from previous run on CM7?
[Nook Color Android Development] lschroeder:
Thanks for looking into it.

By using *#06# I found my IMEI number, format xx-xxxxxx-xxxxxx-xxx for nightly 99 CM7. It is my serial number with 00- at the first plus the last digit truncated.

I did get File Expert to copy and paste but I think my framework.jar needs to be redone. In the !IMEIme.ini file this number is not listed. Is there a way since I know it to use it or serial number to generate framework.jar file that I can manually replace with File Expert. I thinking about what I type in dialog box and/or what I do with the parameters for !IMEIme.ini.
[Nook Color Android Development] DizzyDen:
I don't follow... by default it will be exactly what you are describing... it defaults to using the first 15 digits of your serial number... places 00 in front... and formats it correctly for IMEI... so it seems to me it worked exactly as designed.

If the program did not pull the framework jar from stock... do you have adb wireless installed on the stock ROM? You could use File Expert to copy framework.jar from stock to SD... then from SD to computer... run the program selecting "No" to in-place.... "No" updating ROM zip... and browse to the stock framework.jar file.
[Nook Color Android Development] lschroeder:
I am running CM7 on a SDcard and rooted Stock 1.2 in EMMC. This number was with my CM7 running from the SDCard. With CM7 nightly 99 from SDcard your program worked perfectly. When I ran your program again with rooted Stock 1.2 to get the correct framework.jar this is where the issues happened.

I did have adb wireless running in both CM7 and Stock 1.2 cases.

With adb wireless working and connected selecting "No" to in-place.... "No" updating ROM zip... and browse to the stock framework.jar file this gives me the permission errors for serial number and mac address, the process complete using some partial string it pulled from some place but when it tries to write framework.jar gives another persmission error.

This is where I edited the !IMEIme.ini to use_Serial_Number = 0 and a dialog box comes up. I put in the full serial number, everything continues on put at the end I get permission error again when it tries to push the framework.jar file. Is there something I can do with the !IMEIme.ini since from my successful execution of your program from CM7 I know the IMEI number it wants.
[Nook Color Android Development] DizzyDen:
OK... the "partial string it pulled from some place" may be from the device /rom/devconf/imei file... use File Expert and see if that file exists... if it does... then the program put it there as planned... this will ALWAYS be the first thing the program looks for and uses for IMEI generation, since it puts it there.

I am looking into permissions and locations on stock... it may be the version of busybox they use don't support "adb remount"... in fact I am quite certain of it... I will have to add checks and optional "adb mount" commands if remount fails.... SHOULD get this done later today....

For the life of me, I can't see why reading DeviceID, or DeviceMAC from rom would give us issues on stock... unless the cat command isn't available... will look into that too... there are other things I can do if that's the case...

I would also try stopping and restarting adb wireless... if it was already enabled when you went it... it is known to cause issues... clicking the big red button, then the big green one fixes it.

There's nothing you need to do with the ini file... it is not finding /rom/devconf/DeviceID or /rom/devconf/DeviceMAC... that's why the errors.
[Nook Color Android Development] lschroeder:
Went to directory /rom/devconf/ and file imei is not there. While I was there I did notice that ALL catergory Read permission was not checked for DeviceID and MACAddress. For ALL, I checked it, hit apply, then rechecked it and they were gone again.

I did try stopping and restarting wireless. I did notice that it got lost and that this reactivated it.

There is also the permission error when it tries to write back the framework.jar file with the wrong IMEI information.

I did get xda app to work with manually transferring over the correct framework.jar. I used in the ini file everything set to 0 except user_Manual_Input = 1, wireless blank, and IMEI = the full unabbreviated serial number. I used the framework.jar that it had downloaded when I got the permission errors for serial number and macaddress with the modified ini file. Still trying HBO GO tricks in this thread and no GO.
[Nook Color Android Development] DizzyDen:
Try making a CWR bootable SD... see if you can adb via usb... it should update ROM on your emmc...

NOTE: imei will NOT be on /rom if you previously generated an imei and have Use_Previous_Patch = 1 in the ini file....

I would recommend deleting !IMEIme.ini and let the program recreate the defaults...

In the meantime I am still tracking down the issues.

And that line in ini you have set to 1 SHOULD be Use_Manual_Input = [0/1] either or... NOT "user_Manual_Input"

I just used in-place update on MN'd B&N 1.2 with the only issue being pushing patched framework.jar (this is the "adb remount" issue I spoke of earlier)... I will have that part fixed in short order....

As for the Serial Number and MAC Address... those files should be r/w (ALL files in /rom are)... you will have to get that sorted out before the program will be able to read them.

I have the issues resolved in MN'd B&N 1.2... as soon as I confirm the fixes doesn't impact other ROM's I will release Beta 10.5
[Nook Color Android Development] DizzyDen:
Beta 10.5 posted

Current version: Beta 10.5

Read the entire OP everytime you download

I try to keep newest info at the top... but things do change.

Fixed method to make MN'd B&N 1.2 work.
[Nook Color Android Development] paleh0rse:
How/when is the HBO GO app failing? Is it FCing at sign in, or do you just get a spinning circle when trying to play a video?

FC at sign in = framework.jar issue.

Spinning circle = need to wipe HBO app data, uninstall, reinstall, sign in again, and should be good.
[Nook Color Android Development] lschroeder:
This works perfectly. Thank you. Downloaded the app Show Me My IMEI and reports back the correct serial number derivative. The imei file is written to the /rom/devconf/ as well. Permissions for DeviceID and MACAddress are the same as before. R/W for owner/group. imei permission is the same.

I did three changes. Was using MiniRooterV2 switch to the full MN. Wifi with MN install was broke so used CWM to fix permissions. Install Dal's lastest kernel. Then everything went without a hitch.

XDA now works. Is there some other IMEI app that I can try?

HBO trying the paleh0rse suggestion in above post still will not work. I will get back with him shortly.

Edit: I was wrong, it did work.
[Nook Color Android Development] lschroeder:
Different issue when I use wipe HBO app data, uninstall, reinstall, sign in again. Sign in takes me to where I select from pull down Comcast XFINITY. Then I press Subscribe and I go off to another webpage style window that gets me no where.

I am using MN rooted 1.2 from EMMC. The HBO go file is not available in the market. I moved my backup information from TB CM7 nightly 99 where it is working on a SDcard to a data only SDcard. It let me install but gives me the above issues.
[Nook Color Android Development] paleh0rse:
Have you looked in comcast's forums to see if anyone is experiencing the same problem with a legitimate device?

If it doesn't FC when you first hit "sign in," then it's probably not related to framework at all. My first guess is that this is an issue specific to comcast.

Just for the heck of it, try selecting FIOS. When you do, does it redirect to a Verizon login/password screen?
[Nook Color Android Development] lschroeder:
I did not realize that my sign in for comcast was off to the right of the screen. Kept prompting me to sign in = need to wipe HBO app data, uninstall, reinstall, sign in again, and should be good.

Your FIOS suggestion showed their sign-in and then when I went back I found comcast off to the right.

Thanks for your help. It is now working. Needed spinning circle technique.
[Nook Color Android Development] paleh0rse:
So I take it that it works now? If so, that's fantastic! :)
[Nook Color Android Development] martian21:
Tested out Beta 10.5

Hey Dizzy - Sorry I haven't given any test reports lately. Haven't had much time to play with my Nook. I finally updated to Nightly 103 tonight. I used your Beta 10.5 to patch the ROM and had no issues.

I cleared all the previous files so that I could test out ADB. Nook was connected via USB. ADB had no issues extracting both my S/N and my MAC. Best of all was that the program produced an updated nightly 103 ROM with a properly patched framework.jar!

I didn't get a chance to test the in place patching but everything I did test worked perfectly.

Great Job sir!

Martian21
[Nook Color Android Development] lschroeder:
Yes it works great.
[Nook Color Android Development] DizzyDen:
NP... I know how real life can get ;) ... I'm glad everything finally came together and I got all the features in... and working... lol

Glad to hear good along with bugs... hoping the latter is gone :)

And thank you for for the compliment as well.
[Nook Color Android Development] paleh0rse:
10.5 worked perfectly for me with in-place n103. Well done my friend, well done... and thanks again!
[Nook Color Android Development] DizzyDen:
Thank you too my friend... you were a LOT of help buddy.
[Nook Color Android Development] lschroeder:
Thanks to DizzyDen, paleh0rse, and all others in this thread I was able to watch HBO Go and post in XDA app from by nook using MN rooted stock 1.2. A thanks goes to all the folks at MN for their work.

Now the only hard part is deciding whether to run MN from EMMC or CM7 nightlies from SDcard since I can watch HBO Go and post in XDA app from either. A third thanks is in order to the folks who contributed to CM7 experiences.

Even though most of us have never meet, it is a pleasure to call you friends.
[Nook Color Android Development] DizzyDen:
And it is my pleasure to call you friend also.... this is what the community is about...
[Nook Color Android Development] DizzyDen:
No longer Beta

I have decided the program is well beyond Beta at this point.

OP updated... newest version uploaded without (b#)($) which was used to indicate beta version.

Thank you to everyone who helped get the program where it is at this point... dev isn't stopping... but outside of pretty interface I'm kind of out of ideas on what else to have it do... wow... I actually said that :)
[Nook Color Android Development] 12paq:
This whole project is just damn sharp and really impressive.

Thank you for your time.
[Nook Color Android Development] DizzyDen:
Atually... I have one more idea up my sleeve... have it create a CWM installable zip file...

More work begins now ;)
[Nook Color Android Development] cmstlist:
Even better, how about an on device app that generates a flashable zip?
[Nook Color Android Development] DizzyDen:
When I get on device app put together... won't be a need for it to create a flashable zip... it will do in place update.
[Nook Color Android Development] lschroeder:
Nightly 108 IMEI not showing up

Hi DizzyDen, I updated my SDcard to nightly 108 plus Dal's kernel 06/18/11. When I use the app Show Me My IMEI or dial *#06# it can not find my IMEI number. I ran the new !IMEIme.exe app in a blank directory with only the application. The window dialog showed the correct number and the last dialog box said the process complete with no errors. The imei file is on the nook and there is a framework.bak directory.

None of the IMEI apps work. I am using [ROM][CM7] [v1.3] Size-agnostic SD Card image and CM7 installer for SD Cards.

What do you suggest?
[Nook Color Android Development] DizzyDen:
Did you run the IMEI generator again and reboot after updating? It will have to be ran after each nightly... or patch the nightly before loading it.
[Nook Color Android Development] lschroeder:
Yes I ran the IMEI generator again and rebooted after updating.
[Nook Color Android Development] DizzyDen:
And it did not work? Strange... I updated my nightly 108 and installed it... It gives me my IMEI.

Maybe I will try loading 108 then run the program doing in place and see what happens.
[Nook Color Android Development] DizzyDen:
I hope you mean there's a framework.jar.bak file... it shouldn't be creating a backup of the framework directory.

1.1 will be uploaded shortly... in fixing MN'd stock... CM7 won't mount /system as rw... fix is being uploaded.

The last message you saw SHOULD have been an issue pushing modified framework to device... and the device should not have rebooted itself.
[Nook Color Android Development] lschroeder:
You are right it is framework.jar.bak.
[Nook Color Android Development] DizzyDen:
Release 1.1 uploaded

OP Updated:

Current version: !IMEIme Version 1.1

Release version 1.0 had an issue with in-place update on CM7... In-place now works on MN'd stock and CM7. The joys of compatibility of different systems... different busybox builds... different tools available... etc...

Anyway.... I just in-placed both CM7 on SD and MN'd 1.2 on EMMC... both worked as planned.
[Nook Color Android Development] lschroeder:
Great work! Everything is fine!
[Nook Color Android Development] DizzyDen:
Hey... at least I'm quick with bug fixes.... lol... sorry about the issue.
[Nook Color Android Development] lschroeder:
You have been great with me. I really appreciate it. lol... Larry
[Nook Color Android Development] DizzyDen:
Hey, I just want the program to work... your test and bug reports have been great and is very appreciated.
[Nook Color Android Development] martian21:
I built CM7 from source tonight and tested version 1.1 (clean folder) on the resulting ROM. I decided to mix it up and go ADB wireless this time. Everything worked as advertised :)
[Nook Color Android Development] jwortiz:
DizzyDen,

Thanks for the GREAT WORK!!! I'm able to see HBO Go programming AND listen to my SiriusXM app on my Nook color. WooHoo!!!
[Nook Color Android Development] don_ernesto:
used the app, and it was a total success!!! thanks for making this patching so easy!!!!
[Nook Color Android Development] Stroid01:
works great thanks alot love having HBOGO on my nook!
[Nook Color Android Development] topcaser:
1.1 works like a charm. Thank you DD for your hard work.
[Nook Color Android Development] ndinfla:
Is there any way to run this from the nook itself?