Jump to content


Photo

[RECOVERY][WIP][04/30] Venturing on MultiROM Project for XT926

TWRP multirom XT926 Vanquish

  • Please log in to reply
25 replies to this topic

#1 pcarenza

pcarenza

    Team Horizon developer

  • Developer
  • 342 posts
  • Twitter:pcarenza
  • Google+:pcarenza@gmail.com
  • LocationTampa Bay
  • Current Device(s):Droid Razr HD, Nexus 7

Posted 11 April 2013 - 10:55 AM

OK, I'm not sure how successful this will be but I'm going to go for it, considering the sky appears to be the limit now that the Droid Razr HD (and M and Atrix AD) bootloader is unlocked.
I don't know about anyone else, but I sure appreciated Hashcode's had work in giving us Safestrap to allow us to flip back and forth from ROM to ROM seamlessly! I'd like to share a little bit of that with everyone by trying to port over MultiROM by esteemed xda developer Tasssadar.
MultiROM was originally made for some LG Phones and then ported to the Nexus 7. It comes in 2 parts: Recovery and a flashable zip that inserts code into the boot image and presents a menu layer during boot from which you can select a rom from which to boot. If a kernel has KEXEC support, it will also multiboot from Linux-based ROMS! Exciting, or what?
So far I only have the recovery ported (the easy part).. I'll post it in a bit, if anyone is willing to test... it's not much different from Hashcode's port except that it contains an extra menu item under 'Advanced'...the multirom functionality isn't all there yet, I'm working the kinks out now (differences between the grouper and vanquish mountpoints). oh yeah, and it automatically mounts System to port over those safestrap Roms.... I found out the hard way that system needs to be *unmounted* when performing backups/restores, contrary to buzz going around... I've reset that parameter.


The flashable zip is another story. I've successfully flashed it but am experiencing bootloops... it's got a little ways to go, I think. If anyone would like to help, please feel free to respond back. I'm kind of new at mobile development and would like the advice of people well-versed in the snapdragon innards. Thanks!

Peter

Please Login or Register to see this Hidden Content

 

Please Login or Register to see this Hidden Content

Please Login or Register to see this Hidden Content



Instructions:
You should be in fastboot mode (Power and both volume buttons when phone is off, down volume until you are on fastboot, volume up to select) with USB connected and adb/fastboot installed on your computer
issue this command from your computer: fastboot flash recovery path_to_the_img_file/recovery.img
Reboot.... go into recovery mode to see your success!
Take a look at the Recovery menu under 'Advanced/Multirom' - even though it's not really functional, you can get a peek at what's to come....


Versions:

0.1 - introduced recovery image
0.2 (4/12/2013) - fixed mount paths so you can create roms (you just can't boot into them right now!); bootloops still occur with flashable zip, so still withholding it.

0.3 (5/1/2013) fixed quirks in graphics size/keyboard/text. Fixed label for External storage (SD Card)


  • jroc, mhous33, lownslow200sx and 2 others like this

#2 mattwheat

mattwheat

    Member

  • Members
  • PipPip
  • 86 posts

Posted 11 April 2013 - 06:42 PM

I'm game. Just give me detailed instructions on what to do with this zip

Sent from my DROID RAZR HD using Xparent Skyblue Tapatalk 2



#3 mattwheat

mattwheat

    Member

  • Members
  • PipPip
  • 86 posts

Posted 11 April 2013 - 06:42 PM

I'm running 4.1.2 rotted, unlocked , with TWRP

Sent from my DROID RAZR HD using Xparent Skyblue Tapatalk 2



#4 Narffran

Narffran

    Member

  • Members
  • PipPip
  • 147 posts
  • Twitter:Fran_Granfield
  • LocationNorth of Boston MA

Posted 12 April 2013 - 04:40 AM

I used this a for a bit on my N7. The mad flashers will love you if you get it going.

#5 pcarenza

pcarenza

    Team Horizon developer

  • Developer
  • 342 posts
  • Twitter:pcarenza
  • Google+:pcarenza@gmail.com
  • LocationTampa Bay
  • Current Device(s):Droid Razr HD, Nexus 7

Posted 12 April 2013 - 04:47 AM

Sorry, updating my original post with instructions.

#6 mattwheat

mattwheat

    Member

  • Members
  • PipPip
  • 86 posts

Posted 12 April 2013 - 09:26 AM

Got it cool as soon as I get home from work tonight I will play around with this and let know what happens anything goes wrong and I boot loop or get stuck I can just rsd or fastboot back to a 4.1.2 XML right ?

Sent from my DROID RAZR HD using Xparent Skyblue Tapatalk 2



#7 pcarenza

pcarenza

    Team Horizon developer

  • Developer
  • 342 posts
  • Twitter:pcarenza
  • Google+:pcarenza@gmail.com
  • LocationTampa Bay
  • Current Device(s):Droid Razr HD, Nexus 7

Posted 12 April 2013 - 10:11 AM

1) DO it only if unlocked (obviously). If it fails, just fastboot flash TWRP from hashcode's goo.im.
2) This won't cause a bootloop.. the flashable zip does. This would only bork recovery.
i used
Feel free to mess around with making sample ROM slots.. I used the cm10.1 for vanquish as a start. They just won't do anything quite yet :)

#8 mattwheat

mattwheat

    Member

  • Members
  • PipPip
  • 86 posts

Posted 12 April 2013 - 12:39 PM

Right on. Yeah I'm unlocked, rooted, 4.1.2, with TWRP installed.

Sent from my DROID RAZR HD using Xparent Skyblue Tapatalk 2



#9 pcarenza

pcarenza

    Team Horizon developer

  • Developer
  • 342 posts
  • Twitter:pcarenza
  • Google+:pcarenza@gmail.com
  • LocationTampa Bay
  • Current Device(s):Droid Razr HD, Nexus 7

Posted 13 April 2013 - 10:26 AM

I just got some direction from Tasssadar (the original developer) on differences from the Nexus 7 version. Since I have both devices, this information is very useful. Again, if anyone is well-versed on kernel development (particularly kexec), motorola filesystems, and memory allocation, i could greatly benefit from your assistance in this project. Thanks!

#10 mattwheat

mattwheat

    Member

  • Members
  • PipPip
  • 86 posts

Posted 15 April 2013 - 11:28 PM

OK sorry got a little tied up for a few days with my sons baseball games. So I'm using fast boot to install this recovery as I did twrp correct ? Will I still have my twrp backups afterward to restore ?

Sent from my DROID RAZR HD using Xparent Skyblue Tapatalk 2

#11 pcarenza

pcarenza

    Team Horizon developer

  • Developer
  • 342 posts
  • Twitter:pcarenza
  • Google+:pcarenza@gmail.com
  • LocationTampa Bay
  • Current Device(s):Droid Razr HD, Nexus 7

Posted 17 April 2013 - 09:01 AM

You will have your twrp backups... recovery installs don't erase what's on your sd card(s).

 

Update on the multirom part.. progress is kind of slow, I'm having to troubleshoot the bootloops piece by piece, making sure there's no leftover device-specific configs and memory conflicts.


  • Narffran likes this

#12 themrgoats

themrgoats

    Member

  • Dedicated Supporter
  • PipPip
  • 137 posts

Posted 17 April 2013 - 10:43 AM

Hey thanks for your hard work man slow going or not

#13 mattwheat

mattwheat

    Member

  • Members
  • PipPip
  • 86 posts

Posted 17 April 2013 - 01:39 PM

Right on. I'm not busy after work , got it downloaded already so I'll try it out when I get home.

Sent from my DROID RAZR HD using Xparent Skyblue Tapatalk 2

#14 pcarenza

pcarenza

    Team Horizon developer

  • Developer
  • 342 posts
  • Twitter:pcarenza
  • Google+:pcarenza@gmail.com
  • LocationTampa Bay
  • Current Device(s):Droid Razr HD, Nexus 7

Posted 29 April 2013 - 10:03 AM

I have not abandoned this project! Basically I'm on hold til the kernel portion of the msm8960 cm rom is completed, because the boot injection requires a kexec patch. 

This is likely the reason for the bootloops - going over the code, all of the filesystem information is correct... it's just a waiting game at this point. Like I said in the OP, I won't be releasing a flashable zip for this until the bootloops are resolved. I will, however, be putting up a git sometime in the near future.

Thanks!


  • Narffran likes this

#15 themrgoats

themrgoats

    Member

  • Dedicated Supporter
  • PipPip
  • 137 posts

Posted 29 April 2013 - 10:14 AM

Good to hear man thanks

#16 pcarenza

pcarenza

    Team Horizon developer

  • Developer
  • 342 posts
  • Twitter:pcarenza
  • Google+:pcarenza@gmail.com
  • LocationTampa Bay
  • Current Device(s):Droid Razr HD, Nexus 7

Posted 30 April 2013 - 02:11 PM

Source in github posted. If anyone would like to contribute, feel free!



#17 richardbibbsr

richardbibbsr

    n00b

  • Members
  • Pip
  • 10 posts
  • LocationCasper Wyoming
  • Current Device(s):Motorola Maxx HD

Posted 30 April 2013 - 03:00 PM

I cant wait till this is working! I'll be making donations for sure.. Great work

Sent using TapTalk on shlong's RAZR Maxx HD

#18 pcarenza

pcarenza

    Team Horizon developer

  • Developer
  • 342 posts
  • Twitter:pcarenza
  • Google+:pcarenza@gmail.com
  • LocationTampa Bay
  • Current Device(s):Droid Razr HD, Nexus 7

Posted 03 May 2013 - 06:53 AM

Please let me know if there's any bugs in recovery.... warning, not for the faint of heart :)



#19 mattwheat

mattwheat

    Member

  • Members
  • PipPip
  • 86 posts

Posted 04 May 2013 - 01:45 PM

SO IS THIS UP AND RUNNING NOW



#20 themrgoats

themrgoats

    Member

  • Dedicated Supporter
  • PipPip
  • 137 posts

Posted 04 May 2013 - 02:03 PM

SO IS THIS UP AND RUNNING NOW

+1


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users