1. kirurus's Avatar
    I've been playing with int.d scripts and accidently deleted the 03firstboot file. I was wondering what scripting was involved in it on an IHO build.
    04-01-2012 09:52 PM
  2. JerryScript's Avatar
    It runs firstboot.sh, if it exists, then deletes it. that's about it.
    04-01-2012 09:56 PM
  3. kirurus's Avatar
    Thanks Jerry. So I found the right scripting for it then. But I guess, from that info you provided, that after you boot into the rom for the first time, the file is no longer needed?
    04-01-2012 10:05 PM
  4. JerryScript's Avatar
    That's right. It's used primarily on devices that require proprietary apps, and in such cases will install the apps during firstboot. Some even use secondboot, thirdboot, and even fourthboot scripts for advanced installation requirements (I believe they set a persist.sys.PROP to keep track of boots). On the OV, we only need proprietary libs and binaries, so we don't make use of the firstboot scripts.

    There are tons of other ways you could use it. I played around with the idea of an elaborate April Fools joke that would use it to erase all evidence of the joke after first boot. Thought better of it when I was browsing through some of the "Help I Bricked My Phone" threads, some people are just too gullible.

    If some intrepid script writer (perhaps you) wants to take some time to write the appropriate firstboot.sh, it could be used to initialize some of the *2sd functionality during the first boot up after flashing an updated ROM. I don't use any of the *2sd scripts, but I know lots of people do.
    04-01-2012 10:54 PM
  5. sellers86's Avatar
    That's right. It's used primarily on devices that require proprietary apps, and in such cases will install the apps during firstboot. Some even use secondboot, thirdboot, and even fourthboot scripts for advanced installation requirements (I believe they set a persist.sys.PROP to keep track of boots). On the OV, we only need proprietary libs and binaries, so we don't make use of the firstboot scripts.

    There are tons of other ways you could use it. I played around with the idea of an elaborate April Fools joke that would use it to erase all evidence of the joke after first boot. Thought better of it when I was browsing through some of the "Help I Bricked My Phone" threads, some people are just too gullible.

    If some intrepid script writer (perhaps you) wants to take some time to write the appropriate firstboot.sh, it could be used to initialize some of the *2sd functionality during the first boot up after flashing an updated ROM. I don't use any of the *2sd scripts, but I know lots of people do.
    You're an evil man, Jerry. I was at work when I found out about the update, downloaded and was in a hurry so i forgot to nandroid. Then i get your april fools animation. I thought I was screwed til I got home haha.
    JerryScript likes this.
    04-01-2012 11:07 PM
  6. flapjack.fiasco's Avatar
    I've helped a few friends install custom ROMs on other phones, and I've noticed that during installation, in the terminal output in recovery, they have ASCII art, and the install seems more verbose than any of the OV ROMs that I've tried. What file(s) handle this output during installation?

    Sent from my LG-VM670 using Tapatalk
    04-01-2012 11:14 PM
  7. JerryScript's Avatar
    That's most likely just the updater script having a bunch of ui_print("ASCII ART HERE"); being added.

    CyanogenMod uses a small banner at the beginning of logcat as well.
    04-01-2012 11:21 PM
LINK TO POST COPIED TO CLIPBOARD