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

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-08-2011, 10:11 PM
Boominsvx's Avatar
Regular 'Geeker
Offline
Pocket PC: Sprint Touch Pro 2
Carrier: Boost Mobile
Location: Taunton, MA
 
Join Date: Jan 2010
Posts: 284
Reputation: 1105
Boominsvx is halfway to VIP status based on repBoominsvx is halfway to VIP status based on repBoominsvx is halfway to VIP status based on repBoominsvx is halfway to VIP status based on repBoominsvx is halfway to VIP status based on repBoominsvx is halfway to VIP status based on repBoominsvx is halfway to VIP status based on repBoominsvx is halfway to VIP status based on repBoominsvx is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to Boominsvx
Re: [TESTING] SCBS: Improved battery meter system

Analysis finished. Candidate is:
cc=0.171811426
cb=72.369357367
rc=0.452867817
re=0.248552169
vf=1.098000000
cf=0.312500000
lr=0.00000100
sl=0.036095755
se=0.007000000

Looking good so far. Any red flags?
__________________
My thanks button is sleeping. Do not disturb.
Reply With Quote
  #2 (permalink)  
Old 04-17-2011, 10:24 PM
iiinycboi's Avatar
Lurker
Offline
Pocket PC: touch pro
Carrier: sprint
 
Join Date: Nov 2008
Posts: 12
Reputation: 0
iiinycboi is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] SCBS: Improved battery meter system

is it possible to remap the call button to be the home button on your roofts.img file? or can i use this fix 3 times to get a good battery model and put the F22 rootfs to have remapping capabilities?

BTW, thanks for awesome work!

thank you
Reply With Quote
  #3 (permalink)  
Old 04-18-2011, 02:09 AM
natemcnutty's Avatar
VIP Member
Offline
Pocket PC: VZW Touch Pro 2
Carrier: Verizon Wireless
 
Join Date: Nov 2009
Posts: 845
Reputation: 3070
natemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] SCBS: Improved battery meter system

Quote:
Originally Posted by iiinycboi View Post
is it possible to remap the call button to be the home button on your roofts.img file? or can i use this fix 3 times to get a good battery model and put the F22 rootfs to have remapping capabilities?

BTW, thanks for awesome work!

thank you
Just grab the navipad.kl for your device from F22's rootfs and put it in this one.
__________________
Reply With Quote
  #4 (permalink)  
Old 04-18-2011, 03:49 AM
ndno's Avatar
VIP Member
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint
 
Join Date: Jan 2010
Posts: 421
Reputation: 3570
ndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] SCBS: Improved battery meter system

Quote:
Originally Posted by natemcnutty View Post
Just grab the navipad.kl for your device from F22's rootfs and put it in this one.
I think he doesn't know how to "do" so, especially if he doesn't know Linux; he probably wants the rootfs.img updated with it

@iiinycboi, do you know Linux? If so, you can mount jonpry's rootfs.img under Linux (Ubuntu, Fedora, etc), and copy the navipad.kl from F22's rootfs over as Nate suggested.

If not, you can try this:
  1. Boot into android, using F22's rootfs
  2. Use a file explorer and navigate to /init.etc/keymaps and copy the navipad.kl file to your /sdcard directory
  3. Boot back to WinMo and use a text editor to edit /conf/froyo.user.conf to add the following line in the custom_shells section at the bottom:
    Quote:
    mount --bind /sdcard/navipad.kl /init.etc/keymaps/navipad.kl
  4. Replace F22's rootfs.img with jonpry's rootfs.img and you should get the button mapping the next time you boot into android; you should have SCBS feature working as well as the F22's button mapping.
I haven't tried this myself but it should work.

Last edited by ndno; 04-18-2011 at 02:44 PM.
Reply With Quote
This post has been thanked 1 times.
  #5 (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
  #6 (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
  #7 (permalink)  
Old 04-08-2011, 11:26 PM
ndno's Avatar
VIP Member
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint
 
Join Date: Jan 2010
Posts: 421
Reputation: 3570
ndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Loving this kernel with the SCBS feature. My battery meter is so stable; no crazy percentage jumps or dips, especially when I decide to use data a lot, just very steady discharging percentage. Going swap out my new battery (seller said it's OEM but it sucks, more like a cheap generic) with my old one and redo the model again. My old battery is still very good.

By the way, no crashes, SODs, or reboots to WinMo; been running without shutting down Frx06 for over 30 hrs straight with a 3 or 4 charge/discharge cycles.

Only con is the slow panel wake; sometimes I have to wait over 5 seconds before it wakes up.

Sent from my FRX06-ized TP2 using Tapatalk

Last edited by ndno; 04-08-2011 at 11:31 PM.
Reply With Quote
  #8 (permalink)  
Old 04-08-2011, 11:53 PM
jonpry's Avatar
PPCGeeks Regular
Offline
Pocket PC: rhodium
Carrier: tmobile
Threadstarter
 
Join Date: Apr 2010
Posts: 70
Reputation: 715
jonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] SCBS: Improved battery meter system

Boominsvx,

Cb and Sl look low to me. I have seen lower Cb though. Maybe your battery is old and on the fritz. Maybe you did not discharge/charge the phone far enough? Anyways if it works then it works. The model isn't weird enough to cause the nuclear effect or anything. Sometimes we get like negative Cb, so it will charge when unplugged and discharge when plugged in.
__________________
Hmm, Like my work? Don't be shy, donate!.
https://www.paypal.com/cgi-bin/websc...=VZ32N65HCXZBU
Reply With Quote
This post has been thanked 1 times.
  #9 (permalink)  
Old 04-09-2011, 02:46 AM
Boominsvx's Avatar
Regular 'Geeker
Offline
Pocket PC: Sprint Touch Pro 2
Carrier: Boost Mobile
Location: Taunton, MA
 
Join Date: Jan 2010
Posts: 284
Reputation: 1105
Boominsvx is halfway to VIP status based on repBoominsvx is halfway to VIP status based on repBoominsvx is halfway to VIP status based on repBoominsvx is halfway to VIP status based on repBoominsvx is halfway to VIP status based on repBoominsvx is halfway to VIP status based on repBoominsvx is halfway to VIP status based on repBoominsvx is halfway to VIP status based on repBoominsvx is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to Boominsvx
Re: [TESTING] SCBS: Improved battery meter system

I'll give it a good run tomorrow with a full discharge.recharge cycle and see if I just got a short log. Testing to many things I guess. You're right though. This battery is about a year and a half old at least. I can try my other one sunday and compare. Will let you know.
Reply With Quote
  #10 (permalink)  
Old 04-10-2011, 06:34 AM
ndno's Avatar
VIP Member
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint
 
Join Date: Jan 2010
Posts: 421
Reputation: 3570
ndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Wow, this kernel is so amazingly accurate in terms of the battery meter. I know you said the winmo meter is not really accurate but every time I boot back to winmo, the percentage is just within 2 percentage points if not dead on. I switched back to my old battery and after 3 charge/discharge cycles, here are my new values:

cc=0.192870918
cb=128.659464784
rc=0.766339117
re=0.132407606
vf=1.103000000
cf=0.312500000
lr=0.000001000
sl=9.651638728
se=0.007000000

However, there is one issue with this kernel: I can't get the wifi to work; it keeps saying error. When I switched back to using the 4/4 wiltist2 kernel posted by arrrghhh, wifi works fine. Can I use the wifi module from that kernel with this kernel? Other than that, this kernel is solid.

Sent from my FRX06-ized TP2 using Tapatalk
Reply With Quote
Reply

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

Tags
battery, tp2

Thread Tools
Display Modes

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:17 AM.


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