PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Android On TP2 Development (http://forum.ppcgeeks.com/forumdisplay.php?f=319)
-   -   [TESTING] SCBS: Improved battery meter system (http://forum.ppcgeeks.com/showthread.php?t=142555)

arrrghhh 04-19-2011 01:48 PM

Re: [TESTING] SCBS: Improved battery meter system
 
Quote:

Originally Posted by manekineko (Post 2087146)
Rhodium 400, original battery

Booted up, charged it to full, then ran it down to 7% with a mix of sleeping, wifi tethering and games before charging it all the way back to full.

cc=0.069308073
cb=115.604675265
rc=0.842694823
re=0.228095166
vf=1.098000000
cf=0.312500000
lr=0.000001000
sl=16.619811388
se=0.010055974

Has anyone collect data multiple times to see how constant these numbers remain between between runs? That would seem to indicate how accurate they really are.

Does SCBS continue generating new logs so we can do that after a model has already been accepted?

Model looks fine to my untrained eyes.

Yes, it will keep generating logs to be analyzed. You can re-run it as much as you want, you can even use multiple logs in the algo.

What I'm wondering is how to stop it? Does it just perpetually take logs? I guess I'm not sure how this is going to be permanently implemented, there obviously has to be some way to automate the process...

fishingmedic 04-19-2011 02:29 PM

Re: [TESTING] SCBS: Improved battery meter system
 
Quote:

Originally Posted by ndno (Post 2086489)
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:
  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.

I took a look using root explorer and couldn't find a navipad.kl file. There were a few RHOD files B1HOME, etc, but wasn't sure if any of the RHOD400 files were correct and didn't see just navipad.kl file.

ndno 04-19-2011 02:57 PM

Re: [TESTING] SCBS: Improved battery meter system
 
Quote:

Originally Posted by fishingmedic (Post 2087156)
I took a look using root explorer and couldn't find a navipad.kl file. There were a few RHOD files B1HOME, etc, but wasn't sure if any of the RHOD400 files were correct and didn't see just navipad.kl file.

Hi Fishingmedic,

Sorry I didn't specify the exact files in my instructions; I believe Nate just mentioned the generic "navipad.kl" one and you're supposed to grab the one(s) for your device. So save the 4 files that starts with rhod400_* for your Sprint TP2. In froyo.user.conf, add a mount --bind for each of those files, like the example I showed above. Hopefully that will work.

quid246 04-19-2011 04:07 PM

Re: [TESTING] SCBS: Improved battery meter system
 
Any chance of the code being GPL'd?

Would be nice to export the logs and analyze them on a desktop PC... would definitely cut down on the .conf build time!

arrrghhh 04-19-2011 04:18 PM

Re: [TESTING] SCBS: Improved battery meter system
 
Quote:

Originally Posted by quid246 (Post 2087199)
Any chance of the code being GPL'd?

Would be nice to export the logs and analyze them on a desktop PC... would definitely cut down on the .conf build time!

I think jonpry has made an x86 binary of SCBS.

Not sure if BABS will be GPL'd, but the kernel code will be, don't worry 'bout that. Perhaps we can coax jonpry into giving up his x86 version :D.

jandyman 04-19-2011 05:49 PM

Any chance of gettn the changes and files in your rootfs so it can be pushed and used in a partition build?
Ie) init changes? Binaries, etc . . . :)

quid246 04-19-2011 06:05 PM

Re: [TESTING] SCBS: Improved battery meter system
 
Quote:

Originally Posted by arrrghhh (Post 2087212)
I think jonpry has made an x86 binary of SCBS.

Not sure if BABS will be GPL'd, but the kernel code will be, don't worry 'bout that. Perhaps we can coax jonpry into giving up his x86 version :D.

x86 EXE would be nice... don't need source, one less step if it's an EXE. :)

I ran the analyzer, but came back 45 minutes later to find my TP2 rebooted back into MightyRom. :angry1:

arrrghhh 04-19-2011 07:23 PM

Re: [TESTING] SCBS: Improved battery meter system
 
Quote:

Originally Posted by jandyman (Post 2087252)
Any chance of gettn the changes and files in your rootfs so it can be pushed and used in a partition build?
Ie) init changes? Binaries, etc . . . :)

The binary is in the first post. Just pull out scbs and add the change to init... done.

ndno 04-19-2011 08:56 PM

Re: [TESTING] SCBS: Improved battery meter system
 
Quote:

Originally Posted by arrrghhh (Post 2087298)
The binary is in the first post. Just pull out scbs and add the change to init... done.

CWM should allow us, the users, to create an update.zip to patch any distribution with this and share it with the other users.

arrrghhh 04-19-2011 09:08 PM

Re: [TESTING] SCBS: Improved battery meter system
 
Quote:

Originally Posted by ndno (Post 2087327)
CWM should allow us, the users, to create an update.zip to patch any distribution with this and share it with the other users.

Yes, assuming they are also running cwm :p


All times are GMT -4. The time now is 11:26 AM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0