Full Google Apps for HTC Desire
The Problem: If you install any JellyBean ROM on the stock (or JB) HBOOT, it will use up around 215 mb on your /system partition. That means you can't install the Gapps (= Google apps) package, that contains almost neccessairy apps and a lot more. Without Gapps, you can't use sync with your gmail account, what basically means: no Play Store, no GoogleNow, no GoogleMaps and a lot more. That's why I used a slim version in the past, that contained only the most important files, but it wouldn't provide the full Google experience. Another problem was that a new update of the ROM wipes the /system partition, so you had to reflash the Gapps right after the ROM was updated.
The new approach: Similar to the idea of apps2sd scripts, I enhanced the popular m2sd script (thanks to dk_zero-cool) by a few new great features, now not only apps, dalvik-cache or data will be moved to your sd-ext partition, the full Gapps package will be aswell. You won't have to configuire it, it will automatically work if you flash the gapps package, if you don't, no worries, it will not move anything else.
The benefits: First of all, you will be able to install the whole gapps package, no half gapps any more, full Google experience. There will be no slow downs because the data sill remains on the nand (unless you change it in m2sd). Last but not least, you will never have to reflash the gapps package (exception: If you do a full-wipe or format sd-ext, the gapps obviously will be wiped aswell.
Instructions for installation on S-ON devices below!
The new approach: Similar to the idea of apps2sd scripts, I enhanced the popular m2sd script (thanks to dk_zero-cool) by a few new great features, now not only apps, dalvik-cache or data will be moved to your sd-ext partition, the full Gapps package will be aswell. You won't have to configuire it, it will automatically work if you flash the gapps package, if you don't, no worries, it will not move anything else.
The benefits: First of all, you will be able to install the whole gapps package, no half gapps any more, full Google experience. There will be no slow downs because the data sill remains on the nand (unless you change it in m2sd). Last but not least, you will never have to reflash the gapps package (exception: If you do a full-wipe or format sd-ext, the gapps obviously will be wiped aswell.
Instructions for installation on S-ON devices below!
HOWTO: external gapps (credits to drewis)
Cautions:
-This is an alternative to flashing the gapps zip in recovery. Do not do this if you have flashed gapps through recovery
-For m2sd users see here
# via adb
Cautions:
-This is an alternative to flashing the gapps zip in recovery. Do not do this if you have flashed gapps through recovery
-For m2sd users see here
# via adb
# extract the gapps zip on you desktop
# create directory on device
$ adb shell mkdir -p /sd-ext/gapps/system
# push the system folder to device
$ adb push ~/Downloads/gapps/system /sd-ext/gapps/system
# make sure directories are right init script depends on this exact placement (mainly check we dont have gapps/system/system/)
$ adb shell ls /sd-ext/gapps/system
app etc framework lib usr
# enable extgapps (quotes needed)
$ adb shell "echo x > /sd-ext/gapps/.extgapps"
# gapps dir should look like this (if .extgapps doesnt exist the init script wont run)
$ adb shell ls -a /sd-ext/gapps/
.extgapps system
# reboot and wipe device
$ adb reboot bootloader
$ fastboot -w
$ fastboot reboot
# via root explorer (these are fairly rough)
-click on the gapps zip on sdcard to open
-long press the system folder -> extract -> 'go to extracted'
-long press the system folder (the extracted one) -> copy
-navigate to /sd-ext
-menu -> new folder -> name it 'gapps'
-open gapps -> paste (system folder)
-menu -> new file -> name it '.extgapps' the dot is required
# directories should now contain:
# /sd-ext/gapps should have: .extgapps, system
# /sd-ext/gapps/system should have: app, etc, framework, lib, usr
-reboot recovery -> wipe data
once its setup
# on reboot
# on reboot
# symlinks will be created on boot
# look at beginning of logcat to ensure links were created
$ adb logcat -C
.....
I/extgapps( 137): Removed Provision
I/extgapps( 139): Removed QuickSearchBox
I/extgapps( 145): Created /system/app/Talk.apk
I/extgapps( 148): Created /system/app/ChromeBookmarksSyncAdapter.apk
I/extgapps( 151): Created /system/app/GoogleBackupTransport.apk
I/extgapps( 154): Created /system/app/GoogleCalendarSyncAdapter.apk
I/extgapps( 157): Created /system/app/OneTimeInitializer.apk
.....