Does anyone know how to set the root password on Android 2.1? I'm using a Motorola Droid.
Has anyone found a way to set the root password? For those wondering why we want to set a password just google iPhone Rick Roll. That was basically a proof of concept attack that could have been much worse. I'd like to protect my phone from such things and I'm sure you would too.
A gun in the hand is better than a cop on the phone.
Only the Skilled Survive
A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila.
Drill Sergeant Frick's Rules For Un-armed Combat.
1. Never be unarmed.
2. See Rule #1
USMC rule # 23 of gunfighting: Be polite, be professional, but have a plan to kill everyone you meet.
Much like newer versions of windows will ask if you want to run an exectuable, even when logged on with an administrator account, your phone does the same thing with busybox, mm, root explorer, setcpu, and more.
If you really want to step things up a notch then you don't run your OS as root/admin. By rooting our phones we set ourselves at risk. By allowing to install from unknown sources we set ourselves at risk. By just installing an app from the market because it looks cool we also set ourselves at risk.
When we install an app that has lots of press coverage that lots of folks have already used we are acting in a more secure manner. The dev might be better known, others would have uncovered something wrong etc.
Any of the apps you install that say they can collect network, browser, and keyboard info could possibly be gathering and sending info you don't want sent. The community is what is keeping things safe.
I'd be interested in knowing what other sorts of safeguards are on the market to prevent keystroke capturing type code from being present in apps. Root isn't needed for that.
All that being said...there's a ton of phones out there. not so many viruses. I feel pretty safe with what I've done with my phone, as well as with my pc. But you never can be 100% sure.
If you apply a rom or theme - backup first!
If you don't know how to backup...Stop until you do.
hint: I name my backups like this: sg6.0_20100428 or ss4.2_20100626 to easily find them later. rom and date.
Have a Problem, Click here to Visit the Rescue Squad
I used linux as a developer and administrator of a huge system for the last ten years, but I have to tell that I use android for 3 days, and never had before.
Through these 3 mere days I discovered that android is fundamentally an _exact_ linux and, as such, it does impiles the possibility of using unix user accounts and passwords.
The former (user accounts) is a natural part of the system, every app installed to the droid is given an exclusive one. (i must stop here to admit this is a strike of genius, a beautiful way to separate applications' workspace and permissions in such a way as we usually do on web servers hosting multiple domains, virtual hosts). It must be mentioned, that the files which control user accounts under linux (like /etc/passwd) are absent under android, because there is a stub for mapping the android_id to passwd structure. So there are no physical files for this purpose, the stub should populate the values. BUT this behaviour may be altered (i wouldn't like to describe how, it's your fight to figure out).
The latter one is a bit tricky, because android has no system authentication method (like PAM, or such) built in it, hence the only way to change the UID or EUID is to call the corresponding kernel call from a C program. BUT you are welcome to these C programs (including PAM itself), from any of the linux distros around, and after a (really-really) minimal modification they will work on android perfectly.
Thank you for your kind attention
Last edited by noobkiller; 02-15-2013 at 03:41 AM.