HWZ Forums

Login Register FAQ Mark Forums Read

Milestone: free internal memory and install apps onto MicroSD

Share This Page
HardwareZone.com on Facebook
Reply
 
LinkBack Thread Tools
Old 11-04-2010, 12:41 PM   #1
Master Member
 
Join Date: May 2002
Posts: 4,687
Milestone: free internal memory and install apps onto MicroSD

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.**

Let's begin...
__________________
Sale: Motorola Milestone local set

Last edited by crazyaboutapple; 14-04-2010 at 03:14 PM..
crazyaboutapple is offline   Reply With Quote
Old 11-04-2010, 12:41 PM   #2
Master Member
 
Join Date: May 2002
Posts: 4,687
===================== 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...
__________________
Sale: Motorola Milestone local set

Last edited by crazyaboutapple; 14-04-2010 at 03:23 PM..
crazyaboutapple is offline   Reply With Quote
Old 11-04-2010, 12:42 PM   #3
Master Member
 
Join Date: May 2002
Posts: 4,687
======================== "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".
__________________
Sale: Motorola Milestone local set

Last edited by crazyaboutapple; 14-04-2010 at 04:32 PM..
crazyaboutapple is offline   Reply With Quote
Old 11-04-2010, 12:42 PM   #4
Master Member
 
Join Date: May 2002
Posts: 4,687
================================= 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.
__________________
Sale: Motorola Milestone local set

Last edited by crazyaboutapple; 14-04-2010 at 04:31 PM..
crazyaboutapple is offline   Reply With Quote
Old 11-04-2010, 12:43 PM   #5
Master Member
 
Join Date: May 2002
Posts: 4,687
================================= 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/

and curious_george of cos...

Updated with the missing command... thanks to andee
__________________
Sale: Motorola Milestone local set

Last edited by crazyaboutapple; 04-05-2010 at 12:33 PM..
crazyaboutapple is offline   Reply With Quote
Old 11-04-2010, 12:44 PM   #6
Master Member
 
Join Date: May 2002
Posts: 4,687
================================= "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.
__________________
Sale: Motorola Milestone local set

Last edited by crazyaboutapple; 14-04-2010 at 04:40 PM..
crazyaboutapple is offline   Reply With Quote
Old 11-04-2010, 12:44 PM   #7
Master Member
 
Join Date: May 2002
Posts: 4,687
===================== 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!
__________________
Sale: Motorola Milestone local set

Last edited by crazyaboutapple; 14-04-2010 at 06:22 PM..
crazyaboutapple is offline   Reply With Quote
Old 11-04-2010, 12:45 PM   #8
Master Member
 
Join Date: May 2002
Posts: 4,687
================== Apps for root Milestone ================

Since this little guide touch on getting root access to Milestone in order to get App2SD to work, i think it might be nice to include a short list of apps which require root access for Milestone owners. Most of it i have used it personally and a short description from my point of view.

*warning: all the apps mentioned require root access.

1. Barnacle Wifi Tether
  • Turn Milestone into a wireless internet router
  • Easy setup, SSID custom name, WEP encryption, show counter on how much is being downloaded/uploaded.


2. drocap2
  • Screen capture app, timer-based or shake to snap.

3. AdFree Android
  • As stated in the name, block most of the ads appearing on your Android browser and apps. Rather effective

4. Auto Memory Manager
  • advertise to be more effective than those on non-root Android. This is one app i have not find the need to use at the moment. Test it at your own risk if you find the need to have a task killer.

Feel free to recommend any apps that you find it useful which require root access.
__________________
Sale: Motorola Milestone local set

Last edited by crazyaboutapple; 20-04-2010 at 07:11 PM..
crazyaboutapple is offline   Reply With Quote
Old 12-04-2010, 01:07 AM   #9
Senior Member
 
ZenArc's Avatar
 
Join Date: Sep 2002
Posts: 1,023
support for ya. tats one hell lot of things to do =)
ZenArc is offline   Reply With Quote
Old 12-04-2010, 02:12 AM   #10
Master Member
 
Join Date: May 2002
Posts: 4,687
Well, sort of when I first attempted. Like I mentioned before... info overload.
But now things are clearer....

I Still have a couple more things to include to complete this guide for anyone who's interested.
Bear with me as I find time to complete it...
crazyaboutapple is offline   Reply With Quote
Old 13-04-2010, 01:04 PM   #11
Junior Member
 
Join Date: Jul 2008
Posts: 15
hi!!is there a way to unroot the milestone?
or if there is a new update of the andriod version will i be able to update thru motorola website on a rooted fone?
Thank u for ur time
lethe crysz is offline   Reply With Quote
Old 13-04-2010, 04:27 PM   #12
Member
 
Join Date: Jun 2004
Posts: 170
curious_george, hope you don't mind
Absolutely not! Thanks for pushing this further with Apps2SD - you'll be cooking custom ROMs next!
curious_george is offline   Reply With Quote
Old 13-04-2010, 05:00 PM   #13
Senior Member
 
ivor's Avatar
 
Join Date: Apr 2002
Posts: 2,228
Thanks Mel for the contribution but I would prefer to stick to the original...
ivor is offline   Reply With Quote
Old 14-04-2010, 03:10 AM   #14
Member
 
Join Date: Mar 2009
Posts: 167
if u root it .. starhub tv will still be there ? nandroid rom is european if im not wrong?
kelvinchewtl is offline   Reply With Quote
Old 14-04-2010, 01:30 PM   #15
Master Member
 
Join Date: May 2002
Posts: 4,687
Sorry, been busy and having a hard time coping with the pain at my wrist to update this thread with more info as well as clear the doubts in my best abilities.

Shall post some details on using nandroid backup, moving/upgrading MicroSD card etc etc in a while.
crazyaboutapple is offline   Reply With Quote
Reply
Important Forum Advisory Note
This forum is moderated by volunteer moderators who will react only to members' feedback on posts. Moderators are not employees or representatives of HWZ. Forum members and moderators are responsible for their own posts.

Please refer to our Terms of Service for more information.


Thread Tools

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On