- Jan 12, 2013
- 537
- 182
Dear community,
Since the last few days I've been working toghter with ingbrzy to get ClockworkMod recovery (CWM) working on Xiaomi RedRice (Hongmi).
We didn't succeed yet. That's why we ask for help.
Why a new CWM recovery?
This is a logical question. The awnser is simple.
We at miuiandroid.com are all about user support.
A recovery is in some cases the ultimate remedy to fix a device (from death or anything).
We don't believe that this recovery should be in Chinese.
Besides that we are all about open source.
Our code (if it's going to work someday) could be the start for other projects in the future.
So we worked on a CWM recovery from source. But we can't get it to work (yet).
What's wrong?
Currently booting to recovery wipes the modem and IMEI.
No sign of CWM because of bootloop / hang.
We tried many configurations and options but I don't have a clue at the moment.
Because I don't have a Hongmi and my experience in this is nihil I ask for help.
What can I do?
If you have any experience in this I ask you to help us and the community.
Take a look at my device tree. Which can be reached with the link below.
What we know
The recovery binary in /sbin/recovery wipes the modem and IMEI somehow.
I replaced this binary with an empty file and the modem and IMEI where still there after boot.
It could also be the init files, used from stock recovery.
I compared with lots of devices, also older mediatek devices with MT6589 socs, no succes.
The exsisting Chinese CWM is build with sources from Mediatek or Xiaomi.
The build fingerprint is nearly identical compared to the stock recovery image.
Only dates and buildnumbers are diffrent.
We used ramdisk from stock recovery image
Building CWM on top of stock image gives no succes either.
I wrote a script you can test out, it builds fresh compiled CWM on top of exsisting stock recovery image.
Issue
Known problems
- I don't know the exact maximum size for boot and recovery image (if there is a maximum). Currently set to 10mb each.
Sources
Device tree: http://github.com/redmaner/android_device_xiaomi_hongmi
CWM recovery: http://github.com/cyanogenmod/android_bootable_recovery
Thanks in advance
Since the last few days I've been working toghter with ingbrzy to get ClockworkMod recovery (CWM) working on Xiaomi RedRice (Hongmi).
We didn't succeed yet. That's why we ask for help.
Why a new CWM recovery?
This is a logical question. The awnser is simple.
We at miuiandroid.com are all about user support.
A recovery is in some cases the ultimate remedy to fix a device (from death or anything).
We don't believe that this recovery should be in Chinese.
Besides that we are all about open source.
Our code (if it's going to work someday) could be the start for other projects in the future.
So we worked on a CWM recovery from source. But we can't get it to work (yet).
What's wrong?
Currently booting to recovery wipes the modem and IMEI.
No sign of CWM because of bootloop / hang.
We tried many configurations and options but I don't have a clue at the moment.
Because I don't have a Hongmi and my experience in this is nihil I ask for help.
What can I do?
If you have any experience in this I ask you to help us and the community.
Take a look at my device tree. Which can be reached with the link below.
What we know
The recovery binary in /sbin/recovery wipes the modem and IMEI somehow.
I replaced this binary with an empty file and the modem and IMEI where still there after boot.
It could also be the init files, used from stock recovery.
I compared with lots of devices, also older mediatek devices with MT6589 socs, no succes.
The exsisting Chinese CWM is build with sources from Mediatek or Xiaomi.
The build fingerprint is nearly identical compared to the stock recovery image.
Only dates and buildnumbers are diffrent.
We used ramdisk from stock recovery image
Building CWM on top of stock image gives no succes either.
I wrote a script you can test out, it builds fresh compiled CWM on top of exsisting stock recovery image.
Issue
Code:
cd android
. device/xiaomi/hongmi/make_recovery.sh --help
Known problems
- I don't know the exact maximum size for boot and recovery image (if there is a maximum). Currently set to 10mb each.
Sources
Device tree: http://github.com/redmaner/android_device_xiaomi_hongmi
CWM recovery: http://github.com/cyanogenmod/android_bootable_recovery
Thanks in advance
Last edited: