Article View: comp.mobile.android
Article #820Re: GrapheneOS Overhauls Emergency Calling on Google Pixel Phones After Incorrect Emergency Numbers Were Discovered
From: Nuno Silva
Date: Sun, 22 Nov 2026 11:30
Date: Sun, 22 Nov 2026 11:30
49 lines
3396 bytes
3396 bytes
On 2026-11-22, Theo wrote: > Nuno Silva <nunojsilva@invalid.invalid> wrote: >> >> As 911 is preferred in the US and Canada, wouldn't the Teleservice 12 >> call initiated by dialling 112 on a handset there just do a call to >> *911*? >> >> Or does it really end up actually calling the number 112? > > According to the AOSP database: > https://android.googlesource.com/platform/packages/services/Telephony/+/master/ecc/input/eccdata.txt > > for US the phone just calls 911 for fire/police/ambulance, it doesn't call 112. > The fallback number is also 911 for any other kind of emergency. It doesn't > call 112. > > If you are in, say, Uganda, the number for fire/police/ambulance is 999 and > the fallback is 112. > > This is a generic database of emergency numbers rather than instructions for > who to call in what circumstance. The system applies logic based on its > interpretation of the database, rather than the database telling the phone > what to do. > > The problem with GrapheneOS using this database: > https://github.com/GrapheneOS/os-issue-tracker/issues/8695 > https://github.com/GrapheneOS/platform_frameworks_base/pull/479 > > was that if numbers are missing a clear priority order in the database then > the first number in the alphanumeric sort wins. In Switzerland, if there > isn't a carrier-specific rule that takes precedence, 0800117117 comes before > 112, so calls were by default going to the Transport Police number. That's > labelled as TYPE_UNSPECIFIED so there are no clues what it is for or how to > build a priority order for it. Ok, that does explain the issue they're dealing with. Overall, if you're not presenting a menu to choose from, then the question really is whether you even need to call anything other than 112. For presenting a menu, it seems digital cell telephony standards also specify the ability for the phone, SIM and carrier to provide/contain more than one emergency number, so hopefully querying the AOSP database would go in hand with that? -- Nuno Silva
Technical Details
Message-ID:
<11dujpj$qmf8$5@dont-email.me>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<bmqdnQSh6L1YvW_3nZ2dnZfqnPadnZ2d@giganews.com> <11ds3v0$1g1a$2@dont-email.me> <vgqdnctmF63JNpz2nZ2dnZfqn_qdnZ2d@giganews.com> <11dtgkh$hugh$3@dont-email.me> <7uC*7mlWA@news.chiark.greenend.org.uk>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Nuno Silva <nunojsilva@invalid.invalid> Newsgroups: comp.mobile.android Subject: Re: GrapheneOS Overhauls Emergency Calling on Google Pixel Phones After Incorrect Emergency Numbers Were Discovered Date: Sun, 22 Nov 2026 11:30:59 +0000 Organization: A noiseless patient Spider Lines: 49 Message-ID: <11dujpj$qmf8$5@dont-email.me> References: <bmqdnQSh6L1YvW_3nZ2dnZfqnPadnZ2d@giganews.com> <11ds3v0$1g1a$2@dont-email.me> <vgqdnctmF63JNpz2nZ2dnZfqn_qdnZ2d@giganews.com> <11dtgkh$hugh$3@dont-email.me> <7uC*7mlWA@news.chiark.greenend.org.uk> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Sun, 22 Nov 2026 11:31:00 +0000 (UTC) Injection-Info: dont-email.me; logging-data="874984"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19zzt3HslPAK9HOV2W2FYbU"; posting-host="f3cbd2b50ac4667d512be6febd628bb4" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:xLkCsSQLynKRvu+GYrCKn2tLmeo= sha256:NnQPlHb9Ga+s4eGh4UDjRHuUkJCj1tJLR79EmivZWkQ= sha1:CHtEBnVr+4W8iHnH3+6erKoEgx8= sha256:WMxTuCt3CQqS35O3ZLkjNO/FEKvqn3NFbbcJ2JgbrA0=