[General Questions and Answers] NaturalBornCamper:
UPDATE:

DO NOT BUY THIS PHONE!!

DO NOT BUY THIS PHONE!!

DO NOT BUY THIS PHONE!!

DO NOT BUY THIS PHONE!!

From the moment I bought this phone, I only had problems:

-Facebook always freezing/hanging/lagging when I'm talking to someone that is talking at the same time (had to revert to Android 4.4 to fix this).

-Battery could not handle the heat of the "waterproof" phone and eventually bloated, becoming so swollen that I had to buy a new one.

-Back cover's cheap plastic snapping bits eventually broke as well, had to replace the back cover and order a new one (and one snap broke again).

-Phone was never waterproof, tiny droplets of water could get in from the microphone whenever it was humid and the phone was useless when it happened

-"Shockproof" phone fell from a height of one meter while I was cycling and now the touchscreen is completely unresponsive, even in recovery... completely dead

-Supposedly solid touchscreen cracked real bad at 2 places after I inadvertently put my keys in the same pocket

-The fake plastic chrome in the back gets all scratched and chipped as it's the first thing that touches any surface.

-I suspect this phone of having corrupted and ruin 2

genuine

sdcards that I had to replace. Thank you for SanDisk warranty!!

Now all I have is a very expensive clock with a screen that I can just turn on and off. Go look somewhere else than Doogee to buy a phone. I dropped my old LG-P500 from the third floor when I hung the sheets while my phone was in there, dropped a cheap Mediatek Cubot down the stairs and both worked perfectly after. But a stupid shockproof phone can't survive a one meter fall

IF YOU ALREADY HAVE THIS PHONE

Best way to use it is to revert back to Kit Kat. Believe us (Several XDA members and me), Android 5.0, even with the backport fixes is unresponsive, slow and sluggish.

tvladan made a guide for the best way to repartition + root + custom recovery + xposed your phone on post #239:

http://xdaforums.com/showpost.php?p=63260626&postcount=239

OLD POST:

This thread is a work in progress for the DG700 to get better partitions, root access, a custom recovery, the Xposed framework and fix memory leaks.

We are still improving it, here's what we have so far:

4GB internal storage partition --> OK

6GB internal storage partition --> IN PROGRESS

Root access with Kingroot --> OK

Root access with Super SU --> OK

Custom Recovery --> OK

Xposed framework --> OK

Custom ROM with black theme --> IN PROGRESS

Credits:

All this has been made possible by the common efforts of XDA members tvladan, Nudeldampf, Pepo1980, mikaelbrostrom, lunito.

ROM was made by Yalita35254

Recovery was ported from yuweng's TWRP by Hanuma50

Xposed framework was developped by rovo89

The bootanimation memory leak was fixed by arter97

The ColorFade memory leak was fixed by tonyp

Make sure to click "thanks" to these awesome people if you see their posts!

Disclaimer:

Of course, none of the listed people and me are responsible if you break your device completely. However, during the test phase I have flashed well over 80 times total and many times thought I killed my phone definitely, but it was always ok. Flashing is so easy nowadays, and you can pretty much always recover from any mistake by reflashing everything. If your phone is not detected anymore by the flashing software, unplug the phone, remove its battery and wait a few seconds before retrying.

Guide:

Step 0, getting ready:

If you just want a rooted phone with a minimal footprint that will still be easily update-able via the phone's "Wireless update", go on page 2 for a guide to simply root the phone.

When you make ANY operation in SP Flash Tool, PHONE MUST BE OFF AND ONLY CONNECT YOUR PHONE AFTER YOU CLICK THE "START" OR "DOWNLOAD" BUTTONS

If your device is undetected in SP Flash Tool, unplug and remove the battery then try again.

You don't have to do all the steps, depending if you just want a repartition, a root, or the whole package

Don't try to skip steps by flashing the rooted /system partition and custom recoveray at the same time, it will not work

Make sure you have at least 80% battery, just to be sure. Flashing takes a lot of juice, especially the first boot that will show a white logo with full brightness for a while

Step 1, Download drivers and open command window:

Download the VCOM USB Drivers attached in this post, extract them, then open a command windows in Administrator mode like this:

Step 2, Install the drivers:

Change the directory to the location of the auto-installer and execute install.bat:

Step 3, Verify driver:

To verify if the drivers are OK, turn your phone off and plug it in your computer. You should hear the familiar Windows chime when a new device was plugged in. The Command Window should look like this after the installation:

Step 4, Download the ROM and rooted system:

Download both the 4GB of internal storage repartitioned ROM and rooted Android in this package

You will have to flash the ROM and the rooted /system partition in different steps, so follow the guide and don't try anything to skip steps.

Step 5, Format your phone accordingly:

Download SP Flash Tool v5.1352.01, extract and open flash_tool.exe

You must then format your phone to make it work with the customized re-partitioned ROM by entering these values in the Format tab:

0x0000000045F80000

0x000000018CC80000

Then make sure your phone is DISCONNECTED AND TURNED OFF, click start, wait a second or two and connect your phone. Let SP Flash Tool do its magic until you see the success popup

Step 6, Select the scatter file:

In the Download tab, select the scatter file from the r21 ROM you just downloaded to load all the partitions in SP Flash Tool

Step 7, Flash the repartitioned ROM:

After SP Flash tool finished the checkups, make sure all the settings are the same as the 1st screenshot, then with your phone DISCONNECTED AND TURNED OFF, click Download, wait a few seconds and plug your phone. Download shoud start

Step 8, Initial Android boot:

When you see the success message from SP flash tool, disconnect your phone and turn it on to set up your android. Keep SP Flash tool opened for the next step

THE FIRST BOOT WILL TAKE A VERY LONG TIME, encrypting your /data and FAT partitions, then seeming frozen in the white screen for 20+ minutes. BE PATIENT.

While your phone is booting, you can prepare for the next step.

Step 9, Flash the rooted Android (optional if you want to stop here):

If you just want the repartitioned and don't care about root (yeah, right!), you can stop here. If not, click on the ANDROID partition in SP Flash Tool to select the rooted partition that was included in the package you downloaded.

Make sure only this partition is selected like in the screenshot, then with your phone DISCONNECTED AND TURNED OFF, click Download, wait a few seconds and plug your phone. Download shoud start

Step 10, Apply the root:

Disconnect your phone and restart. This is mandatory before going any further, Android will install SuperSU for root permissions, wait for it to finish.

Keep SP Flash tool opened for the next step.

Step 11, Flash the custom recovery (optional if you want to stop here):

Download the custom recovery (Also attached to this post) then in SP Flash Tool, click the RECOVERY partition to select the recovery you just downloaded

Make sure only this partition is selected like in the screenshot, then with your phone DISCONNECTED AND TURNED OFF, click Download, wait a few seconds and plug your phone. Download shoud start

Step 13, Fix the boot animation memory leak (optional if you want to stop here):

Lollipop has lots of memory leak, especially version 1.0. But one of the worst ones is the boot animation memory leak that XDA member arter97 describes as being due to the memory allocated to play the previous frame is not released.

This can end up in an unstable Android system because of core services being killed due to insufficient memory, or sometimes even in boot loops that you must end by removing your battery (happened to me a few times). Fortunately, he fixed this and posted the solution.

13.1 Get the new binaries to fix that problem, make sure you get version 2:

13.2 Make a backup of file /system/bin/bootanimation. I use and recommend ES File Explorer. Make sure you turn on root explorer to see the system files like such:

13.2 Replace the bootanimation file with the one you downloaded. The one for our phone is this one in the zip package:

bootanimation_v2.zip\aosp\32bit\bootanimation

13.3 Make sure the owner, group and persmissions are the same as the original bootanimation file. It should be the same as on my phone:

Step 14, Download and Install the Xposed Framework (optional if you want to stop here):

If you want the Xposed framework, get the Xposed Installer and the SDK from the official Xposed Lollipop post

14.1 Download these 2 files and copy them on your SD card:

XposedInstaller_XXX.apk

xposed-vXX-sdk21-arm.zip (sdk22 is for Android 5.1)

14.2 Reboot your phone in recovery:

Power off phone or reboot

When the screen is black, before the DG700 logo appears, hold VOLUME-UP and "POWER" button together until you see a black and white menu

Move the cursor to the first menu item (recovery) with the VOLUME-UP button, then select by pressing the VOLUME-DOWN button

14.3 Once You are in your newly installed custom recovery, tap install:

14.3 Select the xposed-vXX-sdk21-arm.zip file from your SD card and swipe the handle at the bottom to accept

14.4 Once done, reboot and go in settings->security and activate Unkown Sources:

14.5 Navigate to where you downloaded the XposedInstaller_XXX.apk file with ES Explorer (or any other way) and install the Xposed application.

Step 15, Fix the Color Fade memory leak (optional):

One of the worst memory leaks of Android 5.0.x is the Color Fade memory leak that causes memory to pile up every time you turn the screen off.

This has been fixed by XDA member tonyp, with his Xposed module that follows the official Android 5.1 patch, available on in the Xposed repository or visa the Play Store:

I'm not 100% sure if Doogee's r21 has fixed this issue, but activating this module will either fix the leak, or change nothing. Better safe than sorry. If I get any confirmation that we don't need it, I will remove this step

Post-Notes:

To make changes to system apps, you can use the following tools. I recommend using these to avoid a boot loop or applications "closing unexpectedly":

Delete system app with Titanium Backup (System application manager corrupted my system)

Integrate updates into system with System application manager (Titanium Backup just shows the loading animation forever)

Convert user applications to system applications with System application manager (Titanium Backup just shows the loading animation forever)

If you wish to install Doogee's r24 update, you cannot do it with the recovery as it will end up in a boot loop. You must use this technique explained by mikaelbrostrom on page 22 of this thread. I did not include these steps here as I did not test it and don't have the screenshots.

If you want to backup all phone, it seems that MTK Droid Tool is not working properly and XDA member lunito has found a way to backup all your phone with some hacks described on page 23 of this thread, using this technique. I did not include these steps here as I did not test it and don't have the screenshots.