yashsingh1/xdaforums huggingface dataset:
[Desire 820 Android Development] Alen_Sft:
I did this all to flash original ROM. Can I use link you provided?
[Desire 820 Android Development] Gibz97:
Which ROM and which link did I provide?
[Desire 820 Android Development] Alen_Sft:
Stock ROM, here's link https://www.androidfilehost.com/?fid=24269982086999635
[Desire 820 Android Development] Gibz97:
I am not sure if that zip file can work for you device, If you choose to flash it then just make sure you make a full backup with TWRP
[Desire 820 Android Development] Alen_Sft:
Okay, I did backup. If anything breaks, how to recover that backup? What option and how?

---------- Post added at 10:18 PM ---------- Previous post was at 09:39 PM ----------

okayyyyy gooood news

This ROM WORKS!

I AM SO HAPPY!

thank you man so much

But I cant update, phone restarts to normal instead in update mode
[Desire 820 Android Development] Gibz97:
Try flashing twrp for 820s
[Desire 820 Android Development] smartpal:
Plz some one make a complete guide for getting lollipop for this device
[Desire 820 Android Development] PrateekBHT:
Good work Guys...

Request you to create a new thread as 'Lollipop for Desire 820s' and post the complete steps, guide, screenshots, files, etc. so that others are benefited. On successful flash, I require your PayPal link...
[Desire 820 Android Development] Gibz97:
On It guys

If anyone has queries on TWRP please post on the official TWRP thread here. It might help some passers by
[Desire 820 Android Development] Alen_Sft:
Can't update, I download update that is provided on phone, press install. It goes to recovery and starts flashing that zip, but it fails, cant update
[Desire 820 Android Development] Gibz97:
You cannot install OTA updates with a custom recovery. To install OTA updates make sure you reflash the stock recovery and fully unroot
[Desire 820 Android Development] rkabishi:
Have the same problem (update fail)got stock recovery and unrooted the device,but still fail to update.
[Desire 820 Android Development] Gibz97:
You had xposed framework installed?
[Desire 820 Android Development] rkabishi:
You mean if i installxposed framework and unroot my device ,reflash stock recovery ,i will be able to install the updates?
[Desire 820 Android Development] Gibz97:
I wanted you to uninstall it if you had it installed
[Desire 820 Android Development] rkabishi:
no do not have it.are those updates important?what i want is a lollipop ,but since it s still not possible to have lollipop for the 820us ,will this update be required if in case we have the possibility of having lollipop?
[Desire 820 Android Development] Gibz97:
From what I can remember you had once formatted your imei numbers and have not yet permanently restored them. I suggest you first repair them. OTA updates might fail due to an absent serial number
[Desire 820 Android Development] rkabishi:
Will try that and will let you know.
[Desire 820 Android Development] rkabishi:
updates was downloaded and while trying to install error message:

installing updates......

verifying current system.....

"/system/build.prop" has unexpected contents.

update.zip is not correct

installation aborted.

can someone help?
[Desire 820 Android Development] Gibz97:
What build number are you updating to?

Or what is the build number of the OTA update?
[Desire 820 Android Development] rkabishi:
1.00.1400.022
[Desire 820 Android Development] Gibz97:
Did you receive any other OTA before that build number?
[Desire 820 Android Development] rkabishi:
No I don't think so
[Desire 820 Android Development] Gibz97:
I have to see the stock recovery you are on. You can back it up with flashify and upload
[Desire 820 Android Development] rkabishi:
I have backed it up already with flashify.how can I upload it here?
[Desire 820 Android Development] Gibz97:
You can upload it on Google drive, Dropbox or 4shared
[Desire 820 Android Development] rkabishi:
problem is i cannot see the exact location where it is backed up on my phone....trying to locate it.......

---------- Post added at 09:20 PM ---------- Previous post was at 09:03 PM ----------
[Desire 820 Android Development] rkabishi:
this is the recovery that i backed up .
[Desire 820 Android Development] Gibz97:
How did you back up? I cannot unpack it
[Desire 820 Android Development] rkabishi:
i use flashify to back it up and saved it on google drive and then zipped it before attaching it here

---------- Post added at 01:17 PM ---------- Previous post was at 01:11 PM ----------

here is the sharelink for google drive:

https://drive.google.com/file/d/0B0gT_emI392NSXhBWm11YVNDaFU/view?usp=sharing
[Desire 820 Android Development] Gibz97:
Try installing the OTA with the recovery in your firmware flash file
[Desire 820 Android Development] rkabishi:
this is the one that is in the firmware flash file,and it fails when i am installing
[Desire 820 Android Development] Mohamed Yaser:
its ota zip
[Desire 820 Android Development] shinnawi:
*** LOCKED ***

HTC_A50ML 0 SHIP S-ON

*** Security warning ***
[Desire 820 Android Development] ajrahman01:
hi bro, please provide complete step to upgrade the rom.. mine stock device... pls guide me:(
[Desire 820 Android Development] gonz1:
Is there now a step by step guide to get lollipop? I have successfully rooted my 820s and also been able to flash cwm recovery onto it now i just want to get rid of kitkat - please help
[Desire 820 Android Development] patrol31:
Read the 1st post of this thread:

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

It's the easiest guide. If you can't follow it, then lollipop is not yet for you.
[Desire 820 Android Development] krn.hcr:
sim card network problem

i have flashed with the rom you provided .. but sim card network is not working it is detected by theby .. the phone shows name but still network is not coming. please help
[Desire 820 Android Development] sharky_004:
A little off topic Query but plz anyone..

I have restored back to kitkat now my phone dosent charging..

The charge get stuck on 60-61% idk whats wrong with this..

Can anyone help me out with this..plzzzz
[Desire 820 Android Development] martin_kry:
Will it work with HTC Desire U Dual SIm ??
[Desire 820 Android Development] bhavinlanse:
I downloaded stock flashable zip.i don't have cwm or twrp .how to flash in stock recovery?? I am rooted. Do I have to unroot before flashing??
[Desire 820 Android Development] themember1993:
HELP!

Mr. Yaser, my htc desire 820 is stuck in a bootloop. Doesnt go into recovery. Could you please help me with this?
[Desire 820 Android Development] simon6:
i have fashed my desire 820s lollipop to kitkat stock rom but unfortunately my back camera not working and my front camera working kindly help me.......
[Desire 820 Android Development] jahangirbsmrau:
I have rooted my htc 820pi kitkat. Now I want to install custom recovery. But, not finding any way. Can you please help me.

---------- Post added at 03:14 PM ---------- Previous post was at 03:08 PM ----------

I have rooted my htc 820pi kitkat. Now I want to install custom recovery. But, not finding any way. Can you please help me.
[Desire 820 Android Development] PrateekBHT:
[MENTION=4951021]Gibz97[/MENTION] [MENTION=5718847]Mohammedy[/MENTION]aser I hard resetted my 820s and it never turned on, neither charging nor I'm able to flash OS using SP Flash Tools. HTC Service Centre says Motherboard is dead and its replacement will cost 12000 INR (approx $200). But in contrast to his saying, I'm able to connect it to my PC and it is detected too by it, but after selecting files in SP Flash Tools and clicking on Download and then connecting the phone the red bar goes 100% and after 20-22 seconds it shows Error 4032: Enable DRAM Failed. I have tried the volume buttons too but no help....
[Desire 820 Android Development] Gibz97:
Sounds like a drivers issue.

See post #370 and #383 of this thread and read through

https://xdaforums.com/desire-820/development/stock-lollipop-5-0-2-ruus-guide-mt6752-t3279089/page37

Hope that helps
[Desire 820 Android Development] PrateekBHT:
Tested. It's not the Driver problem, the problem is that my 820s' in not connecting to PC in preloader mode, and I think the Preloader is corrupted. I cannot even install the Preloader of device on it using SP Flash Tool. My X9 connects to the PC in Preloader mode when connected in power off state, but 820s doesn't...
[Desire 820 Android Development] Gibz97:
Strange, does the charging LED light up?
[Desire 820 Android Development] PrateekBHT:
No, never since I formatted it.
[Desire 820 Android Development] cyborg2220:
Boot-loop system-warning error

I've tried various methods to fix my htc Desire 820s (A50ML) but didn't succeed. I also viewed https://xdaforums.com/desire-820/development/stock-lollipop-5-0-2-ruus-guide-mt6752-t3279089 and couldn't find any solution.

I'm stuck at this screen when I boot up the phone. https://xdaforums.com/attachment.php?attachmentid=4201596&stc=1&d=1499192312

Then when I select download mode it freezes and I have to hold the power button to reset the phone.

When I select recovery mode I get this message. https://xdaforums.com/attachment.php?attachmentid=4201597&stc=1&d=1499192312

When I select DDR Test nothing happens nor the phone freezes or hangs.

When I select reboot to boot-loader the same screen comes up just without the ***security warning*** message. https://xdaforums.com/attachment.php?attachmentid=4201598&stc=1&d=1499192602

I tried flashing various roms using SP Tools. I tried using various SP Tools versions.

I even tried unlocking boot-loader using instructions given on https://www.htcdev.com but nothing happened. I keep getting these errors. https://xdaforums.com/attachment.php?attachmentid=4201600&stc=1&d=1499192602

I have the MTK drivers 67xx. Preload driver shows up for only 2-3 seconds in the device manager. Yes the red LED light also turns on for a brief period of 2-3 seconds before I end up again with the same screen.

Please I need help. I've wasted one whole day but couldn't find any solution. Any help is appreciated!

Thanks for your consideration.
[Desire 820 Android Development] cyborg2220:
Problem solved

Tried again and everything worked fine. Works smooth now.
[Desire 820 Android Development] rrcfb100:
Please Help Htc Desire 820s stuck on white logo screen

Hi

My desire 820s dual sim wont reboot and is stuck on the white htc logo screen. This happened after i tried rooting using the Kingroot app which said it successfully rooted but this happened after rebooting.

It was on lollipop 5.0.2 prior to using king root and was completely stock.

I can reboot it into recovery and i tried to apply the update from sd using the link Mohamed Yaser posted.

"Method 2 Flashable Stock rom zip "WORKS WITH CWM AND STOCK REOCOVERY"

1.Download The rom zip here :

2.boot into recovery

3.Wipe every thing if you want a clean flash **OPTINAL

4.flash the zip , wipe data factory reset , enjoy"

However my phone stayed on opening package for a long time then said aborted. I tried downloading it again but the same thing happened.

Is there any other way to fix it.

Thank you
[Desire 820 Android Development] Palyash123:
Htc 820s dual indian

Plz.. help me i dont have backup of my phone and it gets stuck on bootloop

My phone is also not getting recognised on pc

Plz... help
[Desire 820 Android Development] Gibz97:
Same story. Encryption
[Desire 820 Android Development] Mohamed Yaser:
if we only have binaries :(

thinking about porting desire 820 , Lolipop

but i think the prebuilt libs we have won't help

we need a twrp backup , baaaaaaaadly ,,, **** those begging sites

**** htc also
[Desire 820 Android Development] Mohamed Yaser:
i found this on twitter

https://twitter.com/llabtoofer

he/she seems to work in htc

see his tweets , it looks that they announced an update ,but the damn luck ,, the ota goes only to tiwan not us

lets spam him/her untill they know our problem ,,, htc must here us or lolipop nor sense will never exist for our devices
[Desire 820 Android Development] Gibz97:
Yeah I have seen it. So sad :(

But I think even if they'll update it to Lollipop we'll not get Sense 7
[Desire 820 Android Development] Mohamed Yaser:
no problem at all ,, all i need is only a base ,, even if no sense 7 i will port sense 7 :)
[Desire 820 Android Development] Gibz97:
The zip was successfully decrypted. Please take a look at this thread. I'm not familiar with partitions used here...

http://xdaforums.com/showthread.php?t=2084470&page=20#post64035731
[Desire 820 Android Development] Mohamed Yaser:
ok ,, dont flash it , i will test the files first ,,, waiting his upload
[Desire 820 Android Development] Mohamed Yaser:
Guess What !!!!

This is Lolipop System :)

WORK IN PROGRESS " MAKING A FLASHABLE ZIP "
[Desire 820 Android Development] Gibz97:
At last we crack it :cool:
[Desire 820 Android Development] Mohamed Yaser:
From what i see now , i can tell it might be safe to flash using SP flash tool if you cant wait for my flashabe zip "it would take some time " , lollipop have many changes
[Desire 820 Android Development] Gibz97:
I'll try flashing the system.img only
[Desire 820 Android Development] Mohamed Yaser:
System.img & Boot .img

Lollipop wont boot up with kitkat kernel even on a nexus device

For now i will go offline , going to an exam now..
[Desire 820 Android Development] Gibz97:
Let me wait for the safe optiom
[Desire 820 Android Development] Mohamed Yaser:
I tried to make it flashable zip but it didn't work !! Sorry guys , but i don't know what is the problem , Status 0
[Desire 820 Android Development] Mohamed Yaser:
[MENTION=2605798]nkk71[/MENTION] Here ,, I made it 1.7gb flashable zip ,, not flashing status 0
[Desire 820 Android Development] nkk71:
pull the log, it's usually in /tmp/recovery.log

what does your updater-script look like?

Remember, I'm not familiar with this device, so I can only offer my thoughts/ideas
[Desire 820 Android Development] nkk71:
dont know what SP tools are, but have you

pulled / checked the recovery log

made sure system is being mounted read/write by twrp

is that the correct block? can't you use by-name instead

after flashing open an adb shell, remount system, and look if the files actually changed, otherwise, it's probably not getting mounted properly

eg, for M9, older scripts would fail because of: http://xdaforums.com/showpost.php?p=60260367&postcount=2
[Desire 820 Android Development] Mohamed Yaser:
We dont have twrp , so no adb while in recovery

Cant pull logs

Also we dont have fastboot or bootloader working

We cant

""Fastboot flash system system.img ""

Result is >> Waitimg for device
[Desire 820 Android Development] Mohamed Yaser:
About sp flash tools

The tools that flash stock roms to mediatek devices

That device is media tek
[Desire 820 Android Development] Mohamed Yaser:
I copied the rom.zip "" 1.72 Gb"

To my internal memory there was 300mb left

Do i need to free 2 gb for it to work !! I cant catch a log via CWM
[Desire 820 Android Development] nkk71:
like I said, I dont know that device, let alone any specifics, but a few thoughts:

1- quick google showed a few TWRP versions for Desire 820 ("all variants").... i can't say if they work or not, so please be careful

2- just because the zip is 1.72GB, does not necessarily mean it a normal zip, please make sure it's a zip archive, not a zip64 archive

3- even CWM recovery has a log somewhere, I havent used it in such a long time, I honestly don't remember

I really know too little about that device, it's structure, format, etc. to be of much use :angel:

If it was me, and I just wanted to test the recovery, make a very small zip that flashes something into /system (could be anything, even just a "blabla-i-am-testing.txt" file, and see if that goes properly into system,

since it seems you have no adb access in recovery (strange, I am sure CWM recovery has it), you can check using a root enabled file explorer in the booted rom...

if the file is there, then it worked, and you need to check your zip/script/etc

if it's not there, then something else is wrong
[Desire 820 Android Development] Gibz97:
I found the recovery log in /cache/recovery/
[Desire 820 Android Development] Gibz97:
My last log when I flashed UPDATE-SuperSU-v2.46_2.zip
[Desire 820 Android Development] nkk71:
thanks for the log, it's a start i guess, but obviously a lot is different (have you seen how many errors are in there),

you better keep checking,

also SuperSU 2.46 isnt meant for Android 5.x you may wanna check the beta versions

as i said, i'm not familiar with this device, so i wouldnt take my advice too much
[Desire 820 Android Development] Gibz97:
Yes. So the culprit is the recovery
[Desire 820 Android Development] nkk71:
Sorry guys/gals, I've said it plenty of times, I dont know this device, so I can't help much,

* you wanted the/a RUU decrypted -> you got it

* you're flashing SuperSU 2.46 -> fine, but it wont work with Android 5.x.x

anything else, I'm more than willing to

try

and help but i need specifics
[Desire 820 Android Development] Gibz97:
I have just ported twrp for our device. I will upload. Try installing the zip with it...
[Desire 820 Android Development] Mohamed Yaser:
Looks nice

Waiting
[Desire 820 Android Development] Gibz97:
https://www.dropbox.com/s/d4k8g8nnlrmmwm0/TWRP-820s.img?dl=0

Sorry for the delay guys. My net was piss poor
[Desire 820 Android Development] Mohamed Yaser:
Cant boot into it

It boots up to system

Seems bad recovery img
[Desire 820 Android Development] Gibz97:
Please send me your stock recovery. If you backed it up with flashify
[Desire 820 Android Development] Mohamed Yaser:
Damn , i didn't back it up
[Desire 820 Android Development] Gibz97:
Ok. No problem. I will upload another one

---------- Post added at 09:08 PM ---------- Previous post was at 08:48 PM ----------

Try this https://www.dropbox.com/s/gbzsx7iu0b23fgt/TWRP-820s_2.img?dl=0
[Desire 820 Android Development] Mohamed Yaser:
Twrp worked , needs some resizements , but its ok

Didn't flash rom yet , wil do this when im back home
[Desire 820 Android Development] Gibz97:
Here fixed the size and keyboard bugs

https://www.dropbox.com/s/n8tdt3yvdrpg2e3/TWRP_820S.img?dl=0
[Desire 820 Android Development] Mohamed Yaser:
Still yet have some resizements to do

The mounts page

Also the text size must be 4-5 px smaller
[Desire 820 Android Development] Gibz97:
OK. So did it work?
[Desire 820 Android Development] PrateekBHT:
Hey Gibz97 & Mohamed Yaser,

While browsing the Internet I have come across a method known as Gold Card Flashing by which we can flash any region firmware directly from SDCard. For that we need to convert a normal microSD card of sufficient capacity to Gold Card. This method ignores CID and S-OFF, so none is required.

Read Here: http://www.addictivetips.com/mobil...gold-card-for-htc-desire-without-hex-editing/

OR

http://xdaforums.com/showthread.php?t=954723
[Desire 820 Android Development] PrateekBHT:
The CID of the MicroSD Card or Storage consists of a series of Hexadecimal Values.

The link in the Tool for downloading goldcard.img doesn't work. So the method that I used is different. The full brief method, I shall be sharing tomorrow, which involves getting CID (different one from HTC_xxx, its of MicroSD card) from adb or GoldCard Helper (available on Google Play). The CID extracted from two sources are different:

1. Normal CID - Extracted from ADB

2. Reversed CID - Extracted from GoldCard Helper

Both are different, and are not mirror image of each other, instead are reversed byte-by-byte.

Secondly, using any one CID, after entering on a website download goldcard.img and then locating it in the Gold Card Tool and then patching it into MicroSD Card. After all these Gold Card is created.

I request you to do some research on how to Flash Firmware using this Gold Card, since I have performed only these steps, also I am a bit cautious about my device.
[Desire 820 Android Development] joehanh88:
error while flashing the flashable zip

here is the log that i get while flashing the zip. please help me fix it. and can u make it to be TWRP supported if necessary.

thanks in advance.

regards,

joehanh88
[Desire 820 Android Development] Mohamed Yaser:
Got some problems , i will see the updater script once i can
[Desire 820 Android Development] joehanh88:
thank you so much.. it would be great help if you fix it as soon as you can. because i really need to use my device again :( :(
[Desire 820 Android Development] Gibz97:
Can't you reboot recovery?
[Desire 820 Android Development] Mohamed Yaser:
here is the lolipop zip file

updater script & updater binary needs some work if some one welling to give a try fixing the script or replacing the binary

https://www.androidfilehost.com/?fid=24269982087010237

got some problems very in active these days
[Desire 820 Android Development] joehanh88:
im stuck in TWRP, cant boot my device. trying to flashing the flashable zip from this thread, but it failed. thats my problem. and im trying to use SP Flash Tool, but it didnt help anything. SP Tool didnt start downloading eventho driver was installed correctly..

any news for me, buddy?
[Desire 820 Android Development] Gibz97:
Did you backup with TWRP?

Download SP Flash tool from here

I've just updated TWRP Get it herewhich will enable flashing of the zip. You can flash the TWRP with SP Flash tool using "download only" mode

It's difficult to brick this phone BTW
[Desire 820 Android Development] PrateekBHT:
How to create a GOLDCARD

Q. What is GoldCard?

A. GoldCard is a normal MicroSD Card which has got its Hex edited, so that it bypasses any CID check or MID check when you flash or downgrade any firmware or ROM.

Requirements :

1. A MicroSD Card of Sufficient Capacity (8GB will do).

2. Microsoft .NET Framework installed.

3. HTC Sync Manager (for installing Drivers). Only Drivers needed, you can uninstall HTC Sync later. If installed it should not be running in background.

4. USB Cable

5. USB Card Reader

Instructions :

1. Download the following Tool : GoldCard Tool

2. Insert MicroSD Card in Card Reader and format it in FAT32 format.

3. Then insert MicroSD Card in your phone and with USB Debugging ON, connect it to PC.

4. Type the following commands in ADB to get the Storage CID

adb devices
adb shell
cat /sys/class/mmc_host/mmc1/mmc1:*/cid
OR
cat /sys/class/mmc_host/mmc0/mmc0:*/cid

NOTE: Recommened the command with mmc1 in it. If doesn't work use one with mmc0.

5. You will get a 32 character Hexadecimal Code. That's your Storage CID.

6. Copy/Paste the CID on the following website GoldCard Generator and click on Normal CID and then click on Download GoldCard.

7. Download the GoldCard.img

8. Connect your phone as USB Storage.

9. Open (as Administrator) GoldCard Tool downloaded earlier.

10. In GoldCard Tool, in MMC Tools click Refresh and beside HTC MMC click on Dropdown Menu and click on connected MicroSD Card (as USB Storage).

11. Then click on Load GoldCard.img and locate the GoldCard.img downloaded.

12. Finally click on Patch MMC after it becomes Active.

Congratulations, you have successfully created your GoldCard that can be used to Flash any ROM or Firmware of any Region, or to downgrade your Firmware from the SD Card.

Don't forget to Thank if you find it helpful, and Donate so that I shall continue Development.

The method is 100% working, but finally you are choosing what you are doing. No responsibility of the Author. Proceed with Caution.

With Reference:
[Desire 820 Android Development] cicc74:
will this change CID? and how to S-off the Devices?

sorry to ask you this I'm knew on this!!

Thanks
[Desire 820 Android Development] PrateekBHT:
No, this method just bypass the CID check and flashes the Firmware or ROM. About S-OFF, I have no idea how to get that, but for GoldCard, you don't need to get S-OFF.

Proceed with Caution
[Desire 820 Android Development] cicc74:
do I have to root the diveses and Unlock bootloader?

Thanks
[Desire 820 Android Development] PrateekBHT:
No root needed but you need to unlock the BL.
[Desire 820 Android Development] cicc74:
can I istall officiel Rom Europe lollipop on this Cid ORANG202?

Thanks
[Desire 820 Android Development] PrateekBHT:
Device name??
[Desire 820 Android Development] cicc74:
Htc Desire 820 single sim