yashsingh1/xdaforums huggingface dataset:
[Nook Color Android Development] gamefreakgcb:
How do I use this? I tried to copy this file and adb.exe to my /java/bin folder on my comp. It runs but at the end says "unable to open a telephonesomethingorother.smali file. It is also unable to push the framework.jar to the device. I tried to find where this framework.jar file was on my computer and was unable to find it.
[Nook Color Android Development] DizzyDen:
Currently no.... As time becomes available I intend to write an on device app for it... but haven't yet.

You either need to be updating a dev's ROM, have ADB working or already have the framework file... IF adb is working (either USB or *preferred* WiFi) it will pull your device info... and will be able to pull the framework if you are trying in-place update.

For any more help... you need to read the OP... especially the part about info needed when asking for help or reporting a bug.
[Nook Color Android Development] rkl:
Awsome job!

That was totally painless. Great patching app. Thanks a million!
[Nook Color Android Development] quepaso:
Thanks so much, this worked flawlessly!
[Nook Color Android Development] azsl1326:
Thanks for making this available. I just ran the program and think I did everything correctly. At the end I was prompted if I wanted to copy the new framework.jar to the Nook and I selected 'Yes'. The NC rebooted. I went to Market and searched for HBO GO and it's still not showing. I am running 1.2 with MN 4.5.6

Any suggestions on what else I should try.

Thanks for the assistance.
[Nook Color Android Development] DizzyDen:
This will not make anything show in the market that isn't available to the device... i.e. if you edit build.prop to ro.product.manufacturer=HTC then some different apps will show in market.... if you change it to ro.product.manufacturer=Samsung some diferent ones will....

What this program DOES do is make it so programs the require an IMEI to run... work.... it gives you a unique IMEI so when you have them... they will work.

You will have to either keep changing your build.prop (may want to change device as well) until you see the app in market... or manually download the app and sideload it. If you edit build.prop.. make sure you reboot for it to take effect.

Try pasting these two lines at the beginning of the build.prop... NO OTHER EDITS:

ro.product.manufacturer=HTC

ro.product.model=HTC Vision

Note: the first line is all that is needed to make netflix work... but the second may help with market app visibility.
[Nook Color Android Development] Ang3lmack:
Or sideload HBO go, that's what I did
[Nook Color Android Development] azsl1326:
I can try that. Does anyone have the HBOGo.apk?

Thanks!
[Nook Color Android Development] azsl1326:
NM, I found a link. Thanks for the suggestion.
[Nook Color Android Development] DizzyDen:
WOW... over 1250 dl's of 1.1

Guess we hit a milestone... over 1250 downloads of version 1.1 and no bugs reported....

Still haven't quit... since I have been seeing some download corruption lately (most likely my ISP) I am doing a little rearranging in code... will ensure not corrupt before making the backup of the zip file...

Adding checks to see if the support files exist prior to extracting them from the exe and will not delete them if they were already there.

Still doing some work with on device app... but not sure it will be feasible with all that has to be done... remember one member had over 10 minutes running the program on a netbook... but I haven't given up hope yet.

I could add the NetFlix fix to the program if people think it would be a good idea.

Does anyone think a prettied up interface is needed or do you prefer the simple functionality of it as it is now?

Any special requests?
[Nook Color Android Development] lschroeder:
adbWireless

Great job DizzyDen! Thanks again!

Just checked another branch of your program and it performed flawlessly. I updated to CM7, nightly 122 on sdcard, and I needed my IMEI number for various apps. Normally I run adbWireless, connect to my adbWireless with adb on windows 7, and then execute your program in virgin directory. This time I forgot to set the correct directory for adb and forgot to type adb connect with my address from the window's cmd screen. A dialog box asking for my wifi adb wireless address came up during your program execution, I enter the IP address that I normally type with adb connect command. Your program took it from there and completed the process normally. I ran Show Me MY IMEI app and there was my IMEI number.
[Nook Color Android Development] DizzyDen:
You can set that IP address in the ini file and it will have it filled in on the enter ip address prompt ;)
[Nook Color Android Development] 12paq:
DizzyDen,

I just ran this for like the 5th or 6th time and it worked flawlessly. I have run it on win32 xp, vista and win7 all perfect.

Knowing what has gone into this, I am just amazed, thanks again! :)

12
[Nook Color Android Development] lschroeder:
Thanks, that seems easier then setting up the correct directory in adb and using adb connect. As you know I am using it for MN rooted stock 1.2, VG sdcard with nightlies, and Rack sdcard version of phiremod v7 Test.

What would be the ideal setup for installing your exe and ini in my situation? I know I will need to use window application for nightlies and final of phiremod v7 Test plus his future enhancements. Is there anything else I need to keep in your exe directory?
[Nook Color Android Development] DizzyDen:
Actually you don't need any of it in the directory my program is in... you can browse to any folder to open and update the zip file. When I get home to my computer I will give you what I think is the best ini settings.

The important things would be:

Set Use_Serial_Number or Use_MAC_Address = 1 depending on what you've used in the past... if your current IMEI is the same as your serial or mac (in IMEI test pattern)... change Encrypt_IMEI to 0... change WiFi_IP_Address to your nook's IP address... you can also set your IMEI on the last line and it will use what you input (useful if you only mess with one nook)

[Settings]

Use_Previous_Patch = 1

Use_Serial_Number = 1

Use_MAC_Address = 0

Use_Manual_Input = 1

Encrypt_IMEI = 1

Use_ADB = 1

Use_ADB(usb) = 0

Use_ADB(WiFi) = 1

WiFi_IP_Address = "192.168.1.6"

IMEI =

And actually your situation presents me with another option to include in 1.2:

I think I will include the option to completely bypass the In-Place update as an ini option... for those that have to update several ROM's... it will cut down on the time it takes and save one question to have to answer.... it will default to still asking... but will have the ability to bypass that question for those who are only patching ROM's.

YCGIYWG
[Nook Color Android Development] lemdaddy:
Great program! Thx alot for all the support you provided for me.
[Nook Color Android Development] DizzyDen:
No problem... When I get home from work 1.2 will be uploaded.

Some nive little modifications.

Always remember...

YCGIYWG

(You Can't Get If You Won't Give)
[Nook Color Android Development] DizzyDen:
Current version 1.2

OP updated...

Read the entire OP everytime you download

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

1618 downloads of 1.1 and the only bug noted has been tracked to the user's Java version.

This program is known to work on Java version 1.6.0_23 and known NOT to work on version 1.6.0_15. If your system seems to work fine... but the nook does not give you an IMEI number... check your java version by typing this in a DOS window (start-run and type in cmd):

java -version

this will tell you the version of java you are running... I thought about adding that to the program... but don't want to clutter it with another dialog box.

Modified the adb commands to include busybox so they will work even if symlinks have been messed up (it happened to me ;))

Works on MIUI as well.

NEW features:

Testing of the ROM zip file for corruption prior to any backup or extracting operation.

Testing of the patched zip file for any corruption after patching.

If any of the support files included in the program exist in the folder... it will not extract internal files that exist and will not clean up any support files.

NEW ini settings:

Use_In_Place tells the program whether to enable in-place update (1) or not (0)... does NOT force in-place only permits it.

Clean_Up tells program whether to clean up its files (1) or not to (0)... does NOT force clean up as per note above regarding support files.
[Nook Color Android Development] adusumilli:
looks like I screwed up when running the program. I am getting imei number as "00-cat: c-an't o-pen". what did I do wrong?
[Nook Color Android Development] DizzyDen:
Are you using 1.2 ?...

That appears to be that adb shell cat failed.

I will have to see what is going on... in the meantime... can you refer to post 1 about what info to provide when reporting bugs?

It will be next to impossible to tell you exactly what happened... and for me to track it down and fix it... if you don't tell me what you're doing.
[Nook Color Android Development] adusumilli:
yes I am using 1.2 Thanks for the qucik reply. sorry for not reporting in proper format. I am trying to use this app on cm7.1 rc. I am using wifi adb option.

[Use_In_Place = 1

Use_Previous_Patch = 0

Use_Serial_Number = 1

Use_MAC_Address = 0

Use_Manual_Input = 1

Encrypt_IMEI = 1

Use_ADB = 1

Use_ADB(usb) = 0

Use_ADB(WiFi) = 1

Clean_Up = 1

WiFi_IP_Address = 192.168.0.39

IMEI =

]

These are my settings in ini file, if this helps.
[Nook Color Android Development] DizzyDen:
Does it provide you a pop up with your serial number, mac address and imei it pulled from device?

If so... what of the numbers are messed up?
[Nook Color Android Development] adusumilli:
yes it gives me serial number and mac address. They are valid.looks like the imei it pulled up from device is bad.But the wiered thing is HBO GO works fine now even with this imei number
[Nook Color Android Development] DizzyDen:
Check you pm
[Nook Color Android Development] DizzyDen:
!IMEIme 1.3 uploaded

OP Updated

Current version: !IMEIme 1.3

Read the entire OP everytime you download

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

New check for "cat: can't open" being used in IMEI in certain situations.

FIXED If any of the support files included in the program exist in the folder... it will not extract internal files that exist and will not clean up any support files.... had it checking for the files and setting option prior to reading ini file which then would overwrite it.

Bug reporting thread for !IMEIme
[Nook Color Android Development] DizzyDen:
Java Version Requirement Update

This program is known to work on Java version 1.6.0_23 and known NOT to work on version 1.6.0_17 or earlier. If your system seems to work fine... but the nook does not give you an IMEI number... check your java version by typing this in a DOS window (start-run and type in cmd):

java -version

this will tell you the version of java you are running.
[Nook Color Android Development] DizzyDen:
!IMEIme 1.4 uploaded

Current version: !IMEIme 1.4

Read the entire OP everytime you download

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

258 downloads of 1.3 with 0 bug reports... time to move on with next feature.

NEW features:

The ability to edit build.prop to include Device Manufacturer and Device (optional)... ONLY available if you edit !IMEIme.ini and add manufacturer.

If Device_Manufacturer = anything... then the build.prop will be edited (either on device or in ROM zip file.. depending on what you are updating)

If Device_Manufacturer = nothing... then build.prop will not be edited regardless of Manufacturer_Device setting.

NEW ini settings:

Device_Manufacturer =

Manufacturer_Device =

These can be anything... Device_Manufacturer is not blank then the program will edit build.prop on the device or ROM zip file to include the Manufacturer and Device (optional) you put in. If Device_Manufacturer is blank... Device will be ignored.

This update is NOT to take away from brianf21's awesome app... it is only to save one reboot to set the manufacturer and (optionally) device when updating to a newer release of your AOSP ROM of choice.
[Nook Color Android Development] sitaramp:
I am getting "cat: can't open" error. No other errors.

!IMEIme 1.4

ROM CM7 nightly 136
[Nook Color Android Development] DizzyDen:
What do you mean getting that as an error... it is trying to make that you're imei? Thought I had that solved before,
[Nook Color Android Development] DizzyDen:
!IMEIme 1.5 uploaded

Current version: !IMEIme 1.5

Read the entire OP everytime you download

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

Bug reporting thread for !IMEIme

36 downloads of 1.4 with a bug that could result in IMEI of "cat: can't open"

258 downloads of 1.3 with 0 bug reports... time to move on with next feature.

1618 downloads of 1.1 and the only bug noted has been tracked to the user's Java version.

NEW features:

BUG FIX "cat: can't open" bug fixed (if you got this... this version will fix it.
[Nook Color Android Development] sitaramp:
1.5 fixed it. This release works as expected. Thanks! for your support.
[Nook Color Android Development] lschroeder:
Nightly 139 another success.

Just want to report another success with your program.
[Nook Color Android Development] DizzyDen:
Thanks.... wouldn't ya know it... I finally decide to put the prop.build edit ability in and netFlix takes the necessity out... oh well... now if only everyone would take IMEI requirements out my program will have served an even greater purpose ;)

Until then... and as other situations arise... I'll be here doing what I do.
[Nook Color Android Development] sitaramp:
After I assigned IMEI to the nook the google Market had stopped working. This was because the build.prop had the default bn manufacturer setting.

It would be nice if the instructions on first page included instructions for:

- what values to use for build.prop (for Netflix).

- how to reset market settings (settings, manage apps, market, clear cache, clear data,)

Again thanks for the great work.
[Nook Color Android Development] mr_fosi:
Or rather a link to the Netflix info since this thread is about a program that generates IMEIs.
[Nook Color Android Development] DizzyDen:
I didn't include any instructions for what values to use for NetFlix because anyone running it should have already known it was working for HTC devices... and now their new app doesn't require any build.prop edits... so that is moot point.

No information about resetting market settings because I have never found that to be needed from generating an IMEI... and anyone that has been using netflix and changing their device manufacturer and/or device should have known that possibility anyway.
[Nook Color Android Development] sitaramp:
Noobs like me would save some searches if there were instructions on first post about how to check device IMEI using apps like "Show Me My IMEI"
[Nook Color Android Development] DizzyDen:
But, I included a method to check if you're using CM7... in the thank you's section...

mr_fosi: Continues testing and reporting despite no need to. Tested a few private beta builds to help iron out a significant issue. Also providing information regarding Phone App *#06# IMEI test.

I understand what you mean... but how would I include instructions for all the programs out there? Additionally... I provided information in one of my posts regarding a couple of programs to check the IMEI.

Personally, I think the OP is quite long enough, and grows with every new update.... I like to keep it pertinent to what my program is doing.
[Nook Color Android Development] DizzyDen:
!IMEIme 1.5a uploaded

Current version: !IMEIme 1.5a

Bug reporting thread for !IMEIme

148 downloads of 1.5 with a bug that could result in IMEI being generated without being properly formed.

NEW features:

Leaving new features of 1.5 up since this is just a bugfix... no new features other than fixing unformed IMEI generation.
[Nook Color Android Development] jamur87:
Dizzy,

Thanks to you and everyone for all the work that has gone into this program. I ran into a problem just now running an in place update using version 1.5a of your generator on my stock 1.2 MN NC. I am running adb wirelessly and everything seems to be running fine (IMEI detected, framwork.jar pulled , etc.) until I get to the part where it asks if I want to push the new framework.jar to my device I press yes and the following error box pops up :It appears we have issues updating your device. Your device will not reboot, this should allow you manually update it prior to rebooting."

The window then closes and the program terminates. Can you tell me what I am doing wrong? I am running this on a win 7 64 bit machine with java version 26 update 26 (build 1.60_26-b03). Hopefully i provided enough info.
[Nook Color Android Development] DizzyDen:
I'd suggest going ahead and rebooting... then check IMEI using phone app and dialing *#06# and seeing if it in fact has the IMEI... also check if there is a /system/framework/framework.jar.bak file.... If there is then it pushed the framework.jar and I would have an error in checking for the bak file.
[Nook Color Android Development] jamur87:
Stupid question but where is the phone app? I looked at my apps and do not see a dialer like on my wife's droid phone. Is this because I am using stock 1.2? Using Root Explorer I did not see a framework.jar.bak file in the /system/framework folder btw.

edit I found the phone app in the /system/app folder. my apologies for being a noob
[Nook Color Android Development] DizzyDen:
no apologies needed... just let me know what you see so I can try to figure out what happened.
[Nook Color Android Development] jamur87:
I did not see a backup framework.jar file in the /system/framework/ folder.
[Nook Color Android Development] DizzyDen:
Give me a couple of minutes then check this post for 1.5b... I think I know what happened... some versions of busybox don't like the mv command... check this post in 5 min for new version for you to test.

That's not it... thought I took the mv out and I had....

If you use an IMEI checker from market... does it give you an IMEI?
[Nook Color Android Development] jamur87:
I used a program from the Market called "show me my IMEI". When i pressed the show me button the box remained blank like my IMEI is not set.
[Nook Color Android Development] DizzyDen:
If you haven't rebooted the nook... try that and checking via show me my imei again... if it is still blank then I'd try running the program again... if there's still issues we'll figure out what's going on.
[Nook Color Android Development] jamur87:
I just rebooted, ran generator 1.5a. My IMEI was detected and a popup window showed my MAC Address, serial and IMEI. After the classes.dex compressed I was asked if i want to push the modifications to my device and I clicked yes. Once I clicked yes a few pushing modifications windows popped up then I got the message "It appears we have issues updating your device. Your device will not reboot, this should allow you manually update it prior to rebooting."
[Nook Color Android Development] DizzyDen:
Ok... try this one and let me know....

File removed... no improvement over 1.5a
[Nook Color Android Development] jamur87:
One thing I notice is I get a message my device has an IMEI. If this is true why can't I display it? I just ran version 1.5b and got the same message.
[Nook Color Android Development] DizzyDen:
The IMEI the program is reporting is from a file the program wrote to a different partition on your nook... this is to maintain the same IMEI on a device.

What AOSP OS are you running? manual nootered 1.2? running from eMMC or uSD card?

I have to track down what could be causing your problem... but may have to try to duplicate your setup... I have used this on MN'd stock, CM7, and a few others... on eMMC and SD....

Also, you haven't used any of the busybox installers in market to update your busybox to the newest version have you?

You may want to look into that... but do NOT update to version 1.19... I'd recomment 1.16.2 since that's the version CM7 still uses by default...

The version of busybox installer I'd recommend is by JRummy16.... it will allow more options of version... including 1.16.2 and the option to create symlinks (you do want to check that)
[Nook Color Android Development] jamur87:
I think i found the problem. the system/framework folder was set to read only. I changed permissions and 1.5a ran like a charm. I was able to see my IMEI. Thanks for your patience Dizzy.

:)
[Nook Color Android Development] DizzyDen:
No problem.. but the IMEI generator should set it to r/w to update it... that's why I recommend busybox installer to refresh your busybox install and re-establish symlinks.
[Nook Color Android Development] jamur87:
what is busybox?
[Nook Color Android Development] DizzyDen:
BusyBox is a collection of linux utilities compiled into a source for dev's to use in their projects...

from their website:

BusyBox: The Swiss Army Knife of Embedded Linux

BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides replacements for most of the utilities you usually find in GNU fileutils, shellutils, etc. The utilities in BusyBox generally have fewer options than their full-featured GNU cousins; however, the options that are included provide the expected functionality and behave very much like their GNU counterparts. BusyBox provides a fairly complete environment for any small or embedded system.

BusyBox has been written with size-optimization and limited resources in mind. It is also extremely modular so you can easily include or exclude commands (or features) at compile time. This makes it easy to customize your embedded systems. To create a working system, just add some device nodes in /dev, a few configuration files in /etc, and a Linux kernel.

end c/p
[Nook Color Android Development] newellj79:
N e chance of getting this put into a android app. Sorry if its been asked. I love the program but it would b great to eliminate the need for windows to do it.
[Nook Color Android Development] DizzyDen:
I'll get back to looking into the feasibility of on device app... I kind of put that out of mind when a user took over 10 minutes to recompile framework.jar on a netbook... It may just not be worth it if it's going to take forever to recompile on device.

A nicer method would be to find a way to have TelephonyManager.smali read in a text file, I already have the program write a plain text file named imei to ROM in the same format B&N uses for SerialNumber, MACAddress and DeviceID... I could easily have it changed to write it in formed IMEI format if I can find a way to have TelephonyManager.smali read it when IMEI number is requested.
[Nook Color Android Development] newellj79:
Thanks. Looking forward to it.
[Nook Color Android Development] DizzyDen:
!IMEIme 1.6 uploaded

OP updated

Current version: !IMEIme 1.6

Bug reporting thread for !IMEIme

New features:

Took out a couple of ADB fail screens... it will now only provide one pop up if ADB(usb) and ADB(WiFi) both fail, instead of a seperate one for each ADB method.

With the newest market issues... I have added the ability to edit build.prop to include Device Manufacturer, Device (optional) AND Model (optional)... ONLY available if you edit !IMEIme.ini and add manufacturer.

If Device_Manufacturer = anything... then the build.prop will be edited (either on device or in ROM zip file.. depending on what you are updating)

If Device_Manufacturer = nothing... then build.prop will not be edited regardless of Manufacturer_Device and/or Device_Model settings.

NEW ini settings:

Device_Manufacturer =

Manufacturer_Device =

Device_Model =

These can be anything... Device_Manufacturer is not blank then the program will edit build.prop on the device or ROM zip file to include the Manufacturer, Device (optional) and Model (optional) you put in. If Device_Manufacturer is blank... Device and Model will be ignored.

Still working on on-device app... more to come.