yashsingh1/xdaforums huggingface dataset:
[Device Reviews and Information] bunchofdutch:
Flashing DG800 from Linux

Hello everyone,

Has anyone succeeded flashing this phone from Linux? I use SP_Flash_Tool_exe_Linux_v5.1452.00.100 and try to flash without battery. It almost works but then I get "BROM Exception! ( BROM ERROR : S_BROM_CMD_JUMP_DA_FAIL (2035)". Following a hint on another forum I've tried flashing with volume up pressed, or volume down, or both power + vol up or down, all that doesn't help.

Full output of SP Flash Tool:

[HINT]:)((ConnectBROM,../../../qt_flash_tool/Conn/Connection.cpp,85))

Connecting to BROM...

Scanning USB port...

add@/devices/pci0000:00/0000:00:12.2/usb1/1-1

add@/devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1:1.0

add@/devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1:1.1

add@/devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1:1.1/tty/ttyACM0

vid is 0e8d

device vid = 0e8d

pid is 2000

device pid = 2000

com portName is: /dev/ttyACM0

Total wait time = -1435471731.000000

USB port is obtained. path name(/dev/ttyACM0), port name(/dev/ttyACM0)

Scaning USB port succeeded!

USB port detected: /dev/ttyACM0

BROM connected

Downloading & Connecting to DA...

COM port is open. Trying to sync with the target...

Failed to Connect DA: S_BROM_CMD_JUMP_DA_FAIL

BROM Exception! ( BROM ERROR : S_BROM_CMD_JUMP_DA_FAIL (2035)
[Device Reviews and Information] AirFlame:
I found it on some forum check it out:

1. In the directory with the unpacked FlashTool give rights to execute the file flash_tool
chmod + x flash_tool

2. Add your user to the group uucp, in order to have write access to the virtual COM-port
gpasswd -a [your user] uucp

After that it is necessary to re-login for the changes to take effect

3. Put the rules for udev, so that our phone was defined as a COM-port. For my Arch linux they are in the aura, the package android-udev-git. Do it in your distro, I do not know. You can do it all by hand. Copy files 51-android.rules here in /usr/lib/udev/rules.d/, well, or to where your distro are rules udev, (in bubunte earlier rules were in /etc/udev/rules.d/, themselves look) .In its rules for most manufacturers android devices. Of course you can tear out the rules for MTK-only devices, but I was too lazy to understand

4. Restarting udev rules
udevadm control --reload-rules

5. Check whether the required poyavletsya our device.
dmesg -w
connect the phone off and we should see something like this
[12283.705409] cdc_acm 1-1: 1.1: ttyACM0: USB ACM device
[12286.292367] usb 1-1: USB disconnect, device number 77

If you see a line with ttyACM0, then we did everything right. If not, recheck whether all done

6. Paragraph 2-4 performed with root privileges. That's actually all the preparations

7. Run through ./flash_tool

The flash is the same as on the windows version

PS All of this was done on Arch linux 64bit. Evading who turned to flash, or what did not work

Btw on what % it stop ? Format blue line, red line ? or yellow line ?
[Device Reviews and Information] Ninja X:
Does gyro work on lollipop? Is it with it?
[Device Reviews and Information] AirFlame:
This one ?

https://play.google.com/store/apps/details?id=pl.submachine.gyro&hl=pl
[Device Reviews and Information] Ninja X:
Sorry. The in built gyroscope
[Device Reviews and Information] AirFlame:
HAHAHAHHAHA installed Sensor Kinetics and it says on LL 5 DG800 "Gyroscope not avaiable on this device"
[Device Reviews and Information] Beat_Slayer:
It has accelerometer, not a gyro.
[Device Reviews and Information] Ninja X:
Yeah but in kk there is. It just doesn't work after flashing
[Device Reviews and Information] Beat_Slayer:
No, there's no gyro hardware on the DG800.
[Device Reviews and Information] Ninja X:
But sensor kinetics on kk says so. So does antutu. ?
[Device Reviews and Information] Beat_Slayer:
But there isn't, there's a driver on the ROM, who tricks some apps into thinking there is a gyro, but really there's no gyro hardware.
[Device Reviews and Information] Ninja X:
Ok. I thought froggy vr had worked before flashing
[Device Reviews and Information] arnes86:
Did anyone install Igo on DG800 , and can tell me where I can dowload and install navigation ??? Thanks a lot....
[Device Reviews and Information] AirFlame:
Any luck on making custom fixed rom for LL ?
[Device Reviews and Information] Beat_Slayer:
Custom ROM, NO, we don't have the sources needed to do it.

But I'm developing some xposed modules to fix some annoyances I have, I'm finishing the UI for the modules of the systemUI and Launcher, then I'm gone look into the rotation problem.
[Device Reviews and Information] AirFlame:
Ok, can't wait :) Let us know when You will finish :)
[Device Reviews and Information] Birdnose:
Curious if anyone's had trouble rooting the 5GB+1 ROM image. Whenever I try to install SuperSU v2.46 by installing the ZIP in recovery, on my next boot system apps start crashing and half my apps disappear. This isn't my first time rooting a phone, but I've never had this happen before.
[Device Reviews and Information] bunchofdutch:
Thanks. I had done the udev setup, when I do dmesg I get:

[ 3185.717400] usb 1-1: new high-speed USB device number 4 using ehci-pci

[ 3185.851654] usb 1-1: New USB device found, idVendor=0e8d, idProduct=2000

[ 3185.851667] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0

[ 3185.851674] usb 1-1: Product: MT65xx Preloader

[ 3185.851680] usb 1-1: Manufacturer: MediaTek

[ 3185.950843] cdc_acm 1-1:1.1: ttyACM0: USB ACM device

[ 3185.993761] usbcore: registered new interface driver cdc_acm

[ 3185.993770] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

So that looks like the other post says it should.

But still getting:

COM port is open. Trying to sync with the target...

Failed to Connect DA: S_BROM_CMD_JUMP_DA_FAIL

BROM Exception! ( BROM ERROR : S_BROM_CMD_JUMP_DA_FAIL (2035)

How do you guys flash the DG800, you push Download in SPFlashTools then you connect the phone without its battery?
[Device Reviews and Information] AirFlame:
Setup the SPFlashTools hit download button and connect the phone without battery to the usb. And it should work. If an error try again.

Install BETA-SuperSU-v2.49.zip

1. Make root.

2. Enter recovery.

3. Dont install SuperSU restart phone.

4. Setup phone.

5. restart phone and go to recovery again and install BETA-SuperSU-v2.49.zip

6. Restart after installing.

7. Install SuperSU pro 1.0
[Device Reviews and Information] AirFlame:
Lol i am on Lollipop 5 on DG800 had 33% of battery someone called was talking 3 minutes phone died :D

Da hell...
[Device Reviews and Information] oemcn:
......... time to buy new battery ;)
[Device Reviews and Information] AirFlame:
What ? o_0 i got the phone 2 weeks ago LOL !!
[Device Reviews and Information] oemcn:
I have 2 new battery and go to 0% & then go to save shutdown... the old battery was die after 4 months. Now I use lg charger 0,7A because this from Doogee is peace of crap.. i try to charge every day from 40-80% this is the best way for battery.
[Device Reviews and Information] AirFlame:
Did You bought the DOOGEE battery ? Or some else ? That have same specifications as doogee one ?
[Device Reviews and Information] Montenegro94:
Root ?

Do I have to root my doogee valencia in order to install Lollipop on it ? :)
[Device Reviews and Information] oemcn:
I bought original doogee dg800 2000mah 6€ on "dx.com" its been 8 months since purchase. It is better then old one, but i also keep an eye on how i charged

---------- Post added at 11:28 AM ---------- Previous post was at 11:15 AM ----------

You do not need to root.
[Device Reviews and Information] Montenegro94:
Thanks :) And btw i can't connect my phone without battery to my laptop, it keeps connecting and disconnecting, what can i do about it ?
[Device Reviews and Information] AirFlame:
What system ?

Ok Thx.
[Device Reviews and Information] Montenegro94:
Meanwhile, I've managed to connect it .. It was just a problem with drivers .. Now, I have a new problem :/ After installing Lollipop, auto-rotation is not working .. Any solution for this problem ?
[Device Reviews and Information] greg10:
any way to root with android 5? i mean except kingroot, this way sucks a little
[Device Reviews and Information] AirFlame:
Beat_Slayer is working on it rotaion. It not working in browser and in phone menu. But working in camera, gallery mode :)

Try Beat_Slayer tutorial :

http://xdaforums.com/showpost.php?p=61500827&postcount=791
[Device Reviews and Information] Ninja X:
Yep. Super su 2.49 beta
[Device Reviews and Information] Birdnose:
It works for me if I install "Ultimate Rotation Control" and set it to "Forced Auto" mode. I had to add a per-app exception for Camera and Barcode Scanner (set them to "Auto") or they didn't work right, though.

---------- Post added at 10:19 PM ---------- Previous post was at 10:09 PM ----------

Nope. I didn't even have to do anything to unlock the bootloader. If you're going to the trouble of flashing a new ROM it's a good time to add a custom recovery, though, in case you want to root in the future.
[Device Reviews and Information] greg10:
yes but how will i flash it dude? with twrp recovery?
[Device Reviews and Information] Ninja X:
I used cwm to flash it, but I guess you could use twrp
[Device Reviews and Information] greg10:
can you give me a guide for cwm?
[Device Reviews and Information] Ninja X:
OK

Step 1: Download the Super Su 2.49 Beta.

Step 2: Power off device and boot in recovery.

Step 3: Select in Cwm 'install zip'

Step 4: Select 'install from SD card.'

Step 5: Select the folder that Super Su 2.49 is in.

Step 6: Select Super Su 2.49 and confirm flash.

Step 7: Reboot.

If it gives you a root fix option, select it.
[Device Reviews and Information] greg10:
When i boot in recovery it only displays some options in chinesse. How i flash the cwm recovery?
[Device Reviews and Information] Ninja X:
Use sp flash tools. Power off device, then take out battery and connect to computer. Get the recovery and scatter from the forum. Choose the bottom option after searching 'hanuma50'. Good luck.
[Device Reviews and Information] H4M24:
Hello guys , I have read the whole thread and Installed LL using bitslayer's (wuthout TWRP) files but when I try to go recovery it just gives me a pic of a dead android with a red triangle on top of it , can I fix this without flashing the whole damn thing again, :/

Edit : I flashed TWRP recovery and still have the same problem.
[Device Reviews and Information] Beat_Slayer:
Just press at the same time the power button and volume up.
[Device Reviews and Information] H4M24:
Thanks ,I was able to boot in recovery ,and I tried to flash Xposed-v66 sdk21 arm.zip but it gave me an Error 'Error:Invalid OTA pakage ,missing scatter'

Edit : Never mind I re flashed the whole thing again ,every thing works fine now thanks
[Device Reviews and Information] Ninja X:
Carliv?
[Device Reviews and Information] Beat_Slayer:
You're on stock recovery then.

---------- Post added at 02:52 PM ---------- Previous post was at 01:54 PM ----------

Here it is: http://xdaforums.com/xposed/modules/mod-launcher-3-mod-t3150598/
[Device Reviews and Information] hungnmhq:
good phone if have 2GB RAM
[Device Reviews and Information] AirFlame:
Nice now i can delete the white background. Now rotation and the problem with the programs running in sleep mode...

Btw i installed the Luncher changed options but no change. I need to change what luncher will start ? If yes how and where ?
[Device Reviews and Information] Beat_Slayer:
You need to force stop the launcher so it reloads with the new settings, press "Show Launcher3 App Info" and force stop it.

---------- Post added at 07:00 PM ---------- Previous post was at 07:00 PM ----------

? ? ? ?
[Device Reviews and Information] AirFlame:
One time it worked now it says Xposed framework version 66 is installed but not active. Please check logs for details.

It happend after reboot phone. And now is working again with the reboot. This xposed is so unstable ...
[Device Reviews and Information] AirFlame:
Cant backup using cwm :/ I have a error when starting the SYSTEM backup. Anyone else have it on LL 5 ?
[Device Reviews and Information] Beat_Slayer:
It's an error on that version of CWM, try with TWRP.
[Device Reviews and Information] AirFlame:
I had a TWRP installed before and it was crushin my phone when entering in recovery mode.
[Device Reviews and Information] Beat_Slayer:
Crashing??

Did it reboot when you went into recovery?
[Device Reviews and Information] AirFlame:
No, when i try to enter the recovery when i had TWRP it show me the:
[Device Reviews and Information] Beat_Slayer:
And then you press at the same time volume up and power button for it to go into recovery.
[Device Reviews and Information] AirFlame:
Hmm... Dont want to delete the system and install rom again. What file i should use so TWRP will work on DG800 LL 5 ? I need to use Flashify to install TWRP ? Maybe it will be better ?
[Device Reviews and Information] Beat_Slayer:
You should try with the TWRP hanuma50 posted. As for the rest I don't know since I didn't test it.
[Device Reviews and Information] AirFlame:
Dang not working with Flashify :(

Doing this: https://www.youtube.com/watch?v=FYbXH252k0s
[Device Reviews and Information] Beat_Slayer:
I don't believe flashify works with MediaTek SOCs.

You could try with MobileUncleTools, but I haven't tested it also.
[Device Reviews and Information] AirFlame:
:( I am scared to use MobileUncleTools
[Device Reviews and Information] Ninja X:
Hi Guys, I am trying to port Cyanogen Mod 12 from DG700 but I am having a some problems. :D No matter what, i get a "detected filesystem ext4 for /dev/block/mmcblk0p5 " error when trying to install zip. :( I use META-INFs' from old ROMs and modify them. Then I create the zips with an auto creator. I've tried several tutorials, but nothing seems to work. I also can't install the kitchen with cygwin since i can't find the cygwin_packages zip. Any help would be appreciated. :D Using a DG800 with TWRP.
[Device Reviews and Information] armannozic:
Can someone please answer

I'm thinking about buying it, it has lolipop installed. I just want a cheaper phone with a really good camera, that's really important to me and to use instagram, facebook, viber and whatsapp. And of course wi fi. Will this phone be good for that?? I read there are problems with wi fi? How long will battery endure with use of viber, fb, instagram? How is camera?

THANKS
[Device Reviews and Information] AirFlame:
About battery check: http://xdaforums.com/showthread.php?p=61472289#post61472289

About camera check the internet there are allot of examples just type dg800 camera or photo review / sample

About Wi-fi well it kinda weak i had a cheep samsung phone and it have captured signal where DG800 can't.

About the original Lollipop well i think You will need to flash it anyway... Because original LL 5 suck with battery and space.
[Device Reviews and Information] H4M24:
Can anyone tell me how to disable that ugly network type indicator next to the network bars ( G , 3G ,R) ,they are taking too much space on the status-bar ,Gravity box has an option to do so but it doesn't work.
[Device Reviews and Information] Beat_Slayer:
I've developed a xposed module to do that, I'll publish it later and let you know.
[Device Reviews and Information] H4M24:
Thanks ,looking forward for it :)
[Device Reviews and Information] Ninja X:
go for a valencia 2 pro instead. Just my opinion :D
[Device Reviews and Information] Beat_Slayer:
Upload the ROM somewhere I'll take a look at it.
[Device Reviews and Information] Beat_Slayer:
Here it is, an xposed module to remove the network type indicator letter from the status bar.
[Device Reviews and Information] Ninja X:
Thanks, I have Got kitchen up and running and my latest port gives me status 0 in cwm. Which one do you want. I've looked at the kitchen Faq. Is it Because i don't have an update zip with Lollipop on so the Meta-Inf is wrong? Thank you so much.:o
[Device Reviews and Information] Beat_Slayer:
Just upload the script that it's outputting the error.
[Device Reviews and Information] Ninja X:
This one has the mmcblk0p5 error

Here it is. TIA:ohttps://drive.google.com/file/d/0B5ZXRIpl-Z6vMXR2a0FlVXlMYnM/view?usp=sharing

This one has the status 0 error.

https://drive.google.com/file/d/0B5ZXRIpl-Z6vQy1mS3YyR0pqTlk/view?usp=sharing
[Device Reviews and Information] H4M24:
Thanks man ,now to the next problem : OTG is not working and usb devices don't respond at all when plugged to the phone :confused:
[Device Reviews and Information] Beat_Slayer:
:laugh: I've noticed that yesterday. hehehe

I'll look at it whenever I got time.
[Device Reviews and Information] Beat_Slayer:
I didn't catch any error on any of the two scripts, you could try adding some debugging prints to the scripts so you can see where it stops.
[Device Reviews and Information] Ninja X:
How?
[Device Reviews and Information] xkjq:
So it seems like I may have managed to well and truly brick my device.

Had a bit of an "issue" whilst flashing lolipop. Now phone is completely non responsive to the power button. Plugging it into the computer on windows I get a a "failed to install driver loop", on linux its more like

add@/devices/pci0000:00/0000:00:12.0/usb8/8-2/8-2:1.1

add@/devices/pci0000:00/0000:00:12.0/usb8/8-2/8-2:1.1/ttyUSB109

add@/devices/pci0000:00/0000:00:12.0/usb8/8-2/8-2:1.1/ttyUSB109/tty/ttyUSB109

remove@/devices/pci0000:00/0000:00:12.0/usb8/8-2/8-2:1.0

remove@/devices/pci0000:00/0000:00:12.0/usb8/8-2/8-2:1.1/ttyUSB109/tty/ttyUSB109

remove@/devices/pci0000:00/0000:00:12.0/usb8/8-2/8-2:1.1/ttyUSB109

remove@/devices/pci0000:00/0000:00:12.0/usb8/8-2/8-2:1.1

remove@/devices/pci0000:00/0000:00:12.0/usb8/8-2

Had a quick look through this thread and couldn't see anyone else with the same problem (though its a long thread so may well have missed it).

I presume if I can reflash the preloader it would probably start working again, unfortunately I can't seem to get it to the stage where smart phone flash tool will detect it to do so. Anyone have any suggestions?
[Device Reviews and Information] Beat_Slayer:
It seems you should just flash it with SP Flash Tools without battery.
[Device Reviews and Information] xkjq:
Yep, reinstalled the USB drivers and about 15 attempts later finally managed to get it to flash.
[Device Reviews and Information] H4M24:
can you share what's working and what's not ?
[Device Reviews and Information] xkjq:
Haven't noticed anything that isn't yet.
[Device Reviews and Information] Ninja X:
I can't make any Portable Roms.:crying::crying::crying::crying::crying:

Help?
[Device Reviews and Information] robert896:
I HAVE A PROBLEMMMM :'c

soo my charger port on my dg800 got damaged today right.. it couldn’t charge

i opened it and used a screwdriver to temporarily push the black thingy in the port up . so its charged now, however, it cant charge unless i do that again or replace it..

so i decided to replace it .

the port looked like this-- -- but im not sure exactly if it matters if i use another micro usb port because they all have 5 pins and pass data..

so as long as it fits, does it matter?????
[Device Reviews and Information] Beat_Slayer:
If it fits on the soldering pads and on the fixation pads, it really doesn't matter.
[Device Reviews and Information] Beat_Slayer:
Theres a nice thread with a lot of experienced people here: http://xdaforums.com/showthread.php?t=2274332
[Device Reviews and Information] robert896:
thank you
[Device Reviews and Information] Beat_Slayer:
Pay atention to the position, also else it won't fit. :cyclops:
[Device Reviews and Information] AirFlame:
Hey anyone have the same problem when i am min 2G range my internet stop working but when it change to 3G it works ok... What is wrong ?
[Device Reviews and Information] Beat_Slayer:
Bad cell tower. :confused:
[Device Reviews and Information] AirFlame:
Well i think no. I was on vacation in my country and i was doing stops on some places to rest. And all places that had no 3G signal the internet was not working. When the 3G showed it started working. Even if i set up only 2G now and i am in town the internet seems not to work.
[Device Reviews and Information] Beat_Slayer:
I got it, check the frequencies of the slot where you inserted the card, and the 2G frequencies of your operator. :cyclops:
[Device Reviews and Information] AirFlame:
Added the code from the link below for (PLAY) on DG800 and the internet works on 2G :) If someone have the same problem just add the code and check 2G/3G and it will start working :)

http://www.numberportabilitylookup.com/networks?s=
[Device Reviews and Information] AirFlame:
Lol i hope DOOGEE will release some patch ...

https://hacked.com/serious-android-exploit-stagefright-threatens-95-android-phones/
[Device Reviews and Information] h-bagge:
So I downloaded your file but when flashing the image (Firmware Upgrade) it stops at "Download Flash 6%". The only thing moving is the Timer.

Any idea what's wrong?

E: After ~18 minutes there comes a message:

BROM ERROR : S_FT_DOWNLOAD_FAIL (4008)

Donwload to flash fail! Please press CTRL+ALT+T to turn on debug log then reproduce again!
[Hint]:
BROM_DLL_V5.log and BROM_DLL.log would be created and record more detail information.

And surprise, nothing happens when I press ctrl+alt+t...

E2: It has to be something about that 5.1 Rom...I can flash the "z869h-oq-k44-qhd-wg850p2100-emmc-64g8g_DOOGEE-VALENCIA-DG800-Android4.4-2014_11_18_release" without problems.

Is it really necessary to push the Vol+&Power-Button while pluging the usb in?
[Device Reviews and Information] AirFlame:
Hmm was testing phone for a little while. It seems it have problems to switch back from 2G to 3G. When i am in 3G range and i have a 2G working it seems the phone have problem with chaning automaticly to 3G. When i go to options and press show networks it give me all networks around i press "PLAY 3G" and after that i can use 3G. I dont know if the problem is with the phone or network ? When i change to 3G i have full bars signal. I have in options checked change automaticly 2G/3G. Anyone have the same problem on LL 5.0 ?
[Device Reviews and Information] Beat_Slayer:
I don't have any problems with that.
[Device Reviews and Information] AirFlame:
So it seems this is just my phone :( When it goes out of 3G i have little "R" above the signal bar and on the left it says 3G then the internet is not working. When i have 3G on left and above the signal bar little "3G" then internet works.
[Device Reviews and Information] Beat_Slayer:
That's the roaming configuration.

Activate data roaming on your cellular network settings.
[Device Reviews and Information] h-bagge:
Had a similar problem here in Germany. I had to activate data roaming otherwise I wouldn't have internet access. With this I installed the app "Roaming Guard" so I wouldn't have any problems when my phone connects with the network of another country.

Anyway I still can't flash the 5.1 rom.. Could it be a error in the checksum or in the scatter-file? On the other hand some other people managed to flash that rom, though...:confused:
[Device Reviews and Information] Beat_Slayer:
5.1 ROM?? ? Where did you got it?
[Device Reviews and Information] AirFlame:
Working :) Lol i did not know i need to have it activated in my country for internet to work.

o_0

i think doogee did not release the 5.1
[Device Reviews and Information] h-bagge:
My bat, I meant 5.0 from #820.
[Device Reviews and Information] alekmacedon:
I have problem with my phone dg800 , when i work on him or use some app , sometimes some of the buttons are clutching by themselves and becouse they are vibrating i feel that problem is with some of the three buttons. for example if i start some app after some work i feel vibrating and that back me do the previous , so if any idea what can be, i do a factory reset the same problem , is this a problem meybe with the touchscreen ? just to know what part to change, thanks
[Device Reviews and Information] Beat_Slayer:
Yup, most probably it's the touchscreen, you can try taking it out, cleaning the adhesive, and putting a new one, and see if it helps, otherwise replace it.

---------- Post added at 10:49 PM ---------- Previous post was at 10:48 PM ----------

Just follow the guide I posted and you should be good to go.