Jump to content


Photo

Acer Gallant Duo root / hacking tools

* * * * * 2 votes

  • Please log in to reply
93 replies to this topic

#1
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,227 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
Hi Folks!

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.

Using SuperRecovery - step by step

Follow this simple guide to using SuperRecovery and rooting your device (Windows PC required!)
  • 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!

click the images to enlarge

'>http://content.modaco.net/dropzone/duoflash1.png]Posted Image

'>http://content.modaco.net/dropzone/duoflash2.png]Posted Image

'>http://content.modaco.net/dropzone/duoflash3.png]Posted Image

'>http://content.modaco.net/dropzone/duoflash4.png]Posted Image

'>http://content.modaco.net/dropzone/duoflash5.png]Posted Image


Editing boot / recovery / logo images

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. :)

The download

All the files you need can be downloaded here!
  • r1 - DOWNLOAD (ROMraid) - MD5: 9c604f9cb7f800ca1145635d92afd087
Any questions

Any questions or feedback on the above? Post below! :)

  • 2

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#2
alasota

alasota

    Newbie

  • MoDaCo Silver
  • Pip
  • 15 posts
Worked a treat! Thanks Paul!!

  • 0

#3
jaarvin

jaarvin

    Newbie

  • Members
  • Pip
  • 29 posts
  • Devices:ACER E350
Great job !

Just 2 questions : recovery.stock.insecure.duo is the version for unroot ?

Thanks

Regards

Edited by jaarvin, 23 September 2012 - 12:59 AM.

  • 0

#4
sbavi

sbavi

    Newbie

  • Members
  • Pip
  • 11 posts
Thanks!


i've removed these apps:

AcerDLNA2.apk
AcerNidus.apk
AcerRegistration2.apk
BarcodeScanner41.apk
BlackList.apk
Chrome.apk
ClockWidget.apk
Default_ICS.apk
DigitalClockWidget2.apk
Fashion.apk
FBAndroidpreload.apk
Gmail.apk
HoloSpiralWallpaper.apk
HoloSpiralWallpaper.odex
Lady.apk
Launcher2.apk
Launcher2.odex
LiveWallpapers.apk
LiveWallpapers.odex
MagicSmokeWallpapers.apk
MagicSmokeWallpapers.odex
Maps_alldpi.apk
MtkWeatherProvider.apk
MtkWeatherSetting.apk
MtkWeatherSetting.odex
MtkWeatherWidget.apk
MtkWorldClockWidget.apk
MtkWorldClockWidget.odex
Music2.apk
NoiseField.apk
NoiseField.odex
PhaseBeam.apk
PhaseBeam.odex
PlusOne.apk
PolarisViewer4.apk
Science.apk
Sport.apk
Swype.apk
TagGoogle.apk
talkback.apk
Videos.apk
WeatherWidget2.apk
WSBoxNet.apk
WSDropbox.apk
Youtube.apk


device work like a charm!

Edited by sbavi, 12 October 2012 - 03:01 PM.

  • 0

#5
sbavi

sbavi

    Newbie

  • Members
  • Pip
  • 11 posts
GO!! GO!! GO!!

ftp://94.23.233.147/Smartphones/Liquid%20Gallant/

  • 0

#6
vache

vache

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,038 posts
  • Gender:Male
  • Devices:Acer CloudMobile
  • Twitter:@vachounet

GO!! GO!! GO!!

ftp://94.23.233.147/Smartphones/Liquid%20Gallant/


Happy to see that my FTP is used :)

  • 0

#7
Kladram

Kladram

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:Huawei Ascend 300
Thanks Paul, Worked without any problems.
Next step a JB based Custom Rom :-)

  • 0

#8
Bonokey

Bonokey

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:Acer Liquid Gallant Duo
Thank you it was successful without any problem.

  • 0

#9
jaarvin

jaarvin

    Newbie

  • Members
  • Pip
  • 29 posts
  • Devices:ACER E350
post removed

Edited by jaarvin, 23 September 2012 - 09:51 AM.

  • 0

#10
iMonz

iMonz

    Newbie

  • Members
  • Pip
  • 4 posts
  • Devices:Acer Liquid Gallant Duo
Root procedure succesfully completed! Thanks Paul!

  • 0

#11
styvx

styvx

    Newbie

  • Members
  • Pip
  • 3 posts
  • Gender:Male
  • Location:Rome
  • Devices:Acer Liquid Gallant Duo
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! :)
Thank you!

  • 1

#12
BenG7

BenG7

    Newbie

  • Members
  • Pip
  • 2 posts
Hi Paul

ok, this is my girlfriend's phone, so no messing around here ;o)
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

#13
ayziaa

ayziaa

    Enthusiast

  • Members
  • PipPipPip
  • 271 posts
  • Gender:Male
  • Location:Lyon, France
  • Devices:Nexus 4, LG G Pad
  • Twitter:@Ayziaa
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?

Edited by ayziaa, 22 September 2012 - 08:18 AM.

  • 0
Android folder music player for holo lovers :https://play.google....=fr.ayziaa.App2

#14
ginco

ginco

    Newbie

  • Members
  • Pip
  • 4 posts
Hi Paul thanks a lot for the root procedure!!!

  • 0

#15
papinist

papinist

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:Samsung Galaxy Nexus
is there a way to unroot?

  • 0

#16
FrankieADZ

FrankieADZ

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,255 posts

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

  • 0

#17
BenG7

BenG7

    Newbie

  • Members
  • Pip
  • 2 posts
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...

  • 0

#18
akis_agnooumenos

akis_agnooumenos

    Newbie

  • Members
  • Pip
  • 3 posts
How about battery life after rooting?

  • 0

#19
ayziaa

ayziaa

    Enthusiast

  • Members
  • PipPipPip
  • 271 posts
  • Gender:Male
  • Location:Lyon, France
  • Devices:Nexus 4, LG G Pad
  • Twitter:@Ayziaa

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.

Edited by ayziaa, 23 September 2012 - 07:30 AM.

  • 0
Android folder music player for holo lovers :https://play.google....=fr.ayziaa.App2

#20
ginco

ginco

    Newbie

  • Members
  • Pip
  • 4 posts
hi all, is it possible the unroot? The auto update fo gallant doesn't try to check the server because rooted. I didn't uninstalled any app for now.
Thank you

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users