When I install Google Voice and go to setup it force closes immediately after clicking next. Any ideas?
Sent from my HTC Glacier using XDA App
Have you tried to fix permissions?
Sent from my HTC Glacier using XDA App
What permissions?
Sent from my HTC Glacier using XDA App
If you're rooted, you should already have ROM manager installed. Open it and select fix permissions from the main screen, under the utilities section. It takes a little bit to complete, depending on how much you have installed on your phone.
If you don't have ROM manager installed, look for it in the Android market.
Apps have permissions associated with them, seen when you install them. The AndroidManifest.xml file contains this info. if the manifest loses association with the APK, the apk will not be granted access to any part of the device by default. By fixing permissions, the association is re-established and the apk can access the parts of the phone it needs in order to run properly. The permissions normally are granted to the APK during install by the Package Installer. The reason most people are seeing force closes after switching/updating ROMs is because the APK is already installed, but the permissions are not in the manifest. Running "fix permissions" performs a batch operation that adds the necessary info into the manifest for all the installed APKs.
Sent from my HTC Glacier using XDA App
Related
Mine keeps saying installation unsuccessful, anyone else? I'm on MIUI
Sent from my PC36100 using XDA App
Try to unmount the sd then download and install, it worked for me when angry birds didn't install.
Package file not signed correctly when I did that
Sent from my PC36100 using XDA App
Same problem.
Mines updated... but I just realized none of my downloads are showing up in the market.
I found that edited apks (themed or otherwise) cause updates to not install correctly. Have you tried uninstalling gmail altogether and then reinstalling?
try using rom manager's file permissions fix that helped me with some apps that were failing upgrades. (assuming your rooted of course)
also... try using root explorer, navigate to system/app change to r/w permissions.
delete the gmail.apk, reboot to recovery and wipe dalvik. Reboot and re download from market. Hope this helps
Does anyone have a working example of signing a system app like Phone.apk? I've found 2 certificates on my GT, one from Samsung and one from VZW, but neither seem to work. When I try to install the app, I receive a certificate invalid error -- invalid CERT.SF. Does anyone know exactly which certificate to use to sign system apps?
Thanks
Sent from my SCH-I800 using XDA App
You will need private key to sign, not certificate.
Sent from my GT-P1000 using XDA App
I did sign it with my private key and it didn't work. Hence the question about system apps and how to sign them so that they are usuable on a device. Isn't it possible to make changes to a system app, install it on a device to test it, and not need the private key used by Google or, in this case, Verizon Wireless (because they are using a modified Phone.apk along with 2 other non-Google apk's to control dialing)? Or, does every system app have to be reinstalled if one changes, because of the data sharing flag set in AndroidManifest.xml?
Sent from my SCH-I800 using XDA App
What did you try signing it with?
have you tried One Click APK Signer or APK Manager?
I've never heard of those apps. I'll definitely be checking them out. Thanks for heads up. But, will this allow me to change out a system app that shares data with other apps without an issue with the manifest signing problem?
Sent from my SCH-I800 using XDA App
You will need to sign the whole /system folder as well as the whole /framework folder
This will resign all files in order for it to work correctly.
This basically changes the private key to you.
How do you sign the entire folder?
Sent from my SCH-I800 using XDA App
How to sign Android app with system signature?
Hi !
I’m writing an user app, it should be possible to set some system settings (device without root), e.g. SystemTime/SystemDate. I've added some necessary permissions in my manifest, like:
Code:
...
android:sharedUserId="android.uid.system"
...
<uses-permission android:name="android.permission.SET_TIME" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
if i try:
Code:
setCurrentTimeMillis (long millis)
i get from logcat:
Code:
Not granting permission android.permission.SET_TIME to package com.example.hellodatepicker (protectionLevel=3 flags=0x8446)
Unable to open alarm driver: Permission denied.
it seems that my app has to be signed with sys/platform key. but how to do that? did anyone already do this? I'm glad to see/hear some info about your experience getting this issue fixed.
Thank you in advance.
So, I followed the instructions on the other thread about removing my bloat software. However, when I try to run the script with Script Manager, I get file type sh not found.
Please help.
If you're rooted (I guess you are?), then install "Root App Remover" from the Market. Then you'll be able to uninstall/freeze system apps within seconds.
Sent from my HTC Desire HD using xda premium
I really like the CM9 player but I'm having trouble installing it. I followed a guide that said back up music.apk then delete it with root browser, then install CM9 music player. It worked, it successfully installed but I just used it and halfway thru one song my phone froze. I did a battery pull, when it rebooted, it said "sorry, music has stopped working" and it says that every time. Someone help?
Sent from my HTC MyTouch 4G using XDA
Are you on ICS?
Yes. I'm running BlackWing182's IceColdInsomnia
Sent from my HTC MyTouch 4G using XDA
A logcat would help us identify your problem.
Sent from my HTC Glacier using XDA
Could I just use Titanium Backup to force remove, without backing it up, and then installing CM9??
Salviikiddd said:
Could I just use Titanium Backup to force remove, without backing it up, and then installing CM9??
Click to expand...
Click to collapse
Cm9 is an entire ROM. If you want that, boot into recovery and format system and data, and then wipe cache and dalvik cache. Then you'll have a clean slate to install the ROM onto.
If you want just the music player, yes you can use titanium to uninstall then try putting the music player in system/app changing the permissions to rw, r, r, installing and rebooting.
Sent from my HTC Glacier using XDA
How can I change the permissions after deleting the stock app and installing cm9?
Sent from my Glacier using XDA
Salviikiddd said:
How can I change the permissions after deleting the stock app and installing cm9?
Sent from my Glacier using XDA
Click to expand...
Click to collapse
I use root explorer, but you can use terminal emulator as well. If you can't afford Root Explorer, I'd suggest you hook, steal or kill to get the money. Totally worth it.
Anyway, using Terminal Emulator, type in these lines and hit "return" between each:
su
mount -o rw,remount /system
cd /system/app
chmod 644 Music.apk
There are alternate, shorter methods, but this one is fun.
I used jrummy root explorer lite and I just replaced the file with the cm one and renamed it to music.apk after that I set permissions rebooted and set permission on cwm and it was working perfectly though I don't use it (stock ics player is awesome) it works just fine.
Sent from my HTC MyTouch 4G using XDA
Zkyfer said:
I used jrummy root explorer lite and I just replaced the file with the cm one and renamed it to music.apk after that I set permissions rebooted and set permission on cwm and it was working perfectly though I don't use it (stock ics player is awesome) it works just fine.
Sent from my HTC MyTouch 4G using XDA
Click to expand...
Click to collapse
So you didn't force remove the stock music app? you just replaced it and renamed it? then set permissions like the reply above and then again on cwm?
Salviikiddd said:
So you didn't force remove the stock music app? you just replaced it and renamed it? then set permissions like the reply above and then again on cwm?
Click to expand...
Click to collapse
Setting permissions on both seems a little redundant one or the other should suffice.
Sent from my HTC Glacier using XDA
Salviikiddd said:
So you didn't force remove the stock music app? you just replaced it and renamed it? then set permissions like the reply above and then again on cwm?
Click to expand...
Click to collapse
Correct.
Sent from my glacier using XDA
estallings15 said:
Setting permissions on both seems a little redundant one or the other should suffice.
Sent from my HTC Glacier using XDA
Click to expand...
Click to collapse
True, but I wanted to be sure so I did both. It never hurts to do both now does it?
Sent from my glacier using XDA
Hello, I am developing an app and inside the app I need to access the voice call as one of the features. For that I need system privileges so my app is marked as system app in my manifest. I tried installing my app on emulator as system app and it worked there. the guide I used told me to sign the apk with platform key.
now I want to test the app on physical device but I am having trouble installing the app. i've spent last couple day to get my phone rooted and make adb work on redmi note 7. I am able to push the apk to sysytem/app but after reboot the app is not present on my phone. I figured maybe I need to use a different signing key in order to make It work with Xiaomi but I couldn't find any information on how to sign my apk. is the problem indeed because of the signing or do I need to do something else? if the problem is signing where can I find the keys? Can anyone help me out with this problem?
Mixplorer with root?
joke19 said:
Mixplorer with root?
Click to expand...
Click to collapse
I am using rooted adb and shell. the app is already pushed in system/app folder but it is not getting installed. tried priv-app folder as well same thing.