It's ok, I ran 6gb pit via Odin and it's all sorted now, thanks anyway@jimbomodder
First of all:
check the readme on the github documentation for the syntax! It changed already with builds as of 2016-09-23. Now units (like G) are mandatory for size definitions.
If it still fails, and I assume it will as you might run it from within a recovery, that doesn't have the full toolset that is needed: post the recovery.log or the repit.log (again: please read the documentation).
Hi lolala1,@Lanchon
Hey man! I flashed your RePit to I9305, 11GB free space up to 13GB! Good result. No any error.
I can't flash custom rom, system.img is small sized. (My USB port broken) How to back stock partition size? Would you make a backup for me?
*I know, my lang is bad. sorry.
Hi lolala1,
Nobody makes a backup for you.
But if you want to completely go back to stock sizes (and if the originally provided partition size data for that device were correct) then you can do the following:
in case you did that (and it sounds like that):
tombstones=same-cache=32M+wipe-system=1G-preload=min+wipe-data=max
now do:
cache=1G+wipe-system=1.5G-preload=560M+wipe-data=max
In case you also changed tombstones size, also revert that to stock by using tombstones=256M.
So you should end up with something like that:
lanchon-repit-20170115-cache=1G+wipe-system=1.5G-preload=560M+wipe-data=max-i9305.zip
or
lanchon-repit-20170115-tombstones=256M-cache=1G+wipe-system=1.5G-preload=560M+wipe-data=max-i9305.zip
Good luck.
This issue happens sometimes randomly, with my i9100 too - whether with Repit or a pit file via Odin. No idea why.Firstly thank you for the awesome tool :good:
I successfully repit my N7000 and at first with DiskInfo it showed correct information. But I don't know how later on the sdcard mount point changes to something weird. Iirc the only thing I did was to install ES Explorer. Any idea?
Update: I resolved this by explicitly specify sdcard partition size instead of just putting "max".
Firstly thank you for the awesome tool :good:
I successfully repit my N7000 and at first with DiskInfo it showed correct information. But I don't know how later on the sdcard mount point changes to something weird. Iirc the only thing I did was to install ES Explorer. Any idea?
Update: I resolved this by explicitly specify sdcard partition size instead of just putting "max".
...Please, answer to me: Can I switch off journaling by using Lanchon repit tool?
I am still stuck. Does anyone have a link to a valid i777 tar file? The stock recovery won't see any files on the SD card. I tried internal storage but then it says there is an error checking the ZIP. I tried a few alternative ZIP files so I think the recovery is the issue. I can still get to ODIN so if I could find a more up to date tar file I can flash that way. ANYONE?
Tried this on a n7000 recently, tried to resize cache, which didn't work, saw partition structure with modem after cache, and understand your concerns in the comments. I imagine the we could so some experiments like you are doing for the Honor 4, however I'm not at the stage where I want to volunteer my device as potential sacrifice.
A question on "wipe", how sure are we that "wipe" actually wipes, ie is all the previous data non-recoverable down to a block level?
Does the wipe trigger some type of NAND erase cycle? This would be problematic on n7000 given the hard brick issues with NAND firmware there, and on the n7000 IIRC the ioctl() is filtered and purposely ignored, maybe this is also an issue with i9100? I don't recall.
If I have a used ext4 parition, and then format & wipe it then I think a fstrim happens. If I then change it to vfat, and dd the partition, am I able to recover blocks from the original ext4 partition, or does the trim cause the nand to regard the blocks as empty and return 0x0000000 or 0x11111111 or something deterministic?
I'm looking for a wipe that actually wipes, ext4 and vfat, rather then my current solution which is to dd if=/dev/zero of=/path, which is slow and is difficult to get a progress report, as kill -USR1 is a PITA.
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?