FORUMS
Remove All Ads from XDA

[DEV] all you need to know about your phone for dev questions 16-02-2012

3,303 posts
Thanks Meter: 4,676
 
Post Reply Email Thread
this script is made to tell you all you need to know for troubleshooting :

this a WIP, its main purpose is to learn scripting (for me) and display your phone config (for you)

in order to quicker answers to your questions, please attach a screenshot of it when you ask for a bug you "found" on any rom

in one tap, it displays :
  • current min frequency
  • current max frequency
  • current governor
  • compcache % actually not properly
  • VM heapsize actually not properly
  • sdcard cache size
  • theme used
  • kernel used
  • mod version
  • build version
  • platform
  • modules currently running
  • the name of your undervolting module
  • the recognized name of your device

how it looks :
(on robyn)


(on mimmi)


to use it quickly, refer to minMAX CPU switcher thread here


12.02.16 :
here!




12.01.29 :

12.01.29 rel1
dev2 :
12.01.28 dev2
dev1 :
12.01.28 dev1
initital release :
12.01.28 initial release

wish list :

- battery temperature
- battery percentage
- sd card cache size (done)
- JIT

- ...

this will be easy now to answer all the questions when finding a bug
The Following 7 Users Say Thank You to matmutant For This Useful Post: [ View ] Gift matmutant Ad-Free
 
 
28th January 2012, 08:53 AM |#2  
matmutant's Avatar
OP Recognized Contributor
Flag ~/
Thanks Meter: 4,676
 
More
changelog
12.02.16:
added:
  • updated thank list
changed:
  • colors for important things
  • some other things

12.01.29 :
added :
  • sdcard cache size
  • theme used (working now)
changed :
  • the way it displays
  • reduced the script size

12.01.28 dev2 :
added :
  • vm heap size
  • theme used
  • compcache status
  • kernel used

12.01.28 dev1 :
added :
  • mod version
  • build release
  • platform

changed :
  • ro.product.name=**** into ****


12.01.28 initial release
The Following 4 Users Say Thank You to matmutant For This Useful Post: [ View ] Gift matmutant Ad-Free
28th January 2012, 08:54 AM |#3  
matmutant's Avatar
OP Recognized Contributor
Flag ~/
Thanks Meter: 4,676
 
More
comments and others
how to use quickly :

(same screens as for minMAX cpu switcher ...)

  1. place the script you want at the root of your sd,
  2. install Script Manager from the market
  3. launch it, find the script and click on it
  4. set as favorite (and root --> no need, this just displays status an doesn't need any special rights)
  5. close Script Manager
  6. long press home screen
  7. choose widget
  8. script manager ads 1*1
  9. choose the script
  10. now the the script is ready to use !
  11. just press on the widget and it will switch between the two frequencies



thank list :

nAa
NetSkill
RoK (FrenchKoR@XDA)
tufadorin

will add later some others
The Following 3 Users Say Thank You to matmutant For This Useful Post: [ View ] Gift matmutant Ad-Free
28th January 2012, 09:55 AM |#4  
NetSkill's Avatar
Senior Member
Flag Slovakia
Thanks Meter: 223
 
More
Thumbs up Works
This is Usefull, works well on my mini device Thx
The Following User Says Thank You to NetSkill For This Useful Post: [ View ] Gift NetSkill Ad-Free
28th January 2012, 10:00 AM |#5  
matmutant's Avatar
OP Recognized Contributor
Flag ~/
Thanks Meter: 4,676
 
More
Quote:
Originally Posted by NetSkill

This is Usefull, works well on my mini device Thx

thank you for testing

in next version, coming soon, there won't be "ro.product.name=****" displayed anmore but only the device name
thx to this line :
Code:
PRODUCT=`grep ro.product.name /system/build.prop | sed 's/ro.product.name=/\ /'`
for battery stat, vm, cache size, etc... i first need to know where theses values are stored
The Following User Says Thank You to matmutant For This Useful Post: [ View ] Gift matmutant Ad-Free
28th January 2012, 12:26 PM |#6  
tufadorin's Avatar
Senior Member
Nava Asturias
Thanks Meter: 42
 
More
Hi,@matmutant,i'm testing your script and all works well,but i have installed crystal theme and your script says my theme is MiniCM7.Sorry for my english.
Thanks.
The Following User Says Thank You to tufadorin For This Useful Post: [ View ] Gift tufadorin Ad-Free
28th January 2012, 12:38 PM |#7  
matmutant's Avatar
OP Recognized Contributor
Flag ~/
Thanks Meter: 4,676
 
More
Quote:
Originally Posted by tufadorin

Hi,@matmutant,i'm testing your script and all works well,but i have installed crystal theme and your script says my theme is MiniCM7.Sorry for my english.
Thanks.

interesting
--> you are right, i'm using NT sense and it also answers "miniCM7" (i just didn't pay attention @ this )

btw :
getprop says : [persist.sys.themeId]: [NTSense-blue]
but in build.prop it's written : persist.sys.themeId=MiniCM7
and my script catches the value from build.prop ...
i'll look how to fix it,
thank you for this comment



EDIT : could you please try this one? : http://www.mediafire.com/?3kib8hrcxtdm5x4
EDIT2 : same problem for compcache...
The Following User Says Thank You to matmutant For This Useful Post: [ View ] Gift matmutant Ad-Free
29th January 2012, 08:56 AM |#8  
matmutant's Avatar
OP Recognized Contributor
Flag ~/
Thanks Meter: 4,676
 
More
last version (12.01.29) now displays properly :
  • sdcard cache size
  • vm heap size
  • theme
  • build release
  • platform
  • device
  • mod version
  • UVmodule name
  • kernel
  • min CPU freq
  • MAx CPU freq
  • governor
  • running modules

but still fails for compcache and vm heapsize :
  • only default is displayed

12.01.29 is out!


PS: thank list added in the script
The Following 2 Users Say Thank You to matmutant For This Useful Post: [ View ] Gift matmutant Ad-Free
14th February 2012, 09:34 PM |#9  
matmutant's Avatar
OP Recognized Contributor
Flag ~/
Thanks Meter: 4,676
 
More
little update : 12.02.16
here is a little release,

no big changes, no time for ..
but easy to read colours ;) and thk list updated

download link for 12.02.16 : here
16th February 2012, 09:03 AM |#10  
matmutant's Avatar
OP Recognized Contributor
Flag ~/
Thanks Meter: 4,676
 
More
do you have any idea of things that could possibly be implemented for the purpose in a future version?
17th February 2012, 08:43 PM |#11  
ChavitoArg's Avatar
Senior Member
Thanks Meter: 657
 
More
i hope the people comment on this thread just as they do on minicm or faq thread ;/

Sent from my E10i using xda premium
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes