• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [ROOT] Steps to root the Huawei Mercury

Glad to see we have quite a few smart, tech savvy people on here. I hope you guys will stick around. I'm sure when more people start getting this phone, there will be a lot of people needing some help.
 
did you use the wubi installer? If you did, that may be the problem. Wubi installs ubuntu INSIDE of windows instead of actually allocating space for the linux.

Ubuntu linux is a very rock solid system and great for newcomers. Linux Mint is even more user friendly (an ubuntu derivative). Put in the live cd and *reboot* your system with the cd in the tray and try out the distro. If you like it, install it. You shouldn't have any issues that way.

NO wubi installer, I usd a live usb amd IO went into my bios and turned off the HDD so it would boot from the usb. I then selected temp so it didnt make a partition for it. When I was done browsing I clicked shut down, When I fired back up after turning the HDD back on it said file corrupted. Then I shut down and rebooted and it was fine again. But still, I just wanna make sure I dont go thru that everytime I dual boot or if I make a permanent partition...Can I still do a manual root with linux mint??? Thanx for all the input and suggestions...
 
When I type "adb shell" then "su" the phones says 'Shell has been granted Superuser permitions' but the prompt doesn't change from $ to #.

{{you can get the terminal emulator from the market}}

This solution may Help, this is how everyone else Ive read up on, said they ROOTED when they ran into the same problem your having...

~~~~solution~~~~

1. After completing all steps, open ur Terminal Emulator in phone then run:
cd /system/bin
ls -l
Check the owner of su file in the list it'l b at the end, If Its user is 'shell' then U'll not have root.
Here's Solution:
1. Follow same step till the end like you've been:
2. After chmod of all files done, open terminal do:
sudo -s
cd /media/system/bin
chown root su
3. If you do it successfully U'll have root!!, the summary of this method is U'll change user of su from 'shell' to 'root' you can check it on Terminal emulator.

Let me know if this HELPED!!!
 
The owner of su (and busybox] is already root-root. Everything else in the directory is root-shell. I also checked Superuser.apk and it is root-root as well. SU, Busybox, and Superuser have RW-RW permitions instead of RW-RO (read/write, readonly].

I'm going to delete everything, drink a Monster, then try it again from scratch.


UPDATE:
Still not working.
I put the phone in download mode, deleted the files and rebooted the phone. I reran the adb script to push files, booted to linux, opened terminal, typed "sudo -s" then "sudo nautilus" and then moved the files to the right spots using cut and paste. Exited nautilus. Then using terminal I went to '/media/57[blah]_/bin', chmod'ed su and busybox manualy to the permitions used in the script. Typed 'chown root su'. Then I went to '/media/57[blah]_/app' and chmod'ed Superuser.apk. I rebooted the phone and I still do not have root.

Does the fact that everyone is seeing "system" while I see some long name with a mix of letters and numbers make a difference... I see like 4 or 5 different ones but only one has 'app' and 'bin' so I am assuming that is 'system'.

*getting the noose ready* :(

Is there anyway you can post a pic of what your seeing instead of system?
 
Here is a SS of the directory list of media. As you can see the phone's partitions show as long names. The one with one underscore is 'system'. I show a list of that directory as well:



Here is a SS of the Nautilus window. The 'sudo nautilus' window is in front, behind it is the one that pops up when the phone is plugged in:



And finally here is a SS of 'ls -l' in the /bin directory. I had just changed su's permitions to root-root because before this it was root-2000 like the other files. After I did this I redid 'chown root su', but the phone still doesn't have root though:



I'm running Ubuntu 10.04 off of a USB stick, but that shouldn't matter....

Take a look here and see if this works for you!!!
[Tutorial] [ROOT] How to Root the Cricket Huawei Mercury M886

Let me know if it helps...
 
I had come across that page yesterday and manually changed the file ownership before by right clicking and selecting properties. I will try it again later when I get home and use the terminal with out GUI.

Just to confirm, you have root and used the files in Mercury-root.zip above? Both su and busybox are in bin and not xbin?
Perhaps it's the folder's permissions on my phone? I just don't get it...

Are you doing the first few steps manually, or are you using playfulgod's "root mercury zip" that pushes the 3 files automatically? If your doing it one way, maybe try it the other way..
 
I HAVE ROOT! :D

Finally....

So somewhere along the line the folder's permissions got screwed up. This could have been from me trying some kind of "one click" or playing around in the GUI trying to change permissions.

Let it be said that 'chown root.root bin' [and maybe 'chown root.root xbin'] followed by 'chmod 6755 bin/su' may be needed for some people.
Congrats! Hopefully I will get there one day lol.
 
NO wubi installer, I usd a live usb amd IO went into my bios and turned off the HDD so it would boot from the usb. I then selected temp so it didnt make a partition for it. When I was done browsing I clicked shut down, When I fired back up after turning the HDD back on it said file corrupted. Then I shut down and rebooted and it was fine again. But still, I just wanna make sure I dont go thru that everytime I dual boot or if I make a permanent partition...Can I still do a manual root with linux mint??? Thanx for all the input and suggestions...

Yes you can do it with mint. Mint is basically the ubuntu source code with a face lift. If you have a nice size HDD, I would recommend going with either ubuntu or mint as a dual boot option. You could do all your everyday online activities without worry of a virus :D and use windows when it's needed.

I'm still having trouble rooting my mercury as well. I'll post again as soon as I figure it out.
 
I put my phone into download made and opened Terminal in Ubuntu. You wouldn't be able to do those commands from ADB if you didn't have root already.

I checked to see what the permissions where for the directory after I noticed su wasn't taking the CHMOD command. I had a sneeking suspition that it was the directory. I think this just happened in my case because I had been trying other options. No where did I see any mention of this problem for others, but it could be a problem if they tried other rooting methods unsuccessfully.

I would suggest people just get on Linux and skip using ADB from windows since linux is required right now anyway.

Yeah I figured that out shortly after. Felt dumb for a minute there.. oh well. The good news is, I FINALLY got root after piddling with all the file permissions. (All was done from the terminal, no scripts [still appreciate all your efforts PG :D])

I gotta run but as soon as I get a chance, I'll type out the process as clear as possible of how I obtained root. Thx for everybody's help!
 
I don't think the new user restrictions are that bad, it might even only be one post.

And welcome to the forums!
 
That is my post. Look at the script. I wrote it. :-D

Well...not actually MY post....somebody copied mine, and put it on another site.
 
Instructions:

Please note that moving the files prior to this using adb is not needed. But if you have done that step already, or anything else, it shouldn't matter, as this will overwrite any existing su, busybox, or Superuser.apk files.

After booting into an Ubuntu 10.04 Live image (cd or usb), connect powered down phone via USB, put the phone in download mode by powering up while holding in volume up and down, then do the following:


Notes: You can create a Bootable USB drive using UNetbootin.

Some popups about filesystems may appear when you plug in and power up the phone. Disregard those.


Download merc-root.tar.gz to Firefox's default download directory (i.e. /home/ubuntu/Downloads). It is usually easiest to download this file from within Ubuntu. There are lots of ways to get access to the file in Ubuntu, but that usually has the fewest steps, but if you have a Broadcom Wireless adapter, you will find it easier to download the file using Windows. If you do that, you can then either move the file to ~/Downloads or cd to the directory that the file is already in (and skip the cd Downloads command). The tarball does not have to be in any particular location. You just must be in the merc-root directory when you run execute ./merc-root.sh .

Then open up a terminal (Applications-->Accessories--Terminal).
Execute the following commands:


cd Downloads
tar xvfz merc-root.tar.gz
cd merc-root
./merc-root.sh​

After pulling the battery on the phone to reboot it, you should then upgrade Superuser and busybox via the Market.

attachment.php


attachment.php


And that should be it!

Copy and Paste the output of the script into a draft email so you have it, in case there are any problems.

Updated tarball on 1/7/12 to include data integrity checks and correcting ownership of directories.
 
That is my post. Look at the script. I wrote it. :-D

Well...not actually MY post....somebody copied mine, and put it on another site.

I didn't realize you posted before I did. I still had this page up in one of my tabs (without refreshing) and posted that link. I just stumbled across that post so I figured I would share here. :/
 
I didn't realize you posted before I did. I still had this page up in one of my tabs (without refreshing) and posted that link. I just stumbled across that post so I figured I would share here. :/

No problem. I took you saying that the method I developed is the easiest and most fool proof as a compliment!

:D
 
That is the easiest way to root since a 1 touch root, The only thing is, and I had this problem is when you try this method you need to dwld the files thru firefox in ubuntu, and being I didnt, Bc my wifi wouldnt connect in ubuntu do to driver errors I dwlded them to a usb drive, then copied and pasted them to HOME/UBUNTU/DOWNLOADS/ and then I ran the commands and VIOLA, I was in. ROOTED AND ZOOTED Babi...
 
Hey, s23bob. Anyone who hangs in UNLEASHEDPREPAID.COM know's that this right up was your work. You got tons of credit over there, and I just gave you yours here. GREAT JOB!!!
 
There will be issues with Ubuntu and some network adaptors. Users should be asked to download from within Windows in this case and save it somewhere easy to remember. Since Ubuntu can access the Windows NTFS to find the file, its just about copying it to the Downloads directory in Ubuntu for the script to run.

There is no need for the tarball to be in Downloads. It really can be anywhere. Just have to cd to the dir it is in first.

It is broadcom adapters that have a problem. Not really that hard to fix. Was considering adapting this script to run more generically (not just for the merc) and maybe making a specialized iso. I would also be sure to include Broadcom drivers. Other tools could be added as well.
 
Back
Top Bottom