yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] monstro78:
It's kind of confusing for most users what to do about repartitioning... also there are many threads...

I suggest to have one thread here in development and one at Q&A (mods plz make one) and leave op to [MENTION=5695278]ChronoMonochrome[/MENTION] because I think is more "live" member of this community. No offense for others.

Also I propose to make 4 zip's.

ext4 + ext4 with small intsdcard + f2fs + f2fs with small intsdcard

common changes ..... fota and preload move to /data

and I explain for ext4 no need for change /system, reduce /cache to 10mb and rest of cache to /data

for ext4 with small intsdcard all the above, plus reduce the amount of /sdcard0 for users who want swap

for f2fs we must grow /system (around 40mb) and reduce /cache to 130mb

for f2fs with small intsdcard the above, plus reduce the amount of /sdcard0 for users who want swap

and all of them sticky to first post. Also is good idea, for users that they want to come back, link to fw with 3 files or pit itself at the op.
[Galaxy Ace II Android Development] Serkenar:
This works like a charm. Thank you very much! :)
[Galaxy Ace II Android Development] borkins:
You can use "Folder Mount" app from play-store.

I'm on CM11 with swapped storages. And I mounted the hidden ".android_secure" (all things from /mnt/asec) from sdcard1 to sdcard0, and now

the bigger (.asec) files are stored in folder on sdcard0. Before that I can't install apps to sdcard/usb storage from the market.

So, I think there is no need to resize the internal sdcard partition.
[Galaxy Ace II Android Development] kjub6:
Update OP pls

[MENTION=5695278]ChronoMonochrome[/MENTION] pls update the OP
[MENTION=4962787]fluffi444[/MENTION] THX you are the best

to all you out there here are 2 setups THX to fluffi444 we can use:

EXT4 http://xdaforums.com/showpost.php?p=57177356&postcount=44

F2FS http://xdaforums.com/showpost.php?p=57126553&postcount=41
[Galaxy Ace II Android Development] manthes:
3) format /data, /cache (ext4 or f2fs) and /sdcard (vfat)

Because of CWM black screen i can only use TWRP or cwm 6.0.2.8. Can i repartition with this two recoveries?
[Galaxy Ace II Android Development] ChronoMonochrome:
@up, sure, you can.
[Galaxy Ace II Android Development] manthes:
I did it with twrp 2.7.1

With latest twrp or previous it can't format sd card
[Galaxy Ace II Android Development] diablos222:
Hey, I have a big problem. I did everything like in the tutorial. Everything looks good - I have lot of memory for apps but I have one big issue. I cant copy anything to my phone. I can see my SD card partition but when I want to copy something there, windows shows copying window but nothing really happens. If I want to copy a 1 MB file, its copying endlessly. Over WiFi its copying OK. I think its a little bit slower but atleast I can copy something.

I could copy with USB without any problems before installing this script.
[Galaxy Ace II Android Development] kjub6:
F2FS can be formated to ext4 and no need to repartition

But I have problem >>

I install kernel, reboot, reparition with values above,

format data,system,cache+sdcard0 to propper formats f2fs+vfat

Instal CM11 latest 1118 + Gapps latest :/ 4.4.4 >>> ERROR gapps cant be installed :/ it tells me that on system is not enough space

Gapps version

pa_gapps-modular-pico(uni)-4.4.4-20141214-signed

can you please make 2 more files ?

Quote: >> to be safe today and in near future in updates :/

800.000 SYSTEM

130.000 CACHEFS

2.722.931 DATAFS

100.000 UMS

100 HIDDEN

Quote: >> to be safe in systems that have not novathor or cant swap internal storage (5.0) latest ... or a way how to go BACK, backup

800.000 SYSTEM

130.000 CACHEFS

1.722.931 DATAFS

1.000.000 UMS

100 HIDDEN

EDIT >>>>

on f2fs setup ext4 formatting (larger cache I dont care)

I installed PolishVodka 0113 5.0.2 android + gapps (uni) AND NO PROBLEM ... doing the same with CM1118+gapps uni = ERROR not sufficient space :/
[Galaxy Ace II Android Development] ace2nutzer:
Best partition table for max space on data + art + f2fs:

(but u need sdcard to swap sdcards in NT-APP

working on 18/11 f2fs + pico-uni-gapps:

Number Start End Size File system Name Flags
10 524kB 1573kB 1049kB PIT
6 1573kB 3146kB 1573kB CSPSA FS
7 4194kB 14680kB 10486kB ext4 EFS
2 14680kB 31457kB 16777kB ext4 Modem FS
14 32506kB 34603kB 2097kB SBL
16 34603kB 36700kB 2097kB SBL_2
1 36700kB 53477kB 16777kB PARAM
12 53477kB 55575kB 2097kB IPL Modem
13 55575kB 72352kB 16777kB Modem
15 72352kB 89129kB 16777kB Kernel
17 89129kB 105906kB 16777kB Kernel2
3 105906kB 755906kB 650000kB SYSTEM
5 755906kB 3798832kB 3042926kB DATAFS
4 3798832kB 3948832kB 150001kB CACHEFS
9 3948832kB 3948896kB 63.5kB ext2 HIDDEN
8 3948896kB 3959406kB 10510kB fat32 UMS

to make it:

(ADB over recovery)

adb shell

parted /dev/block/mmcblk0

unit kb

print

rm 11

rm 8

rm 9

rm 4

rm 5

rm 3

print

mkpart primary 105906 755906

mkpart primary 3798832 3948832

mkpart primary 755906 3798832

mkpart primary 3948896 3959406

mkpart primary 3948832 3948896

name 3 SYSTEM

name 4 CACHEFS

name 5 DATAFS

name 8 UMS

name 9 HIDDEN

print

mkfs

y

9

ext2

print

q

exit
[Galaxy Ace II Android Development] MarquesYOLO:
Deleted
[Galaxy Ace II Android Development] kjub6:
can you make a flashable zip out of it ? pls ... I had also before the system partition 650 and installed 11/18+gapps pico uni told me that no space on system :/
[Galaxy Ace II Android Development] ace2nutzer:
really not possible... after repart system @ 650MB and format system @ f2fs then 18/11 for f2fs + pico-uni-gapps i've after booting ca. 50MB free on system... checked with term. emu. with "df"

I've make it extra for you lol :cowboy:

No warranty if it works or not .. not tested .. it's based on chronos cwm repart + [MENTION=4962787]fluffi444[/MENTION] reworked ...
[Galaxy Ace II Android Development] kjub6:
I promiss I dont lie > I reparted, formatted reboted installed 1118+pico uni = made error >> thx for reparted doc have saved it now I am on 5.0(alpha) polishvodka

but will test it as soon as possible > problem is that polishvodka dont uses CWM recovery :/

When you reworked 5.0 kernel :D wohoooo that wil be lightning storm in our devices :)

Edit > have you encountered a way how to swap storages in android 5.0 ? and also some adblocker for 5.0 ? in 4.4.4 I used

https://f-droid.org/repository/browse/?fdfilter=ad+blocker&fdid=org.adaway

but it keeps telling me that 5.0 is not rooted ... even when before restart after install cwm asked me to root it and I pressed yes

EDIT >>> [MENTION=5840412]ace2nutzer[/MENTION] >>> the reparted zip has worked ;) I have managed to make clean instal of CM1118 + uni gapps THX A LOT ;) have a nice day
[Galaxy Ace II Android Development] ChronoMonochrome:
One user asked me to make repartition script with 1000 MB on /sdcard. Please be warned that this script is untested. I haven't tested it because I don't want to reflash my ROM. Feel free to report here if it's works (otherwise there's no point for everyone to flash it).

These scripts were tested by [MENTION=6227052]Ave_Hornet[/MENTION] .
[Galaxy Ace II Android Development] Bilgets:
Hi, how do you revert back to stock partition setting? Do I just flash stock rom or?
[Galaxy Ace II Android Development] Lewis Zimmerman:
change storage?

How do I replace internal storage for the sd card? or how I'll hide 100 megabytes internal storage and I only have one item in inofrmaci storage?

thanks
[Galaxy Ace II Android Development] ChronoMonochrome:
As has been requested, I uploaded one more partition scheme.

I haven't tested this.
[Galaxy Ace II Android Development] aj10:
[MENTION=5695278]ChronoMonochrome[/MENTION] i followed your instructions, and something is wrong with my partitions.

i have 2.64 GB on data

28 KB (internal sd card)

i think it somehow corrupted my internal sd card (sdcard0 in cwm).
[Galaxy Ace II Android Development] ChronoMonochrome:
This script was done when most users used CM10.2. I removed now it from OP, since it's unusable with CM11. Use one of the other repartition archives provided in OP or in a few latest posts.
[Galaxy Ace II Android Development] aj10:
deleted.
[Galaxy Ace II Android Development] fluffi444:
User request - Some more CWM ReParted ZIPs (with 650 MB on System for bit bigger or not bloatware-free ROMs)

CWM_ReParted_SY650_CA10_DA3080_SD100_EXT4

CWM_ReParted_SY650_CA130_DA2960_SD100_F2FS

Checked - Files are OK now
[Galaxy Ace II Android Development] manthes:
Are you sure that it has 650 MB on system? I see 620
[Galaxy Ace II Android Development] fluffi444:
The 650 are in realtiy 650.000 KBytes - That makes ~620 MB.

Sorry if I wrote 650 MB - my fault.
[Galaxy Ace II Android Development] xkvegans:
Woohoo... Thank you so much

CWM reparted combined with f2fs + art

Now, no more reason to throw Codina and move to another new device.

Now my codina is close enough to completely perfect for being my soulmate.

Good bye expensive device
[Galaxy Ace II Android Development] riyosakura:
I'm using art ext4 cm12 with system 620, cache 10. but it stuck me on bootloop.

what do you suggest for cm12 art on ext4? thanks.
[Galaxy Ace II Android Development] Devel0per95:
what file(s) should i flash?

i have EXT4
[Galaxy Ace II Android Development] AntaresOne:
Thank you [MENTION=5464206]AntaresOne[/MENTION] for making it happen :angel: :angel:

Lol guys it's nice to see what is born from my guide :)

Congrats!

Inviato dal mio GT-I9505
[Galaxy Ace II Android Development] ChronoMonochrome:
Added to OP :)

I would like to thank each and every member of the TeamCanjica, I always admired you :good:
[Galaxy Ace II Android Development] happyrik:
Very good job! I repart memory with f2fs and all works very well.

Now the phone is perfect.

Tx!
[Galaxy Ace II Android Development] fluffi444:
User request from [MENTION=6593438]I.C.Wiener[/MENTION]

CWM_ReParted_SY650_CA10_DA1400_SD1800_EXT4

CWM_ReParted_SY650_CA10_DA1000_SD2180_EXT4

Values are in KB*1000 - Example: SYS650 = 650.000 KB = ~630 MB on SYSTEM

Checked - Files are OK now
[Galaxy Ace II Android Development] nikolas1274:
[MENTION=4962787]fluffi444[/MENTION]

if we will not swap memories what partition (system/data/sdcard0) are you suggest to use for cm11 or cm12?

thanks
[Galaxy Ace II Android Development] fluffi444:
Actually there is nothing to recommend. This depents on the personal needs and which apps you install and were those apps put thier data.
[Galaxy Ace II Android Development] nikolas1274:
is there any way to check what is going to internal sdcard?
[Galaxy Ace II Android Development] fluffi444:
Install an app and see. I made the experience that every app reacts different. Some install themself to DATA completely, some are split on DATA and (int.) SDCARD (without swap). I think there is no 100% complete way in advance.

You have to find it out for yourself which the "best" partition setup is for you app selection in particular.
[Galaxy Ace II Android Development] nikolas1274:
Hello, May I have a script with:

System : default

Cache : 10.000 (ext4)

Internal ad : 300.000

Data : the rest

Please write me the exactly values

Thanks
[Galaxy Ace II Android Development] ace2nutzer:
CWM Repart for Max on Data + Back to Stock

For Custom ROMS:

EXT4 or F2FS

Back to Stock:

1. Flash the proper repart.zip with cwm

2. Unpack fota.zip

3. Flash with ODIN as PDA the "fota.tar.md5"

4. Flash any Stock ROM.
[Galaxy Ace II Android Development] nikolas1274:
I want for ext4 not f2fs, like that

System : 620.000

Cache : 10.000 (ext4)

Internal ad : 300.000

Data : the rest

Thanks
[Galaxy Ace II Android Development] ace2nutzer:
Here u are... i've also add some other Repart.. on Post #77 ... incl. back to Stock Repart ... :good:
[Galaxy Ace II Android Development] fluffi444:
User request from [MENTION=2689101]rhamta[/MENTION]

CWM_ReParted_SY720_CA150_DA2900_SD50_F2FS
[Galaxy Ace II Android Development] seanmalto:
Is there any way to repartition my SDCARD without doing a fresh install? i mean full wipe or etc.

My SDCARD's (swapped to eksternal) size is too small, only 100MB, there is an application that require a bigger space.
[Galaxy Ace II Android Development] nikolas1274:
i think that yo dont need to repart again, just do this:

1. swap memories to be at original positions

2. restart

3. install app

4. swap & restart again

i believe that it will solve your problem

Also if you want to repart you can do it without full wipe.

choose one from zip files from tis thread, and do the following:

1. reboot recovery

2. make cwm backup

3. flash repart zip

4. reboot recovery again

5. restore your backup

i am doing it like this
[Galaxy Ace II Android Development] seanmalto:
Well thanks for your help :)

I will try to flash a new repart.

Looking for a bigger sdcard size for now.

Thanks :)

Hi [MENTION=4962787]fluffi444[/MENTION] , i need something like this for ext4:

620.000SYSTEM

10.000CACHEFS

x.xxx.xxxDATAFS

200.000UMS

100HIDDEN

Please add 100MB to UMS by decrease the size of DATAFS. Because i need 200MB For UMS.

Thankyou :)
[Galaxy Ace II Android Development] fluffi444:
CWM_ReParted_SY650_CA10_DA2980_SD200_EXT4

I decided to make it with 650.000 KB for SYSTEM - maybe better for some non-bloatware-free ROMs
[Galaxy Ace II Android Development] ace2nutzer:
U need to unswap storages, then install the application and then swap storages again... that trick works for me .. i've only 2MB for sdcard0 and i can install every App :o
[Galaxy Ace II Android Development] shaqman89:
2 MB, seriously? :D

This information could be handy
[Galaxy Ace II Android Development] ace2nutzer:
yes ! Take a look on some posts ago here.. or in my dev-host .. i've posted/uploaded cwm-repart. for 2MB sdcard .. works great ... it's just a problem for some stupid apps that doesn't understand that storages are swapped.. in that case it's needed to swap sdcard back again .. and installation works.. then swap again and use the apllication .. works without any issue ... with that trick u'll have max. possible space for /data :)
[Galaxy Ace II Android Development] oscar.davidson:
Not sure what I did wrong... I'm new to this. I try to start up, but it's stuck with the CyanogenMod face... And the SDcard is empty, and says ''E: unable to mount '/sdcard'
[Galaxy Ace II Android Development] ChronoMonochrome:
Probably didn't format /sdcard? Make sure it's formatted to VFAT, because script doesn't do it automatically.
[Galaxy Ace II Android Development] oscar.davidson:
Is it as easy as your instructions? Or do I have to follow what they were talking about on the other thread.

I just got sent here, someone said that's they did with the ROM we're using, to get your kernal on it. Because the ROM isn't F2FS supported.
[Galaxy Ace II Android Development] ChronoMonochrome:
Follow instruction in OP to repart memory. But main rule is - if you're not sure what(and what for) are you

doing, then don't do it, otherwise it becomes very easy encounter issues you already did. To convert ext4 partition to f2fs you should be aware that it requires some free space(~25%) on that partition(though, this is omission from my side), and this is where repartition comes to help.
[Galaxy Ace II Android Development] oscar.davidson:
Well, I only installed the zip... Now it says I only have 30.00kb. All I want to do is have a uptodate phone! Plus a working on that doesn't crash LITERALLY every 10-15mins :(

I am really over it...
[Galaxy Ace II Android Development] nikolas1274:
What zip did you install? there are too many zips at this thread with different partition tables.

You have to chose which one suits to you
[Galaxy Ace II Android Development] oscar.davidson:
It's called; CWM_ReParted_v2.0.1_by_ChronoMonochrome.zip

It says the ex-sd is unavailable. But when I go onto file manager it's all there.
[Galaxy Ace II Android Development] nikolas1274:
i think that it is an old version, you have to flash the new one that it is at op now.

I think that you have to reverse to stock before you flash new one file
[Galaxy Ace II Android Development] fluffi444:
Use one one this (depending of which file system F2FS/EXT4 you are going to use)

http://xdaforums.com/showpost.php?p=58958374&postcount=62

But please read and understand what Chrono wrote some post above:

http://xdaforums.com/showpost.php?p=61727899&postcount=91
[Galaxy Ace II Android Development] Sylvinette:
Is there's someone have repartition with default stock ace 2? I want to return my normal partition, currently SD card has 10mb only.
[Galaxy Ace II Android Development] shaqman89:
Always search before you ask.

http://xdaforums.com/showpost.php?p=60156550&postcount=77
[Galaxy Ace II Android Development] kjub:
in latest CM11 4.4.4. from august2015 >>> YOU DID NOT IMPLEMENT novathor ... so this solution does not work
[Galaxy Ace II Android Development] ChronoMonochrome:
Novathor app is became obsoleted - there is no reason to include this. Use chronokernel app instead. I don't remember, whether it was included or not, but is it so difficult install it manually, even if it's not included? ;)
[Galaxy Ace II Android Development] kjub:
and is this so hard ? to put in OP swapsd.zip ? to flash it in recovery ? one more zip. I googled and found it. add it in the OP

http://d-h.st/uIw
[Galaxy Ace II Android Development] ChronoMonochrome:
If you could use the search to find, so there is no need to complaints about not included novathor app/"not working solution". I'd like fewer and fewer keep the conversation going in such tone.
[Galaxy Ace II Android Development] Dennydap:
Hi, i just want to make sure. Does this trick enlarge the partition? Will it install more apps than you can using ridiculously 1.2gb samsung partition? Also, can i do this trick without using external memory card? You said that "swap storages using novathor" i mean is it mandatory or optional? Looking forward to your answer [MENTION=5695278]ChronoMonochrome[/MENTION] :)
[Galaxy Ace II Android Development] ChronoMonochrome:
It only increases size of /data | /system partition, so without a memory swap it probably won't allow install much apps, that requires a space on /sdcard. So, swapping storages is highly recommended if you are decreasing /sdcard size.
[Galaxy Ace II Android Development] Vaste92:
Hi! I had some problem with google play services after The repartion. All went good, but play services fail to upgrade: after some minute, during installation, The system crash and The phone reboot erasing all The dalvik cache, so that The phone has to recompile all The app. Anyone having this problem?

I'm on cm 12.1, last build avalaible.
[Galaxy Ace II Android Development] kodina:
Can someone explain what is Fota and why can we delete it?

parted $MMC rm $Fota

Also, if this fails or I don't like it, why must I flash STOCK ROM?
[Galaxy Ace II Android Development] judas1977:
Fota partition is for OTA updates, don't expect Android updates for codina anymore:)

You can restore partitions manually, but it's easier to just flash original firmware via odin
[Galaxy Ace II Android Development] kodina:
But wouldn't odin trigger "knox" or whatever is taht stuff that shows 100% that device been tampered with?

Can't you just make a new flashable script that restores old partitions?
[Galaxy Ace II Android Development] greeceeeee:
What's the difference on swapping via novathor simply without this method when we make fresh install of cm11?
[Galaxy Ace II Android Development] kodina:
You will have whatever the size of your SD card is for "internal SD card" instead of the factory 1.10GB space.

You will waste 1.10GB space.

With this CWP ReParted you will only waste 100MB.

Atleast that's how I understand it :confused: correct me if I am wrong.
[Galaxy Ace II Android Development] JuraP:
Using TWRP

[MENTION=5695278]ChronoMonochrome[/MENTION] I know, this will sound completely bull****, but anyway: Could I flash "CWM ReParted" file via TWRP? I´m currently on TWRP 2.7 and I don´t wanna to search for CWM and downgrade back to it.... Thx 4 reply
[Galaxy Ace II Android Development] ChronoMonochrome:
Probably it should work. Though as I've heard reports that it doesn't work properly on TWRP I'd suggest using CWM anyway.
[Galaxy Ace II Android Development] JuraP:
Deleted
[Galaxy Ace II Android Development] :
[MENTION=5695278]ChronoMonochrome[/MENTION] can you make a zip that have 1000mb on /system and all other space move to /data? If you can then tell me ;)
[Galaxy Ace II Android Development] edoprayuga:
Help me, please

Help me, after I install the smartphone I have the damage written E: failed to mount / cache (no such file or directory) and E: failed to mount / data (no such file or directory) on cwn display
[Galaxy Ace II Android Development] ace2nutzer:
@up

wipe data (factory reset).
[Galaxy Ace II Android Development] :
Did you do a repartition on phone? If so please tell me you do on temperatory cwm or [MENTION=5840412]ace2nutzer[/MENTION] 's kernel (which contain cwm 6.0.5.0)?

If you didn't do repartition you should factory reset your phone.
[Galaxy Ace II Android Development] edoprayuga:
not successful

After I wipe the data (factory reset) there is a red writing E: format_volume: make_ext4fs failed on / dev / block / mmcblk0p5
[Galaxy Ace II Android Development] ace2nutzer:
Start an new try ...

Do repart again. With mine from my ftp.

Then power off the phone.

Boot to recovery.

Wipe data, format system.

Format sdcard0 as vfat.

Then u can install a rom or restore any cwm backup.
[Galaxy Ace II Android Development] :
As for users request, I created a zip with 1gb on /system and the rest is for /data.

It is not tested one, so please someone help me to test it :)

Edit: [MENTION=5840412]ace2nutzer[/MENTION] tested the reparted file, but the zip is NOT TESTED
[Galaxy Ace II Android Development] ace2nutzer:
if u only edited reparted.sh script then it's not needed to write "is not tested".

It should work. No need to experiment with it ;)
[Galaxy Ace II Android Development] :
No. I edited update-script too. I use that to show who have createe that zip. (It's me :))

The reparted file is tested, but FULL ZIP FILE is not tested.
[Galaxy Ace II Android Development] Muhammed Suhail:
Is it only for KK?
[Galaxy Ace II Android Development] :
It's reparted file is only tested on KK, but it should work on any ROM except for stock one.
[Galaxy Ace II Android Development] Muhammed Suhail:
It didn't work for me

After partitioning the recovery kept saying can't mount /cache /data etc
[Galaxy Ace II Android Development] :
After reparting you must format /system, /data, /preload, /cache for your new partition to work.
[Galaxy Ace II Android Development] Muhammed Suhail:
That was new for me sorry for the bother
[Galaxy Ace II Android Development] :
Ok.

In reparting: if increase space for a partition, it is no need to format, but if decrease space, you must format for that partition works.

Does my zip one works?
[Galaxy Ace II Android Development] ace2nutzer:
After flash the zip, power off.

Boot to recovery and wipe data, format /System, and if not sdcard_only, then format also sdcard0 as vfat.

Formatting is always needed !!!
[Galaxy Ace II Android Development] :
He use cm14, so no need to use your sdcard_only or your cm11 :)
[Galaxy Ace II Android Development] ace2nutzer:
we are talking about to use your repartition-script for bigger /system partition.

again: after repartition, formatting is always needed, don't say:

;)
[Galaxy Ace II Android Development] :
But it is not needed for a increased size partition to format because it is still works.
[Galaxy Ace II Android Development] ace2nutzer:
Yes it works, "mount" works too ... but i don't think that u'll be able to use the FULL size without any problems.

The new space starting from the old end of the partition till to the new end of a partition is simply UNFORMATTED !

So u can't use the new added space ... now it's clear ? - After i repeat about 4 Times ? :o
[Galaxy Ace II Android Development] suli789:
I had a problem

When i formatted internal sdcard, it had an error. It said " An unable to formatting sdcard". Could you help me? Thank you
[Galaxy Ace II Android Development] ace2nutzer:
It's normal ....