yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] lucaviend:
try mass storage mode to detect your sd card on pc...in case mtp didnt work

ofcourse both sim can use different tone
[Android Q&A, Help & Troubleshooting] ilsaggio73:
I can put different ringtones for 2 sim? but in the audio menu?
[Android Q&A, Help & Troubleshooting] Sam Nakamura:
Hey mate, hi everybody, I managed to kill my Imei with sp flash tool / format + download.. I know stupid but ey mistakes are stupid..

I have various backups on my pc but I am not sure what the efs backup looks like, my guess would be it's something with nvram.ext4? But not too sure... Anybody solved the problem successfully? Is it sufficient to restore this partition via twrp? I have done a screenshot of my 2 Imei numbers, if twrp fails can I restore them manually for example with engineer mode? Thanks for guidance
[Android Q&A, Help & Troubleshooting] moriel5:
The Engineer Mode app should suffice, no need for TWRP.

This a MediaTek device, not a Qualcomm device.

I've killed IMEIs before, on both Qualcomm and MediaTek devices.
[Android Q&A, Help & Troubleshooting] Sam Nakamura:
Ok ? thanks but I have a backup of my nvram.emmc.win and that equal efs? means I can restore my imei and Mac address easily via twrp cause I have read that the solution with engineer mode won't survive a hard reset or Rom update or better wipe dalvik and cache + factory reset..

I am little confused, cause on my i9305 efs is clearly written in the backup files but on the x5pro backup files I only can find nvram.emmc.win..
[Android Q&A, Help & Troubleshooting] moriel5:
I'll have to read a bit about the way MediaTek organizes their chips' structures, then.

Your I9305, though, has a SnapDragon processor, I only forget which (perhaps the S4?).

The I9300 utilizes an Exynos chip (again, I forget which).

I managed to get ahold of an official internal MediaTek document regarding the MT6735M, if it helps anyone.

I upload it soon, it's currently on my laptop.

I got it from a website which literaly publicizes such documents, mainly for companies.

I forget the name of the website, however if I'll remember I'll post it.

---------- Post added at 03:01 AM ---------- Previous post was at 02:30 AM ----------

Well here is the document.

Sorry, XDA Labs fails to upload it, so I uploaded it to Mega.nz.

It would appear that Mega.nz had removed the file, however I had finally found the website I had downloaded the file from:

http://www.datasheet4u.com/datasheet-pdf/MediaTek/MT6735/pdf.php?id=925384
[Android Q&A, Help & Troubleshooting] Sam Nakamura:
Thanks for support! I'm going to have a look later on..

I read on xda that mediatek devices store the imei and Mac address stuff on the nvram.emmc.win partition, so best is to restore this, if even possible - so always back it up ☝ for future!

If non backup available then use engineer mode - in case you have screenshot or else of your working imei.. If not you have to generate one, which is another story...

Never use format + download feature on sp flash tool would be helpful in the first place, cause it just formats every perdition on the phone, even the ones they are not meant to modify!
[Android Q&A, Help & Troubleshooting] moriel5:
I had never needed to format via SP Tools, so I never did.
[Android Q&A, Help & Troubleshooting] Sam Nakamura:
Ok, are there other ways to kill imei?
[Android Q&A, Help & Troubleshooting] Tzul:
Yeah, possibly, but not likely. People using "Format All + Download" in the SPFT must be the most common cause. Never use that mode!

Luckily you have a backup of your nvram partition. You can restore it with TWRP, but you could also flash it with the SPFT. For the latter, you'd first need to edit the scatter file a bit, because the nvram partition is not shown by default on the "Download" page. But if you find it in the scatter file and change the attribute "is_download" from false to true there, it will be displayed and you can flash it (using "Download Only" mode).

Anyway, changing the nvram partition might not update your details immediately, you might have to delete the files in /data/nvram or /nvdata first, then reboot Android. Then the nvram partition will be processed and its files extracted to that location.

I wrote some more details about MediaTek partitions and boot process here.

[MENTION=5358804]moriel5[/MENTION] I'd like to take a look at that file, but your Mega link seems incomplete, file cannot be decrypted.
[Android Q&A, Help & Troubleshooting] Sam Nakamura:
Thanks for the information, now I am clear about that topic.. and I couldn't open the documents too
[Android Q&A, Help & Troubleshooting] moriel5:
The link is fine, lately Mega.nz is having problems decrypting random files.

As someone has already recommended in a different thread, about a different file.

It works with other browsers as well, for anyone who asks.
[Android Q&A, Help & Troubleshooting] crazytiti:
My phone tells me today that update R 17 is ready to be downloaded.

as i have rooted my phone / change recovery / i'm on vacation i will not update it until at least 2,3 weeks

Is R17 android 6 ?
[Android Q&A, Help & Troubleshooting] davening:
No, it is still 5.1
[Android Q&A, Help & Troubleshooting] Tzul:
[MENTION=6023942]crazytiti[/MENTION] I got the R17 update, too. Here's the original download link. Note that this is an incremental update, it requires that you have R15 installed, not R14 or whatever.

Since these incremental updates won't work if you've made changes to your system partition (Root, Xposed, etc.), I've made a patched version for TWRP here! You should be able to install this (with TWRP) and update your R15 to R17, even when your system was modified. Worked for me, but no guarantees. :)
[Android Q&A, Help & Troubleshooting] amebablues:
Not working..R17

I updated the phone to r17, and i made all process. But when i reboot to recovery, the device restar th system. The twrp can't install.
[Android Q&A, Help & Troubleshooting] Tzul:
[MENTION=5548444]amebablues[/MENTION] Try flashing this file as recovery. It's TWRP 3.0.2 for the X5 Pro, and I've modified it to work with R17.
[Android Q&A, Help & Troubleshooting] amebablues:
Thanks!

Thanks!
[Android Q&A, Help & Troubleshooting] lucaviend:
guys, is this phone support xposed framework?

i flashed xposed installer sdk22 for lolipop 5.1 but nothing happen, there is no xposed installed on my phone
[Android Q&A, Help & Troubleshooting] moriel5:
It should, did you flash the arm or arm64 zip?
[Android Q&A, Help & Troubleshooting] Sam Nakamura:
You need to install the xposed apk too, did you do so? Zip + apk
[Android Q&A, Help & Troubleshooting] amebablues:
Worked!

Worked 100%. Just feedback you. Thanks again!
[Android Q&A, Help & Troubleshooting] lucaviend:
no...i just flashed the zip, the thread dont have a link of xposed apk so i thought it was just need a zip...
[Android Q&A, Help & Troubleshooting] Sam Nakamura:
And that is the problem, you need apk + zip! First flash the zip and then install the apk..

http://xdaforums.com/showthread.php?t=3034811

Here you can download xposed installer...

Edit: the zip flashes only the library you still need a apk to manage the modules..
[Android Q&A, Help & Troubleshooting] crazytiti:
So far so good with R15

666 uptime doing phone / mails / internet / youtubes / games / ...

I expect R17 to be as good, feedback from anyone ?
[Android Q&A, Help & Troubleshooting] XeNitro:
Doogee X5 Pro Help [Xposed Framework]

I want to get the Xposed Framework but the problem is.. I am on the stock ROM and I don't have a custom recovery. This is because I am on R09 and there are so many different versions being thrown around here and there that I didn't want to do it due to the fact that I didn't want to brick my phone.

Now I know it's asking a lot of you guys

Could you reply to this with a tutorial with file links and what I need to do, I like the layout that I am on and I don't really want to change that, So if it would be possible to keep the stock ROM then that would bee great.

All I want is to be able to get Xposed Framework. I never thought this phone would be so much hassle

I am on Android 5.1

It is the X5 Pro. Not just the X5

I would prefer not to brick my phone so please be sure before requesting me to do something (example would be that you have done this method and it worked for you) I am really trying to avoid a brick because its a lot of effort to sort that out.

I am rooted using KingRoot

:) Thanks :)

Kindest Regards XeNitro
[Android Q&A, Help & Troubleshooting] moriel5:
I hope I am not being rude however, did you read the previous posts in this thread?

Since you would have found what you were searching there.

By the way, you should get rid of KingRoot as soon as possible, as it's spyware/possible malware.
[Android Q&A, Help & Troubleshooting] XeNitro:
I was reading a lot of the posts but a lot of them were throwing later versions around and I need it for R09

---------- Post added at 07:29 AM ---------- Previous post was at 07:28 AM ----------

I know Kingroot is spyware but I the phone I am using hasn't got any data to steal. I will be switching it to supersu
[Android Q&A, Help & Troubleshooting] Sam Nakamura:
Ok, when switching to super su DON'T use the app super su me, it won't boot any more, I had to reflash the firmware with sp flash tool... http://spflashtool.com/ + http://tehnotone.com/windows-10-mtk-vcom-usb-drivers-for-32-64-bit-drivers-installation-tutorial/

Everything written here is compatible to your r09 version, don't worry...

This phone is almost unbrickable, you can restore with sp flash tool... Just the right drivers need to be installed on your Windows PC..

So if I was you I would load me flashify from play store, then download http://www.needrom.com/download/twrp-3-0-2-0-3/

And flash the image file (. Img) via flashify, now you have custom rom..

Download here http://xdaforums.com/showthread.php?t=3034811

The xposed apk and for just in case xposed uninstaller an

Here the http://dl-xda.xposed.info/framework/sdk22/arm/ the latest zip to flash via recovery...

BUT IN CASES WHERE PEOPLE GET SPOONFEEDED IT'S ALWAYS DANGEROUS CAUSE THEY DON'T KNOW WHAT THEY DO AND CAN'T HELP THEMSELVES WHEN IN TROUBLE, SO MY RECOMMENDATION IS TO LEAVE THE PHONE AS ITS IS OR STUDY FOR YOURSELF, ITS ALL ON THE WEB, TUTORIALS, ETC.

And as ever, if you brick your phone and blame me I am gonna lough at you...

Edit: better make sure under developer options oem bootloader unlock is checked...

And when you have custom recovery you can unroot kingroot and flash this https://download.chainfire.eu/696/supersu/ zip to get super su..
[Android Q&A, Help & Troubleshooting] XeNitro:
I will try this in about an hour. I wouldn't blame anyone of I brick it. I am familiar with computers I am just not exactly the best with phones. That's why I came here. I have done things with nands on other devices just never a phone. I also need a method of backing up without it backing to the ad card because my SD card doesn't have much space. Thank you for the reply I will tell you how it goes and if it does get bricked I will reflash it and that should sort it.

Doogee's seem to be a pain due to lots of the tutorials being in another language
[Android Q&A, Help & Troubleshooting] Sam Nakamura:
Ok good luck, you find all firmware from doogee on needrom.com, I would recommend to update to r17 before the modification process, if you only flash system and boot partition you won't loose all your data...

And in general as a side note: it's strongly recommend to use the like button, especially when you get a detailed answer to your question, not that I really care about one more or less like but it's regarded as not polite, rather hit the like button instead of writing "thanks"..
[Android Q&A, Help & Troubleshooting] XeNitro:
I've backed up to Dropbox (Not sure if its a good idea but it should be okay)

Do I need use the Boot image, recovery image or Zip file. It might sound simple but I am not entirely sure which one. (I am asking this question about the TWRP)

---------- Post added at 03:33 PM ---------- Previous post was at 03:18 PM ----------

Small problem. The link you have put is a zip and not a .img

I am not sure if I should unpack it and then use the .img inside or use the option ZIP files
[Android Q&A, Help & Troubleshooting] Sam Nakamura:
If you talking about twrp use image, just unzip..
[Android Q&A, Help & Troubleshooting] XeNitro:
Question.

Which SDK should I get. This is where I had a lot of issues. I don't know which version would work for me
[Android Q&A, Help & Troubleshooting] Sam Nakamura:
As I posted the link to download which leads you directly to sdk 22 you should take this one and please read carefully...
[Android Q&A, Help & Troubleshooting] XeNitro:
SuperSU wants to update. I let it update via TWRP and it did nothing.

Any ideas?
[Android Q&A, Help & Troubleshooting] Sam Nakamura:
Normal not via twrp/cwm, use the other option.. If this still won't work you can flash the latest zip with twrp from supersu homepage, use the link already been posted..
[Android Q&A, Help & Troubleshooting] Daniel_101:
Hey guys,

I noticed that the first post thanks doogeemobile.com, which is not the official Doogee website but tries very hard to look like it is. The official site is www.doogee.cc, they even have a news post that warns about doogeemobile.com

Considering that this thread uses files that are (?) provided by doogeemobile.com to root our X5 and X5 Pro, there could be android spyware inside even though rooting appears to work.

I'm no expert with smartphones though, only computers, but this is a red flag for me. What do you guys think ?

Also, could someone please quote or take a screenshot of the original X5 Pro XDA thread by gramolitero ? I can't access it and I'm hoping it has files unrelated to doogeemobile.com, so more trustworthy...
[Android Q&A, Help & Troubleshooting] Sam Nakamura:
No files are necessary from this homepage, all you actually need is sp flash tool v5, twrp image from needrom.com and supersu zip from chainfire's own website...

So the risk of maleware is low and the same as on every other device..

Edit: as stated in OP or one of the first posts, this thread was created because the original was deleted.. When I click the from you given link it's says "can't be opened, probably deleted by the Administrator" so there's no other maintained thread on the x5 pro..
[Android Q&A, Help & Troubleshooting] dodo34:
Will Android 6.0 come for X5 Pro ?
[Android Q&A, Help & Troubleshooting] Sam Nakamura:
Let's ask the crystal ball... [emoji6] it's like this old song: "nobody knows..."

But right, on Facebook they promised the update to marshmallow in July '16
[Android Q&A, Help & Troubleshooting] azur3orion:
Hello people!

Could I somehow update my Doogee X5pro from R14 to R17?

The built-in software update shows no updates. I found a package that updates from R14 to R15, tried to install manually withe built-in updater, no errors came up, but after reboot, I'm still on R14.
[Android Q&A, Help & Troubleshooting] Sam Nakamura:
You can simply flash the latest firmware with sp flash tool v5.

Here you find all firmware:

http://www.needrom.com/category/doogee/x5-pro-doogee/

http://spflashtool.com

There's plenty of information on this thread (search function), on Google and youtube has tutorials on how to do it..
[Android Q&A, Help & Troubleshooting] crazytiti:
So i just flash the r17 system AND boot with spflashtool (having R15 stock)

system is working ok BUT my root was gone.

And TWRP 3.0.2.0 doesn't work anymore.

So i have flashed back boot R15

then launch recovery and install superSU beta 2.72

then flash boot R17

reboot the phone => "et voila" phone is rooted again !

Is there a working TWRP for R17 rom ?
[Android Q&A, Help & Troubleshooting] Sam Nakamura:
What does it mean that twrp doesn't work after flashing r17, did you unchecked recovery in sp flash tool before flashing the firmware?

Otherwise you flash the stock recovery back, I never experienced any incompatibility with twrp, twrp for r09 worked on r14 and so on..

Try to reflash the 3.0.2 Vesion from needrom.com it definitely should work..

Super Su of course is gone as you replace your system partition by reflashing it, so after that supersu needs to be flashed again, just like xposed for example..
[Android Q&A, Help & Troubleshooting] crazytiti:
twrp show the android logo with a red warning sign on it, i try to flash the stock recovery from r17 and it did same things.

I think something is going on but i don't know what.
[Android Q&A, Help & Troubleshooting] Sam Nakamura:
Yeah, that isn't twrp but stock recovery.. So you already did flash stock recovery [emoji1] If you see this screen you have to play with the volume button an or power button to enter recovery menu.. I don't remember now but you can Google that..

And don't be lazy when someone is helping you.. Hit the like button
[Android Q&A, Help & Troubleshooting] crazytiti:
So i try to go to recovery and now it's working.

i didn't change anything but reflashing boot.img and recovery.

it's like when i have flashed R17 system+boot the first boot mess the recovery.

So far so good ;)
[Android Q&A, Help & Troubleshooting] Sam Nakamura:
No, that is not possible when you just flash this 2 Partitions..

They're absolutely independent from Recovery..

Something else musst have happened..
[Android Q&A, Help & Troubleshooting] moriel5:
crazytiti is a developer himself, he simply has more experience with Qualcomm processors.

You should check out his recoveries for the Phicomm Clue C230W.

And I'm sorry for not being more active in this thread, my time is pretty limited, so I'm less active in most of the threads, however I am following the conversations (including here).
[Android Q&A, Help & Troubleshooting] Sam Nakamura:
OT:

Yeah [emoji4] kinda missed you in this conversation.. as I have 3 weeks holiday I have plenty of time..
[Android Q&A, Help & Troubleshooting] moriel5:
I had just finished community service today (things work differently in my country, I had volunteered for it), however I am preparing for university, so I am pretty limited.

I may (no guarantees) find more time over the next two weeks though.

By the way, I am helping (although there is a lot less to do there) people, XDA-style, on a Telegram group lately,( they don't understand english), so from time to time, what I read in the forums goes directly there.

However you are right, this is getting off-topic.

If anyone needs me, I'm here, even if may become quiet due to lack of time.
[Android Q&A, Help & Troubleshooting] Tzul:
It is possible, actually.

When you flash unmodified boot.img and system.img of some firmware, and then boot Android, it will automatically replace the current recovery with the stock recovery.

Booting into TWRP or installing SuperSU will modify the system partition in such a way that the stock recovery will not be restored anymore.
[Android Q&A, Help & Troubleshooting] Sam Nakamura:
Ok, thanks for information..

I was the opinion that recovery partition is absolutely independent of boot & system.. So it seemed impossible to me..
[Android Q&A, Help & Troubleshooting] crazytiti:
Yep ! That remind me the phicomm c230 stock rom that did that.

This explaining that: problem solved ;)
[Android Q&A, Help & Troubleshooting] Tzul:
[MENTION=7125933]Sam Nakamura[/MENTION] [MENTION=6023942]crazytiti[/MENTION] If you're interested in the details of how Android restores the stock recovery, I explained that here.
[Android Q&A, Help & Troubleshooting] Sam Nakamura:
Thanks for this precious information, that is why I love this community, one can unexpectedly expand knowledge.. That's very, very interesting [emoji123] [emoji106]
[Android Q&A, Help & Troubleshooting] crazytiti:
Since the R17 update the battery stats aren't availiable.

I try to empty it, then charge it to the max, waiting one day... still nothing :
[Android Q&A, Help & Troubleshooting] moriel5:
I had read on Needrom that others were having the same issue on R17.
[Android Q&A, Help & Troubleshooting] Tzul:
Can confirm. I hadn't even noticed before your post, because I generally use the Wakelock Detector app. It appears that the battery stats are still recorded in R17 (Wakelock Detector works, the file /data/system/batterystats.bin exists), but the Settings app doesn't display them.
[Android Q&A, Help & Troubleshooting] crazytiti:
maybe they have screw the xml config file ?

see : http://xdaforums.com/android/help/battery-usage-data-isnt-available-t3287013
[Android Q&A, Help & Troubleshooting] crazytiti:
mokkayy ...

So i get the framework-res.apk from R15 and R17

unpack them with apk multi tool

compare the /framework-res/res/xml/power_profile.xml file

=> R17 seems broken little size / less text in it

So i repack the apk with the R15 file

Put it back on the phone using TWRP file manager (DON'T DO IT WHILE RUNNING YOU WILL CRASH THE PHONE AND MAKE IT UNABLE TO BOOT :crying: )

And now ....

nothing it's still broken. EDIT => it's working !!!! (after a complete charge you ll have to wait to have first stats)

attached the R15 R17 framework-res.apk and the modified R17 apk

EDIT2 : please use the one by Tzul it have the original modification from doogee (battery 2400 vs 1000) + it's a recovery flashable zip, see next post on next page

https://www.androidfilehost.com/?w=files&flid=82259
[Android Q&A, Help & Troubleshooting] Tzul:
That was quick, [MENTION=6023942]crazytiti[/MENTION]! Kudos for finding the cause and coming up with a working solution!

I was working at it, too, after your first post. It looks like in R17, they tried to add the proper battery capacity to the power_profile.xml (2400 mAh instead of 1000), but deleted all other values in that file!

I copied the R15 file, just like crazytiti, but updated the battery capacity value to 2400. And packaged the new framework-res.apk in a flashable zip file for TWRP. Download here.
[Android Q&A, Help & Troubleshooting] crazytiti:
Oh yes !

i did not notice this difference.
[Android Q&A, Help & Troubleshooting] crazytiti:
Hem, i've got another issue with R17 : Bluetooth

i get a bluetooth speaker and it was always disconnecting (5 sec of music then nothing) and sometimes even the bluetooth on the X5 was de-activating / reactivating itself.

I rollback to R15 (with some troubles...) and bluetooth is fully functional
[Android Q&A, Help & Troubleshooting] devrieshh:
is it possible to port a doogee x5 MTK6582(?)rom to a doogee x3 with a MTK6580 board?

and how to change the MTK6582 specifics to MTK6580
[Android Q&A, Help & Troubleshooting] crazytiti:
I don't think it's possible, or with as much works as porting a rom from scratch.

Their is a 5.1 and a 6 (beta) rom for X3 on needrom... Should fulfill your needs

http://www.needrom.com/category/doogee/x3-doogee/

Maybe you should start a thread for your specific problem / demand.
[Android Q&A, Help & Troubleshooting] devrieshh:
Thanks for the reply,i am a linux user so as far as i have tryed i cant use the install tools from windows,and with the install tool on the doogee you can install zip files...

---------- Post added at 07:49 PM ---------- Previous post was at 07:19 PM ----------

Thanks for the reply,

I am using linux,i dont think i can use the install tools with wine in linux,is there an other way to install this with linux?

With the doogee x3 you can install .zip files the above roms are .rar

Is it adviceble to change those rar files into .zip?...

Thanks in advance
[Android Q&A, Help & Troubleshooting] bbbbbbbbbbbbbb:
pull battery out as running.....bingo! use 2.76su rooooooooooooooooooooooooooot!
[Android Q&A, Help & Troubleshooting] Sam Nakamura:
There is sp flash tool for Linux, this is an official mediatek development tool to flash phones like yours, get it..

Unpack the rar file and flash what's inside with sp flash tool..

Exept it's written that it's a flashable file for recovery, than use twrp or whatever custom recovery is available..

PS: and please, this is pretty much off topic and certainly doesn't belong to this thread!