creating an custom rom for android 2 - Galaxy Y GT-S5360 General

I. Before You Begin
1. We are assuming you have already setup the Android kitchen. If not, use our How To Setup The Kitchen procedure and then come back to this one when done.(first see the post creating an custom rom for android a)
2. We are also assuming you have already done our How To Root and How To Load a Custom ROM for your phone and have a custom recovery image.
2. This ONLY works for HTC Android devices at the moment, later versions might support others (check here for an update when it does).
3. Open the Kitchen in your Ubuntu Virtual Machine we created in the Kitchen Setup procedure by typing ./menu in the Terminal window in Ubuntu. Leave it open.
4. All of this is done INSIDE THE UBUNTU VIRTUAL MACHINE (that includes when I say “save to your computer” anywhere in here, means save to you Ubuntu Virtual Machine)!
II. Find a ROM to Dissect
There are two kinds of ROMs you can dissect to create your own custom ROM; Stock ROMs and Custom/Cooked ROMs. DsiXDA, creator of the ROM kitchen we are using, has put together a list of places to get stock ROMs for different devices and a quick how to load them into the kitchen:
From a Cooked ROM (Easiest Method):
1. Copy the update.zip (or equivalent ZIP file) to the original_update folder in the kitchen
2. Type the number for the option “Setup Working Folder from ROM” and hit enter in the Kitchen to create your working folder. (So if its number is 1, type 1 then hit enter).
From a Shipped ROM:
1. Find the shipped ROM for your device, usually from htc.com or from searching xda-developers (check the Wiki or sticky posts under your device’s sub-forum).
The links below may help:
HTC Hero
Google Nexus One (android.modaco.com/topic/300414-21oct-stock-roms-erd79- frg83-images-zip-online-kitchen-optional-root-insecure/)
" copy paste on browser than download it "
HTC Magic
HTC Tattoo
2a. If the shipped ROM is in a .ZIP format, then simply extract the system.img and boot.img.
2b. If the shipped ROM is in .EXE format, then do the following:
A. In Windows, run the shipped ROM’s .EXE file till it gets to the first dialog. Stop there but don’t close the window yet.
B. Go to Start->Run and type: %TEMP%
C. When the folder opens, search for Rom.zip. Then, open it with an unzip tool. If you get errors trying to open the ZIP file with WinZip or the default Windows unzip program, then use 7Zip (download from "w_w_w_.7-zip.org/ "_" from link) to extract it.
D. Extract only two files from Rom.zip: system.img and boot.img
3. Copy the two .IMG files to your kitchen’s img_files folder in your Ubuntu Virtual Machine.
4. In the Terminal window that you opened in Section I, type 1 and hit enter to create a working folder from the two .img files.
Now, that you have either the update.zip in the original_update folder of the kitchen OR the system.img and boot.img of a shipped ROM in the img_files folder of the kitchen, you are ready to play with the ROM to make it your own.
III. Tweaking the Imported ROM Using the Automated Options in the Kitchen
So this is a basic kitchen, but you can do things like, add Root support, add/remove apps from the ROM, enable saving apps to the sd card, enabling Wifi tethering, do some automatic optimizations, and a few other things automatically just by selecting the option and hitting enter. It even allows you to put in your own scripts for the ROM to run (but that’s for more advanced users who know how to create scripts of course).
1. After importing a ROM using section II, select the options you want to do to the ROM (by typing the number of the option you want into the terminal/kitchen window and hitting enter. They are all pretty self explanatory.)
2. Continue this until you have all the automated options you want in the new ROM.
IV. Adding/Removing Applications from the ROM
1. In your Ubuntu Virtual Machine, goto Places at the top. Then click on Home Folder, then the WORKING folder that was created in section II when you dissected the original ROM or img files. Then goto system > app. (Also check Data > App as .apks can be put in there as well).
2. In the app folder you will see all the .apk files for all the applications you have currently in the ROM. Simply delete the ones you do not want to remove them from the ROM.
3. To add applications, simply copy any .apk file for the applications you want to add into the app folder.
V. Repackage the ROM so it can be Flashed onto a Phone
1. Once you have done whatever changes you want, you just need to type 99 and hit enter in the kitchen/terminal for the kitchen to take the working folder you have been messing with and compile it into a flashable update.zip ROM.
2. Once it is done compiling the ROM, we can transfer it to our phone.
VIa. Setup Ubuntu to See Your Phone via USB
1. In the Virtual Box windows with Ubuntu in it, click on Devices at the top then click Install Guest Additions. (It should autostart, if it doesn’t, click on the CD that appeared on the desktop in Ubuntu and then click on Autostart.sh. It will ask you for your password you created when setting up Ubuntu, put that in and let it install).
2. Once the Guest Additions are installed, close the Virtual Box Ubuntu Window (choose to Power Down the Machine).
3. Now, open Virtual Box itself (not Ubuntu) and highlight the Ubuntu machine, then click on Settings at the top.
4. Click on USB and make sure Enable USB Controller and Enable USB 2.0 are both enabled.
5. Now plug in your Android phone (do NOT mount the SD card, just plug it in).
6. Now in the USB menu of Virtual Box, click the + symbol on the right and then select your Android Device (name may be different).
7. Once that is installed, unplug your phone.
8. Now, Start your Ubuntu Virtual Box.
9. Once Ubuntu boots up, plug in your Android phone (do not mount the memory card yet) and look for the USB symbol at the bottom (fourth icon from the left) and hover over it and wait for it to say USB Device detected and display your phone. Once that happens, mount the sd card by pulling down the notification bar on your phone and clicking mount.
10. Ubuntu should pop up your SD card on the desktop (if any prompts come up just select do nothing and click ok). We can now transfer files to the memory card of our phone.
VIb. Use RapidShare to Transfer the File from Ubuntu to Windows (if Section VIa was giving you trouble)
1. If you can’t get the USB to work in Ubuntu, then simply open a Firefox browser window, goto Rapidshare.com and upload the ROM to there.
2.Once it is done uploading, ON YOUR WINDOWS COMPUTER NOT UBUNTU, put in the link it gave you when you finished uploading it, to download it to your Windows computer so we can transfer it to your phone.
VII. Flash the ROM
5. Copy the .zip file to the root of your SD card (NOT in any folders, just on the SD card itself).
6. Unplug the phone and turn it off.
7. Turn it back on by holding down home and power (do not let go until the recovery screen comes up) to get to recovery mode (you must have a custom recovery screen to do this, if you don’t find out How To Root and Load a ROM procedure for your phone and do those first).
8. Now select Nandroid Backup to create a backup before we flash the new ROM.
9. Once the backup is done, select Wipe Data / Factory Reset in recovery mode.
10. Select flash zip from sd card and select the ROM you just put on the sd card.
11. Once it is done flashing, click reboot. Enjoy!
Enjoy! Will update this as we add more things for you to tweak FeWant to Flash a New Splash Screen on Your 320×480 Resolution Android Device? Here’s how.
el free to suggest some in the meantime.
Thanks to DsiXDA for his awesome kitchen!

ohh... thanks

Very nice information.................

zero+ said:
I. Before You Begin
1. We are assuming you have already setup the Android kitchen. If not, use our How To Setup The Kitchen procedure and then come back to this one when done.(first see the post creating an custom rom for android a)
2. We are also assuming you have already done our How To Root and How To Load a Custom ROM for your phone and have a custom recovery image.
2. This ONLY works for HTC Android devices at the moment, later versions might support others (check here for an update when it does).
3. Open the Kitchen in your Ubuntu Virtual Machine we created in the Kitchen Setup procedure by typing ./menu in the Terminal window in Ubuntu. Leave it open.
4. All of this is done INSIDE THE UBUNTU VIRTUAL MACHINE (that includes when I say “save to your computer” anywhere in here, means save to you Ubuntu Virtual Machine)!
II. Find a ROM to Dissect
There are two kinds of ROMs you can dissect to create your own custom ROM; Stock ROMs and Custom/Cooked ROMs. DsiXDA, creator of the ROM kitchen we are using, has put together a list of places to get stock ROMs for different devices and a quick how to load them into the kitchen:
From a Cooked ROM (Easiest Method):
1. Copy the update.zip (or equivalent ZIP file) to the original_update folder in the kitchen
2. Type the number for the option “Setup Working Folder from ROM” and hit enter in the Kitchen to create your working folder. (So if its number is 1, type 1 then hit enter).
From a Shipped ROM:
1. Find the shipped ROM for your device, usually from htc.com or from searching xda-developers (check the Wiki or sticky posts under your device’s sub-forum).
The links below may help:
HTC Hero
Google Nexus One (android.modaco.com/topic/300414-21oct-stock-roms-erd79- frg83-images-zip-online-kitchen-optional-root-insecure/)
" copy paste on browser than download it "
HTC Magic
HTC Tattoo
2a. If the shipped ROM is in a .ZIP format, then simply extract the system.img and boot.img.
2b. If the shipped ROM is in .EXE format, then do the following:
A. In Windows, run the shipped ROM’s .EXE file till it gets to the first dialog. Stop there but don’t close the window yet.
B. Go to Start->Run and type: %TEMP%
C. When the folder opens, search for Rom.zip. Then, open it with an unzip tool. If you get errors trying to open the ZIP file with WinZip or the default Windows unzip program, then use 7Zip (download from "w_w_w_.7-zip.org/ "_" from link) to extract it.
D. Extract only two files from Rom.zip: system.img and boot.img
3. Copy the two .IMG files to your kitchen’s img_files folder in your Ubuntu Virtual Machine.
4. In the Terminal window that you opened in Section I, type 1 and hit enter to create a working folder from the two .img files.
Now, that you have either the update.zip in the original_update folder of the kitchen OR the system.img and boot.img of a shipped ROM in the img_files folder of the kitchen, you are ready to play with the ROM to make it your own.
III. Tweaking the Imported ROM Using the Automated Options in the Kitchen
So this is a basic kitchen, but you can do things like, add Root support, add/remove apps from the ROM, enable saving apps to the sd card, enabling Wifi tethering, do some automatic optimizations, and a few other things automatically just by selecting the option and hitting enter. It even allows you to put in your own scripts for the ROM to run (but that’s for more advanced users who know how to create scripts of course).
1. After importing a ROM using section II, select the options you want to do to the ROM (by typing the number of the option you want into the terminal/kitchen window and hitting enter. They are all pretty self explanatory.)
2. Continue this until you have all the automated options you want in the new ROM.
IV. Adding/Removing Applications from the ROM
1. In your Ubuntu Virtual Machine, goto Places at the top. Then click on Home Folder, then the WORKING folder that was created in section II when you dissected the original ROM or img files. Then goto system > app. (Also check Data > App as .apks can be put in there as well).
2. In the app folder you will see all the .apk files for all the applications you have currently in the ROM. Simply delete the ones you do not want to remove them from the ROM.
3. To add applications, simply copy any .apk file for the applications you want to add into the app folder.
V. Repackage the ROM so it can be Flashed onto a Phone
1. Once you have done whatever changes you want, you just need to type 99 and hit enter in the kitchen/terminal for the kitchen to take the working folder you have been messing with and compile it into a flashable update.zip ROM.
2. Once it is done compiling the ROM, we can transfer it to our phone.
VIa. Setup Ubuntu to See Your Phone via USB
1. In the Virtual Box windows with Ubuntu in it, click on Devices at the top then click Install Guest Additions. (It should autostart, if it doesn’t, click on the CD that appeared on the desktop in Ubuntu and then click on Autostart.sh. It will ask you for your password you created when setting up Ubuntu, put that in and let it install).
2. Once the Guest Additions are installed, close the Virtual Box Ubuntu Window (choose to Power Down the Machine).
3. Now, open Virtual Box itself (not Ubuntu) and highlight the Ubuntu machine, then click on Settings at the top.
4. Click on USB and make sure Enable USB Controller and Enable USB 2.0 are both enabled.
5. Now plug in your Android phone (do NOT mount the SD card, just plug it in).
6. Now in the USB menu of Virtual Box, click the + symbol on the right and then select your Android Device (name may be different).
7. Once that is installed, unplug your phone.
8. Now, Start your Ubuntu Virtual Box.
9. Once Ubuntu boots up, plug in your Android phone (do not mount the memory card yet) and look for the USB symbol at the bottom (fourth icon from the left) and hover over it and wait for it to say USB Device detected and display your phone. Once that happens, mount the sd card by pulling down the notification bar on your phone and clicking mount.
10. Ubuntu should pop up your SD card on the desktop (if any prompts come up just select do nothing and click ok). We can now transfer files to the memory card of our phone.
VIb. Use RapidShare to Transfer the File from Ubuntu to Windows (if Section VIa was giving you trouble)
1. If you can’t get the USB to work in Ubuntu, then simply open a Firefox browser window, goto Rapidshare.com and upload the ROM to there.
2.Once it is done uploading, ON YOUR WINDOWS COMPUTER NOT UBUNTU, put in the link it gave you when you finished uploading it, to download it to your Windows computer so we can transfer it to your phone.
VII. Flash the ROM
5. Copy the .zip file to the root of your SD card (NOT in any folders, just on the SD card itself).
6. Unplug the phone and turn it off.
7. Turn it back on by holding down home and power (do not let go until the recovery screen comes up) to get to recovery mode (you must have a custom recovery screen to do this, if you don’t find out How To Root and Load a ROM procedure for your phone and do those first).
8. Now select Nandroid Backup to create a backup before we flash the new ROM.
9. Once the backup is done, select Wipe Data / Factory Reset in recovery mode.
10. Select flash zip from sd card and select the ROM you just put on the sd card.
11. Once it is done flashing, click reboot. Enjoy!
Enjoy! Will update this as we add more things for you to tweak FeWant to Flash a New Splash Screen on Your 320×480 Resolution Android Device? Here’s how.
el free to suggest some in the meantime.
Thanks to DsiXDA for his awesome kitchen!
Click to expand...
Click to collapse
thanks for the info..hope for othr mobs also it will com soon

Tell me when it works for SGY
Inform me when it starts working for SGY... PLz I want to make one..

Looking good if work on sgy hehe looking forward for info

Related

Rooting indian htc magic airtel with spl 1.33.0010

Here's a friendly guide for all the people with 1.33.0010 SPL INDIAN VERSION AIRTEL and who would like to switch over to the 1.33.2010 Engineering SPL with Amon_RA's ROM. This has been tested on my Indian HTC Magic, but I do think it will work for other Magics with the same SPL. Remember, this is for 32A only.I tried different options given in xda forum but this method is full proof and now I have a working hero rom on my HTC MAGIC AIRTEL ASIA.
1. Download the latest Android SDK from http://developer.android.com/. Create a folder called "AndroidSDK" on your C drive and extract the contents of the zip file to the folder such that the folders called "tools", "usb_driver" and all are within the "AndroidSDK" folder.
2. On Windows XP : Go to Control Panel->System, Choose the 'Advanced' tab and then click 'Environment Variables' To do this on Vista/Windows7: Simply go to Control Panel->System and choose 'Advanced System Settings' and then 'Environment Variables'
Now that you've got here locate Path under System Variables and click Edit, then add the following to the end of the string displayed:
;C:\AndroidSDK\tools\
Then click OK until you get out of the menus.
3. Enable Debugging mode on the phone by going to
Menu > Settings > Applications > Developement > USB Debugging
4. Go to http://dl.google.com/android/android_usb_windows.zip and download the ADB drivers for windows.Not needed in HTC Sync 2.04 version as drivers are embedded in it.
5. Connect your Android device via USB. When the Found New Hardware Wizard appears, you'll be asked if you'd like Windows Update to search for software, select No, not this time and click Next.
Select Install from a list or specified location and click Next.
Select Search for the best driver in these locations. Browse and select the unzipped folder. Click Finish.
6. Go to "Run" in Start and type in "cmd". This is the standard procedure for invoking the Command Prompt. Remember this. Type "cd\" hit enter and then enter "cd AndroidSDK", hit enter. Then cd\tools ,hit enter The command prompt should look like :
C:\AndroidSDK\tools>
Now type in "adb devices" and hit enter. You should see something like this :
C:\AndroidSDK>adb devices
List of devices attached
XXXXXXXXXXXX device
If you do, everything is great. Disconnect your device.
7. Now go to HTC's global site and download the latest version of HTC Sync(2.04 Version), unzip and install. When you connect your device now, HTC Sync should recognize your phone.
8. Now comes the Gold Card part. Go to http://forum.xda-developers.com/show...99&postcount=1 and follow the guide to create your Gold Card. The 2GB Sandisk one which comes in the box works just fine. If you don't have Android Market, don't fret. Forget about the Steps 3 & 4. Instead, connect your device with the card in it. Invoke command prompt and cd to "AndroidSDK" as told before. Type in "adb shell cat /sys/class/mmc_host/mmc1/mmc1:*/cid". You will get the CID. Follow the rest of the steps from the guide to create a Gold Card.
9. Time for action. Now you gotta get Engineering SPL 1.33.2010(find it on xda forum)- MD5 : 865020FBDFBD9C08950076A701A8A003 Flash this Rom in Hboot mode.
# Copy the required file zip file and rename it sappimg.zip (Do not add zip only rename as sappimg as it is already a zip file.) and copy it to the Goldcard.
# Boot your phone while holding the VOLUME-DOWN key.
# Press the ACTION KEY (=trackball) to start the update.
# Wait until the update completes and press the ACTION KEY (=trackball) to reboot your phone.
10. Now time to create a Nandroid Backup. Download • RAv1.2.1H – (Find it on xda forums) MD5Sum: E08D0A38BCCADAE416F644EE9D370D8B Put it in the "AndroidSDK\tools" folder. Switch off your phone. Hold the Back button and Switch it on. This takes you to the Fastboot mode. Standard procedure. Remember this. Connect the phone to the PC. Invoke the command prompt, cd to "AndroidSDK\tools" and type :
fastboot boot recovery-RAv1.2.1H.img
The recovery image will boot and you'll see the recovery screen in green colour. Wait for 2 minutes. Select the Nandroid Backup option and follow the on-screen instructions to create a backup. Reboot device. And copy over the "nandroid" folder on you sd card to a safe place.
11. Time to flash the HERO ROM Go to myhero-1.12 (find it on XDA forum) I tried flashing other roms but the screen jams at start so this particular rom is working well on my HTC AIRTEL ASIA Rename the file to "update.zip" and copy over to the sd card. Switch off your phone. Hold the Back button and Switch it on. This takes you to the Fastboot mode. Connect the phone to the PC. Invoke the command prompt, cd to "AndroidSDK\tools" and type :
fastboot boot recovery-RAv1.2.1H.img
The recovery image will boot and you'll see the recovery screen. Wait for 2 minutes. Select the Wipe Data option, and follow instructions to Wipe your present ROM. If you don't do this, your phone might not boot after flashing the ROM. Select the Apply sdcard:update.zip option. Follow onscreen instructions to flash the ROM. Reboot. All done. Welcome to Android.....
All credits go to XDA FORUM , and everybody else for their respective contributions.....
PS. Please do chip in with a Thanks if you found this guide helpful and any corrections are welcome.....
PPS. After you flash the ROM, if HTC Sync isn't working, use Google Sync, since the ROM is a Google ION based one.

[Guide] Complete Newbie Guide to Root & Install a Custom Rom [Updated 26/08]

This is aimed at new "rooters". The process is incredibly easy.
I also take no responsibility if you mess up somehow, and this is for GSM Hero's NOT Sprint Hero CDMA users.
In order to create this guide I downgraded my phone to RUU Orange UK 2.73.61.66 (i.e. unrooted) then updated to the pre-2.1 release from Orange and then updated to the final 2.1 release from Orange. I then used Universal Androot to gain root access and from there install a custom recovery.
I have now also included a link to z4root as an alternative.
Here is a link to my backup guide but please be aware that most of it requires root access.
Prelude:
Install HTC Sync from here
Download Universal Androot
Download z4root
Download Root Checker - only if you need to
Download AmonRA Recovery v1.7.0.1.img - easier if you rename this "recovery.img" when it is on your sdcard
Place both downloaded files on your SD Card
Root & Recovery
1. Download and install Astro File Manager from the Market (or use any other file management program of your choice)
2. Open Astro and find and install Universal Androot (or if that doesn't work try z4root) from your sdcard:
Select UniversalAndroot.apk > Open App Manager > Install > Settings> [tick] Unknown Sources > OK > Back > Select UniversalAndroot.apk > Open App Manager > Install > Install > Open
3. In the app and choose the correct version from the dropdown box:
Superuser for Android 2.0~2.2 - if you have updated your phone recently
Superuser for Android 1.5~1.6 - if you have refused updates recently or your country/provider hasn't released one yet
Then choose: "Root "
Wait until it says "Woot ! Your device is rooted !" and exit the program.
4. Download and install Android Terminal Emulator from the Market (use Better Terminal instead if this one doesn't work)
5. Run "Terminal Emulator". Type (press and hold menu to get the keyboard up) in the following:
su (press enter and wait for the "Super User Request Prompt". Choose "Allow" and make sure its ticked to Allow every time.)
flash_image recovery /sdcard/recovery.img (press enter - make sure this is typed exactly as seen)
N.B. If you have issues here, see * notes below for more assistance
6. Turn off your phone and press Home + Power to start it up again. This should boot into recovery mode.
Install Your Custom Rom
Note: This part of the guide can be repeated with as many different rom's as you like. You do not have to repeat the previous section once you have a recovery image installed.
1. Download a Custom ROM from here to your computer.
2. Make sure your phone is in recovery mode (Home + Power)
Plug your phone into your computer and select "USB-MS toggle" in recovery
Place the Custom ROM on your SD card in the main directory and press Home when it has finished copying over
3. Select Backup/Restore > Nand backup > confirm with Home > Wait
(or Nand + Ext if you have A2SD setup)
4. Press back then select Wipe from the main menu, then select:
Wipe data/factory reset > Home
Wipe cache > Home
Wipe Dalvik-cache > Home
Wipe SD:ext partition > Home
Press back button
Select Flash Zip from SD Card
Select the file
Press Home to confirm
Note: Ignore any "errors", they are normal and usually mean you're not using that feature.
5. Once it is done, select Reboot and you will boot into the new Custom ROM.
Updating your Radio
Note: The radio deals with your signal levels and connectivity.
1. Download the latest radio from the following page
N.B. Radio's are not region specific! Just get the latest
2. Mount your SD Card so your computer can read it and place the downloaded file in the main directory
3. Turn off your phone and boot into the recovery screen (holding Home + Power)
4. Choose:
Flash Zip from SD Card
Pick the radio.zip file and press Home to confirm
Wait
Your phone will reboot a couple of times but when you're back on the Recovery Screen just press reboot system now and it will complete the install and put you back into your custom rom.
DO NOT PULL THE BATTERY OUT, THIS WILL BRICK YOUR HANDSET.
5. When this process has completed reboot the phone and you should have the new radio. This can be checked in Settings > About Phone
*Useful Information!!
42turkeys said:
Tested this on 1.5 the other day, nice one BtDaG
For those of you having problems flashing the recovery, try entering this before the flash_image command:
Code:
rm /data/local/rights/mid.txt
ln -s /dev/mtd/mtd1 /data/local/rights/mid.txt
(btw, ROM Manager has an option to flash Amon_RA at the bottom )
Click to expand...
Click to collapse
** Missing flash_image - confirmed to work by another user, please inform if different
Download the flash_image.zip and unzip to your PC folder. Setup ADB. Place the recovery_image .zip in a folder called recovery on your computers C: drive. Then you will be able to run the following adb commands below from a cmd prompt on your computer:
cd c:\recovery
this will ensure you are in the correct folder
adb root
This will start ADB as root, or notify if it is already running as root.
adb remount
This will mount the system partition (/system) as writable, allowing the following
adb push flash_image /system/bin
This will send the flash_image script into the /system/bin, so we can use it from within the shell
adb shell chmod 0755 /system/bin/flash_image
Finally, change the permissions of the script to allow it to perform the desired action. Now that the script is installed, we are ready to proceed with flashing the custom recovery, saved on the root of the SD card earlier:
adb shell flash_image recovery /sdcard/recovery.img
this will install the the recovery - now continue the process where you left off
Click to expand...
Click to collapse
*** solution 3
brisuth said:
A big thankyou to duck0 for identifying the problem and botoo for getting me to a happy conclusion with the correct commands
SOLUTION IS HERE USING Console mode from windows using ADB USB DEBUGGING HAS TO BE ENABLED WITH HERO CONNECTED TO PC THEN TYPE THE FOLLOWING
THEN ENTER AFTER EACH COMMAND
anyone needing help setting up adb see this link http://forum.xda-developers.com/showthread.php?t=757233
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
rm /system/etc/install-recovery.sh
Thats it all done next step
INSTALL ROM MANAGER FROM MARKET IT IS FREE
open it and sellect flash alternate recovery image from the bottom, you can use the clockwork recovery but it is not compattable with all roms.
once done turn phone off, boot into recovery home + power choose to exit recovery with reboot shut down once again and if you can enter recovery then everything is sweet.
Click to expand...
Click to collapse
Setup Apps2SD
ONLY RECOMMENDED ON CLASS 4+ SD CARDS. Don't bother if you don't know what this is . GIYF.
Do this process after doing everything else! So make sure you have a working custom rom installed which supports Apps2SD. This is designed for VillainROM which doesn't use a swap, if your ROM does support swap ask for a recommended amount. Also note that the ext2 partition will be unreadable from windows or through android os.
1. Backup your SD card to your computer (very important as this process will wipe all the data on it)
2. Restart your phone into recovery mode (Home + Power)
3. Select:
Partition sdcard
Partition SD
Press Home
Swap-size = 0 MB
Ext2-size = 512 MB (recommended)
FAT32-size = Remainder
Press Home
4. Once complete Reboot system now and wait! This can take 20 minutes or so to complete, so just keep waiting!
DO NOT USE EXT3 or EXT4 partitions. They will just wear out your sd card quicker. They are designed for large files systems (i.e. 50GB+) with full operating systems running on them! The only benefit they bring is indexing (which on a 512MB partition is worthless). (Optional - before reboot) - Under partition sdcard you can convert the ext2 partition to ext3 - "SD:ext2 to ext3" - however this isn't recommended as it will wear out your sd card quicker. There is also often support for ext4 so you can do "SD:ext3 to ext4" after the first one too. Though again this will typically just wear out your SD faster without providing any speed benefits. See note above.
Code:
[B]OLD PROCESS BACKED UP JUST IN CASE. PLEASE DO NOT FOLLOW THIS SECTION OF THE GUIDE![/B]
Largely based upon the Unlockr guides, so thank you Unlockr!
Please do NOT be mislead. This is NOT a quick process, though the time has been reduced significantly if you don't need the goldcard method.
There is no "one-click" version or "quick-install".
You should set aside at least an hour for this process and preferably read through the process once before actually attempting it.
[B]Please make a quick post with your experiences, including your brand of phone and location.
Please check the FaQ first before asking questions :)[/B]
[COLOR=DarkGreen][SIZE=3][U]Contents[/U][/SIZE][/COLOR]
[COLOR=DarkRed]Pre: Backup[/COLOR]
[COLOR=Navy]1. Installing a Recovery Image
a. Installing the Correct HTC ROM
2. Loading the Custom ROM
3. Updating your Radio[/COLOR]
[COLOR=DarkOliveGreen]Setup Apps2SD
Check A2SD[/COLOR]
[COLOR=DarkSlateBlue]"GoldCard" Test Procedure
I. Setting up the drivers
II. Create a “GoldCard” from a MicroSD Card
III. Downgrade the Hero using the Goldcard[/COLOR]
[COLOR=DarkGreen]FaQ[/COLOR]
[COLOR=DarkRed][SIZE=3][U]Pre: Backup[/U][/SIZE]
1. Backup contacts etc with HTC Sync.
2. Backup your SD Card or use a spare
3. Backup SMS Messages with SMS Backup & Recovery[/COLOR]
[COLOR=Navy][SIZE=3][U]1. Installing a Recovery Image[/U][/SIZE]
1. On your phone, go to Settings > Applications - and make sure "Unknown Source" is ticked.
2. On your phone, go to Settings > SD card and phone storage - click Unmount SD card.
3. Then click Format SD card.
4. Plug the phone into the computer via USB, then pull down the notification bar and click on the SD card notification. Then click mount.
5. Download this APK and recovery image and save it to your computer:
[URL]http://zenthought.org/content/project/flashrec[/URL] - FlashRec.apk
[URL]http://forum.xda-developers.com/showthread.php?t=561124[/URL] - Amon_Ra’s Hero Recovery Image
6. Copy them both to your SD card (do NOT put them inside any folders on the SD card, just put them on the SD card itself).
7. Unplug the phone from the computer once they are downloaded to the SD card.
8. Go to the Market and download ASTRO File Manager or any file manager program if you do not already have one.
9. Open the file manager and find the FlashRec apk file and click it and choose open app manager and then install it.
10. When it is installed click Open. Click on Backup Recovery Image and wait for it to finish. If you get "backup failed" response see the text on the right for more details, if the backup is a success carry on to step 11.
[RIGHT][SIZE=1][U]a. Installing the correct HTC ROM[/U]
Orange UK Users - Please downgrade your ROM version to [URL="http://www.htc.com/uk/SupportViewNews.aspx?dl_id=675&news_id=261"]2.73.61.5[/URL]
Generic Hero Users - Please downgrade to [URL="http://x7.to/6jexri"]2.73.405.5[/URL], or follow the goldcard method if this doesn't work
T-Mobile UK Users – Please follow the "Goldcard" method below
All Other Users - Please follow the "Goldcard" method below[/SIZE][/RIGHT]
11. Once done, click on the empty text box in the FlashRec program and type:
/sdcard/recovery-RA-hero-v1.6.2.img
(replace exact name as new versions come out)
Then click on the Flash Recovery Image button and wait for it to finish.
[SIZE=3][U]2. Loading the Custom ROM[/U][/SIZE]
N.B. This part of the guide can be repeated with as many different rom's as you like. You do not have to repeat the previous sections once you have a recovery image installed.
1. Download a Custom ROM from [URL]http://forum.xda-developers.com/forumdisplay.php?f=512[/URL] to your computer.
2. Plug in your phone and pull down the Notification bar when the SD notification pops up.
3. Click on the notification and select Mount.
4. Open the SD Card fonder on your computer.
5. Copy the Custom ROM from your computer to your SD Card, do NOT change it, extract the files or put it in any folders
6. Unplug your phone and turn it off.
7. Turn the phone on by holding down Home and Power till you get to the custom recovery screen.
8. Select Wipe from the menu, then select:
Wipe data/factory Reset
Wipe Dalvik-cache
Wipe SD:ext partition
Press back button
Select Flash Zip from SD Card
Select the file
Click Confirm
N.B. Ignore any "errors", they are normal and usually mean you're not using that feature.
9. Once it is done, select Reboot and you will boot into the OS. Once you are loaded in make sure you format your SD card once more through the settings menu and then reboot the phone one last time. This will ensure you get the correct apps.[/COLOR]
[COLOR=Navy][SIZE=3][U]III. Updating your Radio[/U][/SIZE]
[B]N.B. People have been reporting problems with this part of the guide, try it at your own risk. It is not required to be on the latest radio when using a Custom ROM, however it is usually recommended! The radio deals with your signal levels, I found it to increase my signal from a maximum of 2 bars to full. It is likely to help if you travel, but if you are happy with your signal and tend to stay in the same place it may not be worth it.
Be aware that if this doesn't work it can potentially brick you phone... though I've had no reports of that so far. Just people finding it doing different things after it flashes.[/B]
1. Download the latest radio from the following site:
At time of writing that is: [URL="http://www.villainrom.co.uk/radio/Radio_Signed_HERO_63.18.55.06PU_6.35.15.14.zip"]63.18.55.06PU_6.35.15.14[/URL]
[B]N.B. Radio's are not region specific![/B]
2. Mount your SD Card so your computer can read it and place the downloaded file in the main directory
3. Turn off your phone and boot into the recovery screen (holding Home + Power)
4. Choose:
Flash Zip from SD Card
Click Confirm
Reboot system now when prompted
N.B. This can take anywhere between 1 - 10 minutes or maybe even longer in some cases. Do not touch your phone until you either: get back to the recovery screen or your custom rom loads and you see the unlock screen.
DO NOT PULL THE BATTERY OUT, THIS WILL BRICK YOUR HANDSET.
5. When this process has completed reboot the phone and you should have the new radio. This can be checked in Settings > About Phone > Software Information > Baseband Version[/COLOR]
[COLOR=DarkOliveGreen][U][SIZE=3]Check A2SD[/SIZE][/U]
Please assume it is automatically working unless you can load applications without your SD card inserted. However, here is the process for those who are pedantic about these things. Many thanks to VillainROM Wiki for this process.
1. Download check.zip from the bottom of this guide.
2. Extract check.sh
3. Download GScript Lite from the market
4. Place check.sh on your SD card in a folder named gscript
5. Open GScript and press:
Menu
Add Script
Uncheck "needs su"
Load File
Select check.su
Save
6. Then click check from the main screen and you will get a readout of whether it is enabled or not.[/COLOR]
[COLOR=DarkSlateBlue][SIZE=3][U][B]"GoldCard" Test Procedure[/B][/U][/SIZE]
Please comment on whether this procedure works, it is untested. Thanks to [URL="http://www.villainrom.co.uk/viewtopic.php?f=46&t=1735"]ante0's guide[/URL] for some details used.
[SIZE=3][U]I. Setting up drivers etc[/U][/SIZE]
1. Download the latest HTC Sync from [URL="http://www.htc.com/www/SupportViewNews.aspx?dl_id=933&news_id=631"]here[/URL] and the latest SDK from [URL="http://developer.android.com/sdk/index.html"]here[/URL]
2. Install HTC Sync & extract the Android SDK .zip file to C:\ (may help to re-name the folder to a shorter name, in this tutorial it will be C:\android\ )
3. Click on your Windows Start menu and right click on "Computer" > Properties > Advanced System Settings > Environment Variables
Find "Path" under "System Variables" and edit it. Add the following to the end of the text:
;C:\android\tools
4. Restart your computer.
On your phone, click Settings > Applications > Development and make sure USB Debugging is on.
When back at your desktop plug then phone in and wait for it to install the correct drivers, this should be done automatically on the latest version of HTC Sync and adb should be enabled.
5. Type the following into the command prompt window (Start > Search > "cmd") and enter the following and press enter:
adb devices
You should see a serial number pop up and look like:
000000000000 device
It’s the serial number of your phone. This means the drivers are working in normal boot mode. Next we need to check them in fastboot mode (thanks to janhol for helping with this next part)
6. Turn off your phone and load into fastboot by holding the Back button and pressing Power with the hero plugged into the computer
7. "Start" > Right Click "Computer" > "Manage" > "Device Manager"
8. Check that the "ADB Interface" reads "My Hero", not "Android bootloader drivers" or anything else.
If it does then:
Right click "Android bootloader drivers" > "Update Driver Software" > "Browse my computer..." > "Let me pick from..." > "Have Disk..." > "Browse" > "C:\Program Files (x86)\HTC\HTC Driver\Driver Files\Win7_x64" > "androidusb.inf"
Once selected click "OK".
"My HTC" should show in the list of "compatible hardware" now, so select that and click "Next" to install the driver. Switch off the phone (may have to pull the battery).
[SIZE=3][U]II. Create a “GoldCard” from a MicroSD Card[/U][/SIZE]
(Please keep in mind that some memory cards don’t work for this process)
1. Put the memory card you want to use for the GoldCard into your phone, make sure all the data is backed up before proceeding as it will be formatted.
2. With the memory card in your phone, and not connected to the PC, click on:
Settings > SD and Phone storage > Unmount SD Card
Once it unmounts, click Format SD Card.
3. On your phone, click:
Settings > Applications > Development and make sure USB Debugging is on.
4. Return to the Command Prompt from earlier after re-plugging in your Hero. Then type the following with hitting enter at the end of each line:
adb shell
cat /sys/class/mmc_host/mmc1/mmc1:*/cid
5. A code will display, write the code down into a notepad document or similar (MAKE SURE TO WRITE IT DOWN EXACTLY!)
6. Go to this site: [URL]http://hexrev.soaa.me/[/URL] then put in your code you just wrote down into the text box and click submit. It will generate the code reversed and replace the first two digits with zeros automatically. Copy this.
7. Then go to [URL]http://psas.revskills.de/?q=goldcard[/URL] and Paste your CID into the box and fill in the other details. You'll be e-mailed the goldcard. Save the goldcard image to disk.
8. Now go to [URL]http://download.cnet.com/HxD-Hex-Editor/3000-2352-10891068.html?part=dl-HxDHexEdi&subj=uo&tag=button[/URL] to download the HxD Hex Editor. Install it to your computer.
9. Mount your SD card on your phone so that it shows up on your computer as "Removable Disk" - Pull down the notification bar on the phone and select Mount CD Card.
10. Open the Hex Editor (Run as Administrator if you're in Vista or Windows 7) and click on the Extra menu > Open Disk. Under "Physical Disk" select "Removable Disk". Make sure to UNcheck “Open as ReadOnly”. Click OK.
11. Go to the Extra menu again and click Open Disk Image. Open up the goldcard.img that you saved from your email. Press OK when prompted for Sector Size 512 (Hard Disks/Floppy Disks). You should now have two tabs, one is the SD card (Removable Disk) and the other is the goldcard.img.
12. Click on the Goldcard.img tab and press Ctrl + A (select all) Then Ctrl + C (copy).
13. Click on the Removable Disk tab (Your SD Card) and select the complete lines from 00000000 to 00000170 then press Ctrl + V (paste).
14. Click on File then click Save.
15. Close the Hex Editor.
16. Reboot the phone.
Try to open the memory card on the computer (i.e. mount the drive), if it lets you, you are all set. If it asks/tells you to reformat the card, then try steps 13 – 19 again. If it gives you the same error again, then try a different memory card. You can confirm that it has worked by opening the Removable Disk in the hex editor again and making sure the code you pasted in has stayed but this shouldn't be necessary.
[SIZE=3][U]III. Downgrade the Hero using the Goldcard[/U][/SIZE]
1. With your phone plugged in, pull down the notification bar on the phone and select HTC Sync. Make sure it connects to HTC Sync on the computer (not sure if this is necessary anymore).
2. Download this generic HTC Hero RUU
Hero RUU -
[URL="http://x7.to/6jexri"]2.73.405.5[/URL]
[URL="ftp://xda:[email protected]/Hero/Official-ROMs/RUU_Hero_HTC_WWE_2.73.405.5_WWE_release_signed_NoDriver.exe"]2.73.405.5[/URL] (alternative)
3. Double click the RUU exe you downloaded while the phone is plugged in with the GoldCard in it and follow the on screen procedure. This will install the old generic Hero rom on your phone, this is to allow you to install a recovery image. Reboot and fill in as few details as possible as these will be overwritten soon.
4. Now you have finished this procedure start from the beginning again.[/COLOR]
Website: [URL]http://rootmydroid.co.uk/[/URL]
Other Guides:
[URL="http://forum.xda-developers.com/showthread.php?t=669754"]How to Backup your Phone Between Wipes[/URL]
Even older process - ignore
[COLOR=DarkOrange][SIZE=3][U][B]Old "GoldCard" Procedure[/B][/U][/SIZE]
[SIZE=3][U]I. Setting up the SDK[/U][/SIZE]
1. Download the Latest Android SDK from Google
Android SDK - [URL]http://developer.android.com/sdk/index.html[/URL]
(currently - android-sdk_r06-windows.zip) but get the latest
2. Extract the Android SDK .Zip file to C:\ (may help to re-name the folder to a shorter name, in this tutorial it will be C:\android\ )
3. Run SDK Setup.exe
4. Click "Settings" and check the "Force [URL]https://.[/URL].. sources ..." option
5. Click "Available Packages" and download the "USB Driver Package"
6. On your phone, click Settings > Applications > Development and make sure USB Debugging is on.
7. Plug your phone into your computer via USB cable.
8. Go into device manager: Start --> Search for "device manager"
9. Here we are checking the driver which is installed for your Hero, you may see either of the following scenarios:
Other Devices > ADB
or
Android Phone > My HTC
Either way you should do the following:
Right Click > Update Driver > Browse > C:\android\usb_driver > Next and it should install "Android Composite ADB Interface"
10. Type the following into the command prompt window (Start > Search > "cmd") and enter the following hitting enter at the end of every line:
cd c:\android\tools\
adb devices
You should see a serial number pop up, it’s the serial number of your phone. This means you are all set.
If you do NOT see a serial number, then we need to reinstall the drivers.....
end cut off due to size limits
nice
i`m sure it will help alot of people out, it took me a whole day to sort mine out.
cheers
nice one. you've just summarised my last sunday afternoon. great to have this all in one place. needs to be a sticky imho.
Nice Tutorial... Please give me the SPL version and Radio Version of the Hero that this worked on.
brettf said:
Nice Tutorial... Please give me the SPL version and Radio Version of the Hero that this worked on.
Click to expand...
Click to collapse
The radio was different on both the devices tested and I am fairly certain it has no effect on whether you can do this procedure or not. They are now both flashed with the latest radio.
I have no record of the "SPL versions". Again I'm not really sure how this is relevant?
This guide assumes the user has no knowledge of these things and have made no previous modifications to their phone (besides standard updates)
You'll have to bear with me as I'm pretty new to all this as well. The guide was made because I found the others extremely difficult to follow. I'm glad to see by the other posts that I am not the only one
Im doing this now, my Hero was delivered this morning and i was looking for in depth instructions so I cant go wrong. This looks bang on,... Just about to start section II (creating Goldcard) but thought i'd better put up some thanx 1st.
Wish me luck, i'm assuming it'l all go ok, i'l post again once its done.
Thanks again BTDAG.
Peace
Guys I'm stuck,... Section II, part 10, Mount your SD card on your phone so that it shows up on your computer as "Removable Disk".
Through the setting on my phone I can only select "UNMOUNT SD CARD"!!! Arggghhhh!!!
Can anyone help please?
AHA,... That'l teach me to not read the whole thing 1st!!!!!!
In section III, part 3,... You have put "pull down the notification bar and click on the SD card notification. Then click mount." .... Maybe edit the 1st post and put it in (for the idiots like me).
Thanks though.
ddotpatel said:
AHA,... That'l teach me to not read the whole thing 1st!!!!!!
In section III, part 3,... You have put "pull down the notification bar and click on the SD card notification. Then click mount." .... Maybe edit the 1st post and put it in (for the idiots like me).
Thanks though.
Click to expand...
Click to collapse
I had no idea that was in the wrong order, thanks for pointing it out. I'll edit that now!
I had to figure most of this out as I was going so i quickly forgot what I did differently. The more people point out the better the guide will get! XD
Great guide.
Add it as a Wiki... it will not get a sticky!
nprussell said:
Great guide.
Add it as a Wiki... it will not get a sticky!
Click to expand...
Click to collapse
Thanks. I love your ROM's and can't wait for the next Villain release.
Already done as I figured as much.
Oh my god!! Im was having an absolute mare!!!!!
Was trying to downgrade the rom,... but HTC Sync would not connect (Part III, no 3), everything else was ok... 1st i ignored it and just carried on, started flashing, phone went into that 'Fastboot' bit where there are the Android thingies on skateboards, but then failed, came up with an error message, then froze. I had to take the battery out!!!
Started up fine though.
So i gave up for a while to stop me from throwing my laptop against the wall!!!
But the missus has just got home so im booting up her XP lappy, thought it might be cos im using Win7 64bit. So here goes again!!!!
question:
i Would like to install a custom Rom on Hero
i have two micro SD cards ( 2GB i 8GB )
1. I would like to use 8GB card for apps and music...
Do I have to create a "Gold Card" on the 8GB card, or can I use the 2GB card to creat "Gold Card"?
2. Durin the installation of a Custom Rom, do I have to put in the phone the "Gold Card" (2GB), or can I put the 8GB card?
And
3. if I want to "roll back" the original ROM, can I do that just simpley by puting in the "Gold Card" and rolling back te rom saved on Gold Card?
THX
(sorry for my English)
ddotpatel said:
Oh my god!! Im was having an absolute mare!!!!!
Was trying to downgrade the rom,... but HTC Sync would not connect (Part III, no 3), everything else was ok... 1st i ignored it and just carried on, started flashing, phone went into that 'Fastboot' bit where there are the Android thingies on skateboards, but then failed, came up with an error message, then froze. I had to take the battery out!!!
Started up fine though.
So i gave up for a while to stop me from throwing my laptop against the wall!!!
But the missus has just got home so im booting up her XP lappy, thought it might be cos im using Win7 64bit. So here goes again!!!!
Click to expand...
Click to collapse
O Windows 7 64-bit needs different drivers. I have attached them here to the original post. I am also on 64-bit but completely forgot about those hassles. Thanks for the reminder.
ico86 said:
question:
i Would like to install a custom Rom on Hero
i have two micro SD cards ( 2GB i 8GB )
1. I would like to use 8GB card for apps and music...
Do I have to create a "Gold Card" on the 8GB card, or can I use the 2GB card to creat "Gold Card"?
2. Durin the installation of a Custom Rom, do I have to put in the phone the "Gold Card" (2GB), or can I put the 8GB card?
And
3. if I want to "roll back" the original ROM, can I do that just simpley by puting in the "Gold Card" and rolling back te rom saved on Gold Card?
THX
(sorry for my English)
Click to expand...
Click to collapse
1. The gold card is only used to allow you to downgrade (as far as i'm aware) so you can use the 2GB as gold card and 8 GB for music but... (see next)
2. I have no idea, probably best to leave the gold card in and replace it when the ROM is flashed but I don't think it is mandatory. I do however, have no idea how long it is needed for. Just make sure you format the card you're going to use through the phone when you insert it for the first time.
3. If you want to go back to your Orange or T-Mobile ROM from HTC all you have to do is use the latest .exe you get from HTC's support website. Once again it is probably best to format your SD card after first boot.
The only thing that's stopping me from trying this out is the goldcard thing - I really don't want to format my 8Gb card. I could use the 2Gb one from my old G1, but it's going on eBay in the next week so if I needed the exact same goldcard at some point in the future then I'd be stuffed.
I suppose that I'll just have to live without the glory of being rooted for now!
thedoccwc said:
The only thing that's stopping me from trying this out is the goldcard thing - I really don't want to format my 8Gb card. I could use the 2Gb one from my old G1, but it's going on eBay in the next week so if I needed the exact same goldcard at some point in the future then I'd be stuffed.
I suppose that I'll just have to live without the glory of being rooted for now!
Click to expand...
Click to collapse
You could backup the data on the 8Gb card (i.e. copy and paste it to a folder on your pc) then format it and restore any music / pictures etc back to it. Just avoid replacing any old settings files specifically related to the HTC widgets, that is where problems occur.
O i'm also fairly certain you won't need the gold card again unless you go back to the official HTC releases and need to downgrade again and there is no harm to making your 8GB a gold card in the future as you can still back-up and restore the data you wish to keep on it.
wow nice guide, bookmarked! i spent ages looking for all the info about a month ago.
ive decided that i only really need to install a custom ROM when htc decide not to offer official updates anymore.
btdag said:
You could backup the data on the 8Gb card (i.e. copy and paste it to a folder on your pc) then format it and restore any music / pictures etc back to it. Just avoid replacing any old settings files specifically related to the HTC widgets, that is where problems occur.
O i'm also fairly certain you won't need the gold card again unless you go back to the official HTC releases and need to downgrade again and there is no harm to making your 8GB a gold card in the future as you can still back-up and restore the data you wish to keep on it.
Click to expand...
Click to collapse
No, no, no, you're meant to say something like 'ahh, probably for the best that you don't bother for now then'. The slightest pro-rooting comment is going to have me going for it! Still, it is character building, I suppose. And I did feel much better for having done it to my G1...but can I be bothered to do it at this time of night?!?!
mobydeek said:
wow nice guide, bookmarked! i spent ages looking for all the info about a month ago.
ive decided that i only really need to install a custom ROM when htc decide not to offer official updates anymore.
Click to expand...
Click to collapse
but your missing out on so much now

[Tutorial] install kitchen in linux en use it! tutorial thanks to theunlockr

Heey everyone here the quide for how to set up kitchen in linux virtualbox
Not made by me but made by the amazing guys from the unlockr Thanks!!!
Part 1
[I Before you begin]
1. This ONLY works for HTC Android devices at the moment, Also other devices!
[II. Download a Virtual Machine and Set It Up.]
1. Download VirtualBox for free from here (the one for Windows Hosts at the top). Then click next on the setup process until it installs.
2. Open VirtualBox and click on New.
3. Name the New Virtual Machine whatever you want (we named it Linux for simplicity’s sake).
4. For Operating System choose Linux, then choose Ubuntu for Version and click next.
5. Click Next again leaving the Memory Setting at what it is preselected at (should be 384mbs).
6. Click Next on the Boot Disk screen as well leaving boot hard disk and create new hard disk both selected.
7. Keep clicking Next until you get to the slider that asks how much space to set for the Linux. Move the slider to 8Gbs and click next.
8. Click next until it is done and shows you the original screen you started on but now with the Linux Machine Powered Off on the left.
[III. Install Linux Ubuntu on the Virtual Machine]
1. Download Ubuntu from here.
2. Once it is downloaded, in the VirtualBox program, click the Start button at the top.
3. Close out all the warnings that come up.
4. Then click on Devices > CD/DVD Devices > More CD/DVD Images… then select the .iso image for Ubuntu you downloaded.
6. Follow the prompts on the screen to install Ubuntu on your Virtual Machine.
7. Once it is installed and reboots, goto Applications > Accessories > Terminal and type this line with hitting enter at the end:
sudo apt-get install sun-java6-bin sun-java6-jre
It will ask you for a password, type in the password you created when you went through the Ubuntu installation process (it asked you for it before finishing the install).
Then it will ask you y/n. Hit y then enter. Then when it shows you the terms and conditions, hit right arrow on your keyboard and click enter to select ok. Then hit left arrow on your keyboard and enter to select Yes.
*NOTE – Your keyboard and mouse will not function on your regular computer once you use them in the Ubuntu virtual machine. To re-enable them, click the Ctrl button on the right side of your keyboard.
**IF YOU GET AN ERROR INSTALLING THE JAVA FILES,
Download the java files manually FROM INSIDE THE EMULATOR/LINUX using Firefox here:
Java6 Bin
Java6 Jre
Then open the Terminal App in Ubuntu and type this with hitting enter at the end of the line:
sudo dpkg -i sun-java6-jre_6.18-4_all.deb sun-java6-bin_6.18-4_i386.deb
And that should fix it.
[IV. Download and Setup The Android ROM Kitchen]
!THIS NEXT SECTION NEEDS TO BE DONE WITHIN THE UBUNTU VIRTUAL MACHINE!
1. Click on the Firefox logo at the top of your Ubuntu installation (in the Virtual Machine).
2. Type this into the url box:
theunlockr.com/2010/03/26/how-to-create-your-own-custom-rom-for-android-part-1-setting-up-the-kitchen (to navigate to this page from within the virtual machine).
3. Now download the latest version of the kitchen file  in the first post from the link below(again from inside the Ubuntu installation on the virtual machine. We are doing this because we want to save this file in our Ubuntu Virtual machine, NOT our regular computer).
Kitchen
4. Again on the Ubuntu machine, Find the .zip file you just downloaded, right click it and click open with Archive Manager and then click Extract at the top.
5. Once you click Extract, it will ask you where. Double click the folder that has the name you created when you installed Ubuntu (my username was theunlockr so my folder is called theunlockr. It is the first folder under recently used in the list on the left). Then click Extract at the bottom right.
[V. Run the Android ROM Kitchen]
1. To run the Android ROM kitchen, click on Applications at the top of Ubuntu > Accessories > Terminal then type the following and hit enter:
./menu
2. You will now be greeted by the simple text menu of the application. Enjoy!
VI. Create Your First Custom ROM
=================================================
Part 2
Before You Begin
1. We are assuming you have already setup the Android kitchen. If not, use our How To Setup The Kitchen procedure and then come back to this one when done.
2. We are also assuming you have already done our How To Root and How To Load a Custom ROM for your phone and have a custom recovery image.
2. This ONLY works for HTC Android devices at the moment, Also other devices
3. Open the Kitchen in your Ubuntu Virtual Machine we created in the Kitchen Setup procedure by typing ./menu in the Terminal window in Ubuntu. Leave it open.
4. All of this is done INSIDE THE UBUNTU VIRTUAL MACHINE (that includes when I say “save to your computer” anywhere in here, means save to you Ubuntu Virtual Machine)!
II. Find a ROM to Dissect
There are two kinds of ROMs you can dissect to create your own custom ROM; Stock ROMs and Custom/Cooked ROMs. DsiXDA, creator of the ROM kitchen we are using, has put together a list of places to get stock ROMs for different devices and a quick how to load them into the kitchen:
From a Cooked ROM (Easiest Method):
1. Copy the update.zip (or equivalent ZIP file) to the original_update folder in the kitchen
2. Type the number for the option “Setup Working Folder from ROM” and hit enter in the Kitchen to create your working folder. (So if its number is 1, type 1 then hit enter).
From a Shipped ROM:
1. Find the shipped ROM for your device, usually from htc.com or from searching xda-developers (check the Wiki or sticky posts under your device’s sub-forum).
The links below may help:
2a. If the shipped ROM is in a .ZIP format, then simply extract the system.img and boot.img.
2b. If the shipped ROM is in .EXE format, then do the following:
A. In Windows, run the shipped ROM’s .EXE file till it gets to the first dialog. Stop there but don’t close the window yet.
B. Go to Start->Run and type: %TEMP%
C. When the folder opens, search for Rom.zip. Then, open it with an unzip tool. If you get errors trying to open the ZIP file with WinZip or the default Windows unzip program, then use 7Zip (download from here) to extract it.
D. Extract only two files from Rom.zip: system.img and boot.img
3. Copy the two .IMG files to your kitchen’s img_files folder in your Ubuntu Virtual Machine.
4. In the Terminal window that you opened in Section I, type 1 and hit enter to create a working folder from the two .img files.
Now, that you have either the update.zip in the original_update folder of the kitchen OR the system.img and boot.img of a shipped ROM in the img_files folder of the kitchen, you are ready to play with the ROM to make it your own.
III. Tweaking the Imported ROM Using the Automated Options in the Kitchen
So this is a basic kitchen, but you can do things like, add Root support, add/remove apps from the ROM, enable saving apps to the sd card, enabling Wifi tethering, do some automatic optimizations, and a few other things automatically just by selecting the option and hitting enter. It even allows you to put in your own scripts for the ROM to run (but that’s for more advanced users who know how to create scripts of course).
1. After importing a ROM using section II, select the options you want to do to the ROM (by typing the number of the option you want into the terminal/kitchen window and hitting enter. They are all pretty self explanatory.)
2. Continue this until you have all the automated options you want in the new ROM.
IV. Adding/Removing Applications from the ROM
1. In your Ubuntu Virtual Machine, goto Places at the top. Then click on Home Folder, then the WORKING folder that was created in section II when you dissected the original ROM or img files. Then goto system > app. (Also check Data > App as .apks can be put in there as well).
2. In the app folder you will see all the .apk files for all the applications you have currently in the ROM. Simply delete the ones you do not want to remove them from the ROM.
3. To add applications, simply copy any .apk file for the applications you want to add into the app folder.
V. Repackage the ROM so it can be Flashed onto a Phone
1. Once you have done whatever changes you want, you just need to type 99 and hit enter in the kitchen/terminal for the kitchen to take the working folder you have been messing with and compile it into a flashable update.zip ROM.
2. Once it is done compiling the ROM, we can transfer it to our phone.
VIa. Setup Ubuntu to See Your Phone via USB
1. In the Virtual Box windows with Ubuntu in it, click on Devices at the top then click Install Guest Additions. (It should autostart, if it doesn’t, click on the CD that appeared on the desktop in Ubuntu and then click on Autostart.sh. It will ask you for your password you created when setting up Ubuntu, put that in and let it install).
2. Once the Guest Additions are installed, close the Virtual Box Ubuntu Window (choose to Power Down the Machine).
3. Now, open Virtual Box itself (not Ubuntu) and highlight the Ubuntu machine, then click on Settings at the top.
4. Click on USB and make sure Enable USB Controller and Enable USB 2.0 are both enabled.
5. Now plug in your Android phone (do NOT mount the SD card, just plug it in).
6. Now in the USB menu of Virtual Box, click the + symbol on the right and then select your Android Device (name may be different).
7. Once that is installed, unplug your phone.
8. Now, Start your Ubuntu Virtual Box.
9. Once Ubuntu boots up, plug in your Android phone (do not mount the memory card yet) and look for the USB symbol at the bottom (fourth icon from the left) and hover over it and wait for it to say USB Device detected and display your phone. Once that happens, mount the sd card by pulling down the notification bar on your phone and clicking mount.
10. Ubuntu should pop up your SD card on the desktop (if any prompts come up just select do nothing and click ok). We can now transfer files to the memory card of our phone.
VIb. Use RapidShare to Transfer the File from Ubuntu to Windows (if Section VIa was giving you trouble)
1. If you can’t get the USB to work in Ubuntu, then simply open a Firefox browser window, goto Rapidshare.com and upload the ROM to there.
2.Once it is done uploading, ON YOUR WINDOWS COMPUTER NOT UBUNTU, put in the link it gave you when you finished uploading it, to download it to your Windows computer so we can transfer it to your phone.
VII. Flash the ROM
5. Copy the .zip file to the root of your SD card (NOT in any folders, just on the SD card itself).
6. Unplug the phone and turn it off.
7. Turn it back on by holding down home and power (do not let go until the recovery screen comes up) to get to recovery mode (you must have a custom recovery screen to do this, if you don’t find out How To Root and Load a ROM procedure for your phone and do those first).
8. Now select Nandroid Backup to create a backup before we flash the new ROM.
9. Once the backup is done, select Wipe Data / Factory Reset in recovery mode.
10. Select flash zip from sd card and select the ROM you just put on the sd card.
11. Once it is done flashing, click reboot. Enjoy!
Enjoy! Will update this as we add more things for you to tweak Feel free to suggest some in the meantime.
Thanks to DsiXDA for his awesome kitchen!
Thanks to Theunlockr For the amazing Guide !!!
greetings safariking
Video tutorials:
Part 2:http://www.youtube.com/watch?feature=player_embedded&v=q-1ErGSW0ik
Part 1: http://www.youtube.com/watch?feature=player_embedded&v=94Az1kcQvc4
Thanks safariking!
Thanks
very good tutorial thanks
Hi there
Does Android Kitchen Only work in virtual Machine for Ubunty? I have a full installtion of Ubunty and when I type ./menu at the terminal "no such file or directory" followed the installation video but I ain't getting nowhere
Cheers
atomicsoul said:
Hi there
Does Android Kitchen Only work in virtual Machine for Ubunty? I have a full installtion of Ubunty and when I type ./menu at the terminal "no such file or directory" followed the installation video but I ain't getting nowhere
Cheers
Click to expand...
Click to collapse
no.
kitchen can be used on all Linux/Unix OS.
中国人正在尝试提高!
(translation:Chinese people are trying to improve themselves!)
Very nice job. We thank you for your time and effort for writing all of that
Thanks
Sent from my GT-S5660 using xda premium
Just a note: linux isnt required
You can use windows, but does require to install cygwin (linux like terminal)
Sent from my GT-S5660 using xda premium

Unbrick ouya even if erased everything as long as you have clockworkmod on it

How to unbrick your ouya as long as adb is on and you have a clockwork mod recovery installed
I bricked my ouya recently so i just thought i would share this,it's going to work even if you completely erased all data and all caches in your clockworkmod recovery,this includes erasing sd card and even if you have boot menu and it won't show your nand as green lit but red lit,the nand is the chip that has the firmware on it if your not sure what it is.
This is for xp but i think it will work in other windows versions but don't quote me?It took 48hrs of perseverance for me to figure this out, And then to write this, i had to flit from page to page online copying links and reading it all over again,some comes from memory,other bits of the tutorial i made up my self and sussed it out on my own with no help,i had to click rename and copy file names in places in this tutorial.But it works and it rebuilds the ouya no mater what you did.
You could have erase the memory in clockworkmod completely,even if you wiped the dalvick cache and/or thesd card patition at the same time and/or clicked full factory reset after, no matter what you erased or how you did it even if you used the whole lot of every erase option applied from clockworkmod recovery on your ouya,
This restores it to factory,it even removes the boot menu software that i added and found [email protected] up my ouya completely after trying to add a boot img for the cynagenmod i put on over the top of my system by accident, then killed all data caches erasing them all i even erased my sd card data leaving my ouya completely bare of anything.
This is for others like me that only have the OUYA? next to device in the device manager in windows xp,i had so much trouble getting it going and i found a very quick easy couple of click fix for it,i could then adb command the ouya over a micro usb cable and rebuild it,You need to have the adk bundle for windows installed and the sets of tools needed for the current platforms this maybe api's not sure? just have the ones i use which are 14,16,17,18,19 and the google usb driver you may not need them all i may have more than needed but i don't know so best use what i have as it works for me,i am not going in depth on adding this but you can look here https://devs.ouya.tv/developers/docs/setup for info on the sdk install procedure just get the platforms i have as well as the guides listed platforms to install you'll see a picture of the sdk on this page so just use that as a guide.
So on with the guide then:
STEPS
STEP 1.Turn on ouya and go into clocklworkmod recovery menu and select install from zip then select sideload adb option and leave the console running in this mode please.Go here http://visualgdb.com/UsbDriverTool/ copy and paste that link in a new tab into the address bar and head down the page a little to the bit that says Downloading click the link that says UsbDriverTool-sfx.exe,you then get a page asking to save the file so save it where you can remember.Leave the page open and move onto step 2.
STEP 2. Open a new tab in the browser and paste this link: http://visualgdb.com/tutorials/android/ouya/ into the address bar and hit enter (return key).Now connect the ouya to the pc via micro usb cable and follow step 2. and step 3. from the current webpage you are on.You should now have Ouya ADB device or similar in the device manager meaning it works now.
STEP 4.install powertoy for windows xp don't ask me for a link this is going to be something you have to do as can't remember,it allows command on right clicking a folder this is a much needed thing for this job.
STEP 3. open a new tab in the browser and go here http://forum.xda-developers.com/showthread.php?t=2266629 and download the file named 1.0.68-r1 Download Changelog click the orange changelog writing to download and copy the downloaded file called RC-OUYA-1.2.995-r1_ota.zip by opening c:/ adt-bundle-windows-x86-20140321 or simlarily named folder residing in c: drive and then go into sdk folder then go into platform tools folder and paste the RC-OUYA-1.2.995-r1_ota.zip file in there, return to the c: drive ,then go to the folder called adt-bundle-windows-x86-20140321 or similarily named folder againand then into sdk folder again then highlight the platform tools folder with right click and click on open command window here leave this window open now.
STEP 4. Provided the command window is now open and the ouya was correctly set and enabled from STEP 1 and STEP 2. earlier,and STEP 3.. is completed you should now have the ouya on micro usb with the adb mode enabled and showing up as such in device manager, and you should now be sitting in the clockworkmod recovery in adb sideload mode on your ouya console ,go to the command window you left open in STEP 3. and simply type adb sideload RC-OUYA-1.2.995-r1_ota.zip ,this should now install the zip and after it is done you reboot the console from restart option in clockworkmod recovery and you should boot up fine and will have successfully repaired (unbricked) the ouya.
JOB DONE PHEW!
PHYSC-1 said:
How to unbrick your ouya as long as adb is on and you have a clockwork mod recovery installed
I bricked my ouya recently so i just thought i would share this,it's going to work even if you completely erased all data and all caches in your clockworkmod recovery,this includes erasing sd card and even if you have boot menu and it won't show your nand as green lit but red lit,the nand is the chip that has the firmware on it if your not sure what it is.
This is for xp but i think it will work in other windows versions but don't quote me?It took 48hrs of perseverance for me to figure this out, And then to write this, i had to flit from page to page online copying links and reading it all over again,some comes from memory,other bits of the tutorial i made up my self and sussed it out on my own with no help,i had to click rename and copy file names in places in this tutorial.But it works and it rebuilds the ouya no mater what you did.
You could have erase the memory in clockworkmod completely,even if you wiped the dalvick cache and/or thesd card patition at the same time and/or clicked full factory reset after, no matter what you erased or how you did it even if you used the whole lot of every erase option applied from clockworkmod recovery on your ouya,
This restores it to factory,it even removes the boot menu software that i added and found [email protected] up my ouya completely after trying to add a boot img for the cynagenmod i put on over the top of my system by accident, then killed all data caches erasing them all i even erased my sd card data leaving my ouya completely bare of anything.
This is for others like me that only have the OUYA? next to device in the device manager in windows xp,i had so much trouble getting it going and i found a very quick easy couple of click fix for it,i could then adb command the ouya over a micro usb cable and rebuild it,You need to have the adk bundle for windows installed and the sets of tools needed for the current platforms this maybe api's not sure? just have the ones i use which are 14,16,17,18,19 and the google usb driver you may not need them all i may have more than needed but i don't know so best use what i have as it works for me,i am not going in depth on adding this but you can look here https://devs.ouya.tv/developers/docs/setup for info on the sdk install procedure just get the platforms i have as well as the guides listed platforms to install you'll see a picture of the sdk on this page so just use that as a guide.
So on with the guide then:
STEPS
STEP 1.Turn on ouya and go into clocklworkmod recovery menu and select install from zip then select sideload adb option and leave the console running in this mode please.Go here http://visualgdb.com/UsbDriverTool/ copy and paste that link in a new tab into the address bar and head down the page a little to the bit that says Downloading click the link that says UsbDriverTool-sfx.exe,you then get a page asking to save the file so save it where you can remember.Leave the page open and move onto step 2.
STEP 2. Open a new tab in the browser and paste this link: http://visualgdb.com/tutorials/android/ouya/ into the address bar and hit enter (return key).Now connect the ouya to the pc via micro usb cable and follow step 2. and step 3. from the current webpage you are on.You should now have Ouya ADB device or similar in the device manager meaning it works now.
STEP 4.install powertoy for windows xp don't ask me for a link this is going to be something you have to do as can't remember,it allows command on right clicking a folder this is a much needed thing for this job.
STEP 3. open a new tab in the browser and go here http://forum.xda-developers.com/showthread.php?t=2266629 and download the file named 1.0.68-r1 Download Changelog click the orange changelog writing to download and copy the downloaded file called RC-OUYA-1.2.995-r1_ota.zip by opening c:/ adt-bundle-windows-x86-20140321 or simlarily named folder residing in c: drive and then go into sdk folder then go into platform tools folder and paste the RC-OUYA-1.2.995-r1_ota.zip file in there, return to the c: drive ,then go to the folder called adt-bundle-windows-x86-20140321 or similarily named folder againand then into sdk folder again then highlight the platform tools folder with right click and click on open command window here leave this window open now.
STEP 4. Provided the command window is now open and the ouya was correctly set and enabled from STEP 1 and STEP 2. earlier,and STEP 3.. is completed you should now have the ouya on micro usb with the adb mode enabled and showing up as such in device manager, and you should now be sitting in the clockworkmod recovery in adb sideload mode on your ouya console ,go to the command window you left open in STEP 3. and simply type adb sideload RC-OUYA-1.2.995-r1_ota.zip ,this should now install the zip and after it is done you reboot the console from restart option in clockworkmod recovery and you should boot up fine and will have successfully repaired (unbricked) the ouya.
JOB DONE PHEW!
Click to expand...
Click to collapse
Quick follow up,you can sideload over adb if it's turned on,this applies to standard recovery as wel.So you can unbrick using the adb sideload method above even with a stock ouya to unbrick it guys/gals.

[Guide] Pre, Rooting and After Defy Mini detailed for beginners

I am beginner too, and i am not a developer for sure. But did many tests with available methods for root, all of it do not work properly for my ROM. And I also tried provable method with ROM, like Orange_Spain. Yes its root is easy and fast and work properly, but my rom is not Orange_Spain .
So i spend a few days to try, test and combined available methods for root my Mini, and i think i find out the universal and safe root method by combined other available methods. And now i believe that combined method is universal for use. Anyway the rooting is a kind of hacking, and when u did something like that, is very possible to received any bugs or to brick the phone. But if u really want to root the Mini, if this method don`t did it for your rom, try it once more time and be sure u did all as is described. Even if this still don`t work properly for your rom, i advice to do not give up, and to try find the solution.
The other reason to post my experience here, is to made one detailed guide, step by step for ppl without any experience about that.
The short version of the guide will be posted at the end of this post.
[THE GUIDE]
I. THE PRE - things u need to do before start the rooting process.
*Make a backup of your Phone, the backup of the files in the sd card is easy. U can also search and download a bunch of software which can did u full backup of your ROM. And once u have the backup save it to ur PC. Or u can find your firmware ROM here. There a lot of firmware ROMs.
*u can check your ROM version, by tap Settings->About the phone and scroll down to "software version". Different ROMs may have a lil bit various menus.
1. Download and install on your PC the following software: - i used random share site and if you don`t trust about my links, u may find the following files and software from other sources.
RDS lite -this is your software necessary to flash
the phone
MotorolaDeviceManager - sotfware drivers for ur Mini.
Minitool Partition Wizard -this is your software (Windows OS) to made an ext partition on sd card.
2. Now download this package
root_xt320 -it is the files shared from user @rootdefyxt320
II. THE ROOT
1. Remove the SIM card. - this is not necessary, it it just in case to not leak ur SIM internet, and to not slow the following procedure in case if u have many contacts on ur SIM.
2. Check do u have fastboot mode on your phone. U can do it by - first - power off the phone and second - press and hold for few seconds both VOL -(minus), VOL+ and POWER buttons. If u have fastboot mode on the screen u will see on the top that inscription - fastboot mode, if u dont have fastboot mode u will seee on the screen one big image of the android cartoon and some open package .
So my rom don`t have fastboot mode, but neither your phone have i it, i advice to execute the following step 3, which main reason is to obtain the fastboot mode but i feel is not only about that. The whole process is explained from point 3. to 3.16. bellow.
3. To do it you must did the method posted by user @rootdefyxt320 in this tread.
I will try to describe the method a lil bit detailed for absolute beginners and a lil bit different step-by-step adapted for my method
It is -
3.1. Power off the phone
3.2. Make a new folder on your PC. Now download MotoAndroidDepacker and SBF-recalc.
3.3. Now, u already must have a backup of ur ROM, by doing it by ur own, like is mentioned at the start of the tread, or u must have already downloaded ur desired firmware ROM from here, anyway the file extension must be .sbf. Check this before to proceed bellow.
3.4. Make a new folder on ur PC, then copy MotorolaAndroidDepacker and ur .SBF ROM (it is mentioned in previous step 3.3.).
3.5. Start MotorolaAndroidDepacker(MAD) by clicking on it icon and select the button 'Open From file', then select the SBF (it is mentioned in previous steps 3.3. and 3.4.)file and open that file. If u r truly beginner, just select ur .sbf file, then press F2 on ur PC keyboard and rename the file to "Bunny.sbf".
3.6. Now on working screen of MAD click on the button 'Split to folder'. After that u must received a new folder in ur main folder, with the same name like the splitted .sbf, but with the word '-extracted' at the end. In example if ur .sbf file which u splited already is named "bunny", then the folder which u will received will be named "bunny-extracted". And i will use that name in following steps of explanation. And this new folder must contain three files - CG2.smg, firmware.hmg and RAMDLD.smg.
3.7. Again select the button 'Open from File' on MAD and change the selection of file type to 'MOTOBLUR mbn image (*CG2.smg)'. And open the CG2.smg file which u received in step 3.6. And hit 'Split to folder' again. Now in ur last current folder, u will received a new folder, named "CG2-extracted".
3.8. Now download these files, posted by user @rootdefyxt320. Unzipped the files, then copy all files and pasted and replaced it in the folder named "CG2-extracted".
3.9. Now on ur still opened MAD, select 'Open Files Folder' and open the folder named "CG2-Extracted" . Hit 'compile file' option. Now in the last current folder named "CG2-extracted" u will received a new folder called "rebuilt". That folder contain a new file named CG2.smg. Now copy that file CG2.smg and the files, named "firmware.hmg" and "RAMDLD.smg" from the folder named "Bunny-extracted", and put all these three files in in the new, fresh folder, named "Final".
3.10. Open SBF-recalc program, and select the button 'Open CG-Folder, and open the folder named "Final".
3.11. Now select 'Create SBF-File' and wait for a moment. After the process ended u will received a new folder in the last current folder which we named "Final". That new folder must contain just one file, named firmware.sbf. Can copy that file in one fresh folder or just on PC desktop. Anyway next step which u need to do is to flash that final "firmware.sbf" to ur phone.
3.12.To do it u need to put the phone in flash mode by pressing and hold both VOL -(minus), CAMERA and POWER buttons.
3.13. Plug in the phone to the PC through your USB cable.
3.14. Start RSDlite. If all is fine on the working screen of the RSDlite u must view the message that prove ur phone is connected to the pc in real. Now using RSDlite open that final "firmware.sbf" file which u received at the end ot the step 3.11
3.15. Press start, and wait until RSDlite flash the phone with the new .sbf file. At the end of the process, on the working screen of RSDlite u may see messages like - "PASS" or "Manually start ur device" or "in processing". Anyway, the important is to check is that in the working screen of the RSDlite the whole process is ended on 100%.
3.16. Now unplug ur phone. And then if ur phone is not powered on, just powered on.
4. Connect ur phone to the the PC via USB.
*NOTE - check if ur phone if is connected to the PC in real. If is not, try these simple steps - u may did that - unplug the phone and did restarts on it. After this if it can not connected again to the PC, do this on PC - right click on "My computer"", then click on "manage" -> device manager->universal serial bus controllers, and then uninstall "composite USB". Restart the PC. Wait until Windows install the drivers in fresh and then plug in ur phone to the USB.
5. On ur phone tap Settings->Applications->Development->tap "USB debugging mode" and pres OK, also check "Stay awake" is on. The first one is necessary and the second one is to not sleep ur screen til the process.
6. Copy .zip file named Update.zip to ur sd card.
7. Copy the folder named "root_xt320". (u must have it if u did this tutorial step-by-step) to the C: of ur PC.
8. On ur Windows PC, go to Start menu, and type cmd. It will prompt to u, the windows command window.
*note if u don`t know what is cmd, and how to use it find any tutorial on the net.
9. On cmd prompt window, navigate to ur PC C: , usually by typing twice the command - cd.. Anyway u need to navigate by cmd window to the folder named root_xt320. Once u r in the C: dir u must type in the cmd prompt the comand - cd root_xt320. Once u are in the root_xt320 on the cmd u must did the following steps - 10 and 11.
10. On cmd, type - adb reboot-bootloader and wait until ur phone load in fastboot mode.
11. After this, on cmd, type - fastboot boot recovery.img
*NOTE - if u dont understand this, go and watch that video from 24 minute to 27 minute.
12. Now, on ur phone screen must appear the menu, which offer u some option. U must navigate up or down, by presing VOl- or VOL+ buttons on the phone.
13. Navigate to "install zip from sdcard" and install it, probably the button for execute will be the POWER button
14.Then u will see menu with "choose zip from sd card". select it and execute by pressing POWER button
15. Navigate to "yes instal update.zip" and execute.
16. Navigate to "Yes - install fix root" and execute.
17. Use back button on ur phone, navigate to "reboot", and execute.
18. Now ur phone is rooted, go to the apps, u must see a new app, named "Superuser".
*NOTE - if u don`t understand how to do it, read this post.
19. Unplug the phone from USB.
20. Now, in case u r removed ur SIM in the first step, just install it on the Phone.
Now connect ur phone, start via USB.
Now on ur PC, start MiniTool Partition Wizard program. Go in youtube and find out tutorial, how this progam work The important thing u must know is what is the version of android ROM on ur phone. U can check your ROM version, by tap Settings->About the phone and scroll down to "software version". Then go to wiki here to understand what is the name or ur version. If is it a Gingerbread u must did the ext part via MiniTool Partition Wizard on ur sd card as ext4. For other android version, i don`t guaranteed.
And after u made a ext partition on ur sd card u can proceed bellow.
II. THE AFTER
*This is the most tricky part for me. And what we must to do:
After the successful root in the previous section, the first u need to do is:
1. Connect the phone through Wi-fi. Log on Google Play store, and find and install the app, named "link2sd". After its done, turn off the Wi-fi connection.
2. Start Link2sd, follow instructions - if all is fine it will do reboot on ur phone.
*If u can`t understand this, find a tutorials how to use Link2sd on the web.
2.2. After the restart, navigate on ur android and start Link2sd again.
3. Now start WI-fi and go in Google Play store, and wait. Wait until u received a huge Google Play services app on ur internal memory.
3.1. Now turn off ur WI-fi, and on ur phone tap Settins->Manage Apps->Google Play services and then uninstall it.
3.2.And it must not appear on ur internal, or even on ur phone, anymore. But u can still use Google play store without problems.
3.3. Now u can turn on ur WI-fi.
4. Now using Link2sd, we need to linked the apps to the sd. On Link2sd menus, use to show apps in internal memory first, and then apps with largest size. This will show the largest apps using internal memory, and we need to move them.
5. So, now tap on the desired app, and then tap on "link to SD card". Probably u will get the window which tell u the process is failed, but don`t worry. Now tap -> previous, and using Link2sd options, find out the section called "Clean up the 2nd partition", tap on and clear it.
Now u must repeat this for every app that u want to link to sd card.
After u finish with all ur desired apps, reboot the phone.
The apps, will still use some part of the internal memory, but a very less than before.
Personally, after i did and all above, i got used internal memory, just about 25MB.,
6. I advice to non check auto link new apps in ur Link2sd Settings. Just after download a new app,check if it can be moved to sd card. If can not, link it to sd as it is described in point 5. above.
7. After all u can move to sd card the our main app Link2sd, just using ->Manage apps->Link2sd->Move to SD.
And as final, after i did my guide, i installed, uninstalled new apps, did many restarts of the phone, and it still to be stable and apps working fine. And Google play services don`t appear anymore, but u can continue use Google Play store to install and use apps.
8. Now u can start to freeze or uninstall apps, using Link2sd at ur own risc.
IV. IN ADDITION
That i did not figure out it is how to and if it`s possible to link the apps cache to the sd card.
----------------------------------
[THE SHORT GUIDE]
I. THE PRE - things u need to do before start the rooting process.
*Make a backup of your Phone, or u can find your firmware ROM here. *
II. THE ROOT
1. Remove the SIM card. -
2. To get new .SBF with fastboot for ur original ROM use the method posted by user @rootdefyxt320 in this tread.
3. Connect ur phone to the the PC via USB.
4. On ur phone tap Settings->Applications->Development->tap "USB debugging mode" and pres OK, also check "Stay awake" is on.
5. Copy .zip file named Update.zip from folder named root_xt320 to ur sd card.
6. Copy the folder named "root_xt320" to the C: of ur PC.
7. On ur Windows PC, start CMD console
8. Using CMD, navigate to root_xt320 foldel
10. On cmd, type - adb reboot-bootloader and wait until ur phone load in fastboot mode.
11. After this, on cmd, type - fastboot boot recovery.img
12. Now, on ur phone screen must appear the menu, which offer u some option. U must navigate up or down, by presing VOl- or VOL+ buttons on the phone.
13. Navigate to "install zip from sdcard" and install it, probably the button for execute will be the POWER button
14.Then u will see menu with "choose zip from sd card". select it and execute by pressing POWER button
15. Navigate to "yes instal update.zip" and execute.
16. Navigate to "Yes - install fix root" and execute.
17. Use back button on ur phone, navigate to "reboot", and execute.
18. Now ur phone is rooted, go to the apps, u must see a new app, named "Superuser".
19. Unplug the phone from USB.
20. Now, in case u r removed ur SIM in the first step, just install it on the Phone.
Now connect ur phone, start via USB.
Now on ur PC, start MiniTool Partition Wizard program. If is it a Gingerbread u must did the ext part via MiniTool Partition Wizard on ur sd card as ext4. For other android version, check on the next in what ext must be formated.
And after u made a ext partition on ur sd card u can proceed bellow.
II. THE AFTER
1. Connect the phone through Wi-fi. Log on Google Play store, and find and install the app, named "link2sd". After its done, turn off the Wi-fi connection.
2. Start Link2sd, follow instructions - if all is fine it will do reboot on ur phone.
2.2. After the restart, navigate on ur android and start Link2sd again.
3. Now start WI-fi and go in Google Play store, and wait. Wait until u received a huge Google Play services app on ur internal memory.
3.1. Now turn off ur WI-fi, and on ur phone tap Settins->Manage Apps->Google Play services and then uninstall it.
3.2.And it must not appear on ur internal, or even on ur phone, anymore. But u can still use Google play store without problems.
3.3. Now u can turn on ur WI-fi.
4. Now using Link2sd, we need to linked the apps to the sd. On Link2sd menus, use to show apps in internal memory first, and then apps with largest size. This will show the largest apps using internal memory, and we need to move them.
5. So, now tap on the desired app, and then tap on "link to SD card". Probably u will get the window which tell u the process is failed, but don`t worry. Now tap -> previous, and using Link2sd options, find out the section called "Clean up the 2nd partition", tap on and clear it.
Now u must repeat this for every app that u want to link to sd card.
After u finish with all ur desired apps, reboot the phone.
The apps, will still use some part of the internal memory, but a very less than before.
Personally, after i did and all above, i got used internal memory, just about 25MB.,
6. After all u can move to sd card the our main app Link2sd, just using ->Manage apps->Link2sd->Move to SD.
Framaroot doesn't work? Motorola Defy Mini is in the Supported devices list.
androidtester80 said:
Framaroot doesn't work? Motorola Defy Mini is in the Supported devices list.
Click to expand...
Click to collapse
I don`t know, i don`t tested that. I rooted my phone sucefully and aps and phone still working without problem. So don`t need to use other methods atm
can't move apps: what i did wrong?
hi!
this is a very nice tutorial, thank you. i done root as you described, but something went south.
root is ok, superuser apk is at its place, but i can't get rid of old apps.
when i use link2sd, i keep getting errors. tried several options of creating partition on sd card, ext4, fat32, no good. i tried to use app master, that was working nicely on my prestigio pap4044duo. app master is working fine, system is notifying about root access granted, everything cool but one small thing. after the process of moving system app (i.e. facebook or office) is finished, and app master shows no errors, that dear system app is still there like nothing happened.
any ideas?
tnx

Categories

Resources