PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2 > Android On TP2 Development
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-24-2011, 01:52 AM
wateverweber's Avatar
Lurker
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint
 
Join Date: Apr 2011
Posts: 1
Reputation: 0
wateverweber is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] SCBS: Improved battery meter system

Quote:
Originally Posted by jonpry View Post
Ndno,

Edit /sdcard/scbs.conf and change Vf to 1.103. Then either reboot the phone or "killall -HUP scbs" What model are you running, ie RHOD100 etc?
Hello, I just switched to wisTilt2's SCBS kernals and am using your roofts and BABs apk. however i am only getting my phone to charge to 99% at most. I found your fix as shown above, however when i went into my sd card i did not have a scbs.conf file, only the logs. I went into Ba Tree app and under SCBS Version is said Warning:Failed to open config file /sdcard/scbs.conf 0.04a

Did i do something incorrectly? or is there a fix to this

I am using a RHOD400 on BLAZN 2.2.2

Thanks
Reply With Quote
  #2 (permalink)  
Old 04-25-2011, 02:14 AM
toadlife's Avatar
Lurker
Offline
Pocket PC: T-Mobile Touch Pro 2
Carrier: T-Mobile
Location: Lemoore, CA
 
Join Date: Dec 2008
Posts: 15
Reputation: 15
toadlife is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] SCBS: Improved battery meter system

I solved my problem of scbs blowing up logcat by starting scbs as a service...

I created a shell script called scbs.sh and placed it in /bin

Code:
#!/bin/sh    
scbsargs=`cat /sdcard/scbsargs.conf`
if [ ! "$scbsargs" == "" ] ; then
    if [ ! -f /dev/scbs0 ] ; then
        dev=$(cat /sys/class/scbs/0/dev | sed -e "s/:/ /g")
        mknod /dev/scbs0 c $dev        
    fi
    scbs $scbsargs
fi
I created a file called scbsargs.conf and placed it in the root of my sdcard...

Code:
-d -co /sdcard/scbs.conf -lf /dev/null
And finally, edited /init.cfg/init.froyo.rc and added scbs.sh as a service...

Code:
service scbs /bin/scbs.sh
oneshot
__________________
"Whenever you want information on the 'net, don't ask a question; just post a wrong answer." -- Cancer Omega
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2 > Android On TP2 Development

Tags
battery, tp2


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 02:27 PM.


Powered by vBulletin® ©2000 - 2026, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com