Results 1 to 8 of 8

Thread: Phone.apk

  1. #1
    offline Themer
    Join Date
    Mar 2010
    Posts
    43
    Thanks
    4
    Thanked 10 Times in 8 Posts
    Downloads
    22
    Uploads
    0

    Phone.apk

    Hi to all of you..
    I was looking a phone.apk that has the future of "vibrate on outgoing call when answered"...
    So i found this one, but i tried it on my Milestone with GOT 2.36 rooted and it didn't work. I get force close...
    So my question is that:
    Is there any chance to have a similar phone.apk (with the same or similar futures) for our Milestone, as the link i posted on top???
    I think the developers in this forum have the knowlegde to make it happen to our Milestone. It would be great...

  2. #2
    offline Itty Bitty Modder
    Join Date
    Sep 2010
    Posts
    1
    Thanks
    0
    Thanked 1 Time in 1 Post
    Downloads
    5
    Uploads
    0
    I've tried that Phone v.29 on Milestone build 2.36 and it works.

    The trick is to keep the last modified timestamp of the apk to be the same as the entry in /data/system/packages.xml.

    Generally, there are 2 approaches:

    1. Recovery based, to use the preset timestamp 2008-Aug-01 when writing files.

    So recover the original apk, reboot(allow packages.xml to be updated), then recover the new apk and their timestamp will match that of packages.xml.

    2. Root based, remount the system partition and overwrite the phone.apk with the expected timestamp in packages.xml.

    touch the new apk to the desired timestamp, adb push to the phone since it will preserve the timestamp. Either push directly to system or to tmp then busybox cp -pf to preserve the source file timestamp on destination file.

  3. The Following User Says Thank You to 400757 For This Useful Post:

    kalagas (09-10-2010)

  4. #3
    offline Themer
    Join Date
    Mar 2010
    Posts
    43
    Thanks
    4
    Thanked 10 Times in 8 Posts
    Downloads
    22
    Uploads
    0
    Quote Originally Posted by 400757 View Post
    I've tried that Phone v.29 on Milestone build 2.36 and it works.

    The trick is to keep the last modified timestamp of the apk to be the same as the entry in /data/system/packages.xml.

    Generally, there are 2 approaches:

    1. Recovery based, to use the preset timestamp 2008-Aug-01 when writing files.

    So recover the original apk, reboot(allow packages.xml to be updated), then recover the new apk and their timestamp will match that of packages.xml.

    2. Root based, remount the system partition and overwrite the phone.apk with the expected timestamp in packages.xml.

    touch the new apk to the desired timestamp, adb push to the phone since it will preserve the timestamp. Either push directly to system or to tmp then busybox cp -pf to preserve the source file timestamp on destination file.
    Thanks but you confused me....
    Here is what i did...:
    I downloaded the new phone.apk and i used the OpenRecovery (through GOT theme option) to replace the old phone.apk and it didn't work...
    So can you describe more the timestamp issue and what exactly to do?
    Thanks again...

  5. #4
    offline Maybe Modder
    Join Date
    Jan 2008
    Posts
    22
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Downloads
    5
    Uploads
    0
    speaking of the phone app, does anyone know how to fix getting vibrations from texts when you are on a call? its really annoying when you are talking to someone and it vibrates in your ear and they hear it too

  6. #5
    offline Themer
    Join Date
    Mar 2010
    Posts
    43
    Thanks
    4
    Thanked 10 Times in 8 Posts
    Downloads
    22
    Uploads
    0
    @400757
    Ok I checked to the net, I tried the 1st approach three times but I didn't manage to make it work...
    so I you could help little more I would appreciated it...

  7. #6
    offline Developer
    Join Date
    Apr 2010
    Posts
    407
    Thanks
    20
    Thanked 236 Times in 59 Posts
    Downloads
    7
    Uploads
    0
    Quote Originally Posted by 400757 View Post
    The trick is to keep the last modified timestamp of the apk to be the same as the entry in /data/system/packages.xml.
    wrong..

    trick is to keep same signature, where possible, so taking aps from previous moto updates, works until they decide to change signature..

    like with google apps, you can update as long as they are not deodex'd (which i tried by mistake).

    so if you wish to use the phone.apk, you can apply this to my mod's, as long as they use a test-key sig..
    otherwise it fails.

  8. #7
    offline Itty Bitty Modder
    Join Date
    Aug 2010
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Downloads
    1
    Uploads
    0
    so how can i use this phone.apk if im using motofrenzy?

  9. #8
    offline Themer
    Join Date
    Mar 2010
    Posts
    43
    Thanks
    4
    Thanked 10 Times in 8 Posts
    Downloads
    22
    Uploads
    0

    Solved

    It solved HERE. Read posts #904 and #906.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •