Xposed Framework Taking Up Too Much Space - Xposed General

I factory reset my LG Volt 2 and had 3.13 GB of available space on my internal storage. After flashing xposed-v85-sdk22.zip using FlashFire, Xposed is successfully installed, but I'm left with only 2.35 GB of available space. Theres no way Xposed is supposed to take up .78 GB of storage. I don't have a single Xposed module installed and it's not the Xposed installer which is taking up only 1.34MB. Here are the apps on my device after flashing Xposed sorted by size to prove that no other apps are taking up all that space.

It's probably because many system apps have to be recompiled with less optimization. Usually, they are pre-compiled by the vendor and stored as odex files on the /system partition, but now they're also stored in the Dalvik cache. Unfortunately, it's necessary, otherwise hooks wouldn't work reliably. The only workaround I can imagine is using compiler filter properties to influence how much is compiled, but that would mean that the uncompiled methods are slower. It's basically space vs. performance.

rovo89 said:
It's probably because many system apps have to be recompiled with less optimization. Usually, they are pre-compiled by the vendor and stored as odex files on the /system partition, but now they're also stored in the Dalvik cache. Unfortunately, it's necessary, otherwise hooks wouldn't work reliably. The only workaround I can imagine is using compiler filter properties to influence how much is compiled, but that would mean that the uncompiled methods are slower. It's basically space vs. performance.
Click to expand...
Click to collapse
Im having the same problem also, once I flashed the Xposed Framework, without any module installed, not also Xposed Installer, but it takes up to 800mb of internal storage. Is it normal? What workaround can I do because I dont know anything about compiler filter.
Honor 4C, rooted, Marshmallow.

Related

whats the difference between deodex and not deodex Rom

just wondering before i decide what Rom suits me
Sent from my GT-S5830 using xda premium
The difference between odexed and deodexed is 'de'.
Seriously now:
-odexed store fixed cache (a part of the app) from system apps in the system partition (system/app). You can see .odex files alog with app files in there.
-deodexed store this cache as regular dalvik cache in /data.
Principal differences in performance:
-Usually odexed boots up quicker, and launches apps quicker. Deodex runs apps quicker (once already launched).
-odexed have less rom memory (in /system) but leave more l memory available in /data. Deodexed is the other way around, less files in /system, more files in /data.
-odexed apps cannot be decompiled/modified, they must be deodexed first.
Most (if not all) custom roms use deodexed systems

[Q]Disable Xposed logfile

I am wondering how i can disable Xposed log file?
Reason:
I am using Xposed on a phone that has 400 mb internal memory (for apps) and i have a 'space issue' with last versions of xposed...
The log file of xposed events gets huge and i have to clear it like once or twice a day else i have like 20mb+ extra dump data from xposed
the only temporary solution that i have found is to link xposed log directory on my sd ext partition and wipe it less frequent..
Check your log file and find out what module is causing the excessive output, and report the crashes as a bug (assuming the module is supposed to be compatible with your device) in the module's thread, or disable it.
thanks
google search brought me here.
apparently for me it was out of date Greenify

[REQUEST] Save config & installed modules to Internal Memory/SDCard

Hello,
I would like to know if an option could be added to save Xposed Installer settings and/or installed modules to the internal memory and/or SDCard. That way if you decide to change ROM, get back to factory defaults or similar you could easily restore settings and installed modules (not saying activating modules, just installing them). It could also be useful if you have more than one device where you can import the same settings as another device.
Thank you in advance.
We could talk about storing Xposed Installer's settings, but a) there aren't many of them and b) in more and more ROMs, apps can only write to one specific folder on the SD card, which is deleted when you uninstall the app.
Backing up modules (which are simply applications) or even their settings is out of scope for me. There are many apps for that, e.g. Titanium Backup.
rovo89 said:
We could talk about storing Xposed Installer's settings, but a) there aren't many of them and b) in more and more ROMs, apps can only write to one specific folder on the SD card, which is deleted when you uninstall the app.
Backing up modules (which are simply applications) or even their settings is out of scope for me. There are many apps for that, e.g. Titanium Backup.
Click to expand...
Click to collapse
Thank you for your reply. I meant backup a list of installed modules, not the modules (apks) and/or their settings. That way they can be re-downloaded by Xposed Installer when installing fresh or moving to another phone/system.
EDIT: Regarding where to store the saved settings maybe the cloud could be an option? (DropBox, Google, Mega, etc)
@rovo89 Were you able to see my response? I hope that now is clear what I would like to see implemented. Thank you.
What you suggest would first require something like this: http://forum.xda-developers.com/xposed/feature-request-add-bookmark-module-t2794359
But making a backup of the installer's data or even pushing them to the cloud is out of scope for me. There are enough apps out there which can do that.
rovo89 said:
What you suggest would first require something like this: http://forum.xda-developers.com/xposed/feature-request-add-bookmark-module-t2794359
But making a backup of the installer's data or even pushing them to the cloud is out of scope for me. There are enough apps out there which can do that.
Click to expand...
Click to collapse
Thank you for your response. I will follow the suggested thread.
Mods can close this one.

Internal Memory Storage is Full - Help?

Hi All,
I originally posted this thread in the Help and Troubleshooting section, but it got no traction over a couple of weeks, was hoping someone can help me out here. I tried to delete that thread but was unable to do so...
I currently am using a stock D415 LG L90 (Running Lollipop). I have no intention of rooting anytime soon, but my internal memory keeps getting full from multiple apps I have downloaded. I have a 32GB SD Card which is only using half of its capacity. I currently have it set to save all images and video captured to be stored onto the SD Card.
In my previous phones, I was easily able to dedicate my SD card as my primary source of storage, thus never having to run into the issue of having no memory and what not. Are there any solutions like these available?
I am open to rooting, I am kind of picky of not voiding the warranty as I have only had the phone for 10 months, but if rooting is my only option, I am willing to go ahead and do so.
Did I misunderstood you, or do you want apps to be installed on external card?
wojtek267 said:
Did I misunderstood you, or do you want apps to be installed on external card?
Click to expand...
Click to collapse
I want literally everything on my SD card, and make it the primary source of storage. I have moved as much of apps, set the my camera to store images and video to my SD card, and tried my best to keep the internal storage as empty as possible, but this is at a point where I can't even update my apps because my phone's internal storage is full.
I have already moved as many possible apps from my internal storage to the external storage, but that hasn't helped by much.
There are lots and lots of junk files even if you think your phone is clear. Try some apps like clean master, it will also help you to manage the rest of your files.
Also, dunno if it helps you anyhow, but you may want to try link2sd or something like that to have control over apps space
I can't come up with other ideas, sorry for being somehow useless
wojtek267 said:
There are lots and lots of junk files even if you think your phone is clear. Try some apps like clean master, it will also help you to manage the rest of your files.
Also, dunno if it helps you anyhow, but you may want to try link2sd or something like that to have control over apps space
I can't come up with other ideas, sorry for being somehow useless
Click to expand...
Click to collapse
I actually was using the Clean Master app, I think the best solution at this point would be to switch my primary storage to my SD card, it is kind of annoying having to always go back and clean up my internal storage every few weeks...
darkgiant said:
I actually was using the Clean Master app, I think the best solution at this point would be to switch my primary storage to my SD card, it is kind of annoying having to always go back and clean up my internal storage every few weeks...
Click to expand...
Click to collapse
Use link2sd, create second partition on sd card, set it to 2gb or how much you want and then link the apps (basically it moves all of the app's data). You can search for a tutorial on how to do it. Then, you can set it to link every new installed app to sdcard and also relink it when it is updated automatically.
P.s. you need root for link2sd
cretu01 said:
Use link2sd, create second partition on sd card, set it to 2gb or how much you want and then link the apps (basically it moves all of the app's data). You can search for a tutorial on how to do it. Then, you can set it to link every new installed app to sdcard and also relink it when it is updated automatically.
P.s. you need root for link2sd
Click to expand...
Click to collapse
Oh okay, thanks for the tips! Just out of curiosity, would installing a custom ROM be a better solution, where I just go in and manually change some of the code on the Android configuration files (as this was achievable in previous Android versions).
darkgiant said:
Oh okay, thanks for the tips! Just out of curiosity, would installing a custom ROM be a better solution, where I just go in and manually change some of the code on the Android configuration files (as this was achievable in previous Android versions).
Click to expand...
Click to collapse
I don't know about this, but i can say stock 5.0.2 is the most stable rom so far and if you don't mind LG Smartcover, LG easyhome and lg weather( these lg apps are incompatible, but it will be fixed soon also for Lg l90/g2mini, as it was fixed for g3), you can install xposed alpha and the module xinternalsd which swaps internal sd to external sd, so apps will think like that. to install xposed follow this guide here. this will aditionally empty some space from your internal sd, alongside link2sd.
cretu01 said:
I don't know about this, but i can say stock 5.0.2 is the most stable rom so far and if you don't mind LG Smartcover, LG easyhome and lg weather( these lg apps are incompatible, but it will be fixed soon also for Lg l90/g2mini, as it was fixed for g3), you can install xposed alpha and the module xinternalsd which swaps internal sd to external sd, so apps will think like that. to install xposed follow this guide here. this will aditionally empty some space from your internal sd, alongside link2sd.
Click to expand...
Click to collapse
Sorry for the noobish question here, but would you mind breaking down what xposed exactly does? Is it basically a way to root my phone?
darkgiant said:
Sorry for the noobish question here, but would you mind breaking down what xposed exactly does? Is it basically a way to root my phone?
Click to expand...
Click to collapse
No, rooting your phone is a prerequisite of xposed. Rooting allows user to acces and modify system files. Xposed basically allows user to modify system files without actually touching them through the modified framework(the files will be the same after you uninstall module/xposed) . plus, xposed modules allow much more advanced operations (e.g: fixing lollipop memory leak, blocking wakelocks- amplify, snapchat mods- snapprefs, instagram downloading- xinsta, youtube adblocking). I gave you some other examples of xposed modules. However, if you want to install xposed, you need: root, unlocked bootloader and custom recovery. You could search for tutorials on xda on how to do this.
P.s : latest xposed version v70 released yesterday has full support for lg devices (you just have to install it and wipe dalvik cache, no need to delete apps)
cretu01 said:
No, rooting your phone is a prerequisite of xposed. Rooting allows user to acces and modify system files. Xposed basically allows user to modify system files without actually touching them through the modified framework(the files will be the same after you uninstall module/xposed) . plus, xposed modules allow much more advanced operations (e.g: fixing lollipop memory leak, blocking wakelocks- amplify, snapchat mods- snapprefs, instagram downloading- xinsta, youtube adblocking). I gave you some other examples of xposed modules. However, if you want to install xposed, you need: root, unlocked bootloader and custom recovery. You could search for tutorials on xda on how to do this.
P.s : latest xposed version v70 released yesterday has full support for lg devices (you just have to install it and wipe dalvik cache, no need to delete apps)
Click to expand...
Click to collapse
WOAH - this sounds absolutely brilliant! In reality, one can go ahead and modify the storage configurations on the phone too, right?
I just rooted my device using the KingRoot method, would you mind sharing all the links that include the steps to achieving all of this for this device? I for some reason can't find it for the LG L90.
Thanks!
darkgiant said:
WOAH - this sounds absolutely brilliant! In reality, one can go ahead and modify the storage configurations on the phone too, right?
I just rooted my device using the KingRoot method, would you mind sharing all the links that include the steps to achieving all of this for this device? I for some reason can't find it for the LG L90.
Thanks!
Click to expand...
Click to collapse
As far as i get, you are a beginner, so you should be very careful installing those files. you could brick your device ! OK, here it is :
1. backup your data
2. rooting - follow this guide (it also works for L90), if you already rooted with kingroot but didn't switch to supersu (highly recommended), skip step 1 and 2. If you get in any trouble also check post #11.
3. install unlocked bootloader: it seems that your D415 comes with unlocked bootloader out of the box (also check this thread)
4. custom recovery: flash this file with flashify or any other flashing apps. make sure you click on "recovery" within app (also check this thread)
5.installing xposed: check this thread, flash zip withing twrp (click install then check the file, after flashing wipe dalvik cache and cache), please note the next reboot will take more time (optimizing apps). then install the apk and then the modules ( for your problem with storage, install xinternalsd, you have lots of modules to choose from, but make sure they are updated for lollipop). after installing modules, enable them in xposed app then reboot.
6. install link2sd if you didn't, check this guide to make 2nd partition. you may consider buying the plus for linking data and auto clear cache.
That's all! if you want to further clear internal storage, go to settings-storage- click on cache then clear it (this is basically what cleaning apps like clean master do). also, check within the same menu the miscellaneous files and erase some of them if you don't need them.
P.S: check xinternalsd settings, you could choose to enable it for all apps, or the apps you want. also, make sure you check "full access to external sd"
If i helped you, consider clicking on "thanks" button
cretu01 said:
As far as i get, you are a beginner, so you should be very careful installing those files. you could brick your device ! OK, here it is :
1. backup your data
2. rooting - follow this guide (it also works for L90), if you already rooted with kingroot but didn't switch to supersu (highly recommended), skip step 1 and 2. If you get in any trouble also check post #11.
3. install unlocked bootloader: it seems that your D415 comes with unlocked bootloader out of the box (also check this thread)
4. custom recovery: flash this file with flashify or any other flashing apps. make sure you click on "recovery" within app (also check this thread)
5.installing xposed: check this thread, flash zip withing twrp (click install then check the file, after flashing wipe dalvik cache and cache), please note the next reboot will take more time (optimizing apps). then install the apk and then the modules ( for your problem with storage, install xinternalsd, you have lots of modules to choose from, but make sure they are updated for lollipop). after installing modules, enable them in xposed app then reboot.
6. install link2sd if you didn't, check this guide to make 2nd partition. you may consider buying the plus for linking data and auto clear cache.
That's all! if you want to further clear internal storage, go to settings-storage- click on cache then clear it (this is basically what cleaning apps like clean master do). also, check within the same menu the miscellaneous files and erase some of them if you don't need them.
P.S: check xinternalsd settings, you could choose to enable it for all apps, or the apps you want. also, make sure you check "full access to external sd"
If i helped you, consider clicking on "thanks" button
Click to expand...
Click to collapse
Following your steps, since I was already rooted with KingRoot, I went ahead and downloaded Flashify, and flashed the TeamWin Recovery. My LG L90 booted up to the Teamwin Recovery, everything is funcitonal and smooth. I from there installed the .ZIP file with the folder name "xposed-v70-sdk21-arm.zip". Though, when I click on Reboot, and than select Recovery, I than go to a image of the Android logo opened up with the text in the bottom saying "No Command".
Any idea here? Did I just delete my Android OS, and need to install a ROM?
cretu01 said:
As far as i get, you are a beginner, so you should be very careful installing those files. you could brick your device ! OK, here it is :
1. backup your data
2. rooting - follow this guide (it also works for L90), if you already rooted with kingroot but didn't switch to supersu (highly recommended), skip step 1 and 2. If you get in any trouble also check post #11.
3. install unlocked bootloader: it seems that your D415 comes with unlocked bootloader out of the box (also check this thread)
4. custom recovery: flash this file with flashify or any other flashing apps. make sure you click on "recovery" within app (also check this thread)
5.installing xposed: check this thread, flash zip withing twrp (click install then check the file, after flashing wipe dalvik cache and cache), please note the next reboot will take more time (optimizing apps). then install the apk and then the modules ( for your problem with storage, install xinternalsd, you have lots of modules to choose from, but make sure they are updated for lollipop). after installing modules, enable them in xposed app then reboot.
6. install link2sd if you didn't, check this guide to make 2nd partition. you may consider buying the plus for linking data and auto clear cache.
That's all! if you want to further clear internal storage, go to settings-storage- click on cache then clear it (this is basically what cleaning apps like clean master do). also, check within the same menu the miscellaneous files and erase some of them if you don't need them.
P.S: check xinternalsd settings, you could choose to enable it for all apps, or the apps you want. also, make sure you check "full access to external sd"
If i helped you, consider clicking on "thanks" button
Click to expand...
Click to collapse
Just want to update, I flashed CM12.1 on my phone, as I needed my phone to be functional enough to answer calls and text messages, I downloaded the ROM from here: http://quarx.cm-for.us/device-w7.html
I flashed it via the TWRP and flashed it as an image, it is currently booting up and displaying the setup settings right now. Not sure if I messed up in the previous steps for deleting my Android OS (I was running Stock).
I am not sure if I should go back to Stock at this point, but I just want my phone functional, fast, and lag-free and have no issues, as it is my daily driver.
Also - The root method I used, it is a good method, correct?
darkgiant said:
Just want to update, I flashed CM12.1 on my phone, as I needed my phone to be functional enough to answer calls and text messages, I downloaded the ROM from here: http://quarx.cm-for.us/device-w7.html
I flashed it via the TWRP and flashed it as an image, it is currently booting up and displaying the setup settings right now. Not sure if I messed up in the previous steps for deleting my Android OS (I was running Stock).
I am not sure if I should go back to Stock at this point, but I just want my phone functional, fast, and lag-free and have no issues, as it is my daily driver.
Also - The root method I used, it is a good method, correct?
Click to expand...
Click to collapse
OK. So after much tinkering, I managed to install LG L90 Stock Lollipop ROM! I also flashed SuperSU, and it is now rooted! I was able to move all of my apps via Link2SD, and I now have free internal space! It took literally over 12 hours of tinkering (sometimes just leaving my phone as is), but I managed to get it resolved before midnight.
Going to install Xposed now, but just in curiosity, what kind of stuff do you recommend for me to check out via Xposed, or modules and stuff to select/install?
darkgiant said:
OK. So after much tinkering, I managed to install LG L90 Stock Lollipop ROM! I also flashed SuperSU, and it is now rooted! I was able to move all of my apps via Link2SD, and I now have free internal space! It took literally over 12 hours of tinkering (sometimes just leaving my phone as is), but I managed to get it resolved before midnight.
Going to install Xposed now, but just in curiosity, what kind of stuff do you recommend for me to check out via Xposed, or modules and stuff to select/install?
Click to expand...
Click to collapse
About the no command error, i haven't heard about this, but to reboot, you need to select reboot then "system" from recovery. Anyway,if you fixed this, i gave you some good examples of modules in the last post,you could also explore the whole list of modules to see what's good for you.
Hello All,
So I originally had 3GB set aside for the ext4 partition, but that has now become full, and I have quite a few apps that now have to be moved over... is there proper way to make the partition bigger, without having to format the SD Card?
Also, I have a 32GB SD Card, is it at all possible to make a 64GB SD Card useful with this phone? I figure I could buy a 64GB SD Card (they are so cheap now), and instead allocate 10GB towards that ext4 partition.
darkgiant said:
Hello All,
So I originally had 3GB set aside for the ext4 partition, but that has now become full, and I have quite a few apps that now have to be moved over... is there proper way to make the partition bigger, without having to format the SD Card?
Also, I have a 32GB SD Card, is it at all possible to make a 64GB SD Card useful with this phone? I figure I could buy a 64GB SD Card (they are so cheap now), and instead allocate 10GB towards that ext4 partition.
Click to expand...
Click to collapse
I am sorry but as far as I know lg l90 (405 for mine) goes as far as 32 GB. I have allocated 4 GB and I am far from reaching how could you get it full how many apps do you have ?
Have a wonderful day !
Sorry for the late response, I do have at least 35+ apps (I am an app developer and run multiple apps on my phone). I especially use apps like HERE Maps and the full Microsoft Office suite frequently which take up a good chunk of the storage.
Is the 32GB SD Card limit a software limit, or hardware limit? Can I somehow override this rule? I really love this phone, it fits my needs, but this storage is really bothering me, as a lot of my apps are pending major updates....

Pre-install Xposed in a custom ROM ?

I am customizing a Amlogic TV Box ROM and I would like to install Xposed as well as a home-made module in it. I can't edit the Java source code directly because I don't have access to it, so the only solution I have is editing smali code (no thx) and Xposed.
I have access to the system partition content of the ROM, and nothing much more. My module will be installed as a system app, but I can't find a way to have the Xposed framework pre-installed. I tried to simply extract the ZIP in the system partition folder, but it doesn't work : the Xposed Installer says that the Framework is installed but not active. If I install the Framework using the Installer afterwards, it works fine. What am I doing wrong ? Is there some procedure to follow after unpacking the files ? Is it even possible to have it packaged with the system and not installed ?
I still need to enable the module once the framework is installed, how may I do that ? The modules list is located into /data, which is not packaged with the ROM (and is not factory-reset proof) what would be the most elegant way of having the module enabled by default ? I thought of writing to the modules list file at each boot with the Init.rc but I think there's a better solution.
Thanks for the help
I think what's theoretically happening is:
Imagine a PC - you install an app via the normal wizard, goes through and installs registry keys etc. which stores all file paths etc. and the app opens after the wizard finishes.
What's happening here is you're just taking the files and placing them onto the PC yourself, in this case, your box.
Remember this is a SYSTEM app, not something you can drag and drop on.
You haven't flashed anything in order for the System to know Xposed is installed, for it to point to this, point to that.
You're essentially running a broken, portable Xposed which'll say installed only because you placed it there.
I'd say you have to probably play about with that ROM on somewhere you can install Xposed via custom recovery then play about with nandroid backups and restore them on your box?
That's my only assumption. This is a difficult one.
That was my guess too, but I looked at the flashing script that Xposed Installer executes and I feel like it only checks for the version/api/abi and copies files, creating backups for uninstallation. All the files are present in the system partition in my packaged ROM files so I thought that they would just work out of the box if I copied them. Well, it doesn't, I must be missing something that the installer does.
In the meantime I've put a dirty installer in my launcher : it checks for the xposed.prop file each time it's opened (uuugh) and if it's not installed it'll just run the flash script and reboot. That's not elegant but it works.

Categories

Resources