FORUMS

Rooting Double Power (DOPO) M7088 Jelly Bean 4.1.1 Tablet

5 posts
Thanks Meter: 5
 
By backslashx, Junior Member on 3rd April 2013, 06:02 PM
Post Reply Email Thread
30th July 2013, 09:16 PM |#11  
Junior Member
Flag New Jersey
Thanks Meter: 6
 
More
Red face Dump and Flash the dopo M7088 and other RK3066 based ROMs
Any information I give is to be used at your own risk. I take no responsibility for any damage to your device.

Here's my story: I installed an application to change the fonts after I rooted. This damaged the system and created a boot loop. At this point I had not worked out a reliable method to backup and restore the ROM and in the process of trying to fix, I wound up damaging the partitions trying to push a file back into the tablet with adb.

So in my research to restore the ROM, I came across several methods to flash the ROM, but very few methods to dump the complete ROM and I wanted to be able to extract and restore the entire ROM. In another thread, I found scripts to dump the rk3066 chipset. I expanded this idea and modified the scripts to flash the ROM as well. Also, I created an installer script to simplify the process.

These scripts need to use the Ubuntu Linux live DVD to dump and flash the ROM. The advantages of Linux is you can directly connect to the tablet in flash mode without the trouble of having to install drivers or the android SDK.

Download the Linux 12.04 LTS version from the following Link http://www.ubuntu.com/download/desktop .

Once downloaded, burn this ISO file to a DVD using your favorite DVD burning software. Most burning software have the ability to decode ISO files. If needed, here is a free ISO burner. Link: http://download.cnet.com/ImgBurn/300...ml?tag=mncol;2

Download the attached zip file and copy the zip to the USB drive. Do not decompress in windows as we need to do this under linux to preserve the stored permissions.

Boot the PC from the DVD drive. This should start the Linux. You may need to press an “F” key during the BIOS boot to bring up a menu to select which drive to boot from. You should see a purple screen. This is Linux loading. Select the “Try Ubuntu” option and the Linux should boot to the Linux Desktop.

OK, we are in Linux!

Insert the USB drive into the PC wait for the Linux to open a window. It may take a little bit as we are running off a DVD and some resources need to load. Be patient and watch the light to finish blinking on the USB stick! Drag the “ExtractRomRK3066.zip” file in the USB window to the desktop.

Write down the name of the USB in the title bar of the window.
For example, My USB window says: F490-4740 in the title bar. Write this down, then move the USB window to the side.

Double click on the zip file, this opens the zip in a window. Drag the “ExtractRomRK3066“ folder in the zip window to the desktop. When the copy is finished, close the zip window.

Click on the “Dash Home” icon on the top left of the desktop, Type “Terminal” in the search box and select the terminal application icon.

In the Terminal Window type exactly as shown while observing the caps:
cd ~/Desktop/Ex*

Type the command:
ls -l

You should see a file named “install.sh” along with other commands ending with “.sh”.

Type the line as shown below including the “./”:
./install.sh

The required libraries should install to Linux. Don't worry this is only in memory as we are not installing anything to your hard drive. Make sure everything completed without Errors. If you only see warnings, this is OK!

Let's connect the Tablet to the USB port and put into flash mode. With the Tablet power off and the all cables removed, hold the Vol– button and plug in the USB cable. Continue to hold the Vol- button for 5 seconds. Let go of the Vol- button and connect the power cable. We should now be in flash mode.

We can test if we connected to flash mode by typing:
lsusb

You should see a list of USB devices. Within this list you should see a entry that has the ID:
ID: 2207:300a

If you see the ID, great we are connected to the tablet. If not, make sure the tablet is off and do the above Tablet procedure again.

OK we are connected!

Dumping the ROM

Type the following command replacing the “F490-4740” with your USB name we wrote down earlier from the USB title bar and follow the prompts. This will start the dump of the tablet:

sudo ./dumpall.sh /media/F490-4740/output

YAY! We are dumping the ROM!

Now we wait for “done...”, hopefully without any errors.

Double click on the “ output” folder in the USB drive window.

Verify that we have “backup.img”, “boot.img”, “kernel.img”, “misc.img”, “parm.img”, “recovery.img”, “system.img and userdata.img.

Now in the left panel of the USB window. Click on the ^ icon next to the USB drive description. This will unmount the USB drive for removal.

We are done!

Flashing the ROM

To flash a file you will notice other commands with the extension “.sh”. You may use any of these commands to restore all or part of the ROM.

For example:
To flash the below stock rom, extract the zip file to a USB drive and type the command changing the “F490-4740” to the name of your USB drive:
sudo ./flashall-user.sh /media/F490-4740/dopo7088stock

To flash a backup of all files including the userdata.img, type the command changing the “F490-4740” to the name of your USB drive:
sudo ./flashall.sh /media/F490-4740/dopo7088stock

To flash just the recovery, do the same as above only with the command:
sudo ./flashrecovery.sh /media/F490-4740/dopo7088stock

To flash just the system, do the same as above only with the command:
sudo ./flashsystem.sh /media/F490-4740/dopo7088stock

The valid command are:
sudo ./dump?.sh
or
sudo ./flash?.sh

replacing ? With:
all, all-user, backup, boot. cache, kernel, kpanic, misc, recovery, system, user, userdata

----------------------

Hope this helps somebody create a full backup.

Thanks.

UPDATE: I got another dopo m7088 tablet, created a backup using the above method and flashed my bricked m7088 tablet. Everything works again. YAY!

Below is the dumped stock rom for the dopo m7088. Hopes this help's sombody unbrick their tablet.

Extract the dopo7088stk.zip to a USB drive and follow the above instructions.

Thanks

Stock Rom Link: https://docs.google.com/file/d/0B8Yn...it?usp=sharing
Attached Files
File Type: zip ExtractRomRK3066.zip - [Click for QR Code] (60.3 KB, 750 views)
The Following 3 Users Say Thank You to mikeopi For This Useful Post: [ View ] Gift mikeopi Ad-Free
17th August 2013, 04:27 PM |#12  
Junior Member
Thanks Meter: 1
 
More
Smile Thanks
I now have my M7088 again. Thank you . Your instructions where 100% right on.
The Following User Says Thank You to putertim For This Useful Post: [ View ] Gift putertim Ad-Free
19th August 2013, 07:12 PM |#13  
Junior Member
Flag New Jersey
Thanks Meter: 6
 
More
Smile Partition table not correct in stock M7088 ROM!
After I created the dump of the M7088 ROM and I flashed my tablet, I was looking at the parameter file and realized it was wrong from the factory!

There are several problems that may be the reason some people (including me) has had their devices brick for no apparent reason.

Below is the factory partition table. There is a blank space at address 118000 for a length of 11E000 bytes, this is not a problem. However, the "userdata" partition overruns the "kpanic" and "system" partition as well as the "system" partition overruns the "user" partition. This could lead to data corruption in the partitions.

Factory Partition Table: (length @ start)
[email protected](misc), (2000 + 2000 = 4000)
[email protected](kernel), (4000 + 4000 = 8000)
[email protected](boot), (8000 + 8000 = 10000)
[email protected](recovery), (10000 + 8000 = 18000)
[email protected](backup), (18000 + C0000 = D8000)
[email protected](cache), (D8000 + 40000 = 118000)
(ERROR - Space between 118000 and 236000)
[email protected](userdata), (236000 + 400000 = 636000)
(ERROR - 636000 is past 618000 and 61A000)
[email protected](kpanic), (618000 + 2000 = 61A000)
[email protected](system), (61A000 + 200000 = 81A000)
(ERROR - 81A000 is past 73A000)
[email protected](user) (73A000 -> end)

It looks like someone made a mistake and/or adjusted the partition sizes and never finished the job!

The only way to fix this is to correct the partition table and re-flash the entire device.

Before I corrected the "parameter" and "parm.img" file, I examined other RK3066 roms as well as the dopo TD1010. The TD1010 has a shorter "system" partition so the fixed partition table below is the same as the TD1010 all the way through the "kpanic" partition.

Fixed Partition Table: (length @ start)
[email protected](misc), (2000 + 2000 = 4000)
[email protected](kernel), (4000 + 4000 = 8000)
[email protected](boot), (8000 + 8000 = 10000)
[email protected](recovery), (10000 + 8000 = 18000)
[email protected](backup), (18000 + C0000 = D8000)
[email protected](cache), (D8000 + 40000 = 118000)
[email protected](userdata), (118000 + 400000 = 518000)
[email protected](kpanic), (518000 + 2000 = 51A000)
[email protected](system), (51A000 + 200000 = 71A000)
[email protected](user) (71A000 -> end)

I corrected the stock firmware and repacked it as dopo7088stkfixed.zip. This file can be flashed with the procedure in the earlier post, replacing the original zip package with this one.

Fixed Firmware Link: https://docs.google.com/file/d/0B8Yn...it?usp=sharing

Also, remember to do a full wipe after flashing.

Thanks


---------- Post added at 02:12 PM ---------- Previous post was at 01:51 PM ----------

Quote:
Originally Posted by putertim

I now have my M7088 again. Thank you . Your instructions where 100% right on.

No problem. Check my above post. I discovered the partition tables from the factory are wrong which could cause data corruption.

Thanks
The Following 2 Users Say Thank You to mikeopi For This Useful Post: [ View ] Gift mikeopi Ad-Free
11th September 2013, 04:07 AM |#14  
Junior Member
Thanks Meter: 0
 
More
i keep on getting this error when trying to reflash i follow the steps i dont know what im doing wrong? ..please help.

[can't open input file 'parm.img': No such file or directory
Error: mkkrnlimg could not decode partition table
[email protected]:~/Desktop/ExtractRomRK3066$
13th September 2013, 04:37 AM |#15  
Junior Member
Flag New Jersey
Thanks Meter: 6
 
More
Quote:
Originally Posted by bird56duce

i keep on getting this error when trying to reflash i follow the steps i dont know what im doing wrong? ..please help.

[can't open input file 'parm.img': No such file or directory
Error: mkkrnlimg could not decode partition table
[email protected]:~/Desktop/ExtractRomRK3066$

Sounds like the path to the files is incorrect.

The command "sudo ./flashall-user.sh /media/F490-4740/dopo7088stock" will look for the media in the path specified.

The "sudo ./flashall-user.sh" is the command part of the line.

The path can be interpreted as "/media/" + "The USB Drive Name in the title bar of the window" + "/" + "The Folder the media is in that has the parm.img file."

For example: if you have the files that includes the parm.img file on the USB drive in a folder called "ROM" and the name of the USB drive at the top of the USB drive window is "ABCD-0123", the line would look like:

sudo ./flashall-user.sh /media/ABCD-0123/ROM

Hope this helps.
14th September 2013, 01:49 AM |#16  
Junior Member
Thanks Meter: 0
 
More
opening awsfai
Quote:
Originally Posted by mikeopi

Sounds like the path to the files is incorrect.

The command "sudo ./flashall-user.sh /media/F490-4740/dopo7088stock" will look for the media in the path specified.

The "sudo ./flashall-user.sh" is the command part of the line.

The path can be interpreted as "/media/" + "The USB Drive Name in the title bar of the window" + "/" + "The Folder the media is in that has the parm.img file."

For example: if you have the files that includes the parm.img file on the USB drive in a folder called "ROM" and the name of the USB drive at the top of the USB drive window is "ABCD-0123", the line would look like:

sudo ./flashall-user.sh /media/ABCD-0123/ROM

Hope this helps.

I figured it out. thank you. I have another question what are the proper steps after flashing a new rom? I followed all your steps from dumping to flashing the new fixed rom, but cant get the device out of that stupid DOPO screen. After flashing with the new rom do you unplug it and reboot? BTW its not rooted. thanks
14th September 2013, 03:45 AM |#17  
Junior Member
Flag New Jersey
Thanks Meter: 6
 
More
Quote:
Originally Posted by bird56duce

I figured it out. thank you. I have another question what are the proper steps after flashing a new rom? I followed all your steps from dumping to flashing the new fixed rom, but cant get the device out of that stupid DOPO screen. After flashing with the new rom do you unplug it and reboot? BTW its not rooted. thanks

Hold the power key for about 15 seconds to force a shut down.

After shutting down, do you still get a stuck dopo screen?

If so, try a different USB port on the PC and try the procedure again. Sometime it does not seem to always take.

Make sure you are using the command sudo ./flashall.sh with the fixed rom. For the fixed rom to work, you have to flash all partitions. Then do a factory reset once it is fully booted.

Also, do a wipe. With the power off, hold the vol- and power key. This should bring you into the recovery menu. Do a wipe cache & wipe data/factory reset & reboot.
The Following User Says Thank You to mikeopi For This Useful Post: [ View ] Gift mikeopi Ad-Free
1st November 2013, 07:11 AM |#18  
Junior Member
Thanks Meter: 0
 
More
I have tried your technique at least 4 times and it doesn't work. I can't get through the Linux part with the downloaded file that you offer in your post. I get errors and I cannot go any further.

Either the file that you posted is not good or there is something else going on here. Any idea's? I have also seen other posts saying they cannot get past the errors.
3rd November 2013, 08:33 AM |#19  
Junior Member
Flag New Jersey
Thanks Meter: 6
 
More
Quote:
Originally Posted by mvalent000

I have tried your technique at least 4 times and it doesn't work. I can't get through the Linux part with the downloaded file that you offer in your post. I get errors and I cannot go any further.

Either the file that you posted is not good or there is something else going on here. Any idea's? I have also seen other posts saying they cannot get past the errors.

Please give me more info on what the errors are and what command are they after?
17th November 2013, 07:15 AM |#20  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by mikeopi

Any information I give is to be used at your own risk. I take no responsibility for any damage to your device.

Here's my story: I installed an application to change the fonts after I rooted. This damaged the system and created a boot loop. At this point I had not worked out a reliable method to backup and restore the ROM and in the process of trying to fix, I wound up damaging the partitions trying to push a file back into the tablet with adb.

So in my research to restore the ROM, I came across several methods to flash the ROM, but very few methods to dump the complete ROM and I wanted to be able to extract and restore the entire ROM. In another thread, I found scripts to dump the rk3066 chipset. I expanded this idea and modified the scripts to flash the ROM as well. Also, I created an installer script to simplify the process.

These scripts need to use the Ubuntu Linux live DVD to dump and flash the ROM. The advantages of Linux is you can directly connect to the tablet in flash mode without the trouble of having to install drivers or the android SDK.

Download the Linux 12.04 LTS version from the following Link .

Once downloaded, burn this ISO file to a DVD using your favorite DVD burning software. Most burning software have the ability to decode ISO files. If needed, here is a free ISO burner. Link:

Download the attached zip file and copy the zip to the USB drive. Do not decompress in windows as we need to do this under linux to preserve the stored permissions.

Boot the PC from the DVD drive. This should start the Linux. You may need to press an “F” key during the BIOS boot to bring up a menu to select which drive to boot from. You should see a purple screen. This is Linux loading. Select the “Try Ubuntu” option and the Linux should boot to the Linux Desktop.

OK, we are in Linux!

Insert the USB drive into the PC wait for the Linux to open a window. It may take a little bit as we are running off a DVD and some resources need to load. Be patient and watch the light to finish blinking on the USB stick! Drag the “ExtractRomRK3066.zip” file in the USB window to the desktop.

Write down the name of the USB in the title bar of the window.
For example, My USB window says: F490-4740 in the title bar. Write this down, then move the USB window to the side.

Double click on the zip file, this opens the zip in a window. Drag the “ExtractRomRK3066“ folder in the zip window to the desktop. When the copy is finished, close the zip window.

Click on the “Dash Home” icon on the top left of the desktop, Type “Terminal” in the search box and select the terminal application icon.

In the Terminal Window type exactly as shown while observing the caps:
cd ~/Desktop/Ex*

Type the command:
ls -l

You should see a file named “install.sh” along with other commands ending with “.sh”.

Type the line as shown below including the “./”:
./install.sh

The required libraries should install to Linux. Don't worry this is only in memory as we are not installing anything to your hard drive. Make sure everything completed without Errors. If you only see warnings, this is OK!

Let's connect the Tablet to the USB port and put into flash mode. With the Tablet power off and the all cables removed, hold the Vol– button and plug in the USB cable. Continue to hold the Vol- button for 5 seconds. Let go of the Vol- button and connect the power cable. We should now be in flash mode.

We can test if we connected to flash mode by typing:
lsusb

You should see a list of USB devices. Within this list you should see a entry that has the ID:
ID: 2207:300a

If you see the ID, great we are connected to the tablet. If not, make sure the tablet is off and do the above Tablet procedure again.

OK we are connected!

Dumping the ROM

Type the following command replacing the “F490-4740” with your USB name we wrote down earlier from the USB title bar and follow the prompts. This will start the dump of the tablet:

sudo ./dumpall.sh /media/F490-4740/output

YAY! We are dumping the ROM!

Now we wait for “done...”, hopefully without any errors.

Double click on the “ output” folder in the USB drive window.

Verify that we have “backup.img”, “boot.img”, “kernel.img”, “misc.img”, “parm.img”, “recovery.img”, “system.img and userdata.img.

Now in the left panel of the USB window. Click on the ^ icon next to the USB drive description. This will unmount the USB drive for removal.

We are done!

Flashing the ROM

To flash a file you will notice other commands with the extension “.sh”. You may use any of these commands to restore all or part of the ROM.

For example:
To flash the below stock rom, extract the zip file to a USB drive and type the command changing the “F490-4740” to the name of your USB drive:
sudo ./flashall-user.sh /media/F490-4740/dopo7088stock

To flash a backup of all files including the userdata.img, type the command changing the “F490-4740” to the name of your USB drive:
sudo ./flashall.sh /media/F490-4740/dopo7088stock

To flash just the recovery, do the same as above only with the command:
sudo ./flashrecovery.sh /media/F490-4740/dopo7088stock

To flash just the system, do the same as above only with the command:
sudo ./flashsystem.sh /media/F490-4740/dopo7088stock

The valid command are:
sudo ./dump?.sh
or
sudo ./flash?.sh

replacing ? With:
all, all-user, backup, boot. cache, kernel, kpanic, misc, recovery, system, user, userdata

----------------------

Hope this helps somebody create a full backup.

Thanks.

UPDATE: I got another dopo m7088 tablet, created a backup using the above method and flashed my bricked m7088 tablet. Everything works again. YAY!

Below is the dumped stock rom for the dopo m7088. Hopes this help's sombody unbrick their tablet.

Extract the dopo7088stk.zip to a USB drive and follow the above instructions.

Thanks

Stock Rom Link:


I have tried this today about 8 times today. 4 with each folder you supplied in every usb port on my computer. I could do it all the way down to the dumping. I couldn't get any of the flashing working and my m7088 tablet is still stuck on the dopo screen. Please help as I would like to have this tablet working for my way home in a week.

I have Linux as a second os on my laptop so the first part was easy.

Thanks for your help so far. Good info
19th November 2013, 06:23 PM |#21  
OP Junior Member
Thanks Meter: 5
 
More
M7088 backup
I am trying to add links to my back up of my dopo 7088 on here but i am not over the 10 posting limit for noobs so give me a bit and i will include a post with these links for all to download
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes