Hacking WIP [TESTING] GPTUPGRADE payloads. Mod of gptrestore. Rewrite bigger EMMC with partition info easily!

mattytrog

You don`t want to listen to anything I say.
OP
Member
Joined
Apr 27, 2018
Messages
3,708
Trophies
0
Age
47
XP
4,316
Country
United Kingdom
Under construction...


Right people...

Just a quick one...

If upgrading your eMMC to a bigger size, you have to really mess around in unix to write partition info etc etc...

Try these payloads...

16 - incase some lunatic wants to downgrade - MIGHT HAVE GEOMETRY WRONG ON THIS VERSION), 64, 128 and 256 GB versions in this Zip.

Once you have rewritten your GPT using these files, restore your INDIVIDUAL partitions and BOOT0 /1 in Hekate.

You MAY have to do it manually for the USER partition in hacdiskmount, to copy your stuff over. This means...


You will need a rawnand of OLD EMMC to mount your old USER partition... Unless you are starting from scratch... I can make some "blank" USER folders if you need them.

After using these files... In your new eMMC
1) Use BIS key 3 and mount USER in hacdiskmount
2) It will probably say it "needs to be formatted". Format it.

It is now formatted using correct key.
Mount your newly formatted USER partition and copy your stuff from your old partition over.

That should be it.


Upgrade should be done.

I`m limited on eMMC chips, so if someone could run through these, would be great. Hence "TESTING".

This is the "geometry" I used for your reference...

geometry.jpg


All bytes are little Endian.


No warranty implied...blah blah... Using another eMMC size will "PROBABLY" get you banned. I say probably as the GUIDs are the same. The size of the last partition is different. So... Your mileage may vary.

If Ninty are only checking GUIDs then you will probably be fine. If they are actually getting eMMC size reported to them, you aren`t fine.


BACK EVERYTHING UP BEFORE EVEN THINKING ABOUT MESSING WITH EMMC.

Credit to Rajkosto for original version.



Let me know how it goes.

Matty
 

Attachments

  • GPTUPDATE.zip
    141.9 KB · Views: 263
Last edited by mattytrog,

Switch_Maniac

Well-Known Member
Member
Joined
Dec 16, 2018
Messages
183
Trophies
0
XP
627
Country
United States
Actually going to be going through this in the next couple days myself. Got the link from a buddy after chatting about my issue. I have a Switch I upgrade to a 256 nand on that gives a purple screen when I boot normal, but boots fine with atmosphere. I can let you know if I find anything weird happening.
 

Switch_Maniac

Well-Known Member
Member
Joined
Dec 16, 2018
Messages
183
Trophies
0
XP
627
Country
United States
Not a deal of feedback so looks like they are OK!

Matty - Was wondering if you could help me troubleshoot and see where I may have gone wrong. I have a 256 nand in my Switch. I am able to boot fine with Atmo (no emunand), but if I try to boot "Stock" with hekate or just normal with no RCM payload pushed I get a purple screen. I was thinking it might be the boot0/1, but I though even CFW wouldn't boot either. Then after chatting with some others we though maybe it was something with the GPP partition and we found these payloads. When I try to run the 256 payload, it tells me my nand is 256. I verified in hekate that it is in fact a 256. I checked in windows as well, but it seems like windows might be reading the size a little off.

I do still have the original 32 nand, though I think it's on like FW 5.1. Of course I can start from scratch, but was trying to avoid that if I could since the 256 restore after expanding the user partition takes a while.

Is there a way for me to verify and possibly edit the bin to work with mine?
 

hashcheck1

Well-Known Member
Member
Joined
Aug 5, 2013
Messages
469
Trophies
0
Age
42
XP
917
Country
Can I confirm with 64gb Emmc it worked however i noticed on mine there is 512mb of space at the end off emmc unallocated
 
Last edited by hashcheck1,

SergioPoverony

Member
Newcomer
Joined
Aug 19, 2022
Messages
7
Trophies
0
Age
42
Location
Ekaterinburg
XP
27
Country
Russia
It's been a while and I've gained experience. I can tell you that your script does not work with all memory types. . I have a 128GB Sandisk, actually 116GB. The script reports a small size and does nothing.
 

evil_santa

Well-Known Member
Member
Joined
Jan 15, 2020
Messages
274
Trophies
1
Age
38
XP
1,390
Country
Germany
It's been a while and I've gained experience. I can tell you that your script does not work with all memory types. . I have a 128GB Sandisk, actually 116GB. The script reports a small size and does nothing.
Don't mess whit the script.
You only need to fix the gpd whit gparted.
After this try my nand Manager.
There is an option in it to resize the user partion.
Never used myself, did this stuff manually.
 

SergioPoverony

Member
Newcomer
Joined
Aug 19, 2022
Messages
7
Trophies
0
Age
42
Location
Ekaterinburg
XP
27
Country
Russia
Don't mess whit the script.
You only need to fix the gpd whit gparted.
After this try my nand Manager.
There is an option in it to resize the user partion.
Never used myself, did this stuff manually.
Thank you for your reply ;). The advice is good. I have done everything on the Linux system. A very long time ago. It was only now that I was able to go on the forum and write about the problem.
 

evil_santa

Well-Known Member
Member
Joined
Jan 15, 2020
Messages
274
Trophies
1
Age
38
XP
1,390
Country
Germany
Thank you for your reply ;). The advice is good. I have done everything on the Linux system. A very long time ago. It was only now that I was able to go on the forum and write about the problem.
Ahh I remember your name.
you were the one at telegram with the shit sandisk emmc.
Nice to see you here ☺️
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Skelletonike @ Skelletonike:
    1H left, such a slow week.
  • Sonic Angel Knight @ Sonic Angel Knight:
    Okay, I had spaghetti :P
  • SylverReZ @ SylverReZ:
    Hope they made lots of spaget
  • K3N1 @ K3N1:
    Chill dog
  • SylverReZ @ SylverReZ:
    Chilli dog
  • Skelletonike @ Skelletonike:
    Damn, I'm loving the new zelda.
  • xtremegamer @ xtremegamer:
    loving the new zelda, i started a game, it was so fucking good, so i
    am waiting on my friend to get home so we can start a new one together
  • Skelletonike @ Skelletonike:
    I just dislike that they don't let me choose the voices before the game starts. Happened with botw as well, had to change to japanese and restart.
  • K3N1 @ K3N1:
    But the important question is can you choose gender
  • Skelletonike @ Skelletonike:
    Same way you can choose Gerald's gender.
  • Skelletonike @ Skelletonike:
    *Geralt, damn autocorrect.
  • Psionic Roshambo @ Psionic Roshambo:
    But can he be trans? Lol
  • K3N1 @ K3N1:
    Zelda transforms into link
  • Psionic Roshambo @ Psionic Roshambo:
    Link I'm not the princess your looking for.... *Pulls a crying game*
  • K3N1 @ K3N1:
    *skirt up* it's exactly what I always wanted
  • Skelletonike @ Skelletonike:
    Just scanned all my zelda amiibos, took a while but didn't get anything that cool, did get the lon lon ranch hylian fabrics though.
  • Skelletonike @ Skelletonike:
    It was pretty funny when I scanned wolf link and got a shit load of meat.
  • K3N1 @ K3N1:
    @Skelletonike, btw I ran that custom for mgs4 on the deck I'm amazed it got that far in game
  • K3N1 @ K3N1:
    Plug in*
  • K3N1 @ K3N1:
    Your favorite activity
  • BentlyMods @ BentlyMods:
    My fav actvity is:

    mario-dancing.gif
    BentlyMods @ BentlyMods: My fav actvity is: