Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Most ROM install instructions look like...

  1. Boot into recovery
  2. Wipe Data
  3. Flash ROM
  4. Reboot
  5. Boot into recovery
  6. Flash any Mods
  7. Reboot
  8. Done

Mods are modifications to the ROM code. For example, replacing the Power Off menu with one that includes the option to reboot instead of just shut down.

Why are steps 4 & 5 needed? I'm having a hard time seeing the purpose. Each reboot the cache rebuilds. Why not just do it once?

share|improve this question
Because the "developer" doesn't have a clue about what's he doing and why so he makes you do idiotic things. That's why. – Richard Borcsik Aug 24 '12 at 18:26
I always thought this had to do with the ROM being deodexed and that the apks are odexed on the first boot, but it's just an unconfirmed impression I have, that's why this is not an answer. – onik Aug 24 '12 at 18:31
It definitely does something during that reboot. I think the developer knows exactly what he's doing. The first boot of a new rom always takes longer than subsequent boots. I'm not sure exactly what it's doing, but presumably it's something that is required to flash most mods. – SaintWacko Aug 24 '12 at 19:21
Richard Borcsik, you seem to have the most knowledge on the matter. Can you answer why this is such an idiotic thing? Make it an answer instead of a comment would be appreciated. Thanks. – GollyJer Aug 25 '12 at 21:38
On the first boot after a wipe (factory-reset/dalvik-cache-wipe), the Dalvik-Cache is rebuilt (@onik has been very close: yeah, that's the *.dex files). So if any mod is going to manipulate those, they need to be there in the first place. I'm just confused that your steps do not include a wipe of the Dalvik Cache... – Izzy Dec 22 '12 at 14:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.