
Announcement
Collapse
No announcement yet.
Announcement
Collapse
No announcement yet.
TWRP for Amlogic devices.
Collapse
This is a sticky topic.
X
X
-
I might be able to shed some light on all the questions relted to wether or not a certain TWRP version will on another device.
I tried a bunch until I decided to port my own matched to the X96.
The reason is quite simple: Even if it says S905x on the box and all the internal hardware loos identical, the devil is in the detail.
Our devil is called kernel and bootloader.
In the kernel the called fstab organises how the different partions are handled and labeled - if that is not a match to your system it won't work.
To have a perfect match you have to edit or replace the corresponding files inside the kernel ramdisk.
There are several different versions of TWRP 3.1 available to the S905X boxes and it might be worth checking their threads for more details on them.
For the normal flashing and backups TWRP 3.0 or even 2.8 do just fine.
The 3.1 includes a few more partitons, like logo and bootloader instead of combining them into "boot" but that's about it.
For really complete backup you still need to manually backup your internal storage or make sure it is not overwritten by the new rom - some do require a clean flash though...
From my little experience on the X96 you can only try to see if the recovery boots and is responsible.
If so check if you can access the system and data areas with the build in filemanager and also if you can copy files/folders from there to your external SD card.
In case that works all fine you have a chance the rest works too.
Sad thing is that you need to try a backup and restore to be sure, or try to flash a custom/genuine rom trhough TWRP.
There are tutorials online that show how to port a custom recovery from one system to another with the same hardware base but it requires a good kitchen and quite a bit of reading to understand it all.
Comment
-
Guest
I've got a new TWRP build for Rockchip RK3328 here: TWRP3_RK3328-3.0.2-0.img
This just a mod of AbduL's latest RK3xx Generic, with fstab updates for these new RK3328 boxes. It's been tested on the Z28, but should also work on units like the PenDoo Mini and A5X Plus Mini.
Note: One known issue is that the Rockchip bootloader relies on recovery to wipe and format the data and cache partitions (which is a stupid design that creates a single point of failure for a corrupt recovery partition). So, if you do a factory wipe or clean flash via RKBatchTool, it will boot to recovery to do this. Sadly, this build of TWRP isn't doing whatever the stock recovery is doing to indicate that the factory wipe is complete, and so the bootloader keeps sending you back to recovery whenever you try to reboot back to system.
If anyone has suggestions on how to avoid this TWRP boot loop, I'd love to hear it.Last edited by Guest; 16 May 2017, 06:28.
Comment
-
Originally posted by abdul_pt View Post
I have a Yoka tv KB2 Pro that was hit by a lightning strike . It did not fry the board because it still lights up, (I'm thinking) but nothing shows up on the TV. Is there a TWRP for this box and can someone
send a link that gives directions on how to make a backup of a second YokaYV KB2 Pro box to flash on my lightning struck YokaYV KB2 Pro.
Any help would be appreciated
Comment
-
@Magendanz:
Does the rockchip kernel/bootloader use FOTA?
If so then there is your problem and the best option would be to port all from TWRP to CWM - if you can find any CWM for the Amlogic SOC...
Only workaround I know of is here:
Solution for bootlooping to TWRP after OTA update I've got 2 simple commands to ease everyone's troubled minds. The overwhelming sense of accomplishment you'll get knowing you can use your device again. Take a step back and appreciate this moment. All joking aside, here you go. You now have...
Had some newer roms for I think the A95 that use fota as well and could not get them to boot properly after flashing.
But I only found the above after all this and never bothered to try as I am still busy with my X96 firmware.
Everywhere I look for similar TWRP problem it comes down to either:
a) Flash the stock firmware by other means to get all working again,
b) Finnish the flash with CWM instead of TWRP - for which I would say it is easier to start with CWM instead.
Another thing I noticed while trying to port the 3.1 TWRP is that inside the ETC folder several files needed adjustments.
And even with all the correct entries for the fstabs and RC files it fails to work as expected on the X96, ports that work on most other devices often don't even boot
So far I have not tried to flash tWRP onto the system and only use it from SD, if need be with a recovery script and toothpick LOL
@boozie1956:
Lightning fries the electronics, even if a light still comes on I highly doubt a custom recovery will help you.
I had a lot of electronics in my hands that came here after power surges or lightning and unless they had really good protective circuits inside they were all toast.
Even with no visible damage component tests usually show failures in most vital parts.
IMHO the best option is to spend another 35 bucks for a new box.
Comment
-
Guest
Here's a TWRP 3.1.1-0 update for the following reference boards:- q201 (S912): twrp.q201-3.1.1-0.img
- p212 (S905X): twrp.p212-3.1.1-0.img
- p200 (S905): twrp.p200-3.1.1-0.img
- I don't have a change log for 3.1.1-0 yet, but they bumped the version number when I synced the project. It will be posted here when available.
- This includes updates to the partition sizes for each to fix backup recovery. Amlogic SDK 6 boards (q201 & p212) assume 2GB system partitions. Amlogic SDK 5.1 (p200) boards assume 1GB system partition. (And yes, they should be able to determine partition size on the fly, but TWRP has these sizes predefined in the BoardConfig.mk for some stupid reason.)
- I removed the flag (BOARD_HAS_NO_REAL_SDCARD) disabling the Partition SD Card feature, so that functionality is restored.
- Updates to the GitHub project were just checked in.
Last edited by Guest; 16 May 2017, 07:46.
Comment
-
I will do some tests today if I find enough time but I doubt they will be succesful for the X96 I have.
"Reference board" includes all similar to identical hardware but it won't cover kernel and partition modifications.
I noticed that several S905X firmware are quite nice in terms of making things easy and being conform with others.
But that can not be said for the X96
With the OTA firmware the kernel is locking the bootanimation and several other system areas.
On top of that the mount points differ slightly for some (hidden) partitions.
With the last TWRP for reference boards I was able to mount several partitions but unable to access them, make a backup or flash a firmware.
Let's cross fingers the new TWRP will do better on my box
Will report back later.
Comment
-
Guest
Originally posted by Downunder 35m View Post"Reference board" includes all similar to identical hardware but it won't cover kernel and partition modifications.
Comment
-
Guest
Originally posted by eseze View PostI have purchased a player with the Amlogic reference board p230 (S905D) ... is there a chance to get TWRP for this device?
Comment
What's Going On
Collapse
There are currently 2599 users online. 0 members and 2599 guests.
Most users ever online was 63,956 at 18:56 on 20 March 2025.
Comment