text editors
Just one thought, while I love Lichans instructions (havn't tested them sadly), I feel inlined to point out one thing. Though this may be obvious to at least some.
Notepad in particular is notorious for using well lets just say 'unorthodox' word wrap and character separators. Because of this a lot of code written in a unix/linux/or programming editor is going to format things very weirdly and you won't be able to properly read things. Personally I recommend a good c/c++ editor (I use devc++ from bloodshed for most of this type of work) but you could also look at gedit for windows.
Otherwise notepad might work for you, but I usually have too many headaches when I use notepad.
EDIT: Since android is built using java, if you intend on working on more android code I would probably recommend an editor that is gauged for java rather than c/c++ - I have my editors already on my PC from being an admin on a mud, all that code is lpc. The main difference is some editors include different libraries. Having said that a c/c++ editor will still work, it just comes down to personal preference
You would create them in Notepad or Wordpad on Windows and then push them to your phone using ADB after mounting /system as rw (read/write) or using Root explorer to mount it rw. Then you would make it executable with adb shell and a "chmod 775" command. You can also edit it with Root Explorer once it's there if you need to make corrections. Scripts in init.d directory are executed in alphabetical order in the boot process and remember that digits come before letters in this order, so sometimes you see file names like 11mount or 20userinit. If you know Unix line editors like edlin or edit you can use them from Terminal Emulator on you phone, also.
Just one thought, while I love Lichans instructions (havn't tested them sadly), I feel inlined to point out one thing. Though this may be obvious to at least some.
Notepad in particular is notorious for using well lets just say 'unorthodox' word wrap and character separators. Because of this a lot of code written in a unix/linux/or programming editor is going to format things very weirdly and you won't be able to properly read things. Personally I recommend a good c/c++ editor (I use devc++ from bloodshed for most of this type of work) but you could also look at gedit for windows.
Otherwise notepad might work for you, but I usually have too many headaches when I use notepad.
EDIT: Since android is built using java, if you intend on working on more android code I would probably recommend an editor that is gauged for java rather than c/c++ - I have my editors already on my PC from being an admin on a mud, all that code is lpc. The main difference is some editors include different libraries. Having said that a c/c++ editor will still work, it just comes down to personal preference
Last edited: