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)

Rob1n 2010-02-24 21:57

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

Originally Posted by noobmonkey (Post 544954)
wohooooo!

very hard to find a full list of variants anywhere, i know the firmware checker gives whats available to me, but not all the variants :(

All that I'm aware of are the global, US (002), Africa/Middle East (003), UK generic (203) and UK vodafone (205). I'm not sure what the last digit signifies for the variants either (mine's currently 203.2 but I think I've had 203.1 before as well).

noobmonkey 2010-02-24 22:09

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
There is alot lol!

Code:


if g.strip() == "3.2010.02-8":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1.1.1")
        elif g.strip() == "2.2009.51-1":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1.1")
        elif g.strip() == "2009.51-1.203.2":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1.1 UK Generic Version")
        elif g.strip() == "2009.51-1.203.1":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1.1 UK Generic Version")
        elif g.strip() == "2009.51-1.205.1":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1.1 UK Vodafone Version")
        elif g.strip() == "2009.51-1.205.2":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1.1 UK Vodafone Version")
        elif g.strip() == "1.2009.44-1":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1.01")
        elif g.strip() == "1.2009.42-11":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1 - Initial public release ")
        elif g.strip() == "1.2009.42-11.002":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1 USA Version")
        elif g.strip() == "1.2009.42-11.003":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1 Mid-East/N-Africa Version")
        elif g.strip() == "1.2009.42-11.203":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1 UK Generic Version")
        elif g.strip() == "1.2009.42-11.203.0":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1 UK Generic Version")
        elif g.strip() == "1.2009.42-11.203.1":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1 UK Generic Version")
        elif g.strip() == "1.2009.42-11.203.2":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1 UK Generic Version")
        elif g.strip() == "1.2009.42-11.205":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1 UK Vodafone Version")
        elif g.strip() == "1.2009.42-11.205.0":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1 UK Vodafone Version")
        elif g.strip() == "1.2009.42-11.205.1":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1 UK Vodafone Version")
        elif g.strip() == "1.2009.42-11.205.2":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1 UK Vodafone Version")
        elif g.strip() == "1.2009.41-1":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Early Release Vanilla Variant")
        else:
          self.lbl_Maemo_Ver_Info.setText(g + " - Varient unknown -")


Rob1n 2010-02-24 22:23

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

Originally Posted by noobmonkey (Post 545011)
There is alot lol!

Code:


if g.strip() == "3.2010.02-8":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1.1.1")
        elif g.strip() == "2.2009.51-1":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1.1")
        elif g.strip() == "2009.51-1.203.2":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1.1 UK Generic Version")
        elif g.strip() == "2009.51-1.203.1":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1.1 UK Generic Version")
        elif g.strip() == "2009.51-1.205.1":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1.1 UK Vodafone Version")
        elif g.strip() == "2009.51-1.205.2":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1.1 UK Vodafone Version")
        elif g.strip() == "1.2009.44-1":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1.01")
        elif g.strip() == "1.2009.42-11":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1 - Initial public release ")
        elif g.strip() == "1.2009.42-11.002":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1 USA Version")
        elif g.strip() == "1.2009.42-11.003":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1 Mid-East/N-Africa Version")
        elif g.strip() == "1.2009.42-11.203":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1 UK Generic Version")
        elif g.strip() == "1.2009.42-11.203.0":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1 UK Generic Version")
        elif g.strip() == "1.2009.42-11.203.1":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1 UK Generic Version")
        elif g.strip() == "1.2009.42-11.203.2":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1 UK Generic Version")
        elif g.strip() == "1.2009.42-11.205":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1 UK Vodafone Version")
        elif g.strip() == "1.2009.42-11.205.0":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1 UK Vodafone Version")
        elif g.strip() == "1.2009.42-11.205.1":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1 UK Vodafone Version")
        elif g.strip() == "1.2009.42-11.205.2":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Pr 1 UK Vodafone Version")
        elif g.strip() == "1.2009.41-1":
            self.lbl_Maemo_Ver_Info.setText(g.strip() + " - Early Release Vanilla Variant")
        else:
          self.lbl_Maemo_Ver_Info.setText(g + " - Varient unknown -")


Ouch - you'd be better splitting the version string down and handling the parts separately. Probably the easiest method would be to split on hyphens first, giving you two strings A and B, then you can split A on dots (with either 1+2 or 2+3 being the year+week combination identifying the PR code), and B on dots as well (with the 2nd entry, if present, being the variant). You could also use a regex but that could get a bit more messy.

noobmonkey 2010-02-24 22:25

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

Originally Posted by Rob1n (Post 545044)
Ouch - you'd be better splitting the version string down and handling the parts separately. Probably the easiest method would be to split on hyphens first, giving you two strings A and B, then you can split A on dots (with either 1+2 or 2+3 being the year+week combination identifying the PR code), and B on dots as well (with the 2nd entry, if present, being the variant). You could also use a regex but that could get a bit more messy.

yeah :) - will eventually do that, just got it quick n dirty to see what it looked like on screen, code tidying will come once i have the information that i want on the screen :)

Working on wifi and bluetooth info this weekend :)

pelago 2010-02-24 22:42

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
I think "Pr" should be "PR" - I believe it's short for Public Release.

JohnLF 2010-02-24 22:56

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Very nice app, great to have all the info in one handy place.

I don't know if this is possible, but one thing I would like to see is a list of apps installed and which repo they came from. This would make it easy to remove any devel apps for instance if you were troubleshooting your phone. :cool:

Maybe this could be done by cross-referencing the catalogue caches?

noobmonkey 2010-02-25 09:30

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

Originally Posted by pelago (Post 545063)
I think "Pr" should be "PR" - I believe it's short for Public Release.

Yup agree - will change in next version, possibly tomorrow :D

F2thaK 2010-02-25 09:30

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
wow the front cam quality is great thru this app, except for scale!

maybe you could add save photo function??

great app!!!!!!!!!

noobmonkey 2010-02-25 09:32

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

Originally Posted by JohnLF (Post 545073)
Very nice app, great to have all the info in one handy place.

I don't know if this is possible, but one thing I would like to see is a list of apps installed and which repo they came from. This would make it easy to remove any devel apps for instance if you were troubleshooting your phone. :cool:

Maybe this could be done by cross-referencing the catalogue caches?

hehe, thats on the todo list, well kind off....

It's very difficult to know where an app comes from unfortunatley... (Unless i log it at time of install.)

Definitley will try and list apps currently in certain repo's though.
Will also try and give the ability to enable/disable repo's if i can figure out how to do it!

I also want to get suggestions for the tool box...

Apt commans, clear cache , autoremove etc...
Move fonts / (how to where etc..)
Update to Python optify?
Determine top 5 rootfs hungry apps with ability to remove....

Any others? :D

noobmonkey 2010-02-25 09:33

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

Originally Posted by f2thak (Post 545528)
wow the front cam quality is great thru this app, except for scale!

maybe you could add save photo function??

great app!!!!!!!!!


it currently saves it to a file in your MyDocs :)

In a future version could add the ability to change the location and filename :)
(Yeah, sorry need to sort the scale out too!)


All times are GMT. The time now is 13:15.

vBulletin® Version 3.8.8