1. Download our Official Android App: Forums for Android!

Root moving from custom mtd to custom hboot

Discussion in 'Android Devices' started by madhatter1689, Oct 1, 2011.

  1. madhatter1689

    madhatter1689 Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    68
    Posts:
    568
    Joined:
    Apr 21, 2010

    Apr 21, 2010
    568
    37
    68
    Church Minister
    Belfast
    Okay, I am running Redux 1.2 with a custom mtd. I want to change to a custom hboot [oxygen_r2].

    What is the procedure to change from custom mtd to custom hboot?
     

    Advertisement

  2. Rastaman-FB

    Rastaman-FB Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    6,113
    Joined:
    Sep 11, 2009

    Sep 11, 2009
    6,113
    1,010
    313
    UK
    backup rom
    reflash recovery from fastboot (or android flasher) as the cmtd patch patches the recovery file
    boot to fastboot
    fastboot flash hboot hbootimgnamehere.img
    fastboot reboot-bootloader
    fastboot erase system
    fastboot erase cache
    boot to recovery, restore backup
     
  3. madhatter1689

    madhatter1689 Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    68
    Posts:
    568
    Joined:
    Apr 21, 2010

    Apr 21, 2010
    568
    37
    68
    Church Minister
    Belfast
    Cheers Rastaman.

    Two things. I normally flash an image file via Android Flasher. How do I flash an .img in fastboot?

    How do I reboot bootloader from fastboot?

    Edit: After I flashed the hboot .img the phone rebooted and when I went to reboot, the bottom option was to Reboot Bootloader!!! Not sure about where erase system and erase cache are.
     
  4. SUroot

    SUroot Android Expert
    Rank:
    None
    Points:
    1,123
    Posts:
    23,925
    Joined:
    May 25, 2010

    May 25, 2010
    23,925
    5,306
    1,123
    UK Technical Lead; Desktop Support
    Riddlesden, West Yorkshire, UK
    You can do that via recovery.
     
  5. madhatter1689

    madhatter1689 Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    68
    Posts:
    568
    Joined:
    Apr 21, 2010

    Apr 21, 2010
    568
    37
    68
    Church Minister
    Belfast
    Thanks Dan, I actually remembered the piece on your ROM thread and followed that. Is erase system and erase cache the same as format system and format cache?

    Edit: looks like I have got there as the system partition says its size is 100mb and the cache partition is 5mb.

    Thank you both for your help.
     
  6. Rastaman-FB

    Rastaman-FB Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    6,113
    Joined:
    Sep 11, 2009

    Sep 11, 2009
    6,113
    1,010
    313
    UK
    when i said
    fastboot erase system and
    fastboot erase cache
    i meant type it using fastboot from your cmd prompt on your pc
    i dont assume what recovery you have
     
  7. SUroot

    SUroot Android Expert
    Rank:
    None
    Points:
    1,123
    Posts:
    23,925
    Joined:
    May 25, 2010

    May 25, 2010
    23,925
    5,306
    1,123
    UK Technical Lead; Desktop Support
    Riddlesden, West Yorkshire, UK
    Yep, which is fair enough.

    Although I advised him what recovery to have ;)
     
  8. Rastaman-FB

    Rastaman-FB Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    6,113
    Joined:
    Sep 11, 2009

    Sep 11, 2009
    6,113
    1,010
    313
    UK
    pooface
     
  9. SUroot

    SUroot Android Expert
    Rank:
    None
    Points:
    1,123
    Posts:
    23,925
    Joined:
    May 25, 2010

    May 25, 2010
    23,925
    5,306
    1,123
    UK Technical Lead; Desktop Support
    Riddlesden, West Yorkshire, UK
    poopoohead.

    whatcha doin? I'm doing boring stuff.
     
  10. Rastaman-FB

    Rastaman-FB Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    6,113
    Joined:
    Sep 11, 2009

    Sep 11, 2009
    6,113
    1,010
    313
    UK
    watching ufc facebook prelims while drinking wine. cant be too pissed tho, oncall all weekend
     
  11. SUroot

    SUroot Android Expert
    Rank:
    None
    Points:
    1,123
    Posts:
    23,925
    Joined:
    May 25, 2010

    May 25, 2010
    23,925
    5,306
    1,123
    UK Technical Lead; Desktop Support
    Riddlesden, West Yorkshire, UK
    I'm on a Pinot Grigio and removing "partition SD card" from clockworkmod menus
     
  12. Rastaman-FB

    Rastaman-FB Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    6,113
    Joined:
    Sep 11, 2009

    Sep 11, 2009
    6,113
    1,010
    313
    UK
    ?

    which cwm? 2.5.0.7 doesnt have it lol
     
  13. SUroot

    SUroot Android Expert
    Rank:
    None
    Points:
    1,123
    Posts:
    23,925
    Joined:
    May 25, 2010

    May 25, 2010
    23,925
    5,306
    1,123
    UK Technical Lead; Desktop Support
    Riddlesden, West Yorkshire, UK
    I cant get the source for that so its the 5.0.2.3 :(
     
  14. Rastaman-FB

    Rastaman-FB Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    6,113
    Joined:
    Sep 11, 2009

    Sep 11, 2009
    6,113
    1,010
    313
    UK
    pm me whats up your sleeve
    if you messing around with 5 then youll need to put back support for amend

    you might want to pm koush and ask him to release sources as its a requirement of gpl
     
  15. SUroot

    SUroot Android Expert
    Rank:
    None
    Points:
    1,123
    Posts:
    23,925
    Joined:
    May 25, 2010

    May 25, 2010
    23,925
    5,306
    1,123
    UK Technical Lead; Desktop Support
    Riddlesden, West Yorkshire, UK
  16. Rastaman-FB

    Rastaman-FB Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    6,113
    Joined:
    Sep 11, 2009

    Sep 11, 2009
    6,113
    1,010
    313
    UK
    hmm good luck
     
  17. SUroot

    SUroot Android Expert
    Rank:
    None
    Points:
    1,123
    Posts:
    23,925
    Joined:
    May 25, 2010

    May 25, 2010
    23,925
    5,306
    1,123
    UK Technical Lead; Desktop Support
    Riddlesden, West Yorkshire, UK
    I need it. Ive been talking to the dev and he is quite forthcoming but I dont understand some of the code.

    He is working on a port to cwm 5 though
     
  18. madhatter1689

    madhatter1689 Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    68
    Posts:
    568
    Joined:
    Apr 21, 2010

    Apr 21, 2010
    568
    37
    68
    Church Minister
    Belfast
    What are you two like lol :)

    I didn't think you used CWM, Rastaman, so thought these may have been commands for A-R recovery. I have just had a bad experience with CWM 2.5.0.9 which Dan got me through so I am a bit cautious about these things at the mo. As I said, your original post made me remember the piece on Dan's thread for his ROM and I got sorted in the end. I don't really use the cmd prompt and would need to read up on that before being happy to use it.

    Thanks again.

    Am I right in thinking I can change the hboot now at any time I want, as long as there is enough room in the system partition for the ROM? It is a case of just flash the hboot.
     
  19. Rastaman-FB

    Rastaman-FB Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    6,113
    Joined:
    Sep 11, 2009

    Sep 11, 2009
    6,113
    1,010
    313
    UK
    those commands are universal :p
    they are fastboot commands
    im using rmd recovery now which i can do all that inside recovery like CWM

    you must backup and restore rom every time you do a hboot change
     
  20. madhatter1689

    madhatter1689 Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    68
    Posts:
    568
    Joined:
    Apr 21, 2010

    Apr 21, 2010
    568
    37
    68
    Church Minister
    Belfast
    Ok thanks for that. Have you washed that mess off your head yet? :)
     
  21. Rastaman-FB

    Rastaman-FB Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    6,113
    Joined:
    Sep 11, 2009

    Sep 11, 2009
    6,113
    1,010
    313
    UK
    yeah left it on over night, just had shower now
     
  22. madhatter1689

    madhatter1689 Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    68
    Posts:
    568
    Joined:
    Apr 21, 2010

    Apr 21, 2010
    568
    37
    68
    Church Minister
    Belfast
Tags:

Share This Page

Loading...