[Nexus One Android Development] twistedsixty4:
just to be safe back up all your files with titanium backup before you start this and make sure to create the "update.zip" to flash back titanium backup..

you need:

- grab the most recent nightly in tar format

- grab the gapps from here

- grab the jellybean aroma installer from here

- grab the 210mb hboot.nb0 from here

prep:

1. untar the files from the new build and put the system.img and boot.img inside your platform-tools folder

2. move the hboot to your platform-tools directory (i also change the name of it to hboot-jb-210.nb0)

3. go to c:/ and create a folder ( i just named it TEMP)

4. unzip the gapps you downloaded and move the system folder inside to C:/TEMP (it should look like C:/temp/system/)

5. connect your phone to your computer and boot it to fastboot

6. open cmd and CD to you platform-tools directory (so you can fastboot and adb)

flashing:

1. flash the new partition via "fastboot flash hboot hboot-jb-210.nb0" (remember to use the actual name of the hboot file)

2. wipe everything from fastboot via the "fastboot erase XXXXX" command (userdata, cache, boot, and system)

3. flash the new system and boot images from fastboot via the "fastboot flash XXXX XXXX.img" command (system.img, boot.img)

4. reboot to recovery

5. go to wipe, and select sd-ext

6. reboot to system

now at this point you have raw system with no gapps.

prep:

1. make sure debugging is turned on

2. enable mass storage and move the gapps aroma installer zip to your sd card (you will need this later) then turn storage back off when done

3. open two command terminals and CD them to your platform-tools directory

4. "ADB devices" verify your seeing your phone

ADB:

1. open one command window and start logcating via " adb logcat -v long > logact.txt " command

2. open the other terminal and type " adb shell ls /sd-ext " (this will show you what is all on the sd-ext partition dont be surprised if its empty)

3. same terminal type " adb shell mkdir /sd-ext/gapps " then type " adb shell mkdir /sd-ext/gapps/system " (this makes the gapps dir and system dir)

4. remember moving the gapps system pack to temp? type "adb push c:/temp/system /sd-ext/gapps/system" (should now see a long list appear)

5. verify everything pushed by " adb shell ls /sd-ext/gapps/system/apps " (should see a list of apks)

6. create the .extgapps file by typing " adb shell "echo x > /sd-ext/gapps/.extgapps" " (dont get confuse by the double quotes here its the same command that drew posted)

7. (Optional, but required for r-mount to work) create /data/gapps folder and link it to itself do this by " adb shell ln -s /data/gapps /data/gapps " wouldnt hurt to check that this command worked by typing " adb shell ls /data " and making sure the gapps directory now exists

8. reboot to fastboot via " adb reboot bootloader "

9. once in fastboot usb type " fastboot -w " (if you are using m2sd this command will clear your scripts, so dont forget to reflash the m2sd script)

CHOOSE ONE:

m2sd (with R-Mount):

1. boot to recovery

2. flash the m2sd script and choose customize you should select "davlik", "cache", "swap" and "r-mount" (you can leave safemode on if you want) then tell it to install

m2sd (without R-Mount):

1. boot to recovery

2. flash the m2sd script and choose customize you should select "apps", "davlik", "cache" and "swap" (you can leave safemode on if you want) then tell it to install

final steps:

1. flash your update.zip (titanium backup)

2. flash aroma installer and choose custom install now select any apps you want BUT MAKE SURE their listed install dir is /data NOT /system (this is very important!) once you have what you want selected tell it to install let it reboot when its done

3. check that it works!! do you have gmail? does it open? does it load your gmail? (your internal memory in the apps manager will still show your internal storage but apps arent installing there now)

if it is not working do this:

1. in terminal grab logcat via " adb logcat -v long > logcat2.txt " after 20 seconds unplug your phone (this will disconnect logcat)

2. post both logcats on here for me to look at