Thanks Meter 48
Join Date: Sep 2010
Location: Conception Bay South
Originally Posted by nericus
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:
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:
java -jar baksmali.jar -d frameworkDir -x CarHome.odex
It will produce an out folder with the smali files; use smali to recompile these:
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