[APP] Pimp My Z1 (Kernel/Sysfs Control) [GPLv2]

Search This thread

Androguide.fr

Account currently disabled
Jul 21, 2012
2,056
7,236
GB
meettomy.site
lsXWTiF.png
Pimp My Z1


Introduction
Pimp My Z1 is a sleek, holo, fully Open-Source (GPL v2 license) app which allows to control various sysfs interfaces present on some kernels for the Z1.
Most features require either Pimped Kernel (for CM-based roms) or Doom Kernel (for Stock-based roms), but the CPU & GPU Control as well as Touch Screen control will work properly with any kernel including the stock one.

The source-code is available on my github at: https://github.com/Androguide/Pimp_my_Z1



Features
  • CPU Control:
    • Set your minimum & maximum CPU frequencies (and overclock if your kernel allows it)
    • Set a different Governor for each CPU core
    • Select your I/O Scheduler
    • View your current CPU frequency in real-time and with a graph

  • GPU Control:
    • Set your minimum & maximum GPU frequencies (and overclock it if your kernel allows it)
    • Select your GPU Governor
    • View your current GPU frequency in real-time and with a graph

  • Power Management:
    • Select your level of multi-core power savings, a.k.a sched_mc power savings (disabled/moderate/aggressive)
    • Toggle the IntelliPlug hotplug driver on and off
    • Toggle IntelliPlug's eco mode on and off
    • Toggle between the default early_suspend PM driver and the newer power_suspend PM driver

  • I/O Tweaks:
    • Toggle Dynamic File Sync on and off
    • Set a different I/O Scheduler for the eMMC & the SD-Card

  • Memory Management
    • Toggle Kernel Same-page Merging (KSM) on & off
    • Define the amount of pages to be scanned by KSM at each run
    • Define the amount of milliseconds KSM should sleep between each runs

  • Miscellaneous
    • Define the vibrator intensity at kernel level
    • Manage Fast Charge mode & amperage level

  • Sound Control:
    • Independently control the digital headphone output left/right channels gain at a hardware level
    • Independently control the analog headphone output left/right channels gain at a hardware level
    • Independently control the speaker output left/right channels gain at a hardware level
    • Control the microphone input gain at a hardware level
    • Control the camera microphone input gain at a hardware level

  • Touch Screen Control:
    • Enable/Disable Pen Mode to allow/disallow the use of any non-plastic pen or object as a stylus for the touchscreen
    • Enable/Disable Glove Mode to allow/disallow using the touchscreen while wearing gloves
    • Enable/Disable Double Tap 2 Wake



Download


To-Do
  • Setting different I/O Schedulers for internal and external storage
  • I/O Scheduler parameters control, readahead
  • CPU Governor parameters control
  • TCP Congestion Algorithms
  • Touch-screen pressure scale tuning for normal & pen mode
  • Sound control through mixer_paths.xml for kernels which don't implement faux sound control (i.e: stock)
    [*]Performance/Balanced/Battery presets
  • Voltage control
  • Download of Pimped Kernel and open-recovery script to flash it automatically
  • You tell me



Screenshots

XDA:DevDB Information
Pimp my Z1, a Tool/Utility for the Sony Xperia Z1

Contributors
Androguide.fr

Version Information
Status: Alpha

Created 2014-02-27
Last Updated 2014-04-27
 

gallardo5

Senior Member
Apr 8, 2011
1,023
274
Glasgow
And it's here :) can't wait to try it with your kernel :) finally z1 got custom kernel and app for tweaking for AOSP ROMs :)

Sent from my Xperia Z1 using XDA Premium 4 mobile app
 

Poesini

Senior Member
Apr 11, 2012
799
219
Cali
Yay man!

Will this conflict with Trickster Mod?

EDIT: When adjusting sound control gain, it doesn't stick (I don't know if it is because of Trickster Mod)
 
Last edited:

Juzman

Senior Member
May 4, 2011
2,468
716
Townsville
justynsmith.info
Uninstalled trickstermod and switched to this. Great app. :)

Can you implement a "delay" for applying the settings on boot?

Sent from my Xperia Z1 using xda app-developers app
 

guddu2011

Senior Member
Mar 25, 2011
402
122
31
Jaipur
Please try it with the attached apk, and tell me if it does the trick.
If you still got FC's, please post an updated logcat.

gpu n power management fcs.. cpu doesnot fc but cannot change any options der and cannot see anything.
 

Attachments

  • cpu.txt
    106.3 KB · Views: 17
  • gpu.txt
    121.2 KB · Views: 12
  • pwr-mngmnt.txt
    34.2 KB · Views: 12
  • Screenshot_2014-02-27-18-29-53.png
    Screenshot_2014-02-27-18-29-53.png
    124.4 KB · Views: 402
  • Screenshot_2014-02-27-18-29-24.png
    Screenshot_2014-02-27-18-29-24.png
    125 KB · Views: 390
  • Screenshot_2014-02-27-18-29-17.png
    Screenshot_2014-02-27-18-29-17.png
    114.9 KB · Views: 383
  • Screenshot_2014-02-27-18-31-58.png
    Screenshot_2014-02-27-18-31-58.png
    113.6 KB · Views: 372
  • Like
Reactions: Androguide.fr

Top Liked Posts

  • There are no posts matching your filters.
  • 55
    lsXWTiF.png
    Pimp My Z1


    Introduction
    Pimp My Z1 is a sleek, holo, fully Open-Source (GPL v2 license) app which allows to control various sysfs interfaces present on some kernels for the Z1.
    Most features require either Pimped Kernel (for CM-based roms) or Doom Kernel (for Stock-based roms), but the CPU & GPU Control as well as Touch Screen control will work properly with any kernel including the stock one.

    The source-code is available on my github at: https://github.com/Androguide/Pimp_my_Z1



    Features
    • CPU Control:
      • Set your minimum & maximum CPU frequencies (and overclock if your kernel allows it)
      • Set a different Governor for each CPU core
      • Select your I/O Scheduler
      • View your current CPU frequency in real-time and with a graph

    • GPU Control:
      • Set your minimum & maximum GPU frequencies (and overclock it if your kernel allows it)
      • Select your GPU Governor
      • View your current GPU frequency in real-time and with a graph

    • Power Management:
      • Select your level of multi-core power savings, a.k.a sched_mc power savings (disabled/moderate/aggressive)
      • Toggle the IntelliPlug hotplug driver on and off
      • Toggle IntelliPlug's eco mode on and off
      • Toggle between the default early_suspend PM driver and the newer power_suspend PM driver

    • I/O Tweaks:
      • Toggle Dynamic File Sync on and off
      • Set a different I/O Scheduler for the eMMC & the SD-Card

    • Memory Management
      • Toggle Kernel Same-page Merging (KSM) on & off
      • Define the amount of pages to be scanned by KSM at each run
      • Define the amount of milliseconds KSM should sleep between each runs

    • Miscellaneous
      • Define the vibrator intensity at kernel level
      • Manage Fast Charge mode & amperage level

    • Sound Control:
      • Independently control the digital headphone output left/right channels gain at a hardware level
      • Independently control the analog headphone output left/right channels gain at a hardware level
      • Independently control the speaker output left/right channels gain at a hardware level
      • Control the microphone input gain at a hardware level
      • Control the camera microphone input gain at a hardware level

    • Touch Screen Control:
      • Enable/Disable Pen Mode to allow/disallow the use of any non-plastic pen or object as a stylus for the touchscreen
      • Enable/Disable Glove Mode to allow/disallow using the touchscreen while wearing gloves
      • Enable/Disable Double Tap 2 Wake



    Download


    To-Do
    • Setting different I/O Schedulers for internal and external storage
    • I/O Scheduler parameters control, readahead
    • CPU Governor parameters control
    • TCP Congestion Algorithms
    • Touch-screen pressure scale tuning for normal & pen mode
    • Sound control through mixer_paths.xml for kernels which don't implement faux sound control (i.e: stock)
      [*]Performance/Balanced/Battery presets
    • Voltage control
    • Download of Pimped Kernel and open-recovery script to flash it automatically
    • You tell me



    Screenshots

    XDA:DevDB Information
    Pimp my Z1, a Tool/Utility for the Sony Xperia Z1

    Contributors
    Androguide.fr

    Version Information
    Status: Alpha

    Created 2014-02-27
    Last Updated 2014-04-27
    6
    Reserved

    Reserved
    6
    Reserved

    Reserved 2
    6
    v1.0.8-beta

    I pushed a new update to google play & github.

    Changelog
    • Touchscreen: added DoubleTap2Wake control
    • Miscellaneous: added Fast Charge control
    • CPU Control: use the contextual actionbar for min/max freq instead of applying right-away
    • Updated german translation thanks to @Henry2o1o


    Download
    5
    Update

    I have just pushed a new update to Google Play (it should take about an hour to show-up on your device), here is the changelog and the apk direct download:

    Changelog
    • Added Japanese translation (thanks to @RyokoN)
    • Fixed bug where some settings (sound control, I/O scheduler, sched_mc, pen/glove mode, etc...) didn't stick after a reboot, everything is applied properly after a reboot now.
    • Added more error-checking to CPU & GPU control in an attempt to fix FC's on some roms.
    • Fixed a bug where intelliplug wouldn't disable mpdecision
    • Fix permissions for pen/glove mode for roms where the owner is not correct


    Download

    Please note that you need to wait about a minute after a reboot in order for your settings to be applied. You will see the superuser toast.