Did anybody ever try this procedure with WhiteNeo's CM12?
parted /dev/block/mmcblk0 rm 14
parted /dev/block/mmcblk0 rm 15
parted /dev/block/mmcblk0 mkpartfs logical ext2 1621 7865
parted /dev/block/mmcblk0 mkpartfs logical ext2 7865 15.6GB
parted /dev/block/mmcblk0 name 14 Userdata
parted /dev/block/mmcblk0 name 15 SDCard
/storage/sdcard1/fs-utils/tune2fs -j /dev/block/mmcblk0p14
/storage/sdcard1/fs-utils/tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p14
/storage/sdcard1/fs-utils/e2fsck -fpDC0 /dev/block/mmcblk0p14
chown -R 2800:2800 /mnt/media_rw/sdcard0
So i just exit terminal and, still in TWRP, wipe /data and /sdcard as @Kureiji said here: http://forum.xda-developers.com/show...&postcount=133
I just did it now, all from TWRP (never connected to my pc).
I have an Xperia T, CM12 (Android 5.0.2) by WhiteNeo, so with it's kernel (3.4.0-NEO-g705839e), release date 5th April 2015.
(as a remember, for me, to access TWRP just push volume up button when phone is booting)
First of all, I did a backup of all (every box checked) from TWRP and saved it in my sdcard1 (external sdcard).
Then, i physically removed my sdcard.
In TWRP, I went to "Mount" section and un-checked every box (which means to unmount them).
Advanced settings -> terminal. Let's say that I had many problems with keyboard... I tried some commands to be sure that I unmounted (the command is umount not unmount!) all correctly.
After that, I followed the guide @LeonardK posted here: http://forum.xda-developers.com/show...&postcount=122
Since here, everything went ok: terminal responded to every command with some warning or infos or something like that.
When i tried
the terminal said that the command doesn't exists (or a similar error, i don't remember, sorry). So i just exit terminal and, still in TWRP, wipe /data and /sdcard as @Kureiji said here: http://forum.xda-developers.com/show...&postcount=133
At last, i didn't do any of the following commands
as said here http://forum.xda-developers.com/show...&postcount=105, just rebooted my phone in Android System and it was (obviously) as i have just installed the ROM. I skip-skip-skip everything, went back to TWRP and restored my backup in sdcard1. Everything seems to work perfectly, I am doing some more tests
|Thread Tools||Search this Thread|