[phpBB Debug] PHP Warning: in file [ROOT]/ext/spaceace/ajaxchat/controller/chat.php on line 220: Trying to access array offset on value of type bool
atvXperience : The Forum • TWRP-3.2.3.1 Recovery for X96S_S905y2 (hack)
Page 1 of 1

TWRP-3.2.3.1 Recovery for X96S_S905y2 (hack)

Posted: Thu Aug 29, 2019 1:39 pm
by ricklar
Why labeled "hack" ? Because not complied from source code and didn't even bother patching the kernel inside recovery image to match the u221(faraday) S905y2 hardware. All I did was unpack original TWRP recovery.img made for an S905x2 device with Oreo 8.1 and edited the prop so it would match the current X96S firmware builds with 9 Pie and correct labeling of faraday in the props.

Tested and working to flash zips and make full TWRP backup. Also tested to restore System and Vendor partitions from Android 9 TWRP_backup.

This TWRP-3.2.3.1 was originally Made by Magendanz dated 20190102 and shared here:
https://forum.freaktab.com/forum/tv-...943#post758943
- post #1518.1
Shared for download of that Android 8.1 version for u211 boards here: https://1drv.ms/u/s!AoqocX31ecnXgbIdSaKxLK3e-SPboA


[HowTo] Install TWRP:
1.) Download file twrp.7z from MEGA cloud storage:

https://mega.nz/#!eWImEYyR!LRoOUcPh8RZ_ ... 2DLDgnl2Wg

2.) Extract the image file twrp.img and save to the internal storage of your device : # /sdcard
3.) Download the Amlogic Flasher app by Ricky Divjakovski , can on FreakTab or at XDA-Developers.com here:

https://forum.xda-developers.com/androi ... r-t3803178

4.) Install the app in your device.
5.) Amlogic Flasher is so easy to use, you have 3 options, start at top and go down selection first, second, third...
6.) Now you will reboot into TWRP

- X96S device tested has the Pie firmware 20190716.

***Note: originally just removed the recovery.img from Magendanz zip file and flashed the unmodified image with TWRP.apk and rebooted into TWRP to see if the original file would load and it did, so this modded TWRP should also work for those X96S devices that are still on Oreo or have the incorrect prop naming their device p281 instead of faraday.

[BUGS] Observed:
1.) On multiple times of entering TWRP, if you open Terminal immediately the CMDline says there is a symlink error connecting to '/system/etc/ld.config.txt' which technically doesn't exist, there is a file named ld.config.28.txt which I duplicated and renamed without the 28 and installed into '/system/etc/' with chmod 644. Error doesn't happen all the time, seems like every other time I booted to recovery.
2.) TWRP is not permanently installed to System. Have to flash again the TWRP image everytime you need to use it.

------------------------------------------------------------------------------------

If you want or plan to flash back the stock recovery. Install the Official TWRP app and make a Backup of the stock recovery.img and save to USB or Micro SDcard before ever installing this TWRP.img

------------------------------------------------------------------------------------