yashsingh1/xdaforums huggingface dataset:
[HTC Desire 310 Guides, News, & Discussion] Calvin Candie:
Getting 4008 error in flash tool

Hello, I am getting an error nr 4008 while flashing my Desire 310. Flashing stops on 4.36mb all the time, no matter if i am choosing Format All + Dl or Download only. I installed drivers from this thread, removed, installed again and still the same error. I am using Windows 10 Pro, and using Flash tool running in Windows 7 mode with an administrator permissions. The ROM is the Desire 320 stock one. My account is new so i cant post an image, but i can send you screenshots if you are willing to help me.

[MENTION=309187]edit[/MENTION]: fixed by restoring my windows 10 and installing proper drivers. Now everything is working well. :)
[HTC Desire 310 Guides, News, & Discussion] ecoli01:
Great post, I finally find something good for my sister's phone.
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
Yeah I think for desire 310 cm13 is best. Lack of internal storage without partitioning (1.5gb for apps only), in my desire 310 GPS sometimes can't work properly. And I can't launch Pokémon go with isu app.

But for other things this custom is best.

No lag, nice battery life, good performance. I can play in Yu-Gi-Oh Link with this custom.

Fast, smooth without lag.

I may recommend this rom for any Desire 310 single sim user.

No random reboots etc.

I use this rom almost two weeks
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
Anybody is here?

Anyone tried launch Pokémon GO on Desire 310?

I have problem when I install isu app. And tried to disable root for Pokémon go.

Desire 310 lost sim card signal.

Always when i tried.

Also I don't know how run Super Mario run on this phone
[HTC Desire 310 Guides, News, & Discussion] MaRtYy01:
Dont try pokemon go,with the updates they totally f0cked up the ability to play it on unsupported devices,so it doesnt work on rooted phones and the root cloaks are patched,I think.As well as the gps kinda sucked on custom roms and nobody plays this game anymore XD

Super mario run should run fine,it doesnt seem like demanding game.
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
Nope you wrong.

I played Pokémon go on Xperia M with Resurrection Remix custom rom. With isu app.

And game work without lag. 2 weeks ago.

Xperia M have weak gpu and cpu compare to HTC Desire 310 1gb ram version.

But you are right. Pokémon go are not worth to waste time.

That's why I stopped playing this game.

Still I want run super Mario run on htc. Cause this game is amazing. I played super Mario run on htc desire 310 stock 4.1.2 rom.

I switched stock for cm13.

And now game only launch to Nintendo logo.

Then FC.

I thought how i can play this game. Without Magisk or with Magisk.

But i dont figure anything now.

Cause Magisk want patch boot img

One time i patched boot img on this desire 310.

When i want upgrade to cm13.

And my phone almost died cause of this.

I resurrect htc to life. But that's was pure luck.

Magisk want patch boot img. And can't automatically find patch to correct boot img.

Eeh many complicated things to play Mario games.

Why Nintendo block root user?

Why?

I don't know
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
Any way to fix this autorotate bug on cm13?

I ask cause today I want watch something on yt. When i check comment box on yt my screen automatically revert. Strange. Sometimes in drastic ds emulator autorotation not work properly too. Anyone noticed this?
[HTC Desire 310 Guides, News, & Discussion] doctor-who:
Why move to SD not working on stock jb?
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
Maybe cause stock kernel not support this?

Anyway better is do good repatriation. Then we have more space in data folder for install apps. Not move app to SD. Like i have on old Galaxy Ace 2. On this phone i have 3gb for app install
[HTC Desire 310 Guides, News, & Discussion] doctor-who:
So I should use link2sd...
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
Yup.

But i not use this in my android device work.

Still better is do good repatriation not waste time for link2sd and any of this stuff.
[HTC Desire 310 Guides, News, & Discussion] doctor-who:
What you mean by repatriation?
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
One second I mean something like this.
[HTC Desire 310 Guides, News, & Discussion] doctor-who:
Like this?
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
Nope like this. This looks like my data folder in Ace 2 on CM11.

I just flash one zip file in CWM recovery.

Ace 2 have only 4gb memory like Desire 310 too

Imagine what apps and game you may install with this free space

On Ace 2 i can install Hearsthstone without problems.

But this phone is lack of ram, and old gpu and cpu

No need to install any link2sd app or partition SD card.

Just flash one zip file in recovery.
[HTC Desire 310 Guides, News, & Discussion] MaRtYy01:
Moving to sdcard on stock rom is totally messed up(on purpose I guess,f0ck htc) so you can move just the data files from apps and obbs from games,nothing more.The s5 mod has it working perfectly,but it has a few extra bugs.I wouldnt bother repartitioning,it doesnt work well on the stock rom too.
[HTC Desire 310 Guides, News, & Discussion] doctor-who:
Link2sd so far best option, used it before and always was fine, once flashed 320 firmware and tested many custom roms for this phone and all have bugs (white line kernel related issue was biggest one)
[HTC Desire 310 Guides, News, & Discussion] rony raj:
are you have xposed

if yes then xinternalsd module install and activate and reboot

now choose your app that you want to switch storage for

it works flawlessly cut paste data and obb into memory card

reparations damage sdcard life so xinternalsd safe for you

hit thumbs up if i helped you
[HTC Desire 310 Guides, News, & Discussion] doctor-who:
Xinternal doesn't to damn anything!
[HTC Desire 310 Guides, News, & Discussion] leonardalps:
hi guys, after installing htc desire 320 rom on my htc desire 310 dualsim i installed cm13 on it. then i flashed the sd card swipe but still the phone was showing 'memory full' . so i used sp flash tool to flash stock rom for my htc desire 310 and from then on it just goes in boot loop. idk what to do.

plssss help
[HTC Desire 310 Guides, News, & Discussion] doctor-who:
Reflash again
[HTC Desire 310 Guides, News, & Discussion] denkazzzget:
In Flyme 4.5 is working google play, or is not updated?
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
Maybe just try for yourself?

I just still use cm13

Best custom rom without big bugs for desire 310
[HTC Desire 310 Guides, News, & Discussion] doctor-who:
but still have bugs...why you guys cant be happy with stock jb?
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
Maybe cause stock jb sucks?

I prefer newest Android like cm13. Almost bugless .

Not old jb.
[HTC Desire 310 Guides, News, & Discussion] ragni:
Am i doing something wrong or my Desire 320 is piece of s**t?

Every rom i install works fine apart wifi and bluetooth. When i flash marty's fix then IMEI go null and phone stops seeing a sim card.

So is it normal? Or?
[HTC Desire 310 Guides, News, & Discussion] Forgath:
Hey,

after ~8h i'm getting a bit frustrated...

so... I have a 310. In ordner to install a higher Rom, I need a newer kernel, right?

For that, I need to install the 320 firmware with spflash and after that flashing something should be easy.

So.. if it is until there right... the thing is it does not work. I tried to flash with Windows 10, Always getting S_BRIM_DOWNLOAD_DA_FAIL (0x7D4) and tried it with Debian getting a S_FT_DOWNLOAD_FAIL (2004) Error... I tried it with and without a Battery...

So.. is there any way without SPFlash? Something more stable like.. dont know Odin for Samsung? Or any ideas?
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
Just use PC with Windows for this one time.

I do this without battery keeping all time volume down or UP.

I dont remember correctly now.

But something like that.

You need correctly installed driver (mediatek), sp flashtool, and desire 320 stock).

This is 2/3 hour work for me.

Just keep try and dont give up easy.

Desire 310 its little problematic with flash.

But after that. Everything is easy

---------- Post added at 02:16 PM ---------- Previous post was at 02:14 PM ----------

Imei You can fix with toolhero app.

I dont know its normal or not. Im not developer yet
[HTC Desire 310 Guides, News, & Discussion] Dompa12:
I've flashed CM13 on my HTC Desire 320 and Gapps right after it.

Just like some people mentioned before,I get the "there was a problem communicating google servers" error in the first boot wizard and can't leave it (it's looping).

I've tried installing the ROM first and then the Gapps but the error is still there although I am no longer stuck in the wizard and can use the phone.

I tried out pico,nano and this "singed" version you posted later but nothing works.Also after applying the wifi fix patch the IMEI thing happened to me as well,but after reinstalling the ROM it was back to normal.

Has anyone found a version of Gapps that works with CM13 on HTC d320?

And does someone know how to fix the IMEI after pathing the wifi fix (my wifi works if I dont apply the patch but it shows the WiFi NVRAM WARNING error in available networks)?
[HTC Desire 310 Guides, News, & Discussion] ragni:
Not working, after rebot imei is still null
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
Then try flash again stock rom original one for your desire.

Strange. I flashed 320 stock Imei is fine. Then cm13 Imei null. I fix this with toolhero app.

Without problem
[HTC Desire 310 Guides, News, & Discussion] ragni:
The problem is not with IMEI itself. Even normal reflash of rom fixes the IMEI, but then no wifi. So flashing any rom is either having a service or wifi for me, becuase problem is on lolipop as well on marshmallow.
[HTC Desire 310 Guides, News, & Discussion] Dompa12:
It's the same for me but my wifi works even if I don't apply the patch (for now).You can try changing your IMEI with some other app.

I'll get on the IMEI problem as soon as I get Gapps working...still got nothing tho.
[HTC Desire 310 Guides, News, & Discussion] ragni:
Got some cm13 from 4pda working right now, well apart google play but still a win ;)
[HTC Desire 310 Guides, News, & Discussion] Dompa12:
Tried out lineage OS.Everything seems to work fine now (Gapps and IMEI all fine),but once I check everything I'll let you know.
[HTC Desire 310 Guides, News, & Discussion] ragni:
Can xposed or rather lack of it be responsible for Google Play not working?
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
Good to hear. Maybe when somebody report lineage OS work without errors. I switch cm13.

Now i use only this rom.

By the way. Anyone here tried launch Pokémon go on Desire 310 or 320?

I have some free time. Want to play this. But on cm13 I can't.
[HTC Desire 310 Guides, News, & Discussion] Dompa12:
So far the only thing I've noticed not working is the camera.

On the stock app it opens and just crashes,tried out a few apps on the store and the back camera doesn't work at all and the front one is in black and white.

Does anyone know how to get the camera working? (some fix or another camera app that works)

EDIT: Of course,the LED also doesn't work with any flashlight app.So I guess anything relating to the camera doesn't work.
[HTC Desire 310 Guides, News, & Discussion] Dompa12:
Here is the fix I used for the Wifi NVRAM warning you get in the wifi network list (I could use wifi normally but the text was annoying):

https://xdaforums.com/showthread.php?t=2730486
[HTC Desire 310 Guides, News, & Discussion] Swoopae:
i think noone anyway ports stuff for mt6582

just stick with cm12.1, probs the most stable rom for mt6582
[HTC Desire 310 Guides, News, & Discussion] Forgath:
So, I invested some more time into flashing my 310. Still nothing happens, I can not flash the 320 Stock Rom,

still getting the "S_BROM_DOWNLOAD_DA_FAIL (0x7D4)" Error.

I even changed the PC, to one with Windows 7.

Do you guys actually have a 310 or the 320? Cause it really is not hard to flash a Rom, but now I asume that flashing the 310 is not that easy.

---

Breaking News, I got a new Error!

"PMT changed for the ROM; it must be downloaded"

What?
[HTC Desire 310 Guides, News, & Discussion] Forgath:
Okay, i managed to get the 320 Firmware installed.

I first flashed a 310 Firmware and then formated and flashed the 320 firmware.

About 5pixel in the upper corner are now white... but I dont care. There a bigger Problems.

To flash philz recovery, I need to change these two lines into RU... The Problem is that to do so, I need root.

But to use kingsroot I need wifi... And Wifi does not work. So I asume I need the wifi patch, for what to install I need root.

So.. help?

-----

EDIT1: Okay, so I used VRoot, to root my phone, then I could install LineageOS and the wifi patch. After that i have to take care of the IMEI, but it shouldnt be hard to restore that.

Now really the only thing are this white beam in the upper corner. I mean it is only about 1mm... But I dont like it... Did somebody else had that Problem?

-----

EDIT2: Also I have Problems getting the cam Online. Any Ideas?
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
This white line is normal on cm13.

5mpx camera work but photo quality is poor.

Thats why i use 3mpx.
[HTC Desire 310 Guides, News, & Discussion] Forgath:
Okay, I can live with it. But the Cam is a bit of a Problem. Do you use CM13 oder LineageOS?

It should be the same base... but in CM13 I can not pass the activation. It says, that there is a Problem with the communication with Google. Yes wifi is activated.

And my phone doesn't find any cellular network. But that problem I also saw at LineageOS with the difference that it took few seconds to activate it.

---

EDIT1.: Another Problem acured. After Flashing some Roms, now my SIM is not recognized anymore... Even within 5.1 this Error happens. Anybody had this?

---

EDIT2.: Okay... I think I test 5.1 Res. Rom, Cam works fine. And SIM get recognized again after I modifiet the IMEI again.

But I think that thes Thread need a FAQ section. When I searched within this Thread, there were many double Questions. I think it could spare much manpower if we collect this issueses.

---

EDIT3.: Okay... and the Camera magically stopped working.. why -.-
[HTC Desire 310 Guides, News, & Discussion] ragni:
CM12.1 works awsome but in my instance WIFI don't work. Flashing Marty's wifi fix makes my IMEI go null . I've tried a lot of diffrent ways to fix it but no miracle, so ;(
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
I use CM13 still and now on Desire 310 single sim.

This one exactly.

No problems with back camera.

Front camera is white when I use.

And GPS going crazy when i tried play Ingress.

But only those two bugs.

But i don't use desire for photos. Then I don't care about those bugs.

Everything works fine.

No WiFi, Imei error.
[HTC Desire 310 Guides, News, & Discussion] cw-network:
I can't download this. After clicking "download" nothing happend
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
Galaxy s6 mod test.

System boot.

Byt is problem with open app drawer. Everytime system give me touchwizz error. No way to open.

Back to cm13

Or maybe know stable Rom like cm13 without bug?
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
Lineage os.

Work like cn13.

No errors.
[HTC Desire 310 Guides, News, & Discussion] doctor-who:
White line is on every rom after flash 320 firmware.
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
Yup that's right.

I tried fix this. But without luck
[HTC Desire 310 Guides, News, & Discussion] Franx999:
Boot Logo Change

Have you any idea how to change the boot logo (a.k.a. "splash screen")?

I Installed Lineage OS and now have Android 6.0.1.
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
Its possible but hard. And you can destroy HTC.

One time a long ago. I do something like this on Old LG GT540.

You need root, root Explorer and prepared bootanimation.zip

If i remember correctly localisation of this file is Here.

But im not sure about this.

Check xda threads about this.

I do this only one time on lg GT540 in 2012
[HTC Desire 310 Guides, News, & Discussion] Franx999:
I am not new to modifying operating systems, i also found a logo (no extension on the file) file in the /dev folder. The only thing I don't know is that if it is the Logo file or not. Hope you could help me. :)

Edit:

As I said, I have Lineage OS running Android

6.0.1

and Desire 320 Kernel (

3.4.67

).
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
Just Look for bootanimation.zip as i said before. I remember this thing only.

And as i Say before i do this only one time on lg GT540. And i successfull change bootanimation.

I dont remember anything more about this.

Sorry i cant help more.

Now i dont have a Desire 310. I change this Phone for Samsung Galaxy Grand Neo Plus without custom Rom.
[HTC Desire 310 Guides, News, & Discussion] Franx999:
No Problem... Guess I will wait for someone ;D
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
Yesterday i buyed used bricked Desire 310 with 1gb ram.

I Flash desire 320 Stock. I tried Flash cwm and twrp recovery,phone work, i use him around 1 hour without problem. But when i Flash twrp, cwm or philz recovery Always i have Bootloop. I used rashr for this

More Stock Flash now this phone is dead.

Only PC detect this htc.

I can Flash any rom. 310/320 Stock. But in 100% flashtool give me this. Always.

I think emmc memory is broken on this htc.

I Just want to Flash Stock 320 rom. Then cwm recovery and finally Lineageos 13.

Now i cant.

Any idea how i can ressurect this phone?

Charger not work, no respond for power button. Only black screen.

Any idea?
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
Anybody? Meh. This HTC is only to throw in junk nothing more. Today i buy used LG G2. But still i want ressurect this HTC. . For knowledge. Nothing more

Any help with this?
[HTC Desire 310 Guides, News, & Discussion] doctor-who:
Flash 310 firmware... Without battery, and I hope you didn't messed everything with format option, use just download
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
I tried flash with and without battery. Still this HTC is dead.
[HTC Desire 310 Guides, News, & Discussion] doctor-who:
Rip for that phone which causing cpu temp over 80 Celsius while playing clash of clans
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
I dont know what previous owner do with this phone.

I buyed this HTC for 5 euro.

Tried to ressurect, without luck.

Detriment this HTC. But i cant do anything more for this phone.

Now i have 5 phones. And one phone (HTC Desire 310) is a real brick.

Shame.

My second bricked Android device after old LG GT540.

Anyway. Thanks for all help
[HTC Desire 310 Guides, News, & Discussion] doctor-who:
i have xperia e 2105 with samr chipset but cant find recovery or any custom rom
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
Mediatek Procesor.

I have two Xperia e4 and e4g two years ago. This phone still dont have custom recovery or rom.

Hard to Flash Stock Rom with Xperia flashtool too.

Sell this if Its still working. And buy something better bro.

Like me two years ago.

For cash for this money You can buy LG Spirit 4g or used LG G2 D802 in good condition. Sad but true. Sony not unlock bootloader on this Xperia
[HTC Desire 310 Guides, News, & Discussion] Mango Polo:
No solution for the screen rotating bug and the white line?
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
As you can see. No.
[HTC Desire 310 Guides, News, & Discussion] raniedelfajardo:
please help me

i want to update my htc desire 310 uni sim to miui 5

i use king root and download the twrp from this thread.

after i install twrp using a flashify

my phone turns into a boot loop.

how did i going to fix it using a flahtool on pc? please help me thanks.
[HTC Desire 310 Guides, News, & Discussion] PEYMAN7KHAT:
factory mode problem

hi I have a htc desire 320 .when I use the button combination (Vdown+power) to go to fastboot mode it doesnt work it will go to factory mode how can i fix this.
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
You need to hold volume down and connect USB cable on PC. Not need to hold power button
[HTC Desire 310 Guides, News, & Discussion] knightengale:
possible bricked HTC 310 - help needed

I need some help.

I've spent the whole day trying to figure out how to fix this and I'm at a lose. I've search here and on google all day with no success :(

So currently the HTC 310 doesn't want boot, the screen is dead, doesn't go into recovery BUT will go into download mode.

I was able to root the phone with Rashr and install the recovery - this all worked perfectly, but after finding out that I needed to upgrade the firmware to install CM13 things went wrong :(

I used Smart phone flash tool but got the BROM ERROR : S_FT_DOWNLOAD_FAIL (4008) every time it gets to the downloading FLASH, it stops at 4.7M each time.

Right now I can keep trying this so there is some form of life in the phone but I am at a loss what to try now. I tried a couple of stock roms and all give me the same problem.

Any help would be great.
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
Same situation as me desire 310. My is almost dead.

I can flash only Lenovo a382 stock firmware with sp flashtool.

When i flash desire 310/320 stock Rom.

When is 100% flashtool give me secrom error. Always. My desire is dead. I lost hope to revive this Phone. This is sad. But for now we cant do anything more for our phones
[HTC Desire 310 Guides, News, & Discussion] Kindanoob1:
Can someone help me fix inside I flashed wrong preloaded have stock Rom incorrect cid as well I'm rooted with kinfroot biut can't change imei mobile uncle and mtk droid tools not working can't connect to droid tools and mobile unclebdoesnt show des information please someone help
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
Try app called toolhero
[HTC Desire 310 Guides, News, & Discussion] Kindanoob1:
Help icon sorted my HTC desire 310 with stock ROM fixed IMEI I'm trying to install resurrection remix 5.1.1 but yet boot loop please help

---------- Post added at 07:38 PM ---------- Previous post was at 07:36 PM ----------

Sorry read post in detail for me to flash android 4.4 or above I need 320 firmware can I flash this on 310 ? And where do I get it from if so
[HTC Desire 310 Guides, News, & Discussion] Kindanoob1:
I flashed with so flashtools and got bootliop so do not flash the 320 firmware unless u can help me fix it

---------- Post added at 02:15 PM ---------- Previous post was at 02:03 PM ----------

How did you manage to update to cm 13 when I flash 320 4.4.2 firmware on 310 I get bootloop
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
On previous desire 310 Yes.

On this desire 310 no. My HTC is still hard bricked.

Just flash stock for desire 320 with sp flashtool.

Then cm13
[HTC Desire 310 Guides, News, & Discussion] Kindanoob1:
Managed to flash 320 firmware but WiFi doesn't work to root is there anyway to flash recovery via so flashtools then install cm13?
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
I dont know extacly. I just flash recovery with rashr app.

Then cm13. For desire 310.

Cant help further. My current desire 310 single sim is almost dead.

I can flash Lenovo a328 stock fw. Something like that. Without error. But When i flash desire 310 /320 stock i have secrom error.

Phone won't boot, no respond for charger.

If i resurrect this phone. I record how successfull flash stock 320 for 310 desire. And cm13.

But now i dont see any Way to fix this phone.
[HTC Desire 310 Guides, News, & Discussion] Kindanoob1:
What error are you receiving? I brought my phone back to life just buy using a new cable when I flash 320 software I lose inei and WiFi

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

I'll use s5 ROM for now