Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

TWRP for Amlogic devices.

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

    TWRP for Amlogic devices.




    Team Win Recovery Project 2.7, or twrp2 for short, is a custom recovery built with ease of use and customization in mind. We started from the ground up by taking AOSP recovery and loading it with the standard recovery options, then added a lot of our own features. It’s a fully touch driven user interface – no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.


    What’s new in 2.8.7.0:
    • Initial ground work for software drawn keyboard (_that)
    • Fix handling of wiping internal storage on datamedia devices (xuefer)
    • Allow DataManager to set and read values from the system properties (xuefer)
    • Fix crash when taking screenshots on arm64 devices (xuefer)
    • Fix error message after an ORS script completes (Dees_Troy)
    • Fix crashes / error when creating encrypted backups (_that, Dees_Troy)
    • Add system read only option – more details below (Dees_Troy)
    • Add resize2fs and GUI option to run resize2fs (Dees_Troy)
    • Fix crash loop caused by empty lines in AOSP recovery command file (_that)
    • Prevent duplicate page overlays such as multiple lock screens (mdmower)

    What’s new in 2.8.6.0:
    • Fix daylight savings time rules for USA and Europe (_that)
    • Allow mulitple overlays for popup boxes (Dees_Troy)
    • Add pattern style password entry for decrypt (Tassadar)
    • Keyboard improvements (_that)
    • Update AOSP base to 5.1 (Dees_Troy)
    • Reduce theme count to 5 and rely on scaling (Dees_Troy)
    • Various scaling improvements (Dees_Troy)
    • Improved handling of resources in the GUI (_that)
    • Make scroll bar size proportional to list size (_that)
    • Allow scoll lists to render without a header (_that)
    • Make console scroll per pixel with kinetic scrolling (_that)
    • Support styles in XML to reduce XML size and improve consistentcy (Dees_Troy)
    • Various other fixes and improvements (mdmower, bigbiff, codelover, etc)

    What’s new in 2.8.5.0:
    • Scale the GUI - TWRP can read the theme’s resolution and scale it up or down to fit the theme to your screen’s resolution
    • Backups can now be cancelled while the backup is in progress (does not include restore because we don’t want to leave your device in a bad state)
    • Improve thread handling and move input handling into the main rendering thread to improve stability
    • Make MTP work even if unplugged and plugged back in
    • Unify scrollable list code and make kinetic scrolling feel more natural
    • Fix handling of mapped zip files for OTA updates (CM12 updater)
    • USB keyboards should now work on all devices that support USB host mode via a USB OTG cable
    • Other small fixes and improvements

    You can know more about TWRP in here.

    All credits should go to Dees Troy and all TeamWin members.
    I just compile their sources.



    Install method:

    - Download your image and rename to recovery.img

    - Copy the image to your External SD, and boot while pressing the reset button. On TWRP screen select install->images pick recovery.img

    Alternative method

    - adb shell 'dd if=/path/to/recovery.img of=/dev/block/recovery ;sync;sync'


    Issues:
    On booting to TWRP you might get a screen with stripes, or fill with one colour. Just wait around 3 seconds that TWRP curtain will show.


    Last Sync ->18/07/2015

    Enjoy


    Downloads

    New on 2.8.7.0 version
    • Backup of Data will backup InternalSD also, it will only skip TWRP and Downloads folder from internalSD.
    • Backup/Restore functions are not compatible with previous versions
    • There will be no entry in backup menu for internalSD
    • On restore it will NOT wipe internalSD, but overwrite it. So anything newer/different than the backup will be maintained. Wipe internal storage if any issues arise.
    • Fixed problem with 0 size and/or not showing partitions.
    • There's 2 variants now due to HW revisions, check this post to choose
    *** POSTS ASKING IF X IMAGE WORKS ON X DEVICE WILL BE IGNORE ***


    I'm loosing count of images that i have and which ones work on what device, so here's all images from version 2.8.7.0 on wards.
    And if you like it so much to the point that you want to buy me a beer.


    With an assist from Guest, Guest has now built TWRP 3.1.0-0 for the following Amlogic reference boards:

    q201: CLICK TO DOWNLOAD
    p212: CLICK TO DOWNLOAD
    p200/p200_2G: CLICK TO DOWNLOAD

    And for those brave souls who want to make changes or build for other Amlogic devices, the source is provided on GitHub here:

    Last edited by Guest; 04-30-2017, 20:24.
    if [ $up.post.type = $type.two.lazy.to_use_google ] || [ $up.post.type = $type.silly_question ];
    then mv $user.contact.up.post /.trash; set response($response.type = ignore);
    $user.up.post.ignore_in_future = true; fi;


    #2


    I am all over this! I will test it Friday while I am home.

    Way to go Abdul! People have been asking for weeks.

    Should this be in the main AML forum incase it works on other devices (which I bet it will)? I can move it if you want.

    Bob
    "Pzebacz im, bo nie wiedzą, co czynią"
    "Прости им, они не ведают, что творят"
    "Perdona loro perché non sanno quello che fanno"
    "Vergib ihnen, denn sie wissen nicht, was sie tun"
    "Vergeef hen want ze weten niet wat ze doen"
    "Pardonne-leur car ils ne savent pas ce qu'ils font"
    "Perdónalos porque no saben que lo que hacen"
    "Oprosti im, jer ne znaju što čine"
    "Forgive them as they know not what they do"





    Comment


      #3
      Yes, with minor adjustment's this should work on all aml s802 devices, just needs confirmation. Although Minix might be a headache, we shall see
      if [ $up.post.type = $type.two.lazy.to_use_google ] || [ $up.post.type = $type.silly_question ];
      then mv $user.contact.up.post /.trash; set response($response.type = ignore);
      $user.up.post.ignore_in_future = true; fi;

      Comment


        #4
        Originally posted by abdul_pt View Post
        Yes, with minor adjustment's this should work on all aml s802 devices, just needs confirmation. Although Minix might be a headache, we shall see
        If OK with you I will move this to the AML top level forum as a sticky OK?

        Bob
        "Pzebacz im, bo nie wiedzą, co czynią"
        "Прости им, они не ведают, что творят"
        "Perdona loro perché non sanno quello che fanno"
        "Vergib ihnen, denn sie wissen nicht, was sie tun"
        "Vergeef hen want ze weten niet wat ze doen"
        "Pardonne-leur car ils ne savent pas ce qu'ils font"
        "Perdónalos porque no saben que lo que hacen"
        "Oprosti im, jer ne znaju što čine"
        "Forgive them as they know not what they do"





        Comment


          #5
          Not a problem.
          if [ $up.post.type = $type.two.lazy.to_use_google ] || [ $up.post.type = $type.silly_question ];
          then mv $user.contact.up.post /.trash; set response($response.type = ignore);
          $user.up.post.ignore_in_future = true; fi;

          Comment


            #6
            Originally posted by abdul_pt View Post
            Yes, with minor adjustment's this should work on all aml s802 devices, just needs confirmation. Although Minix might be a headache, we shall see
            shall i test on square m8 and can i recover if it doesn't work well done too

            JusTME
            Bugs are Sons of Glitches!

            If you like my work and it's helped you, you can always shout me a beer or two Click - Here

            Links : Visit JustMe ROMs - EM8 Square Roms - EM8 OpenELEC Rom - ADB GUI

            JustMe

            Comment


              #7
              Originally posted by abdul_pt View Post
              For now this is only for the Beelink s82b and similar devices, but it can be ported to other aml s802 devices.

              I tested briefly this image, but it looked like everything was working OK. Waiting for your feedback.


              I left out some partitions for backup, 2 of them i couldn't get them to show in TWRP.

              Not working:
              - Stock remote, use a mouse. Next release it will be fixed.


              Install method:
              - Copy the zip to your external SD or USB storage and flash it from stock recovery.

              Enjoy

              TWRP Beelink s82b



              For who wants to go back
              Stock recovery flashable zip
              Wow,well done...

              But I cant install it,Or I dont know how to install it rightly..

              I download the twrp_s82b.zip,and put it into USB HDD,and run the stock recovery,then select 'apply update from EXT->Update from udisk->select the twrp_s82b.zip',but it failed ,showing:
              Code:
              set_perm:some changes failed
              E:Error in /tmp/sideload/package.zip
              (Status 7)
              Installation aborted
              Easy way to catch LOG -> Search 'Syslog' in Google Play,then install it and catch log

              Comment


                #8
                Hmmm...

                Then I reboot the device,it runs into the TWRP page..

                But I dont know how to get into the Android OS...

                It looks like more time I must spend on to familiar with it..
                Easy way to catch LOG -> Search 'Syslog' in Google Play,then install it and catch log

                Comment


                  #9
                  And if it works fine,Could I put it into stock FW,abdul?
                  Easy way to catch LOG -> Search 'Syslog' in Google Play,then install it and catch log

                  Comment


                    #10
                    Just installed your TWRP recovery and it is working on my S89H. First time for me using TWRP. Did a backup, 3 partitions, 1.6 G, took less than 8 minutes. Have not tried restore yet. The recovery screen only covers the top, left quarter of the screen.
                    Very good, thanks
                    BTW, I am using Oman's 108K4 ROM.
                    MK818B, T428, ATV 1220, CS918S, TV01, S89H, R89, ADT-1, MK808B Plus, MINIX X8-H Plus, Tronsmart Orion R68

                    Comment


                      #11
                      Originally posted by oman View Post
                      And if it works fine,Could I put it into stock FW,abdul?
                      Oh come on Oman... lets us ROM guys at least have something we can add to stock ROMs

                      Kidding.... It's abdul's work so he will decide. From me, just make sure he has all hardware he needs though

                      Abdul is the MAN for this stuff! I can't wait to test it Friday when I am home from my mundane real job

                      Bob
                      "Pzebacz im, bo nie wiedzą, co czynią"
                      "Прости им, они не ведают, что творят"
                      "Perdona loro perché non sanno quello che fanno"
                      "Vergib ihnen, denn sie wissen nicht, was sie tun"
                      "Vergeef hen want ze weten niet wat ze doen"
                      "Pardonne-leur car ils ne savent pas ce qu'ils font"
                      "Perdónalos porque no saben que lo que hacen"
                      "Oprosti im, jer ne znaju što čine"
                      "Forgive them as they know not what they do"





                      Comment


                        #12
                        wowwww amazing work

                        Comment


                          #13
                          Originally posted by JustMe View Post
                          shall i test on square m8 and can i recover if it doesn't work well done too

                          JusTME
                          Nothing wrong should happen, but i will make a new image for the square m8.

                          I can provide the files to restore from the SD/USB if needed, without losing all data.

                          Edit:
                          While looking for the stock recovery, it seems that the square m8 can run the same recovery without any changes. But i can't test this.
                          Last edited by abdul_pt; 07-31-2014, 07:21.
                          if [ $up.post.type = $type.two.lazy.to_use_google ] || [ $up.post.type = $type.silly_question ];
                          then mv $user.contact.up.post /.trash; set response($response.type = ignore);
                          $user.up.post.ignore_in_future = true; fi;

                          Comment


                            #14
                            Originally posted by oman View Post
                            Hmmm...

                            Then I reboot the device,it runs into the TWRP page..

                            But I dont know how to get into the Android OS...

                            It looks like more time I must spend on to familiar with it..

                            I tested on 108k4, and install was fine.

                            I put a "chmod 644 install-recovery.sh" in the update-script, or the stock recovery would be flashed back, if there isn't this file on the system the installation will fail.
                            if [ $up.post.type = $type.two.lazy.to_use_google ] || [ $up.post.type = $type.silly_question ];
                            then mv $user.contact.up.post /.trash; set response($response.type = ignore);
                            $user.up.post.ignore_in_future = true; fi;

                            Comment


                              #15
                              Originally posted by clarkss12 View Post
                              Just installed your TWRP recovery and it is working on my S89H. First time for me using TWRP. Did a backup, 3 partitions, 1.6 G, took less than 8 minutes. Have not tried restore yet. The recovery screen only covers the top, left quarter of the screen.
                              Very good, thanks
                              BTW, I am using Oman's 108K4 ROM.
                              I did a backup, wipe data, booted to android, confirmed that data was formated and did a restore with success.

                              Yes, the image is pull up to the right. This image is 1024x600, i thought it would be a better size for all user's and saved me the trouble of putting various resolution's images.

                              Maybe a should do a SD(1280x720) and an HD(1920x1080) version ?
                              if [ $up.post.type = $type.two.lazy.to_use_google ] || [ $up.post.type = $type.silly_question ];
                              then mv $user.contact.up.post /.trash; set response($response.type = ignore);
                              $user.up.post.ignore_in_future = true; fi;

                              Comment

                              Working...
                              X