[Recovery] P6S - Create or modify Recovery
I'm triying to create a new recover or modify the stock recovery for a P6S (yes, the "S" version) but I run into a problem. Whenever I unpack and repack the stock recovery It won't boot even if I don't modify anything. żIs there any locking mechanism in Huawei devices that will prevent modified recovery images from booting?
The first thing I'm trying to do is solve a BUG in the STOCK recovery. The bug is that the external storage is configured to /sdcard on /dev/block/mmcblk1p1 but the phone has dual SIM slot without any external SD card. It came with a micro-USB to female USB in which you can connect an external USB stick, therefore the external storage should be /usb on /dev/sda1. The problem with this BUG is that you cannot apply the stock recovery procedure placing the dload/UPDATE.APP in an external memory.
I have extracted the RECOVERY.img from the original UPDATE.APP, the image is correct because I can flash it with fastboot without any problem.
I have also been able to comiple CWM for the device without errors but the image just won't boot.