Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
dfullerman
Old
#1  
Member - OP
Thanks Meter 4
Posts: 32
Join Date: Mar 2010
Location: San Antonio
Default Optimus G car home .apk?

Hello, I was wondering if anyone could post there car home .apk as Google has stopped development and support for it, and there original version does not run properly on Ice Cream Sandwich and above. But, I was noticing at Best Buy today that Optimus G owners have an updated version included with there factory rom. If someone could post that for the rest of us perhaps we can get it to run properly on other newer android devices?


Sent from my Nexus 4 using xda premium
 
xxbeanxx
Old
#2  
xxbeanxx's Avatar
Senior Member
Thanks Meter 46
Posts: 295
Join Date: Sep 2010
Location: Conception Bay South
I can't find any car home or dock home apk. I also used nova launcher to search for anything that looked like a dock activity but could find nothing.

Edit: I have a bell optimus g.
 
dfullerman
Old
#3  
Member - OP
Thanks Meter 4
Posts: 32
Join Date: Mar 2010
Location: San Antonio
Perhaps it is just on the At&t version? Thanks for looking!

Sent from my Nexus 4 using xda premium
 
Supa_Fly
Old
#4  
Supa_Fly's Avatar
Junior Member
Thanks Meter 0
Posts: 21
Join Date: Dec 2012
Location: Toronto
What does this Car home .apk actually do?
(sorry another newb question).
 
SalamatiQus
Old
#5  
SalamatiQus's Avatar
Junior Member
Thanks Meter 1
Posts: 2
Join Date: Jan 2013
Location: Astana
Quote:
Originally Posted by Supa_Fly View Post
What does this Car home .apk actually do?
(sorry another newb question).
App lets you to use phone easily while driving by showing big buttons you cannot miss for navigation, maps, contacs, call, music, voice search, emergency call.
The Following User Says Thank You to SalamatiQus For This Useful Post: [ Click to Expand ]
 
Tim4
Old
#6  
Senior Member
Thanks Meter 66
Posts: 818
Join Date: Jul 2008
Location: Seoul
Here we go:
Attached Files
File Type: zip CarHome.zip - [Click for QR Code] (973.7 KB, 129 views)
Sorry for my bad english
 
xxbeanxx
Old
(Last edited by xxbeanxx; 15th January 2013 at 01:26 PM.)
#7  
xxbeanxx's Avatar
Senior Member
Thanks Meter 46
Posts: 295
Join Date: Sep 2010
Location: Conception Bay South
Quote:
Originally Posted by Tim4 View Post
Here we go:
I tried these files (in /system/app) but it seems like the app's dock intent isn't registering.
I tried to force the device into car dock mode using the magnet method, and I get the car dock icon in the status bar but the app doesn't launch.
I also can't seem to find any activity that I could use to launch it manually.
I don't really have time to troubleshoot but if someone else figures it out could you post it here?

edit: meh, <uses-sdk minSdkVersion="16" targetSdkVersion="16"/>
Android 4.0.4 is SDK v15.
 
nericus
Old
#8  
Junior Member
Thanks Meter 17
Posts: 7
Join Date: Oct 2007
Quote:
Originally Posted by xxbeanxx View Post
I tried these files (in /system/app) but it seems like the app's dock intent isn't registering.
I tried to force the device into car dock mode using the magnet method, and I get the car dock icon in the status bar but the app doesn't launch.
I also can't seem to find any activity that I could use to launch it manually.
I don't really have time to troubleshoot but if someone else figures it out could you post it here?

edit: meh, <uses-sdk minSdkVersion="16" targetSdkVersion="16"/>
Android 4.0.4 is SDK v15.
Huh, TIL.

Tried it on my E970 with a little NeoD magnet right under Volume Down. Mine launches and foregrounds CarHome (and I'm running 4.0.4). First time I had to remove and replace the magnet, but after that, it came up each time.

Now, to find a dock for this....
Attached Files
File Type: zip CarHome.zip - [Click for QR Code] (531.2 KB, 41 views)
 
xxbeanxx
Old
(Last edited by xxbeanxx; 23rd January 2013 at 02:45 AM.) Reason: Fixed dropbox link
#9  
xxbeanxx's Avatar
Senior Member
Thanks Meter 46
Posts: 295
Join Date: Sep 2010
Location: Conception Bay South
Quote:
Originally Posted by nericus View Post
Huh, TIL.

Tried it on my E970 with a little NeoD magnet right under Volume Down. Mine launches and foregrounds CarHome (and I'm running 4.0.4). First time I had to remove and replace the magnet, but after that, it came up each time.

Now, to find a dock for this....
I tried again with the attached APK and this time had a computer close by to troubleshoot.
Am noticing this in the logcat after boot:

Code:
W/PackageManager(  389): StaleDexCacheError when reading apk: /system/app/CarHome.apk
W/PackageManager(  389): dalvik.system.StaleDexCacheError: /system/app/CarHome.apk
I haven't seen this error before so I'll have to google a bit to figure out what's going on here.

---------- Post added at 11:08 PM ---------- Previous post was at 10:31 PM ----------

Figured it out. I deodexed the CarHome apk from the AT&T rom posted in their Optimus G forum.
If you're interested in doing it yourself, grab the rom from this thread: http://forum.xda-developers.com/show....php?t=2067871.

Next, extract system/framework to a folder somewhere and the system/app/CarHome.apk and system/app/CarHome.odex files somewhere else.

Use baksmali to decompile the odex file:
Code:
java -jar baksmali.jar -d frameworkDir -x CarHome.odex
It will produce an out folder with the smali files; use smali to recompile these:
Code:
java -jar smali.jar out
Rename the resulting out.dex file to classes.dex and inject it into CarHome.apk (I used 7zip to do this).
Put the resulting apk in /system/app and reboot.

The apk I created is here, in case anyone doesn't want to go through the mess of manually deodexing: http://dl.dropbox.com/u/454322/CarHome.apk

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Tasker Alternative: AutomateIt, Automates Your Device Tasks – XDA Developer TV

XDA Developer TV Producer Kevin wants to help make your … more

Preventing App Piracy: Join the Discussion

The topic of piracy is always a touchy subject, but I feel that the grass roots style of Android … more

Jolla Sailfish OS Flagship Device Makes First Appearance

Given the amount of coverage that Android receives around here, you could almost be … more

XDA University: Porting ClockworkMod Recovery to New Devices

Having a good recovery makes the process of modifying, tweaking, maintaining, … more