[MOD][XPOSED] Unsafe Volume - disable safe media volume popup/check - Xposed Framework Modules

Unsafe Volume Xposed mod
disable the safe media volume check​
I wrote a tiny Xposed module, which disables the annoying safe media volume popup/check, present in many Jellybean devices. It works by simply setting the config_safe_media_volume_enabled system parameter to false at boot time. Because it uses the Xposed framework, it is device and rom independent
Installation
Install the awesome Xposed framework on your rooted device.
Install and activate the mod, which you can download from my Bintray site.
You can find the sources at my Github repository. This software is released under the GNU GPLv3.
Cheers!

Does it matter if we are deodexed or odexed? I just got a new phone and I am running the stock samsung 4.2.2 rom, but it is rooted.
stammler said:
Unsafe Volume Xposed mod
disable the safe media volume check​
I wrote a tiny Xposed module, which disables the annoying safe media volume popup/check, present in many Jellybean devices. It works by simply setting the config_safe_media_volume_enabled system parameter to false at boot time. Because it uses the Xposed framework, it is device and rom independent
Installation
Install the awesome Xposed framework on your rooted device.
Install and activate the mod, which you can download from my Bintray site.
You can find the sources at my Github repository. (They use the gradle build system introduced as default with Google's new android-studio IDE, with which this mod was produced.)
Cheers!
Click to expand...
Click to collapse

omniphil said:
Does it matter if we are deodexed or odexed? I just got a new phone and I am running the stock samsung 4.2.2 rom, but it is rooted.
Click to expand...
Click to collapse
Short Answer: It works for all roms, odexed and deodexed
Long Answer: This question is actually a question whether the Xposed framework works with (de)odexed roms. The first post in the Xposed framework thread says
It will work for odexed and deodexed ROMs.
Click to expand...
Click to collapse
under the section Advantages in the beginning. And as such does any Xposed mod work with any (de)odexed rom.

will this stop your device from also stopping the media and turning the volume half way down???

DaMyth said:
will this stop your device from also stopping the media and turning the volume half way down???
Click to expand...
Click to collapse
No. Technically, this mod doesn't do anything but setting the system parameter config_safe_media_volume_enabled to false, no other tweaks. It should be possible to write a mod, or extend this one, so that the system doesn't stop the current media from playing when something is plugged in to the earphone jack. Anybody knows how to do this?
But there's an App in the Play store with which you can configure the volume levels that will be set when you (un)plug a cable: Hearing Saver

Thanks for releasing this mod :good: I'm however having trouble getting it to function on ICS 4.0.4 - The 'Safe Volume Level' toast pops up even when the mod's enabled.

shadeMe said:
Thanks for releasing this mod :good: I'm however having trouble getting it to function on ICS 4.0.4 - The 'Safe Volume Level' toast pops up even when the mod's enabled.
Click to expand...
Click to collapse
I think this popup was introduced into the core Android system with 4.1, so the implementation of this pop-up in ICS roms is probably differently, which should be the reason this mod is not working for you. But I'd be happy to add support to ICS/you particular rom/phone, if you could provide me with some information. Which phone to you have? Which rom are you running? Can you point me to the sources of your rom? Please post the output of /data/xposed/debug.log and maybe the config.xml out of your framework-res.apk (or some other .xml files if there's no config.xml).
Cheers!

Thanks - That's very generous of you! I'm running a mostly AOSP stock ROM that came with my phone - It's a Huawei Ascend G600 (U8950-1). The contents of the debug log:
Code:
-----------------
Jul 7, 2013 6:43:17 AM UTC
Loading Xposed (for Zygote)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
android.content.res.Resources$NotFoundException: android:bool/config_safe_media_volume_enabled
at android.content.res.XResources.setSystemWideReplacement(XResources.java:232)
at net.cantab.stammler.xposed.unsafevolume.UnsafeVolume.initZygote(UnsafeVolume.java:38)
at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:282)
at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:234)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:99)
at dalvik.system.NativeStart.main(Native Method)
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
-----------------
Jul 7, 2013 6:52:14 AM UTC
Loading Xposed (for com.goodmooddroid.gesturecontrol.RemoteContext)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
-----------------
Jul 7, 2013 7:00:40 AM UTC
Loading Xposed (for com.android.commands.am.Am)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
-----------------
Jul 7, 2013 7:05:54 AM UTC
Loading Xposed (for com.android.commands.am.Am)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
-----------------
Jul 7, 2013 7:23:04 AM UTC
Loading Xposed (for com.android.commands.am.Am)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
-----------------
Jul 7, 2013 7:57:05 AM UTC
Loading Xposed (for com.android.commands.am.Am)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
-----------------
Jul 8, 2013 2:36:45 PM UTC
Loading Xposed (for com.android.commands.am.Am)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
-----------------
Jul 8, 2013 2:58:31 PM UTC
Loading Xposed (for com.android.commands.am.Am)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
-----------------
Jul 8, 2013 3:05:54 PM UTC
Loading Xposed (for com.android.commands.am.Am)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
-----------------
Jul 8, 2013 4:15:27 PM UTC
Loading Xposed (for com.android.commands.am.Am)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
-----------------
Jul 8, 2013 5:47:39 PM UTC
Loading Xposed (for com.android.commands.am.Am)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
-----------------
Jul 8, 2013 6:39:23 PM UTC
Loading Xposed (for com.android.commands.am.Am)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
-----------------
Jul 8, 2013 7:40:28 PM UTC
Loading Xposed (for com.android.commands.am.Am)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
-----------------
Jul 8, 2013 8:42:40 PM UTC
Loading Xposed (for com.android.commands.am.Am)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
-----------------
Jul 8, 2013 9:42:53 PM UTC
Loading Xposed (for com.android.commands.am.Am)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
-----------------
Jul 8, 2013 10:40:30 PM UTC
Loading Xposed (for com.android.commands.am.Am)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
-----------------
Jul 8, 2013 11:40:02 PM UTC
Loading Xposed (for com.android.commands.am.Am)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
-----------------
Jul 9, 2013 12:43:19 AM UTC
Loading Xposed (for com.android.commands.am.Am)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
-----------------
Jul 9, 2013 1:44:14 AM UTC
Loading Xposed (for com.android.commands.am.Am)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
-----------------
Jul 9, 2013 1:56:26 AM UTC
Loading Xposed (for com.android.commands.am.Am)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
-----------------
Jul 9, 2013 4:46:30 AM UTC
Loading Xposed (for com.android.commands.am.Am)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
-----------------
Jul 9, 2013 6:44:12 AM UTC
Loading Xposed (for com.android.commands.am.Am)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
-----------------
Jul 9, 2013 9:18:25 AM UTC
Loading Xposed (for com.android.commands.am.Am)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
-----------------
Jul 9, 2013 9:32:17 AM UTC
Loading Xposed (for com.android.commands.am.Am)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
-----------------
Jul 9, 2013 9:50:07 AM UTC
Loading Xposed (for com.android.commands.am.Am)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
-----------------
Jul 9, 2013 10:29:05 AM UTC
Loading Xposed (for com.android.commands.am.Am)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
-----------------
Jul 9, 2013 10:52:16 AM UTC
Loading Xposed (for com.android.commands.am.Am)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
-----------------
Jul 9, 2013 11:00:20 AM UTC
Loading Xposed (for com.android.commands.am.Am)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/sg.ruqqq.XThemeEngine-1.apk
Loading class sg.ruqqq.XThemeEngine.Mod
I was unable to find a config.xml inside my framework-res APK so I've attached the manifest file.

The log says
shadeMe said:
Code:
-----------------
Jul 7, 2013 6:43:17 AM UTC
Loading Xposed (for Zygote)...
Loading modules from /data/app/net.cantab.stammler.xposed.unsafevolume-1.apk
Loading class net.cantab.stammler.xposed.unsafevolume.UnsafeVolume
android.content.res.[B]Resources$NotFoundException: android:bool/config_safe_media_volume_enabled[/B]
Click to expand...
Click to collapse
so indeed there isn't a config_safe_media_volume_enabled parameter in ICS, as I expected.
shadeMe said:
I was unable to find a config.xml inside my framework-res APK so I've attached the manifest file.
Click to expand...
Click to collapse
Thanks, but, unfortunately, the manifest wasn't helpful. I think it makes sense if you just upload the whole framework-res.apk

Of course! Bitte schoen - Dropbox

shadeMe said:
Of course! Bitte schoen - Dropbox
Click to expand...
Click to collapse
Hmm, didn't contain anything helpful to me either... For a start, please post a screenshot of the pop up And maybe you could search for the sources of your rom, Huawei is obliged to release them somewhere.

I've attached a screenshot. As for the source code to my ROM, I'm afraid the closest we've got right now is the kernel source. And even that's ported from a different model of the phone.

shadeMe said:
I've attached a screenshot. As for the source code to my ROM, I'm afraid the closest we've got right now is the kernel source. And even that's ported from a different model of the phone.
Click to expand...
Click to collapse
The kernel sources wouldn't help... Is it actually just showing the toast but you can increase the volume nevertheless? I couldn't find something useful in the framework-res.apk either, please send me your framework.apk

Yes, the toast doesn't restrict the volume level. However, occasionally (or should I say randomly), a modal message box gets displayed instead. When it does, the volume level cannot be modified until it's dismissed. And I also recall receiving the message as a notification once.
Where would I find the framework APK? It doesn't seem to be present in the framework directory. Nor does it show up during a search (there was a JAR file of the same name though). Or are you talking about the GoogleServicesFramework APK?
PS: I just noticed that there's a second frameworkres APK, this one a custom Huawei extension. It's named framework-res-hwext.apk. Would you like to take a look at this as well?

shadeMe said:
Yes, the toast doesn't restrict the volume level. However, occasionally (or should I say randomly), a modal message box gets displayed instead. When it does, the volume level cannot be modified until it's dismissed. And I also recall receiving the message as a notification once.
Where would I find the framework APK? It doesn't seem to be present in the framework directory. Nor does it show up during a search (there was a JAR file of the same name though). Or are you talking about the GoogleServicesFramework APK?
PS: I just noticed that there's a second frameworkres APK, this one a custom Huawei extension. It's named framework-res-hwext.apk. Would you like to take a look at this as well?
Click to expand...
Click to collapse
The framework-res-hwext.apk file could be helpful. Also, please run the command
Code:
ls -R /system > /sdcard/ls-R_system
in a shell on your phone (either adb shell or any terminal emulator from the play store)
and post the resulting file ls-R_system.
Cheers!

Although I don't have a Huawei device, there is a similar problem that the samsung galaxy family devices have with the unsafe volume pop-up. From poking around in the adb log on my samsung device, after triggering the message.
Code:
D/PopupuiReceiver(3524): onReceive() getAction : android.intent.action.EAR_PROTECT_TOAST
D/STATUSBAR-NotificationService(673): enqueueToast()
from the log I then decompiled the apk "PopuiReceiver" trying to find the string id "EAR_PROTECT_TOAST"
under the decompiled apks "public.xml" ideally look for it under the folder "values"
Code:
<public type="string" name="ear_protect_toast" id="0x7f050007" />
and under the decompiled apks "strings.xml"
Code:
<string name="ear_protect_toast">To lower your risk of hearing damage, do not listen at high volumes for long periods</string>
By being able to remove the string id "ear_protect_toast", when the function is called, the pop-up message is never triggered because there is no coding link to it (ie a dead-end).
Using the advice that stammler is mentioning, use an adb logging tool, ideally with your device connected to the computer. After that forcefully trigger the popup on device (helps to do this a handful of times so the lines of code in the adb log stands out). From the adb log, you should be able to determine what installed app (or line(s) of code) is triggering the popup message.
Hope this helps in removing the nanny message
Joe

@cybhunter, thanks for the detailed instructions. But I did some more digging and was able to find a build.prop setting to turn off the toast on my device.
@stammler, thanks for taking the time to help me out - Much appreciated

shadeMe said:
@cybhunter, thanks for the detailed instructions. But I did some more digging and was able to find a build.prop setting to turn off the toast on my device.
@stammler, thanks for taking the time to help me out - Much appreciated
Click to expand...
Click to collapse
How about sharing that setting, please.

Of course, my apologies. It's ro.config.hw.security_volume, takes an integer value. Was set to 11 on my device. Although I think it might be Huawei/region specific, for I found the message string in Huawei's framework-res extension APK.

It makes my device reboots randomly
Xperia z using romaur v8.0 (4.2.2)
Sent from my C6603 using xda premium

Related

[MOD][XPOSED][4.4+] WiFiKeyView - Show your WiFi passwords

Hello everyone,
This is my first module for XPosed, currently I have tested it only on the Nexus 5. (But it should work on every device Android 2.2+ with the original WiFiSettings class)
The idea of the module is simple, all WiFi passwords are stored on your phone but you can not see them. (Unless you have root, root browser and text viewer/editor). This module adds an simple option to the contextual menu of the WiFi settings. When clicked, it will show an toast with the password of the network in it.
I know that the toast is not an easy way for the users, but I will change this soon in an dialog with copy button
Link to XPosed module: here
Source code can be found here: here
Hope this will help you!!
WHDeveloper
List with tested device's: (Working)
Google
|----> Nexus 5 (stock ROM Android:4.4.2) by @whdeveloper
Samsung
|----> Galaxy Note 3 GT-I9005 (Crash ROM v10 Android:4.4.2) by @sound2005
|----> Galaxy S2 GT-I9100
| |----> (c-rom Android:4.4.2) by @089man
| |----> (AOSB ROM Android 4.4.2) by @guslion
| |----> (CyanogenMod 11 Android 4.4.2) by @guslion
|----> Galaxy S3 GT-I9300 (stock ROM Android:4.3) by @portamento
|----> Galaxy S3 Mini GT-I8190
| |----> (stock ROM Android:4.1.2) by @oldslowdiver
| |----> (CM11 Android:4.4.3) by @tys0n
| |----> (CarbonROM Android:4.4.2) by @GXGOW
|----> Galaxy S4 GT-I9500 (Omega v20 ROM Android:4.4.2) by @vogars
|----> Galaxy Win Pro SM-G3812 (touchwiz stock ROM Android 4.2.2) by @CoulFox
|----> Galaxy Ace 2 GT-I8160L (stock ROM Android 4.1.2) by @dmertins
Motorola
|----> Moto X XT1058 (stock ROM Android:4.4.2) by @Thomas_BA
LG
|----> Optimus G (stock ROM Android:4.1.2) by @milister31
|----> Optimus 2X (CM10 by Pengus Android:?.?.?) by @calatemaze
|----> G2 (cloudyfkex 2.2 rom Android:?.?.?) by @sosimple
Sony
|----> Xperia SP (existenz Z ultra Android:?.?.?) by @paijoe88
|----> Xperia P (Cyanogenmod 11 Android 4.4.4) by @DavidMKD
NOTICE
There are some ROMS that have their wpa_supplicant.conf encrypted, this module won't work if so. I don't know why this is, nor do I know how to solve this. Any help with it will be greatly appreciated!!
The Samsung Galaxy S4 (I9505) is already reported to not work due to an encrypted wpa_supplicant.conf file and there are probaly more devices out there, if you have an problem with this mod, please check you wpa_supplicant.conf file first for encryption before asking for help. ("/data/misc/wifi/wpa_supplicant.conf").
Changelog:
1.0.5 (Not yet released, scheduled for the coming days)
+ Added German, Russian, Slovak translations (thanks to @theknut and [MENTION=][/MENTION])
+ Added Preference interface (Debug options and test methods)
+ Added hook for future option to show password in the modify network dialog
1.0.4
+ Added more log, to better help with problems
+ Sensitive information doesn't appear in the log anymore
1.0.3:
+ Removed reflection for a more failsafe method
1.0.1 & 1.0.2:
+ Added support for every Android version
+ Don't use fixed id's anymore
+ Show password in dialog (with copy and share option)
1.0:
+ Initial release
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Screenshots?
Sent from my Nexus 4 using Tapatalk
Link to the module here, enjoy
Subscribing for more updates. Pretty neat idea. The copy button will certainly be helpful.
EDIT: It's working on Android 4.3 (Samsung Galaxy S3 GT-I9300 stock ROM). Thanks for this great mod. Copy option, as you say, would be really useful (even the possibility of sharing would be welcome)
When I click on "show password", nothing happens. I'm on Sense 6 on the m7.
Sent from my HTC One using Tapatalk 4 Pro
Nice idea. It would be nice if you could make "show password" checkbox in modify network dialog show password in text box. Currently it only shows password if typing new one..
Where i found this new settings, Screenshot? I not found?
I9100 Tapatalk 4, C-Rom 4.4. 2
Thanks for the reactions already!
@portamento I will add your device to the list with tested ones
@KonstiDee I will look into this, probaly has something to do with the methods that I am hooking, or an edited WiFi Settings for HTC, is the option even showing?
@SilentException Nice idea! I only worked for the contextual menu item, but it is an nice idea to put it in the modify network dialog
@089man The option can be found in your normal WiFi settings, the one that lists all networks. Long press any network (which you connected to before and have the password on your device) and the option will show (In code it is made to only show when the modify option is there too).
Thanks for answer, here not works?
Samsung S2 I9100 c-rom kk 4.4.2
I9100 Tapatalk 4, C-Rom 4.4. 2
089man said:
Thanks for answer, here not works?
Samsung S2 I9100 c-rom kk 4.4.2
I9100 Tapatalk 4, C-Rom 4.4. 2
Click to expand...
Click to collapse
I am looking into this right now, the source of your rom are here:
https github.com/X-ROM/android_packages_apps_Settings/blob/kitkat/src/com/android/settings/wifi/WifiSettings.java
and I am trying to find the differences with here:
http grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android-apps/4.4.2_r1/com/android/settings/wifi/WifiSettings.java/
But I cannot find a good reason why it shouldn't work for you....
Are you seeing the show password option in the contextual menu(long press in the network list)?
Is the modify network option showing in the contextual menu?
Nowhere i found an entry... No option field visible....
I9100 Tapatalk 4, C-Rom 4.4. 2
089man said:
Nowhere i found an entry... No option field visible....
I9100 Tapatalk 4, C-Rom 4.4. 2
Click to expand...
Click to collapse
Can you send me an screenshot from your contextual menu? It should be like the screenshot in the first post
whdeveloper said:
Can you send me an screenshot from your contextual menu? It should be like the screenshot in the first post
Click to expand...
Click to collapse
Here
I9100 Tapatalk 4, C-Rom 4.4. 2
@089man I think this has to do with the custom ROM you are using.
I have released version 1.0.2, which has some changes in the menu id's. It should be working now.
whdeveloper said:
@089man I think this has to do with the custom ROM you are using.
I have released version 1.0.2, which has some changes in the menu id's. It should be working now.
Click to expand...
Click to collapse
Thanks for you work, have install the new version and reboot the device, but here the same as before, no options visible, not available in menu.... I used C-Rom for S2 I9100
I9100 Tapatalk 4, C-Rom 4.4. 2
@089man Does the XPosed log show an stacktrace? Debugging is enabled, zo it should tell something. If there are no stacltraces, what values does it gave for the MENU_ID's?
Sent from my Nexus 5 using xda app-developers app
whdeveloper said:
@089man Does the XPosed log show an stacktrace? Debugging is enabled, zo it should tell something. If there are no stacltraces, what values does it gave for the MENU_ID's?
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Here the log file....
26.04.2014 11:15:28 UTC
Loading Xposed v47 (for Zygote)...
Running ROM 'crom_i9100-userdebug 4.4.2 KVT49L 1e8ae82307 test-keys' with fingerprint 'samsung/GT-I9100/GT-I9100:4.1.2/JZO54K/I9100XWMS2:user/release-keys'
Loading modules from /data/app/hk.valenta.completeactionplus-2.apk
Loading class hk.valenta.completeactionplus.XCompleteActionPlus
Loading modules from /data/app/ar.pbosio.whatsappquiethours-1.apk
Loading class ar.pbosio.whatsappquiethours.XposedMod
Loading modules from /data/app/com.zst.xposed.xuimod-1.apk
Loading class com.zst.xposed.xuimod.XuiMod
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/com.germainz.crappalinks-2.apk
Loading class com.germainz.crappalinks.CrappaLinks
Loading modules from /data/app/at.jclehner.appopsxposed-1.apk
Loading class at.jclehner.appopsxposed.AppOpsXposed
Loading modules from /data/app/ind.fem.black.xposed.mods-2.apk
Loading class ind.fem.black.xposed.mods.Xmod
App Version>>> v1.8.2
MODEL Name>>>GT-I9100
BRAND Name>>>Samsung
DEVICE Name>>>GT-I9100
MANUFACTURER Name>>>samsung
PRODUCT Name>>>GT-I9100
ROM Name>>>crom_i9100-userdebug 4.4.2 KVT49L 1e8ae82307 test-keys
RELEASE Name>>>4.4.2
SDK_INT Name>>>19
Phone has softkeys>>>true
Device Density>>>240
NotificationPanel: initZygote
NotificationPanel: Completed
VolKeyCursor: initZygote
SafeVolume: Safe headset media volume set to: false
LowBatteryWarning: initZygote
Loading modules from /data/app/com.haiduongbk.thememanager-1.apk
Loading class com.haiduongbk.thememanager.Settings_hdbk
Loading modules from /data/app/com.mohammadag.burnttoast-1.apk
Loading class com.mohammadag.burnttoast.XposedMod
Loading modules from /data/app/com.gsamlabs.xposed.mods.enablebatterystatspermission-1.apk
Loading class com.gsamlabs.xposed.mods.enablebatterystatspermission.HookGetStatisticsMethodCall
Loading modules from /data/app/com.whd.wifikeyview-2.apk
Loading class com.whd.wifikeyview.WiFiKeyView
Loading modules from /data/app/it.tnx.xposednavbarmod-1.apk
Loading class it.tnx.xposednavabarmod.Main
Loading modules from /data/app/ma.wanam.youtubeadaway-1.apk
Loading class ma.wanam.youtubeadaway.Xposed
Loading modules from /data/app/com.ceco.kitkat.gravitybox-1.apk
Loading class com.ceco.kitkat.gravitybox.GravityBox
GB:Hardware: smdk4210
GBroduct: GT-I9100
GBevice manufacturer: samsung
GBevice brand: Samsung
GBevice model: GT-I9100
GBevice type: phone
GB:Is MTK device: false
GB:Is Xperia device: false
GB:Is Moto XT device: false
GB:Has Lenovo custom UI: false
GB:Has telephony support: true
GB:Has Gemini support: false
GB:Android SDK: 19
GB:Android Release: 4.4.2
GB:ROM: crom_i9100-userdebug 4.4.2 KVT49L 1e8ae82307 test-keys
java.lang.NoSuchMethodError: com.android.internal.policy.impl.PhoneWindowManager#handleLongPressOnHome()#exact
at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:208)
at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:155)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:167)
at com.ceco.kitkat.gravitybox.ModHwKeys.initZygote(ModHwKeys.java:724)
at com.ceco.kitkat.gravitybox.GravityBox.initZygote(GravityBox.java:68)
at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:457)
at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:407)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:121)
at dalvik.system.NativeStart.main(Native Method)
java.lang.NoSuchMethodError: com.android.internal.policy.impl.ImmersiveModeConfirmation#immersiveModeChanged(java.lang.String,boolean)#exact
at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:208)
at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:155)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:167)
at com.ceco.kitkat.gravitybox.ModExpandedDesktop.initZygote(ModExpandedDesktop.java:791)
at com.ceco.kitkat.gravitybox.GravityBox.initZygote(GravityBox.java:69)
at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:457)
at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:407)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:121)
at dalvik.system.NativeStart.main(Native Method)
Loading modules from /data/app/tw.fatminmin.xposed.networkspeedindicator-1.apk
Loading class tw.fatminmin.xposed.networkspeedindicator.Module
SafeVolume: AudioService constructed. Broadcast receiver registered
CustomCarrierLabel: init
GestureAnywhere: init
Nbg: masterSwitch-off
RecentPanelMod: init
CustomCarrierLabel: init
StatusbarColor: init
QuickSettingsMod: init
com.android.systemui.statusbar.phone.QuickSettingsBasicTile: not found
com.android.systemui.quicksettings.HybridTile: not found
QuickSettingsMod: com.android.systemui.statusbar.phone.QuickSettingsTileView#setColumnSpan(int)#exact
StatusBarIcons: init
StatusBarIcons: Completed
SignalCluster: init
Battery : init
LowBatteryWarning: init
SmartAlarm: init
CenterClock: initResources
BatteryStyle: initResources
CenterClock: initResources
Nbg: dimension started
status_bar_background is not available
BatteryStyle: completed
CenterClock: super_status_bar>>>inflated
CenterClock: clockColorEnabledfalse
CenterClock: clockColor-16777216
CenterClock: mLayoutClock injected
CenterClock: mLayoutClock injected
CenterClock: mClockCentered : false
CenterClock: mClock : com.android.systemui.statusbar.policy.Clock{42044ec8 G.ED.... ......ID 0,0-0,0 #7f0d0072 app:id/clock}
CenterClock: mIconArea : android.widget.LinearLayout{42229f10 V.E..... ......I. 0,0-0,0 #7f0d006c app:id/system_icon_area}
CenterClock: mLayoutClock : android.widget.LinearLayout{4240e020 G.E..... ......I. 0,0-0,0}
CenterClock: setClockPosition returned without center clock
CenterClock: super_status_bar>>>inflated
CenterClock: clockColorEnabledfalse
CenterClock: clockColor-16777216
CenterClock: mLayoutClock injected
CenterClock: mLayoutClock injected
CenterClock: mClockCentered : false
CenterClock: mClock : com.android.systemui.statusbar.policy.Clock{42044ec8 G.ED.... ......ID 0,0-0,0 #7f0d0072 app:id/clock}
CenterClock: mIconArea : android.widget.LinearLayout{42229f10 V.E..... ......I. 0,0-0,0 #7f0d006c app:id/system_icon_area}
CenterClock: mLayoutClock : android.widget.LinearLayout{4242cea0 G.E..... ......I. 0,0-0,0}
CenterClock: setClockPosition returned without center clock
GB:StatusbarBattery: Error backing up original colors: com.android.systemui.BatteryMeterView#mChargeColor
GB:StatusbarBattery: Error setting colors: com.android.systemui.BatteryMeterView#mChargeColor
CenterClock: Traffic, mContext set
GestureAnywhere: Completed
AOX: Trying variants...
AOX: at.jclehner.appopsxposed.variants.HTC: no match!
AOX: at.jclehner.appopsxposed.variants.Samsung: no match!
AOX: at.jclehner.appopsxposed.variants.Sony: no match!
AOX: at.jclehner.appopsxposed.variants.CyanogenMod: no match!
findAndHookMethodRecursive: trying class android.preference.PreferenceActivity.loadHeadersFromResource
AOX: AOSP: [OK+]
LowBatteryWarning: showLowBatteryWarning called; showPopup = true
LowBatteryWarning: playLowBatterySound called; playSound = true
LowBatteryWarning: showLowBatteryWarning called; showPopup = true
GB:ModLockscreen: Lockscreen targets: error while trying to modify GlowPadView layoutandroid.widget.LinearLayout$LayoutParams cannot be cast to android.widget.FrameLayout$LayoutParams
CenterClock: initResources
BatteryStyle: initResources
CenterClock: initResources
Nbg: dimension started
status_bar_background is not available
LowBatteryWarning: showLowBatteryWarning called; showPopup = true
AOX:AOSP: loadHeadersFromResource: xmlResId=2131099761
AOX:AOSP: loadHeadersFromResource: xmlResId=2131099761
java.lang.NoSuchMethodError: com.android.incallui.CallButtonFragment#setEnabled(boolean)#exact
at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:208)
at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:155)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:167)
at com.ceco.kitkat.gravitybox.ModDialer.init(ModDialer.java:299)
at com.ceco.kitkat.gravitybox.GravityBox.handleLoadPackage(GravityBox.java:151)
at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:34)
at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:70)
at de.robv.android.xposed.XposedBridge$2.beforeHookedMethod(XposedBridge.java:209)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:620)
at android.app.ActivityThread.handleBindApplication(Native Method)
at android.app.ActivityThread.access$1500(ActivityThread.java:145)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1266)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5161)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:133)
at dalvik.system.NativeStart.main(Native Method)
-----------------
26.04.2014 11:16:59 UTC
Loading Xposed v47 (for com.smart.swkey.input)...
Loading modules from /data/app/hk.valenta.completeactionplus-2.apk
WHD - WiFiKeyView|| MENU_ID_MODIFY9
WHD - WiFiKeyView|| MENU_ID_SHOWPASSWORD10
Loading class hk.valenta.completeactionplus.XCompleteActionPlus
Loading modules from /data/app/ar.pbosio.whatsappquiethours-1.apk
Loading class ar.pbosio.whatsappquiethours.XposedMod
Loading modules from /data/app/com.zst.xposed.xuimod-1.apk
Loading class com.zst.xposed.xuimod.XuiMod
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/com.germainz.crappalinks-2.apk
Loading class com.germainz.crappalinks.CrappaLinks
Loading modules from /data/app/at.jclehner.appopsxposed-1.apk
Loading class at.jclehner.appopsxposed.AppOpsXposed
Loading modules from /data/app/ind.fem.black.xposed.mods-2.apk
Loading class ind.fem.black.xposed.mods.Xmod
Loading modules from /data/app/com.haiduongbk.thememanager-1.apk
Loading class com.haiduongbk.thememanager.Settings_hdbk
Loading modules from /data/app/com.mohammadag.burnttoast-1.apk
Loading class com.mohammadag.burnttoast.XposedMod
Loading modules from /data/app/com.gsamlabs.xposed.mods.enablebatterystatspermission-1.apk
Loading class com.gsamlabs.xposed.mods.enablebatterystatspermission.HookGetStatisticsMethodCall
Loading modules from /data/app/com.whd.wifikeyview-2.apk
Loading class com.whd.wifikeyview.WiFiKeyView
Loading modules from /data/app/it.tnx.xposednavbarmod-1.apk
Loading class it.tnx.xposednavabarmod.Main
Loading modules from /data/app/ma.wanam.youtubeadaway-1.apk
Loading class ma.wanam.youtubeadaway.Xposed
Loading modules from /data/app/com.ceco.kitkat.gravitybox-1.apk
Loading class com.ceco.kitkat.gravitybox.GravityBox
Loading modules from /data/app/tw.fatminmin.xposed.networkspeedindicator-1.apk
Loading class tw.fatminmin.xposed.networkspeedindicator.Module
WHD - WiFiKeyView|| MENU_ID_MODIFY9
WHD - WiFiKeyView|| MENU_ID_SHOWPASSWORD10
DayDream: handleLoadPackage
WHD - WiFiKeyView|| MENU_ID_MODIFY9
WHD - WiFiKeyView|| MENU_ID_SHOWPASSWORD10
WHD - WiFiKeyView|| MENU_ID_MODIFY9
WHD - WiFiKeyView|| MENU_ID_SHOWPASSWORD10
AOX:AOSP: loadHeadersFromResource: xmlResId=2131099761
DayDream: handleLoadPackage
AOX:AOSP: loadHeadersFromResource: xmlResId=2131099761
AOX:AOSP: loadHeadersFromResource: xmlResId=2131099761
WHD - WiFiKeyView|| MENU_ID_MODIFY9
WHD - WiFiKeyView|| MENU_ID_SHOWPASSWORD10
AOX:AOSP: loadHeadersFromResource: xmlResId=2131099761
DayDream: handleLoadPackage
AOX: Trying variants...
AOX: at.jclehner.appopsxposed.variants.HTC: no match!
AOX: at.jclehner.appopsxposed.variants.S
I9100 Tapatalk 4, C-Rom 4.4. 2
---------- Post added at 01:52 PM ---------- Previous post was at 01:47 PM ----------
WHD - WiFiKeyView|| MENU_ID_MODIFY9
WHD - WiFiKeyView|| MENU_ID_SHOWPASSWORD10
I9100 Tapatalk 4, C-Rom 4.4. 2
Nice mod.
Nexus 5 powered by Mahdi-Rom & ElementalX Kernel
@089man
As I can see in your logfile, the reflection methods I use don't work properly. I have again released a new version 1.0.3, the reflection methods are removed here and another way of checking if it is a known network is implemented, should work now

Greenify without Xposed on LP

Hi
I buy donate and update phone to Lollipop. And I can not install xposed because I have a lot of bugs. My question is: Can I be notified GCM in frozen applications without Xposed?
UszkiX said:
Hi
I buy donate and update phone to Lollipop. And I can not install xposed because I have a lot of bugs. My question is: Can I be notified GCM in frozen applications without Xposed?
Click to expand...
Click to collapse
No, without Xposed, you can not.
Xposed alpha is compatible with Lollipop 5, not 5.1 or higher. If you have 5, you should be able to install Xposed alpha.
When I install xposed I see "com.android.......
Has been stoped"
And I can not using the phone...
Ya even me also getn bootloops.... Phone-sony Xperia t2 ultra android version-5.0.2
Which version of Xposed are you both trying to install?
You can use Xposed in Lollipop 5.0 and 5.1 but the greenify module will give you a bootloops.
The developer should update the module to make it work.
I trying to flash framework not xposed apk.
UszkiX said:
I trying to flash framework not xposed apk.
Click to expand...
Click to collapse
Then search in Xposed thread.
tnsmani said:
Which version of Xposed are you both trying to install?
Click to expand...
Click to collapse
Latest xposed 20150430
My phne is nt even booting to home screen after flashing the xposed zip
But it works on other phones like z2,z3 having lollipop
pvnsai73 said:
Latest xposed 20150430
My phne is nt even booting to home screen after flashing the xposed zip
But it works on other phones like z2,z3 having lollipop
Click to expand...
Click to collapse
Did you disable all Xposed modules (assuming you were running earlier versions of Xposed) before attempting to install this version?
This version is running without major issues in almost all phones. So may be your phone or OS is causing this. Search in the Xposed thread.
tnsmani said:
Did you disable all Xposed modules (assuming you were running earlier versions of Xposed) before attempting to install this version?
This version is running without major issues in almost all phones. So may be your phone or OS is causing this. Search in the Xposed thread.
Click to expand...
Click to collapse
I did a clean and fresh install of rom..and properly root with r/w and a twrp recovery..but here is my log
05-19 00:01:27.672 I/Xposed ( 994): -----------------
05-19 00:01:27.672 I/Xposed ( 994): Starting Xposed binary version 61, compiled for SDK 21
05-19 00:01:27.672 I/Xposed ( 994): Device: D5322 (Sony), Android version 5.0.2 (SDK 21)
05-19 00:01:27.672 I/Xposed ( 994): ROM: 19.3.A.0.470
05-19 00:01:27.672 I/Xposed ( 994): Build fingerprint: Sony/D5322/D5322:5.0.2/19.3.A.0.470/552693915:user/release-keys
05-19 00:01:27.672 I/Xposed ( 994): Platform: armeabi-v7a, 32-bit binary, system server: yes
05-19 00:01:27.672 I/Xposed ( 994): SELinux enabled: yes, enforcing: yes
05-19 00:01:27.681 I/Xposed ( 994): -----------------
05-19 00:01:27.681 I/Xposed ( 994): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
05-19 00:01:27.785 I/Xposed ( 994): Forcing image recompilation because /data/dalvik-cache/arm/[email protected]@boot.art is not compiled for the current Xposed version
05-19 00:01:55.606 I/Xposed ( 994): Detected ART runtime
05-19 00:01:55.616 I/Xposed ( 994): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
05-19 00:01:55.689 I/Xposed ( 994): Initializing XposedBridge version 64
05-19 00:01:55.892 E/Xposed ( 994): Cannot load any modules because /data/data/de.robv.android.xposed.installer/conf/modules.list was not found
05-19 00:01:57.206 F/libc ( 1831): Fatal signal 6 (SIGABRT), code -6 in tid 1831 (main)
@pvnsai73,
I think that your problem is here "05-19 00:01:55.892 E/Xposed ( 994): Cannot load any modules because /data/data/de.robv.android.xposed.installer/conf/modules.list was not found"
This has nothing to do with Greenify and you are asking in the wrong place.
Search in the Xposed thread for missing modules list. But I don't think that there is any solution found for this.
UszkiX said:
I trying to flash framework not xposed apk.
Click to expand...
Click to collapse
Have you tried to install the APK than flash the framework?

Unable to install xposed Cm12.0 YNG1TAS213 incremental

Hi
Was hoping someone could help. Recently flashed the incremental cm12 oneplus sent out ota. This is the incremental update in prep for lollipop 5.1. Since the I can't seem to xposed working.
I'm am flashing sdk11 via twrp and rebooting and installing the alpha 2 apk but on checking if xposed works screen says it not. This is natter what I do I've tried flashing numerous times and wiping dalvik and cache. To note I am on a one plus with Franco kernal installed 3.4.67. Is anyone aware of any update issues YNGTAS213. I has xposed working perfectly on cm12 YNG1TAS17L. Any ideas?
Thanks
I have just updated toYNGTAS213 and reinstalled xposed and it works fine. Original kernel.
Hope this helps.
I have the same problem, cannot install Xposed.
Tried newest unofficial Xposed arm22 20150520 and still get the sdk21 expecting sdk22 error
same here htc one m8 5.1.1 sdk21 expecting 22 error
DPinched said:
I have the same problem, cannot install Xposed.
Tried newest unofficial Xposed arm22 20150520 and still get the sdk21 expecting sdk22 error
Click to expand...
Click to collapse
dande said:
I have just updated toYNGTAS213 and reinstalled xposed and it works fine. Original kernel.
Click to expand...
Click to collapse
Worked on previous rom, but now not, default kernel too...
Latest build installed, but not working, writes not activ...
Here is the log:
06-29 01:11:14.829 I/Xposed ( 258): -----------------
06-29 01:11:14.829 I/Xposed ( 258): Starting Xposed version 65, compiled for SDK 21
06-29 01:11:14.829 I/Xposed ( 258): Device: A0001 (OnePlus), Android version 5.0.2 (SDK 21)
06-29 01:11:14.829 I/Xposed ( 258): ROM: LRX22G
06-29 01:11:14.829 I/Xposed ( 258): Build fingerprint: oneplus/bacon/A0001:5.0.2/LRX22G/YNG1TAS2I3:user/release-keys
06-29 01:11:14.829 I/Xposed ( 258): Platform: armeabi-v7a, 32-bit binary, system server: yes
06-29 01:11:14.829 I/Xposed ( 258): SELinux enabled: yes, enforcing: yes
06-29 01:11:14.832 I/Xposed ( 258): -----------------
06-29 01:11:14.832 I/Xposed ( 258): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
06-29 01:11:15.258 I/Xposed ( 258): Detected ART runtime
06-29 01:11:15.260 I/Xposed ( 258): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
06-29 01:11:15.439 I/Xposed ( 258): Errors during Xposed initialization
06-29 01:11:15.440 E/Xposed ( 258): java.io.IOException: Permission denied while reading /data/data/de.robv.android.xposed.installer/conf/modules.list
06-29 01:11:15.440 E/Xposed ( 258): at de.robv.android.xposed.services.ZygoteService.readFile(Native Method)
06-29 01:11:15.440 E/Xposed ( 258): at de.robv.android.xposed.services.BaseService.getFileInputStream(BaseService.java:116)
06-29 01:11:15.440 E/Xposed ( 258): at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:409)
06-29 01:11:15.440 E/Xposed ( 258): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:103)
06-29 01:11:36.991 F/libc ( 1063): Fatal signal 11 (SIGSEGV), code 2, fault addr 0x7f5b91a0 in tid 1066 (Compiler driver)
06-29 01:11:37.041 E/DEBUG ( 243): unexpected waitpid response: n=1066, status=0000000b
Unable to install YNG1TAS213 update
OPO A001. Nothing special loaded other that my personal apps from the Play store plus the Tapatalk and XDA app. I'm not a full newbie to Android; but neither am I at all new to computing in general.
I get the OTA update available message; but when I click on install; it goes to the install process "Recovery" page. I've chosen both "Apply update" which takes me to a choice of "Apply from ADB" and "Choose from internal storage". Selecting Apply from ADB yields an "Cancel sideload" message. Selecting internal storage route yield choices none of which yield any usable file name. Subsequently; I download a signed file <cm-12.0-YNG1TAS2I3-bacon-signed-fastboot.zip> to the root Internal storage folder. Re-cycled through the update process to the Recovery page found the zip file listed in the /0 folder selected that file and received the same Install failed message ending with the line "Installation aborted". I've tried several times and get the same message.
Anyone able to point me at my point of error and make suggestion on a solution?
Do not set assembly of 65 and 66 for the last snapshot CM12, Lg D802.
Do not set assembly of 65 and 66 for the last snapshot CM12, Lg D802.
I'm new enough to Android to not understand what these settings are. Will you be kind enough to explain?
Thanks
Howard H
Sent from my A0001 using XDA Free mobile app
Finally established on 67 CM12 nightly.

[MOD][XPOSED] Sticky Location Icon Fix

Xposed module to fix the bug in some devices that location icon is shown in the status bar even when there is no app requesting location.
The location notification icon in the status bar is designed only to show when an app is accessing the GPS (a.k.a. high powered location); however, this is broken on some devices where the icon is shown all the time, whether or not there is actually an app requesting high powered location. This Xposed module makes sure that the location icon shows up only when it should.
Should work on Android 5.0+.
(As a side benefit, you can check the Xposed log for which packages had accessed or are still accessing high powered location ).
Get it in the Xposed repo:
http://repo.xposed.info/module/com.xinlu.location_icon_fix
Source code URL:
https://github.com/xinluh/Xposed-StickyLocationIconFix
Some technical details of the fix:
The icon change is trigger by an intent from the LocationManagerService, but whether the icon is visible or not is determined by whether any app is currently using the high powered location permission in the AppOps package. I spent a long time tracking down if LocationManagerService is sloppy in forgeting to tell AppOps that a location request is no longer active, but the problem seems to stem from other packages requesting the location permission directly from AppOps without shutting it down properly. So, in essense, whenever the status bar is checking for high powered location requests, there are always active requests in the AppOps package which did not come from LocationManagerService.
The fix, without figuring out where those AppOps requests come from (they seem to come from close source Google services), is to keep track of the intent sent from LocationManagerService without invoking AppOps; to do that, I modified the intent sending code to send also package name and the on/off status. The side effect is that the android.location.HIGH_POWER_REQUEST_CHANGE broadcast is now sent twice, once without and once with the extra information. This side effect can easily be fixed by changing the intent action, but no other packages seem to use it (and it is a system level broadcast, so no user app should be using it).
Excellent.
Thanks a lot.
Ceased working with xPosed 86. Logs forthcoming once ROVO89 tells me what to look for. But I kinda worry this project is abandonware? Can I get a confirm/denial?
Details of why xPosed v86 stops can be found in this info.
rovo89 said:
Finally, a word to all module developers: In v84, I added a warning when a module's APK includes the Xposed API classes instead of just referencing them. I have also sent an email to the developers of all modules I could identify. With v86, I will turn the warning into an error and prevent the module from loading, as it could causes strange issues otherwise. Please update your module as soon as possible.
Click to expand...
Click to collapse
Error log, proving 86 difference has broken module
Code:
07-08 11:13:37.659 I/Xposed ( 383): -----------------
07-08 11:13:37.659 I/Xposed ( 383): Starting Xposed version 86, compiled for SDK 23
07-08 11:13:37.659 I/Xposed ( 383): Device: Nexus 6 (motorola), Android version 6.0.1 (SDK 23)
07-08 11:13:37.659 I/Xposed ( 383): ROM: N6XShamuM v2.2.3 - MOB30M - HeckNoTechnO
07-08 11:13:37.659 I/Xposed ( 383): Build fingerprint: google/shamu/shamu:6.0.1/MOB30M/2862625:user/release-keys
07-08 11:13:37.659 I/Xposed ( 383): Platform: armeabi-v7a, 32-bit binary, system server: yes
07-08 11:13:37.659 I/Xposed ( 383): SELinux enabled: yes, enforcing: no
07-08 11:13:39.979 I/Xposed ( 383): -----------------
07-08 11:13:39.981 I/Xposed ( 383): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
07-08 11:14:11.057 I/Xposed ( 383): Detected ART runtime
07-08 11:14:11.062 I/Xposed ( 383): Found Xposed class 'de/robv/android/xposed/XposedBridge', now initializing
cut
07-08 11:14:36.137 I/Xposed ( 383): Loading modules from /data/app/com.xinlu.location_icon_fix-1/base.apk
07-08 11:14:36.381 E/Xposed ( 383): Cannot load module:
07-08 11:14:36.381 E/Xposed ( 383): The Xposed API classes are compiled into the module's APK.
07-08 11:14:36.381 E/Xposed ( 383): This may cause strange issues and must be fixed by the module developer.
07-08 11:14:36.382 E/Xposed ( 383): For details, see: http://api.xposed.info/using.html

Help. Xposed Framework not working.

Hi. I'm using Cherry Mobile Flare S3ini (Q820) kitkat official rom. The problem is when the resourse hook is disabled, the framework is not working. I wasn't able to use theming modulea due to I need to activate disable resource hook for the framework to work. This is the log.
Sep 12, 2017 8:21:41 PM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'Cherry_Flare_S3_MINI3G_Q620_V04_20151211' with fingerprint 'unknown'
Errors during Xposed initialization
java.lang.ClassCastException: class android.content.res.XResources doesn't extend class android.content.res.SPRDResources
at de.robv.android.xposed.XposedBridge.cloneToSubclass(XposedBridge.java:787)
at de.robv.android.xposed.XposedBridge.hookResources(XposedBridge.java:365)
at de.robv.android.xposed.XposedBridge.initXbridgeZygote(XposedBridge.java:267)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
at dalvik.system.NativeStart.main(Native Method)
My phone is quad core spreadtrum processor, KK 4.4.2 Thanks.

Categories

Resources