[Q] clean up file system partition (xperia U) - Sony Xperia P, U, Sola, Go

Just did a fresh rom-flash (KA03) but seem to have 1.7gb of 1.9gb of the file system root filled up.
any one have any suggestions on how to find out which part of the file system partition can be cleaned up?
Is it possible with an android system to do a "format c" and start empty?

Ignore it.

K900 said:
Ignore it.
Click to expand...
Click to collapse
But why? (curiosity)
Kinda had issues with it when trying to flash a new rom, my partition was full and it wouldn't install anything anymore.
Didn't even show amount of free-space in the OS anymore, all settings I made were continuously lost.
had to delete all caches etc via recovery menu before I could do anything again.

Related

[Q] Nabi 2 Kids Android Tablet

Hello Everyone,
I have not play with any android devices since android 2.0 and even back then found self rooting tools. I got my Kid Nabi2 tablet. Runs Android 4.0.4 currently. Nice little tablet. Problem is only have 8GB or storage. About 4gb after all system partitions and recoveries. So my question is can I safely back up my recovery partition to external source to free up some space? I assume recovery partition has complete recovery files when I do restore to factory option. I I remember correctly android has few partitions. /boot, /system, /recovery, /sd. is there a way just to have your operating system and whatever apps. Have recovery mode but have files on like sd card. If I decide to root this device dose that changes anything in my recovery partition. If device is rooted can I just go back to completely stock by doing factory reset? I just want to make sure that if I root it and want to go back to complete stock for any reason I can do that.
You can restore from your backup that gets made after you flash the custom recovery.
Here is the original script for using on Windows:
http://forum.xda-developers.com/showthread.php?p=32207344
Though you should use the gapps package from http://forum.xda-developers.com/showthread.php?p=35888524 as it gets rid of the 'android upgrading' messages on every boot.
If you want a more manual method, or are on linux, see http://forum.xda-developers.com/showthread.php?t=2016463
t499user said:
You can restore from your backup that gets made after you flash the custom recovery.
Here is the original script for using on Windows:
http://forum.xda-developers.com/showthread.php?p=32207344
Though you should use the gapps package from http://forum.xda-developers.com/showthread.php?p=35888524 as it gets rid of the 'android upgrading' messages on every boot.
If you want a more manual method, or are on linux, see http://forum.xda-developers.com/showthread.php?t=2016463
Click to expand...
Click to collapse
T499user, thank you for replaying. I do run windows. I did look at the section you direct me to me before. What I don't understand is when you root with his program do I use option 1 or 2. Where dose the back up go and how do I restore it later? when I restore dose that bring it back completely to stock, meaning just like it was when i got it? I'm currently running new nabi software do I have to worry about losing wifi?
Also is there a way of freeing up space on my nabi 2 by keeping a back up somewhere else. I think now there is recovery/back up partition. that works when I do factory reset. is that is how that works?
By installing new custom recovery would other recovery still be there?
Sorry trying to get back after many Apple years..
skull791 said:
T499user, thank you for replaying. I do run windows. I did look at the section you direct me to me before. What I don't understand is when you root with his program do I use option 1 or 2. Where dose the back up go and how do I restore it later? when I restore dose that bring it back completely to stock, meaning just like it was when i got it? I'm currently running new nabi software do I have to worry about losing wifi?
Also is there a way of freeing up space on my nabi 2 by keeping a back up somewhere else. I think now there is recovery/back up partition. that works when I do factory reset. is that is how that works?
By installing new custom recovery would other recovery still be there?
Sorry trying to get back after many Apple years..
Click to expand...
Click to collapse
I prefer to do it manually, but if you are going to use the script, use option 2. Then you can install gapps from TWRP using http://forum.xda-developers.com/showthread.php?t=2065878.
The backup that gets created is of the current system state. It is stored in /sdcard/TWRP/backups/*serialnumber*/backupname
No worries about wifi as long as you did all of the OTA updates.
t499user said:
I prefer to do it manually, but if you are going to use the script, use option 2. Then you can install gapps from TWRP using http://forum.xda-developers.com/showthread.php?t=2065878.
The backup that gets created is of the current system state. It is stored in /sdcard/TWRP/backups/*serialnumber*/backupname
No worries about wifi as long as you did all of the OTA updates.
Click to expand...
Click to collapse
Now do I have to install TWRP or when i root it will do it for me?
It will be done with the script.
t499user said:
It will be done with the script.
Click to expand...
Click to collapse
What dose exactly gets back up?
also do you know why nabi2 only has about 4.45gb of free storage when total is 8gb? 3.55gb seems a lot for system files???
skull791 said:
What dose exactly gets back up?
also do you know why nabi2 only has about 4.45gb of free storage when total is 8gb? 3.55gb seems a lot for system files???
Click to expand...
Click to collapse
The system, boot, and data partitions get backed up. That is the way they set it up for the partitions.
All of your questions have already been answered in the other threads, might want to do a search for 'Nabi' and have a read.
t499user said:
The system, boot, and data partitions get backed up. That is the way they set it up for the partitions.
All of your questions have already been answered in the other threads, might want to do a search for 'Nabi' and have a read.
Click to expand...
Click to collapse
T499user trust me I been reading crazy and still cant find an answer. Want to point me to the right place ?
No problem, I would start with the following:
http://forum.xda-developers.com/showthread.php?t=1905674
http://forum.xda-developers.com/showthread.php?t=2016463
t499user said:
No problem, I would start with the following:
http://forum.xda-developers.com/showthread.php?t=1905674
http://forum.xda-developers.com/showthread.php?t=2016463
Click to expand...
Click to collapse
Thank you. I did read all of them. Do you know where I can find something about android system file. Mostly why I have only 4.45gb out of 8. Is thereba way to move back up patition? To external source to free up some space?

[Q] CWM error while making backup image of /data

This error is still not answered on the forums so im starting a new thread.
i get the error as the title.
sd card space is not the problem.
i tried formatting the sd card.
i have less than 50 apps installed.
wiped dalvik cache, and all other sorts people say on other posts.
(my phone is LG P936 so "fix permission" screws up the phone. all text disappears)
have latest cwm recovery.
and still get the error.
any answers please?
and please dont reply if you are going to write an opinion.
only answers please.
sorry for my rude behaviour but I'm sick and tired of reading posts full of opinions and "maybe"s.
Not sure if you ever got this fixed but I 'm suffering from the same error. I tried pretty much everything you tried (even fix permissions) and I have about 20GB free on my SD card so space shouldn't be an issue. I have not yet tried formatting the SD card since it has always worked and CWM is able to write to it because the following files are created:
- boot.img
- data.ext3.tar
- recovery.img
- system.ext3.tar
The files that are missing are (based on older backups):
- .android_secure.vfat.tar
- cache.ext3.tar (probably because I wiped it first?)
- nandroid.md5
I have attached the log from CWM in the hopes that someone can tell me what is wrong. The error occurs at the end of the progress bar of 'backing up /data'.
hey just use TWRP Recovery. It's way better than CWM. normal backup on cwm took me like an hour but twrp was never longer than 10minutes.
Today I have formatted the SD card and tried again, but as expected it did not change anything.
ceoleaders said:
hey just use TWRP Recovery. It's way better than CWM. normal backup on cwm took me like an hour but twrp was never longer than 10minutes.
Click to expand...
Click to collapse
I guess I will give this a try. Can I just install it over CWM or can they run side by side?
different reciveries cannot be run side by side as they are installed on a different partition. so it will always be installed over your current one.
ceoleaders said:
different reciveries cannot be run side by side as they are installed on a different partition. so it will always be installed over your current one.
Click to expand...
Click to collapse
Well, I tried TWRP and it also fails at backing up my data partition. The log is a bit more clear though and it seems to get stuck on "/data/data/com.android.vending/cache/images" which is the last line before it gives an error. I checked the "images" folder and it seems empty but I cannot delete it. Tried ES File Explorer and Terminal Emulator but no way to get rid of it. The folder appears to be related to Google Play, so I cleared all data and cache from Google Play, even uninstalled the updates but there 's simply no way to get rid of it. I 'm not sure if this is the reason why the backup fails, but I CAN copy the folder and even rename it.
Pff looks like I 'm going to have to do a clean install after all .
Hello, I too have this problem and unfortunately TWRP is not available for my phone.
I used to be able to do CWM backups fine on my old phone, and they work great on my tablet. But they consistently fail at "/data" on my Galaxy Ace II x. Might it be because I'm using Link2SD? I don't see why that would cause a problem, but maybe it's having trouble with the symlinks?
Hmm. Seems the issue was that, despite having only 1.28 GB total available storage space on stock, the backups wanted more than 4 GB. Cleared some room on my microSD card and suddenly backups worked fine! Of course, shortly after I installed CyanogenMod, which has much smaller backups...
Sent from my GT-S7560M using Tapatalk 4
I forgot to report back here but the only way I found to fix the problem was by doing a clean install. After that, I was able to backup my data partition again. I then restored my apps ' data with TB and was unable to backup the data partition again. I 'm guessing one of my apps had corrupt data, but never got to find out which one it was.
maybe your partition not match with recovery, like something wrong vold.fstab
Just in case anyone still wants to know how to fix this, I managed to solve it by running these commands:
1. run adb shell in recovery.
2. unmount data partition (umount /dev/block/mmcblk0p26). -> this one failed so I skipped it
3. run e2fsck /dev/block/mmcblk0p26
See http://forum.xda-developers.com/showpost.php?p=48659092&postcount=868 for original post.
I got a few HTREE errors and a bunch of duplicate names which I renamed when prompted. Booted the phone and rebooted into TWRP and now I am able to backup my data partition again. :good:
EDIT: Problem reappeared so I tried the above commands again but it said that the filesystem was clean. Ran 'e2fsck -f /dev/block/mmcblk0p26' instead and had to fix a bunch of HTREE errors from Facebook again and duplicate names from Xprivacy but now I 'm able to backup my data partition again.
Dude just selest the backup format as both zip and tar filea

[Q] What actually android wipedata/reset means ?

I am really confused with this. What actually android wipedata/reset means ?. Is there any problem if i select wipe data factory reset...? if i select this option, is there any chance of losing my internal memory datas like messages, contacts, etc ?
sareeshmnair said:
I am really confused with this. What actually android wipedata/reset means ?. Is there any problem if i select wipe data factory reset...? if i select this option, is there any chance of losing my internal memory datas like messages, contacts, etc ?
Click to expand...
Click to collapse
The wipe data and factory reset option will wipe the /data partition which includes application data, any apps you've downloaded, pictures, music, messages, and contacts that are not stored on your sd-card. In addition to wiping the /data partition it also wipes the /cache partition which mostly contains your apps temporary files, and other system related temporary files. Your contacts can be backed up to your Google account, messages can be backed up with SMS Backup +, and for your other data I would recommend taking a look at My Backup it doesn't require root, if you are rooted Titanium Backup is a very handy tool for backing up your device.
help me as you can please
My phone it doesn't work already and and i don't want to lose any of my data because its really important to me and i didn't do the back up before …..what can i do ? …… pleas help me
problem
meshalSM said:
My phone it doesn't work already and and i don't want to lose any of my data because its really important to me and i didn't do the back up before …..what can i do ? …… pleas help me
Click to expand...
Click to collapse
problem???
gohel.vishal said:
problem???
Click to expand...
Click to collapse
i have the cyanogen room and it was working well…and then,they create a new update for the room…when I'm install it .. the playstore it doesn't work anymore .. so i tried to return to the old version by the sitting > about the phone … when i did it .. the phone restart it self and sticking in the welcome screen for the cyanogenMod…and i don't have any back up before…and i have a lot important emails and numbers that i don't want to lose it what ever it happens…..please help me with this brother
meshalSM said:
i have the cyanogen room and it was working well…and then,they create a new update for the room…when I'm install it .. the playstore it doesn't work anymore .. so i tried to return to the old version by the sitting > about the phone … when i did it .. the phone restart it self and sticking in the welcome screen for the cyanogenMod…and i don't have any back up before…and i have a lot important emails and numbers that i don't want to lose it what ever it happens…..please help me with this brother
Click to expand...
Click to collapse
Just to clarify do you mean it's gets stuck on the Cyanogenmod Bootanimation or the Setup Wizard welcome screen when you first setup the phone after wiping it or installing a new ROM? Do you have adb debugging enabled (Under Developer Options in System Settings)? Because if you do then you can use that to pull files from your device. Otherwise what you try doing is booting into recovery and trying ADB through recovery to see if you can access it that way, another suggestion would be in recovery mode to do a NANDROID backup of your current setup and then transfer the backup to your computer, extract the userdata.img from the NANDROID backup, and then use Linux to view the content of the userdata.img file (This would be a decent place to start). Otherwise I'm afraid you may be out of luck.

[Q] Wondering if i can do this

I have a Verizon droid RAZR that the screen has cracked in many places. I have bought a new phone and have no plans for ever using this as a phone. What I would like to do is install a ROM over the stock one, not dual boot both. I was also wanting to get rid of all of the phone stuff, no Verizon apps, no SMS, and no phone logs. I would use this like a tablet and would love to save as much space as possible. I don't need the moto docks (I don't have one). Basicly strip this thing down to just bare necessities. Is it even possible to do this? If so is there a ROM that gets great battery life? Thanks for reading my question.
Nomad7801
You can flash ROM on your stock slot and then delete the useless apks.
Try any AOSP ROM. It should work fine.
Tapatalk with RAZR HD
I have downloaded tonyt's aokp rom. I have extracted the rom to its own folder and have looked at the apps in the app folder. System>app. I am not sure which of these I can get rid of. I would like to get ride of anything that is VZW or phone related just keeping maybe the contacts. I dont know what apps should be gotten rid of with out breaking the rom. Sorry I'm a noob. All I have done was flash a few roms, never tried to remove apks before. Do I need a cellphone broadcast for location services like maps and for the in browser location? I have safestrap installed. It will not let me flash a rom over stock rom. I am trying to find a way to get cwm or twrp installed instead.
ok bricked my phone. Device would restart and get the red moto logo, then nothing, blank black screen. rebooted the phone and could not get to safestrap. Used Matt's utility to install jb and reroot phone.
The procedure that I used to install the rom on my stock image is as follows:
1. copied rom zip to micro sd card
2. booted to safestrap
3. wiped cache, delvic, and system
4. installed rom zip through safestrap
5. no errors got success
6. reboot got nothing
I think anything could still happen even if SafeStrap didnt indicate any error after installation, that's why backup is important, also this ;
ChungHung.Chen said:
Notice 2 - MAKE SURE you see "Update partition detail...." in SafeStrap log console before you press "Reboot System" or you will not get boot!
Click to expand...
Click to collapse
Just sharing what I heard
Cheers
nomad7801 said:
ok bricked my phone. Device would restart and get the red moto logo, then nothing, blank black screen. rebooted the phone and could not get to safestrap. Used Matt's utility to install jb and reroot phone.
The procedure that I used to install the rom on my stock image is as follows:
1. copied rom zip to micro sd card
2. booted to safestrap
3. wiped cache, delvic, and system
4. installed rom zip through safestrap
5. no errors got success
6. reboot got nothing
Click to expand...
Click to collapse
You will need to do a complete wipe when flashing a new ROM, including /data.
Use latest SS. And make sure the ROM is compatible with the latest SS.
neo.ank said:
You will need to do a complete wipe when flashing a new ROM, including /data.
Use latest SS. And make sure the ROM is compatible with the latest SS.
Click to expand...
Click to collapse
How do I format the internal storage? I have about 3 roms I have running and I have games and apps that I have uninstalled that left behind folders in root folders and some apps that did not get uninstalled also left behind some data. I tried doing a factory reset and also tried using safestrap to wipe internal but it fails. I made a folder in my system folder and put 2 pics in it then factory reset, wiped system data, and checked every box in the advance wipe options and that folder (along with the others) are still there.
nomad7801 said:
How do I format the internal storage? I have about 3 roms I have running and I have games and apps that I have uninstalled that left behind folders in root folders and some apps that did not get uninstalled also left behind some data. I tried doing a factory reset and also tried using safestrap to wipe internal but it fails. I made a folder in my system folder and put 2 pics in it then factory reset, wiped system data, and checked every box in the advance wipe options and that folder (along with the others) are still there.
Click to expand...
Click to collapse
Every slot has its own /data partition.
After you activate a slot, wipe /data along with system and cache.
That is called full wipe. It will remove all your apps,files and user settings will be deleted.
Then flash your desired ROM.

[Q] Doubts about android 8.1

Yesterday I installed a ROM (Unofficial Resurrection Remix) thanks to EndLess and it seemed great, really very good work with the system. But when I went to restore the original rom of the phone "TWRP" asks me for an unlock pattern, after putting it and restoring the original system image, I am ready to boot the system. The system starts well, but asks me for the same pattern to start the boot. Then the loading process continues and I get to the part of setting the unlock pattern to start Android. Here's my problem, the pattern I used is the same one that I used the previous 2 times and it does not work.
Therefore I have 4 questions:
1- Is it possible to delete the encryption of the phone and leave it as it was before installing Android 8.1?
2- Is it possible to access my previous system?
3- I noticed that this room does not come with root activated, is it possible to root the ROOM?
4- If I put a new unlock pattern, will the current one be overwritten in the encryption or will the phone simply not find a way to boot and I will have a beautiful paperweight?
Thanks in advance.
Please forgive my English, it is not my native language
brito9112 said:
Yesterday I installed a ROM (Unofficial Resurrection Remix) thanks to EndLess and it seemed great, really very good work with the system. But when I went to restore the original rom of the phone "TWRP" asks me for an unlock pattern, after putting it and restoring the original system image, I am ready to boot the system. The system starts well, but asks me for the same pattern to start the boot. Then the loading process continues and I get to the part of setting the unlock pattern to start Android. Here's my problem, the pattern I used is the same one that I used the previous 2 times and it does not work.
Therefore I have 4 questions:
1- Is it possible to delete the encryption of the phone and leave it as it was before installing Android 8.1?
2- Is it possible to access my previous system?
3- I noticed that this room does not come with root activated, is it possible to root the ROOM?
4- If I put a new unlock pattern, will the current one be overwritten in the encryption or will the phone simply not find a way to boot and I will have a beautiful paperweight?
Thanks in advance.
Please forgive my English, it is not my native language
Click to expand...
Click to collapse
As it seems that you encrypted your device somehow by chance.
1. Before installing any rom you have to format your data First. That'll Remove the pattern.
2. Accessing the old system depends upon your access. If you are now encrypted then no actually.
3. Yea just flash magisk zip and the rom will be rooted.
4. Expect an out of the world paper weight.
MyNameIsRage said:
As it seems that you encrypted your device somehow by chance.
1. Before installing any rom you have to format your data First. That'll Remove the pattern.
2. Accessing the old system depends upon your access. If you are now encrypted then no actually.
3. Yea just flash magisk zip and the rom will be rooted.
4. Expect an out of the world paper weight.
Click to expand...
Click to collapse
Thanks for the quick response, would you be so kind as to explain to me what do you mean by "format your data first"?
You mean to delete all the partitions of the phone and install everything from 0 ??
How am I supposed to do that? I have a save from the previous system, I told "TWRP" to save all the partitions in my phone. If I restore that backup, will my device be decrypted?
brito9112 said:
Thanks for the quick response, would you be so kind as to explain to me what do you mean by "format your data first"?
Click to expand...
Click to collapse
Boot to TWRP, and select "Format data". You will lose all your data, plus the contents of your internal SD - but the encryption will be gone. You should back up your internal SD (either to an external SD drive, or your PC, etc) before trying any of this. I hope you have backups of your data.
DarthJabba9 said:
Boot to TWRP, and select "Format data". You will lose all your data, plus the contents of your internal SD - but the encryption will be gone. You should back up your internal SD (either to an external SD drive, or your PC, etc) before trying any of this. I hope you have backups of your data.
Click to expand...
Click to collapse
Thanks for answering, i will try your method in a few minutes, by the way, with format you mean wipe data partition, right?
brito9112 said:
Thanks for answering, i will try your method in a few minutes, by the way, with format you mean wipe data partition, right?
Click to expand...
Click to collapse
When you select "wipe" on main menu. There will we two options at bottom. One will say "Format data" and another will say "Partition" select format data. It will open a new screen saying that format data will delete all the data and Remove encryption. Type yes and continue. However backup your data before doing this. Better copy the files using mtp from recovery or system.
MyNameIsRage said:
When you select "wipe" on main menu. There will we two options at bottom. One will say "Format data" and another will say "Partition" select format data. It will open a new screen saying that format data will delete all the data and Remove encryption. Type yes and continue. However backup your data before doing this. Better copy the files using mtp from recovery or system.
Click to expand...
Click to collapse
I saw that option later, thanks to all who help, my system was recover. The only strange thing was the lock pattern. I delete from /data/system/ this 2 files, "gatekeeper.password.key" and "gatekeeper.pattern.key". Use TWRP as file manager and my phone good as new.

Categories

Resources