maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Annouce] HealthCheck - Hardware/System checker for the N900 (https://talk.maemo.org/showthread.php?t=45453)

noobmonkey 2010-02-22 18:18

[Announce] HealthCheck - Hardware/System checker for the N900
 
5 Attachment(s)
UPDATED FIRST PAGE TO MATCH THREAD INFORMATION

CURRENT Version 1.0.0-0 - In extras - [link]
  • System Tab
  • Accelerometer readout [x,y,z]
  • App /Home % Used
  • App /Home Free
  • Backlight Actual Level
  • Backlight Max Level
  • Battery Status (%) - current
  • Battery Last charge - mAh
  • Boot count
  • Boot reason (Last boot)
  • CPU Current Frequency
  • CPU Available Frequencies
  • Camera Shutter State
  • FM Transmitter State
  • Firmware version
  • Headphone State
  • Kernel Core Info
  • Keyboard slider state
  • MMC Cover State
  • Memory Card % Used
  • Memory Card Free
  • MyDocs % Used
  • MyDocs Free
  • N900 Board Information
  • N900 Board Revision
  • Processor Information
  • Proximity Sensor State
  • Rootfs % Used
  • Rootfs Free
  • System Locale
  • System Uptime

    Comms Tab
  • Cell ID
  • Cell RNC
  • Cell Services
  • Cell Status
  • Device Hostname
  • Device IMEI
  • GPS Position
  • IP Internal
  • MAC Address
  • Phone SIgnal
  • WIFI Link Quality
  • WIFI Noise
  • WIFI RSSI

    Tools Tab
  • Sound Test
  • LEDs Test
  • Vibrate Test
  • Accuracy Test (Screen/Keboard/Touch)
  • Camera Tests (Front & Back)
  • Dead Pixel Test
  • System Reboot Tool

Planned for future versions
  • List of enabled repositories
  • List of disabled repositories
  • List of installed applications + App info
  • Run commands, apt-get clean etc...
  • Useful scripts like - clear the SMS auto-complete dictionary
  • More complete Tests / tools (Vibrate, LED etc)
  • Copy values on context click (hold) or ctrl +c
  • Master auto updates (Threading)
  • Improve graphics - icons, buttons etc

Current known bugs -
  • None

Extras-dev warning
The software hosted in extras-devel is most likely not ready for end users! PLEASE PLEASE PLEASE don't play with it unless you really know what you are doing.

Saying that - if you are comfortable using it - i would really appreciate any feedback!!


Original Thread info
I started coding this a week or two ago with really very little programming experience and no knowledge of QT or Python. And i need to say a very big thankyou to everyone in this thread, and to mikec for a great introduction.

Also, for those who have put up with me in the previous HealthCheck thread here. And in particular, Qwerty12, Fatalsaint, Aspidites, Casper27, Atilla77. (Hope i havn't missed anyone!) - i really have appreciated all of your help!.

I'm pretty persistent, so happy i have something that finally loads up! :D

Please let me know if you find any odd bugs, and remember... Point the front camera at a lightbulb when it loads or when you press update (You can also do it outside during the day, seems to work)

noobmonkey 2010-02-22 19:09

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Version 0.5.0-1 = being built now.
edit - The window says the wrong version, but the about box says the right one.
Just cut down some un-needed code and included g-streamer tools in the install.

Mazi 2010-02-22 19:17

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
if possible add a Reboot function for rebooting phone...comes handy

noobmonkey 2010-02-22 19:18

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Quote:

Originally Posted by Mazi (Post 541536)
if possible add a Reboot function for rebooting phone...comes handy

yup can add that to a future tools page, don't see why not :)

Venomrush 2010-02-22 19:19

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Can we have storage information as well not just rootfs? ie /home/user/MyDocs and also can we have current local IP?

Thanks :)

Having this would throw out the need to install a bunch of apps (home ip widget + battery etc)

noobmonkey 2010-02-22 19:20

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Quote:

Originally Posted by Venomrush (Post 541540)
Can we have storage information as well not just rootfs? ie /home/user/MyDocs and also can we have current local IP?

Thanks :)

Having this would throw out the need to install a bunch of apps (home ip widget + battery etc)

Yup got that in the code already - just run out of room, think i may split it into a second tab.
:) - will do :D

Venomrush 2010-02-22 19:20

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
I noticed the firmware doesn't really indicate which 'region' it is ie Global? NA? UK?

noobmonkey 2010-02-22 19:22

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Quote:

Originally Posted by Venomrush (Post 541543)
I noticed the firmware doesn't really indicate which 'region' it is ie Global? NA? UK?

Just says the version number.... I'd have to query somewhere externally i think to get that info?

Venomrush 2010-02-22 19:26

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Quote:

Originally Posted by noobmonkey (Post 541547)
Just says the version number.... I'd have to query somewhere externally i think to get that info?

Not sure where they are stored tbh but About screen has more details on the exact version number.

Which firmware are you using atm?

As a guide:

PR_F5_203_ARM.bin = UK unbranded variant
PR_F5_205_ARM.bin = UK Vodafone branded variant
PR_COMBINED_002_ARM.bin = USA variant
PR_COMBINED_003_ARM.bin = Middle East and North Africa variant
PR_COMBINED_MR0_ARM.bin = Global variant

Usually there are additional number following the usual firmware format
[ReleaseNumber].[Year].[Week]-[RevisionNumber?].[Region].[Unsure...]

ie
2.2009.51-1.203.1 would be UK unbranded variant
2.2009.51-1.205.1 would be UK Vodafone branded variant

noobmonkey 2010-02-22 19:34

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Quote:

Originally Posted by Venomrush (Post 541559)
Not sure where they are stored tbh but About screen has more details on the exact version number.

Which firmware are you using atm?

As a guide:

PR_F5_203_ARM.bin = UK unbranded variant
PR_F5_205_ARM.bin = UK Vodafone branded variant
PR_COMBINED_002_ARM.bin = USA variant
PR_COMBINED_003_ARM.bin = Middle East and North Africa variant
PR_COMBINED_MR0_ARM.bin = Global variant

Usually there are additional number following the usual firmware format
[ReleaseNumber].[Year].[Week]-[RevisionNumber?].[Region].[Unsure...]

ie
2.2009.51-1.203.1 would be UK unbranded variant
2.2009.51-1.205.1 would be UK Vodafone branded variant

could get it working for now, but knowing nokia they might go and change the format ;)

Venomrush 2010-02-22 19:36

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Quote:

Originally Posted by noobmonkey (Post 541575)
could get it working for now, but knowing nokia they might go and change the format ;)

I doubt that, think they're too lazy to go change this, they've been pretty consistant ;)

noobmonkey 2010-02-22 19:42

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Quote:

Originally Posted by Venomrush (Post 541582)
I doubt that, think they're too lazy to go change this, they've been pretty consistant ;)

Lol very true - have added it to the ToDo list :D

Will probably add it all to a ListWidget to save some memory and loading time, using a load of labels at the moment :|

By the sounds of it, although very slow, it is working for people?!

V0.5.0-2 - correct verion numbers in Auto-builder Queue at the moment.

bierlaagh 2010-02-22 19:44

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
installed from the extra dev also can select it from progams. it does its vanishing trick but never appears again. PR 1.1.1 changed theme bach to normal but stilldoes not appear.

noobmonkey 2010-02-22 19:45

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Quote:

Originally Posted by bierlaagh (Post 541595)
installed from the extra dev also can select it from progams. it does its vanishing trick but never appears again. PR 1.1.1 changed theme bach to normal but stilldoes not appear.



oooooOOoo - random! ..... i know v 5 has a slightly longer (3/4 seconds) vanishing act....

Just upgrading to the latest version and testing again. (i'm on 1.1.1 too) - global generic version.

noobmonkey 2010-02-22 19:48

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Ok, well V 0.5.0-2 - the dissapearing act is a little quicker :) - but definitely re-loads :)

bier, can you please try a reboot?

noobmonkey 2010-02-22 19:57

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Also, need a mod to change the title pretty please :) - mis-spelt Announce! - doh!!
right, time to head out for dinner i feel! - :D

TA-t3 2010-02-23 15:05

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
This looks like an interesting application.
The image has a field 'GPS Position' -- does it activate the GPS for that? Because I never ever activate it.. I prefer to keep it off at all times (save trouble and battery), as I use an external BT for my GPS needs.

noobmonkey 2010-02-23 15:17

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Yup activates it and then switches it off, takes about 4 seconds......

nexus_7 2010-02-23 23:25

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Interesting little project roughly along the same lines as Conky although it looks like you are making it to be more interactive.

noobmonkey 2010-02-23 23:42

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Quote:

Originally Posted by nexus_7 (Post 543484)
Interesting little project roughly along the same lines as Conky although it looks like you are making it to be more interactive.

hehe yeah, bit more varied :D - conky is very good at what it does, healthcheck should also basic tests to prove the N900 has all it's bits working :) - as well as running some basic commands to free up space :)

Just building a new version at the moment :)

noobmonkey 2010-02-23 23:48

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
ok 0.5.0-3 is a bit different....

Decided against tables for now, as i just can't get to grips with them when i code on my N900... too much faffing...

Have renabled more tabs... Thus = more room to play with....
Moved GPS + Cell info to comms page, and front camera to its own page.

page 1 - auto-loads
page 2 + 3 - have a separate load button - so you do not have to load up all info straight away.

(Front cam still has rubbish quality - but aim it at a light, and you see it in biiiig rubbushy quality now!)

noobmonkey 2010-02-23 23:54

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
0.5.0-3 - Built and available in extras dev.

still a long load for some reason, but the vanishing act is a bit quicker....

sorodoros 2010-02-23 23:59

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
I only see 0.5.0-2, but maybe wait a bit longer. One of the main reasons I installed this was for the battery %. But I only see 0%, even though my battery is full. Also might be nice to show that the battery is charging if it is. Great work!

[edit]. Got 0-3, but still 0% on a full battery. :(

noobmonkey 2010-02-24 00:01

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Quote:

Originally Posted by sorodoros (Post 543526)
I only see 0.5.0-2, but maybe wait a bit longer. One of the main reasons I installed this was for the battery %. But I only see 0%, even though my battery is full. Also might be nice to show that the battery is charging if it is. Great work!

Doesnt update if it is charging i don't think.......

New version is definitely there, just updated about 5 mins ago :D

Once all the basics are working and i'm happy i'll start working on a better looking app :) hehe

sorodoros 2010-02-24 00:05

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
0-3 installed. It doesn't matter if it is charging or not. 0% is all I get. Anyone else see this?

noobmonkey 2010-02-24 00:05

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
the battery readout is just a re-jig of

Quote:

lshal|grep percen
(In terminal)
Should be reading out the same result as that does :)

noobmonkey 2010-02-24 00:09

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
oh hold on........ 100% - as far as i am aware.... the N900 doesn't go above 97/98% - ... if it is a 100% i'd be interested to see your terminal readout :D :D

sorodoros 2010-02-24 00:09

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Hmm, I checked in xTerm, and I get 100%, but 0% in HC. Could the 0% actually mean 100% with the the first two digits missing somehow?

noobmonkey 2010-02-24 00:10

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
yup could quite possibly! .... can you let it drop down for a few mins and see if it starts working? - if it doesnt then it could be something entirely different.

Honestly didn't expect it to hit 100!

sorodoros 2010-02-24 00:12

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
I'll let it drop and post back.

noobmonkey 2010-02-24 00:21

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
you are dead right, just tested it on mine :) - changing the code and will chuck up a new version :)

noobmonkey 2010-02-24 00:26

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
0.5.0.4 is now in autobuilder - allows for 100% batteries - Knew there was a reason for testing :)

sorodoros 2010-02-24 00:27

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
BTW, the graphic line also shows 0, when 0%.

sorodoros 2010-02-24 00:29

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Quote:

Originally Posted by noobmonkey (Post 543558)
0.5.0.4 is now in autobuilder - allows for 100% batteries - Knew there was a reason for testing :)

Great! I will oook for it in devel later. Thanks. :cool:

sorodoros 2010-02-24 00:33

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
:eek: Geesh you're fast! 0-4 and there it is at 100% :D

noobmonkey 2010-02-24 00:34

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Quote:

Originally Posted by sorodoros (Post 543559)
BTW, the graphic line also shows 0, when 0%.

Can you explain that a bit more, sorry - still my first week or so of development, so not sure?!

isn't it meant to show 0? :)

built and in updates (0.5.0-4)

noobmonkey 2010-02-24 00:35

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Quote:

Originally Posted by sorodoros (Post 543567)
:eek: Geesh you're fast! 0-4 and there it is at 100% :D

yay!!!!! time for bed!! :D :D - i like easy fixes.... also quite easy once you get started doing it on the device itself... :) - takes 2 mins to build and 8 mins to get into devel :)

sorodoros 2010-02-24 00:36

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Well it's all moot now that you fixed it with lightning speed.

What I meant was that little battery line that shows how much juice you got was also at 0 (zero, all the way down on the left). Does that make any sense?

noobmonkey 2010-02-24 00:38

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Quote:

Originally Posted by sorodoros (Post 543573)
Well it's all moot now that you fixed it with lightning speed.

What I meant was that little battery line that shows how much juice you got was also at 0 (zero, all the way down on the left). Does that make any sense?

Yeah, that just reads the number, so it was reading yours at 00 (missing the 1)- therefore pushing 0% to the percentage bar :(

alot of my code just strips and reads numbers.... was stripping the left hand side by too much ;)

noobmonkey 2010-02-24 01:13

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
right few more changes, but no more builds tonight :) - would like to see a nice big list of requests to fill the gaps now :)

(Venom - add mydocs free space - needs lots of testing tho!) - and not sure on mmc at the mo.


All times are GMT. The time now is 09:03.

vBulletin® Version 3.8.8