yashsingh1/xdaforums huggingface dataset:
[Desire 820 Android Development] Gibz97:
I think the OTA uses the imei numbers or serial number to verify it is a Taiwanese Desire 820s(D820ys) before installing. That could explain why I could install OTA updates on my device because it is Taiwanese so it has Taiwanese imei numbers?? I am not sure, just a thought of it.

Anyway I will upload the WWE firmware too when I get time. I think OTA updates should work for you guys here.

Can you share a photo of your bootloader?
[Desire 820 Android Development] Pana03:
Ok I will share,only tell me where can I found that info and I will post screenshot? :D :D I don't know too much about that.. hahah :P

You mean this? :D
[Desire 820 Android Development] Gibz97:
Switch off phone. Then hold the power and volume down buttons
[Desire 820 Android Development] Pana03:
I must go to "reboot to bootloader" or you can see here? :D
[Desire 820 Android Development] Gibz97:
I now get it. See the OS in the bootloader is empty.

Try unlocking it at HTCDev.com, just try to get identifiertoken but don't unlock
[Desire 820 Android Development] Pana03:
ok I will try.. I find something.. wait.. :D
[Desire 820 Android Development] Gibz97:
I think it is because the proinfo partitions of 820ys and other 820s do not match. The 820ys proinfo partition usually contains the bootloader OS version.

I cannot edit in any way the proinfo partitions in the other 820s devices because that would be illegal since the partition contains extremely device specific info such as the Serial Numbers and bootloader imei number.

Other than inability to install OTA updates, the system should work fine and the bootloader should be unlockable at HTCDev.com
[Desire 820 Android Development] Pana03:
But if you upload wwe firmwork,and we put that firmwork maybe we can recive update?
[Desire 820 Android Development] smartpal:
So u mean to say that 820s indian version will not get ota ?
[Desire 820 Android Development] smartpal:
need help. i cant flash the firmware. when i connect the phone to the pc via usb nothing happens. does not detect the phone. I have latest htc sync manager. any work around?
[Desire 820 Android Development] Mohamed Yaser:
hit the power button , if it switch on turn it of again

connect and just hit the power button and the flash tool will detect it
[Desire 820 Android Development] smartpal:
i am afraid i hard bricked my phone :( . It doesnt power on at all. need help guyz.
[Desire 820 Android Development] Pana03:
Try this: turn off the phone and wait little and ufter that connect usb and wait to install program on your pc,and after that try again everything.. Try that.. :D
[Desire 820 Android Development] smartpal:
it is already off. it doesnt switch on. nothing. revived
[Desire 820 Android Development] Gibz97:
Can you please explain what exactly happened, what SP Flash Tool version you are using and whether PC detects phone? Does the PC produce connection sound?
[Desire 820 Android Development] smartpal:
I managed to get it detected by installing vcom drivers. Then the pc detected it. After that i flashed the RUU sucessfully. I got success message. I unpluged the phone and tried to switch on. It doesnt power on.

:edit:

No the pc does not detect the phone now, no sound. I am using the lastest sp flashtool version from their website.
[Desire 820 Android Development] Gibz97:
Does your PC produce connection sound now? When you connect it to a wall charger does the red light switch on?
[Desire 820 Android Development] Gibz97:
Which version?
[Desire 820 Android Development] Mohamed Yaser:
Hoooooold the power button , use key compinations , do every thing u can do , i belive that at least there will be any thing responding , its totally the same hardware

iam uploading something that may help you , i got the proper drivers and Eaurpean RUU uploading them

---------- Post added 29-12-2015 at 12:05 AM ---------- Previous post was 28-12-2015 at 11:47 PM ----------

PS: You are making things More than they deserve m i just was boored of my 820s and , totally DUMMY flashed the RUU and it succeeded

Ys - s - TS - US >>> With the same hardware same ram , same processor , same every thing ,it wont boot only if you flashed a totally diffrent ROM from a totally diffrent chip eg ..qc

and if you edited the names before flash so you Damaged your partitions , the software will work ONLY IF YOU FLASH IT THE RIGHT WAY , ON THE HARDWARE IT WAS BUILT FOR "Device Name Wont Matter"

My Advice , Check your usb cable

get a new windows installed

wait for my file and flash it as described without touching a file.... hopefully it will just work
[Desire 820 Android Development] amirarsyad97:
So I did install the rom, and this are my findings.

1. I have the same problem as [MENTION=7063401]Pana03[/MENTION], it can't install updates. Also, my imei in download mode shows multiple 0's, even though i still can view imei in settings. (pic 2) Im sure it's because the problem with partition as mentioned by [MENTION=4951021]Gibz97[/MENTION].

2. Rebooting to bootloader shows CID 11111111. Why it is not HTC_621? Rebooting to recovery shows red triangle. Nothing much to do.

3. OP, can you update the instructions to include installing vcom drivers? I had been waiting for connection from phone for quite long when I googled I didn't install the driver.

4. I was hoping WWE firmware will be released. Hopefully there's marshmallow update coming.

Anyway, well done guys! :laugh::laugh: This rom is great :good:
[Desire 820 Android Development] smartpal:
Still nothing. The device will not respond to anything. Completely dead. I tried everything.

As far as the RUU is concerened i downloaded it from the link provided. I did not change anything.

Just very unlucky?
[Desire 820 Android Development] PrateekBHT:
Here I get it. Since the CID is shown to be 11111111 means its SuperCID. The device is DEBRANDED which means that if so it will receive OTA it will never be able to install it, since the SuperCID doesn't belongs to any specific Carrier/Region so the device gets confused whether the OTA you're going to install is for that device or not. So to be on the safer side the device rejects to install the OTA.

Kindly change your CID to HTC_621 by Fastboot (if you're in Taiwan) to successfully install the OTA, else leave it as it is, you can flash Firmware by Fastboot.

---------- Post added at 05:25 AM ---------- Previous post was at 04:37 AM ----------

You haven't replied for Post #40!!!
[Desire 820 Android Development] Gibz97:
I don't know about that bro. I have never tested it on an Indian SIM
[Desire 820 Android Development] PrateekBHT:
Anyone among you who doesn't have Taiwanese 820s, does the SIM related functions of the 820s after flashing the posted firmware work normally or not? Please let me know by replying to this post....
[Desire 820 Android Development] Mohamed Yaser:
yeah no problem
[Desire 820 Android Development] smartpal:
Are you going to flash this RUU? I did mine and bricked it. My 820s is from India. So please be sure before flashing.

BTW i need your help. I need stock RUU for Indian 820s. Can u plz provide?
[Desire 820 Android Development] PrateekBHT:
No, I'm not flashing this firmware right now. My device still has 5 months warranty left. Secondly, I will do some Research and Development and get all the backup solutions (in case anything goes wrong) before trying anything.

Download here:

https://mega.nz/#!jlJ2XSbL!7ZhZgq0k1D9ew4AZi9SmaJoENpVBGQz0l4qHBKhqbbQ

--------- ---------- --------- ---------- --------- ---------- ---------

Your's 820s belonged to? Asia WWE?
[Desire 820 Android Development] Gibz97:
Guys remember if you follow each and every step in the OP then you can never brick your device. Yo will only brick it if you follow your own procedure or use your own SP Flash Tool version or Flash Files.

WWE lollipop firmware is ready for download here: http://xdaforums.com/desire-820/dev...-lollipop-5-0-2-sense-7-t3281363#post64543700
[Desire 820 Android Development] Pana03:
I will try this.. only one question: I am now on 5.0.2 TAIWANESE FIRMWARE,will I have some problem with flash wwe firmwork because I flash TAIWANESE FIRMWARE? :D or I must to revert to 4.4.4 rom and then to wwe firmwork? :D
[Desire 820 Android Development] Gibz97:
You can flash directly on the Taiwanese Firmware. No need of flashing Kitkat
[Desire 820 Android Development] Nc.netcat:
It's work like a charm , thanks guys :)

just ota update problem , that i trying to solve it

anyway good jooob bro
[Desire 820 Android Development] Pana03:
ok bro,i will try later.. :D thank you so much.. :D
[Desire 820 Android Development] amirarsyad97:
That thread is european firmware. Or is it just the same? Anyone having asia_wwe had flashed that rom and find the update are working?
[Desire 820 Android Development] smartpal:
Guess what guyz. Omg miracle?. My phone is working now?

Came back from work and connected the phone to laptop. Guess what happened. It got switched on. And voilaaaaa update to 5.0.2.
[Desire 820 Android Development] patrol31:
Has anyone managed to unlock bootloader and root it?
[Desire 820 Android Development] Nc.netcat:
I've tried many ways but in htcdev I get invalid cid in other side can 't root with software like king root or similar apps or anything else you think , I've tried all the ways even rooting with adb and bypassing adb root ?

For now I trying to modify system.img and adding root manually the easiest way ?

After rooting going to s-off and fix ability to install ota ?
[Desire 820 Android Development] PrateekBHT:
The Lollipop system is such a big memory eater....
[Desire 820 Android Development] PrateekBHT:
The problem with the update is that, we have flashed another region's firmware over the default one, so due to the difference in CID's of both the device and firmware, System CID has automatically changed into SuperCID (11111111). While the OTA update belonged to Taiwan, its CID is HTC_621 and the CID of the System or Bootloader is now 11111111. For successful OTA update both the CIDs must match. Since SuperCID doesn't belong to any specific region/carrier the device is unable to decide whether the OTA update is for it or not. So to be on the safer side the device rejects to install the OTA and shows the following message (in image)

I am working on this and will update you when its done and tested.
[Desire 820 Android Development] PrateekBHT:
Guys, 820s is very uncooperative. Still the Fastboot mode is not that which is there in normal HTC devices and most of the Fastboot commands doesn't work. Until there is a working Fastboot, I think we can't change the CID to HTC_621 and cannot have OTA updates.

Moreover, unlike Kitkat it doesn't allow the use of External microSD card as the default storage option. I am a heavy gamer and had almost 15+ games (0.5 to 2.0 GB each) installed, now I don't since almost 8 GB is eaten up by Lollipop and Sense.
[Desire 820 Android Development] Gibz97:
Those commands work in download mode. Switch off and hold volume down and power buttons
[Desire 820 Android Development] Gibz97:
Those commands work in download mode. Switch off and hold volume down and power buttons. And you cannot write CID until you are S-OFF. So obtaining S-OFF should be your main goal
[Desire 820 Android Development] PrateekBHT:
No, CID can be overwritten even with S-ON. I have done that on my friend's One M9.
[Desire 820 Android Development] Nc.netcat:
For changing cid you should become s-off , for s-off you should be root and for root you should unlock your bootloader and bootloader won't unlock until you Chang cid ??
[Desire 820 Android Development] Gibz97:
There could still be some exploits which can root without unlocking the bootloader
[Desire 820 Android Development] Nc.netcat:
Yeah but still not for our device , you tell me ?
[Desire 820 Android Development] Mohamed Yaser:
Lets ask kingroot team? They may be helpfull than htc

---------- Post added at 09:05 PM ---------- Previous post was at 09:01 PM ----------

Lets investigate in thus thread

http://xdaforums.com/showpost.php?p=61920423&postcount=3652
[Desire 820 Android Development] Nc.netcat:
sigh , I've tried many many ways but i faild -_-

modifying system.img and adding su binary and rooting ,

modifying boot.img and changing ro.adb.secure for adb root ,

and many things .

it's look like there is something alike selinux that won't let me to change main files
[Desire 820 Android Development] vishalaestro:
Does this work for the Indian variant of 820s?

looking for a unofficial build and saw this one ,is this ROM compatible with the indian variant ? can any post which models does this support?
[Desire 820 Android Development] PrateekBHT:
Yes, it completely works. Its battery and storage sucker. 8GB worth of Lollipop and Sense....

Supported only by 820s (Indian Variant), 820ys and 820ts.
[Desire 820 Android Development] smartpal:
So u didnt read the first post itself. Read it and you will get all your answers.

BTW my phone is Indian variant and it is working perfect. U can give a try.

I dont know what u mean by unofficial but this firmware is Stock.
[Desire 820 Android Development] PrateekBHT:
For Indian variant its Unofficial. If it was Official then the device would have had it Out of the Box or we should have received OTA by now. Of course it is Stock (Unmodified).
[Desire 820 Android Development] Mohamed Yaser:
Yes

Its enforcing

To obtain well root it must be premisive
[Desire 820 Android Development] Gibz97:
Links to Stock Kitkat Firmwares added in Post #2 due to demand
[Desire 820 Android Development] PrateekBHT:
I know it doesn't belong to this Topic but, a very Happy New Year Guys. Thanks for whatever you've done till now and what you're gonna do.
[Desire 820 Android Development] Nc.netcat:
Happy New year tooooo :D

atleast I could unlock bootloader and root the phone :o:cool::cool::cool::cool::cool::cool::cool::good::good::good::good::good::good::good::good:
[Desire 820 Android Development] Mohamed Yaser:
Yeah All We need now is a Premisive kernel

I could modify the system.img

And have a new system.img "rooted + busy box i also removed many bloats" which can be flashed by Sp flash tool

We Got " Lean Rom " Same concept as nexus 5

But i Didnt flash it yet as i need my data and have notime to copy agaim

But

the kernel Se Linux is Enforcing , We need a kernel dev to build us a Premisive kernel for some apps to work good with root
[Desire 820 Android Development] PrateekBHT:
There's something odd happening...

While using, my 820s get back to the HTC boot up logo on white background, and redo the notifications, messages, whatsapp, etc. after incomplete boot up, that I had received 5-6 hours ago. The thing even happens to the messages and whatsapp that I had even deleted and they are back. Are others' Lollipop receiving such problems...

Special request to Gibz97 to please upload Stock Kitkat 1.20.707.002 on MEGA. Unable to download it from Mediafire.

Thanks.
[Desire 820 Android Development] patrol31:
Rooting will be such a big step. How did you manage to root it?
[Desire 820 Android Development] Nc.netcat:
There is a tools for unlocking hboot without using htcdev , it's not free and my friend did that for me , after unlocking I just flash recovery and then installing su binary .

I will make it s-off too , and if you need I can make a full backup from my system for you .
[Desire 820 Android Development] patrol31:
---------- Post added at 11:08 PM ---------- Previous post was at 11:06 PM ----------

[/COLOR]

It would be helpful if you can share it here.
[Desire 820 Android Development] Mohamed Yaser:
Why not you share info here?
[Desire 820 Android Development] PrateekBHT:
You can try unlocking using this thread.

I haven't tried this yet, so please proceed with care.
[Desire 820 Android Development] Gibz97:
I will unlock mine at HTCdev then compare the partitions before and after unlocking to get which partition is responsible
[Desire 820 Android Development] Nc.netcat:
Sorry bro but as i said i don't have access to that tools for unlocking hboot for sharing :(

and for bypassing error and security issue in installing ota updates there is a module in xposed framework with "Bypass security" name , but xposed framework installer is not compatible with our rom sdk for now .

in other side there is no s-off trick or tools for our rom too

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

bro , can you make a flash able backup after unlocking hboot for those can't unlock there hboot by htdev ?
[Desire 820 Android Development] Alen_Sft:
Can someone upload flashable zip, so I can flash that ROM with TWRP?
[Desire 820 Android Development] Gibz97:
It's not possible to flash it with a custom recovery. Only SP Flash Tool works so far
[Desire 820 Android Development] patrol31:
How about your original ys bootloader, can you share it with us so we can replace the one in the decrypted stock rom for sp flash tool flashing?
[Desire 820 Android Development] Gibz97:
I also flashed the bootloader from the decrypted RUU.

As I said earlier the main problem is in the proinfo(product information) partition which contains the Serial Number, bootloader imei number, MB Number etc... I cannot share that partition as I would be producing multiple clones of my own device, which is illegal
[Desire 820 Android Development] patrol31:
I get it, it's device specific. The only thing, i believe, that is lacking is root access. Hoping we can obtain root.
[Desire 820 Android Development] patrol31:
Can you share the backup of your rooted system?
[Desire 820 Android Development] Gibz97:
There are rumors that the latest version of Kingroot can root Lollipop here http://androidmtk.com/download-kingroot-application. Can someone confirm please. I am using build 1.20.709.1 but I cannot root mine with the app.
[Desire 820 Android Development] patrol31:
It's not working.
[Desire 820 Android Development] Gibz97:
Is this thing trusted?
[Desire 820 Android Development] Nc.netcat:
I couldn't s-off but it's rooted and hboot unlock . It's wwe from Mohammed's thread .

I will upload to mega as I become free ?
[Desire 820 Android Development] amirarsyad97:
Nope. Not working for me. But they also tweeted that D820ys is supported. Maybe you should give it a try.

How did you unlock it? Hopefully you can post it here. I'm dying to have root on this phone
[Desire 820 Android Development] patrol31:
We badly need it. We'll wait for you to upload.?
[Desire 820 Android Development] Jankie255:
Whats the different between this thread and this one http://xdaforums.com/desire-820/development/a50ml-european-lollipop-5-0-2-sense-7-t3281363
[Desire 820 Android Development] Gibz97:
One is Taiwanese the other is WWE
[Desire 820 Android Development] Gibz97:
So guys the only way you can unlock the lollipop bootloader for the unofficial 820ys is by using tools like xtc2clip and others. If you cannot live without root then the only way is to flash kitkat
[Desire 820 Android Development] Gibz97:
Sorry for getting off topic. Just reopened school so I will be very busy and unavailable. it was a great time having all you guys. I will be popping in occasionally though or if I get any interesting news, hoping to see more and more development fot this awesome device in the future, I wish everyone a happy and enjoyable life :good:
[Desire 820 Android Development] rkabishi:
got a phone from china and it is label HTC Desire D820us(D820s)-Dual 4G LTE 64Bit MTK6752 Octa Core 5.5inch HD Super LCD Screen Android 4.4 KitKat. will this work on it?
[Desire 820 Android Development] patrol31:
First post says it's not yet tested on us variant. But i think it should work fine. Just follow the instructions carefully.

PROCEED at your own risk.
[Desire 820 Android Development] Gibz97:
It can be flashed on the 820us but I have heard some people complaining of invalid imei after flashing, could due to Chinese imei? I am not sure.

It can be fixed by flashing original firmware though.
[Desire 820 Android Development] rkabishi:
thats what i got after flashing , i am now trying to find out way to write imei. how do i install recovery (twrp)? so that i can use it to flash the file containing imei?or is there any other way of writting the imei?
[Desire 820 Android Development] Gibz97:
Does your imei show invalid or it's blank?
[Desire 820 Android Development] rkabishi:
blank
[Desire 820 Android Development] Gibz97:
That is because you once formatted your nvram with SP Flash Tool. You will have to write your imei from scratch using SN WRITE Tool.

I hope you have nvram database files for the 820us.

This is a link for the nvram database for 820s, hope it will work for you.

It only works in Kitkat so you will have to flash kitkat and write your original imeis permanently then you can flash back lollipop.

You can even write back your original serial number (barcode) with that tool.

This tutorial can help you.

Caution: Flashing imei other than the original is illegal, and may cause serious trouble to you, so please be aware of what you are doing
[Desire 820 Android Development] rkabishi:
i tried to flash kitkat but it only given me error(brom error 2004) and phone switch on
[Desire 820 Android Development] Gibz97:
To flash kitkat on Lollipop you have press and hold both volume buttons while connecting phone to PC until when flashing starts
[Desire 820 Android Development] rkabishi:
OK will try and let you know,thanks
[Desire 820 Android Development] rkabishi:
i have managed to restore kitkat but when i try to write permanently the imei using sn flash tool it fails ,seems that the NVDB_820s is not compatible with my d820us
[Desire 820 Android Development] Gibz97:
You can find the nvram database files for your phone in your flash file
[Desire 820 Android Development] rkabishi:
Sorry for not understanding,what do you mean by flash file?is it the folder where i got the MT6752_Android_scatter file from?
[Desire 820 Android Development] rkabishi:
i cannot see it inside that folder,how do i have to get it?and something else,in the SN write tool it says at the end that you need to switch off your phone and take the battery out,when i tried it the first time,i only switched it off and when i plugged it on the PC, it went on.do i have to hold the volume button also?
[Desire 820 Android Development] PrateekBHT:
Hold Volume Up and Down together while connecting your phone by USB cable after clicking on Download. You'll have to keep it held until flashing begins.
[Desire 820 Android Development] Gibz97:
What error does SN write tool show you? Did you load the database files? Can I see a snapshot of how you loaded them?

If it still doesn't work then you will have to flash the stock 820s firmware then write your imei numbers.

And yes the phone does switch on when writing with SN write tool
[Desire 820 Android Development] sharky_004:
Thanks ' I'll try this...

I though i got stuck on lollipop..lets see if this works
[Desire 820 Android Development] sharky_004:
still no

View attachment 3606307
[Desire 820 Android Development] Nc.netcat:
Hey

1 : click on download

2 : turn of the phone

3 : JUST hold UP volume button (don't release soon )

4 : connect your phone to PC

and wait until you see the success message with green checked mark icon
[Desire 820 Android Development] sharky_004:
Ok ill try this one
[Desire 820 Android Development] Mohamed Yaser:
I think some one said that he , had his device rooted

Can you please give me a backup of your uboot and boot.img so i can insert them into a flashable zip

Trying to make a flashable lollipop zip

If i succed we all will have root on lollipop as twrp/cwm will remain on recovery partition
[Desire 820 Android Development] patrol31:
Also waiting for this
[Desire 820 Android Development] sharky_004:
yet No.....:(

:crying::(

plz can anyone suggest something
[Desire 820 Android Development] amirarsyad97:
change 'Download only' to 'Firmware upgrade' below the scatter loading. Then follow the earlier instructions