How To Root
An Android mb526
Access MB526's rear end
The documents contained here are to be used at your own risk.
I rooted my Android Smartphone a motorola MB526. I had to do this because I needed to remove a mail account that was no longer relevant. When I went to remove the account my phone complained that other applications were attached and it went onto inform me that to do this I would need to do a factory reset first. Major bummer, this would mean losing all the changes I had made to my phone, losing all my contacts and photos, videos, apps along the way. It would be like reinstalling your operating system on a laptop.
I searched the internet and found a neat site that had instructions and the required bits and pieces to root the phone. By rooting my phone, I mean obtaining superuser privileges to the Android operating system, which is really just a minix or mini unix operating system. By obtaining superuser privileges I was able to delete the annoying email account (which was constantly trying to connect and couldn't because the owners had removed it) without doing a factory reset and without losing any changes I had made to the phone up to that moment.
So I figured there may be others out there that could do with this intel.
The website I found was great, but it missed a few important pieces to the puzzle which I'll include here.
There are other nice things about gaining root access to your phones operating system as well as really dangerous things too.
These commands will consist of a command and explanation, and expected response. So you will know if something failed. At this point the phone has connected successfully to your USB port and connection has been successfully been established using the Moto Phone Portal, mine is http://192.168.16.2:8080. The files needed have been downloaded and unzipped.
You should now be able to run adb shell and get a # prompt that confirms you are the superuser.
Accounts.db is an SQLITE database and can be copied to a PC from your phone. This has the account configs and will have the account you want to remove.
Use SQLITE3.exe in the download kit to access account.db
Use delete sql command to delete the account you don't want.
Backup account.db first before you do this.
delete from accounts where Name='vodophone....';
Now simply overwrite the accounts.db with the one you just edited.
To find accounts.db you can do a search through your phone by using the windows explorer connection via 192.168.16.2
or use adb shell
then change directory to root '/'
issue an ls command.
This will list all the directories and files on your phone.
Copy it to a text file i.e.
ls > files.txt
then edit the file and search for accounts.db
You also should backup data.db this has all your phone contacts. This is also an SQLITE3 db.
Well that's about it.
If you need to ask me any questions feel free.