attampt to fix factory reset for secondary fs

Change-Id: I33c626f7bcc93cabd7d0b20b5cc8ae7444c35ead
optimzed install to different filesystems (primary/secondary) + maybe fix data wipe

Change-Id: I9f7d1d799e67b862f8d05d94be9ae087b4974965
fix data wipe for sure + some code cleaning

Change-Id: I389dd294c2e922aa10752f244982228da0d23471