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

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

Related

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

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

Galaxy Mini S3 "sleeps" and cannot recieve msgs/calls

I have a Samsung S3 mini, which I flashed with Kit Kat Cyanogenmod 11.0 from novafusion.pl
Everything in the installation was OK.
However my phone randomly falls "sleep" and cannot recieve msgs or calls. I have to turned Airplane mode on and off, to give it a "shake" and "wake" it up.
These is a report from Logcat, plus the log from yesterday,
Code:
build.board: montblanc
build.bootloader: unknown
build.brand: samsung
build.cpu_abi: armeabi-v7a
build.cpu_abi2: armeabi
build.device: golden
build.display: cm_golden-userdebug 4.4.4 KTU84Q d39c1e8ca0 test-keys
build.fingerprint: samsung/cm_golden/golden:4.4.4/KTU84Q/d39c1e8ca0:userdebug/test-keys
build.hardware: samsunggolden
build.host: novafusion.pl
build.id: KTU84Q
build.manufacturer: samsung
build.model: GT-I8190
build.product: cm_golden
build.radio: unknown
build.serial: 47900592d6cb30c0
build.tags: test-keys
build.time: 1436279173000
build.type: userdebug
build.user: root
version.codename: REL
version.incremental: d39c1e8ca0
version.release: 4.4.4
version.sdk_int: 19
I can't attach my full log because I'm new on the forum.
This is the top 30 unique lines processed by me in Bash,
Code:
[email protected]:~/Dropbox# cat 2015-07-28-10-25-50.txt | grep " E/" | cut -d "/" -f 2- | sort | uniq -c | sort -rn | head -n 30
166 Drm ( 1669): Failed to open plugin directory /vendor/lib/mediadrm
144 SpannableStringBuilder( 4288): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
118 ActivityThread( 2565): Failed to find provider info for com.google.android.wearable.settings
87 AuthorizationBluetoothService( 2483): Proximity feature is not enabled.
85 ConnectivityService( 2088): Can't set delayed ACK size:java.io.FileNotFoundException: /sys/kernel/ipv4/tcp_use_userconfig: open failed: ENOENT (No such file or directory)
85 ConnectivityService( 2088): Can't set delayed ACK size:java.io.FileNotFoundException: /sys/kernel/ipv4/tcp_delack_seg: open failed: ENOENT (No such file or directory)
70 audio_a2dp_hw( 1669): adev_set_parameters: ERROR: set param called even when stream out is null
59 WifiNative-wlan0( 2088): doBoolean: disable
57 WifiNative-wlan0( 2088): doBoolean: enable
49 CallDetails( 2409): list is null in setConfUriList
48 ActivityThread(14438): Failed to find provider info for com.google.android.wearable.settings
31 MDM ( 2388): [64] b.run: Couldn't connect to Google API client: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null}
31 BluetoothPhoneService( 2409): Could not get a handle on Connection object for the call
30 MDM ( 2388): [89] b.run: Couldn't connect to Google API client: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null}
26 MDM ( 2388): [67] b.run: Couldn't connect to Google API client: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null}
25 LocationReceiver( 6879): Received bad location: null
17 ENSWrapper( 1673): return OMX_ErrorNotImplemented - GetExtensionIndex OMX.ST.AFM.pcmprocessing.spl h=0x414b3f80 cParameterName=STE.ADM IndexType=unknown OMX_INDEXTYPE [ 0x4d2efb3e ]
16 SpannableStringBuilder(25691): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
15 YSNP_TAG( 5072): [NetworkHelper] : [thread:1]checkNetworkChange() - no active network!
14 bp ( 2374): onStartInput event aborted: com.touchtype.keyboard.c.ag: could not obtain extracted text (class com.touchtype.keyboard.c.ag)
13 ENSWrapper( 1673): return OMX_ErrorNotImplemented - GetExtensionIndex OMX.ST.AFM.pcmprocessing.spl h=0x411acd98 cParameterName=STE.ADM IndexType=unknown OMX_INDEXTYPE [ 0x4d2efb3e ]
11 ENSWrapper( 1673): return OMX_ErrorNotImplemented - GetExtensionIndex OMX.ST.AFM.pcmprocessing.spl h=0x4161b3a0 cParameterName=STE.ADM IndexType=unknown OMX_INDEXTYPE [ 0x4d2efb3e ]
9 ENSWrapper( 1673): return OMX_ErrorUnsupportedIndex - SetConfig OMX.ST.AFM.speech_proc h=0x419f8f40
9 ENSWrapper( 1673): return OMX_ErrorUnsupportedIndex - SetConfig OMX.ST.AFM.speech_proc h=0x416a0f08
9 ENSWrapper( 1673): return OMX_ErrorUnsupportedIndex - SetConfig OMX.ST.AFM.speech_proc h=0x41490f68
9 ENSWrapper( 1673): return OMX_ErrorUnsupportedIndex - SetConfig OMX.ST.AFM.speech_proc h=0x412c9f58
9 ENSWrapper( 1673): return OMX_ErrorUnsupportedIndex - SetConfig OMX.ST.AFM.speech_proc h=0x412c8f48
8 VFM ( 1669): ! getSupportedVideoSettings RETURN_XXX_IF_WRONG, condition=(index<mNbVideoSettingsSupported[nPortIndex]), error=-2147479538(0x8000100e)(OMX_ErrorNoMore) /home/se.infra/jenkins1/workspace/HUDSON_GA_JELLYBEAN_GOLDEN_EUROPEN-PROD-XX/android/vendor/st-ericsson/variant/multimedia/video/vfm/src/VFM_Component.cpp:407
8 VFM ( 1669): ! getSupportedProfileLevel RETURN_XXX_IF_WRONG, condition=(index<mNbProfileLevelSupported), error=-2147479538(0x8000100e)(OMX_ErrorNoMore) /home/se.infra/jenkins1/workspace/HUDSON_GA_JELLYBEAN_GOLDEN_EUROPEN-PROD-XX/android/vendor/st-ericsson/variant/multimedia/video/vfm/src/VFM_Component.cpp:379
8 VFM ( 1669): ! getParameter RETURN_OMX_ERROR_IF_ERROR, condition=pParam->getIndexParamVideoProfileLevelQuerySupported(pt), error=-2147479538(0x8000100e)(_error) /home/se.infra/jenkins1/workspace/HUDSON_GA_JELLYBEAN_GOLDEN_EUROPEN-PROD-XX/android/vendor/st-ericsson/variant/multimedia/video/vfm/src/VFM_Component.cpp:140
carlosalomar said:
I have a Samsung S3 mini, which I flashed with Kit Kat Cyanogenmod 11.0 from novafusion.pl
Everything in the installation was OK.
However my phone randomly falls "sleep" and cannot recieve msgs or calls. I have to turned Airplane mode on and off, to give it a "shake" and "wake" it up.
These is a report from Logcat, plus the log from yesterday,
I can't attach my full log because I'm new on the forum.
This is the top 30 unique lines processed by me in Bash
Click to expand...
Click to collapse
Hi, you might get better results asking in your specific device help forum.
http://forum.xda-developers.com/galaxy-s3-mini/help
Good luck!

[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.

[UNOFFICIAL][a3xelte][SM-A310F]Lineage OS 15.1 for A3 2016

{
"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"
}
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you. Hard & a lot.
*
*/
Introduction
Lineage OS 15.1 for the SM-A310F is based upon the hard work of both @Stricted and I in creating new clean device trees for Exynos7580 devices. This release is a stable release build on the new device trees.
What worksCalls, SMS, Mobile Data
Camera
NFC
WiFi
Bluetooth
Torch
SELinux Enforcing​What doesn't workVoLTE (will never work on LOS)
You tell me​Installation
Download the latest LOS build and transfer it to your phone
Install the latest TWRP (Available Here)
Make a full backup (just in case something goes wrong)
Do a full wipe (Cache, Dalvik Cache, Data, System)
Install LOS
If you are installing GApps do it at the same time (preferably in the same install queue)
And finally boot, the first boot can take several minutes as it optimises all the apps
DownloadsLatest releases are uploaded HERE
OpenGapps HERE
TWRP is availableHERE
Magisk is available HERE​SourceExynos7580 Device Trees here
LineageOS sources here​Thanks
@Stricted
@l-0-w
@sekil
@alexax66
@macs18max (BT call audio fix)
@Borduni
All the testers on the Discord group (https://discord.gg/bXe7dN)
And all others who have contributed to the Exynos projects​
A special thanks to my donors
Markus Anders
@D4ND310
@epicwilmo
@tyson
@thebinf
@Herti
@pixelou
@xavier66​XDA:DevDB Information
Lineage OS 15.1 for A3 2016, ROM for the Samsung Galaxy A Series
Contributors
danwood76, stricted, borduni
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.10.x
Based On: LineageOS
Version Information
Status: Stable
Created 2018-07-06
Last Updated 2019-05-16
Changelog
Code:
Changes in the 09/07/19 release:
[INDENT]July Android Security Patch
LOS updates[/INDENT]
Older changes listed below:
Code:
Changes in the 23/06/2019 release:
[INDENT]camera: added new workaround to fix remaining HAL crashes (Google Camera should work now)
June Android security patch
LOS updates
[/INDENT]
Code:
Changes in the 16/05/2019 release:
[LIST]
[*]kernel: fixed non charging issue if USB is not plugged in for 20+ hours
[*]WiFI: fixed MAC address loading
[*]NFC: default to slower but more reliable firmware loading mechanism
[*]system: optimised the vfs_cache_pressure which improves FS performance and fixes most MTP issues
[*]vendor: Added missing magnetomoter configuration file
[*]vendor: Updated blobs to February security patch
[*]Android May security update
[/LIST]
Code:
Changes in the 08/04/2019 release:
[LIST]
[*]kernel: CPU governor updates and fixes (improved battery life)
[*]kernel: fix issues with WiFi connections dropping randomly due to ipreachability monitor failing incorrectly
[*]APN: added correct "La Poste" entries
[*]Android April security update
[/LIST]
Code:
Changes in the 10/03/2019 release:
[LIST]
[*]Kernel: Updated Android ION driver (should fix some ION crashes I have seen)
[*]Kernel: Updated Android Binder to a much more recent version (should speed up binder transactions and fix bugs)
[*]MDNIE: Fix accessibility SEPolicy so it actually works now
[*]Moved the BT calling fix into our local device tree (now building with no repo picks)
[*]Android March security update
[/LIST]
Code:
Changes in the 12/02/2019 release:
[LIST]
[*]Kernel patched up to version 3.10.108 (many security and stability fixes)
[*]USB MTP stability improvements
[*]Updated vendor blobs from A310FXXU4CRH1
[*]Updated gps config to use closest NTP server (thanks [user=7377908]@Borduni[/user])
[*]Wired up MDNIE features
[*]LineageOS February security patches
[/LIST]
Code:
Changes in the 25/01/2019 release:
(Clean flash suggested as large update)
[LIST]
[*]New cleaner device tree and kernel (better performance/battery)
[*]New HWC/Gralloc (much better performance/battery and smoother UI)
[*]Finally fixed the Snapchat (and others) Audio distortion issue
[*]New camera wrapper (faster flashlight turn on and better bug fixes)
[*]LOS updates
[*]Probably some other fixes I have forgotten about
[/LIST]
Code:
Changes in the 12/01/2019 release:
[LIST]
[*]Faster NFC turn on
[*]Fixed camera wrapper (should not crash now)
[*]Updated WiFi driver (should improve battery usage)
[*]Fixed battery health save/restore (fixes battery level changing on reboot)
[*]January Andoird Security Patch
[/LIST]
Code:
Changes in the 27/11/2018 release:
[LIST]
[*]Added fix for BT headsets/devices that use the WBS profile
[*]Added call recorder fix
[*]November LOS security update
[/LIST]
Code:
Changes in the 09/11/2018 release:
[LIST]
[*]Bluetooth Call audio fixed (thanks @macs18max)
[*]Better 'cancelAutoFocus' camera fix
[*]LOS updates
[/LIST]
Code:
Changes in the 14/10/2018:
[LIST]
[*]Fix network data type selection (thanks @Borduni)
[*]Properly fix encryption
[*]Switch to using OSS mobicore drivers
[*]LOS October security patches
[/LIST]
Code:
Changes in the 28/09/2018 build:
[LIST]
[*]Switched back to open source power HAL
[*]Enabled more verbose camera debugging
[*]Latest LOS updates
[/LIST]
Code:
Changes in the 21/09/2018 build:
[LIST]
[*]Builds now signed with a private digital key
[*]Min CPU frequency increased back to 400MHz to stop music playback issues when screen is off
[*]Issue fixed with battery max_capacity being incorrectly set during boot
[*]AGPS now pulls data over SSL
[/LIST]
Code:
Changes in the 14/09/2018 build:
[LIST]
[*]Increased microphone volume of the camcorder and media recording profiles
[*]Fixed default power HAL profiles (restores performance and power saving in some modes)
[*]Fixed some default settings in the Power HAL
[*]Updated vendor blobs to A310FXXU4CRG2 (vendor security now 30/07/2018)
[*]September Android security patch
[*]LOS updates
[/LIST]
Code:
Changes in the 08/09/2018 build:
[LIST]
[*] Updated Mobicore (again) which improves battery and overall system stability
[*] Updated power profiles to latest
[*] Reapplied WiFi config update patches
[/LIST]
Code:
Changes in the 30/08/2018 build:
[LIST]
[*]Cleaned and upstreamed patches to Exynos7580 project (now clean builds from upstream repos)
[*]Video recording audio gains fixed
[*]Added patch required for encryption support (should allow encryption but not tested)
[*]Disabled DT2W for now as it seems to cause quite a few issues
[*]Added LOS updates
[/LIST]
Code:
Changes in the 26/08/2018 build:
[LIST]
[*]Added possible fix for low mic volumes in some apps
[*]Added fix for HAL1 camera recording in the august security update
[/LIST]
Code:
Changes in the 22/08/2018 build:
[LIST]
[*]Updated PowerHAL based on latest TeamNexus source
[*]Updated RIL blobs from A310FBTU3CQL2
[*]Updated power profiles so that the "ScreenOff" profile is almost the same as the "PowerSave" profile
[*]Android August security patch level
[/LIST]
Code:
Changes in the 03/08/2018 build:
[LIST]
[*]Disabled bioshock CPU governor as it really doesn't work well for common loads
[*]Fixed limiting of GPU speed in the Power HAL
[*]Created full set of power profiles (and fixed screen off profile)
[*]Fixed touch button LED state when waking up the device when they are disabled
[*]Added Double Tap to Wake setting in the display config menu (enabled by default)
[*]Updated the BCMDHD_1_77 WiFi driver from A3 2017 Oreo source (A320FLXXU2CRE3)
[*]Lots of kernel fixes (thanks again [user=5925090]@alexax66[/user])
[*]LOS Updates
[/LIST]
Code:
Changes in the 29/07/2018 build:
[LIST]
[*]Created new HIDL based power HAL (thanks [user=5925090]@alexax66[/user] for his input)
[*]Lots of Kernel bug fixes
[*]Partially reverted previous camera wrapper change
[*]Updated WiFi config
[*]Updated LOS
[/LIST]
Code:
Changes in the 13/07/2018 build:
[LIST]
[*]Kernel: Copy display colour correction tables from the A3 2017 to fix green tinge in low light mode
[*]Device: Updated cancel_auto_focus logic in camera wrapper to try and solve a battery drain issue
[/LIST]
Code:
Changes in the 11/07/2018 build:
[LIST]
[*]Kernel: ION allocator fixes
[*]Kernel: Sync binder with latest android-4.9-Oreo
[*]Kernel: Fix CPUFREQ memory leak
[*]Kernel: Underclock min frequency to 200MHz by default (more power saving)
[*]Device: Reverted brightness tables to that of 06/06/18
[*]Device: Suppressed camera logcat output
[*]Device: Updated to July security patch release
[/LIST]
Code:
Changes in the 05/07/2018 build:
[LIST]
[*]NFC wrapper added to aid in debugging issues
[*]NFC work around added for the startup issue
[*]Suppressed NFC logging output (it spews a lot of crap over logcat)
[*]Camera wrapper added to fix a couple of bugs in the HAL, some random lockups fixed, QR scanner now works (thanks [user=5368296]@sekil[/user] for the initial wrapper)
[*]Switched to the Bioshock CPU governor as this really saves battery (thanks [user=5918415]@nr23730[/user])
[*]Updated more mobicore blobs that seemd to have been missed from before
[*]Updated some GPS settings in the overlay
[*]Added updating of backlight brightness during doze to fix issues with dark notifications
[*]Added Sekils audio fix for libsec-ril.so blob
[*]Added lots of CVE patches to kernel
[*]Updated to latest LOS
[/LIST]
Code:
Changes in the 26/06/2018 build:
[LIST]
[*]Added latest audio fixes (thanks to stricted)
[*]Added exynos OMX blobs from stock to fix codec issue (thanks to stricted)
[*]Modified display colour temperature and LCD brightness logic
[*]Increased call volume on speaker phone
[*]Updated mobicore to latest A310F nougat versions
[*]Updated to latest LOS
[/LIST]
Code:
Changes in the 06/06/2018 build:
[LIST]
[*]Lots of kernel optimisations
[*]Interactive governor fixes (improves battery life and performance)
[*]Updated WiFi driver
[*]Fix headset microphone path
[*]Updated NFC blobs
[*]Tweaked screen auto brightness levels
[*]Lots of LineageOS fixes
[/LIST]
Build Instructions
1. Setup a LineageOS build environment based on one of the supported LineageOS 15.1 devices: https://wiki.lineageos.org/index.html
Note: All commands below are executed from the LineageOS root directory
2. Initialise the LineageOS repositories
repo init -u git://github.com/LineageOS/android.git -b lineage-15.1
3. Sync the repos (can take a log time, around 30GB of downloads)
repo sync
4. Create the .repo/local_manifests directory and add the a3xelte manifest (attached)
mkdir .repo/local_manifests/
cp ~/Downloads/a3xelte.xml .repo/local_manifests/
5. Sync our device trees in
repo sync
6. Setup the build environment
source build/envsetup.sh
7. Finally start the build:
brunch lineage_a3xelte-userdebug
To pull in new changes it is usually only necessary to repeat steps 5 - 7.
Great work, Danny, Cam issue was fixed, no problems with the cam now.
Apps starts a bit faster compare to l-o-w & sekils one and no glitches during work.
+ battery life a bit better
Didn't have any problems with NFC, but it still works fine
Thank u for your hard work. Seems that this Rom is the most stable AOSP project among A series now.
Thanks. Will RR Oreo be developed?
Awesome, Any possibilities to become official?
Can you provide a510 version?
Youtube seems a bit buggy when playing videos in this rom i don't know why, my connection is good.
charlander said:
Youtube seems a bit buggy when playing videos in this rom i don't know why, my connection is good.
Click to expand...
Click to collapse
I have tried to see the problem, indeed, every 15sec there is a video/sound glitch.
One minor bug: voice recorder a bit quiet. Found it in default recorder app and telegram (didn't check anywhere else)
Hi @danwood76, good job, many thanks for continuing that SM-A310F Lineage OS 15.1 job. After the first incursion in Oreo with l-0-w's project, I liked the feel of it but the many bugs kept me from adopting it as daily driver. Now it seems that you're bringing in lots of improvements so maybe time has come for us A3-2016 owners to definitely turn the N page.
Hi, the ROM is close to perfect for me and I've got the feeling that battery life is even better than when I was last on stock. The only issue for me is LTE not working (I'm on German O2/Telefonica network). Also adaptive brightness is too bright even on lowest setting in medium light conditions. Is there any way to get back the adaptive brightness settings from the 6/6/2018 build? These settings were the best.
Could you give a screenshot of how the processor works? Do 4 cores work while idle?
It it possible to activate the functionality for flip cover or is it not supported yet?
@charlander and @lawliet80
I can confirm this, it may be to do with the recent change of the codec blobs or it may be to do with the CPU governor. I will try and find a solution for the next release.
@thebinf
I have noticed the brightness issue as well (I have to have it set very low) but it was working fine for me. I will tweak the settings again and find the best combination.
The LTE issue is interesting, it works fine for me (UK on EE) but I have not done a clean install in a while.
I will install a fresh start tomorrow and see if I can work out what is wrong, hopefully it is something simple like a setting not being initialised properly.
Regards,
Danny
Vittario Vicci said:
One minor bug: voice recorder a bit quiet. Found it in default recorder app and telegram (didn't check anywhere else)
Click to expand...
Click to collapse
I will take a look at bumping that up, I did it for the speakerphone already.
@binichnich, the flipflap app should be installed, if the flip cover isn't working then maybe the sensor isn't enabled. I will have to check that.
thebinf said:
Hi, the ROM is close to perfect for me and I've got the feeling that battery life is even better than when I was last on stock. The only issue for me is LTE not working (I'm on German O2/Telefonica network).......
Click to expand...
Click to collapse
After a bit of playing on a clean flash I can confirm the issue.
I have found a workaround though. What seems to work is disabling the "Automatic Network Selection" (Settings->Network and Internet->Mobile Network->Advanced) and once it's finished searching manually select your home network, most of the time this seems to drop back out and re-enables "Automatic Network Selection" but you then have LTE. If it simply selects your network (and no LTE) re-enable the auto selection and reboot. I was able to get LTE working each time using this method. I will have a search for a fix now that I can recreate and work around it.
Regards,
Danny
Unstable
Hi,
I finally started converting my private phone to an A310F (used device, rooted, TWRPed, full wipe). I first installed your ROM from the last month a week ago and yesterday the last build from this thread.
The June version worked well, at least for the bits I was testing. The version from yesterday has glitches:
a) automatic display brightness is crazy - it's ok in darkness and in sunlight but in env with average ambient light it tends to be way too bright. Not the full brightness but not battery saving for sure, even if the control bar is set to 20% or so
b) after about 20 hours the phone got hot in my pocket. PIN entry worked but was getting stuck again and again - some functions did work (like adb), most were laggy (notification area, ...), launcher did not respond at all. ADBed into it and saw some kernel thread going nuts (cannot remember the name), tried to dump dmesg output and had to abort it after if dumped over 30mb and was not going to stop.
A little sample below.
c) For some reason .ogg files cannot be played with native player. However, if I import my ringtone (an ogg file) it gets renamed to .ogx in Ringtones folder and then it can be played. WTF? Some typical Oreo problem?
d) maybe unrelated... I am missing the fast unlock setting (with LOS12 there was an option to skip pressing OK button in the lockscreen PIN entry dialog). Anyone knowing where to find it?
Code:
[11828.052637] WARNING: at ../../../../../../kernel/samsung/exynos7580-common/drivers/staging/android/ion/ion.c:696 ion_handle_add+0xe8/0xf0()
[11828.052675] CPU: 2 PID: 3197 Comm: Recents-TaskRes Tainted: G W 3.10.108-g3e4120ad034 #15
[11828.052706] [<ffffffc00020db84>] show_stack+0x14/0x1c
[11828.052742] [<ffffffc000873fd4>] ion_handle_add+0xe8/0xf0
[11828.052777] [<ffffffc00087b8b8>] compat_ion_ioctl+0x32c/0x6b8
[11828.052817] WARNING: at ../../../../../../kernel/samsung/exynos7580-common/drivers/staging/android/ion/ion.c:696 ion_handle_add+0xe8/0xf0()
[11828.052837] CPU: 2 PID: 3197 Comm: Recents-TaskRes Tainted: G W 3.10.108-g3e4120ad034 #15
[11828.052868] [<ffffffc00020db84>] show_stack+0x14/0x1c
[11828.052889] [<ffffffc000227c34>] warn_slowpath_fmt+0xa4/0x114
[11828.053042] [<ffffffc000873fd4>] ion_handle_add+0xe8/0xf0
[11828.053069] [<ffffffc0008777b8>] ion_ioctl+0x514/0x918
[11828.053101] ---[ end trace 8d09ec93132f4b47 ]---
[11828.053120] WARNING: at ../../../../../../kernel/samsung/exynos7580-common/drivers/staging/android/ion/ion.c:696 ion_handle_add+0xe8/0xf0()
[11828.053151] Call trace:
[11828.053162] [<ffffffc00020da40>] dump_backtrace+0x0/0x130
[11828.053245] [<ffffffc000227c34>] warn_slowpath_fmt+0xa4/0x114
[11828.053278] [<ffffffc0008777b8>] ion_ioctl+0x514/0x918
[11828.053311] ---[ end trace 8d09ec93132f4b48 ]---
[11828.053361] WARNING: at ../../../../../../kernel/samsung/exynos7580-common/drivers/staging/android/ion/ion.c:696 ion_handle_add+0xe8/0xf0()
[11828.053383] CPU: 2 PID: 3197 Comm: Recents-TaskRes Tainted: G W 3.10.108-g3e4120ad034 #15
[11828.053391] Call trace:
[11828.053415] [<ffffffc00020db84>] show_stack+0x14/0x1c
[11828.053452] [<ffffffc000873fd4>] ion_handle_add+0xe8/0xf0
[11828.053505] [<ffffffc0008777b8>] ion_ioctl+0x514/0x918
[11828.053538] ---[ end trace 8d09ec93132f4b49 ]---
[11828.053559] WARNING: at ../../../../../../kernel/samsung/exynos7580-common/drivers/staging/android/ion/ion.c:696 ion_handle_add+0xe8/0xf0()
[11828.053643] [<ffffffc00020da40>] dump_backtrace+0x0/0x130
[11828.053668] [<ffffffc000aee9cc>] dump_stack+0x20/0x28
[11828.053692] [<ffffffc000873fd4>] ion_handle_add+0xe8/0xf0
[11828.053714] [<ffffffc0008777b8>] ion_ioctl+0x514/0x918
[11828.053811] [<ffffffc000369bd8>] compat_sys_ioctl+0xb4/0x1394
[11828.053842] WARNING: at ../../../../../../kernel/samsung/exynos7580-common/drivers/staging/android/ion/ion.c:696 ion_handle_add+0xe8/0xf0()
[11828.053864] CPU: 2 PID: 3197 Comm: Recents-TaskRes Tainted: G W 3.10.108-g3e4120ad034 #15
[11828.053886] [<ffffffc00020da40>] dump_backtrace+0x0/0x130
[11828.053896] [<ffffffc00020db84>] show_stack+0x14/0x1c
[11828.053957] [<ffffffc000227c34>] warn_slowpath_fmt+0xa4/0x114
[11828.053968] [<ffffffc000873fd4>] ion_handle_add+0xe8/0xf0
[11828.053991] [<ffffffc0008777b8>] ion_ioctl+0x514/0x918
[11828.054003] [<ffffffc00087b8b8>] compat_ion_ioctl+0x32c/0x6b8
[11828.054024] ---[ end trace 8d09ec93132f4b4b ]---
[11828.054045] WARNING: at ../../../../../../kernel/samsung/exynos7580-common/drivers/staging/android/ion/ion.c:696 ion_handle_add+0xe8/0xf0()
[11828.054063] CPU: 2 PID: 3197 Comm: Recents-TaskRes Tainted: G W 3.10.108-g3e4120ad034 #15
[11828.054104] Call trace:
[11828.054140] [<ffffffc00020db84>] show_stack+0x14/0x1c
[11828.054222] [<ffffffc000873fd4>] ion_handle_add+0xe8/0xf0
[11828.054303] [<ffffffc00087b8b8>] compat_ion_ioctl+0x32c/0x6b8
[11828.054506] WARNING: at ../../../../../../kernel/samsung/exynos7580-common/drivers/staging/android/ion/ion.c:696 ion_handle_add+0xe8/0xf0()
[11828.054527] CPU: 2 PID: 3197 Comm: Recents-TaskRes Tainted: G W 3.10.108-g3e4120ad034 #15
[11828.054559] [<ffffffc00020db84>] show_stack+0x14/0x1c
[11828.054596] [<ffffffc000873fd4>] ion_handle_add+0xe8/0xf0
[11828.054630] [<ffffffc00087b8b8>] compat_ion_ioctl+0x32c/0x6b8
[11828.054651] ---[ end trace 8d09ec93132f4b4d ]---
[11828.054672] WARNING: at ../../../../../../kernel/samsung/exynos7580-common/drivers/staging/android/ion/ion.c:696 ion_handle_add+0xe8/0xf0()
[11828.054681] ion_handle_add: buffer already found.
[11828.054690] CPU: 2 PID: 3197 Comm: Recents-TaskRes Tainted: G W 3.10.108-g3e4120ad034 #15
[11828.054700] Call trace:
[11828.054711] [<ffffffc00020da40>] dump_backtrace+0x0/0x130
[11828.054721] [<ffffffc00020db84>] show_stack+0x14/0x1c
[11828.054733] [<ffffffc000aee9cc>] dump_stack+0x20/0x28
[11828.054744] [<ffffffc000227c34>] warn_slowpath_fmt+0xa4/0x114
[11828.054755] [<ffffffc000873fd4>] ion_handle_add+0xe8/0xf0
[11828.054778] [<ffffffc0008777b8>] ion_ioctl+0x514/0x918
[11828.054810] ---[ end trace 8d09ec93132f4b4e ]---
[11828.054880] ion_handle_add: buffer already found.
[11828.054908] [<ffffffc00020da40>] dump_backtrace+0x0/0x130
[11828.055547] [<ffffffc000227c34>] warn_slowpath_fmt+0xa4/0x114
[11828.055587] [<ffffffc0008777b8>] ion_ioctl+0x514/0x918
[11828.055622] ---[ end trace 8d09ec93132f4b4f ]---
[11828.055656] ion_handle_add: buffer already found.
[11828.055688] [<ffffffc00020da40>] dump_backtrace+0x0/0x130
[11828.055725] [<ffffffc000227c34>] warn_slowpath_fmt+0xa4/0x114
[11828.055758] [<ffffffc0008777b8>] ion_ioctl+0x514/0x918
[11828.055792] ---[ end trace 8d09ec93132f4b50 ]---
[11828.055822] ion_handle_add: buffer already found.
[11828.055852] [<ffffffc00020da40>] dump_backtrace+0x0/0x130
[11828.055889] [<ffffffc000227c34>] warn_slowpath_fmt+0xa4/0x114
[11828.055924] [<ffffffc0008777b8>] ion_ioctl+0x514/0x918
[11828.055956] ---[ end trace 8d09ec93132f4b51 ]---
[11828.055986] ion_handle_add: buffer already found.
[11828.056017] [<ffffffc00020da40>] dump_backtrace+0x0/0x130
[11828.056051] [<ffffffc000227c34>] warn_slowpath_fmt+0xa4/0x114
[11828.056085] [<ffffffc0008777b8>] ion_ioctl+0x514/0x918
[11828.056119] ---[ end trace 8d09ec93132f4b52 ]---
[11828.056149] ion_handle_add: buffer already found.
[11828.056180] [<ffffffc00020da40>] dump_backtrace+0x0/0x130
[11828.056214] [<ffffffc000227c34>] warn_slowpath_fmt+0xa4/0x114
[11828.056248] [<ffffffc0008777b8>] ion_ioctl+0x514/0x918
[11828.056311] ion_handle_add: buffer already found.
[11828.056341] [<ffffffc00020da40>] dump_backtrace+0x0/0x130
[11828.056375] [<ffffffc000227c34>] warn_slowpath_fmt+0xa4/0x114
[11828.056409] [<ffffffc0008777b8>] ion_ioctl+0x514/0x918
[11828.056442] ---[ end trace 8d09ec93132f4b54 ]---
[11828.056498] ion_handle_add: buffer already found.
[11828.056565] [<ffffffc00020da40>] dump_backtrace+0x0/0x130
[11828.056613] [<ffffffc000227c34>] warn_slowpath_fmt+0xa4/0x114
[11828.056677] [<ffffffc0008777b8>] ion_ioctl+0x514/0x918
[11828.056735] [<ffffffc000369bd8>] compat_sys_ioctl+0xb4/0x1394
[11828.056784] WARNING: at ../../../../../../kernel/samsung/exynos7580-common/drivers/staging/android/ion/ion.c:696 ion_handle_add+0xe8/0xf0()
[11828.056804] CPU: 3 PID: 3197 Comm: Recents-TaskRes Tainted: G W 3.10.108-g3e4120ad034 #15
[11828.056843] [<ffffffc00020db84>] show_stack+0x14/0x1c
[11828.056876] [<ffffffc000873fd4>] ion_handle_add+0xe8/0xf0
[11828.056911] [<ffffffc00087b8b8>] compat_ion_ioctl+0x32c/0x6b8
[11828.056952] WARNING: at ../../../../../../kernel/samsung/exynos7580-common/drivers/staging/android/ion/ion.c:696 ion_handle_add+0xe8/0xf0()
danwood76 said:
After a bit of playing on a clean flash I can confirm the issue.
I have found a workaround though. What seems to work is disabling the "Automatic Network Selection" (Settings->Network and Internet->Mobile Network->Advanced) and once it's finished searching manually select your home network, most of the time this seems to drop back out and re-enables "Automatic Network Selection" but you then have LTE. If it simply selects your network (and no LTE) re-enable the auto selection and reboot. I was able to get LTE working each time using this method. I will have a search for a fix now that I can recreate and work around it.
Regards,
Danny
Click to expand...
Click to collapse
Thanks for the workaround. Currently I'm in an area where I don't know whether LTE is available. I'll check when I'm back home.

Categories

Resources