yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] jojoledemago:
I'm sorry I did exactly what I hate people do on forums where I'm working... So I will answer my question now I read the full thread !

In order to root permanently your HTC Desire 620 - a31_ul :

1. Unlock the bootloader with htcdev internet site.

2. backup original recovery with ADB

http://xdaforums.com/showpost.php?p=62704199&postcount=70

3. flash the TWRP recovery by patrick.KT

http://xdaforums.com/showpost.php?p=62712766&postcount=73

4. backup with TWRP in order to be able to restore in case of problems...

5. install SuperSU zip from TWRP recovery

dowload zip here : http://download.chainfire.eu/supersu

I saw there where french people with difficulties to follow those steps, I'm not an english native speaker either so I understand and I can help french people in french. Just send me a PM.

I hope I will achieve this root once my friend will come back with her htc desire 620 - a31ul

A question I had too : How to be sure that our desire 620 is an a31_ul or a31ul ?

a. You can use ADB, the command is "adb reboot bootloader " to reboot your phone into bootloader mode. Once there, type "fastboot getvar all"

b. Or simply enter the recovery mode (ON + Volume Down) and read the first lines then select "fastboot" then "power down"

Thank you very much patrick.KT for your great job !
[Android Q&A, Help & Troubleshooting] lallo29:
Hi guys. Finally, adb has worked and yesterday I have rooted my phone and I have installed the recovery, but I found a bug in the recovery, I have the version called "twrp-a31ul.img".

When I charging the phone, it goes to recovery mode.

I'm developing a custom rom stock based.

Inviato dal mio HTC Desire 620 utilizzando Tapatalk
[Android Q&A, Help & Troubleshooting] patrik.KT:
I have the charging bug fixed, but I guess I forgot to push the update here :) I'll provide a new recovery image this evening.
[Android Q&A, Help & Troubleshooting] evnee:
erm.would anybody post a link for htc_fastboot? ;f

i've been searching for it like 1 hour
[Android Q&A, Help & Troubleshooting] patrik.KT:
It took more than I said (I had other stuff to do), but here it is, TWRP with fixed offmode charging.

https://drive.google.com/file/d/0B5KRmU8P96dlbkFGb19mME1ERmc/view?usp=sharing
[Android Q&A, Help & Troubleshooting] Bluezzy:
Thank you patrik.So are you thinking about making cyanogenmod for this device?
[Android Q&A, Help & Troubleshooting] jamacuco:
He has already done that!!! [emoji15] Just review earlier posts in this thread!

Thanks a lot Patrick... Unfortunately I have not had the time to test it yet...
[Android Q&A, Help & Troubleshooting] wifogg81:
Camera

Camera not work , music Work

Tryd to down an app from play to camera but its not work . hope camera fix coming

Its a really fast system

Easy use , nice program

THX
[Android Q&A, Help & Troubleshooting] Bluezzy:
After using CM 12.1 for few hours,here are some early feedbacks

-No camera (really big issue and the only one that matters so far)

-No problem with music players,always working

-Fluid system,responsive,quick,smooth,apps run so fast(facebook,fb messenger,instagram..),way faster system than kitkat

-Antutu score 21069 ( about 1000 points more comparing to kitkat)

-Battery indicator is wrong

-And some small interface bugs ,not big deal
[Android Q&A, Help & Troubleshooting] Bluezzy:
If we get the stable cm rom,I'm gonna port few roms cm based ..
[Android Q&A, Help & Troubleshooting] patrik.KT:
I'm building a new cm-12.1 package. If you follow my work on github, you can see that camera is semi-fixed. The preview (pictures and videos) is green-ish, but the actual taken photo or video is just fine. That patch will be now included in the next build (should be done in an hour or so).

In the meanwhile, could someone test decryption of data in this twrp: https://drive.google.com/file/d/0B5KRmU8P96dlZVAySDBQemRwbFE/view?usp=sharing

Just make sure your phone is encrypted, boot into this twrp and try to mount /data. If it mounts okay, check if you can see files in /data in Advanced>File Manager.

EDIT: New CM12.1 build here: https://drive.google.com/file/d/0B5KRmU8P96dlMHFDTmNZR1FMdE0/view?usp=sharing

Camera is still semi-broken (greenish preview)
[Android Q&A, Help & Troubleshooting] jamacuco:
Thanks a lot for working on this! I have the device encrypted and I very much would like to have this working. I have tried it, and it certainly requests a password, but I type it and I get this error:

"Password Failed, Please Try Again"

After searching a little bit, it looks like this can happen if the cypher used by the device is not supported.

On the other hand, I have found that the last two TWRPs that you have shared in the last days do not support "adb", like the one that you shared back in September. I very much would like to get that feature back. If adb and encryption are built together, I can try to mount the encrypted partition with shell commands. Although if I have to choose, I prefer the latest ones where offline charging works fine rather than adb or enryption ;)
[Android Q&A, Help & Troubleshooting] to22ek:
Batery indicator is still not working. Don't showing corectly value.

To22ek

Wysłane z mojego HTC Desire 620 przy użyciu Tapatalka
[Android Q&A, Help & Troubleshooting] patrik.KT:
Here's a new CM12.1 build: https://drive.google.com/file/d/0B5KRmU8P96dlclJPRFczWC1lUms/view?usp=sharing

This includes the greenish camera preview fix. And probably a charging bugfix as well, I want you to test it though.
[Android Q&A, Help & Troubleshooting] Bluezzy:
Charging bugfix= precentage problem??
[Android Q&A, Help & Troubleshooting] patrik.KT:
Yes
[Android Q&A, Help & Troubleshooting] Bluezzy:
Still green screen camera problem,precentage is correct and its charging ;)
[Android Q&A, Help & Troubleshooting] patrik.KT:
Logcat or it never happened.
[Android Q&A, Help & Troubleshooting] Bluezzy:
What do you want to say?
[Android Q&A, Help & Troubleshooting] patrik.KT:
Never mind, it was just a cleanup typo.

Here's a new build with camera actually fixed: https://drive.google.com/file/d/0B5KRmU8P96dlbHktMUltMG4tWjg/view?usp=sharing
[Android Q&A, Help & Troubleshooting] jamacuco:
adb does work fine with the latests TWRPs. I had to reinstall the adb driver but it works :)
[Android Q&A, Help & Troubleshooting] lallo29:
hi guys. my stock based custom rom is almost ready :)
[Android Q&A, Help & Troubleshooting] wifogg81:
This cm12.1 is working fine smoth system and the only bug i have is clock , meining alarm.

Thanks to all ho made this plasubile .
[Android Q&A, Help & Troubleshooting] Bluezzy:
Enjoy in Lollipop guys.Htc Desire 620G is geting official 5.1 upgrade...but not snapdragon users
[Android Q&A, Help & Troubleshooting] Eygakan:
Hey Patrik, I just wanted to tell you that for me, screenshots does not work :(

Envoyé de mon HTC Desire 620 avec XDA Forums
[Android Q&A, Help & Troubleshooting] patrik.KT:
They do work. Are you sure you are pressing the right key combo (vol down + power button)?
[Android Q&A, Help & Troubleshooting] marchellod:
:confused: I managed to root the phone with version 1.51.401.5. After the restart I have problem with the fast drain of the battery. The model of the phone is HTC Desire 620 /Europe ROM/. Please help with advise.
[Android Q&A, Help & Troubleshooting] evnee:
I've got 2 questions right now.

Patrik - is there any bug list for your CM Rom? I've read that you fixed a camera, which was the main disadvantage for me, so i think i'm going to try it by myself.

And the second question. So 620g is gaining official update as someone mentioned before, any news about us? Are they going to make an update?

Thanks.
[Android Q&A, Help & Troubleshooting] patrik.KT:
CM buglist:

* Bluetooth

* Encryption

* VOIP speakerphone (robotic, slow voice)
[Android Q&A, Help & Troubleshooting] Bluezzy:
Also low performance and lag after opening few apps
[Android Q&A, Help & Troubleshooting] evnee:
i'll give it a try at weekend, thanks! :)
[Android Q&A, Help & Troubleshooting] patrik.KT:
Optimizations and performance boosts will come when all of the bugs mentioned above are fixed.
[Android Q&A, Help & Troubleshooting] rawel991:
Do you know why my phone is lagging while using camera aplications? For example snapchat.
[Android Q&A, Help & Troubleshooting] Eygakan:
Sorry for answering this late, but for me, When I do a screenshot, it tells me "saving the screenshot" And gives me corrupted image files

Envoyé de mon HTC Desire 620 avec XDA Forums
[Android Q&A, Help & Troubleshooting] evnee:
I've tested it a bit today and so far i can relate to above plus unfortunately, camera still greenish preview :(

Edit:

I looked at the link from which i have downloade the package and i took wrong package,but... bluetooth seems to work.

i've jsut connected bluetooth speaker and it works perfect
[Android Q&A, Help & Troubleshooting] patrik.KT:
Can you send me a logcat?
[Android Q&A, Help & Troubleshooting] evnee:
check pm in a minute :)

seems that u didnt receive pm.

http://1drv.ms/1N1W0Hr

made after disconnection on bt + on the latest compilation u gave us link to.
[Android Q&A, Help & Troubleshooting] rawel991:
Same here
[Android Q&A, Help & Troubleshooting] pihug12:
I read that only the Qualcomm devices are supported by patrik.KT's builds.

How can I check if I got a Mediatek or Qualcomm one?

What's the difference between 'a31ul' and 'a31_ul' ? (Single SIM / Dual Sim or Mediatek / Qualcomm ?)

Here is my device:

Am I free to go flashing TWRP on this one?

Here is a sum-up of the whole thread:

Backup original recovery:

2015/09/07 ~ #70 ~ http://xdaforums.com/showpost.php?p=62704199&postcount=70

Root:

2015/09/06 ~ #67 ~ http://xdaforums.com/showpost.php?p=62696555&postcount=67

2015/11/20 ~ #220 ~ http://xdaforums.com/showpost.php?p=63915290&postcount=220

TWRP:

2015/09/05 ~ #60 ~ http://xdaforums.com/showpost.php?p=62681406&postcount=60

2015/09/07 ~ #73 ~ http://xdaforums.com/showpost.php?p=62712766&postcount=73

2015/11/22 ~ #224 ~ http://xdaforums.com/showpost.php?p=63954303&postcount=224

2015/11/27 ~ #230 ~ http://xdaforums.com/showpost.php?p=64038852&postcount=230

CyanogenMod:

2015/10/29 ~ #196 ~ http://xdaforums.com/showpost.php?p=63538696&postcount=196

2015/11/27 ~ #230 ~ http://xdaforums.com/showpost.php?p=64038852&postcount=230

2015/11/28 ~ #233 ~ http://xdaforums.com/showpost.php?p=64050775&postcount=233

2015/11/28 ~ #239 ~ http://xdaforums.com/showpost.php?p=64052354&postcount=239

Source code: https://github.com/HTC-MSM8916​
[Android Q&A, Help & Troubleshooting] patrik.KT:
There's no difference between a31_ul and a31ul. A31UL is the qcom msm8916 model, and iirc, a31dug is the mtk model.

Anyway, thanks for the sum-up :)

[MENTION=6996704]Eygakan[/MENTION] and [MENTION=7118962]rawel991[/MENTION] try to remove /sdcard/Pictures folder and try again. Also, did you make a factory reset when flashing cm?
[Android Q&A, Help & Troubleshooting] rawel991:
I didn't make a factory reset. Can i do it now?
[Android Q&A, Help & Troubleshooting] patrik.KT:
Yes, but you will lose your data obviously. You should've done it before flashing CM...
[Android Q&A, Help & Troubleshooting] Eygakan:
I actually did a factory reset

Envoyé de mon HTC Desire 620 avec XDA Forums
[Android Q&A, Help & Troubleshooting] Bluezzy:
Any news about cm? Because kitkat is slow and sucks ... ?
[Android Q&A, Help & Troubleshooting] MadChuck:
Hi, I installed CyanogenMod, flashed Xposed, installed Lucky Patcher and wanted to install Modded Play Store, but It doesn't want to run. It shows the white screen for about 1 sec and then it turns off. Tried same with original Play Store and even with old versions. Still not working. Can anyone help me? I have no idea, what is happening and why.

Also I've got dot view case. There is a bug, so that it works poorly. The timer shown is too big and you can see only the hour number and part of the first minute number. There is no option to see the last number. Maybe It would work better after installing HTC dot view app, but I cant force Play Store to run.
[Android Q&A, Help & Troubleshooting] patrik.KT:
CM12.1 is pretty stable imo. If you don't use voip too much and don't want to encrypt your device.

Warez and cracking is not supported here. Do it again and mods will ban you.

As for the dotcase, you have to add these props to build.prop:

htc.dotcase.res=720

htc.dotcase.offset_x=10

htc.dotcase.offset_y=5

And reboot the phone. And you can't install the official htc dot view case app, it won't work.
[Android Q&A, Help & Troubleshooting] MadChuck:
It is not about the cracking. It is about the Google Play Store. Even original version doesn't want to work.
[Android Q&A, Help & Troubleshooting] evnee:
Had a similar problem. Below works

http://xdaforums.com/android/software/tk-gapps-t3116347
[Android Q&A, Help & Troubleshooting] baxter006:
Many thanks Patrik for all you work on this phone, haven't posted on here recently as i'v been to busy at work to test your build of CM12.1, updated my recovery to the third version (twrp-2.8.7.0-20151122-a31ul) you have done, not sure if the latest one you put out is stable? Really impressed with CM12.1 was a bit dubious at first as my experience with cm12 on my old galaxy S3 was rather lackluster, and as the 620 only has 1 gig of ram i wasn't expecting it to be so smooth. At first i found the battery life to be worse, but i noticed by default cm12.1 has wifi set to not turn off when the phone is asleep, which i think the stock ROM has set to turn off when the screen is off. Now I've changed that it seems very similar especially with Power save on.

So far i haven't had any issues, my Jabra Bluetooth headset works fine, i also was able to transfer a PDF at work to someone, what are the issues regarding Bluetooth exactly?
[Android Q&A, Help & Troubleshooting] patrik.KT:
TWRP is now available on twrp.me.

Bluetooth seems to work okay, I just forgot to clear it off of my buglist :P
[Android Q&A, Help & Troubleshooting] baxter006:
Anyone know if its possible to get sky go to work on cm12.1, even though I'm unrooted for Barclays app. Sky go still comes up as the phone being rooted.
[Android Q&A, Help & Troubleshooting] baxter006:
I'm getting the greenish preview in gallery

https://drive.google.com/file/d/0Bw7S-kfd-L-RTGtLRjZkN1FwM0E/view?usp=docslist_api

There's a screenshot, the top three pics where taken with cm12.1, the other's where taken with the stock ROM. When you click on the photo they are OK.

Another issue is sdcard write permissions, I've had to use an app to allow write permissions for popcorn time. Which I didn't think cyogenmod would need, the app was designed for kitkat but it works.

The other issue is the kernel, should USB controllers work? I know my old galaxy s3 ps3 and 360 controllers would work using a wired.
[Android Q&A, Help & Troubleshooting] patrik.KT:
I know about the greenish gallery photos. I wouldn't really notice if I hadn't switched back from capps gallery to the stock one.

You need USB OTG support for that, which we don't have (probably in hardware).
[Android Q&A, Help & Troubleshooting] MadChuck:
After some days of testing newest cm12.1, I found that we also get greenish preview in Retrica, while any oder app, I used to take photo, was working fine.
[Android Q&A, Help & Troubleshooting] baxter006:
I've actually frozen the default gallery due to the green thumbnails and installed the HTC stock one from apkmirror website. I like the simple editing tools on there gallery. Other than that I've found patrik build build to be very good.
[Android Q&A, Help & Troubleshooting] mathorv:
[MENTION=4814653]patrik.KT[/MENTION]

Thank you for your great CM12.1 HTC Desire 620 port.

Do you plan to make updates to the latest cm due to security fixes and new cm 12.1 commits? Any chance for update once two weeks?

Look at security of the latest build with Android Vulnerability Test Suite

Android Security Updates

Is there a way to return to fully stock firmware + locked bl after unlocking BL/flashing TWRP and CM12.1?

Do you plan to make one unified thread for your unofficial cm builds?

One of android.com.pl community members made some short demo video with HC Desire 620/CM12.1:

https://www.youtube.com/watch?v=1gSgI_jwWnc
[Android Q&A, Help & Troubleshooting] rawel991:
How long does your battery last (normal use)? Mine max 10 hours. I think there is problem with mobile network signal.
[Android Q&A, Help & Troubleshooting] Bluezzy:
CM has better battery autonomy comparing to kitkat.Better battery life
[Android Q&A, Help & Troubleshooting] BaconcatBug:
Just posting to say that I too would be appreciative of a port for this phone. :) I miss having a good OS! :p
[Android Q&A, Help & Troubleshooting] evnee:
I've got shorter battery life too. I used to have 2 days between charges and now i have to charge it everyday.

Btw. Does anybody know how to extend the internal memory size with sd card partition + make a swap partition used actively by os in this cm build? Nothing seems to work for me :(
[Android Q&A, Help & Troubleshooting] Eygakan:
Hey, how do you Come back to the original rom after flashing CM ?
[Android Q&A, Help & Troubleshooting] evnee:
I guess via your individual backup which you should have made before flashing cm? I did it today and currently i'm not going back to cm. its cool but slower + shortens battery life.
[Android Q&A, Help & Troubleshooting] Eygakan:
Well I did not make a back up... :(

Edit : after searching a little bit I got to flash the ruu file and it seems that mine is the " RUU_A31_UL_K44_DESIRE_SENSE60_Orange_FR-B2B_1.02.73.1_R_Radio_00.03.012_U10012131_41.09.12 25_release_413969_signed.exe*" one, does someone have it?
[Android Q&A, Help & Troubleshooting] baxter006:
http://www.ir-file.com/portal/index.php?dir=Firmware/HTC/HTC_Android/A31_UL/:confused:

They have it on there I've only got the UK RUU for mine now, I deleted the other ones on due to lack if space on my desktop. You have to pay 15 dollars for a months access to there database. Worth doing with a friend if there other files there after. I downloaded 620 uk, HTC m8 and a levona a10.

---------- Post added at 11:54 PM ---------- Previous post was at 11:42 PM ----------

What does it mean with the line being different colors? Mine is pretty much solid green. Mine is set to 2g only, helps me get better signal at work, I found changing the WiFi setting to turn off in sleep mode helped battery life.

The stock ROM WiFi setting was set to turn off in sleep as well, although I still think the stock ROM has better battery life. I like the notification system on lollipop and the more advanced call blacklist options.

I'm using link2sd pro version to move large obb files from games to the SD card. Finally allowed me to install previous games I'd bought. I've also found I can convert more user apps to system apps than stock would allow without errors. Though Google calender still doesn't save events properly as a system app for me.
[Android Q&A, Help & Troubleshooting] LittleJakub:
hey there patrik.KT!

I am sorry for using quote to respond directly to you - but would you be so kind and share a link to the latest CM 12.1 build?

unless the newest one is cm-12.1-20151128-2-UNOFFICIAL-a31ul.zip - then I got all that is needed :D

cheers from Wrocław, Poland!
[Android Q&A, Help & Troubleshooting] patrik.KT:
That is the latest public release. I compiled a build yesterday evening but it was late so I didn't test it. I'll do so in a few minutes and push it here to test the RIL battery drain.
[Android Q&A, Help & Troubleshooting] baxter006:
Would I need to do a wipe of data to install? Could I just install as an upgrade from your previous build?
[Android Q&A, Help & Troubleshooting] patrik.KT:
Nope, just wipe cache and dalvik cache.

Here's the new build: https://drive.google.com/file/d/0B5...=sharing&resourcekey=0-munZfr14F9XXI9L36Fs1vg

This has a possible RIL battery drain fix and is updated to the latest base. Thumbnail pixel format is still broken, as well as the rest (encryption, voip speakerphone).

You will see the RIL test results after a few hours.
[Android Q&A, Help & Troubleshooting] LittleJakub:
sorry for a bit of an off-topic question, but I saw you write about it here somewhere...

when do you plan to switch to CM13? :fingers-crossed:

cheers,

Kuba
[Android Q&A, Help & Troubleshooting] patrik.KT:
Probably when I get the selinux stuff done. It's stuck on the bootanim because of them.
[Android Q&A, Help & Troubleshooting] LittleJakub:
the hidden answer for me is that you are already working on it - that is simply GREAT :) keep up the good work! :D
[Android Q&A, Help & Troubleshooting] baxter006:
Installed the new build so far feels a bit quicker, will have to see how the battery use is over the next few days.

---------- Post added at 01:09 AM ---------- Previous post was at 01:02 AM ----------

I have the UK orange RUU on my Google drive

https://drive.google.com/file/d/0Bw7S-kfd-L-RbEE4RnBjcmg1UkE/view?usp=docslist_api

Might not work, but the radio number is the same.
[Android Q&A, Help & Troubleshooting] baxter006:
Having used the new build I can report a big improvement in battery life, seems better optimized all round. Many thanks to Patrik for his work.
[Android Q&A, Help & Troubleshooting] BlackenedEDIT:
I would like to add massive thanks to patrik for this build. I have it installed and it is an incredible improvement on stock. Seriously it has stopped thoughts of a replacement dead in their tracks.

The ever so small missing parts are not even worth worrying about, so thank you so much for making this for the community. I believe that this is the ONLY custom Rom available for this phone so thanks again and amazing work.
[Android Q&A, Help & Troubleshooting] LittleJakub:
It's true, besides a very buggy lollipop build somewhere in the dark depths of the internet, this is the only custom ROM for Desire 620 - and from what I can tell, it's awesomeZ! :D
[Android Q&A, Help & Troubleshooting] rawel991:
Do you have the same error?
[Android Q&A, Help & Troubleshooting] baxter006:
Is that with the recent build? I've had no problems at all.
[Android Q&A, Help & Troubleshooting] rawel991:
I've had the same problem with all builds and i dont know how can i repair this.
[Android Q&A, Help & Troubleshooting] Kainey:
Hi,

I'm new here, is there a way to root the HTC Desire 620 now ? And do you think Cyanogenmod will be ported on this device ?
[Android Q&A, Help & Troubleshooting] Bluezzy:
Now im sure that 1gb is not enough for smooth lollipop experience
[Android Q&A, Help & Troubleshooting] baxter006:
I thought the same but this cyogenmod build patrik compiled works fine. Just bought a nexus player that has 1 GB ram and it runs marshmellow. Newer phones with 2gb/3gb ram just have it to make the specs look better. I don't think phone CPU can really get must faster.
[Android Q&A, Help & Troubleshooting] Bluezzy:
But it also depends on which apps you are using.I use viber,whatsapp,fb messenger,snapchat and sometimes facebook apps and on kitkat its pretty good but on lollipop after some time phone become slow ..Maybe some system optimisation will do the job.Also i was wondering patrik if you are going to compile a more advanced kernel with overclocking and more stuff...kinda redbull for this phone

Peace ✌
[Android Q&A, Help & Troubleshooting] baxter006:
I don't use any of those social media apps, only whatsapp. I guess it personnel preference, for me the positives outway the negatives using this build.
[Android Q&A, Help & Troubleshooting] Kainey:
Hello,

I have a problem when I try to install TWRP on my 620. I have installed HTC Sync, ADP with "15 seconds ADB Installer v1.4.3", my bootloader is unlock and debug mode is enabled, but when I follow this guide [ http://xdaforums.com/one-m9/general/guide-root-install-twrp-htc-one-m9-t3061133 ] with the twrp.img for desire 620, at the last step, I have this message :

Can you help me to fix that please ? Have you an idea ?

Thanks in advance. :highfive:

Nevermind, I was doing this without launching fastboot mode on my phone.
[Android Q&A, Help & Troubleshooting] Bluezzy:
Hoho youtube guy :D