Can I get Car Home 2.1 on FroYo?

Discussion in 'Android Hacks and Help' started by ohioDroid, Jun 17, 2010.

  1. ohioDroid
    Offline

    ohioDroid New Member

    Joined:
    Jan 11, 2010
    Messages:
    309
    Likes Received:
    0
    Trophy Points:
    0
    So I remember seeing in those FroYo release threads that a bunch of people were not fans of the new 2.2 Car Home.

    I've tried Car Home replacements on the market, and I've determined that even if it's simpler, I like the 2.0/2.1 version.

    I'm rooted (and running 2.2, hopefully that's obvious). Is there a way to remove the Car Home 2.2 I have on the phone, and then add Car Home 2.1?


    EDIT: It works! Here's what I put in my most recent post in this topic.

    Last edited: Jul 31, 2010
  2. ohioDroid
    Offline

    ohioDroid New Member

    Joined:
    Jan 11, 2010
    Messages:
    309
    Likes Received:
    0
    Trophy Points:
    0
    Sadly, no responses. I've taken a hack at this.

    On 2.1, in system/app there are two files, CarDock.apk and CarDock.odex.

    On 2.2, in system/app there are also two files... CarHomeLauncher.apk and CarHomeGoogle.apk

    I've tried removing the 2.2 apps and adding the 2.1 apps... now the car dock doesn't work. Any ideas, people?
  3. stratt
    Offline

    stratt New Member

    Joined:
    Jan 15, 2010
    Messages:
    614
    Likes Received:
    0
    Trophy Points:
    0
    I agree. I like the first car better. Looked better themed. Just push the froyo car apk in adb.
  4. ohioDroid
    Offline

    ohioDroid New Member

    Joined:
    Jan 11, 2010
    Messages:
    309
    Likes Received:
    0
    Trophy Points:
    0
    Tried that... adb push on it's own won't work as there are no permissions. So I tried pushing to the sdcard, which works fine, and then using busybox to cp the app to /system/app. The file is present there, but it's like it's not seen by the OS. It has no positive effect.
  5. stratt
    Offline

    stratt New Member

    Joined:
    Jan 15, 2010
    Messages:
    614
    Likes Received:
    0
    Trophy Points:
    0
    use astro or root explorer to delete the carapk. the push the two new ones on froyo. I think they are car home apk and car launcher apk
  6. ohioDroid
    Offline

    ohioDroid New Member

    Joined:
    Jan 11, 2010
    Messages:
    309
    Likes Received:
    0
    Trophy Points:
    0
    Here's what I tried so far...

    1) Leaving 2.2's CarHomeLauncher.apk alone, and overwriting the new CarHomeGoogle.apk with the old CarDock.apk

    Result: Car Home is still in the app drawer, and if you run it the notification bar will say you are in car dock mode.... but the launcher doesn't actually appear.

    2) Removing 2.2's CarHomeLauncher.apk and CarHomeGoogle.apk, and installing 2.1's CarDock.apk and CarDock.odex

    Result: Car Home no longer appears on the app drawer at all.

    3) Installing the 2.1 apps but using the 2.2 file names.

    Result: Car Home no longer appears on the app drawer at all.

    4) Removing the 2.2 apps, and then installing the 2.1 app with Astro

    Result: Astro says it failed to install the application.
  7. tripper511
    Offline

    tripper511 New Member

    Joined:
    Jun 28, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    I hope you figure this out. I just switched to froyo 2.2 3 days ago and I hate the new car dock. The 2.1 one is so much more elegant and has an actual HOME button. I was wondering if anyone also knew if I can go back to the old 2.1 multimedia dock. The new one sucks too.
  8. rcfx
    Offline

    rcfx New Member

    Joined:
    Mar 8, 2010
    Messages:
    271
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Oregon
    I've been following this and I've tried adb, root explorer, the right permissions, everything the op has tried. Hope someone smarter than me figures it out. I can't even figure out how to fill the blank slots on the new one! ..sheesh...
  9. brochaos
    Offline

    brochaos New Member

    Joined:
    Dec 23, 2009
    Messages:
    781
    Likes Received:
    0
    Trophy Points:
    0
    i just tried this and it seems to work fine. just rename CarHomeGoogle.apk to .bak and rename CarHomeGoogle.odex to .bak as well. then just copy over your 2.1 version of CarDock.apk, and then rename it to CarHomeGoogle.apk. Make sure you change the permissions to match. I did all of this with root explorer...

    oops, forgot to mention to restart after you do this!
    Last edited: Jun 30, 2010
  10. hookbill
    Offline

    hookbill Premium Member Premium Member

    Joined:
    Nov 30, 2009
    Messages:
    19,545
    Likes Received:
    6
    Trophy Points:
    0
    Location:
    N.E. Ohio
    I deleted one of the CarHomeGoogle.apk because I had two car homes and now I have none. :(

    Anyway I can get this back? I tried to install with Root Explorer using the .apk but install failed.
  11. brochaos
    Offline

    brochaos New Member

    Joined:
    Dec 23, 2009
    Messages:
    781
    Likes Received:
    0
    Trophy Points:
    0
    i didn't "install" anything, just copied the file and renamed. if you need me to post the original files let me know...
  12. kastein
    Offline

    kastein New Member

    Joined:
    Jan 10, 2010
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    0
    yes please post file
  13. brochaos
    Offline

    brochaos New Member

    Joined:
    Dec 23, 2009
    Messages:
    781
    Likes Received:
    0
    Trophy Points:
    0

    which one? if you need the old 2.1 cardock.apk you can also just download any 2.1 rom like chevy's and just grab it out of the system folder. i gotta finish a project really quick i'll be back in like 30 mins.
  14. brochaos
    Offline

    brochaos New Member

    Joined:
    Dec 23, 2009
    Messages:
    781
    Likes Received:
    0
    Trophy Points:
    0

    i'm looking at my phone now, stock fresh frf84b, and i see one CarHomeLauncher.apk with a .odex and a CarHomeGoogle.apk and odex. not sure what the difference is between the two...

    grr...only thing i noticed with my method is that both steering wheel icons show up in the notification bar when i put a magnet near it. i even tried renaming the CarDockLauncher and restarting, but it still showed up. oh well, not that big a deal i guess, i liked the old one and hated the new one.
    Last edited: Jun 30, 2010
  15. ohioDroid
    Offline

    ohioDroid New Member

    Joined:
    Jan 11, 2010
    Messages:
    309
    Likes Received:
    0
    Trophy Points:
    0
    I don't have Root Explorer and am uneducated on permissions, but I do know how to use adb shell to run terminal commands, copy and move files and such. Do any of you know how to check/change permissions with the shell? I can then try this method.
  16. brochaos
    Offline

    brochaos New Member

    Joined:
    Dec 23, 2009
    Messages:
    781
    Likes Received:
    0
    Trophy Points:
    0
    i know chmod was the command to use, but that was back when i used to run linux. no clue if that will work on th phone...
  17. ohioDroid
    Offline

    ohioDroid New Member

    Joined:
    Jan 11, 2010
    Messages:
    309
    Likes Received:
    0
    Trophy Points:
    0
    I think I may know what the issue is for me. The rom I extracted the 2.1 car dock apps from was stock 2.1 rooted, and it had a CarDock.apk and CarDock.odex.

    The 2.2 I'm running now has CarHomeGoogle.apk and CarHomeLauncher.apk

    The old files I have are 'odex-ed.' Right now, my understanding of that is that they rely on some specific system files present in the build they were made for - 2.1, and that the way around this is to not use a .odex file, but a normal .apk.

    So the next question is, to brochaos or anyone else that got this to work, can you post the files you used? Maybe all it takes is deleting (or renaming) the 2.2 files and pushing 2.1 version APKs.


    EDIT: I downloaded an SPRecovery 2.1 rom and extracted the CarDock.apk from it. I placed it in /system/app but I do not get another Car Home icon to appear. I then renamed CarHomeGoogle.apk to CarHomeGoogle.apk.bak, and named CarDock.apk as CarHomeGoogle.apk.

    Doing that made the icon appear in the launcher... But running it did nothing. The steering wheel appears in the notification bar and allows me to exit car mode, but no actual car mode app visibly runs.
    Last edited: Jul 1, 2010
  18. ohioDroid
    Offline

    ohioDroid New Member

    Joined:
    Jan 11, 2010
    Messages:
    309
    Likes Received:
    0
    Trophy Points:
    0
    It's been a while but with brochaos's help, I figured out how to make this work.

    You need to use an odexed ROM. All relevant files are in the /system/app/ folder.

    1. You will have four relevant files:
      CarHomeGoogle.apk
      CarHomeGoogle.odex
      CarHomeLauncher.apk
      CarHomeLauncher.odex
    2. Leave the 'CarHomeLauncher' files alone. Rename each of the CarHomeGoogle files so that .BAK is tacked onto the end of their name (or you could delete them, but it's good to save original files).
    3. Get a DEodexed version of CarDock.apk from android 2.1, like this one: http://www.droidforums.net/forum/dr...e-stock-2-1-ese81-ese81-deodexed-backups.html
    4. Extract CarDock.apk, rename it to CarHomeGoogle.apk, and place it in the /system/app/ folder.
    5. Change the permissions on the newly placed CarHomeGoogle file to match the permissions of the old one.
    6. You're done!
  19. brochaos
    Offline

    brochaos New Member

    Joined:
    Dec 23, 2009
    Messages:
    781
    Likes Received:
    0
    Trophy Points:
    0
    glad you got it working man. now that 2.2 is rolling out, i think you might see some more attention in this thread. people that use the car dock are going to be disappointed...
  20. Phreaker47
    Offline

    Phreaker47 Member

    Joined:
    Apr 12, 2010
    Messages:
    755
    Likes Received:
    20
    Trophy Points:
    18
    I started using "Custom Car Home" from the market and prefer it. Very simple, just lets you place up to eight shortcuts (enlarged) of your choosing on your screen and up to three screens, and you can make it your default car dock app. The only setback: it currently does not support overriding the home button to take you back to it.