Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,742,912 Members 40,418 Now Online
XDA Developers Android and Mobile Development Forum

[ROM] Dual Rom V1.2 | 2.2CM/AOSP 2.1 Sense in one.... [11/19/2010]

Tip us?
 
Team ADX
Old
(Last edited by Team ADX; 10th April 2011 at 04:22 PM.)
#1  
Team ADX's Avatar
Member - OP
Thanks Meter 42
Posts: 48
Join Date: Oct 2010
Location: In a Yellow Submarine
Thumbs up [ROM] Dual Rom V1.2 | 2.2CM/AOSP 2.1 Sense in one.... [11/19/2010]

Dual Rom by TEAM ADX

Who is Team ADX....a few of us here on xda have been working on some projects together including this one. Workshed, Conap, and Gnarlyc.

What is Dual Rom....Dual Rom is the first rom on the eris that will install a 2.1 Sense based rom on your phone and at the same time it will install a 2.2 CM/AOSP mix rom onto your sd card. You will then be able to boot back and forth between the two rom by using pre-written scripts in gscipt app. No need to go into recovery.
EDIT: As of V1.2 We've changed it up a little. Both roms are half on phone and half on sd. We found this to be more stable with easier updates and a quicker install time. It also gave us the speed boost we saw with the sd rom on both roms.

What are the requirements....You will not need any special recovery's or need to make any changes to the phone. You will need to partition your sd card. Instructions for partitioning sd card are below.

Credit other then ADX team members:
TO PARTITION SD CARD:
NOTE THAT THIS WILL ERASE ALL CONTENTS OF YOUR SD CARD. PLEASE BACKUP YOUR SD CARD FILES.

Plug phone into pc and reboot phone into recovery. Open a command prompt or terminal and copy/paste the following commands:

adb shell

parted /dev/block/mmcblk0

rm 1
rm 2
rm 3
rm 4 (these are removing your partitions. if you only have 1 partition it will just give you an error after deleting the first one. Just ignore these errors)

mkpartfs primary fat32 0 3500 (can be adjusted to your needs. This partition will be used by the 2.1 rom and by recovery)

mkpartfs primary ext2 3501 3750 (this will be the data partition for the 2.2 rom. You can make it bigger or smaller depending on the number of apps you use. Make it no smaller then 200mb)

mkpartfs primary ext2 3751 4100 (this will be the data partition used by the 2.1 rom. You can make it bigger or smaller depending on the number of apps you use. Make it no smaller then 200mb)

mkpart extended 4101 7948 (this is needed because you can only make 4 primary partitions and we need 5 so we make an extended partition that will allow us to make 2 more partitoins inside of the extended partition)

mkpartfs logical ext2 4101 4150 (this is the cache partition for the sd rom)

mkpartfs logical fat32 4151 7948 (this will be used by the sd rom which is the 2.2 rom. You can make first partition larger and this one smaller or vice versa depending on which rom you may need more space for)

Your card should now be partitioned.

Once your sd card is partitioned correctly you can install Dual Rom. Download the zip file from the link below and put it on your sd card. Flash it like you would any other rom. The install takes about 3 times as long as a regular rom flash. The phone will reboot itself one time between installing the roms. This is normal behavior. It will automatically start the second part of the install after the phone reboots itself. Once Dual Rom is done installing reboot your phone as normal. It will boot into the 2.1 Sense Rom. Do the normal setups. Once 2.1 is set up then you will want to open gscripts, hit menu/add script. On the add script page chose load file. A list will pop up with some available scripts. For 2.1 rom you will only need to add the BootToSd script. Choose that and save it. Now in gscripts you can choose the BootToSd and it will automatically reboot your phone into the 2.2 rom. You will only have to load the BootToSd script once. In the future you will just open gscripts and choose boottosd to switch roms.

After running the boottosd script in gscripts your phone will boot into the 2.2 rom. It will take a little longer then normal for this rom on it's first boot to load since it's on the sd card. When it loads go through the setup like a normal rom. You may have a few messages pop up about things being unresponsive. Do NOT force close these. Choose the wait option. This rom will be laggy when doing the initial setup and very laggy while reinstalling all your apps. Be patient during this part. 2.2 runs pretty good on sd once it's all loaded up. Give it a while to get going. I actually hit a quadrant score of 615 with 2.2 on sd. Once 2.2 is done with setup and all apps are redownloaded you can open gscript. Again choose menu/add script. From there choose load file. You will want to add the boottophone script and the mountsd and unmountsd scripts. I think you probably know what these scripts do. BootToPhone will boot back to the 2.1 rom. Use the mountsd and unmountsd scripts to mount your sd card if you are using windows. If using linux the normal mount sd procedures should work fine.

If for some reason you can not boot into one rom or another there will also be zip files on your card that you can flash from recovery that will boot the rom that you want. We attempted to make this process as simple and user friendly as possible.

2.1 Sense rom
  • Based on Jcase's Sense 2.1 rom
  • Simple solid base stock sense.
  • Uses CFSv8 Kernel
  • Wired and Wireless tether added
2.2 CM/AOSP Rom
  • This is Workshed's Froshedyo rom, you can get the solo version of it HERE.
  • Built from cm source with some minor theme changes.
  • Also uses CFSv8 Kernel
  • Built using Conap's vendor tree
  • Also has wireless and wired tether.



Neither roms should really have any major bugs. Unfortunatley there is no way currently to Nand Backup the rom on the sd card. We will work on a solution to that. Hope you all enjoy!!!

NOTE: If using clockwork you need to flash package2.zip after flashing dualrom
Please wipe data and dalvik before flashing.

------------------------------------------------------------------------------------------------------------------------------------------
<<<CHANGE LOG>>>

DualRom v1.2
  • Moved both roms so that half of each rom is on phone and half is on sd card. The 2.2 rom system files are installed on the system partition of phone and uses the second partition of the sdcard as the data partition. The 2.1 rom now installs the system files on to the data partition of the phone and uses the 3rd partition of sdcard for data. This gives us many advantages including future no-wipe updates, quicker install, speed bonus for both roms, unlimited app space for either rom by making the data partitions of sdcard bigger so no apps2sd are needed, more stability from the roms.
  • Removed some bloat apps from 2.1 rom such as amazonmp3 and some stock apps.
  • updated the shedfroyo to v5 (ChangeLog Here)
  • updated kernel to Decafuct CFSv8 with loop support, speed increases, better memory management, new "smartass" governor. (upgraded for both roms)
  • Added some flashable zips that will be pushed to your sdcard during install that will allow you to wipe data or dalvik for either rom.(Please use the zips. Wipeing Data or Dalvik-cache the normal way in recovery will not remove the right files and will mess up and you will need to reinstall. Zips are named so you will know what they do.)
DualRom v1.1...
  • Added new superuser
  • Added Gscript lite to the 2.2 rom on sdcard
  • Removed Gscript from 2.1 rom, gscript lite is still there
  • Added correct bootanimation

Install as you would a normal rom. You can do the normal wipes in recovery then flash the rom zip from your sd card. Installation should not take near as long as it did for the last version. Your phone will still reboot once inbetween installing the 2 roms.

Here are zips to flash in recovery to wipe data or dalvik-cache for the sd rom. You can wipe the phone rom like you do a normal rom..

(These are already included in v1.2)

WipeDalvik-Cache
WipeData

New superuser if anyone still needs it, included in v1.1 -
SuperuserUpdate
The Following 3 Users Say Thank You to Team ADX For This Useful Post: [ Click to Expand ]
 
Team ADX
Old
#2  
Team ADX's Avatar
Member - OP
Thanks Meter 42
Posts: 48
Join Date: Oct 2010
Location: In a Yellow Submarine
Reserved 10 chars
 
tazzpatriot
Old
#3  
tazzpatriot's Avatar
Senior Member
Thanks Meter 702
Posts: 9,258
Join Date: Mar 2010
Location: from the MassHole state

 
DONATE TO ME
delted post
If u like my work and feel like donating to help with medication and mounting doctors bills ..never expected truely appreciated

 
Irieone
Old
#4  
Irieone's Avatar
Senior Member
Thanks Meter 120
Posts: 464
Join Date: Jul 2010
Location: The Sticks of Indiana
well done team STUD!

Sent from my ERIS using XDA App
Devices: HTC One (m8), Nexus 10, Nexus 7, Moto X, Droid DNA"
 
jdog94
Old
#5  
jdog94's Avatar
Senior Member
Thanks Meter 121
Posts: 1,693
Join Date: Mar 2010
wow sounds cool
 
jdog94
Old
#6  
jdog94's Avatar
Senior Member
Thanks Meter 121
Posts: 1,693
Join Date: Mar 2010
ok illl go ahead and ask if we partition and flash this then decide to go back to unpartitioned normal running one rom how do we do that
 
Conap
Old
#7  
Retired Recognized Developer
Thanks Meter 233
Posts: 1,350
Join Date: Apr 2010
Quote:
Originally Posted by jdog94 View Post
ok illl go ahead and ask if we partition and flash this then decide to go back to unpartitioned normal running one rom how do we do that
you can use the option in recovery to partition the sd card...just choose 0 for swap and 0 for ext2 and it will make one fat32 partition for you....
 
workshed
Old
#8  
workshed's Avatar
Retired Recognized Developer
Thanks Meter 726
Posts: 3,215
Join Date: Aug 2010
Location: turn around!

 
DONATE TO ME
Quote:
Originally Posted by jdog94 View Post
ok illl go ahead and ask if we partition and flash this then decide to go back to unpartitioned normal running one rom how do we do that
nevermind... conap got it.
HTC Droid Eris
- GSB -[CM7.2.0-RC1] ROM
- FroShedYo -[CM6.1] ROM
- Follow me on Twitter

If you would like to contribute to the effort, you can... but it's never expected.
Thank You, and Enjoy
!
 
jdog94
Old
#9  
jdog94's Avatar
Senior Member
Thanks Meter 121
Posts: 1,693
Join Date: Mar 2010
cool deal guess ill try it

looks like the only way to get newest FROshedYO............lol
 
workshed
Old
#10  
workshed's Avatar
Retired Recognized Developer
Thanks Meter 726
Posts: 3,215
Join Date: Aug 2010
Location: turn around!

 
DONATE TO ME
Quote:
Originally Posted by jdog94 View Post
cool deal guess ill try it

looks like the only way to get newest FROshedYO............lol
LOL, right now, yes, it's the only way till I open up a thread for that and the pink rom... sorry bro. ... as you can tell I've been busy with the Team.
HTC Droid Eris
- GSB -[CM7.2.0-RC1] ROM
- FroShedYo -[CM6.1] ROM
- Follow me on Twitter

If you would like to contribute to the effort, you can... but it's never expected.
Thank You, and Enjoy
!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes