[Motorola Atrix 2] deveshmanish:
BUTTERED AOKP

What is PUB? Project Unicorn Butter is a project from stephen.k.spear. It has all the features of AOKP plus Tons of optimizations for speed and smoothness.

Current PUB Optimizations:

Google GCC 4.7 Toolchain

O3

Strict-Aliasing (Linaro)

C++11 Mode

Optimized String Handling Routines (Linaro/Sony)

Misc other Linaro and Code Aurora Optimizations

Visit the AOKP site for features and screen shots.

The original thread for reference:

Stephen.k.spear Orig PUB Builds Thread

​

Disclaimer:

While we make every effort to test these builds as much as possible, we are not responsible for anything that may happen to your device, family, pets, or perception of reality. We ask that you do your part to know your device and know how to recover from problems before you flash!

​

More Screenshots:

AOKP Website

Features:

All AOKP features and along with that:

Google GCC 4.7 Toolchain

O3

Strict-Aliasing (Linaro)

C++11 Mode

Optimized String Handling Routines (Linaro/Sony)

Misc other Linaro and Code Aurora Optimizations

Links:

Project Unicorn Butter

GAPPS Collection

Installation Instructions:

Note:This ROM uses HBX kernel(0.6).Those of you who were getting the black screen problem with kexec kernel will get the same bug here.

Note:Please backup your CID just to be safe.You may not have this error ever but it's always safe to have a backup of the CID.So that if you get a message invalid CID or soemthing just restore it and you'll be good to go.

To backup CID:

Reboot into Recovery

Tap on firmware flashing

Tap on backup CID.

Note:To be flashed via BMM only

BMM instructions:

See here if this is your first time multibooting with BMM.

Download and install BMM from google play https://play.google.com/store/apps/d...otmenu.manager

Our phone does not have a partition for internal storage.. so we use the data partition for it.. To do so, just open a root browser like root explorer and navigate to /etc/bmm/conf

Open "recovery.fstab" with a text editor

The last line will be something like this

/int vfat /dev/block/mmcblk1p25

Just change 'vfat' to 'auto' and 'mmcblk1p25' to 'userdata' (its the same though..)

So that it looks like this

/int auto /dev/block/userdata

and of course save it and close it..

Done.. you are good to go.. Happy Multi Booting..

Just some tips

On your first reboot, tap the android, go to settings-->System_2-->Partition setup and tap on ACTIVATE. This formats cdrom partition to ext2.

Now go back 2 two steps, and select any other system(3-6). choose Partition setup, tap on system.img, tap on Create, select the size, create it. go back and do the same with data.img and cache.img.

Once thats done, go back and select recovery, select switch system. choose your system that you created the images for, the colour will change, install any custom rom.. Enjoy!!

NOTE: BMM stores the images in internal memory(/int/clockworkmod/virtual/system_(num)). Since we dont have emmc partition and are using the data partition for /int, doing a factory reset will wipe it out and you will lose all your other roms.. So be carefull..

NOTE 2: USE ONLY SYSTEMS 3 TO 6 FOR CUSTOM ROMS.. SUSTEM 2 IS CDROM PARTITION.. YOU ACTIVATE IT ONCE AND DONE.. DONT TOUCH IT AGAIN.. ITS ONLY 12MB..

IMPORTANT NOTE: DO NOT INSTALL BMM IF YOU USED A2 BOOTSTRAPPER BEFORE. THAT WILL MESS THINGS UP WITH YOUR LOGWRAPPER.BIN. THERE IS A GOOD CHANCE YOU WILL BOOT LOOP AFTER REBOOT. NOW IF FOR SOME REASON YOU DID NOT READ THIS, AND GET A MESSAGE ABOUT BMM ASKING YOU TO GET HELP, BEST THING FOR YOU TO DO IS RECHARGE YOUR BATTERY FULLY AND FXZ BACK. OR THERE IS A GOOD CHANCE YOU WILL HAVE TO USE MCGRUVYER METHOD OR ANOTHER A2 BATTERY. USER RAD7 RECENTLY HAD QUITE A LOT OF TROUBLE WITH HIS BATTERY DYING AFTER BMM MESSED WITH LOGWRAPPER. YOU HAVE BEEN INFORMED.

Credits:

BigJArm for his build on Razr.

Dtrail1 for the JBX Kernel

Lifehacker7 for the banner and screeshot editing