Gobii IVP Root Part 1

iandale

Active Member
Joined
Aug 27, 2007
Messages
34
Reaction score
0
I have had a few requests for details on how I rooted the Gobii IVP android phone from Kalahari.

DISCLAIMER - I will not be held responsible for:
1. Voiding your Warranty.
2. Bricking your phone.


That said, here goes.

Background
Just to help some of our less techy forum members understand what we are trying to accomplish.
Simply put, rooting involves placing or rather "replacing" a file on the phone that allows you, the user, to access parts of the file system usually marked as restricted.
For the more techy guys, it allows us to run programs with elevated privileges.
This file named "su" ("super user") is either not present or flagged as usable only be the "root" user (that's where the term "rooting" comes from), hence us not being able to use it.

Since the early days of Android 2.x certain vulnerabilities have existed that allow this file to be uploaded quite easily using "rooting" tools such as "Super one click"
This tool would locate the vulnerabilities and exploit them to load the "su" file. As each new version of Andoid came out these vulnerabilities would be patched and it has become harder to root phones.

WARNING - There is a tool that will root this phone called Kingo. Don't be tempted to use it as it gathers personal information from your phone and posts it to a server in China.
This information includes your phone's IMEI number.


To continue, the Gobii phones use a MediaTek chip which has a very useful set of Windows based software tools, namely "SP Flash Tool", "MtkDroidTools" and "MTK_Rom_Studio". We will be using the first two to root the phone.

Basically the process involves replacing the "Recovery" partition with a modified version of our own partition.
We are going to dump our own recovery partition to the PC, modify it and flash it back to the phone.

The MediaTek phones have a partition called a "pre-loader". When the phone is switched off and a USB cable connected to your PC is plugged into the phone, the "pre-loader" partition is activated and waits for a command from the PC. If it doesn't see anything from the PC after a few seconds it shuts down and the charge cycle begins.

The SP Flash Tool is the software that will communicate with the phone to dump the Recovery section of the ROM to the PC and allow us to flash the modified version back to the phone.

Next post to follow
 
Gobii IVP Root Part 2

Lets get to it.

STEP ONE – install the driver (I am assuming you are using Windows and have a vague knowledge of "Device Manager")

1. Power off the phone and remove the battery and disconnect the USB cable if it is connected.
2. Open Device manager and leave it open.
3. Put the battery back into the phone but don't turn it on.
4. Plug in the USB cable, the first thing you should notice is Windows detecting new hardware.
5. Wait for a while and no doubt the installation will fail because windows can't find the driver and it will probably say the device is disconnected. This is perfectly normal as the
preloader is normally only active for a few seconds then goes off.
Basically this is what is happening:
i. The preloader activates when you plug in the USB cable
ii. It sends a message saying its ready
iii. If it doesn’t get a response in a few seconds it shuts down.
iv. If it does get a response (e.g. from SP Flash tool), it then stays active waiting for a command.
6. If it does find the driver, you will probably still have to update it anyway with the drivers listed at the bottom of this post.
7. If you disconnect the USB cable then re connect a few seconds later you should hear the familiar windows “device connect” tone followed by “disconnect a few seconds later.
While this happens, watch device manager and see if the device shows up either in “Other devices” or “Ports (COM & LPT)”.
If you see it in “Other devices” it will probably be named “MT65XX Preloader”, if in “Ports (COM & LPT)” it could be named “MediaTek USB Port” or “PreLoader USB VCOM Port”.
If it is named “MediaTek PreLoader USB VCOM Port” happy days! If not then you will have to update the driver.
8. To update the driver you need to be quick. As soon as you plug the phone in and the device appears in device manager you have to right click on it and select “update driver software…”.
9. Choose “Browse my computer ….”
10. “Let me pick from a list….”
11. “Show All Devices” click Next
12. “Have Disk…”
13. Browse to the location where you extracted the driver files you downloaded.(You haven’t done that yet?)
14. If you are using Windows 7, go to “MT65xx USB VCOM drivers\Win7\ MDMCPQ.INF” and open.
15. Choose “MediaTek PreLoader USB VCOM Port”
16. Driver installed. Job done.
17. A note if you mess up the driver installation for any reason an great tool to get rid of any USB devices so Windows will detect them again is "USBDeview".
Search on Google and download the version for your operating system. ie 32bit or 64bit. Run it as administrator and clear out any devices that look like MT65xx, MediaTek or VCOM devices.
Reboot and start the process again

STEP TWO - Read back from SP Flash Tool

1. I have included my config files in the tools downloads so would suggest extracting the tools to the following locations so the paths in the config files match.
a. SP flash tool to “C:\SP_Flash_Tool_v3.1344.0.212”
b. MTKDroidTools to “C:\MTKDroidTools”
2. Start SP Flash tool and load the Scatter file. (This file tabulates the locations and size of the partitions on the phone. It is specific to the Gobii IVP so don't use it on another model phone such as the Gobii IIP.
3. Click on Scatter-loading, and find the file named “MT6582_Android_scatter.txt” in the SP Flash tools directory.

scatter.png


4. You should see this.

scatter_loaded.png


5. For now make sure all the check boxes are unchecked and DON’T CLICK ON “Firmware->Upgrade”
6. Click on the “Readback” tab.
7. Note: The terminology on this software is a bit back to front. The term “Download” on this software it’s not used correctly. Here “download” actually infers “SEND TO the phone(Upload)”, don’t get confused.
8. The readback tab will allow you to take a FULL backup of your phones entire ROM.
9. On the readback tab select the second line(These are the ones I created and should be loaded automatically)

readback.png


The first one just makes a copy of the Recovery partition. The second one make a backup of the entire phone. We will be making a backup of the entire phone. Make sure just the second one is ticked.
10. Click on options and make sure “USB Mode” is selected.
11. Now the backup.
12. Click on the readback button “Readback” . The program will now enter a state where it is waiting for the phone to connect and say “Hi, I’m here”
13. Just to recap.
a. Remove the battery for a few secs
b. replace battery
c. don’t turn the phone on, plug in the USB cable.
If the drivers were all installed correctly you should see the progress bar first turn red and say 100%, then it turns blue and shows the percentage as it reads the ROM off the phone. Go to town and come back. It takes a while to save everything
14. Once the it gets to 100% you should see a small window popup with a green circle in it.
15. Great. This process served two purposes. One was to create a backup, but most importantly it was to test that the drivers and SP Flash tool program could communicate with your phone correctly. The last thing you need is to start flashing the phone only to find half way through it goes tilt.
16. Now you can either use the patched recovery image I included in the SP Flash tools folder or you can build it yourself. The build process uses MtkDroidTools and I'll include that as another post later.
17. Disconnect the USB cable again

STEP THREE - Flash recovery partition to phone from SP Flash Tool

18. Go back to the “Download page”
19. Click on RECOVERY and select the file named “SMT4135-PIA_140504__recovery_140606-012639.img” in the SP Flash tools folder.

recovery.png


recovery2.png


20. Make sure that the only box checked is “RECOVERY”. STRONG WARNING: NEVER try to flash the PRELOADER image and any of the other partitions other than BOOTIMG, RECOVERY, LOGO and USER DATA unless really necessary.
21. Hold your breath.
22. Click the download button. Don’t worry about the error message. It’s just warning you that you have only select one partition to write.

download1.png


23. Remove the battery for a few secs, replace battery, don’t turn the phone on, plug in the USB cable.
24. When it connects an start the upload “download" duh!, the progress bar will turn yellow, when finished you should see the familiar green circle.

25. You now have a Clockwork mod recovery partition on your phone.
26. Disconnect the USB cable, Hold down the Vol up button and press and hold power. Choose “Recovery” with the vol up button and select it with the vol down button.
27. WTF! Its upside down. Never mind just turn the phone upside down. It seems that certain chinese manufacturers place the screen in the phone upside down to save on
connector ribbon length and then flip the picture in the firmware. CWM is assuming the screen is the correct way round. (Which way is actually correct? Who knows)
28. Start-up MTKDroidTools and connect the USB cable.

STEP FOUR – Root

29. Once it has recognised your phone click on the “root,backup, recovery” tab

root.png


30. Even though you made a backup in SP Flash tools I would do it again here, to be sure to be sure.
31. Click “Backup” and wait for it to finish. Takes a while.
32. Next “SuperUser”. This is the bit you have been waiting for, this is the actual rooting process.
33. Choose SuperSu when prompted.
34. Click “Reboot”
35. Happy?

FINAL DISCLAIMER:- I can’t be held responsible for any brick laying accidents.
Seriously though, that was done through trial and error on a few other phones, this one actually seemed to be the easiest. It’s up to you if you want to root the phone bad enough.


Downloads:

Removed. See post http://mybroadband.co.za/vb/showthr...oot-Part-1?p=13452368&viewfull=1#post13452368
 
Last edited:
I'm getting "MT65XX Preloader" in Device manager, so I have to update the driver. I'm not sure which file that is.I only see the MTK tools and SP Flash RAR files.

Am I missing something?
 
I'm getting "MT65XX Preloader" in Device manager, so I have to update the driver. I'm not sure which file that is.I only see the MTK tools and SP Flash RAR files.

Am I missing something?

OK, I think I'm safely past the driver issue.

Now at Readback: I'm getting ...ROM_0 not ROM_ALL as per the screenshot. Does it matter?
 
OK, I think I'm safely past the driver issue.

Now at Readback: I'm getting ...ROM_0 not ROM_ALL as per the screenshot. Does it matter?

ummm....OK, so maybe I did not get the driver update right...
 
OK, I think I'm safely past the driver issue.

Now at Readback: I'm getting ...ROM_0 not ROM_ALL as per the screenshot. Does it matter?

Did you load the scatter file from within the "C:\SP_Flash_Tool_v3.1344.0.212" folder?

PM me a screenshot
 
SS finally sent

OK, so I figured that I was missing something, couldn't find the driver, went only and found one somewhere. It now seems I used something not 100% according to the instructions and now I cannot get rid of it. I'm not sure how to use USBdeview and the instructions are not clear enough.

Then I had issues with the SP flash tool not displaying according to the screenshots in the guide. Turns out my download of the SP flash tool in this thread broke and I started using another version downloaded earlier.

I've now got the MTK Droid tools and SP Flash tool from this thread ready, but still lack the driver (I think)

If someone can point me to the correct driver file for use on a Win7 machine, I can attempt the root on my wife's laptop.
 
OK, so I figured that I was missing something, couldn't find the driver, went only and found one somewhere. It now seems I used something not 100% according to the instructions and now I cannot get rid of it. I'm not sure how to use USBdeview and the instructions are not clear enough.

Then I had issues with the SP flash tool not displaying according to the screenshots in the guide. Turns out my download of the SP flash tool in this thread broke and I started using another version downloaded earlier.

I've now got the MTK Droid tools and SP Flash tool from this thread ready, but still lack the driver (I think)

If someone can point me to the correct driver file for use on a Win7 machine, I can attempt the root on my wife's laptop.

https://www.dropbox.com/s/nw6ipnwhc414s7z/MT65xx Drivers.rar
 
Tell me what more I can do now. Its rooted thanks to iandale's personal assistance :)

I use apps like link2Sd, but who has any idea to Perhaps do even more fun stuff that is not allowed on a non rooted bad boy.
 
@Thor187, now that you are rooted,can you share Antutu score/screeshots/whateverISconvenient
 
Well here is my Gobii Antutu results:
 

Attachments

  • 1407502699539.jpg
    1407502699539.jpg
    52.9 KB · Views: 606
  • 1407502711521.jpg
    1407502711521.jpg
    48.7 KB · Views: 616
  • 1407502729315.jpg
    1407502729315.jpg
    51 KB · Views: 602
  • 1407502740045.jpg
    1407502740045.jpg
    42.9 KB · Views: 624
  • 1407502753299.jpg
    1407502753299.jpg
    56 KB · Views: 553
  • 1407502761554.jpg
    1407502761554.jpg
    65.2 KB · Views: 618
Top
Sign up to the MyBroadband newsletter
X