yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] remsk1:
The best way to remove emmcs woth epoxy is to dremel them to the BGA balls, then remove the remaining part of the chip with a solderong iron. I triedwith an hot air gun station and it ended with broken pins on the board. See the following picture, after my attemps unsoldering my LG G2 emmc :

hXXps://imageshack.com/i/pluFl0AOj (replace XX with tt)

Even after this I managed to get all the connections needed in order for the emmc to be recognised by boarddiag. But I had another problem : NUK SDRAM.

Emmc pinout and how to connect it to emmc reader :

hXXp://320volt.com/en/32-gb-emmc-bellege-sd-kart-baglantisi/

An easy way of programming emmc is by soldering the little copper cable that you find in some old earphones, like so :

hXXps://imageshack.com/i/pmx0KaWoj

With an micro SD to SD adaptater, you can access and program the emmc with ubuntu commands :

hXXps://imageshack.com/i/pohbpTCtj

A raw backup of the emmc is a good way to have the entire memory of the phone saved in case of problems, so the first steps are to root your phone, do a raw backup of it with ubuntu so you can restore it on the new chip. You can also do a spare EFS backup. If you have a new emmc with a bigger capacity it migh be possible to extend the user partition using gparted, but i have not tested that at this time so i am not sure if this will work. Otherwise the OP method has to be applied.

How to do raw backup of your phone :

hXXp://xdaforums.com/showthread.php?t=1818321

I will try to buy a damaged 16GB phone and upgrade the memory to the 32gb emmc chips I have bought.

Sorry about my english, I am not a native speaker.
[Nexus 5 Q&A, Help & Troubleshooting] bukujutsu:
Your English is good. I forgot about this, someone should get Kapetz to give them the information with the promise that they'll pretend to have figured it out on their own since it seems some companies threatened him (I highly doubt they could do anything, but he seems to be in Eastern Europe and they're more likely to play dirty over there).
[Nexus 5 Q&A, Help & Troubleshooting] sgtgs:
Kapetz is russian if I'm not mistaken.
[Nexus 5 Q&A, Help & Troubleshooting] dgm_mixtoon:
my god!!

True hardcore!!

How to change emmc to upgrade it!??
[Nexus 5 Q&A, Help & Troubleshooting] remsk1:
Well you need some good soldering skills plus linux skills in order to get the result of the OP.

Steps are :

-root your phone

-full raw backup of the entire phone + EFS backup

-programming of the new emmc with a micro usb adapter (restoring of the raw backup on the new emmc)

- I suppose we can try to extend the user partition of the emmc at this point using Gparted but I am unsure if the smartphone will boot with a modded user partition or if further modifications are required

- removing the old emmc, the safest way to remove emmc glued with epoxy is to gring the chip to the bga ball (destructive operation for the old chip but safest method to desolder the chip without damaging the board)

- cleaning the board with the soldering iron plus a blob solder in order to remove the old bga links

-removing the old epoxy with a little heat and some isopropyl alcool

-getting some new flux under the new emmc

-setting the emmc in place using the guide that are provided on the pcb

-hotting the chip with an hot air gun or using professionnal ir station (easier solution). Be careful as there is a temperature curve to follow in order to avoid frying the ic. If all is done well, the chip will set itself in place.

The epoxy that the manufacturers put under the chip is there in order to hold the ic when they are working (temperature dilatation is making the bga balls weak)

So the new emmc might work less longer than the old one but the operation can be repeated as long as the main pcb is not damaged. Even so there are ways to create the connections.
[Nexus 5 Q&A, Help & Troubleshooting] nailyk:
Reflashing the full emmc on the n5 could, probably, be done with the unrbicking guide (raw access to the emmc in qdloader 6008).

Afaik, parted of the dump to resize the partition before reflashing should be the best way. Be aware that it perhaps may need custom flash to meet new partition table requirements but with customs rom it should boot fine.
[Nexus 5 Q&A, Help & Troubleshooting] remsk1:
Yes, or qualcomm usb 9006, as there is direct access to the emmc like an hard drive.
[Nexus 5 Q&A, Help & Troubleshooting] KApetz2:
Hi!

No! Ukraine, Kiev.

But I'd be happy, I went to another country to work. In Ukraine, a very small salaries...(
[Nexus 5 Q&A, Help & Troubleshooting] sgtgs:
Uhh, Ukraine, sorry.

Can you explain for us how you repartitioned the 64Gb emmc for "android ready" usage please?
[Nexus 5 Q&A, Help & Troubleshooting] KApetz2:
All Ok!);)

I do not see the difficulty. First change file systems, and use format any method.
[Nexus 5 Q&A, Help & Troubleshooting] sgtgs:
Wow, sounds intresting! Can you make a step-by-step guide in the first post?
[Nexus 5 Q&A, Help & Troubleshooting] bukujutsu:
Oh man, it was that easy? I had the impression that it was way harder. May give it a try soon, just need to buy something to connect to it.
[Nexus 5 Q&A, Help & Troubleshooting] behzat:
Hi all,

has anyone successfully replaced eMMC?
[Nexus 5 Q&A, Help & Troubleshooting] humzaahmed155:
Literally on the first page.
[Nexus 5 Q&A, Help & Troubleshooting] behzat:
I mean except KApetz2 :)
[Nexus 5 Q&A, Help & Troubleshooting] JCBiznatch:
I second that, holding 16gb right now.
[Nexus 5 Q&A, Help & Troubleshooting] yz250il:
Any update?
[Nexus 5 Q&A, Help & Troubleshooting] yz250il:
This is so cool if there will be a guide for that.

I have a N5 16g with a fried memory (bootloader works, and it's unlocked but if I try to relock it it doesn't stick after rebooting.)

I can just buy a 32g chip and sold it in and it should work right away? Or do I have to do some software stuff? (using fastboot is about all I know)
[Nexus 5 Q&A, Help & Troubleshooting] Fraser34:
I just summarized my search what chips are available on eBay and on Aliexpress on today, Dec23rd, 2016.

Please, see attached file.
[Nexus 5 Q&A, Help & Troubleshooting] Daniii438:
Alright, this thread got me inspired and I want to do this with my old nexus 5 now. I will write a guide if I can make it work. I'll order the chip in a couple of days and let somebody insert it for me.

But before I do that, what do I need to backup etc? Chip will arrive in a week ish.

Thank you if somebody could help me out there :)
[Nexus 5 Q&A, Help & Troubleshooting] humzaahmed155:
Do a full emmc dump to a computer, how you would go about doing that? I have DD in mind. But I'm sure there's a more elegant solution. You should probably just backup /data and /efs where possible.
[Nexus 5 Q&A, Help & Troubleshooting] talboris:
[YOUTUBE]https://www.youtube.com/watch?v=OWUiqPVUKBQ[/YOUTUBE]

https://www.youtube.com/watch?v=OWUiqPVUKBQ

they just clean off old memry
[Nexus 5 Q&A, Help & Troubleshooting] melliott:
Maybe this would be helpfull hxxps://xiaomi.eu/community/threads/mi2s-extending-size-of-storage-partition.21391/#_=_ (replace the xx with tt)
[Nexus 5 Q&A, Help & Troubleshooting] darkfairytale:
can you provide a clearer detail of what u mean? alot of ppl here prefer keeping a Nexus 5 and there is finally a means of expanding the storage. ppl would be grateful for help on the process
[Nexus 5 Q&A, Help & Troubleshooting] K-Jab:
Also if maybe no one uses the nexus anymore in this thread,

I'll give it a try next month or so,being really careful.

I've read the whole post, researched everything and think the softwareside is very easy.

I only have to make a whole emmc backup.

Change the partition table inside this backup, doing some hex calculations with the difference of the 16gb and 32gb gpt versions.

And when everything is replaced, i need to flash my edited backup to the new emmc.

On top, when everything works, i'll try to replace my ram for a 4gb chip.
[Nexus 5 Q&A, Help & Troubleshooting] tmihai20:
[MENTION=9615609]K-Jab[/MENTION]: this is not only interesting, it would be awesome. Maybe we can get another clearer step by step guide. Updating RAM is waaay too good. Links for parts would help too.
[Nexus 5 Q&A, Help & Troubleshooting] K-Jab:
The best by replacing the RAM is, I dont have to change anything in the software.

But getting the RAM Chip off and on the cpu without moving the cpu would be hard. Maybe I fix it with epoxy in place.

Since the snapdragon 800 is a 32-Bit chip it'll only support 4gb of RAM. Otherwise i would try 8GB.

The 2GB chip which is originally inside the n5 is "H9CKNNNBPTMRLR-NTM"

The 4GB would be "H9CKNNNBPTATDR-NTH"

Both are FBGA-216 and 1600mhz and 1.8v,1.2v,1.2v so there should be no problem in compatibility.

But I'm still wondering if the S800 will support 256GB emmc.

Because I found a Panasonic "RP-SEMC32DA1" 256GB emmc 5.0 chip on digikey for 45$ which would be awesome and make me use this phone for another 5 years :D

And yes, when I got all parts and another N5 for soldering tests, I'll document everything at least with pictures (maybe video) and a step by step guide for software side.
[Nexus 5 Q&A, Help & Troubleshooting] K-Jab:
So for now I researched a bit and found the Partitiontables for 16GB and 32GB N5 in this thread.

I used HxD to inspect the files and compared them with the partitions from Kapetz2 on first page of this thread. (Image attatched)

So far I found out that Kapetz2 modified a 32GB N5.

We can see, there is

Startblock (red)

and

Lastblock (orange)

.

All partitions seem to be the same size until

Userdata

, cause it's the

same

startblock but a different Lastblock.

So I dont have to edit anything before

Userdata

.

The

GUID-Type (green)

is everywhere the same, cause its only the type.

But

GUID partition (purple)

doesnt match anywhere. And I think it's important that it is calculated correctly to make the partitions work.

Maybe you can help me with that.

EDIT: I accidentialy marked one grow partition in red than blue
[Nexus 5 Q&A, Help & Troubleshooting] PRO>KOMP.<:
Did anyone try this eMMC mod? I got N5 and want to change eMMC but I don't know how set partitions for 64gb, help?
[Nexus 5 Q&A, Help & Troubleshooting] K-Jab:
Thats how you do it!

So I'm still hardcore interested in doing this, but i'm low on money to order 2 times 2 parts for each 30$.

But for everyone, who wants to do this, i think the way isn't that hard how it seems.

For RAM upgrade: -I would try to fix the CPU part of the SoC with epoxy or something.

-But spray it with silocone spray first, cause you wont want to have the epoxy all over your nexus motherboard.

Also fill the epoxy above the Ramchip.

-Let it harden.

-Cut the epoxyform where the RAM is, so you can take it out and a new one in without moving the epoxyform.

-Now you have to do very precise working to not move the whole soc, or your phone wont work anymore if the CPU pins dont align.

-If done, your phone should turn on as usually but with more usable RAM.

For emmc:

-your phone needs adb and root.

- use THIS tutorial for backingup modem, modemst1 and 2, recovery and boot partitions.

-for fixation you can give a bit silicon spray on the emmc chip but not onto the motherboard. The you can fix the cornerspots with some epoxy.

-remove the old chip.

-put new one into the fitting cornerspots and fire your hot air gun onto it :D.

-now try to turn your phone on if everything is ready. Or try to get into QDLoader.

-follow THIS tutorial to flash the partitionimages from the site to your phone.

-flash your backedup partitons to your phone with BoardDiag Tool.

-as last step you need to resize your partitions. this is really simple with THIS.

I haven't tested it myself. but this is how it should work :)

Let me hear, if you have done it
[Nexus 5 Q&A, Help & Troubleshooting] mario24601:
Did anyone do this?
[Nexus 5 Q&A, Help & Troubleshooting] ilciumbia:
I did something similar... Have a look at my thread:

https://xdaforums.com/google-nexus-5/general/nexus-5-expanded-to-3-gb-ram-t3916492
[Nexus 5 Q&A, Help & Troubleshooting] K-Jab:
Respect man!

As i said above i would like to do it, but as a student i got no cash for making such more or less necessary upgrades to my old phone. [MENTION=1251162]mario24601[/MENTION] if you got enough soldering experience, and enough cash for at least 1 RAM Chip and spare Motherboard, you can fairly easy upgrade the ram. Just be a bit creative to make a mount for the cpu, so it doesn't lose it's position and contact to the PCB.

I would do it with a bit epoxy to the cpu corners.

Then dismount the RAM which sits on top of the CPU and put the new one onto the cpu.
[Nexus 5 Q&A, Help & Troubleshooting] ilciumbia:
Unnecessary, the CPU and the RAM, and in fact every BGA bigger than 4x4, are already glued... It is advisable to remove some epoxy from the junction between the CPU and the RAM chip. In order to do so, heat up the RAM chip with some hot air at around 150°C and gently scrap it from the sides with the help of a thin blade or a needle. Be careful not to go too deep and damage the contacts.

Then heat up the RAM at No MORE THAN 300°C. Well, at least, that is the temperature I read on my hot air station, which might be completely off. However, never overheat it or the CPU will be damaged, because it is very delicate. Then, start lifting the RAM chip VERY GENTLY from one corner until you feel the epoxy beginning to get loose. The ram chip will then come off quite easily, once you are able to lift one full side. If it doesn't seem to come off and you feel the solder has not melted, increase air flow, not temperature!

The CPU will not move, it is held in place by epoxy.

Before soldering a new RAM chip, you must carefully clean the CPU pads from any epoxy residue, but for the proper way to clean a BGA area and to solder a new chip, I invite you to have a look at the numerous videos on YouTube which deal with the subject.

If everything has been done properly, the new RAM chip will be detected and utilized automatically.
[Nexus 5 Q&A, Help & Troubleshooting] church_foster:
Can this mod work for the Pixel 3a?
[Nexus 5 Q&A, Help & Troubleshooting] Jonnyredcorn:
How much did the Nexus 5 32gb cost? I forget what I paid, I wanna say $399? And that was $50 more than the 16gb model. So a 64gb eMMc 5.0 chip runs $35. You could got a 64gb Nexus 5 for $385 if you could have gotten a 64gb eMMc chip for $35 when the nexus 5 actually came out. Coulda resold the Nexus 5 buying 16gb Nexus 5s, replace the 16gb chip with 64gb chip, resell for $429 profit $45.

Wonder if Google would put a stop to that? I have seen other Nexus 5s being resold with some other type of modification done to it.
[Nexus 5 Q&A, Help & Troubleshooting] Svardskampe:
Some time ago there was this guy voicing against Linus, which he visited that no, it has some kind of chance of working, but basically it's super easy to misalign your BGAs...

https://www.youtube.com/watch?v=Shn7LdIrViQ

Here they show the professional repair shop how they do it.
[Nexus 5 Q&A, Help & Troubleshooting] GR0S:
There's decent allowance for BGA, but you still have to be careful
[Nexus 5 Q&A, Help & Troubleshooting] abense:
Subscribing
[Nexus 5 Q&A, Help & Troubleshooting] jago25_98:
Awesome! Really impressive. I thought I was good to be able to solder at twice that scale... Clearly that's nothing these days

What temp on the soldering iron?

What temp on the heat gun? Same for each stage?
[Nexus 5 Q&A, Help & Troubleshooting] Drake Misuke:
don't try this at home
[Nexus 5 Q&A, Help & Troubleshooting] Makxie:
you sir, had to be ukranian. Congratulations! good job
[Nexus 5 Q&A, Help & Troubleshooting] gdude:
Careful !

This is an impressive and cool hack, and something I have often wondered about.

For the hardware/electronics newbies out there I would suggest you be very very wary of soldering a ball grid array (BGA) device. This is definitely a job for first-timer soldering people. I have a lot of experience with electronics, although it's not my main thing, and I would be very worried about executing this properly. I have had colleagues remove and replace simpler (non BGA) devices for our team and would say the success rate is variable, but not 100% unless the person has a lot of experience not just with electronics and soldering, but with DE-soldering.

The problems is that solder can stick, clump, spread around and just make a mess and this is small touchy stuff.

I hope people try this and report back on their successes, but just wanted to elaborate on the risks.
[Nexus 5 Q&A, Help & Troubleshooting] cookiehead2:
Anybody got a link to a Chinese microwave solder laser along with the Chinese BGA eMMC?
[Nexus 5 Q&A, Help & Troubleshooting] pat99:
Although I don't own Nexus 5, But stop by to say Thanks for the effort! :)

By adding $30 you've made your Nexus 5 additional $200 worth! Congrats.
[Nexus 5 Q&A, Help & Troubleshooting] dmd79:
I would know how to program a virgin flash ROM. I saw tree wire into pictures I think you have to JTAG it but how? And how to repartitioning memory? Please provide us some more info...
[Nexus 5 Q&A, Help & Troubleshooting] nailyk:
Hi,

First I would applaud you: nice work :good:

I read (almost) the whole thread i don't know if you finally change your partition table?

Have you tried the download link in the github issue? I remember you should extract the gparted binary and launch it. Before you proceed, are you able (via jtag or other way) to reflash full flash if something went wrong?

And welcome on xda by the way :)

Edit: I'm the same nailyk from github.
[Nexus 5 Q&A, Help & Troubleshooting] filjusz:
Wow! You are awesome man!
[Nexus 5 Q&A, Help & Troubleshooting] opssemnik:
we have tools for that, check http://xdaforums.com/google-nexus-5/general/fix-unbrick-nexus-5-stucked-qualcomm-hs-t3043301

at the end of thread there is a partition table modifier, modify it and flash the new firmware via lgpst
[Nexus 5 Q&A, Help & Troubleshooting] rdmozero:
Would be much easier if OP share his edited file to the thread

Also to be clear, can we use different eMMC with the same BGA pattern? I saw a lot of different and cheaper chip in the market.
[Nexus 5 Q&A, Help & Troubleshooting] opssemnik:
as long as the pinout are correctly it should work.

But actually, im more interested and knowing how he flashed the bootloader/partition table/ etc on the new chip
[Nexus 5 Q&A, Help & Troubleshooting] handasan10:
On the iphone you need to copy all files from old emmc to the new one..
[Nexus 5 Q&A, Help & Troubleshooting] n78 shadow:
I have xperia l

Don't ask me why I'm posting but that was really awesome I really like it .:D

It's outstanding work:D
[Nexus 5 Q&A, Help & Troubleshooting] JoshDaWhite:
[MENTION=7245337]KApetz2[/MENTION], you don't realise yet what a cool mod you have done.I.am buying a nexus5x, And I will try to mod my Samsung s4.only one question :How did you make the emmc work?you copy/pasted some files to it?on other words, how did you flash the bootloader drivers,etc?
[Nexus 5 Q&A, Help & Troubleshooting] makapav:
You've made the Android community proud! This was very ingenious of you. Please post a guide on how you did it and hopefully we will see more daring souls tread in your path with other devices. With encryption, even on stock MM my Nexus 6P is ridiculously laggy because the software encryption is a bottleneck. Also, you must have a surgeons hands to be able to solder those pins.
[Nexus 5 Q&A, Help & Troubleshooting] krishna442:
you are just awesome. Hardware hacking at its best. Thanks.
[Nexus 5 Q&A, Help & Troubleshooting] ryanbg:
How did rework go? Looks like very clean work. Nice job. How do you deal with the epoxy?
[Nexus 5 Q&A, Help & Troubleshooting] TidusWulf:
This is some next level ****. nice work, man!
[Nexus 5 Q&A, Help & Troubleshooting] GldRush98:
-Got it working

-Doesn't tell us how

-Disappears from site

Never change XDA. Never change.
[Nexus 5 Q&A, Help & Troubleshooting] nailyk:
So [MENTION=7245337]KApetz2[/MENTION] finally get it working? Nice!

I start with him on github but it take me a while to found his post on xda ... Too late ;)
[Nexus 5 Q&A, Help & Troubleshooting] regg.xyz:
I don't own a Nexus 5, but I think this mod could be applied to other devices too, so I searched a little bit. This is what I found:

http://www.samsung.com/global/business/semiconductor/file/media/Samsung_eMMC_2013_Final_HR-0.pdf Samsung models. See page 5

http://toshiba.semicon-storage.com/eu/product/memory/nand-flash/mlc-nand/emmc.html Toshiba models

---

http://www.aliexpress.com/store/product/1pcs-lot-KLMCG8GE4A-A001-for-original-64G-EMMC-CHIP-IC/1523537_32617796089.html SAMSUNG KLMCG8GE4A-A001 (EMMC-4.5 64GB, 30USD)

http://www.aliexpress.com/store/product/1PCS-LOT-KLMDGAGEAC-B001-for-Samsung-original-new-128GB-EMMC-memory-CHIP-IC/1523537_32594878990.html SAMSUNG KLMDGAGEAC-B001 (EMMC-4.5 128GB, 63USD)

http://www.aliexpress.com/item/KLMCG8GEAC-B031-emmc/32552278459.html SAMSUNG KLMCG8GEAC-B031 (EMMC-5.0 64GB, 30USD)

http://www.aliexpress.com/item/THGBMFT0C8LBAIG-TFBGA-153-EMMC-5-1-128GB-Flash-Memory/32616384003.html TOSHIBA THGBMFT0C8LBAIG (EMMC-5.1 128GB, 66USD)

http://www.aliexpress.com/item/THGBMHT0C8LBAIG-TFBGA-153-eMMC5-1-128GB-Flash-Memory/32653124263.html TOSHIBA THGBMHT0C8LBAIG (EMMC-5.1 128GB, 64USD)

http://www.aliexpress.com/item/THGBMGT0T8LBAIG-TFBGA-153-eMMC5-1-128GB-Flash-Memory/32651421313.html TOSHIBA THGBMGT0T8LBAIG (EMMC-5.1 128GB, 70USD)

Maybe someone brave enough …
[Nexus 5 Q&A, Help & Troubleshooting] parrotgeek1:
Probably it involved gptfdisk and growing the user data partition. Like this http://xdaforums.com/idol-3/development/6039y-guide-repartitioning-internal-t3176061

---------- Post added at 07:48 PM ---------- Previous post was at 07:43 PM ----------

Don't click the link, copy it, the XDA app is weird lol
[Nexus 5 Q&A, Help & Troubleshooting] imatts:
I have an old Nexus 5 with a (supposed) fried eMMC chip (Nothing will flash, only bootloader functions). If I had a soldering gun and the extra $30 to spare, I guarantee I would do this. Hell, I would probably do this for all of my future devices. Buy the cheapest storage capacity, buy a monster eMMC chip, install it to the device, PROFIT. Gone would be the days of paying $100-200 for 128GB of storage.
[Nexus 5 Q&A, Help & Troubleshooting] mze1:
As you can see from the pictures he has quite a few spare parts already. He is gona make some extra cash from potential customers that want swap the emmc.
[Nexus 5 Q&A, Help & Troubleshooting] dean.lev:
I would so pay a store to do this. Would love to upgrade my Nexus 6P to 128GB of eMMC 5.1, from 32GB of eMMC 5.0. The part is only $66USD on AliExpress
[Nexus 5 Q&A, Help & Troubleshooting] Kanth's:
You are a genius
[Nexus 5 Q&A, Help & Troubleshooting] randomroh:
WOW,

I wish there was someone adventurous to do this on the Moto X 2nd generation. The thing is Crippled with 16GB memory, and poor battery.

Im willing to be more than adventurous, if someone promises a guide.
[Nexus 5 Q&A, Help & Troubleshooting] felchi80:
So there's no guide / Tutorial? :(
[Nexus 5 Q&A, Help & Troubleshooting] trogper:
Stupid question, but do you have the bootloader unlocked?
[Nexus 5 Q&A, Help & Troubleshooting] nameless--:
We need a way to mod the partitions layouts from the Primary GPT. I had a problem with my 32gb nexus 5 that, no matter what I tried, it just recognized 16Gb. The problem was solved when I flashed the correct GPT. There's no need to do a JTAG service. The snapdragon 800 has a type of bootloader mode, which the phone appears to be dead, but after you connect to the computer, holding volume down, if I remember, it appears on the device manager as a "serial port", and you can use a program called "boarddiag" to reflash all the partitions direct to a clean eMMC. So, with a GPT modded to the right storage, we can achieve our 128Gb 5.1 chip storage. Would be really nice if he could tell us how he edited the GPT to gain accsess to the 64Gb...
[Nexus 5 Q&A, Help & Troubleshooting] himu007:
Amazing job OP. Congratulations on your 64GB working Nexus 5! I'm tempted to do the same for my Nexus 5. It would be nice to have a tutorial on how to do it, please add one when you have the time.