Moving Apps back to /data - Motorola Droid and Milestone Q&A, Help & Troublesh

I'm having problems with Swype and updating to CM6.3.4
I moved com.swype.android.inputmethod-1.apk to /system/app to free space in /data
Now I want to update from CM6.3.3 to 6.3.4 but doing so removes Swype and after reinstalling all my settings and custom words are lost
Moving the .apk back to /data/app gives me instant FCs on booting and everytime I try to access Swype in any way
I tried to backup Swype using AppMonster - but it's not visible in the list
Does anyone know another way to solve this

Use titaniumBackup, It works.

Related

can't reinstall an app from market

i have apps2sd enable. i installed an app from the market and then i uninstalled ith through linda's app manager. when i rebooted my phone and went back into the market to try to install the app again, i have no option to download it all.
peaman427 said:
i have apps2sd enable. i installed an app from the market and then i uninstalled ith through linda's app manager. when i rebooted my phone and went back into the market to try to install the app again, i have no option to download it all.
Click to expand...
Click to collapse
Use any option it gives you to uninstall the app, then reinstall it.
Similar issue.
I am having a similar issue.
I installed Toggle Settings (Donut) on my G1 (CM 4.2.5 I'm not using apps2SD) and then decided to uninstall it. Now when I go to the market and my downloads it shows that I have Toggle settings installed. The problem is that I don't and it gives me no options to do anything (open and uninstall are grayed out). Other apps install and uninstall normally with the market updating their status correctly. I don't know what to do to correct this. If you know how to remedy this, please help me.
I apologize if this is an inappropriate place to post this but I serched and this was the closest topic to my problem that I found.
Try finding it in the app-private folder or if its in any of yours apps as a .zip file. If so, back it up and delete it from the phone. see if that resolves the issue. if not try deleting the market cache
B-man007 said:
Try finding it in the app-private folder or if its in any of yours apps as a .zip file. If so, back it up and delete it from the phone. see if that resolves the issue. if not try deleting the market cache
Click to expand...
Click to collapse
Thanks for replying... It's not in any of my other apps and I've tried deleting the market cache (and deleting the market cache and power cycling the phone) and that isn't working. Where is (or should be) the app-private folder? I'm not finding that folder.
I'm starting to feel like my only hope is an update being put out for the app and then hopefully I can download that and go from there.
.A.J. said:
Thanks for replying... It's not in any of my other apps and I've tried deleting the market cache (and deleting the market cache and power cycling the phone) and that isn't working. Where is (or should be) the app-private folder? I'm not finding that folder.
I'm starting to feel like my only hope is an update being put out for the app and then hopefully I can download that and go from there.
Click to expand...
Click to collapse
app-private should be in the same folder as app
Had a similar problem
I wiped my phone and did a frech Cyan 4.2.5 install to help clear a problem with Gmail. I used backup for root users to get all my apps back, but it left a couple out - leaving me in the same situation you guys are in - can't install/uninstall from the market as the buttons are greyed out, but it's not actually on your phone.
i eventually stumbled over a solution of sorts when i reverted back to a themeless 4.2.5 - for me flashing the update again sorted out my market data and allowed me to install the missing apps again. either that, or go into a nandroided backup, extract the apks and manually push them to your current setup - buttons are magically no longer greyed out.
Thanks guys.
Thanks for your guys assistance.
I found another solution that worked. I had one of my coworkers download Astro File browser and then the Toggle settings app. I just backed up his toggle settings with the built in apps manager in Astro and then put his memory card in my phone and restored toggle settings with Astro. Then I went to the market and uninstalled toggle settings through the market and bingo no more ghost of Toggle settings problem. Thanks again for your assistance.

Swype Force Closed

I've been having a lot of problems lately....I've searched all over Google and tried many different versions of Swype but get the same result...it keeps force closing itself whenever I try to use it.
It worked flawlessly before when I first got the phone! I decided to try the new Swype beta and stupid me I didn't backup Swype with Titanium (though I did make a backup with Titanium but not sure how to use it or if it'll solve the Swype problem) and installed the new Swype Beta from the official site but it gave me:
"Sorry!
The application Swype (process com.swype.android.inputmethod) has stopped unexpectedly. Please try again.
dumpstate_app_201012212300_com_swype_android_inputmethod.log has been saved. Use *#9900# to copy out log."
I restarted, uninstalled and reinstalled many times but it's the same outcome I want my swype back!!! T.T I THINK it comes with Android 2.1? I'm not sure...it was on the phone when I bought it 2nd hand.
Regardless I'm sad regular keyboard SUCKS comparatively.
Thanks in advance.
Running Android 2.1 unlocked and rooted.
Same Problem here !
Try this;
Uninstall Swype, also delete libSwypeCore.so from your phone! Restart your phone, and reinstall Swype through an apk
norcal einstein said:
Try this;
Uninstall Swype, also delete libSwypeCore.so from your phone! Restart your phone, and reinstall Swype through an apk
Click to expand...
Click to collapse
More specifically, uninstall swype using an application like Titanium backup.
Also, delete /system/lib/libSwypeCore.so using root explorer or ADB. Then reboot your phone and install swype like an apk.
I love the quick responses...but strangely enough...
I have done those things. I deleted the libSwypeCore.so BUT it comes back whenever I look into root Explorer and I have even tried to delete it multiple times! And yes I did delete it and try rebooting (powering off device and powering back on) but it still remains! When I delete it it's gone until I exit the folder...then it comes back
I'm stuck with SlideIT for now which kinda sucks in comparison...I want to use the new swype, which they made open beta btw, but sigh
And I've tried multiple APK versions but to no avail...even 1.5, 2.1.0, 2.15, 2.6.5.
Using SlideIT for now and it pales in comparison to Swype Any ideas?
All I can say is that I had the exact same problem as you, and deleting libSwypeCore.so was the magical break through for me. Like canuck had posted, I uninstalled with Titanium Backup, and then deleted libSwypeCore with Root Explorer.
Hopefully someone else comes in with another solution for you.
yea I tried to delete the libSwypeCore.so but it would come back LIke a bad rash...a really quick instant bad rash...I delete it and as soon as I enter the folder again it's there again!!!
Is there another way to delete it permenantly?
3py0n said:
Is there another way to delete it permenantly?
Click to expand...
Click to collapse
Hmmm, I don't know if this is your problem, but maybe you forgot to click "Mount R/W" before you tried to delete the libSwypeCore.so file? Also, make sure you click "Mount R/O" after you're done deleting.
to be honest, i had the same problem. I just resorted to installing a custom rom.
just to make sure.. are you uninstalling the program before you delete the file. If you are forgetting to uninstall it first, could be a good reason as to why the file keeps returning.
If not, then not quite sure myself. Using a custom rom and if you are, could just backup apps/data and reinstall the rom... just another idea..
Zug
I'm on a fascinate...
but similarly....
mine keeps returning upon reboot too. Tried reinstalling / uninstalling with manage apps / reinstalling / uninstalling with titanium... (and deleting libSwypeCore.so after each uninstall... ) only to find libSwypeCore.so back after both restarts. Swype installs fine but when I try to run it it FC. Also get a FC for the swype process when booting up my phone even though slideit is currently set to default.
arg
i dont wanna reflash / format. im lazyyy
Edit: I figured out why I couldn't get rid of it. Root explorer... Even though when I navigate to the folder it said R/w, when using the search function to find the file within the folder...(as I'm too lazy to scroll down) it wasn't letting me delete it with R/W. I had to just scroll down to the file and longpressdelete... i didn't realize the search results wouldnt be in RW even though it said RW at the top.
FYI... The beta installed properly and no longer FC's
thanks, guys. i was able to get it to work. i was having the same problem. i made sure to delete the files using root explorer, i cleared the swype date, force closed then unistalled. then redownloaded the swype beta that i was using. everything is working good now.
im using an atrix.
tried all of this reinstalled and still getting buzzing and forced closes got to be a way to get this to work

[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] New Android Market crashing, unable to install old one

Hi Everyone,
Looking for help for an issue, I installed the new android market and was messing around with Titanium Backup (forgot to backup the app, dumb me!) anyway I tried to uninstall the new market to go back to the old one but when I did this the market app is gone from the manage apps area. My phone is a N1, running 2.3.4 and rooted, this what I have tried:
- Install the old market manually from a downloaded vending.apk, not working crashes to .com.android.vending every time
- After this I went to look in the /system/app folder for vending.apk and the app is not there, neither I am unable to copy the app using Droid Explorer or Root explorer, it says it is coping the app but is not there
- Re-install gingerbread update again to see if it gets the app back, did not work, still not in system/app folder
Does anyone know why I am unable to copy the vending.apk to the system/app folder? the phone is rooted but still can-t
Thanks!
If you're having problems with root permissions, try using ROM Manager to fix permissions. Another possibility could be busybox, so I recommend installing the version with Titanium backup (under the Problems? section of the menu).
Updating the market can be tricky, but I always find wiping data from Google Services Framework and (use app manager) Market (easier to use Titanium), and rebooting helps. Make sure you reboot before trying to use the Market...
I didn-t know about the Fix Permissions feature of ROM manager, I tried it and it work, I can now place the file on the system/app folder.
Thanks a lot!

The application Gallery (process com.cooliris.media) has stopped unexpectedly

This is so annoying,
I have tried everything I could find online,
I removed the SD card to eliminate that as an option related to a corrupt image/ card.
I cleared Gallery the data under manage applications.
With ES file explorer
I deleted the com.cooliris.media folder multiple times
I renamed all dirs to hide them from the Gallery indexing.
Example renamed “DCIM” to ”.DCIM”
I opened and examined the file chunk_0 in
/com.cooliris.media/cache/local-album-cache
I was hoping i could see how far or were it crashed by the last dir it indexed.
After hiding all the dirs. I got it to this.
Data in “chunk_0(this file will grow as dirs are scanned and files are found)” opened in a hex editor.
..US..en............./...........4.......4...........b..intro..video/mp4.......................4.........O.{.....O.u...w..............:.............../
Not sure if this is a hit on what is crashing the gallery?
I'm guessing a factory reset didn't work either?
Have not done that, dont want to reconfigure the phone from scratch.
I always like to know the root of the real issue. seems kind of common.
I never use Gallery. Ever. So I wouldn't have an exact idea why it was going crazy.
Are you rooted and do you have Titanium Backup Free/Pro?
If so, back up the gallery app. Then delete it from the /system.
Restart your phone and restore the Gallery app and make it a system app again.
its rooted and i have Titanium Backup Pro.
i did not know you can delete the gallary.
I did download another gallery like app for now.
but i may give that a try.
Yeah. Wipe the data first then uninstall it.
i made the back up of the gallery, uninstalled it, when i try to recover/install it from the back up the phone stays in an install loop.
I have to reboot the phone.
now i deleted it how do i reinstall it?
I have gallery apk from the backup and the original is still under /system/app/com.cooliris.media.apk
when run the apk i get an error, application not installed.
I tried to use adb with no luck.
F:\~droid\root backup restore files\SuperOneClickv2.1.1-ShortFuse\ADB>adb instal
l gal.apk
993 KB/s (458660 bytes in 0.451s)
pkg: /data/local/tmp/gal.apk
Failure [INSTALL_FAILED_DEXOPT]
any pointers?
Follow the exact steps.
Open Titanium Backup
Wipe Gallery data (From Titanium Backup)
Uninstall Gallery (From Titanium Backup)
Restart phone
Restore App of Gallery (From Titanium Backup)
Restart phone
Try using gallery
I don’t think titanium is an option now.
as it never finishes installing. i let it go all night.
The Gallery has been deleted and i only have the option to restore. My only options are to restore App only or App+Data. both don’t finish.
so i have been reading you can force/push installs. i must be doing something wrong as it seems a restriction is preventing the other install methods,
at this point the only reason i care is i cant view images in 3d.
acem77 said:
I don’t think titanium is an option now.
as it never finishes installing. i let it go all night.
The Gallery has been deleted and i only have the option to restore. My only options are to restore App only or App+Data. both don’t finish.
so i have been reading you can force/push installs. i must be doing something wrong as it seems a restriction is preventing the other install methods,
at this point the only reason i care is i cant view images in 3d.
Click to expand...
Click to collapse
Using adb
adb shell
su
mount -o remount,rw /dev/block/stl9 /system
exit
exit
adb push Gallery.apk /system/app
Reboot the phone.
Sent from my Samsung Galaxy S II
thanks but the phone does not seem to install it after the reboot.
F:\~droid\root backup restore files\SuperOneClickv2.1.1-ShortFuse\ADB>adb shell
$
$ su
su
# mount -o remount,rw /dev/block/stl9 /system
mount -o remount,rw /dev/block/stl9 /system
# exit
exit
$ exit
exit
F:\~droid\root backup restore files\SuperOneClickv2.1.1-ShortFuse\ADB>adb push g
al.apk /system/app
1321 KB/s (458660 bytes in 0.339s)
maybe it not 100% uninstalled? could have been an issue with how Titanium removed it.
if the os thinks its still there it wont install over it.
crap i created file called "\" now they systems treats it like a dir. i cant delete it
this is how i created it...fat fingered
F:\~droid\root backup restore files\SuperOneClickv2.1.1-ShortFuse\ADB>adb push c
om.cooliris.media.apk /system/app/\
ES file Explorer shows it as a 447.91kb file the same size as the com.cooliris.media.apk file...
if select delete in ES i starts to tally the root dir as if it will delete everything under "system"
I guess it can stay ....
I am still trying to get com.cooliris.media.apk to reinstall. will i see any installing action once i reboot the phone after pushing it?
I dont see any sign of it installing other than it appearing in the apps dir.
how does push really work should the Os install any apk in the app dir if missing?
No you won't. Do you have root explorer?
no,
does ES file Exploer work the same way?
I've never used it. Does ES File Explorer have root permissions?
this is just getting a annoying if the app is under /system/app
more or less thats it right? what would stop it from being seen by the phone...
been messing with the thing for hours.
then its crap i cant restore the gallery backup i made with out titanium get stuck...
The Dark Lestat said:
I've never used it. Does ES File Explorer have root permissions?
Click to expand...
Click to collapse
yes i can hit any dir like system, and it can change all attributes.
I have been using it now to move files from my pc over the wifi and network shares.
I can have app.apk on my pc see it on the network with ES, and copy it to /system/app
i put a another version of gallery from another phone i found online in /system/app
after a reboot it showed up. not sure it thats a real sign as i can manual run and install it if i wish.
also this does no good in the long run as you cant view photos in 3d, as they are displayed side by side in this version of gallery.
maybe i need a fresh copy if the lg thrill gallery?
ok i found a ver of gallery from a custom cooked rom posting.
it shows up now,
http://forum.xda-developers.com/showthread.php?t=1309114&highlight=gallery
but it still crashes like the original one did at the start of all this lol....
atleast i can view my pictures in 3d again.
i dont know what is causing the crash, but what causes it is at the end of scanning all the images. the more picutes i have the longer it takes to crash.
if i have zero images it crash instantly.
I guess my backup of the original gallery is corrupt?
That's what it seems. Do a titanium backup of all your used apps and reflash or factory reset?
Sent from my Samsung Galaxy S II

Categories

Resources