EEPROMWearLevel bases on the EEPROM library included in the Android framework. It reduces EEPROM wear by writting a new value to an other EEPROM location. The current location is stored by writing a single bit for every EEPROM location. When all are used, it starts again on the first location.