yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Themes and Apps] Ayredfr:
Really interesting app ! I just found it yesterday. This is really usefull, thank you for your work !

Just waiting for a french translation ;)

And... Can I have a promo code please ? :p
[Nexus 5X Themes and Apps] ascsa:
Anyone else without a promo code?
[Nexus 5X Themes and Apps] suku_patel_22:
I would love to have one too [emoji4] [emoji4]

Also is it a possible for you to add a toggle to cycle through location settings ( battery saving, high accuracy, off)?

Sent from my Pixelified 5X
[Nexus 5X Themes and Apps] ascsa:
pm send ;)

Android blocks since 6.0 all 3rd party location settings access. Afaik there is NO possibility (even with root) to hack around this ... if you know a 3rd party app that could do this (on Android 7+), please let me know
[Nexus 5X Themes and Apps] suku_patel_22:
The below seems to be working for me on stock 7.1.1 with root.

With location off, the below email I'll make it device only

settings put secure location_providers_allowed +gps

With location off, the below email I'll make it battery saving

settings put secure location_providers_allowed +network

With location at device only, the below will make it High accuracy

settings put secure location_providers_allowed +network

With location at high accuracy, the below will make it battery saving

settings put secure location_providers_allowed -gps

Followed by -network will turn off location.

So to go from high accuracy to location off will need two commands

So basically +/- gps/network does exactly what's expected.

Sent from my Pixelified 5X
[Nexus 5X Themes and Apps] ascsa:
Update 1.2.1

yep, sometimes you just need a hint to find a solution ;) .... MANY THANKS!

I implemented the new location activity (root required) and put it into the LAB group. Should work fine on a fully rooted device (I always recommend the latest SuperSU!). Update 1.2.1 contains the new activity, additional Ringer toggles :eek: and some minor fixes and improvements .... already uploaded to Google Play, so should be online in a short while :cool:

Feedback, especially regarding the Location activity!, welcome ;)
[Nexus 5X Themes and Apps] suku_patel_22:
This is how I have set it up.

It is working as expected and making the correct changes to the location.

Could you make changes so that the quick setting icon and label would reflect the current status when we cycle through it?

This would be applicable for other tiles as well.

Sent from my Pixelified 5X
[Nexus 5X Themes and Apps] ascsa:
You can handle your use case in 2 different ways:

#1. (as seen in your screenshots) use the cycle feature --> 3 cycles: you can set a different icon and label for each cycle and always fire the next cycle no matter what your current location status is

#2. use 1 cycle and the Location Toggle (0-2-3) parameter --> this always fires the activity depending on your current location status:

0 or 1 -->2

2 -->3

3-->0

There are also 2 additional Toggle parameter available: Toggle (0-3) for off ->high accuracy and Toggle (0-1-2-3) to cycle through all 4 modes

Reflecting your current device status via icon and label is not a technical problem, but conflicts somehow with the general idea behind QuickTile. QuickTile isn´t designed to fire just a single Settings activity, but is designed to fire multiple highly customizable activities. An example tile for use in your car:

Cycle 1 (icon1, label: Start)

#1 WiFi OFF

#2 Bluetooth ON

#3 Music Player Play

#4 Location High accuracy

#5 Start Navigation to address xyz

#6 Text-to-Speech "Driving to xyz"

Cycle 2 (icon2, label: Stop)

#1 WiFi ON

#2 Bluetooth OFF

#3 Music Player Pause

#4 Location OFF

#5 Close Navigation

#6 Text-to-Speech "navigation stopped"

In this case, reflecting device status (which status: Wifi, Bluetooth, Music Player, Location?) doesn´t make sense.

Don´t get me wrong, that does not mean that reflecting a current device status would not make sense in some use cases, but I have to find a solution that is in line with the general idea behind QuickTile. I do have some ideas how to handle this in the future, but nothing final, yet.
[Nexus 5X Themes and Apps] sd3993:
Root toggles don't seem to be working on CM14.1 Redmi Note 3.

I can't test with supersu because it doesn't work with nougat on this device.

Non root toggles work fine. The app returns true if i click on check root.

Could you please take a look?
[Nexus 5X Themes and Apps] ascsa:
No cm14.1 redmi note 3 available for testing, but AFAIK the CM root does not always support all low level root commandos, so it's probably a problem on the cm root side....

Are you sure, the latest supersu (always strongly recommended!) doesn't work with your device and rom?

...send from mobile...
[Nexus 5X Themes and Apps] sd3993:
Yes it causes sensors to stop working. Guess i'll have to wait it out for now.
[Nexus 5X Themes and Apps] ascsa:
Yep, please let us know when CM root is working correctly or a supersu version for your cm14.1 redmi note 3 is available.
[Nexus 5X Themes and Apps] sd3993:
Managed to install another superuser app. Quick Tile works fine.

But there is a slight delay in switching the location modes. I guess that's normal.
[Nexus 5X Themes and Apps] krugliy3000:
Request for promo code

I am. Just found out about this application and then saw your offer. If it is still available I would like to have one please.

Thank you.
[Nexus 5X Themes and Apps] ascsa:
for other users with the same issue --> which superuser app/version?

Yep.
[Nexus 5X Themes and Apps] sd3993:
phh Superuser r259
[Nexus 5X Themes and Apps] ascsa:
Update 1.3.1

Update 1.3.1 is out in the wild (Google Play) now.

OK guys, I´m pretty proud of this one ;)

The main new feature is the possibility to link the tile icon and label to your device status ... You can now link your WiFi, Ringermode, Location and Battery device status to your quicktile. Especially the Battery link is pretty awesome (--> battery percentage + battery temperature direct within your tile :cool: ).

Another cool feature is the screenshot activity (no more power+ volume down ;)) ..try it out ...
[Nexus 5X Themes and Apps] Yudh:
A feature request

Allow to run a terminal command with a custom tile

I am on Aicp rom 12.1 i.e Android 7.1 on my Samsung Galaxy note 2 gt-n7100

✌️
[Nexus 5X Themes and Apps] ascsa:
Yep, I do have this on my internal list since day one. Would be a real powerful activity, but I think only a fraction of users (even on XDA) could handle this. The hardest part would be, to make it bulletproof against all kinds compatibility issues and user errors :eek:.... Also I was missing some real world use cases, so could you share your use case?
[Nexus 5X Themes and Apps] Yudh:
Read calmly and thanks for giving reply so fast

I own a Samsung Galaxy Note 2(GT-N7100) and i am currently on cm 14.1.

Samsung didn't shared it's camera app's source code due to which if media server process runs on cm based ROMs from lollipop and above the camera app crashes.

To fix the camera error either i have to restart my phone (which takes a hell lot of time) or run terminal command mentioned below with Superuser access rights

pkill mediaserver

But every time manually entering this command also takes time and it's not good for noobs .

So i implemented a custom control switch using the Kernel Adiutor app aka KA

But KA takes time to open .

So i thought of implementing a custom quick tile but i do not have expertise to implement it also i don't have enough time due to my exams .

So what i request from you is

Make a custom quick tile which runs the below commands on toggle and after running the command it should show a toast displaying this message "MediaServer Killed"

su
pkill mediaserver
exit

But do notify the user that it is not to be played with.

✌️
[Nexus 5X Themes and Apps] sd3993:
The network mode tile doesn't work. I have only dual sim devices to test and both run cm 14.1

Maybe it's related to dual sim?
[Nexus 5X Themes and Apps] slimpyman:
nice. gonna check this out..... anyway to imprt an icon, ? i cannot for the life of me find a little celltower looking thing with 2g, 3g, or 4g/lte in the corner of the icon!
[Nexus 5X Themes and Apps] ascsa:
Could be dual sim related, could be cm 14.1 related or even dual sim + cm14.1 related.

I do cover the dual sim use case in the code, but could not test it properly because I do not have a dual sim device for testing. Not even sure if an official Nougat release is available for a dual sim device ... So, it´s difficult to narrow it down, but let´s try it:

- Does it not work for you for both sim cards ? Is there a difference with sim 1 or sim 2 activated ?

- Does the mobile data activity work?

- To anyone with a Cm14.1 single sim device: Does the network mode work for you?
[Nexus 5X Themes and Apps] ascsa:
So you need a single root activity for your special use case, got it .... I think, it would makes a lot more sense to implement some generic "send root commando" activity (and make this as bulletproof as possible), because the next user will request a different root commando for his special use case .... and i will end up, implementing a bunch of exotic activities ...

As mentioned, something like this is already on my list and the more I think of it, I recognize I should implement a "send root command" activity ... maybe together with a "send shell commando" activity ....
[Nexus 5X Themes and Apps] ascsa:
Added to feature request list. Would be difficult for end users to find a suitable icon, but let me check if I could come up with something.
[Nexus 5X Themes and Apps] Yudh:
See it doesn't matter how you implement it to me .

But please help us by implementing the feature.

And its not for my mobile only it is for every device whose camera source code is not released publicly.

✌️
[Nexus 5X Themes and Apps] ascsa:
ok, should be covered with the next update ...
[Nexus 5X Themes and Apps] Yudh:
Thanks dude??

✌️
[Nexus 5X Themes and Apps] ascsa:
Update 1.4.1

Update 1.4.1 is rolling out (--> Google Play):

Update 1.4.+

* New Auto-sync device status

* New Send root shell command activity

* Tablet support

* Minor tweaks and fixes

Feedback always welcome ;)
[Nexus 5X Themes and Apps] ascsa:
Uuuups, something wrong with the build , so hold on ... will send a 1.4.2 update

EDIT: OK Guys, fixed 1.4.2 update is available on Google Play. Make sure, you DO NOT get the 1.4.1
[Nexus 5X Themes and Apps] ascsa:
Implemented. You can find it under lab --> "send root shell command"

Syntax: just set your command as parameter .... in your special case: pkill mediaserver

You can add a pop-up message (or some text-to-speech) in an additional activity.

Does this work on your device/rom ?
[Nexus 5X Themes and Apps] Yudh:
No it didn't.

✌️
[Nexus 5X Themes and Apps] ascsa:
Weird, works without issues on my testing device ... rooted with SuperSu ....

Any log available?
[Nexus 5X Themes and Apps] Yudh:
http://cloud.tapatalk.com/s/58367a0714c01/aicp_logcat.txt

Logcat

âœŒï¸
[Nexus 5X Themes and Apps] Flavien:
Thanks, long click action is it planned?

I need :

Action 1 : Battery Sauver ON + BT OFF
Action 2 : Batery Sauver OFF + BT ON
Action longclick : Battery Sauver ON + BT OFF + Airplane ON
[Nexus 5X Themes and Apps] ascsa:
Hmm, nothing unexpected within logcat. Seems like some compatibility issues with superuser :eek: ...Does any of the build in root activities work? --> Please check the airplane mode activity!
[Nexus 5X Themes and Apps] ascsa:
Longclick was planned and I did some deeper analysis some time ago .... unfortunately Android missed the opportunity to add some info to easily identify the longclicked tile..... ThatÂ´s Ok for single tile apps, but with multiple tiles, there is no way to identify the correct tile (or at least I did not find a workable solution) .... btw. double click would also need some ugly hacks to work, so currently longclick and double click are out of scope ....

However, you could always try the cycle feature: Action 1 --> Cycle 1, Action 2 --> Cycle 2, Action longclick --> cycle3 (so you would have to click several times, to activate your action ...)

or simply use 2 tiles each with 2 cycles .... e.g. Tile one for action 1 and 2 and tile two for longclick action and an additional Battery Saver OFF + BT ON + Airplane OFF action
[Nexus 5X Themes and Apps] Yudh:
Even that didn't work.

But when i got time i tried to build my own app . That implementation worked for me.

I followed the below instructions

https://su.chainfire.eu/#how

Also i made a dataouputstream object and then wrote the command using it.

I will send you my implementation code when i reach Home

âœŒï¸
[Nexus 5X Themes and Apps] ascsa:
Yep, i´m quite familiar how to su and I always use a dataoutputstream ....but you use SUPERUSER not SUPERSU so there are some differences, especially with the selinux context ... so, as mentioned several times before, just install SuperSu.

However, I think a can add a compatibility mode for non-supersu root, but that will be hacky and not my top priority.
[Nexus 5X Themes and Apps] Yudh:
I use many super user apps and each of them worked well with both superuser of cm and SuperSU by chainfire

âœŒï¸
[Nexus 5X Themes and Apps] ascsa:
yep, using basic commands should work on both, try to use some context related commands and you will see the difference.
[Nexus 5X Themes and Apps] ascsa:
Update 1.4.5

Update 1.4.5 is out in the wild (--> Google Play). Mainly a maintenance update with some UI modifications and little tweaks (e.g. changed recent apps behavior). Also adds some compatibility fixes for the "send root shell command" and added an extra "send shell command" activity for non-root users ...

Feedback always welcome ;)
[Nexus 5X Themes and Apps] Xcastor:
Thanks for the superb app. Purchased.

Can you add the Action: Greenify: Hibernate + Lock screen?
[Nexus 5X Themes and Apps] ascsa:
Hi,

I think you can use it already:

"Start/ Launch --> App Activity --> Greenify --> com.oasisfeng.greenify.HibernateAndLockScreen"

;)
[Nexus 5X Themes and Apps] Xcastor:
Darn it! Why can't I find it sooner! Thank you! :D
[Nexus 5X Themes and Apps] ascsa:
You're welcome ;)

With 50+ activities and some of them so powerful to handle a lot of different use cases, it's sometimes hard to find the right setup ...I find nearly every day a new combination and use case :D .... e.g. learned yesterday that you can easily integrate Tasker via the QuickTile Broadcast activity ...:good:

btw. greenify does also provide some build-in plugins
[Nexus 5X Themes and Apps] Xcastor:
The combinations is powerful and diverse, this app has potential my friend. Cheer!
[Nexus 5X Themes and Apps] ascsa:
Any issues with the 1.4.5 update?
[Nexus 5X Themes and Apps] ascsa:
Update 1.5.1

Update 1.5.1 is out in the wild now (--> Google Play)

Usually the Nexus (now Pixel?) devices, stock Android and SuperSu (for root) are my baseline for development.

In the past, a lot of manufacturer roms as well as custom roms implemented a lot of workarounds, non-standard APIs and even changed some of the standard APIs. It was, and still is, a support nightmare. However, the 1.5.1 update contains a compatibility mode for non-supersu root apps and fixes some of the horrible custom rom workarounds (looking at you, CM :p). I certainly can not fix all the workaround and bugs in all custom (and manufacturer!) roms but 1.5.1 should fix at least some of the common ones. Especially the root activities should now work much more stable on CM.

Update 1.5.1

- Advanced custom rom support

- Minor tweaks and fixes
[Nexus 5X Themes and Apps] sd3993:
Did a quick test on cm's inbuilt root. Seems to work fine after the update.
[Nexus 5X Themes and Apps] ascsa:
yep, I recommend to add a 2 seconds delay (wait activity) between two root activities to let the root app do it´s magic, but that´s probably a good approach for every root app.
[Nexus 5X Themes and Apps] saentis:
Thank you so much for this great app!

I have a little problem with the plugin functionality (which I realize is experimental): I'm using the "RESTask for Tasker" plugin and for some reason I can not add activities from this plugin to every tile / cycle. For example it works on the first cycles of the first two tiles (also adding multiple activities). But if I try it on the third tile or the second cycle of the first tile, I can set up the activity but when I try to save it it just disappears.

The same does not happen with other plugins however.

Any ideas?
[Nexus 5X Themes and Apps] ascsa:
Thanks for the Feedback! Yep, the plugin functionality is experimental because the api is well documented for the plugin side, but somewhat mysterious (at least for me) on the server side ... , so I had to do some re-engineering and guessing ... it should work with most plugins, but probably some border cases will not work.

In your case, I don´t think it´s related to the cycle or tile number, because there is no difference (except tile and cycle number) from a QuickTile point of view. I think you try to add a plugin task that is somehow different to your other tasks.

So let´s try to narrow your issue down:

Could you add the same plugin task like the one in tile1 cycle1 to tile3 or to tile1 cycle2 ?

Could you add the problematic plugin task to tile1 cycle1?
[Nexus 5X Themes and Apps] saentis:
Thanks for the fast feedback! I thought the number thing was weird..

I haven't fully tested this, but I believe I found a more realistic culprit: For what I was trying to do in some cases (the ones with the problematic numbers in my first post) setting up an activity with this plugin required me to put in multiple pieces of text which I copy pasted from another app. So I switched back and forth between the two apps while setting up the activity and I guess this is where the "loss" might have happened (even though the editing view is still open after coming back from another app).

I tried to do it now without switching and texted everything by hand in one go. This worked!

Hope this makes sense?

A related feature request would be: when editing an activity the ability to edit the activity as it was already configured and not set it up from scratch again.
[Nexus 5X Themes and Apps] ascsa:
yep, makes much more sense ... while switching between quicktile, an external plugin and a 3rd app, something could easily go wrong .. would be interesting, if the issue also occurs in multiwindow mode :eek:

I put your feature request on my list ... makes sense for activities with text parameter, but changing the whole activity would be awkward ... I tested both variants and haven´t decided yet, which is the best overall solution :confused:
[Nexus 5X Themes and Apps] saentis:
After a quick test, it seems to work in split screen. Thanks for the suggestion.

Regarding my request. I see that it only makes sense when you have more complex activities with multiple settings, which might not be the normal case. But I still think it's the better way to go. If you want to completely change an activity you can just create a new one and delete the old. There is currently no way to modify an existing activity.
[Nexus 5X Themes and Apps] sherifbmw:
Thanks for the great app, just one question, when I add ringer toggle tile, how can I have the icon to be dynamic, I mean to change the icon from normal to Vibrate to don't disturb, the function works but the icon doesn't
[Nexus 5X Themes and Apps] ascsa:
Just use the Link to device Ringer mode ... you find this via the little chain symbol next to the pen symbol :good:
[Nexus 5X Themes and Apps] ascsa:
Update 1.6.1

Update 1.6.1 is out in the wild --> Google Play ;)

- New Sleep activity (root required)

- Widget support --> you can now fire a tile via homescreen widget (nothing fancy, not linked to device status or tile icons etc. but handy for some use cases)

- Additional tweaks and fixes

:cowboy:
[Nexus 5X Themes and Apps] kost7:
This is just a great app! Didn't really need more than three tiles yet, but had to purchase just to show support. Thank you, it works great in Nexus 6p :good:
[Nexus 5X Themes and Apps] ascsa:
Thanks!

...send from mobile...
[Nexus 5X Themes and Apps] ascsa:
Update 1.7

Update 1.7.+ is out in the wild (-> Google Play)....

Update 1.7.+

* App themes (Yep, new colors ;))

* Additional Battery status design

* Fix for several 3rd party plugin issues

* Minor tweaks and fixes
[Nexus 5X Themes and Apps] kost7:
Thanks for the update. I really like the new battery design.:good:
[Nexus 5X Themes and Apps] Daviebread:
Great app! Thanks to the developer for all of your hard work!
[Nexus 5X Themes and Apps] fabio000:
Thanks for the amazing app, I have a small "feature" request (not really a feature, just some icons)

I use your app mostly to create a tile which cycles through 4G/3G/2G, 4G/3G, 4G only, 3G only and 2G only, and I think it would be nice to have at least 3 icons of network modes (4G, 3G and 2G)

Also, is possible to set longpress actions?
[Nexus 5X Themes and Apps] ascsa:
Unfortunately, Google messed up the longpress api, so it´s possible for single tile apps, but not for multi-tile apps (at least i did not find a suitable solution yet) :(

I do have something in the works that should fit your 4G, 3G and 2G icon request (and more) :D ... but I need some additional time to fully implement and test it ... looks good at the moment, but I´m still not sure if it will work as expected (--> and get implemented) at all ... :fingers-crossed:
[Nexus 5X Themes and Apps] mims1979:
Thanks for the promo. So far I like the app, was looking for a way to run scripts off of tiles which is great.

Maybe I've missed something, but I don't see how to modify anything but the first tile though, I have 2 custom tiles added, but can't seem to see how to modify the second one. Hints?

---------- Post added at 09:37 PM ---------- Previous post was at 09:32 PM ----------

Nevermind, as I reached for my phone after typing the post, I bumped it and was in the other tile...

So apparently you just swipe left and right to change tiles!

If you have a 2 cycle tile, does it remember the last one selected on reboot or just go back to the base. I have a tile that runs a shell command that moves a file between two different locations then reboots (05suhide so that supersu prompts come back when I install new apps that need root) so I'd like whatever the last option I selected to be there on reboot.
[Nexus 5X Themes and Apps] 53970:
Is it possible to have the icons changing in the statusbar?
[Nexus 5X Themes and Apps] ascsa:
Not sure if I understand you correct, but QuickTile fires cycles/activities. It always knows which cycle to fire next, but it does not repeat any previous activities/ cycles on reboot. So yeah, your use case should work, but the easiest way to confirm this is just to try it out :D
[Nexus 5X Themes and Apps] ascsa:
yep, you can use the device status links or different icons for each cycle.
[Nexus 5X Themes and Apps] 53970:
But if I choose "V - N" as circle, there is no icon in the statusbar. The vibrate icon appears only if I choose DND-V-N and then it is shown for the DND mode.

Maybe I missed sth.?
[Nexus 5X Themes and Apps] ascsa:
Hmm, I thing we talk about different things .:confused:... so let´s try to sort this out:

I assume you want a simple Ringer mode toggle (vibrate - normal), right?

--> let´s start from scratch (reset the tile!):

1) just add the activity (Device Settings--> Ringer--> Toggle (V-N))

2) choose the Link to device Ringer Mode Icon (Little Link symbol beside the pen)

and that´s it ... you do not need a cycle for that ,-)

Aaaah, perhaps I understand your question now: you mean the status bar icon, not the tile icon ? The status bar icon is controlled by your firmware. Nothing QuickTile controls (but sure, DND and Vibrate have own icons there ...)
[Nexus 5X Themes and Apps] 53970:
Yes, you got me.

The tile icon changes, but nothing happens in the status bar. If I choose DND, there is the vibrate icon, but nothing happens when choosing vibrate mode.

I'm on a Oneplus 3 with a OOS 4.0.3 rom.