FORUMS

Sunday Debate: Which Factors Caused HTC’s Woes?

Join us in a fun Sunday Debate on HTC’s situation. Come with your … more

HTC’s New Ad Campaign And What It Really Means

HTC has just released three new blind test adverts comparing app loading … more

XDA Picks: Best Apps of the Week (June 27 – July 4)

Apps are at the front and center of any smartphone experience, and with over a … more

HTC One M9 Developer Edition Android 5.1 OTA

The Developer Edition of the HTC One M9 is receiving an over-the-air update to Android 5.1. … more

[Tool] Swap Internal SDcard With External SDcard no init.d need UPDATE

1,218 posts
Thanks Meter: 441
 
By rickwyatt, Senior Member on 30th November 2012, 09:19 PM
Post Reply Subscribe to Thread Email Thread
Swap Internal SDcard With External SDcard

!!!!!!!!!! PLEASE REMEMBER TO BACKUP YOUR STOCK ROM !!!!!!!!!!

You will need a unlocked bootloader

Quoted from CyanogenMod team


Code:
   Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device,
I will laugh at you. Hard. A lot.
 */
* When using this mod make sure you dont remove the microsd whilst phone is powered up




information :
Iv tested this for a few days iv got a 16gb card in the motorola razr I and it is all working great
i made this mod because as you no /data/media is linked to /sdcard so when you fill up your sdcard it also fill up your data

Code:
root@smi:/ # df
df
Filesystem             Size   Used   Free   Blksize
/dev                   484M    76K   484M   4096
/system                  1G   734M   469M   4096
/cache                 629M    10M   619M   4096
/data                    5G   640M     4G   4096
/pds                     7M     4M     3M   4096
/mnt/asec              484M     0K   484M   4096
/mnt/obb               484M     0K   484M   4096
/mnt/sdcard             14G     8G     6G   32768


Things working are :

(1) Media Transfer Protocol
(2) External SDcard being mounted to /sdcard
(3) /data/media is no longer used as /sdcard
(4) Working after reboot

How Too use :
(1) Extract to desktop
(2) Ensure USB debugging is enabled and phone is connected to pc
(3) run run.bat


Download for unlocked bootloaders here

Download for locked bootloaders here
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2012-12-09-21-28-48.jpg
Views:	5249
Size:	19.6 KB
ID:	1550306  
Last edited by rickwyatt; 9th December 2012 at 10:20 PM.
The Following 17 Users Say Thank You to rickwyatt For This Useful Post: [ View ]
 
 
30th November 2012, 09:32 PM |#2  
Marco Lomas's Avatar
Senior Member
Thanks Meter: 188
 
More
So this gonna swap all the internal sdcard, not the sistem, to the external sdcard partitioned or whithout partition???

Enviado desde mi GT-S5660 usando Tapatalk 2
30th November 2012, 09:40 PM |#3  
rickwyatt's Avatar
OP Senior Member
Flag london
Thanks Meter: 441
 
Donate to Me
More
this will give you 5gb for data and and only data and if you got a 16gb micro sdcard it will be mounted at /sdacrd

so
5gb /data
16 /sdcard

it will not touch any other partition
it is only a init.d script and a mod in framework-res
The Following 2 Users Say Thank You to rickwyatt For This Useful Post: [ View ]
30th November 2012, 10:05 PM |#4  
Marco Lomas's Avatar
Senior Member
Thanks Meter: 188
 
More
Ho, i understand now, ty, this is a great work ,

What about the perfomance? Its the same or change? Just a stupid question

Enviado desde mi GT-S5660 usando Tapatalk 2
30th November 2012, 10:41 PM |#5  
Le_Poilu's Avatar
Senior Member
Thanks Meter: 70
 
More
Was waiting such a modd from the beginning.
I'll test it ASAP

Thanks for your contribution.

Envoyé depuis mon Nexus 7 avec Tapatalk
30th November 2012, 10:45 PM |#6  
PELLET Nolwenn's Avatar
Senior Member
Thanks Meter: 23
 
More
It's depend your sd class card..

Make a benchmark with AnTuTu to compare which is faster between your internal and external card.

Envoyé depuis mon XT890
30th November 2012, 10:48 PM |#7  
rickwyatt's Avatar
OP Senior Member
Flag london
Thanks Meter: 441
 
Donate to Me
More
it's ready remember to
1 backup rom
2 root
3 enable initd
30th November 2012, 11:04 PM |#8  
PELLET Nolwenn's Avatar
Senior Member
Thanks Meter: 23
 
More
Just a question, maybe stupid, but somebody know if I use a sd card faster than the internal it'll increase the reactivity and the speed ? Like on a laptop when we change the SSD.

Envoyé depuis mon XT890
30th November 2012, 11:22 PM |#9  
Senior Member
Thanks Meter: 110
 
More
Thanks, will give it a try.
1st December 2012, 12:17 AM |#10  
fabulous69's Avatar
Senior Member
Thanks Meter: 187
 
More
Quote:
Originally Posted by PELLET Nolwenn

Just a question, maybe stupid, but somebody know if I use a sd card faster than the internal it'll increase the reactivity and the speed ? Like on a laptop when we change the SSD.

Envoyé depuis mon XT890

If it is faster, yes it will.
You improve read and writing speed, so apps will be a bit faster to launch. Sometimes almost not noticeable, sometimes really faster
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes