Resize/extend system partition capacity - Xiaomi Mi Max 2 Questions & Answers

After installation from scratch, the system partition leaves some unnecessary space up to approximately 1.5 gb after deleting some unnecessary applications.
This is about 1 gb of remaining free space. I want to transfer to the data section.
this can be done on other models. mi max 2 can be done for?
https://en.miui.com/thread-183258-1-1.html
https://forum.xda-developers.com/xi...esize-extend-partition-capacity-t3011918/amp/
Thanks.
(sorry my bad english)
MI MAX 2 cihazımdan Tapatalk kullanılarak gönderildi

Related

[MOD][JB/ICS][8MAY] bestMultiTaskingFix 8 - Multitasking with no lags!

Hello to all.
I'm here again
STOP! THIS MOD IS ONLY FOR SAMMY JB AND ICS BASED ROM! IT DOESEN'T WORK ON CM10, ASOP, AOKP, MIUI OR OTHER ROM!
THE PROBLEM
Our gs3 has a very bad memory managment. Ram decrease, lags, memory leak and a lot of problem with multitasking are present on this wonderful device. We have a very important hardware but 1gb of ram and a bad software optimization make our gs3 not give a good feeling in heavy usage.
THE SOLUTION
bestMultiTaskingFix is a set of tweaks that allows to solve bugs management of memory and no possibility of mulitasking the galaxy s3.
Through this zip you can solve these problems and eliminate lags and manage a very large number of applications at the same time without having problems of slowness of poor memory.
In addition app phone, contacts and camera are locked in memory to make these faster to run.
I can play 2games togheter and navigate on internet with firefox and send messages with gosms without lags. Of course more apps are opened more is the risk of lags and leak of memory so be carefull.
FIRST OF ALL, do a Nandroid backup, as well as a backup of your sd-card content !
You're doing this at your very own risk, I'm not to be held responsible if something goes wrong
There is a very small risk of damage your internal memory since the continued operations of I/O of swap but is a very small risk.
Click to expand...
Click to collapse
What do you need
Galaxy s3 , root and custom recovery
Kernel with swap support
If you have Supercharger disable it!!
If you have Zram enabled, disable it!!
If you have HardSwap enabled disable it!!
Donwload the zip attached
Buil prop editor installed (https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor)
Remove all memory app, task killer with oom or minfree settings like AutoKiller Memory Optimizer, System turner, rom toolbox or similar. You can use these but not for set up memory stuffs!!!
THE GUIDE
Download latest bestMultiTaskingFix
1)Edit your build.prop file
Open Built prop editor and change these value:
- davilk.vm.heapsize must be setted to 192m
- davilk.vm.heapstartsize must be setted to 8m
- davilk.vm.heapgrowthlimit must be setted to 64m
Then reboot
2)Go into recovery and flash file
a) Flash bestMultiTaskingFix.zip
b) Reboot your phone
Notes
Not use any memory app, task killer with oom or minfree settings like AutoKiller Memory Optimizer, System turner, rom toolbox or similar. You can use these but not for set up memory stuffs!!!
Not use supercharger!!
You can check if swap is working installing terminal emulator and writing free. If values of space in Swap line are different from 0 value, you are ok.
If you have lags, kill all process with a task killer like advanced task manager(https://play.google.com/store/apps/details?id=mobi.infolife.taskmanager)
Changelog
Code:
8.0
Removed lock app script. Is not necessary anymore and may cause lags
[B]New parallels and prioprity swap method for incredible performace[/B]
Tweaked and fixed busybox included
New kernel tweaks
Minfree values optimized
------
7.0
ALL OPENED APPS IN LATEST 4 SECONDS ARE LOCKED IN MEMORY EVERY 4 SECONDS so the possibility of killed apps is now ridicolous! (0 battery drain!!)
Better performance without any lags up to 12 apps running in same time (MAX 20 APPS RUNNING IN SAME TIME WITH A 301 APPS INSTALLED IN MY SCENARIO!)
Optimized for multiwindow use!
Minfree changed for best performaced and quick app load!
Adj values restored to stock (not need to
Random reboot problem fixed
New kernel tweaks and tweaked values
Bigger swap size
------
6.0
[SIZE="4"][B]NO LAGS WITH UP TO 18APPS![/B][/SIZE] (please report now!)
Phone app, contacts app, camera app and the android core are locked in memory for fast access and better performace
Vm HeapSize changed (see build.prop edit and chage it in your configuration)
[B]Minfree changed for best performance![/B]
Big swap size
New kernel tweaks and tweaked values
Adj values changed
New prop values added directly in the script!
No need to wipe dalivk cache so first flash is quick now
Random reboot finally fixed
------
5.0
Random reboot problem fixed
Small Lags are fixed (please report)
Vm HeapSize changed (see build.prop edit and chage it in your configuration)
Minfree changed
Swap size decreased
Kernel tweaks
Adj values changed
------
4.5
[B]Lags completely gone[/B]
[B]Compatibile with SAMMY ICS[/B]
[B]Build.prop values tweaked. Be sure to use the latest one in firt step of guide[/B]
Swap size adjustament
Minfree values tweaked
Kernel tweaks and optimization
Adj value tweaks
------
4.0
[B]Mod of zeppelinrox is removed.It's not really necessary anymore[/B]
[B]Build.prop values tweaked. Be sure to use the latest one in firt step of guide[/B]
Little swap size adjustament
Minfree values tweaked
kernel tweaks and optimization
------
3.5
[B]Now system can swap more without lags with 18 apps opened![/B]
Swap size tweaked
A lot of kernel tweaks and optimization
Minfree tweaked according to new swap size
------
3.1
[B]Build.prop values tweaked. Be sure to use the latest one in firt step of guide[/B]
Little swap size adjustament
Minfree values tweaked
------
3.0
[B]Build.prop values tweaked. Be sure to use the latest one in firt step of guide[/B]
[COLOR="Red"]Service.jar includes Maximum MultiTasking Mods[/COLOR] (thanks to zeppelinrox)
Swap size tweaked
A lot of kernel tweaks and optimization
Minfree tweaked according to new swap size
[B]Smooth as a baby's ass :) with 15 application running at same time!![/B]
------
2.5a
Fixed no swap bug (need feedback)
------
2.5
[B]Build.prop values tweaked. Be sure to use the latest one in firt step of guide[/B]
Little swap size adjustament
Minfree values tweaked
Nova launcher add widget bug fixed
------
2.1
Swap size adjustament
Make upgrade system more easy: just flash and reboot
------
2.0
New minfree values to avoid small lags here and here
Bigger swap size to avoid small lags
Faster speed on boot since swap file is not always created but only started if present
Completely fixed no swap bug on some devices (need feedback to test)
------
1.4
FIxed not swap on some devices
-------
1.0
Initial relase
********************************************************************
Credits
Big thanks to gokhanmoral for his wonderful Siyah Kernel (http://forum.xda-developers.com/showthread.php?t=1709686)
Big thanks to Yank555 for swap idea
Big thanks to foxhound team for testing
Big thanks to rlorange for busybox and parallels swap with priority idea
********************************************************************
IMPORTANT NOTE FOR DEV/ROM COOKER/WHO WANT'S TO PORT MY MOD
If you want to use the bestMultiTaskingFix in your ROM, give proper credit and a HTML link to this thread.
Do not modify it, do not rebrand it: the name is bestMultiTaskingFix
Modification and redistribution of the attached script is not permitted at all without permission of Mattiadj member
This means that you cannot feel free to zip up the attached script with other tweaks and this means that it is not be edited and shared.
WARNING for USERS: If you use or encounter a ROM with the bestMultiTaskingFix without proper credit given and no bestMultiTaskingFix source links, please make the Developer aware of it, and if necessary, please let me know about it. Thank you.
Personal Use: You may tweak the bestMultiTaskingFix (leaving credits intact) to your own personal liking as long as it is NOT redistributed in any way.
If you like my job, buy me a beer
Now....feedback, feedback and feedback!
Great mate!! I hope in another great work!!!
Sent from my iPhone Fu**er S3 using Tapatalk 2
Thanks mattiadj! Gah.. makes me sad we have to go through all this just to make our phone function correctly.
Sent from my GT-I9300 using xda premium
hi matt !
siyah tweaks zipp gives me error 7 in recovery (touch 6.0.1.2)
xanthrax said:
hi matt !
siyah tweaks zipp gives me error 7 in recovery (touch 6.0.1.2)
Click to expand...
Click to collapse
Which error gives?
Inviato dal mio GT-I9300 con Tapatalk 2
mattiadj said:
Which error gives?
Inviato dal mio GT-I9300 con Tapatalk 2
Click to expand...
Click to collapse
error (status 7) assert failed
-=-=-
i tried to toggle signature to(enabled) but still the same
could it be a bad zip ?
Sorry guys now siyah config cwm is fixed
mattiadj said:
Sorry guys now siyah config cwm is fixed
Click to expand...
Click to collapse
so ... where is it ? the same attachment ?
-=-=-
ok , is there , a new one , thanx !
---------- Post added at 04:00 PM ---------- Previous post was at 03:42 PM ----------
so , i`ve done all steps unless the kernel , i used yhe last siyah as long as i`m on Omega v25 but my memory seems to be the same or even less .
i use cool tool ram monitoring and it shows me 170 - 210 average
is there any way to check the status in android emulator ?
-=-=-
to be honest i`ve got about 350 apps (including system ) on my phone but still , before this tweak i use to have an average of 300 mb free ram using autokiller only
-=-=-
tell me how to check the status , i`ve done the swap with minitool
-=-=-
switced to ultimate the free ram is back to 300 ...Omega JB (not ICS) v25
xanthrax said:
so ... where is it ? the same attachment ?
-=-=-
ok , is there , a new one , thanx !
---------- Post added at 04:00 PM ---------- Previous post was at 03:42 PM ----------
so , i`ve done all steps unless the kernel , i used yhe last siyah as long as i`m on Omega v25 but my memory seems to be the same or even less .
i use cool tool ram monitoring and it shows me 170 - 210 average
is there any way to check the status in android emulator ?
-=-=-
to be honest i`ve got about 350 apps (including system ) on my phone but still , before this tweak i use to have an average of 300 mb free ram using autokiller only
-=-=-
tell me how to check the status , i`ve done the swap with minitool
Click to expand...
Click to collapse
As said... This method is tested on ics! For JB I don't know if it works...
Inviato dal mio GT-I9300 con Tapatalk 2
mattiadj said:
As said... This method is tested on ics! For JB I don't know if it works...
Inviato dal mio GT-I9300 con Tapatalk 2
Click to expand...
Click to collapse
at least has been tested on JB Omega v25
thanx !
xanthrax said:
at least has been tested on JB Omega v25
thanx !
Click to expand...
Click to collapse
i don't think siyah kernel for jb is stable as for ics.
mattiadj said:
i don't think siyah kernel for jb is stable as for ics.
Click to expand...
Click to collapse
you`re right ! it isn`t !
Updated minfree values in first post
Hi i have a couple of questions
1. What does your solution do exactly, can u explain in layman terms?
2. Why remove V6 supercharger? Because it conflicts with your solution or because it doesn't work as it should?
3. This is more of an unrelated question. If I already have supercharger installed default in my rom, using Autokiller together with it is ok or not?
This seems to hard isn't there a cwm file that we can flash. Thank you
gurbuza said:
This seems to hard isn't there a cwm file that we can flash. Thank you
Click to expand...
Click to collapse
Not at all... Not that hard actually..
Try trying it rather than thinking of trying it.
Sent from my GT-I9300 using xda app-developers app
This is what I am waiting for!
Sent from my GT-I9300 using xda app-developers app
Guys I'm testing something new stuff stay tuned
Inviato dal mio GT-I9300 con Tapatalk 2
Tomorrow I'll update the guide to make it more easy and with a cwm zip with the correct configuration of values all myself made!
I'm testing it from 36 hours and the result is excellent. Wonderful multitasking and no lags at all! Switching from nova 3 to dead trigger then to Facebook and Tapatalk then to nova 3 without lags is awesome! Now the power of quad core finally can come out!
Inviato dal mio GT-I9300 con Tapatalk 2
Might be worth commenting on how battery life is using this guide?
It's interesting to see how much free RAM you have on your screenshots. I always seem to be stuck at ~100mb. Might give this a try!

Amount of RAM and "ROM"

Moin moin
I just noticed (and saw on wiki) that our ace has 384MB RAM and 512MB "ROM"
i put togetzer the numbers i had: system + data + cache = always around 400MB. What is the rest used for? i mean 100MB are 100MB if you know what i mean.
same with RAM. is it used by some kind of ramdisk or what is it used for? cuz we just have ~276MB. Also more than 100MB going "nowhere"
I read somewhere that some ram is used for GPU. true?
Thanks in advance and wish a nice sunday
CJCord said:
Moin moin
I just noticed (and saw on wiki) that our ace has 384MB RAM and 512MB "ROM"
i put togetzer the numbers i had: system + data + cache = always around 400MB. What is the rest used for? i mean 100MB are 100MB if you know what i mean.
same with RAM. is it used by some kind of ramdisk or what is it used for? cuz we just have ~276MB. Also more than 100MB going "nowhere"
I read somewhere that some ram is used for GPU. true?
Thanks in advance and wish a nice sunday
Click to expand...
Click to collapse
Ace has 512MB ram..almost a half of it is used up by the system
I got transformed into a potato while writing this post..
CJCord said:
I just noticed (and saw on wiki) that our ace has 384MB RAM and 512MB "ROM"
i put togetzer the numbers i had: system + data + cache = always around 400MB. What is the rest used for? i mean 100MB are 100MB if you know what i mean
Click to expand...
Click to collapse
There's system, data, cache, boot, binaries, a lot of partitions (including efs), the device's hardware controllers, etc. That's where 512 MB run off to.
Prawesome said:
Ace has 512MB ram..almost a half of it is used up by the system
I got transformed into a potato while writing this post..
Click to expand...
Click to collapse
*384 MB
Ace have 330MB RAM - when the kernel boots they is an info about it in dmesg, but only ~280MB is alivbe for the user, other is reversed for the GPU (mostly), audio processing and etc.
Wysyłane z mojego ASUS Transformer Pad TF300T za pomocą Tapatalk
Memory of ACE
In my opinion you don't be worrie with the Mb Ram it's appear or not. be worrie with ROM,
The ROM is like an HD, and like you now the system android it's based on Linux, so like every system linux you have on less 3 partitions, and 1 of them have a type Swapp. and if this partition be small if the Ace don't have Mb Ram, he go to the partition Swapp use the Mb that's in fault.
So see the differences.
Ram 330+ Rom 512 or
Ram 330 + Rom (1st partition 250+ 2nd partition 150 + Swap 100)
Ram 330 + Rom (1st partition 350+ 2nd partition 150 + Swap 12)
and don't forget you have the micro SD with memory extra.
in my point of view this option is the best Ram 330 + Rom (1st partition 250+ 2nd partition 150 + Swap 100) because you have more memory to complement at RAM.

Best way for increase memory in CM10

Hello,
If you know in cm10 xperia x8 have few space, can any one tell me which method is better for increase space?
An which rom 4.1+ i now better?
Thanks for reply!
chrissykess said:
Hello,
If you know in cm10 xperia x8 have few space, can any one tell me which method is better for increase space?
An which rom 4.1+ i now better?
Thanks for reply!
Click to expand...
Click to collapse
Search for jb odex,it should provide some extra space.
Try using minicm10,or jellybean by davee,they are most developed roms.
Btw. odex won't work with any davee's rom or with based on it (so probably all roms from yari too). For me litecm10 is great, it's just lighter minicm10. It's usable but only if you are not going to listen to music from phone, 4.1+x8+music=lags everywhere. But if you want jb look and fast rom just wait some time for optimus nexus me v6 - I've seen screens on facebook and it will be very very jelly
The best way to increase free space:
- drop every sh!t from the rom
- odex it
- remove all languages from the rom
- check how many mb used in /system and compile the kernel with new partition sizes
You can gain 20-25 mb after removing the languages (go into the minicm10 faq thread, I wrote earlier how to do it), you also gain another 40-50 mb additional space after changing the gigantic latinime and trebuchet to any normal sized app and removed the trash (wallpapers, ringtones, etc...)
You lost some space on /system after odexing, but you win lot of space on /data.
You can shrink the /system partition size in the kernel config to make bigger /data partition (and remove the /recovery partition, this is useless, only 10 mb wasted space).
If you do these steps, you can get free space on /data partition up to 250 mb.
Sent from my Xperia Z using xda app-developers app
pilu1978 said:
The best way to increase free space:
- drop every sh!t from the rom
- odex it
- remove all languages from the rom
- check how many mb used in /system and compile the kernel with new partition sizes
You can gain 20-25 mb after removing the languages (go into the minicm10 faq thread, I wrote earlier how to do it), you also gain another 40-50 mb additional space after changing the gigantic latinime and trebuchet to any normal sized app and removed the trash (wallpapers, ringtones, etc...)
You lost some space on /system after odexing, but you win lot of space on /data.
You can shrink the /system partition size in the kernel config to make bigger /data partition (and remove the /recovery partition, this is useless, only 10 mb wasted space).
If you do these steps, you can get free space on /data partition up to 250 mb.
Sent from my Xperia Z using xda app-developers app
Click to expand...
Click to collapse
Ćan you tell me best way for odex rom. I find some thead, but what kind you prefer?

[Script][V3.1] ~SmartFluid~ == To Boost Your Ace

±SmartFluid±​
Hello everyone,
this is a another contribution by me. This time it's a SCRIPT. I took some code from another scripts, modified them a little bit and added some own code. I tried it myself and saw more speed. Well, don't have much to talk about, so let's start...
Features
• Disable/Enable logger with terminal commands (Disable for more performance)
• R/W tweaks
• Network tweaks
• Better Remount
• Replaces /dev/random with /dev/urandom for more performance (maybe placebo)
• Disables syncookies
• Disable Journey (only effective if you have EXT4 filesystem)
• Set Renice to make phone more effective
• FPS Stabilizer
• Some Important Build.prop tweaks
• And much more... Test it yourself
To do things, write following in terminal:
Code:
su
smartfluid
Installation
1. Enter Recovery Mode (VOL UP + HOME BUTTON + POWER BUTTON)
2. Flash into Clockworkmod Recovery (Get it from here)
3. Mount /system AND /data
4. Flash the script
5. Enjoy!
If you want to uninstall this script, download the Uninstaller from the attachment and follow the above instructions.
Credits
pikachu01
ImBaWind
Pizza_Dox
Darkyy
tazlooney89
Me
And with some help from:
@devloz
@Sniper Killer
@El_Dark
If you have any question or suggestion, don't hesitate writing to me.
The latest attachment is the newest version.
Use the No-Renice version if you experience lags/high RAM usage
The FAQ​Got a question? Search here first for the answer, and THEN only post.​
Q: Does it increases performance/battery life?
A: Just Try it. If you don't like it, you have an availible uninstaller.
Q: Is it compatible with ... ROM?
A: Yes, it's universal.
Q: Will you add ... feature in the next version?
A: Just PM me if you have any suggestions, I will decide what will come with the next versions.
(If you want sqlite and/or zipaligning, use this!)
Q: Can I flash the newer version over the older one?
A: Yes, you can. The newer script will do everything for you.
Q: When does the next version come out?
A: Only wait. It will come out when I do think it's new features are worth a new version.
Q: Can I use it for my ROM?
A: Yes, you may release a version with my script intergrated, only thing to do is to give proper Credit.
Q: Is this script compatible with ... script?
A: CrossBreeder does work and is a nice combination with this script. Cronmod has no problem too. Other tweaks will most probably not work (or slow down the device).
[Script][V1] ~SmartFluid~ == To Boost Your Ace
First. Seems good. Reserved.
EDIT: Cool. It's smooth. It doesn't affect much the battery duration :victory: . Keep it up bro :thumbup:
Sent from a thing that can send other things to other thinggy things
Second will test it
Gesendet von meinem GT-I9001
ProGameAndy said:
First will test it
Gesendet von meinem GT-I9001
Click to expand...
Click to collapse
Dont quote whole OP plz.
Hit Thanx If I helped U - Its frEE
Bootanimations-MDPI
Post Your DevicE History HerE.
Reserved!
Sent from my GT-I8190N using Tapatalk
interesting, i test it
Reserved
Sent from my GT-S5830i using Tapatalk 2
only for 5830i??
Отправлено с моего GT-S5830i через Tapatalk
+1 Reserved
misha1996 said:
only for 5830i??
Отправлено с моего GT-S5830i через Tapatalk
Click to expand...
Click to collapse
Could work with other devices, but it's mainly optimized for Ace(-i)
Gesendet von meinem GT-S5830i mit Tapatalk 2
This scripts is great , very smooth, no lag at all, very small size one question, for what is logger?
ivcha90 said:
This scripts is great , very smooth, no lag at all, very small size one question, for what is logger?
Click to expand...
Click to collapse
The logcat. If you aren't debugging something you ain't needing it, so you can turn it off. Disabling it can give some performance.
Gesendet von meinem GT-S5830i mit Tapatalk 2
Ok bro, for now working perfect, only in antutu benchmark i get lower score for GPU, but much more for RAM
I have a new test version, if you have enough time you can check and give feedback
Android-fany said:
I have a new test version, if you have enough time you can check and give feedback
Click to expand...
Click to collapse
Usually after booting my phone, the pattern unlock lags for about 5 seconds, after flashing this test, i get almost no lag at all, even when sd card is still being read!
This is by far my favourite tweak to date.
Wow! Very impressed!
Really nice work :good:
Got almost 0 lags today.
Some features which I would like to be included on the future :
- Low OOM/Minfree/LMK by default (No one will complain about RAM usage anymore)
- Some android features enabled by default (Like purgeable assets, Surface Dithering, Kernel JNI error checking)
- Mediascanning tweaks
Well thats enough. Later I will tell more suggestions.
Congrats for your work fany!
I try new version and its faster i agree with sniper to add 16-bit purgeable assets, Surface Dithering, Kernel JNI error checking so if possible i will be happy to see that in new release
Yea, 16-Bit won't be bad. Will try to add it in the next releases. Same applies to Media Scanning.
Oh, and btw, new test release
http://www.mediafire.com/?hivlw20ihlq7w14
Gesendet von meinem GT-S5830i mit Tapatalk 2
Umm...good work
I was about to make one,but I see your scripts more effective
I suggest you to add crossbreeder....if you need any sort of help PM me

asking about cyanogenmod for ZR C5502

Hello everybody
I have a big problem with C5502 Xperia ZR Storage after upgrade to lollipop Stock Rom
now i have unlock my bootloader
when i try to download my device CM Rom via this link
download.cyanogenmod.org/?device=dogo
i was check the Device Wiki and i have found that is C5503 dogo
wiki.cyanogenmod.org/w/Dogo_Info
the 1st question is : can i install the C5503 for My C5502 ??
the 2nd question is : if i can install it that is mean i will have more space after install CM ?
Thanks for every XDA-Developers Members
You can install it. Not sure about the available space, but the size of /data remains as 4.59 GB (for 8 GB version); since CM doesn't have any pre-installed user apps, more of would be available to you on a fresh install.
Sent from my LG-D855 using Tapatalk
SirVer said:
You can install it. Not sure about the available space, but the size of /data remains as 4.59 GB (for 8 GB version); since CM doesn't have any pre-installed user apps, more of would be available to you on a fresh install.
Sent from my LG-D855 using Tapatalk
Click to expand...
Click to collapse
Thanks for reply me
the FTF Stock is 1.1 GB
The Whole CM maybe 500 MB Max
i think it will effect the 4.59 GB
can any one tell me about this ?
No, that only takes up space in the /system partition, does not affect user accessible internal storage at all. It's only relevant if you plan on installing a lot of apps as system apps (not advised) and/or flashing a lot of mods (like PureAudio or Social Camera and things like that). It also affects the size of your nandroid backups, if that's important to you.
Sent from my LG-D855 using Tapatalk

Categories

Resources