[MOD] [XPOSED] App Settings 1.11 fixed for working on Lollipop 5.1.1 + tweaks - Xposed Framework Modules

Here is the famous @rovo89 and @Tungstwenty's App Settings Xposed module, fixed for perfectly working on Android Lollipop 5.1.1.
[UPDATE 18-08-2015]
Additionally add more resolution modes to fake screen resolution (Screen Dimension) to load hi-res resources destined to tablets, sending real tablet metrics, so it works, in example, with Spotify
Details in original thread: http://forum.xda-developers.com/xposed/modules/mod-app-settings-v1-9-2014-05-14-t2437377
Works on Android 2.3+.
WARNING: on Lollipop 5.1.1 use with Xposed framework v71-sdk22 by @romracer from this thread: http://forum.xda-developers.com/xposed/super-alpha-posted-permission-xposed-t3072979 and Xposed Installer 3.0 alpha 4 from the original thread: http://forum.xda-developers.com/showthread.php?t=3034811

I fixed it long time ago and uploaded to original thread.
Do you use my fixes?
If not, please upload your fixes and/or the whole app source code. Anybody can do harmful xposed module and do it as "a fix for, mod of" some famous xposed module like this one (AppSettings). Then it becomes really dangerous.

pyler said:
I fixed it long time ago and uploaded to original thread.
Do you use my fixes?
If not, please upload your fixes and/or the whole app source code. Anybody can do harmful xposed module and do it as "a fix for, mod of" some famous xposed module like this one (AppSettings). Then it becomes really dangerous.
Click to expand...
Click to collapse
Thread udated with the source code and more tweaks.

I installed it and it work for my camera and my phone apps. I would like it work with autodesk sketchbook pro, is it possible?

paldave said:
Here is the famous @rovo89 and @Tungstwenty's App Settings Xposed module, fixed for perfectly working on Android Lollipop 5.1.1.
[UPDATE 18-08-2015]
Additionally add more resolution modes to fake screen resolution (Screen Dimension) to load hi-res resources destined to tablets, sending real tablet metrics, so it works, in example, with Spotify
Details in original thread: http://forum.xda-developers.com/xposed/modules/mod-app-settings-v1-9-2014-05-14-t2437377
Works on Android 2.3+.
WARNING: on Lollipop 5.1.1 use with Xposed framework v71-sdk22 by @romracer from this thread: http://forum.xda-developers.com/xposed/super-alpha-posted-permission-xposed-t3072979 and Xposed Installer 3.0 alpha 4 from the original thread: http://forum.xda-developers.com/showthread.php?t=3034811
Click to expand...
Click to collapse
Make it compatible with marshmallow.
Thanks in advance!

It's available on official thread (with an unofficial build).
Inviato dal mio GT-I9505 utilizzando Tapatalk

Can work with hTC One M9 sprjnt stock rom

Related

Xposed framework

Hey y'all as we all know xposed has hit lollipop after a long wait... Plus it WaS my (and probably many others reason ) for rooting the device ....
BT it seems not working on the moto G 2014 and other moto devices after flashing the zip and installing the apk it shows low storage space even tho there's much storage left...
But when I wiped dalvik cache that storage problem seems to b gone but the xposed app stillshows only 61 in the apk jar line and others are empty l....
It still shows installation can b done through recovery only etc.....
.
.
.
So if anyone has working xposed on there moto G 2014 can they plz post the steps or guide for installing it...
Plus some modules that'd be working with it (it'll be like a gold bonus)
..
Plz do reply
Sent from my XT1068/69 on titan rom using XDA Free mobile app
I'm pretty sure you've installed Xposed correctly now, the errors you're seeing are just simple UI problems, don't mind them. Here is a thread about the current compatible modules with Lollipop.
Try installing and using a module, it should work fine. I am currently using:
- Amplify
- APM+
- App Settings
- GEL Settings
- PlayStore Changelog
- Yourtube
- YouTube Adaway
- Youtube Background Playback
All of them are working as they should.
mpeL said:
I'm pretty sure you've installed Xposed correctly now, the errors you're seeing are just simple UI problems, don't mind them. Here is a thread about the current compatible modules with Lollipop.
Try installing and using a module, it should work fine. I am currently using:
- Amplify
- APM+
- App Settings
- GEL Settings
- PlayStore Changelog
- Yourtube
- YouTube Adaway
- Youtube Background Playback
All of them are working as they should.
Click to expand...
Click to collapse
how about marshmallow?
Works pretty good at Marshmallow (OS: Dirty Unicorns / DU_titan_6.0.1_20160725-2240.v10.4-DIRTY-DEEDS.zip).
I flashed "xposed-v85-sdk23-arm.zip" and installed "XposedInstaller_3.0_alpha4.apk"
Every module I installed works propper (coolify / Android n-ify / Greenify / usw USB for Marshmallow)

[SOLVED][Q] Update WebView on AOSP-ROMs

Hi,
I've heard that the WebView updates through Play Store wouldn't take any effects on AOSP ROMs because they can not guarantee that it works: https://plus.google.com/100348830529087975954/posts/1Mot5nodrkj (first comment by Richard Cole). I've tested it and I can say that the "Browser" in PA Alpha (5.0.2) still shows up Chrome 37 on http://www.whatbrowser.org/ instead of 42 (opted in to beta chanel) and disabling the build in WebView also has no effect as mentioned in the comments.
Is there a way to update it nevertheless? Would it work to copy the base.apk from /data/app/com.google.android.webview-2 to /system/app/webview? Or is there a way to make the Play Store believe that it is on an official Android and let it update WebView (or however it would work), maybe through a build.prop-"hack"?
Just found the XPosed Module WebViewGoogle (working on XPosed for 5.1.1) which makes exactly that and because betas are coming over the same channel when you are beta tester, it also works with them.
If for some reason the Xposed module doesn't work, e.g. not tested on Android 5.1.1, the alternative is to decompile framework-res.apk and edit strings.xml to point the ROM to the Google version of Webview. See here for more.
Finally found android web view fix here
yeah it works man aosp and cm is better than now
web view on play store
https://play.google.com/store/apps/details?id=com.google.android.webview&hl=en_IN
mirror
https://www.apkmirror.com/apk/googl.../android-system-webview-68-0-3440-33-release/
and here is xposed module
on repo thanks to module developer
http://repo.xposed.info/module/net.typeblog.webview
attach
and at last thanks to this thread too

List of Working Mods and Xposed Modules for the Xperia M4 Aqua

Hello everyone. Since I haven't seen any discussion about mods, I decided to make this thread to list working and non-working mods and promote good mods.
Post in the format with your variant and firmware number of this post so that I can add them easily. Be sure to link to the mod in the title of the mod.
Feel free to discuss mods and stuff for our device and please contribute
I am (nor is anyone) not responsible for any damages caused by these mods whether they work or not
[MOD] [5.1.1] [Z1/Z2/Z3/T2U/M2A] [X1] Cyberian Camera
Description: Camera app for Xperia devices
Status: Not Working on E2306 with Stock .167
Effects: Camera apps will not work
Tested by me
[SOUNDMOD][Xperia][All ROMs][THDR] Project Desire 30.1.0, XTREMEHarmonics
Description: Audio enhancement with ported libraries and equalizers
Status: Not Working on E2306 with Stock .167
Effects: Will not complete boot or will stay on updating screen; must restore rom
Tested by me
[SOUNDMOD][5.x][REF TO ROM MAKERS TOO][Z-Z4] Ported Z5 Sound Files and libs!
Description: Audio enhancement with ported libraries from the Z5
Status: Working on E2306 with Stock .167
Effects: Works as intended but the equalizer will not open
Tested by me
[SoundMod][Xperia Z-Z5][Lp][CM\AOKP] S Music™ [premium lossless sound]
Description: Audio enhancement
Status: Working on E2306 with Stock .167
Effects: Works as intended but when changing equalizer effects there is a loud pop
Tested by me
[Z~Z3 Series][EXRxTHS]SONY DRM FUNCTION RESTORATION FOR UB DEVICE | The New Version
Description: Restores DRM functions for devices without them
Status: Not Working on E2306 with Stock .167
Effects: Does not work but no harm done to device
Tested by me
[MOD]Updated fonts for stock roms v5
Description: Updated fonts including Unicode 8 emojis
Status: Working on E2306 with Stock .167
Effects: Works perfectly but you need keyboards that support the new emojis to use them. I recommend this
Tested by me
[TWEAK][MOD]L SPEED v4.2.1 VECTOR[ARM/Intel - all variants](21.Dec.2015)
Description: init.d scripts to increase performance and battery
Status: Working on E2306 with Stock .167
Effects: Works as intended
Tested by me
[OFFICIAL] Xposed for Lollipop/Marshmallow [Android 5.0/5.1/6.0, v79, 2015/12/17]
Description: Modify system functions without modifying an apk
Status: Working on E2306 with Stock .167
Effects: Works fine with GravityBox and Greenify but I was unable to install new xposed modules. Needs more testing
Tested by me & @husam666
[APP] Official ViPER4Android Audio Effects (FX v2.3.4.0) - Lollipop support and more!
Description: Audio effects
Status: Working on E2306 with Stock .167
Effects: Need to use SELinux changer. Needs more testing. Can be uninstalled
Tested by me and @dimusa
[sound mod] stereo speakers!
Description: Allows phone speaker to be used for music
Status: Working on E2303 with Stock .167 (not sure about 3.111)
Effects: "no bugs, very good sound especially on headphone"
Tested by @BOLEK_PL and me
[FIX][LOLLIPOP] X-reality, Super Vivid | 23.1.A.0.690
Description: Port of X-reality for the Z2
Status: Somewhat Working on E2306 with Stock .167
Effects: Stock camera will not work but photos look better (not 100% sure)
Tested by me
[PORTED]Stock Vibe ui camera for lollipop rom
Description: Ported Lenovo Camera
Status: Working on ?
Effects: "Working good... it can be installed without root, beacause i installed it as normal apk.
Only three problems are here:
1) Software keys are overlapping
2) Maximum resolution is 8MPx
3) It have not autoshutdown as stock camera - good close app via recent apps (phone heat) "
Tested by @FirstMn
[Update V3][10.11]Xperia Z5 Sound-Image Enhancement,Apps,Themes,Home,Widgets and More (Sound and Image enhancement)
Description: Various ported libs from the Z5
Status: Working on E2333 with Stock and E2306 with Stock .167
Effects: Works on locked BL"
flash the home launcher first, then flash the phonebook and media apps, followed by the image enhancement and lastly the z5 sound libs listed on the working mods page"
Tested by @Th3B1ff and me​
List of xposed modules (wip will finish)
This post will be formatted differently than the OP so follow this format.
​ The xposed module with link
Description
Whether it works and your variant and rom/firmware version
Feature specific bugs
How it affects your device​
GravityBox [LP]
Description: various tweaks for AOSP devices
Status: Somewhat Working on E2306 with Stock .167
Bugs: Lockscreen settings do not work and some icons look funny
Effects: Mostly works but causes slowdown
Tested by me
Greenify
Description: Hibernates apps without losing battery
Status: Working perfectly on E2306 with Stock .167
Bugs: None known
Effects: Works perfectly
Tested by me and @lowis101_2014
Other modules
Tested by
@lowis101_2014
cybershot
lockscreen mods
xperia/aosp navbar buttons
xphoneplus
and greenify ofcourse
Tested by @dani020110 with 3.111 UBL
Amplify
Flat style colored bars
Gravity box
Restore shutdown dialog confirm
Greenify
Materialize xposed installer
Xperia xposed
YouTube adaway
YouTube background playback
=============================================
Guys, I dont use xposed so I need your input. Feel free to talk about xposed modules​
Thanks, very helpful thread. Another working mod http://forum.xda-developers.com/m4-aqua/themes-apps/sound-mod-stereo-speakers-t3276029
anyone tried xreality or bravia engine 2 mod?
It worked on kitkat roms of E3,E1,M2.
newsony said:
anyone tried xreality or bravia engine 2 mod?
It worked on kitkat roms of E3,E1,M2.
Click to expand...
Click to collapse
Just tried an xreality port from here http://forum.xda-developers.com/xperia-z2/themes-apps/fix-x-reality-super-vivid-23-1-0-690-t3057267
And it appears to work for photos but stock camera will not work. I'll add this when I get to my computer
xposed working perfectly here.. E2306
http://forum.xda-developers.com/and...ed-stock-vibe-ui-camera-lollipop-rom-t3245162
Working good, i have root, but i mean it can be installed without root, beacause i installed it as normal apk.
Only three problems are here:
1) Software keys are overlapping
2) Maximum resolution is 8MPx
3) It have not autoshutdown as stock camera - good close app via recent apps (phone heat)
@ardentis I have Viper4android working... You only need change Selinux with selinux mode changer app
dimusa said:
@ardentis I have Viper4android working... You only need change Selinux with selinux mode changer app
Click to expand...
Click to collapse
Yes i had it working on e2303 with selinux mode changer .... i decided to play around and tested some stuff and now driver won´t install anymore even with selinux mode permissive.
i don´t know what is going wrong... maybe the selinux mode changes to late on bootup ?
anyone with some idea how to fix that ?
Thanks!
I have already installed on my 2306 version. My working mods are: custom stock lollipop lockscreen
cybershot
lockscreen mods
xperia/aosp navbar buttons
xphoneplus
and greenify ofcourse
a los my sony camera, it opens, but in one second close force
hmm tried to install some sound mods, but they get stuck at 99% during boot.
It's a blue circular bar that fills up, doesn't go past 99%.
Any ideas?
jms_209 said:
hmm tried to install some sound mods, but they get stuck at 99% during boot.
It's a blue circular bar that fills up, doesn't go past 99%.
Any ideas?
Click to expand...
Click to collapse
Which sound mods? I know I get that effect with Project Desire
ardentis said:
Which sound mods? I know I get that effect with Project Desire
Click to expand...
Click to collapse
Yeah it was Desire that caused that.
Some others stopped at 99%, but booted up after waiting 10-25 minutes.
Also no Sony sound mods have worked for me.
They might boot fine and add extra options, but EQ never work.
I'm guessing my FW version is the issue.
MIUI Launcher
Hello, back
Lenovo Camera as i written up is working on my E2303, rooted unlocked, but i mean it will work on all models.
MIUI Launcher:
Lite:
http://forum.xda-developers.com/showthread.php?t=2706384
From here and all others MIUI Express 2.6.0 or MIUI Lite Launchers are not working on M4 Aqua (E2303,root,ubl). It wont open, and when install system warning you it isnt safe application.
Full:
http://m.apkhere.com/app/com.miui.mihome2
Working on my E2303, rooted! I not found any bugs. Install as normal apk.
I mean when you type in google MiHome 3.8.0, all will work.
MIUI camera (Redmi 1S):
http://forum.xda-developers.com/redmi-1s/themes-apps/miui-camera-cynogen-mod-t2907737
Working on my E2303,rooted. Need root. Must copy to /system/app and set correct permissions.
Problems:
1) Front only 8MPx max resolution
2) Rear only 1920x1080.
Change Window-Transistion animations:
https://youtu.be/GXxIyB6VuyQ
Working well on M4 Aqua,5.0. You will get back stock android 4.x animations, plus some more. You must back up your system partition and restore, or reflash firmware to get back stock 5.0.
FirstMn said:
Hello, back
Lenovo Camera as i written up is working on my E2303, rooted unlocked, but i mean it will work on all models.
MIUI Launcher:
Lite:
http://forum.xda-developers.com/showthread.php?t=2706384
From here and all others MIUI Express 2.6.0 or MIUI Lite Launchers are not working on M4 Aqua (E2303,root,ubl). It wont open, and when install system warning you it isnt safe application.
Full:
http://m.apkhere.com/app/com.miui.mihome2
Working on my E2303, rooted! I not found any bugs. Install as normal apk.
I mean when you type in google MiHome 3.8.0, all will work.
MIUI camera (Redmi 1S):
http://forum.xda-developers.com/redmi-1s/themes-apps/miui-camera-cynogen-mod-t2907737
Working on my E2303,rooted. Need root. Must copy to /system/app and set correct permissions.
Problems:
1) Front only 8MPx max resolution
2) Rear only 1920x1080.
Change Window-Transistion animations:
https://youtu.be/GXxIyB6VuyQ
Working well on M4 Aqua,5.0. You will get back stock android 4.x animations, plus some more. You must back up your system partition and restore, or reflash firmware to get back stock 5.0.
Click to expand...
Click to collapse
OF-TOPIC: Are u from the Czech Republic? I see czech text with icons.
depressed_ said:
OF-TOPIC: Are u from the Czech Republic? I see czech text with icons.
Click to expand...
Click to collapse
I don't even see any accents. Unfortunately that is really off topic. Anyways, sorry everyone for not being there. I just started the new semester and I am settling in. I'm not sure when I will update the OP. In the meantime, continue to talk about mods and xposed modules.
Hey mate, can u explain how did u install Viper audio? Especially the SELinuxChanger thing, i got the other one.
CoreyHUN said:
Hey mate, can u explain how did u install Viper audio? Especially the SELinuxChanger thing, i got the other one.
Click to expand...
Click to collapse
@dimusa I am curious as well because I never got it to work
ardentis said:
@dimusa I am curious as well because I never got it to work
Click to expand...
Click to collapse
I already wrote in an other thread how to setup it properly
http://forum.xda-developers.com/showpost.php?p=64532835&postcount=3
Before doing anything read everything and do it exactly like i explained.

Xposed for P9000

Hello, has someone install the xposed Framework and get work? I install the xposed v81 sdk23 arm64 on twrp, everything works fine. On xposed Installer, is green and active. But when I start gravitybox it doesn't work.
I successfully flashed the framework, installed the Xposed app, and downloaded some modules on the latest ROM (20160419). None of the modules I've tried activate on reboot or work. I didn't expect modules like GravityBox to work since although the P9000 ROM is close to AOSP it actually has quite a few modifications. However, I was surprised that modules modifying apps such as Greenify or Amplify don't work, nor do relatively simple modules such as double tap to sleep. Hopefully we'll be able to use Xposed soon because the latest ROM update is another step closer to this phone realising its potential.
I think Elephone need to release source in order for full xposed compatibility to be realized ?
I am happy the rom with the phone has a bootmanager ability and together with Adaway + network speed app.. not missing xposed too badly at all!
Already tried to get the kernel source but they don't want to share it. See elephonemobile . eu/t/kernel-mt6755-kernel-source-files/27
new7 said:
Already tried to get the kernel source but they don't want to share it. See elephonemobile . eu/t/kernel-mt6755-kernel-source-files/27
Click to expand...
Click to collapse
Please join the joint action to pressure Elephone to release sources: elephonemobile . eu/t/joint-action-to-get-elephone-to-release-sources/96
Quoted here for convenience:
-----
Hi, I'm proposing a template e-mail to write to Elephone to request the release of sources necessary to further develop the phone and fix issues without having to wait for their internal developers to do so.
Please send an e-mail to [email protected] and [email protected], hopefully with enough pressure, they will eventually release some sources.
E-mail template:
Subject: Please release Elephone P9000 sources
Hello, I own a Elephone P9000 phone and I am having issues with the phone, but I would also like to customize it to my needs. There is people willing to work on improving this phone, which will also boost this device reviews and general acceptance. I strongly believe this phone's hardware is amazing, but there is a lot to improve on the software side.
To be able to do this, developers need the kernel source code (and any other source code that is part of the official ROM that you can provide). The release of these sources could determine the level of success of this phone, so I hope you consider releasing the sources soon.
Thank you.
I just sent my e-mail. Please send yours soon.
Click to expand...
Click to collapse
-----
greenphone6743 said:
I think Elephone need to release source in order for full xposed compatibility to be realized ?
I am happy the rom with the phone has a bootmanager ability and together with Adaway + network speed app.. not missing xposed too badly at all!
Click to expand...
Click to collapse
Xposed is needed for Xprivacy, with Xprivacy , you have full control over what apps may know and may not know.
for instance... Facebook thinks I'm living in Austria, and my phone number is 111111111111
many apps want to know you'r messages, mails, contacts etc.... with Xprivacy you can prevent that :good:
but... only works with Xposed
---------- Post added at 03:08 PM ---------- Previous post was at 03:04 PM ----------
I have installed framework : http://forum.xda-developers.com/showthread.php?t=3034811
also flashed with TWRP the framework to ARM64 version 86 http://dl-xda.xposed.info/framework/sdk23/arm64/
In Exposed framework it is green and says Xposed framework version 86 is active
Greenify and Xprivacy are recognized and selected, but when i want to use Xprivacy, it keeps complaining that it is not selected in XPosed...
Greenify, if i use features that only work with Xposed, it also says that it is not activated in Xposed. but it is...
Xposed is allowed by my SuperSU version 2.77
I don't want to use this phone before i get Xprivacy up and running ( i'm keen on PRIVACY )
but as i am reading here.. it has to do with Elephone ?
dinny said:
Xposed is needed for Xprivacy, with Xprivacy , you have full control over what apps may know and may not know.
for instance... Facebook thinks I'm living in Austria, and my phone number is 111111111111
many apps want to know you'r messages, mails, contacts etc.... with Xprivacy you can prevent that :good:
but... only works with Xposed
---------- Post added at 03:08 PM ---------- Previous post was at 03:04 PM ----------
I have installed framework : http://forum.xda-developers.com/showthread.php?t=3034811
also flashed with TWRP the framework to ARM64 version 86 http://dl-xda.xposed.info/framework/sdk23/arm64/
In Exposed framework it is green and says Xposed framework version 86 is active
Greenify and Xprivacy are recognized and selected, but when i want to use Xprivacy, it keeps complaining that it is not selected in XPosed...
Greenify, if i use features that only work with Xposed, it also says that it is not activated in Xposed. but it is...
Xposed is allowed by my SuperSU version 2.77
I don't want to use this phone before i get Xprivacy up and running ( i'm keen on PRIVACY )
but as i am reading here.. it has to do with Elephone ?
Click to expand...
Click to collapse
Flash GrorkMod.
Jonny said:
Flash GrorkMod.
Click to expand...
Click to collapse
thanks for the tip : http://forum.xda-developers.com/ele.../mod-grorkmod-eragon-aerom-v0-5-beta-t3395667
:good:
i use systemless root and xposed with magisk - works fine and love it - http://forum.xda-developers.com/xposed/unofficial-systemless-xposed-t3388268

[MOD][XPOSED][7.0+][N] OOS Background DEX Optimization Fix 0.1

Warning
This module fixes a problem on OOS 4.5 devices that crash when Xposed 87.3, 88 or 88.1 is active.
The root cause of the problem has been fixed in Xposed 88.2, so you do not need this module with Xposed 88.2 or later.
If you are experiencing soft-reboots and/or crashes without Xposed installed, this module cannot help you.
Requirements
An OOS Device.running Nougat
Xposed (Official @rovo89 or systemless Magisk)
Description
If you're trying to run Xposed on OOS Devices, you may notice that every time your phone is left charging for a while, Android crashes with:
Code:
OPConfig:ConfigProvider: Module:BackgroundOptConfig
BackgroundDexOptService: blacklist add : com.chinamworld.main
BackgroundDexOptService: blacklist add : cn.kidyn.qdmedical160
BackgroundDexOptService: blacklist add : com.paic.zhifu.wallet.activity
BackgroundDexOptService: blacklist add : com.pingan.paces.ccms
BackgroundDexOptService: blacklist add : cn.damai
BackgroundDexOptService: blacklist add : com.baidu.carlife
BackgroundDexOptService: [OnlineConfig] BackgroundOpt updated complete
art : No implementation found for java.lang.String dalvik.system.DexFile.getOatFileCompilerFilter(java.lang.String, java.lang.String) (tried Java_dalvik_system_DexFile_getOatFileCompilerFilter and Java_dalvik_system_DexFile_getOatFileCompilerFilter__Ljava_lang_String_2Ljava_lang_String_2)
AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: BackgroundDexOptService_IdleOptimization
AndroidRuntime: java.lang.UnsatisfiedLinkError: No implementation found for java.lang.String dalvik.system.DexFile.getOatFileCompilerFilter(java.lang.String, java.lang.String) (tried Java_dalvik_system_DexFile_getOatFileCompilerFilter and Java_dalvik_system_DexFile_getOatFileCompilerFilter__Ljava_lang_String_2Ljava_lang_String_2)
AndroidRuntime: at dalvik.system.DexFile.getOatFileCompilerFilter(Native Method)
AndroidRuntime: at com.android.server.pm.PackageDexOptimizer.getOatFileCompilerFilter(PackageDexOptimizer.java:167)
AndroidRuntime: at com.android.server.pm.PackageManagerService.getOatFileCompilerFilter(PackageManagerService.java:19879)
AndroidRuntime: at com.android.server.pm.BackgroundDexOptService$3.run(BackgroundDexOptService.java:373)
DownloadManager: Removed 0 stale downloads
MDM_DropBox: record:system_server_crash
OSTracker: OS Event: system_server_crash
Then this module is for you.
Install, activate, reboot and crashes be gone.
This module has no UI.
Technical explanation
For some reason OnePlus has patched the Background Dex Optimization service. I think it's related to the aggressive optimization OOS 4.5 pushes (it uses the "speed" compiler filter everywhere) and also implements some filtering of some apps (see the blacklist add lines in the backtrace).
Note that the Background Dex Optimizer as shipped by OOS will not obey the pm.dexopt.bg-dexopt property and will always use "speed" irrespective of the pm.dexopt.bg-dexopt setting. Gah...
In their patching, OnePlus made the com.android.server.pm.PackageDexOptimizer.getOatFileCompilerFilter() framework function call the dalvik.system.DexFile.getOatFileCompilerFilter() native function.
dalvik.system.DexFile.getOatFileCompilerFilter() is implemented in OOS by /system/lib64/libart.so.
And Xposed replaces /system/lib64/libart.so with its own version, which does not contain dalvik.system.DexFile.getOatFileCompilerFilter().
When the OOS phone is left charging and reaches 100% battery, a timer starts. 1h after reaching 100% battery, the Background Dex Optimization runs, and promptly crashes. Since this is in the Android system, the whole phone soft-reboots.
The module works by hooking com.android.server.pm.PackageDexOptimizer.getOatFileCompilerFilter() and having it return null instead of calling the native method dalvik.system.DexFile.getOatFileCompilerFilter(). That's what the native method returns anyways, so no functionality should be lost.
Device Status
Working and tested on:
OnePlus 5 running OOS 4.5.12, Magisk 14.2 and Xposed 88.0.
Changelog
Release 0.1 on October 11, 2017
Initial release.
Download
httphttp://dl-xda.xposed.info/modules/com.fifsource.android.oosbackgroupdexcompilationfix_v1_830eb4.apk (on Xposed Module Repository)
XDA:DevDB Information
OOS Background DEX Optimization Fix, Xposed for all devices (see above for details)
Contributors
Fif_
Xposed Package Name:
Version Information
Status: Beta
Current Beta Version: 0.1
Beta Release Date: 2016-10-11
Created 2017-10-12
Last Updated 2017-10-12
Attention beta testers:
Please let your device run on power overnight and send me the Xposed log file.
You should see many lines with the "OOSDEX" prefix.
Trying it now, thanks very much!
Does this effect mm at all or simply n?
I only found this problem on OOS 4.5.x, which is Nougat. The package won't install on anything but N or above. Did you experience a similar crash on a MM OOS ROM?
Thank you!!! Really hope this works! Noticed this when my alarm didn't go off 2 days ago.. Last night I woke up a few times and when i looked at my phone it asked asked my code. This happened 3 times , so at least 3 reboots while on charger.
My 3T (running OB 15) charged just fine without crashing last night.
I guess it's a good thing that I'm sticking with it for now. OxygenOS open beta roms are about as close to perfect as it gets when you add magisk, xposed, and substratum. I love custom roms as much as anyone else, but OOS is hands down the best stock ROM. Remaining close to AOSP gives it the versatility that other stock roms lack.
HampTheToker said:
My 3T (running OB 15) charged just fine without crashing last night.
I guess it's a good thing that I'm sticking with it for now. OxygenOS open beta roms are about as close to perfect as it gets when you add magisk, xposed, and substratum. I love custom roms as much as anyone else, but OOS is hands down the best stock ROM. Remaining close to AOSP gives it the versatility that other stock roms lack.
Click to expand...
Click to collapse
I'm happy to hear that your phone didn't crash overnight. Did you have the module enabled?
If so, can you share your Xposed log from that night? Right now the module has lots of logging, which I will pare down later, but I'd like to check everything is working fine.
@Fif_ does your module work on v88.1?
Sent from my ONEPLUS A5000 using Tapatalk
Haven't tried, waiting for the systemless update for 88.1.
Given that the module is very simple, if Xposed 88.1 works for you, the module should work. Please report back and share your Xposed log in any case. Thanks.
I added a technical explanation to the project description, in case anyone's interested in understanding what happens.
Still no reports of success of failures, with 219 downloads so far. It's working fine for everyone I guess, or I'd hear more complaints...
Hi Fif_,
Thanks for the fix. Have you reported this issue to rovo? Seems like an xposed framework bug to me. Shouldn't it be fix in the framework itself? But anyway good job!
Working great so far on my OnePlus 5, OOS 4.5.12, Magisk 14.2, and official Xposed 88.1. I also attached my xposed log for you since you requested some.
aeonix_05 said:
Hi Fif_,
Thanks for the fix. Have you reported this issue to rovo? Seems like an xposed framework bug to me. Shouldn't it be fix in the framework itself? But anyway good job!
Click to expand...
Click to collapse
I agree, this seems like something that in the end should be fixed within the framework itself.
Fif_ said:
I'm happy to hear that your phone didn't crash overnight. Did you have the module enabled?
If so, can you share your Xposed log from that night? Right now the module has lots of logging, which I will pare down later, but I'd like to check everything is working fine.
Click to expand...
Click to collapse
No, it wasn't installed. I'm on open beta, so I don't think this bug applies since my 3T didn't experience a crash as far as I can tell. I'll give my phone a couple more battery cycles and let you know if this bug affects us 3/3T open beta users.
BatedUrGonnaDie said:
Working great so far on my OnePlus 5, OOS 4.5.12, Magisk 14.2, and official Xposed 88.1. I also attached my xposed log for you since you requested some.
I agree, this seems like something that in the end should be fixed within the framework itself.
Click to expand...
Click to collapse
Thanks for the log. Everything happened as I expected on your phone.
I'm not sure if this is an Xposed framework issue. Have you read the technical explanation?
I see the situation this way: @rovo89 publishes the official Xposed framework based upon AOSP sources. Then third parties publish modified Xposed frameworks for specific ROMs. There's Wanam Xposed for Samsung phones. There another one for MIUI. There are surely others.
For us, OOS users, a simple mod using the framework itself is sufficient to make the official AOSP-based Xposed work on OOS. I think this is better than having a forked OOS-specific Xposed framework.
Fif_ said:
Thanks for the log. Everything happened as I expected on your phone.
I'm not sure if this is an Xposed framework issue. Have you read the technical explanation?
I see the situation this way: @rovo89 publishes the official Xposed framework based upon AOSP sources. Then third parties publish modified Xposed frameworks for specific ROMs. There's Wanam Xposed for Samsung phones. There another one for MIUI. There are surely others.
For us, OOS users, a simple mod using the framework itself is sufficient to make the official AOSP-based Xposed work on OOS. I think this is better than having a forked OOS-specific Xposed framework.
Click to expand...
Click to collapse
Hmm, you do make a good point, but with the current release rovo is working on samsung and miui compatibility (ex: v88.1). It seems like he is trying to make it as universal as possible instead of having a different version for each phone.
i have the same soft reboot issue. it happens only when the phone is on the charger for a longer time and in flight mode. i'll try your module. thanks!
Working great, no reboots all night. Time for a build without all the debug code in the logs
Working great! Thanks for the fix :good: Slow testing of course because of waiting for full charge and then next another hour of waiting for a crash. Which did not occur anymore, so it works! :good:
vincentkoevoets said:
Working great! Thanks for the fix :good: Slow testing of course because of waiting for full charge and then next another hour of waiting for a crash. Which did not occur anymore, so it works! :good:
Click to expand...
Click to collapse
Yeah it was a long debugging session...

Categories

Resources