Going to update it somewhere this week, stay tuned. but I dont know if it will fix the problems you are experiencing.
Sent from my GT-P5110 using XDA Premium HD app
Hi, I tried it several times (TWRP, CWM, stock recovery and again CWM/TWRP on it) but it didn't work.
Everything in the installation seems to go perfectly, but it always stayed being the stock recovery.
(I also tried other methods, none of them worked)
Edit: Bootloader is unlocked, USB debugging enabled, JB 4.1.2
I need the CWM/TWRP for my root.
xoxo
I was trying to build PhilZ Touch CWM mod for this device
However, I found no complete build-able device tree. I tried a few, with prebuilt kernel and kernel source, all fail with different errors
If anyone is interested, please link me to a device tree that can build recovery under cm-10.1, ideally with a prebuilt kernel for recovery
I can then provide either the recovery.img or the ramdisk so that you can mod it like you want once recovery bin is compiled
You need some patches for building a recovery in the cm10.1 source tree. On my github i have all the patches you need to build a x86 recovery for razri
Sent from my XT890 using xda app-developers app
I downloaded both smi and smi-plus device tree
Used kernel from github.com/oxavelar
But some errors there
Do I need the default.xml?
I am not used to use alternative xml templates in repos
Was a fault on my end. The patch was not working correctly. I have updated the device tree.
The alternative xml isnt needed (only for full rom building and sticking smi and smi-plus in the repo).
Just download CM10.1 and the smi repository (place it in: device/motorola/smi).
Apply the patches in the 'patch' folder
Start building the recovery
Hazou
p.s. if u encounter another error, pls post the error along with the post on the forum. It helps with identifying the cause of the problem
Thank you a lot (out of my daily :good
I will try again
If I apply the patches, will it mess building my other devices?
Yep, it will mess up building for other devices. There is a huge change u will get errors when building for arm devices after using the patches.
In the near future i will make those patches working for getting x86 and arm building in the same repo. But now it is all a little expeimental for x86, so i didnt want to use my time to let them work next to arm code.
I hope u dont mind. Just save the changes as always on a save place and delete the bionic, build, dalvik, busybox, system and the recovery directory's. and resynchronise your repo.
Hazou