Why do ROM developers put BusyBox in their ROMs? - HTC One X

Why?

It is needed to have root on your device. Google it, to get more details
Sent from my HTC One X using xda premium

I myself dont know and it would be nice to have an explanation here as most of us are new to this rooting and bricking jargon simple explanations of these things will help "COMMUNITY" members hence why we have a section
HTC one X Q&A
It very easy to tell someone Google it
as Einstein said: "If you cannot explain it simply then you don't understand it well enough"
check this video out I found it, however I cannot view it due to Admins blocking Youtube http://www.google.co.za/url?sa=t&rc..._92TCg&usg=AFQjCNGRf354aisVBQXiO8jVypBAj91PLg
Edit:
Not my intention to be Rude but this is a Q&A and we need to be helpful as a Community not make people not want to ask questions

BusyBox is a package containing a whole range of "program commands" and/or "scripts" (tools). It is with these extra tools, specific tasks can be performed.
Once a custom ROM has BusyBox installed, it means that scripts on the ROM and apps in the ROM can use make use of the tools to perform their tasks.
For example "dd" is a known linux command/tool for block-by-block copying and dumping. However "dd" does not exist until BusyBox is installed. Other popular tools are "uname" to get the kernels name/details, and "ls" is to list the contents of a directory/folder (similar to "dir" in DOS). There are about 50 or more of these commands packaged inside "BusyBox". Whenever there are new versions of BusyBox installed (as you may see in the changelogs for some custom ROM's), this is simply because BusyBox has included either new versions of some of its tools, or perhaps added additional tools to the package.
Hope that helps answer your question. However to be honest, I found all that out by SEARCHing this forum.
- WizzKidd

wizzkidd said:
BusyBox is a package containing a whole range of "program commands" and/or "scripts" (tools). It is with these extra tools, specific tasks can be performed.
Once a custom ROM has BusyBox installed, it means that scripts on the ROM and apps in the ROM can use make use of the tools to perform their tasks.
For example "dd" is a known linux command/tool for block-by-block copying and dumping. However "dd" does not exist until BusyBox is installed. Other popular tools are "uname" to get the kernels name/details, and "ls" is to list the contents of a directory/folder (similar to "dir" in DOS). There are about 50 or more of these commands packaged inside "BusyBox". Whenever there are new versions of BusyBox installed (as you may see in the changelogs for some custom ROM's), this is simply because BusyBox has included either new versions of some of its tools, or perhaps added additional tools to the package.
Hope that helps answer your question. However to be honest, I found all that out by SEARCHing this forum.
- WizzKidd
Click to expand...
Click to collapse
^^ hit the nail on the head. That's not to say that busybox is the ONLY way to get those tools. It's just the slimmest. There are more robust gnu equivalents of the tools that it includes, but they're nowhere near its tiny footprint.
Busybox is a pretty neat application though, since all of the tools that it provides are housed in one binary (busybox). The other commands operate with symlinks named appropriately for their function (su, etc.). The binary detects the name of the symlink that invoked it and behaves appropriately. It's commonly used in environments where not much space is available (recovery environments, embedded systems, etc.)
--Matt

jinkira said:
I myself dont know and it would be nice to have an explanation here as most of us are new to this rooting and bricking jargon simple explanations of these things will help "COMMUNITY" members hence why we have a section
HTC one X Q&A
It very easy to tell someone Google it
as Einstein said: "If you cannot explain it simply then you don't understand it well enough"
check this video out I found it, however I cannot view it due to Admins blocking Youtube http://www.google.co.za/url?sa=t&rc..._92TCg&usg=AFQjCNGRf354aisVBQXiO8jVypBAj91PLg
Edit:
Not my intention to be Rude but this is a Q&A and we need to be helpful as a Community not make people not want to ask questions
Click to expand...
Click to collapse
The main reason people here get told to Google a problem is because more likely than not, the answer you'll get from the search engine will be a page from XDA...
There's also a search box within XDA too, I found these pages using it, they would have answered the OPs question, there wasn't really a need for this thread.
Not trying to be rude but the search is there for a reason and these questions have been asked hundreds of times before
http://busybox.net/FAQ.html#whatis

thank you all for the feedback it is much appreciated
oh and I did do a search but only on the HOX forum not the entire site, and Searching only th HOXX forum there were fragmented pieces of info, but anyways Thanks you guys

Related

noob question: kitchen vs tools..same?

Newbie question. I don't understand, what is difference between a kitchen and tools like mamaich's ? At first I thought they were the same but now I'm not sure because I keep seeing references that don't make sense.
Post removed.
Post removed? That's it? Pardon me....Look, I know this is a newbie question but I am honestly confused as to what the definition of kitchen is. If I use mamaich's tools to prepare, view, etc. I end up with what seems, to me, to be a similar thing as a kitchen. Are they the same? Is there something about a "kitchen" that is fundamentally different than only using the tools? I have read many, many pages here and I'm honestly trying to understand. Please point me in the right direction. Thank you.
edit: sorry, I thought "post removed" in the earlier post meant I got my message removed from the forum by an admin, anyway, my question still stands.
Since the unhelpful member above failed to give you a decent answer, I will help you. Tools are either a program or a set of programs designed to do a task with the roms (for example, Mammich's tools are designed to help you edit the imgfs part of the rom). A kitchen is a set of tools (made by various people) designed to edit the whole rom or most of the rom and build your own custom roms.For future reference, if you ever have any other questions about rom building, let me know and I will help you out as much as I can.
Thank you very much Steven855 and I appreciate the offer to help.
I originally gave an inadequate answer - thus the removed post. Home ill with the flu, Nyquilled up and forgot which section I was in (thought I was in the Kaiser specific section and gave an answer associated with that). No ill intentions, so to speak.
What I will say is the various tools are something a newbie should probably feel comfortable using. Before using a kitchen, read, learn and flash a number of others' custom ROMs. While the great developers here have made cooking custom ROMs very easy with the kitchens, you can cause a lot of problems with your device if you don't know what you're doing.
No ill intentions taken. Like I said, at first I misunderstood and thought my post got nixed by an admin. btw notwithstanding Steven855's helpful answer, I had my question answered earlier on another thread when the same question came up.
Quote originally Posted by ramsses:
My understanding is the kitchen implies each module (with its associated registry - RGU - files and dlls etc.) is explicitly separated so it can be incrementally and selectively combined. What we are doing here is taking an existing set of ROMs and combining the dlls, exe etc. by hand - there isn't a handy gui where you can select which module you want. Also, the registry is necessarily hand crafted too. So by using the extract/rebuild tools, we are making a ROM, but it isn't a kitchen, more a roadside burger van!
Thanks again, really enjoying this site, and learning alot.
Steven855 said:
Since the unhelpful member above failed to give you a decent answer, I will help you. Tools are either a program or a set of programs designed to do a task with the roms (for example, Mammich's tools are designed to help you edit the imgfs part of the rom). A kitchen is a set of tools (made by various people) designed to edit the whole rom or most of the rom and build your own custom roms.For future reference, if you ever have any other questions about rom building, let me know and I will help you out as much as I can.
Click to expand...
Click to collapse
Hi Steven. I was wondering if you knew about ROM cooking for Verizon CDMA devices..ie the i730? I was looking around to see where I would be able to find the bootloader for it but I haven't found any answers yet. Thanks.
Sorry! Unfortunately, I don't know anything about rom cooking for pocket pc phones (yet). I'm still trying to get the hang of this rom building stuff myself (after 2 failed attemps to make an updated rom for the axim X50(mid)).

[Q] Which (Android) forum does my post belong in?

I have made an auto-installer for Linux that will download, install, and setup the Android SDK, NDK, Eclipse, ADB, and create a 99-android.rules file without the user having to do anything. I was curious which section I should post this in?
Tahl said:
I have made an auto-installer for Linux that will download, install, and setup the Android SDK, NDK, Eclipse, ADB, and create a 99-android.rules file without the user having to do anything. I was curious which section I should post this in?
Click to expand...
Click to collapse
Nice work!
I'd say in the Upgrading, Modifying and Unlocking forum itself, but I may be wrong. That's the general, non-device specific development forum, and forum for devices without their own forum.
Perhaps a Mod could clarify this for us? Oh Scotsman, where art thou?
Interesting, I didn't even think about that as a possibility, I was looking at the Android Software and Hacking General or Android Software Development. Mostly because that's where people asking about ADB were, but now I'm not sure.
To be honest I'd put it in all three, as it's a worthy addition to any Linux users' toolkit.
May want to double-check with someone who actually knows what they're talking about first, and possibly just post it in one place and get some user feedback first, so you know it works on all machines
Well, I've had quite a few testers and positive feedback on Linux Mint 11 and Ubuntu 11.04 for both the 32/64-bit versions. I just wanted to share it with xda-developers so that more people would be able to use it. It's already on RootzWiki and I've had people test it from my blog with some help from P3Droid's retweet power. The deb version I'm pretty confident in will work without many people having troubles. The .sh version that I also have hasn't been tested with any operating systems outside of that, but I'd like some feedback with people using apt-get and other operating systems.
I have asked Scotsman to come and provide a little clarification for us. I honestly think you've made a very vaulable contribution here, so thankyou from all of us far too stupid to do something like this!
I posted it in Android Software and Hacking General.
I thought that would be a good spot for it based on how many adb related guides and posts there were in that section. If Scotsman would like to move it or delete it though, I can gladly repost it in a more appropriate (or multiple) forums so that it can get more attention. I really appreciate the help you've given me too.
Hmmm...I'd say maybe Android Software and Hacking General or maybe Android Software Development? Since it's only Android specific...
I'll stick to the Hacking General then, I think that I saw the most related material there while I was posting. Thanks for the help you two, I appreciate it.
You're welcome mate, I wish everyone's first few posts could be as productive
Enjoy your time at XDA! Let me know if I can help with anything else

Need help

Dear All,
I have recently got a new gts2. This is my first time using and Android phone. So may be you can guess that I am pretty naive and amateur in terms of all the technical stuff.
I have some questions that I would like someone to answer. (Although the questions might be very silly and simple for some).
What is lightening rom?
Should I flash or stay on what I have
How do I change to lightening rom (the procedure)
Which one is the best
What is Kernel and can I flash any kernel?
my android version is 2.3.3
kernel is 2.6.35.7 - i9100xxwkdd (dont know if this helps)
gingerbread.jpkg2
A detail reply would be really appreciated.
Thanks
1. The name of the rom. Called this because it is claimed to be fast as lightening.
2. If you're satisfied with it, then stay. If not, then change.
3. See here: http://forum.xda-developers.com/showthread.php?t=1095274
4. No answer. Reason: Different people have different opinions/preferences. I may not like one which you may like.
5. Did a quick search and found this: "An operating system kernel is the piece or pieces of software that is responsible for servicing resource requests from applications and the management of resources. A kernel has facilities to receive resource requests and grant access to resources such as allocating space for a new file or creating a network connection. To generalize, kernels use a system call (or syscall) interface to handshake with applications."
No you cannot flash any kernel. You have to flash a kernel made specifically for your device.
Thanks my friend. I really appreciate your efforts for replying to my question.

Thanks for the useful info and nice forum(an Introduction)

I am a new owner of an Acer a100(16GB) (currently 1.018.05_COM_GEN2) Android v3.2 and wanted to introduce my self and offer my assistance with A100 development in any way.
I'm an Android noob, but I use Linux and have done some shell scripting(Perl, Bash, Sed, Awk, a little javascript), and I am in the process of learning Java. I have also modded other devices before like PS2, PSP. So I am looking forward to learning more about Android and since I have an a100 this seems like a good place to spend some time.
So far I have just rooted my device via the Terminal Emulator method(I do have Eclipse IDE with Android SDK, ADT installed and working and should be setup help compile), got superuser, busybox, titanium, Avast installed. I also made a backup of my recovery image with dd in a shell, and did the AND to WIN hex edit(w/ Bless) of libflashplayer.so for Flash 11 so I can watch hulu, etc via Dolfin HD. I also made a Bash(run via Terminal IDE) script to re-apply the modified file after a shutdown which for now I have installed into /data/data/com.spartacusrex.spartacuside/files/bin (aka: ~/bin).
I will probably post my hulu script and lib file with some instructions later. It's basic but effective script that does some file checks and error correcting before it catenates the source file and redirects to destination. Later I may add a few more checks like making sure its running as superuser, and some post file mod checks.
Im still trying to figure out what else we can do, and how to do various things within Android at this point. So far its a fun little setup.
I wanted to say THANKS to everyone here. This place is a great resource. Special thanks to everyone that has been working on the Development end. I look forward to trying to make my self useful.
Welcome Hope you enjoy this device as much as I do.
As far as helping development, you should really check out the bypassing the bootloader thread in this forum, that's where the brainstorming is taking place atm.
Yes, we are *trying* to bypass the bootloader somehow, Crossix is getting a working kernal going while others are looking into methods of applying a work around. Your help will be much appreciated. Welcome to the Forums, and as stated above, the A100 is a great device that has a lot going for it if we can get some work done on it.
As far as helping development, you should really check out the bypassing the bootloader thread in this forum, that's where the brainstorming is taking place atm.
Click to expand...
Click to collapse
Yep I have been reading it and looking around trying to get an idea of what the typical solutions/workarounds are used on other Android devices.
I don't think I have access yet to the developer area yet.
Welcome to the a100 forums, it's always nice to have another dev working on this thing!
Development forums require 10 posts to be able to use them, so just remain active in general/QA and you'll have access in no time.
Congrats on your New Tab

[Q] Init.d support for 32.4.A.0.160

Hey everyone.
Can someone please tell me how to enable init.d support without magisk on 32.4.A.0.160 firmware, xperia z5 premium e6833. I am using ta poc+SuperSu arrangement and want to use some init scripts.
Regards
Adil
Isn't there anyone using init.d with SuperSU?
Well then can someone then please tell me how to use service.d or post-fs-data.d scripts. I have tried to use it but
1) In service.d, mounting scripts don't work or may be i am doing something wrong, do point out the error. I am just creating scripts and putting them in magisk/.core/service.d folder with permission 0755.
2) I have no idea how to use post-fs-data.d. I read somewhere that magisk runs those post-fs-data scripts that are included in the modules only and not the individual scripts themselves.
Please tell me how to run my scripts through any of these ways.
Regards
Adil
P.S: Don't just view the thread, try to help others, I mean that's why we all are here right! To learn...
I'm not sure why no one is answering or helping around here. Personally, I don't know how to help you. so I'm sorry. I may suggest asking in the Android general chat, not specifically this phone series. as even my own question has fallen on deaf ears. I found answers on other sites instead and am following on with those sites.
the Z5p seems to have become a bit of a graveyard now since anyone able or willing to develop for it has moved on to other devices, I've even looked into building myself but I need a more powerful computer so i'm stuck with what i'm able to find online.
I hope you figure out what you need to, to sort your problems. but my advice would be to not limit yourself to just one device forum. the question you ask is an android related question, not just for the model of phone you use. at least this is how I think it is. I could be wrong.
but if there is no one here to answer your question, i don't see any issue with the question being brought up in a forum with a wider reach.
Patrick Morgan said:
I'm not sure why no one is answering or helping around here. Personally, I don't know how to help you. so I'm sorry. I may suggest asking in the Android general chat, not specifically this phone series. as even my own question has fallen on deaf ears. I found answers on other sites instead and am following on with those sites.
the Z5p seems to have become a bit of a graveyard now since anyone able or willing to develop for it has moved on to other devices, I've even looked into building myself but I need a more powerful computer so i'm stuck with what i'm able to find online.
I hope you figure out what you need to, to sort your problems. but my advice would be to not limit yourself to just one device forum. the question you ask is an android related question, not just for the model of phone you use. at least this is how I think it is. I could be wrong.
but if there is no one here to answer your question, i don't see any issue with the question being brought up in a forum with a wider reach.
Click to expand...
Click to collapse
Thanks bro, I will try it in general forums. I just asked here so someone can just find a workaround for the device specific kernel....
Hello there im using init.d wirh magisk module thats called simple init.d enabler also if u have not magisk, init.d flashable zip available

Categories

Resources