yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] Robert342:
I think it's solution create only for using if it's needed (if you got this crashes etc.). If now everything in your rom is OK, you don't need it I think (yet). Cheers.
[Xposed Framework Modules] rinkashime_014:
Thanks for this module it fixes my Facebook Messenger crash when using X Messenger Privacy module ?
[Xposed Framework Modules] Curiousn00b:
Exactly what I was looking for, glad to see if works. I just got mine setup, and about to log back in now. ?

Got a little lost at the part of backing the app up and uninstalling it, then restoring it but then I considered a case like Snapchat's login.
[Xposed Framework Modules] xiexiabg:
Thanks so much, my phone is miui9 android 8.0,Art flash back,cannot be used,im chinese, English is not good,I'm sorry.
[Xposed Framework Modules] maumaus:
Hmm maybe it's just me but it looks like Messenger still optimizes sometimes (maybe after restart but I'm not sure).

And yes I followed all the steps. Xposed module is active and .orca is 'deop'.

After removing the OAT folder it works again.
[Xposed Framework Modules] AndreRM124:
Make sure you're using the v1.0.2 version as previous versions would still allow android to optimise apps in the background ?

(Note: this MAY require you to reinstall messenger, I've not been able to confirm if it's necessary)
[Xposed Framework Modules] maumaus:
Thanks for the reply. Yes im using the latest version (v1.0.2)

Havent used any pevious version.
[Xposed Framework Modules] papakitou:
Hello. I installed this module, followed the instructions.

I want it for Messenger with xmessenger privacy module.

But it made it worse. More lag for me
[Xposed Framework Modules] clio94:
Hello. Thank you for this module. I am using it for xmessenger privacy module and it seems to work properly.

A bug that i found is that when i open the artdeoptimiser app and trying to scroll down, it force closes. So i used the manual package way to deoptimise messenger.

My device is leeco le max 2, i am using slim7 rom and i have magisk and systemless xposed framework magisk module.
[Xposed Framework Modules] Dns94:
Do I have to do anything special/different or again after the 2.0 update?
[Xposed Framework Modules] jacobyo7:
So this is a stable solution to use FB messenger and Snapchat with modules hooking them, whithout worrying about not recieving some message because the app crashed ? I'm currently on android 6.0.1 on my OnePlus 3T but want to update to 8.0 , the only thing holding me back is this Xposed bug. I use X messenger privacy Premium and Snaptools , I don't want to stop using thise modules and I absolutly don't want to miss some important messages from those app (especially Facebook Messenger, wich is my primary communication app)

If this is a viable and stable solution to the Xposed bug, I will consider to update to 8.0 . Can any long time user of this module and at least one of the modules I mentionned (XMPP or Snaptools) can give me a feedback of his experience ? Thank you, and a big thanks to the creator of this module as well.
[Xposed Framework Modules] Darke5tShad0w:
Yes it works.

These crashes do not happen all the time, atleast for me. Used my new phone for 3 weeks with out this module and not had 1 crash due to the xposed bug. I use this on my old phone since its release and it fixed the crashes I would occasional get on it. Made snapchat usable again.

But different roms may have different results without this module.
[Xposed Framework Modules] jacobyo7:
Nice thanks a lot for the feedback. Knowing this I can safely update to 8.0 and try whithout this module, and if I experience any crashes I know this module will solve my problems!
[Xposed Framework Modules] jacobyo7:
I finally updated to 8.0 and Facebook Messenger was force closing all the time and I couldn't even enter the app. With the help of ARTDeoptimiser everything is working flawlessly, the crashes have stopped and I can still continue to use the module who add features to it.

Thanks a lot to the developper of this module! (And thank you for snaptools too, wich I use a lot and love :D )

It is very refreshing to use android 8.0 after a so long time sticking on 6.0.1 because of this Xposed bug, you allowed me to finally enjoy this android 8.0 with no worry :)
[Xposed Framework Modules] manos78:
Hi,

Any idea of how to apply it to the ANDROID and UI system apps?

As I understand it's required to uninstall/re-install Apps. So, what about these system apps?

Thank you for this module!
[Xposed Framework Modules] Darke5tShad0w:
Do you have xposed modules that hook into these system apps?

If no this module is not for you.
[Xposed Framework Modules] manos78:
Sure! GravityBox, for example (plus others).
[Xposed Framework Modules] Dns94:
Are you experiencing any problems with Gravitybox? Because thats the only module I have that works without any problem at all.
[Xposed Framework Modules] jacobyo7:
I use gravity box on android 8.0 and never had problems with my whole phone crashing or the setting app or anything related to it. ARTDeoptimiser is useful when you have a module that hook another app (for exemple, Snaptools hooking Snapchat) and that app have difficulty because of it. For exemple, snapchat would often force close at opening, or crash in the background making notification impossible, so I would miss messages because of this. I never experiensed any of those problems on a system app because gravity box is "hooking" on them, and if you also don't have those types of problems, you don't need ARTDeoptimiser.
[Xposed Framework Modules] manos78:
Thank you for your comments!

1) I use Android 7.0, and not Oreo.

2) I use GrabityBox and a lot of other Xposed Modules (around 8-10).

3) Some of my System Apps crash time to time.

So, the ARTDeoptimiser will be useful in my case. However, only if I can use it for my SYSTEM Apps.

Regards.
[Xposed Framework Modules] jacobyo7:
Are you sure those modules are the cause of your system apps crashing, and not simply an unstable custom Rom ? However, I unfortunately can't help you with your problem, as I don't face those issues..
[Xposed Framework Modules] manos78:
Hi,

Thank you for your comments!

1) I'm suring pure stock firmware... with bootloader unlocked, plus Magisk (root and some systemless modules), plus Xposed (as Magisk module), and some Xposed modules.

2) My System (in some cases) and some System Apps (only time to time) are chrasing. I'm sure the problem is related to the problem described here.

So the question is: How to apply this solution to System Apps?

I feel this is an interesting question.
[Xposed Framework Modules] Curiousn00b:
Does this happen to anyone else in the same situation? I can't scroll all the way down. If I scrolled a tad bit more just to get Google Slides package name showing, it force closes.

I'll share a log if no one else has the problem, but this is on Android 8.1, Pixel 2 XL, stock rom.
[Xposed Framework Modules] niphoet:
Yes, the same thing happens to me
[Xposed Framework Modules] Beakhole:
Same here! It's been driving me insane. I've been having to do YouTube with the manual package option..
[Xposed Framework Modules] Darke5tShad0w:
No issues here on a reg Pixel 2.

Are you guys using any themes etc?
[Xposed Framework Modules] Beakhole:
I'm on P2XL using the builtin theme on Resurrection Remix 8.1.
[Xposed Framework Modules] Curiousn00b:
I've tried with no themes a couple times, still no luck.

Using the Pixel 2 XL and stock.
[Xposed Framework Modules] Craz Basics:
I was completely stock on first gen pixel XL.
[Xposed Framework Modules] itandy:
[MENTION=7487310]AndreRM124[/MENTION], I have similar question that how can this module be applied to system apps. Specifically I have a module which hooks the PackageManager. Now I found that from time to time, when I install/update/uninstall apps via the Play Store, it might crash the system. However, if I disable Xposed (in Magisk), Play Store works again.
[Xposed Framework Modules] Pheinte:
Art Deoptimizer doesn't load app list for me, and when I try to add an app to "manual package" with deoptimization on, ARTDeoptimizer just crashes.

Any idea how to solve it?
[Xposed Framework Modules] Robert342:
Try this. After module also crashed but not much like before.

https://xdaforums.com/showthread.php?p=77109575

Cheers.

Sent from Redemi 4X (CrDroid 4.4 based on OS 8.1.0)
[Xposed Framework Modules] FlemishDroid:
App list is loaded but when I scroll to the bottom it crashes. Redmi Note 4 with Miui.

Verstuurd vanaf mijn Redmi Note 4X met Tapatalk

---------- Post added at 12:49 PM ---------- Previous post was at 12:48 PM ----------

Yeah when I come to the package names with S it crashes...

Verstuurd vanaf mijn Redmi Note 4X met Tapatalk
[Xposed Framework Modules] Samsunger.Cheng:
Hello, I am a fan of you in China. I want to ask my Xiaomi 8 to install xposed, can't

Hello, I am a fan of you in China. I want to ask my Xiaomi 8 to install xposed, can't open the machine, Miui 10, can you help me? We are thousands or even tens of thousands of people waiting for you to reply, thank you, Great god.
[Xposed Framework Modules] Robert342:
[MENTION=7487310]AndreRM124[/MENTION] can you create better version for Oreo? When I swipe list of apps to "s" letter module always crashed. Cheers.

Sent from Redemi 4X, Qualcomm arm64 (CrDroid 4.4 based on OS 8.1.0)
[Xposed Framework Modules] RuioWolf:
It crashes when I scrolling down the apps list…
[Xposed Framework Modules] Beakhole:
Same thing happens to me. When I scroll down to the S apps in the list, when I almost get to the T's is when it crashes. This has been an issue for months.
[Xposed Framework Modules] aadi50:
Same here..
[Xposed Framework Modules] Robert342:
On Nougat also.

Sent from Redemi 4X (Resurrection Remix based on OS 7.1.2)
[Xposed Framework Modules] elwhiteboy01:
I am going to try this for messenger since it always crashes every time I try to upload a gif or click on a like emoji. I'm using android o 8.1. My question is, do I need to backup the app data like explained or can I simply just do a fresh reinstall of the app and sign in. Reason being, I never backup app data and always just sign in again for similar cases.
[Xposed Framework Modules] miggsr:
Is this normal to happen after every reboot of my device?
[Xposed Framework Modules] Zraxonix:
if the app crashes while scrolling, try scrolling slower. It works for me.

I tried it with messenger and xprivacy msngr and it works but I can't get it working with youtube (youtube adaway module is causing crashes).

And there like no real way to uninstall youtube since it is sys app... best I could do is uninstalling updates. Help?

---------- Post added at 06:11 AM ---------- Previous post was at 06:11 AM ----------

You should be fine without data.
[Xposed Framework Modules] Fif_:
Could this module also handle "speed" optimized apps? Right now it can only replace "speed-profile"with "quicken", but some ROMs (eg. OOS) have "speed" as default dexopt optimization.

Also, system apps are compiled for speed by default on AOSP, and catching "speed" in addition to "speed-profile" should allow deoptimizing them.

By the way, there is no need to jump through the backup-uninstall-reinstall-restore routine, you can just run as root:

cmd package compile -m quicken -f [I]packageId[/I]

to force dexopt recompilation on a package.
[Xposed Framework Modules] Zraxonix:
Can this app fix youtube? I couldn't do it because youtube is system application and can't be fully uninstalled. I want to use it for youtube adaway module.
[Xposed Framework Modules] Robert342:
If you have Xposed you can use Titanium Backup for full uninstalling YouTube.

Sent from Redmi 4X Qualcomm arm 64 (Resurrection Remix based on OS 7.1.2) using Tapatalk 6.4.2
[Xposed Framework Modules] Zraxonix:
Youtube is still crashing... help?
[Xposed Framework Modules] Robert342:
What are you doing? Are you use Titanium?

Sent from Redmi 4X Qualcomm arm 64 (Resurrection Remix based on OS 7.1.2) using Tapatalk 6.4.2
[Xposed Framework Modules] Zraxonix:
Yes, I installed art module then followed steps (uninstalled with titanium) and after that I installed adaway module and rebooted and youtube won't open.
[Xposed Framework Modules] Robert342:
Uninstall YouTube and adaway module completely. After that - install YouTube Vanced non-root app. Your problems was lost I think.

Sent from Redmi 4X Qualcomm arm 64 (Resurrection Remix based on OS 7.1.2) using Tapatalk 6.4.2
[Xposed Framework Modules] Zraxonix:
ty man that worked :)
[Xposed Framework Modules] fobtob387:
This module doesn't work for me, it freezes whenever I click anything.
[Xposed Framework Modules] niphoet:
Not asking for an ETA, but any chance of releasing this for the new EdXposed for Pie?
[Xposed Framework Modules] asadong:
The repo.xposed.info is still down. Please, fix it. I need it.
[Touch Cruise General] sngo666:
I set up my Yahoo mail as Imap and ATT mail as POP3, both receive fine but can not send, does anyone have the same problem or know how to fix it.

Thanks
[Touch Cruise General] leez:
Double check your outgoing server settings (authorization or not etc.). You should get help on your email providers websites (how to configure, step by step).
[Touch Cruise General] arul:
some mobile providers may block certain outgoing servers require and you may have to route emails via your mobile provider outgoing server.

or you can try using gmail's outgoing server assuming you have a gmail address (I think I have tried this once and it's worked).
[Moto G5 Plus Questions & Answers] beatlesfan5858:
After a week of hard troubleshooting, I finally found a quick fix to any IMEI problems you might have, no root, TWRP, Odin, or any nonsense required!

Prerequisites:

U.S. Moto g5 plus (at least the one I'm using, don't know how well it works on other versions)

8.1 custom Oreo ROM (I used Validus, we only use this to get signal and imei back to default)

Moto g5 plus STOCK ROM https://mirrors.lolinet.com/firmware/moto/potter/official/RETAIL/

Patience

***************************

That's it!

Down to the nitty gritty. Your imei is zero or 0000000 or some funky number, and no sim cards/cellular service works in your device, right? I finally found the simple solution after hard work. You have TWO options, read on.

1. Flash custom recovery, erase everything, and get on 8.1 Oreo ROM (delete modemst1 and 2 in fastboot beforehand) and STAY THERE. Signal will work.

2. OR go back to stock everything and locked bootloader, which is what I did. My fastboot says software status official oem locked and I get updates.

******************

The TRICK is, if your imei is 0 and cellular doesn't work, you have to delete your modemst1 and 2 in fastboot before installing anything new, so that it can reset back to default. The other TRICK is if you are reverting back to stock, follow all the normal commands for reflashing, but DON'T do anything with modemst. say I was following normal commands for flashing, then ran across these three commands....

fastboot flash modem NON-HLOS.bin

fastboot erase modemst1

fastboot erase modemst2

SKIP THEM. What we're attempting to do is keep your EFS folder as it was on the 8.1 OREO, aka WORKING. Flashing rom itself doesn't delete the EFS folder, but when you run those commands (which is in most tutorials) IT WILL WRECK YOUR IMEI AGAIN.

************

So, to recap. To fix IMEI issue, use these two commands in fastboot

fastboot erase modemst1

fastboot erase modemst2

THEN, flash 8.1 custom oreo rom, and if you like it stay with it, your signal will be working again, or go back to stock everything oem locked, your choice, just make sure you don't delete your modemst1,2 in commands WHILST doing so.

And that's it! Your imei and signal is working again. What's stupid is that this happens in the first place, but life happens. FIXED!
[Moto G5 Plus Questions & Answers] thedr34m13:
Did you get voLTE to work?
[Moto G5 Plus Questions & Answers] stonewolf05:
What carrier are you on? I am on Verizon and this only gets me 3G like all of other fixes for this issue on here.
[Moto G5 Plus Questions & Answers] beatlesfan5858:
Was with Verizon, was only getting 3g, frequent drops. Switched to AT&T just because they're so much better in my area.
[Moto G5 Plus Questions & Answers] rdk33:
thankyou soo much . helped me
[Moto G5 Plus Questions & Answers] mohitzr:
I dint get my signal/IMEI back after installing custom rom

any suggestions??

Thanks in Advance
[Moto G5 Plus Questions & Answers] Cupcake 1.5:
Unfortunately, none of these methods work no more, the question is why?. Personally, I believe something further has been borked in oreo development, just like the volte issue. Absolutely no methods restore my ime, some actually make it very difficult to even get a signal now. I spent several hours last night trying every option available just to get a signal, whereas before I flashed the latest vladious rom, flashing pixel experience, or any oreo rom for that matter, would restore 4g on first boot. My ime is 0 and i give up. In all my years with android modding (since zte blade), I have never had a device with so many issues, and so unpredictable. You can use a method to fix something, and next thing you know it does not work, for example, encryption can be really hit and miss when you first flash twrp, even flashing no verity does not always work.
[Moto G5 Plus Questions & Answers] mohitzr:
Tried every possible combination as per guides/fixes....no luck..
[Moto G5 Plus Questions & Answers] qweedleguy:
The only thing that's worked for me without fail every time is wiping everything with twrp, Dalvik, Data, System, Cache, internal storage, hitting that dreaded Format Data button, and flashing the earliest stock firmware (which I believe is 137-33 for the XT1687) using fastboot. Having a backup can save a ton of time and headaches too. If there's any point where you DO get at least LTE working, back up that EFS partition before you do ANYTHING else. But try flashing the earliest stock you can find, or preferably the one that was on your device when you bought it.
[Moto G5 Plus Questions & Answers] deep_raman:
Worked like a Charm!

Dude, i was looking for the same since yesterday, come to this thread and follow all the steps carefully. My IMEI was showing 0 before and now everything is working fine including both SIM cards.

Thanks :):):)
[Moto G5 Plus Questions & Answers] deep_raman:
(bootloader) Permission denied. Please help

Can anyone help on this error. I'm having IMEI 0 error, was working fine in morning after that my friend messed up and now same error. I was not able to fire any command now. please help. :(:(

fastboot erase modemst1

erasing 'modemst1'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 0.004s

Other might helpful info:

fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: moto-msm8953-C0.92

(bootloader) product: potter

(bootloader) board: potter

(bootloader) secure: yes

(bootloader) hwrev: P3B

(bootloader) radio: 6

(bootloader) storage-type: emmc

(bootloader) emmc: 32GB SKHYNIX HBG4a2 RV=08 PV=A5 FV=00000000000000A5

(bootloader) ram: 4GB SKHYNIX LP3 DIE=8Gb M5=06 M6=03 M7=00 M8=5F

(bootloader) cpu: MSM8953

(bootloader) serialno: ZY2245K4LB

(bootloader) cid: 0x0032

(bootloader) channelid: 0xc0

(bootloader) uid: 372C889E00000000000000000000

(bootloader) securestate: flashing_locked

(bootloader) iswarrantyvoid: yes

(bootloader) max-download-size: 534773760

(bootloader) reason: Reboot mode set to fastboot

(bootloader) imei: 358958068640199

(bootloader) meid:

(bootloader) date: 07-20-2017

(bootloader) sku: XT1686

(bootloader) carrier_sku:

(bootloader) battid:

(bootloader) iccid:

(bootloader) cust_md5:

(bootloader) max-sparse-size: 268435456

(bootloader) current-time: "Sat Jan 24 6:53:42 UTC 1970"

(bootloader) ro.build.fingerprint[0]: motorola/potter_n/potter_n:7.0/NPN

(bootloader) ro.build.fingerprint[1]: 25.137-15/14:user/release-keys

(bootloader) poweroffalarm: 0

(bootloader) ro.build.version.full[0]: Blur_Version.25.11.14.potter.reta

(bootloader) ro.build.version.full[1]: il.en.US

(bootloader) ro.build.version.qcom: LA.UM.5.6.r1-01900-89xx.0

(bootloader) version-baseband[0]: M8953_8000.128.06.42u POTTER_INDIADSDS

(bootloader) version-baseband[1]: _CUST

(bootloader) kernel.version[0]: Linux version 3.18.31-perf-g708ac5e (hud

(bootloader) kernel.version[1]: soncm@ilclbld34) (gcc version 4.9 201501

(bootloader) kernel.version[2]: 23 (prerelease) (GCC) ) #1 SMP PREEMPT T

(bootloader) kernel.version[3]: hu Jan 12 12:24:19 CST 2017

(bootloader) sbl1.git: git=MBM-NG-VC0.92-0-gd009c3b

(bootloader) rpm.git: git=92e5e21-dirty

(bootloader) tz.git: git=27e6e4b-dirty

(bootloader) devcfg.git: git=27e6e4b-dirty

(bootloader) keymaster.git: git=27e6e4b-dirty

(bootloader) cmnlib.git: git=27e6e4b-dirty

(bootloader) cmnlib64.git: git=27e6e4b-dirty

(bootloader) prov.git: git=27e6e4b-dirty

(bootloader) aboot.git: git=MBM-NG-VC0.92-0-g3ea8df0

(bootloader) frp-state: no protection (0)

(bootloader) ro.carrier: retin

(bootloader) current-slot:

(bootloader) slot-suffixes: _a

(bootloader) slot-count: 1

(bootloader) slot-successful:_a: INVALID

(bootloader) slot-successful:_b: INVALID

(bootloader) slot-bootable:_a: INVALID

(bootloader) slot-bootable:_b: INVALID

(bootloader) slot-retry-count:_a: unknown

(bootloader) slot-retry-count:_b: unknown

all: listed above

finished. total time: 0.121s
[Moto G5 Plus Questions & Answers] riyan65:
Is your device got fixed?
[Moto G5 Plus Questions & Answers] deep_raman:
No yet brother! I've to take it to the customer center but they are stating that it can't be solved through software and need to replace motherboard LOL.

I took back and its with me now. Waiting for some solutions here. :(:(
[Moto G5 Plus Questions & Answers] riyan65:
Your network problem can be solved since IMEI no is shown getvar. You can try installing latest stock Oreo, or trying custom ROMS. Many times custom ROM bring back the IMEI.
[Moto G5 Plus Questions & Answers] deep_raman:
Bro, I've tried and what I'm getting is below, i think becuase of flashing_locked:

fastboot flash dsp adspso.bin

target reported max download size of 534773760 bytes

sending 'dsp' (16384 KB)...

OKAY [ 0.410s]

writing 'dsp'...

(bootloader) flash permission denied

FAILED (remote failure)

finished. total time: 0.419s

fastboot flash oem oem.img

target reported max download size of 534773760 bytes

sending 'oem' (104608 KB)...

OKAY [ 2.526s]

writing 'oem'...

(bootloader) flash permission denied

FAILED (remote failure)

finished. total time: 2.540s

fastboot flash system system.img_sparsechunk.0

target reported max download size of 534773760 bytes

sending 'system' (258396 KB)...

OKAY [ 6.117s]

writing 'system'...

(bootloader) flash permission denied

FAILED (remote failure)

finished. total time: 6.175s

I can't able to flash too :(
[Moto G5 Plus Questions & Answers] riyan65:
Did you try Lenovo moto smart assistant? It will flash the device for you.
[Moto G5 Plus Questions & Answers] deep_raman:
Yeah , tried that as well. It is failing at 67%. Tried in USB debugging as well as fastboot mode.!! :(
[Moto G5 Plus Questions & Answers] riyan65:
Use the firmware downloaded by LMSA and flash the device manually. And did you try any custom ROMs? Mostly they help you to get back your IMEI.
[Moto G5 Plus Questions & Answers] deep_raman:
I tried the LMSA and custom ROMS but the main problem is I dont even have flashing permission too. As mentioned earlier I' m getting flashing permission denied. I dont have TWRP install, dont have flashing permission...!! So cant flash anything anymore !!! :crying:
[Moto G5 Plus Questions & Answers] deep_raman:
Solution

I was using previous/old version of ADB files(Fastboot.exe and ADB.exe). Post downloading latest version, I was able to fire below command through bootloader:

fastboot.exe flashing unlock

:D:D:D Now I'm all happy.