Hi, I should move an app to system. I wanted to do it through Link2SD, but the problem is that the system partition is full ("USB disk").
so my question is how do i do it? is there an alternative way or do i have to do a partition resize? if so, how do i do it?
Gigi534 said:
Hi, I should move an app to system. I wanted to do it through Link2SD, but the problem is that the system partition is full ("USB disk").
so my question is how do i do it? is there an alternative way or do i have to do a partition resize? if so, how do i do it?
Click to expand...
Click to collapse
Isn't system protected from writing anyways, regardless of root?
You could write a magisk module to avoid installing the app on /data
Begin -> Right-click Computer -> Manage. Locate Disk Management under Store on the left, and click to select Disk Management. Right-click the partition you want to cut and choose to Shrink Volume. Tune a size on the right of entering the amount of space to shrink. you can also check out mining fleet management systems,
Related
Hello,
With the limited space on Optimus One I decided to try out Link2SD app. I was able to partition my SD card and Link2SD created the script. After reboot I tried linking some of my apps to SD (EasyMoney, Solid Explorer Beta2, Swype Installer and Swype). The first app (Solid Explorer) linked the app file, and delvic cache fine. Every app after that game me error: "Failure. mkdir failed for /data/sdext2/dalvic-cache, File Exists". Also, when I filter it to show only the linked apps even the first app isn't listed.
If I move only the app file it is successful, but every app force closes. Rebooting the phone simply forgets that I even had the applications installed (even after quick reboot). Finally removing the link does absolutely nothing. My guess is that the app never properly linked apps in the first place resulting in the app going into a 'limbo'. Now I have used some space in my SD partition and can't use the app or reclaim the space.
I am new to all this, but am researching what my fault is. Can someone point to what am I doing wrong? How do I get link2SD to simply move my apps to the partition to free up my internal space.
In a nutshell:
1. First app successfully moved, but link2SD still shows no apps are listed. Subsequent apps cannot be moved since dalvic-cache folder (or file) already exists).
2.. Moving only the app data results in FC. Rebooting results apps disappearing with no way to reclaim the used space.
How did you partition your SD card, and how is it formatted? Any other partitions on the card?
The SD card currently has two FAT32 partitions, both set as primary. Partitioned is using Minitool Partition Wizard.
Typically, the 2nd partition is formatted as ext2/3/4. If for some reason you need both partitions to be FAT, there's a setting in link2sd where you can specify that the 2nd partition is FAT. This is important because link2sd makes a script which is run when you boot up your phone, which mounts the partitions appropriately.
sorry if Out Of topic.
but anyone can tell me.
how to use link2sd.,.?
btw i'am using PARANOIDROID custom rom now.
SaveeOztra said:
sorry if Out Of topic.
but anyone can tell me.
how to use link2sd.,.?
btw i'am using PARANOIDROID custom rom now.
Click to expand...
Click to collapse
If you have second partition on SD the Link2SD moves apps to sd-ext.
When starting the first time, make sure to select the correct filesystem. CWM makes ext4 I think..
If you are already by that with incorrect partition, go Options=>More=>Recreate mount scripts.
I recommend to activate Auto Link in settings to have no need to worry about apps being linked.
I think that's all what you need, if you are basic. I have done that too.
Ok so I went ahead and created the USB flash restore disk for my Surface Pro 64 and all that, I have a new partition now of about 7.81 GB. Now the issue I face is I don't want this extra partition, I want to add it to the current 50GB C partition, and in any normal windows computer it's allowed, why is it not so in the Surface Pro? Is it the location of the partitions? Is there any sure way to delete every single partition except the C partition in order to get this done?
If you don't know what I'm talking about these are the steps to do this:
http://www.petri.co.il/increase-storage-surface-pro-recovery-usb.htm
Now if anyone has a 3rd party program that can do this for free that would be great, the built in Disk Management application doesn't allow you to do so.
Thanks,
Mike
I don't have a Surface Pro, but the *usual* arrangement is that, after the boot partition, the system drive is then followed by the backup partition. To use that, you should just be able to delete the backup partition (don't create a new one; just delete it entirely) and then Extend the system volume into that space. This does, however, require that the system volume be placed immediately in front of (before) the recovery partition that you're deleting. If there are any other partitions in between, you'll need to delete them too. If the recovery partition was located before the system volume, you can't do this at all while Windows is booted. My approach at that point would involve an external hard disk (to have room to store the backup image of the system volume, although a sufficiently large flashdrive or microSD would work too), a portable Linux installation or live image (may need to disable Secure Boot), and either moving or re-building the system volume to start at the beginning of the space you just freed up.
Yea, I know exactly how to do it, it just in fact will not let me do it. I have attached some images as proof. If you try to delete any of the 3 small partitions the only right click option shown to you is "Help" and the C & D partitions can only shrink, no Extend. I've deleted D before and C still couldn't extend because of the one partition in between that I can't delete. Maybe there's a program that can override this limitation.
Thanks.
DISKPART from an elevated command prompt?
I used it on a flash drive but I didn't see an option for individual partitions.
Hmm http://technet.microsoft.com/en-us/library/cc766465(v=ws.10).aspx
Diskpart.exe has an interactive mode with excellent help information. Typing "help" into it, optionally followed by a command, will give you information about the commands (or the specific command and its sub-commands).
The general procedure, including abbreviations you can use instead of the full commands:
diskpart
lis dis (List disks)
sel dis 0 (Select Disk 0; modify if needed)
lis par (list partitions of the selected disk)
sel par 4 (again, adjust as needed)
del par override (the "override" part should let you delete any partition type, so long as it isn't critical to system operation)
From this point on, you can use diskmgmt.msc if you want to.
Sorry to bring back a solved thread, but is this partitioning normal? I had the same thing and was concerned my tablet was returned after someone installed osx. Did you do anything like that to end with that partitioning? Did you upgrade to 8.1 before seeing this partition table?
Thanks for the help. Im trying to figure out if i need to return it to BestBuy.
As I know, in your case, you can have two ways to go on:
1). Back up everything important well, shrink other partition with free space and click “Extend” option by right clicking C drive in Disk Management.
2). Apply a tool to help you. If the firstly way cannot work for your computer, you also can learn to extend your partition by using some partition resizing tool like GParted, IM-Magic Partition Resizer Free, Active Partition Master and more.
No matter which one you choose to use, you’d better make data backups well in advance in case of data loss.
Sorry to necro bump, but this happened to me on a brand new surface pro I bought (300$ on ebay couldn't say no)
I removed the recovery to get the 8 gigs back after upgrading to 8.1 and had to use diskpart to remove partition 5 which was a 450mb recovery between my C and my New Volume. once removed, I deleted the new volume and all 8.x gbs of space was added back to my C drive.
happy happy happy
Got a 128gb sd card, changed the libraries to pool from the D: drive and alls good here
Sorry to necro bump, but this happened to me on a brand new surface pro I bought (300$ on ebay couldn't say no)
I removed the recovery to get the 8 gigs back after upgrading to 8.1 and had to use diskpart to remove partition 5 which was a 450mb recovery between my C and my New Volume. once removed, I deleted the new volume and all 8.x gbs of space was added back to my C drive.
happy happy happy
Got a 128gb sd card, changed the libraries to pool from the D: drive and alls good here
Click to expand...
Click to collapse
What is the command line in diskpart to remove partition 5?
Sent from my SGH-I747 using xda app-developers app
Run command as admin
Disk part
List disk
Select active disk
List partition
Note the 450mb recovery part
Delete partition x (probably 4 but double check)
If it fails (probably) read the error there will be an override command: delete partition x noerr override
This will prevent the system from rejecting the delete.
You can then delete the 8 GB partition as well using the same command and you should have a bunch of free space. You can use diskpart or disk manager to add that to your C
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
Sorry to bring up an old thread. I was wondering what the 4th partizione, the one between the main partition and the recovery partition we have now free, contains. Can I delete it with no consequences or not ? Thanks
I have rom with swapped SD and local memory. I have fast, stable big[32gig] memory card. I have free space on each visible partition.
Is there any quantity limit of applications installed on the Android phones?
When I remove one app I can install another instead of that previous, if not I am getting errors about 'insufficient storage'
The size of removing apps doesnt mattrer - I have tried to delete big games and I cant install more than one small app.
Please let me know what should I check. Maybe I have overloaded any hidden partition?
thank you
xysen0 said:
I have rom with swapped SD and local memory. I have fast, stable big[32gig] memory card. I have free space on each visible partition.
Is there any quantity limit of applications installed on the Android phones?
When I remove one app I can install another instead of that previous, if not I am getting errors about 'insufficient storage'
The size of removing apps doesnt mattrer - I have tried to delete big games and I cant install more than one small app.
Please let me know what should I check. Maybe I have overloaded any hidden partition?
thank you
Click to expand...
Click to collapse
Partition for Google Play download data, kinda impossible to locate via stock file manager. Even my fresh Galaxy V (4GB) had this prob.
You may explore the whole storage module via root explorer or somewhat, or tweak the ROM to download any data to SD card.
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)
I'm trying different apps that claim they securely erase files and/or securely wipe free space on your phone. None seems to work on my phone so far with little exception from Secure Eraser (it sometimes results in unlisting erased photos in DiskDigger). I wonder if it is just with my phone (rooted). Does anyone had had the same problem and eventually succeeded?
I'm aware phone NAND memory is not SSD and does not have TRIM instructions, thus file shredding might be impossible to achieve but why free space wiping does not work, either? When saying an app does not work I mean the deleted files weighing 3MB each (JPEG pictures) are fully or partly recoverable using DiskDigger root scan of /data partition (the original pictures, not only their thumbnails hidden somewhere on /data partition). I tested each app's file shredding and free space wiping functionality only to find no alleged function works.
Apps I tried:
Andro Shredder
https://play.google.com/store/apps/details?id=com.apparillos.android.androshredder
iShredder 6 Standard
https://play.google.com/store/apps/details?id=com.projectstar.ishredder.android.standard
SDelete File Shredder
https://play.google.com/store/apps/details?id=com.vb2labs.android.sdelete
Shreddit Data Eraser
https://play.google.com/store/apps/details?id=com.palmtronix.shreddit.v1
Secure Eraser (free space wipe only app)
https://play.google.com/store/apps/details?id=com.aiuspaktyn.secureeraser
Secure Wipe (free space wipe only app)
https://play.google.com/store/apps/details?id=com.pinellascodeworks.securewipe
My phone's configuration:
Custom bootloader TWRP,
LineageOS 14.1 (Android 7.1.2),
Rooted (for apps and adb),
Internal storage fully encrypted (customized with third-party app),
/data partition is formatted using F2FS file system,
stock camera app (destination: Internal storage),
all erasers are granted storage permission,
DiskDigger is granted root access and performs root scan
DonKichot said:
I'm trying different apps that claim they securely erase files and/or securely wipe free space on your phone. None seems to work on my phone so far with little exception from Secure Eraser (it sometimes results in unlisting erased photos in DiskDigger). I wonder if it is just with my phone (rooted). Does anyone had had the same problem and eventually succeeded?
I'm aware phone NAND memory is not SSD and does not have TRIM instructions, thus file shredding might be impossible to achieve but why free space wiping does not work, either? When saying an app does not work I mean the deleted files weighing 3MB each (JPEG pictures) are fully or partly recoverable using DiskDigger root scan of /data partition (the original pictures, not only their thumbnails hidden somewhere on /data partition). I tested each app's file shredding and free space wiping functionality only to find no alleged function works.
Apps I tried:
Andro Shredder
https://play.google.com/store/apps/details?id=com.apparillos.android.androshredder
iShredder 6 Standard
https://play.google.com/store/apps/details?id=com.projectstar.ishredder.android.standard
SDelete File Shredder
https://play.google.com/store/apps/details?id=com.vb2labs.android.sdelete
Shreddit Data Eraser
https://play.google.com/store/apps/details?id=com.palmtronix.shreddit.v1
Secure Eraser (free space wipe only app)
https://play.google.com/store/apps/details?id=com.aiuspaktyn.secureeraser
Secure Wipe (free space wipe only app)
https://play.google.com/store/apps/details?id=com.pinellascodeworks.securewipe
My phone's configuration:
Custom bootloader TWRP,
LineageOS 14.1 (Android 7.1.2),
Rooted (for apps and adb),
Internal storage fully encrypted (customized with third-party app),
/data partition is formatted using F2FS file system,
stock camera app (destination: Internal storage),
all erasers are granted storage permission,
DiskDigger is granted root access and performs root scan
Click to expand...
Click to collapse
Because deleted data is not actually deleted, it is only "marked" to be overwritten the next time the device needs to write/save data, in the meantime, the data is still "there", it's just being ignored by the system. The only way to really do what you're looking for is to actually format the whole partition(which wipes everything in that partition), you can't just format the "free" space at the "end" of the partition/drive.
Android doesn't work the same as PC, you seem to be trying to treat your android device the same as you would your PC. There is not that much similarity between them, they are pretty much their own different worlds.
But, you're in luck because there is this
https://android.gadgethacks.com/how-to/delete-files-android-so-they-cant-ever-be-recovered-0169550/
It kinda does what you're looking for but in a different manner.
Sent from my LGL84VL using Tapatalk
Droidriven said:
Because deleted data is not actually deleted, it is only "marked" to be overwritten the next time the device needs to write/save data, in the meantime, the data is still "there", it's just being ignored by the system.
Click to expand...
Click to collapse
I get it but this is why Secure Eraser (brought by an xda dev Giuseppe Romano - https://labs.xda-developers.com/store/app/com.aiuspaktyn.secureeraser) works in a proper way writing dummy data to the partitions so all the free space on the physical internal card is being overwritten. It means Android gives you a warning you're running out of free space, stops the app and you have to click on the app again so it can proceed up to 100% of internal memory's free space. Still, it works only sometimes - the later you use it after deletion the smaller chance of success you get. I guess it's worth **** cause wiping is actually being done on /data's free space which doesn't mean you wipe all internal memory card's free space (let's call it a PC hard drive). There is still free space located on other physical partitions (Boot, Cache, Recovery, System, Vendor).
Fu*k it - I may have just answered myself. Where is an Android app for a rooted device doing wiping free space properly (wiping the whole internal card's free space), Anyone? A solution related to TWRP, adb command, perhaps? We need a decent [email protected] Kill Disk for Android, guys - nothing works at the moment.
DonKichot said:
I get it but this is why Secure Eraser (brought by an xda dev Giuseppe Romano - https://labs.xda-developers.com/store/app/com.aiuspaktyn.secureeraser) works in a proper way writing dummy data to the partitions so all the free space on the physical internal card is being overwritten. It means Android gives you a warning you're running out of free space, stops the app and you have to click on the app again so it can proceed up to 100% of internal memory's free space. Still, it works only sometimes - the later you use it after deletion the smaller chance of success you get. I guess it's worth **** cause wiping is actually being done on /data's free space which doesn't mean you wipe all internal memory card's free space (let's call it a PC hard drive). There is still free space located on other physical partitions (Boot, Cache, Recovery, System, Vendor).
Fu*k it - I may have just answered myself. Where is an Android app for a rooted device doing wiping free space properly (wiping the whole internal card's free space), Anyone? A solution related to TWRP, adb command, perhaps? We need a decent [email protected] Kill Disk for Android, guys - nothing works at the moment.
Click to expand...
Click to collapse
The thing that makes it tough to have a good tool to do this on android is the way android is partitioned and how permissions and read/write works in android, along with certain proprietary motivated hardware/software blocks implemented by manufacturers and carriers.
Sent from my LGL84VL using Tapatalk
Reviews on play store confirm that secure eraser isn't working. Disk digger still finds files. Don't trust it.
willpower102 said:
Reviews on play store confirm that secure eraser isn't working. Disk digger still finds files. Don't trust it.
Click to expand...
Click to collapse
The app was bought by Mobile Safe Apps, they probably destroyed it. You can still get the apk from the xda dev Giuseppe Romano - https://labs.xda-developers.com/store/app/com.aiuspaktyn.secureeraser. Thanks DonKichot.