About power setting - JASJAR, XDA Exec, MDA Pro ROM Development

Now the ROM have power's settings:
20% - Warning
10% - Cut off SD power supply
Can I modify it? How?
Jackie

As far as i remember it can be modified, but i forgot how?
can someone pitch in please?

topgunarindam said:
As far as i remember it can be modified, but i forgot how?
can someone pitch in please?
Click to expand...
Click to collapse
Cry!!! Somebody can help me?

jackielo said:
Now the ROM have power's settings:
20% - Warning
10% - Cut off SD power supply
Can I modify it? How?
Jackie
Click to expand...
Click to collapse
I had a look through my Universal's registry, the wiki and google - but with no luck
My recommendation:
a) Continue searching the above 3 places
OR
b) Get a battery monitoring piece of software (eg batti)
OR
c) Don't change it? (and get a bigger battery\bring a charger\conserve power)
And finally:
Don't whine - try to add something to the community

@jackielo
XDA-Exec Sandisk-Ultra-2.0GB

jackielo said:
Now the ROM have power's settings:
20% - Warning
10% - Cut off SD power supply
Click to expand...
Click to collapse
these numbers are hardcoded in NK and battery driver. So they cannot be modified by editing registry or something else.

mamaich said:
these numbers are hardcoded in NK and battery driver. So they cannot be modified by editing registry or something else.
Click to expand...
Click to collapse
But I find some rom can using SD until battery 0%. So I think this setting which should can be modified.

Related

[Q] Defy 1% universal battery increment?

Hello all,
Following a question in another thread (forum.xda-developers.com/showthread.php?p=10860486) and the many requests sent to battery widget developers, I decided to create this thread.
Many someone can help to make it so?
The battery data is provided by the driver through the 'fake' files located in /sys/class/power_supply/battery
The % data can be found in 2 files:
- charge_counter at 1% increment
- capacity at 10% increment
Would there be a way to revert those files in the battery driver and then bundle it in a ROM or an update for all?
Or another way to have the 1% data in the capacity file, which seems to be used by Android to report battery % as suggested in the original thread mentioned above? This thread also suggest another solution, but I'm worried that it might consume battery in doing so.
This would be great to see that happen, then it might even be possible to reuse that on other phones?
ccounotte said:
Hello all,
Following a question in another thread (forum.xda-developers.com/showthread.php?p=10860486) and the many requests sent to battery widget developers, I decided to create this thread.
Many someone can help to make it so?
The battery data is provided by the driver through the 'fake' files located in /sys/class/power_supply/battery
The % data can be found in 2 files:
- charge_counter at 1% increment
- capacity at 10% increment
Would there be a way to revert those files in the battery driver and then bundle it in a ROM or an update for all?
Or another way to have the 1% data in the capacity file, which seems to be used by Android to report battery % as suggested in the original thread mentioned above? This thread also suggest another solution, but I'm worried that it might consume battery in doing so.
This would be great to see that happen, then it might even be possible to reuse that on other phones?
Click to expand...
Click to collapse
This app has already been done and is there in the Apps Section. I am using this from almost a month now. It is a great app.
This app has already been done and is there in the Apps Section
Click to expand...
Click to collapse
can u give link plz
http://forum.xda-developers.com/showthread.php?t=930457
Thx I dont seen it before.
chaihg said:
This app has already been done and is there in the Apps Section. I am using this from almost a month now. It is a great app.
Click to expand...
Click to collapse
The thing is to have the Defy support all apps and widgets, not have only one choice...
So it's not developing a widget, but either an updated battery driver or a system service changing how things work there (merely exchanging 2 system files).
I think it´s only about reworking framework-res.apk, to have it in the status bar instead of the original one. I would try it myself, if we would have custom recovery, with possible start from cold boot.
This software display accurate power than?
Hello
I would like to have incon battery like that :
http://forum.xda-developers.com/showthread.php?t=724778
I see that it's impossible directly .
If i edit BatteryService.smali in the services.jar i can add 1% charging detection and so add icon ?
Thanks
I put the files in zip^, you can open with Notepad2 or ++
It's a driver issue, in the kernel. So it's not modifiable.
I have been doing experiments with it. The easiest thing may be copy the charge_counter info over capacity each N minutes with some kind of bash script, but the driver is programmed so that if it detects a write in any of those files, it stops updating.
I guess the solution would be some kind of kernel module which modifies that behavior, but I have not those skills.
You can see the source of the driver in /kernel/drivers/power/cpcap-battery.c, in the source that you can download from the Motorola site.
martinml said:
It's a driver issue, in the kernel. So it's not modifiable.
I have been doing experiments with it. The easiest thing may be copy the charge_counter info over capacity each N minutes with some kind of bash script, but the driver is programmed so that if it detects a write in any of those files, it stops updating.
I guess the solution would be some kind of kernel module which modifies that behavior, but I have not those skills.
You can see the source of the driver in /kernel/drivers/power/cpcap-battery.c, in the source that you can download from the Motorola site.
Click to expand...
Click to collapse
That was also one of my first ideas concerning systemwide 1% battery.
From kernelspace you have much more possibilities than from userspace if you want to modify systemstuff.
I`ve also tried to decompile cpcap-battery module. Do you have a link to the source ?
Have written some kernel modules for normal unix systems, will have a try on the android one.
rznag said:
I`ve also tried to decompile cpcap-battery module. Do you have a link to the source ?
Click to expand...
Click to collapse
Sure! I uploaded here: http://pastebin.com/TnZ3P8CN
But anyway you should download the full source from opensource.motorola.com.
I think that the problem lies here: the function cpcap_batt_ioctl() has this code:
Code:
if (sply->no_update)
return 0;
The 'no_update' variable is always set to false, except when you try to write over some of the mentioned files. The thing to do would be modifying this function to remove that return or to change the condition of the if.
With the help of this article I think I managed to dump and disassembly the code of this function, but I know nothing of ARM assembly language. This is what I think it's the equivalent assembly source of that function: http://pastebin.com/w658cwSj
Just a sidenote: since the latest update Circle Battery widget shows battery in 1% increments. Apparently they figured it out.
AgentSmith said:
Just a sidenote: since the latest update Circle Battery widget shows battery in 1% increments. Apparently they figured it out.
Click to expand...
Click to collapse
Could you post a link to it?
Is there any solution to "fix" moto original battery? I had something like this on my old galaxy i5700 - circle battery in notification bar, combined with the right driver - 1% battery...
I think it's this : https://market.android.com/details?id=fr.depoortere.android.CircleBatteryWidget
For droid x but it's not on the taskbar
I open xml files : stat-sys-battery.xml and see that :
<?xml version="1.0" encoding="utf-8" ?>
- <level-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@android:010802C4" android:maxLevel="1" />
<item android:drawable="@android:010802C5" android:maxLevel="10" />
<item android:drawable="@android:010802C7" android:maxLevel="30" />
<item android:drawable="@android:010802C8" android:maxLevel="50" />
<item android:drawable="@android:010802C9" android:maxLevel="70" />
<item android:drawable="@android:010802CA" android:maxLevel="90" />
<item android:drawable="@android:010802C6" android:maxLevel="100" />
</level-list>
It is possible to add 20 40 60 80 ? i don't know why 1-10-30 ?
Thanks
AgentSmith said:
Just a sidenote: since the latest update Circle Battery widget shows battery in 1% increments. Apparently they figured it out.
Click to expand...
Click to collapse
They didn`t figured it out. They just read the motorola specific variable. So with circle battery you also have no systemwide 1% increment. They read the same variable as the other apps posted in the apps section with which you can have 1% display: DefyBatt 1%, MotoCharge.
But all these apps just show the accurate batterylevel only on one place, not systemwide.
@mick771
What you found in the xml is just for displaying the batterystats but not to get it into 1% format. It just defines which icon should be shown at which batterylevel.
If you would add 20-40-..... then the phone would just change the icon in the taskbar more often, but it wouldn`t get more accurate. Only just 10% Steps.
I have a solution based on a kernelmodule, but haven`t successfully compiled it.
I just have changed some lines in the original motorola driver. Will have a try do compile it next days. At the moment i`m too busy with university stuff.
But I thought the kernel signature was checked at boot so you can't make any changes to it? How are you getting around that?
Yes, the kernel signature is checked at boot. But perhaps it`s possible to change this module at runtime. Single modules are not checked as far as i know. That`s why it`s possible to load the overclock module.
I don`t wanna build a new kernel, just change the battery driver module.
But as i said, i haven`t successfully compiled the module. So i don`t post a solution, it`s just that i know a possible way to solve the problem on codebase.
We`ll see if it works. Perhaps it does, perhaps not.
rznag said:
They didn`t figured it out. They just read the motorola specific variable. So with circle battery you also have no systemwide 1% increment. They read the same variable as the other apps posted in the apps section with which you can have 1% display: DefyBatt 1%, MotoCharge.
But all these apps just show the accurate batterylevel only on one place, not systemwide.
Click to expand...
Click to collapse
Ok my bad. I misinterpreted the whole topic here. Another more strange thing I noticed which might be worthwhile to know is that the lockscreen often already displays a full (100%) battery charge - also mentioning to unplug the charger - while Circle Battery still displays a value between 95% and 100%. Actually the battery keeps charging until it says 100%. A system wide 1% increment might solve this little hickup. Also as soon as I unplug the charger the percentage drops to 99. Probably an Android thing...
Defy shows with motorola increments for a value like (x+1)0 from x6 - (x+1)5.
Means if it shows 90% it can be from 86-95.
40% means it can be from 36-45.
So if the battery is at 96% it will show Full but you can charge further cause you haven`t reached the real 100%.
That`s also why your battery directly drops after unplugging.

[ROM] Nick's Phone Compiled From Oxy/Roalex With Mods [15.08.2012]

Nick's Phone V1.0 Based on Oxygen and Built From Roalex Sources
First of all, big thanks to AdamG, _thalamus, Roalex, everyone at Cyanogen, ihlades and everyone else who helps the desire! (And others I've forgot!)
I wasn't going to build Android from source because I knew it would grip me and consume me but I couldn't help it! I've been building Oxygen and Roalex from source and have added in my own changes in to both. I've settled on Roalex because it has more patches and updates than I can be bothered to add in manually! (I don't use github, all my changes are done offline etc)
Anyway, the ROM is based on Roalex's source code for his Wip branch as of the beginning of August with:
Lockscreen calendar - with the next 3 appointments shown up to 1 week in advance
Lockscreen Music controls - appear when music is playing and screen is locked, ONLY WORK WITH STOCK GINGERBREAD MUSIC PLAYER! (for some reason). They do work with Winamp but it sometimes mixes up play / pause modes. Not sure why but I prefer the stock player as it's lightweight and themed with my own mods
Lockscreen Torch - long press the home button to enable the torch (I use this so much I had to have it!)
Swipe Away Last Notification and Close Notification Tab - Bit of a gimmick but I liked it!
Fix alarm snooze / dismiss unlocking the screen - Cyanogenmod has this but Oxygen didn't, so I added it. Basically when you dismiss your alarm it unlocks your screen! Which is annoying!
+ My own ICS based theme I've done. Please see screenshots.
All my changes are hard coded in and CANNOT be turned off. Sorry, I could add in the ability to turn them off but this is based on what I want and use so I didn't want the ability to turn them off because I don't want to!
I've also added my own Go Launcher ICS theme, Go Widgets Theme and my calendar ICS theme for Android Pro Widgets.
I've used Holo Launcher as the default launcher and have modified this also, with some graphical changes I prefer!
I've also added in a modified stopwatch & timer app themed by me.
There's also:
720p HW Playback
Trackpad to wake (NOT to unlock)
SDCard buffer modified to 1024KB
T9 Dialler
I've decided not to add in any build.prop tweaks as I'm not convinced they do anything! Or do very little, so I've done none of those this time but anyone is welcome to add them in if you choose to.
As with all my ROMS, this is provided "as is" and no warranty is given or implied, so you can use at your own risk.
If anyone notices any bugs / issues then please let me know or post here!
Anyway, enjoy!
MD5 is: 429DC097B7E9FB3E05808F67025B8D18
Download is here: [Updated version with 1.20.2 BusyBox binary]
http://www.mediafire.com/?b8dyx3b2hbeu8an
FULL WIPE IS RECOMMENDED!
There's about 30MB of unused space in /system if you use the CM7r2 HBoot so you can either fill it up with your own applications or use the following custom HBoot created by schalmers to give you a system 125 / cache 5 / data 307 partition setup.
http://forum.xda-developers.com/showpost.php?p=30405300&postcount=34
APPS2SD Support / Enabling - Please see the quote below:
MrUrgit said:
Looks good so far.
You can choose where to install your apps (same as Mildwild V4.3).
As per the instructions for MW's ROM (thanks SydBarret55), If you want apps on sd-ext:
1. Activate sd-ext:
Go to Setting>Applications>Development
Check SD-EXT
Reboot phone
2. Choose the default location for applications:
Go to Settings > Applications > Preferred install location
Choose sd-ext
Or go here: http://forum.xda-developers.com/showpost.php?p=25430232&postcount=3812
You can also move apps individually:
Settings > Applications > Manage applications
Touch the app you want to move, and then touch where you want the app to go e.g. Move to Phone, Move to SD-Ext (EXT3 or EXT4 partition) or Move to SD card (Fat 32 partition).
Again, the link above has screenshots to show you what to do.
Click to expand...
Click to collapse
Downloading as we speak. Will give this a try.
*edit*
Has this rom got any sort of A2SD built in?
Looks great! I'm about to try. Thank you!
Looks good and pretty!
What ICS theme are you using?
Thanks
biron_w said:
Downloading as we speak. Will give this a try.
*edit*
Has this rom got any sort of A2SD built in?
Click to expand...
Click to collapse
Looks good so far.
You can choose where to install your apps (same as Mildwild V4.3).
As per the instructions for MW's ROM (thanks SydBarret55), If you want apps on sd-ext:
1. Activate sd-ext:
Go to Setting>Applications>Development
Check SD-EXT
Reboot phone
2. Choose the default location for applications:
Go to Settings > Applications > Preferred install location
Choose sd-ext
Or go here: http://forum.xda-developers.com/showpost.php?p=25430232&postcount=3812
You can also move apps individually:
Settings > Applications > Manage applications
Touch the app you want to move, and then touch where you want the app to go e.g. Move to Phone, Move to SD-Ext (EXT3 or EXT4 partition) or Move to SD card (Fat 32 partition).
Again, the link above has screenshots to show you what to do.
MrUrgit said:
SNIP!
Click to expand...
Click to collapse
Those instructions worked. Cheers
Sent from my HTC Desire using xda app-developers app
biron_w said:
Downloading as we speak. Will give this a try.
*edit*
Has this rom got any sort of A2SD built in?
Click to expand...
Click to collapse
It has yeah, please see the post from MrUrgit below:
MrUrgit said:
Looks good so far.
You can choose where to install your apps (same as Mildwild V4.3).
As per the instructions for MW's ROM (thanks SydBarret55), If you want apps on sd-ext:
1. Activate sd-ext:
Go to Setting>Applications>Development
Check SD-EXT
Reboot phone
2. Choose the default location for applications:
Go to Settings > Applications > Preferred install location
Choose sd-ext
Or go here: http://forum.xda-developers.com/showpost.php?p=25430232&postcount=3812
You can also move apps individually:
Settings > Applications > Manage applications
Touch the app you want to move, and then touch where you want the app to go e.g. Move to Phone, Move to SD-Ext (EXT3 or EXT4 partition) or Move to SD card (Fat 32 partition).
Again, the link above has screenshots to show you what to do.
Click to expand...
Click to collapse
Thanks for the post, I'll add it to the bottom of the first post.
carval2k said:
Looks good and pretty!
What ICS theme are you using?
Thanks
Click to expand...
Click to collapse
It's basically a mix from the original ICS ROM, Sonny's amazing CM7 theme and some of my own work from all over the place! Like the circle battery mod is taken from the online kitchen (or from dGB by SUroot, can't remember where!) and modified to blue and grey by me. Most the notifications have been colour coded to blue by me and when you press menu, I've tried to colour code all those icons to white as well.
It's taken a long time to get to where it is but like I've posted before, I'm keeping my desire for another 8 months or more so want it to be the way I like it (and hopefully others do as well!)
Nick
Flashed this last night and i'm really impressed with it.
It's super quick. Even booting it up only takes about 10 seconds!
*edit*
Is there any way to change the clock colour to white? I've done theme using the UOT Kitchen and the blue clock doesn't look right.
biron_w said:
Flashed this last night and i'm really impressed with it.
It's super quick. Even booting it up only takes about 10 seconds!
*edit*
Is there any way to change the clock colour to white? I've done theme using the UOT Kitchen and the blue clock doesn't look right.
Click to expand...
Click to collapse
I would have thought there's a way to do it in the Kitchen but if not you will need to use APKtool to decompile the framework-res.apk file unfortunately.
You can decompile it and edit the following bit in styles: (under res\values\styles.xml)
<style name="TextAppearance.StatusBar" parent="@android:style/Theme">
<item name="android:textSize">14.0sp</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ff39b6e7</item> <--------------- change this to ffffffff
</style>
Or you can do it this way:
http://forum.xda-developers.com/showthread.php?p=9978779#post9978779
You just need to follow the bit that says notification, date and time (decompiling the systemui.apk file).
Cheers,
Nick
nickabbott said:
I would have thought there's a way to do it in the Kitchen but if not you will need to use APKtool to decompile the framework-res.apk file unfortunately.
You can decompile it and edit the following bit in styles: (under res\values\styles.xml)
<style name="TextAppearance.StatusBar" parent="@android:style/Theme">
<item name="android:textSize">14.0sp</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ff39b6e7</item> <--------------- change this to ffffffff
</style>
Or you can do it this way:
http://forum.xda-developers.com/showthread.php?p=9978779#post9978779
You just need to follow the bit that says notification, date and time (decompiling the systemui.apk file).
Cheers,
Nick
Click to expand...
Click to collapse
Far too complicated for me :silly: i'll leave it how it is.
Excellent work.
I love the symbols of the notification power widget. Just out of curiosity, what exactly did you change/theme regarding the "Holo Launcher"? I've been using the launcher for several weeks now but can't notice any difference.
Great work!
Is there a stand alone Lockscreen Music Control patch for oxygen 2.3.2?
Thanks!
Tanks for this new Rom and for your work . I try it now.
Is your Rom multi-langages ?
Sent from my HTC Desire using xda app-developers app
Can't wait to try it out !
i'm still running your previous rom, and i'm super happy with it. still super quick and rock stable. i hope this new rom is the same. :fingers-crossed:
charliebigpot said:
Excellent work.
I love the symbols of the notification power widget. Just out of curiosity, what exactly did you change/theme regarding the "Holo Launcher"? I've been using the launcher for several weeks now but can't notice any difference.
Click to expand...
Click to collapse
I've only really changed a few things, mainly when you press menu the screen is transparent with a white border, instead of solid grey. Also when you press and hold on an icon, thats transparent and has a white border instead of just being solid grey and also when you go into a folder that's transparent with a white border. I've also made the return to desktop icon in the launcher brighter white and changed the play icon to ics blue instead of the semi-transparent white.
Not big changes but I prefer consistency!
_cino said:
Great work!
Is there a stand alone Lockscreen Music Control patch for oxygen 2.3.2?
Thanks!
Click to expand...
Click to collapse
I've not created one no, sorry. But it would be possible to do I'm sure. I think all the changes I made for lockscreen controls are in the framework-res location so a patch would be possible, but I won't be doing one, sorry.
FROGDIVISION said:
Tanks for this new Rom and for your work . I try it now.
Is your Rom multi-langages ?
Sent from my HTC Desire using xda app-developers app
Click to expand...
Click to collapse
It should be as it's based on the original oxygen / roalex sources and they are multi-language. Please let me know how the lock screen calendar looks because there's a string I changed in values for how the date is displayed, such as:
core/res/res/values/donottranslate-cldr.xml
<string name="abbrev_wday_month_day_no_year">E MMM d</string>
But I ONLY added this to values, not values-es and values-it etc etc so I hope Android will default to english and not crash if there's no language specific change. EG:
core/res/res/values-de/donottranslate-cldr.xml
<string name="abbrev_wday_month_day_no_year">E, d. MMM</string>
I presume it just means the date will be formated in UK format and not Spanish, but should still display correctly. Hopefully someone can let me know or post a screenshot to see if there's any issues.
EDIT: Just changed my language a few times and the lockscreen didn't crash or anything it displayed the date but I'm not sure if it's doing it wrong, but it looked OK but I only speak English unfortunately!
nafdroid said:
Can't wait to try it out !
i'm still running your previous rom, and i'm super happy with it. still super quick and rock stable. i hope this new rom is the same. :fingers-crossed:
Click to expand...
Click to collapse
Thanks for your comments, hopefully it doesn't disappoint you!
Nick
You will update ROM periodicaly, right ? What kernel you recommend ?
Sent from my HTC Desire using xda premium
Robi959 said:
You will update ROM periodicaly, right ? What kernel you recommend ?
Sent from my HTC Desire using xda premium
Click to expand...
Click to collapse
If there's a serious bug or update and there's a need to update the Tom then I will do yeah. But I wont be releasing minor graphical changes because the rom is pretty much where I want it graphically.
As for the kernel, I recommend the one that's in the rom as its thalamus' r4 release which is the latest one but has roalex's patch for call recording. If you want things neat you could flash thalamus' standard kernel on top but I expect that would break KSM if you use it (I don't)
Nick
Ok. Im staying on this rom i like it ! Tnx
Sent from my HTC Desire using xda premium
nickabbott said:
If there's a serious bug or update and there's a need to update the Tom then I will do yeah. But I wont be releasing minor graphical changes because the rom is pretty much where I want it graphically.
As for the kernel, I recommend the one that's in the rom as its thalamus' r4 release which is the latest one but has roalex's patch for call recording. If you want things neat you could flash thalamus' standard kernel on top but I expect that would break KSM if you use it (I don't)
Nick
Click to expand...
Click to collapse
Now that you've mentioned it, what are the benefits or using KSM?
I've read a bit about it but, as with compcache, swap and that kind of things, I never find to understand the "pros and cons", and usually dind't feel big differences when enabling and disabling.
Thanks!
blackhawk_LA said:
Now that you've mentioned it, what are the benefits or using KSM?
I've read a bit about it but, as with compcache, swap and that kind of things, I never find to understand the "pros and cons", and usually dind't feel big differences when enabling and disabling.
Thanks!
Click to expand...
Click to collapse
I don't use it to be honest and I would doubt you would find much benefit from turning it on. I think it's mainly for when you're running virtual machines on a single host or if you run lots of similar processes on the same host.
So I imagine if you could make 2 calls at once and put one on hold while talking to the other etc then KSM might be able to use parts of that process and merge them in memory, potentially saving memory (totally hyperthetical here!). However, it's probably very minimal gains versus the time it takes for your phone to keep analysing memory pages to merge them!
And in theory, your phone should release memory used for processes once they've finished so even if you did save memory by using KSM in this hyperthetical situation, when you end both calls you should get the memory used released and back available anyway!
I think it only helps to run / do more things at once rather than get speed benefits because if 2 processes need the same memory page again it will create a copy and you have 2 un-merged pages again and more memory used up.
Someone more techy might provide a better insight but in a phone I would say it's not necessary. On a hyperV server running 20 virtual hosts I would say yes!

[SW2] Dumping firmware

Does anyone know how to dump full firmware? dfu-util allows to dump only first 2 megabytes.
useretail said:
Does anyone know how to dump full firmware? dfu-util allows to dump only first 2 megabytes.
Click to expand...
Click to collapse
I really hope someone figures a way to hack this thing. It's on the cusp of greatness if only few seemingly minor improvements.
1) Adding date to watch face
2) Settings for strength of vibration.
3) Settings for screen time out. 15 seconds would probably be great.
deitiphobia said:
I really hope someone figures a way to hack this thing. It's on the cusp of greatness if only few seemingly minor improvements.
1) Adding date to watch face
2) Settings for strength of vibration.
3) Settings for screen time out. 15 seconds would probably be great.
Click to expand...
Click to collapse
Maybe there is a way over the smartwatch apk? I've extracted the files with a zip compressor and there is a firmware in the folders??

Gear Watch Designer: stepcount % problem

Hi to all.
I've made a watchface with the stepcount % indicator.
This indicator was fine until it reach the 100%, but if you go over your daily objective the counter became unuseful (I don't know which value it exposes).
Someone else have experienced the same problem?
Thanks
GS
ITALY
PS: what about creating a new section dedicated to the Gear Watch Designe...?
Do you use the "steps counter" or "steps %" ?
For me, the % just stop when the number off steps are done, but when I put the counter, it continue until the end of the day.
Mikoube said:
Do you use the "steps counter" or "steps %" ?
For me, the % just stop when the number off steps are done, but when I put the counter, it continue until the end of the day.
Click to expand...
Click to collapse
The problem is another: I have associated a sequence of images to reproduce a toggle for the step count %.
The gauge is OK, but when I go over the 100% of the daily target, the gauge resets to the initial position and is looks like the 0% of the target.
I think this is a bug of the GWD...
GS
ITALY
Or maybe GWD don't see it as % meter, but count meter and after the defined count of steps, it just restart the count... the good thing to know is : Is it possible to record that reset to put another counter
Do you mean you used "Step Counter"?
jhonjey66 said:
Hi to all.
I've made a watchface with the stepcount % indicator.
This indicator was fine until it reach the 100%, but if you go over your daily objective the counter became unuseful (I don't know which value it exposes).
Someone else have experienced the same problem?
Thanks
GS
ITALY
PS: what about creating a new section dedicated to the Gear Watch Designe...?
Click to expand...
Click to collapse
Do you mean you used the "cumulativeTotalStepCount" of the Human Activity Monitor interface?
If yes, it will give you total steps since you last called "tizen.humanactivitymonitor.start(...)", Irrespective of any "daily objective".
API Reference - https://developer.tizen.org/dev-gui...izen/humanactivitymonitor.html#StepDifference
akhilkedia94 said:
Do you mean you used the "cumulativeTotalStepCount" of the Human Activity Monitor interface?
If yes, it will give you total steps since you last called "tizen.humanactivitymonitor.start(...)", Irrespective of any "daily objective".
API Reference - https://developer.tizen.org/dev-gui...izen/humanactivitymonitor.html#StepDifference
Click to expand...
Click to collapse
Thanks for the answer...
In any case, no, I used the GWD facility that allow to link a series of images to the stepcount %...
I attach an image in order to explain...
The problem is that the percentage seems to go over 100% but there is no option to link a further image when this condition happens...
GS
ITALY
jhonjey66 said:
Thanks for the answer...
In any case, no, I used the GWD facility that allow to link a series of images to the stepcount %...
I attach an image in order to explain...
The problem is that the percentage seems to go over 100% but there is no option to link a further image when this condition happens...
GS
ITALY
Click to expand...
Click to collapse
I have the same problem. i just want to show a simple image when goal reaches 100%
and it does. at 100% it shows. if i walk another stepp its 100.01% and it disappears...
the same here
dahod83 said:
the same here
Click to expand...
Click to collapse
Has anyone tried editing the XML by hand to put in a "ge" (greater than or equal to) operator?
kimvette said:
Has anyone tried editing the XML by hand to put in a "ge" (greater than or equal to) operator?
Click to expand...
Click to collapse
nope
Drbaldini said:
I have the same problem. i just want to show a simple image when goal reaches 100%
and it does. at 100% it shows. if i walk another stepp its 100.01% and it disappears...
Click to expand...
Click to collapse
Is that fixed with an update to GWD 1.0.2 ?
ThinkD said:
Is that fixed with an update to GWD 1.0.2 ?
Click to expand...
Click to collapse
it is at least it says so on release notes
http://developer.samsung.com/release-note/view.do?v=R000000030L
I do it with STEPS - not with %. That works fine! If the step goal is achieved appears a special image and this remains for the rest of the day.

How can I customize the used screen space.

So I damaged my phone screen and got a non-original screen as a replacement. The new screen-space is not as tall and so the top part of the status bar is getting cropped off. Is there a way for me to fix this? Probably something that could decrease the screen space my ROM is using by a few pixels?
Wich phone model and software version are you running ?
You may try changin the dpi to make it fit in , some phones have it inside the developer settings
ThatLatinGuy said:
Wich phone model and software version are you running ?
You may try changin the dpi to make it fit in , some phones have it inside the developer settings
Click to expand...
Click to collapse
I am using an Asus Zenfone Max Pro M1. Android 12 EvolutionX ROM. I will try searching the Developer Options.
EDIT: I did mess up my device and get it into a boot loop by trying to change the display cutout. It's fixed now. But yeah I couldn't find a relevant option. Would be really great if you could give me a bit more precise solution.
The system component that draws the statusbar is SystemUI.apk and, inside it, you will find the images (all the "/res/drawable/sec_stat_sys_*.spr" files) and several XML files that coordinate the overall layout.
xXx yYy said:
The system component that draws the statusbar is SystemUI.apk and, inside it, you will find the images (all the "/res/drawable/sec_stat_sys_*.spr" files) and several XML files that coordinate the overall layout.
Click to expand...
Click to collapse
I sort of understand what you're saying but this would mean some experimentation and since I don't have a backup device. I don't think with my present schedule I'll be able to spend time experimenting with it. Can you provide some more precise help? Is there no option to tweak things?

Categories

Resources