Partition the internal memory for separate storage - Xiaomi Mi Mix 2 Questions & Answers

Is it possible to partition the internal memory of the mi mix 2 into two separate parts? One partition acts like the current internal memory and the other partition acts like a Sdcard so that when I format data only the internal memory part is wipe out but not the Sdcard part. If the answer is positive, how can I do it. Thanks for your answer.

Good Question Bro.. hope someone has an answer without disturbing our MIUI update..

I was wondering the same the other day, hopefully someone can explain if it's possible

ShadyGame said:
I was wondering the same the other day, hopefully someone can explain if it's possible
Click to expand...
Click to collapse
The information in the following website seems to indicate that it is possible to create a simulated sdcard in the internal memory
https://source.android.com/devices/storage/config-example
However I am not a programmer on android so I am not sure that I understand the information provided correctly nor do I know how to program it.

Related

[Q] Quick question about A2SD+

Hi guys. I know the answer must be hidden somewhere but I have to make a quick decision about buying a Desire (I have a short term offer). So if I have a new Desire and I root it etc, then I should make a partition on the card of 512MB, using lets say Rom Manager. Then if I install a ROM containing A2SD+ , I should be able to install all the apps I want without worring about the internal storage, correct? Am I missing something?
Thank you very much ffor your time.
The internal storage memory will still go down in size as some of the stuff still gets put in there. It just won't go down as much (or as quick) with A2SD+ enabled.
sh500 said:
The internal storage memory will still go down in size as some of the stuff still gets put in there. It just won't go down as much (or as quick) with A2SD+ enabled.
Click to expand...
Click to collapse
And is it enough to have the generic rom from the Kitchen, containing A2SD?

[Q]How can I extend the System storage (memory) ?

Hi,
as everybody have noticed Samsung has integrated into their firmwares 3 storage locations:
System storage (1GB)
USB storage (or internal SD card) (1.7GB)
SD card (or external SD card) (up to 32GB)
A way how to swap USB storage and SD card is already given.
Like most of you gamers have already noticed, the memory of the internal SD card is often too small to download big games (like NFL 2012, Real Football 2012, etc.)
I know there are ways how to swap or use apps to swap temporarily the directions.
But I want a permanent solution with full capability of storage usage.
So here is what I would like to do:
Change the storage to:
System storage (2,7GB)
SD card (up to 32GB)
So basically extend the system storage and delete the USB storage. Than swap the internal SD and external SD card.
Advantages:
Media Server will only have to search one direction(physical SD card)
Only 2 main directions
SD card direction IS a physical SD card.
SD card, if class 10, is quicker than the internal storage(for apps).
Hope someone can help.
greets
THE-E
Sounds like a good plan.....I never can understand the Samsung memory/storage layout..... even for app devs deciding on /sdcard as default data store.....Samsung just breaks defaults.
Has your plan been tried on any other Samsung model.....or other Androids with the same Internal/External layout??
Sent from my GT-I8150 using Tapatalk
irishpancake said:
Sounds like a good plan.....I never can understand the Samsung memory/storage layout..... even for app devs deciding on /sdcard as default data store.....Samsung just breaks defaults.
Has your plan been tried on any other Samsung model.....or other Androids with the same Internal/External layout??
Sent from my GT-I8150 using Tapatalk
Click to expand...
Click to collapse
I have been searching for quite some time. I have seen someone writing about a data.ex4 file which was 4GB big. But not sure what it was used for.
I'll dig a bit deeper into that :-D
greets
THE-E
Do u mean u want to merge the system and usb storage into one...?
sent from another space
jahlee said:
Do u mean u want to merge the system and usb storage into one...?
sent from another space
Click to expand...
Click to collapse
Yes thats the plan :-D. But I have no clue about the internal restrictions of Android and the Samsung firmware.
I think if the extension of the system storage would work, than all we have to do is swap internal and external sd card. And keep the small internal(former internal sd card) partition unmounted.
BTW: My system storage has almost full. 850MB/1.07GB
greets
THE-E
I hve no idea too bro...can't help..
Many new devices around here use this three layer storage...
But,what I thought ,when we succes do this..there's no need to swap I think..
sent from another space
So I have searched and searched ...
Didn't come veeery far, but atleast found a thread with a similiar concern:
http://forum.xda-developers.com/showthread.php?t=1398797
This is for the Galaxy Mini.
I asked the developer or thread starter, whether he can help us out.
Let's wait and see, hopefully he comes around.
EDIT: Doc_cheilvenerdi.org has replied, and is working on a solution. Hope it is going to work .
greets
THE-E
good i'm very interested
Dang...good news...!!
sent from another space
A hell of a news! Will keep on referring this thread. Good day!
u juz go into the android market and download this app called "Gl to Sd"...after install u can save ur game data on the external sd with this...enjoy
shan1188 said:
u juz go into the android market and download this app called "Gl to Sd"...after install u can save ur game data on the external sd with this...enjoy
Click to expand...
Click to collapse
Only Problem is, if the game is bigger than the internal sd space, you won't be able to download to sdcard. Because the procedure is like this:
Download game to internal SD -> move downloaded files to external SD
So you SD card has to be always free, unless you want to use the swap temporarily.
greets
THE-E
how about this one http://www.jayceooi.com/2011/10/02/how-to-move-gameloft-games-data-to-external-sd-card/
Update
I am in contact with Doc_cheilvenerdi.org, so I just want to give you a small update of the more or less current status. It might inspire some other devs.
So this was the second to last message (obviously with the kind permission of Doc_cheilvenerdi.org):
Doc_cheilvenerdi.org said:
THE-E said:
...I have contacted qzem for the source code of the kernel...
Is there anything else missing or what I can do to help?
Click to expand...
Click to collapse
I'm here!
From a full firmware I just figured out that we don't need Kernel source because the ext4 kernel modules are already inside the Stock kernels (really good news)...
Now I'm dealing with the AOSP mkbootimg tool, used to repack the boot image after tweaking it...
It seems that they use a slightly modified one (? it should not occurr)...
I find two main differences... the first one is Solved... I can patch the mkbootimg code myself to use it...
The second one is related to 2 hex pages (4096 * 2 byte) of code at the end of the boot image that I cannot handle...
...anyway I don't know how to handle it...
Actually I cannot test modded images myself (I don't own a I8150) and could be dangerous to ask somebody else to do it for me...
Two questions to you:
1) Your Galaxy does have a fixed partition table, right? just to exclude that those codes are sizes and addresses of system parts... (this could be easy for us)
2) can you post me the output of the command (from adb shell or terminal emulator)
# busybox ls -l /dev/block/
while you have the sdcard slotted in?
After that I can prepare a boot image smaller (and NOT tweaked yet) just to not overwrite the code "I don't know what it is"...
but it's up to you to test for it...
...maybe it could not work...
...I will couple the repacked boot image with the original one, anyway, just to revert easy to it in case of troubleshootings...
but I repeat... it's up to you...
Click to expand...
Click to collapse
greets
THE-E
This is a nice idea.
Ty for Keeping us updated m8
Hey guys any news on this? I think another good reason for this is that it will hopefully increase the amount of ram available, at this minute I have 87 mb free And hardly any apps open. So any news on this as it would be really helpful?
Jamie
jamidodger1 said:
Hey guys any news on this? I think another good reason for this is that it will hopefully increase the amount of ram available, at this minute I have 87 mb free And hardly any apps open. So any news on this as it would be really helpful?
Jamie
Click to expand...
Click to collapse
As far as I understood this solution would let you better use your memory card and system/app space, but I don't think it would increase at all the amount of RAM available, unfortunately...
Anyway, yeah, keep us posted thanks!
hey THE-E
is thr any news abt this post cuz i really wanna extend my app size without having to swap memories or installing apps to external memory (all i wanna do is get 2.7 GB on 1 partition for app installation )
mosta_9741 said:
hey THE-E
is thr any news abt this post cuz i really wanna extend my app size without having to swap memories or installing apps to external memory (all i wanna do is get 2.7 GB on 1 partition for app installation )
Click to expand...
Click to collapse
Unfortunately not. Not sure what the reason was, but there was a misunderstanding and after that there was no further reaction from the developer. I guess it was not possible.
greets
THE-E

Moving data partition to SD card?

I found this file:
http://dinc.does-it.net/EXT4_Mods/Mount_Cache_And_Data_To_Sd_Partitions.zip
It seems like maybe it will move my data to the SD card to free up some space on internal storage. Anyone know if I'm correct about this?
What's low on space? /data/data or /emmc? In either case it won't do what you're hoping. Its only purpose is to allow you to boot a ROM when mmc storage gets corrupted. It doesn't free space anywhere. Also, I think this is a cmlusco mod.
Sent from my HTC One using Tapatalk 4 Beta
tiny4579 said:
What's low on space? /data/data or /emmc? In either case it won't do what you're hoping. Its only purpose is to allow you to boot a ROM when mmc storage gets corrupted. It doesn't free space anywhere. Also, I think this is a cmlusco mod.
Sent from my HTC One using Tapatalk 4 Beta
Click to expand...
Click to collapse
Fair enough.
I'm actually not low on space really but I've got all my apps installed to the emmc, which I have mounted as the SD card and I think a lot of the data for the apps may still be in the internal storage. I was hoping to swap it so the apps are installed on internal storage, like they usually are, but they read their data from emmc.
I'm not sure if that's possible but I figured I'd ask. Hopefully I was correct in my terminology; I don't really know a whole lot about android's file system.

[Q] Why oh FRIGGIN why cant I get apps to SD!

I will apologize in advance for acting the village idiot but i don't get it.
I have been running the script to swap my card for the internal memory.
I have tried both Clean Rom 5.0 and Jedi x16
Tried both with different Kernels
Same Result, I get it to "Work" in that I see the "internal" memory as my 64gig card
However
All apps are still loading to the actual phone memory.
I am at a complete loss as to how I fix this. ill attempt to anwser some of the questions you may have in order to help me........
I am currently running Clean Rom 5.0 with perseus alpha36
card was formatted
ran script properly............Must have or I would have seen the swap under "storage"
Is there a step im missing? I see under app manager that the apps are still going to the actual phone memory.
I hope that made some level of sense and someone can help me out.
What is your micro Sd format?
Fat32
...................................Crickets chirping...............................................
Helloooooooooooooooooooooooooooooooooo.............................................
anybody home???
Zzzzzzzzzzz
Seriously, nobody can help????
i'm sorry bud, but android ICS and higher version are not allowed to move apps from Internal to SD. Google made the changes, but there are ways to do this and i assume you are rooted. Here it is, http://forum.xda-developers.com/showthread.php?t=1889550, directory bind, i used it for a while, it works.
I have a working zip for this, it swaps the internal and external memory. You still need it?
I believe folder mount may be of some use to you.
https://play.google.com/store/apps/details?id=com.devasque.fmount&hl=en
heres the thread to it. http://forum.xda-developers.com/showthread.php?t=2192122

[Q] Is possible to make a sd virtual partition?

Hi,
I have a htc one x for a day and I don't know all the peculiarities of this device. I have read that's not possible to make an sd card partition to move some apps to it. Someone said that would be possible to make an image inside sd card and mount it but I cant find anything more about this approach.
I guess should be a way to do that becuase the /data space isn't enough. And I ask you what can I do to get more space to install apps on this device?
atimus said:
Hi,
I have a htc one x for a day and I don't know all the peculiarities of this device. I have read that's not possible to make an sd card partition to move some apps to it. Someone said that would be possible to make an image inside sd card and mount it but I cant find anything more about this approach.
I guess should be a way to do that becuase the /data space isn't enough. And I ask you what can I do to get more space to install apps on this device?
Click to expand...
Click to collapse
Got any response or found a solution?
Link2SD is a working solution for increasing internal memory i.e. by linking apps to 2nd partition on sd card. But I don't want to partition my sd card. Just a virtual partition (ISO or IMG file placed somewhere on sd card) should be mounted at /data/sdext2/ to which apps are linked.
mirfatif said:
Got any response or found a solution?
Link2SD is a working solution for increasing internal memory i.e. by linking apps to 2nd partition on sd card. But I don't want to partition my sd card. Just a virtual partition (ISO or IMG file placed somewhere on sd card) should be mounted at /data/sdext2/ to which apps are linked.
Click to expand...
Click to collapse
I'm sorry but I haven't got any answer to that problem. I left the one x many time ago.
atimus said:
I'm sorry but I haven't got any answer to that problem. I left the one x many time ago.
Click to expand...
Click to collapse
Right. But mine isn't device specific, it's a common issue.
Thanks for response

Categories

Resources