[Samsung Galaxy Nexus] Carlos_Manuel:
Hey!

I'm not sure which section is better for this: Q&A or General, so I post it here.. :P

On this (REALLY EASY) Guide I show you how you can make own "Flash-able" ROM from Stock Android ROM on your phone:

Requirements:

Galaxy Nexus toolkit / CWM recovery (I recommend the toolkit) <---- Can be downloaded here

Linux Ubuntu (Can be installed as second OS without any disk) <--- Here

Drivers for Fastboot and ADB: Driver for GSM, Win 32-bit Driver for GSM, Win 64-bit for Sprint and Verizon: check the Nexus Toolkit thread..

Let's Begin:

1. Connect Galaxy Nexus to PC via USB cable and go to settings > developer options > and enable USB Debugging

2. Open the Nexus toolkit program

3. Select your Nexus's model and if the Android version on that doesn't exist then choose the older one.

4. Select number (2) Backup and Restore your Phone

5. Select number (9) and then it asks do you have insecure boot.img or custom ROM, if you are using stock Android ROM with unsecured boot.img then type "no" and follow the instructions on it.., if you are using custom ROM then type "yes"

6. select number (2) Boot, System

7. Wait until it have done everything and then you can close it and go to the C:\Galaxy Nexus ToolKit folder and find folder "backups"

8. on that folder "C:\Galaxy Nexus ToolKit/backups/" you have .ZIP file: backup_2partitions_########.zip Move it to somewhere /users/ folder or to Desktop, E.g to /libraries/documents/,

If you are using Ubuntu on the same computer where you do this then move the .zip package to memory stick/another hradware

9. Now boot to Ubuntu OS "reboot" in "Boot configuration" select Ubuntu if you are using Ubuntu on the same computer then connect Memory stick and move the .zip file from it to Desktop, If you are using Ubuntu on the another computer then you can open users-server and copy file from that to your Ubuntu.

10. On Linux Ubuntu install this dsixda's android kitchen: Here and then extract it to somewhere..

Let's build ROM:

1. Move the .zip package from Desktop to Dsixda's Android Kitchen > original_update folder

2. Open runme.sh and run it via Terminal

3. Select number (1) Set up working folder from ROM

4. Press enter all the time when it asks something. (asks about recovery files what you might want to keep, so if you want keep them then jut press enter and don't type no to the terminal

5. when it is extracting system.img and asks password then type your password to the terminal and press enter

7. When you are in main menu, you may want to De-Odex the ROM, select (0) and then (11) De.Odex and then choose both system and framework folder!

8. You may want insecured boot.img, in Advanced options choose (12) and then choose (w), go to BOOT-EXTRACTED folder and then to boot.img-ramdisk folder, now open default.prop and change line

ro.secure=1

to

ro.secure=0

Now in terminal press enter and then (b)

9. Now (if you want) add root permission, zipalign apps, add busybox and its run-parts (init.d) support, add apps e.g. Adobe Flash player.apk to /system/app/

10. when you have modified your ROM then choose (99) and press enter then again enter and choose (2)

11. when all is done then go to OUTPUT_ZIP folder and move the maguro_#########################.zip to Nexus and flash it via CWM or ADB sideload or whatever which works with it... :P

Hopefully this helps someone! :DDD

I will fix some things on this post when I have fixed my Nexus. :) EDIT: My Nexus is now OK, have modified this thread quickly.. :)

I made this thread because I was bored and I messed up my Nexus so I had to make flashable ROM form my ROM from my Nexus.. :DDD