Changed Build.prop and now apps are force-closing... - Motorola Droid Bionic

Alright, didn't find anything related to this elsewhere, so I'm putting it here:
My Bionic is running on 5.9.901, rooted, no issues. I changed the ro.product.manufacturer and ro.product.model values in my build.prop temporarily to test something. Rebooted and the following apps started force closing: Titanium Backup, Swype (latest beta, not built in), Wifi Tether (GoogleCode version, latest alpha), and Flikie Wallpapers HD.
I figure ok, change what I did back to stock and reboot. That should fix the problem.
Nope. These same apps are still force closing on my. Now, here's the twist; I've removed and reinstalled each one with the same results. Somehow, modifying those two variables in my build.prop has changed something that is keeping these apps (and ONLY these apps) from installing/running properly.
Checking the stack traces from the app crashes, Titanium Backup indicates it's unable to find a file located within /data/data/com.keramidas.TitaniumBackup/files. Upon inspection, the entire directory under /data/data for TB contains nothing, even after reinstall. Permissions for /data and /data/data are set to 771. This is as far as I've gotten and I don't know what direction to go next.
Any help is appreciated. Thanks.
EDIT: Forgot to put in here that I've already tried running fix permissions from the bootstrap and that didn't change anything.
EDIT 2: Update. Figured out why the apps are force-closing. For some reason, when they're being reinstalled, the lib files (with the .so extension) are not being created in /data/data. If I open up the APK and copy the .so files to their rightful places, the app will then work fine. If, however, I remove and reinstall again, same thing happens. Something has changed, but I'm unable to figure out what and nothing logical makes sense at this point. Now that TB is working, I might just try a factory reset.

how do you edit build.prop? i have a droid bionic and used rom toolbox to tweak the lcd density and i think it messed something up. i am unable to install pandora or aim as it says my device is not compatible.

Related

[Q] Default Calendar

Is there any way to re-load the default Samsung Captivate calendar app without starting from scratch? I deleted it thinking that I wouldn't really need it (stupid)and now I realize most calendar apps look for it. If not, is there an independent calendar app that could replace it?
Thanks a lot.
-Tony
Are you on stock or a custom rom? If it's the latter I would just download the zip again, extract the calender apk and place it in the correct folder (using root explorer or whatever) and apply permissions again, and reboot.
Sent from my Captivate
Every time I try to install the apk it tells me that it could not be installed. I tried downloading it from a few different sources and I get the same result every time. I put it into the system folder and try to instal it from there. I've gotten rid of all the other calendar files. No clue why I can't install the new one. I'm rooted and have permissions to side-load apps. any advice?
tonyfiore75 said:
Every time I try to install the apk it tells me that it could not be installed. I tried downloading it from a few different sources and I get the same result every time. I put it into the system folder and try to instal it from there. I've gotten rid of all the other calendar files. No clue why I can't install the new one. I'm rooted and have permissions to side-load apps. any advice?
Click to expand...
Click to collapse
Because you don't need to install it. Put the apk in the system folder, make sure it has the correct file permissions and then reboot. Done!
Okay. Well, it's now in the System folder as far as I can tell. I rebooted andthe Calendar is still not installed. What I'm not sure about is the permissions. What are the "correct permissions"? as in, what should they be set to and how would I chane them if I needed to?
Anyone? This has been driving me crazy for like two weeks now.
Still no dice...
Okay, I'm taking a crack at bumping this again. Honestly, I have no idea why this isn't working. I see the apk and odex files listed under my /system folder.
When I check Titanium Backup I see the following files:
com.android.calendar
com.android.providers.calendar
They're both crossed out.
Why won't they install? What am I doing wrong?
tonyfiore75 said:
Okay, I'm taking a crack at bumping this again. Honestly, I have no idea why this isn't working. I see the apk and odex files listed under my /system folder.
When I check Titanium Backup I see the following files:
com.android.calendar
com.android.providers.calendar
They're both crossed out.
Why won't they install? What am I doing wrong?
Click to expand...
Click to collapse
I think these apps should be under "/system/app" and not "/system" folder.
Yeah, I also have them under /system/app but still no luck. This is really driving me nuts. They're there. For all intents and purposes the phone SHOULD recognize them and install them... but it doesn't. Weird. I honestly don't know what I should do except forget it.

missing market....doh

i feel like an idiot after this but here it is. I tried replacing the android market with the new version. I placed the file, renamed Vending.apk, into system/apps. prior to that I removed the old market apk and placed it in another folder. needless to say the new version didn't work after a reboot, and I then tried reverting back with the old apk, and of course that doesn't work now either. so now I'm marketless
please don't tell me have to flash back to stock and reroot. it has to be a simple fix, right?
any help as always is appreciated
I used the non-themed one from this thread: http://www.droidforums.net/forum/te...05022-who-going-re-revisited-vending-apk.html
If I recall, I opened Astro and installed it with that app's installer. I think it even came up with an option to install, update or uninstall. If it wasn't Astro, it was Root Explorer as those are the only two apps I use to install apks.
Good luck.
Geezer Squid said:
I used the non-themed one from this thread: http://www.droidforums.net/forum/te...05022-who-going-re-revisited-vending-apk.html
If I recall, I opened Astro and installed it with that app's installer. I think it even came up with an option to install, update or uninstall. If it wasn't Astro, it was Root Explorer as those are the only two apps I use to install apks.
Good luck.
Click to expand...
Click to collapse
Thanks. I'm using root explorer, and installation fails. It goes through the installation process, but just fails at the end. So I still don't know exactly what the problem is.
Well, in the world of android phones, it seems that usually means there's a version of vending.apk somewhere on the phone that needs to be removed.
Also, take a long look at this thread: http://forum.xda-developers.com/showthread.php?t=872621
Just copying the Vending.apk in /system/app is normally fine.
Did you check the file permissions of the new file?
Needs to be at least rw-r--r--
After reboot you should see the market in your apps.
Sent from my LogicPD Zoom2 using XDA App
2alex said:
Just copying the Vending.apk in /system/app is normally fine.
Did you check the file permissions of the new file?
Needs to be at least rw-r--r--
After reboot you should see the market in your apps.
Sent from my LogicPD Zoom2 using XDA App
Click to expand...
Click to collapse
I checked permissions and all is set up correctly, and it is installed after all. However, when I open the market, it hangs for a moment and then closes.
I had the exact same thing happen a couple weeks ago... There may have been a solution, but I just did a Titanium backup, reset to factory settings, re-rooted, and restored Titanium. The whole process probably took less than what you've spent asking for a solution in this thread
wvcachi said:
I had the exact same thing happen a couple weeks ago... There may have been a solution, but I just did a Titanium backup, reset to factory settings, re-rooted, and restored Titanium. The whole process probably took less than what you've spent asking for a solution in this thread
Click to expand...
Click to collapse
it'll probably take me a bit longer than you to go through the rooting process again, but I guess it'll give me a chance to update my Nc to 1.01.
I'll still give it time for someone to come up with an answer that doesn't require rerooting

[Q] Medscape app uninstall and cleanup

I tried posting this in the app and themes forum but had no luck, I have an issue with the Medscape app. I wasn't able to update the library so I uninstalled the app and manually deleted the library files from me Medscape folder, later I learned that the update problem was because of the adblock app. I solved that and tried to reinstall Medscape, so far so good. When I try to re install the library files, the app tells me theres no update available (???) and it shows the current files as if they are installed, but the folder is still deleted and when I try to look up something in the database, nothing comes up.
Is there a way to wipe completely the Medscape db registry so I can do clean install?
Thanks a lot
Sent from my GT-I9000 using XDA App
I had the exact same problem and I wasn't able to solve it... Only a factory reset did it...
I'm not root but if you are root go to /data folder and delete medscape info from that. I think it might work.
The problem is that you deleted the Mescape folder from your SD card but it contains a database file (maybe the index of articles) so anything you search returns nothing!
The solution would be to delete that old account information and data, and I think it resides in the /data folder but I can't confirm that because I'm not root.
Thanks for the suggestion, but it didn't work. Nothing related to medscape on the /data folder. I'll keep looking or I'll clean install when I flash Gingerbread
Sent from my GT-I9000 using XDA App
Having similar Medscape problem, this time I cannot delete Medscape pics/icons in my Gallery. Practically FC's whenever I try to open.
These are .PNG files - is there a trick to delete these?
===
UPDATE: I discovered that I could delete one of the PNG pics in the Gallery folder but not delete a second one - the Gallery app would freeze. It actually required a power ON/OFF to "reset" the gallery folder (whose ("number of files") did show that the pic was indeed deleted) and permit me to delete another image. For some reason, as I was fiddling with the FILES app, a Medscape folder popped up (it hadn't appeared before) and it had hundreds of low-kb files in it, including the PNGs. Luckily I was able to delete this Medscape folder without a hitch... other than the 2 minutes it took to actually delete. And wouldn't you know it: my Epic is running faster than ever. What is in that Medscape app I wonder...
===
cheers/dom
My issue is another,
I m using SG2 rooted, i removed my ad blocker and re install Medscape.
So i finaly managed to start instaling the resaurces .... the resaurces started from 1 of 24 ...and downloading ...
Is it logical to keep downloading ...after the 24 ... has been downloaded already?
for example 34 of 24 ...and keep going??
Hi!
I've a problem when trying to update my Medscape app. When I try to get ref updates, it suddently appears: "Not able to complete download at this time"
I've read this post , where they speak about ad blocking apps causing this problem, however I'm using cyanogenmod CM11 M12, without any apps of this kind, more over, I searched for Hosts file, and when I open it, there's only this line: "127.0.0.1 localhost". I don't know what else to do, I've tried unistalling the app, cleaning all data before so, In deed, I've also tried to do a clean install of CM11 M12, with no luck.
Wish you could help me!

[Q] Integrating updates of system apps (and/or downloaded apps) into ROM

Okay. I don't have a lot of knowledge on developing/tinkering on Android, but I think I've figured out how to integrate apps into the ROM (updates of system apps and/or downloaded apps). I used:
A stock cricKet 2.2.1 ROM, rooted (of course) w/Universal Androot
Root Explorer, and
ROM Manager (more on this later)
First thing is first, I did a TI backup; don't want to lose anything
I then opened Root Explorer
Mounted R/W, and
did a search for .apk.
Notice that the only directories the actual .apk files for INSTALLED apps should appear in (outside the SD card) are:
/cache
/data/app
/data/app-private (possibly)
/data/FLEX/app
/system/app
Ignore the following:
/cache
/data/FLEX/app
Now, you may already know this, but the system apps you're looking for are located in the /system/app directory, and downloaded apps (for the updated system apps) are located the /data/app directories that aren't being currently ignored (if you're following my instructions). Based on icon, filename, and common sense, I found which .apk files were the updates of already existing system apps (IE Market, Google Maps, Voice Search, etc.) in the /data/app directory, and the corresponding system app they updated in the /system/app directory. I then:
Copied the filename of the system app I was going to replace (rename copy all)
Moved over to the /data/app directory
Located the corresponding updated app
Renamed it what its corresponding system app was renamed (rename, delete existing name, paste)
Hit the 'move' option
Navigated to the /system/app directory
Deleted original system app (you may want to backup this file beforehand)
Pasted the updated system app
Within 30 seconds or so, you should get a (blah.blah.blah has unexpectedly shut down force close/report) popup. Just hit force close and you should be fine (Google Maps seemed to be a recurring FC). If you try to open the app before rebooting, it will force close on you. When you're finished, open ROM Manager. I know you're thinking 'This app is no good on the ZIO'; so stop. Hit 'Fix Permissions'. The reason for this is that it fixes a few rare force close issues. I don't know the mechanics of it, but it works, so I don't question it. Listen to the notification you'll see and reboot your phone after it finishes fixing the permissions. Now go into settings and manage applications, and you'll see that you can no longer uninstall whatever apps you moved to the /system/app directory.
FYI Renaming .apk files doesn't seem to make a bit of difference either way.
(Forgive my horrible perspective descriptions: I/you)
I haven't tested it yet, but I believe unrooting the device should make any apps moved to the /system/app directory that require root access would become non-functional (right?). The reason this thread is a question is that I'm wondering if i did this correctly, and if so, I want to find out if unrooting and factory resetting my phone would somehow delete the apps in the /system/app directory that weren't included in the stock ROM. (I'm not really willing to do that yet; I still have to download the SDK to my new computer so I can do a NANDROID backup.) Any help answering these from a more experienced developer would be great.
If you want to incorporate apps into a rom, the apps have to be free or you must get consent from the developer to include in your rom
Sent from my Zio using XDA Premium App
Only if it is a Public rom. Even free app developers should be credited in a public rom
Mattix724 said:
If you want to incorporate apps into a rom, the apps have to be free or you must get consent from the developer to include in your rom
Sent from my Zio using XDA Premium App
Click to expand...
Click to collapse
I'm operating under the assumption that you're using Google developed updates of system apps. I suppose I should have said something to that extent up top.
[UPDATE]
Okay, so I did a NAND and then factory reset my phone. Killed everything not in the /system/app directory. I'm sure you knew that would happen, but I guess I'm posting for the noobs. Easier to find, I guess.
Hi,
I've tried to integrate some apps using Titanium Backup but it stuch at 0% for more than 5mins so I cancelled the process. Is it normal that it was that slow? Does Titanium generate odex files too?
I've tried integrating updates for GoogleMaps, StreetView and Youtube using a recovery mode and ADB on my linux machine.
After the backup system data I've deleted original apk and odex files from /system/app/ and moved newer versions from /data/app/ to /system/app/.
I renamed the files from com.google.android.blah.blah.apk to old names (ie. Maps.apk, etc). I haven't generated the odex files.
Rebooted the phone (HTC Desire, 2.2, Orange UK) and these apps were not available. I couldn't run either GoogleMaps or Youtube. They weren't on the "All apps" list, but still were in the system app manager/uninstaller, but couldn't uninstall them as they were in system obviously.
Tried to clear Dalvik cache but no difference.
Then I've copied them with my user backed apk files (it went to /data/app and installed the newest versions) and all is fine - could launch them as usual.
Now using "adb push" method I copied my old system versions of these apps in the /system/app/ and all if fine. I could updated them to newer versions, but this obviously went to /data/app/, so didn't free the phone memory.
Any idea why integrated apps were not visible in the system?
Perhaps I shall just delete the old system apps and copy the ones from /data/app/ without renaming...
Much appreciate it.
Greg
edit:
All went fine now. Just deleted old files in the /system/app and moved newer version without renaming to from /data/app
use titanium backup and choose integrate updates into rom for the app
I don't want to pay for TB premium. I'm poor.
Sent from my Zio using XDA App
TB integrating not working on some phone (including mine) anyway.

[Q] Couple Sprint questions....I know its mainly Cricket here

As mentioned in the title, I know there are mainly Cricket users here, I have been reading for a while, but just joined. I am a dev, but am just now getting into Android development, and have just a couple questions. Before I start, I would like to point out that I do have the Sprint images that are available, and will explain my situation. Because Sprint shut down the 2.2 updates, I am currently on 2.1.
I am on my second Zio at the moment, as I loaded the wrong images onto it. (I have both Cricket and Sprint images, and wasnt paying attention). I rooted and started clearing out bloatware, but, I uninstalled a few things that I shouldnt have...I put them back, of course.
Well, I put them back in the /system/app folder, put it back to r/o permission, restarted my phone, and poof...all those apps were missing from both my SD card and the /system/app folder. So now, I cant open my market, load my Google account for syncing, add contacts, etc. In essence, if it doesnt pertain to Google directly, it works. Factory reset does not reload everything.
I wanted to reload the system.img, but I cannot find a decent ROM backup app that I dont have to use the market for- any suggestions?
Second, is there a way I can reload these specific apps, as to get things working how they should? A .zip file, or anything packaging these apps?
I am sorry if these are answered elsewhere, I just have not come across them. Also, sorry for this being so long.
OK, I'm gonna guess you have root explorer or similar and root access... You probably need to change the permissions of the system apps back to 0644 or rw r r then reboot. I personally mess with system apps and their permissions alot. If your phone gives you too much trouble but still boots the system and you have the Android SDK you can do adb shell then chmod 0644 /system/appnamehere.apk then reboot.
Sent from my Zio using XDA App
Yes, I do have Root Explorer. I havent messed a lot with the SDK, but, based on what youre saying, it contains the apps I need to replace? For a bit more insight, the apps that are missing are Google Talk, Google Apps, and Gmail. I tried keeping my system apps as r/w, but that did not help. I also got the .apks of the aforementioned apps, but the installs do not work. I got Google Talk to at least crash, instead of immediately closing, which is what Gmail and the Market do. From what I have been able to do, as I havent been near my system with the SDK on it, changing the permissions does not make a difference. I will keep playing with it and get back with the results.

Categories

Resources