yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi 1S] igarg2001:
In twrp there is an option during installation "Reboot after installation is complete". Does that mean reboot to recovery?

I didn't select that option during installation of philz recovery. But after installation I went to TWRP home and select reboot to recovery. Is that the cause for errors in step 3?

Another thing I'd like to tell u. Step 3 flashed without any problems and it rebooted back into philz recovery. But that reboot took longer than usual and then it showed error mounting cache/recovery/log and 4-5 other such commands.

In step 4 there were errors but OP told to ignore it. I had made a zip of TWRP using instructions in OP which I could not flash.

These things I'm saying so that everyone can know about my mistakes and not repeat for themselves
[Xiaomi Redmi 1S] freeshared:
-"Reboot after installation is complete" reboots system

you seem to have followed procedure exactly as it is written on OP,taking a bit long to reboot recovery won't affect anything.

-You encountered an unforeseen error due to circumstances beyond control(like I warned in OP Statutory warning){which tend to happen quite commonly with electronic equipment eg:two external sdcards of same type - one lasts for years but other is dead in a week.----An official OTA update which works pretty well on all most all devices tend to brick few}

-The cache partition failed to mount may be coz it has not formated properly.You should have wiped again and rebooted the recovery.

- I have updated OP with link to TWRP 3.0.2-1.zip,check it out if you want.
[Xiaomi Redmi 1S] igarg2001:
Ya my bad luck.... :crying: But thanks anyway for your help.
[Xiaomi Redmi 1S] vib_sel:
Will it only work with CM 14.1?
[Xiaomi Redmi 1S] freeshared:
Works with all Roms including MIUI
[Xiaomi Redmi 1S] sharathe100111:
Brother no need to worry at all. It's just some software malfunction. As you're stuck in philz recovery. Now flash the twrp.zip file from OP (updated) thread post.

If you face any problems like unable to flash twrp or getting errors.

Then post those errors here, so that we could understand what's happening there. If possible post screenshots and recovery logs.

---------- Post added at 07:14 AM ---------- Previous post was at 07:06 AM ----------

No it will work with every ROM created for Redmi 1s.

But the thing is with CM14.1 you shouldn't take nightly updates. You should stop at whichever version you flash (you can use latest version) with repartition script.

Then you should stop receiving updates. Because if you do that (took an update) then the system partition will resize as soon as you receive update. Which will tend to lose the gapps or something else you used to increase system size.

So do it at your own risk.
[Xiaomi Redmi 1S] vib_sel:
Thanks for clarifying the confusion. :)
[Xiaomi Redmi 1S] sharathe100111:
Hi [MENTION=7878930]freeshared[/MENTION], I think I am facing another problem. In my phone it seems Ram size has decreased. It shows Total memory as 880MB only.

Is it true that my Ram size has decreased?

Here I am attaching a screenshot:
[Xiaomi Redmi 1S] freeshared:
This thread only deals with Partitioning of internal SD,if you face issues other than this regard (like ram,CPU,battery etc)which aren't related to OP pls consult appropriate threads.
[Xiaomi Redmi 1S] arpit_nnd:
I have a friend's 1S which had stock 8.1.2.0 and was in stock condition (not even rooted).

I tried to flash RR on it and I came across your thread and decided to flash the script before the ROM. I did perform all the steps as in OP and all seemed to go well.

In fact, a bit too well. All the partitions were fine TWRP without even reformatting /data to F2FS. But, to make things sure, I did it anyway.

Now, I am unable to flash the RR build and TWRP stays stuck trying to flash the zip unconditionally.

The issue seems to be exactly as [MENTION=7758795]sharathe100111[/MENTION] was facing. MiFlash tool throws the same error as him.

Strangely, I didn't flash any other foreign script still the issues are pretty similar to his.

The only difference is that /cache & /userdata are intact.

I tried flashing an older build of RR too, just to make sure. Same results.

I have been using the latest build of TWRP.

I want to try a CM build but the official mirrors are down so couldn't go ahead with it.

Any tips?

EDIT: Managed to get MiFlash to flash stock firmware. Will report back after another attempt.

EDIT 2: Still the same issue. Unable to flash.
[Xiaomi Redmi 1S] Apoorv_Pandey_:
Can we get 2GB of system partition ?
[Xiaomi Redmi 1S] freeshared:
Yes it's possible,you can do it yourself by editing "update binary" file in the zip with a text editor(It's a simple method but make sure you understood very well what you are doing before you proceed)
[Xiaomi Redmi 1S] Apoorv_Pandey_:
OK,

---------- Post added at 11:01 AM ---------- Previous post was at 10:59 AM ----------

Can you make binary with 2GB system space ?
[Xiaomi Redmi 1S] freeshared:
Here

https://drive.google.com/folderview?id=0B6_hhjS3nx4IRXlDZUU1cEJ3Smc
[Xiaomi Redmi 1S] Apoorv_Pandey_:
Is this works fine bro ?
[Xiaomi Redmi 1S] miqbaln:
work fine, i even try 2 GB.
[Xiaomi Redmi 1S] pankajgavri:
please help

I am not able to do anything, please guide to restore my phone.
[Xiaomi Redmi 1S] freeshared:
Try this

https://drive.google.com/folderview?id=0B6_hhjS3nx4IaEZvdnE1eTNmUUk
[Xiaomi Redmi 1S] pankajgavri:
How to flash this file, not able to mount any thing in philz recovery

Please help
[Xiaomi Redmi 1S] pankajgavri:
okay so i flashed twrp fastboot & sideload this script

then the table shows like this.

Is this normal??

I also flash Ressurection Remix rom & flashed gapps but the device is stuck on rr logo from past 30 minutes.

Please suggest
[Xiaomi Redmi 1S] freeshared:
1)Go in to TWRP-->Press Wipe-->Advanced wipe-->select/mark "Cache"-->press "Repair or change File System"-->select "Change File system"-->F2FS-->Swipe to change

2)Back-->Back-->Change file system-->EXT4-->Swipe to change
[Xiaomi Redmi 1S] Shiroyasha21:
for those who mess up with error mount cache and can't instal any zip even mi flash end up with partition table error

here the solution

1. flash cwm using fastboot (download from attachment)

2. download restore partition script and twrp from OP, copy to external sdcard (because cwm can only instal from external sdcard)

3. boot into cwm wipe (ignore errror) and instal restore partition script.zip it will reboot recovery again and no more error

4. next instal twrp.zip after success reboot recovery again

5. now u can instal rom with twrp or mi flash :D

if you still want 1,2 gb system try this guide, i have test it no error cache

http://en.miui.com/thread-183258-1-1.html
[Xiaomi Redmi 1S] Ro18n:
Thank you very much buddy

Great Tutorial

Now i'm running Mokee Rom with 7.1.1

Am Really excited:D
[Xiaomi Redmi 1S] slst:
No need of philz recovery. Just copy parted file(download it from miui site redmi 1s repartition page) and copy it to sbin using inbuilt filemanager in twrp->advanced->file manager. Then follow op system partition resized. I tried this because philz was not detecting my external_sd card. Thanks [MENTION=7878930]freeshared[/MENTION] for such comprehensive script.
[Xiaomi Redmi 1S] naraykln:
Repartition is not working for RR-N-v5.8.2-20170320-armani-Official_Mod.zip. 2Gb worked fine with RR-N-v5.8.2-20170304-armani-Official_Mod.zip. Xiaomi Redmi 1S. I need more partition, cuz I've lot of apps to install..
[Xiaomi Redmi 1S] blazebits:
after 4th step(clean to install new rom) when I try to install twrp it shows an error saying "Installation aborted"! plz help!
[Xiaomi Redmi 1S] Goutam NB:
sorry for asking

How this flashable zip work? How it will increase space?

Is it safe to do? Dose it effect my emmc chip or make any harm to that ? Want to know ..... .... Please :( :confused:
[Xiaomi Redmi 1S] EmanzzKie:
procedure for MIUI 8 ?

I can't boot to system after flashing MIUI 8 from android N roms, same with android M.

I can't resize system partition after flashing MIUI 8 ROM since it has gapps in it.

I flashed default partition script, then everything went flawlessly, but after flashing MIUI 8 rom it did not boot, flash custom roms, it did not boot.

Changed back to 1.2gb partition and used custom roms as always, but I wanted to go back to MIUI 8, any help would be great, tips will also work. Thanks.
[Xiaomi Redmi 1S] pratikbr9:
I killed my phone...can see storage using twrp (pc connected) but cache partition is gone hence no more flashing. Any solution or time to throw it away.
[Xiaomi Redmi 1S] freeshared:
Really Sorry for replying after such a long time.Actually I gave away my redmi to some one else,but now once again I got a chance to lay my hands on my redmi briefly.

Anyhow I have updated the thread,fixed almost all errors.
[Xiaomi Redmi 1S] freeshared:
Pls follow the update on OP
[Xiaomi Redmi 1S] EmanzzKie:
I just reverted back to MIUI 8 faced a lot of problems, hardbricked then softbricked.

Anyway thanks for the update, this would help us a lot.
[Xiaomi Redmi 1S] :
I would just like to point out. I think you had some errors on the partitions, especially the /cache partition. I tried to fastboot flash stock image of the phone and I got the error:

I couldn't find a log file since I'm using the MiFlash tool from this guide: http://en.miui.com/thread-103097-1-1.html.

I did some research of the problem and it says that it is because of the partitions not corresponding with the one on the image file. I thought I'm gonna brick my phone but I got it back since I had a backup.

I want to reflash the whole system because I am planning to sell it and I want it to be the same just like the first time I took it out of the box.

Anyways, kudos to your work. I actually tried parted on my Android One phone before (and it is a daunting task to do especially calculations). So I was happy to have a flashable zip that would do the job for me.
[Xiaomi Redmi 1S] :
You saved the day! Thank You.
[Xiaomi Redmi 1S] evild120:
HI, after step 8) install ROM. do i need to reboot to system and again come to twrp???

cz, without rebooting i proceeded step 9. but i didnt notice any increament in partation .

i just unzip "Redmi 1s partition script_system space 1.2GB.zip/2GB.zip." i flashed the zip which contain the zip with same name.

if i flash without extrating "Invilaid Formate" :(

is there any youtube video guid for this plz share the link
[Xiaomi Redmi 1S] stridedesu:
Followed the instructions, simple and very clear as I might add. At first I thought that it was hard due to a wall of text. xD
[Xiaomi Redmi 1S] rahulg09:
Thanks for this excellent partition code.

Please guide me. I am on Lineage Os 14.1 and installed Aroma Gapps and removed some AOSP apps. A new nightly is available to download. I know that flashing ROM will reset system partition.

1. I need to flash only ROM(nightly).

2.Do I need to follow all steps for the second time(for flashing new nightly).

3. Do I need to flash Gapps again after flashing new nightly?

4. Whether I lose current settings, apps and data, after this process(I have set Google Apps as default).
[Xiaomi Redmi 1S] raga aja:
Now my old redmi has 2 gb system partition... totally amazing [IMG="cool"]https://drive.google.com/file/d/0B0BZ71jDoDXyMkFXZkV0d0dZU1p1U3Z1ajRjMjFZVzdMRUNJ/view?usp=sharing[/IMG]
[Xiaomi Redmi 1S] vinaysp:
hello, I'm on last MM build of RR rom.

will it work?

or can i flash cm 14.1 and then wipe n flash RR mm.

does it work on ext 4 partition?
[Xiaomi Redmi 1S] EmanzzKie:
follow the instructions, and lastly, instead of flashing nougat roms, flash MM roms.
[Xiaomi Redmi 1S] dkoek:
I am still working with MM instead of Nougat.

With the increase of the system partitition will my phone be faster than before ? :confused:
[Xiaomi Redmi 1S] vinaysp:
Thanks buddy for the help.

I was able to it with just parted n the repartition zip.

Backed up existing. Flashed and restore.

Everything went well.

Thanks again:good:
[Xiaomi Redmi 1S] dkoek:
Although everything seems to be working after the increase.

When I am in the USB MTP mode I can see only part of all the files which are actually there on the internal storage.

How can I fix that ?

Phone is much faster than before !
[Xiaomi Redmi 1S] EmanzzKie:
I've got errors,

unable to resize system, strange, I haven't faced this error.

Error:

Error 1 for resizing.

sbin/resize2fs

Fixed:

Clean flashed rom, before flashing. I wiped everything then followed the procedure.

PS: I was upgrading my rom AICP to a newer build. And I wanted to clean flash, but when I tried to do the default procedures.

1. Wipe everything except external sd card

2. Install rom

3. Resize System - from here I get error on resizing. The error is above as mentioned.

4. Flash gapps.
[Xiaomi Redmi 1S] pradeep1234:
guys i have a problem error 7 for every ROM installed after increasing system partition to 2GB, its is saying unmount of /system failed: no such volume error 1001: failed to update system image
[Xiaomi Redmi 1S] harsha1097:
Thanks for the detailed guidance, successfully worked.
[Xiaomi Redmi 1S] chocolate69:
Need help plzzz...my phone is dead,

i try flash from Miflash with testpoint but stuck at elapse 59.8205...

How to get my normaly again....Thanks

[IMG="flash with test point"] https://photos.app.goo.gl/DO6kB8GTHDESAoGq2[/IMG]
[Xiaomi Redmi 1S] ahmat sainan:
Oke
[Xiaomi Redmi 1S] RajSaran2018:
Redmi 1S Lineage OS 7.1.2

My Redmi 1S with Lineage OS 7.1.2 is often crashing and I hope by improving system space, I may be relieved from frequent crashing. Thanks A Lot!!!:)
[Xiaomi Redmi 1S] RajSaran2018:
Redmi 1S - Increasing System Space

Hi, I copied parted, partition (2 GB), and Reset to Default Partition in SD Card. But when going into TWRP Recovery Advanced Mode File Manger under SD Card, I am not seeing any of these 3 files there :confused:. I am also not seeing files like Lineage OS 14.1 ROM and Open GApps also which are in SD Card :confused:. Please Help me in step by step detailed instructions please. Waiting For Your Early Reply!

---------- Post added at 07:56 AM ---------- Previous post was at 07:34 AM ----------

Hi, even after 10th step, after installation of 2 GB partition zip and resizing system step, when selected System and viewing the change in size by repair, it again shows the previous size of under 1 GB only. Please help me:(
[Xiaomi Redmi 1S] EmanzzKie:
1. Put the files on your External SD Card

2. If you've followed the procedure correctly, then just try this.

Reboot to recovery > Wipe > Advance Wipe > System > Resize Partition > Go back > Resize (do not swipe) and you will see it's resized almost 1.8gb

---------- Post added at 02:19 PM ---------- Previous post was at 02:09 PM ----------

Just sharing, if you use this script and you flash OTA Zips of your ROM, then just follow this to return to your resized system partition.

Reboot to recovery > Wipe > Advance Wipe > System > Resize Partition > Go back > Resize (do not swipe) and you will see it's resized.

Note: I don't know if this applies to all roms, but, base from my experience after flashing ROM Updates System Partiton gets resized to its original size.

ROM Used: DOT OS
[Xiaomi Redmi 1S] bultok:
still not very clear on how to increase system space redmi 1s. may anyone want to help with a language that is more understandable for beginners? :D
[Xiaomi Redmi 1S] farwind:
Thanks a lot for the detailed guidance, successfully worked!!!Thank u very much!
[Xiaomi Redmi 1S] Kulikingster:
Yes, I also experienced the same thing. I successfully repartitioned to 2 GB (actually 1910 MB) from no OS, but after flashing ROM (DOT OS) system size gets resized to its original size even after doing the steps you mentioned above. Wonder if any solution about this problem...:confused:
[Xiaomi Redmi 1S] EmanzzKie:
you need to resize system partition again, and it will revert back to 2gb
[Xiaomi Redmi 1S] Kulikingster:
Woooww, it works for me bro.. You saved my life :D

I do resize file system again as your suggestion (after install DOT OS) and system size changed to 1913 MB

Thanks brooo...:good:
[Xiaomi Redmi 1S] :
i tried to install this but it destroyed all my partitons and i coudnt even wipe them and my pc showed no thing on connecting. i restored using adb push command and your restore zip. please help.
[Xiaomi Redmi 1S] dohn joe:
What you have done before? :confused::confused:
[Xiaomi Redmi 1S] livack:
Hello,

Thank you for your scripts, it has been very helpful to me. I have successfully installed few custom ROMs that required a 1.2GB system partition.

Tonight, i wanted to revert back to MIUI 9 and have tried the restore default partitions script.

After that, i was unable to flash original MIUI ROMs via flashboot. I had an error with MiFlash.

Long story short, the script is not restoring the file system like it was originally. I have recalculated the limits of each partitions.

You need to edit the "update-binary" file like this :

Save, zip, flash with twrp, and enjoy flashboot MIUI roms again.
[Xiaomi Redmi 1S] vandebergz:
Hello. I might need some help.

I successfully did the procedure until step 5, the /system partition resized to around 1.2, but i can't wipe dalvik, cache, and data. it is said that /cache and /data failed to mount.

can anybody help me?

---UPDATE---

this is a lifesaver
[Xiaomi Redmi 1S] oferyuval:
Thanks for the interesting post.

I have a situation where system / data / cache partition have size 0. I could not mount, nor wipe, nor change file system.

Parted rm and mkpart also do not work.

I thought "restore partition script.zip" could help.

- where can I find such script for Xiaomi redmi 2?

- can I install it using twrp ?
[Xiaomi Redmi 1S] Shiroyasha21:
u need partition table for ur device

and here guide to restore patition table

http://en.miui.com/thread-138246-1-1.html
[Xiaomi Redmi 1S] psshirke.shirke@gmail.com:
can i use same method to repartition my xiaomi mi 3 w
[Xiaomi Redmi 1S] von_philippines:
Thanks for the threads freeshared, its works for me. im looking for the solution regarding on flashing gapps that give me an ERROR:70, failed to flash ARM 7.1 pico.

and now i flash gapps successfully without an interrupt error.

Also Thanks to all developer behind the files and procedure thanks for sharing., god bless.
[Xiaomi Redmi 1S] RajSaran2018:
Thanks A Lot -- Repair or Change File System Now Shows Increased Size of 1913 MB with Used Size of 690 MB with Free Space 1223 MB. Once Again, My Heartiest Thanks.
[Xiaomi Redmi 1S] RajSaran2018:
2 GB Size - Redmi 1S

Hi, My Heartiest Thanks. Now, this Worked and My Redmi 1S is having 2 GB Space Successfully (1913 MB).:o
[Xiaomi Redmi 1S] niral.naik:
can you make youtube video of that?

---------- Post added at 06:11 PM ---------- Previous post was at 06:10 PM ----------

Can you please make youtube video how you have did this ?
[Xiaomi Redmi 1S] Alan Jose:
Its clearly explained in OP

Follow those 10 Steps
[Xiaomi Redmi 1S] RajSaran2018:
2 GB system size increase

I just followed those steps as instructed. But unfortunately, the my Redmi 1S fell down and the power button (silver metal part on back case and the rubber material contact point in body of phone both) got broken and now I am looking for replacing them both if possible. As of now, I am using Asus Zenfone Max Pro M1 3 GB.
[Xiaomi Redmi 1S] niral.naik:
similar

Bro same here , too common with us mine same button broken + bettery bump , i bought just one month ago new phone Asus Zenfone Max Pro M1 6 GB, till last month i was using that ****ing phone , yesterday i tried to flash pie using this but failed. you can contact me for just talking.

---------- Post added at 07:33 PM ---------- Previous post was at 07:25 PM ----------

Mine working properly.
[Xiaomi Redmi 1S] sharathe100111:
Chages in partition script is required

Thank you for your suggestion. This helped me in getting back to stock os, i.e., MIUI, through Mi Flash tool. It was throwing the same error as yours. But after changing the partition sizes as you mentioned, flashing process went so smooth. Once again thank you very much.
[Xiaomi Redmi 1S] naidu001:
This file (Redmi 1s partition reset) is not available for download, msg says it is in Trash folder, can you pl restore it so that can be downloaded. Thanks
[Xiaomi Redmi 1S] Ishan Verma:
It worked. Thankyou
[Xiaomi Redmi 1S] kushalmodi:
Please make a youtube video I can't understand it . I want to use Lineage os 17.1 but it is not flashing for flashing it successfully I have to do this but I am unable to understand I might be doing something wrong I wanted to take help of a YouTube video please make it .help me out anyone please....🙄🙄🙄🙄🙄🙄🙄
[Xiaomi Redmi 1S] :
Please help me I am beginner...

The final path should look like this

/sbin/parted/parted where middle parted is folder

or

/sbin/parted where parted is the file directly.?
[Xiaomi Redmi 1S] gediao15693xda:
delete
[Xiaomi Redmi 1S] olex3:
Привет друг, гугл диск без доступа, невозможно скачать скрипт и расстаться.
[Xiaomi Redmi 1S] CosminHTN:
So... what do I have to do to gain access to the download files? I requested access to that google drive link 24h ago.
[Xiaomi Redmi 1S] rachitgambhir:
HI ,i have requested access to the google drive links yesterday . Can you please approve that request ?
[Xiaomi Redmi 1S] rachitgambhir:
Did you receive those files ? if yes , can you share please ?
[Xiaomi Redmi 1S] CosminHTN:
It's been more than a week since I requested access and still no answer. So I decided to flash back the 4.4.4 Android with MIUI 8.
[Xiaomi Redmi 1S] kashif7466:
Need help, google drive links asking for permission from uploader. Please provide other direct links to parted and script.
[Xiaomi Redmi 1S] hammar63:
I would LOVE to try this ROM, so I can use my old Note 4g in my car with android auto.

I don't get any downloads however.....???

I'm still on Android 4.4 with Miui 9 now.
[Xiaomi Redmi 1S] bennychs61:
Just Give Me Download The Reset File Please!
[Xiaomi Redmi 1S] agejhon:
hi everyone, would you like to reshare the file since the links in the op ask for permission but i still don't get the access
[Xiaomi Redmi 1S] cyruscmh:
Same case here, need help in downloading the files...
[Xiaomi Redmi 1S] babyinnocent007:
I need this file

"3)Repartition script Redmi 1s_2GB system space:https://drive.google.com/folderview?id=0B6_hhjS3nx4IRXlDZUU1cEJ3Smc "
[Xiaomi Redmi 1S] cyruscmh:
I follow this one, and it works perfectly!

How to resize partitions on an android phone using Parted

This is a step by step guide showing how to resize partitions on an android phone using Parted. This guide will come in handy if you're trying to reduce the size of a partition e.g system partition an

forum.hovatek.com
[Xiaomi Redmi 1S] ashishkotnala29:
No one has the original downloads saved? Can someone reupload please?
[Xiaomi Redmi 1S] gediao15693xda:
download link includes all files packaged zip Redmi 1s common

dior_increase_system_partition_space.zip | by Ashish Kotnala for RedMi Note

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

androidfilehost.com
[Xiaomi Redmi 1S] KagerouXD:
Dude, it need a baidu acc to download, we can't even register one because it needs to activate through our phone. Can you upload it to somewhere which we don't need to login? like google drive or somthing?
[Xiaomi Redmi 1S] mindz11:
please go to the below link and check the downloads section - Re-partition tools.

https://xdaforums.com/t/rom-11-0-unofficial-lineageos-18-1-stable.4191413/
[Xiaomi Redmi 1S] zaydenQ:
Have requested

Have requested for access for files. Please grant it
[Xiaomi Redmi 1S] gefademe2d:
Thank you friend..
[Xiaomi Redmi 1S] Mr Hassan:
I need this for os12 erofs

Which have system

System_ext

Vendor

If support
[Xiaomi Redmi 1S] Newbie2022:
Hi man thank you very much can you upload 4)Reset to default partition:https://drive.google.com/folderview?id=0B6_hhjS3nx4IeGtXb0liazdLWVk ?!!
[Xiaomi Redmi 1S] ferrado7:
Please. I didn't understand Step 9(1.2 GB/2GB)-->Resize file system.). I did the procedure I did the flash and gave error! Is that right? Or do I just have to go in and look at the screens? Even giving this error I was able to install gapps without entering error 1 (which was always happening!)