[Q] How to remove internal storage partition - T-Mobile Samsung Galaxy S II SGH-T989

Guys, i have a problem:crying:, i created a partition on my phone but i don't know how to remove it. The partition I created is in Internal Storage. When I Install a rom and load my apps, its says in the storage menu that i have 2 internal storage. first storage is where my rom is installed and where my apps are being installed and the second storage(both storage are internal) is accessible but it seems to act like a external storage. i would like them to me merged together as one storage.
I'm using SGT-989 T-Mobile Galaxy S2
Rom is [4.4.4] Stable CyanogenMod 11 [December 1, 2014] by Sultanxda ------ just in case if the rom has to do with anything
Thanks you for your support guys:good:

You're going to want to search the forum for the .pit file for your model. Read ALL the instructions, as messing with the partitions can really mess you up. Flashing it in Odin should restore your partitions, then you just flash a rom.
You might also try just flashing back to stock. That might fix your partitions as well. I'm not too sure about the T989, if that'll work or not. I had a different phone once that would fix the partitions when flashing to stock, you might get lucky.
As always, the search tool is your friend.
Sent from my SAMSUNG-SGH-T989 using XDA Free mobile app

Is it any .pit file that's just for this device? Or a special .pit file?
Sent from my SAMSUNG-SGH-T989 using XDA Free mobile app

Make sure it's for your phone model. The .pit is the partition information table. It contains the info for your partitions (how many, how large they are, etc.)
Try using Odin to flash back to the factory image, search the sticky in the development section for instructions. The factory image may or may not have that information built into it. If you flash factory and that doesn't fix it, you'll need to find the pit file and flash it in Odin to get your partitions back the way they're supposed to be. I would then recommend going back to factory before trying any more custom roms, just to make sure you're starting with a clean slate.
Sent from my SAMSUNG-SGH-T989 using XDA Free mobile app

I think i know the problem
DarkMatter_74 said:
Make sure it's for your phone model. The .pit is the partition information table. It contains the info for your partitions (how many, how large they are, etc.)
Try using Odin to flash back to the factory image, search the sticky in the development section for instructions. The factory image may or may not have that information built into it. If you flash factory and that doesn't fix it, you'll need to find the pit file and flash it in Odin to get your partitions back the way they're supposed to be. I would then recommend going back to factory before trying any more custom roms, just to make sure you're starting with a clean slate.
Sent from my SAMSUNG-SGH-T989 using XDA Free mobile app
Click to expand...
Click to collapse
Well thanks for the help. I've restored to the factory image and it put back the partition. But when i installed the custom rom, it created two internal partitions. Its the roms fault.

Related

Nandroid to flashable zip

I was wondering about if and how i can turn my nandroid backup into a flashable zip.
Im sure there is a way...
Does anyine know how to do this?
Sent from my GT-S5660 using xda app-developers app
DevWithCookies said:
I was wondering about if and how i can turn my nandroid backup into a flashable zip.
Im sure there is a way...
Does anyine know how to do this?
Sent from my GT-S5660 using xda app-developers app
Click to expand...
Click to collapse
Yes, this is possible. Moved your backup to your pc, date got changed and md5 sum wasn't correct anymore?
You'll have to consider if you want it though. If your files get corrupted, there is no checksum and you'll flash corrupted files (bad...).
Furthermore, the flashable zip will be the size of your nandroid backup, 500 mb or something like that.
But yes, it can be done:
Navigate to your Backup on your pc
extract data.ext4.tar, system.ext4.tar, cache.ext4.tar, sd-ext.(something).tar and .android_secure.vfat.tar to corresponding folders (I recommend using 7-zip for this).
Put these folders together with boot.img in a seperate folder
Now if you know how to write an updater script, write one that formats all your partitions and extracts these folders to their corresponding partitions.
If not, you might want to take a look at this thread: http://forum.xda-developers.com/showthread.php?t=936175
Or you can use the script that I just wrote for you
If you choose to use my script, the filesystems from your nandroid backup have to be ext4. The script formats you partitions as ext4!
If your backup contains rfs format (data.rfs.tar), the backup is from your stock rom. That will make things more complicated. Pm me if that is the case and you want help with that.
Now to use my script, do the following:
Extract the zip file from the attachment
Put the content from the folders from your backup in the foldes from my zip file, together with boot.img from the backup.
Put all the folders (including META-INF) and boot.img in a zip file. (Using 7-zip will give you better compression then default windows)
Sign the zip file (I reccomend the android app zipsigner, or google for auto-sign)
Put the zip file on your sdcard and go in recovery.
Make a backup just in case.
Edit: Do not wipe system before flashing! The script requires busybox. The script will do the wipe. You can wipe data, cache etc. before flashing if you want.
Flash the zip file.
If everything went well, your backup should be restored.
Please note the following:
The filesystem from your backup should be ext4.
You should format your sd-ext to the right format yourself.
Flashing this script without putting your files in will either give an error (because not signed), or wipe your entire phone.
Ofcourse, use my script at your own risk.
I hope this helped. Good practise for me atleast with writing updater-scripts
Thx for the help !
It's a stock backup i'm trieing to do this from.
I'm only doing this to try understand how android works a bit more.
So you say something bad happens when files get corrupted, bad like in hard-brick?
No, not like hardbrick. Chances of files getting corrupted are very slim, and in the worst case your ROM won't boot. (I even doubt that will ever happend.) Just said it because you cannot check checksum with flashable zip, and restoring nandroid normally would.
But since this is stock ROM, my script won't work. The filesystem of your partitions is now (probably) ext4. Samsung stock ROM uses RFS format. And it is not possible to format partitions as RFS in recovery. You'll need to flash a stock ROM with odin first.
Then you can wipe the partitions and restore your backup files. (Not with the script from my previous post).
Sent from my GT-S5660
I formatted it to ext-4 with a zip from recovery, aren't there any rfs formatters? I havr rfs+ext cwm.
Sent from my GT-S5660 using xda app-developers app
DevWithCookies said:
I formatted it to ext-4 with a zip from recovery, aren't there any rfs formatters? I havr rfs+ext cwm.
Sent from my GT-S5660 using xda app-developers app
Click to expand...
Click to collapse
No, unfortunately not. Ext4 is a widely used linux filesystem, and you can format your partitions easily as ext4 with a zip in recovery.
Since RFS is a samsung specific file system, going back is not that easy.
The only thing thing that can format your phone's partitions back to RFS, is Odin (as far as I know).
You'll have to flash a stock ROM with Odin, then your partitions will be RFS again. (You might have to flash it 2 times if the first time doesn't work properly).
After that, you can flash cwm again (rfs+ext version), and restore your backup.
Stock ROM's can be found on http://www.sammobile.com.
I hope you took a note of your PDA and CSC?
(Otherwise you'll have to download one based on your country, and I think then remove the csc.rfs file, but I'm not sure about that.)
Instructions about flashing with odin can be found here:
http://forum.xda-developers.com/showpost.php?p=16979859&postcount=549
You need the instructions for single package .tar
Links there are dead though, so here you can find links to odin, and GIO_v1.0.ops (you need both), and ROM downloads can be found here too:
http://droidangel.blogspot.nl/2011/05/samsung-galaxy-gio-s5660-original-stock.html
You need to have samsung KIES installed, but not running. (Or at least have drivers installed).
When you successfully flashed back a stock ROM, you can reflash cwm and restore your backup.
What are Pda and csc?
Sent from my GT-S5660 using xda app-developers app
DevWithCookies said:
What are Pda and csc?
Sent from my GT-S5660 using xda app-developers app
Click to expand...
Click to collapse
CSC is your baseband I believe and PDA is which stock ROM there was on your phone.
When you buyed your phone, there was a stock ROM on it specifically for your country/carrier.
When on stock ROM, you can check all the codes you need by dailling *#1234#. On custom ROM that's not possible.
Check in about phone, under baseband version. This should still be the same as on stock (in my case it is atleast).
The code found here is the same as the code after Phone on this site I sent you in my previous post:
http://droidangel.blogspot.nl/2011/05/samsung-galaxy-gio-s5660-original-stock.html
But this will still leave you with more than 1 option.
There should be no problem flashing a ROM from another country, as long as your device is carrier unlocked (carrier restriction free),
and your phone is S5660 (not S5660M, S5660L or V).
I'd suggest taking note of your baseband version under about phone, and search for a ROM from your country with that code after "Phone:" .
(On sammobile.com or the other site).
As far as I know, your PDA doesn't really matter, CSC does.
When your phone is S5660M etc. , or carrier locked or something like that, I think you have to unpack the tar and remove csc.rfs, but I'm not sure about that.
I was very nervous about flashing my phone so i did EVERYTHING i could do to backup data.
I have 2 nandroid backups and I copied all info from about phone to my pc + all the info third party apps could give me.
So i still have my Pda and csc.
The only thing i dont have is a /efs backup. I think im good.
Im kinda nervous about working with odin too...
Will it reflash recovery too?
Sent from my GT-S5660 using xda app-developers app
DevWithCookies said:
I was very nervous about flashing my phone so i did EVERYTHING i could do to backup data.
I have 2 nandroid backups and I copied all info from about phone to my pc + all the info third party apps could give me.
So i still have my Pda and csc.
The only thing i dont have is a /efs backup. I think im good.
Im kinda nervous about working with odin too...
Will it reflash recovery too?
Sent from my GT-S5660 using xda app-developers app
Click to expand...
Click to collapse
Flashing stock rom with odin will replace ur custom recovery to stock recovery and also remove root!
Sent from my GT-S5660 using xda app-developers app
you can remove recovery.img inside it.
Sent from my GT-S5660 using xda app-developers app
So back to the original question,
something you flash from recovery basically contains a boot image, a cache thing, a sd-ext thing and a data thing?
That's all there is to it?
That's pretty easy then.
But why does it affect data cache and sd-ext?
Is that only to format it to ext-4? Because it gets wiped right?
Sent from my GT-S5660 using xda app-developers app

Storage issue...

Hey guys! Its been a while since I've rooted a phone (HTC Inspire 4G) but last night I rooted my S3. Today I was checking storage and it says I have 2.62GB left on my internal SD card. I run the numbers on apps, downloads, etc. and it just doesn't add up to using 9GBs of space. I'm running LiquidSmooth with gapps (which downloaded my previous apps from stock via my account). Can someone help me out with this? Even if I have to completely wipe the storage space to get the room back, I'm fine with that. I just don't like not having space especially when there should be way more since there are no pictures or music on the phone. Thanks everyone and its good to be back flashing!
Sent from my SGH-I747 using xda app-developers app
I'm also running into an issue finding flashable .zips that are in my /download folder in Astro but not found when using CWM. Weird...
*Edit*
Disregard not being to find them... Apparently I have a separate folder labeled /sdcard/0 that I have no idea how it was made... Is there a .exe to full wipe/format my sdcard so I can start with a clean slate and then simply restore my current ROM/Kernel? Factory reset, format system, wiping cache and dalvik cache then restoring backup isn't working.
Sent from my SGH-I747 using xda app-developers app
You know if you posted this in the right forum you might get some help.
It's not hard to realize that if you're asking a question it should probably be in the forum labeled questions and answers. Think before you post.
TeknoGodz said:
You know if you posted this in the right forum you might get some help.
It's not hard to realize that if you're asking a question it should probably be in the forum labeled questions and answers. Think before you post.
Click to expand...
Click to collapse
His question is in the Q&A
Read before posting
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
jayRokk said:
His question is in the Q&A
Read before posting
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
It is now that I reported it for being in the wrong section and a mod moved it.
Think before you post.
Anyways, the internal SD card is always going to have much less space then as advertised on the phone. My phone is a 16GB and out of the box I think it had like 13 or so.
You can install TWRP from Goo Manager and use that recovery to make a backup, format your internal storage, then restore data from a backup if you really think you're missing space, but honestly you probably arent.
Thank you for noticing that it was in the wrong forum Tekno.... And for getting that fixed. I understand I have less than advertised but before I rooted it, I backed up all the pictures onto my computer. My phone has no pictures or music on it so I'm trying to figure out where 10GBs have gone.
I will look up TWRP and hopefully that will help...
Sent from my SGH-I747 using xda app-developers app
Well if you've already backed up that you may as well just backup your contacts and anything else you may need and start clean. And by that I mean do a full wipe before flashing a ROM and don't restore data after.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
TeknoGodz said:
Well if you've already backed up that you may as well just backup your contacts and anything else you may need and start clean. And by that I mean do a full wipe before flashing a ROM and don't restore data after.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
Well, I'm a little too late for all of that now. I soft bricked the phone. Using CWM, I managed to erase everything from the sdcard. All files, all folders, everything. Now when the phone boots it hangs at the "Samsung Galaxy S III" screen. I can, however, get into Download Mode and Recovery Mode. Unfortunately for me though, I do not have the stock ROM .tar and cannot download it due to workstation restrictions. I can also get to Recovery Mode but I have absolutely no files on the sdcard at all and I can't figure out a way to force push LiquidSmooth onto the phone. I receive recognition of connection via ODIN but that program only uses .tar/.gz/.img/etc. and I can't put the LiquidSmooth .zip on that way. Hopefully someone can bring me a copy of the Stock ROM in to work tomorrow as I'm on duty and won't be able to leave work for a while (days).
Oh, it's been a while since I've bricked a phone also. Those days I don't miss...
Are there any other options that I may not have exhausted?
dmeans2 said:
Well, I'm a little too late for all of that now. I soft bricked the phone. Using CWM, I managed to erase everything from the sdcard. All files, all folders, everything. Now when the phone boots it hangs at the "Samsung Galaxy S III" screen. I can, however, get into Download Mode and Recovery Mode. Unfortunately for me though, I do not have the stock ROM .tar and cannot download it due to workstation restrictions. I can also get to Recovery Mode but I have absolutely no files on the sdcard at all and I can't figure out a way to force push LiquidSmooth onto the phone. I receive recognition of connection via ODIN but that program only uses .tar/.gz/.img/etc. and I can't put the LiquidSmooth .zip on that way. Hopefully someone can bring me a copy of the Stock ROM in to work tomorrow as I'm on duty and won't be able to leave work for a while (days).
Oh, it's been a while since I've bricked a phone also. Those days I don't miss...
Are there any other options that I may not have exhausted?
Click to expand...
Click to collapse
Well heres a few things you can try:
1) ADB to push the rom to the phone
2) Use a proxy service to download original firmware (not sure if your workplace would like that though), Heres a link to the stock ATT firmware, not rooted, pure stock from sammobile http://www.hotfile.com/dl/182319352/b8d55a6/I747UCDLK3_I747ATTDLK3_ATT.zip.html
3) Ask to borrow a co-workers phone to download the file
Thanks Tekno. Finally back online...
Sent from my SAMSUNG-SGH-I747 using xda app-developers app

need help getting a rom

Hi all i have a galaxy s3 t-999 and just rooted with and now i want to install beanstalk rom for it
but i am having trouble knowing what to do?
let say everything does not go well and i want to recovery my original rom how would i do this and how do i download the beanstalk rom into it
please help thank you
You should read more before flashing anything. If you have to ask how to flash a ROM, then you probably shouldn't be doing it.
A good place to start reading would be in the android development section.
Sent from my Nexus 4 using XDA Premium 4 mobile app
if you have cwm recovery, simply make a NAND backup. So if anything goes wrong, just restore back to previous ROM with everything intact.
Only flash ROMs for T-Mobile version. i9300 is different and will brick your phone.
To flash a new rom, wipe data, cache, then flash the ROM.zip from SD card.
Sent from my SGH-T999 using Tapatalk
ayeitschris said:
if you have cwm recovery, simply make a NAND backup. So if anything goes wrong, just restore back to previous ROM with everything intact.
Only flash ROMs for T-Mobile version. i9300 is different and will brick your phone.
To flash a new rom, wipe data, cache, then flash the ROM.zip from SD card.
Sent from my SGH-T999 using Tapatalk
Click to expand...
Click to collapse
Make sure you do some learning cause even just having a backup is not always a save. I have had backups fail. So I recomend having a second rom on your sd so that you can at least get a rom back on the phone. I almost bricked my phone and the sec rom I had on the phone saved me.

[Q] SGH-i747m bootloop & TWRP flashing issues

So iv rooted, and using goo manager (can't use Odin because I don't have PC and this was easier) I flashed the latest version of twrp. I first did a nandroid backup and then tried to flash PAC ROM 4.4.2 nightly and cm11 neither worked (I have tried others since then) each time it says "no md5 file found". Its not the end of the world if I have to use the stock ROM for a while till I sort this out.. But when I flashed my nandroid backup I got stuck in a bootloop now I don't know what to do. I can get to twrp still and download mode if nessessary
Please help im a bit of a noob but I'm not stupid and have flashed ROMs on 3 devices successfully. Thanks in advance! I would be greatful for a fix to either of these problems.
drewstopher said:
So iv rooted, and using goo manager (can't use Odin because I don't have PC and this was easier) I flashed the latest version of twrp. I first did a nandroid backup and then tried to flash PAC ROM 4.4.2 nightly and cm11 neither worked (I have tried others since then) each time it says "no md5 file found". Its not the end of the world if I have to use the stock ROM for a while till I sort this out.. But when I flashed my nandroid backup I got stuck in a bootloop now I don't know what to do. I can get to twrp still and download mode if nessessary
Please help im a bit of a noob but I'm not stupid and have flashed ROMs on 3 devices successfully. Thanks in advance! I would be greatful for a fix to either of these problems.
Click to expand...
Click to collapse
If you're using a Linux machine there is a program called heimdall (if I recall correctly) that is supposed to be similar to Odin. I have no personal experience with it so I suggest Google and the search function here.
There is an option in twrp to check for md5 make sure you're not having it Check for it or it will fail, I ran into the same issue after I started playing on my s3 never had that issue on other devices but I do on this one. You can also try using cwm.
For the boot loop try a factory reset a lot of times it will fix it. Also keep in mind that 4.3 roms take a long time to boot the first time after flashing. Check in the development section enewman17 has a stock 4.3 restore it will put the phone back like it would have been immediately after the 4.3 OTA (except warranty bit in download mode will still show a count and be in red letters) even down to stock Samsung 3e recovery.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
You're using the Canadian version of the s3 which is the i747M? Which ROM version were you running before installing TWRP?
audit13 said:
You're using the Canadian version of the s3 which is the i747M? Which ROM version were you running before installing TWRP?
Click to expand...
Click to collapse
theramsey3 said:
If you're using a Linux machine there is a program called heimdall (if I recall correctly) that is supposed to be similar to Odin. I have no personal experience with it so I suggest Google and the search function here.
There is an option in twrp to check for md5 make sure you're not having it Check for it or it will fail, I ran into the same issue after I started playing on my s3 never had that issue on other devices but I do on this one. You can also try using cwm.
For the boot loop try a factory reset a lot of times it will fix it. Also keep in mind that 4.3 roms take a long time to boot the first time after flashing. Check in the development section enewman17 has a stock 4.3 restore it will put the phone back like it would have been immediately after the 4.3 OTA (except warranty bit in download mode will still show a count and be in red letters) even down to stock Samsung 3e recovery.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
I was on stock ROM on the rogers-canadian variant which should be the same as the at&t variant I think anyway I cant find the checkbox for "check md5" in twrp do u know where to look? Also can I flash cwm.zip through twrp?(if twrp will allow me) or will this cause more problems. I think there must be a way to fix my problems but I'm pas the extent of my knpwledge . also I think there must be an issue with the stock backup that is causing the bootloop don't know how to fix it. Not working still after multiple factory resets and advanced wipes
Thanks guys I really need help with this
Since you have the i747m (Canadian version), I think it would be best to start from scratch.
Were you running a stock 4.3 ROM?
I would love to start from scratch but I can't flash ROMs and I get a bootloop when I try to use my backup. So I can't boot into system and its the same as the i747 just without the att bloatware and rogers instead
Just flash the stock rooted ROM from xda. Just search for s3 pre-rooted roms , download, and flash via Odin
audit13 said:
Just flash the stock rooted ROM from xda. Just search for s3 pre-rooted roms , download, and flash via Odin
Click to expand...
Click to collapse
Thanks sounds simple enough but I will have a hard time getting a windows PC to use. In the meantime is there anything else I can try? Is it possible to flash cwm through twrp or does that not work? If it does will it harm the Odin process to go back to stock? And will USB debugging work if no OS is installed on phone... How does that work?
Let us know what was the most recent stock ROM you had on your phone. Is it 4.1.1, 4.1.2, or 4.3?
drewstopher said:
Thanks sounds simple enough but I will have a hard time getting a windows PC to use. In the meantime is there anything else I can try? Is it possible to flash cwm through twrp or does that not work? If it does will it harm the Odin process to go back to stock? And will USB debugging work if no OS is installed on phone... How does that work?
Click to expand...
Click to collapse
Do you have any computer available just not Windows? Or none at all? Did you look at heimdall?
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
theramsey3 said:
Do you have any computer available just not Windows? Or none at all? Did you look at heimdall?
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
Android 4.3 and heimdall wasn't working with my Mac.
Question for the op.. Do you get any errors in twrp when you wipe data or restore your backup?
Sent from my SGH-I747 using xda app-developers app
bdithug said:
Question for the op.. Do you get any errors in twrp when you wipe data or restore your backup?
Sent from my SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
Actually yes occasionally I do. I think its after I try to flash a ROM or .zip file but it might happen periodically anyway I don't know
drewstopher said:
Actually yes occasionally I do. I think its after I try to flash a ROM or .zip file but it might happen periodically anyway I don't know
Click to expand...
Click to collapse
You probably need to format your internal SD card from twrp (the option where you have to type the word "yes") I believe it's under advanced wipe settings. I would backup anything important from your internal card, then format it. Then try doing whatever you're trying to do (flash a certain rom or restore a certain backup). I had a similar issue last week. I couldn't flash roms or restore backups because the phone would reboot into a bootloop when twrp tried wiping the data partition.
If you can't get into a rom or connect to a computer to backup your internal cards contents, you may have to use the file manager inside twrp to backup to your external SD card.
Sent from my SGH-I747 using xda app-developers app
bdithug said:
You probably need to format your internal SD card from twrp (the option where you have to type the word "yes") I believe it's under advanced wipe settings. I would backup anything important from your internal card, then format it. Then try doing whatever you're trying to do (flash a certain rom or restore a certain backup). I had a similar issue last week. I couldn't flash roms or restore backups because the phone would reboot into a bootloop when twrp tried wiping the data partition.
If you can't get into a rom or connect to a computer to backup your internal cards contents, you may have to use the file manager inside twrp to backup to your external SD card.
Sent from my SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
Thanks but actually my backups and ROMs are all on the phones internal memory. I think my safest bet will be to flash a ROM and cwm via Odin any suggestions on what version of Odin to use? Iv used 1.85 before to flash my gs2 skyrocket. Also will the USB debugging work if no os is installed on the phone :/
drewstopher said:
Thanks but actually my backups and ROMs are all on the phones internal memory. I think my safest bet will be to flash a ROM and cwm via Odin any suggestions on what version of Odin to use? Iv used 1.85 before to flash my gs2 skyrocket. Also will the USB debugging work if no os is installed on the phone :/
Click to expand...
Click to collapse
Not sure sorry.. And I could be wrong but I think if you flash stock from Odin, it wipes your internal memory as well. If that's the case, I would backup whatever rom/backup you plan on using to your external memory and try my advice.
Other than that, not sure what to suggest. I can only advise based on what I have personally done in the past.
Sent from my SGH-I747 using xda app-developers app
bdithug said:
Not sure sorry.. And I could be wrong but I think if you flash stock from Odin, it wipes your internal memory as well. If that's the case, I would backup whatever rom/backup you plan on using to your external memory and try my advice.
Other than that, not sure what to suggest. I can only advise based on what I have personally done in the past.
Sent from my SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
Thanks and good point
I use twrp on the n7 and its exellent. I tried it with the s3 and always had random problems after a flash or restore. I switched to Phil's cwm touch and have nor had a problem in months and I flash or restore almost daily.
I am on stock based custom rom on my i747m (canadian) TWRP 2.7.0.0 works perfectly, no issues.
Just in-case someone doesn't know they have newer version of twrp for both Us and Canadian versions.

[GUIDE][Re-Partition][FlashableZip][1.9GB Extra Space on internal sdcard]

Based on @ninekaw9 's original script from here
http://forum.xda-developers.com/showthread.php?p=52989641
I ported this for the N7105 and T889
Please read the post fully before trying this.
This file basically reduces the space assigned to cache and preload partitions and reassigns that extra space to your internal sdcard.
What is preload?
Used for storing Samsung's pre-loaded bloatwares like some wallpapers and "Wonders of Nature" video that you find on your phone after a factory reset or after buying a new phone.
Reducing the cache partition:
Cache basically stores the apps from Google play while they are downloading and the rest of it is used for storing OTA updates.
The OTA updates from Samsung and big in size and hence cache has 1GB of size to store those big updates.
So basically I reduced the cache size from 1GB to 100mb because Kitkat is the last update for Note2 afaik and the phone would be out of OTA service after Kitkat.
Won't reducing cache size break some other things?
No. It won't. As I have still kept 100mb in the cache that would be fine for playstore downloads.
Can I return to stock partition size after doing this?
Yes. Find the .pit file for your device and flash stock firmware through odin alongwith the pit file.
Or if you want a flashable zip for returning to stock partitions see post #2
What you need to have to Re-partiton
Philz recovery installed (latest version)for t889.
Note that TWRP WONT WORK as it doesn't have some binaries for partitioning.
Nandroid backup or a rom zip file in your external sdcard is a must.
Backup your internal sdcard as it will be formatted in the process.
Procedure :
1.Boot into philz recovery
2.Flash the file which is linked here.
Partition_N7105/T889_16GB_model_only
After flashing the recovery will automatically reboot.
3.Next you will see some mounting errors. Don't worry. Just go to mounts and storage and do this
Format /data
Format /system
Format /sdcard0
Format /preload
Please don't format /boot /modem or /sdcard1.
4. So after formatting it's all done. Now you can restore nandroid or flash a new rom.
5. If you are having issue restoring your nandroid backup then read this post and do exactly what he says
http://forum.xda-developers.com/showthread.php?p=53207492
Note: You can still flash bootloaders and modems from odin after doing this re-partioning. No need to flash with pit file.
However if you want to flash a full rom from odin then pit file is required.
All credits to @ninekaw9 and @forumber2 for their original scripts. You guys are awesome ?
Sent from my GT-N7100 using Tapatalk
Reverting back to stock partitions is easier now.
Just flash this zip
https://www.dropbox.com/s/8fki6jyi3bpr1ww/Stock_Partitions_N7105_T889.zip
Sent from my GT-N7100 using Tapatalk
Before
Sent from my GT-N7105 using XDA Premium 4 mobile app
After
Sent from my GT-N7105 using XDA Premium 4 mobile app
adamcooks said:
After
Sent from my GT-N7105 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Are you on 4.3 bootloader?
On 4.1.2 bootloader I get 11.97GB
Are you running AOSP? Did you use the zip file for AOSP from the second post?
I run w03slimkat, the AOSP zip also reduces system partition to 1g
I don't know if it matters, I am on 4.1 bl.
smeet.somaiya said:
For AOSP users only.
System slimmed down to 1Gb so you get a total of 14.2GB of user available space on your phone.
Download here
Sent from my SM-G900F using Tapatalk
Click to expand...
Click to collapse
Sent from my GT-N7105 using XDA Premium 4 mobile app
adamcooks said:
Are you running AOSP? Did you use the zip file for AOSP from the second post?
I run w03slimkat, the AOSP zip also reduces system partition to 1g
I don't know if it matters, I am on 4.1 bl.
Sent from my GT-N7105 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Gotcha. Looked at your screen again and definate AOSP rom. I seen about the other partition for AOSP download but it would be too small for touchwiz base.
Thanks though, now I realized how you got more space.
Sorry guys, forgot to add the AOSP thing here. But it's there on n7105 thread. I will add it here when I get time.
By the way it doesn't matter what bootloader you have. The partitions and their name and size remain the same irrespective of the bootloader.
Sent from my GT-N7100 using Tapatalk
Outstanding work. Thank You.
Sent from my GT-N7105 using Tapatalk 2
Hi noob here I flashed the repartition zip a few months ago and recently I was messing with my phone trying to convert to f2fs and got stuck in a recovery bootloop so I had to Odin back 2 stock but forgot about the pit file I needed when flashing with Odin and now no matter what I do I can't get /cache to mount at all anymore. I am using twrp 2.8.1 as current recovery at the time I was using Phil's. Any ideas on how I can get /cache to mount?
Any help would b appreciated.
I was thinking of flashing the stock partition zip but I don't think it will do anything since /cache is not mounted.
ntran239 said:
Hi noob here I flashed the repartition zip a few months ago and recently I was messing with my phone trying to convert to f2fs and got stuck in a recovery bootloop so I had to Odin back 2 stock but forgot about the pit file I needed when flashing with Odin and now no matter what I do I can't get /cache to mount at all anymore. I am using twrp 2.8.1 as current recovery at the time I was using Phil's. Any ideas on how I can get /cache to mount?
Any help would b appreciated.
I was thinking of flashing the stock partition zip but I don't think it will do anything since /cache is not mounted.
Click to expand...
Click to collapse
You are going to have to ODIN all the way back to a rooted stock.
BRANDENDEUCE said:
You are going to have to ODIN all the way back to a rooted stock.
Click to expand...
Click to collapse
Hi thanks for reply i did odin back using a a stock injectected rom by mr robinson. after i did that it would boot into recovery like usual and i would try to factory reset because of mounting errors but even after factory reset i still get the same errors. I then would install a twrp via odin and flashed a backup i had was the only way to get phone working but /cache still not able to mount. I honostly dont know what I am doing wrong.

Categories

Resources