[Q] Clarification on apk files please - Droid Eris Q&A, Help & Troubleshooting

Is there a difference between apk files downloaded as an installer file and the apk files i find in my system/app folder?
The reason I ask is this:
I have both wired and wireless tether on "ROM a" and not wired tether on "ROM b". I want to copy the apk for wired tether out of my system/app folder in "a" onto my sd card so that I can install it on "b". Hopefully I could then flash "ROM b"(that doesn't already have the app) and navigate to the sd card with root explorer and click the apk, and have it install the app.
Should work right?
Or are there different kinds of apk files, ones that contain an installer and ones that just act as an application?
Thanks!

I believe that you could store the apk on the SD card, wipe and flash the new Rom, and then yes, use root explorer (be sure to remember and set correct permissions, have root explorer in r/w mode, and place the file back in system/apps) and then reboot. SHOULD work, but as always I'd suggest doing a NAND backup first, in case this doesn't work. If it doesn't, try using adb to push the file to system/apps.
Sent from my Eris Lightning 3.02

Related

[Q] XTRSense 5.01 Questions

This is a question for Zach, but as a new user I did not have access to his thread. First, congratulations on developing a great ROM. You do great work, I love XTRSense 5.01. However, I have come across two small glitches, both related to your GScript app.
After running the Apps2SD script, all of the other scripts disappear. There is a note to find them on the SD card, but I haven't been able to find any scripts there. I specifically want to install the battery life script. Is there a way to recover access to the scripts?
Second, I accidentally ran the script that deleted HTC Teeter. Is there any way to get it back short of reinstalling the ROM?
Thanks in advance ...
TexasBadger said:
This is a question for Zach, but as a new user I did not have access to his thread. First, congratulations on developing a great ROM. You do great work, I love XTRSense 5.01. However, I have come across two small glitches, both related to your GScript app.
After running the Apps2SD script, all of the other scripts disappear. There is a note to find them on the SD card, but I haven't been able to find any scripts there. I specifically want to install the battery life script. Is there a way to recover access to the scripts?
Second, I accidentally ran the script that deleted HTC Teeter. Is there any way to get it back short of reinstalling the ROM?
Thanks in advance ...
Click to expand...
Click to collapse
Hi! Just to note, I'm not currently running xtrSENSE or xtrROM, but I have quite a lot in the past and probably will again someday, so I thought I'd answer what I can.
1. I don't know what's going on with scripts disappearing, are you sure you actually added them to GScript's list of available scripts? When you load GScript, initially it's blank, and you have to tell it to load each script individually. Make sure the checkbox for run as root is checked for each one. Then the first time you run one from the main GScript screen, it'll prompt you for SU access. Sorry if I'm including info you already know, just making this answer friendly for anyone who happens to find this thread. There should be a folder called gscript on the SD card.
Note: Different folder listing programs list files and folders in different sorting orders. Linux is case sensitive so you can have both a folder named gscripts and one called GScripts (only the first should exist, I'm just using it as example). What I'm getting at is that some programs list all the files and folders with starting with the lower-case letters first, and then the upper-case ones after, so if you look for the folder gscript, make sure and search everywhere in the listing.
Also, if you must, you can open the ROM zip file on your computer and look in the sdcard folder in it and you'll see the gscript folder there with all the scripts inside. Just copy the gscript folder to your SD card if they got deleted somehow.
2. Same as the last suggestion, you can open the ROM zip file on your computer and in the system\app folder there you'll find "teeter.apk". You can use Root Explorer off the Android Market to put that back in system\app, or you could just install it from your file manager (Astro, File Manager...) for it to reside in normal user memory.
Partial Success
"Also, if you must, you can open the ROM zip file on your computer and look in the sdcard folder in it and you'll see the gscript folder there with all the scripts inside. Just copy the gscript folder to your SD card if they got deleted somehow."
This worked perfectly. The GScript folder on the SD card was empty. Not anymore, and the scripts work fine.
"Same as the last suggestion, you can open the ROM zip file on your computer and in the system\app folder there you'll find "teeter.apk". You can use Root Explorer off the Android Market to put that back in system\app, or you could just install it from your file manager (Astro, File Manager...) for it to reside in normal user memory."
I put teeter.apk on the SD card, but my attempts to intall it with ES File Manager failed. Maybe related to Apps2SD?
TexasBadger said:
"Also, if you must, you can open the ROM zip file on your computer and look in the sdcard folder in it and you'll see the gscript folder there with all the scripts inside. Just copy the gscript folder to your SD card if they got deleted somehow."
This worked perfectly. The GScript folder on the SD card was empty. Not anymore, and the scripts work fine.
"Same as the last suggestion, you can open the ROM zip file on your computer and in the system\app folder there you'll find "teeter.apk". You can use Root Explorer off the Android Market to put that back in system\app, or you could just install it from your file manager (Astro, File Manager...) for it to reside in normal user memory."
I put teeter.apk on the SD card, but my attempts to intall it with ES File Manager failed. Maybe related to Apps2SD?
Click to expand...
Click to collapse
You don't want it on the SD card. You need to navigate to /system/app in internal storage on the ROM. Apps2sd moves third party apps that you install from the market to the SD card, but does not move the internal apps in /system/app.
You may need to restart after you pop that .apk back in /system/app to get it back in your app drawer.

Side Loading question...

I am trying to sideload titanium backup to my g tab. I am running vegan 5.1.1. I downloaded titanium backup to my computer and it is a zipped file. I then copied it over to my g tablet. How ever when I open it with es file explorer it doesn't ask to install it, it just opens it up and lists the folders and files in it. How do I install it.
outdooz said:
I am trying to sideload titanium backup to my g tab. I am running vegan 5.1.1. I downloaded titanium backup to my computer and it is a zipped file. I then copied it over to my g tablet. How ever when I open it with es file explorer it doesn't ask to install it, it just opens it up and lists the folders and files in it. How do I install it.
Click to expand...
Click to collapse
This will not install.. You will need to unzip it first and then extract the .apk file out of it and then either move it over or copy it to the SD card or usb stick and attach it. Once detected in the Gtab you will have the option to install the app.
Let us know how u make out.
Did you create an "update zip" using titanium backup? If so you need to boot into recovery and flash it like a rom
Probably named wrong by the computer
Your computer probably changed the extention from .apk to .zip during the download. Change it back either on the computer or GTab itself and try to install it again.
michaeljwestii said:
Your computer probably changed the extention from .apk to .zip during the download. Change it back either on the computer or GTab itself and try to install it again.
Click to expand...
Click to collapse
+1
I've seen this lots of times where some browsers like to rename .apk files to .zip. Just rename it and then open it.

[Q] Install apk from /system/app

How do i install apk as system apk?
I tried to paste the apk's with root explorer to /system/apps and grant permissions of "rw-r--r--" and reboot
but its still don't work..
Is there another way?
You just need to paste the .apk in the External SD card/Internal storage and Install from there. Simple. No need for Root Explorer for that.
Regards.
Alternatively, I usually just email the apk and then open it on the phone. It gives a direct install button option in the email itself, downloads and installs like any other app from the market.
I just installed Cognition S2 1.42 and it removed some of the system app like Social Hub and AccuWeather widget, so i would like to install them again.
In Cognition thread said for installing the removed apps you need to transfer them to "/system/apps".
I tried that but it didn't work, after web searching I found that I need to change the permissions to "rw-r--r--", I tried that ether and it didn't work.
So is there other way to do it?
Thanks for replying

[Q] Can't install SystemApp APK (Galaxy Ace - Miracle v4 ROM)

I've installed the CyanogenMod 7.2 RC1 by vo-1 MIRACLE Edition V4 ROM
but I'm unable to install any additional system apps (e.g. sms/mms, camera).
The thread says, I have to use CWM. But when using the CWM App to install any APK, after confirming, I only get, that the APK wasn't installed.
I also used a few apk installers and tried to install with a root filebrowser. Doesn't work either.
The allowing-non-market-apps option is enabled.
What do I have to do? Clearing any caches with CWM?
Found it!
TUTORIAL 5: Recover System Apps than have been removed from V3
-- Place your desired app or apps on your sd-card
-- Use Root Explorer and copy them
-- Go to system\app and press the Mount R/W button on right top
-- Paste the app or apps you have selected
-- Long press what have you just pasted and set permissions to rw-r--r-- for each app
-- Reboot phone
Click to expand...
Click to collapse
Simplified solution
darealfalex said:
I've installed the CyanogenMod 7.2 RC1 by vo-1 MIRACLE Edition V4 ROM
but I'm unable to install any additional system apps (e.g. sms/mms, camera).
The thread says, I have to use CWM. But when using the CWM App to install any APK, after confirming, I only get, that the APK wasn't installed.
I also used a few apk installers and tried to install with a root filebrowser. Doesn't work either.
The allowing-non-market-apps option is enabled.
What do I have to do? Clearing any caches with CWM?
Found it!
Click to expand...
Click to collapse
I would make it simple for u..
1) Simply flash the ROM as said in the thread from where u downloaded
2) Download those additional zip files he attached (system apps) at the bottom of his post
3) Download & install ES file explorer on ur phone (in its settings customize it to allow it to make changes to root directory and enable up-to-root directory etc. and grant it superuser access when it asks)
4) Now extract whatever system app u require from that zip file (say mms.apk) on ur SD card
5) Now go to /system/app and paste this file over there
I recommended u for ES file explorer so that u wont have to change any permission at all..just copy & paste
NOTE: First move the original file u will be replacing in /system/app to some other place to avoid any future problem
-----------------------------------
Hit THANKS if i helped
ZoDNet said:
I would make it simple for u..
1) Simply flash the ROM as said in the thread from where u downloaded
2) Download those additional zip files he attached (system apps) at the bottom of his post
3) Download & install ES file explorer on ur phone (in its settings customize it to allow it to make changes to root directory and enable up-to-root directory etc. and grant it superuser access when it asks)
4) Now extract whatever system app u require from that zip file (say mms.apk) on ur SD card
5) Now go to /system/app and paste this file over there
I recommended u for ES file explorer so that u wont have to change any permission at all..just copy & paste
NOTE: First move the original file u will be replacing in /system/app to some other place to avoid any future problem
-----------------------------------
Hit THANKS if i helped
Click to expand...
Click to collapse
solved thanks a ton

[Q] looking for the apk files that was downloaded from playstore

Hi
I'm getting the new s 3 and I want to install all the same software I currently have on my s 2. Some of the software is no longer available in the play store so I'm trying to find out where the apk files that you download from the play store are downloaded to. So does anybody know the file path... Oh i'm running OS 4 ice cream
If you phone is rooted then you can go into root\data\app and find the apks. And again, if you're rooted then a better way is to just use Titanium Backup. If not rooted then redownload the apps.
Play store will display all the apps you have downloaded, if u r going to use the same Google id. This has helped a lot while changing roms.
Go backup is available in the market, it doesn't require root for backing up apks.
I can't see them in this directory
ninjasstolemytv said:
If you phone is rooted then you can go into root\data\app and find the apks. And again, if you're rooted then a better way is to just use Titanium Backup. If not rooted then redownload the apps.
Click to expand...
Click to collapse
I can't see them in this directory
tommyga said:
I can't see them in this directory
Click to expand...
Click to collapse
The folder is actually /data/app. Not root/data/app.
And if you don't have root, I don't think you'll be able to see anything in the folder. (or in the data folder at all, for that matter)
Under /data/app you'll find a few hundred folders, one for each app you have installed. They also may have been moved to the external sdcard if you chose to do so.
The best option, IMO, to have the APK files readily available is to install ES Explorer (free, available at the Play Store), and use to backup all the applications to the external sdcard. This way you can simply get all the ready-to-be-installed APK files from a single location, instead of having to iterate through each of the directories in /data/app (which is a PITA).
I use ES Explorer not only to backup all the APKs to a single location, but also to backup different versions of the same app, because ES Explorer suffixes the name of the APK with its version number.
A lot easier and quite more practical.
BTW, you don't need root to use that feature of ES Explorer.
Simonetti2011 said:
Under /data/app you'll find a few hundred folders, one for each app you have installed. They also may have been moved to the external sdcard if you chose to do so.
Click to expand...
Click to collapse
There shouldn't be any folders in /data/app
pspec1 said:
Hi
I'm getting the new s 3 and I want to install all the same software I currently have on my s 2. Some of the software is no longer available in the play store so I'm trying to find out where the apk files that you download from the play store are downloaded to. So does anybody know the file path... Oh i'm running OS 4 ice cream
Click to expand...
Click to collapse
Try this: Install "Wondershare MobileGo" to PC,after you have installed, connect your SGS2 with WiFi or USB cable to PC and export app. to PC. Then Connect SGS3 with WiFi or USB cable to PC and install the same app from PC to your phone...It is easy to do...
Simonetti2011 said:
Under /data/app you'll find a few hundred folders, one for each app you have installed. They also may have been moved to the external sdcard if you chose to do so.
The best option, IMO, to have the APK files readily available is to install ES Explorer (free, available at the Play Store), and use to backup all the applications to the external sdcard. This way you can simply get all the ready-to-be-installed APK files from a single location, instead of having to iterate through each of the directories in /data/app (which is a PITA).
I use ES Explorer not only to backup all the APKs to a single location, but also to backup different versions of the same app, because ES Explorer suffixes the name of the APK with its version number.
A lot easier and quite more practical.
BTW, you don't need root to use that feature of ES Explorer.
Click to expand...
Click to collapse
Thanks for all the different methods I ended up use the explorer one.
Didn’t use ES Explorer as I had astro already installed so I used that.
One more function I didn’t know it had
Thanks again

Categories

Resources