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

  • sagert
    replied
    Originally posted by doktorspon View Post
    I don't understand this... (I'm coming from a PC background.)

    Google tells me:

    zImage: a compressed version of the [Linux ...] image that is self-extracting.

    I simply extracted recovery.img from the zip file (twrp.u211-3.2.3.0-signed.zip) and flashed it... then tried dd-ing it. My working img file is the one from the zip.
    Zimage is inside twrp.It is necessary to change it to your own that works in the firmware.I gave the link as port twrp on xda.This can certainly be difficult not to understand.

    Leave a comment:


  • doktorspon
    replied
    Originally posted by sagert View Post
    Maybe replace zimage with your working zimage in twrp and flash twrp new.
    I don't understand this... (I'm coming from a PC background.)

    Google tells me:

    zImage: a compressed version of the [Linux ...] image that is self-extracting.

    I simply extracted recovery.img from the zip file (twrp.u211-3.2.3.0-signed.zip) and flashed it... then tried dd-ing it. My working img file is the one from the zip.

    Leave a comment:


  • sagert
    replied
    If it fails then it can help porting.
    Yes, I know XDA is filled with such guides. But you can only port a TWRP if you implement parts of all the guides. This guide is a summation of all those guides. NOTE: I would be using AIK-Linux in this tutorial, since I don't recommend Windows...

    Leave a comment:


  • sagert
    replied
    Originally posted by doktorspon View Post
    Just to give you a smile... I originally typed "dd if=twrp path of=/dev/block/recovery", literally, but sadly it didn't work.


    I eventually got the idea I needed to replace "twrp path" with the path to the TWRP package... which I did: "dd if=/storage/emulated/0/recovery.img of=/dev/block/recovery"

    (I assume that I only wanted recovery.img, not the zip.)

    dd reporting that it transferred the data.

    Rebooting to recovery doesn't succeed: it just boots to system again. This could mean that I've been getting TWRP in the right place, but the A95X MAX doesn't see it.

    (Stock recovery is 24mb. This TWRP image is 18.81mb.)
    Maybe replace zimage with your working zimage in twrp and flash twrp new.

    Leave a comment:


  • doktorspon
    replied
    Originally posted by sagert View Post
    I am writing english with translation.
    1.install terminal emulator with Play market
    2. open the terminal emulator and write in it.
    1. su
    2. dd if=twrp path of=/dev/block/recovery
    Just to give you a smile... I originally typed "dd if=twrp path of=/dev/block/recovery", literally, but sadly it didn't work.

    Originally posted by sagert View Post
    3. reboot recovery
    And then you get into a new twrp.
    I eventually got the idea I needed to replace "twrp path" with the path to the TWRP package... which I did: "dd if=/storage/emulated/0/recovery.img of=/dev/block/recovery"

    (I assume that I only wanted recovery.img, not the zip.)

    dd reporting that it transferred the data.

    Rebooting to recovery doesn't succeed: it just boots to system again. This could mean that I've been getting TWRP in the right place, but the A95X MAX doesn't see it.

    (Stock recovery is 24mb. This TWRP image is 18.81mb.)

    Leave a comment:


  • sagert
    replied
    Originally posted by doktorspon View Post



    I'm out of my depth here, so I'd need help regarding what to do with the partition image and dd in a shell.

    But:


    I don't understand,

    1) assuming this u211 verson of TWRP can work on the A95X MAX,
    2) assuming the TWRP app successfully circumvented verification, and
    3) assuming the TWRP app successfully flashed the package (as it seems),

    why didn't it work? This leads to the question: will it work if I succeed in flashing the package in another manner?

    I haven't seen anyone who has posted success getting TWRP or any other system change on the A95X MAX.
    I am writing english with translation.
    1.install terminal emulator with Play market
    2. open the terminal emulator and write in it.
    1. su
    2. dd if=twrp path of=/dev/block/recovery
    3. reboot recovery
    And then you get into a new twrp.

    Leave a comment:


  • doktorspon
    replied
    Originally posted by Magendanz
    Yeah, it sounds like the A95X Max isn't using the Amlogic test keys, so the OTA update is failing verification. You're best bet is to use the partition image. If you have root access, you can do it in an elevated shell using the dd command. Alternatively, you can replace the recovery.PARTITION in an Amlogic burn package and flash with USB Burning Tool.
    Originally posted by sagert View Post
    You can go through the terminal with dd through twrp.
    I'm out of my depth here, so I'd need help regarding what to do with the partition image and dd in a shell.

    But:


    I don't understand,

    1) assuming this u211 verson of TWRP can work on the A95X MAX,
    2) assuming the TWRP app successfully circumvented verification, and
    3) assuming the TWRP app successfully flashed the package (as it seems),

    why didn't it work? This leads to the question: will it work if I succeed in flashing the package in another manner?

    I haven't seen anyone who has posted success getting TWRP or any other system change on the A95X MAX.

    Leave a comment:


  • Guest
    Guest commented on 's reply
    Yeah, it sounds like the A95X Max isn't using the Amlogic test keys, so the OTA update is failing verification. You're best bet is to use the partition image. If you have root access, you can do it in an elevated shell using the dd command. Alternatively, you can replace the recovery.PARTITION in an Amlogic burn package and flash with USB Burning Tool.

  • sagert
    replied
    Originally posted by doktorspon View Post
    Yo Magendanz!

    I can't communicate with my A95X MAX (a u211 box), so I tried to flash TWRP 3.2.3 first using stock recovery, but it didn't pass verification ("E: footer is wrong"). Next I tried with Flashify, but it failed, perhaps for the same reason. Last I tried with the Official TWRP app, which succeeded in flashing, but the A95X MAX wouldn't boot to recovery, going straight to system. I reflashed stock recovery and I could boot to recovery again.

    Any ideas? (Thanks.)
    You can go through the terminal with dd through twrp.

    Leave a comment:


  • doktorspon
    replied
    Yo Magendanz!

    I can't communicate with my A95X MAX (a u211 box), so I tried to flash TWRP 3.2.3 first using stock recovery, but it didn't pass verification ("E: footer is wrong"). Next I tried with Flashify, but it failed, perhaps for the same reason. Last I tried with the Official TWRP app, which succeeded in flashing, but the A95X MAX wouldn't boot to recovery, going straight to system. I reflashed stock recovery and I could boot to recovery again.

    Any ideas? (Thanks.)

    Leave a comment:


  • Zumbara98
    replied
    Hi, can anyone do TWRP for p201? MXQ Pro 4K p201.img found here works, but when installing ota updates it gives error 7: "this update from p201, this is p200". Are there any solutions to the problem? Where can I find TWRP for p201?

    Leave a comment:


  • Guest
    Guest commented on 's reply
    Sounds like your bootloader is intact, so flashing a burn package should be fine. Even if you do corrupt the bootloader, you can flash with USB Burning Tool using Mask ROM Mode by shorting pins on the eMMC. There's a FreakTab topic with more information on that.

  • m.morcielago
    replied
    Thank you for your help
    And one more question :
    My device is broken (I mean there isn't any recovery or operating system on it)
    But USB burning tool can recognize it
    Can i flash it with USB burning tool ?

    Leave a comment:


  • Guest
    Guest commented on 's reply
    I haven't built any for the S802H, but you should be able to use the existing device trees with a prebuilt kernel from a k200 reference board (https://forum.freaktab.com/forum/tv-...ference-boards).

    It's old, but you could also try this: https://dl.twrp.me/k200/

  • m.morcielago
    replied
    Hello dear Helper
    I want TWRP for mibox 2s (Dredd)
    With Amlogic S802H
    1GB Ram
    Android 4.4.2
    Does it exist until now?

    Leave a comment:

Working...
X