Im trying to install the stock android sms app on my mytouch. Its all rooted. I pulled the Mms.apk off the cm7 rom I have on my computer. I tried to just put it on my sdcard and install it from there. No dice. I tried to push it to system/app and when I try and install it is gives me a parsing error. I tried changing the permissions and still nothing is working. Any help would be appreciated!
pucktowake said:
Im trying to install the stock android sms app on my mytouch. Its all rooted. I pulled the Mms.apk off the cm7 rom I have on my computer. I tried to just put it on my sdcard and install it from there. No dice. I tried to push it to system/app and when I try and install it is gives me a parsing error. I tried changing the permissions and still nothing is working. Any help would be appreciated!
Click to expand...
Click to collapse
You've already asked this question ~25mins ago. If anyone know the answer i'm sure they will respond to you accordingly.
You have to remove the sense Mms.apk and Mms.odex from the /system/app folder and then push the stock Android Mms.apk or it will not work. Easiest way to remove it is to Flash CWM recovery and reboot into it and mount system and adb shell into it and type:
rm /system/app/mms.apk
rm /system/app/mms.odex
exit
and then make sure you have the stock mms.apk file on your computer and type
adb push "path of mms.apk" /system/app
unmount system and reboot and you should be good.
Related
Hey, i'll make this brief. Whenever I use an update
Or try and push an apk over to /system/apps
It doesn't stick.
For example I removed the browser.apk, and replaced it with my own (using root manager and adp both) rebooted my phone and I have no browser.apk anylonger cant put one in regardless of how I try...
Another example, while installing and update to HTC_IME.apk (Black theme) It sticks to the phone until i reboot it...
Any advice?
Do a search on the missing apk. Just to be sure.
Not much help huh?
Its like the missing apk completely disappeared... no traces of it.
on your phone try going to the superuser and there should be a + /system/sh push it and it should disappear then try the adb push method
XxsydenxX said:
Hey, i'll make this brief. Whenever I use an update
Or try and push an apk over to /system/apps
It doesn't stick.
For example I removed the browser.apk, and replaced it with my own (using root manager and adp both) rebooted my phone and I have no browser.apk anylonger cant put one in regardless of how I try...
Another example, while installing and update to HTC_IME.apk (Black theme) It sticks to the phone until i reboot it...
Any advice?
Click to expand...
Click to collapse
If you were trying to push to /system/APPS That might be a problem. I don't know alot, but if I'm not mistaken, the correct directory for apps is /system/app/
Try this.
Code:
adb remount
adb push browser.apk /system/app/
Also, if you're using A2SD.. it would be /system/sd/app
Let me know if it worked.
Ok well, I checked for root access just to be sure, And of course, I have it lol..
But none of these methods work.
Edit: I mean ive done it before, I dont know what the hell is wrong...
Why not do a simple mount of the sdcard , no adb.
Then copy the file to the card. Use a rooted terminal emulator or even root explorer to copy/move it.
BTW I know that on some systems the ".foo" files ( beginning with a . ) can be invisible and on other systems they can be designated as temporary, I don't know the convention for linux/android.
I do know that I would push a file which has been disappearing and then do a ls -af xxxx on it in a rooted terminal emulator to see it's permissions and "real" name.
^Tried using a rooted file manager to move it..it simply doesnt show up in the tray and when i go back..it's gone like always.
XxsydenxX said:
^Tried using a rooted file manager to move it..it simply doesnt show up in the tray and when i go back..it's gone like always.
Click to expand...
Click to collapse
So it's on the sdcard?
Use a terminal emulator and do a
$su
#ls -af filename.
Eh you know what, I'll just wipe and reflash a fresh rom. I'm not putting in anymore effort lol...
A mod can close this now.
Hey friends!
I have a great problem.
After installing another rom, my market doesn't work properly.
I open the market and it's very slow. Everything I want to do takes a few seconds. Tapping on the downloads button, tapping on apps, downloading them... all slow.
Now I've figured some out:
Wipe everything
install another rom new
took another google account
market is fine
Then:
wiped
installed the rom new
took my first account
market is slow.......
Whats wrong with my account and how can I get it to work normal.
If I said slow, that isn't right. Right is sloooooow....
That's weird... lets see what others have to say...
Is it anything like this?
http://forum.xda-developers.com/showthread.php?t=670407
I still haven't fixed mine yet, trying desperately to..
Yes, same problem.
Sh*t.
Market is still unusable for me.
But now I can see paid apps, but it's terrible slow.
Can someone put this threads together? I think, I#ve searched wrong yesterday.
Try pushing another market apk to your phone?
You're right, it solved the problem. Thanks!
I've deleted the Vending.apk in folder /system/apps
Then I've installed another Vending.apk with ADB
Copy the attached file to your AndroidSDK/tools folder on PC (delelte the .zip extension!)
Plug your Phone with USB to the PC
Open up the shell (cmd)
Navigate to your AndroidSDK/Tools/ folder
Type in:
adb remount
adb shell push Vending.apk /system/apps
adb reboot
After the reboot, everything is fine!
Formel-LMS said:
You're right, it solved the problem. Thanks!
I've deleted the Vending.apk in folder /system/apps
Then I've installed another Vending.apk with ADB
Copy the attached file to your AndroidSDK/tools folder on PC (delelte the .zip extension!)
Plug your Phone with USB to the PC
Open up the shell (cmd)
Navigate to your AndroidSDK/Tools/ folder
Type in:
adb remount
adb shell push Vending.apk /system/apps
adb reboot
After the reboot, everything is fine!
Click to expand...
Click to collapse
This helped me too but you have a few commands wrong.
Firstly, to remove just do:
adb remount
adb shell rm -f /system/app/Vending.apk
Then, to install the older version:
adb push Vending.apk /system/app/
adb shell reboot
I also did the removal line again with a lower case v as I seemed to have two vending.apks, this may just be something specific to my phone though as I was messing around a lot getting this working!
Bugger, still didn't work for me...
something weird.
wiped, reflashed cm 5.0.7-t2 and gapps epe54b.
right after adding my gmail account the market started to download all my paid apps again. that made the market that slow.
now wiped again and reflashed 5.0.7-t2 and gapps.
installed titanium backup.apk and restored all apps and settings.
for now the market (v1713) works as usual.
I've tried everything advised and my market is still s-l-o-w.
I have tried:
Clearing cache
Uninstalling updates
Reflashing Gapps
Formel's replacement Vending.apk
Think I'm gonna resort to a full wipe once CM5.0.7 is out...
http://forum.cyanogenmod.com/index.php?/topic/2589-solved-market-slow-for-some-people/
on some phones it fixed itself.
I searched around and couldn't get a clear answer. I'm a noob at anything command prompt/terminal related.
I was screwing around with adb last night after figuring out that I can remove program .apks with the rm <com.whatever.program> command. I got a little trigger happy and removed things that I don't use, just to test it out. I made a nandroid backup before I started. The phone runs fine, but now the Market won't download anything. It just sits on the Starting download... screen.
One of the .apks I removed was GmailProvider.apk. Whether this is the problem or not, I'd like to reinstall it for practice. I can always nand restore later.
So my question is... How can I use adb push to reinstall an apk?
I tried:
Code:
adb push C:\GmailProvider.apk
adb install C:\GmailProvider.apk
adb install C:\GmailProvider.apk \system\app
And about every variation of the 3, in and out of the adb shell.
It didn't work, and I'm at a loss to do anything else. So does anyone have any suggestions?
EDIT: I think my "\" should be "/". I got this
Code:
BusyBox v1.15.2 <2009-12-02 TIME EST> multi-call binary
Usage: install [-cdDsp] [-o USER] [-g GRP] [-m MODE] [source] dest|directory
Copy files and set attributes
Options:
Then some usage stuff here.
Then I looked at the command prompt and made a face like .
Suggestions?
It might help to say that I'm using EvilEris 2.0.1, Windows 7.
Just reflash your ROM after doing a titanium backup. Easiest fix.
try this after putting GmailProvider.apk in your sdk\tools dir:
Code:
adb remount
adb push GmailProvider.apk /system/app
remount marks the system directory as read/write
silverramsrt said:
try this after putting GmailProvider.apk in your sdk\tools dir:
Code:
adb remount
adb push GmailProvider.apk /system/app
remount marks the system directory as read/write
Click to expand...
Click to collapse
Beat me to it. ADB is powerful and pretty cool if you know some good commands, but you can really mess up your phone if you know what I mean. Not mess up like brick (unless you really try) but more like phone won't load gmail now, phone won't get past the htc screen. As long as you have a nandroid backup you SHOULD be fine, the push, pull and rm commands are really the first step of rom building. If you know what files you pushed and rm'd you can make your dream rom.
CPCookieMan said:
Beat me to it. ADB is powerful and pretty cool if you know some good commands, but you can really mess up your phone if you know what I mean. Not mess up like brick (unless you really try) but more like phone won't load gmail now, phone won't get past the htc screen. As long as you have a nandroid backup you SHOULD be fine, the push, pull and rm commands are really the first step of rom building. If you know what files you pushed and rm'd you can make your dream rom.[/QUOTE
i am installing htc facebook.apk on a rom that has had all the Bloat removed.do i need to do something after i have pushed a apk file into system/app?? i have tried rebooting the phone and the program isnt there,ive tried going in the phone with root explorer and tried installing while having it in r/w and r/o and still cant get it to install.im not sure what im doing wrong.any help is apreciated
Click to expand...
Click to collapse
i am installing htc facebook.apk on a rom that has had all the Bloat removed.do i need to do something after i have pushed a apk file into system/app?? i have tried rebooting the phone and the program isnt there,ive tried going in the phone with root explorer and tried installing while having it in r/w and r/o and still cant get it to install.im not sure what im doing wrong.any help is apreciated
Click to expand...
Click to collapse
You do not have to do anything after an adb push.
What rom? Some roms have been modified to the point some htc apps will not work. Addionally a copy of the htcfacebook.apk from an eris build may not work on a sprint based or g1 based roms do to signature variations
Sent from my Eris using XDA App
zach.xtr said:
You do not have to do anything after an adb push.
What rom? Some roms have been modified to the point some htc apps will not work. Addionally a copy of the htcfacebook.apk from an eris build may not work on a sprint based or g1 based roms do to signature variations
Sent from my Eris using XDA App
Click to expand...
Click to collapse
im running xtrom 3.0.......i just went ahead and installed the social app flash and deleted what the ones i dont uses,but thanks for the help anyways.i was looking into pushing friendstream into it but found out its only works in sprint base builds
Solved. Thanks!
Anyone wanna help? -.-
xGary said:
So I did some modding (unfortunately) to the framework-res.apk file and it worked the first time and a few other times but then I changed something and now when I turn on the phone it freezes at the "Sony Ericsson" screen before the logo. What do I do?
I tried pushing the backup framework file but it says "failed to copy framework-res.apk to /sdcard/framework-res.apk: Permission denied
however, when I use adb devices, it does show my device as being attached.
So what can I do now?
Edit
I was also able to pull files...
Also tried manually putting the framework-res.apk in the sdcard and then using adb to copy it to the framework folder. Doesnt work. Saids that the directory cannot be open for read. I guess the device cant read the SD card until it boots up
Also, if you are replying, please stay on the thread. I will probably comment back ASAP
Click to expand...
Click to collapse
Hey... are you sure that you've got your phone rooted? I mean sure pulling files work irrespective if you are rooted or not, but in order to replace files under the /system filesystem you've gotta have root and remount it as read/write.
Happen to me too, for the exact same reason. I had to reformat the phone... I simply re-rooted the damn phone.
cp /system/bin/sh /system/bin/rootsh
chmod 6755 /system/bin/rootsh
Try using this script before trying to push your framework back on
Well it was rooted and I already flashed it and re rooted it. However, I have three questions
1) Should I update from the v24 to 26?
2) I have a x10a, after running step 3 my phone still says its an x10i with baseband version of 1.1.28
3) And those apps that were supposed to be installed in step 2 didnt go so well. I could install them manually with ADB right?
Just did everything to my g2 at once today, and lost one of my fav features; swype...i have cyanogenmod-6.1.0-RC3-vision... i went and downloaded the stock rom and pulled the apk file from it and when i installed it, it kept force closing. i even tried pushing it via abd but kept getting errors.. can someone please help
You need to grab libSwypeCore.so from /system/lib and push it to same directory on new ROM.
Sent from my T-Mobile G2 using XDA App
Just download the apk provided by oldsk00lz to recover swype from your clockwork backup. It worked for me.
http://forum.xda-developers.com/showthread.php?t=841603
what are the commands? i have a stock rom downloaded and have the swpe file s sitting on my desktop ready to go..i have the swype.apk and libswypecore.so...i tried transferring them to the app file on the root of my phone and system/lib via astro manager but it wont let me
what page is it on?
Tman0604 said:
what are the commands? i have a stock rom downloaded and have the swpe file s sitting on my desktop ready to go..i have the swype.apk and libswypecore.so...i tried transferring them to the app file on the root of my phone and system/lib via astro manager but it wont let me
Click to expand...
Click to collapse
the first line of code changes your system to READ/WRITE I use root explorer to change it back to READ-ONLY or just reboot.
Code:
adb shell mount -o remount,rw /dev/block/mmcblk0p25 /system
adb push libSwypeCore.so /system/lib
adb install Swype.apk
for the code I wrote to work for you the files need to be in the same folder that the adb.exe runs out of. this is usually located in the tools folder in the android SDK otherwise you have to type the full path ie
this is on windows 7 on my computer so file path will be different for you
Code:
adb push C:\users\etnie\downloads\G2\libSwypeCore.so /system/lib
hope that helps