Android-dev.it Community

 
Annunci

:arrow: Benvenuto!, se non sei ancora un utente registrato: puoi registrati qui, oppure effettua il login
:arrow: Apri un forum sul tuo nuovo smartphone Android e collabora con noi! (dettagli)

www.agendadigitale.org
Image


Sponsor
It is currently Tue May 22, 2012 10:02 am

All times are UTC + 1 hour


 Topics   Replies   Views   Last post 
No new posts stampare con tablet wifi

by markino on Mon Jan 09, 2012 11:34 am in Reti e tecnologie wireless

1

286

Mon Jan 09, 2012 11:34 am

markino

No new posts quando non c'e' "campo" il cellulare spreca + batteria

by ildemiurgo on Sat Oct 08, 2011 7:34 am in Reti e tecnologie wireless

9

982

Sat Oct 08, 2011 7:34 am

ildemiurgo

No new posts velocita conness 3G

[ Go to page: 1, 2 ]

by ildemiurgo on Sat Oct 08, 2011 7:29 am in Reti e tecnologie wireless

10

1255

Sat Oct 08, 2011 7:29 am

ildemiurgo

No new posts problemi connessione wi-fi!

by ildemiurgo on Sat Oct 08, 2011 7:26 am in Reti e tecnologie wireless

3

1110

Sat Oct 08, 2011 7:26 am

ildemiurgo

No new posts Attachment(s) Agenda Digitale

by barban on Mon Feb 14, 2011 4:56 pm in Reti e tecnologie wireless

0

493

Mon Feb 14, 2011 4:56 pm

barban




Post new topic Reply to topic  [ 14 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Fieldtest (Netmonitor) per Android
PostPosted: Sat Sep 12, 2009 2:08 pm 
Offline
User avatar

Joined: Thu Dec 27, 2007 7:09 pm
Posts: 659
Cellulare Android: HTC Dream
Operatore: TIM
Punti Android: 758
Ciao a tutti,
forse anche qualcuno di voi, come me, è interessato ad avere sul proprio Android le informazioni sulla qualità del segnale radio ricevuto dal proprio smartphone nonchè conoscere i parametri della rete radiomobile ricevuti dal cellulare. Dopo una breve ricerca ho trovato che anche gli smartphone HTC che montano Android (Magic, Dream e Hero) hanno un'utility del tipo Netmonitor, che nello specifico si chiama fieldtest.apk (in genere si trova nella directory che contiene le applicazioni di sistema, in /system/app).

Per lanciare l'utility (che non compare tra la lista delle applicazioni ne' in alcuna voce del menu' del cellulare), il modo più semplice è scrivere questa stringa nel dialer:
*#*#7262626#*#*

Nel mio firmware Cyanogen mi sono accorto che digitando questa sequenza di tasti non succedeva nulla perchè la versione che utilizzo non aveva fieldtest.apk a bordo: ho quindi provveduto a recuperare il package da una vecchio firmware di JesusFreke (basato su Cupcake) e l'ho installato con adb:
Code:
adb install fieldtest.apk


Vi lascio alcuni screenshots dell'applicazione,
a presto!

Attenzione: credo che quanto descritto sia valido solo per i modelli Android di HTC (il nome completo dell'applicazione è com.htc.fieldtest...) quindi non so se negli altri smartphone Android c'è qualcosa di simile e non credo nemmeno che il codice sorgente dell'applicazione sia disponibile nel kernel di Android, purtroppo...


Attachments:
fieldtest_wcdma_reselection.png
fieldtest_wcdma_reselection.png [ 14.25 KiB | Viewed 1502 times ]
fieldtest_wcdma.png
fieldtest_wcdma.png [ 11.43 KiB | Viewed 1493 times ]
fieldtest_tests.png
fieldtest_tests.png [ 22.28 KiB | Viewed 1492 times ]

_________________
***URLs are hidden from guests, please register and login to view the hyperlink***
Top
 Profile  
 
 Post subject: Re: Fieldtest (Netmonitor) per Android
PostPosted: Sat Sep 12, 2009 2:17 pm 
Offline
User avatar

Joined: Thu Dec 27, 2007 7:09 pm
Posts: 659
Cellulare Android: HTC Dream
Operatore: TIM
Punti Android: 758
Dato che ci sono, metto in attach anche l'applicazione appena descritta... :mrgreen:


Attachments:
FieldTest.apk [124.62 KiB]
Downloaded 286 times

_________________
***URLs are hidden from guests, please register and login to view the hyperlink***
Top
 Profile  
 
 Post subject: Re: Fieldtest (Netmonitor) per Android
PostPosted: Sat Sep 12, 2009 2:31 pm 
Offline
Moderatore
User avatar

Joined: Thu Dec 27, 2007 3:51 pm
Posts: 986
Cellulare Android: HTC Dream
Operatore: TIM
Punti Android: 1320
Grazie barban,
ottima segnalazione!

Anche io avevo provato questo "menu' nascosto" qualche tempo fa; ecco la lista di tutto quello che si riesce ad ottenere:
- GSM page
- GPRS/E-GPRS Page
- AMR
- 3G Reselection Paramters
- 2G Reselection Paramters
- 3G Reselection Status
- 2G Reselection Status
- WCDMA
- Layer 3 RRC Signaling
- PRACH/RACH Information
- 3G DCH Status
- 3G Neighbourlist Status
- 3G BLER Status
- 3G Downlink Transport Format
- 3G Uplink Transport Format
- 3G DL RLC AM Status
- 3G UL RLC AM Status
- HSDPA CQI Status
- 3G Reselection Event
- 3G Dnlink Transport Format Comb.

Purtroppo credo che molte di queste informazioni siano ottenute usando API non documentate offerte dal RIL (Radio Interface Layer); per il momento, le uniche cose supportate in modo ufficiale (di cui si trova documentazione) sono le seguenti:

LAC, CID, Signal Strength
Code:

mPhoneStateReceiver = new PhoneStateIntentReceiver(this, new ServiceStateHandler());
ServiceState state = mPhoneStateReceiver.getServiceState();
int cid = state.getCid();
int lac = state.getLac();
int signal = mPhoneStateReceiver.getSignalStrength();


Top
 Profile  
 
 Post subject: Re: Fieldtest (Netmonitor) per Android
PostPosted: Sat Sep 12, 2009 2:44 pm 
Offline
User avatar

Joined: Thu Dec 27, 2007 7:09 pm
Posts: 659
Cellulare Android: HTC Dream
Operatore: TIM
Punti Android: 758
Io credo che molte informazioni radio possano essere recuperate usando i comandi AT (vedi doc allegato) oppure passando per i device gestiti da Linux (dev/net credo sia quello della rete).
Pero' non è facile capirci qualcosa... :oops:


Attachments:
UC864-E_ATCommands_Ref_Guide_r0.pdf [2.76 MiB]
Downloaded 211 times

_________________
***URLs are hidden from guests, please register and login to view the hyperlink***
Top
 Profile  
 
 Post subject: Re: Fieldtest (Netmonitor) per Android
PostPosted: Wed Sep 23, 2009 3:56 pm 
Offline
User avatar

Joined: Wed Sep 23, 2009 3:39 pm
Posts: 6
Cellulare Android: HTC Magic
Operatore: TIM
Punti Android: 5
ho provato a utilizzare il codice *#*#7262626#*#* sul dialer, ma non compare niente.
seguendo i consigli trovati qui: http://forum.xda-developers.com/archive ... 45477.html
sotto \system\app non trovo nessun FieldTest.apk
neanche in Menu->Settings->Applications->Manage Aplications trovo niente che ricordi Fieldtest.

qualche idea??
grazie in anticipo,
g.


Top
 Profile  
 
 Post subject: Re: Fieldtest (Netmonitor) per Android
PostPosted: Wed Sep 23, 2009 6:31 pm 
Offline
Moderatore
User avatar

Joined: Thu Jan 15, 2009 12:53 pm
Posts: 4653
Location: Valli di Lisciano!! (Ascoli Piceno)
Cellulare Android: HTC Desire
Operatore: Wind
Punti Android: 5239
si vede che come ha scritto sopra barban,ti manca field come applicazione..scaricala dal link sopra proposto e installala via adb! =)

_________________
HTC DESIRE ROOTED (no s-off)
Clockwork recovery
InsertCoin



MOTOROLA FLIPOUT ROOTED
No recovery (ancora per poco)
Rom original deblur 1.14.2



HTC G1 U.S.A ROOTED
Caution 2.2
SPL 1.33.2005
Recovery AmonRa



***URLs are hidden from guests, please register and login to view the hyperlink***

***URLs are hidden from guests, please register and login to view the hyperlink***

***URLs are hidden from guests, please register and login to view the hyperlink***

***URLs are hidden from guests, please register and login to view the hyperlink***


Top
 Profile  
 
 Post subject: Re: Fieldtest (Netmonitor) per Android
PostPosted: Mon Sep 28, 2009 2:15 pm 
Offline
User avatar

Joined: Wed Sep 23, 2009 3:39 pm
Posts: 6
Cellulare Android: HTC Magic
Operatore: TIM
Punti Android: 5
errore

[/cygdrive/e/ANDROID/android-sdk-windows-1.5_r3/tools]$ ./adb install FieldTest.apk
pkg: /data/local/tmp/FieldTest.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
883 KB/s (127607 bytes in 0.141s)


Top
 Profile  
 
 Post subject: Re: Fieldtest (Netmonitor) per Android
PostPosted: Mon Sep 28, 2009 2:56 pm 
Offline
Moderatore
User avatar

Joined: Thu Jan 15, 2009 12:53 pm
Posts: 4653
Location: Valli di Lisciano!! (Ascoli Piceno)
Cellulare Android: HTC Desire
Operatore: Wind
Punti Android: 5239
se la provi a mettere nella scheda sd e la installi da cellulare con appmanager o astro o filemanager o appinstaller??

_________________
HTC DESIRE ROOTED (no s-off)
Clockwork recovery
InsertCoin



MOTOROLA FLIPOUT ROOTED
No recovery (ancora per poco)
Rom original deblur 1.14.2



HTC G1 U.S.A ROOTED
Caution 2.2
SPL 1.33.2005
Recovery AmonRa



***URLs are hidden from guests, please register and login to view the hyperlink***

***URLs are hidden from guests, please register and login to view the hyperlink***

***URLs are hidden from guests, please register and login to view the hyperlink***

***URLs are hidden from guests, please register and login to view the hyperlink***


Top
 Profile  
 
 Post subject: Re: Fieldtest (Netmonitor) per Android
PostPosted: Tue Sep 29, 2009 8:54 am 
Offline
User avatar

Joined: Wed Sep 23, 2009 3:39 pm
Posts: 6
Cellulare Android: HTC Magic
Operatore: TIM
Punti Android: 5
provato da sd. non va.


Top
 Profile  
 
 Post subject: Re: Fieldtest (Netmonitor) per Android
PostPosted: Tue Sep 29, 2009 1:10 pm 
Offline
Moderatore
User avatar

Joined: Thu Dec 27, 2007 3:51 pm
Posts: 986
Cellulare Android: HTC Dream
Operatore: TIM
Punti Android: 1320
glf wrote:
errore

[/cygdrive/e/ANDROID/android-sdk-windows-1.5_r3/tools]$ ./adb install FieldTest.apk
pkg: /data/local/tmp/FieldTest.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
883 KB/s (127607 bytes in 0.141s)


Questo messaggio indica che l'applicazione è gia' installata sul tuo telefono: il sistema, infatti, tenta di fare un UPDATE...
Installa AnyCut (lo trovi sul market) e usa l'opzione per creare un nuovo shortcut sulla homepage partendo dalla lista delle Activity installate: in questo modo comparira' l'icona (è normale che di default non sia presente tra le applicazioni disponibili)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ]  Go to page 1, 2  Next

Topic Tags

firmware, HTC, Netmonitor, radio, RIL, testfield


All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
phpBB SEO

All trademarks and logos used in this site are of properties of their respective owners.