[Q] Memory storage problem - 1.8 GB missing - Moto G Q&A, Help & Troubleshooting

I have a problem after a failed OTA update to Lollipop. I now have a large amount of storage missing. See the attached screenshots below. Basically my Moto G thinks:
Internal storage = 5.52 GB
Apps usage = 2.85 GB
Other misc usage = 0.20 GB
Available space = 0.63 GB
That means there is 1.8 GB missing!
I read a suggestion in another thread on a different device that I should use the DiskUsage app to get a better readout on where the data is stored. I attached that screenshot as well. It picks up a massive 1.9 GB for "System Data". That seems too large to my untrained eye. And this sort of disparity was not there before the failed OTA update. This seems to be on the regular storage (/sdcard0/ or /emulated/0/) and not in the true system root (/). Please help me figure out how to clean this up. I can't identify any culprits in the folders /sdcard0/Android/, /sdcard0/.mmsyscache/, /sdcard0/.temp or any other such place.
Any idea what this is

try to redo ota update and make sure to be succefull

ahmedteling said:
try to redo ota update and make sure to be succefull
Click to expand...
Click to collapse
That is not easy! I have a bootloader-unlocked and rooted XT1045. To complete OTA update I need to either flash stock firmware or upgrade to custom Lollipop ROM. Neither of which I have time to sort out now...

This reasonable coming from files in the root folders. That calculator do not process in those folders like /data /recovery /system...
If you have root it will be easy install Clean Master and let root access it will scan and clean your device. Very helpful.
Otherwise, only wipe internally OR looking for those locations as /data (all folders inside) /recovery (all folders)
So that your choice

Related

[Q] Q. Regarding Data Storage on BootMenu's 2nd System

I posted this in a thread in the Dev. section but that's probably not the appropriate place for it - I've been installing ROMS (SCV7, Swifty Trix) with BootMenu on the second system with Leak #1 on the primary system. On the primary system I have ~ 4 gigs allotted to app storage and on the second I only have ~ 200 mbs. I can't even begin to install a basic set of application... are there any suggestions on how to remedy this situation? I've been Google-ing the subject but haven't found much information so far.
EDIT - So, I guess "RTFM" should always be in mind:
Q: I have a "low storage space" on 2nd system?
Webtop partition size is only 1.3GB.
To make thing simple, the included boot_second.sh script bind mount /system & /data inside this webtop partition.
You have at least 4 option, if you want to have bigger /data
1.Reassign /data to /sdcard (IO speed depend on sdcard speed rating)
2.Reassign /data to /dev/block/userdata (this will replace all your data for stock system)
3.Reassign /data to /dev/block/cache (bind /cache to somewhere else e.g : /webtop/cache)
4.Use a lightweight ROM (/system size = small)
You need to modify these files to suit your needs.
/preinstall/bootmenu/script/boot_stock.sh
/preinstall/bootmenu/config/stock.recovery.fstab
/preinstall/bootmenu/script/boot_second.sh
/preinstall/bootmenu/config/second.recovery.fstab
Sorry, for now you all have to configure this files manually.
--------
So, this is a little beyond what I've done with Android thus far... for now I haven't been able to figure out how to work it out. Any suggestions would be much appreciated. Thanks!
goto
1) mounts/format
2) format webtop
3) toggle second system recovery (main menu)
4) install/restore whichever ROM u desire
i think erasing webtop will pretty much free system space in "second system"
and remember second system is usually considered as trial purpose
as far as my exp. changing something in first system will somtime affect the second system
Happy flashing
aguacateojos said:
I posted this in a thread in the Dev. section but that's probably not the appropriate place for it - I've been installing ROMS (SCV7, Swifty Trix) with BootMenu on the second system with Leak #1 on the primary system. On the primary system I have ~ 4 gigs allotted to app storage and on the second I only have ~ 200 mbs. I can't even begin to install a basic set of application... are there any suggestions on how to remedy this situation? I've been Google-ing the subject but haven't found much information so far.
EDIT - So, I guess "RTFM" should always be in mind:
Q: I have a "low storage space" on 2nd system?
Webtop partition size is only 1.3GB.
To make thing simple, the included boot_second.sh script bind mount /system & /data inside this webtop partition.
You have at least 4 option, if you want to have bigger /data
1.Reassign /data to /sdcard (IO speed depend on sdcard speed rating)
2.Reassign /data to /dev/block/userdata (this will replace all your data for stock system)
3.Reassign /data to /dev/block/cache (bind /cache to somewhere else e.g : /webtop/cache)
4.Use a lightweight ROM (/system size = small)
You need to modify these files to suit your needs.
/preinstall/bootmenu/script/boot_stock.sh
/preinstall/bootmenu/config/stock.recovery.fstab
/preinstall/bootmenu/script/boot_second.sh
/preinstall/bootmenu/config/second.recovery.fstab
Sorry, for now you all have to configure this files manually.
--------
So, this is a little beyond what I've done with Android thus far... for now I haven't been able to figure out how to work it out. Any suggestions would be much appreciated. Thanks!
Click to expand...
Click to collapse
All of that is not needed, and you will mess up your install on first system too.
I get trying new things out and trail blazing, but next time do a little research first. There are people who don't think and search for a problem and find your solution try it and learn they now have to fxz, but don't know how or can't.
This appears to be way beyond you. Next time try something a little smaller and less likely to screw something up for those that don't know or not very capable.
shardul.phatak said:
goto
1) mounts/format
2) format webtop
3) toggle second system recovery (main menu)
4) install/restore whichever ROM u desire
i think erasing webtop will pretty much free system space in "second system"
and remember second system is usually considered as trial purpose
as far as my exp. changing something in first system will somtime affect the second system
Happy flashing
Click to expand...
Click to collapse
What he said ^^

[Q] Sure Glad I Bought A 32GB Nexus 5 Instead of 16GB

I am amazed at how little free space I have remaining on my 32GB N5. It shows 26.8GB total space, and I realize some is used for overhead.
Running stock rom and really not that many additional apps, and no pictures, movies, or music on the phone, I am at around 8GB free space remaining.
The phone’s storage tab reports:
Total Space: 26.08 GB
Available: 8.00 GB
Apps: 1.69 GB
Pictures & Videos: 1.19MB
Audio: 304KB
Downloads: 1.8MB
Cached Data: 44.09MB
Misc: 2.96GB
When I look in Misc, 2.43GB of the 2.96 is TWRP nandroid backups, 538MB is TI Backups, the rest is insignificant. Adding up all of what is shows as used totals about 3GB. Add the 8GB available, you have 11GB. So what happened to the other 15GB?
I have installed a utility to help me analyze space usage, and it shows the biggest space user is TWRP, with 2.4GB in backups. Those are important to have and I don’t begrudge the space, but man, this is supposed to be a 32GB phone.
One problem with disk space analyzers is that they tend to look for large files, but you can have 10,000 small files that will occupy more total space than a few large ones.
Those of you who are running relatively stock, how much free storage space do you have on your 32GB Nexus 5?
michaelnel said:
I am amazed at how little free space I have remaining on my 32GB N5. It shows 26.8GB total space, and I realize some is used for overhead.
Running stock rom and really not that many additional apps, and no pictures, movies, or music on the phone, I am at around 8GB free space remaining.
The phone’s storage tab reports:
Total Space: 26.08 GB
Available: 8.00 GB
Apps: 1.69 GB
Pictures & Videos: 1.19MB
Audio: 304KB
Downloads: 1.8MB
Cached Data: 44.09MB
Misc: 2.96GB
When I look in Misc, 2.43GB of the 2.96 is TWRP nandroid backups, 538MB is TI Backups, the rest is insignificant. Adding up all of what is shows as used totals about 3GB. Add the 8GB available, you have 11GB. So what happened to the other 15GB?
I have installed a utility to help me analyze space usage, and it shows the biggest space user is TWRP, with 2.4GB in backups. Those are important to have and I don’t begrudge the space, but man, this is supposed to be a 32GB phone.
One problem with disk space analyzers is that they tend to look for large files, but you can have 10,000 small files that will occupy more total space than a few large ones.
Those of you who are running relatively stock, how much free storage space do you have on your 32GB Nexus 5?
Click to expand...
Click to collapse
No problems with storage here. I'm on stock with custom kernel, 1 nandroid backup. I have about 16.5GBs left, where about 8GB is my music and the other 2-3 are my apps and the nandroid backups.
Here's mine... 32GB rooted running stock rom..
Thanks. I thought this was abnormal. Not sure how to go about finding that 15GB.
When I went to 4.4.2 I loaded 4.4 fresh and the side loaded 4.4.2.. Not saying you should do that.. But it will reset all the space on the phone
Sent from my Nexus 5 using xda app-developers app
Thanks for the help, folks. I whacked it all the way back to stock, and installed the factory 4.4.2 image, then unlocked, installed twrp and supersu, and I am back in business with tons of free space. I have all my apps installed and now it shows over 23GB available.
I still have no idea where that 15GB went, but I figured whacking it was easier than troubleshooting it.
michaelnel said:
Thanks for the help, folks. I whacked it all the way back to stock, and installed the factory 4.4.2 image, then unlocked, installed twrp and supersu, and I am back in business with tons of free space. I have all my apps installed and now it shows over 23GB available.
I still have no idea where that 15GB went, but I figured whacking it was easier than troubleshooting it.
Click to expand...
Click to collapse
The "missing space" in the mass storage window is all the stuff on the /mnt/shell/emulated/ folder, outside of the /0/ (sdcard) directory.
For example, Nandroid Backups are stored there normally (at least CWM stores them on /mnt/shell/emulated/clockworkmod/ so they don't get wiped with the data on /0/). If you got your backups inside the /0/ folder you're in danger...
Check with the "diskUsage" app, on the root section, "mnt/shell/emulated" and you'll see what do you have there using your space (/obb/ is a symlink to /0/Android/obb/ and isn't using any space there really),
RusherDude said:
The "missing space" in the mass storage window is all the stuff on the /mnt/shell/emulated/ folder, outside of the /0/ (sdcard) directory.
For example, Nandroid Backups are stored there normally (at least CWM stores them on /mnt/shell/emulated/clockworkmod/ so they don't get wiped with the data on /0/). If you got your backups inside the /0/ folder you're in danger...
Check with the "diskUsage" app, on the root section, "mnt/shell/emulated" and you'll see what do you have there using your space (/obb/ is a symlink to /0/Android/obb/ and isn't using any space there really),
Click to expand...
Click to collapse
Thanks much. That diskUsage app is very cool, much better than the one I paid for.
nandroid backup create a new file each time you back up, so if you back up alot, you will found that the back up size is huge, just delete some old dated back up and keep the lastest one is ok
Sent from my Nexus 5 using XDA Premium 4 mobile app
RusherDude said:
For example, Nandroid Backups are stored there normally (at least CWM stores them on /mnt/shell/emulated/clockworkmod/ so they don't get wiped with the data on /0/). If you got your backups inside the /0/ folder you're in danger...
Click to expand...
Click to collapse
Where as this is the common lost space issue, its not so they don't get wiped. Its just easier to leave them there than detect if you're on a /0 device and dynamically set it. Twrp and philz do though.
Custom recoveries don't wipe /0 anyway - they run rm -Rf with an exclusion on 0.
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
rootSU said:
Where as this is the common lost space issue, its not so they don't get wiped. Its just easier to leave them there than detect if you're on a /0 device and dynamically set it. Twrp and philz do though.
Custom recoveries don't wipe /0 anyway - they run rm -Rf with an exclusion on 0.
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
Click to expand...
Click to collapse
Are you saying that CWM and so started saving backups out of "/sdcard" (now /0/), and now when you wipe on them they wipe everything (including their backups that are outside of /0/) but /0/?
It has no sense. They'd have failed big time if so...
RusherDude said:
Are you saying that CWM and so started saving backups out of "/sdcard" (now /0/), and now when you wipe on them they wipe everything (including their backups that are outside of /0/) but /0/?
It has no sense. They'd have failed big time if so...
Click to expand...
Click to collapse
No.
I'm saying in the CWM source code for FUSE devices, /sdcard is mounted to /data/media - which was fine until android 4.2 which brought multi-user support. So even though other recoveries have moved with the times and updated their mount point to be /data/media/0, CWM simply didn't bother changing. It's not because they're "protecting from wipe" (in fact CWM doesn't wipe /sdcard anyway, only stock recovery does that), it's just they never updated it. That's why the backups are "outside" of /sdcard. No other reason.
Having backups outside of /sdcard has it's downfalls too. You cannot easily copy data from /sdcard to computer. Or copy a backup back to the device that can be restored.
rootSU said:
No.
I'm saying in the CWM source code for FUSE devices, /sdcard is mounted to /data/media - which was fine until android 4.2 which brought multi-user support. So even though other recoveries have moved with the times and updated their mount point to be /data/media/0, CWM simply didn't bother changing. It's not because they're "protecting from wipe" (in fact CWM doesn't wipe /sdcard anyway, only stock recovery does that), it's just they never updated it. That's why the backups are "outside" of /sdcard. No other reason.
Click to expand...
Click to collapse
Then okay, they didn't even bother to update, but as a result, the backups folder is outside the /0/ media mount point, and so, any application that wipes the real /sdcard mount point (/0) like the stock recovery as you say, won't wipe them.
Thanks for the explanation tho. I don't understand why they didn't even move a finger, but as a result the backups are more protected if you keep changing stuff and you like cleaning /sdcard (real /0 ) without touching the outside /mnt/shell/emulated folder (which contains vital data like said backups or the copy of the EFS folder usually).
rootSU said:
Having backups outside of /sdcard has it's downfalls too. You cannot easily copy data from /sdcard to computer. Or copy a backup back to the device that can be restored.
Click to expand...
Click to collapse
You can recover/push them easilly with adb tho.
RusherDude said:
Then okay, they didn't even bother to update, but as a result, the backups folder is outside the /0/ media mount point, and so, any application that wipes the real /sdcard mount point (/0) like the stock recovery as you say, won't wipe them.
Thanks for the explanation tho. I don't understand why they didn't even move a finger, but as a result the backups are more protected if you keep changing stuff and you like cleaning /sdcard (real /0 ) without touching the outside /mnt/shell/emulated folder (which contains vital data like said backups or the copy of the EFS folder usually).
You can recover/push them easilly with adb tho.
Click to expand...
Click to collapse
adb just isn't as convenient. But yes they are more protected but not by design. But also it has a problem in that your storage menu doesn't show true breakdown of space being used.
rootSU said:
adb just isn't as convenient. But yes they are more protected but not by design. But also it has a problem in that your storage menu doesn't show true breakdown of space being used.
Click to expand...
Click to collapse
Yeah.. but that drawback is minor. I would opt for a simple solution: Some root variation of the used space. Either:
a) A mod that makes the storage option to include all the stuff on /data/media/ including everything outside /0 .
b) Using another program that shows the real usage.
I don't really think that nandroid backups are "user data" per se, since this is as vital as the system itself for the user. Its logical to have it protected somehow :fingers-crossed:.
Its protected by the user not being an idiot. If they are an idiot, losing their backup is karma
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit

[REPARTITION][CWM-ZIP] Get 1.9 GB extra for user data on N7100!

Hello everyone
This is CWM-Zip script to repartition our N7100 to gain 1.9 GB more for user data partition.
This script is originally from http://forum.xda-developers.com/galaxy-s3/development/guide-extra-1-3-gb-user-data-t2762594 It’s for GT-i9300. Made by @forumber2 :good:. Thanks to him, without his easy simple script, I wouldn’t be able to port this script.
This is how Samsung partitioned N7100
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
After running the script
Please note that this script is not suitable to ROMs that require storing big files in CACHE and PRELOAD or HIDDEN, notably Official ROMs, as you can see that CACHE and PRELOAD got shrank.
I’m not sure if there are some custom ROMs that store files in CACHE and PRELOAD, so check the ROMs installation zip first before using this repartition script. Check by reading update-binary in META-INF and observing folder structure inside the zip file.
I’m using DN3 v5+ and it doesn’t store any files.
I checked Omega v29, it doesn't use PRELOAD to store files, even wiping it before install.
X-Treme v2.1 is safe to install, even wiping PRELOAD before install.
BIG UPDATE 1
For some ROMs like Phoenix ROM requires storing data to PRELOAD, but not CACHE.
Use partition script "Repartition_N7100_16GB_PreloadStockSize587MB.zip" instead of "Repartition_N7100_16GB.zip"
It will partition PRELOAD to size of Stock 587 MBs.
CACHE remains 100 MBs, and SYSTEM remains around 2 GBs. GAINED USERDATA FREE SPACE IS AROUND 1328 MBs.
If your ROM .zip installer doesn't store files in PRELOAD, use "Repartition_N7100_16GB.zip" instead.
FYI, Big CACHE partition is used to store official Samsung OTA updates file, if you are on custom ROMs, then you can’t use Samsung OTA updates anyway. Big cache partition is practically waste of free space, but it is still required for Google Play APK downloads. (Max Google Play APK size is 50 MBs) In fact, Google Play apk downloads are stored in /data/com.android.providers.downloads/files/, cache partition is used to store apk downloads in old Android version. This script will partition CACHE with size of 100 MBs. For any Google Play apps that are bigger than 50 MB, they will use expansion files called .obb to help, those obb are stored in "Internal SD Card/Android/obb".
Samsung Apps APK downloads sometimes can be seen large to something like 300 MBs, but these APK downloads are stored in "/data/data/com.sec.android.app.samsungapps/files" So it won't break Samsung Apps downloads.
PRELOAD or HIDDEN is used to store Samsung crap stuffs like ringtones, Wonders of Nature video, starter beautiful images, VODB folder that is used for S-Pen stroke recognition. When user make a factory reset, all data in internal sd card gets deleted, then stuffs in PRELOAD gets copy to internal sd card. That’s why after factory reset Wonder of Nature video comes back.
ALL USERDATA AND INSTALLED OS ARE GOING TO BE REMOVED, SO BACKUP FIRST!
So let’s get started. You will use "Repartition_N7100_16GB.zip OR Repartition_N7100_16GB_PreloadStockSize587MB.zip OR in the attachment
1.Backup of course, if you don’t do System Nandroid backup, be sure to have ROM installer zip ready in external sd card, if you do Nandroid backup or Titanium Backup, make sure to back up to external sd card because this process will erase internal sd card too.You may backup your internal sd card to external sd card, USB-OTG, or Windows PC.
2.You need to use PhilZ Recovery, it doesn’t work with TWRP, TWRP lacks of “parted” binary required for repartitioning.
I personally used PhilZ Touch 6.25.0 on my N7100. 6.41.6 reported to work as well.
3.Install the ZIP and the script will run, after it finished, it will reboot recovery again.
4.We are not done yet, this script still has some bug that formatted partition can’t be mounted. You can see that you can’t mount some partitions or maybe all, weird.
5.We need to fix mount problem manually by go to Mounts and Storage, then format System, Data, Cache, Preload or Hidden one by one, then go to Power Option and reboot recovery once. DO NOT FORMAT BOOT, MODEM, STORAGE/SDCARD1 (external sd card).
6.We have repartition successfully. Now restore data, install ROMs.
How to restore original stock partition table.
You will need to do this if you want to install stock official firmware.
1 - Download "Odin3_v3.07_with_PIT_16GB_GT-N7100.zip" and extract it somewhere
2 - Download any stock ROM from sammobile.com or samsung-updates.com and unzip it.
2 - Open Odin, click "PIT" button and select " PIT_N7100_16GB_20121102.pit"
3 - Click "PDA" and select official ROM that you've downloaded
4 - Click "Start"
5 - After installation, phone will be stuck at bootanimation, don't panic.
6 - Pull out battery, boot to recovery (you can see some mount errors, don't worry)
7 - Select "wipe data/factory reset" in recovery menu
8 - Select "reboot system now"
I recently update 4.3 MJ5 to 4.4.2 ND3 bootloader via odin successfully, just to inform that after repartition, bootloader update still works. If it fails, make sure to try new usb cable. Mine failed first time because of bad usb cable.
See ND 4.4.2 bootloader here http://forum.xda-developers.com/showthread.php?t=2472270 CTRL+F in the thread and find bootloader.
For some people who curious how to output partition table in Terminal.
First you need to install "parted" binary to /system/bin/
parted binary is in attachment,
then use these command in terminal
su
parted /dev/block/mmcblk0
print
Also programs to show partition tables in Google Play can't show partitions offsets, but this command could.
UPDATE 15/10/2014
I found out that in fact, Google Play apk downloads are stored in /data/com.android.providers.downloads/files/, cache partition is used to store apk downloads in old Android version.
UPDATE 24/10/2015
I also uploaded a new partition script cwm-zip file for AOSP users that will repartition system to size of 1 GB, preload 15 mb, cache 100 mb.
This will gain 3 GB of more userdata space.
Please note that once you have repartition with Repartition AOSP N7100 System 1 GB.zip
You will not be able to install Touchwiz based ROM, Touchwiz based ROMs are bigger than 1 GB.
You will have to repartition again with Repartition_N7100_16GB.zip OR Repartition_N7100_16GB_PreloadStockSize587MB.zip, note that all userdata will be deleted.
Note that I personally don't use Note 2 anymore, but this script should work. It's just simple script editing from previous files.
1 GB system partitioning for AOSP/CM is not working as
psndna88, AGNI kernel maker, tests
"it seems we cannot change SYSTEM size, else the bootloader boots only into download mode"
Thanks a lot. I will try it later.
I did repartition my device about a year ago, but I did it manually and used parted program that comes with cwm recovery. The process is fairly simple if you are familiar with unixlike OS'es. The advantage of parted us that you can resize /system partition too (CM11 requires just 400 mb on /system, and default is 1800mb).
I just tried it. It all went fine. Thanks!
My question is, can we have more space, or this is the max we can have?
I guess some space must be reserved though, so the phone can work properly.
steff195 said:
I just tried it. It all went fine. Thanks!
My question is, can we have more space, or this is the max we can have?
I guess some space must be reserved though, so the phone can work properly.
Click to expand...
Click to collapse
Yes we can have just a little bit more space. You may try to shrink cache partition to 60 mbs, shrink preload to 4 mb. That would gain 54 mbs only. I configured cache and preload to be bigger than this for safety purpose. Maybe it will be use to store small files in the future. We also need to keep the number of partitions to be the same as stock one, else everything will malfunction. I still have no ideas what does OTA and TOMBSTONES do.
Sent from my GT-N7100 using XDA Free mobile app
great guide, will try
reminds me of the htc days when we could s off and flash various hboots to increase/decrease various partitions
so, this will accomodate all current custom roms ? edit - just read your warning to check : thanks:
ninekaw9 said:
Yes we can have just a little bit more space. You may try to shrink cache partition to 60 mbs, shrink preload to 4 mb. That would gain 54 mbs only. I configured cache and preload to be bigger than this for safety purpose. Maybe it will be use to store small files in the future. We also need to keep the number of partitions to be the same as stock one, else everything will malfunction. I still have no ideas what does OTA and TOMBSTONES do.
Sent from my GT-N7100 using XDA Free mobile app
Click to expand...
Click to collapse
Then I'll just leave it this way. Don't want my phone to malfunction if I push this to the extreme.
Thanks again!
steff195 said:
Then I'll just leave it this way. Don't want my phone to malfunction if I push this to the extreme.
Thanks again!
Click to expand...
Click to collapse
only a small problem, it does not format anything and says that there is no sim inside, I sincerely hope that you manage to solve the problem ....
also the modem is not installed ...
I saw your post on the DN3 V5+ thread which led me... Seems to be a great concept, especially considering that one of the first things I do upon flashing a stock-based rom is to delete most Sammy things on it.
I understand that you need Philz to flash this; will the latest V6.41.4 do?
Also, do you know of anyway to save all system settings so as to restore them later? I can backup apps and their data but not the stock system settings themselves.
Can we increase system partition???
I need more space in system......
ulkika said:
only a small problem, it does not format anything and says that there is no sim inside, I sincerely hope that you manage to solve the problem ....
also the modem is not installed ...
Click to expand...
Click to collapse
Man, I tried via Philz 6.41.6, since it was recommended in OP. I usually use TWRP, had a nandroid backup of everything including Modem made with TWRP which I placed on external card.
Had the mounting problem after flashing script and rebooting recovery, but I manually solved them, as described in 1st post. Then reflashed TWRP and restored my nandroid from external card. Then also restored my internal sd files (music, games obb, etc) which I saved on pc.
I have no error, I have ND3 modem present, all fine, phone works as before. And 12.1gb total space instead of 10.4 which I had before.
Thanks again!:good:
ulkika said:
only a small problem, it does not format anything and says that there is no sim inside, I sincerely hope that you manage to solve the problem ....
also the modem is not installed ...
Click to expand...
Click to collapse
How come your modem firmware is gone?
Have you try installing ROMs again, most rom installer will flash modem firmware.
My script doesn't touch modem partition at all.
Just partition cache and after that, see the partition table.
Rickav said:
I saw your post on the DN3 V5+ thread which led me... Seems to be a great concept, especially considering that one of the first things I do upon flashing a stock-based rom is to delete most Sammy things on it.
I understand that you need Philz to flash this; will the latest V6.41.4 do?
Also, do you know of anyway to save all system settings so as to restore them later? I can backup apps and their data but not the stock system settings themselves.
Click to expand...
Click to collapse
steff195 used Philz 6.41.6, and it worked.
Well, DN3 v5+ update-script has the commands to delete Android Setting Database on install.
Because you restore data first, then flash DN3v5+ which triggering deletion of Android Setting Database.
So you have to backup android setting database using titanium backup before repartition, then restore after repartition.
Or after repartitioning, install DN3 v5+ first, then restore data using nandroid.
I also have weird problem after deleting Android Setting Database on DN3 v5+. New setting generated is really courrupted. It breaks home button, notification toggles expanding, lock screen, and much more. Everybody else seem to be fine of android setting database regeneration. Weird.
MBariya said:
Can we increase system partition???
I need more space in system......
Click to expand...
Click to collapse
Yes you can.
Extract my .zip script, then open the updater-binary with your favorite text editor, I prefer Notepad++.
Find these line
parted /dev/block/mmcblk0 mkpart primary 168MB 270MB -> CACHE
parted /dev/block/mmcblk0 mkpart primary 270MB 2417MB -> SYSTEM
parted /dev/block/mmcblk0 mkpart primary 2417MB 2432MB -> HIDDEN
parted /dev/block/mmcblk0 mkpart primary 2432MB 2440MB -> OTA
parted /dev/block/mmcblk0 mkpart primary 2440MB 15.8GB -> USERDATA
It is pretty easy to understand indeed, first number after word "primary" is the start offset of the partition, second one is the end.
You may change those number. But remember that CACHE partition must always be bigger than 50 MBs to store google play apk download. Google stated that google play apk max size is 50 mb, bigger than that will use .obb to help.
I recommend you to keep OTA size 8 MB, cause I don't know what it does.
HIDDEN can be shrink up to 5 MB I doubt. I suspect that shrink up to 4 MB can cause issue, I don't know if you set size for 4 MB, will it exceed minimum partition size required.
However, numbers in red can't be changed, they must be 168MB and 15.8 GB the same.
And do not change order of partitions, and there must be 5 partitions. You can't remove HIDDEN and OTA, else partition order and number will wrong, and I think a lot of things will break, including recovery.
After you modified the script. Zip them and put in your phone and flash! :laugh:
philz_touch_6.41.6-n7100.zip.md5 but the problem is that not format data,i solve whith reinstall nd3 and after root and restore system but the patch is not functionally at my device.
---------- Post added at 11:50 AM ---------- Previous post was at 11:45 AM ----------
ninekaw9 said:
How come your modem firmware is gone?
Have you try installing ROMs again, most rom installer will flash modem firmware.
My script doesn't touch modem partition at all.
Just partition cache and after that, see the partition table.
Click to expand...
Click to collapse
I do not know what happens because of it, I can not see the pictures because you do not know how to send to you but that happens on the screen while doing the second restart to do manually format the system tells me that the memory is not formatted.
then I tried to reinstall the old rom and told me that he could not find the modem, it does not restart no line present it tell insert telephone card ... in the end I had to reinstall ND3, before I tried it with the pit from you and given after but not without changing anything in the system memory space....
ulkika said:
philz_touch_6.41.6-n7100.zip.md5 but the problem is that not format data,i solve whith reinstall nd3 and after root and restore system but the patch is not functionally at my device.
---------- Post added at 11:50 AM ---------- Previous post was at 11:45 AM ----------
I do not know what happens because of it, I can not see the pictures because you do not know how to send to you but that happens on the screen while doing the second restart to do manually format the system tells me that the memory is not formatted.
then I tried to reinstall the old rom and told me that he could not find the modem, it does not restart no line present it tell insert telephone card ... in the end I had to reinstall ND3, before I tried it with the pit from you and given after but not without changing anything in the system memory space....
Click to expand...
Click to collapse
I am very confused with your language. After you used my script, did you go to "Mounts and Storage", then format SYSTEM DATA CACHE PRELOAD?
only an other question,i use x-treme rom 2.1 is possible that is the problem...
ulkika said:
only an other question,i use x-treme rom 2.1 is possible that is the problem...
Click to expand...
Click to collapse
I'm downloading it and will diagnose the installation file.
ninekaw9 said:
I am very confused with your language. After you used my script, did you go to "Mounts and Storage", then format SYSTEM DATA CACHE PRELOAD?
Click to expand...
Click to collapse
after reboot of first install, is impossible for me format prelod .system and cache....
ulkika said:
after reboot of first install, is impossible for me format prelod .system and cache....
Click to expand...
Click to collapse
Try this Philz Touch version. It is the version that I used to repartition on my device.
I'm still downloading your ROM, mediafire is quite slow today.

[Q] [MEMORY LEAK] Device Memory is full, but it's unknown what filled it! +screenshot

The total space is 1.57 GB. The "Apps" (used space) and "Available" (free space) doesn't add up to the total space.
512 + 0.82 = 512.82 MB, where is that missing 1000 MB?
There must be some unknown files that I can't see with Astro file manager (hidden files enabled) because I don't have root.
So how to delete those unknown files (without root)? How to get back that missing 1000 MB?
Looks like your /data/ partition (installed apps) is full, but the /system/ partition (rom+stock apps) has some space left, hence what you see in the storage manager.
If you install Link2SD and go to Storage Info (you will see something like on this screenshot)
What do you see on your device ?
To make space on the /data/ partition you could try to move more apps to the internal SDCard (settings -> apps -> select app -> "move to" button) or you could try to use Link2SD to do more, but you will need root.
Alternatively it is possible to resize the /data/ partition by taking space allocated to the internal memory /SDCard0/ partition.
This guide will explain you how.
You will need root and a kernel with recovery, also knowing your way around in ADB and have some basic knowledge about storage partitions.
I've already moved everything that I can to the internal memory and deleted the cache of many apps and removed the updates of all Google apps.
This problem appeared when I tried to download a file with Dolphin browser. I went to this site:
openstreetmap.hu/letoltesek
and tried to download this file:
TuraReteg.sqlitedb
The phone become unresponsive and something drained the whole memory. So there must be unknown files in that partition.
As I know, it's not possible to access the device memory without root. The Astro file manager shows empty folders. The phone is not mine. So how to delete those unknown files that waste the internal memory without root? (The Clean Master is useless, it cleans the "internal memory" only, NOT the "device memory".)
Maybe what happened is that after the download the contents of that .sqlitedb file got merged into the internal databases of your device...which would mean at least 186MB being injected or copied somewhere, hopefully on the /data/ partition.
Have you tried to do a factory reset (from the phone settings) ?
This should wipe the /data/ partition (and also the SDcard, so remove if there are file on it you wish to keep).
Backup what you need to keep on your device (messages, media and so on).
If that doesn't help and you are on a stock ROM, what you can try after that is connect the phone to a computer and reflash the latest Sony ROM with Sony Companion (it is called "repair phone" in the program if I recall correctly)

System data using way too much storage

When I bought this phone (LG Optimus L90 D410 Dual) 2 years ago, when I checked the storage, system was using only 3GB, which left me with 5GB (it has a total of 8GB). But now, when I check how much system storage is using, it is using 5GB, leaving me with only 3GB of storage. How can I make my system data as small as it was back when I bought it?
Hyoretsu said:
When I bought this phone (LG Optimus L90 D410 Dual) 2 years ago, when I checked the storage, system was using only 3GB32GB, which left me with 5GB (it has a total of 8GB). But now, when I check how much system storage is using, it is using 5GB, leaving me with only 3GB of storage. How can I make my system data as small as it was back when I bought it?
Click to expand...
Click to collapse
clear junk data using clean master app or use sd maid pro for better cleaning..... and if you want your storage like before as was your phone new.. you shall carry less apps as less you can... and move apps to sd card for more system storage.....
The thing is, I already use Clean Master (frequently), the apps I install they all use the 3GB of storage I have and I can't move apps to sd card cuz' I'm on 6.0.1 (Cyanogenmod 13)
EDIT: System data was using 5GB before I installed CM 13
Hyoretsu said:
The thing is, I already use Clean Master (frequently), the apps I install they all use the 3GB of storage I have and I can't move apps to sd card cuz' I'm on 6.0.1 (Cyanogenmod 13)
EDIT: System data was using 5GB before I installed CM 13
Click to expand...
Click to collapse
Try debloating your current android installation by removing system apps that you would not use. This can be accomplished using applications such as <Mod snip of warez reference > or system app remover in Google Play.
All the bloatware I have with CM 13 is some apps that only use KB of storage and Gapps (Nano), which they all sums up 293.6MB
Hyoretsu said:
All the bloatware I have with CM 13 is some apps that only use KB of storage and Gapps (Nano), which they all sums up 293.6MB
Click to expand...
Click to collapse
The problem is that the disk is partitioned in such a way that leaves little space for apps.
What you should do:
1. Shrink /system partition where it has enough memory to do all it's stuff, but doesn't take up too much space. You said 3GB worked fine in the past and it probably will now.
2. Allocate the unused space to the /data partition
Warning: If repartitioning goes wrong it will most likely result in a hard brick. Know what you're doing.
Warning 2: Many people say you should never repatition your phone. You will no longer be able to instal updates and the space you take away from the system may be critical storage used for device recovery or some kind of backup or emergency mode. Try app2sd or (if you're hardcore into moving stuff) link2sd.
1st: I thought of resizing the system partition, so I googled it and couldn't find anything, so how do I resize a partition on my phone?
2nd: If I make a backup of my entire phone through TWRP in case anything goes wrong, if I hard brick my device could I just restore the backup?
3rd: I already tried App2SD and Link2SD, but when i partitioned my SD Card, it gave an error. (Gonna move the things inside the SD Card to my PC and try to partition it, so I can specify the error)
if you have upgraded Android it could be that the newer versions are larger than the old one due to more features?
It grew up to 5GB while I was still on stock 5.0.2
bump
Hyoretsu said:
It grew up to 5GB while I was still on stock 5.0.2
Click to expand...
Click to collapse
Can you download X-Plore, click on the 'Disk Map' on the right side bar and screenshot the results?
newbreedsoftware said:
Can you download X-Plore, click on the 'Disk Map' on the right side bar and screenshot the results?
Click to expand...
Click to collapse
Will do that right away
EDIT: Here it is
Hyoretsu said:
Will do that right away
EDIT: Here it is
Click to expand...
Click to collapse
So it looks like your system is taking up less than a GB. Have you used Root Browser to check what is in that MNT folder? The reason I asked is because I checked my Nexus 6 and my LG G Pad 7.0 and I don't see the MNT folder anywhere. I am running Android 5.0.1 on both devices. Below are screenshots of both of my devices
There are 2 links to my home directory (on "asec, expand, media_rw, obb, sdcard, secure and user" folders), and a runtime folder, which has 3 folders(default, read and write), with the 3 of them being a link to the /storage folder
Hyoretsu said:
There are 2 links to my home directory (on "asec, expand, media_rw, obb, sdcard, secure and user" folders), and a runtime folder, which has 3 folders(default, read and write), with the 3 of them being a link to the /storage folder
Click to expand...
Click to collapse
Does your phone support external SD card or is it all internal?
It supports external SD, but I "can't" move anything to it cuz I'm on 6.0.1, so I would have to transform it into Internal Storage and I could transform it into Mixed Storage, but the problem is that whenever my SD Card is Internal or Mixed Storage, it randomly pops out, forcing me to turn off my phone, re-insert my SD card and boot it again. I'm not with it cuz' currently I'm putting some pdf files to it on my PC
Hyoretsu said:
It supports external SD, but I "can't" move anything to it cuz I'm on 6.0.1, so I would have to transform it into Internal Storage and I could transform it into Mixed Storage, but the problem is that whenever my SD Card is Internal or Mixed Storage, it randomly pops out, forcing me to turn off my phone, re-insert my SD card and boot it again. I'm not with it cuz' currently I'm putting some pdf files to it on my PC
Click to expand...
Click to collapse
Have you tried using Apps2SD? Not sure if it works on 6.0 but it works on 5.0 and below.
I cannot get it to work cuz' when I partition my sd card and try to mount script, it showed up the error "file not found". When I checked the directory it specified, I realized that I didn't have the 179:66 file, the one I have is public:179_66. The temporary solution (cuz' the file got deleted when i rebooted my phone) was create a hard link from public:179_66 to 179:66, which resulted on the error "Invalid Argument" (Sorry if something's written worng, English is not my native language)
Hyoretsu said:
I cannot get it to work cuz' when I partition my sd card and try to mount script, it showed up the error "file not found". When I checked the directory it specified, I realized that I didn't have the 179:66 file, the one I have is public:179_66. The temporary solution (cuz' the file got deleted when i rebooted my phone) was create a hard link from public:179_66 to 179:66, which resulted on the error "Invalid Argument" (Sorry if something's written worng, English is not my native language)
Click to expand...
Click to collapse
So back to the main issue, according to your X-Plore results, your system folder is only taking up 876mb. I would download a root file explorer such as Root Explorer and explore the various folders such as Data (2.99gb) and MNT (1.34gb) and see if you have some temp files you can get rid of. There are also apps such as CCleaner that will scan your device for temp/cache files you can safely remove to make more room.

Categories

Resources