Discussion About U22 TWRP Posted By Marty

First, let me thank Marty for his post here pointing us at a working TWRP here. For those of us interesting in such things, I think it is worth having a thread on this topic specifically. So here goes...
 
As far as I can tell, this TWRP is working.

I have tried backing up and restoring all but the ODM partition (which shows as empty anyhow) and that seemed to have worked. At least it did not ruin things for me. So this is great to know and have available if you are doing things that might result in a shot foot - like I am.

I tried to permanently flash the TWRP into the recovery partition since I would prefer things that way in order that the command "reboot recovery" would land me in TWRP rather than stock recovery. I have tried many techniques to do this and none seem to get that job done. I have started a thread specifically on this here. Any suggestions are welcomed.

I have noticed a couple strange things when using this TWRP and thought I should note them here:

* When I choose reboot->power off in this recovery, the U22 does not appear to totally power off the way it would when choosing power off from the normal system's power menu. In that case, the LED turns completely off. But from within TWRP, the screen goes black but the LED stays lit - turning from blue to green. I am not sure what this LED color means - hibernation? But the system does not seem in the state I would have expected with LED off.

* Perhaps related to the the above, I note that pushing/releasing the power button on the U22 while in TWRP seems to result in the lock screen being displayed. I don't know if this is intended or not. But seems a bit strange to me.

* Most troubling for me personally is that I often use a KVM switch to toggle between the U22 and my Windows/Linux desktop. If I do this while the U22 is in TWRP, the screen on the U22 turns black and nothing I do seems to bring it back. I have tried pulling and re-plugging the HDMI and pressing the power button. But no change. I have not considered anything else to do/try. Suggestions (other than "just don't do that")?
 
I have tried to install the pre-built, flash-able zips found here without success. They are for a version of Xposed that should work on Android 9 and without Magisk - which I have not figured out how to install.

I first checked and the "getenforce" command returns permissive so I tried only the ones marked permissive. I know that the Android on the U22 is 32 bit but am not sure about this TWRP or the kernel so I checked using "uname -a" and it says ARMv7 so not 64 bits as I kind of expected. But I tried both zip files with the essentially the same results (from the log file):

I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I:eek:peration_start: 'Flashing'
Installing zip file '/external_sd/zip_system_edxposed_v0462_arm64_permissive.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
I:Update binary zip
Verifying package compatibility...
Package doesn't contain compatibility.zip entry
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment not used in updater.
E:Can't execute '/tmp/updater': Exec format error
Updater process ended with ERROR: 255
I:Install took 1 second(s).
Error installing zip file '/external_sd/zip_system_edxposed_v0462_arm64_permissive.zip'

I don't know where /tmp/updater comes from but I don't see it it the .zip files so I am guessing this is part of TWRP.

So has anyone managed to install .zip files using this TWRP? Does anyone have any idea what this problem might be or how to solve it?

Thanks
 
The safe way to check is to try booting it from a SD card rather than installing it over the stock recovery.
If it doesn't work, at least you didn't mess up the default recovery.
I only ever used TWRP to install SuperSU.zip myself, and since I never bothered rooting the U22, I've never tried TWRP on it.
 
Back
Top