Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Measy U4K and B4K upgrade to 4.2.2 with CS918S firmware

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Originally posted by ADD View Post
    Another good news - I've finally found the reset button on U4K !!!
    The only place I thought worth exploring was the blank mounts for a SPDT SMD switch. It has a bridge on two pins and so I assumed I could remove this and then fit a suitable switch. I attach a PCB photo. THe missing SPDT is sited directly next to the microSD card slot

    Also I can see the following params in sys_config, I assume these are the ones to mod for 1080p?

    [disp_init]
    disp_init_enable = 1
    disp_mode = 0
    screen0_output_type = 3
    screen0_output_mode = 5


    This and this seem to be very helpful
    Attached Files
    Last edited by d33; 20 January 2014, 15:15.
    Measy U4B (=Tronsmart T428) used by my kids!
    Onda v975m - M802 - Bought from Banggood.com
    Pipo M8HD 3G - RK3188 - don't buy from pipo-store
    Tronsmart S89 Vega -S802 (sponsored by Geekbuying)
    CX921b -RK3188T (sponsored by AndroidTV)
    Cube U30GT2 - RK3188 (part sponsored by Geekbuying)
    RKM MK902 - RK3188 (sponsored by RKM)



    Donate to Finless

    Comment


      Originally posted by darrellr View Post
      The only place I thought worth exploring was the blank mounts for a SPDT SMD switch. It has a bridge on two pins and so I assumed I could remove this and then fit a suitable switch. I attach a PCB photo. THe missing SPDT is sited directly next to the microSD card slot
      That is correct answer Here is the picture

      Click image for larger version

Name:	20140120_135707_1.jpg
Views:	1
Size:	180.7 KB
ID:	431867

      I'm so bloody happy I could unbrick it after unsuccessfull flashing with B4K ROM. By the way, I used 32GB Samsung microSD card with SD adapter to burn the image in PhoenixCard. It did not work whatever I tried. Then I just inserted the microSD back into my Cube2 tablet and connected it to the PC in USB mass storage mode and burned the image

      I also tried your image with modified sys_config.fex. It didn't work unfortunately. I've tried it before myself to unpack and repack image with this modification in sys_config.fex. In fact, the changes should be done in script.bin file in OTA zip and not in the image. Now the question is how to convert an img to OTA zip

      Comment


        Originally posted by ADD View Post
        I also tried your image with modified sys_config.fex. It didn't work unfortunately. I've tried it before myself to unpack and repack image with this modification in sys_config.fex. In fact, the changes should be done in script.bin file in OTA zip and not in the image. Now the question is how to convert an img to OTA zip
        I don't understand why unpack/repack doesn't work. Frustrating! I'm going to chase this once I can force recovery mode at will.

        Regarding the zip thing, isn't it just taking the sys_config.fex, running it through fex2bin and then using the same method the Russian bloke used?

        [edit] Actually, thinking about this I'm really confused. When you say my repacked image didn't work, do you mean it won't flash or that it flashes but without affect? The latter sounds implausible so I'm assuming the former.
        Last edited by d33; 20 January 2014, 15:56.
        Measy U4B (=Tronsmart T428) used by my kids!
        Onda v975m - M802 - Bought from Banggood.com
        Pipo M8HD 3G - RK3188 - don't buy from pipo-store
        Tronsmart S89 Vega -S802 (sponsored by Geekbuying)
        CX921b -RK3188T (sponsored by AndroidTV)
        Cube U30GT2 - RK3188 (part sponsored by Geekbuying)
        RKM MK902 - RK3188 (sponsored by RKM)



        Donate to Finless

        Comment


          Well, it was just some logic and a bit of luck that I could find the switch. Among two possible terminals I excluded right away a microUSB reserve wich is situated closer to CPU on the board. Then a little hint on manufacturer's picture made me try this one out

          Click image for larger version

Name:	Measy U4K reset.jpg
Views:	1
Size:	26.5 KB
ID:	431868

          And yes, inserting the microSD, shorting the pins and plugging power in forces the SD card upgrade exactly the same way they do on Mele's except for the heart beats (flashing light). Luckly I was smart enough to connect the unit to the TV to see what was going on, because otherwise you see nothing, just the blue light which permanently stays on, while on the screen you will see a very simple progress bar that'll tell you when it's over.
          Regarding the zip thing, they were using OTA zip and not an image.

          EDIT Sorry, just noticed your edit. Yes, sure, it did successfully flash and worked just as the original CS918S ROM. And that was the same thing when I repacked it on my own too.

          Comment


            Originally posted by ADD View Post
            Regarding the zip thing, they were using OTA zip and not an image.

            EDIT Sorry, just noticed your edit. Yes, sure, it did successfully flash and worked just as the original CS918S ROM. And that was the same thing when I repacked it on my own too.
            1. Image - really don't understand that - it suggests that there is something other than the fex that is controlling the wifi setting. Script.bin is just a 'binary-ed' sys_config.fex - they are identical.

            2. OTA - We may be talking at cross purposes but what I see in the Russian approach is they bundled up a a binary-ed Sys_config.fex (script.bin) along with adb executalbe and a script that effectively mounted the NAND, wrote the bin file and then unmounts. So surely all you need to do is run 'our' sys_config.fex through fex2bin replace it in the zip file and apply in whatever way OTA is applied.
            Measy U4B (=Tronsmart T428) used by my kids!
            Onda v975m - M802 - Bought from Banggood.com
            Pipo M8HD 3G - RK3188 - don't buy from pipo-store
            Tronsmart S89 Vega -S802 (sponsored by Geekbuying)
            CX921b -RK3188T (sponsored by AndroidTV)
            Cube U30GT2 - RK3188 (part sponsored by Geekbuying)
            RKM MK902 - RK3188 (sponsored by RKM)



            Donate to Finless

            Comment


              Originally posted by darrellr View Post
              1. Image - really don't understand that - it suggests that there is something other than the fex that is controlling the wifi setting. Script.bin is just a 'binary-ed' sys_config.fex - they are identical.

              2. OTA - We may be talking at cross purposes but what I see in the Russian approach is they bundled up a a binary-ed Sys_config.fex (script.bin) along with adb executalbe and a script that effectively mounted the NAND, wrote the bin file and then unmounts. So surely all you need to do is run 'our' sys_config.fex through fex2bin replace it in the zip file and apply in whatever way OTA is applied.
              I believe I'd need a linux machine (which I don't have) to do all these manipulations or is there a way to do it on PC or any android tablet?

              Comment


                Originally posted by ADD View Post
                I believe I'd need a linux machine (which I don't have) to do all these manipulations or is there a way to do it on PC or any android tablet?
                I have a Linux (Ubuntu) VM so I can do anything Linux specific but the attached exes should create your script.bin
                Attached Files
                Measy U4B (=Tronsmart T428) used by my kids!
                Onda v975m - M802 - Bought from Banggood.com
                Pipo M8HD 3G - RK3188 - don't buy from pipo-store
                Tronsmart S89 Vega -S802 (sponsored by Geekbuying)
                CX921b -RK3188T (sponsored by AndroidTV)
                Cube U30GT2 - RK3188 (part sponsored by Geekbuying)
                RKM MK902 - RK3188 (sponsored by RKM)



                Donate to Finless

                Comment


                  Originally posted by darrellr View Post
                  I have a Linux (Ubuntu) VM so I can do anything Linux specific but the attached exes should create your script.bin
                  Oh, that's so nice of you! Would you please tell how to proceed in few words

                  Comment


                    Originally posted by ADD View Post
                    Oh, that's so nice of you! Would you please tell how to proceed in few words
                    I don't know! If I wasn't at work I would do:

                    1. fex2bin sys_config.fex script.bin
                    2. Replace 'our' script.bin into the Russian ZIP file
                    3. Use autotranslate in Chrome to read how they 'flashed' the zip file
                    4. Pray

                    (I have a locked down Win7 laptop for work and no Chrome)
                    Measy U4B (=Tronsmart T428) used by my kids!
                    Onda v975m - M802 - Bought from Banggood.com
                    Pipo M8HD 3G - RK3188 - don't buy from pipo-store
                    Tronsmart S89 Vega -S802 (sponsored by Geekbuying)
                    CX921b -RK3188T (sponsored by AndroidTV)
                    Cube U30GT2 - RK3188 (part sponsored by Geekbuying)
                    RKM MK902 - RK3188 (sponsored by RKM)



                    Donate to Finless

                    Comment


                      I used Bing Translate and saw something which sounds simpler:

                      Create Script.bin
                      Copy script.bin on to /sdcard
                      Start Android terminal emulator (need to get APK and install manually if you haven't added already)
                      Type in:
                      • su (so need to be rooted)
                      • mkdir/sdcard/nanda
                      • mount-t vfat/dev/block/nanda/sdcard/nanda
                      • cp/sdcard/script.bin/sdcard/nanda/script.bin
                      • umount/sdcard/nanda
                      • reboot
                      Measy U4B (=Tronsmart T428) used by my kids!
                      Onda v975m - M802 - Bought from Banggood.com
                      Pipo M8HD 3G - RK3188 - don't buy from pipo-store
                      Tronsmart S89 Vega -S802 (sponsored by Geekbuying)
                      CX921b -RK3188T (sponsored by AndroidTV)
                      Cube U30GT2 - RK3188 (part sponsored by Geekbuying)
                      RKM MK902 - RK3188 (sponsored by RKM)



                      Donate to Finless

                      Comment


                        Originally posted by darrellr View Post
                        I used Bing Translate and saw something which sounds simpler:

                        Create Script.bin
                        Copy script.bin on to /sdcard
                        Start Android terminal emulator (need to get APK and install manually if you haven't added already)
                        Type in:
                        • su (so need to be rooted)
                        • mkdir/sdcard/nanda
                        • mount-t vfat/dev/block/nanda/sdcard/nanda
                        • cp/sdcard/script.bin/sdcard/nanda/script.bin
                        • umount/sdcard/nanda
                        • reboot
                        Can't I use android terminal installed on Measy directly for that purpose?

                        Comment


                          Originally posted by ADD View Post
                          Can't I use android terminal installed on Measy directly for that purpose?
                          Sorry, I wasn't clear. That's exactly what I'm trying to say.

                          1. Prepare script.bin on PC
                          2. Copy script.bin onto tv stick in "/sdcard" directory
                          3. execute commandline on the stick to mount and write the script.bin

                          Sounds too easy!

                          NB. If it works you can edit the videomode as well!
                          Measy U4B (=Tronsmart T428) used by my kids!
                          Onda v975m - M802 - Bought from Banggood.com
                          Pipo M8HD 3G - RK3188 - don't buy from pipo-store
                          Tronsmart S89 Vega -S802 (sponsored by Geekbuying)
                          CX921b -RK3188T (sponsored by AndroidTV)
                          Cube U30GT2 - RK3188 (part sponsored by Geekbuying)
                          RKM MK902 - RK3188 (sponsored by RKM)



                          Donate to Finless

                          Comment


                            Originally posted by darrellr View Post
                            Sorry, I wasn't clear. That's exactly what I'm trying to say.

                            1. Prepare script.bin on PC
                            2. Copy script.bin onto tv stick in "/sdcard" directory
                            3. execute commandline on the stick to mount and write the script.bin

                            Sounds too easy!
                            Ah, now it's clear, I thought you ment PC terminal emulator. Yes, I'm going to try it this evening. Thanks a lot!

                            Comment


                              Me too!

                              What we need is someone that HASN'T flashed their U4K and still has the original ROM. We can then get them to extract the original script.bin to get the SDCard GPIO settings.

                              If anyone reading this does have an unmodified U4K it would be great if you:
                              • Install a terminal emulator APK i.e Android terminal emulator
                              • Open a session and type the following commands:
                                • SU
                                • CD /media
                                • mkdir /media/nanda
                                • mount /dev/nanda /media/nanda
                              • Use your file manager / es3 File explorer to copy script.bin from /media/nanda to external storage
                              • Go back to the terminal session and type:
                                • umount /media/nanda
                                • rmdir /media/nanda
                              • Copy the script.bin file onto your PC, zip it and upload to the forum
                              Measy U4B (=Tronsmart T428) used by my kids!
                              Onda v975m - M802 - Bought from Banggood.com
                              Pipo M8HD 3G - RK3188 - don't buy from pipo-store
                              Tronsmart S89 Vega -S802 (sponsored by Geekbuying)
                              CX921b -RK3188T (sponsored by AndroidTV)
                              Cube U30GT2 - RK3188 (part sponsored by Geekbuying)
                              RKM MK902 - RK3188 (sponsored by RKM)



                              Donate to Finless

                              Comment


                                Yeah, that would be excellent if someone shares his script.bin.

                                By the way, how about editing sys-config.fex on WinPC? Do I need any special editor to correctly save the file?

                                Comment

                                Working...
                                X