resize file system

ROMs, Mods, Discussion and all other Topics about the Xiaomi Mi Note Pro (leo).

Moderator: dr4kendroid

User avatar
dexter90
New Member
New Member
Posts: 6
Joined: 25 Sep 2017, 08:56

resize file system

Postby dexter90 » 17 Oct 2017, 07:32

Hi, i resize the system partition. But when i flash the rom, the size it's different. How modify rom to use resize2fs to flash rom??? sorry for my bad english.

User avatar
dexter90
New Member
New Member
Posts: 6
Joined: 25 Sep 2017, 08:56

Re: resize file system

Postby dexter90 » 17 Oct 2017, 08:05

ok there is an error in the version 7.10 script. Installing the old one works all .... virtually the script does not delete the browser and other things I have selected ... and rightly says there is no more space .... how can i fix it ?? thank you

User avatar
dexter90
New Member
New Member
Posts: 6
Joined: 25 Sep 2017, 08:56

Re: resize file system

Postby dexter90 » 17 Oct 2017, 09:18

how to implement resize2fs on the script??? i have add this string:
run_program("/sbin/e2fsck","/dev/block/mmcblk0p41");
run_program("/sbin/resize2fs","/dev/block/mmcblk0p41");

but the free space is every low.... why???

User avatar
dr4kendroid
Developer / Admin
Developer / Admin
Posts: 1101
Joined: 21 Nov 2016, 09:20
Phone Model: Mi 5 , Mi 6
Thanks received: 427
Contact:

Re: resize file system

Postby dr4kendroid » 17 Oct 2017, 11:52

resizing partition is more work than just executing that resize2fs command.
You can find tutorials on the internet.
Image
Find us on Facebook

User avatar
dexter90
New Member
New Member
Posts: 6
Joined: 25 Sep 2017, 08:56

Re: resize file system

Postby dexter90 » 17 Oct 2017, 12:20

sorry, i have extended the system partition with parted so i see that when i install the rom, system show 1,7GB. When i launch command to resize partition it show 2.9GB. I finaly install rom with mod, using adb shell when twrp install zip. Now i have the latest rom with mod. But i insert command in the script, but not work.

User avatar
dr4kendroid
Developer / Admin
Developer / Admin
Posts: 1101
Joined: 21 Nov 2016, 09:20
Phone Model: Mi 5 , Mi 6
Thanks received: 427
Contact:

Re: resize file system

Postby dr4kendroid » 17 Oct 2017, 13:40

dexter90 wrote:sorry, i have extended the system partition with parted so i see that when i install the rom, system show 1,7GB. When i launch command to resize partition it show 2.9GB. I finaly install rom with mod, using adb shell when twrp install zip. Now i have the latest rom with mod. But i insert command in the script, but not work.


Then you made a mistake. You should format your system partition again. maybe then it fits the correct size.
You can do that in twrp.
Image
Find us on Facebook

User avatar
dexter90
New Member
New Member
Posts: 6
Joined: 25 Sep 2017, 08:56

Re: resize file system

Postby dexter90 » 17 Oct 2017, 13:46

ok already format partition, but when i flash a new rom, the size of system change.

User avatar
pawlo
New Member
New Member
Posts: 1
Joined: 29 May 2017, 18:45

Re: resize file system

Postby pawlo » 12 Dec 2017, 20:17

I have the same problem.When I do format under TWRP and instal GlobeROM , after installation I have pure MIUI.eu without Globe extensions(Viper 4A,Dolby ATMOS etc) but when I don't do format I can't do installation because there is "no space enought" in system partition.It lookls like there is old verion in system partition which takes space for new one version.


Return to “Mi Note Pro”

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest



Xiaomi Mi Band 3 Smart Bracelet - BLACK

44.99 $
Coupon:     GBest050
2018-06-09

Xiaomi Redmi S2 4G Phablet Global Versio

169.99 $
Coupon:     GBest041
2018-06-09

Xiaomi MI MIX 2S 4G Phablet 6GB RAM Glob

549.99 $
Coupon:     Flash Sale
2018-06-09

Xiaomi Redmi Note 5 4G Phablet 3GB RAM G

175.99 $
Coupon:     Flash Sale
2018-06-09

Xiaomi MI MIX 2S 4G Phablet 6GB RAM Glob

569.99 $
Coupon:     Flash Sale
2018-05-18