[Q] Re-Partition with Odin PIT File - Galaxy Ace II Q&A, Help & Troubleshooting

Hey Boardies,
I´m wondering for a while if it´s possible to repartition the storage of my Ace 2. I´m using an external SD Card where i save music and so on. The Filemanager of Android shows me 2 SDCards.
I think one of them is the phone internal space for data and the other is my real SDCard.
I do not need the internal space for data, but it would be great to have a bigger internal phone space to install apps and something like that.
In conclusion i want to add the internal data space to the system space.
I saw Odin is offering the possibility to re-partition the phone, but to do so you need a PIT file in which the partition information is saved.
Now my question is how to flash then latest stock rom (I8160XXNB1) with odin and repartition it. And then flash CyanogenMod 11 TeamCanjica.
Where can i get a proper PIT file and how can i change the values of the PIT file so that the fit my needs?
Thank you.

I have 2,93 gb from really internal memory but isn't made with pit file, it have make this with CMD.
You must try thread from busote, repartition memories in ace 2 development forum ( I can't put the link, sorry)
Sent from my GT-I8160 using Tapatalk

It´s a pitty, but the download link of busote´s scripts is offline.
Does anybody got the files and can reupp them?

Related

[MOD] Increase internal memory of your Gio

How to increase your Gio's internal?
1. Use these files
S5660XXKTF_S5660DBTKT1_DBT.zip - 136.5 MB
Odin_Multi_Downloader_v4.42.exe - 445.0 KB
GIO_v1.0.ops - 105 bytes
CODE_S5660XXKT7_boot.tar.md5 - 5.2 MB
A microSD with two primary formatted partitions inside (the former 'to FAT32' and the latter 'to EXT4' filesystems) both partition must be primary.
I using this version of firmware S5660XXKTF_S5660DBTKT1_DBT and Doc_cheilvenerdi.org made the mod for me so all thanks are for him.
2.Flash your Gio using Odin like forum tutorial
3.After flashing is complete, reflash via Odin this boot.img which you have downloaded early CODE_S5660XXKT7_boot.tar.md5
How to do ? Here check point 4. http://forum.xda-developers.com/showthread.php?t=1398797
That's all.
I recommend using a 2GB memory card and the phone will move great, I tested a 8GB card and phone is too laggy.
This mod works only for stock ROM on rooted/unrooted phones, the DOc explains why.
So? This is integrated a2sd??
Sent from my GT-S5660 using xda premium
Its your cheap card lags I have 16gb and runs normally still didnt get purpose of topic
Sent from my GT-S5660 using Tapatalk
Nice find... but chageing my pda won`t won`t change the version android ? cuz i`m on 2.3.6 - Open Germany...
voetbalremco said:
So? This is integrated a2sd??
Sent from my GT-S5660 using xda premium
Click to expand...
Click to collapse
It's modded boot.img which replace phone internal memory with ext4 partition size from memory card so they leave your phone memory free but I'm sure you know that.
kajjtan19 said:
Its your cheap card lags I have 16gb and runs normally still didnt get purpose of topic
Sent from my GT-S5660 using Tapatalk
Click to expand...
Click to collapse
Maybe you're right but I need to testing more memory cards to see what is the problem.
GeorgeParaschiv said:
How to increase your Gio's internal?
...
I recommend using a 2GB memory card and the phone will move great, I tested a 8GB card and phone is too laggy.
This mod works only for stock ROM on rooted/unrooted phones, the DOc explains why.
Click to expand...
Click to collapse
That 8GB is a class 2?
I have a2sd lag-free on a 32GB class 10 sd card xD
useful post. thnx a lot
user
GeorgeParaschiv said:
How to increase your Gio's internal?
1. Use these files
S5660XXKTF_S5660DBTKT1_DBT.zip - 136.5 MB
Odin_Multi_Downloader_v4.42.exe - 445.0 KB
GIO_v1.0.ops - 105 bytes
CODE_S5660XXKT7_boot.tar.md5 - 5.2 MB
A microSD with two primary formatted partitions inside (the former 'to FAT32' and the latter 'to EXT4' filesystems) both partition must be primary.
I using this version of firmware S5660XXKTF_S5660DBTKT1_DBT and Doc_cheilvenerdi.org made the mod for me so all thanks are for him.
2.Flash your Gio using Odin like forum tutorial
3.After flashing is complete, reflash via Odin this boot.img which you have downloaded early CODE_S5660XXKT7_boot.tar.md5
How to do ? Here check point 4. http://forum.xda-developers.com/showthread.php?t=1398797
That's all.
I recommend using a 2GB memory card and the phone will move great, I tested a 8GB card and phone is too laggy.
This mod works only for stock ROM on rooted/unrooted phones, the DOc explains why.
Click to expand...
Click to collapse
Hello
I do all the steps for Gio 5660 s Memory increased but i lost wifi connaction form the phone
Modded PDA must match Original one
YASSER_AL_ABD said:
Hello
I do all the steps for Gio 5660 s Memory increased but i lost wifi connaction form the phone
Click to expand...
Click to collapse
Wifi drivers are stored outside the boot image and strictly related to your firmware kernel version. So you should use a modded image with exactly the same PDA of your currently installed firmware.
If you post your PDA code I can mod that image for you, otherwise in my Original Thread you can find tutorials and auto-tools on how to do it on your own.
user
Doc_cheilvenerdi.org said:
Wifi drivers are stored outside the boot image and strictly related to your firmware kernel version. So you should use a modded image with exactly the same PDA of your currently installed firmware.
If you post your PDA code I can mod that image for you, otherwise in my Original Thread you can find tutorials and auto-tools on how to do it on your own.
Click to expand...
Click to collapse
Thank you DOC for your Support
My PDA is CODE_S5660JPKPA_CL562834_REV03_user_low_true.tar.md5
thanx in advance
New Images online!
NEW BOOT IMAGE ADDED!
Just added this boot.img
PDA=S5660JPKT7
& unsigned update-S5660JPKT7.zip
(original image here)
PDA=S5660XXKPA
& unsigned update-S5660XXKPA.zip
(original image here)
NOTICE: New Images will be shared with an update.zip file too! Ready to be flashed from any custom recovery unsigned-aware!
is that IMAGE using with ODIN flash or what
I can use CWM to do the flash or not ?
Sent from my GT-S5660
Its for Odin
Sent from my GT-S5660
Thanks for the tips .. i'll try it
Sent from my GT-S5660 using Tapatalk 2
You can try S2E or some scripts can move all your apps to sd card, it's free your internal storage
INCREASE INTERNAL MEMORY BY PARTITION MEMORY CARD IN LG optimus one
Dear Developers and Techies,
Need support in increasing my internal memory by partitioning SD card on my LG Optimus One with android 2.3.3 V20D
Phone is already rooted with SuperOneClick 2.3.3
Please do help in doing this AEAP.
Regards,
Samarendra Panda
[email protected]
Looks like Link 2 SD application, but i think this better from link 2 sd, because link 2 sd still using phone memory.
But i don't know who will have better performance because i haven't try this yet. :laugh:
the links r old. u can put them again?
10x
my gio
my gio gingerbread with PDA S5660DXKT8 2.3.6 doc, where i can get that tar md5 ??

[Q] More Data Space - PIT File

Currently running JellyVerse 3.0
Tired of getting Insufficient Storage Space message on my E4GT.
Data mount has approx. 2GB. Seems to be what every PIT file around allocates out of the 16GB internal mmc.
Have been reading up on PIT Magic with goal of making at least a 5GB Data partition on the internal mmc -- want more space for Data/App/Dalvik and less for my photos and mp3 files.
Can anyone give step-by-step how to build a new PIT with PIT Magic?
I assume if I had a different PIT, I could either use a TAR or ZIP rooted ROM or JellyVerse Custom like I am now and use either Heimdall or Odin to repartition with the new PIT and flash each of the pieces of whosever ROM I'm using -- if you want to go step by step on grabbing the right things out of the ZIP, TAR, or OneClick, that would really be nice, but I can probably fumble my way through it -- I'm not a N00B but others might risk having problems if we don't get a good 'how-to' in answer. I've seen lots of questions on this, little real help or instructions.
Here is what I tried first:
Tried to avoid doing this the hard way and so I experimented with Link2SD with a 4GB ext2 or FAT32 partition on my 32GB external card (tried twice). Was able to run Link2SD, find partition, and start linking apps (experimented with Angry Birds), but device would never boot after linking apps. Booted after first running Link2SD and building scripts, but not after apps existed in the linked partition. Would hang at splash screen unless external sd was ejected, then would boot, could reinsert external sd, but Link2SD had missed its' chance to mount and so could never get Link2SD to work as intended. Also, even moving (linking) app, dalvik, and supposedly data, Link2SD didn't really seem to delete the data portion off of the internal mmc so I never really recovered much space.
So I started reading up on PIT files and what's bothering me is this:
The existing PIT (downloaded from device with Heimdall off my Jellyverse install and which matches the "Epic 4G Touch PIT" that is floating around out there shows the following for the Data partition:
Entry 11
Block Size 1,802,240 KB
Block Count 4,194,304 KB
Overall the information in the PIT doesn't make a lot of sense. I'm a bit confused by the nomenclature -- if you scroll through PIT magic, each new entry's Block Size is basically the ending sector of the prior stuff (with a few weird exceptions that I assume have to do with sector alignment). What the author is calling 'Count' is, in theory, the size of the mount, but nothing adds up with what is really going on in the device.
I'm comparting to what busybox df -h says. It shows that there is a 16GB internal memory (that matches Sprint's specs). And the major partitions are as follows (I'm showing the comparison between what unix says and what the PIT file should have created prior to restoring the device image.
Partition df PIT
System 528M 1048M
Cache 309M 614M
Efs 20M 41M
Preload 322M 638M (hidden)
Data 2113M 4194M
Sdcard0 12353M 24133M
Total 15647M 30118M
This totals 15,647 MB and I've read that df uses 1024*1024*1024 for bytes (MiB) whereas flash manufacturers use 1000*1000*1000 so this is basically just a bit shy of the 16,000 that should be in the device, but I'm missing the modem and secondary boot loaders that are small and take up the remaining 400M.
In other words, the device makes sense and I trust what the unix command df is telling me.
But none of this matches the PIT.
I don't want to brick my device with a messed up PIT. It seems like the 'preload' is missing from the PIT (it wasn't in the original Gingerbread ROM).

[Q&A] [Mod][Guide] Re-Partition Internal Memory For T-989! (Confirmed Working)

Q&A for [Mod][Guide] Re-Partition Internal Memory For T-989! (Confirmed Working)
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [Mod][Guide] Re-Partition Internal Memory For T-989! (Confirmed Working). If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Works great!
I just wanted to report back saying that the pit file provided in the original post works great! For any interested in my setup/procedure, it was:
1) Flash the provided pit file using Odin 3.09
I wanted to switch to a Lollipop ROM, and another person in the main thread had good results with Validus, so I used that. Validus supports and recommends the F2FS filesystem, which requires a different recovery to install. So I followed the instructions found on the XDA Thread and the Google+ page for Validus install instructions.
2) Flash Chet's recovery
Chet's recovery, as downloaded from the above link, can be flashed from inside your current recovery. At least, I could from flash it from inside TWRP 2.7.1.0. Flashed it, rebooted back into recovery, and it loaded up the new one, nice as you please.
3) Format data, cache, and internal sdcard as F2FS. TWRP also gave me an error about preload, so I formatted that as ext4.
If you switch to a different ROM in the future, you'll have to remember to check if the new ROM supports F2FS. If it doesn't, you'll need to reformat those partitions to EXT4, or another filesystem the new ROM does support.
4) Flash Validus
5) Flash Gapps
Validus recommends the Paranoid Android Gapps, but the XDA threads have been closed. You can find the appropriate Gapps packages with a Google search; my search led me here. Since the /data partition is now so large, I don't have to try and squeeze apps into the /system partition just to save space, I can install them normally. Thus, I installed the pico gapps, and just installed the other apps via the market. I recommend you do the same.
The result is a dark themed lollipop ROM that already seems pretty stable. I've been using it for less than a day, but I've noticed very few stability problems or other hitches. My thanks to Lorien_Silmaril and chris4284!
How to change Recovery in semi-bricked phone?
Hello, Noob here and was trying to re-partition my T989 T-Mobile S2 memory. It would appear I need to properly reformat the partitions however the recovery I am using does not support the more advanced "wipe" options the "Re-Partition Internal Memory For T-989! (Confirmed Working)" thread discusses.
As this phone will not boot into Android anymore but I can get into the recovery mode, how would I put something like TWRP onto my phone? It would appear that I can only do it through ODIN if the recovery file is a .tar file rather than a .zip file. So are the various TWRP recovery files available anywhere as .tar files? And if not, then what is my other option (as I can not get the phone to show up as a USB drive to load in the .zip versions)?
Thank you,
P.
EDIT EDIT EDIT EDIT EDIT
Yes, I am an idiot. After posting realized that I could put the zip files onto a SD card and then use the recovery file currently on my phone to install the zip off the SD card.
Confirming Pit file sizes
I never did get to work correctly but I might give it another go. One thing I noticed was after un-zipping the two ZIP files in the main thread (the stock PIT and the 8GB partitioned one), the 8GB PIT file was only 4k while the back to stock one is 500k. Makes me wonder if the modified one being only 4k means I got a bad file/download? Can anyone who has successfully installed the Modified_8GB pit verify that it is indeed only 4k in size?
Thank you,
P.
Can i flash this on the AT&T variant and if so how do i repartion ?
Everything seems work,but only problem is my laptop does not recognize my phone anymore. I installed driver and the phone is on debug mode. I tried different cables and laptops. Still does not work, at least Odin recognizes it.
patrick2015 said:
Everything seems work,but only problem is my laptop does not recognize my phone anymore. I installed driver and the phone is on debug mode. I tried different cables and laptops. Still does not work, at least Odin recognizes it.
Click to expand...
Click to collapse
Try to reinstall the usb drivers and disable debug
Tried it on a at&t variant and works fine and connects to pc aswell
Which partitions do I have to reformat
Great guide!... Please, I need help. I got confused at the moment I have to format the partitions. Which partitions do I have to reformat after the process? I see "dalvik cache, data, system, cache, internal sd card, android secure, micro sd card, and preload"... Do I have to reformat all of them? or just "data, and internal sd card"?.... do i have to reformat with file system "ext4" or with another one?
BTW, do you know what are the default file system for the partitions?... in case I do something wrong, this might help me to factory reset my t989...
Sorry, my english it's not that good, i know.
Please help me.
So I did this using your modified pit file, and it seems to have worked. I'm having a few issues now though. When I start google camera it tells me to mount an sd card first. I rebooted, unmounted and mounted the external sd card, and cleared data/cache. Nothing works. I also can't create a folder on the internal SD.
edit: I fixed it by formatting the internal SD to FAT. Now to look into increasing the /system partition size
mike.weiss503 said:
Great guide!... Please, I need help. I got confused at the moment I have to format the partitions. Which partitions do I have to reformat after the process? I see "dalvik cache, data, system, cache, internal sd card, android secure, micro sd card, and preload"... Do I have to reformat all of them? or just "data, and internal sd card"?.... do i have to reformat with file system "ext4" or with another one?
BTW, do you know what are the default file system for the partitions?... in case I do something wrong, this might help me to factory reset my t989...
Sorry, my english it's not that good, i know.
Please help me.
Click to expand...
Click to collapse
It won't let you do davlik. I was a bit confused by this, too, so I hope the OP clarifies. For me, formatting system, preload, cache, and data to ext4, and internal sd to FAT seems to work. I didn't touch micro sd.
Keep it simple!
Hi,
This is my very first post on this forum and what brought me to this thread was a Google search on increasing memory on my Galaxy SII.
My Galaxy SII is an SGH-T989D that can't get any app updated for a while because of insufficient memory. Put simple, all I want to do is re-partition so I can get more "/data" memory. I don't want to install any fancy ROM or root or anything else, anyway I don't have a clue of what that means lol! So I'm not expecting having any trouble following the instructions or getting the PIT file as really I'm good with computers and that kind of stuff, but here come the newbie questions:
- Do I have to perfrom any kind of backup of my device before performing the re-partition steps? If yes, then how do I do this? And once done, how do I restore the backup back into the re-partitioned device?
- If there is no need to perform a backup, does that mean that once the re-partitioning and wipe and reformatting is done, all I have to do is reboot in normal mode again and everything should be fine and as before? If not, then what steps are missing to get my device as it was before re-partitioning (with the exception that now the partitions are different sizes, of course)?
- The last step states: "After you have done the above steps, you can then proceed with ROM installation or recovery. " What does that mean and what should I do then?
Please advise... Thanks for your help!
Regards,
Pat
New PIT File
Is it possible you could create a PIT file that repartitions only 5 gb from the internal sd card, so that the internal memory is at 5 gb rather than 2?
If not, could you redirect me to a working PIT Magic Tool download as the original link doesn't work.
unpartition.
Hi I'd like you to help me un partition my phone.. I want to re install the rooting process a fresh but I found out when I tried reinstalling my stock ROM I couldn't start it up it would go to stock recovery and show data error,cache error . I tried using your un modified pit it didn't help .. Please help me unpartition .
Only Dalvik partition after PIT file flash
All of the posted info and files were much appreciated. I flashed the OC PIT file provided with success according to ODIN and rebooted into TWRP but only the Dalvik cache is showing so I can't partition anything. I tried flashing different variants of the PIT file but I never have any other partition show up. Has anyone come across this?
I can not see system cache data partitions after flash
I am using twrp 2.8.7.0. I did flash SGH-T989-PIT.pit after,but I still can not see system cache data partitions in twrp.
---------- Post added at 10:25 PM ---------- Previous post was at 10:10 PM ----------
agaliarept1 said:
All of the posted info and files were much appreciated. I flashed the OC PIT file provided with success according to ODIN and rebooted into TWRP but only the Dalvik cache is showing so I can't partition anything. I tried flashing different variants of the PIT file but I never have any other partition show up. Has anyone come across this?
Click to expand...
Click to collapse
I have same problem. I am using twrp2.8.7.0. I only can see Dalvik cache in twrp. I even did flash the unmodified pit ,but it is still doesnt work.
t989 re-partition - not recognized by windows
Hey! Thanks for the guide! This is the perfect solution. I was able to flash the new PIT with no obstacles. Phone is working fine.
My only issue is that my new internal storage is not recognized by windows when I use USB mount in TWRP. It says the partition must be formatted to be used, and of course Windows wants to format it into FAT or ntfs. It opened fine before the re-partition, even as ext4.
Any thoughts on how to get it readable by windows again?
Chet's Recovery F2FS
Hey does anyone have a copy of Chet's Recovery mentioned in the post. I have the same issue as most now that only the dalvik is showing up, but i think we need that recovery to mount and repair the partitions.
Predicus said:
Hey does anyone have a copy of Chet's Recovery mentioned in the post. I have the same issue as most now that only the dalvik is showing up, but i think we need that recovery to mount and repair the partitions.
Click to expand...
Click to collapse
same issue here

need help For resizing pit partition ( more int sd storage )

hi. everyone can help me or make new pit partition file for glide? i wonna resizing phone aplication storage from 1.5Gb to 800Mb and resizing Rom storange, and add more space to internal storage.
I dont want change default storage to SD ext. I know it
Thanks
what is it? pit file for flash?

SM-N910C internal storage encryption

When trying to encrypt internal storage, phone takes some time processing and then reboots without doing it.
Firmware is the latest, original, from Sammobile.
How address this?
Worked after a full ODIN flash, now using repartition with a downloaded PIT file for it and Nand Erase.
I hope that this could help someone else.

Categories

Resources