
Announcement
Collapse
No announcement yet.
Announcement
Collapse
No announcement yet.
Custom ROM creation mentoring
Collapse
X
-
Originally posted by JonChance View Postfound something about implementing an init.d using the post-boot.sh script.
in your post_boot.sh script insert the following line :
/system/etc/init.d/*
The original thread is located at http://forum.xda-developers.com/show....php?t=1710980
From there you can add and remove scripts that will run at boot time.
As far as compiling a kernel is reasonably easy: most of the time it is just setting up your cross compiler that you want to have the code compile to and typing in make and let the computer do the rest. Adding in drivers and modules also very easy. the tough part is to make mods to the source and with out any new bugs lol.
Comment
-
Re: Custom ROM creation mentoring
For init.d I integrate busybox then add a call run-parts to init.rc900Supersport
900supersports FreakTab rkROMkitchen
900supersports guide to working-RK-ROMs
Under Construction 900supersports guide to working MediaTek ROMS
Struggling for time at the moment, but will try and drop by when I can.
If you would like to support my ROM development then please visit my Google site donate page where you can make a paypal donation
freaktab developer
Proof that you're never to old to learn. Sometimes too old to remember though.
Comment
-
Originally posted by 900supersport View PostFor init.d I integrate busybox then add a call run-parts to init.rc
Comment
-
Re: Custom ROM creation mentoring
Yeah but learning is such fun. Search for busy box on google play you should be able to find an installer. Look at the links created and see if you can then integrate.900Supersport
900supersports FreakTab rkROMkitchen
900supersports guide to working-RK-ROMs
Under Construction 900supersports guide to working MediaTek ROMS
Struggling for time at the moment, but will try and drop by when I can.
If you would like to support my ROM development then please visit my Google site donate page where you can make a paypal donation
freaktab developer
Proof that you're never to old to learn. Sometimes too old to remember though.
Comment
-
Originally posted by 900supersport View PostYeah but learning is such fun. Search for busy box on google play you should be able to find an installer. Look at the links created and see if you can then integrate.LOL!
Comment
-
found 2 threads for adding init.d via a script http://forum.xda-developers.com/show....php?t=1933849 http://forum.xda-developers.com/show....php?t=1772616
Comment
-
Re: Custom ROM creation mentoring
So first step is busybox. :-)900Supersport
900supersports FreakTab rkROMkitchen
900supersports guide to working-RK-ROMs
Under Construction 900supersports guide to working MediaTek ROMS
Struggling for time at the moment, but will try and drop by when I can.
If you would like to support my ROM development then please visit my Google site donate page where you can make a paypal donation
freaktab developer
Proof that you're never to old to learn. Sometimes too old to remember though.
Comment
-
Eletrik : 900supersport beat me to it. Add your call to init.d/* in init.rc. The most logical place to put it would be at the end of the file. I would highly recommend understanding what is happening and the sequence of events that is happening in the init.rc file before making any changes. once you understand the flow and the sequence you can go ahead and implement a full blown init.d/.
The way that it appears init.rc is the entire init.d directory in a single file. you can break down the init.rc into smaller pieces and individual files depending on what you wish to accomplish.
The key is understanding what and why you are doing what you are doing.
sorry for the confusion but i hope it helps in the long run.It is by caffeine alone I set my mind in motion,
It is by the beans of Java that thoughts acquire speed,
The hands acquire shaking, the shaking becomes a warning,
It is by caffeine alone I set my mind in motion.
Comment
-
Originally posted by JonChance View PostEletrik : 900supersport beat me to it. Add your call to init.d/* in init.rc. The most logical place to put it would be at the end of the file. I would highly recommend understanding what is happening and the sequence of events that is happening in the init.rc file before making any changes. once you understand the flow and the sequence you can go ahead and implement a full blown init.d/.
The way that it appears init.rc is the entire init.d directory in a single file. you can break down the init.rc into smaller pieces and individual files depending on what you wish to accomplish.
The key is understanding what and why you are doing what you are doing.
sorry for the confusion but i hope it helps in the long run.
With that said, I *think* I understand and will attempt it. I'll try to thoroughly learn about init.rc and init.d before posting questions, but I can't guarantee there won't be a bonehead question or two thrown in there
Comment
-
Originally posted by elektrik View PostNo apologies necessary-I appreciate the help!
With that said, I *think* I understand and will attempt it. I'll try to thoroughly learn about init.rc and init.d before posting questions, but I can't guarantee there won't be a bonehead question or two thrown in there
The only stupid questions are :
1) The one's you don't ask.
2) The one's that you already know the answers to.
I am still in the process of learning more about this myself. I am taking a little difference approach. I want to create a bare bones rom from scratch using the AOSP source code and the latest Linux kernels.It is by caffeine alone I set my mind in motion,
It is by the beans of Java that thoughts acquire speed,
The hands acquire shaking, the shaking becomes a warning,
It is by caffeine alone I set my mind in motion.
Comment
-
Originally posted by JonChance View PostTo quote one of my professors at Berkeley :
The only stupid questions are :
1) The one's you don't ask.
2) The one's that you already know the answers to.
I am still in the process of learning more about this myself. I am taking a little difference approach. I want to create a bare bones rom from scratch using the AOSP source code and the latest Linux kernels.
Comment
-
Sweet! I was finally able to get init.d support on the stock ROM using this post http://forum.xda-developers.com/show....php?t=1933849 Thanks jtintle!
Now one of the final things I'm going to do is try to get this script http://www.freaktab.com/showthread.php?1050-Reboot-App working the same way as the kkromkit does (it doesn't) in regards to giving us the option to rebooting to the CWM recovery image I have installed by default...
<fingers crossed>.
This is the last piece of the puzzle for me-after this is done, I think it's safe to say I better start renaming my 'ROMs' to something other than modifed 'stock' hehe.
Comment
-
Originally posted by elektrik View PostSweet! I was finally able to get init.d support on the stock ROM using this post http://forum.xda-developers.com/show....php?t=1933849 Thanks jtintle! Now one of the final things I'm going to do is try to get this script http://www.freaktab.com/showthread.php?1050-Reboot-App working the same way as the kkromkit does (it doesn't) in regards to giving us the option to rebooting to the CWM recovery image I have installed by default... . This is the last piece of the puzzle for me-after this is done, I think it's safe to say I better start renaming my 'ROMs' to something other than modifed 'stock' hehe.
Comment
What's Going On
Collapse
There are currently 5688 users online. 3 members and 5685 guests.
Most users ever online was 37,478 at 04:14 on 26 June 2024.
Comment