[Nexus S Android Development] dabotsonline:
KRT16M Core GApps without GoogleDialer dabotsonline-v11-20131105

Hey guys, I've created my own GApps package for use on the soju / crespo / Nexus S i9020t with [MENTION=2253579]cn.fyodor[/MENTION] 's "[ROM][03-11-2013] AOSP KitKat 4.4 for Nexus S - alpha Build" (aosp_crespo-kitkat_fyodor_20131103.zip) ( http://xdaforums.com/showthread.php?t=2410844 ).

It works well with SuperSU 1.65 and the new Titanium Backup version 6.12.

I used the Paranoid Android 4.4 GApps package (pa_gapps-full-4.4-20131102-signed.zip) as a base, but made some changes:

1. Removed FaceLock and associated LIB files.

2. Removed Books, Drive, Magazines, Music2, PlayGames.QuickOffice and Videos due to space constraints in /system - but have added them as a separate ZIP below.

These can therefore be installed manually, in Internal Storage in /data .

3. Set the script to remove Mms, therefore automatically denoting Hangouts as the default Messaging app for SMS.

4. Replaced Browser with Chrome, and added the LIB files libchromeview.so and libchromium_net.so .

5. Set the script to overwrite Camera2 with Google Camera and add the LIB files libjni_filtershow_filters.so , libjni_mosaic.so and liblightcycle.so . libgoogle_recognizer_jni_l.so was already present. I've not tested deeply but Panorama and Photosphere modes appear to work fine. Just ensure that you wait until Google Camera has finished 'shaking' for a minute after completing the Photosphere, then press the Home button and wait a bit more (the Stitching icon may appear and then disappear in the status bar), then check in Gallery.

6. I made a test version overwriting cn.fyodor ' s Dialer.apk in /system/priv-app/ with GoogleDialer from [MENTION=4325854]itasoulas[/MENTION] 's hammerhead / Nexus 5 deodexed image (hammerhead_deodex_KRT16M.zip) ( http://xdaforums.com/showthread.php?t=2507861 ). The phone successfully made calls, however, the Caller Display screen did not appear so there was no way of ending the call. Having read around, it seems as though GoogleDialer is dependent on the official hammerhead versions of TelephonyProvider.apk and TeleService.apk in /system/app and /system/priv-app respectively. If anyone can figure out how to get GoogleDialer working with AOSP-compiled KitKat for the Nexus S then that would be great, as we would then be able to benefit from the new Caller ID features.

Please test away!

KRT16M_Core_GApps_without_GoogleDialer-dabotsonline-v11-20131105.zip

MD5 Sum: 47f03211d15cfdf692226fc15b26499e

(200MB. Leaves 19MB free in /system on Nexus S when flashed over aosp_crespo-kitkat_fyodor_20131103.)

http://d-h.st/4W4

/META-INF/com/google/android/updater-script

# dabotsonline KitKat GApps Installation Script - v11 - Updated: 20131105

ui_print(" ");

ui_print("***********************************************");

ui_print(" KRT16M Core GApps without GoogleDialer ");

ui_print(" dabotsonline-v11-20131105 ");

ui_print("***********************************************");

ui_print(" ");

sleep(3);

ui_print("Mounting system...");

run_program("/sbin/busybox", "mount", "/system");

ui_print(" ");

# Checking to make certain user has a 4.4.x ROM Installed - If not, we abort

ifelse(

is_substring("4.4", file_getprop("/system/build.prop","ro.build.version.release")),

(

ui_print("Android 4.4 ROM detected");

ui_print(" ");

),

(

ui_print("**** Incompatible Android ROM detected ****");

ui_print(" ");

ui_print("This GApps package is for Android 4.4.x ONLY");

ui_print(" ");

ui_print("******** GApps Installation failed *******");

ui_print(" ");

ui_print("Unmounting system...");

run_program("/sbin/busybox", "umount", "/system");

ui_print(" ");

sleep(7);

abort("Aborting...");

)

);

show_progress(0.8,25);

# Removing pieces that may be left over from other GApps or ROM's

delete(

"/system/tts/lang_pico/de-DE_gl0_sg.bin",

"/system/tts/lang_pico/de-DE_ta.bin",

"/system/tts/lang_pico/en-GB_kh0_sg.bin",

"/system/tts/lang_pico/en-GB_ta.bin",

"/system/tts/lang_pico/en-US_lh0_sg.bin",

"/system/tts/lang_pico/en-US_ta.bin",

"/system/tts/lang_pico/es-ES_ta.bin",

"/system/tts/lang_pico/es-ES_zl0_sg.bin",

"/system/tts/lang_pico/fr-FR_nk0_sg.bin",

"/system/tts/lang_pico/fr-FR_ta.bin",

"/system/tts/lang_pico/it-IT_cm0_sg.bin",

"/system/tts/lang_pico/it-IT_ta.bin",

# "/system/media/audio/alarms/Fermium.ogg",

# "/system/media/audio/alarms/Hassium.ogg",

# "/system/media/audio/alarms/Neptunium.ogg",

# "/system/media/audio/alarms/Nobelium.ogg",

# "/system/media/audio/alarms/Osmium.ogg",

# "/system/media/audio/alarms/Plutonium.ogg",

# "/system/media/audio/alarms/Promethium.ogg",

# "/system/media/audio/notifications/Arcturus.ogg",

# "/system/media/audio/notifications/Bellatrix.ogg",

# "/system/media/audio/notifications/Capella.ogg",

# "/system/media/audio/notifications/CetiAlpha.ogg",

# "/system/media/audio/notifications/Hojus.ogg",

# "/system/media/audio/notifications/Lalande.ogg",

# "/system/media/audio/notifications/Mira.ogg",

# "/system/media/audio/notifications/Polaris.ogg",

# "/system/media/audio/notifications/Pollux.ogg",

# "/system/media/audio/notifications/Procyon.ogg",

# "/system/media/audio/notifications/Proxima.ogg",

# "/system/media/audio/notifications/Shaula.ogg",

# "/system/media/audio/notifications/Spica.ogg",

# "/system/media/audio/notifications/Tejat.ogg",

# "/system/media/audio/notifications/Upsilon.ogg",

# "/system/media/audio/notifications/Vega.ogg",

# "/system/media/audio/ringtones/Aquila.ogg",

# "/system/media/audio/ringtones/ArgoNavis.ogg",

# "/system/media/audio/ringtones/CanisMajor.ogg",

# "/system/media/audio/ringtones/Carina.ogg",

# "/system/media/audio/ringtones/Centaurus.ogg",

# "/system/media/audio/ringtones/Cygnus.ogg",

# "/system/media/audio/ringtones/Draco.ogg",

# "/system/media/audio/ringtones/Girtab.ogg",

# "/system/media/audio/ringtones/Hydra.ogg",

# "/system/media/audio/ringtones/Machina.ogg",

# "/system/media/audio/ringtones/Orion.ogg",

# "/system/media/audio/ringtones/Pegasus.ogg",

# "/system/media/audio/ringtones/Perseus.ogg",

# "/system/media/audio/ringtones/Pyxis.ogg",

# "/system/media/audio/ringtones/Rigel.ogg",

# "/system/media/audio/ringtones/Scarabaeus.ogg",

# "/system/media/audio/ringtones/Sceptrum.ogg",

# "/system/media/audio/ringtones/Solarium.ogg",

# "/system/media/audio/ringtones/Themos.ogg",

# "/system/media/audio/ringtones/UrsaMinor.ogg",

# "/system/media/audio/ringtones/Zeta.ogg",

# "/system/priv-app/VpnDialogs.apk",

# "/system/priv-app/WallpaperCropper.apk",

# "/system/priv-app/ProxyHandler.apk",

# "/system/priv-app/Shell.apk",

# "/system/priv-app/DefaultContainerService.apk",

# "/system/priv-app/MediaProvider.apk",

# "/system/priv-app/InputDevives.apk",

# "/system/priv-app/FusedLocation.apk",

# "/system/priv-app/ExternalStorageProvider.apk",

# "/system/priv-app/SharedStorageBackup.apk",

# "/system/priv-app/BackupRestoreConfirmation.apk",

# "/system/app/CertInstaller.apk",

# "/system/app/DocumentsUI.apk",

# "/system/app/PackageInstaller.apk",

# "/system/app/PacProcessor.apk",

# "/system/app/KeyChain.apk",

# "/system/app/HTMLViewer.apk",

# "/system/app/BasicDreams.apk",

# "/system/app/LiveWallpapersPicker.apk",

# "/system/priv-app/LiveWallpapersPicker.apk",

"/system/app/PhotoTable.apk",

"/system/app/Provision.apk",

"/system/app/WAPPushManager.apk",

"/system/app/Browser.apk",

"/system/app/Camera.apk",

"/system/app/Camera2.apk",

"/system/app/DeskClock.apk",

"/system/app/Email.apk",

"/system/app/Exchange2.apk",

"/system/app/Gallery2.apk",

"/system/app/Music.apk",

"/system/app/QuickSearchBox.apk",

"/system/app/SoundRecorder.apk",

"/system/app/SpeechRecorder.apk",

"/system/app/Superuser.apk",

"/system/app/VideoEditor.apk",

"/system/priv-app/Contacts.apk",

"/system/priv-app/ContactsProvider.apk",

# "/system/priv-app/Dialer.apk",

"/system/priv-app/Mms.apk",

"/system/priv-app/OneTimeInitializer.apk",

"/system/priv-app/Tag.apk",

"/system/priv-app/VoiceDialer.apk",

"/system/app/BrowserProviderProxy.apk",

"/system/app/PartnerBookmarksProvider.apk",

"/system/app/Calendar.apk",

"/system/priv-app/Calendar.apk",

"/system/app/Vending.apk",

"/system/app/Gmail.apk",

"/system/app/GooglePlus.apk",

"/system/app/GooglePlus.apk",

"/system/app/GoogleCalendarSyncAdapter.apk",

"/system/app/Youtube.apk",

"/system/app/Talk.apk",

"/system/app/GoogleKeep.apk"

);

# Remove apps that need to be installed in 'priv-app'

delete(

"/system/app/CalendarProvider.apk",

"/system/app/Wallet.apk",

"/system/app/GmsCore.apk",

"/system/priv-app/GmsCore.apk",

"/system/app/PrebuiltGmsCore.apk",

"/system/app/Velvet.apk",

"/system/app/OneTimeInitializer.apk",

"/system/app/GoogleOneTimeInitializer.apk",

"/system/app/QuickSearchBox.apk",

"/system/priv-app/QuickSearchBox.apk",

"/system/app/Phonesky.apk",

"/system/app/talkback.apk"

);

# Removing the stock AOSP launcher for the new GoogleHome version with more features

delete("/system/priv-app/Launcher2.apk","/system/priv-app/Launcher3.apk","/system/app/Launcher2.apk","/system/app/Launcher3.apk");

# Removing AOSP Keyboard and library (since we're adding Google Keyboard)

delete("/system/app/LatinIME.apk","/system/lib/libjni_latinime.so","/system/lib/libjni_latinimegoogle.so");

# Removing the Pico TTS app due to crashing problems with early 4.4 builds.

delete("/system/app/PicoTts.apk");

ui_print("Copying files...");

ui_print(" ");

package_extract_dir("system", "/system");

show_progress(0.2, 6);

ui_print("Fixing Permissions...");

ui_print(" ");

set_perm_recursive(0, 0, 0755, 0644, "/system/app");

set_perm_recursive(0, 0, 0755, 0644, "/system/priv-app");

ui_print("Unmounting system...");

ui_print(" ");

run_program("/sbin/busybox", "umount", "/system");

ui_print("GApps Installation Complete!");

ui_print(" ");

sleep(3);

/system/app

MD5 (CalendarGoogle.apk) = 6c78fbbea53730ae9d040053af5e582b

Calendar 201308021 (com.google.android.calendar)

MD5 (CellBroadcastReceiver.apk) = 519de5a7177e10fff4f5f7fd3545da9a

Mobile Broadcasts 4.4-893803 (com.android.cellbroadcastreceiver)

MD5 (Chrome.apk) = 74130414aaaadd68deb3c1c03b51a45f

Chrome 30.0.1599.105 (com.android.chrome)

MD5 (DeskClockGoogle.apk) = 8a94ce23c6109210c92ca2afe26d5d16

Clock 3.0.0 (com.google.android.deskclock)

MD5 (EmailGoogle.apk) = 5e3223aa2bbd4d6bf6b519833d75e0d4

Email 6.0-893803 (com.google.android.email)

MD5 (Exchange2Google.apk) = 4450613505260dd7e2951dab246edf83

Exchange Services 6.0-893803 (com.google.android.exchange)

MD5 (GalleryGoogle.apk) = 89bd68274651c4e3d2c67abb82826386

Gallery 1.1.40304 (com.google.android.gallery3d)

MD5 (GenieWidget.apk) = 1bf905ee4adda41753ffaac2398af41c

News & Weather 1.3.11 (com.google.android.apps.genie.geniewidget)

MD5 (Gmail2.apk) = 122dad585a5a8b47efcadc3fbcc5aa9e

Gmail 4.6.1 (893803) (com.google.android.gm)

MD5 (GoogleCamera.apk) = 305fb73687fa022a9038b77646d3b3a3

Camera 2.0.001 (893803-30) (com.google.android.GoogleCamera)

MD5 (GoogleContactsSyncAdapter.apk) = f4958d3908b78ca5298653cb9b5aa1ca

Google Contacts Sync 4.4-893803 (com.google.android.syncadapters.contacts)

MD5 (GoogleEars.apk) = 0f60ef2f0cb7fb01136564290fea3601

Sound Search for Google Play 1.1.12 (com.google.android.ears)

MD5 (GoogleEarth.apk) = cc7677ed6265c8c196636ac98a964033

Earth 7.1.3.1255 (com.google.earth)

MD5 (GoogleHome.apk) = 9d2a84831bf537a48fc630b8a219fbf4

Launcher 0.9.6.886092 (com.google.android.launcher)

MD5 (GoogleTTS.apk) = 12b56cd6ac2a5d35a705d9e8fbbd86ab

Google Text-to-speech engine 2.4.3.893803 (com.google.android.tts)

MD5 (Hangouts.apk) = 66941f97fcbe0a32cf9cb109cbd0bda1

Hangouts 2.0.012 (884159-30) (com.google.android.talk)

MD5 (Keep.apk) = 993ef9de63abfa2fd3b865f33592a4ea

Keep 2.0.50 (com.google.android.keep)

MD5 (LatinImeGoogle.apk) = 24489442c49c2cd83769b05109e3eb85

Google Keyboard 2.0.19003.893803a (com.google.android.inputmethod.latin)

MD5 (LiveWallpapersPicker.apk) = 8dcb7ad14eaa292365d6e934d0b7e47b

Live Wallpaper Picker 4.4-893803 (com.android.wallpaper.livepicker)

MD5 (Maps.apk) = bfac5307413a7b9028c65c231c6d5ada

Maps 7.3.0 (com.google.android.apps.maps)

MD5 (MediaUploader.apk) = d7600ea6ded5b6f54b03cf9b7ebac87d

Picasa Uploader 1.3.242047 (com.google.android.apps.uploader)

MD5 (PlusOne.apk) = d41a65a2f9d371eae52ef5ad94ef3704

Google+ 4.2.2.55951696 (com.google.android.apps.plus)

MD5 (Street.apk) = c5474dba9f30eb548c4cc796c4f9627e

Street View 1.8.1.2 (com.google.android.street)

MD5 (YouTube.apk) = 212e281cf59916852c92e6d3ec3f090d

YouTube 5.2.27 (com.google.android.youtube)

/system/priv-app

MD5 (CalendarProvider.apk) = 1539f31b4802f67326ea383cb38c8171

Calendar Storage 4.4-893803 (com.android.providers.calendar)

MD5 (Contacts.apk) = 0c2acd2afb01868c2a390758da9a4f6b

Contacts 4.4-893803 (com.android.contacts)

MD5 (ContactsProvider.apk) = 2b345b35113e843d3d033cc1c22c746b

Contacts Storage 4.4-893803 (com.android.providers.contacts)

MD5 (GoogleBackupTransport.apk) = 686a07d7fbaaf78a04a1fd1c2b75035d

Google Backup Transport 4.4-893803 (com.google.android.backup)

MD5 (GoogleLoginService.apk) = 07582d4d226f0152becaa2b96b0b5a02

Google Account Manager 4.4-893803 (com.google.android.gsf.login)

MD5 (GoogleOneTimeInitializer.apk) = 50e903f0f83e47b158decfd16e31be37

Google One Time Init 4.4-893803 (com.google.android.onetimeinitializer)

MD5 (GooglePartnerSetup.apk) = 500e2ef6c1f59687880d300575b435fc

Google Partner Set Up 4.4-893803 (com.google.android.partnersetup)

MD5 (GoogleServicesFramework.apk) = 9ee3a0f428d603f3d9ab2def82e127fd

Google Services Framework 4.4-893803 (com.google.android.gsf)

MD5 (Phonesky.apk) = 82e420a036e4ef80537e2ce737edf11c

Google Play Store 4.4.22 (com.android.vending)

MD5 (PrebuiltGmsCore.apk) = bc78211314afd49af76c9ebfb8281d78

Google Play services 4.0.30 (889083-38) (com.google.android.gms)

MD5 (SetupWizard.apk) = 893ba0654e6b91195bbee72c05b793da

Setup Wizard 1.3 (com.google.android.setupwizard)

MD5 (TagGoogle.apk) = 96d44c3f5d6925dbe140ab3b1a4fadd2

Tags 1.1 (com.google.android.tag)

MD5 (Velvet.apk) = b7352a4a3926628658155f182589f089

Google Search 3.0.17.886092.arm (com.google.android.googlequicksearchbox)

MD5 (Wallet.apk) = de6e7184d0c983bdb6f125a945cfd12a

Wallet 2.0-R137-v13-RELEASE (com.google.android.apps.walletnfcrel)

MD5 (talkback.apk) = 7dd7ec14065a4f9cb39ac4681ce7d21e

TalkBack 3.5.0 (com.google.android.marvin.talkback)

/system/lib

MD5 (libAppDataSearch.so) = 5985982e8d736b75f671c57410719ffa

MD5 (libRSSupport.so) = ecfd5c46b8e881f16694bc6652f5a797

MD5 (libWVphoneAPI.so) = 8deaf7a7cbb110ec7d8d8889bbd7335e

MD5 (libchromeview.so) = fbd5d67b60a26ef0f3979bb41ed30d54

MD5 (libchromium_net.so) = f568ef16cdcc89c0232e7ad1cca69409

MD5 (libdocscanner_image-v7a.so) = 64a8930025b479fabaaf06f1a0ce5642

MD5 (libdocsimageutils.so) = f38c3d2a7dae54c774a1dc759ab112b0

MD5 (libearthandroid.so) = 6d05c2c79b2c8192e533d0d89d620b24

MD5 (libearthmobile.so) = b9e7015f83a61f9386d302a2dc2034e8

MD5 (libfacetracker.so) = 3112d6fbf83d8c0421db2a0fb7c6d030

MD5 (libfilterframework_jni.so) = af6c2a0b0eee55c748f8bcf6e7afb6eb

MD5 (libfilterpack_facedetect.so) = 4cbef8e49fb900cd6f3581b6fff85fb0

MD5 (libfrsdk.so) = c7408c45c42a75740d08ecc9a7f69607

MD5 (libgames_rtmp_jni.so) = aaa00eb430bd55802a07fc760485fe7f

MD5 (libgoogle_recognizer_jni_l.so) = e55a43c3fd737bada50bfecdb472e963

MD5 (libjni_filtershow_filters.so) = be048ea50ccb837d2cd44bb41dd38150

MD5 (libjni_latinime.so) = b12c9362569ba447f7a2c4c12b8e8b8f

MD5 (libjni_latinimegoogle.so) = b353fcb0b439a9d585904004cfd33d14

MD5 (libjni_mosaic.so) = 3eff266ab37004983fdd771bb1ded033

MD5 (libjni_t13n_shared_engine.so) = 1923ceab107babda68adea9db7f36287

MD5 (liblightcycle.so) = c476bf4c53e6dfcd3ce2568695a0e685

MD5 (liblinearalloc.so) = 9f815d2bd7cbd8234bc503b460029cb0

MD5 (libmoviemaker-jni.so) = 278862e6e355e7061db34f3ebafc0214

MD5 (libndk1.so) = a43894da2923b1e77c619e1683441f01

MD5 (libnetjni.so) = 0d33e290757b3a2afe133971dd183d3b

MD5 (libocrclient.so) = dba3dc54394124c66508133f5bba5e81

MD5 (libpatts_engine_jni_api.so) = 88ed67fa92ada8912d793af148a613f4

MD5 (libplus_jni_v8.so) = 2a7ee663c62c79b9ddbc91b8fb18938c

MD5 (librectifier-v7a.so) = b3a25f90d71fc4e92609f089191e137c

MD5 (librs.antblur.so) = 2991cff7af950561fdd75b27063599a5

MD5 (librs.antblur_constant.so) = 171e41a591295bb0f7f59ffd1f825856

MD5 (librs.antblur_drama.so) = 399dc6410ccdee12e9a36d45d3664c27

MD5 (librs.drama.so) = c32fb7645001e715852d89b8f50bb430

MD5 (librs.film_base.so) = 2f3456585ac904e51f21d241b64399d4

MD5 (librs.fixedframe.so) = e2fe25f60ee88e7e439bc7ab8faaa6f4

MD5 (librs.grey.so) = e28cd7f2d4a845322235117d37ea7ad2

MD5 (librs.image_wrapper.so) = bd3d128ce271d7fbad28e1a6e9892820

MD5 (librs.retrolux.so) = fe32e2fffda171db0e01e5bf126c0ced

MD5 (librsjni.so) = 9421094202e0a518c2d7508275591148

MD5 (libspeexwrapper.so) = ff73b50499e6ce24203862fbb43205e8

MD5 (libstlport_shared.so) = 4b97da1fdbb9fa1cc2718b4105669991

MD5 (libvcdecoder_jni.so) = 0a9d4069af8af64dd1c7fde308c1ea3a

MD5 (libvideochat_jni.so) = b1f49d95b71463053278893d53b1edf9

MD5 (libvorbisencoder.so) = 79466638264f9ee23ac03d1c8fd2a937

MD5 (libwebp_android.so) = 41ed8b06c74c23b0e3fc3a4ba6e9f0cf

MD5 (libwebrtc_audio_coding.so) = 8cf307e595600bcf73d1412d9eb1d6cf

MD5 (libwebrtc_audio_preprocessing.so) = ffe0353ad934e4a8495175f7f8810fdb

KRT16M_Drive_and_QuickOffice_and_Play_GApps-dabotsonline-v11-20131105.zip

MD5 Sum: 1702beace45712d790c55d59fd1f416f

(32MB)

http://d-h.st/7OS

MD5 (Books.apk) = f182b104dadc6e979114d6e141223ddd

Google Play Books 3.0.15 (com.google.android.apps.books)

MD5 (Drive.apk) = 2bda7a5b65605a6b57b34c20341de59d

Drive 1.2.403.9 (com.google.android.apps.docs)

MD5 (Magazines.apk) = 707a45ef18034c7bfa06e7b6471ae3e9

Google Play Magazines 2.0.0 (com.google.android.apps.magazines)

MD5 (Music2.apk) = cab8ace4e6f332f60cd15b91e0064dea

Google Play Music 5.2.1233L.870763 (com.google.android.music)

MD5 (PlayGames.apk) = aed9f146a6b9fdaaf6c35110830dacd0

Google Play Games 1.1.04 (794842-30) (com.google.android.play.games)

MD5 (QuickOffice.apk) = 12a87536897897cc4f4935465f713fdd

Quickoffice 6.2.4.282e (com.quickoffice.android)

MD5 (Videos.apk) = d3631688360d74f4ad222bad34f09513

Google Play Movies & TV 2.7.15 (com.google.android.videos)