yashsingh1/xdaforums huggingface dataset:
[Vibrant Android Development] iuss:
Thanks.

The issue here seems to be that the (original) Samsung RIL dispatches emergency calls through requestEmergencyCall (RIL_REQUEST_DIAL_EMERGENCY/10016).

This appears to result in at least two noticable differences. First, an emergency call through the regular interface (which fails):

E/RIL ( 111): TX: (M)IPC_CALL_CMD (S)IPC_CALL_OUTGOING (T)IPC_CMD_EXEC len:63 mseq:3b aseq:0
E/RIL ( 111): TX: ---- DATA BEGIN ----
E/RIL ( 111): TX: 00 01 00 03 21 39 31 31 00 00 00 00 00 00 00 00
E/RIL ( 111): TX: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
E/RIL ( 111): TX: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
E/RIL ( 111): TX: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
E/RIL ( 111): TX: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
E/RIL ( 111): TX: 00 00 00 00 00 00 00 00 00 00 00 00
E/RIL ( 111): TX: ---- DATA END ----

The first two bytes form an uint16, presumably the call type. In this case: 0x100. For video calls (requestDialVideoCall) this appears to be 0x300, in case of an emergency call (requestDialEmergency) 0x700.

Secondly, Samsung's original high-level radio interface (GsmCallTracker.class->dial) reformats emergency call phone number strings to '$number/$category'. Category, however, seems to be an empty string for 911/112. For emergency numbers 118/119 it passes category 8/6.

Either the call type or missing slash (there's no category appended for 911) in the phone number causes the modem to incorrectly execute the call.

Solution: route emergency calls through RIL_REQUEST_EMERGENCY_CALL, optionally appending the emergency call category (if needed).

Forward this to your device maintainer. It may also apply to other non-Nexus S phones(!).
[Vibrant Android Development] KWKSLVR:
That's similar to what I've been experiencing. kswap will go nuts sometimes. I've also noticed that mine rarely sleeps when plugged in (screen off of course). It did get better since flashing #84, which I'm still on. I also ordered 3 new OEM batteries. The new batteries make a noticeable difference, but not a significant one if that makes sense. I haven't Odin'd back to stock yet because I've been SLAMMED with work. It'll probably be a few more days before I can but I'm going to Odin back and flash whatever the newest nightly with Vibrant changes is and see how it runs.

What I have noticed is that pretty much everywhere I go that has 3G gives me issues where the phone swaps between "HSDPA" and "UMTS". I can watch System Panel and tell that every time it happens, which is 1-3 times a minute, there's a surge in CPU. That appears to be a tower issue on T-Mobile's end from the looks of it. I know a lot of people have filed complaints with T-Mobile over it. The phone behaves much better on Edge.

It also has issues with displaying proper battery stats (even though they've been reset). I know this was apparently resolved in a later nightly that I haven't flashed yet. At 5% battery left is will last another couple of hour on standby, or sometimes with 15% left it'll be gone in 30 or 45 minutes (all with the same battery).

If I go to the gym and keep it on 3G and stream radio/music or even just listen to podcasts, I can walk out an hour later and have anywhere from 55%-63% battery left after starting on a full charge. You can tell that those processes use a LOT more CPU than they should. That, plus any issues caused by the 3G towers around me, mount to massive, massive drain.
[Vibrant Android Development] Dougfresh:
The last two nightlies have blank changelogs.what's up with that.are they just repeating #87 or are there improvements.
[Vibrant Android Development] lifehijack:
I m wondering the same. :confused:
[Vibrant Android Development] strictlyrude27:
I sent a PM to birgertime about it, hopefully he can work on it or forward it to atinm or someone else working on our device. This is likely also an issue with other SGS phones...
[Vibrant Android Development] Rayn1328:
im fairly new to cm7....started on 85..........are there opinions on the best of the nightlies or just keep updating? thanks.
[Vibrant Android Development] GreenDroidX:
The lastest seems to be good. I update every 10 nightly or so. Or if there is some really big changes
[Vibrant Android Development] Rayn1328:
Thx
[Vibrant Android Development] ironlood:
If there's no changes in the change log it means there has not been a change to the code. They may be working on hammering out a few kinks before commiting.

Sent from the depths of Norwegian black metal
[Vibrant Android Development] gamikzone:
it would also say in the commit what has been changed and for what device
[Vibrant Android Development] Dougfresh:
So what you're saying is there's nothing new or updated on the last couple of updates. Would it be beneficial to update anyways? Thanks
[Vibrant Android Development] gamikzone:
depends what build your on say like your still at 80 or below i would suggest updating to the latest if not theres not really any need, im currently on 87
[Vibrant Android Development] Dougfresh:
Definitely not on old ones.I'm a flash connoisseur so I'm on 88,but recently been seeing blank changelogs.I should just wait since my vib is tricked out w/ some metamorph xmls and bootup sounds and bootanimations and custom kernels,etc.Every time I update, I gotta redo everything.
[Vibrant Android Development] gamikzone:
yea i dont update when there is no or a minor update even though i love flashing i hold it off for like 5 days :p and i feel it i always wipe and do set up just to avoid problems
[Vibrant Android Development] igor.ibit:
i'm running #89 and the device keeps resetting itself every now and then.

Did anyone notice this behavior?

Im OC to 1.3 and UV 50 in all frequencies.
[Vibrant Android Development] Dougfresh:
Don't uv.But I think it goes a little farther an that.I would suggest to do a factory reset in recovery and wipe cache and dalvik then reboot.If it's the same issue then odin.
[Vibrant Android Development] KWKSLVR:
I've been on #89 for a few hours, no UV or OC and it's been fine...not that a few hours is really long enough to know anything. ;)
[Vibrant Android Development] Dougfresh:
You should notice issues in the first 20 min.I say you're good but go into recovery now and wipe cache and davlik and fix permission just for safe sake. Reboot after 5-10 min.GOLDEN!
[Vibrant Android Development] nedlog:
Not that it matters, but I noticed the nightlies jumped to #95. :eek:
[Vibrant Android Development] nedlog:
Has anyone had time to look at and fix the 911 issue. Just asking. I'm fully aware that time is precious. I still think CM-7 rocks even if 911 never works. I can always call T-Mobile and they can call for me.:)
[Vibrant Android Development] gamikzone:
i noticed too i wasnt planning on updating my phone again till nightly 95, but i guess i might as well update today :p
[Vibrant Android Development] lifehijack:
Updated to build #95. For a change, I decided to go with glitch kernel. Good combination. : D
[Vibrant Android Development] Romanbb:
Hey guys,

I talked to iuss and he basically spelled it out for me. I compiled a test run and it seems to work with 911. This method seems really hacky so I doubt Atin/CM will accept it but I will post it either way.
[Vibrant Android Development] gamikzone:
its better to take a chance to make sure 911 works, instead of not testing and having it not work, this could be a potential issue for someone :eek:
[Vibrant Android Development] nedlog:
Thanks man; appreciate the effort. :D
[Vibrant Android Development] vibey101:
I remember I had to call 911 on a Samsung rom and it didn't work. Does it have to do with anything?
[Vibrant Android Development] ChristoA1:
May you never have to call 911 ;D

Sent from my AOSP MyTouch 4G
[Vibrant Android Development] strictlyrude27:
When it comes to 911 I think a hacky fix would be better than no fix at all.
[Vibrant Android Development] notverycreative:
I would agree, but Cyanogenmod doesn't allow device-specific hacks to make their way into other devices' code, which is what this would require, if I'm understanding this correctly. But an exception may be made since this can be the difference between life and death...
[Vibrant Android Development] Locksmith81:
Hey I noticed the new CM setting that allows you to switch between internal/external memory but the option is grayed out for me. Anyone else have this enabled?

from the amazing Jets Bread
[Vibrant Android Development] Locksmith81:
Can your phone charge while powered off?

from the amazing Jets Bread
[Vibrant Android Development] lifehijack:
Nope. Doesn't work with Glitch kernel. It works with default kernel though.
[Vibrant Android Development] iuss:
I'm reasonably sure pretty much all Samsung devices support the RIL_DIAL_EMERGENCY_REQUEST and even use it in 'original' firmware images. Heck, even Nexus S RIL appears to support it, Samsung had to hack their code to make it AOSP-compliant for Nexus..

That said, 911 apparantly works fine on those devices using just RIL_REQUEST_DIAL, without verifying each device's original framework, it's not worth risking breakage..
[Vibrant Android Development] lifehijack:
Guys I'm so sick of reading about the 911 bug. I'm sure you don't have to call the police every day. If you feel so insecure, either buy a home near the police station or use a different ROM.

PLEASE STOP COMPLAINING ABOUT THE 911 BUG..........
[Vibrant Android Development] agosine:
I have two questions that I have not found answers to through searching so if anyone can help it would be appreciated.

1. Not an issue, but has anyone else noticed that their carrier shows by number instead of name. I am with Mobilicity in Canada which shows as 302320.

2. With Samsung ROMs it is possible to lock my phone to only use certain bands. In my case 1700 UTMS and 850 GSM. Is this possible with CM7? A line in the build.prop maybe?

Thank you.
[Vibrant Android Development] INeFFeCTiVE:
Does anyone have a copy of nightly 72 that i can flash?
[Vibrant Android Development] jad3675:
http://download.cyanogenmod.com/get/cm_vibrantmtd_full-72.zip

John
[Vibrant Android Development] INeFFeCTiVE:
Thanks but 404'd me... :o
[Vibrant Android Development] jad3675:
Sorry, wrong link.

http://goo-inside.me/cm/vibrantmtd/nightly/cm_vibrantmtd_full-72.zip

John
[Vibrant Android Development] INeFFeCTiVE:
:P Beat me to it :)
[Vibrant Android Development] avengethis1:
anyone know how to do the change of the internal sd card that started in #95 is there a option im missing from somewhere.
[Vibrant Android Development] strictlyrude27:
Are you ****ing retarded? Of course nobody needs to call 911 daily. But if you need it and can't get to it it really could be a life and death issue. Read some of the posts here where people have needed emergency services but failed to get it. Lucky they had other ways to get in contact, but what if they couldn't? What would you do if you watched a car accident happen and you were the only witness? Would you run home real quick and ODIN back to stock before calling 911?

This isn't a bug like non-working GPS is a bug. Lives can literally be at stake. You can ignore the discussion about the bug but you have no right to say "go flash a different ROM if you want emergency services". That's immature.

Not to mention, it's a bug and we know the fix for it. So if anything it's evolved into a technical discussion.

Jesus, I have no words for how dumb I think you are. Nobody is making you read posts about 911. I quit reading posts about most bugs a long time ago. It's really petty if this discussion bothers you so much that you have to tell people to stop discussing a literal life-and-death issue so you can enjoy the thread in peace.
[Vibrant Android Development] jad3675:
Speaking of 911...would Roman's fix break working 911? I'm not on tmo and I'm able to dial 911. I don't know if 911 breaks if I travel out of my home calling area though. I roam on the tmo network.

It looks to be a carrier issue and not necessarily a ROM issue, no?

John
[Vibrant Android Development] ironlood:
This is irritating more then the 911 discussion. Who the hell put you on a high horse and said rant.

Cyanogen mod is offered as is with and with out bugs. Small bugs to large bugs the choice to run CM is yours and yours alone. Simple solution is to switch roms and deal with it until CM has the issue resolved.

Next level solution call your local non emergency and say OMFG I haz emergency they will patch you to emergency and problem solved.

Sent from the depths of Norwegian black metal
[Vibrant Android Development] lifehijack:
Dude, I feel like you're living near Afghanistan border. But I live in a very secure country and unlike you, we've got 10 different emergency numbers which can be dialed regardless of ROM.

To sum up, its not your fault. :(
[Vibrant Android Development] Romanbb:
I can't seem to upload to CM gerrit for some reason, so here are the code changes if anyone wants to try and upload it (so others on other phones can test, etc etc)

Add the following method to frameworks/base/telephony/java/com/android/internal/telephony/SamsungRIL.java

@Override
public void
dial(String address, int clirMode, UUSInfo uusInfo, Message result) {
RILRequest rr = RILRequest.obtain(RIL_REQUEST_DIAL, result);

if (SystemProperties.get("ro.ril.oem.nosim.ecclist").contains(address)) {
rr = RILRequest.obtain(RIL_REQUEST_DIAL_EMERGENCY, result);
}

rr.mp.writeString(address);
rr.mp.writeInt(clirMode);
rr.mp.writeInt(0); // UUS information is absent

if (uusInfo == null) {
rr.mp.writeInt(0); // UUS information is absent
} else {
rr.mp.writeInt(1); // UUS information is present
rr.mp.writeInt(uusInfo.getType());
rr.mp.writeInt(uusInfo.getDcs());
rr.mp.writeByteArray(uusInfo.getUserData());
}

if (RILJ_LOGD) riljLog(rr.serialString() + "> " + requestToString(rr.mRequest));

send(rr);
}

and of course you'll need to add the new constant to the top of the class

//SAMSUNG SGS STATES
static final int RIL_UNSOL_STK_SEND_SMS_RESULT = 11002;
static final int RIL_UNSOL_O2_HOME_ZONE_INFO = 11007;
static final int RIL_UNSOL_DEVICE_READY_NOTI = 11008;
static final int RIL_UNSOL_SAMSUNG_UNKNOWN_MAGIC_REQUEST_2 = 11011;
static final int RIL_UNSOL_HSDPA_STATE_CHANGED = 11016;
static final int RIL_UNSOL_SAMSUNG_UNKNOWN_MAGIC_REQUEST = 11012;
[B]static final int RIL_REQUEST_DIAL_EMERGENCY = 10016;[/B]

Please thank iuss for the solution, he basically baby stepped me through it, I just filled in the Java parts :)
[Vibrant Android Development] zmattmanz:
Yeah... 911 is kind of critical. Everyone else getting random reboots as well? I think I'm on 89 now.
[Vibrant Android Development] :
Well, let's hope you don't live in the US then, since there's about 6.5 million car accidents per year.

As a related point to the seriousness of the bug: Rogers stopped all sales of the HTC Dream when it had a CORRECTABLE bug that prevented 911 calls from completing. Also, if there's 10 emergency numbers available in your country, please list them here so that people from wherever you're from can get in touch with emergency services when needed.
[Vibrant Android Development] ChristoA1:
Let's keep this a technical discussion and not a flame war. Some value 911 calls more than others. We get it. It's a bug no matter how you look at it, and this is a discussion thread regarding nightlies, including bugs.

TL;DR Let's act like adults.

Sent from my AOSP MyTouch 4G
[Vibrant Android Development] renardk764:
Interesting v viewpoints on the 911 bug. But it goes a bit farther than just calling in the occasional traffic injury. All phones, including cell phones must be capable of dialing 911 per federal legislation. Even when not under a contract with a carrier. Second point is over fifty percent of homes have ditched landlines and moved to cellphones. For many, the difference between life and death reside in these little devices. I've worked as an ems 911 operator for ten years. I have thirty cardiac arrest saves, talked three fathers through delivering their children and a couple of poor souls from ending their lives.

911 calls go through a special circuit that provides detailed information to the 911 operator, such as gps coordinators. This data is invaluable when trying to locate someone lost in wilderness areas. I used this data just three weeks ago to locate someone who was geo catching and fell, leaving him critically injured. He was alone, and unable to give direction to his location. If he had dialed one of our alternative numbers, I wouldn't have had the gps data and we probably wouldn't have found him. He's alive today because 911 worked on his phone.

911 capability is important, federally mandated, and saves lives. I applaud romans efforts and I'm confident the CM developers will make sure it's fixed. The liability is way to high for them, regardless of the buyer beware disclaimers.

Ken R
[Vibrant Android Development] Wizeblood:
I'm on TMOUS And couldn't dial it the night before last...

~Thanx! You know what you did!~
[Vibrant Android Development] chev:
Is there a way we could censor-out the word GPS in this thread? Ya'll know Vibrants GPS isnt working properly since sammy released it.
[Vibrant Android Development] zyrinx:
So, in turn, we would have been fortunate enough to censor out your last post?
[Vibrant Android Development] CTown:
It has amazing Arabic support!

Yes, it does. Just activate other keyboard languages:

1)In Settings go to: Language & Keyboard-> Android Keyboard->Input languages

2)And you will find a list of keyboard languages. Select one of the two Arabic options (the first two options in the whole list, Egyptian or Israeli).

3) Add all the languages you want, don't forget to select an English keyboard!

4)When you use the keyboard you can switch languages by sliding your finger over the space bar.
[Vibrant Android Development] mulcahyd:
Anyone tried to use that vibrant kb5 for this rom, and where can I download it
[Vibrant Android Development] iynfynity:
here you go.

http://www.multiupload.com/GANSUW84S5
[Vibrant Android Development] CTown:
Get the modem from this thread: http://xdaforums.com/showthread.php?t=868774

It does not matter whether you download the CWM or Odin flashable kind. Extract the .zip and look for the "modem.bin".

Follow the instructions in this post by Scrizz while using the "modem.bin you just extracted":http://xdaforums.com/showpost.php?p=11451496&postcount=34

1)So put the modem.bin on the root of your sdcard (internal one I think).

2)In the terminal type "su".

3)Type:"busybox dd if=/sdcard/modem.bin of=/dev/block/mtdblock5".

I hope that still works!

edit: nevermind the post, didn't know a flashable modem for CM7 was made. iynfynity's instructions are much easier to do.
[Vibrant Android Development] treyvaporizer:
How did you fix the status 7 error aborted thing in recovery?

Nevermind, its working now for some reason.. haha
[Vibrant Android Development] Jackdog89:
I just got rid of all of my friends using iPhones. Problem solved. :D
[Vibrant Android Development] papazche:
I have it the same. Is this issue fixed already?
[Vibrant Android Development] hitman818:
Mine is working perfectly.
[Vibrant Android Development] baderfgt:
Yes, it does. It support it very well actually (r/w) :)

Edit: I was talking about the Arabic support but someone answered that already.
[Vibrant Android Development] BoomBoomPOW:
Camera app force closes for me =/
[Vibrant Android Development] cojonesx:
have you tried to clear the camera data like suggested earlier in this thread?
[Vibrant Android Development] Jasonhunterx:
I just tried that and it works perfect thanks unflashed rom cuz of that thank u so much
[Vibrant Android Development] herbie7159:
OK I need some help.

I have read all over and cant find what im looking for.

When im in CW to do anything I get errors on everything.

error mounting this and error mounting that. When I do a factory reset, wipe cash, install a new .zip file.

I need help!!!

update got it working after doing more reading and play around with stuff. Best forum for Droid phones.
[Vibrant Android Development] BoomBoomPOW:
Yay! It works now :D picture time!!
[Vibrant Android Development] barribow:
Thank you, well in fact by that I mean more reading Arabic language because it needs special character shaping for that. Ok I will install this and see how is the reading and report it here.
[Vibrant Android Development] d_phekt:
Nice! I see good things happening due to this. Thanks Jay, atinm, and everyone else helping to make CM7 what it is and will be for our SGS.
[Vibrant Android Development] Mannymal:
I hope we get a fix for the mute/unmute problem because I'm getting it on every call and its turning into a big problem :( is there any way we can help? are logs needed?
[Vibrant Android Development] chev:
Ok then, please do so
[Vibrant Android Development] Xenoism:
First I'd like to say that I've been using Cyanogenmod for some time and am very pleased with it, and I thank the developers.

I am having one issue that I cannot seem to resolve though.

Whenever I try to use the stock wifi tethering that is built into cm7 I am able to connect to the device, but only with limited connectivity, no internet.

I am currently running cm7 nightly build #85 with a v12 beta glitch kernel, does anybody have any suggestions for how to get connectivity with the built in tether?

Thank you in advance!
[Vibrant Android Development] jzero88:
Not sure if its the new battery calculations in the rom or the Bali kernel but I am getting beautiful battery life. Double what I was getting off of #84, I'm on #95 now. UV -50 with Max freq at 800. Ill be getting 18 hours of moderate use. Loving it :)
[Vibrant Android Development] GreenDroidX:
How do u undervolt and adjust CPU frequency? Do u have to use an app? If so which one. The performance option within cyanogen just let me change freq
[Vibrant Android Development] notverycreative:
Use Voltage Control from the Market.
[Vibrant Android Development] notverycreative:
Are anyone's phones still not sleeping after being fully charged?
[Vibrant Android Development] landrian18:
When can TV out setting implemented in cm7? Please need it badly ...
[Vibrant Android Development] charkey:
I wouldn't hold your breath. If you do decide to hold your breath, make sure you have enough air in your lungs to get yourself to your local electronics store and purchase a device that is capable of TV streaming.
[Vibrant Android Development] core123:
From what I've notices you have to restart your phone after you take it off the charger for it to sleep. I restart every time I take it off the charger Its annoying but it lets your phone sleep
[Vibrant Android Development] mdkxtreme:
Holy huge changelog in the next update

http://cm-nightlies.appspot.com/?device=vibrantmtd
[Vibrant Android Development] landrian18:
I want the TV-out for my sixaxis controller...
[Vibrant Android Development] Jasonhunterx:
There's like nothing for us in there :(
[Vibrant Android Development] CTown:
Do you have the udev rules?

There are no drivers, this should allow adb to see almost any Android phone you throw at it on Ubuntu:

1)Copy this stuff (in the box labelled "RAW Paste Data"): http://pastebin.com/JRcDxCZL

2)Paste it in a file called "51-android.rules".

3)See how every other line says, GROUP="username", substitute each instance of "username" with your own username. (leave the quotes)

*So, you might have on every other line: GROUP="ineffective"

4)Place "51-android.rules" in the directory called "/etc/udev/rules.d/".

* I think if you use the command "gksudo nautilus", Nautilus will open up with root, so you can drag and drop the file to the correct place (closed this instance of Nautilus when you are done).

Thanks goes to "WillingMagic", a packager for Chakra's CCR!: http://chakra-project.org/ccr/packages.php?ID=1537
[Vibrant Android Development] INeFFeCTiVE:
So i do need to download and install the android SDK and install that first... I will try it when i get home. Thanks for the info.
[Vibrant Android Development] Demetris:
Am facing a death screen issue on nightly 96, nothing wakes up the phone i had to remove and reinsert battery to power on.

i flashed #97 over it now i hope problem is gone.