Announcements

ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.

Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.

94 posts in this topic

As you know I recently got my hands on an Acer Gallant Duo, which i've duly rooted... this post contains my root solution and the various tools i've accrued along the way.

First things first - as well as rooting using my method, the root exploit found by Bin4ryDigit also works at the time of writing.

With that said... here's my findings!

The MTK6765 chipset

The Gallant Duo (and Solo) use the MTK6575 chipset, which is also widely used in 'Chinese devices', meaning that a lot of hacking tools are already out there. The most useful one is the official MTK flashing tool. This is only available on Windows, but allows both the backing up and flashing of images directly from the device bootloader!

In order to facilitate this, a file called a 'scatter file' is used. This is basically a text file containing addresses for the various partitions on the flash, so that the tool knows where to write them. The Gallant devices don't use any of the existing MTK6575 scatter files out there, so i've created one for the device which is included in the download below. With this, we can flash custom ROMs, recoveries, boot images, logo binaries etc. with no problem. And create backups before we do. ;)

Possible root attack vectors

Aside from Bin4ryDigit's root method and the one I am using (flashing a SuperRecovery using the MTK tool), there are a couple of other potential 'ways in', but they are best kept under wraps for the time being. Interestingly, the stock recovery on the Gallant devices has backup and restore options, which back up the data partition to a single file on the SD card. This is useful (not just for obvious reasons), but also because this allowed me to poke around the data partition of the device even before I had root. For reference, the backup files are gzipped tar images with a 512 byte signature on the front. If you cut the first 512 bytes off, you can extract it with no issues.

SuperRecovery

For the initial root for the Gallant, I wanted to create a solution which gave root without compromising the ability to provide over the air updates in the future. With this in mind I'm overwriting only the stock recovery, but i'm overwriting it with a version which is still fully compatible with the original. It is the stock recovery but with ADB access and a script that runs on startup to root the device. We will likely have a clockworkmod recovery very soon for users that want to play around with the device more (custom ROMs and the like).

To install, you need to use the MTK flasher and my scatter file to install the custom recovery. After installation, launching the recovery just once will root the device.

Download the tools pack linked below and extract to a directory on your PC.

Take the back off your device and pull the battery. Run device manager on your PC. Plug the device into your PC via the USB cable and you will see an 'unknown device' briefly appear in Device Manager. Right click this device and select 'update driver', specifying the location where you just extracted the tools zip (specifically, the driver folder for your chosen OS).

With the driver installed, you're ready to run the flashing tool. From the 'Flash Tool' directory run 'Flash_tool.exe'. Unplug your device at this point.

The 'Download Agent' field is automatically populated. You need to click the 'Scatter-loading' button and select the 'MT6575_android_scatter_emmc.duo.modaco.txt' file from the 'Scatter directory'.

Next you need to tell the application which part you want to flash. Click the 'RECOVERY' line and select the 'recovery.superboot.duo.img' file from the 'Images' directory.

That's it! Don't click any other options. Note that flashing is DANGEROUS, and you do so entirely at your own risk. If you're ready to go, press 'Download'. Do NOT click any other buttons!

Now, with your device off, plug it back in via USB. You will first see a red bar, then a yellow progress bar, then a green success box as shown below.

When the flash is complete, turn your device on with 'volume up' held. This will launch recovery. When the recovery screen loads, press the volume up key to show the menu and select the reboot option. Your device is now rooted!

The Gallant images are not a format we are used to, however scripts for unpacking and repacking have been created by bgcngm and are available to download on GitHub. I used these to create the SuperRecovery and they work great. :)

Share this post

Link to post

Share on other sites

Ok, works great but for a newbie like me maybe you should modify the point 8 like this :

When the flash is complete, DISCONNECT THE USB CABLE, REINSTALL THE BATTERY AND turn your device on with 'volume up' held. This will launch recovery. When the recovery screen loads, press the volume up key to show the menu and select the reboot option WITH THE POWER BUTTON. Your device is now rooted!

For an expert like you maybe these steps are obvious...not for all! :)

Share this post

Link to post

Share on other sites

I tried rooting the phone by following your tutorial but it did not work; let me detail the steps I went through:

I did not remove the battery and go through the driver installation as windows update already installed the right driver for the phone when I first plug it to my W7 64 bits laptop - do I still need to install your driver (remove battery + plug it while device manager up and running + point to provided driver)?

Also, you do not say whether the phone needs to be in USB debugging mode, does it need to?

So I started The flash tool, pointed to the scatter file, loaded the recovery image,

pressed the download button (bar on 0%), plugged in the phone while it's switched off but then nothing happened, the bar remain at 0%

do you know what went wrong?

Thanks

ben

0

Share this post

Link to post

Share on other sites

People are starting to root all over the web and then wining that the delete the wrong file and that they would like someone to send them one of there phone. Am I wrong here or average users should not root there phone until there are some proper backups made by devs or some custom roms easily flashable?

Share this post

Link to post

Share on other sites

People are starting to root all over the web and then wining that the delete the wrong file and that they would like someone to send them one of there phone. Am I wrong here or average users should not root there phone until there are some proper backups made by devs or some custom roms easily flashable?

think you should only do rooting if you understand what could happen if it goes wrong

Share this post

Link to post

Share on other sites

Thanks for all these constructive comments, that really helped indeed!

i'm am very familiar with rooting samsung as they are more run of the mill but here we are talking about a brand new phone that's just out.

Man, we all know flashing is sensitive (dangerous -> brick) so I don't think there is anything wrong with asking questions to someone who's more experienced and has done it at least one, otherwise there is even no point to all this community /board thing...

Share this post

Link to post

Share on other sites

Thanks for all these constructive comments, that really helped indeed!

i'm am very familiar with rooting samsung as they are more run of the mill but here we are talking about a brand new phone that's just out.

Man, we all know flashing is sensitive (dangerous -> brick) so I don't think there is anything wrong with asking questions to someone who's more experienced and has done it at least one, otherwise there is even no point to all this community /board thing...

my 2 pence...

Really don't know what to respond... I guess you do whatever you want. I was just asking a question.