yashsingh1/xdaforums huggingface dataset:
[Galaxy Note GT-N7000 Android Development] madsun:
Samsung Galaxy Note GT-N7000 custom PIT file(4GB_System_11GB_Data_45MB_Preload.)

Hi Team,

I wanted to flash the Nightowl 6.0.1 beta 4.2 with Open gapps(super) and hence decided to create a custom PIT file with the following partitions:

a) 4GB System

b) 11GB Data

c) 45 MB Preload

For the following reasons:

a) I will not be using a Stock TW ROM anymore(not been using one since I've been on Bauner's Nightowl)

b) I keep most of the stuff that I download on the external MicroSD(was 64GB and is currently a 128GB one) and hence dont use or need the SDcard0 partition

c) Use the entire 16GB storage space to be shared between System, Data, Preload and the other critical partitions that are required(boot,etc)

My understanding is that the total of the 16GB storage is to be distributed. For example, if I open the N7000 16GB variant 2GBsystem 6GBdata 512MB Preload.PIT file, I must do the following:

a) I must double the block allocation for system from current allocation to equal 4GB

b) I must put in correct block allocation value for data to equal 11GB

c) I must reduce preload block allocation from 512MB to 45MB or less(I am not sure if I can make this 1MB and Nightowl CM13 will still work)

d) The rest of the storage space is taken up by the partitions that we must not alter

However, flashing the PIT file in Odin bricked my phone and I managed to get into download mode and flash standard PIT file with TW stock ROM and have managed to bring my phone to life. But it is extremely sluggish and feeling slow and is also not showing the complete storage. So I flashed Nightowl Beta 4.2 on the same. But the phone is still behaving sluggishly and part of the stroage is still missing.

What did I do wrong? Can any of you experts help me by providing a PIT file with 4GB System, 45MB Preload(or lesser?), 11GB Data(or max data partition possible) and minimal or NIL SDCard0 allocation.

Or is this not recommended / not possible or is my thinking totally wrong?

Thanks in advance to everyone

Regards, Madsun
[Galaxy Note GT-N7000 Android Development] YLNdroid:
Reduce preload capacity for CyanogenMod firmwares

[MENTION=2069027]metalgearhathaway[/MENTION], I intend on flashing the cm-9.0.0-n7000.zip downloaded from http://download.cyanogenmod.org/?device=n7000. However, before I flash the said

CyanogenMod 9

firmware, I do have related queries -

If CyanogenMod firmwares do not use preload, is it necessary to have a minimal amount allocated to the said partition?

Could the 45MB preload be reduced to a smaller size, say for argument sake; 0MB?

:fingers-crossed:

I await your replies.

:)
[Galaxy Note GT-N7000 Android Development] metalgearhathaway:
CM uses no preload if you use the pure CM release

I feared fully removing the preload area just in case it harmed the android OS expectation of it being present in someway, 45mb is nothing, it was safer to keep a tiny bit there for that reason

:)
[Galaxy Note GT-N7000 Android Development] YLNdroid:
Internal SD Capacity

[MENTION=2069027]metalgearhathaway[/MENTION], I flashed the 4GB - 45MBpreload PIT file along with the CM9 safe kernel using PC ODIN (v1.85), prior to which, I had copied the ROM files (cm-9.0.0-n7000.zip and gapps-ics-20120429-signed.zip) to my 32GB external memory card. I booted my device into CWM recovery, flashed the said ROM files, wiped data/factory reset and rebooted system.

My device boots into CyanogenMod 9 perfectly, and under Settings > Apps > Downloaded the internal storage is shown as 75MB used and 3.9GB free. Thus, confirming the data partition has been extended to the size matching the initial PIT file. However, the rest of the internal storage is unaccounted/unavailable. I removed the external memory card.

After my device booted to CyanogenMod 9, I did not receive a notification suggesting to format the internal SD. From the USB computer configuration, I have set the device to connect as Mass Storage, but when I click on Turn on USB storage, the circular icon at the bottom of the screen remains in a loop. Hence, I cannot manually format the internal SD using my Windows 7 computer.

I suppose, I can manually format the internal SD through CWM recovery, albeit, I am unsure which option should I choose within the Mounts and Storage sub-menu - format /emmc or format /sdcard?

If there is anything additional or different I should have done, or must do, then please enlighten me. I await your reply.

:fingers-crossed:
[Galaxy Note GT-N7000 Android Development] madsun:
Hi Team,

I am trying to flash the stock PIT file and the stock ICS or stock JB ROM but phone is in an infinite bootloop. I feel that part of the eMMC is damaged and the phone is unable to show the complete 16GB capacity. Can someone be kind enough to make me a custom PIT file of 4GB system, the rest data with 5MB preload? Thanks in advance

Regards

Madsun
[Galaxy Note GT-N7000 Android Development] YLNdroid:
Internal SD Capacity

[MENTION=2069027]metalgearhathaway[/MENTION], with the external memory card removed, and using the CWM-based Recovery (v6.0.0.1) within CyanogenMod 9, I attempted to format /sdcard, mount /sdcard, format /emmc and mount /emmc, but for each instance I received the message Can't format /xyz and Error mounting /xyz; where xyz is either sdcard or emmc.

:o

I re-performed the flashing procedure described within my quoted message, however, I used the 6GBdata - 45MBpreload PIT file, followed by flashing the aforementioned ROM files. The process completed successfully, and under Settings > Apps > Downloaded; the Internal storage says 111MB used and 5.8GB free. Thus, confirming the data partition has been extended to the size matching the initial PIT file.

Unfortunately, as was the case with the 4GBdata PIT file, the rest of the storage space remains unaccounted.

:confused:

I am wondering whether the formatting procedure using CWM recovery should be performed,

either

before flashing my desired ROM files,

or

immediately after the ROM files have been flashed; but prior to the device booting into the operating system?

:fingers-crossed:

I suppose it is safe to presume, the success of the 6GBdata PIT file alleviates any concern about the corruption of internal storage.

:silly:

I humbly await your replies. If anyone else has any light to shed, I implore you to guide me.

:)
[Galaxy Note GT-N7000 Android Development] forest1971:
flash this Philz kernel http://d-h.st/users/philz_touch/?fld_id=25295#files

, reboot to recovery then format emmc. After that re-flash or restore your favorite rom.
[Galaxy Note GT-N7000 Android Development] YLNdroid:
Internal SD Capacity

[MENTION=4576973]forest1971[/MENTION], thank you for your response.

:)

Based on your suggestion, am I correct to understand that I should flash my desired PIT file (4GBdata - 45MBpreload) and the said PhilZ kernel through PC ODIN, and after doing so, reboot to the CWM recovery and explicitly choose the format /emmc option?

:silly:
[Galaxy Note GT-N7000 Android Development] forest1971:
Yep. flash kernel only also do now bcause u had flash custom pit last time.
[Galaxy Note GT-N7000 Android Development] YLNdroid:
Internal SD Capacity

[MENTION=4576973]forest1971[/MENTION], thank you once again for your prompt response.

:)

I suppose I can use an older version of PhilZ kernel matching an Ice Cream Sandwich release, namely; PhilZ-cwm6-XXLRK-XEU-3.99.tar to flash via PC ODIN, right? As you have suggested, there is no need to flash the custom PIT file of my preference. However, I am a tad finicky about the precise choice for format. Can you kindly confirm that it definitely is format /emmc and

not

format /sdcard? The reason I am worried is because I have an external memory card inserted into the device and I hope not to format that!

:fingers-crossed:

I apologise for my naivety.

:o
[Galaxy Note GT-N7000 Android Development] forest1971:
no prob. yep confirm ok with older philz and confirm emmc. cheers.
[Galaxy Note GT-N7000 Android Development] DualJoe:
What about a unified PIT layout with USERFS/UMS merged? The next good point to change would be Android 7 (usually much earlier like other devices have done already but its never too late). Once the pit is up devs have the chance to implement it. Otherwise its a chicken/hen problem. Devs have no pit and pits have no roms.
[Galaxy Note GT-N7000 Android Development] SirLane:
Well, it basically worked, but my phone wont connect to the usb storage. I had the notification on stock rom to format the usb storage, but that didnt work. Now I am running bauners lollipop rom and i cant do anything that involves the usb storage. Any help?
[Galaxy Note GT-N7000 Android Development] Prinus:
Did you format the storage to vfat "in" the recovery as explained in the NightOwl thread ?
[Galaxy Note GT-N7000 Android Development] SirLane:
Well, it didnt work with the stock rom aswell. But, no I didn't format it to vfat.

Can anyone tell me how to format it to vfat?
[Galaxy Note GT-N7000 Android Development] Prinus:
You have to go to recovery (Reboot or Boot via Power+Home+Vol Up) and format sdcard0 & sdcard1 from there. You might be ruuning TWRP or Philz or plain CWM, so specific methods might differ, but the end result is the same. As stated before, check the NightOwl thread, it is in there.
[Galaxy Note GT-N7000 Android Development] SirLane:
I appreciate your help sincerely, but I just did everything again, with a different pit file, and it worked. Maybe my .rar got a bit damaged during download but I don't really care. It's working like a charm now. :)
[Galaxy Note GT-N7000 Android Development] JerwinSayat:
Hi OP, this thread is great and so are you!

I use your pit 16gb variant 6gb data. Running Cm13 beta5 and Philz recovery. I want to reduce my data to 4gb, do I need to flash again stock and Pit4gb and follow your how to. Or I can just flash only your 4gb pit data via Odin?
[Galaxy Note GT-N7000 Android Development] jayvl:
Ah stupid, I bricked my 32GB note, didn't think that the korean version would be that different...

Any tips for fixing a bad PIT flash? Won't even do ODIN mode now, device recognized by Windows as QHSUSB_DLOAD with a missing driver.
[Galaxy Note GT-N7000 Android Development] wishMaiden:
Ok!

So I successfully flashed the 6 GB PIT and formatted the SD Card(Both Internal and External) and Flashed a fresh copy of the ROM.

The problem is that when I go to settings and then storage, It is showing 2 Internal storages.

First one is 1.81 GB

and Second one is 6.97 GB

Rest just vanished .. Or The Custom ROM is taking up that space and not showing?

I'm running NightOWL Lollipop CM12.1 .. and Damn It works perfectly.

I just want to fix things with my inetrnal storage thing.

Where did the rest of my memory go?

My Samsung GTN7000 is not a 32GB model ..that's for sure.

If its not 32 GB ..then it's a 16 GB Model.

I flashed the 6GB PIT keeping in mind that this 6GB will be used for the apps that I install from playstore.

Is that right? or the PIT was meant to keep that storage (6GB) for memory use like copying music and videos into it?

PS:Also flashed the stock PIT .. and the Partition shown was 2 GB and 10GB (don't remember the exact values)

This seemed okay If the ROM is taking up rest of the space of 16 GB (that is 4 GB)

are the PIT Files fine?I mean working?

Please help out..
[Galaxy Note GT-N7000 Android Development] Prinus:
I asume you flashed the 16Gb - 6GB pitfile?

Roughly you'll have the folowing 3 usable partitions

System 2GB - This stores your ROM and GAPPS

Data 6 GB - This stores your Apps and updated GAPPS

SDCard0 6GB - This is your playground (and mostly data from Apps)

Remind the difference between GB en GiB.

Attached Screenshot from Link2SD show these partitions. So the pitfiles do work.

Remember to format SDCard0 to vfat from recovery as advised by [MENTION=799465]bauner[/MENTION].
[Galaxy Note GT-N7000 Android Development] marseyee:
Wonderful job, Man ! Hats off for you !

Dear metalgearhathaway,

Just a word here to say "thank yououououououououou !!!!".

I'm 45, and desperately needed to re-partition my NOTE 1, since I was always running low on available storage for my google apps (and all those that wouldn't allow to be osted on the ext-SD) and their updates.

You made my day. Really !

Then, for what I'm using my phone for, its specs now can keep satisfying me (I'm not a gamer, and its battery can be exchange. For everything else, it's still perfect in so many aspects !!! ;)

I could partition 6/6 GB (that's awesome), but had no convenient "complete" alternative ROM firmware to feed it directly. Annoyed, I simply "re-odinazed" it with a stock samsung firmware (with the corresponding pit file of yours, checking "re-partition"; or it wouldn't consider the storage part of the internal memory...), and voilà !

Here I am, happy like never, because you, as well as people alike, are knowledgeable, able, and benevolently sharing !

Thanks again for your work.
[Galaxy Note GT-N7000 Android Development] TheCardinal:
how do you do this without a PC or PC Odin? is there a way to flash this using custom recovery?
[Galaxy Note GT-N7000 Android Development] Prinus:
You could try by reading an applying this link, it is [MENTION=4141005]Lanchon[/MENTION] method as posted in the NightOwl 6 (CM13) thread.

http://xdaforums.com/showpost.php?p=66336809&postcount=2067

I haven't used this method myself, I've used the Odin method as described by [MENTION=2069027]metalgearhathaway[/MENTION]
[Galaxy Note GT-N7000 Android Development] Zin Hein:
I need help.

The partition worked in increasing my internal storage for the device. But there is no more USB storage which my device store the media in. BTW although it was stated as USB storage, it's more like an internal SD card.
[Galaxy Note GT-N7000 Android Development] Prinus:
Did you format the sdcard0 from within your recovery ? Otherwise you won't see it.
[Galaxy Note GT-N7000 Android Development] Zin Hein:
I will let the pic do the talking.

The sd card you see is my external sd card. Thanks for the super-fast reply. :o

View attachment 3743881

View attachment 3743882

View attachment 3743883
[Galaxy Note GT-N7000 Android Development] Prinus:
That's from the filemanager. If you don't format from recovery, filemanager won't see it. So reboot to recovery (Home+Power+VolUp) and format sdcard0 from there. After reboot you should see it in filemanager.
[Galaxy Note GT-N7000 Android Development] TheCardinal:
thanksf for the heads up! :D i have successfully repartition my internal storage using this method! :D i was using bauner script to repartition my internal storage
[Galaxy Note GT-N7000 Android Development] Zin Hein:
Thanks for the tip.

I will try out the new ROM as per your instructions. Fingers crossed. P.s Sorry for late reply. I'm busy with exams currently.
[Galaxy Note GT-N7000 Android Development] Zin Hein:
It worked.

I was able to format the sd0 after installing the new ROM you recommended. Thanks.
[Galaxy Note GT-N7000 Android Development] estikoaji:
How can I get the system partition is larger? Because the current system partition is too small for me to install a variety of mod. I use cm13 Night Owl.

I am currently using PIT 6GB of data. But my system partition only about 1GB (legible even in Titanium Backup is only about 889MB). Is there could be more comforting PIT system partition? Not just the data partition.

thank you
[Galaxy Note GT-N7000 Android Development] D@rekills4:
You could play with fire:

http://xdaforums.com/showpost.php?p=59264210&postcount=331
[Galaxy Note GT-N7000 Android Development] estikoaji:
Thanks for the instructions. But when I make a custom PIT, I was having problems.

1. When I loosen up the system partition to 2 GB, and Block Size in Hidden turn into 30.xxx.xxx (I forget exactly, because already I remove), download Hidden partition failed.

2. When I try to repeat create custom PIT (without touching the value of the Hidden and UMS, and change bit system and data partitions), I get me straight encrypted partition. Yet the value I put is in conformity with the instructions from you.

Can you help me? I want to create custom PIT with 5GB of data partition, as well as 2GB of system partition.

Thank you for your answers. Sorry for my english is not good.

==============================================================================

Just my fault. On my second method, I forgot to format data and cache from stock recovery. Now I can install mods and others tweak on CM13 Night Owl. Thanks for your helping. Sorry for my bad English.
[Galaxy Note GT-N7000 Android Development] YLNdroid:
[MENTION=2069027]metalgearhathaway[/MENTION], if I decide to move from a custom AOSP firmware to a custom TouchWiz firmware, should I flash the Stock PIT file first and then flash the modified one of my preference?

:o :silly:
[Galaxy Note GT-N7000 Android Development] metalgearhathaway:
I'm not 100% sure now, its been 2 years since I owned these devices, hopefully someone else can help you on this, my apologies
[Galaxy Note GT-N7000 Android Development] cv65user:
hello,

So weird , i am on n7000 intl , JB 4.1.2 Stock with root / CWM.

i flashed N7000ZSLR1_N7000OZSLR1_TGY stock hk from samfirmware

and \n7000 16gb variant - 6gb data.pit

which flash fine

<ID:0/006> Added!!

<ID:0/006> Removed!!

<ID:0/006> Added!!

<ID:0/006> Removed!!

<ID:0/007> Added!!

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> N7000ZSLR1_N7000OZSLR1_N7000XXLT3_HOME.tar.md5 is valid.

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/007> Odin v.3 engine (ID:7)..

<ID:0/007> File analysis..

<ID:0/007> SetupConnection..

<ID:0/007> Initialzation..

<ID:0/007> Set PIT file..

<ID:0/007> DO NOT TURN OFF TARGET!!

<ID:0/007> Get PIT for mapping..

<ID:0/007> Firmware update start..

<ID:0/007> cache.img

<ID:0/007> NAND Write Start!!

<ID:0/007> factoryfs.img

<ID:0/007> hidden.img

<ID:0/007> modem.bin

<ID:0/007> Sbl.bin

<ID:0/007> zImage

<ID:0/007> RQT_CLOSE !!

<ID:0/007> RES OK !!

<ID:0/007> Completed..

<OSM> All threads completed. (succeed 1 / failed 0)

<ID:0/007> Removed!!

<ID:0/006> Added!!

<ID:0/006> Removed!!

<ID:0/006> Added!!

but its still 2GB data?!??! and still same firmware with my old home screens, etc?

EDIT

so i rebooted into CWM , factory reset , now back in what appears to be gingerbread stock rooted with CWM . but it keeps saying my internal storage is blank, so i press yes to format in gingerbread interface but it keeps saying internal storage is blank , so i plug into PC and it says its size is -19xxxxxx in size. i have tried to format with windows which says success but it doesnt actually didnt do anything?
[Galaxy Note GT-N7000 Android Development] Prinus:
You should format sdcard0 from recovery, preferably to vfat
[Galaxy Note GT-N7000 Android Development] marseyee:
I had faced the same problem. By chance, after doing a fresh install again, with the pit file along with the stock rom through Odin, it's my phone, at first boot, which offered to format the new partition (@first boot : see in the status/notification bar).

Since that, it works like a charm.

[MENTION=6854526]Prinus[/MENTION] : formating from the recovery, though I was said it had been successfull, didn't really work for me. It seems its Android's job, and all is playing at first boot.
[Galaxy Note GT-N7000 Android Development] Hazem Mahrous:
Thanx

I did every thing and insatalled the 8gb pit file but did not do the factory reset i only rebooted the device so ifound the internal sotrage decreased by 8gb but it did.nt increase in the apps storage so i used the orgianl stock pit file and it has been restored to it,s original size so what i did wrong and what should i do

Phone: Samsung Galaxy Note1

Android Version:4.1.2

Model Number:GT-N7000

Baseband Number:JPLSB
[Galaxy Note GT-N7000 Android Development] JerwinSayat:
In my humble opinion. You can try it again. Maybe odin fails? Maybe you dont format the "blank usb" thing?
[Galaxy Note GT-N7000 Android Development] bauner:
You need to do the factory reset
[Galaxy Note GT-N7000 Android Development] hksaaa:
I have [Lollipop][Android 5.1.1] , do i have to flash rom again trought odin or ?Can someone explain me with more details or give me on youtube guide.And where do i check witch model do i have,16gb or 32gb.Thanks!
[Galaxy Note GT-N7000 Android Development] terius:
i did everything as explained in post 1 doing the 4gb. partition but when i go to setting/storage & USB tells me that the sdcard0 is damaged and i have to finish the configuration...than i have to format the sd card, when i do that tells me this : ¨command ´137 volume partition disk: 179_0 public` failed with´400 137 command failed¨

any idea?

I fixed it,.... i had to read a lot but i solved it, i just had to format the sdcard0 and sdcar1 in recovery...
[Galaxy Note GT-N7000 Android Development] Sasak_Tulen:
please help me for samsung J2 and A300H
[Galaxy Note GT-N7000 Android Development] :
This is the N7000 forum. We will laugh at you when you brick your phone using this, go to your forum instead.
[Galaxy Note GT-N7000 Android Development] freyjlord:
how long it takes for writing zImages like on screenshot ?
[Galaxy Note GT-N7000 Android Development] Lister Of Smeg:
Hi All,

Forgive the noob-ish question, at work and looking in a hurry... I've got my Note (at home today) and I'm sure I partitioned it a while ago when I first tried Lollipop / Marshmallow... so believe I've done what I needed too. However what partitioning methods are available to us?

I can't remember what size the \System partition is before / after running these pits? Is it (always) over 768MB / 1GB, or do we have to increase it? As I believe these Pits are for the \Data partitions only isn't it....?

Basically my Note, which is still running KitKat at the moment. Now and then complains about running out of space (insufficient space)... So basically looking for a PIT FILE (if it should exist) that gives me like at least 1GB System, and 6GB Data.....? Does that existi???

Thanks, Lister
[Galaxy Note GT-N7000 Android Development] Prinus:
Use the 2G system / 6G data pit, it works fine for LL and MM. I have been using this config for more than a year now without any space problems. Alternatively check the NightOwl threads for a repit methode by [MENTION=4141005]Lanchon[/MENTION], it is a repit method without lossing data.
[Galaxy Note GT-N7000 Android Development] Lanchon:
forget about pit files, use my REPIT
[Galaxy Note GT-N7000 Android Development] -Henrock-:
How do I turn the internal memory (2 GB)

After I made this partition my GPS doesn't work anymore.
[Galaxy Note GT-N7000 Android Development] jak178:
I have cyanogenmode 12.1 can i re partition drive
[Galaxy Note GT-N7000 Android Development] Prinus:
Repartitioning is not depending on a ROM version. But be sure before you start that you know what you are doing...
[Galaxy Note GT-N7000 Android Development] xnoooyaz:
I have corrupted my sdcard0 and now they dont mount storage/sdcard0...

Anyone can help?
[Galaxy Note GT-N7000 Android Development] TomboIa:
Do it again with the standard pit file. After that check if everything is normal and try to use another pit file. I used 6gb.
[Galaxy Note GT-N7000 Android Development] bambanx:
how i can know if my n7000 is 16 or 32model?

how i can know if my n7000 is 16 or 32model? thanks.
[Galaxy Note GT-N7000 Android Development] yura78:
Just check what is your internal memory :)
[Galaxy Note GT-N7000 Android Development] nithin1664:
how to repartition for n7000 running CM10

hi, i would like to repartition my n7000 16gb , its running CM10. is it okay if I flash just the .pit file and then install CM10 or CM11 again using CWM using zip file installation.

also i am not sure if CM10 uses preload or not.

could you explain the process for my n7000.

regards

Nithin
[Galaxy Note GT-N7000 Android Development] hksaaa:
1st you flash this recovery http://xdaforums.com/devdb/project/dl/?id=18061 , then you https://www.androidfilehost.com/?fid=24499762635999029 install this trought this new installed recovery and then you need to install from /tmp again and it should work.

data=6gb (means +4gb for apps)

sdcard0=~7gb (means -4gb from the stock size)