getting and cleaning  data produced by Samsung smartphone