[guide] free up to 1.75gb internal memory - LG G Stylo Guides, News, & Discussion

So anyone with a phone that only has 8GB internal memory has a problem with the dreaded "Storage Space Running Message. The First problem is that the OS Takes up almost 5GB and the other is all the gapp updates take A LOT of space.
There isn't much that you can do about the OS size, there are a few items you may delete Bloatware, Garbage logs, and those dreaded pcm files(guide to getting rid of these w/o factory reset coming) but that only opens up a few hundred megs max.
It's kind of easy to do this but first:
FOLLOW THIS GUIDE AT YOUR OWN RISK. IT WILL WORK ON ANY ANDROID BUT HAS ONLY BEEN TESTED ON MY LG G STYLO(H634) RUNNING 5.1.1(10d)[I REFUSE TO UPDATE B/C GPS]
BACKUP IF YOU HAVE THE ABILITY TO DO SO! AND IF YOU DON'T BACKUP ANYWAY!
YOU NEED:
ROOT!
A ROOT FIE MANAGER, I USED FX WITH ROOT EXTENSION
SOME KNOWLEDGE OF HOW THE ANDROID/LINUX FILE SYSTEM WORKS
A SAVVY PIECE OF PAPER TO WRITE DOWN PERMISSIONS AND APP NAMES
STEP 1: NAVIGATE TO /SYSTEM/APP AND /SYSTEM/PRIV-APP AND DELETE ANY BLOATWARE YOU'RE NOT USING, MAKE SURE THAT IT ISN'T AN INTEGRAL PART OF THE OS OR THAT CERTAIN SERVICES DON'T DEPEND ON IT!
STEP 2: COPY UPDATED GAPP FROM /DATA/APP TO YOUR SD CARD BOTH THE APK AND LIB FOLDER! E.G GMAIL, PLAYSTORE, CHOME,ETC.
STEP 3: GO BACK TO /SYSTEM/APP AND /SYSTEM/PRIV-APP AND COPY ANY PERMISSIONS AND FILE NAMES FROM APPS YOU'RE UPDATING INTO SYSTEM PARTITION
STEP 4: GO BACK AND FORTH ONE APP AT A TIME AND DELETE OLD VERSION LIB FOLDER AND ODEX FOLDER FROM /SYSTEM PARTITION.
STEP 5: COPY RENAMED .APKS AND LIB FOLDERS TO LOCATION OF OLD APKS, LIBS AND ODEX FILES. REMEMBER TO CHANGE THE PERMISSIONS TO THESE TO EXACTLY WHAT THEY WERE BEFORE
STEP 6: GO TO SETTINGS > APPS > APP NAME HERE > AND UNINSTALL UPDATES
STEP 7: WHEN YOU'VE MOVED ALL APPS AND CHANGED ALL PERMISSIONS THEN UNINSTALLED UPDATES GO TO /DATA/DALVIK-CACHE AND DELETE BOTH FOLDERS. IF YOU SKIP THIS STEP APPS WILL NOT FUNCTION CORRECTLY ESPECIALLY PLAYSTORE
STEP 8: REBOOT PHONE AND WAIT FOR DALVIK-CACHE TO REPOPULATE
STEP 9: (OPTIONAL: ) SETUP LINK2SD OR APPS2SD FOR LOTS OF EXTRA SPACE
STEP 10: CHECK SETTINGS > STORAGE AND GET A BIG SMILE
ANY QUESTIONS OR COMMENTS POST BELOW <3

Related

How to Backup Your Emails Accounts (NOT GMAIL) Email Accounts

Ok this was a big problems for me because i love testing out sifferent rom but also have like 9 different emaisl accounts on my phone (NOT GMAIL) but email accounts.
And everytime i would tryout a new rom and i would do a wipe and then have to Start from scratch with my email accouts.
So i did some messing around with my phone and foudn out how to make a complete backup of all my account please read carfully
(I AM NOT RESPONSIABLE FOR ANY DAMAGES DOEN TO YOUR DEVICE)
Things Nedded
# 1. An Android Phone (Duhhhhhh)
# 2. A Rooted Phone (Must be rooted to do this)
# 3. Root Explorer
# 4. An SD Card with enough space to backup your accounts.
here is the procedure.
Before installing any new roms or just doing a wipe you must do the following to backup your accounts.
Open Root Explorer and browse to the following folder on your phone
data/data/com.android.email folder
in this folder should find the following folders
chache
database
files
lib
shared_prefs
now copy each folder and browse back into your sd card and paste them into a new folder on your SD card.
now your email setting are safe and you can wipe the data from your phone.
now once you have installed a new rom or did a master reset.
go into your email app and add 1 email account somthign simple like a gmail or aol etc....
install and run root explorer again,
browse to your SD card were you saved toye 5 email folders
copy them and then browse back to
data/data/com.android.email
make a new folder in the data/data/com.anroid.email folder
so now open the new created folder so you will be in data/data/com.android.email/new folder (or what ever you named the new folder)
now paste the 5 folders in this new folder
chache
database
files
lib
shared_prefs
now open each folder and copy all files inside 1 of the folders for instance data/data/com.android.email/new folder/database copy all files in this folder
now browse back to data/data/com.android.emal folder and open the database folder located here in data/data/com.android.email.
so now you will be in the following folder data/data/com.android.email/database
now paste your files in this folder. (Please Note you may ends up with 2 of the same files for instance) (webview.db & webview.db -copy) delete the webview.db file and keep the webview.db-copy file.
now rename the webview.db-copy file to webview.db and any additional file that may have the -COPY extension on it delete the orignal and rename the -COPY file as the original file name.
keep doing this process with all 5 folders.
once done if you go into your email.app you will only still see the emailaccount you created erlier this is normal.
Now reboot your phone (Full Reboot) power off then power on.
when you return to your email.app you will see that all your account have returened.
if you need any help let me know.
i will add screen shots later to help out
Hope this helps.
RinnyCoop121
Great tutorial! This has been driving me nuts for years.
Just tried it though and the copy process failed... I believe a file was in use. I went to the app manager and force stopped email, but it still failed in copying. It did get farther though.
Any idea what else I should force stop for succes?
My plan b is to boot into recovery and see if I can do the copy steps from TWRP. Seems like I saw a file manager in there before..
Thanks again!
Mike
---------- Post added at 08:39 AM ---------- Previous post was at 08:23 AM ----------
I did have success copying with TWRP. Now I just have to backup my current rig and see where this process gets me! Thanks!
Mike

working mms on t-mo streak 5 (root access required)

before we start sorry for the horrible grammar, i'm not native to U.S. so its kind of a challenge (if anyone can put it together in good grammar I'd be happy to edit this post)
Disclaimer: this may cripple your phones sms and mms functionality do at own risk
Anyways after going crazy for the past 3 weeks, searching all of the internet and obviously getting lots of crap from people who have iPhones I finally figured out a fix for mms images to show up full size on t-mo usa.
p.s. be nice this is my first post and i'm trying to be helpful to those who ran into the same issue
Things needed:
- rooted dell streak 5 (running froyo)
- mms.apk from cyanogenmod nexus one rom (cm6.1.1)
- t-mobile sim card
- root explorer installed on phone
- memory card
The process
Step 1.
load the mms.apk file from cyanogenmod onto any folder on your memory card
Step 2.
use root explorer to navigate to following folder on your phone:
system/app
Step 3.
mount R/W (enable read/write)
scroll down until you find the file labeled "mms.apk" copy the file to a safe spot on your memory card
Step 4.
navigate into folder with cyanogenmod "mms.apk" file, cut and paste file into directory from step #2 ( enable r/w if needed, overwrite file already there)
Step 5.
press and hold on mms.apk file, scroll down to permissions, put a check mark on all 3 in top row(owner)
Step 6.
look within "/system/app" for a file right underneath the mms.apk, I'm not fully sure about the name as far as i recall the name began with "mmso...." delete this file.
Step 7.
Reboot your device
Step 8.
navigate back to system apps folder and install mms.apk as if it were a regular app (not sure if r/w permissions are needed here)
Step 9.
Reboot device, open up messaging app, press menu button then click settings.
scroll down til you see "custom user agent" selection, select nokia n95 from the menu.
Step 10.
give yourself a pat on the back if everything worked correctly and you get full size mms
Notes:
-the device i'm using is an aws version of the streak mini not sure if this would work for unlocked streaks

properly moving keyboards to system/apps

Here is how I've been doing it, somehow this seems wrong:
1. install the app
2. in super manager navigate to data/app and cut the apk from that folder
3. navigate to system/app and paste the apk in that folder
4. install from the pasted apk.
Seems it would leave traces from the old install right? like data path?
Also how do I chmod? I'm tried installing sougou from the app store which installed to data/app-private with only read write privledges, so when I tried to move it to the system folder it wouldn't execute/install.
Is there any easier way to do this and how can I get permissions to re-install the app in the system folder?

[GUIDE]Utilizing free system space to Install Apps

Introduction:
This is a long but detailed guide to move user apps to system and to make them survive OTA so they will get restored on flashing every OTA(any rom?). This is lengthy but has to be done only once.
Things needed:
Unlocked and rooted device with TWRP installed and on any custom rom like Lineage which supports addon.d (NOT MIUI)
60-apps.sh
Link2sd
Titanium backup
A PC with any good notepad editor (I use notepad++)
Directory Printer
A USB Cable
Some free space (2GB) in internal/external sd card) temporarly
Little time and presence of mind (can't give link, sorry)
See Screenshots (folder) if it gets confusing, they are numbered 1 to 40 so it will be easy to understand.
Instructions:
1. Install you favorite rom and set it up. Install all the apps you use(do set the apps, just install for now). Once done, Install link2sd and titanium backup too.
2. Open link2sd and grand root permissions.
i. Tap menu and then Storage Info to check how much space do you have in System
ii. Tap back and set sorting mode to apk+dex+lib size and filter to User apps (both buttons are next to menu, you can't miss them)
iii. Now tap and hold on any application name you want to move to system, ideal apps would be like Greenify, Instadic, Truecaller etc. (apps you want to let run in background), apps you always keep in your phone or apps which are big in size. I used Kernel Adiutor-Mod here to demonstrate.
Move all the required apps and keep checking system space, leave 100-200mb free.
3. Once done, Reboot to TWRP
i. Tap Mount and put a tick before System
ii. Go back and Tap Advance--->File manager
iii. Scroll to find system, open it and find priv-app, open it too (you are here- /system/priv-app)
iv. Tap menu button and copy folder, scroll to find sdcard/sdcard1, again tap menu botton and swipe to copy. (i used Alarms folder in /sdcard)
4. Once done, Connect the phone to PC.
i. Make a folder (name it sysapps) and copy this priv-app folder in sysapps folder. (delete from sdcard)
ii. Download 60-apps.sh from here and place it in sysapps folder too.
iii. Open priv-app folder and delete everything except the apps you moved. Tip-Default system apps should have proper names like Settings. SystemUI, Velvet(gapps too) etc.
iv. Run Directory Printer and click save to disk. Set everything as shown here and navigate to \sysapps\priv-app folder.
v. Click Save to disk and again navigate to sysapps folder, name the file as my.txt and save it.
5. Run Notepad++ and open my.txt in it.
i. Press ctrl+h to open replace, write everything written before priv-app in find what column and delete everything written in replace with column. Click repalce all. (we are removing everything written before priv-app in every line)
ii. Again write \ in find what column and / in replace with column. Click replace all.
6. Open 60-apps.sh in notepad++
i. Look for addon.d/60-apps.sh under list_files() {
ii. Select and copy everything from my.txt and paste it between addon.d/60-apps.sh and EOF (there is a blank line there, check and delete if any blank line remains after pasting)
iii. Once done, save it and exit notepad++.
7. Now copy/move this 60-apps.sh to sdcard and disconnect the phone
i. As done above to copy priv-app from system to sdcard, copy 60-apps.sh from sdcard to /system/addon.d
ii. Navigate to /system/addon.d and tap 60-apps.sh. Tap chmod 755. Swipe to confirm.
iii. Reboot your phone.
8. Use your phone as you do and flash any ota without wiping system. If changing rom, try deleting everything except priv-app and addon.d folder in system, instead of wiping system partition completely.
Moving updated apps to system:
Occasionally apps will get updated and they will start to acquire space in data. To move them back to system do this.
1. Open titanium backup, tap Backup/Restore, tap click to edit filters and under Filter by type tap User and Uninst. to leave just System enabled. Tap green Check above right to set.
2. Tap Order by app name (click to change) and tap last update time.
3. Backup all updated apps temporarily and close titanium backup.
4. Open link2sd and set filter to Updated
5. Tap and hold on app's name and tap Integrate update into system
6. Once done, reboot.
7. Open titanium backup again and restore data only for the apps you backed up.
reserved
Wow. Thanks bro
reserved
Isnt repartition of data system would serve better for this.
Camlin3 said:
Isnt repartition of data system would serve better for this.
Click to expand...
Click to collapse
Yes definitely. But I am not familiar with qcom much. Had done that on mtk before.
Sent from my Redmi Note 3 using Tapatalk
Sudeep Duhoon said:
Yes definitely. But I am not familiar with qcom much. Had done that on mtk before.
Click to expand...
Click to collapse
Yes, its a little easy for mtk. Me Too played with mtk phones
Sudeep Duhoon said:
Yes definitely. But I am not familiar with qcom much. Had done that on mtk before.
Sent from my Redmi Note 3 using Tapatalk
Click to expand...
Click to collapse
You think it can be done however? In TWRP there's an option for repartition. But obviously I guess it isn't that simple :silly:
Does it require developer-level skills?
Thanks for the guide, BTW!!:good::good:
iG0tB0lts said:
You think it can be done however? In TWRP there's an option for repartition. But obviously I guess it isn't that simple :silly:
Does it require developer-level skills?
Thanks for the guide, BTW!!:good::good:
Click to expand...
Click to collapse
Yes. can be done. but not through twrp. How? i don't know for sure yet.
Ty very much for this guide

How to correctly move app into /system/priv-app

I'm trying to find a way to move an app from /data/app to /system/priv-app correctly. I'm on Oreo 8.1.0 with January 5, 2018 security patches. I'm rooted with Magisk v16.0.
I've tried using ES File Explorer to move it manually and apply correct permissions. I've tried using Lucky Patcher and Titanium Backup Pro to move it. With the manual move and Lucky Patcher, the app disappears (icon/shortcut is shaded out and doesn't work). With Titanium Backup, it starts the processing and sits with "Processing" forever.
Does anyone know of a way to move the app to system correctly?
What app are you trying to do it for? The most efficient way that I've found is to...
1. Install the app normally.
2. Find the app within /data/app/ and copy the folder to your internal storage
3. Uninstall the app
4. Copy and paste the folder either into /system/app/ or /system/priv-app/
5. Reboot and see if it works
---------- Post added at 05:32 PM ---------- Previous post was at 05:32 PM ----------
What app are you trying to do it for? The most efficient way that I've found is to...
1. Install the app normally.
2. Find the app within /data/app/ and copy the folder to your internal storage
3. Uninstall the app
4. Copy and paste the folder either into /system/app/ or /system/priv-app/
5. Reboot and see if it works
Edit: It would seem that XDA is lagging for me. Excuse the double post, lol.
jvnat said:
I'm trying to find a way to move an app from /data/app to /system/priv-app correctly. I'm on Oreo 8.1.0 with January 5, 2018 security patches. I'm rooted with Magisk v16.0.
I've tried using ES File Explorer to move it manually and apply correct permissions. I've tried using Lucky Patcher and Titanium Backup Pro to move it. With the manual move and Lucky Patcher, the app disappears (icon/shortcut is shaded out and doesn't work). With Titanium Backup, it starts the processing and sits with "Processing" forever.
Does anyone know of a way to move the app to system correctly?
Click to expand...
Click to collapse
If you mount system in TWRP, you can use file explorer in advance setting to move any file anywhere. No need to set any permissions. Just reboot. Been doing that for while now. No problems at all.
I use root explorer,install app normal .got to data/app.copy to system/privapp.then go back to data/app delete the app,then reboot.
Thanks for all the suggestions. I'll give those methods a go.
I am trying to install an app in /system/priv-app and the app is not showing up in Settings -> Apps even with "Show system" selected.
This is on Google HTC Nexus 9 (flounder) Android 7.1.1 Security patch level October 5, 2017. I used TWRP to remount the root filesytem rw and move the app. I am trying to install com.incorporateapp.fakegps_route-1.
I installed the app from the Google Play store and copied it from
/data/app/com.incorporateapp.fakegps_route-1
to
/system/priv-app/com.incorporateapp.fakegps_route-1
The directory and all files and subdirectories are owner and group root.root. The permissions on the directory and files and subdirectories look correct. The com.incorporateapp.fakegps_route-1 directory is 755.
The directory and files are look to be correctly placed on the file system under /system/app-priv. I've checked multiple times. The app does not show up in System -> Apps even if "Show system" is selected. I understand that Android is supposed to find the new app in priv-app on boot and install it. That does not seem to be happening. Any other suggestions? Are there log files on boot I can check for error messages? Any help is appreciated.
TIA.
I have the same issue. When I move the fakegps app from data/app to system/priv-app then I have no icon to select the application from the home screen.
even after a reboot.
anybody knows how to get back the fakegps icon to be able to start the application?
If you guys are using Magisk root, I've found a module called App Systemizer which through a simple command line interface is able to convert apps you pick and choose from a list of installed ones on your phone to convert into system apps. Then when updates occur I use titanium backup's "integrate system dalvik into app" feature (it hangs so you have to force close it but it does the job) reboot and it's done.
The raw copy/paste way which has been described here has messed up my phone once or twice, and gave me a message on boot that "My phone has been corrupted or something along those lines and to contact the manufacturer".
TaZeR369 said:
If you guys are using Magisk root, I've found a module called App Systemizer which through a simple command line interface is able to convert apps you pick and choose from a list of installed ones on your phone to convert into system apps. Then when updates occur I use titanium backup's "integrate system dalvik into app" feature (it hangs so you have to force close it but it does the job) reboot and it's done.
The raw copy/paste way which has been described here has messed up my phone once or twice, and gave me a message on boot that "My phone has been corrupted or something along those lines and to contact the manufacturer".
Click to expand...
Click to collapse
App systemizer just grants the app the status "system app"(likely through linking and granting permissions). It in no way moves it to the system partition.
Ive come to the same realization after running into some questionable free space on my /system Hehe. I copy the APK using TWRP now seems to do the trick.
TaZeR369 said:
Ive come to the same realization after running into some questionable free space on my /system Hehe. I copy the APK using TWRP now seems to do the trick.
Click to expand...
Click to collapse
what version of android can you get, I'm not getting on android 10 can you help me?
Above method didn't worked for me. Below worked perfectly and is safe:
1. Install the app as usual.
2. Copy the app folder from /data/app to internal storage
3. Uninstall the app and reboot to recovery
4. Copy the app folder from internal storage to /system/priv-app folder (If you don't see system folder then you need to mount "system" partition in recovery first)
5. Give permissions to app folder (for all 9 checkboxes), reboot. Enjoy
Anyone else unable to see the folder with the app they moved after a reboot? I want to de-systemize, but I can't now.
I took the folder for the app I want to systemize and moved it from data/app to system/priv-app. Then rebooted. The app is now systemized (can't uninstall it, only disable) But the folder no longer exists under PRIV-APP.
I've done this many times with other apps and I've never seen this problem. Is it because I moved the entire folder and didn't rename it?
After reboot the folder can no longer be found under system/priv-app OR data/app. The app is still installed as a system app. Where is the folder with the app?
Running Android 9. Pixel 3.
I have come across a very strange phenomena on Galaxy M12. When I install an app as user it exists in /data/app forder in a weird way. The folders in /data/app are like ~~h8DR1aXXIZfV_DXfqwYf3g== (see attachment) and in these folders there is another folder with the app package name. On regular devices I hvae seen app package folder in /data/app itself.
When I copy the app package folder from /data/app/~~h8DR1aXXIZfV_DXfqwYf3g== to /system/app it does not work. I can see the app folder after reboot or even reset but app in not installed on the system. I have confirmed by running the activity using 'am' and tried listing with 'pm'. I have also given same permissions as other app folders in /system/app. I have also tried /system/app~~h8DR1aXXIZfV_DXfqwYf3g==.
Edit: As it turns out when I am copying to /system/app the base.apk is not copied properly. I have tried it multiple time, the system is mounted. Whatever I do it is either 0 kb or 100 kb exactl and the file is ~6mb. Still strange behaviour.

Categories

Resources