[MOD][Xposed] HTC One Tweaker

Search This thread

biglo

Senior Member
Jul 18, 2009
1,098
194
OnePlus 7 Pro
Google Pixel 6
On my m7 they were in /sdcard/MyDocuments/

Sent from my mobile.

That's same place for me

Sent from my HTC One using XDA Premium 4 mobile app

---------- Post added at 07:26 PM ---------- Previous post was at 07:25 PM ----------

Depends on where Voice Recorder stores its files. You can go to the Voice Recorder, press the back arrow on the top and there you will see all saved recordings.

Thanks didn't even know it used the voice recorder to record them. Was right there soon as I opened it.

Sent from my HTC One using XDA Premium 4 mobile app
 

gelo01

Senior Member
Sep 18, 2012
2,403
644
Manila
OnePlus 8T
I always thought increasing dialing pad is a good improvement from HTC
why not to use unusable free space?

I'm not against it either, what i only want to point out is that, i thought, the exact look of the sense 5 dialer could be back if i enabled the mod, but only the color of the dial pad have changed. :) but anyway, thanks again for this mod. and btw, is AppOps really a battery drainer? I use it to deny location and keep awake process of Google play services thinking that it would save battery by minimizing its wakelocks. or it's just placebo?
 

Falseclock

Senior Member
Jun 30, 2012
552
367
Almaty
Battery bar-line animation is almost invisible when charging level more then 90%
what if to change animation after 75%

95% is used on video.
please look at

if you have any ideas how to animate - you are welcome.
 
Last edited:

J_M_V_S

Senior Member
Mar 11, 2012
561
392
Buenos Aires
www.hsws.com.ar
Battery bar-line animation is almost invisible when charging level more then 90%
what if to change animation after 75%

95% is used on video.
please look at

if you have any ideas how to animate - you are welcome.

What if you make the bar-line colored like the battery (green to red)?
Also, if you align the line to either of the sides you will have more "empty" space (that is to say, right now this empty space is divided between sides, aligning bar to one of the sides will make the empty space only on one side, making more noticeable) I don't know if you understand what I'm saying.

As for charging animations I don't know what exactly you can do and what impact it has on the system, but perhaps the charging lines can be briter than the bar, turn to white when coliding the bar and fade to the bar color. It looks good in my head anyway! Haha

EDIT: The second animation on the video looks good too!
 
Last edited:

Falseclock

Senior Member
Jun 30, 2012
552
367
Almaty
What if you make the bar-line colored like the battery (green to red)?
you meaning gradient? center is red and to green to the edges?
attachment.php


Also, if you align the line to either of the sides you will have more "empty" space (that is to say, right now this empty space is divided between sides, aligning bar to one of the sides will make the empty space only on one side, making more noticeable) I don't know if you understand what I'm saying.
As it was in first version when bar was aligned to the left edge? Anyway with 97 or 98 percent line bar will occupy almost available space.
And centered line looks more elegant.

As for charging animations I don't know what exactly you can do and what impact it has on the system, but perhaps the charging lines can be briter than the bar, turn to white when coliding the bar and fade to the bar color. It looks good in my head anyway! Haha
Like that?
attachment.php


For now we have always 20 animation frames. Depends on charging level animated charging line (let's call it "drop") has different width.
Drop is wider when charging level is 0% (1080/2/20 = 27 pixels) and smaller when charging level is 50% (1080/2/2/20 = 13 pixels).
While charging level becomes 90% drop width is about 3px only. (1080*0.1/2/20) and 1px after 95%.


I can do following:
for example we have 50% of battery;
Drop starts moving from the edge and have absolutely white color.
As we have 20 frames from edge until colliding to battery line, with each step drop color will be changed with 5% step to become the same color as current charging level color.

proposed animation also can have the same idea. It is also has 20 frames. It starts from center and expands to current charging level.
At the beginning it has white color and at the end will have final. Each step: increasing brightness to 5%.

But we have to decide how to animate bar after 90%.
1. it is almost invisible.
2. after 96% animation is impossible (lack of space for animation)
3. currently we do not have animation after 98%
4. when charging level becomes 97% - SystemUI crashes (already fixed in next version)
 

Attachments

  • 1.png
    1.png
    1.2 KB · Views: 433
  • 2.png
    2.png
    1.3 KB · Views: 439
Last edited:

J_M_V_S

Senior Member
Mar 11, 2012
561
392
Buenos Aires
www.hsws.com.ar
you meaning gradient? center is red and to green to the edges?
attachment.php

Not exactly, I was talking about the whole line being in the same color but gradient with respect to the battery status. For example, at 100% the line would be all green, but at 0% (not like we are going to see this, but you get the point) the line would be all red. In the same example, at 50% will be all yelow.

As it was in first version when bar was aligned to the left edge? Anyway with 97 or 98 percent line bar will occupy almost available space.
And centered line looks more elegant.

Yes, like first versions. I won't argue with you that it looks more elegant but also doesn't quite fit the rest of the system. There's nothing in the status bar that is centered. All is aligned either to the left or to the right. Not that I mind that much, but would be nice to have the option to change alignment (it would also take care of the landscape/portrait problem where battery bar looses its center)


Not quite. I was thinking more that the drop would start at a brighter color than the battery's current status (let's say that if you are at 50% the bar would be yellow and the drop a brighter yellow) but when it reaches the bar becomes bright white and then fades to bar color (in this case, from bright white to dull yellow)

For now we have always 20 animation frames. Depends on charging level animated charging line (let's call it "drop") has different width.
Drop is wider when charging level is 0% (1080/2/20 = 27 pixels) and smaller when charging level is 50% (1080/2/2/20 = 13 pixels).
While charging level becomes 90% drop width is about 3px only. (1080*0.1/2/20) and 1px after 95%.


I can do following:
for example we have 50% of battery;
Drop starts moving from the edge and have absolutely white color.
As we have 20 frames from edge until colliding to battery line, with each step drop color will be changed with 5% step to become the same color as current charging level color.

proposed animation also can have the same idea. It is also has 20 frames. It starts from center and expands to current charging level.
At the beginning it has white color and at the end will have final. Each step: increasing brightness to 5%.

But we have to decide how to animate bar after 90%.
1. it is almost invisible.
2. after 96% animation is impossible (lack of space for animation)
3. currently we do not have animation after 98%
4. when charging level becomes 97% - SystemUI crashes (already fixed in next version)

I see the problem. What if you start bouncing it to the sides? Another easier approach would be to change to battery color altogheter when charging. In XuiMod the bar turns blue when charging, that would be a simpler way to let the user know the phone is charging even if the animation is not noticeable or not animated anymore after 98%. Following this, you could also have the bar fade from green to bright green while charging after 98%.
 

J_M_V_S

Senior Member
Mar 11, 2012
561
392
Buenos Aires
www.hsws.com.ar

Thela7

Senior Member
Mar 25, 2012
312
54
FWIW, Call recording works in my m7 and ARHD 53.0 & 71.1 - single SIM card.
However, I do use a module called Ice Cave for audio. That might have those mentioned libraries bundled.
I'm at work for the moment, so I don't have developer tools to double check.
FWIW 2, /system/priv-app/HTCSoundRecorder.apk (typed by memory, not copypasta) needs to be present.

Sent from my mobile.
 

Thela7

Senior Member
Mar 25, 2012
312
54
I do use a module called Ice Cave for audio. That might have those mentioned libraries bundled.

EDIT:
ICE CAVE doesn't include any msm8960 lib, however, I do have audio.primary.msm8960.so, but not audio_policy.msm8960.so

Code:
find /system/lib/hw|grep msm8960
/system/lib/hw/audio.primary.msm8960.so
/system/lib/hw/camera.msm8960.so
/system/lib/hw/copybit.msm8960.so
/system/lib/hw/gralloc.msm8960.so
/system/lib/hw/hwcomposer.msm8960.so
/system/lib/hw/keystore.msm8960.so
/system/lib/hw/lights.msm8960.so
 

luxda

Senior Member
Apr 21, 2013
114
12
Hi,
I don't find how to center clock, and how to have the % of battery into the icon. Thanks.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 49
    Let me introduce my Xposed Framework module for HTC One model
    (both single and dual version)

    Current version: 4.0.4

    ATTENTION! This tweaker ONLY for HTC One devices with Sense and only with installed Xposed Framework.
    You can try to install on other HTC models, but I can't guaranty all functions will work. Unfortunately I can't test on other devices. You can become beta tester if you wish.
    Can conflict with custom ROMs if mods/tweaks are hard-coded without switchable settings. 100% works on stock ROM. Testing before releasing on both device types.

    For correct working of this application you have to be root'ed and install Xposed Framework.
    Actual version of framework always available on http://dl.xposed.info/latest.apk

    Honestly saying I borrowed only All Notifications Expanded code made by @UgglyNoodle.
    All other tweaks are developed by myself without stealing code from other modules.
    You can find out some mod/tweaks are very similar to Sense Toolbox, but I had to implement my own cause Sense Toolbox does not care about Dual version and some drawables are created not properly.

    If you have any ideas, found bug or wish to extend current features - please contact me in this thread.
    If there are some errors inside Xposed application LOG tab, please send it to nurike gmail account with information:
    1. HTC Model
    2. ROM version and name in case of custom
    3. Other mods or tweaks installed.

    And do remember. Other mods with the same functionality can conflict.

    Module can be downloaded from Google Play Market and Xposed Module Repository
    Latest version always available here. Google publishes new version with delay.
    Source code is available on GitHub

    Minimum Requirements:
    Android version: 4.2.2
    HTC Sense: 5

    What currently implemented:
    * Ability to record all voice calls directly from the line. Work with Bluetooth devices. (Only DUAL SIM version. Single SIM version requires custom kernel)
    * Voice call auto recording with stock Recorder.
    * Filtering auto recording by calling/called party type as well as call incoming/outgoing type
    * Automatic deletion of stored auto records with settings
    * Record button on call screen if auto recording switched off

    * Fast access to Stock QS by swiping left side of screen.
    * Disabling notifications of delivered SMS messages.
    * Fully expand all notifications in status bar slider.
    * Phonetic letter coloring & sizing in dialer.
    * Front LED indicator settings
    * Ability to remove contact photo badge in SMS listing
    * Highlighted unread messages in SMS dialog listings
    * Unlimited length of SIM card name (for dual version)
    * Colored identification for incoming and outgoing calls in call journal
    * Colored SIM card signal level strength.
    * Colored WiFi signal icon with strength differentiation.
    * Colored weather icons from Sense 4+.
    * Clicking on SMS notification will open dialog with contact instead of show dialog listings
    * SIP settings in Dialer options for Dual version
    * Date prefix to the Camera shots filename
    * Disable all CAPS (HTC feature) for lating alphabet languages
    * World languages tweak
    * Choose input method notification suppress
    * Heads up notifications
    * Old style dialer background (Sense 6 only)
    * Data Roaming notification suppress
    * Color settings for slot indicator icon (Phone, Dialer, Messaging, Contacts)
    * tired to track all new features


    GREEN - these settings do not require restart and work on the fly
    BLUE - requires restart after settings change

    Changelog

    Version 4.0.4
    * (fix) Android 4.4.3 Dialer tweaks disfunction
    * (fix) Android 4.4.3 Colored weather disfunction

    Version 4.0.3
    * (I) Menu refactoring
    * (N) Android BUGs fixing
    * (N) Noise suppression
    * (N) Auto recording filtering by slot (Dual SIM only)
    * (F) Abnormal screen width calculation for QS swipe in landscape mode
    * (F) Message highlight broken on M7
    * (F) Battery bar-line crash SystemUI on 97% while charging
    * (I) Delivery report notification code re-factoring
    * (I) New mobile signal strength icons for 802d models

    Version 3.3.7
    * (fix) Anormal screen width calculation for QS swipe in landscape mode
    * (fix) Message highlight broken on M7
    * (fix) Battery bar-line crash SystemUI on 97% while charging
    * (imp) Battery bar-line less battery consumption
    * (imp) Delivery report notification code re-factoring
    * (imp) New mobile signal strength icons for 802d models

    Version 3.3.6
    * (fix) Application crash on Sense 5
    * (fix) Camera file prefix unknown characters
    * (imp) New camera file prefix masks
    * (new) Camera prefix position
    * (new) Options what to do if only one SIM choosed to be shown on screen but currently unavailable or not ready (Dual SIM only)
    * (new) Force Call & Messaging activities through desirable slot in case of custom application usage (Dual SIM only)
    * (new) Full logcat debug log for developers
    * (fix) Battery bar asynchronous left & right animation
    * (fix) Battery bar breakage with orientation change
    * (fix) Battery bar stack and UI freeze

    Version 3.3.5
    * (new) Battery bar-line charging animation
    * (new) Hide stock battery
    * (new) Option to choose edge of screen for QS swipe
    * (new) Hide useless SIM slot button in Dialer (Dual SIM only)
    * (new) Hide useless SIM slot button in Messenger (Dual SIM only)

    Version 3.3.4
    * (fix) Volume button dysfunction in media applications
    * (fix) Spontaneous enabled colored weather option
    * (fix) Colored signal strength for 4 level indicators on 802d models now colored and have 5 levels
    * (imp) Choose date format for camera shot prefix
    * (imp) Colored battery and bar green until 50%, then from green to red with encreasing saturation
    * (imp) Screen area settings for Quick Settings pulldown

    Version 3.3.3
    * (fix) Uppercase date string in pulled down status bar in case of All CAPS enabled tweak
    * (fix) Roaming data icons for 802d model
    * (new) Colored battery level from green to red based on charging level
    * (new) Condensed font face for time and battery charging level
    * (imp) All world languages implemented with hook instead of database change
    * (new) MIUI colored battery bar

    Version 3.3.2
    * (fix) Call recording button appears even if tweak is disabled
    * (fix) Camera file prefix issue on Sense 6
    * (fix) Start application without Xposed - now link to XDA thread
    * (fix) Dual version check on Android 4.2

    Version 3.3.1
    * (new) Disable all CAPS (HTC feature) for lating alphabet languages (English, Spanish, French, Italian, etc...)
    * (new) Record button in CallScreen moved to bottom panel

    Version 3.3.0
    * (new) World languages tweak
    * (new) Restart notification after settings change
    * (new) Minimum Xposed version check
    * (new) Choose input method notification suppress

    Version 3.2.9
    * (new) Heads up notifications

    Version 3.2.8
    * (fix) App crash on Single sim version
    * (new) Old style dialer background (Sense 6 only)
    * (fix) Color improvement for SIM2 slot (Sense 6 and Dual SIM only)
    * (new) Advanced keyboard for Russian layout
    * other minor Sense 6 related fixes

    Version 3.2.7
    * (new) Data Roaming notification suppress
    * (fix) Dual sim network manager not available on Chinese 802d
    * (new) Color settings for slot indicator icon (Phone, Dialer, Messaging, Contacts)
    * XposedFramework installation check

    Version 3.2.6
    * (fix) recorder for T-Mobile users
    * (fix) Sense 6 WiFi icon
    * Auto deletion service improvement
    * Sense 6 style icon in Settings screen

    Version 3.2.5
    * (fix) recorder writes only in AMR-NB despite settings (thanks to @wiseelf), choose AAC for best quality

    Version 3.2.4
    * (fix) Autorecording for new install
    * (fix) disabled deletion settings
    * source code publishing
    * some settings now not visible to single sim version

    Version 3.2.3
    * nomedia file creating in autorecordind folder
    * SIP settings in Dialer options for Dual version
    * date prefix to the Camera shots filename
    * About intent added
    * (fix) SMS settings for Sense 6.0
    * (fix) Latin alphabet on dialer button settings now default

    Version 3.2.2
    * fix application crash with Sense 6.0
    * ability to give full access to SD card
    * (fix) recording button still clickable with screen off

    Version 3.2.1
    * bigger weather icons for hourly and daily forecast
    * Record button on call screen if auto recording switched off
    * ability to remove contact photo badge in SMS listing
    * More highlighted unread messages in SMS dialog listings
    * Colored identification for incoming and outgoing calls in call journal
    * additional data icons for 802d model
    * Clicking on SMS notification will open dialog with contact instead of show dialog listings
    * Settings menu refactoring

    Version 3.1.9
    * weather for lockscreen and BlinkFeed. For correct work need to update Weather Pack

    Version 3.1.8
    * data transfer tweak added
    * Network signal icons added for 802d
    * Network signal icons added for M7 and M8
    * ability to change color of WiFi icon
    * Spanish language added
    * Portuguese language added

    Version 3.1.7
    * records auto deletion after certain (configurable) days or by defined max records count

    Version 3.1.6
    *Weather icons in separate apk

    Version 3.1.5
    * fix with LED settings
    * design change for some settings
    * filter by call type added for auto recordings
    * filter by calling/called party added for auto recordings
    * all auto recordings now save under Auto Recordings folder
    * ability to invoke tweaker from stock settings
    * weather icon pack now in separate application to reduce tweaker size

    Version 3.1.4
    * ability to change color & size for latin alphabet in dialer
    * ability to change SIM card name without string length limit
    * access to Quick Settings by swiping right side of screen
    * 3G icon fix for Sense 5 ToolBox
    * fix with Recording settings saving for new installations

    Version 3.1.3
    * latin alphabet color and size change in dialer
    * SIM name change without length restriction

    Version 3.1.2
    * fix with recording settings
    * notification flashlight during charging
    * flashlight timeout

    Version 3.1.1
    * menu re-factoring
    * disable flashlight for charging
    * autorecording settings: separate dirs or file flag
    * pinch zoom for dialer button text size fix
    * fix with min/max values in color settings
    * fix second sim card sprite
    * fix with values between sim cards

    Version 3.1.0
    * Automatic call records now stored in specific folder depends on call type:
    - Automatic records/Incoming/ - for incoming calls
    - Automatic records/Outgoing/ - for outgoing calls
    Manual records stored as default to My Recordings directory.
    * Ability to suppress notification:
    - USB debugging connected
    - USB connected
    - HTC Sync Manager
    - Media device [MTP] connected
    * minor fixes and additions

    Version 3.0.8
    * phonetic bux fix

    Version 3.0.7
    * pinch zoom for phonetic letter sizing

    Version 3.0.6
    * extended russian keyboard

    Version 3.0.5
    * fixed roaming SIM sprites for KitKat
    * added ability to setup highlight color for dialer phonetic letters.

    Version 3.0.4
    * fixed mistake with dialer highlighting.

    Version 3.0.3
    * Colored scheme for SIM cards

    Version 3.0.2
    * fully working settings
    8
    Version 5.0.1 - pre RC.
    Some fixes.
    Lollipop only.
    7
    if somebody cares about call recording or DUAL sim settings - please use this alpha.

    most tweaks do not work unfortunately.
    6
    Dear users,
    sorry for new release delay.

    Was developing hard last three days to implement color matrix algorithm of "color" HUE.
    So now finishing some additional tweaks related to color settings.

    So preliminary in version 3.2.7
    * (new) Data Roaming notification suppress
    * (fix) Dual sim network manager not available on Chinese 802d
    * (new) Color settings for slot indicator icon (Phone, Dialer, Messaging, Contacts)
    * (new) Dialer background tweak
    5
    Version 3.3.5
    * (new) Battery bar-line charging animation
    * (new) Hide stock battery
    * (new) Option to choose edge of screen for QS swipe
    * (new) Hide useless SIM slot button in Dialer (Dual SIM only)
    * (new) Hide useless SIM slot button in Messenger (Dual SIM only)