Android workaround for the NFS Most Wanted "not enough free space" problem - Android Apps and Games

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)

xD thanks a ton man, this helped me

Related

[Q] AndRootFile Noob

I am trying the get my Viewsonic G Tablet up and running.
As of now, I have it rooted. I'm using AndRootFile to TRY to move files to various System folders, to install them.
Problem 1)The files I need are in a Folder called G Tablet on my SDCard1 (internal storage, not actually an SD Card). Though AndRootFile sees every other file and folder in the SDCard folder, it doesn't see G Tablet. Every other file manager does, but AndRootFile doesn't. That is odd, of course.
Problem 2)This is where my noobism really comes out. Even though AnfRootFile claims to be a bit of a one stop shop file system explorer (allowing copying and moving of files), I do not no how to actually copy a file. I press and hold and get no pop-up menu. There is no "move," copy," or "edit" feature when hitting the menu tab. The small selection of features that pop up with the menu tab are unlabeled, but after trial and error to figure out what they actually do, not a single one actually allows any type of management of files or folders, except to make a folder R/W -- not that I can actually DO anything with that information since I cant move anything around.
HELP!!
Nevermind. I'm dumb.
I still do not know why it did see my G Tablet folder, but I made a new folder and copied the need file to it. As for the moving... I just missed that tool in the toolbar.
[A] Why AndRootFile can't see G Tablet folder
This got me stuck for a while too. It's the space in the folder name that's the problem.
Just rename the folder from "G Tablet" to "G-Tablet" and it will work just fine.
I have also been messing around with this program. I see how to change it to R/W, but I don't see a way to change it back to R/O. Is there a need to do this, or am I just missing something? Thanks for any help you can provide.
Not able to copy to system/app
I am trying to install g/Market, gmail and maps on my viewsonic gtablet by following this link
http://forum.xda-developers.com/showthread.php?t=827209
i installed the AndRootFile and trying to copy files from sdcard to system/etc/permission and system/app but it is not able to copy.
It shows the error that this is read only area and not able copy.
Please guide me how am i able to go ahead to fix it.
Thanks so much.

[Guide] Extracting .apk files from your Installed Apps

Ok, so the story behind this mini-tutorial is that I upgrade their phones periodically, as part of the upgrade process I have to wipe the phones and a nandroid backup doesn't always work.
Titanium Back Up is another option, But sometime i really would like to extract the .apk files from the Apps downloaded from Market.
Hence, I had to figure out a way to extract the .apk files from my phone so I could install them on theirs.
Here's how it's done:
There are two ways of extracting .apk files from your device:
Using a file manager like "EStrongs File Manager" or "ASTRO File Manger" (downloadable from the Market), or
Manually extracting .apk files through the Android SDK.
Method #1 - Using a file manager​Prerequisite: Rooted device
Using ES File Manager
1) Open ES File Manager
2) Click on the menu button of your device
3) Click on "Manager"
4) Click on "App Manager"
5) Long press on app you want to extract
6) Click on "backup"
7) Extracted .apk files will be placed on the "backups" directory of your sd card
Using ASTRO
1) Open ASTRO File Manager
2) Click on the menu button of your device
3) Click on "tools"
4) Click on "Application Manager/Backup"
5) Choose apps to backup and click on "backup" to finish
6) Extracted .apk files will be placed on the "backups" directory of your sd card
Method #2 - Using the Android SDK​
Prerequisites:
- Rooted phone
- Android SDK
- Android USB driver
To extract a .apk file from your device using the Android SDK:
1) Plug your “Rooted” Android device into your computer via the included USB cable.
2) From your adb command line (usually C:\android-sdk-windows\tools\) type “adb shell“ and press enter
3) Switch to root user, type “su“ and press enter
4) type “cd data/app“ and press enter
5) List all the installed apk files, type “ls“ and press enter (find the one you want to extract)
In another command window, pull one of the files on to your computer by typing:
“adb pull /data/app/application.apk name.apk” and press enter
Example:
“adb pull data/app/com.mauri.aplikeishon.apk aplikeishon.apk”
You can find the extracted .apk files in the /tools/ directory of your SDK (usually C:\android-sdk-windows\tools\)
Man the Sensation General forum is on fire with good post right now, this is the third one I have read in 45 minutes. I would have hit the thanks button but I am out of thanks right now. I just hope people do not use this for piracy.
That will be really useful for me, but wouldn't it be easier to use App2zip?
T-Macgnolia said:
Man the Sensation General forum is on fire with good post right now, this is the third one I have read in 45 minutes. I would have hit the thanks button but I am out of thanks right now. I just hope people do not use this for piracy.
Click to expand...
Click to collapse
Yeah hope so.. :angel: :angel:
ridder215215 said:
That will be really useful for me, but wouldn't it be easier to use App2zip?
Click to expand...
Click to collapse
Depends on ur choice and need boss..!! There are 100 ways to do a thing and i have mentioned three, and u mentioned 4th :victory:
This is my post!
This is MY POST! Some credit and a link to the original post would be the right thing to do. What a ****!
mauweb.net/3.0/en/technology/17-android/100-icon-androidextracting-apk-files-from-your-android .html
Super-Android said:
Ok, so the story behind this mini-tutorial is that I upgrade their phones periodically, as part of the upgrade process I have to wipe the phones and a nandroid backup doesn't always work.
Titanium Back Up is another option, But sometime i really would like to extract the .apk files from the Apps downloaded from Market.
Hence, I had to figure out a way to extract the .apk files from my phone so I could install them on theirs.
Here's how it's done:
There are two ways of extracting .apk files from your device:
Using a file manager like "EStrongs File Manager" or "ASTRO File Manger" (downloadable from the Market), or
Manually extracting .apk files through the Android SDK.
Method #1 - Using a file manager​Prerequisite: Rooted device
Using ES File Manager
1) Open ES File Manager
2) Click on the menu button of your device
3) Click on "Manager"
4) Click on "App Manager"
5) Long press on app you want to extract
6) Click on "backup"
7) Extracted .apk files will be placed on the "backups" directory of your sd card
Using ASTRO
1) Open ASTRO File Manager
2) Click on the menu button of your device
3) Click on "tools"
4) Click on "Application Manager/Backup"
5) Choose apps to backup and click on "backup" to finish
6) Extracted .apk files will be placed on the "backups" directory of your sd card
Method #2 - Using the Android SDK​
Prerequisites:
- Rooted phone
- Android SDK
- Android USB driver
To extract a .apk file from your device using the Android SDK:
1) Plug your “Rooted” Android device into your computer via the included USB cable.
2) From your adb command line (usually C:\android-sdk-windows\tools\) type “adb shell“ and press enter
3) Switch to root user, type “su“ and press enter
4) type “cd data/app“ and press enter
5) List all the installed apk files, type “ls“ and press enter (find the one you want to extract)
In another command window, pull one of the files on to your computer by typing:
“adb pull /data/app/application.apk name.apk” and press enter
Example:
“adb pull data/app/com.mauri.aplikeishon.apk aplikeishon.apk”
You can find the extracted .apk files in the /tools/ directory of your SDK (usually C:\android-sdk-windows\tools\)
Click to expand...
Click to collapse
maurinet said:
This is MY POST! Some credit and a link to the original post would be the right thing to do. What a ****!
mauweb.net/3.0/en/technology/17-android/100-icon-androidextracting-apk-files-from-your-android .html
Click to expand...
Click to collapse
thanks for informing this ..and it was reported
OP has been notified.
Cheers big-ears!
Easier Method
Why not just use a root file manager and navigate to the file and copy it?
root>data>app
- tom
or just use Titanium Backup... haha
Some backup apps like Android Assistant also allows to create .apk from installed apps
https://play.google.com/store/apps/...wxLDEsImNvbS5hZHZhbmNlZHByb2Nlc3NtYW5hZ2VyIl0.
tnx dude
it was helpful for unrooted phones.
"Share apps" also do this
Mobogenie
Well years have passed and android has now embarked on the L journey but I recently saw this post and remembered i too had the need to backup the apps on my phone so I used a function of the desktop version of the mobogenie software.:good:
You can use my this tool to extract apk file
https://play.google.com/store/apps/details?id=com.andatsoft.myapk.fwa
Its very light and fast.
How to extract apk files in Android
Here's how I extract apk files in android:
1. Download and install APK Extractor in your device. It is free, and is compatible in almost all of the Android devices. Another plus point is it does not even require root or anything to work.
2. After you have it installed, launch it. There you will see a list of apps which are in your device, which include the apps you’ve installed later, along with the system apps. Long press any app you want to extract (you can select multiple or all apps at once), and click on the extract option you see in the top. You will also have the option to share via Bluetooth or messaging.
3. You’re done, you will see the extracted apps as AppName_AppPackage_AppVersionName_AppVersionCode.apk, which will be saved in the path /sdcard/ExtractedApks/ by default.
Related Posts
Source: http://appslova.com/how-to-extract-apk-files-in-android/
:cyclops:

[Q] Atrix 2 Issue Enabling Hotspot and ICS Update

[QUOTE from Another Thread]
Using SQLite
1.open settings storage (com.motorola.android.providers.settings)
2.open settings.db
3.settings
4.search for dun_apn_changeable and dun_enable
5.Change both of their values to 1
---------------
I have an Atrix 2 running 2.3.6 rooted. (Rooted with SuperOneClick)
I want to enable the Wifi Hotspot feature, I have read several threads on this group, but I do not understand if I download SQlite on my pc and run it or my phone.
I downloaded the program on my phone, but when I open it all I get is a black screen with a box in the upper left corner with a magnifying glass in it, below that I see this "/data/data/com.xuecs.sqlitemanager/databases/defaultdb" The instructions I have read make absolutely no sense to me, the first step says "open settings storage" There is no way to open any thing as far as I can tell. I'm kind of lost here....Can someone help me out?
I want to update to ICS, I get an error, it downloads the file, resets the phone, when the android screen comes up the insallation bar goes about a third of the way then it stops and then it reboots, once its up and running it says "update failed" I have opened SuperOneClick and hit the unroot button, it says it was sucessful and it removes the Superuser app but the ICS OTA update still does not work. ANY SUGGESTIONS?
More detailed instructions for enabling wifi tether can be found at the following link, and I'm also pasting them here in full for anyone else curious. Note that this was the procedure for enabling everything on ICS. I'm not sure whether anything is different on Gingerbread.
http://forum.xda-developers.com/showpost.php?p=32347835&postcount=4
Things you will need:
ES File Explorer (free from play store)
aSQLiteManager (free from play store)
1. Launch ES File Explorer and within its settings, grant it full root permissions (near the bottom of settings, go in and check all four checkboxes).
2. From ES File Explorer navigate upward out of your SD card and onto the root of your device, then go into Data/Data/com.motorola.android.providers.settings/databases
3. Copy the "settings.db" file found there over to your SD card
4. Using aSQLiteManager select "Open Database" and pick that settings.db file on your SD card.
5. Select "settings" from the four tables you are presented with
6. Select "Data" from the top button menu
7. You'll see a long list of crap. Hit PgDn until you see line 113 "entitlement_check". Hit Edit and change the value from 1 to 0.
8. While you're here, also go to lines 117 and 118 that start with "dun" and change them both from 0 to 1. This is not necessary for Webtop but will enable wifi hotspot tethering.
9. Exit aSQLiteManager, go back into ES File Explorer and this time copy the modified "settings.db" back into the previous/original folder from Step 2, overwriting the old file.
10. Exit ES File Explorer, reboot your device and Webtop should work as expected.
paleozord said:
More detailed instructions for enabling wifi tether can be found at the following link, and I'm also pasting them here in full for anyone else curious. Note that this was the procedure for enabling everything on ICS. I'm not sure whether anything is different on Gingerbread.
http://forum.xda-developers.com/showpost.php?p=32347835&postcount=4
Things you will need:
ES File Explorer (free from play store)
aSQLiteManager (free from play store)
1. Launch ES File Explorer and within its settings, grant it full root permissions (near the bottom of settings, go in and check all four checkboxes).
2. From ES File Explorer navigate upward out of your SD card and onto the root of your device, then go into Data/Data/com.motorola.android.providers.settings/databases
3. Copy the "settings.db" file found there over to your SD card
4. Using aSQLiteManager select "Open Database" and pick that settings.db file on your SD card.
5. Select "settings" from the four tables you are presented with
6. Select "Data" from the top button menu
7. You'll see a long list of crap. Hit PgDn until you see line 113 "entitlement_check". Hit Edit and change the value from 1 to 0.
8. While you're here, also go to lines 117 and 118 that start with "dun" and change them both from 0 to 1. This is not necessary for Webtop but will enable wifi hotspot tethering.
9. Exit aSQLiteManager, go back into ES File Explorer and this time copy the modified "settings.db" back into the previous/original folder from Step 2, overwriting the old file.
10. Exit ES File Explorer, reboot your device and Webtop should work as expected.
Click to expand...
Click to collapse
I figured out what I was doing wrong, I didnt have the File Explorer at first..lol Once I did take care of things and rebooted the phone I kept getting errors that said "The process com.motorola.service.main has stopped unexpectedly" I hit force close and cancel both but the error would keep popping up at random times, plus other errors would pop up random apps running in the background would stop unexpectedly. Then the power button would not lock the screen anymore....The tethering worked though! I ended up doing a factory reset because the errors popped up so often the phone was useless.
I did not touch anything else but Line 150 which was the Entitlement Check line so I have no idea what went wrong.
One other thing, I would like to uprgade to ICS but since my phone is rooted I can't do it OTA, is there a way to manually do it? I remember when I upgraded to 2.3.6 I just put a file on the SD card and installed it, can I do that with ICS 4.0?

[Script] Make Play Music Cache to External SD

Many of you have probably moved on to some variant of Jellybean and have maybe found other ways to do this (I in fact was on CM10 and had swapped internal and external cards--bad battery life brought me back to a stock based ROM) but I have struggled to find a good way on stock based ROMs to get Google Play music to cache to the external card. There were several suggestions, but none seemed to work for me. For those who might still be interested I found this thread by DeathmonkeyGTX which was based on this thread by Skittles. Took a few attempts and an edited script but I managed to make it work! I would assume this will work on any rooted ICS stock ROM, but was tested on Tweaked 2.2.
I have attached the edited script file that worked for me. And here are the copied instructions:
Prerequisites: Rooted phone; copy the .txt attached to this post to the root of the internal NAND flash, i.e. /sdcard/. Then make a folder in the root of your external_sd called "MusicCache." without the quotes or period.
1. Using whatever task manager you have or just go into settings->apps->running, close google play music.
2. Open your file manager and browse to /sdcard/Android/data/com.google.android.music/cache and delete all of the files found in music dir and artwork dir in this directory. This is very important step. If you do not delete your cache then your files will take up space but will no longer be available after this process.
3. Go to the google play store and install script manager - Smanager. Open smanager, and on first open you should see an option to select root, check that option and click ok and make sure to grant root to the app when the su dialog appears.
4. In Smanager browse to the root of your sdcard and click on and hold the "MusicScript.txt" to open a options dialog. Select "open as" and then select "Script/Executable".
Then Select "Su" and "Boot" and hit save.
5.. Go to settings app->apps->google play music-> and hit clear data.
6. Reboot your phone.
To verify this worked I checked the external_sd card after syncing an album to my phone. It was an album I was previously warned I didn't have enough space to save all of the songs.
Hello there I noticed that you found a way to save your music from the Play service to the external sd card. I followed all your steps and it is still not working, the music is saving in the default location. I have the Samsung Galaxy Blaze 4G, running the official CM10, stable version.
Good, but you misspelled sdcard in the script!
How glad am I to have found this old thread!
I have a Galaxy S2 LTE running stock 4.1.2, on which it's of course not possible to create links between the internal "USB" storage (where my Play Music files were stored) and the external SD.
And this solution worked! So thanks a bunch rbeier1221! Thanks to the OP's of the linked threads as well, but yours is the one that popped up in my Google search, and the guide I followed, so you get the thank you-post.
Though I did skip the steps to download the attached script and install Scriptmanager. And if anyone else should manage to google their way to this thread, and just happens to have ROM Toolbox on their phone, you can just type in the mount command along with your file paths in the Scripter utility (or import an existing script I'm guessing would work just as well).

[Guide] How to fix "Out Of Space" Problem while installing app

Sometimes when you have free space available in your rooted android phone and you try to install any app and it displays like the pic shown below even if you have space available in your sdcard.
Today i am going to tell you how to fix this problem,,,,,
So let's start,,,,
Open rooted explorer of your phone then goto root and open data/app folder,,,,,
Now its time for searching search the keyword .odex
You will get some odex file relating to either the name of your app (the app which on installing shows out of space) or its package name,,,,,
Now select the odex file and delete it,,,,,
Reboot the phone and your problem will get solved,,,,
Now you can freely install that app,,,,
If I helped you then don't forget to hit the thanks button

Categories

Resources