[One (M7) Android Development] horsetastic:
That's very strange.... I found these bits of code that all add up to things being taken away...

in install-prep.sh:-

# declare starting values

replace_launcher=true

replace_mms=true

replace_browser=true

install_chrome=true

Then in updater-script

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

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

# Removing MediaUploader (since Google removed it beginning with 4.4.1)

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

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

ifelse(

file_getprop("/tmp/gapps.prop","replace.launcher") == "true",

(

ui_print("Removing Stock/AOSP Launcher...");

ui_print(" ");

delete(

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

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

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

"/system/app/Launcher2.apk",

"/system/app/Launcher3.apk",

"/system/app/Trebuchet.apk"

);

)

);

# Removing the stock/AOSP MMS app (since Hangouts has better integration}

ifelse(

file_getprop("/tmp/gapps.prop","replace.mms") == "true",

(

ui_print("Removing Stock/AOSP MMS App...");

ui_print(" ");

delete("/system/priv-app/Mms.apk");

)

);

# If there's not enough space for Chrome Browser we need to remove existing version

ifelse(

file_getprop("/tmp/gapps.prop","install.chrome") == "false",

(

ui_print("Removing Chrome Browser...");

ui_print(" ");

delete("/system/app/Chrome.apk","/system/lib/libchromeview.so","/system/addon.d/78-chromebrowser.sh");

)

);

# Removals COMPLETE - On to the installation process

I'm assuming that the install-prep.sh is what sets the tmp/gapps.prop state. I had to remove all that and the 70-gapps.sh parts to remove too even though I have no .stock-gapps on my sdcard.... lol maybe my phone is just playing daft with me. I dunno.

---------- Post added at 09:07 AM ---------- Previous post was at 09:02 AM ----------

Just noticed as well in the 70-gapps.sh it says;-

pre-restore)

# Check for existence of .gapps-stock in /sdcard for flash modifications

if [ -e /sdcard/.gapps-stock ]; then

if ! (grep -qi "launcher" /sdcard/.gapps-stock ); then

# Remove the stock/AOSP Launcher

rm -f /system/priv-app/Launcher2.apk

rm -f /system/priv-app/Launcher3.apk

rm -f /system/priv-app/Trebuchet.apk

rm -f /system/app/Launcher2.apk

rm -f /system/app/Launcher3.apk

rm -f /system/app/Trebuchet.apk

fi

if ! (grep -qi "mms" /sdcard/.gapps-stock ); then

# Remove the stock/AOSP MMS app

rm -f /system/priv-app/Mms.apk

fi

else

# Remove the stock/AOSP Launcher

rm -f /system/priv-app/Launcher2.apk

rm -f /system/priv-app/Launcher3.apk

rm -f /system/priv-app/Trebuchet.apk

rm -f /system/app/Launcher2.apk

rm -f /system/app/Launcher3.apk

rm -f /system/app/Trebuchet.apk

# Remove the stock/AOSP MMS app

rm -f /system/priv-app/Mms.apk

fi

Doesn't that mean that basically whether or not you have .gapps-stock on your sdcard it's getting rid of the stock stuff? lol....

---------- Post added at 09:31 AM ---------- Previous post was at 09:07 AM ----------

Just out of interest I couldn't see an option anywhere for circle battery mod. How can I change it?