[Galaxy Note GT-N7000 Android Development] AA1973:
AW: **[4.2.2][CM10.1][LINARO] Team Asylum CM10.1 Keiras™ - Slim, Fast and Black Roma™

This is one of my latest 70-gapps.sh. Have a look at the email and exchange part; if it suits you. I personally didn't use the 50- host file as this one did come nearly as is out if the box...:)

Be aware of the correct writings "e" or "E"...:thumbup:

Must be exact like it is in system/app...

***

#!/sbin/sh

#

# /system/addon.d/70-gapps.sh

#

. /tmp/backuptool.functions

list_files() {

cat <<EOF

app/ChromeBookmarksSyncAdapter.apk

app/CalendarGoogle.apk

app/CalendarProvider.apk

app/Email2.apk

app/Exchange2.apk

app/GenieWidget.apk

app/Gmail2.apk

app/GmsCore.apk

app/GoogleBackupTransport.apk

app/GoogleCalendarSyncAdapter.apk

app/GoogleContactsSyncAdapter.apk

app/GoogleEars.apk

app/GoogleFeedback.apk

app/GoogleLoginService.apk

app/GooglePartnerSetup.apk

app/GoogleServicesFramework.apk

app/GoogleTTS.apk

app/LatinImeDictionaryPack.apk

app/MediaUploader.apk

app/NetworkLocation.apk

app/OneTimeInitializer.apk

app/Phonesky.apk

app/QuickSearchBox.apk

app/SetupWizard.apk app/Provision.apk

app/Talk.apk

app/Talkback.apk

app/VoiceSearchStub.apk

etc/permissions/com.google.android.maps.xml

etc/permissions/com.google.android.media.effects.xml

etc/permissions/com.google.widevine.software.drm.xml

etc/permissions/features.xml

etc/preferred-apps/google.xml

etc/g.prop

framework/com.google.android.maps.jar

framework/com.google.android.media.effects.jar

framework/com.google.widevine.software.drm.jar

lib/libfilterpack_facedetect.so

lib/libfrsdk.so

lib/libgcomm_jni.so

lib/libgoogle_recognizer_jni.so

lib/libgtalk_jni.so

lib/libgtalk_stabilize.so

lib/liblightcycle.so

lib/libspeexwrapper.so

lib/libvorbisencoder.so

lib/libpatts_engine_jni_api.so

lib/libjni_latinime.so

tts/lang_pico/de-DE_gl0_sg.bin

tts/lang_pico/de-DE_ta.bin

tts/lang_pico/es-ES_ta.bin

tts/lang_pico/es-ES_zl0_sg.bin

tts/lang_pico/fr-FR_nk0_sg.bin

tts/lang_pico/fr-FR_ta.bin

tts/lang_pico/it-IT_cm0_sg.bin

tts/lang_pico/it-IT_ta.bin

usr/srec/en-US/acoustic_model

usr/srec/en-US/c_fst

usr/srec/en-US/clg

usr/srec/en-US/compile_grammar.config

usr/srec/en-US/contacts.abnf

usr/srec/en-US/dict

usr/srec/en-US/dictation.config

usr/srec/en-US/embed_phone_nn_model

usr/srec/en-US/embed_phone_nn_state_sym

usr/srec/en-US/endpointer_dictation.config

usr/srec/en-US/endpointer_voicesearch.config

usr/srec/en-US/ep_acoustic_model

usr/srec/en-US/g2p_fst

usr/srec/en-US/google_hotword.config

usr/srec/en-US/google_hotword_clg

usr/srec/en-US/google_hotword_logistic

usr/srec/en-US/grammar.config

usr/srec/en-US/hmmsyms

usr/srec/en-US/hotword_symbols

usr/srec/en-US/lintrans_model

usr/srec/en-US/metadata

usr/srec/en-US/norm_fst

usr/srec/en-US/normalizer

usr/srec/en-US/offensive_word_normalizer

usr/srec/en-US/phonelist

usr/srec/en-US/rescoring_lm

usr/srec/en-US/symbols

EOF

}

case "$1" in

backup)

list_files | while read FILE DUMMY; do

backup_file $S/$FILE

done

;;

restore)

list_files | while read FILE REPLACEMENT; do

R=""

[ -n "$REPLACEMENT" ] && R="$S/$REPLACEMENT"

[ -f "$C/$S/$FILE" ] && restore_file $S/$FILE $R

done

;;

pre-backup)

# Stub

;;

post-backup)

# Stub

;;

pre-restore)

# Stub

;;

post-restore)

# Stub

;;

esac