Giving up
Friday, May 27, 2011 10:30 AM
Posted by kthksdie
I bricked it for the last time, decided to get another phone instead.
Hopefully what I've posted, which seems to be more than anyone else has, will help others develop something for the Garminfone.
Enable Live Wallpapers for the Garminfone!
Thursday, May 26, 2011 11:53 AM
Posted by kthksdie
Due note, that you WILL notice a hit in performance. You've been warned!
1. Download this Zip from here: http://dl.dropbox.com/u/22031175/LWP.zip and extract to your SD card.
/sdcard/LWP2. Using a file manager with Root access, copy
/sdcard/LWP/libRS.so3. Paste and overwrite those files into
/sdcard/LWP/librs_jni.so
/system/lib/4. Copy LiveWallpapersPicker.apk from
/sdcard/LWP/5. Paste into
/system/app/7. Grant LiveWallpapersPicker.apk these permissions
User Read/Write8. Copy android.software.live_wallpaper.xml from
Group Read
Others Read
/sdcard/LWP/android.software.live_wallpaper.xml9. Paste into
/system/etc/permissions10. Reboot and enjoy!
How To: Build Garmin-Asus Kernel from Source
Tuesday, May 17, 2011 8:05 AM
Posted by kthksdie
So, here's a short how to for compiling the source code provided by Garmin-asus. Please note there may be a step or two missing. I'll be updating this later when I get a chance to start from scratch and compile a better How To.
The originial directions for porting a kernel can be found here: http://wiki.cyanogenmod.com/index.php?title=Howto:_Build_a_Kernel_Port
1. Download the v.5.0.70 kernel source from garmin-asus.
Which can be found here: http://www.garminasus.com/developer/
2.
# curl http://android.git.kernel.org/repo >~/bin/repo3. Copy the kernel folder from Garminfone_T-Mobile_5.0.70.tar.gz.
# chmod a+x ~/bin/repo
# mkdir <Android source dir> && cd <Android source dir>
# repo init -u git://github.com/CyanogenMod/android.git -b froyo
# repo sync
# export PATH=$PATH:~/<Android source dir>/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin
4. Place it in <Android source dir>
5. Rename it, 'asus-kernel'
6.
# export ARCH=arm7. Download my ERE27.zip found in my post: http://mygarminfone.blogspot.com/2011/05/rom-dump-for-garminfone-a50-21-update1.html.
# export CROSS_COMPILE=arm-eabi-
# export KERNEL_DIR=/full/path/to/asus-kernel
8. Extract asus_defconfig
9. Place asus_defconfig in <Android source dir>/asus-kernel/arch/arm/configs
10.
# cd <asus-kernel source dir>It should work, I pulled what I did from memory. So like I said, if you're having issues, give me some time to get together a better How To.
# make asus_defconfig
ROM Dump for Garminfone A50, 2.1-update1, Kernel v2.6.29
Monday, May 16, 2011 5:30 AM
Posted by kthksdie
Here's a 'ROM dump' of the Garminfone A50, 2.1-update1, kernel v2.6.29. I compiled the zImage/Image from the source code released by garmin-asus using asus_defconfig(pulled and renamed from config.gz).
http://dl.dropbox.co...31175/ERE27.zip
The files contained in this zip are:
asus_defconfig
Image
zImage
config.gz
system.info.gz
system.tar.gz
boot.img
recovery.img
I'd also like to point out my objective is to get CyanogenMod 6/7 on our Garminfones. I could absolutely care less about the Garmin Navigation features at this point.
Porting Clockwork Recovery to our Garminfone
Wednesday, May 11, 2011 11:53 AM
Posted by kthksdie
Follow my post about Creating your Environment for CyanogenMod.
Once you've finished that, you're ready to begin.
Also take note that I'm switching in between host OS and virtual machine OS.
Windows 7 Pro is my host, while Ubuntu 11.04 is on a VM. Assume I'm using Ubuntu if I haven't specified I'm on Windows.
Getting Started
Gathering the Required Files$ cd /home/<USER>/Android/CyanogenMod/$ make -j<number of processor cores + 1> otatools
We'll be using Windows for these next steps.
- Go here http://android.podtwo.com/romdump/.
- Download romdump_v72.zip.
- Extract romdump_v72.zip
- Copy romdump_v72/install to the root of your Garminfone's sd card.
# cat /sdcard/install > /data/local/install# chmod 04755 /data/local/install# /data/local/install
Android ROM dumper v0.72b
(c)2010 Sebastian404
romdump installed.
# /system/bin/romdump
Let it finish, it will take a minute or two.Android ROM dumper v0.72b
(c)2010 Sebastian404
Device : ERE27
Creating required files... done.
Opening mtd table... done.
Dumping kernel config... done.
Dumping boot partition... done.
Dumping recovery partition... done.
Dumping system partition... done.
Creating Checksums... done.
Cleaning up... done.
All done.
/sdcard/romdump/ERE27/Copy the folder ERE27 to our Ubuntu environment...
/home/<USER>/Android/Creating the Recovery
Back into Ubuntu for these steps.
So, before we run makerecoveriers.sh. We have to make a correction real quick.$ cd /home/<USER>/Android/CyanogenMod/$ PATH=/home/<USER>/Android/CyanogenMod/out/host/linux-x86/bin:$PATH$ . build/envsetup.sh$ build/tools/device/mkvendor.sh garmin-asus a50 /home/<USER>/Android/ERE27/boot.imgOutput will be in /home/<USER>/Android/CyanogenMod/device/garmin-asus/a50
Done!
Use the following command to set up your build environment:
lunch full_a50-eng
And use the follwowing command to build a recovery:
. build/tools/device/makerecoveries.sh full_a50-eng
$ lunch full_a50-eng
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.4
TARGET_PRODUCT=full_a50
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
Browse to /home/<USER>/Android/CyanogenMod/build/tools/device/ and open mkrecoveryzip.sh. Look for darwin-x86 and replace with linux-x86. Save and close.
$ . build/tools/device/makerecoveries.sh full_a50-engYou should see this
Recovery FakeFlash is now available at /home/<USER>/Android/CyanogenMod/out/target/product/a50/utilities/update.zipNow we have what we need, all in /home/<USER>/Android/CyanogenMod/out/target/product/a50. update.zip and recovery.img.
With that said and done. I haven't found a way to apply the update.zip, but I have found an alternitive method to getting us booting into clockwork recovery. That's for my next post though... =)
Creating your Environment for CyanogenMod
7:18 AM
Posted by kthksdie
I'm really new to all of this. I only have a background in Development for C# and a bunch of Microsoft stuff. Nothing really Linux related. So tread lightly =)
Getting Started
I downloaded 64 bit Ubuntu 11.04 iso and created a Virtual Machine in VMWare Workstation. VMWare Player will suffice.
Initializing a Build Environment
http://source.android.com/source/initializing.html
Complete the sections for Installing the JDK and Installing required packages.
$ cd /home/<USER>/The repo init will prompt you for your name and email address.
$ mkdir /Android/
$ cd /home/<USER>/Android/
$ mkdir /CyanogenMod/
$ cd /home/<USER>/Android/CyanogenMod/
$ chmod a+x /home/<USER>/Android/CyanogenMod/
$ mkdir ~/bin
$ PATH=~/bin:$PATH
$ curl http://android.git.kernel.org/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
$ repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
The sync process will take about a half an hour.$ repo sync
Clockwork Recovery v2.5.0.1
Tuesday, May 10, 2011 10:29 AM
Posted by kthksdie
Following the directions from here:
http://www.koushikdutta.com/2010/10/porting-clockwork-recovery-to-new.html
And several other places... Which I'll post about later!
I managed to whip up a functional CWR! Though, I say functional, because half of the screen is being blocked by a Garmin logo. But I have navigated through some of the menu options available.
For now I just wanted to provide some evidence that it works.
http://dl.dropbox.com/u/22031175/a50.zip
Follow the steps in the link below with the recovery.img contained in the a50.zip.
http://wiki.cyanogenmod.com/index.php?title=Flash_image
Then
adb reboot recovery