[Q] Installing .apk in CM7 on SGS2 - General Questions and Answers

Ok, so I have spent the last week searching for an answer to this problem, and I'm hoping someone will be able to help me out and others who may have similar problems.
With a rooted SGS2 and stable CM7 rom, I wanted to install the stock messaging app as I liked the "bubble" GUI better. Further, I found a copy of a camera app with higher bitrates/other improvements that I wanted to install as well. but every time I install them, I get "application not installed" with a check mark.
My method was:
Checked to install apps from unknown sources
Uninstalling old app (after backup)
Copying new apps to system/app to replace
Using root explorer in r/w to install them (didnt work)
So then tried:
Signing the apps using Signaptik/Zipsigner
Changing permissions to same as stock apps
It seems nothing that I try to install in system/app will install. Actually, any of these apps, no matter their location, will not install. Why is this? I'd really like the better camera app and my old mms.apk back!
Cheers!
------EDIT------
The camera.apk I want to install was built for SGS2, the mms.apk I wanted to install is stock from sgs2

Enable non-market apk installation.
Go to Settings – Applications – tick the “Unknown Sources” checkbox at the very top. Accept the warning which pops up by tapping on OK.
If you downloaded the file on PC, transfer it to phone.(sd card)
Open the file explorer (if you don’t have one, download any file manager from the android market) and browse to the location where you’d transferred the file.
Tap on the file to install it.

They won't install because they have dependency on a framework or application that does not exist in CM7.
Try installing them with ADB
adb install <apkname>
It will give you the full error message.

Related

BlueStacks android on windows out now !!

Alpha out today
http://bluestacks.com/download.html
You can install any apk from your phone to the bluestack windows client really cool but some can't (I guess for security reasons) anyone has been able to install a terminal successfully ?!
If someone is interested https://www.facebook.com/groups/185729648172160/
Thanks, I was going to post it too.
I am curious to try it and see how it works..
Been workin on this, GingerBreak failed (not surprising), seems to be no way to "reboot" bluestacks (tried QuickBoot, ButtonSavior, etc.). Anyone managed to find out where BS is mounting the android system, and if there's any way to decompile it?
Buttons are pretty easy to skin =)
http://forum.xda-developers.com/showpost.php?p=18333866&postcount=5
It likely cant be rooted without rebuilding the image, which might mean a bluestacks specific rooter. The image the fs is stored on is a read only fs type
Market !
Hi, I was able to run market (and other G-apps) on Bluestack.
Root is not necessary.
Extract and install the files in this order (click on .apk file -> "open as" -> choose HD-ApkHandler.exe from bluestack installation dir. to install):
GoogleServicesFramework.apk
OneTimeInitializer.apk
SetupWizard.apk
Talk.apk
Vending.apk
Gmail.apk
Maps.apk
Using an home replacement setup your account and.. you are in!
Saluti
Gmail will not sync, Market throws network error when clicking on an app... still, good find, we're makin progress on day 1 =)
Nvm, got gmail/sync working... still network errors with Market
oneshotblu said:
Hi, I was able to run market (and other G-apps) on Bluestack.
Root is not necessary.
Extract and install the files in this order (click on .apk file -> "open as" -> choose HD-ApkHandler.exe from bluestack installation dir. to install):
GoogleServicesFramework.apk
OneTimeInitializer.apk
SetupWizard.apk
Talk.apk
Vending.apk
Gmail.apk
Maps.apk
Using an home replacement setup your account and.. you are in!
Saluti
Click to expand...
Click to collapse
Old market 1.82 vs 3.2 but nice anyway
Things that needs that emulator are:
1.ROOT!
2.A home button that leads you to your launcher's homescreen
3.Windowed mode
It will be perfect for all netbooks.
Been using ButtonSavior for the home button
I have gotten the market to install and open but when I select an app to install it, an error pops up "A server error has occurred. Retry or Cancel to return to the previous screen" Any Ideas?
torturedsoul802 said:
Been using ButtonSavior for the home button
Click to expand...
Click to collapse
I thought ButtonSavior required root? How are you using it?
Location?
I opened the maps app and it lists "my location" as Lewistown, PA
I'd like to know why. It can't go off wifi or GPS. How is it getting this info. It's not exactly correct, but it's an hour away, so maybe there is something to it. It could be hardcoded, is this where the dev is from? Anyone else have lewistown?
seivad17 said:
I thought ButtonSavior required root? How are you using it?
Click to expand...
Click to collapse
Not for the home button, power still not functioning at all
I can't seem to get any apps to install whether it's sync (which doesn't seem to work right) or right clicking on an .apk file.
This has a lot of potential, I just wish I could get it to work right. Maybe I'll reinstall it and try again.
demolition23 said:
Things that needs that emulator are:
3.Windowed mode
Click to expand...
Click to collapse
it can, but need to edit regitry, so do at your own risk.
HKEY_LOCAL_MACHINE\SOFTWARE\BlueStacks\Guests\Android\FrameBuffer\0
inside change FullScreen to 0 (default is 2)
then change width and height(decimal or hex), then restart computer
Restart is not required, you can do on the fly resizing, just need to close the agent and restart
1. I installed ADW launcher EX
2. Got Market to work, thanks to following post
http:// forum.xda-developers.com/
show...28&postcount =7
The apps can be downloaded. It gives error everytime, but press RETRY a couple of times and you will be able to install the app.
I downloaded the Dropbox and installed many apps from there.
The apps which are not supported in the above MARKET (its old version of market), failed to open (like Glow Hockey Pro failed but Air Hockey was
installed successfully).
Apparently this device is HTC MAGIC or HERO. The android vrsion running is 2.3.4 but all the wallpapers are from 1.5. It doesnt support Flash, and doesnt allow
advanced apps to run.
Also I tried to update MARKET but it failed to install.
3. I entered Android Initial Setup mode, finger pressed the Android logo but it didnt go further.
Sent from my Dream/Sapphire using xda premium
I loveeeee it

Instaling market and gapps on stock 5699

I've been using the new stock tnt 5699 for 3 days now, it seems to be far more stable and fast than previous versions, flash plays well on almost all the web pages I've tested, it only needs market and google applications to turn it into a really useful rom. So these are the modifications to "The Viewsonic G Tablet Super Thread (w/Market, Gmail, and Maps!)" to have it up and runnig:
1. Download and install z4root
2. Run z4root and choose "permanently root" to root your gtablet
3. Download and install rootexplorer
3. Run root explorer and Mount "/system" as R/w
4. Download and unzip gtablet ( http://forum.xda-developers.com attachment.php?attachmentid=432583&d=1288749538) into your sdcard
5. Copy the contents of G Tablet\permissions to System\etc\permissions
6. Copy the contents of G Tablet\lib to System\lib
7. Copy the contents o G Tablet\APP into your system\app folder
8. Install them in this order:
GoogleServicesFramework.apk
OneTimeInitializer.apk
Talk.apk
Vending.apk
Gmail.apk
Maps.apk
9. Make sure you remount "/system" as R/O when you're done!
10. Restart your G, Connect to Wifi
11. Open rootexplorer and Mount "/system" as R/W
12. In rootexplorer long press in "/system/build.prop" and choose "open in text editor"
13. Where it says "ro.product.device=harmony" change it to: "ro.product.device=olympus"
14. Press menu button and select save and exit.
15. Perform the following steps:
Go into Settings.
Go into Applications.
Select Manage Aplications (all).
Select Market.
Select Clear Cache.
Select Force Stop.
Hit back button once.
Select Services Framework.
Select Clear Data.
Select Force Stop.
Back to home screen.
16. Open market (you should get an error message)
17. Reboot gtab.
18. Let it sort things out on its own. Go into Market.
19. Enjoy Market.
The only thing not working is the google calendar
Hope this is useful
Thanks this is extremely helpful. What are the three copied folders Permission/Lib/App needed for?
Also, are you getting any force closes with any of the apps after installing the market?
Android Market without rooting?
Is it possible to install the Android Market without rooting? Or un-root after installing the Market?
The reason I ask is movie rentals from the Android Market. Movies won't play on rooted devices. Just wishing there were some way of getting movies rentals to work.
digitalcoup said:
Is it possible to install the Android Market without rooting? Or un-root after installing the Market?
The reason I ask is movie rentals from the Android Market. Movies won't play on rooted devices. Just wishing there were some way of getting movies rentals to work.
Click to expand...
Click to collapse
I haven't tried it on the Gtab, but I'd look at Voodoo OTA Rootkeeper (https://market.android.com/details?id=org.projectvoodoo.otarootkeeper). It allows you to unroot/root if you're already rooted. It was developed for the Kindle Fire to re-root after OTA updates, but it also works to backup and unroot for apps that don't like root. I've used it on a couple of non-Kindle devices and it works great.
I was successfully able to run this:
- with temporary root
- using free es file explorer
The changes I did were:
2) instead of Permanent Root, I chose Temporary root. I needed to enable USB debugging first, but temporary root worked.
3) Instead of root explorer I used ES file Explorer. The Viewsonic-installed 1.x version did not work. I downloaded a newer version 1.6.1 from estrongs.com
Also, it took a few tries for market to show up under "system applications" in tap&tap's settings screen. I didn't have an "applications (all)", it may have been a root explorer thing.
I'm waiting for Market to self update like help says it will. This old version did FC on me once.
You don't even need root to install the Market on stock!
Sent from my X8 using xda premium
Have u tried this on an unrooted gtab? If so are the steps the same without the need to rw
Sent from my Galaxy Nexus using XDA App
Wait a sec, does system even need rw? Without root it cant be changed to rw.
Sent from my Galaxy Nexus using XDA App
I have a question about step 3. How do you download root explorer when you don't yet have access to the Market?
[Edit] Never mind. I found an alternative method of getting gapps on to my Gtablet. It is an update file that automated the gapps install. Do a web search for "Gtablet Back to Stock w/ a few modifications" and you will find it. It is a February 22, 2012 entry of a blog entitled "Salvatore's Place"
I did the above and every thing works perfect except that I have the old market and its not updating. any help on that?
junooni said:
I did the above and every thing works perfect except that I have the old market and its not updating. any help on that?
Click to expand...
Click to collapse
I wrote a program called OogleVox, which installs the Play Store on rooted devices. It is a little more comprehensive than these instructions and other than modifying the build.prop it sets everything up. Does anyone want to try it out? http://goo.im/devs/danifunker/OogleVox
Please post your results.
Sent from my XT860 running ICS
danifunker said:
I wrote a program called OogleVox, which installs the Play Store on rooted devices. It is a little more comprehensive than these instructions and other than modifying the build.prop it sets everything up. Does anyone want to try it out? http://goo.im/devs/danifunker/OogleVox
Please post your results.
Sent from my XT860 running ICS
Click to expand...
Click to collapse
Okay, so I have TNT Lite 4.20 installed. Will your prog install the Play Store on my tablet? Do I install it like any other .apk?
.
.
Some apps in zip won't install
Everything worked fine until I tried to install googleservicesframework.apk. Goes thru process then says App not installed. Help!

accidentialy deleted market

I accidentally deleted the android market app.
First the app flashes on and off, so I try to delete the whole thing, but now I can't install it back. I tried different vending.apk, I got the install progress bar, but at the end I got the error that the app isn't installed.
I also find it strange that (before i install the .apk) i got the notice that this .apk will change the current installed app. It's quite strange because in the app list I can't find the market app.
Can anyone help me with this?
I got sony ericsson Xperia X10 mini, rooted, version 2.1.
Using root explorer/es file explorer go into root directory system/apps and see if the market.apk is located there , try deleting it if present and restart the phone.Then install the vending apk and hopefully it should be a fresh install and not over writing the previous market installed.Hope this helps.

[Q] Application not installed

I would like to update an apk, (not through market), but the file manger returned a message said the Application is not installed. If I delete the apk, then I can install it, but all the related data are gone. I would like to ask is there any way to resolve this problem next time I update an apk?

Question Install apk from local storage

Hey guy's, I hope somebody can help me out here. I can't find any explanation on internet. I want to install an apk from the local storage on my Rog phone 5 ( android 12,un rooted) .
In the old days it was pretty simple, just a slide to activate the "allow unknown sources", click on the apk file and it would install. Now on the rog phone 5 in the apps&notifications, special app-acces, install unknown apps it only shows a few apps that I can give permissions to install from unknown sources. Like Chrome, file manager, gmail, brave browser etc. ( see picture). So I give the file manager or brave the permission,restart the phone, go to the apk in the file manager but it won't install.
It will just show the contents of the apk. If I select the apk I can remove it, rename it, compress it, anything but install it.
I can choose open with brave but still nothing happens. I tried downloading an app in the playstore to install apk files but it won't even list the apk file. I have no clue why they made something that used to be so easy so complicated. So I hope somebody can enlighten me how to install an apk on this phone. Thanks in advance!
Have you enabled install unknown apps in developers options ? Special app access allows you to allow/not allow individual apps to install unknown apk files. I think you have to enable it in developer options for the native installer first. I may be wrong but it's worth checking.
I'll go check if the option is there and let you know. Tnx man.
The only thing I found was " force app allowance on external drive" and but it changed nothing.
Piriroekoe said:
The only thing I found was " force app allowance on external drive" and but it changed nothing.
Click to expand...
Click to collapse
you could try
Code:
adb shell settings put secure install_non_market_apps 1
adb shell settings put secure unknown_sources_default_reversed 1
that would be from terminal on pc or you could install settings database editor from play store and grant it permissions via adb and you will have gui to change system settings
Could you please walk me through how to do this? Tnx.
Piriroekoe said:
Could you please walk me through how to do this? Tnx.
Click to expand...
Click to collapse
Ok, first I guess I need to ask some questions. Have you tried a different file manager, installed thru play store ? How many .apk files have you tried to install ? If it is just the one app that you have in storage it may be corrupt. Have you tried a fresh copy of it ? Is it an old app and is it compatible with your Android version ?
I don't know what I was thinking, that isn't in developer options anyway, it's in security. It would seem odd for them to remove the ability to install personal apk.

Categories

Resources