Jump to content

Welcome to CyanogenMod

Welcome to our forum. Like most online communities you must register to post, but don't worry this is a simple free process that requires minimal information for you to signup. Be a part of the CyanogenMod Forum by signing in or creating an account. You can even sign in with your Facebook or Twitter account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get automatic updates
  • Get your own profile and make new friends
  • Download files attached to the forum.
  • Customize your experience here
  • Share your CyanogenMod experience!
Guest Message by DevFuse
 

Voice Dialer Broken


This topic has been archived. This means that you cannot reply to this topic.
28 replies to this topic

#21 antdizzo

antdizzo
  • Members
  • 23 posts

Posted 04 September 2010 - 05:24 PM

View Postgwhaley262, on 03 September 2010 - 11:14 PM, said:

I researched the mount command in the first line and found the syntax to be slightly off.  Try this below instead, it worked for me:

mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

it seems the remount and rw commands were accidentally placed on the wrong sides of the comma.  Hope it works for you.

i tried everything, i keep getting force closes. this is getting fustrating. its like the more i cant hav it, the more i want it.

#22 tseliot

tseliot
  • Donators
  • 35 posts

Posted 05 September 2010 - 02:34 AM

View Postantdizzo, on 04 September 2010 - 05:24 PM, said:

i tried everything, i keep getting force closes. this is getting fustrating. its like the more i cant hav it, the more i want it.


I managed to replace the voicedialer.apk file without using adb.  I used Root Explorer, and everything works fine without a "force close".  With a rooted file manager, you can mount the filesystem as RW and just cut and paste files.  Be careful when you paste files thought that the permissions match those of the target folder.  I had a lot of FC until I changed the permissions.

#23 Jim

Jim
  • Members
  • 3 posts

Posted 05 September 2010 - 03:36 AM

Correct method, as I found (need to be sure to remount /system read only) else risk keeping your /system folder writable = bad thing.

Via Terminal:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd /system/app
rm VoiceDialer.apk
cp /sdcard/VoiceDialer.apk VoiceDialer.apk
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
reboot

Via adb shell:
adb devices
adb remount
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd /system/app
rm VoiceDialer.apk
cp /sdcard/VoiceDialer.apk VoiceDialer.apk
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
reboot

Attached voice dialer from CM6.0.0-RC3 too

Confirmed that this fixes said problem! Thanks!

Attached Files


Edited by Jim, 05 September 2010 - 03:39 AM.


#24 tseliot

tseliot
  • Donators
  • 35 posts

Posted 05 September 2010 - 05:33 AM

View PostJim, on 05 September 2010 - 03:36 AM, said:

Correct method, as I found (need to be sure to remount /system read only) else risk keeping your /system folder writable = bad thing.

Via Terminal:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd /system/app
rm VoiceDialer.apk
cp /sdcard/VoiceDialer.apk VoiceDialer.apk
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
reboot

Via adb shell:
adb devices
adb remount
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd /system/app
rm VoiceDialer.apk
cp /sdcard/VoiceDialer.apk VoiceDialer.apk
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
reboot

Attached voice dialer from CM6.0.0-RC3 too

Confirmed that this fixes said problem! Thanks!

I found that the dialer would close after being started if you didn't make sure that the permissions were correctly set after the .apk file was copied to the /system/app directory.

#25 antdizzo

antdizzo
  • Members
  • 23 posts

Posted 05 September 2010 - 10:31 AM

View Posttseliot, on 05 September 2010 - 05:33 AM, said:

I found that the dialer would close after being started if you didn't make sure that the permissions were correctly set after the .apk file was copied to the /system/app directory.

i noticed this too, so how do you fix the permissions?

#26 tseliot

tseliot
  • Donators
  • 35 posts

Posted 05 September 2010 - 06:45 PM

View Postantdizzo, on 05 September 2010 - 10:31 AM, said:

i noticed this too, so how do you fix the permissions?

I'm really lazy, so I paid for a file manager program that would let me do it through a GUI.  I used Root Explorer.  You should be able to do it with "chmod" from the command line in the terminal.  Unfortunately I've never been very good with the octal permissions, so I can't give you any insight on the correct settings.  A GUI makes it really easy, just make the pattern of checkboxes match the other files in the directory.

#27 antdizzo

antdizzo
  • Members
  • 23 posts

Posted 06 September 2010 - 04:16 AM

View Posttseliot, on 05 September 2010 - 06:45 PM, said:

I'm really lazy, so I paid for a file manager program that would let me do it through a GUI.  I used Root Explorer.  You should be able to do it with "chmod" from the command line in the terminal.  Unfortunately I've never been very good with the octal permissions, so I can't give you any insight on the correct settings.  A GUI makes it really easy, just make the pattern of checkboxes match the other files in the directory.

actually, i reflashed cm6 with gapps, followed the terminal emulator commands and is work great now. i just flashed now gapps, on the phone, opened the rc 3 on my pc cut out the voicedialer apk and put it in the root of my sd card, and followed those terminal commands. those commannds delete the original already installed, the install the one you have in ur sd card. im surprised it worked, but it did. everything is perfect. cm 6 with a functioning voice dialer.

#28 Jim

Jim
  • Members
  • 3 posts

Posted 06 September 2010 - 10:17 PM

View Posttseliot, on 05 September 2010 - 06:45 PM, said:

I'm really lazy, so I paid for a file manager program that would let me do it through a GUI.  I used Root Explorer.  You should be able to do it with "chmod" from the command line in the terminal.  Unfortunately I've never been very good with the octal permissions, so I can't give you any insight on the correct settings.  A GUI makes it really easy, just make the pattern of checkboxes match the other files in the directory.
Not trying to be contrary but I found that this was not needed (at least in my case).   I will note that I did the change via ADB and not on the phone's terminal (should be identical either way though).

#29 droidlayman

droidlayman
  • Members
  • 1 posts

Posted 09 September 2010 - 04:23 PM

Just want to say thanks to you guys for the instructions on fixing the voicedialer issue.  Followed the commands, save and except didn't see the "period" after the cp voicedialer.apk command but figured it out.  Added the ro command per Jim's suggestion as it made real good sense.

Thanks to everyone!