FORUMS
Remove All Ads from XDA

[MOD] SD-EXT Boot MOD for CyanogenMod

2,657 posts
Thanks Meter: 2,033
 
By hinxnz, Senior Member on 31st March 2015, 12:31 PM
Post Reply Email Thread


SD-EXT MODs for CyanogenMod


Created by hinxnz


Expand your Data Size!





Welcome! These mods will setup your CM ROM to use your sd-ext partition.
Supporting ivanich's CyanogenMod 11 | 12 | 13 ROMs

*Please refer to note for different CyanogenMod versions.

Your sd-ext can be any size - I recommend any size between 2 & 8 Gb
Your sd-ext must be a second primary partition, ext4 or f2fs file system
Complete wipe and fresh installation of ROM is needed to avoid confusion
Your device needs to be S-OFF
[ S-OFF HELP THREAD ]
Always make a nandroid before flashing things. I am not responsible for any data loss!



All Data on SD-EXT

- Entire data partition on sd-ext

  • This mod will use your sd-ext for data and leave your internal data untouched
  • Your internal data will now be mounted as idata, which can be used for personal use
  • Flash this mod straight after installing and updating your ROM
  • No need to wipe dalvik-cache when updating your ROM, this mod will do it for you
    .

All Data excl. Dalvik-Cache

- Data partition on sd-ext with internal dalvik-cache

  • This mod will use your sd-ext for data and use your internal data for dalvik-cache
  • Your internal data will be mounted for dalvik-cache only with no symlink
  • Flash this mod straight after installing and updating your ROM
  • No need to wipe dalvik-cache when updating your ROM, this mod will do it for you
    .

All Data excl. App Data

- Data partition on sd-ext with internal app data

  • This mod will use your sd-ext for data and use your internal data for app data
  • Your internal data will be mounted for app data only with no symlink
  • Flash this mod straight after installing and updating your ROM
  • No need to wipe dalvik-cache when updating your ROM, this mod will do it for you
    .
************************************************** ************************************************** *****


Dalvik-Cache on SD-EXT

- Dalvik-Cache only on sd-ext

  • This mod will use your sd-ext for dalvik-cache
  • Your sd-ext will be mounted for dalvik-cache only with no symlink
  • Flash this mod straight after installing and updating your ROM
  • No need to wipe dalvik-cache when updating your ROM, this mod will do it for you
  • No need for a clean installation if no previous sd-ext mod has been applied
    .

User Apps on SD-EXT

- User apps on sd-ext only

  • This mod will use your sd-ext for user apps
  • Your sd-ext will be mounted for user apps only with no symlink
  • Flash this mod straight after installing and updating your ROM
  • No need to wipe dalvik-cache when updating your ROM, this mod will do it for you
  • No need for a clean installation if no previous sd-ext mod has been applied
    .
Credits
@hinxnz for making and testing these mods
@delta-roh for bringing the idea to our HTC Sensation
@ivanich for his great work on CyanogenMod

.
The Following 45 Users Say Thank You to hinxnz For This Useful Post: [ View ] Gift hinxnz Ad-Free
 
 
31st March 2015, 12:32 PM |#2  
hinxnz's Avatar
OP Senior Member
Thanks Meter: 2,033
 
More
[MOD] BOOT MOD PLUS 4 for CyanogenMod

BOOT-MOD-PLUS 4

* Data on sd-ext plus more!


Introduction
  • This mod mounts your sd-ext partition as /data
  • Your internal data will be mounted as /cache
  • Configuration script for customizing your experience
  • Install and remove system apps
  • Compatible only with ivanich's CyanogenMod 12 & 13 ROMs
  • Your device needs to be S-OFF [ S-OFF HELP THREAD ]
Installation
  • You initially need to make a fresh install of ROM before flashing this mod
  • If using plus mod 3, you should able to update without wipe, backup first, flash after ROM.
  • Your sdcard needs to have a sd-ext partition, you can do this in TWRP recovery.
  • I recommend all partitions f2fs, except system. 4 - 8Gb SD-ext.
  • Flash this mod straight after installing ROM and when updating your ROM
  • Once installed mod can be flashed without ROM to check fs on sd-ext, add/remove system apps, update config script.
  • System apps can be added to the zip, Adaway & ViPER4Android is included for an example.
  • A system app removal script is included in the zip.
  • All other options are controlled by an configuration script called boot.conf
  • boot.conf is located in /cache, reboot is needed to apply changes
Changelog
  • See download folder below.
Download.
The Following 28 Users Say Thank You to hinxnz For This Useful Post: [ View ] Gift hinxnz Ad-Free
31st March 2015, 01:30 PM |#3  
elvisypi's Avatar
Senior Member
Flag Düsseldorf
Thanks Meter: 1,029
 
Donate to Me
More
Thanks! Do these work on CM11 also?
31st March 2015, 01:36 PM |#4  
little_lerroyy's Avatar
Senior Member
Flag Sydney
Thanks Meter: 147
 
More
Well deserved thread.

I have done this mod less than a week ago with a new Samsung EVO 32gb card. I must say the difference is amazing when it comes to performance of loading apps, contacts, messages and every thing regarding loading of data from storage. I would highly recommend this if they want not only more space but for a much faster sensation.

Im currently testing both dalvik on the sd card vs dalvik just on the internal memory in regards to system performance. I will post findings.
The Following 4 Users Say Thank You to little_lerroyy For This Useful Post: [ View ] Gift little_lerroyy Ad-Free
31st March 2015, 08:57 PM |#5  
blahbl4hblah's Avatar
Recognized Developer
Flag Los Angeles, CA
Thanks Meter: 1,624
 
Donate to Me
More
Quote:
Originally Posted by little_lerroyy

Well deserved thread.

I have done this mod less than a week ago with a new Samsung EVO 32gb card. I must say the difference is amazing when it comes to performance of loading apps, contacts, messages and every thing regarding loading of data from storage. I would highly recommend this if they want not only more space but for a much faster sensation.

Im currently testing both dalvik on the sd card vs dalvik just on the internal memory in regards to system performance. I will post findings.

@op I like this mod, it's like delta-roh's turbo data except it's just in a flash method correct?

@little_lerroyy, If I remember correctly, dalvik on either wouldn't cause any difference. But all data on sd-ext will cause slower performance.
31st March 2015, 10:38 PM |#6  
hinxnz's Avatar
OP Senior Member
Thanks Meter: 2,033
 
More
Quote:
Originally Posted by elvisypi

Thanks! Do these work on CM11 also?

No they don't work with cm11, I can make one for cm11 but only the all data version will work because things are different in cm11 and mounting internal data fails unless I edit and make directories in init.rc too.

Quote:
Originally Posted by blahbl4hblah

@op I like this mod, it's like delta-roh's turbo data except it's just in a flash method correct?

@little_lerroyy, If I remember correctly, dalvik on either wouldn't cause any difference. But all data on sd-ext will cause slower performance.

Yes it's kind of the same but flash method and mounting internal data with options.
You can update your ROM and flash this on the go. Using a windows pc, if available, for nightly's is not really practical for some.
The Following 3 Users Say Thank You to hinxnz For This Useful Post: [ View ] Gift hinxnz Ad-Free
1st April 2015, 08:46 AM |#7  
Senior Member
Flag Toronto
Thanks Meter: 68
 
More
Reflash if we update nightly? Any data loss?

Sent from my Sensation using XDA Free mobile app
1st April 2015, 03:38 PM |#8  
Karam.'s Avatar
Senior Member
Thanks Meter: 50
 
More
Thanks for the great Mod hinxnz , I'm using it for couple days now and everything works great
I was viewing partitions and I found out dalvik takes about 800 mb from the data partition
I don't know about the reading frequency of dalvik & data compared , but I wonder if moving only dalvik to sd-ext would give us both speed for data partition and space for dalvik ?
2nd April 2015, 12:02 AM |#9  
hinxnz's Avatar
OP Senior Member
Thanks Meter: 2,033
 
More
Quote:
Originally Posted by WnG88

Reflash if we update nightly? Any data loss?

Sent from my Sensation using XDA Free mobile app

Yes you need to flash mod after updating ROM everytime.

Quote:
Originally Posted by Karam.

Thanks for the great Mod hinxnz , I'm using it for couple days now and everything works great
I was viewing partitions and I found out dalvik takes about 800 mb from the data partition
I don't know about the reading frequency of dalvik & data compared , but I wonder if moving only dalvik to sd-ext would give us both speed for data partition and space for dalvik ?

Depending on apps will depend what size your dalvik-cache is. For example the more apps you have, the bigger dalvik-cache will grow. I have roughly 60 user apps but remove about 22 system apps and using internal data for dalvik, which is 683Mb in size.

I have already made a mod to move only dalvik-cache to sd-ext > http://forum.xda-developers.com/show...postcount=1864

Some others have reported that using a up to date high spec good quality sdcard is faster than internal emmc, so it's sort of controversial until proper tests are done.
The Following User Says Thank You to hinxnz For This Useful Post: [ View ] Gift hinxnz Ad-Free
2nd April 2015, 05:27 PM |#10  
Karam.'s Avatar
Senior Member
Thanks Meter: 50
 
More
Thumbs up
Quote:
Originally Posted by hinxnz


I have already made a mod to move only dalvik-cache to sd-ext > http://forum.xda-developers.com/show...postcount=1864

All dreams coming true , Thank you , I think you should add it to the topic , I'll try and report
3rd April 2015, 12:40 PM |#11  
Senior Member
Flag Toronto
Thanks Meter: 68
 
More
Quote:
Originally Posted by hinxnz

Yes you need to flash mod after updating ROM everytime.



Depending on apps will depend what size your dalvik-cache is. For example the more apps you have, the bigger dalvik-cache will grow. I have roughly 60 user apps but remove about 22 system apps and using internal data for dalvik, which is 683Mb in size.

I have already made a mod to move only dalvik-cache to sd-ext > http://forum.xda-developers.com/show...postcount=1864

Some others have reported that using a up to date high spec good quality sdcard is faster than internal emmc, so it's sort of controversial until proper tests are done.

Having only Dalvik on SD-ext (Option 4?) was best option for me even with a class 10 SDcard. Much smoother.

Can you maybe put instructions on how to save your data when changing between the 4 options?

I used recovery backup then renamed the part of the backup to new partition and restored. E.g. I went from option 2 dalvik on data and data on sd-ext, to only dalvik on sd-ext, so I renamed the backup of the sd-ext (three files in twrp) to the same name as the data backup. Then restored the data backup. That worked.

Would be great if you can somehow make this automated when switching between options.

Sent from my Sensation using XDA Free mobile app
Post Reply Subscribe to Thread

Tags
app2sd, dalvik, data, sd-ext, sdcard

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes