1. Download the #1 Android News App:   EarlyBird - News for Android
    Dismiss Notice

What is the fastest way to compile, if none, to test android code/OS changes?

Last Updated:

  1. riccati

    riccati New Member

    Are there any developers here? I cannot seem to find an android development forums so I will ask here. (or you can refer me to any forums you know)

    I have found that the equivalent of "udev" in Android OS is the init.rc. The problem is after I edited the init.rc file, and compiled for about 2 hours, my changes just didn't work! A simple

    Code (Text):
    1. on device-added-/dev/sda1
    2.     mount -t vfat /dev/sda1 /usbdrive
    4. on device-removed-/dev/sda1
    5.     umount /usbdrive
    didn't work!

    Is there a way to test my changes to init.rc file without recompiling the whole Android OS? How do developers test changes to Android OS? Do they always wait for 2 hours (normal computers) before they can check if their modifications worked? It's not efficient this way...


  2. Frisco

    Frisco =Luceat Lux Vestra= VIP Member

    Hello Riccati, welcome to Android Forums.

    I've moved your technical query to the "Development 101" section of the Android Development forums where, although not a perfect fit, you're more likely to get responses than in the Android Lounge area.

    Good luck. :)
  3. riccati

    riccati New Member

    Thanks Frisco! I hope I can get some response or tip.

Share This Page