yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] Baldeep Singh:
Figured it!

1- I installed Virtuos Ten Studio

2-I Powered Off my Device

3-I connected Device to PC

4-I clicked 'Start Receiving Logcat'

5-I Powered On my Device

6-I clicked 'Stop Receiving Logcat' when my device is fully booted

It showed 9000 lines, but max was 2000, i hope if this is fine
[Xposed Framework Modules] dk_zero-cool:
This is almost right. But what I need is from the beginning, so if this application has a max of 2000 lines, then you will have to stop it before it reaches the 2000. Does the application has a visible counter that you can use to keep track?
[Xposed Framework Modules] Baldeep Singh:
These screenshots may help, i don't understand what u said,but maybe after seeing these pictures, you will knew what does this app does

1st pic is when my device is connected and switched off

2nd pic is when my device is fully booted and still connected
[Xposed Framework Modules] dk_zero-cool:
No what I need you to do is the same as you did before. But this time keep track of overall lines in the button and make sure that it does not get above 2000. Before it does, you should stop it. But you need to turn your phone off, connect it and turn it back on while running your logcat application. Just stop it before it reaches 2000 lines so that I can see the beginning of the log.
[Xposed Framework Modules] AssassinsLament:
dk_zero-cool,

My settings have stayed since redoing them yesterday, and I can not reproduce the settings reset, so maybe it was a fluke or something else I did. I'll keep an eye out, but I think it's working fine.
[Xposed Framework Modules] dk_zero-cool:
Sounds good, but considering that I do not know how long the next major version will take, I decided to implement the new preference service from it in this version. It's a lot more stable than sending out broadcasts that the module service has no way of knowing whether or not is even received. I will upload this some time today. It will also much better force the application to respond, unlike broadcasts that does not always launch applications.
[Xposed Framework Modules] treebeard9000:
Recent App key not functioning

Hi,

I recently encountered an issue with this module after remapping my home key so that, when double pressed, it launched the camera app. It works very well, however I noticed I can no longer access my recent application menu by pressing the recent application key. Once I discovered this, I just attempted to map the button to launch it, but to no effect. Rebooting and disabling the module have also had no effect. I have a galaxy note 4 running 4.4.4. Any ideas?

Thank you for your time and help in this matter.
[Xposed Framework Modules] dk_zero-cool:
Yes this have been an issue on some newer Note and Galaxy devices. I would like to way that I could help, but do not have one of these devices to test with. The only option that I have for you at this point is to install an AOSP ROM. Stock ROM's will always have some issues depending on the ROM and device.
[Xposed Framework Modules] Baldeep Singh:
Here is my logcat, but it showed: Visible/Overall = 2000/2688

It stays at 0 for long time, and suddenly it starts from 2600

So, this is what I can do,maybe I can do something with any Filters
[Xposed Framework Modules] dk_zero-cool:
Yes filters would be a good idea if that is possible, because the missing 688 lines are some of the most important ones. If you have a filter option then have it only include lines that contains the word "xposed".
[Xposed Framework Modules] Baldeep Singh:
Visible/Overall entries: 35/7050

Text Filter: xposed

Now this logcat shows that lines only with 'xposed'

But these are 35, Still hope if it's alright
[Xposed Framework Modules] mayurpanchal002:
Facing problem, every time when I reboot my device, I have to recheck all settings. Means on every boot it sets default settings.

Device : Xolo Q1000 opus
[Xposed Framework Modules] dk_zero-cool:
According to this log, Xposed Framework cannot find the module APK file. How did you install this? This seams as a problem with the Xposed Framework on your device. The module is not the problem, it is not even loaded. Your best option is to create a new issue in the Xposed Issue Tracker and have the developer of the framework have a look at it. You should include the log you just posted here as it contains the information about the issue.
[Xposed Framework Modules] dk_zero-cool:
Just update to the module to version 3.5.6
[Xposed Framework Modules] mayurpanchal002:
Thanks a lot, now it is working very well
[Xposed Framework Modules] Baldeep Singh:
I got what you said, and will look forward that thread soon, thanks for all your help, maybe you've waste alot of time with me, by the way I've installed the framework about four times correctly,and still this problem persists
[Xposed Framework Modules] egingell:
Looks like two or more of your Xposed modules have been moved to the SD card. Move them back - they won't work that way.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] AssassinsLament:
So something caused my nexus 7 to reboot itself today and I checked the settings and it had reverted back to the previous configurations I had the day before. I made sure to manually reboot last night with the new configuration to see if there was any change, but everything seemed fine until the device rebooted itself, then a previous setting was there instead of the what I set yesterday.

Since you will have a new version soon, this may not be relevant, but just wanted to let you know.
[Xposed Framework Modules] donmargarito:
Im using a Oneplus One Lollipop and if I change any key, after a reboot double tap to wake doesn´t work, any idea ?
[Xposed Framework Modules] Lord Childe:
Supports all ROMs... except ColorOS.
[Xposed Framework Modules] dk_zero-cool:
To avoid a lot of writing, I made it to only write changes when a device is shutdown. But of cause if your device creates an error and reboots without a proper shutdown, then this will not happen.

Enable debug in the app

Reboot your device

Wait a bit to make sure that everything is started to calm down logcat

Set ADB or a Logcat app to stream from logcat

Turn off your screen

Double tap your display

Stop the log, save it to a file and attach it here

If you do this I might be able to figure out why
[Xposed Framework Modules] dk_zero-cool:
Or you just have another issue. Provide some more details and we might be able to figure out what. Device? App Version? ROM Version? Some details about your issue?
[Xposed Framework Modules] Lord Childe:
Attachment
[Xposed Framework Modules] dk_zero-cool:
This seams more like a Radio Log. There are different systems that you can monitor, you need to set whatever app you are using to display regular logcat output.
[Xposed Framework Modules] AssassinsLament:
Yep, I understand that. But the weird thing was that I rebooted 2 or 3 times after changing to new settings, which means it should have written the new settings in (which it did), but then after my device rebooted itself, it reverted back to the old settings i had the day before. Kind of weird... like there was some sort of cache that the old settings was stored in.

Thanks for your hard work!
[Xposed Framework Modules] dk_zero-cool:
Yes that is strange. The module does not store any cache or backup, that however does not mean that Android's preference system does not. It might cache something and restore from it in case of a file corruption, which can occur when a device does not shutdown properly and sync the partitions. It might also have been a partition error due to inproper shutdown. Note that things does not get deleted from partitions, they just get flagged as deleted and later overwritten. Maybe your shutdown messed up some flags which restored a previous file version.
[Xposed Framework Modules] Dj Telo:
So that's the same thing I have experienced a few times. I can now say that I was not crazy. Everything works fine for me now though.

I am running the penultimate version now. Do you recommend upgrading if everything is working fine already?
[Xposed Framework Modules] dk_zero-cool:
Version 3.5.6 removes the broadcast operations for writing and restoring preferences. Instead it uses a proper application service that the module can connect to and obtain a direct connection while retrieving the preferences. Since the application (the service) is now started by the module when connecting to it, it is no longer considered by Android as a self launching procedure. Broadcasts however is, which is what should have caused these issues. Self launching is not always allowed, for example after updating the app. Also many things like AppOps, XPrivacy and so on often defaults to disable self launch.

I don't know what version you are using, have no idea what is different. But 3.5.6 now does preference handling according to Android guidelines, by letting the app do it and have a proper service to communicate with.

With this information, you can make up your own mind what you want to do. But if it is working for you now, you could just let it be.
[Xposed Framework Modules] donmargarito:
I´ve done it and this is what I get

--------- beginning of main

D/com.spazedog.xposed.additionsgb.backend.service.XServiceManager( 5096): Retrieving preference Boolean 'layout_rotation_switch' via IPC

I/Timeline( 5096): Timeline: Activity_idle id: android.os.BinderProxy@158fb76c time:101937

W/IInputConnectionWrapper( 5096): getExtractedText on inactive InputConnection

W/IInputConnectionWrapper( 5096): getTextBeforeCursor on inactive InputConnection

W/IInputConnectionWrapper( 5096): getSelectedText on inactive InputConnection

W/IInputConnectionWrapper( 5096): getTextAfterCursor on inactive InputConnection

I/Timeline( 5096): Timeline: Activity_idle id: android.os.BinderProxy@158fb76c time:114258

W/IInputConnectionWrapper( 5096): getExtractedText on inactive InputConnection

W/IInputConnectionWrapper( 5096): getTextBeforeCursor on inactive InputConnection

W/IInputConnectionWrapper( 5096): getSelectedText on inactive InputConnection

W/IInputConnectionWrapper( 5096): getTextAfterCursor on inactive InputConnection

I/Timeline( 5096): Timeline: Activity_idle id: android.os.BinderProxy@158fb76c time:130975

I/art ( 5096): Background sticky concurrent mark sweep GC freed 1723(141KB) AllocSpace objects, 0(0B) LOS objects, 11% free, 1868KB/2MB, paused 5.582ms total 13.975ms

I´ve tried it twice, that´s why it´s repeated
[Xposed Framework Modules] khoald92vn:
I have the same issue like him. Version 3.5.6. Iam using s3 with rom cook 4.4.4 port note4. I come back to the version 3.4.1 which work well for me.
[Xposed Framework Modules] ovizii:
sorry to pop in here like a newbie but I couldn't figure out on my own if xposed additions is compatible with lollipop and I googled everywhere.

thanks
[Xposed Framework Modules] egingell:
You can't find it in the change log or in the last few pages of this thread? I'm fairly sure it's in there and the word "lollipop" has been used in this thread a lot in the past few weeks.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] ovizii:
I just found it in the changelog of the xposed module, I didn't find it on the Google play store page and neither using the button called "search this thread" on top of this page. It returns a lot of hits for lollipop but none answered my question. Since I installed it from the Play Store I hope I am excused?
[Xposed Framework Modules] dk_zero-cool:
It's no problem. Xposed Additions is compatible with whatever Xposed Framework can be installed on, mostly anyway.
[Xposed Framework Modules] 333hronos:
Updating not helping for me, I've already tried 3.5.4 and 3.5.6, both of these are lost my settings on reboot.

I've start thinking what save settings it's a Pro feature ;D

Samsung s4 mini (i9195 LTE), stock android 4.4 with touchwiz
[Xposed Framework Modules] dk_zero-cool:
If your settings are not restored on boot, then you have something that is blocking the module preference service from responding to requests. I don't know if you have AppOps enabled with bad configuration, XPrivacy, Greenify or whatever, but something is blocking this app from responding to the modules requests. Something not standard in Android, some 3'td party application.
[Xposed Framework Modules] 333hronos:
I never install any Guard/antiviruses on my gadget. (it means is touchwiz firmware are blocking this module?)

By the way, now I tried 3.5.2 version and it works perfect and keep my settings after reboot.

Can I upload any logs which help to understand what exactly blocking module after 3.5.2 version?

Which data and from which apps can help?
[Xposed Framework Modules] dk_zero-cool:
In version 3.5.2 the module service itself is restoring the settings. In later version the module service asks the application to do it because the other way has been restricted by SELinux. If yours does not work, then something must be blocking the request, which is a basic Android request according to their own manual.

Well if you can get a log during the device boot, it would help a lot.
[Xposed Framework Modules] 333hronos:
I wanted to make a log, install the LogCat (because in-app debug log are clearing after restart system, as far as I know) and... I'm surprised...

So... when I update from 3.4.2 to 3.4.6 and reboot, settings won't reset, then I change module settings and reboot again - same result, reboot again - same, trying soft reboot and... all my settings was saved.

I don't understand 8)

In this case, I have a question, do you plan to add the option to import and export the settings to a memory card? Just in case ;)
[Xposed Framework Modules] dk_zero-cool:
When you updated and saved, you said that the settings was restored? Second time you did a reboot, did the settings get deleted or just reset back to your last boot?
[Xposed Framework Modules] 333hronos:
Sorry for my bad English :p

Let's start from the beginning:

On 3.5.6 my settings were always reset after any reboot (soft or full).

I've deleted 3.5.6, installed 3.5.4 and configured it => soft reboot => settings were reset after rebooting.

Then I've deleted 3.5.4, installed 3.5.2 and configured it => soft reboot => my settings are ok => full reboot => settings are ok.

Next, I've updated from 3.4.2 to 3.4.6 => soft reboot => settings are ok.

Then on 3.4.6 I've changed module settings => soft reboot => settings are ok.

Again tried soft reboot => settings are ok => and full reboot => settings are ok
[Xposed Framework Modules] a.fontenele:
[MENTION=3147360]dk_zero-cool[/MENTION]

I just noticed the latest version which still saves the settings upon rebooting is version 3.5.2. I just rolled back version by version until I found out which one didn't have the issue of not saving the settings.

Also, as I am not following up on this thread as I used to I don't know if what I said is already obvious, if so, please forgive me, I only meant to help... [emoji16]
[Xposed Framework Modules] dk_zero-cool:
None of my devices has this issue with the settings, so to fix it I would need some help getting a few details about version 3.5.6. There are 3 things that can be the cause of this issue. One is that the app's preference service get's blocked during boot so that the settings does not get restored. Second is that the app's preference service get's blocked during shutdown so that the settings does not get written to disk. Third is that your devices does not wait until the preference service is finished writing before shutting down so that the device get's shut down while the service is writing to the file. I need to know which of these issues you have.

The most obvious would be that the devices is shutting down to fast. To test this I have made a small change so that the app saves the settings while editing them instead of waiting until a shutdown. If you could try this and tell me if that fixes your issues: View attachment 3268647
[Xposed Framework Modules] 333hronos:
Will test 3.5.6_2

Отправлено с моего GT-I9195
[Xposed Framework Modules] khoald92vn:
I have an issue when test v3.5.6_2. When quick reboot, everything is OK. But when i full reboot. All settings are lost. That's my situation.

Gửi từ SM-N910C của tôi bằng cách sử dụng Tapatalk
[Xposed Framework Modules] dk_zero-cool:
Okay. Well hope that you are up to some more testing. I changed this version to save settings when the app closes instead of during shutdown. But of cause that will not help if your problem is during boot. Could you try the following? You will need a root explorer for it (Unless you can work in ADB).

Copy the file /data/data/com.spazedog.xposed.additionsgb/shared_prefs/config.xml somewhere where you can get it later

Open the app, make a change or two. The copy the config file again (so you have two versions)

Now reboot your device. When it boots up again, copy the config file for the third time

Attach all 3 files here
[Xposed Framework Modules] khoald92vn:
3 file attached.

Edit: Seems when i update from previous version to 3.5.6_2, in the first time reboot all settings are lost. But if i continue to config ( or use titanium to restore only data), all settings don't change.
[Xposed Framework Modules] dk_zero-cool:
Thanks. It seams like I will need a little more controlled testing in order to make sense of the data. Hope that you are up for it.

I need you to disable the module in Xposed Installer. Then reboot the device to disable the module still running in the background.

When the device has booted again, go to Android's app settings and delete Data/Cache for this module.

If you have not yet installed the test version, do this now.

Re-enable the module and reboot the device to activate it.

Open the app and goto the remap part. Change the long press delay to something else. Now add the power button and then a screen on condition. Set long press to display the power menu (just to keep it default, but still with a custom action)

Close the app (Home or Back) to make it write the settings. Now copy the config file like before and reboot the device.

When the device has booted, check to see if you lost the long press delay and your custom long press action. If you did, copy the config file again and attach both files here.
[Xposed Framework Modules] khoald92vn:
I follow your steps and the long press delay and your custom long press action work fine, nothing lost.

As I edit in the previous post, when I update previous version (mine is 3.4.1) to 3.5.6_2, then re-enable and reboot to activate, all settings I saved are lost . Then I follow your steps, everything works fine, nothing lost. So the problem here I think when update from previous version to 3.5.6_2, all settings are lost (seems the app started from the beginning).
[Xposed Framework Modules] dk_zero-cool:
I made a config convertion tool for this app, so that settings would not be lost during update. It worked fine for me, but not for all it seams. So the lost config issue is between updating to 3.5.6.
[Xposed Framework Modules] khoald92vn:
Yes :). That's right. Hope the next update will fix this issue.
[Xposed Framework Modules] BlindWanderer:
just a heads up, Wanam Xposed's track skip with volume keys interferes with Xposed's Additions. The result is volume going to the max or min. Be sure to disable it in Wanam. Fortunately the feature can be replicated with Xposed Additions.

---------- Post added at 01:31 PM ---------- Previous post was at 01:22 PM ----------

I use the with my external keyboard. All the different conditions are great. Two feature suggestions:

* Force-read/reload the settings file (I do't like having to reboot if I edit it with an external tool).

* Make it so you can select any key imaginable not just the few hardware keys.
[Xposed Framework Modules] BoldyWaer:
Hi, I am using xposed additions on lg g3 d855.

Everything working fine. ( I have remaped volume buttons to skip track)

It works for the first time I use them on the road. Next day it doesn't work. I mean the remaping Ive done just vanished. And I have to remap each time I want the buttons to change song.

Any advice how to keep them all the time?
[Xposed Framework Modules] a.fontenele:
The latest version which still saves the settings with no issue for me is version 3.5.2. Try it, it's worth it.

The OP is already working on solving this issue, so let's just wait.

;)
[Xposed Framework Modules] BoldyWaer:
thank you very much for the info!
[Xposed Framework Modules] dk_zero-cool:
Version 3.5.7 is out, hopefully I have already fixed it (Crossing fingers!!!)
[Xposed Framework Modules] a.fontenele:
AWESOME WORK [MENTION=3147360]dk_zero-cool[/MENTION]!

I've done some testing assigning different functions and rebooting. Everything is working as it should be! Even if I long press the back key (which for me is set to kill the application) to kill xposed additions right after changing the settings, it saves the settings, you can tell the changes right away and after rebooting too...

Tks a lot bro!

My phone would be quite annoying without Xposed Additions Pro and I always make sure to tell everyone that... [emoji16]
[Xposed Framework Modules] Sneakdovi:
Does it work on android 5.1 ??
[Xposed Framework Modules] dk_zero-cool:
Don't know. I am not testing 5.1 until rovo89 releases Xposed for it. I know that there is an unofficial version of Xposed for 5.1, I have tried it but deemed it to unstable and to unreliable to be used for debugging of modules. I would not have any idea whether issues was caused by the module or by Xposed itself.
[Xposed Framework Modules] chiefroastbeef:
Hello Dk-zero-cool,

Great module, just bought it on the play store this morning after using it for a week.

Is there a way to turn on bluetooth via a three button press during screen off? I would like to toggle bluetooth easily for my bluetooth earphones. I've been using the pressy headphone jack "button" to toggle bluetooth, but the button is rather unreliable at times, your module works very very consistently.

Keep up the great work!
[Xposed Framework Modules] bjrmd:
You could always trigger a tasker script to do it-as well as make it conditional(location, lack of headset etc)
[Xposed Framework Modules] a.fontenele:
Tasker is definitely the solution for you...
[Xposed Framework Modules] egingell:
Tasker doesn't listen for button presses - he wants to press buttons in a specific way to enable Bluetooth while the screen is off.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] a.fontenele:
Yeah it doesn't. But how else would he accomplish that if not by using tasker to toggle bluetooth? I don't know any other way. He just has to create a task to turn bluetooth on and call it through xposed additions with the screen on or off. I've just done it myself before writing this to make sure it works and it did.
[Xposed Framework Modules] a.fontenele:
Here is how I did it...
[Xposed Framework Modules] chiefroastbeef:
you guys are amazing, I've been using tasker for a long time, but was absolutely baffled at how I would accomplish this. Those screen shots help so much!

Thank you again, clicked thanks button everywhere.
[Xposed Framework Modules] Cyboy:
Hi,since i ve Enabled the ATH(anti-theft helper function)in the APM+ module, then nobody else can restart or power off my device before unlocking it .

but as an unwanted function in your mudole the device will be restarted on almost 10secends press on power button ,even on the lock screen.

i will ask you to either disable the function or add an option to disable it.

disableing your module fixes the prob but i need it to stay enabled as well. :)
[Xposed Framework Modules] egingell:
That is a function of your phone not of this module.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] sonypro:
does it work on superalpha xposed 5.1?