[Q] Is it possible to resize data and sdcard partition on XL? - Sony Xperia L

Hey, I'm a newbie and I wonder if this can be done. I've searched on the web if is it possible to expand the data partition (and shrink sdcard) to have more space for apps and I found a thread where is explained for an LG device and device's partition file (/proc/partitions/) is shown. In xperia L is something like in the attachment, where I think mmcblk1 and mcblk1p1 are data and sdcard partitions. So.. is it possible to do?, and if it is, a ROM can be flashed with no compatibility problems? Thank you for reading... Sorry for my english...:silly:

Related

[Q] Internal memory?

I've been reading into this topic for two days now, and I still did not have what I need.
From the installer scripts, and such, I saw that almost every partition is mounted as /dev/block/mmcblk0p[n]. But teardown images show that the Transformer actually got a built in NAND memory(Kingston 16/32GB), not an internal SD.
So, my question is, which one is correct? Is it an SD card, a NAND chip, or what?
I think both are correct. I think there are 2 partitions on the nand, one for the os and the other one acts as an internal sdcard. Because when you wipe and factory reset the system, all the data on the internal storage are preserved.
Then why is the system partition referred as /dev/block/mmcblk0p1, and such? Staging can be understood, as it is the easiest to refer as such partition, but system, etc, are totally unnecessary, mtd partitions would be the most AOSP way :S
I mostly need this info as I'm setting up a CyanogenMod device tree, and for that there is a new switch (BOARD_HAS_INTERNAL_SD), and for that I have to decide how to go with...
Sorry I can't help you more. I'm just assuming. Hope someone can help you better.
RK3066 data sheet brief
fonix232 said:
I've been reading into this topic for two days now, and I still did not have what I need.
From the installer scripts, and such, I saw that almost every partition is mounted as /dev/block/mmcblk0p[n]. But teardown images show that the Transformer actually got a built in NAND memory(Kingston 16/32GB), not an internal SD.
So, my question is, which one is correct? Is it an SD card, a NAND chip, or what?
Click to expand...
Click to collapse
Could this help maybe?
HyperTextTransferProtocol://tabreview.ru/content/pdf_docs/RK3066_datasheet_brief.pdf

[Q] How to resize/recreate /system and /data partitions?

With all the lighter custom ROMs we have today, the default huge /system partition we have in the O3D is a waste of space. Same with the /data partition. For those who don´t know, both /system and /data (and other smaller ones) are actual internal SD Card space!
That´s why we have LG specs saying we have 8GB of internal flash storage, when in fact we have just 5.5GB available.
So my question is: is there a (safe) way to wipe all internal SD partitions and then recreate them with more appropriate sizes, earning back all the wasted space?
Thanks a lot!
Marcovecchio said:
With all the lighter custom ROMs we have today, the default huge /system partition we have in the O3D is a waste of space. Same with the /data partition. For those who don´t know, both /system and /data (and other smaller ones) are actual internal SD Card space!
That´s why we have LG specs saying we have 8GB of internal flash storage, when in fact we have just 5.5GB available.
So my question is: is there a (safe) way to wipe all internal SD partitions and then recreate them with more appropriate sizes, earning back all the wasted space?
Thanks a lot!
Click to expand...
Click to collapse
Have you read about data2ext? I think it would be a very good solution to us.
Sent from my LG-P920 using XDA App
Thanks for the reply, ThiaiZ!
However, I think I´m looking for something different: as far as I know, data2ext changes the /data partition pointer to external memory (SD Card), so the original /data partition will never be used by the OS, and it´s space will be wasted, right?
I would like to find a way to get this wasted space back! If we could repartition /system, /data, /cache, to smaller sizes, we would have more storage space for stuff on the internal SD. Does it make sense? Thanks!
Well, since I had no solutions here, I would like to post some examples of this for other phone models:
MyTouch 3G Slide - http://forum.xda-developers.com/showthread.php?t=893706
LG GT540 - http://forum.xda-developers.com/showthread.php?t=1171531
The MyTouch 3G Slide thread is particularly good because it explains in detail how to check the partition sizes, and shows how much space is wasted on the /system partition.
Marcovecchio said:
Well, since I had no solutions here, I would like to post some examples of this for other phone models:
MyTouch 3G Slide - http://forum.xda-developers.com/showthread.php?t=893706
LG GT540 - http://forum.xda-developers.com/showthread.php?t=1171531
The MyTouch 3G Slide thread is particularly good because it explains in detail how to check the partition sizes, and shows how much space is wasted on the /system partition.
Click to expand...
Click to collapse
Don't we have to be s-off to be able to resize the partitions ?
I did it a lot on my HTC Desire.
BTW do you have any idea in which block data and sd-ext are mounted on our device ?
I believe the S-OFF flag exists only in HTC devices. I read that somewhere here, at XDA. The guy seemed to know what he was talking about, and he said LG never implemented any kind of protection like S-ON / S-OFF.
About the block names, I believe you can list the blocks and the partition names they´re mounted as, with the "df" command. I know almost nothing about Linux, and even less about how Android manage it´s partitions, but that would be nice to be able to tweak their sizes...
LG GT540's partitions can easily be resized by flashing an MBN file. Don't know if this phone can get that done too
http://forum.xda-developers.com/showthread.php?t=1171531
Don't try resizing partitions.
You'll brick your phone.

[Q] Resize internal partitions

Hi,
This has been asked many times before with no real solution that applies to different devices.
I'm running out of space on my /system partition and can't install any more apps even though I don't have that many installed.
I want a way to re-size the Android partitions manually to whatever size I want. Or just delete all current partitions and create new ones.
How do I do that? Is there any GUI partitioning tools similar to the ones available for Windows?
I don't want to move files from /system to another partition. I want to change the partition size.
My current /system partition:
For what reason are you moving apps to /system? You can't install them there, you have to push/move them there, installs go to /data. So keep them in /data, where they're installed by default. You have tons of space available there.
Partition table (start addresses and sizes) is hard-coded in bootloader, and can be redefined in kernel boot parameters (in this case recovery needs to be recompiled with the same parameters too, otherwise it won't write to the same partitions the kernel will read from). You're welcome to hack any of those. As you could probably understand from this paragraph, I wouldn't expect having GUI tools for that.
Thanks for the reply.
I'm not trying to move apps to /system. I thought apps are installed there by default because every time I try to install a new app it gives me an error message saying that there is not enough space on /system.
Now I know that apps are not installed in /system.
I just need more space in /system so I can install new apps without any errors.
What can I do to get more space on /system partition? Can I replace the bootloader?
I don't have any Android programming experience. I probably need something that is available out there to do the job.
In stock form, you shouldn't even have write permissions to /system. Nothing should be ever written there, and it can be 99.99999% utilized - there shouldn't be any free space left for anything, it shouldn't normally be used.
If you're getting that error when trying to install an app - you need to check what's reporting the error. It's not a "real" error, it means there's something wrong with your phone.
Try wiping cache partition from recovery...does this make any difference?
Jack is correct.
Swyped from my DesireS
refer to this
if this may help you http://forum.xda-developers.com/showthread.php?t=1959691
:highfive:
mayank88288 said:
refer to this
if this may help you http://forum.xda-developers.com/showthread.php?t=1959691
:highfive:
Click to expand...
Click to collapse
Way to bump a year old thread :thumbup:
“I'm bad and I'm going to hell, and I don't care. I'd rather be in hell than anywhere where you are. ”*―*William Faulkner

[Q] Resizing active partitions

Is it possible to resize active partitions/
I am running Stock JB on sytem1 and ParanoidAndroid 4.3 on ssytem 2 (this is my primary system). Prior to ROM flashing I created (3) 1GB partitions for each system. Now my Data partition for system 2 is at 100MB even after I moved every app I could to the SD card. Every thread I looked at said 1GB was more than enough for a data partition so I cannot understand how I've run out of space. Perhaps I am not using the partition structures correctly. Anyway, I was hoping to resize an active partition the same way I have with Partition Magic when resizing a Windows drive partition. Thanks for any replies.

[Completed] How to reduce the size of SDcard0

I've just flashed my first rom (cm13 taoshan). Its working particularly fine, I use Xperia L C2104. I have 6gigs of storage after flashing and all. When opening the storage . It shows that i have only 1.57 for apps and rest is in sdcard0. I dont know what it is exactly. Can I reduce its size?? I found out after googling that its a part of the internal storage. Please instruct in detail. I am a beginner.
THANKS
Hi !
There is a way to resize this partitions , the sdcard0 which is the user`s space where you can put your apps and personal files and system partition where the operating system goes installed along with its system apps
But I don`t recommend as each device has a particular partition table and not all devices allows this change
You particular device should have 5.8 gb available but most probably you have other stuffs in you device and only 1.6 is available
So no , you can`t do anything , that`s the device limitation so you must leave with it
Her is a bad experience os someone who tried https://forum.xda-developers.com/xperia-l/help/hardbrick-brick-formating-internal-sd-t3461878
Cheers !

Categories

Resources