Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
goliath714
Old
(Last edited by goliath714; 24th July 2012 at 04:08 AM.)
#1  
Senior Member - OP
Thanks Meter 75
Posts: 146
Join Date: Jan 2010
Post Firerats + Data2ext Complete Installation Guide: Now works with Sense roms!

This thread serves as a guide to install both firerats and data2ext mods on a single rom and have them work simultaneously.

I do not take any credit for the creation of any files mentioned or attached, nor methods for the installation of each individual mod, nor roms, gapps, or otherwise mentioned content. All credit goes to those who created each mod, rom, gapps, and the methods for installing each individually. I only claim responsibility for my own research and the order and hierarchy of steps below that combine these incredible feats of development into a working system of internal storage expansion and space management.

Even though it is impossible to brick your phone using the guide below, I am not responsible if you break your device, because you have willfully chosen on your own to void your warranty by rooting your phone and installing the mods mentioned below.

To make firerats work with data2ext simultaneously, follow these over-detailed instructions EXACTLY. This is written so that anyone who has never held a smartphone in their lives can understand and do this right the first time, so those of you that know what you're doing, sorry about the length, but it should be pretty easy for you.

Note: I've uploaded some pertinent files from the following steps and added all links to all files needed so you don't have to go find them yourself. I did not include any roms, gapps, or the freespace app from the Play Store(just download from your phone, or from the link in step 6d). Links for all necessary files are in their respective steps below. The only links to a rom or gapps are for ICS. Otherwise you'll have to find and use your own downloaded roms and the correct gapps for your rom. If you would rather use the links below to download the files instead of using the ones I provided, be my guest.


I've updated this guide to make installation much easier and work with Sense roms!


Now on to the good stuff!!

Steps 1 through 7a are written for you to collect the files necessary, and to prepare your phone, sd card, and recovery for the correct method of installation of the collected files.

Steps 8 through 10 are to install the mods.


Preparation

1. Be sure to start from scratch!!! This means an UNPARTITIONED, FULLY WIPED sd card, fully wiped and rooted phone, and fully wiped recovery. Fresh file downloads for roms, gapps, and other mods you like wouldn't hurt either. If your phone is not rooted, go here, it's the best and easiest root method I've found.

1a. If you already have a partitioned sd card, insert it into your computer via a microsd adapter or other means(you cannot use your phone for this; it will not recognize that it's partitioned), delete the partitions and wipe the card using partition management software on your computer. I recommend EASEUS Partition Manager 9.1.1 Home Edition(Windows users only). If you use this program, after you delete partitions on your sd card, you will be left with unallocated space. Create a partition that takes up the entire unallocated space and set it as a Primary and FAT32 file system(remember, only do this to your sd card, NOT THE C: DRIVE!!!!).

2. Boot to recovery(hold down home, press and release power, then release home once recovery shows up)

2a. Be sure you have a recovery that supports flashing unsigned .zip files. If your recovery does not support flashing unsigned .zip files, flash a rom and then the corresponding gapps that are signed(cyanogenmod roms and gapps are the easiest way to go), boot into rom, sign in, download rom manager from Market/Play Store, open rom manager, flash clockworkmod recovery, and boot to recovery.

3. Make sure you are using latest 5.5.0.4 recovery, found here.

3a. If you are not already using the 5.5.0.4, flash the 5.5.0.4.zip in your current recovery(or follow the instructions from step 2a if you cannot flash unsigned .zip files) and reboot back into recovery.

4. In your new recovery, make sure you wipe everything, and go to advanced>partition SD card. Choose whatever size you want to have as internal storage(the 'M' means Megabyte, if you didn't already know...). I use 1024M or 2048M(i.e. 1Gb or 2Gb), depending on what mood I'm in, but it works with any of them. Then choose 0M swap size and wait for it to process.

5. Wipe everything once again(just to be safe), including sd-ext, and place your rom and preferred gapps on sd card, along with any other flashable modifications you like to use(I use the sd card speed boost, which can be found here. 2048Kb works best for my card, a 16Gb Class 4).

Note: For ICS users only! I use official, larger ICS gapps, found here(download the one next to 4.0.X, the link will be: '20120429'). The smaller gapps, as well as the current best ICS rom, can be found in whoshotjr2006's thread, here.

6. Make sure you have the latest firerats(1.5.8), which can be found here.

6a. Don't use any of the alphas or betas. Just 1.5.8. Download only the recovery-v1.5.8-CustomMTD_S.zip and boot-v1.5.8-CustomMTD_S.zip and place on sd card. Create a .txt file named 'mtdpartmap' and type 'mtd XXX XX'. These X's represent the size in numbers that you want your /system and /cache partition sizes to be, and therefore will not actually be used. See step 6b or 6c, depending on what rom you'll be using, for information on how to determine the correct partition sizes/numbers to use. DON'T KEEP THE X's IN THE FILE! REPLACE THEM WITH THE NUMBERS YOU WILL USE AFTER YOU DETERMINE WHAT YOUR /SYSTEM AND /CACHE SIZES SHOULD BE!

6b. For ICS users: If you are using the official, larger gapps, type 'mtd 190 60' into the text file and save to sd card. If you are using smaller gapps, type 'mtd 190 30'. Proceed to step 7.

6c. For Non-ICS users: To find out what numbers to replace the X's with in your mtdpartmap.txt, first wipe everything and install only the rom and gapps you'll be using this mod with. Then boot into rom, sign in, and follow step 6d. After you do this, however, you will need to repeat steps 5 and 6a, then proceed to step 7.

6d. You can download 'freespace' from the Play Store, which needs root access, and will show you the total size and space remaining for each of the /system, /data, /cache, /sdcard, and /ext partitions, so you can change the numbers in your mtdpartmap file to what you want the /system and /cache to be that best suits the rom you want to flash. The first number after 'mtd' is for the /system partition, the second number is for /cache. You can't change the /data, because it is dependent on what you set the system and cache sizes to, and will be set to what you partitioned the sd card to anyways. Also, keep at least a 5Mb allowance over what you need for both /system and /cache partitions as you will run into force closing problems if there is no breathing room, especially for the /cache partition.

7. The data2ext thread and .zip file can be found here.

7a. Download the unCoRrUpTeD_data2extV2.2.zip at the bottom of the post and place on sd card. DO NOT FLASH!!!

Summary of what should be accomplished after following steps 1 through 7a: You should now be using CWM Recovery 5.5.0.4, have a partitioned sd card, wiped everything, and placed the boot-v1.5.8-CustomMTD_S.zip, recovery-v1.5.8-CustomMTD_S.zip, unCoRrUpTeD_data2extV2.2.zip, mtdpartmap.txt, the rom and correct gapps, as well as any other mods you want to use onto your sd card. If all of this is true, move to step 8. If not, go back and find what you missed.


The Installation Process

8. Flash recovery-v1.5.8-CustomMTD_S.zip, then under mounts and storage, wipe /system, /cache, and /data in that order.

8a. Reboot to recovery(go to advanced>reboot recovery).

9. Flash rom, gapps, and whatever other mods you have or like, then flash boot-v1.5.8-CustomMTD_S.zip, then unCoRrUpTeD_data2extV2.2.zip, and reboot.

Note: the firerats installation thread for the HeroCDMA says to flash boot-v1.5.8-CustomMTD_S.zip after anything that changes the kernel specifications, but the unCoRrUpTeD_data2extV2.2.zip does not change these. The thread also says that adb is necessary to reboot; it's not. After wiping /system, /cache, and /data, just go to advanced>reboot recovery. It will work just fine, I promise. Newer recoveries don't need to use adb for this step.

10. Reboot immediately after signing in for data2ext to take effect.

That's it! You're all done! Set up your phone the way you want and start installing apps!

Summary of steps 1 through 10: By now, you should be using 5.5.0.4 recovery, have a partitioned sd card, have placed all necessary files, your rom, gapps, and other mods onto your sd card, flashed the correct files in the correct order and rebooted, signed in, and rebooted after signing in. You should now be looking at the home screen(or lockscreen) of your rom, and if you check storage from settings, you should see internal storage showing the size you partitioned the sd card to be in step 4.

Hopefully this wasn't too confusing...good luck!

If you have any questions, don't hesitate to post in this thread!
Attached Files
File Type: zip 5.5.0.4.zip - [Click for QR Code] (3.44 MB, 77 views)
File Type: zip boot-v1.5.8-CustomMTD_S.zip - [Click for QR Code] (345.6 KB, 71 views)
File Type: txt mtdpartmap.txt - [Click for QR Code] (10 Bytes, 142 views)
File Type: zip recovery-v1.5.8-CustomMTD_S.zip - [Click for QR Code] (345.7 KB, 61 views)
File Type: zip SDCardSpeedFix2048KB.zip - [Click for QR Code] (155.7 KB, 83 views)
File Type: zip unCoRrUpTeD_data2extV2.2.zip - [Click for QR Code] (989.4 KB, 110 views)
The Following 3 Users Say Thank You to goliath714 For This Useful Post: [ Click to Expand ]
 
Hammerfest
Old
#2  
Hammerfest's Avatar
Senior Member
Thanks Meter 261
Posts: 1,551
Join Date: Apr 2008
Location: San Antonio, TX

 
DONATE TO ME
Thanks, great guide! Wish I had it back when I had my first experience...


Speaking as per my own experience:

I ended up using the latest Firerats (dunno if its an alpha or beta) since I found myself flashing different ROM's and ROM updates quite a bit, for me it didn't require the use of a boot flash, rom works fine for me (spare some thoughts on this?, maybe just not required for the Alpha/Beta as abandoned work)...


Side note:
If you dont want to download an app to flash from the market to find out the space your rom is going to use for /system (at least, and for fresh install only), simply unzip your ROM and GApps to the same directory and right click and view the properties, this is its uncompressed size, and using a 4Mb buffer my self (Id recommend 8Mb just to be safe for most), Its normally right on the money for SOD or Size On Disk...
Have I in some way helped you?
Perhaps I made a post of an issue that you also have?
Think i'm such a nice/swell guy*
Then hit the THANKS button!

*
I'm not, I'm annoying, if you think otherwise
please seek medical/mental assistance ASAP!

TouchPro, TouchPro2, HeroC, HD2, Evo3D, EvoShift, PhotonQ, GalaxyNote, MORE...
 
goliath714
Old
(Last edited by goliath714; 25th May 2012 at 11:20 PM.)
#3  
Senior Member - OP
Thanks Meter 75
Posts: 146
Join Date: Jan 2010
Quote:
Originally Posted by Hammerfest View Post
Thanks, great guide! Wish I had it back when I had my first experience...


Speaking as per my own experience:

I ended up using the latest Firerats (dunno if its an alpha or beta) since I found myself flashing different ROM's and ROM updates quite a bit, for me it didn't require the use of a boot flash, rom works fine for me (spare some thoughts on this?, maybe just not required for the Alpha/Beta as abandoned work)...


Side note:
If you dont want to download an app to flash from the market to find out the space your rom is going to use for /system (at least, and for fresh install only), simply unzip your ROM and GApps to the same directory and right click and view the properties, this is its uncompressed size, and using a 4Mb buffer my self (Id recommend 8Mb just to be safe for most), Its normally right on the money for SOD or Size On Disk...
What version of firerats are you using? And I agree with you about the unzip method, and would have included that, but I wanted it to be as easy as possible for people who don't know what they're doing, and usually, 'an app for that' is the best way to go. Not saying it isn't easy to unzip, check the size, and rezip, I just thought an app that checks it for you would have less possibility of confusion. It does make the process a bit longer, yes, but at least people don't have to mess with the file at all.

On my own side note: After the several hours spent writing, rewording, adding, changing, and moving things around in this guide, I'm pleased to say it's 100% complete. No further changes that I can see happening.
 
Hammerfest
Old
#4  
Hammerfest's Avatar
Senior Member
Thanks Meter 261
Posts: 1,551
Join Date: Apr 2008
Location: San Antonio, TX

 
DONATE TO ME
Quote:
Originally Posted by goliath714 View Post
What version of firerats are you using? And I agree with you about the unzip method, and would have included that, but I wanted it to be as easy as possible for people who don't know what they're doing, and usually, 'an app for that' is the best way to go. Not saying it isn't easy to unzip, check the size, and rezip, I just thought an app that checks it for you would have less possibility of confusion. It does make the process a bit longer, yes, but at least people don't have to mess with the file at all.

On my own side note: After the several hours spent writing, rewording, adding, changing, and moving things around in this guide, I'm pleased to say it's 100% complete. No further changes that I can see happening.
I think 1.59 alpha... after a system crash a few months ago, i havent had the need to re-bookmark the firerats mediafire folder... I really should, and seeing as most file share hosts are closing down or restricting free access to files I really should re-download and archive them... god knows how many things I have lost because of the MAFIAA fiasco's...
Have I in some way helped you?
Perhaps I made a post of an issue that you also have?
Think i'm such a nice/swell guy*
Then hit the THANKS button!

*
I'm not, I'm annoying, if you think otherwise
please seek medical/mental assistance ASAP!

TouchPro, TouchPro2, HeroC, HD2, Evo3D, EvoShift, PhotonQ, GalaxyNote, MORE...
 
goliath714
Old
#5  
Senior Member - OP
Thanks Meter 75
Posts: 146
Join Date: Jan 2010
Yeah that might be a good idea. Personally I've never used any alphas or betas so I really don't have any input for them lol

Sent from my HeroC using XDA
 
goliath714
Old
(Last edited by goliath714; 26th June 2012 at 06:31 AM.)
#6  
Senior Member - OP
Thanks Meter 75
Posts: 146
Join Date: Jan 2010
Bumping my own thread...lets get some more views for this thing! If you haven't tried it yet, or have questions about it, or simply don't know what it does, send me a message or post on this thread! It's really a very useful mod for those of you that use or like installing lots of apps...
The Following User Says Thank You to goliath714 For This Useful Post: [ Click to Expand ]
 
Hmoobphajej
Old
#7  
Junior Member
Thanks Meter 5
Posts: 14
Join Date: Feb 2012
Location: Sacramento
Thanks for the guide to this. The only problem I may seem to have is that when I follow all your steps at 11b this is what I get:

mke2fs 1.41.12 (17-May-2010)
/dev/block/mmcblk0p2s apparently in use by the system; will not make a filesystem here!

Is that correct? Or am I doing something wrong?
 
laie1472
Old
#8  
laie1472's Avatar
Senior Member
Thanks Meter 822
Posts: 4,585
Join Date: Feb 2010
I see no reason to use both scripts combined. The data2ext you can have 2048mb/2gb That should be more than enough space for all your apps. Although this is a good write up I see a lot of conflict with using both mods together. One or the other should do. I'd recommend data2ext. You can create a 2048 partition and it will run just fine on a class 4 or better sd. Anything lower and you might suffer glitches like screen freezing, apps missing,lock up's and reboots. If you have a stock sd or a higher capacity sd but without a class rating or class 2 then I recommend firerats mod. Also you could very well run both of these mods and have not one problem whatsoever so it just user experience and preference I'm referring to.

#Root-Hack_Mod*Always\=LTE
 
laie1472
Old
#9  
laie1472's Avatar
Senior Member
Thanks Meter 822
Posts: 4,585
Join Date: Feb 2010
Quote:
Originally Posted by Hmoobphajej View Post
Thanks for the guide to this. The only problem I may seem to have is that when I follow all your steps at 11b this is what I get:

mke2fs 1.41.12 (17-May-2010)
/dev/block/mmcblk0p2s apparently in use by the system; will not make a filesystem here!

Is that correct? Or am I doing something wrong?


You have to unmout the partition first.

#Root-Hack_Mod*Always\=LTE
The Following User Says Thank You to laie1472 For This Useful Post: [ Click to Expand ]
 
phoenix6189
Old
(Last edited by phoenix6189; 15th July 2012 at 05:17 PM.)
#10  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Oct 2009
Default App2sd

Yea, I got that too, is it not working for you.
If not, add "/system/etc/init.d/40data2ext --enable" That made it work for me. Don't add "".

after reboot and the memory still hasn't change then go back in to terminal manager and add the above line and then reboot, should work then, never got firerats to play nice with the script, so i just use data2sd

 
Post Reply+
Tags
data2ext, firerats, guide, ics, mod
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...