Desde 0 hasta Aplicaciones en SD

He leido muchos articulos de procedimientos, recuperacion, app2sd, particionar y no habia encontrado nada tan simple y consolidado como este articulo o mejor dicho este post de foro en ingles, el cual les traemos a continuacion. Incluye desde hacer root hasta  Aplicaciones en SD, asi como rtambien etornar las aplicaciones a la memoria interna  (deshacer Apps2SD) y eliminar el modo root para llevar nuestros telefonos a garantia.



No me voy a esmerar ni en traducirlos porque soy partidario de que sin conocimientos basicos de linux y de ingles no se deberian  intentar estas cosas. Yo particularmente las he hecho todas siguiendo esta guia.

el autor es: crazyaboutapple
Y el foro se llama ForumsHardwareZone

Espero que la gente de @androidve complemente sus procedimientos con los tutos de aca y los traduzca para los que poco entienden o les cuesta seguir instrucciones en ingles.
Recomiendo visitar el articulo en el foro que constantemente los updatean pero dejo aca el procedimiento completo que yo segui y realice.

Post al 04/05/2010, luego de esto sigue un lote de buenas apps, visitenlo.
 --------------------------------------------------------------------------------------------------------------------------------
Highlight: this thread is created not for piracy purpose. This guide do not promote piracy as well. It is serve as an alternative to "enhance" the user experience on Motorola Milestone in terms of memory usage.

Warning:

1. Taking out the "Special Brew" MicroSD card from Milestone will render Milestone "unbootable". Hanging at "Starhub" that is what i mean.
2. Getting new MicroSD (upgrade to faster card or higher capacity), you will need to repeat the steps again.
- I am not able to "clone" the content from one card to another with my limited knowledge in Linux. Maybe there is a way to copy EXT2 partition but that is beyond my knowledge as of now.
- Another way to "overcome" this hassle is to perform a nandroid backup at some stage and rely on this backup. I will touch on that later.

**Disclaimer: i am not responsible for any accident should you decided to try the steps. This guide is compiled based on my own experience and it may differ from your. Attempt this at your own risk.**

===================== MicroSD card preparation =====================

Before anything happen, 1st step is to prepare the MicroSD card. Backup the content of your MicroSD card first as you will lose all data by executing the following steps!

*If you own Acronis Disk Director Suite, Paragon Partition Manager 9/10, you have an easier life. Go ahead to create 2 partition: FAT32 first, follow by EXT2 next. (Milestone will not detect the card if EXT2 partition is created first.)

If you don't own any of the above, go ahead and download Ubuntu (get Ubuntu here), burn it and restart your computer to load it up.

1. Choose "Try Ubuntu without installing to your computer" (this option will not install Ubuntu). Ubuntu will be loaded temporary so that you can use GParted to create EXT2 partition.

2. Once loaded, connect your MicroSD card to the computer using card reader (connecting to your Milestone might not work, i never try it so you can go ahead and experiment.)

3. Go ahead click on "System" at top menu bar and click on GParted to launch it.

4. Gparted will show your computer hard disk(s) first, look at the top right side of the window and select your MicroSD card from the dropdown list.
(failure to do so will render your computer unbootable as you are about to delete and create new partition!!!)

5. Once your MicroSD show up in the window, do a right-click on the partition(s) and select "Unmount".

6. After which, do a right-click again to click on "Delete" to do the oblivious - delete the selected partition.

7. Right-click on the unallocated space and select "New". New window will pop up and this is where you go ahead to create first partition: FAT32.
(ensure it is showing Primary Partition and format is FAT32)
- for me, i leave a 1GB out of my 8GB for EXT2 partition and use the rest for FAT32.

8. Right-click again on the leftover unallocated space on the right side and select "New" to create EXT2 partition.

9. Click on the green "Just Do It" which is just below the menu bar to execute the creation of the 2 partitions.

You should see that your creation is successful and you are one step closer now...


======================== "Rooting" your Milestone ===================

Next step to do is to "root" your Milestone.
Simply follow curious_george's steps: (i have copied his steps from another thread and paste it here for ease of reference with additional information. curious_george, hope you don't mind)

1. read the first post on: http://modmymoto.com/forums/showthread.php?t=530112
Read this post on RSD Lite: http://wiki.howardforums.com/index.p..._with_RSD_lite

2. Download the attachments on that post. An SBF file, and a ZIP file. extract the SBF file from the ZIP
***IMPORTANT - test the integrity of your downloads. I use 7ZIP, which has a 'test archive' function for the zip file (I use IZArc which is open source for my computer which perform the same thing as well > download from here)

3. Google, download, and install RSD Lite. At least 4.5.3 or 4.6

4. Install the USB drivers on the CD that comes with your phone

5. plug your phone into your PC using your USB cord. On the notification bar, a 'Manage your USB Connection' note should pop up. Select "memory card access", and your phone will be installed on your PC like a portable drive

6. Rename the milestone_root.zip file on your PC to update.zip and copy it to the ROOT DIRECTORY of your phone's SD card, i.e. the top-most directory that you can access

7. Use Astro or similar file manager on your phone to ensure the file is there. You can even open the archive with Astro to check that the zip file is not corrupted.

8. Start RSD Lite on your PC

9. use the 'Manage USB connection' option on your phone again and switch to "Portal & Tools" mode. If Medialink pops up, ignore or close it

10. You should see your device listed as 'connected' on RSD Lite.

11. In RSD Lite, Select the SBF file you downloaded in step (2). Click 'Start', and watch the phone reboot itself to Bootloader. It should then immediately change to a 'flashing' type message, and the phone will reboot normally. Nothing would look different on startup, but you'll already have the new Recovery rom sitting on the phone. You may, as I did, have RSD display the message 'reboot phone manually', but my phone was already reboot.

12. Shut phone down again. Boot up the phone to the new recovery rom by pressing and holding 'x' on the hardware keyboard, and the power switch at the same time till the exclamation sign /!\ is displayed. \Another way to boot to recovery is to press 'camera', 'volume up', and 'power' at the same time.

13. Go to the recovery menu by pressing the 'volume up' and 'camera' buttons at the same time.

14. Use the Dpad to choose 'Apply: SDCard update.zip'. Wait for it to finish

15. Use the Dpad to choose 'Reboot phone'. Wait for normal restart

16. HOW DO YOU VERIFY YOU HAVE ROOT? Download a terminal emulator from the market. Start up the terminal, and at the command prompt type 'su'. If a dialog box pops up asking for you to grant permission to continue, you're all set!


After curious_george' steps, please proceed to perform the following:

1. Connect your Milestone to your computer via "media card access"
2. Create a folder "Milestone Root Update" and drag the update.zip on your MicroSD into this folder.
3. Alternatively, you can skip the 2 above steps and simply delete the update.zip off your MicroSD. I simply leave it on my card since it take up little space.

Reason being: you will be putting another update.zip to the MicroSD card to perform backup and stuff. It sounds confusing i know.
Update.zip from curious_george serve the function to "root" Milestone.
The update.zip in this part of the guide serve the function of backup and more, no "root".

================================= Perform a backup ================================

I like to bring some attention to the importance of this backup. It is like Ghost for PC. I personally have 2 namely: stock and rooted.
Change of MicroSD is made easier with this backup. You can virtually skip the whole process of flashing stock firmware back on Milestone and repeat curious_george's steps again.
Imagine restoring the backup takes less than 3 minutes (for me) and quickly perform the App2SD to minimize downtime.
Let's perform a quick nandroid backup of your Milestone at this current "rooted" stage.

Files you need:

1. ADBRecovery (google it and get the latest version 6)
2. Android SDK (download from here)

For ADBRecovery, after you download it, unzip the package and put the files from "in_sd_root" to your MicroSD card.
It is up to you on how to move the files over. Either using card reader or via Milestone "memory card access" mode.
You should have 2 files namely: Recovery and update.zip in your MicroSD card.
If you have not removed the update.zip from curious_george's steps, you will be prompt to overwrite update.zip, please do so.

For Android SDK, after you download it, unzip the package to the root of your C: drive.
You should have a folder call "android-sdk-windows" with few folders and files in it.
Rename "android-sdk-windows" to "android" for ease of use.

Steps to perform after the above:

1. Shutdown Milestone.
2. Press and hold on X on your Milestone keyboard and power up your Milestone. This will boot Milestone to bootloader mode which will show you a triangle with a !
3. Close the keyboard and press on Volume up button with the Camera button to show you the recovery menu.
4. Use D-pad to select 'Apply: SDCard update.zip'. Wait for it to finish. You should notice a difference between curious_george's and this step. Screen is dimmed to save power for a start.
5. Connect Milestone to your computer.
6. On your computer, launch a command prompt window.
7. Type: cd/
8. Type: cd android/tools
9. Type: adb devices (you should see your Milestone's serial number showing up in the list. This will indicate that SDK is connected to Milestone)
10. Type: adb shell
11. Type: nandroid-mobile.sh backup (this will trigger a full backup of Milestone which is rooted)
12. You will see a prompt to ask for a prefix. Give a meaningful name to it and hit enter. (for me, i name it "rooted". The process takes a couple of minutes to complete)
13. Once the backup is completed, type: reboot
14. End of backup. Your Milestone should be rebooted normally with a folder titled "nandroid" in your MicroSD card. Actual backup is within that folder with strange string of alphanumeric.
15. Drag a copy of "nandroid" from the MicroSD card to your computer for safe keeping. Do not delete the "nandroid" folder on the MicroSD for ease of use. Anyway, it takes up less than 200mb of space.

================================= App2SD =================================

Updated on 26th April

File needed:

1. App2SD Version 2 (download from here)
This revised version of App2SD is more refine. It moves cache as well as apps to MicroSD.

Steps to prepare for installation:
1. Unzip the downloaded file and you should see a folder "APP2SD Package".
2. Rename "APP2SD Package" folder to "app2sd" and move this folder to MicroSD. (place it in the root: MicroSD card/)

Next, simply connect the Milestone to your computer.
Ensure it is "Charge Only" for USB connection and USB Debugging mode for USB is turned on under Settings > Applications > Development.
Once you have the above checked, go ahead to launch a command prompt and perform the following:

Type: cd/ (to get to the root of your C: drive)
Type: cd /android/tools (to get to the folder of the Android SDK which i mentioned earlier)
Type: adb devices (you should see your Milestone serial number showing up. If you do not see serial number, it means there is no connection to your Milestone)
Type: adb shell
Type: su (make sure you do not see a prompt window on your Milestone. If you do, grant permission for it to access)
Type: cd /sdcard/app2sd
Type: sh install_use_busybox.sh (trigger installation of App2SD)
Type: y (to confirm that you want to install)
wait for the prompt to show you that App2SD is complete and a reboot is needed for it to take effect.
Type: y (to confirm reboot. You might notice that Milestone do not reboot by self which is normal)
Type: reboot (if you find Milestone do not reboot after you enter y as above mentioned)

Enjoy after the reboot...

Credit (source of info):
http://www.ubuntu.com
http://and-developers.com
http://androidcommunity.com
http://modmymoto.com
http://developer.android.com
http://www.hkepc.com
http://www.andmoto.com/

================================= "Unroot" Milestone =================================

This section explain how to get your "rooted" Milestone back to stock before you send for servicing/sell or whatsoever you plan to do with your Milestone.
The steps involved is close to Post 3 but using another firmware.

Assumption:
1. You have the MicroSd card setup as above in Milestone as it contain the files we need to restore back to factory default, especially update.zip and recovery folder.
2. If you have made changes to the MicroSD card, please prepare the MicroSD card as mentioned in Post 4 to have update.zip and recovery folder in the MicroSd card before you proceed with the steps below.

Files needed:
1. RSD Lite (you should have it installed in the earlier stage since you have "root" your Milestone)
2. Retail firmware for StarHub (download from here, file name: SHOLS_U2_02.31.0, look under 2.1)

Steps:

1. Download retail sbf SHOLS_U2_02.31.0 from above and remember where you save it on your computer.

2. Power down Milestone

3. Press and hold on to UP on D-Pad and power up Milestone.

4. Connect Milestone to computer

5. Launch RSD Lite. It should show your Milestone is connected.

6. Browse for the SHOLS_U2_02.31.0 you have downloaded, click on Start and wait for it to finish. Milestone should reboot at some point. Do not disconnect Milestone till you see RAD Lite is done with the process.

7. Power down Milestone again

8. Press and hold on to X and power up Milestone to Recovery mode

9. Press both Up Volume button and Camera button to show Recovery Menu

10. Use D-Pad to select 3rd item 'wipe data/factory reset'

11. Use D-Pad to select 1st item 'reboot system now'

12. Milestone has returned to stock firmware...

===================== How to check if Milestone is stock again? =====================


1. Pull out the Application Drawer
2. Check if 'Superuser Whitelist' exist. It should not appear in your Application Drawer.

The whole process takes less than 10 minutes if all the conditions are meet with all files needed are ready. For me, i recalled my "unrooting" takes less than 3 minutes.
===================== Changing/Upgrading MicroSD card =====================

As technology advance, we have better and cheaper options. Same goes for storage.
This section explains how you can change your MicroSD card and still have App2SD running in the shortest possible downtime. (yes, there will be downtime as explained in Post 1).

Files needed:
1. Android SDK (you should have it running by now)
2. Rooted nandroid backup (As mentioned in Post 4)

*if you have not perform any nandroid backup after "rooting" Milestone, you can proceed to the first step of the procedure and execute all over again with the new MicroSD card. Now you will understand why i stress on the nandroid backup right after "rooting".

========================= Applications backup =========================

Before moving on, let's do this important step first with your existing card: backup all the applications you have on Milestone.

1. Launch Market, search for 'Titanium Backup', download and install.
2. Launch Titanium Backup and grant permission as a prompt will pop up to grant root access. Restart Titanium Backup after giving permission.
3. Check if Root Access is shown as OK. It should be else it will not work.
4. Touch on 'Menu' button and touch on 'Batch'
5. Touch on 'RUN : Backup all user apps + system data' (4th item on the list)
6. Touch on 'Select ali' button and touch on 'Run the batch operation' at the top. The backup of apps will begin. Depending on the number of apps you have, the time taken varies. For me, it took about 5 minutes to backup 160 apps.
7. Once done, check if there is a 'TitaniumBackup' folder in your MicroSD. It should be there and contain all your apps.

*if you have another preferred backup programs for backing up all your apps, feel free to use it instead of my suggestion. My recommendation is based on my own good experience with Titanium Backup.
*Don't curse at me if you fail to do the above steps and have zero apps showing up after the rest of the following steps. I have advised and try to cover all aspect to ease your way to a change of MicroSD card. Same goes for your own choice of backup program to use. If it fails on you, i can only say do the procedure again... with Titanium Backup this time round of cos...

========================= Preparing the swap over to the new MicroSD =========================

1. Preparing new MicroSD card by following the procedure explained in Post 2
2. In Windows, make a full backup of your existing MicroSD onto your computer.
3. Transfer the full backup of your existing MicroSD card over to the new MicroSD card, simply by copy/paste.
4. Check if new MicroSD card have 'nandroid' folder and if it contain the backup that you need. Since you have given a prefix earlier, you should be able to locate it. For me, it was named as rooted~~~~~~.
5. Power down Milestone
6. Insert new MicroSD card into Milestone
7. Press and hold on X on your Milestone keyboard and power up your Milestone. This will boot Milestone to bootloader mode which will show you a triangle with a !
8. Close the keyboard and press on Volume up button with the Camera button to show you the recovery menu.
9. Connect Milestone to your computer.
10. On your computer, launch a command prompt window.
11. Type: cd/
12. Type: cd android/tools
13. Type: adb devices (you should see your Milestone's serial number showing up in the list. This will indicate that SDK is connected to Milestone)
14. Type: adb shell
15. Type: nandroid-mobile.sh restore (this will trigger a full restore of Milestone from detected backup if any)
16. Press Enter and you should be prompted which backup you like to use. Since there is only 1, go ahead and press Enter again
17. Once the restore is completed, type: reboot
18. End of restore.

Right after the above steps, Milestone should be able to boot up normally.
This indicate that it had accepted the new MicroSD card and App2SD should work flawlessly.


========================= Applications restore =========================

As you have a brand new card in Milestone, execute the following to restore back all the apps you have installed before.

1. Launch Market, search for 'Titanium Backup', download and install.
2. Launch Titanium Backup and grant permission as a prompt will pop up to grant root access. Restart Titanium Backup after giving permission.
3. Check if Root Access is shown as OK. It should be else it will not work.
4. Touch on 'Menu' button and touch on 'Batch'
5. Touch on 'RUN : Restore all missing apps + system data'
6. Touch on 'Select all' button and touch on 'Run the batch operation' at the top. The restoring of apps will begin.
7. Once done, go ahead and reboot Milestone. You should see all your apps appearing again after the reboot.

Congrats on moving on to a bigger/faster card!
------------------------------------------------------------------------------------------------------

Fin del tuto transcrito.

0 comentarios:

Publicar un comentario

Twitter

Perfil Linkedin

Recomiendanos