• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[MOD][XPOSED] ChromePie - Pie Controls for Google Chrome [v0.7.4 - 23/07/2018]

Search This thread

Windoors

Senior Member
Jan 29, 2018
199
23
Edit 2: I found with below method the bottom position doesn't trigger on certain older Chromium browsers (pie menu fits on screen too). I've tested on Bromite 84.0.4147.132 the bottom position didn't trigger. You can try and see on which Chromium version it works. On latest Chrome however, below doesn't work.

Edit 1:
After testing on Android 11 I found the below method doesn't work. On Android 11 pie menu position becomes the default despite below. Also pie menu fit on screen option doesn't work.
Only the pie menu options and size changed. Trigger area size didn't change either I think.


I've been able to change default pie menu, trigger position, size and other things. The modified ChromePie fully works on Android 10. Try below and see if the your one works on android 11 and 12.

Download an apk decompiler/compiler. I suggest this one as it's easy to use compared to writing commands. Start by decompiling ChromePie.

Changing pie menu:
1. Open chromepie\res\xml\aosp_preferences.xml
2. Change the values to your liking and save changes, its very intuitive. For example, to make slice 1 "back" and "forward" for 1st and 2nd options respectively, use:

<SwitchPreference android:key="screen_slice_1" android:defaultValue="true" />
<ListPreference android:key="slice_1_item_1" android:defaultValue="back" />
<ListPreference android:key="slice_1_item_2" android:defaultValue="forward" />

Changing Pie menu size:
1. Open chromepie\res\values\integers.xml
2. Change and save. It's also intuitive, for example, to get Pie menu size=90 and trigger area size=20:
<integer name="qc_radius_increment">90</integer>
<integer name="qc_slop">20</integer>

Trigger positions:
Unfortunately, I couldn't find a way to change what positions are checked/unchecked by default. The only way is to completely delete a position so it won't trigger. To delete a position ("bottom" in this example):

1. Navigate to chromepie\res\values
2. Open arrays.xml, scroll down to end and delete following lines in red related to the bottom position and save:

<string-array name="trigger_side_entries">
<item>@string/ts_left</item>
<item>@string/ts_right</item>
<item>@string/ts_bottom</item>
</string-array>
<string-array name="trigger_side_values">
<item>0</item>
<item>1</item>
<item>2</item>

3. Open public.xml, delete following line in red related to the bottom position and save:

<public type="string" name="trigger_side" id="0x7f090042" />
<public type="string" name="ts_bottom" id="0x7f090043" />
<public type="string" name="ts_left" id="0x7f090044" />
<public type="string" name="ts_right" id="0x7f090045" />

4. Open strings.xml, delete following line in red related to the bottom position and save:

<string name="trigger_side">Trigger positions</string>
<string name="ts_bottom">Bottom</string>
<string name="ts_left">Left</string>
<string name="ts_right">Right</string>

Above should work with any position.

Other settings:
1. Open chromepie\res\values\main_preferences.xml
2. Change as following and save. For texts in red below, true=checked and false=unchecked

Ensure pie menu fits on screen:
<CheckBoxPreference android:title="@string/reposition_menu_title" android:key="reposition_menu" android:summary="@string/reposition_menu_summary" android:defaultValue="false" />

3. Use site theme colours for pie menu:
<CheckBoxPreference android:title="@string/pie_theme_color_title" android:key="apply_theme_color" android:summary="@string/pie_theme_color_summary" android:defaultValue="true" />

4. Hide launcher icon:
<CheckBoxPreference android:title="@string/hide_launcher_icon_title" android:key="hide_launcher_icon" android:defaultValue="false" />
</PreferenceScreen>


Compile it once finished.
 
Last edited:

Windoors

Senior Member
Jan 29, 2018
199
23
Report.
As a result of doing what I was told.
I was able to change the content and size of the pie menu.
I was not able to change the position of the triggers.
(android 11/lsposed v1.5.3/chromepie v0.7.4/pixel3)
Edit: I think I get what you mean. I was able to get bottom trigger position not to show in chromepie settings, but in Android 11, bottom position still triggers.

Hopefully someone comes up with a solution.

Of course you won't be able to change the position and that's what I wrote. But you can delete the position you don't want and it achieves same goal. Once you compile the apk, the "trigger positions" option won't even show the deleted position.
It working on android 10, but I currently don't have access to a rooted Android 11 device. Try the attached apk where only bottom trigger has been removed and everything else is same. See if it works.
 

Attachments

  • chromepie (bottom trigger removed).apk
    448.8 KB · Views: 11
Last edited:

Valiante

Senior Member
Jul 7, 2013
460
103
Edit: I think I get what you mean. I was able to get bottom trigger position not to show in chromepie settings, but in Android 11, bottom position still triggers.

Hopefully someone comes up with a solution.

Of course you won't be able to change the position and that's what I wrote. But you can delete the position you don't want and it achieves same goal. Once you compile the apk, the "trigger positions" option won't even show the deleted position.
It working on android 10, but I currently don't have access to a rooted Android 11 device. Try the attached apk where only bottom trigger has been removed and everything else is same. See if it works.

Hey not sure what this is supposed to do but the whole module doesn't work on Android 12. I see it's for Android 11, this is a datapoint for you.
 

Windoors

Senior Member
Jan 29, 2018
199
23
Hey not sure what this is supposed to do but the whole module doesn't work on Android 12. I see it's for Android 11, this is a datapoint for you.
Tested on Android 12, luckily it worked like in Android 11.
But someone needs to update this otherwise it will probably not work at all someday
 

Top Liked Posts

  • There are no posts matching your filters.
  • 157
    ChromePie is an Xposed module which adds customisable Pie Controls to Google Chrome, Chrome Beta, Chrome Dev, Chrome Canary and any other Chromium-based browsers.

    Features over 30 actions, including:
    • Back, forward, refresh, new tab, new incognito tab, close tab
    • Bookmarks, history, add bookmark, request desktop site, find in page
    • Share, scroll to top & bottom, full screen, voice search, next/previous tab

    Also features:
    • Customise trigger positions, trigger area size and pie menu size
    • Changes colour to match the web page theme colour

    Given the number of Chrome builds and forks, I can't promise everything works on all versions. Please report any problems you have, along with an Xposed log and how to reproduce the issue. I may also need the version of Chrome you are using to help debug an issue. Be aware that updating Chrome may break stuff, I will try to update ASAP if anything does break after an update.

    Known issues
    • Proguard obfuscation has been enabled on Chrome versions 67+. This has broken some functionality including a few custom actions and probably won't be fully fixable.
    • Reported to be fixed as of v0.7.4 - This module can sometimes cause crashes of some apps on launch (Discord, Colornote, Instagram, Play Services have been reported). If you're having this issue please post logs. Running the following has been reported to fix the issue for some apps:
      Code:
      adb shell cmd package compile --reset [I]packagename[/I]

    Feedback
    If you want to request a feature, leave feedback or ask a question, please post here.

    Xposed Repo Download
    http://repo.xposed.info/module/com.jt5.xposed.chromepie

    Video demo - thanks to Chris Nacca

    Installation instructions
    • Obviously requires Xposed Framework
    • Install module from Xposed Installer
    • Ensure ChromePie is installed on internal memory (only applies to devices with external storage)
    • Activite module and reboot
    • Open ChromePie and configure as desired
    • Restart Chrome
    • Touch the edges of your screen to open the pie menu
    • Have fun browsing the web with ease :good:

    Source
    https://github.com/JayT5/ChromePie

    Thanks
    • rovo89 for the Xposed Framework
    • AOSP for the original pie controls source
    • The people at Google for making Chrome open source
    24
    Changelog

    For all changes, see commits on GitHub

    v0.7.4 (23/07/2018)
    • Fix some app crashes caused by Android System WebView conflict (e.g. Discord)
    • Fix obfuscation detection for some Chrome builds
    • Fix white navigation bar issue
    • Fix crash on older versions of Android

    v0.7.3 (24/06/2018)

    • Fix back, close tab, show tabs and next & previous tab in obfuscated versions of Chrome

    v0.7.2 (03/03/2018)
    • Fix preferences crash on Oreo
    • Prevent Chrome crash if resources aren't active

    v0.7.1 (06/02/2018)
    • Fix resource crash
    • Some compatibility fixes for Chrome Home
    • Fix scroll fling
    • Traditional Chinese translation updated (thanks to david082321)

    Previous changelogs:


    v0.7 (20/08/2017)
    • Support for Nougat
    • Support for Chrome custom tabs (including Chromer)
    • Misc fixes & improvements

    v0.6 (21/12/2016)
    • Fixed all the broken stuff
    • Added open recently closed tab action
    • Added downloads action
    • Automatically add support for new Chromium-based browsers
    • Added Simplified Chinese translation (thanks to haseoxth)
    • Updated Traditional Chinese translation (thanks to david082321)
    • A bunch of other fixes/improvements

    v0.5.1 (08/04/2016)
    • Disable in Chrome custom tabs and web apps
    • Fix some issues on Lollipop and below (eg. opening bookmarks, history, etc. when there are no tabs open)
    • Fixed crash when certain apps are set as direct share
    • Added Korean translation (thanks to tgpark)
    • Updated Russian translation (thanks to combat44)
    • Updated Traditional Chinese translation (thanks to david082321)
    • Other fixes/improvements

    v0.5 (06/03/2016)
    • Added support for TugaBrowser, RSBrowser & NotPhenom/JSwarts CAF
    • Added toggle data saver action
    • Added expand notifications action
    • Added option to enable tab switcher in merged tabs and apps mode (this is a Chrome UX experiment so it may be buggy/stop working and currently only works on the Beta & Dev builds)
    • Enable bookmarks, history, most visited & recent tabs when there are no tabs open
    • Fixed reader mode
    • Fixed pie menu sometimes being enabled in fullscreen video
    • Disable pie menu when typing in the URL bar & when performing a touch scroll
    • Removed toolbar theme colouring option (this feature is now in Chrome stable)
    • Added Traditional Chinese translation (thanks to david082321 )
    • A number of other fixes & improvements

    v0.4.3 (09/11/2015)
    • Fixed scroll to top/bottom - added flinging of the viewport
    • Added support for the raw build of Chromium - downloadable from here
    • Some improvements and crash fixes

    v0.4.2 (27/08/2015)
    • Quick fix for issues on newest Chrome versions
    • Fixed undo close all tabs

    v0.4.1 (20/08/2015)
    • Added support for #NoChromo
    • Added recent apps action
    • Always show the next tab when closing a tab in merged tabs & apps mode
    • Fixed toolbar theme colouring
    • Fixed reader mode
    • Fixed crash in Chrome Dev
    • Lots of performance & stability improvements
    • Updated Slovak translation (thanks to pylerSM)

    v0.3.3 (09/05/2015)
    • Added support for Chrome Dev
    • Added option to enable site theme colouring of the toolbar with 'merge tabs and apps' off
    • Remember fullscreen mode after exiting Chrome
    • Added option to reposition pie menu to prevent it getting cut off by the edges of the screen
    • Some icon updates
    • A bunch of fixes/improvements
    • Removed unused permission & library

    v0.3.2 (01/03/2015)
    • Full Lollipop fixes
    • Huge material design icon update
    • Option to use web page theme colours (top control/status bar colours)
      Only works with merge tabs and apps setting enabled and on supported websites
    • Added voice search action
    • Always highlight all text when using edit URL action
    • Added go to home screen action (exit action now finishes Chrome's activity as before)
    • Use material theme in ChromePie app
    • Revert "Prevent pie menu getting cut off by edges of screen"
    • When restarting Chrome, choose which app to launch when both stable & beta are installed

    v0.3 (08/02/2015)
    • Fix for newest Chrome Beta v41
    • Added option to trigger from the bottom of the screen (existing trigger position preferences will have reset)
    • Added scroll to bottom action
    • Added reader mode action
    • Added direct share action
    • Enable pie menu when no tabs are open (may not work on tablets)
    • Prevent top & bottom of pie menu getting cut off by edges of the screen
    • Exit action now goes to the home screen rather than finishing Chrome's activity
    • Updated Slovak translation (thanks to pylerSM)
    • Other fixes/improvements

    v0.2.1 (8/12/2014)
    • Minor fix for Chrome Beta version 40.0.2214.27
    • Fixed crash on some tablets when editing Pie menu items
    • Updated Japanese translation (thanks to WedyDQ10)

    v0.2 (1/11/2014)
    • Added pie menu size option
    • Added trigger area size option
    • Added next/previous tab action
    • Added exit Chrome action
    • Improvements to fullscreen mode:
      On KitKat use sticky immersive mode and make it more persistent.
      On Jelly Bean hide status bar instead of Chrome's in built full screen mode
    • Update refresh icon once page has loaded
    • Trigger undo dialog when closing tab
    • Fade icons in/out during animation (Thanks to doopl)
    • Added option to hide icon in launcher
    • Load default (AOSP browser) config on new installs
    • Added menu option to load default config
    • Updated icons
    • Added donate button
    • Added Japanese translation (Thanks to WedyDQ10)
    • Added Russian translation (Thanks to combat44)
    • Many other improvements

    v0.1.2 (16/10/2014)
    • Hotfix release for Chrome Beta v39.0.2171.25

    v0.1.1 (19/09/2014)
    • Hotfix release for newest Chrome Beta v38.0.2125.69

    v0.1 (6/09/2014)
    • Initial release
    21
    Version 0.6 released! (finally...)

    Changelog v0.6 (21/12/2016):
    • Fixed all the broken stuff
    • Added open recently closed tab action (not fully stable - use with caution. Hopefully will be improved in future versions of Chrome)
    • Added downloads action (newest Chrome versions may be required)
    • Support for new Chromium-based browsers will be added automatically, you can update the browser list from the menu in module settings
    • Possible fixes for people having issues with preferences not being read - if these don't work then the default pie menu layout will be loaded so the menu should never not show
    • Added Simplified Chinese translation (thanks to haseoxth)
    • Updated Traditional Chinese translation (thanks to david082321)
    • A bunch of other fixes/improvements
    Enjoy :good:
    11
    Version 0.5 released

    Changelog v0.5 (06/03/2016):
    • Added support for TugaBrowser, RSBrowser & NotPhenom/JSwarts CAF
    • Added toggle data saver action
    • Added expand notifications action
    • Added option to enable tab switcher in merged tabs and apps mode (this is a Chrome UX experiment so it may be buggy/stop working and currently only works on the Beta & Dev builds)
    • Enable bookmarks, history, most visited & recent tabs when there are no tabs open
    • Fixed reader mode
    • Fixed pie menu sometimes being enabled in fullscreen video
    • Disable pie menu when typing in the URL bar & when performing a touch scroll
    • Removed toolbar theme colouring option (this feature is now in Chrome stable)
    • Added Traditional Chinese translation (thanks to david082321 )
    • A number of other fixes & improvements
    Enjoy :good:
    11
    Version 0.3 released

    Changelog v0.3 (08/02/2015):
    • Fix for newest Chrome Beta v41
    • Added option to trigger from the bottom of the screen (existing trigger position preferences will have reset, sorry about that)
    • Added scroll to bottom action
    • Added reader mode action
    • Added direct share action
    • Enable pie menu when no tabs are open (may not work on tablets)
    • Prevent top & bottom of pie menu getting cut off by edges of the screen
    • Exit action now goes to the home screen rather than finishing Chrome's activity
    • Updated Slovak translation (thanks to pylerSM)
    • Other fixes/improvements

    Note: when closing tabs on the newer Beta versions you have to wait for the undo bar to disappear before the other tabs become visible because Chrome is broken... (It is Beta after all :p)

    Enjoy :)