yashsingh1/xdaforums huggingface dataset:
[Nexus S Q&A, Help & Troubleshooting] brownmonkey:
Ahh brilliant. I keep on finding more and more reasons for switching over to CM7. I really should do it. Thanks for the quick answer. :)
[Nexus S Q&A, Help & Troubleshooting] kenvan19:
No problem at all, mate!
[Nexus S Q&A, Help & Troubleshooting] brownmonkey:
So i am now running CyanogenMod7 and its awesome but i still cant do SIP over 3G... are there specific settings i need to set to enable it?

it could well be that t-mobile have just blocked voip over 3g (which is what they said to me when i phoned them up) but i was hoping there is a way around that...
[Sony Ericsson XPERIA X10 Mini] Hooda_mask:
hey guys

iwant to know

can i install wifi hotspot in my x10 mini????? :confused:​
[Sony Ericsson XPERIA X10 Mini] temes:
As I know Eclair does not support WIFI AP, so you have to wait till a stable Froyo comes out... I'm not sure if CM6 support this function, but if you really need this, try to read the CM6 thread.

Temes
[Sony Ericsson XPERIA X10 Mini] Hooda_mask:
Ok

I Will Try
[Sony Ericsson XPERIA X10 Mini] Nitroboy77:
with wifi hotspot you mean wifi-tethering?

because wifi-tethering will not be possible natively with cm6 either.

but as a workaround you can use barnacle wifi tether from the market - it's free an turns your phone into a mobile hotspot :)
[Sony Ericsson XPERIA X10 Mini] supermansaga:
Is that available in Gingerbread? I didn't see it in CyanogenMod v5.
[Sony Ericsson XPERIA X10 Mini] vlissine:
download it from the market.
[HD2 Android Q&A, Help & Troubleshooting and Genera] mtt_73:
Is cwm really useful if i need reinstall it when changing rom? I have seen that most roms need different cwm size, so i cannot restore previous nandroid backup. Am i right or just missing anything?
[Windows Phone 7 Development and Hacking] DutchmanIII:
This has been bugging me for a while now, and it is not clear to me, why anyone would want to shutdown the phone on the lockscreen.

What happens is, when i sit down, the on/off button is presses against my thigh and turns off the phone. I find this to be rather annoying, escpecially since this makes the phone rather obsolete.

is there any way to disable the shutdown functionality while the phone is locked?

is anyone else having this problem or is it just me?
[Windows Phone 7 Development and Hacking] Keefo:
Nope..... sounds like you have a faulty unit to be honest mate lol
[Windows Phone 7 Development and Hacking] DutchmanIII:
seriously? your phone doesnt turn off when you hold down the power button on the lockscreen?

i find it hard to imagine that this might be a hardware issue. nevertheless, i use an HTC Mozart.
[Windows Phone 7 Development and Hacking] welki1979:
Mine shuts down too.... but I have a HD2 with WP7 so I wasn't sure if it was a WP thing or a WP+HD2 thing.
[Windows Phone 7 Development and Hacking] Scrtcwlvl:
Get a case and stop having it hit your thighs. I can honestly say I have never had the power button depressed on accident on my Samsung Focus, with or without a case.

Not really much else you can do unless someone finds a very specific reg tweak.
[Windows Phone 7 Development and Hacking] DutchmanIII:
Oh, thanks for your feedback. well that sucks..

What were they thinking? Who would be too lazy to unlock their phone before turning it off? I really resent the iPhone, but at least its developers had the common sense to add a confirmation slider to the shutdown process. Even WM used to show a dialog box.

Ive now got a pin code on the lock screen and disabled the sim pin. So now, at least, it turns itself back on and connects to the network automatically - provided I acidentally manage to hit the button again of course xD

Hope we find a registry setting that will do the trick, or maybe MS might even be bothered to fix this in one of their very regular updates...
[Windows Phone 7 Development and Hacking] Vintage144:
Im with you on that , my focus (with the case ) shuts down easy when barely touched , Im really surprised the guy with the Focus hasnt accidently shut down, then again if you dont ever put it in your pocket or hold it the wrong way ,I guess that wouldnt happen, Im sure theres a hack for it, but not having (full) access to registry is limiting the chances of creating the string!
[Nook Color General] ourprisonplanet:
Friggin AWESOME :-D Thank you sooooooooo much... I was just looking for this :-D
[Nook Color General] EugeneKay:
Would be better to submit a patch to CM Gerrit that creates a fake-IMEI based off the MAC address - this will break on new CM7 nightlies rather quickly as framework changes are made.....
[Nook Color General] marlonbr:
Worked flawless. Flashed over Nightly 31.

I suggest you do what EugeneKay said: submit a patch to CM. A hack for this would be good for everyone.

If it isnt accepted, or something, I suggest you tell us how to do it, because I will need that.

Thanks, you made my week now.
[Nook Color General] pietrucci:
REMOVED: Wrong section
[Nook Color General] mthe0ry:
Hi Guys,

I am aware there is some continued interest in this and I really want to get this pushed into CM7 as an official update. After just a little bit of cursory discussion in #nookie, most of the devs agreed a patch would *not* be illegal, because the nook does not have a cellular radio.

As soon as I get some time to do some test builds and get some stable code, I will submit a CM7 patch. I am a bit of a Git/Gerrit noob so if someone here already has a repo and build environment set up and ready to go, it may be faster for me to simply tell someone else what files/methods to modify so we can get a working test build.
[Nook Color General] openallnight:
I can do this. I have a build env thats ready to go. The one thing i noticed though is that it doesn't work with preinstalled versions of Swype as was the case with me. It took a few trials but i had to make this change and then redownload swype Beta using a different login/email and then it was smooth.

I will try to generate a device id using net.hostname and see how it goes. does anyone know if that is unique enough?

thanks!
[Nook Color General] ateld:
Works great! Thanks so much!

I'm going to see what happens when I titanium backup it and move to a different rom.

Edit: Also, your framework.jar that replaced the stock Phiremod v5.2 breaks the rotary tab unlock and it causes GAPPS to crash on initial bootup. :P
[Nook Color General] kevinat0r:
Anyone else notice their device lags after swapping the framework.jar file? I'm extremely happy this is working now, and other games are working...but the lag sucks.
[Nook Color General] cowballz69:
Swipe doesn't cover the whole bottom of the screen? this also fixes the issue with home run battle it now plays on my nook!
[Nook Color General] nolook:
anyone get swype working on honeycomb? using thumb keyboard but even though its good would prefer using swype...
[Nook Color General] marlonbr:
+1 for that!

This feature is necessary for us not only because of Swype and should be on CM.

I suggest you talk to mad-murdock, who is making lots of new features tablet-wise for CM.

Thanks.
[Nook Color General] Main Target:
I moved the original framework.jar to framework.jar.bck and put the new one in. Rebooted nook and now im sitting at A N D R O I D and a blinking cursor. Any ideas?

EDIT - I Reflashed Mad Murdocks build and i am booting again. I am not too familiar with what the framework.jar file is for, but i guess whatever changes are made in this build, probably depend on the framework.jar that is flashed with the tablet builds. Can someone confirm or did I mess up? Swype keyboard teases me currently with limited functionality :-(
[Nook Color General] MajTom:
After replacing the original framework.jar with the updated copy and rebooting, I had the same problem. I had just updated to nightly 35, so I put that back on. Looks like it just replaced the framework.jar back to the one that was there before, dated 1 Aug 08. Without changing the framework.jar swype originally worked for me, but only in "limited" mode. I beleive this means it downloaded the version for my phone as opposed to the one for my NC. Applied with new email and got the right version, which doesn't work with the original framework.jar. Any idea why it's not booting with the changes? Would love to have Swype working on my NC!
[Nook Color General] Calla969:
running the latest tablet tweaks version of cm7 and replaced my framework.jar, I'm also stuck at the android screen. I really want to get this working. I'm getting an imei number error trying to install copilot live. hoping this will solve it if I can get it working.
[Nook Color General] britoso:
Wow this is huge, can you post or PM me exactly which file you edited and what you added :). I'm on nookie comb (froyo) and cant use that jar.
[Nook Color General] miketunes:
Also now stuck at the android screen, I did backup up jar file to my sdcard first. Running CM7 final. How do I get booted again? Clockwork recovery doesn't seem to be working, but I can probably update my SD card with CWR again. Once I'm in clockwork what's the best way to put back the original framework.jar file?
[Nook Color General] miketunes:
back up after reflashing CM7 - still no swype though
[Nook Color General] dinobud:
This is unfortunate as I'm eagerly awaiting a stable IMEI. SlideIT is just not as polished IMO...
[Nook Color General] marlonbr:
Agreed.

The first solution was great, but we need one for CM7 Stable, at least.

Thanks again!
[Nook Color General] mthe0ry:
Hey guys I just wanted to drop in and say SORRY I abandoned this post... For a while I was trying to get the code pushed into CM7 but it looks like there is just not enough developer interest and it is somewhat controversial as a practice to merge this code into the branch. If anyone has any difference of opinion there you are welcome to join me in fighting to have it put in our build.

Anyway I am at work right now but when I get home I will create a version of framework.jar for the stable release, a framework.jar for phiremod (what I'm using currently) and I'll also put up the detailed instructions on how I do it... It's not really that complicated, I'm a total Android noob although I do have a fair amount of coding experience. That way if I ever disappear again the resourceful among you guys can recreate it
[Nook Color General] iolinux333:
I am looking forward to it. I paid for slideIT bit it refused to register to my reflashed nook. the company refused to refund me because they said I wasn't using an approved OS. WTF????? then they stopped responding. they are Thieves based in Israel.
[Nook Color General] Main Target:
Looking forward to it! For now the keyboard without swype capabilities is still the best in my opinion for just regular typing too
[Nook Color General] mthe0ry:
Finally updated this *****. I haven't tested both zips on both roms but I can't imagine what would go wrong during the process since it is so simple, both should work. However the IMEI may be different from my previous published version so you may need to re-register with swype under a different email if it doesn't work at first.

Please do let me know here if it works for you though.
[Nook Color General] jiixin:
Thanks for posting this up! Thought I'd try modifying the the code on a rooted 1.1 eclair but no go. Swype Installer gets to "fetching Swype versions" and then gives the "Swype Installation Failed. There was a data error..."
[Nook Color General] knaries2000:
Thanks mthe0ry for this and the clear instructions on how to patch new framework. I took the liberty of patching cm7 7.0.1 following your instructions. It was quick and simple. In case anyone is interested.
[Nook Color General] dennisi01:
Im on 7.0.2 and used the framework.jar - then tried to install swype - it gave me a device mismatch error
[Nook Color General] knaries2000:
Since I already did 7.0.1 mind as well do 7.0.2 too. here it is. I tested it on my nc and swype works fine. Agains, thank you mthe0ry for your work.
[Nook Color General] focgreen:
Thank you! This got the SiriusXM app working for me!

#winning
[Nook Color General] Cyphernaut:
IMEI numbers

Why is there only 14 numbers in the string? Shouldn't there be 15 digits for a proper IMEI or are the applications merely searching for the presence of the string? Thank you for your help in advance!
[Nook Color General] boogerboy72:
you should do the latestest phire mods while your doing it!
[Nook Color General] boogerboy72:
i got the same also. i suppose ill have to sit down and do it the hard way.
[Nook Color General] combustion8:
thanks, how can I install this? I get an error when trying to use "install from zip".
[Nook Color General] huxleyan:
I just patched the framework.jar file for CM7 7.0.3 using the method in the OP and pushed it to my Nook.

Swype and SiriusXM both work just fine.

It's attached, hopefully it will save a few people all the recompiling steps.
[Nook Color General] NotMyProblem:
Thanks for all the work on this. Swype was the only thing that my nook was missing.
[Nook Color General] reynart:
Any1 tried it on CM7 2.6.32 Beta 3.1?
[Nook Color General] knaries2000:
here is one for .32 beta 3.1

removed framework.jar for beta 3.1, people had problems boot after using it. didn't others to hit the same problems.
[Nook Color General] EverythingNook:
do any of these work for the new nightlies?
[Nook Color General] giantsfan:
Thanks! HBO Go and Sirius XM now work:p. I am getting a fc error at boot though, concerning google.process.gapps. I tried clearing cache, but it remains. It only seems to happen that once and booting takes a long time. Any ideas anyone?
[Nook Color General] paleh0rse:
My nook won't boot after using this 3.1 beta version of framework. It just goes black after "Read Forever," and stays that way... :(
[Nook Color General] giantsfan:
Ah jeeze...sorry to hear that. Did you make a backup that you can restore in CWM? How about just reflashing the 3.1 rom?
[Nook Color General] knaries2000:
Sorry to hear that your nc won't boot. Unless the upload or download is corrupted I didnt have any problems with that frameworks. I just did exactly what the instructions said in the op. You should be able to just flash 3.1 Rom again without wipe. It will restore the original framework. Is anyone else having issue with that frameworks file? I can take it down in case the upload was corrupted.
[Nook Color General] n0xx187:
I used the .32 beta 3.1 one you uploaded and got FC at start up of the OS and my task bar would randomly FC to im going to make my own today and see whats up..

Edit.. any one know how to run this command on mac?

> java -jar baksmali-1.2.6.jar framework.jar

Thanks
[Nook Color General] n0xx187:
Ok so I booted up Windows installed the java SDK set my Environment variables and JAVA_HOME...But im getting a Main Class error when trying to execute the Command Java> -jar baksmali.jar framework.jar..

I think i need to set a class path or some thing like that but I dont know any thing about coding.. If one of you Java guys could help me out and point me in the right direction that would be awesome.. I was looking on the java wiki but that just confused me a bit.

Thanks

Edit: Ok so I tried the same thing on my mac and I get

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 General] the_duck:
Works on NC w/CM7.0.3 & Dalingrin's OC kernel [4/04/11] at 1100mhz!

Thank you! Downloaded your "framework.jar.zip" file & did the following:

renamed it "framework.jar"

then put it in my dropbox folder on my PC

used ES File Explorer (with following settings checked: Root Options/Root Explorer [X], Mount File System [X])

went to "system --> framework --> framework.jar (long press then "cut", then navigated to sdcard root and then menu/operations/paste to have as a backup)

navigated to dropbox folder on sdcard, long press your "framework.jar" file then cut

navigated back to "system --> framework" folder, then menu/operations/paste

exited & rebooted and now works (reboot took a little longer, but ended up OK)

if you have problems figuring out how to use ESFile Explorer, I basically followed the same steps I used to get the Netflix app working on my NC (device wasn't supported so I had to change the "build.prop" file entry on my device to Nexus S). If you're interested in that video, go to YouTube & search for this (I'm not able to post external links yet): How to get Netflix to Work on the Nook Color and Other Non-Supported Android Devices

My Device: Nook Color running CM7.0.3 & Dalingrin's OC kernel [4/04/11] running at 1100mhz

WOOT!
[Nook Color General] martian21:
Here is a framework.jar for CM7 beta 3.1

Made the switch to the CM7 beta 3.1 and needed to get my Swype back.

Attached is a modified framework.jar from the "update-cm-7.1.0-RC0-encore-2.6.32-beta3.1" ROM

Standard Disclaimers apply: Use at your own risk, I take no responsibility...

DO NOT FLASH WITH CLOCKWORKMOD! - unzip and add with Root Explorer.

Martian21
[Nook Color General] philburkhardt:
I was wondering this too. Some apps, like Gameloft games, are specifically looking for 15 digits.

Does anyone know where to add the 15th digit? Does the placement of the dashes matter?

Edit: I don't think it matters for the nook. Didn't do what I wanted it to though. Oh well, back to the drawing board.
[Nook Color General] martian21:
Here is a framework.jar for CM7 Nightly 82

Attached is a modified framework.jar from the "cm_encore_full-82.zip" ROM

Standard Disclaimers apply: Use at your own risk, I take no responsibility...

DO NOT FLASH WITH CLOCKWORKMOD! - unzip and add with Root Explorer.

Martian21
[Nook Color General] jzibit17:
I'm going to give the n82 framework a try once I update to n82. thanks for the file
[Nook Color General] BroDroid:
what will happen if I use this framework file wit nightly 83?

Sent from my Droid
[Nook Color General] martian21:
Don't know. haven't tried 83 yet. You could diff the framework files between 82 and 83 and if they haven't changed them it will work. Otherwise I may be able to put one together later today.
[Nook Color General] martian21:
Since this has been confirmed to work with the free version of the XDA App as well as HBO GO, I've started a new thread to give it more visibility.

New thread is here:

http://xdaforums.com/showthread.php?p=14045926#post14045926

New files for CM7 nightly 83 & 84 are posted in the new thread.

Full credit to mthe0ry
[Nook Color General] hoyer801:
Not wanting to risk it, I went through the lengthier process of extracting the framework.jar from the nightly 85 build and went from there rather than using the attached file.

It works beautifully. Really appreciate the instructions.
[Nook Color General] DizzyDen:
If you look at the instructions in the original post... there's a "3" skipped in the last set of numbers.... That is where the 15th digit would be.

Currently I am testing with my 16 digit serial number... if it doesn't work I'll drop the last digit (the last 4 are 0's on mine anyway) and see how that works.
[Nook Color General] DizzyDen:
One possible issue I see with the OP's method....

The line references will be thrown off... look just above the GetDeviceID section we are replacing.... there's a reference to .line820.... however after the change line 820 is not the original line 820... thus the call to that line will not work correctly....

I am working on a method to replace the same number of lines we are removing... more to come.

Actually... instead of modifying to replace same number of lines... I opted to try this method...

1. Replace the line ".method public getDeviceId()Ljava/lang/String;" with ".method public getDeviceId2()Ljava/lang/String;"

2. Go to the end of the file and paste the info from OP.....

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

.prologue
new-instance v1, Ljava/lang/StringBuilder;
[b] const-string v2, "12-345678-901234-5"[/b]

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

The bold above is corrected IMEI structure as noted Here.

NOTES:

You can (and should) chang the IMEI in bold above to match your device serial number... leaving extra 0's off.

You can also use 17 digit IMEI as noted in the above linked documentation.

You can also use the 16 digit serial number of your nook... this is known as IMEISVN schematic.

You should probably use 00-XXXXXX-YYYYYY-ZZZ or 00-XXXXXX-YYYYYY-ZZ since beginning 00 indicates "Test IMEI" by the international standards.
[Nook Color General] meade18:
this worked perfectly, thanks (i don't know how to "thank" you so your thanks meter goes up, sorry.
[Nook Color General] mthe0ry:
Hey all,

Huge thanks to all the guys who are posting updated frameworks for the nightlies and other mods!

Just wanted to address a few concerns and questions I saw here:

First, If you see "Device ID does not match" that is a validation from the Swype servers that is essentially saying "hey, the IMEI on this device is not the IMEI that you registered (first used) this beta account for". Likely what you are doing is trying to use your swype beta account from your phone on your nook as well. This won't work. You need to create a new beta account, which is as simple as supplying/creating a new email address (so long as the Swype beta remains open......)

Also, as a poster astutely pointed out, the .line flags no longer are aligned with how they were originally when you recompile the smali code. My understanding is that the .line codes are inserted by smali to increase readability and there is no harm in not making them strictly "correct". This is why the recompiled version with incorrect .line tags still works.

As for the 15 digit imei vs 16 digit imei etc questions, really I have no answer for that. I simply went off the wikipedia page which claims there are valid forms of imei that are 15 digit and valid forms that are 16 digit. I went with the 15 digit because the 16 digit supposedly encodes a software version, which I worried might mess with other programs. http://en.wikipedia.org/wiki/International_Mobile_Equipment_Identity

Apparently the IMEI standard is pretty 'ad-hoc' at best... they change the standard to match what is needed seemingly arbitrarily. This might explain why the API call to get the IMEI in android involves no validation logic whatsoever, and it is returned as a string (which therefore does not preclude weird things like dashes).

I suspect you could put just about *anything* in the return statement and it would work. If it doesn't, it's probably logic at the application level which is rejecting it, and at that point it's anyone's guess what validation they are using...
[Nook Color General] DizzyDen:
One issue I have with your adressing this is.... if you extract the modified TelephoneProvider.smali the line numbering is NOT changed... so smali is NOT compiling them on the fly.... this is specifically why I change function getDeviceID() to getDeviceID2() and append modified getDeviceID() to the END of TelephonyProvider.smali... this will minimize any potential problems we may not see as of yet.

As for 15, 16 or 14 and/or 17 digit IMEI's... of which ALL are correct... the number of digits indicates which version was in effect at the time the IMEI was generated.... I chose 17 digits so I can include as many digits of the device serial number possible... thus minimizing potential for duplicate IMEI's.

Additionally, according to the standards... you should at least begin the IMEI with 00- to indicate it is a "test" IMEI. While perhaps still not 100 "legal" or "legit"... it should at least be used to minimize potential conflict with an existing user IMEI.