Serious unexplainable issue with my rom - Hero CDMA General

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.

Related

Market is very slow after installing another rom

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.

Replacing system .apk with another .apk?

Does anyone know how to replace a system .apk like the camera or something with another camera.apk? I cant install it the conventional way and pushing it into the folder doesnt seem to work. Any suggestions?
Are you remounting before pushing?
DevinXtreme said:
Are you remounting before pushing?
Click to expand...
Click to collapse
I dont think so, its just that when I try to replace something it just copies it into the directory without installing. Maybe its supposed to do that?
amallama said:
I dont think so, its just that when I try to replace something it just copies it into the directory without installing. Maybe its supposed to do that?
Click to expand...
Click to collapse
You need to remount. /system/ is read-only. adb remount makes it writable. It might say it's pushing things to /system/app, but it's doing nothing,
DevinXtreme said:
You need to remount. /system/ is read-only. adb remount makes it writable. It might say it's pushing things to /system/app, but it's doing nothing,
Click to expand...
Click to collapse
My /system is writable, its just that pushing the file there doesnt install anything, like Im trying to install the friendstream widget, but I cant install it and pushing it into the /system folder doesnt install it either
amallama said:
My /system is writable, its just that pushing the file there doesnt install anything, like Im trying to install the friendstream widget, but I cant install it and pushing it into the /system folder doesnt install it either
Click to expand...
Click to collapse
If you aren't remounting, it isn't. And you can't push it to /system. The phone isn't looking there for anything. Push it to /system/app.
I can't remember, but I heard FriendStream has problems on our phones. You have to have a ROM that actually supports it. I'm on Darchdroid, so I can't use it anyway.
check out my signature for adb commands devinextreme is right some roms don't support friendstream
First off, I would recommend pulling your current one off of the phone if you are trying to replace it. Then remove it from the phone and then push it onto the phone into system app. You might also try deleting the current one on your phone and then using the install command instead of push.
And yes, the friendstream app will only work in certain ROM's because of some modifications made to make it work with our phone.

ADB Push

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

x10a Baseband Version?

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?

Rooted, still can't delete News & Weather

Hi,
I used Unrevoked's one-click Mac .app to root my Aria. I can boot into Recovery fine, but perhaps pertinently (perhaps not) there's a weird loop I can't get out of: (bottom of post at http://forum.xda-developers.com/showthread.php?t=829439)
Anyways, I installed CM6.1-Liberty afterwards using ROM Manager. Now I would like to delete the News and Weather application, but I'm finding it difficult:
I've tried with the Super Manager application, a ROOT manager. It has SuperUser permissions, it tried to mount /system as R/W when I navigate to it, but when I rename the .apk file, the file retains its old name.
I've also tried booting into Recovery, mounting /system from the Partitions menu, then using the Terminal Emulator to do 'mv /system/app/blah.apk /system/app/blah.apk.bak.' But mv complains that the directory is not empty! (are .apk's even considered directories?)
Is something messed up with my ROM? Anything else I can try?
With the phone in recovery and /system mounted, using terminal try navigating to the actual /system/app folder and then removing the .apk. Not sure if its the same as windows, which is the rm command.
rm application.apk
Sent from my cm6.1 Aria using XDA App
It worked! Booted into Recovery, mounted /system, connected via USB, opened up an adb shell, and was able to move the desired apk.
I tested this moving HtcLockScreen.apk on my Liberated ROM. Will try to move the News & Weather application on the CM ROM too, but I don't see why it wouldn't work.
Thanks!!!
All good. Thank you so much.
I've gotta wonder now: what is it about Recovery that lets you do this? I can't find much (if any) hard info on Recovery online, or hboot/fastboot for that matter. It's a little annoying having to power down my phone to adb stuff around, then powering back up.
ninestraycats said:
All good. Thank you so much.
I've gotta wonder now: what is it about Recovery that lets you do this? I can't find much (if any) hard info on Recovery online, or hboot/fastboot for that matter. It's a little annoying having to power down my phone to adb stuff around, then powering back up.
Click to expand...
Click to collapse
I think it had to do with the fact that the aria is an s-on device (don't quote me on that). Whatever it is, the system can't be modified while android is running on the aria, so you have to boot into recovery to do it.
Sent from my cm6.1 Aria using XDA App
CallMeAria said:
I think it had to do with the fact that the aria is an s-on device (don't quote me on that). Whatever it is, the system can't be modified while android is running on the aria, so you have to boot into recovery to do it.
Sent from my cm6.1 Aria using XDA App
Click to expand...
Click to collapse
Not quite... You can put Titanium Backup into "Chuck Norris" mode and it will let you delete some system apps. Another easy way to achieve the same is to unzip the ROM, delete the .apk and .odex files you do not want, rezip it and re-flash. Bingo... the stuff you do not want is gone. You need to know what you are deleting though, some stuff is used by the system and other apps.
For anyone else whos wondering how to delete a non-uninstallable apk this is how I usually do it on windows (should be the same on mac too.)
- boot into recovery
-open new command promp
-adb shell mount /system
-adb shell rm -r /sysytem/app/apkname.apk
done and done, note letter case matters in apk name.
U can also extract the rom on ur computer and delete the .apks u don't want
Sent from my Liberty using XDA App

Categories

Resources