[Q] Contacts FCing - Motorola Atrix 2

So, never really used my contacts app that much.. just pick and choose in text or in dialer. Now, I just went to try to add a phone for a buddy of mine and it force closes. I can see my list of contacts and scroll through them, but once I try to click on a name, bam, gone. If I try to add a contact, bam, gone.
Anyone know what this may be? I have deactivated google contacts sync and anything I had synced to contacts but, it still does it.
Anyone have the stock APK I can just remove or replace the old one? Or is there another fix for this?
thanks

http://forum.xda-developers.com/showthread.php?t=1396161

ok, I have all the files I need. I am having an issue trying to push from my computer the files.
Every command I try to mount the /system/app/ folder it says:
C:\android-sdk-windows\platform-tools>adb shell mount /system/app/
Usage: mount [-r] [-w] [-o options] [-t type] device directory
I have spent last 55 minutes looking on ways to do the permissions. I've done it before but I don't remember.
I need to push all the files using adb, to my phone in /system/app/. Can someone push me here?
Thanks

I've tried this:
Code:
adb shell remount rw
adb push <application_name>.apk /system/app
adb chmod 644 /system/app/<application_name>.apk
adb shell remount ro
and this under adb shell:
Code:
- open Terminal emulator:
$ su
# mount -o remount,rw /system

and this:
Code:
C:\android-sdk-windows\platform-tools>adb remount
remount failed: Operation not permitted
C:\android-sdk-windows\platform-tools>
and all this:
Code:
C:\android-sdk-windows\platform-tools>adb shell
[email protected]:/$ su
su
[email protected]:/# remount
remount
remount: not found
[email protected]:/# mount -o rw /system
mount -o rw /system
Usage: mount [-r] [-w] [-o options] [-t type] device directory
[email protected]:/# mount -rw /system
mount -rw /system
Usage: mount [-r] [-w] [-o options] [-t type] device directory
[email protected]:/# mount -rw
mount -rw
Usage: mount [-r] [-w] [-o options] [-t type] device directory
[email protected]:/# mount -o rw,remount /system/app
mount -o rw,remount /system/app
Usage: mount [-r] [-w] [-o options] [-t type] device directory
[email protected]:/#
What am I doing wrong? Thank you.

Here is what you need to do:
Code:
adb push filename.apk /data/local
adb shell
su
mount -o remount, rw /system
cd /data/local
cp filename.apk /system/app/
chmod 440 /system/app/filename.apk

Thanks Jim. Did as you say. All files are there. Contacts I can still see but when I try to add, edit or open one up it just force closes. I guess I am gonna have to just do a set back to factory.
Here are the files I pushed:
blur_yahoo.apk
YahooContacts.odex
YahooContacts.bfz
YahooContacts.bfzo
any suggestions before I restart my phone?

going back to stock.. nevermind...

Related

Trouble mounting /system through ADB

I'm having trouble mounting the /system directory on my Captivate. When I try an "adb remount" I get
Code:
remount failed: no such file or directory
When I try to push my framework, I get
Code:
failed to copy 'framework-res.apk' to '/system/framework/framework-res.apk': Read-only file system
I've tried
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock4 /system
and this and get "Permission Denied."
It is confusing, because before when I had this problem, the fix I linked to worked for me. Now I can't get it. Also, I can pull from the /system just fine, but can't push.
I'm definitely rooted, and have Busybox installed.
Thanks in advance!
Bump?
I have read throug tons of guides, but nothing seems to be working. I went back to stock and flashed my rom again, but no luck. Any ideas would be appreciated.
Did you type su first? It acts as if you're not root. /system is readable by everyone so you can pull, but it's only writeable by root so you can't push to it unless you're logged in as root.
I've only used adb once to root my phone so I'm not entirely sure how it should be typed in, but in a terminal you'd just type su and hit enter, then type in your remount command.
Also, for what it's worth, you can shorten it to just: mount -o rw,remount /system
Your method is fine, it's just not necessary to type it all out.
fubaya said:
Did you type su first? It acts as if you're not root. /system is readable by everyone so you can pull, but it's only writeable by root so you can't push to it unless you're logged in as root.
I've only used adb once to root my phone so I'm not entirely sure how it should be typed in, but in a terminal you'd just type su and hit enter, then type in your remount command.
Also, for what it's worth, you can shorten it to just: mount -o rw,remount /system
Your method is fine, it's just not necessary to type it all out.
Click to expand...
Click to collapse
Thanks for the reply.
If I type su in the terminal, this is what I get.
Code:
C:\Android\tools>su
'su' is not recognized as an internal or external command,
operable program or batch file. C:\Android\tools>
However, when in shell, I can get it to recognize su, but it still doesn't like to mount.
Code:
C:\Android\tools>adb shell
$ su
su
# mount -o rw,remount /system
mount -o rw,remount /system
Usage: mount [-r] [-w] [-o options] [-t type] device directory
#

Mac Terminal system remount syntax

I have an Atrix on AT&T. Which means there's a bootloader encryption, and the carrier prevents non-market apk installations, which I have resolved since my phone is rooted and I have changed the boot animation already.
In order to do these things, I found Ghost Commander that would let me chmod my system directories...which is fine, but I feel kind of gimped that I can't do it on terminal.
Basically, what I want to be able to do is remount /system as rw using terminal.
This method doesn't work on both terminal and emulator on my phone. I have done:
Terminal:
Code:
sudo su
cd [sdk directory]
./adb devices
./adb shell
su
mount -o remount,rw -t ext3 /dev/block/mmcblk0p12 /system
and this is where I get stuck because I just get an Invalid argument error.
Here is some info about my sytem -
Usage: mount [-r] [-w] [-o options] [-t type] device directory
/dev/block/mmcblk0p12 /system ext3 ro,noatime,nodiratime, data=ordered 0 0
Been searching for the answers for a while now and tried all kinds of syntax, and now I'm here. What am I doing wrong? Thanks
Try:
mount -o remount,rw /system
The remount option automatically looks up the info for /system so you shouldn't have to bother with the details.
Hmm, I tried that thanks, and I still got 'Usage: mount [-r] [-w] [-o options] [-t type] device directory'
Hmm, I can't think of any reason that wouldn't work but it sounds like your phone is locked down pretty tight. Do you know if others have been able to remount /system?
What version of busybox do you have? Maybe you could try updating it. There are one or two free busybox updater apps on the market, if you can use them.
Have you tried just 'adb remount'?
Does the mount command require busybox? Do you have that properly installed?
That requires adbd itself to be run in root mode (this is different from being rooted on the phone) & you could do that only on insecure boot image. mount/unmount both happen to come from the busybox package. It would be hard to contemplate that Motorola actually changed that but nothing would stop them from. You could try updating the busybox utility onboard your phone. There is nothing with your usage of the command - it would work the same way on my Nexus S
I do have Busybox in /system/xbin. Thinking that maybe the xbin directory may need to have the rewrite permissions, I changed its permissions to 777 using the chmod command in phone Terminal. I did the remount command 'mount -o remount,rw -t ext3 /dev/block/mmcblk0p12 /system' in shell on the phone, and I THOUGHT I BRICKED! Haha, but it just turned off, and I rebooted to find that my button backlights were turned off...which I fixed with the brightness file.
Anyhow, I think I'll just use the chmod command because that seems to work. NeoA, I think you are right about the adbd to run in root mode, because I've seen discussions about that before.
Thanks for the feedback guys! At least I know I wasn't having syntax errors to say the least
So did it remount it as rw? The mount command was running before, just giving errors, but if it's running that should mean the permissions were ok.
try
Code:
busybox mount -o remount,rw /system
Fr4gg0r said:
try
busybox mount -o remount,rw /system
Click to expand...
Click to collapse
"mount: can't find /system/app in /proc/mounts"
but
Code:
busybox chmod 777 /system
is good enough for me, for now
marlasinger said:
Code:
busybox chmod 777 /system
is good enough for me, for now
Click to expand...
Click to collapse
Using chmod to change permissions won't actually give you rw access to the system partition since it won't change whether it's mounted as read-only or r/w. To be able to run the chmod command, the system must already have been mounted as r/w or you would have received a "Read-only file system" error. It must have gotten mounted as read/write when the remount command caused a reboot. You can see how /system is mounted by just typing "mount" in adb shell which will list all of the mounted partitions.

[Q] Problem with Mount Command

I have a rooted T-Mobile Nexus S. In order to get the Google video app working, I needed to change the name of the "su" app to "mu". I did that by going into root explorer, telling it to make /system readable & writeable, and then renaming "su" to "mu". That worked, but now I want to go back. But I can't use the root explorer approach, since it is looking for an app named "su" to allow me to set /system to readable & writeable.
So I opened terminal emulator on my phone and and tried typing this:
mu
mount -o rw,remount /system
mv /system/bin/mu /system/bin/su
But I get the following message back after the second line:
Usage: mount[-r] [-w] [-o options] [-t type] device directory
I also tried rearranging it to the following command, but it didn't work:
mount -o remount,rw /system
I event tried the following, which still gave me the same error message:
mount /system
Any suggestions?

adb push permission denied, tried all post's solution

Phone HTC ONE M9, already rooted, usb debugging on, drivers updated.
C:\Users\Winpc\Downloads\fastboot-win>adb devices
List of devices attached
FA57LYJ00358 device
C:\Users\Winpc\Downloads\fastboot-win>adb push C:\firewater /data/local/temp
failed to copy 'C:\firewater' to '/data/local/temp/firewater': Permission denied
C:\Users\Winpc\Downloads\fastboot-win>adb wait-for-devices push firewater /data/local/temp
failed to copy 'firewater' to '/data/local/temp/firewater': Permission denied
C:\Users\Winpc\Downloads\fastboot-win>adb shell
[email protected]_himaulatt:/ $ su
su
[email protected]_himaulatt:/ # mount -o rw,remount rootfs/
mount -o rw,remount rootfs/
Usage: mount [-r] [-w] [-o options] [-t type] device directory
1|[email protected]_himaulatt:/ # mount -o rw,remount rootfs /
mount -o rw,remount rootfs /
[email protected]_himaulatt:/ # chmod 777 /sdcard
chmod 777 /sdcard
[email protected]_himaulatt:/ # exit
exit
[email protected]_himaulatt:/ $ adb push C:\firewater /data/
adb push C:\firewater /data/
error: device not found
1|[email protected]_himaulatt:/ $ exit
exit
C:\Users\Winpc\Downloads\fastboot-win>adb wait-for-devices push firewater /data/local/temp
failed to copy 'firewater' to '/data/local/temp/firewater': Permission denied
C:\Users\Winpc\Downloads\fastboot-win>
No one?

Permission denied/adb push

Trying to deodex my apks, they're deodexed but I can't push them into the /system/app folder
Code:
C:\Users\Terrence\AppData\Local\Android\android-sdk\platform-tools>adb shell
[email protected]:/ $ su
su
[email protected]:/ # mount -o remount,rw /system
mount -o remount,rw /system
[email protected]:/ # exit
exit
[email protected]:/ $ exit
exit
C:\Users\Terrence\AppData\Local\Android\android-sdk\platform-tools>adb push C:\U
sers\Terrence\deodexed_apps /system/app/
push: C:\Users\Terrence\deodexed_apps/YahoostockWidget.apk -> /system/app/Yahoos
tockWidget.apk
failed to copy 'C:\Users\Terrence\deodexed_apps/YahoostockWidget.apk' to '/syste
m/app/YahoostockWidget.apk': Permission denied
Phone is rooted according to RootChecker. No Knox or anything else like that. Android 4.1.

Categories

Resources