Sony Android TVs eMMC Issues

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PontyPCs
    Member
    • May 2016
    • 15
    • United Kingdom

    #1

    Sony Android TVs eMMC Issues

    Hi people.

    I have been trying to get my head round these issues with the eMMC putting the TV in to a boot loop condition, or completely dead, when a dump of the Boot 1, Boot 2 and USERDATA partitions have been made, the MLC lifetime counter has been reset, using the original eMMC with the RPMB partition intact and the eMMC is flashed with the original dump, Netflix and a few other Apps don't work. i assume all the DHCP keys and factory programmed RPMB access Key will be contained within the original dump, and as we are re-flashing the original eMMC i would expect every thing to work.
    Can someone please educate me, am i barking up the wrong tree or is it just a case of me being a numpty.

    Thanks People
  • Davi.p
    Hobbist
    • Sep 2009
    • 4261
    • Italy - Milan

    #2
    i don't really know what's the sense of your procedure, if the problem is the software, it appears almost clear it is so, with your action you did not fixed the wrong files but only the file system structure, this is why your tv is correctly booting, ok it's at least a result... but as i always suspected, the delicate parts tended to fail are the apps and smart area, them failed to save data due to line problems or whatsoever.. have you de installed and reinstalled those apps? DHCP what? too much acronyms.. DHCP is not a key.. it's a net parameter.. RPMB never heard, what is?

    Comment

    • lotas
      Badcaps Legend
      • Jan 2016
      • 4457
      • Russia

      #3
      Everything is correct, half of the applications will not work, since there is a connection to the hardware (processor, eMMC) its ID, and you will not be able to read the RPMB section (you can only write it, this section with a programmer), since it is encrypted with a key, this key knows only its native processor...

      Comment

      • lotas
        Badcaps Legend
        • Jan 2016
        • 4457
        • Russia

        #4
        Originally posted by Davi.p
        RPMB never heard, what is?
        RPMB
        Attached Files

        Comment

        • lotas
          Badcaps Legend
          • Jan 2016
          • 4457
          • Russia

          #5
          How it works in more detail:

          If the Key is missing, then the device (processor) programs the key into the chip.
          The key is generated from the processor SN and eMMC CID, and thus the key is different for different processors and different eMMCs. Further work occurs in the same mode as with a programmed key. The programmed key cannot be changed.

          If the Key already exists, then, as a rule, the counter has a value greater than 0.
          With a chip that already has a key (16 bytes), the device (processor) can only work through data encoded by the key (Key) and the recording counter (Counter).

          Read mode: the device (processor) receives the counter value from the eMMC, requests to read the data (256 byte blocks), receives the counter and key encoded data, decrypts it using the stored key and counter value, checks the validity of the data.

          Write mode: The device (processor) receives the counter value from the eMMC, encodes the data using the key and counter (256 byte blocks) and sends it to the chip. The chip decrypts them using the stored key and counter value and checks the validity of the data. If the data is valid, the block is written, and the value of the write counter (Counter) is increased by 1.
          Thus, the value of the write counter (Counter) shows how many blocks of 256 bytes (or how many times) were written to the RPMB area.

          Important:
          1) when writing Firmware to eMMC, the internal NAND memory of the eMMC is reinitialized, erasing the key, counter and RPMB data
          2) it is impossible to remove the key from RPMB or change the counter in any other way, except for increasing the counter value by writing data encoded with a valid key.​

          Comment

          • PontyPCs
            Member
            • May 2016
            • 15
            • United Kingdom

            #6
            Hi lotas.
            Thank you for your response.

            What i am trying to work out is this.

            The lifetime counter of the original eMMC has been exceeded, 90 to 100% (MLC) Which causes the TV to Boot Loop. the lifetime counter of the (SLC) is only 10 to 20%. When a dump or a clone copy of the original eMMC is taken the Boot 1, Boot 2. Userdata. is the RPMB master key, the one programmed in factory that allows the processor to acess the DRM data held in the RPMB partion included in the clone/dump ?. if not were does this information reside on the eMMC.
            My logical thought is this.
            After resetting the MLC lifetime back to 0 to 10% on the original eMMC and rewriting the original dump, as the RPMB partition is still in the original state after the reset, and assuming that the original factory generated HAS256 key is copied with the dump, this should be written back to the eMMC, thus in theory every thing should work.

            Comment

            • lotas
              Badcaps Legend
              • Jan 2016
              • 4457
              • Russia

              #7
              Such an eMMC will not last long after resetting the life cycle, it may be enough for a few days..., it is better to change it to a new one, if the RPMB partition is not damaged, try updating the software via USB.

              Comment

              • PontyPCs
                Member
                • May 2016
                • 15
                • United Kingdom

                #8
                Tried that lotas many times but fails, i think it fails because of the eMMC lifetime exceeded, i have done a few of the Sony's with the dying / dead eMMC's but fail to get Neflix and chromecast to work

                Comment

                • lotas
                  Badcaps Legend
                  • Jan 2016
                  • 4457
                  • Russia

                  #9
                  t’s more likely that the programmer itself does not correctly read this encrypted section (does not understand its encoding), and what it read and wrote down, you yourself tried to see this section in the hex editor that the programmer read.

                  Comment

                  • PontyPCs
                    Member
                    • May 2016
                    • 15
                    • United Kingdom

                    #10
                    I have the UFI and RT809H Programmers, to be honest i have not looked at the HEX of the dump, not sure how to read the buffer, I'm still leaning my way round lotas, so appologies if i seem to be making no sense at all

                    Comment

                    • Davi.p
                      Hobbist
                      • Sep 2009
                      • 4261
                      • Italy - Milan

                      #11
                      Standing on what Lotas says, programmer cannot read that key partition.. so what you will have is an empty rpmb partition, but Lotas also said that would make cpu write newly the key, if counter is not in the rpmb area there would not be a problem but probably it is.. what i have not understood, what is the host? An internet host? The app provider?? If yes there would be the possibility to contact that provider and ask to restart the counter due to tv restoration?

                      PontyPc, have you resetted the BBT, bad block table, before the rewrite? The BBT is stored in the dump so it cannot be restored onto the emmc..
                      Last edited by Davi.p; 12-10-2023, 03:00 PM.

                      Comment

                      • PontyPCs
                        Member
                        • May 2016
                        • 15
                        • United Kingdom

                        #12
                        Hi Davi
                        Sony are no help at all with this issue, their response is replace the main board at a huge cost of over £600 in most cases more than the TV is worth, the easy and cheaper option is to connect a firestick to the TV to restore netflix and casting, but that defeats the issue. A perfectly good TV in some cases going to landfill because of a software / firmware issue. It's my view Sony know of this issue and should make a fix available. i know some people have managed to get round this issue and are able to fix 100%.

                        Comment

                        • Davi.p
                          Hobbist
                          • Sep 2009
                          • 4261
                          • Italy - Milan

                          #13
                          I was not speaking about Sony, i was speaking of for example Netflix company.. anyway i have few experiences in the softwares fix.. for what i have read here today and few other times, the problem with some programmers is that them reads the memory in pieces or partitions, my doubt is why rt809h presents always the same 3 partitions when usually a tv has more than three? isn't there any "raw" read mode? is it limited by the emmc interface?? I have seen only rt809 interfaces.. it has something about bbt resetting, it's not easy nor clear, users forum is in chinese, some useful videos are there, but.. uff.. what a stress.. for me a way of modifying a problematic memory is to work on dump by mounting it under linux on a pc, making the corrections to the file system and then loading it to the erased emmc or a new one.. emmc are not intended only for smart tv, so is not really probable for me that it is not truly readable, maybe the limit of tv oriented programmers is that them reads the entity "partition" as how them are readable knowing its file system, but anything out of linux and fat partitions maybe are ignored??!! who knows?....
                          Last edited by Davi.p; 12-10-2023, 03:49 PM.

                          Comment

                          • Davi.p
                            Hobbist
                            • Sep 2009
                            • 4261
                            • Italy - Milan

                            #14
                            *Staff note: forum ignored my post editing two times.. and also in the message list i see last message is by another user but its mine and also appears my icon..

                            Comment

                            • lotas
                              Badcaps Legend
                              • Jan 2016
                              • 4457
                              • Russia

                              #15
                              Originally posted by Davi.p
                              *Staff note: forum ignored my post editing two times.. and also in the message list i see last message is by another user but its mine and also appears my icon..
                              Yes, the site is running late...

                              Comment

                              • imran333
                                Member
                                • Apr 2012
                                • 48
                                • uk

                                #16
                                Originally posted by Davi.p
                                I was not speaking about Sony, i was speaking of for example Netflix company.. anyway i have few experiences in the softwares fix.. for what i have read here today and few other times, the problem with some programmers is that them reads the memory in pieces or partitions, my doubt is why rt809h presents always the same 3 partitions when usually a tv has more than three? isn't there any "raw" read mode? is it limited by the emmc interface?? I have seen only rt809 interfaces.. it has something about bbt resetting, it's not easy nor clear, users forum is in chinese, some useful videos are there, but.. uff.. what a stress.. for me a way of modifying a problematic memory is to work on dump by mounting it under linux on a pc, making the corrections to the file system and then loading it to the erased emmc or a new one.. emmc are not intended only for smart tv, so is not really probable for me that it is not truly readable, maybe the limit of tv oriented programmers is that them reads the entity "partition" as how them are readable knowing its file system, but anything out of linux and fat partitions maybe are ignored??!! who knows?....
                                Hi how do we find the corrupted part on a emmc ?
                                The Rt809h reads emmc in a different way so any dump from that won’t work in other programmers

                                Comment

                                • imran333
                                  Member
                                  • Apr 2012
                                  • 48
                                  • uk

                                  #17
                                  Originally posted by lotas
                                  How it works in more detail:

                                  If the Key is missing, then the device (processor) programs the key into the chip.
                                  The key is generated from the processor SN and eMMC CID, and thus the key is different for different processors and different eMMCs. Further work occurs in the same mode as with a programmed key. The programmed key cannot be changed.

                                  If the Key already exists, then, as a rule, the counter has a value greater than 0.
                                  With a chip that already has a key (16 bytes), the device (processor) can only work through data encoded by the key (Key) and the recording counter (Counter).

                                  Read mode: the device (processor) receives the counter value from the eMMC, requests to read the data (256 byte blocks), receives the counter and key encoded data, decrypts it using the stored key and counter value, checks the validity of the data.

                                  Write mode: The device (processor) receives the counter value from the eMMC, encodes the data using the key and counter (256 byte blocks) and sends it to the chip. The chip decrypts them using the stored key and counter value and checks the validity of the data. If the data is valid, the block is written, and the value of the write counter (Counter) is increased by 1.
                                  Thus, the value of the write counter (Counter) shows how many blocks of 256 bytes (or how many times) were written to the RPMB area.

                                  Important:
                                  1) when writing Firmware to eMMC, the internal NAND memory of the eMMC is reinitialized, erasing the key, counter and RPMB data
                                  2) it is impossible to remove the key from RPMB or change the counter in any other way, except for increasing the counter value by writing data encoded with a valid key.​
                                  You can actually remove RPMB key on a emmc and program a new key if you know a new key which will reset the counter

                                  Comment

                                  Related Topics

                                  Collapse

                                  • imran333
                                    Recommendation for programmer for Sony android tv emmc
                                    by imran333
                                    Hi can anyone recommend me a good programmer that is capable of programming Sony android main boards as the boot loop issue is common, and want to start programming them preferably in circuit as I have heard it's possible as there's many pictures of the points to solder to, also I noticed some require rst_n connection and not all programmers have that if your doing it in circuit
                                    03-20-2023, 07:23 AM
                                  • Morosan Dimitrie
                                    Sony KDL 55W-955B Sony EMMC dump search :)
                                    by Morosan Dimitrie
                                    Hello guys, can someone help me with an eMMC dump for a Sony KDL55W-955B TV, I tried to read the original memory with the RT809H but it shows me that it only has 1888MB even though it should have around 3.8GB. On a new memory it shows me 3776MB. From what I found on the Sony page, the following models could also be compatible:

                                    KDL-65W955B, KDL-55W955B, KDL-60W855B, KDL-50W805B, KDL-42W705B, KDL-32W705B, KDL-48W605B, KDL-40W605B, KDL-60W605B, KDL-55W805B, KDL-42W805B, KDL-48W585B, KDL-32W706B, KDL-42W706B, KDL-42W815B, KDL-42W817B, KDL-50W815B, KDL-55W815B, KDL-42W828B, KDL-42W829B,...
                                    06-08-2024, 04:13 PM
                                  • Lanparty
                                    Emmc RT809H and Sony kd55x8505c SK Hynix H26M52103FMR
                                    by Lanparty
                                    Hello guys
                                    One million dollars question.
                                    The problem is I have this tv with almost dead Emmc if I hold Vol - and Power button for about 40 sec. it goes in Recovery mod but does not want to boot from USB . I read the Emmc H26M52103FMR 16Gb and shows that User date is damaged corrupted. I have bought the same Emmc I copied all Boo1 Boot 2 and CSD_EXT file 512 kb from oem old emmc and the user date 14.6Gb from another dump but same model TV. Reballing reading and writing went without any problems but when I soldered back on PCB the TV does not go even in Recovery mod totally dead.I...
                                    04-22-2021, 08:56 AM
                                  • joby91
                                    SONY KD-55AF9 OLED MAIN-BM3-1-983-356-11 EMMC Firmware
                                    by joby91
                                    Hello,

                                    I have SONY KD-55AF9. Mainboard MAIN-BM3-1-983-356-11 with defekt EMMC.
                                    I wanted to buy new EMMC and Flash the firmaware on it. Does anyone have the firmware for this TV. I would be really grateful.

                                    I found one chat about firmware on ************** forum but i cannot read the comments.

                                    https://**************/forum/108-114100-1#880537


                                    09-04-2024, 01:34 PM
                                  • Ihandyrepair
                                    4 red flash led 65X950G boot Sony and android logo but then black
                                    by Ihandyrepair
                                    HI guys

                                    I got here a Sony 65X950G - I tried to find any repairs guides for this model but not many online

                                    here is the issue
                                    I have Sony and android logo. but then 4 led red flash lights front of the tv

                                    I have 3.3v ref. 12v reg then T con 12v when I press the power on button
                                    but then I get black screen and 4 red flash light at the front LED
                                    but I get 3 led flash on the LED driver board.

                                    I check that few X900F or C YouTube repairs, seems that if you have 4 led red flash it could be due of LED black light error
                                    so I tried...
                                    07-11-2024, 01:45 AM
                                  • Loading...
                                  • No more items.
                                  Working...