-
Notifications
You must be signed in to change notification settings - Fork 1.5k
LG encrypted apps can't be loaded #27
Comments
Please provide logs of the crashes, otherwise I don't have any chance of analysing or even fixing them. |
Some logs are here: http://forum.xda-developers.com/lg-g3/general/how-to-xposed-running-properly-stock-t3030261 |
Any news here? :) or maybe any ideas what goes wrong, really waiting for the fix of this, the only thing that stops me from using Xposed, that crash of SmartCover, cause of daily using of it, and big thanks for supporting Liollipop, keep going i like your work so much ;)) |
Just do this
|
chris100 we know this, but what if we use circle case ? |
I know that we can just delete smartcase and weather, but im using smartcase :) |
Sorry, I don't have time to look into this at the moment... Maybe someone else has enough technical knowledge to check the logs for the root cause? The ClassNotFoundException for SmartCoverViewManagerService seems to be a good start, maybe there are other lines before that (verifier rejecting the class or something like that). Also, is that class even existing in /system/priv-app/LGCover/LGCover.apk? |
Try sending a log I can try to help if not I will ask for help on xda
|
The root cause is that some LG apps are encrypted. Both dex and oat are protected(AES-CBC). LG art libs are slightly differents than AOSP(so dex2oat is) ones,anyway almost all the code to handle the protection is placed in another lib(liblgalmond) |
Do you have any reference with further details on this? I don't really expect that I can add support for such apps, but it would be good to know. |
Actually the protection isn't anything hard to understand(and there are at least 2 ways to obtain a clear dex) but i agree you shouldn't add the support for such apps.(unless you agree to create a closed-source fork). LG just encrypted 2 proprietary apps and i think they probably had very good reasons for that(even if i really couldn't find one). That's why i chosen to not release the apps after decrypting them(i really don't want LG to be mad at me). I can send to your email further details,including some explanations about the protection,the lib,a clear and the relative encrypted dex if you are interested. |
Has this issue been addressed on newest release? I know this is not the biggest issue on your plate but any update would be appreciated! |
Even LG modifies ART? If every OEM did it, it would be death of Xposed. |
Any updates on this issue? Can any one be of assistance please? Thanks. |
I am also curious if there is any hope for us G3 owners of circle cases to be able to have xposed and smart cover working together? I don't know much about android development, but I can help test or debug if possible. |
I have currently no plans on adding support for encrypted apps (mostly because of limited time). However, Xposed is open-source, so if someone wants to try and create a proof-of-concept that can handle such apps, I will obviously consider integrating it. |
Ahhh, I see, I didn't realize that was the reason why it didn't work. I would like to help, but I wouldn't even know where to start. Thank you very much for all that you have done and I'll just keep patiently waiting for someone more skilled than me to hopefully make a fix. |
how to fix LGSmartCover?i dont need xposed anymore?? |
Support questions don't belong here, but I have just uploaded uninstaller scripts: http://forum.xda-developers.com/showthread.php?t=3034811 |
thank you that you made time for me. I hope that you helped me with your
|
LGSmartCover is an encrypted app and is incompatible with xposed. You have 3 choices:
I recommend the 2nd one. |
I just took it out of my ROM that way my users don't have to worry.... Sent from my iPad
|
No start com.lge.filemanager |
Can someone please upload the files related to the apps that cannot be used and the encryption library? I think that would be:
|
Anyone here who could test this? http://forum.xda-developers.com/lg-g3/general/how-to-xposed-running-properly-stock-t3030261/post62151398 |
@suljo94 Unfortunately, the XDA thread is closed now. So everything works fine after deleting the Dalvik cache? Nothing else required? If yes, I'll release an official update with the change. |
@rovo89 Sorry, was out of town. Here's the files you requested: http://www.4shared.com/zip/5IjAoJLDba/LG_Encrypted_Apps.html The lib file was where you said it would be; I have the verizon variant lg g2. These are all stock files as I flashed stock lollipop to make this as vanilla as possible. Currently testing the xposed version you put in the thread, will update when It's booted (so far so good) Edit: Booted fine, no force closes, installer says xposed is installed and working but when attempting to get logs from the installer, gives read error. So I got logs from terminal and catlog: Hopefully one of them will have what you need. Thanks! |
As long as there are no force closes and the LG apps work fine, I don't think I'll need any further logs. The Xposed logs might be available after another reboot. |
com.lge.filemanager work fine with v69 test1 version, thanks. |
The commit only adds support for encrypted .dex files. However, some ROMs have encrypted .odex files instead, which will need a different way of decryption. I'm almost done with this and will probably upload a test build this evening (in ~9 hours from now). If anyone is available for testing at that time, it would be good, as I won't have time to work on Xposed in the next few day. |
@rovo89 i'm available for testing at almost anytime. Can' t wait for that:) |
I'm staying tuned for this ! |
@cretu01 @steffenbakke Could you test this please? https://www.dropbox.com/s/yp4uwdfau4zou5z/xposed-v70-sdk21-arm-test1.zip?dl=0 |
This is working flawlessly, no FCs for cover, weather etc. i didn't wipe dalvik cache as lgcover and weather weren't present before in system (renamed those as .bak from the beginning). although, easyhome was present (gave FC only when enabled) and it is working, too! Do you need further logs if no errors are present? |
Thanks for testing it so fast! :) No further logs required if everything's fine. |
Tested on G Pad 8.3 (v500) with stock 5.0.2 and Weather is now fully working. This device doesn't have LGCover, weather was the only problem. Thank you so much. |
Just flashed it and seems everything is running as it should. Thanks for fixing it! |
Hello, So reading this thread I understand that the LG encryption issue has been fixed :-) Thanks a lot |
Official xposed for 5.0.x
|
LG has encrypted a few apps with their DRM implementation. Those apps can usually not be loaded. Fortunately, the decryption takes place in a separate library called liblgalmond.so. Xposed now uses this library if available to check if a dex file (usually located in a ZIP archive) is encrypted, and if yes, triggers the in-place decryption of the file before initializing it. For precompiled/odex files, a different way of decrypting is required. Similar to dex files, the decryption can also be done on the fly when the file is loaded. Fixes rovo89/Xposed#27. Conflicts: runtime/dex_file.cc
When you install any version of xposed on lg g3 lollipop it cause several apps to crash. These apps are LGSmartCover and Wether applications. You cannot uninstall LGSmartCover because it causes fc's.
The text was updated successfully, but these errors were encountered: