[Galaxy S II Q&A, Help & Troubleshooting] gt7599a:
Same issue, different ROMs

After having this issue on a number of CM10 nightlys I tried both

pac_i9100-22.2.0-rc1.zip &

aokp_i9100_jb-mr1_milestone-1.zip, no modifications to the kernal in any of the ROMs.

Short version is after I encrypt the phone one, two sometimes three reboots later, /storage/sdcard0 doesn't mount.

Is there some Samsung Rom other than the one I'm using that I should use to clean up the phone between custom roms?

Are any of yall running encryption on an i9100 with one of these ROMs without issue? Knowing that would be helpful since it would (probably) mean there's something in my device that's causing the issue and not the ROMs.

Any help would be greatly appreciated.

Ed

Details of process followed below

Downloaded pac_i9100-22.2.0-rc1.zip
http://xdaforums.com/showthread.php?t=2203444
verify md5
Wipe Data/Factory Reset (This does not affect your Internal/External storage)
Format /System (This does not affect your Internal/External storage)
Format /sdcard (cause it was encrypted
tried sideload, didn't work
adb shell mount -t tmpfs none /sdcard
adb push D:\Download\Android\Rom\PACman\pac_i9100-22.2.0-rc1.zip /sdcard
adb push D:\Download\Android\Rom\CM10\gapps-jb-20130301-signed.zip /sdcard
Flash Gapps
Wipe Cache
Wipe Dalvik Cache
Reboot

Errors 'cause there's no /sdcard ln to /storage/sdcard0
okay, its there... but the system isn't seeing it in storage but it is seeing it if I use file manager. so... I'm confused. ODIN here we come.

ODIN I9100XWLSN_I9100XXMS2_I9100OXXLS8_HOME.tar.md5
Samsung Stock 4.1.2 Rom
Let is reboot
get error
"Encryption Failed
Unable to complete encryption due to interruption. perform factory data reset (erasing all you data) before use. After resetting, try encrypting device again."

click reset device
Wonder if custom roms are worth all this trouble?
Use stock Samsung rom briefly to enter wifi password
What a stupid UI,
Yes, its worth the trouble. (maybe)

Remove SDCard & format it fat32 cause samsung rom couldn't figure out to format it.
Flash GT-I9100_JB_ClockworkMod-Recovery_6.0.2.9.tar
reboot
Makes sound but doesn't boot.
Makes sound but doesn't boot. (again)
boot into CWM

CWM
Wipe data / factory reset
turn off, move rom & gapps to sdcard, restart CWM
Format /System (2x)
Flash ROM
Flash Gapps
Wipe Cache
Wipe Dalvik Cache
Reboot

Rom pac_i9100-22.2.0-rc1.zip
install everything
ecrypt
same issue

Tried aokp also

ODIN I9100XWLSN_I9100XXMS2_I9100OXXLS8_HOME.tar.md5
Samsung Stock 4.2 Rom
Let is reboot
get error
"Encryption Failed
Unable to complete encryption due to interruption. perform factory data reset (erasing all you data) before use. After resetting, try encrypting device again."

click reset device

install stuff
ODIN GT-I9100_JB_ClockworkMod-Recovery_6.0.2.9.tar
Reboot,
Crap, stuf not working

ODIN I9100XWLSN_I9100XXMS2_I9100OXXLS8_HOME.tar.md5
Samsung Stock 4.1.2 Rom
Let it reboot
encrypt, works
reboot, works
decrypt, works

ODIN GT-I9100_JB_ClockworkMod-Recovery_6.0.2.9.tar
Reboot,

CWM
wipe data / factory reset
Install aokp_i9100_jb-mr1_milestone-1.zip
install gapps-jb-20130301-signed.zip
reboot

AOKP
login wifi
sign in Google
see that both sdcard0 & sdcard1 are visible (both on PC & in Settings: storage)
encrypt
seems to be working

2013.06.13
ROM acted weird after nearly everything is set back up. <sigh>
reboot
can't mount sdcard0
gave me the option to decrypt but I reset it it during what I thought was a locked stage (but was probably decrypting), on the 2nd or 3rd decrypt attempt it said decrypt failed and set I needed to reset

Remove physical SDcard

CWM
Wipe Data / factory reset
doesn't wipe sd
try to partition SDcard, doesn't work
wipe cache
wipe delvik cache
try partition sdcard, doesn't work
fix partitions
try partition sdcard, asks but doesn't work
reboot recovery
wipe data factory reset
partition now an option

ODIN GT-I9100_XEU_I9100XWKI4_I9100XEUKH2_I9100XXKI1.tar.md5 Samsung Stock 2.3.6 GB Rom
Unable to get past boot menu
ODIN I9100XWLSN_I9100XXMS2_I9100OXXLS8_HOME.tar.md5	Samsung Stock 4.1.2 Rom
Let is reboot
get error
"Encryption Failed
Unable to complete encryption due to interuption. perform factory data reset (erasing all you data) before use. After resetting, try encrypting device again."

click reset device
Reboots