yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] sirozan:
Well, big thanks to you for the link to the kernel (and for the twrp-zip :D).

So far everything worked fine, only when trying to repartition, it stops with the following:

/dev/block/mmcblk0p10: Extended attribute block 11863 has reference count 88, should be 84.

/dev/block/mmcblk0p10: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.

(i.e., without -a or -p options)

FATAL: file system errors in partition #10 'data' (DATAFS) could not be automatically fixed (try running 'e2fsck -f /dev/block/mmcblk0p10')

[ERROR 1]

Updater process ended with ERROR: 1

(the whole recovery.log is as an attachment under the post, if needed)

I would greatly appreciate if someone here can tell me what is wrong here, because if i leaned one thing while playing around with my own s2, then that it's usually a bad idea trying random things if something doesn't work and you don't know why ;)

Edit:

Nevermind, i just rebooted the phone and it automatically opened a tab in the browser saying i should use Stweaks to check and remove errors in the filesystem. Did this and now repartitioning went through without any problems :)
[Android Software/Hacking General [Developers Only]] kiodo1981:
How do I partition the Moto G 2013?

If I lose all the data it does not matter.

Thanks.
[Android Software/Hacking General [Developers Only]] Lanchon:
https://github.com/Lanchon/REPIT/issues/52

https://github.com/Lanchon/REPIT/issues/55
[Android Software/Hacking General [Developers Only]] hwasdin:
Hello guys,

I wanted to flash my CM12 --> CM13.1. So i opened faq and read that i have to repartition my card. Co i download PIT (i use Lanchon method), which i named:

-system=1G-data=6G-sdcard=max++ext4-preload=min+wipe

After entering recovery (i have TWRP) i got Error[1] in which we can read something like this:

FATAL: invalid partition configuration for 'system': system=1G

[ERROR 1]

Any thoughts? It is pretty weird cause i did it as in faq.

Thanks for any help.

/hwasdin
[Android Software/Hacking General [Developers Only]] ThePhoenixII:
Does your zip file name like : lanchon-repit-YYYYMMDD-system=1G+wipe-data=6G+wipe-sdcard=max-preload=min+wipe-yourdevice.zip ? or just : -system=1G-data=6G-sdcard=max++ext4-preload=min+wipe

Maybe because of the '++' between max and ext4 ?

Did you try with : -system=1G-data=6G-sdcard=max+ext4-preload=min+wipe

or : -system=1G-data=6G-sdcard=max+keep+ext4-preload=min+wipe
[Android Software/Hacking General [Developers Only]] hwasdin:
I've tried both Your suggestions, but nothing worked.

(lanchon-repit-20160317-system=1G-data=6G-sdcard=max+keep+ext4-preload=min+wipe)

Maybe the problem is with the file? I don't know. Still got the same message:

FATAL: invalid partition configuration for 'system': system=1G

[ERROR 1]
[Android Software/Hacking General [Developers Only]] ThePhoenixII:
What is the exact name of your file ?
[Android Software/Hacking General [Developers Only]] hwasdin:
lanchon-repit-20160317-system=1G-data=6G-sdcard=max+keep+ext4-preload=min+wipe
[Android Software/Hacking General [Developers Only]] ThePhoenixII:
You don't have a more recent file than 20160317 for your device ?

Because your current file may use the 'old' syntax :

lanchon-repit-20160317-system=1.0-data=6.0-sdcard=max+keep+ext4-preload=min+wipe
[Android Software/Hacking General [Developers Only]] hwasdin:
Will try this one:

lanchon-repit-20160923-system=1G-data=same-sdcard=max-preload=min+wipe-i9100.zip
[Android Software/Hacking General [Developers Only]] the.gangster:
[MENTION=7140528]hwasdin[/MENTION]

Thank you for wasting our time!

I told you right away the most likely root of your problems when hinting you on this thread here...
[Android Software/Hacking General [Developers Only]] hwasdin:
Now working fine. Thank You for help - much appreciated :)
[Android Software/Hacking General [Developers Only]] tiagosantos88:
Can anyone get me 1gb system 6gb data for the i9100 galaxy s2??? I tried lanchon v0.1 version bit dont work please thank in advance
[Android Software/Hacking General [Developers Only]] DoctorStrange96:
ATTENTION - THIS IS FOR FALCON OWNERS ONLY

Would you mind testing this modified TWRP? I tried to fix the kernel bug that prevents REPIT from working on our device.
[Android Software/Hacking General [Developers Only]] aldanopolis:
I confirm that works :D, finish without errors.

Enviado desde mi Moto G mediante Tapatalk
[Android Software/Hacking General [Developers Only]] Lanchon:
jeez!!!!! just today i learnt that there is a VERY HIGH PROBABILITY OF HARD-BRICKING if you use repit on falcon because of signed GPTs. PLEASE DONT TRY IT!!! i was about to remove the build for falcon, what an incredibly bad timing!

please, NO ONE SHOULD RUN REPIT ON FALCON TIL FURTHER NOTICE !!!!

[MENTION=6506882]aldanopolis[/MENTION], can you tell us what happened? are you sure the changes to the GPT stuck after reboot?

MORE INFO HERE:

https://github.com/Lanchon/REPIT/issues/55
[Android Software/Hacking General [Developers Only]] aldanopolis:
Well, that shows now on storage settings, but in others apps shows previous size

Enviado desde mi Moto G mediante Tapatalk
[Android Software/Hacking General [Developers Only]] the.gangster:
It is well-known meanwhile that Android doesn't reveal the single partitions.

You could simply install "DiskInfo" and post a screenshot of that instead. If you check the appropriate values in its settings (if you don't know which are helpful simply check all) it will show all partitions in detail.
[Android Software/Hacking General [Developers Only]] aldanopolis:
On Diskinfo show previous values

Enviado desde mi Moto G mediante Tapatalk
[Android Software/Hacking General [Developers Only]] Lanchon:
i have removed the falcon build. the GPT cannot be altered (or if altered, it would probably brick)

thanks!
[Android Software/Hacking General [Developers Only]] profyler:
This is to technical for me. I tried reading the FAQ. Can someone give me a help?

My intentions is to have a 6GB internal (instead of the current 2 gb)

So i have to download this one below and change what?

lanchon-repit-20160923-system=1G-data=same-sdcard=max-preload=min+wipe-i9100.zip

(Can Twrp be installed using the twrp app in play store? (Im current on cyanogenmod android 4.4.4))
[Android Software/Hacking General [Developers Only]] the.gangster:
[MENTION=4883542]profyler[/MENTION]

are you sure you read until the end? As there are some examples in there...

Every partition not defined explicitly in the filename will be set to 'same' (size) and 'keep' (contents) and its default filesystem. Same applies to those parameters that are not defined explicitely for a partition that is defined in the name.

But not knowing what your aims are, it's hard to give a concrete advice.

If you changed the system-partition's (and maybe preload's) size already (or want to stay on CM11) and only want to change data, you could name it:

lanchon-repit-20160923-data=6G-sdcard=max-i9100.zip

Above would preserve all contents (if your internalSD still has the needed 4GB of free space that would be added to data) and only resize the two partitions.

But if you want to resize for preparing for a clean installation of a newer ROM, you could also wipe all partitions right away:

(make a backup first as the following will delete all your stuff and that pretty fast!)

lanchon-repit-20160923-system=same+wipe-data=6G+wipe-sdcard=max+wipe-preload=min+wipe-i9100.zip

but in that case (above) you should make sure, your current systempartition is at least 1G already. Otherwise above should be changed to:

lanchon-repit-20160923-system=1G+wipe-data=6G+wipe-sdcard=max+wipe-preload=min+wipe-i9100.zip

If you are on an IsoRec-supporting kernel already, you could flash the zip linked in my signature to flash TWRP 3.0.2-1 into the recovery-partition. The thread about the official TWRP 3.0.2-1 is here.
[Android Software/Hacking General [Developers Only]] profyler:
Thank you so much for the explanaiton. My english isnt perfect so it was difficult to understand the FAQ.

Anyway, im Currently on CM 4.4.4 with Dorimax Linaro Kernel.

My intentions is to keep that way and only increase the Data wich is to low (2gb) (see below).

So I understand I can flash your twrp zip file.

After that, flash lanchon-repit-20160923-data=6G-sdcard=max-i9100.zip

Is that right?

[IMG="image"]https://s29.postimg.org/eti9ww6s7/Screenshot_2016_12_18_19_18_04.png[/IMG]
[Android Software/Hacking General [Developers Only]] the.gangster:
Yes, flash the TWRP recovery.

Reboot into TWRP recovery.

flash lanchon-repit-20160923-data=6G-sdcard=max-i9100.zip (if you changed your internalSD's filesystem to EXT4 use this name instead: lanchon-repit-20160923-data=6G-sdcard=max++ext4-i9100.zip)

If you ever want to get the embedded CWM recovery of the DorimanX back, flash IsoRec-Disabler.
[Android Software/Hacking General [Developers Only]] blue whale:
[MENTION=6560258]the.gangster[/MENTION]

Hello,

I see in your signature that you have a special config for installing the full gapps (or the aroma gapps, because I prefer to select what I install), which I am about to do for cm13 and cm14 (I do not know which ROM to keep yet). Currently I run cm13+pico gapps with twrp 3.0.2 and for this, I used

Now I will do a clean installation of both the ROMS.

I like the flashing through twrp and your file for the full gapps is just a .pit file.

Is it only useable as it is with odin?

Do you agree that using your .pit file is equivalent to flashing with

do you agree that the config above will work for both cm13 and cm14 ?

Do you know if 1,5 GB for the system is enough for cm14 for full/aroma gapps ?

I have a backup through twrp of my present cm13+pico gapps (using the first config with system=1G), so if I want to install this backup, in case of problems..., do you agree that it will be possible with the new configuration of the partitions?
[Android Software/Hacking General [Developers Only]] veer.killerboy:
Is this for some specific device as on afh I can see there are files with other name like toro,toroplus,n700, i9300,etc ? Or it can be flashed in any device !!
[Android Software/Hacking General [Developers Only]] the.gangster:
I prefer that too, but I am doing it using a .gapps-config for customizing the GApps installation.

That's what I made it for, but should work with Heimdall too

No, but its equivalent would be lanchon-repit-20160923-system=1.5G-data=6G-sdcard=max-preload=32M+wipe-i9100.zip (plus further optional wipes)

as I configured the preload partition in the one* PIT for 32MB while repit.zip's min-statement would set it to 8MB. But anyway: both sizes are fine.

But use repit.zip-method, as this will format preload right away. Otherwise, you'd have to format it manually afterwards.

*) the Zip contains two PIT-files. One with preload partition of 32MB and one with stock-size of 512MB.

Y E S

Please, take more care of naming the correct variants.

It's even enough space for CM14 with stock-sized OpenGApps, which is bigger than full GApps. But haven't tested the super/aroma variant yet.

CM14.1 with stock GApps currently leaves ~260MB free on a 1.5GB system partition.

Y E S

[MENTION=4952365]veer.killerboy[/MENTION]

Read the READ.ME. It explains everything.
[Android Software/Hacking General [Developers Only]] Lanchon:
please read:

https://github.com/Lanchon/REPIT/issues/56

to know why IMHO you are going down the wrong path.
[Android Software/Hacking General [Developers Only]] blue whale:
With cm14 and plenty of google apps, the system takes 1.1GB. Do you think that it is worth it to reduce the size after the installation?
[Android Software/Hacking General [Developers Only]] the.gangster:
[MENTION=3233186]blue whale[/MENTION]

That's not the point in Lanchon's post.

He suggests installing only the pico variants of GApps into system partition and all the other Google apps from play store (into data), as that way the space is occupied only once.

If I use GApps I keep auto updating disabled and only update GApps with next ROM update (with a current GApps package again). That way only play services are updated if needed automatically as you can't disable that anyway.

You should be aware of these mechanisms, otherwise you'll waste the space twice.
[Android Software/Hacking General [Developers Only]] _linux_:
Hi All

I ran the tool, and it worked, giving me success.

lanchon-repit-20160216-system=same-data=same-sdcard=max-preload=min+wipe-i9100.zip

I used:

1 kernel-Lanchon-TRIM-IsoRec-20160206-cm-12.1-i9100.zip

2 recovery-Lanchon-IsoRec-TWRP-2.8.7.0-20160113-i9100- (by-arnab) .zip

I've a cm13 + gapps

but unfortunately now it is known that the partition / data is always 2GB and no bigger.

how can I do to change it?
[Android Software/Hacking General [Developers Only]] svbarbosa:
If you use "data=same" data partition will remain unchanged.

To make it 6 GB you should change the zip file name to "...-system=1G-data=6G-sdcard=max-preload=min+wipe", no spaces.

Please double check the documentation: https://github.com/Lanchon/REPIT.
[Android Software/Hacking General [Developers Only]] Lownita:
Would this be the right configuration for the usual 1 GB system 4 GB data configuration on an i9100?

lanchon-repit-20160923-system=1G-data=4G-sdcard=max-preload=min+wipe-i9100.zip
[Android Software/Hacking General [Developers Only]] Namoi:
Yes but you should explicitly add a +wipe or +keep parameter after the size for system and data depending of what you want (wipe or keep the datas in those partitions).

Also note that wiping is much faster than keep as the script won't have to move around your files during the repartition process.

Edit: the same for sdcard applies but your data in the internal storage will of course be deleted.
[Android Software/Hacking General [Developers Only]] sksbir:
Hi

Used with succes on an old gs2/i9100 previously cm12 without play store (I got the problem in early 2016 and didn't found the solution at this time). I used repit zip without changing name. First failed because of not repaired sdcard0. I had to wipe it and restart repit from tmp. Now with cm13, gapps nano , everything works well.
[Android Software/Hacking General [Developers Only]] noratroll:
Tried file for GT-I9300 (I use Galaxy S3) date of 2016/09/23 in TWRP 3.02-1 (Rom: ResurrectionRemix5.8.0 Nougat7.1)

Repit-Logs aren't anywhere. MTP was disabled in TWRP. Device was connected to a wall charger, not to a computer.

Have I missed anything?

Repit on GT-I9100 went successfully.
[Android Software/Hacking General [Developers Only]] Namoi:
Did you launch it from /tmp already when you got that message? If not then do as suggested : relaunch the script from /tmp where it copied itself after the failure.
[Android Software/Hacking General [Developers Only]] noratroll:
Thx for swift reply. Yes, I did start it from /tmp as I did it already with GT-i9100 beforehand successfully. But on GT-I9300 everytime the error occurs.

Forgot to mention: The GT-I is the 64GB version but as I read somewhere it should not matter.
[Android Software/Hacking General [Developers Only]] the.gangster:
You could also pull the /tmp/recovery.log which includes the lanchon-repit.log.
[Android Software/Hacking General [Developers Only]] Lanchon:
hi,

very incomplete info, if i may say so.

-what REPIT are you using?

-TWRP 3.02-1... built and published by whom? is it an isorec twrp?

-what kernel are you using? twrp needs a kernel to run

-"Repit-Logs aren't anywhere." what evidence do you have to back this claim? probably the log is exactly where the docs say it is. extraordinary claims beg extraordinary evidence.

-"MTP was disabled in TWRP. Device was connected to a wall charger, not to a computer." what we care about is the story of twrp and the phone ever since it twrp booted. the state when you flashed says little about your complete flashing procedure.

thanks
[Android Software/Hacking General [Developers Only]] nospamboz:
Worked, thanks!

Thanks for this tool!

Got 160923 for i9100 off Github, did a "keep" for all, only increased /system from 768MB to 1GB for future CM^H^HL14. Only took 10 minutes or so. It said "success" at the end, and everything works. On both CM13 main and L14.1 test i9100's.
[Android Software/Hacking General [Developers Only]] Lanchon:
lol! thanks ;)
[Android Software/Hacking General [Developers Only]] leodis:
Hi, I am following this guide "[Guide/tutorial] Samsung Galaxy S2 i9100 Any version to Android 6/CM13 or 7/CM14" in order to install the rom [ROM][OMS] AICP - 12.1 - N 7.1.1_r6 i9100 Official Nightly builds on my S2 I9100 Intl.

I follow the guide, but when I get to install the file "lanchon-djibe-repit-20170115-system=1G+wipe-data=6G+wipe+f2fs-sdcard=max+wipe+ext4-preload=min+wipe-i9100.zip", which should serve to change the size of the partitions, I get an error message: Install Zip Failed.

I think I have made a mistake by installing the répit file the first time. To try to repair I also used odin, selecting also re-partition and how the pit thr u1_02_20110310_emmc_EXT4.pit file and a rom stocks (up here all right).

Then I redid the root and I tried again, still error with répit Install Zip Failed.

There is no way to solve?
[Android Software/Hacking General [Developers Only]] kvevand63:
Click on the link next to Documentation in the OP. It will take you to the github. Click on to Readme.txt. Everything you need to know is there. In the meantime (and you will find this in Readme.txt), you should have been prompted in TWRP upon the zip flash failure to redirect to /tmp and reflash from there (you will find that the zip has copied there).
[Android Software/Hacking General [Developers Only]] Lanchon:
hi,

i'm not familiar with that guide, and it looks like the author 'djibe' might have modified and/or preconfigured my REPIT somehow (which is allowed and encouraged when done according to its GPLv3 license). please keep in mind that on this thread you'll only find support for stock REPIT. please report problems only to the correct thread according to the version you are using. thanks!
[Android Software/Hacking General [Developers Only]] leodis:
I apologize, but I have been sent here by # the.gangster in the thread https://xdaforums.com/showpost.php?p=70791810&postcount=347. He thought you could help me, patiently.
[Android Software/Hacking General [Developers Only]] the.gangster:
[MENTION=2232345]leodis[/MENTION]

Not exactly.

Yes, I sent you here to examine (and solve) your problem. Most likely by myself.

But I also asked you to add either recovery- or repit.logs.

As you didn't, there was nothing to do so I didn't react on your post.

[MENTION=4141005]Lanchon[/MENTION]

The creator of the other guide just used the standard repit.zip and renamed it according to what he thought would be the best partitioning approach.

But for a guide like that I don't share his advice at all. He makes people format data with f2fs and sdcard with ext4.

Doing that it is far from standard and most people have to learn that the ROM that they flash afterwards doesn't even support f2fs, LOL.

But anyway, if leodis posted a log I would look at it, as it is just renamed for reconfiguration. He just put his name into it for easier reference within the guide, as think he also referred to another one unmodified.
[Android Software/Hacking General [Developers Only]] Lanchon:
those using f2fs will be bitten back by its lack of tools: when it's time to migrate to emulated storage, they'll have to wipe.

but whatever that guy has done it's not my job to know or investigate. in general i won't support tools distributed by 3rd parties, even if it's maybe my tool. i hope this position is understandable and sane.

and btw, thanks for providing continuing support for everybody using REPIT!! :)
[Android Software/Hacking General [Developers Only]] leodis:
Unfortunately I realized that I have a much bigger problem. It has ruined the partition table of the ROM. I discovered that the fat storage partition sdcard0 is no longer detected. It seems that there is not. The phone works, more or less. The camera will not, but I downloaded one from the play store.

You can repair it?
[Android Software/Hacking General [Developers Only]] Lanchon:
no, but you can. you have 2 options:

-take the problem to the xda thread that caused it, and ask for help there.

-or go to the REPIT site and read and understand the complete documentation. this is the REPIT thread and we do things differently here: we provide full documentation -which cost me a lot of time to write, btw- instead of spoon-feeding users with obscure solutions that they don't understand. this is precisely to avoid users getting into situations like the one you are in.

your issue is probably that you changed the file system type of /sdcard using REPIT and you don't even know you did because you blindly followed instructions you didn't understand. if this is true, you could solve this issue either with TWRP or REPIT.

please don't ask "how do i do that?" on this thread. it's all in the docs. if you prefer to be spoon-fed, please go to the other thread.

thanks!
[Android Software/Hacking General [Developers Only]] ando roido:
Maguro with CM 13 gives error

..

blockdev: /dev/block/mmcblk0: Device or resource busy

FATAL: unable to reread the partition table (please disable MTP in TWRP's 'Mount'

...

Full TWRP 3.0.2-0 log attached. I have ran from tmp, always checked that MTP is disabled. Phone is not encrypted.
[Android Software/Hacking General [Developers Only]] LegoM305:
Assistance

so....

i don't understand any of this

i just want to increase the system partition on my oneplus one

can someone help?
[Android Software/Hacking General [Developers Only]] PackElend:
Hallo,

short question, there are any side effects when increasing the increasing the app partition (/data) to all remaining internal space and thus decrease the internal SD partition (/SDCcard0) to zero (or almost zero). I will run Android >=6 on my I9100 with extend internal storage (Adoptable Storage) managed by Android.

thx
[Android Software/Hacking General [Developers Only]] the.gangster:
Seems like the Nexus is really kind of sensitive.

Did you try this already:

Although requested once it's not supported on the OnePlus One. Read here why (hope you at least understand some of that ;) )

For Repit it's ok to reduce it to 8MB (=min). Several people already did that (having a bigger system partition already in place) in favor of a bigger data partition for switching to emulated storage. If you want to go for adoptable storage instead and realize the external SD to be slowing down things, the emulated storage would be a way that works.
[Android Software/Hacking General [Developers Only]] PackElend:
thx for the hint[mention=6560258]the.gangster[/mention], I've just read through all 16 pages, that sounds very promising (great work) but if I use dropbox etc. I will easily hit the 16GB limit of the build-in storage. How can I combine it with an external SD Card?

Did I understand correctly that I can flash again RR OS on it instead of Lineage OS?
[Android Software/Hacking General [Developers Only]] Olleo:
Hi,

I have tried to repartitionize i9100 (currently running on NeatROM kitkat 4.4.4). I have used the default i9100 config from the download site and got it failed:

Partition 1 does not end on cylinder boundary.

FATAL: unable to determine usable sector range of block device

[ERROR 1]

E: Error executing updater binary in zip '/emmc/Download/lanchon-repit-20160317-system=1.0-data=same-sdcard=max-preload=min+wipe-i9100.zip'

Error flashing zip '/emmc/Download/lanchon-repit-20160317-system=1.0-data=same-sdcard=max-preload=min+wipe-i9100.zip'

Any idea what's wrong?
[Android Software/Hacking General [Developers Only]] the.gangster:
[MENTION=2673106]Olleo[/MENTION]

First of all you should use the latest release, as there were quite some improvements, including detection of the heap end (especially useful for non-16gb version).

It might also give better advices to certain errors.

Not promising there will be no error with latest version, but noone wants to search for errors that might have been fixed already in later versions.
[Android Software/Hacking General [Developers Only]] Lanchon:
hey TG!!!

thanks for your excellent support! sorry that i'm MIA, swamped by work, miss XDA :)