Clockwork Recovery for Xiaomi Mi-2 ?

Discussion in 'Xiaomi Mi 2 / Mi 2S' started by Shewky, Jan 8, 2013.

  1. Shewky

    ShewkyMembers

    Jan 8, 2013
    123
    7
    28
    Male
    Hi all!
    Is there a possibility install Clockwork Recovery for Xiaomi Mi-2 ?
     
  2. it is not possible...why would you want 2 anyways?
     
  3. Shewky

    ShewkyMembers

    Jan 8, 2013
    123
    7
    28
    Male
    I want for install my custom rom :/
    I did signed my update.zip. But can not install on miui's recovery...
     
  4. how did you get a kernel that would run on the Mi2??
     
  5. Shewky

    ShewkyMembers

    Jan 8, 2013
    123
    7
    28
    Male
    Same kernel... but I did added 2 more apps in rom...
     
  6. Shewky

    ShewkyMembers

    Jan 8, 2013
    123
    7
    28
    Male
    I want install on recovery. But cannot installing :/
    So I make sign, still cannot installing :/
     
  7. So can't you just flash the ROM then install your 2 apps. Clockwork will probably never come to this device. I suppose you could send me your zip and I will look at it. It should technically flash. Have you tried flashing it using the updater app...

    Sent from my MI 2 using Tapatalk 2
     
  8. Shewky

    ShewkyMembers

    Jan 8, 2013
    123
    7
    28
    Male
    I did sent you a message.
    Thanks a lot
     
  9. Acid

    AcidScripting Ninja
    Staff Member

    Aug 20, 2011
    2,726
    744
    245
    Male
    If you signed .zip for M2 and it still shows signature verification error then... you still don't have properly signed zip.

    Use this code:
    Code:
        java -Xmx2048m -jar signapk.jar -w testkey.x509.pem testkey.pk8 zip_to_sign.zip signed_zip.zip 
    Make sure you have: -w switch!

    Teskeys you can find in MiCode git, but others might work aswell.
     
    Shewky likes this.
  10. kekkojoker90

    Jan 9, 2013
    507
    99
    65
    Male
    Wrong. Wait a little bit :D
     
  11. interesting. :D Thank you for this. Did not think this would happen as we have no kernel sources or any sources at all for the Mi2.
     
  12. Acid

    AcidScripting Ninja
    Staff Member

    Aug 20, 2011
    2,726
    744
    245
    Male
    Lenny_kano got also M2 from Xiaomi. He's working on CMW recovery port :)
     
    ingbrzy and grondinm like this.
  13. kekkojoker90

    Jan 9, 2013
    507
    99
    65
    Male
    Dev in my country wait the shipping (already bought) for the xiaomi and when has received we have immediately cwm and 2 or 3 rom (ported from other smartphone with jelly bean). Wait and pray.
     
    grondinm likes this.
  14. 2 or 3 roms. now this is getting even more interesting. Glad to see that even with no sources people are still developing on this device. I had pretty much accepted i would be "stuck"(not that it's a bad thing cause i love miui) with miui. Still hopping to get xiaomi to open source at some point.
     
  15. Shewky

    ShewkyMembers

    Jan 8, 2013
    123
    7
    28
    Male
    Thanks a lot :) this code worked for me and updated successfuly. But I didn't see the effect of update.zip that should be. (apk files not installed)
     
  16. Acid

    AcidScripting Ninja
    Staff Member

    Aug 20, 2011
    2,726
    744
    245
    Male
    So you installed update.zip for 2.12.29 with your app integrated and...? Version is correct but you doesnt see those apps?
    Can't you install apps in /data ?
     
  17. Shewky

    ShewkyMembers

    Jan 8, 2013
    123
    7
    28
    Male
    qc.apk and hidmen.apk for see "HiddenMenu" on phone. Actually, I see this apks for Android 4.0.4 :/
    Can't installing
     
  18. Acid

    AcidScripting Ninja
    Staff Member

    Aug 20, 2011
    2,726
    744
    245
    Male
    I don't understand why, your putting those apps into /system/app instead of install it manually like normal app.
    But if you wan't this way then those apps should also be signed by the code I provided.
     
  19. Shewky

    ShewkyMembers

    Jan 8, 2013
    123
    7
    28
    Male
  20. tweetypeety

    Apr 7, 2011
    281
    40
    50
    I don't get it. I downloaded the Miuiandroid 3.1.19 Version, the Language Pack, the Google Apps and copied all together and created a ZIP. Like 10000 times before on other devices. BUT in MIUI we have to sign the Zip and I tried it with 3 different tools and even with the code a couple of post above.

    BUT nothing, it tells me everytime verficiation error. ANY IDEA ???
     
  21. tweetypeety

    Apr 7, 2011
    281
    40
    50
    I don't get it. I downloaded the Miuiandroid 3.1.19 Version, the Language Pack, the Google Apps and copied all together and created a ZIP. Like 10000 times before on other devices. BUT in MIUI we have to sign the Zip and I tried it with 3 different tools and even with the code a couple of post above.

    BUT nothing, it tells me everytime verficiation error. ANY IDEA ???
     
  22. Shewky

    ShewkyMembers

    Jan 8, 2013
    123
    7
    28
    Male
    Sign on Ubuntu with sign_all.sh file.

    ubuntu.png
     

    Attached Files:

  23. tweetypeety

    Apr 7, 2011
    281
    40
    50
    I will try with an LIVE CD, because now I tried with 5 different methods, or do I have to I have to pay attention with anything special when I am doing a zip,,, ???
     
  24. tweetypeety

    Apr 7, 2011
    281
    40
    50
    iam not dump and done a lot of Roms, had never to sign anything, but this can't be so difficult. Even installed Ubuntu and done what you have said, the script tells me YEAH its done, but nothing happens, no new File is created
     

    Attached Files:

  25. Shewky

    ShewkyMembers

    Jan 8, 2013
    123
    7
    28
    Male
    Please make sure sign folder have root permissions. Like this;

    root.png
     

Share Our Site