Related
Hey everyone.
I installed a leaked version of Froyo on my Galaxy 3 I5800. I'm using the hack to always install the apps on the memory card. However, only the main apks of the apps are being stored on the memory card. Any application data is still being stored on the internal memory. For example, installing Angry Birds takes 10 MB on the memory card, but also takes about 2 MB on the internal phone memory..
Apps2SD is a huge improvement, but still, if the data's being stored on the internal memory, I'm gonna run out of space some time or the other.
Is there a hack or something to make the phone keep even the data on the memory card? I've heard about Apps2Ext but not sure if that can be installed on my phone and whether it stores the app data on the EXT partition too.
Any ideas?
Android documentation says that even when app. is installed on SD card,
"The .apk file is saved on the external storage, but all private user data, databases, optimized .dex files, and extracted native code are saved on the internal device memory."
TekkenLaw said:
Android documentation says that even when app. is installed on SD card,
"The .apk file is saved on the external storage, but all private user data, databases, optimized .dex files, and extracted native code are saved on the internal device memory."
Click to expand...
Click to collapse
May be that's better because program can run faster.. anyway you can solve it by creating of ext2 partition on your SD card and virtualy enlarge internal storage.
But I haven't found any manual how to do it on i5800.
Are there ext2 capabilities in the i5800's Froyo? I'm asking because 2.1 lacks them, much to my dismay. A Linuxish device with a closed file system (rfs) with no tools available (and FAT), erm...
addicted2088 said:
Hey everyone.
I installed a leaked version of Froyo on my Galaxy 3 I5800. I'm using the hack to always install the apps on the memory card. However, only the main apks of the apps are being stored on the memory card. Any application data is still being stored on the internal memory. For example, installing Angry Birds takes 10 MB on the memory card, but also takes about 2 MB on the internal phone memory..
Apps2SD is a huge improvement, but still, if the data's being stored on the internal memory, I'm gonna run out of space some time or the other.
Is there a hack or something to make the phone keep even the data on the memory card? I've heard about Apps2Ext but not sure if that can be installed on my phone and whether it stores the app data on the EXT partition too.
Any ideas?
Click to expand...
Click to collapse
install move to SD first then choose the option Exteral SD.Anything you install from now on will be installed to the SDCARD but aware the widgets and programs that require root doesn't work well in the SDCARD together with home replacement program.Unless of course the app itself support installing to SD.
banahaw said:
install move to SD first then choose the option Exteral SD.Anything you install from now on will be installed to the SDCARD but aware the widgets and programs that require root doesn't work well in the SDCARD together with home replacement program.Unless of course the app itself support installing to SD.
Click to expand...
Click to collapse
this is what he did. But not everything will be saved to SD. This is the what he says.
nastyba said:
this is what he did. But not everything will be saved to SD. This is the what he says.
Click to expand...
Click to collapse
Yeah, the APK file, that is the main package, is installed on the SD card. However, all the data that the application actually saves are usually on the internal device memory.
I have enabled Move to SD and set the install path to external, but it will still save application data on the phone memory. That is how Android is designed to work
banahaw said:
install move to SD first then choose the option Exteral SD.Anything you install from now on will be installed to the SDCARD but aware the widgets and programs that require root doesn't work well in the SDCARD together with home replacement program.Unless of course the app itself support installing to SD.
Click to expand...
Click to collapse
Oh yes, I'm aware of all this. But still wanted to mention the point that the internal memory will always get used..
addicted2088 said:
Oh yes, I'm aware of all this. But still wanted to mention the point that the internal memory will always get used..
Click to expand...
Click to collapse
you can extend your internal storage with your SD card, but you need to create ext2 partition on your SD card first and then <i>and this is the problem</i> explain to your i5800 to use this partion on SD card.
I've red many articles about it on HTC / SE phones where this method work. They say that the ROM must be customized, which haven't been done yet with our phone. The problem is, that the good programmers have Desire / or SGS and they do not care about the i5800
nastyba said:
you can extend your internal storage with your SD card, but you need to create ext2 partition on your SD card first
Click to expand...
Click to collapse
And this is where the problem starts: The i5800 cannot handle ext2, at least not with its stock roms. You're stuck with an exotic proprietary file system (rfs) for which no tools are available.
mizch said:
And this is where the problem starts: The i5800 cannot handle ext2, at least not with its stock roms. You're stuck with an exotic proprietary file system (rfs) for which no tools are available.
Click to expand...
Click to collapse
may be one day there will be a custom rom which will allows it
nastyba said:
may be one day there will be a custom rom which will allows it
Click to expand...
Click to collapse
mizch said:
And this is where the problem starts: The i5800 cannot handle ext2, at least not with its stock roms. You're stuck with an exotic proprietary file system (rfs) for which no tools are available.
Click to expand...
Click to collapse
Is this problem allready solved?
Because my bro has problems with the little internal space.
(•.•) said:
Is this problem allready solved?
Because my bro has problems with the little internal space.
Click to expand...
Click to collapse
Yes. For that you need to first flash a fugumod kernel. Then you can use Kyrillos' apptosd script from here. You need to use apptosd script v3 if you want your /data/data to be transferred to your SD. But script v3 works good only with class 6 SD card or higher.
Oh yes. You need to convert your data partition to ext4 and create an ext4 partition in SD card also.
ok formating...
seems that i have here a class 4 sd card 8gb... damn it!
I am currently on Kyrillos 6.1. If i create an EXT4 partition in my SD card, via CWM recovery, how can i move the apps which are already installed in my phone memory to that partition? Like if i use Titanium backup, then would moving the apps would go to FAT partition or the newly created EXT4 partition?
mrn123 said:
I am currently on Kyrillos 6.1. If i create an EXT4 partition in my SD card, via CWM recovery, how can i move the apps which are already installed in my phone memory to that partition? Like if i use Titanium backup, then would moving the apps would go to FAT partition or the newly created EXT4 partition?
Click to expand...
Click to collapse
First backup your apps using titanuim backup. It will get backed up in SD card. Then copy the backed up apps and the rest of the stuff in your SD card to your PC. Then goto recovery, advanced, partition SD card. Create the required partitions. All data in SD card will be erased. Then in recovery only, wipe data. Then reboot. After that all the apps which you install will goto the ext partition that you created.
Thanks Dhiren!!! I was just wondering whether there was any way to directly move the apps to the EXT4 partition which are already installed on phone memory..I shall try out as you said...
Hello again, I need clarification with this subject...
I had a difficult time in rooting my android, thinking I failed. so for many times I rooted, installed xrecovery, then most importantly apps2sd. but I don't think it works, then I found all about Links2sd. I installed it, and each time after installing I always select the "link2sd" option, and I check the include davlik cache, but my phone memory is continually decreasing... is this normal or not? could there be a conflict with apps2sd and link2sd since I don't know if I have deleted apps2sd. sorry I'm an android newbie. Thanks..
Well... if you had app2sd link2sd would monit about it and asked you to uninstall it first.
If you don't know if your phone is rooted, look through apps - if you have a superuser app - you're rooted
As for link2sd working or not: connect your phone to the computer and open minitool partition wizard home. It will see your ext2 partition along with free and occupied space. If there are any apps on ext2 partition of your SD card - apps are installing there and the slight decrease of space is due to the existing shortcut files. Because you have created ext2 partition, haven't you?...
I did what you said and yes I found files on the other partition I created. but problem is, some files still go to the phone memory, for example the game app "ninjump" has 15mb installed on the phone memory while on links2sd it shows that it is linked to the sd card.
also, I tried removing the memory card, and when I turned on my x8 the programs were missing, so I suppose links2sd is working.
only problem is now is that some chunks are still installed to the phone memory. is there a way of totally redirecting everything to the sd card?
link2sd: Leave data files in Internal Memory, and you can choose the apps to SD
app2sd: Copy all data from the application to the SD, It's all automatic
nowonanx8 said:
I did what you said and yes I found files on the other partition I created. but problem is, some files still go to the phone memory, for example the game app "ninjump" has 15mb installed on the phone memory while on links2sd it shows that it is linked to the sd card.
also, I tried removing the memory card, and when I turned on my x8 the programs were missing, so I suppose links2sd is working.
only problem is now is that some chunks are still installed to the phone memory. is there a way of totally redirecting everything to the sd card?
Click to expand...
Click to collapse
Ok, here's the deal - how many times did you install ninjump in the past? If more then once, and meanwhile you moved it to or from ext2 it might have (though the probability is very slight) that you have two apps - one in internal storage and one in ext2 storage.
So, navigate into ext2 partition (it's a folder in root directory - sdext or so) and look for this app. It might be hard, as names of linked apps are somewhat messed up, but there should be icons If there is no app on ext2, try switching it back to internal mode and then onto ext2 again - perhaps without linking dalvik cache.
chequebo1 said:
link2sd: Leave data files in Internal Memory, and you can choose the apps to SD
app2sd: Copy all data from the application to the SD, It's all automatic
Click to expand...
Click to collapse
Thank you, that was sooooo relevant!
APP2SD
I having problem with the app2sd too..i dunno whether it works...This is what i had done..I had busybox, superuser, and xrecovery installed and rooted. But when come to partitioning the sd card, i partitioned it into 3 parts : FAt, ext2 and ext3...after that i installed the update.zip and custom zip of app2sd...the phone starts not recognizing the sd partition...anyone can help here??
I use titanium backup to see app2sd works or not. if a2sd decrease, so it work.
if internal still decrease, I guess some file or even some app just can't work with app2sd.
one question too, how or can I move games data from fat sdcard to ext2 partition? like gameloft data. I need my fat space for other file
Graveir said:
Ok, here's the deal - how many times did you install ninjump in the past? If more then once, and meanwhile you moved it to or from ext2 it might have (though the probability is very slight) that you have two apps - one in internal storage and one in ext2 storage.
So, navigate into ext2 partition (it's a folder in root directory - sdext or so) and look for this app. It might be hard, as names of linked apps are somewhat messed up, but there should be icons If there is no app on ext2, try switching it back to internal mode and then onto ext2 again - perhaps without linking dalvik cache.
Click to expand...
Click to collapse
I tried navigating to the ext2 partition using minitool partition wizard, and I indeed saw files that I have installed there. so do you mean that apps2sd is better than links2sd? thanks..
Well... I'm not saying anything is better, though I used both solutions in three different ways.
For stock SE ROM link2sd is better, since you only need to partition SD card into primary fat32 and primary ext2 - nothing more. Then you install an app and all works fine.
With custom ROM you cannot use link2sd, since they all have app2sd hack preinstalled (well, you can always modify files, but what for?). Problem occurs when you have this hack AND ext2 partition. The hack then moves automatically all your apps to ext2 memory along with dalvik cache if you install them in internal storage. If you install in external storage, the app goes to fat32 secure folder and dalvik cache remains in ext2. If you don't have any ext on custom ROM, dalvik cache is always in internal storage, while you can move any non-system app onto fat32 sd card.
The ext2 solution in custom ROMs may seem convinient, but for me it was not. When you use apps like phone locator, they should always dwell in internal memory, since SD card can be easily taken out, while deleting such an app from a remotely locked down phone would require flashing, otherwise the device is useless for the thief
Well actually both app2sd and link2sd are typically similliar. I've tried app2sd before and it still leave some files in internal memory. So will link2sd. But link2sd is much more easier to use because once your phone is rooted you just need to install it on your phone without going through the adb shell thing. Easy for newbie for sure. But you just have to manually link new installed applications and games. That's what differ link2sd with app2sd. Now I'm using link2sd. If you want to make sure, why don't you try those froyo phone. Try to use the app2sd stuff on those phone. They still install some applications on their internal as well although they have built in app2sd.
Sent from my E15i using XDA Premium App
hi guys ,
i have a 16 gb sandisk class 4 sdhc card and currently i am using rom HYPERDROID GBX V12 by pongster .
before installing the rom through clockwork mod recovery , i partitioned the sd card with 1024 size and 0 swap size.
but my internal storage is only showing 257 Mb
and after installing a few apps, my internal storage has become low ,
is there any way to virtually increase the internal storage by utilising the SD card storage???
can this be done without formatting the phone or the ROM ,ie.,without losing data ??
HELP APPRECIATED.
THANK YOU.
Try rebooting and seeing if that helps if using an a2sd based rom
bates_1974 said:
Try rebooting and seeing if that helps if using an a2sd based rom
Click to expand...
Click to collapse
no it did not work that way...
You could partition your sd card, adding an ext2,3 or 4 partition and install DarkTremor's A2SD script. Then your apps will be installed into your ext partition on your card instead of in your phone's memory. And using the A2SD GUI app from the Android market, you can put your dalvik-cache to the partition, and do some other cool stuff. If you cant find DT's A2SD script by searching for it, I can attach the working version that I have to this post when I get home.
Edit: Attached a good working version. Flash it via CWM, after you allocate an ext4 partition (1 gb is a good size) on your sd card.
Sent from my HTC HD2 using XDA App
How to partition sd card using ext 2/3/4 partirion??
How to allocate an ext 4 partition ??
And more precisely i wanted to know weather i can actually increase my phones internal storage??
Sent from my HD2 using XDA App
adi_tya89 said:
How to partition sd card using ext 2/3/4 partirion??
How to allocate an ext 4 partition ??
And more precisely i wanted to know weather i can actually increase my phones internal storage??
Sent from my HD2 using XDA App
Click to expand...
Click to collapse
1. In CWM Recovery, under 'Advanced', theres an option to partition your sd card.
2. By partitioning your card, you are allocating an amount of space to be used as an ext2/3/4 partition. Doesn't really matter which you use, but ext4 is said to give the best performance. I'm pretty sure CWM creates an ext4.
3.By moving all your installed apps to the sd partition, you are freeing up internal storage in your phone. I have hundreds of apps installed, my phone has 650mb internal storage available, runs smooth as butter, and I still have half of my 1gb partition free.
Thanks i did the partition and installed an app called " modinstall" by mskip and now all my apps by default install in sd card
But why is my internall storage only 270 mb by default without any apps in it??
Sent from my HD2 using XDA App
Do you have a EU HD2, or a TMOUS one? The European ones have far less ROM space. You could try a smaller system partition by modifying the flash.cfg file in the folder which you flash CWM from, just do a nandroid backup in CWM first, then restore it into your new smaller system partition after re-flashing CWM with the smaller system partition. I wouldn't go any smaller than 150 mb for a non-Sense ROM, if you go too small then your ROM won't boot up, or will have too little room to run comfortably. But too large a system partition will just waste internal storage space.
But if all your apps are getting installed to your partition by default, 200+ mb is more than enough internal storage for your phone to run nice and smooth. But that's also why I recommend DT's A2SD script, because not only does it move all your apps to the partition, but your dalvik-cache too (anywhere from 30-75 mb) and with the A2SD GUI app, it's easy to do more to make your phone run smooth, like enabling zipalign at bootup.
I have an EU hd2 now i hav installed the zip file of apps2sd u hav attatched in ur reply
I hav downloaded an application apps 2 sd from market to move phone apps to sd ut the only issue is that
Now after moving to sd , a few apps like angry birds, glow hockey and many other games or apps give an error and force closes but when these apps are moved back to phone they run smoothly !!
Why is that that these few apps are not running in sd card???
Sent from my HD2 using XDA App
Though my apps are getting installed in sd card by default but many of the apps do not run unless they are moved to phone's memory !!!
Is there any solution???
I really prefer this method by which my apps are installing in sd card by default but how can i avoid the force close errors in some of the apps ??? Eg - angry birds
Thank you
Sent from my HD2 using XDA App
I've xcd35 also known as zte blade. I've not installed many applications, still I see only around 25MB free space in my phone memory
What can be the reason for this ?
Have you taken a lot of photos or videos possibly and are those not being saved on the SD card?
Yes, i did took many photos but they are on my sd card.
Still I don't know where did the space go.. can anyone help me in getting back my space ?
Maybe you should install some app such as file manager from market (I can't provide a link, search "file manager", it's the first result by rhythm software). Then go ahead and select "Storage analysis" after clicking menu. It'll do a complete scan of your phone+SD-card and then shows you the biggest space hoarders.
I installed file manager and it says following,
device total memory: 162.5 M
device free memory : 24.57M
sd total memory: 1.86M
sd free memory: 1.15M
Also, it gives the biggest space holders, but all those are in my sd (like one app tak 570+ MB and my documents take 33M, both are in my sd).
the list all space holders includes the folders in sd card only.. How do I see status of internal memory ?
shek007 said:
I installed file manager and it says following,
device total memory: 162.5 M
device free memory : 24.57M
sd total memory: 1.86M
sd free memory: 1.15M
Also, it gives the biggest space holders, but all those are in my sd (like one app tak 570+ MB and my documents take 33M, both are in my sd).
the list all space holders includes the folders in sd card only.. How do I see status of internal memory ?
Click to expand...
Click to collapse
Open CWM clear cache partition and then advanced clear dalvik cache and reboot it should clear your memory u must be surfing a lot on stock browser if even this didn't solve your problem reset your phone
What is cwm ? And where can I find it ?
Also, what is dalvik cache and how do I clear it ?
shek007 said:
What is cwm ? And where can I find it ?
Also, what is dalvik cache and how do I clear it ?
Click to expand...
Click to collapse
clockworkmod rest is mentioned in the above post
shek007 said:
I installed file manager and it says following,
device total memory: 162.5 M
device free memory : 24.57M
sd total memory: 1.86M
sd free memory: 1.15M
Also, it gives the biggest space holders, but all those are in my sd (like one app tak 570+ MB and my documents take 33M, both are in my sd).
the list all space holders includes the folders in sd card only.. How do I see status of internal memory ?
Click to expand...
Click to collapse
The 162.5MB is the total internal memory available for your apps and their data. The 24.57MB is how much of that is free at the moment. When you move an app to the sdcard, some of it is left behind on the internal memory, so you can't get rid of all of it. You can increase the amount of internal memory available by creating an ext partition on your sdcard (though it looks like you only have a 2GB sdcard, so you wouldn't have much space left for music etc. on it) and then using something like darktremor a2sd to move your apps to the new ext partition. This works differently from the normal move to sdcard as it allows you to move the whole app so frees more space.
The other option is repartitioning the internal memory. This means you take some of the space from where the rom is installed, and add it to the data partition so you can make use of it. For this to work well you need to use/be using a custom rom as the stock ones wont fit in the reduced space.
saaransh9 said:
Open CWM clear cache partition and then advanced clear dalvik cache and reboot it should clear your memory u must be surfing a lot on stock browser if even this didn't solve your problem reset your phone
Click to expand...
Click to collapse
This isn't really a long term solution. The dalvik cache is needed by the phone, so wiping it will only temporarily give you more space until the phone rebuilds it all once you use your apps again. The cache partition is separate from the data partition, so wiping that would make no difference to how much space you have available.
shek007 said:
What is cwm ? And where can I find it ?
Also, what is dalvik cache and how do I clear it ?
Click to expand...
Click to collapse
Which ROM you are working on? It seems like you have stock ROM as you are unaware of CWM. If you are using stock rom, you need to switch to any custom rom to flash darktremor a2sd so that you can partition you sd card and install applications on them. You can get complete tutorial on installing CWM and custom rom from cyanogenmod website. You can uninstall bloatwares if there any to free your phone memory.
Amphoras said:
The 162.5MB is the total internal memory available for your apps and their data. The 24.57MB is how much of that is free at the moment. When you move an app to the sdcard, some of it is left behind on the internal memory, so you can't get rid of all of it. You can increase the amount of internal memory available by creating an ext partition on your sdcard (though it looks like you only have a 2GB sdcard, so you wouldn't have much space left for music etc. on it) and then using something like darktremor a2sd to move your apps to the new ext partition. This works differently from the normal move to sdcard as it allows you to move the whole app so frees more space.
The other option is repartitioning the internal memory. This means you take some of the space from where the rom is installed, and add it to the data partition so you can make use of it. For this to work well you need to use/be using a custom rom as the stock ones wont fit in the reduced space.
Click to expand...
Click to collapse
I can change my sd card to 16 or 32 GB .
That is not a problem..
Now, can you please tell me how do I do external partitioning ?
or how do I do repartitioning of internal memory?
zajith said:
Which ROM you are working on? It seems like you have stock ROM as you are unaware of CWM. If you are using stock rom, you need to switch to any custom rom to flash darktremor a2sd so that you can partition you sd card and install applications on them. You can get complete tutorial on installing CWM and custom rom from cyanogenmod website. You can uninstall bloatwares if there any to free your phone memory.
Click to expand...
Click to collapse
I'm using dafult one I guess.. As I never install any rom before..
shek007 said:
I can change my sd card to 16 or 32 GB .
That is not a problem..
Now, can you please tell me how do I do external partitioning ?
or how do I do repartitioning of internal memory?
I'm using dafult one I guess.. As I never install any rom before..
Click to expand...
Click to collapse
You need to root and install a custom rom to partition both internal as well as external memory efficiently. You can flash darktremor a2sd script that allows you to install apps on partitioned sd card to your rooted stock rom but it won't work (didn't work for me).
Almost all the custom rom come with darktremor a2sd pre-installed on it. So it is advised to switch to any custom rom. But beware, both rooting and installing custom rom will void your warranty. Once you install a custom rom, i'm sure you will love it.
You can find guide on partitioning internal memory on the following links
h**p://android.modaco.com/topic/339048-guide-flashing-firmware-to-bladelibra-via-windows/
and here
h**p://android.modaco.com/topic/337426-gen1gen2partition-layout-tool-windows-only/
But i personally won't recommend partitioning you internal memory as the following ICS rom uses the default like partition.
You can follow the following link below to root and flash cyanogenmod
h**p://wiki.cyanogenmod.com/index.php?title=ZTE_Blade
If you find rooting steps given in the guide difficult you can install z4root from following link and install it on your phone to root the phone easily.
h**p://www.4shared.com/file/TA3fZuTc/z4root_zte_blade_permanent_roo.html
Once you install cyanogenmod install "ROM MANAGER" from market and there you will find the option to partition your sd card.
Regards...
shek007 said:
I can change my sd card to 16 or 32 GB .
That is not a problem..
Now, can you please tell me how do I do external partitioning ?
or how do I do repartitioning of internal memory?
Click to expand...
Click to collapse
You can partition the sdcard from ClockworkMod recovery, which you need to flash the custom rom or the darktremor scripts to make use of the ext partition. Some roms come with it pre-installed, others you have to flash it separately.
You can repartition the internal memory by TPT or Windows flasher. TPT is the easier and safer method. From your internal memory stats you posted earlier, it looks like you are stock Gen 2, but download the Mr Pigfish app from the market to check.
If it says you are Gen 1, then you can use one of wbaw's TPTs from his thread on here, or you can use them from my app. Once you use one of these, you will be converted to Gen 2 as well.
If you are Gen 2 already then you are most likely stock Gen 2 and will need to use the TPT's from my app (choosing the stock Gen 2 option when it starts), from the thread I made on here, or by using the Windows flasher.
Here's a tip that I just recently discovered.
Since apps that are flashed in your rom (like Market) cannot be deleted in a conventional sense, a duplicate of the app is created whenever they are updated. I found an app called apps2rom that moves the updated version to the rom, and deletes the old version.
I got a good 10mb from that.
Hi guys,
First I want to thank you all, I get my HD2 few days ago with a so old and boring windows 6.5, and i had a lot of fun upgrading it to Android.
I successfully installed the CM9 nexus rom with the nativeSD option (http://forum.xda-developers.com/showthread.php?t=1437463), i'm very impressed by the smoothness of the rom.
I have a small issue with space available for apps, i only have 914Mo of "internal space", 815Mo are aleady used (i guess for the system), meaning i only have 99Mo remaining to install my apps. As i use a lot of them, even if i move most of them to SD card, it is a too small space left.
Do you know how i can increase my "internal space", as i use a 16Go SD i have no problem re-partitioning my sd card, i just don't unsderstand how to do it (with MAGLDR? with CWM? manually with my parition manager?).
thanks a lot in advance for your anwers,
cimourdain said:
I have a small issue with space available for apps, i only have 914Mo of "internal space", 815Mo are aleady used (i guess for the system),
Click to expand...
Click to collapse
800+Mb?? that's HUGE that's not the system! system files take up usually 150 - 350mb depending on eth rom you flashed, nowhere near 800+
anyway, just backup your rom through recovery, and then use a partition manager via the pc, or the one in recovery, to make a bigger ext partition, say 2gb, and then restore your rom through recovery.
Yes 800MB is indeed a lot. IF you go to Settings->Storage which numbers do you see by Internal Storage?
If you backup your system, how big is the backup ZIP?
You can go through your file system with a tool like Root Explorer (paid) to find out where the big data of your system is. You have about 500MB too much.
Use MiniTool Partition Wizard Home Edition to partition your SD card. Make an EXT4 of about 2GB en default cluster size. The remaining part should be FAT32, 32k cluster size.
Thank you to both of you,
You were perfectly right about the fact that 800Mo+ is way to big. I opened my Ext4 partition with my Ubuntu, and "surprise", i found 2 folder remaining from previous (and failed) attempts of installing MIUI roms. After manually deleting those two, my internal storage went back to normal.
Thank you again for your help.