So here's what I'm thinking. I currently have reborn rom and xionia recovery. I've done a Titanium backup, and a nandroid, and sent all SD contents, including these to my laptop. In order to install the internal version I need to:
1. Install a new recovery (unless xionia works). I'd like a recovery that will load my xionia nandroid backups. Should I go CWM or TWRP?
1a. I haven't flashed a recovery since I first got my S. Can I flash a recovery from inside Xionia? Got to use adb? What's best?
2. If Xionia backups won't load on new recovery, I'll do a new nandroid.
3. Per bigsupersquid, i format Internal system, Internal data, and Internal cache
3a. install rom zip
3b. reboot, let it load up completely
4. From here I'll use my script to move cache, dalvik, /system/media, /system/tts, and other system folders if necessary to SD. Here's what my script looks like so far:
Code:
#!/system/bin/sh
# from A
sync;
setprop 1k.filesystem.ready 1;
# empty mount permission sdext2
busybox mount -o rw,remount -t rootfs rootfs /
busybox rm -rf /data/sdext2
busybox mkdir /data/sdext2
busybox mount -o rw,nosuid,nodev,noatime,nodiratime -t ext2 /dev/block/vold/179:2 /data/sdext2
busybox chmod 0771 /data/sdext2
# move cache & bind-mounts it
busybox mkdir /data/sdext2/cache
cp -r /cache/* /data/sdext2/cache
umount /cache
busybox mount -o bind /data/sdext2/cache /cache
busybox chown 1000:2001 /data/sdext2/cache
busybox chmod 0771 /data/sdext2/cache
busybox chown 1000:2001 /cache
busybox chmod 0771 /cache
# edited from mvdalvik.sh
if [ ! -d /data/sdext2/cache/dalvik-cache ]
then
busybox rm -rf /data/sdext2/cache/dalvik-cache /data/dalvik-cache
mkdir /data/sdext2/cache/dalvik-cache /data/dalvik-cache
fi
busybox chown 1000:1000 /data/sdext2/cache/dalvik-cache
busybox chmod 0771 /data/sdext2/cache/dalvik-cache
# bind mount dalvik-cache
busybox mount -o bind /data/sdext2/cache/dalvik-cache /data/dalvik-cache
busybox chown 1000:1000 /data/dalvik-cache
busybox chmod 0771 /data/dalvik-cache
# move system/media & bind-mounts it
busybox mkdir /data/sdext2/system /data/sdext2/system/media /data/sdext2/system/tts
cp -r /system/media/* /data/sdext2/system/media
cp -r /system/tts/* /data/sdext2/system/tts
busybox mount -o rw,remount /dev/block/mtdblock5 /system
busybox rm -rf /system/media /system/tts
busybox ln -s /data/sdext2/system/media /system/media
busybox ln -s /data/sdext2/system/tts /system/tts
busybox chown 0000:0000 /data/sdext2/system
busybox chmod 0755 /data/sdext2/system
busybox chown 0000:0000 /data/sdext2/system/media
busybox chmod 0755 /data/sdext2/system/media
busybox chown 0000:0000 /system/media
busybox chmod 0755 /system/media
busybox chown 0000:0000 /data/sdext2/system/tts
busybox chmod 0755 /data/sdext2/system/tts
busybox chown 0000:0000 /system/tts
busybox chmod 0755 /system/tts
busybox mount -o ro,remount /dev/block/mtdblock5 /system
# remove debugger memory dumps
busybox rm -rf /data/tombstones/*
Yes, I know it's ugly. I'm an ubernovice. Any advice would be greatly appreciated.
5. If and when i get my script working, I'll reboot into recovery and install the full gapps zip, CrossBreeder, an entropy generator, speed tweak and adblocker (Mounting Internal system and Internal data before flashing to insure they'll stick).
6. I'll flash the Sprint fix (although, I'm on ting. Should i be concerned?)
7. I'll reboot, configure Wi-Fi, sign into google account and let it complete sync.
8. I'll reboot again before using play store and restore apps through titanium backup.
Any advice before I bite the bullet. I'm so paranoid, this being my only phone.
And btw, since I haven't said it enough, THANKS, to all who've been working/testing/whatever on the KitKat Optimus S builds. Y'all are awesome!
Sent from my Nexus 7 using AC Forums mobile app