Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Commit

Permalink
Added option to fake GSM CID/LAC
Browse files Browse the repository at this point in the history
Closes #1289
  • Loading branch information
M66B committed Feb 18, 2014
1 parent 888756c commit 27d8f87
Show file tree
Hide file tree
Showing 48 changed files with 156 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Changelog
**Next release**

* White list */proc/cpuinfo* and */proc/meminfo* ([issue](/../../issues/1320))
* Added option to fake [GSM CID/LAC](http://en.wikipedia.org/wiki/Cell_ID) ([issue](/../../issues/1289))
* Note: only [cell locations](http://developer.android.com/reference/android/telephony/CellLocation.html) can be faked, not [cell info](http://developer.android.com/reference/android/telephony/CellInfo.html)
* Updated Slovak translation

[Open issues](https://github.com/M66B/XPrivacy/issues?state=open)
Expand Down
32 changes: 32 additions & 0 deletions res/layout/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,38 @@
tools:ignore="HardcodedText" />
</TableRow>

<TableRow>

<View />

<TextView
android:text="@string/settings_cid"
android:textIsSelectable="false" />

<EditText
android:id="@+id/etCid"
android:inputType="numberDecimal|textNoSuggestions"
android:maxLength="5"
android:singleLine="true"
tools:ignore="HardcodedText" />
</TableRow>

<TableRow>

<View />

<TextView
android:text="@string/settings_lac"
android:textIsSelectable="false" />

<EditText
android:id="@+id/etLac"
android:inputType="numberDecimal|textNoSuggestions"
android:maxLength="5"
android:singleLine="true"
tools:ignore="HardcodedText" />
</TableRow>

<TableRow>

<CheckBox android:id="@+id/cbSubscriber" />
Expand Down
2 changes: 2 additions & 0 deletions res/values-ar/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@
<string name="settings_https">إستخدم الإتصال الآمن</string>
<string name="settings_syscomponents">تقييد مكونات نظام (أندرويد) (يتطلب إعادة التشغيل)</string>
<string name="settings_usagedata">إظهار بيانات استخدام التطبيق (يتطلب إعادة التشغيل)</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">ضغطة طويلة في الإسم لتحديده</string>
<string name="help_ondemand">سوف يتم السؤال عن القيود</string>
<string name="help_application">التطبيق</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-bg/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@
<string name="settings_https">Use secure connections</string>
<string name="settings_syscomponents">Restrict system components (Android) (requires restart)</string>
<string name="settings_usagedata">Show application usage data (requires restart)</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">Long press name to select</string>
<string name="help_ondemand">restrictions will be asked</string>
<string name="help_application">Приложение</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-ca/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@
<string name="settings_https">Use secure connections</string>
<string name="settings_syscomponents">Restrict system components (Android) (requires restart)</string>
<string name="settings_usagedata">Show application usage data (requires restart)</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">Long press name to select</string>
<string name="help_ondemand">restrictions will be asked</string>
<string name="help_application">Aplicació</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-cs/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ nicméně je nemožné zaručit bezchybnou funkčnost na všech zařízeních a
<string name="settings_https">Použít zabezpečené připojení</string>
<string name="settings_syscomponents">Omezit systémové komponenty (Android) (vyžaduje restart)</string>
<string name="settings_usagedata">Zobrazit využítí dat aplikace (vyžaduje restart)</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">Long press name to select</string>
<string name="help_ondemand">restrictions will be asked</string>
<string name="help_application">Aplikace</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-da/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@
<string name="settings_https">Use secure connections</string>
<string name="settings_syscomponents">Restrict system components (Android) (requires restart)</string>
<string name="settings_usagedata">Show application usage data (requires restart)</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">Long press name to select</string>
<string name="help_ondemand">restrictions will be asked</string>
<string name="help_application">App</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@
<string name="settings_https">Benutze sichere Verbindung</string>
<string name="settings_syscomponents">Beschränke Systemkomponenten (Android) (erfordert Geräteneustart)</string>
<string name="settings_usagedata">Zeige App Nutzungsdaten\n (erfordert Geräteneustart)</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">Für Auswahl App-Name drücken und kurz halten</string>
<string name="help_ondemand">Beschränkungen nach Aufforderung festlegen</string>
<string name="help_application">App</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-ee/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ kuid on võimatu garanteerida, et see töötab igal seadmel ja iga rakendusega.
<string name="settings_https">Use secure connections</string>
<string name="settings_syscomponents">Restrict system components (Android) (requires restart)</string>
<string name="settings_usagedata">Show application usage data (requires restart)</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">Long press name to select</string>
<string name="help_ondemand">restrictions will be asked</string>
<string name="help_application">Rakendus</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-el/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@
<string name="settings_https">Use secure connections</string>
<string name="settings_syscomponents">Restrict system components (Android) (requires restart)</string>
<string name="settings_usagedata">Show application usage data (requires restart)</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">Long press name to select</string>
<string name="help_ondemand">restrictions will be asked</string>
<string name="help_application">Εφαρμογή</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-es/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ sin embargo no puedo garantizar que funcione sin ningún fallo para cada disposi
<string name="settings_https">Usar conexiones seguras</string>
<string name="settings_syscomponents">Restringir componentes del sistema (Android) (requiere reinicio)</string>
<string name="settings_usagedata">Mostrar uso de datos de las aplicaciones (requires restart)</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">Click largo sobre un nombre selecciona la aplicación</string>
<string name="help_ondemand">Se le preguntará por las restricciones</string>
<string name="help_application">Aplicación</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-fa/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@
<string name="settings_https">Use secure connections</string>
<string name="settings_syscomponents">Restrict system components (Android) (requires restart)</string>
<string name="settings_usagedata">Show application usage data (requires restart)</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">Long press name to select</string>
<string name="help_ondemand">restrictions will be asked</string>
<string name="help_application">برنامه های کاربردی</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-fi/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@
<string name="settings_https">Use secure connections</string>
<string name="settings_syscomponents">Restrict system components (Android) (requires restart)</string>
<string name="settings_usagedata">Show application usage data (requires restart)</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">Long press name to select</string>
<string name="help_ondemand">restrictions will be asked</string>
<string name="help_application">Applikaatio</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ il est impossible de garantir un fonctionnement parfait sur chaque appareil et p
<string name="settings_https">Utiliser des connexions sécurisée</string>
<string name="settings_syscomponents">Restreindre composants système (Android) (redémarrage requis)</string>
<string name="settings_usagedata">Montrer les données d\'usage pour chaque application (redémarrage requis)</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">Maintenez appuyé le nom de l\'appli pour le selectionner</string>
<string name="help_ondemand">Détermination des restrictions sur demande</string>
<string name="help_application">Application</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-ga/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@
<string name="settings_https">Use secure connections</string>
<string name="settings_syscomponents">Restrict system components (Android) (requires restart)</string>
<string name="settings_usagedata">Show application usage data (requires restart)</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">Long press name to select</string>
<string name="help_ondemand">restrictions will be asked</string>
<string name="help_application">Iarratais</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-he/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ however it is impossible to guarantee it will work flawless on each and every de
<string name="settings_https">Use secure connections</string>
<string name="settings_syscomponents">Restrict system components (Android) (requires restart)</string>
<string name="settings_usagedata">Show application usage data (requires restart)</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">Long press name to select</string>
<string name="help_ondemand">restrictions will be asked</string>
<string name="help_application">יישום</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-hi/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@
<string name="settings_https">Use secure connections</string>
<string name="settings_syscomponents">Restrict system components (Android) (requires restart)</string>
<string name="settings_usagedata">Show application usage data (requires restart)</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">Long press name to select</string>
<string name="help_ondemand">restrictions will be asked</string>
<string name="help_application">Application</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-hu/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ de lehetetlen garantálni hogy tökéletesen működjön az összes eszközön
<string name="settings_https">Use secure connections</string>
<string name="settings_syscomponents">Restrict system components (Android) (requires restart)</string>
<string name="settings_usagedata">Show application usage data (requires restart)</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">Long press name to select</string>
<string name="help_ondemand">restrictions will be asked</string>
<string name="help_application">Alkalmazás</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-it/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ ma è impossibile garantire che funzionerà in modo impeccabile su ogni disposit
<string name="settings_https">Use secure connections</string>
<string name="settings_syscomponents">Restrict system components (Android) (requires restart)</string>
<string name="settings_usagedata">Show application usage data (requires restart)</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">Long press name to select</string>
<string name="help_ondemand">restrictions will be asked</string>
<string name="help_application">Applicazione</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-iw/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ however it is impossible to guarantee it will work flawless on each and every de
<string name="settings_https">Use secure connections</string>
<string name="settings_syscomponents">Restrict system components (Android) (requires restart)</string>
<string name="settings_usagedata">Show application usage data (requires restart)</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">Long press name to select</string>
<string name="help_ondemand">restrictions will be asked</string>
<string name="help_application">יישום</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-ja/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@
<string name="settings_https">セキュリティーで保護された接続を使用する</string>
<string name="settings_syscomponents">システムのコンポーネントにアクセスを制限する (アンドロイド)(再起動が必要となります)</string>
<string name="settings_usagedata">使用状況データを登録する(再起動が必要)</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">タイトルを押してれば、選択ができます</string>
<string name="help_ondemand">restrictions will be asked</string>
<string name="help_application">アプリ</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-ku-rIQ/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@
<string name="settings_https">به کارهینانی هیلی پاریزراو</string>
<string name="settings_syscomponents">سنوردار کردنی شته بنچینه یه کانی سیسته مه که ت (موبایله که ت)</string>
<string name="settings_usagedata">پیشاندنی ئه و زانياريانه ى به كارهينراون</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">په نجه ت دابگره له سه ر ئه و ناوه ى كه ده ته ویت هه لی بژیریت</string>
<string name="help_ondemand">داوات لیده کریت بو سنوردار کردن</string>
<string name="help_application">به رنامه کان</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-ku-rIR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@
<string name="settings_https">به کارهینانی هیلی پاریزراو</string>
<string name="settings_syscomponents">سنوردار کردنی شته بنچینه یه کانی سیسته مه که ت (موبایله که ت)</string>
<string name="settings_usagedata">پیشاندنی ئه و زانياريانه ى به كارهينراون</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">په نجه ت دابگره له سه ر ئه و ناوه ى كه ده ته ویت هه لی بژیریت</string>
<string name="help_ondemand">داوات لیده کریت بو سنوردار کردن</string>
<string name="help_application">به رنامه کان</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-lt/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ Tačiau neįmanoma garantuoti, kad dirbs nepriekaištingai su kiekvienu prietais
<string name="settings_https">Naudojamas saugus ryšys</string>
<string name="settings_syscomponents">Riboti sistemos komponentus (Android) (reikia perkrauti)</string>
<string name="settings_usagedata">Rodyti programos duomenų naudojimą (reikia perkrauti)</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">Ilgai spausti ant programos pavadinimo, norint ją pasirinti</string>
<string name="help_ondemand">apribojimai bus paprašyti</string>
<string name="help_application">Programa</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-ms/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ namun ia adalah mustahil untuk menjaminkan penggunaan sempurna untuk setiap pera
<string name="settings_https">Guna sambungan terjamin</string>
<string name="settings_syscomponents">Sekat komponen sistem (Android)</string>
<string name="settings_usagedata">Tunjuk penggunaan data aplikasi</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">Tekan lama pada nama untuk pilih</string>
<string name="help_ondemand">sekatan akan diminta</string>
<string name="help_application">Aplikasi</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-nb-rNO/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@
<string name="settings_https">Bruk trygg forbindelse</string>
<string name="settings_syscomponents">Blokker systemkomponenter (Android) (omstart nødvendig)</string>
<string name="settings_usagedata">Vis brukerdata til apper (omstart nødvendig)</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">>Trykk lenge på navnet som skal markeres</string>
<string name="help_ondemand">apper spør om tillatelse</string>
<string name="help_application">App</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-nl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ maar het is onmogelijk om te garanderen dat het op elk apparaat en voor elke app
<string name="settings_https">Gebruik veilige verbindingen</string>
<string name="settings_syscomponents">Beperk systemcomponenten (Android)</string>
<string name="settings_usagedata">Toon gebruiksgegevens</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">Druk lang om te selecteren</string>
<string name="help_ondemand">beperkingen worden gevraagd</string>
<string name="help_application">Applicatie</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-nn-rNO/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@
<string name="settings_https">Bruk trygg forbindelse</string>
<string name="settings_syscomponents">Blokker systemkomponenter (Android) (omstart nødvendig)</string>
<string name="settings_usagedata">Vis brukerdata til apper (omstart nødvendig)</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">>Trykk lenge på navnet som skal markeres</string>
<string name="help_ondemand">apper spør om tillatelse</string>
<string name="help_application">App</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-no-rNO/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@
<string name="settings_https">Bruk trygg forbindelse</string>
<string name="settings_syscomponents">Blokker systemkomponenter (Android) (omstart nødvendig)</string>
<string name="settings_usagedata">Vis brukerdata til apper (omstart nødvendig)</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">>Trykk lenge på navnet som skal markeres</string>
<string name="help_ondemand">apper spør om tillatelse</string>
<string name="help_application">App</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values-pl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@
<string name="settings_https">Użyj bezpiecznych połaczeń</string>
<string name="settings_syscomponents">Ogranicz komponenty systemowe (Android) (wymaga restartu)</string>
<string name="settings_usagedata">Pokaż użycie danych przez aplikacje (wymaga restartu)</string>
<string name="settings_cid">GSM Cell ID</string>
<string name="settings_lac">GSM LAC</string>
<string name="help_longpress">Przytrzymaj na nazwie aby wybrać</string>
<string name="help_ondemand">będą pytania o ograniczenia</string>
<string name="help_application">Aplikacja</string>
Expand Down
Loading

0 comments on commit 27d8f87

Please sign in to comment.