diff --git a/ramdisk/init.post-boot.sh b/ramdisk/init.post-boot.sh index d8633b4a7de5..3b4fe2a78674 100755 --- a/ramdisk/init.post-boot.sh +++ b/ramdisk/init.post-boot.sh @@ -20,6 +20,7 @@ PATH=/sbin:/system/sbin:/system/bin:/system/xbin export PATH # Inicio +mount -o remount,rw -t auto / mount -o remount,rw -t auto /system mount -t rootfs -o remount,rw rootfs @@ -159,7 +160,6 @@ sync # Detectar si existe el directorio en /system/etc y si no la crea. - by Javilonas # - if [ ! -d "/system/etc/init.d" ] ; then mount -o remount,rw -t auto /system mkdir /system/etc/init.d @@ -215,6 +215,19 @@ while ! pgrep android.process.acore ; do sleep 2 done +# Google play services wakelock fix +sleep 40 +su -c "pm enable com.google.android.gms/.update.SystemUpdateActivity" +su -c "pm enable com.google.android.gms/.update.SystemUpdateService" +su -c "pm enable com.google.android.gms/.update.SystemUpdateService$ActiveReceiver" +su -c "pm enable com.google.android.gms/.update.SystemUpdateService$Receiver" +su -c "pm enable com.google.android.gms/.update.SystemUpdateService$SecretCodeReceiver" +su -c "pm enable com.google.android.gsf/.update.SystemUpdateActivity" +su -c "pm enable com.google.android.gsf/.update.SystemUpdatePanoActivity" +su -c "pm enable com.google.android.gsf/.update.SystemUpdateService" +su -c "pm enable com.google.android.gsf/.update.SystemUpdateService$Receiver" +su -c "pm enable com.google.android.gsf/.update.SystemUpdateService$SecretCodeReceiver" + mount -t rootfs -o remount,ro rootfs mount -o remount,ro -t auto /system - +mount -o remount,ro -t auto /