yashsingh1/xdaforums huggingface dataset:
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
I have secrom error on 100% stock desire 310/320 flash with sp flashtool.

I tried many times.

I can flash only Lenovo a328 something like that stock fw with sp flashtool and dl uncheck option.

I can flash only without battery, with battery sp flashtool can't detect this desire.

I tried flash with and without bootloader. No luck.

Emmc test can't detect Emmc in sp flashtool.

I just buyed used this desire. No respond for charger etc.

I flashed desire 320 stock without error.

Tried flash twrp with rashr app.

Like previous desire 310.

And this happen around 2 months ago.

Pc detect this desire but can't bring back to life this phone.

First time I have something like this on Android devices.

I start my android experience with old ZTE Blade on Android 2.1 in 2011

Still can't figure out how resurrect this phone.
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
Photos
[HTC Desire 310 Guides, News, & Discussion] Kindanoob1:
OK download stock 310 firmware and drivers then install vcom drivers then take battery out phone click download and connect to flash tools while holding vol down only with the right cable and drivers should be 100%
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
I tried this with desire 320 stock. Cant find original 100 percentage working desire 310 stock on xda or internet.

Still secrom error.

I tried this 5 times.

Still no respond for charger etc.
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
Today I tried last 3 times.

Without dl and dl check.

Stock for Desire 310 and Lenovo A328 founded on internet.

Only Lenovo firmware flash without error.

I do this on new Samsung USB cable.

I buy this charger around month ago in shop.

HTC not respond for charger. Power button won't work.

This phone is really dead.

And yes I install mediatek vcom driver correctly.

If I not, the question is why sp flashtool successful flash this Lenovo firmware?
[HTC Desire 310 Guides, News, & Discussion] Kindanoob1:
What version sp flash tools maybe its something to do with the lenovo preloader only thing I can think of and the sp flash tools I think is version 15 or 13 I'll need to boot up PC to check

---------- Post added at 09:46 PM ---------- Previous post was at 09:46 PM ----------

I'll find the one I used here download so flashtools and uni sim format and download all you will get invalid imei and Cid error I used mobile uncle tools to restore mine
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
O use flashtool from first post.

---------- Post added at 09:54 PM ---------- Previous post was at 09:53 PM ----------

Desire 310 Stock fw from web.

Cause link from first post not work.
[HTC Desire 310 Guides, News, & Discussion] Kindanoob1:
No here https://xdaforums.com/desire-310/how-to/tuto-how-to-unbrick-htc-desire-310-dual-t3057203/amp/
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
I try tommorow. The last Time.

Maybe i ressurect this phone.

But now i Have bricked device.

Anyway thanks for help
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
I tried you method. Dont work.

Always on 100 percentage i have secrom error.

I downloaded sp flashtool, drivers, stock fw for 320/310

I flashed several times.

Still my htc is dead.

RIP.

I keep this phone for memory.

What can be happen when phone died after flash.

Anyway thanks for help. I really apperciate.
[HTC Desire 310 Guides, News, & Discussion] Kindanoob1:
God knows mate I'm using s5 ROM till end of the month then I will upgrade
[HTC Desire 310 Guides, News, & Discussion] manthes:
Are any roms without root to play pokemon go? Also i didn't succeed to install magisk probably because it needs twrp
[HTC Desire 310 Guides, News, & Discussion] HTC Desire 310:
Yo guys u still using this device :D?
[HTC Desire 310 Guides, News, & Discussion] MaRtYy01:
Added nougat rom in the first post-Resurrection Remix N 7.1.2 ported by [MENTION=7598704]Swoopae[/MENTION] https://drive.google.com/file/d/0Bxt2ZcebeXHyVlFLYzY5QnNZalk/view

It should work well but needs some testing.
[HTC Desire 310 Guides, News, & Discussion] DonCorleone94:
rr is fast i was not expecting :) auto rotate does not work
[HTC Desire 310 Guides, News, & Discussion] DonCorleone94:
All roms will work on 310 and 320?

---------- Post added at 11:49 AM ---------- Previous post was at 11:44 AM ----------

You can install magisk by patching boot.img
[HTC Desire 310 Guides, News, & Discussion] dark_boy99:
hi dear

when reflash with other flashfile with cm2 i get hang by software or failed:

Operation : Flash [ v1.58 ]

======= Flash

1. Power Off Phone , Remove battery , Insert back

2. Insert USB cable. In some cases require hold BootKey

Wait for phone...

Phone found! [ 127 ]

Sync...

Inital Boot Ok!

BB_CPU_PID : 6582

BB_CPU_NME : [MediaTek] MT6582_S00

BB_CPU_EXT : 0xCA01 , 0x8A00 , 0x0000

Processing BROM stage

Settings for BROM configured!

SecCfgVal : 0x00000000

BromVer : 0x00FF

BLVersion : 0x0001

PreLoader : Active [ Boot with PL ]

BootLdrSS : NORMAL with PRELOADER

Processing DA stage

DA Select done, will use SecMode DA

Sending and initialize DA ...

Running DA ver.4.2 on BBID : 0x87

NAND Flash : NOT INSTALLED

eMMC Flash : 90014A4834473164040500A1D7BE21AD

Initialize Memory ...

DRAM already initialized by Preloader

DAgent sent , init HW now

eMMC FlashIC initialized

[eMMC] : FLASH_VEN : 0x90 , OEM : 014A

[eMMC] : FLASH_INF : [HYNIX] , d1G4

[eMMC] : FLASH_CID : 90014A4834473164040500A1D7BE21AD

[eMMC] : FLASH_BRT : 0x00400000 , 0x00400000 , 0x00400000

[eMMC] : FLASH_LEN : 0x00000000E9000000

[eMMC] : FLASH_UCP : 3728 MiB [eMMC 4 GiB]

DEV RID : 0x3A9260230CB91EAC26DA76961505B2D3

INT RAM : 0x00020000

EXT RAM : 0x20000000 [512 MiB]

BOOT TYPE : EMMC_FLASH_BOOT

SOC VERIFY : C1

Boot Ok!

ScatCFG : BaseBand : MT6582 , Project : lx86 , Storage : EMMC

Setting : Flash Pre-Erase (Safe) : Enabled

Setting : AFF verify : Enabled

Setting : HW verify : Enabled

BL : Check HW compatibility

BL : BBID supported by BootLoader!

BL : Check eMMC compatibility

BL : eMMC supported by BootLoader!

BL : BatteryLevel : Unknown (not supported or without battery)

[SECURE] : User accepted risk and decide to continue flashing

BL : Flash Pre-Erase

Operation Failed

Elapsed: 00:00:30

Reconnect Power/Cable!

when flash by sp flash tool iget:

s_security_secure_usb_dl_image_sign_header_not_fou nd

with other file i get brom error in 2.47 %

any sol plz?
[HTC Desire 310 Guides, News, & Discussion] katooosha:
sorry for noobishness, but do i need to unlock bootloader? and if so how?
[HTC Desire 310 Guides, News, & Discussion] rainbowtable:
GPS not working on 'Resurrection Remix N 7.1.2' and older ROMs.

Most likely because of the mysterious NVRAM issue. I don't have a backup. So sad.

Have a look here:

Epic GPS Problem MT65xx devices

See you!
[HTC Desire 310 Guides, News, & Discussion] Seek&Find:
Hey guyz im trying to unbreak my cell but while i tey to flash syock recovery to update te OTA i get 6045 error. what should i do?

Other than that iam on 320 stock rom and exactly in this situation

Some helkp would be greatly appreciated

Thank you all
[HTC Desire 310 Guides, News, & Discussion] leonardalps:
Hi, i have just installed lineage OS 13 on my HTC desire 310(dual sim) most of the things work fine but i noticed a massive battery drain problem, it takes long time to charge and the battery drains very fast so i tried kernel auditor app to tweak the kernel but i don't know what is the best setting. Can someone help please ?? and also there is a problem with the wifi when i turn off the screen it turns off how do i fix it too??
[HTC Desire 310 Guides, News, & Discussion] doteer:
hello everyone, i know its an old thread hope there is some1 to help me out, i have htc d310, and since i wanted to get 6.0.1 android i needed htc d320 firmware, i downloaded the d320 custom rom from the link, same i got SP flash tool, i manually installed the drivers as well (i installed them i didnt have any problem while doing so, but after installation it said "this device may not work properly" and had that warning yellow mark but SP could recognize the phone so i continued, while watching the video i did the same thing, i ran SP as admin, i loaded scatter file from d320 stock rom, manage settings, went with firmware upgrade and then it was going well til it said "downloading flash" then i got error pop up and i couldnt turn back on my phone, the problem is "BROM ERROR : S_FT_DOWNLOAD_FAIL (4008)", and i searched for solutionts and couldnt find any so thats why i am asking here what is the problem and is there a solution? also i would like to point out am new to all this and i am doing this for fun and out of curiosity but i would rly appreciate help :)

Edit: i just realize that there is 69 pages of comments, i will look if some1 already had this problem, but anyway if u alredy have solution pls pls pls send it

---------- Post added at 03:35 AM ---------- Previous post was at 03:28 AM ----------

hey there can u pls pls give me the link for proper drivers? :)
[HTC Desire 310 Guides, News, & Discussion] Lolerhy:
so i have a kernel 3.4.5 and I can't change my rom on 5 or 6 version android?
[HTC Desire 310 Guides, News, & Discussion] MaRtYy01:
First you gotta flash d320 stock rom through sp flash tools(from pc) to get 3.4.67 kernel.
[HTC Desire 310 Guides, News, & Discussion] Lolerhy:
But I'm with 310, there will be no problem right?
[HTC Desire 310 Guides, News, & Discussion] MaRtYy01:
Yep,its mentioned in the first post.The d320 stock rom is compatible with d310 as the phones are nearly identical.
[HTC Desire 310 Guides, News, & Discussion] Lolerhy:
does not work, can someone give me new link?
[HTC Desire 310 Guides, News, & Discussion] Lolerhy:
Ok I install 4.4.2 but wifi mac and bluetooth address is unavailable, how can fix it? something else I wanna use ExordusD310 or lineageos13 ROM, but how can install them? with sp tool or?

ps. windows 10 is super hard to run sp tool, better you have a second pc with windows 7. I just waste 5h to try with win10.

edit: I did it. ExordusD310 and with him have wife mac adress, but I wanna try LineageOS.

ps. only sd card cannot be used for storage of apps.

Thanks mate, you save one life!
[HTC Desire 310 Guides, News, & Discussion] Trail Road:
Is there any public device tree for the desire 310? I couldn't menage to find
[HTC Desire 310 Guides, News, & Discussion] doctor-who:
Maybe will help to someone

https://drive.google.com/file/d/0B0237UVjY1Tga21VVlhlLVltVk0/view?usp=drivesdk

https://drive.google.com/file/d/0B11EEOKYoTUPOWtqSG56UjkxNVU/view?usp=drivesdk

https://drive.google.com/file/d/0B11EEOKYoTUPQXZjcUpaRW1XQzA/view?usp=drivesdk
[HTC Desire 310 Guides, News, & Discussion] hmaminirina7:
htc desire 320

i need flash HTC Desire 320 unofficial rom (for flashtool) , an then flash any 5.1 /6.0.1 rom!who can help me for this!thanks
[HTC Desire 310 Guides, News, & Discussion] dejson:
This thread is excellent, I flashed a lot of roms from it, but every single time I have a problem with MM and N roms, LL works fine.

2g/3g is bugged. When I am receiving a call while on data connection, call drops, DND activates and network is lost.

I tried more than 100 times, even on lineage OS I have this problem. So, no MM for me, if there is no real solution.

I am using mostly RR 5.8.3, even ported 5.8.4 with guide from this site.
[HTC Desire 310 Guides, News, & Discussion] ahmedmoselhi:
i have desire 310 and installed 7.1.2 rom but it has following issues:

wifi AP (hotspot) error

usb tethering error

fm radio not working

any fix for this rom????
[HTC Desire 310 Guides, News, & Discussion] ahmedmoselhi:
now i flashed mokee 3 and got this error : no sim card detected.it was working well on lineage os which is the most stable rom i have tried
[HTC Desire 310 Guides, News, & Discussion] aggelosbiz:
i have desire 310 when i proceed to flash cm 13 on twrp i get this error: error excecuting updater binary in zip
[HTC Desire 310 Guides, News, & Discussion] Kurajmo:
Best without bugs. Rom for 310 single sim. For this moment is?

I mean rom what i can use daily, for calling, web browsing etc.
[HTC Desire 310 Guides, News, & Discussion] ahmedmhamde:
Please please help experts htc phone

Please, I want a full ROM for HTC Desire 310 and contains the following files : EBR1 - EBR2 - MBR - blinkfeed - expdb - misc - pro_info - protect_f - protect_s - resv - seccfg .¡ Or have a full ROM format * .bin * please help
[HTC Desire 310 Guides, News, & Discussion] leonardalps:
Hi, I just installed Lineage os on(mm) my HTC desire 310 it worked for about 5mins and it rebooted and after that it keeps rebooting when every I use it. how to fix this???

---------- Post added at 08:23 AM ---------- Previous post was at 08:20 AM ----------

you mean stock rom??

stock rom link: https://docs.google.com/uc?id=0ByS0CAB9gfH9cmZiMS1SQ29CTUk&export=download
[HTC Desire 310 Guides, News, & Discussion] Lolerhy:
lineage OS was good for 4months, but there was big error and I put it again on new installation. How ever, only problem and is very annoying is green screen on videos.
[HTC Desire 310 Guides, News, & Discussion] LG Max:
How to remove white stripe on custom rom?
[HTC Desire 310 Guides, News, & Discussion] ahmedmoselhi:
any one tries this rom????

Mod edit - Link removed
[HTC Desire 310 Guides, News, & Discussion] olegshvv:
Hello. I fixed RR 7.1.2, I really liked it, but there were bugs

1. White bar at the top of the screen

2. Front camera in b / w

3. auto rotate did not work

4. Does not respond to approach / distance from the head when talking.

Is there something to fix these bugs?
[HTC Desire 310 Guides, News, & Discussion] Lolerhy:
[MENTION=9536220]olegshvv[/MENTION] and green screen of videos.

These problem is coming from kernel.

---------- Post added at 05:12 PM ---------- Previous post was at 05:12 PM ----------

[/COLOR [MENTION=9536220]olegshvv[/MENTION] and green screen of videos.

These problem is coming from kernel.
[HTC Desire 310 Guides, News, & Discussion] ahmedmoselhi:
[MENTION=9536220]olegshvv[/MENTION] can you please give me link for fixed version????

---------- Post added at 06:22 PM ---------- Previous post was at 06:22 PM ----------

[/COLOR [MENTION=9536220]olegshvv[/MENTION] can you please give me link for fixed version????
[HTC Desire 310 Guides, News, & Discussion] olegshvv:
[MENTION=6388219]ahmedmoselhi[/MENTION]

I am very sorry, "fixed" - the error of the machine translation should be "flashed"
[HTC Desire 310 Guides, News, & Discussion] Fcrate:
First of all, thanks for the awesome thread, lifesaver, really.

Some feed back:

I have an HTC desire 310 dual sim, with 4.2.2. I tried 3 ROMs:

1. Cyanogenmod 13 - Didn't flash, showed an error.

2. MIUI 5 - flashed, but stuck at "Android is upgrading - starting apps"

3. Samsung Galaxy S5 mod, which works perfectly, a minor bug being scrolling in default browser is faulty

Another small bug is that it doesn't come with the standard android keyboard, so you're stuck with google voice typing through Android setup, and you can't really do anything. So you'll have to skip, enable the kk keyboard and manually add your google account.

Phone is much faster now though, so Horray!
[HTC Desire 310 Guides, News, & Discussion] MaRtYy01:
Small update,some of the links were deleted so I just made my 4shared folder public and added a link in my last d310 video description: https://www.youtube.com/watch?v=QRpw5sQA0rs if something is still missing from the folder then I really don't have an idea where is it,it's been years. You might also check out the 4pda desire 310 thread for more stuff,the russians are amazing <3
[HTC Desire 310 Guides, News, & Discussion] CSWinnall:
Internal storage problem

Hi

First of all thanks for the information and ROMs.

I have the HTC desire 320 and i have followed all the instructions to flash the RR nougat Rom i have it all working fine except the internal storage isn't mounted i apologise if this question has been asked and answered but i cant find the solution anywhere.

All the apps work except ones that need access to the internal storage. In the storage folder in root i have 3 folders all with the same information(which is an Android folder then Data folder). The folders are called public:179_41, public:179_73 and 57f8f4bc-abf4-655f-bf67-946fc0f9f25b when i click on them the root explorer calls the folder SD card.

In storage in settings there are 3 SD cards in portable storage all of which it says are corrupted and i cant format them it says failed.

I have install cm13 and it works fine and i have flashed back to stock then tried RR7 again and i still have the same problem.

If someone could help or point me to the right location of the solution i would really appreciate it.

Cheers
[HTC Desire 310 Guides, News, & Discussion] MaRtYy01:
Hello,

It's probably a bit late to explain,but I'll do it anyway. Android 7 on d310/20 and 3.4.67 kernel was left experimental,it is not meant for daily usage. The bugs are known,sorry if they haven't been mentioned,I'm not the one who has ported this rom though. 3.4.67 seems to support properly just up to android 6,newer versions would require a newer kernel(3.10.x maybe).
[HTC Desire 310 Guides, News, & Discussion] stsilver:
Hey guys,

I tried flashing CM13 on my HTC Desire 320 (4.4.2) but I can't get past the step that loads custom recovery. I have root, I have "installed" OTA, got an error, and rebooted (although I'm now sure what it did exactly - I don't see any visible changes). Now when I try to load Philiz recovery through MobileUncle it asks all the right questions but reboots into the default recovery regardless.

Any ideas what went wrong?

UPD: Apparently I used an incompatible (?) version of MobileUncle. Tried some other versions and one of them worked just fine.
[HTC Desire 310 Guides, News, & Discussion] stsilver:
Does anyone still have a working link to the LineageOS 13 build by any chance?
[HTC Desire 310 Guides, News, & Discussion] Zordon.xyz:
twrp is probably corrupted because after rebooting to twrp i get white screen and phone restarts
[HTC Desire 310 Guides, News, & Discussion] MaRtYy01:
I see, it is *supposed* to work on the stock 4.2.2 firmware but oh well. Noted that in the OP.

If your phone got bricked after that you can flash stock recovery.img from sp flash tools with stock rom scatter and then flash cwm 5.
[HTC Desire 310 Guides, News, & Discussion] Zordon.xyz:
Now i must flash full rom again because i was trying my own twrp port and it ended up with bootloop on logo but i will try flash cwm
[HTC Desire 310 Guides, News, & Discussion] MaRtYy01:
You don't need to flash the entire stock rom when that happens, untick the big files like system and userdata. I also tried porting twrp but to the d320 firmware, 3 different version all ended with logo bootloop. So in terms of recovery I think we can't do much more.

Also, seeing that you are flashing the stock 4.2.2 rom, would you mind doing an adb pull of the system folder and uploading it to file hosting website? You can skip the app and priv-app folders, without them it should be less than 1gb I think.

Currently I only have a backup of the d320 stock rom and not all libs from it are completely compatible, so I'd like to get my hands on the d310 stock rom to see if I can fix more bugs in RR 5.8.8.
[HTC Desire 310 Guides, News, & Discussion] Zordon.xyz:
I will flash kitkat instead of 4.2.2. And your rr port is very good because i was testing it yesterday and it's very smooth. And probably know why twrp ended with white screen because i was flashing this with kernel from d320 so thats why i ended up with logo bootloop
[HTC Desire 310 Guides, News, & Discussion] Zordon.xyz:
And i have question. Can i flash cwm from sp flash tool?
[HTC Desire 310 Guides, News, & Discussion] MaRtYy01:
Oh yeah, twrp is for 4.2.2 firmware

RR ended up really well indeed, I'm daily driving it from like 10 days now and it's solid. RIL doesn't drop at all, no random reboots(I had only one so far and I think it got caused by some lowmemkiller settings I was trying out in smartpack). Also got a new polarcell 2100mah battery and now I'm getting like ~6 hours SoT with moderate usage, battery life is definitely great too

Can you see if MTP works for you btw? It initially worked for me but now it doesn't, I think it is because I dirty flashed the rom like 5 times while trying to fix some stuff but who knows lol

I don't think so, I have tried flashing philz with sp flash tools once but it errors out, probably needs a different scatter file for that.

Also if you are flashing kitkat firmware you need Philz touch recovery, that is the only functional recovery for the firmware, all others are for 4.2.2.
[HTC Desire 310 Guides, News, & Discussion] Zordon.xyz:
MTP wasn't working i was getting error about unkown device on windows 10
[HTC Desire 310 Guides, News, & Discussion] MaRtYy01:
Ah, maybe I broke it while fixing something else. Thanks for reporting, guess I will also look into that
[HTC Desire 310 Guides, News, & Discussion] MaRtYy01:
@Zordon.xyz very quick update but I figured out what is breaking MTP. The issue is in android debugging in developer settings, disabling it instantly fixed MTP for me.
[HTC Desire 310 Guides, News, & Discussion] Zordon.xyz:
Funfact on 4.4.2 i had bugged charging animation
[HTC Desire 310 Guides, News, & Discussion] Zordon.xyz:
i'm going to try port rom. from what phone you recommend port roms?
[HTC Desire 310 Guides, News, & Discussion] Zordon.xyz:
Hello again. When i'm flashing my ported rom

I get

Installing update...

Using legacy property environment for update-binary...

Please upgrade to latest binary.

E:Error in /tmp/update.zip

(Status 6)

Instalation aborted
[HTC Desire 310 Guides, News, & Discussion] MaRtYy01:
The issue is not from what phone to port a rom but rather what to use as a base. I used mixed libraries from d320 stock rom, cm12 and cm13, this is not ideal but seems to work well enough.

Generally speaking any mt6582 phone with 3.4.67 kernel will work. Lenovo A328 is very very close to our Desire 310 but it doesn't have any other roms (with working links lmao) than the one I already ported. Digging out recent mt6582 3.4.67 roms is difficult as most roms are from mt6592 and require crossporting.

These are the newest builds of RR 5.8.8 that I found: from april 2020 ; from may 2020 but I don't think it has newer security patch. edit: forgot to mention, I tried porting the may 2020 one and a ton of stuff was straight up broken on it so I dismissed it without investigating more. Haven't tried the april one

And this is lineage os 14.1, however from mt6592 and needs crossporting. It is a very recent build though, it should supposedly have security patch from late 2021 but I'm not sure. Worth the crossporting maybe.

That is definitely related to the updater script, I recommend removing any lines at the beginning that aren't essential. You can upload it here if you want and I will have a look at it too
[HTC Desire 310 Guides, News, & Discussion] MaRtYy01:
Here is a useful source, a thread in 4pda about mt6582/92 porting. With help of deepl translator you can find very valuable resources on porting roms and fixing bugs.
[HTC Desire 310 Guides, News, & Discussion] Zordon.xyz:
Im porting rom from asus liquid z500

Now i get other error

E: footer is wrong

E: signature verification failed

Instalation aborted

It's not updater-script fault because i was trying other updater-script and nothing changed
[HTC Desire 310 Guides, News, & Discussion] Zordon.xyz:
Thx i will gonna try using this
[HTC Desire 310 Guides, News, & Discussion] MaRtYy01:
You need to edit the updater script that comes with the rom, that works best. Use RR 5.8.8 script for reference, as for the mounting points mmcblk0p8 is for system and mmcblk0p7 is for data
[HTC Desire 310 Guides, News, & Discussion] Zordon.xyz:
I edited. this is something wrong with my htc because i get same error whenbi want flash your RR
[HTC Desire 310 Guides, News, & Discussion] Zordon.xyz:
this is my updater-script

https://azordon.cf/pliki/script.txt - i uploaded updater-script on my site so if you want you can check it