[Android Apps and Games] stoyantenev97:
ATTENTION! Back up your original apk file BEFORE the mod as you WILL need it AFTER the mod is done..

Ok guys, so i decided to play NFS Most Wanted on my new device (LG L Fino) so i installed from market and started the app.. Ok BUT as many of you i was facing the "Not enough memory on device,clear up some memory to proceed" message. So i got angry and decided to see if there is a workaround of the problem. Well generally the problem itself is that my device (like many others) uses ONE memory chip which is split into TWO 2GB parts, the first is system only, and the second is user- accessible, BUT 1,2GB of that "user space" is flooded by system junk and bloatware etc etc.. So all you have left in the so-called Emulated SD is actually some 0.8 gigabyte which is not sufficient in any way, when you want to install NFS Nost Wanted, because when you start the app first time it asks you to download some 2055mb's game data and says you have 0mb free on device, when the actuall gamedata size is only 670mb.. So i found this workaround and i decided to share right away.. Enough talking - lets get to business:

Prerequisites:

ROOT IS A MUST HAVE FOR THIS JOB

Install RAR app from rarlabs (search on google play)

Install ES File Explorer

Install NFS Most Wanted from google play

Make sure of having at least 700mb free on internal mem.

Lets start.

First open ES File explorer and turn Root Explorer "on"

Then navigate to root/data/app and find a file named " com.ea.games.nfs13_na-1.apk "

Now COPY that file to the root of your ext SD (for the sakes of easy navigation)

Next click and hold on the file till you have it marked then from the popup menu (right lower corner) choose "Open as" (not extract) then choose "ES Archive manager" and once inside, navigate to /assets/downloadcontent .

There you will find a file named: "config.properties"

Copy that to the root of you ext SD and open it with text editor.

what you need is to find the two lines that read

TOTAL_SPACE_MB=2055

# TOTAL_SPACE_MB_MIN=440

and edit them to look like this:

TOTAL_SPACE_MB=0205

# TOTAL_SPACE_MB_MIN=044

Now close the file and save the changes.

Next open the RAR app and navigate to the root of your ext SD then click and hold the edited text file till a menu pops up, select "Copy to buffer"

Then click and hold at the apk file, select "Open as archive" (NOT EXTRACT!) and again navigate through assets/downloadcontent, then click and hold on a random file and from the popup menu select Paste, it should ask you if you want to overwrite, choose YES and close RAR.

Final step is to open ES File Explorer again, navigate to root of ext SD, COPY the now edited APK then navigate to root and /data/app and PASTE. Select YES to overwrite file.

Now click and hold the apk one last time, and from the popup menu (lower right corner) choose "Properties"

Right next to "Permissions" there should be a button named "Change" go ahead and push the button. Now you have to fix those permissions, you should see 9 checkboxes. CHECK the three ones that are underneath "Read" and check ONLY the topmost thats underneath "Write". ALL OTHER HAVE TO BE UNCHECKED!

it should now look like this:

.......................Read.........Write.........Execute

Owner:........(*)...............(*)...................( )

.

Group:.........(*)................( )...................( )

.

Others:........(*)................( )...................( )

Click Ok, close ES File explorer, run game, download 650mb gamedata and have fun :) (optional is when you download gamedata to use app like GL to SD)

if you mess up the process, start over-rinse-repeat

I hope i helped someone and if yes please feel free to hit thanks button ( no it doesn't bite) :)

Greetings from Bulgaria

Edit: I found out a bug and i don't know if it's only with my copy of the game after modding or if everyone of you who tried this has it. So...

THE BUG is that after i modified the already installed apk in order to download data, i happened to restart my device and when it booted it seemed like my copy of the game somehow "partially uninstalled" itself.. After a little digging i found out that it actually did uninstall itself, BUT only the apk - that meaning the data and savegame ARE still there..

THE SOLUTION is before doing the above mentioned walktrought you have to backup you Original apk first (using the backup app tool of ES File Explorer) and after that you have to reboot your device, install the original apk (it will tell you that this update has nothing new in it, thus not requiring any new permissions - install anyway) and you're good to go with a stable installed game..

BUG 2: after all done right, it happens that my copy of GL to SD app is not showing the most wanted in "linked apps" section and neither it is showing it in the "Move data" list.. Don't you worry, the game is still "in there" even when it does not show up on the lists, click the "mount" button and play as normal - it is working..

If there is some trouble i will be glad to help, just write a reply here and i will check my thread regularly.

Have a nice time guys... (Aaandd girls) :)