[Q] What's the difference between a device OS, apps, and firmware - General Questions and Answers

I've done some research but many sources seem to either use the terms interchangeably or as separate items. I figured no better place than get the info directly from xda users. So basically I am trying to figure out what the differences are between an android app, and android OS, and android firmware. Your explanation will be much appreciated.
Also while i'm here if anyone could tell me what the difference in unlocking a phone, rooting a phone, and flashing a phone is that would be great.
Thanks in advance!

Az Tek said:
I've done some research but many sources seem to either use the terms interchangeably or as separate items. I figured no better place than get the info directly from xda users. So basically I am trying to figure out what the differences are between an android app, and android OS, and android firmware. Your explanation will be much appreciated.
Also while i'm here if anyone could tell me what the difference in unlocking a phone, rooting a phone, and flashing a phone is that would be great.
Thanks in advance!
Click to expand...
Click to collapse
What a bunch of questions All informations are already written doen on XDA but i'll post a short overview
app = installable appliction e.g. a camera app or messenger app
OS = operating system ~ the installed Android version (e.g. Gingerbread 2.3 or KitKat 4.4). Can be preinstalled "stock rom" or a manually installed "custom rom"
firmware = all system partitions bundled in one archive. Can be used to restore phone. Every manufacturer has its own firmware format.
unlocking = Either sim unlock for using all providers OR unlock the "bootloader" which is needed for some phones if you want to install modified software e.g. a "custom rom" or "root acces"
"root access" means ability to read/write/delete to all partitions even e.g. system
"flashing" describes the installation process for e.g. a firmware or custom rom or any other system parts that can't be installed via Android itself.

Related

[Q] So what is a ROM?

Hi, I am new to the world of smart phones and would like to learn more about them. I've been reading threads about people changing their ROMs and how it can affect future software updates.
I've done some searching w/ "what is a rom" and "stock rom" but the results are in techno-wiz-lingo that's right over my head.
I have two (pretty basic) questions regarding ROMs.
1. What is a rom?
and
2. If I use Titanium Backup (and install its corresponding busybox), does this change my ROM?
Sorry for the 4th-grader-noob questions. Thanks in advance!
Cheers,
John
We all were there sometime in past, so no problem.
1. A ROM is a part of a non-volatile non-"erasable" memory in phone that hold the operating system and main applications; you can compare it to a premade install of an operating system in a Desktop computer (for example: windows 7 and what manufacturer applications has installed), the difference is that you can't modifiy a ROM directly from inside the phone.
Now, smartphones comes also with premade install os the OS, that's called 'stock ROM', a ROM that come from the phone manufacturer; some people are able to extract ROMs from certain models and modify (kitchen) it, fixing bugs, adding new features, even upgrading main OS version, in short improving what came from the manufacturer that's called 'custom ROM' and that's what xda-developers is all about, in the several forums you will see sections where they talk about improving phone usability.
2. I have no much experience with Android but it seems that titanium backup can backup all your user data, so you can flash a custom ROM to your phone then restore you user data back to your phone, so you won't need to readd everything back at hand (usually when you flash a new ROM to your phone, everything is wiped out and the phone is left blank).
Hope that helps.
Thanks Drakh, that helps a lot! I did some more reading on wikipedia. Looks like I have a bit more to learn.
Thank you also Drakh. I have a lot to learn also.

[Q] ROM's, Kernals, Recovery's and ROOTING?

Hi Fellow old and New Devs,
The title suggests it all. I have four questions that I think ALL newbies want to understand. I would try and explain them, but as I am just coming out of the newbie stage, I'm sure people would prefer an answer from a experianced Dev.
When answering a question please put the Question Number. Feel free to answer only one or two of the questions, I'm sure other people will cover your missing fields of knowledge.
Here they are:
1. What is rooting? Can I root my device (HTC Buzz Wildfire) and keep the stock interface? Will I loose my data?
2. What do all these Dev's mean by Recovery? What are they, why are they needed?
3. What is a ROM? Do I need to be rooted for a custom ROM? How can you trust them? Will I loose my data when installing a custom ROM?
4. What is a Kernal? How are they Different to ROM's? Should I change from the stock Kernal?
I know this is a tall order and you could write a book on the topic, but please could you write a short (a couple of sentaces will do) paragraph on each question you choose to do.
When we get enough understandable answers I will edit this post publish the Final answers for other newbies in the future.
Also feel free to enter the poll! As this is a Dev site I presume one of the options will have the most votes but we will see....
Cheers for any contribution in advanced.
th3ant
th3ant said:
Hi Fellow old and New Devs,
The title suggests it all. I have four questions that I think ALL newbies want to understand. I would try and explain them, but as I am just coming out of the newbie stage, I'm sure people would prefer an answer from a experianced Dev.
When answering a question please put the Question Number. Feel free to answer only one or two of the questions, I'm sure other people will cover your missing fields of knowledge.
Here they are:
1. What is rooting? Can I root my device (HTC Buzz Wildfire) and keep the stock interface? Will I loose my data?
2. What do all these Dev's mean by Recovery? What are they, why are they needed?
3. What is a ROM? Do I need to be rooted for a custom ROM? How can you trust them? Will I loose my data when installing a custom ROM?
4. What is a Kernal? How are they Different to ROM's? Should I change from the stock Kernal?
I know this is a tall order and you could write a book on the topic, but please could you write a short (a couple of sentaces will do) paragraph on each question you choose to do.
When we get enough understandable answers I will edit this post publish the Final answers for other newbies in the future.
Also feel free to enter the poll! As this is a Dev site I presume one of the options will have the most votes but we will see....
Cheers for any contribution in advanced.
th3ant
Click to expand...
Click to collapse
Okay, from the best of my understanding, here we go:
1: Rooting. To understand this, we must consider a computer, running linux, windows, or mac. In windows, the "Administrator" account is similar to the root account in linux and mac. Basically if you have root privileges in a system, you can modify every part of the filesystem, as well as perform any tasks the system is equipped to handle. Basically achieving root on an android device means that you can unlock the ability to flash roms, mod, and otherwise hack your device any which way you like. Nearly every model of android device has been rooted, so in most cases, yes you can root XXXXX phone. Also, since you're just gaining privileges, you can root without losing any data, apps, or settings.
2: Recovery. This is a long standing concept in SoC/Embedded device hacking. Basically it is a minimal operating system that performs some very basic, but very important tasks. The reason for it is so that you can write to the necessary areas on the NAND, which would be "busy" while android is booted. This offers a way to access the necessary partitions and write data to them while the data is not being accessed. It's also useful for backing up your NAND. Hence the name "nandroid."
3: ROM. By definition, it means "Read Only Memory." This is a chip on the board. ROM has evolved over the years. It started out as a chip that was sensitive to UV light. The earliest ROMs were "flashed" to a device by stenciling out the pathways and exposing the chip to UV radiation. Nowadays, we have fancy EEPROMs instead, which stands for Electronically Erasable Programmable Read Only Memory. This means that you can "flash" the chip by means of software, namely via Recovery mode in our case. Different ROMs have different features. They are all variations on source code made available by AOSP, or the android open source project. Some projects have their own code tracking, such as CyanogenMod. In most devices, you must be rooted to be able to install a ROM, however it is not explicitly necessary. A bit vague, I suppose. Specifically the tablet I own, the WITS a81e, you can flash a ROM to it just by putting the correct files on the TF card. This is not very common with phones, however. Flashing any rom that is not just a newer version of your current ROM will require a full format. For instance, if you have cyanogenmod and switch to a Sense or Blur ROM, you must format, but if you update from CM6 to CM6.1 you will not need to wipe. How can you trust ROM's? Well the best way to know is to either roll your own, or go with CyanogenMod, as their source is freely and easily available for scrutiny and improvement, along with a nice changelog tracker.
4. Kernels. A kernel is basically the most low level part of an operating system. It interfaces directly with the processor and provides all instruction for operation. Linux is technically not an operating system, it's a Kernel. The different distributions have the Linux kernel, and use their own different User Interfaces. Different kernels in android devices can allow you to overclock. There are many choices in kernels, and the features they offer. Some features are BFS/CFS which is the priority scheduling of processes. Some kernels allow you to charge your battery differently and conserve life. These are often called battery kernels. Also, some kernels unlock extra multitouch points in certain devices. There are different versions of the linux kernel, with many improvements with each iteration. Currently, the latest kernel available that I know of for android devices is 2.6.37. The froyo default kernel was a 2.6.32. I wish I knew a bit more about kernels, however this is about all I know. Perhaps someone could help us out and expand on this a bit?
Brilliant answer not too complicated... let's see what others say....
Sent from my HTC Wildfire using XDA App
What he said...
Pyroboy1080 well said...
That pretty much covers it.
thx for the infos..
Agreed. Thanks for using the poll!
nothing to add on that, as we used to say "merci beaucoup"
Can't ROM
Gotta be something stupid......
Can't install 2.2 or 2.3. Tried two different ODIN flashers. When I do the reset I do not get the triangel with downloading in the center. I'm rooted, Have ROM Manager, Superuser, Root Explorer, Super Manager, I'm unlocked.
I have Android SDK, Congnitive 4.1, NPS, Samsung Kies,SGH I897 USB Drivers, What else? I think I have it covered. In any case I never get the download . Even if I do a "ROM Manager Install fron SD Card, the result is a screen, blue at top and yellow at bottom with the last line saying "Installing Multi- CSC. I can let it run all night, no change in ROM. Does the Captivate sold by ATT have some kind of block or filter keeping me from updating?
Current firmware is 2.1 update 1, baseband I897UCJH7, Kernel 2.6.29 [email protected] #2, Build ECLAIR.UCJH7
Thanks
To better answer your question, I first need to know what type of device you're using...
fxstsb said:
Gotta be something stupid......
Can't install 2.2 or 2.3. Tried two different ODIN flashers. When I do the reset I do not get the triangel with downloading in the center. I'm rooted, Have ROM Manager, Superuser, Root Explorer, Super Manager, I'm unlocked.
I have Android SDK, Congnitive 4.1, NPS, Samsung Kies,SGH I897 USB Drivers, What else? I think I have it covered. In any case I never get the download . Even if I do a "ROM Manager Install fron SD Card, the result is a screen, blue at top and yellow at bottom with the last line saying "Installing Multi- CSC. I can let it run all night, no change in ROM. Does the Captivate sold by ATT have some kind of block or filter keeping me from updating?
Current firmware is 2.1 update 1, baseband I897UCJH7, Kernel 2.6.29 [email protected] #2, Build ECLAIR.UCJH7
Thanks
Click to expand...
Click to collapse
didn't know where to ask this?
hello, everyone..
i have some questions, i'm hoping some of you can anwser.
I used unrevoked to root my htc desire. after that, I used alpharev to gain s-off.
everything went fine, i got the joker, the white screen that lets me pick different options..
now Í tried all those options, nothing works.
I've been searching all night for a solution, and it seems my recovery boot and rom are missing? and what I came across is installing ANDROID SDK tools, and then run fastboot to recover an image. So I installed SDK tools, but fastboot doesn't run, it says some .dll driver is missing. in the platform-tools map is that .dll driver, should i move it?
Can someone get me a step by step tutorial on how to make my desire work again? Im kind of a noob, all I needed was to make a screenshot..
Thanks in advance, it would be appreciated so much..
Pyroboy, I'm using a Samsung Captivate. In another thread someone lead me to "All in One Toolbox". The other stuff is just stuff. That allowed me to install my ROM.

[Q] Android - Custom "Market" app vs Unknown Sources DISABLED

Hi All!
Let's say I would like ( or rather I'm forced to ) build a customized Android ROM. Among all related things that are well described there is a one "black hole" to me..
I need to replace Android Market with a custom market application and block unknown sources setting ( to always disabled ). Root access must also be disabled.
For me it seems that not having root access along with Unknown Sources disabled excludes writing a custom market application, because as far as i know custom market app will need to invoke Package Installer.
Did anyone came across such problem ?
For now i only need to estimate the complexity of this task so i would appreciate ANY clues on this one..
regards
Also interested in the solution, have a similar problem.
First, you should leave Unknown sources always on enabled. If you're worried that you might suck in a malware app, install an antivirus.
Second, I installed several custom ROMs so far, and the only problem I noticed with market is that it does not show the phone model (GT-i5800) anymore, but just "phone". Other than that, apps install fine, payed apps can be purchased and this is the stock Vending.apk, not modded.
Third, don't even consider not rooting your phone if you make a custom ROM (even this sentence is a contradicition...), coz if you don't have root, you can't dump the factoryfs.rfs, making it impossible to create a Custom ROM in layman's terms...
Got any questions, just ask!

[Q] LG-AS730 -- Instructions to root

This is our first Android device: LG-AS730 – Optimus Select (for carrier Revol)
-
SCR Version: AS73010b_Revol
Software version: AS73011A
Andriod version: 4.0.4
Kernel version: 3.0.8
OUR GOAL:
Root the phone for security reasons in addition to getting rid of all the bloat and/or unwanted apps. We don’t like syncing, or the sharing and storing of our data (cloud). We do however respect open source. That said, we have never rooted, see above, “our first android device”. What is in place, if anything to accomplish our goal –without loosing functionality and/or bricking our device?
-
Our XDA search term “LG-AS730”, and “AS-730” yields no results at this point in time.
Root AS730 / Development
This method will work for the AS730.
http://forum.xda-developers.com/showthread.php?t=1886460
Be aware our phone has a locked bootloader + CRC Check, which means if you remove certain system apps, you will be greeted with a "Security Error" message on system start, resulting in a shiny new brick.
I already bricked mine, and luckily I still has a couple days left on my 15 day warranty with Revol to get a replacement ( I said it was an update gone wrong )
(After which, I found the .cab file on the LG server to hopefully restore (Haven't verified yet))
I'm currently looking into ways to remove the CRC check.
I'll be making a post soon with an attached .cab / other information on our device.
It just sucks our device has almost no documentation or development.
If anyone would like to help with development or anything, PM me.
veris said:
This method will work for the AS730.
http://forum.xda-developers.com/showthread.php?t=1886460
Be aware our phone has a locked bootloader + CRC Check, which means if you remove certain system apps, you will be greeted with a "Security Error" message on system start, resulting in a shiny new brick.
I already bricked mine, and luckily I still has a couple days left on my 15 day warranty with Revol to get a replacement ( I said it was an update gone wrong )
(After which, I found the .cab file on the LG server to hopefully restore (Haven't verified yet))
I'm currently looking into ways to remove the CRC check.
I'll be making a post soon with an attached .cab / other information on our device.
It just sucks our device has almost no documentation or development.
If anyone would like to help with development or anything, PM me.
Click to expand...
Click to collapse
Glad to see that my excuse works in other places xD. I do have a rooted System.img, just no way to flash it to the phone. (At least, I believe I still have the rooted system.img file). With our model, LG Mobile Phone Support Tool doesn't decompress a system.img.ext4 while flashing which is what caused my brick. I tried splicing back together a BIN file and literally ****ed the partitions.
??
AS_730 said:
This is our first Android device: LG-AS730 – Optimus Select (for carrier Revol)
-
SCR Version: AS73010b_Revol
Software version: AS73011A
Andriod version: 4.0.4
Kernel version: 3.0.8
OUR GOAL:
Root the phone for security reasons in addition to getting rid of all the bloat and/or unwanted apps. We don’t like syncing, or the sharing and storing of our data (cloud). We do however respect open source. That said, we have never rooted, see above, “our first android device”. What is in place, if anything to accomplish our goal –without loosing functionality and/or bricking our device?
-
Our XDA search term “LG-AS730”, and “AS-730” yields no results at this point in time.
Click to expand...
Click to collapse
Do u have the original rom

I need a little bit of info.

So ever since I heard about rooting Android devices I innediately done some research on how to do it and I did it. I have had this root on my Samsung Grand Duos for a while now and all I have done is have a few apps (Lucky patcher, Freedom, and Exposed with 1 plugin or w.e) and I am pretty sure I can do far more than just that, so that's why I made this thread. I have a few questions I would like to be answered if you know anything about it.
1) What are customs ROMs and what can I use them for?
2) I am a developer and I have helped make some apps for both iOS and Android, would my root be useful in any way?
3) When I tried to upgrade my version of Android it told me that my version was modified, is there any way I can upgrade to the latest version? And would it remove my root?
4) Is root only compitable with specific versions? Like when a new version comes out, can you root it immediately or do you have to wait for something to do the root process again?
5)My device storage is pretty small and it makes it a pain in the ass to install apps, is there any way that I can edit that? (I am probably going crazy with this. lol)
Thank you.
Bump, would still like some help.
1) 3) 4) a custom Rom is a modified android, mostly based on clean aosp. The example CyanogenMod: you can choose between different Android versions. And with a custom ROM you have great efforts such like theming engine, overclocking or other nice features that are really useful but uncommon in stock ROMs. So I recommended anyone who decides to root his phone to flash a custom ROM neither a stock root
A lot of the info is available on XDA forums, tutorials, and on Google so I suggest you start doing some research as it will help you understand wholly much better...
1 - Custom roms are what nico331999 explained. Modified android firmware made for each specific phone model by developers. Its their take on android and most come with many extra features, themes, launchers, based on different android versions, etc. Cyanogenmod is one the popular ones, but there are a lot more. You would have to search the forums for your specific phone. In order to install a custom rom, root is not enough there are other things you would have to do which you will again need to find out for your phone. Generally speaking you have to unlock the bootloader, install a custom recovery, then flash a custom rom along with gapps.
2 - If you develop apps which utilise root access you can allow them sort of 'admin' access to everything on your phone, so you can perform any task with the app which requires such access. One example is replacing system level apps.
3- If you install a custom rom it will have its own version of Android, usually they are updated versions. You can download the FTF file for the most updated firmware version for your phone and then flash it on your phone. You'll be able to search online for instructions and downloads. A new firmware will remove your root and you will need to root it again. You can search for pre rooted firmwares though to avoid that step.
4 - Yes, you have to search for a rooting method for each firmware version of each phone. Developers (great guys) figure out these methods and post them online for the world!
5 - If your device has SD card support you can install many apps on the SD card to save some space using apps such as Apps2SD or Links2SD. You can move all your media to your SD card. If your device doesn't support SD cards I suggest you move as much data as possible to your computer, and maybe use cloud storage at the same time. Also, since you have rooted your phone, you can use an app like Titanium to uninstall bloatware (unused apps which you cannot usually uninstall).
All of this stuff seems like a handful when you first get into it, but you need to get out there and start researching these topics for it to all fall together in place...
I have to add something with apps to SD: some manufacturers (especially Samsung) have a very weird external storage handling (called emulated storage) which doesn't allow you to move your whole apks. It only saves user data.
ishaang said:
A lot of the info is available on XDA forums, tutorials, and on Google so I suggest you start doing some research as it will help you understand wholly much better...
1 - Custom roms are what nico331999 explained. Modified android firmware made for each specific phone model by developers. Its their take on android and most come with many extra features, themes, launchers, based on different android versions, etc. Cyanogenmod is one the popular ones, but there are a lot more. You would have to search the forums for your specific phone. In order to install a custom rom, root is not enough there are other things you would have to do which you will again need to find out for your phone. Generally speaking you have to unlock the bootloader, install a custom recovery, then flash a custom rom along with gapps.
2 - If you develop apps which utilise root access you can allow them sort of 'admin' access to everything on your phone, so you can perform any task with the app which requires such access. One example is replacing system level apps.
3- If you install a custom rom it will have its own version of Android, usually they are updated versions. You can download the FTF file for the most updated firmware version for your phone and then flash it on your phone. You'll be able to search online for instructions and downloads. A new firmware will remove your root and you will need to root it again. You can search for pre rooted firmwares though to avoid that step.
4 - Yes, you have to search for a rooting method for each firmware version of each phone. Developers (great guys) figure out these methods and post them online for the world!
5 - If your device has SD card support you can install many apps on the SD card to save some space using apps such as Apps2SD or Links2SD. You can move all your media to your SD card. If your device doesn't support SD cards I suggest you move as much data as possible to your computer, and maybe use cloud storage at the same time. Also, since you have rooted your phone, you can use an app like Titanium to uninstall bloatware (unused apps which you cannot usually uninstall).
All of this stuff seems like a handful when you first get into it, but you need to get out there and start researching these topics for it to all fall together in place...
Click to expand...
Click to collapse
Thanks a lot, ishaang, you were a lot of help to me.

Categories

Resources