Open fangly opened 7 years ago
How do you boot recovery? This is kernel related. I think you changed rom, between two twrp test, or you boot them differently (one with purple led at boot, other with key combination when off).
To boot in recovery, I:
I did try to flash two different ROMS, as stated in my first post: 1) lineage-14.1-20170106-UNOFFICIAL-z3c.zip 2) then the same ROM, with a single line change (to flash, I disabled ZIP verification for this one) I think I must have rebooted the phone (to prepare the modded ROM) between the two attempts .
The way you boot is recovery in boot arrangement and cause a lot of trouble (volume rocker while light bring up) because it mix kernels. If you can, I highly recommend you to upgrade your bootloader and use the normal recovery boot. If not, you should be able to use this workaround:
I don't think this issue is TWRP related, please ask into @doriandiaconu xda thread instead.
Google searching this problem led me here. Same thing I was seeing except the error message was different. Found out the problem is in the updater-script in the META-INF folder. Searched for a way to list the partitions in this format:
format("ext4", "EMMC", "/dev/block/mmcblk0p5", "0", "/system");
as described in this link from XDA:
https://forum.xda-developers.com/android/development/guide-how-to-port-lollipop-based-roms-t3223938 because this format:
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/
was not working. It worked for porting TWRP 3.0.
Then I read /proc/mounts to get the device mappings because I couldn't do it from Terminal Emulator, Termux, or adb while the phone was booted. Used this command:
cat /proc/mounts > /external_sd/mounts.txt
to save it to my SD card.
Also used adb pull /external_sd/mounts.txt
to save it to my laptop for reference.
The updater-script worked, only error was that it couldn't unmount. Didn't take a screenshot of that one. ROM didn't work, probably because I don't have the boot partition mapping, still working on how to pull that one.
Hope this helps.
Hi guys,
I wanted to report difficulties flashing Lineage OS 14.1 (https://www.androidfilehost.com/?fid=529152257862693084) using TWRP 3.0.2 on my Sony Xperia Z3 compact.
First, I got a
This package is for device D5803; this device is .
. Somehow the device was not reported properly. I got around this issue by removing the line that performs this check in the ZIP file's META-INF/com/google/android/updater-scriptThen, I tried again with the modified ZIP file and got a
could not detect filesystem
error.These issues were resolved by downgrading to TWRP 3.0.1.
Best,
Florent