FORUMS

Google Teaches You to Use Wear Gestures

Now that the Watch Urbane is out with the latest firmware, we have new information regarding the … more

Samsung Galaxy Alpha (SM-G850) Gets Android 5.0

An Android 5.0 Lollipop update is finally available to download for the Samsung Galaxy … more

Do You Use 4:3 or 16:9 in the Camera App?

Every person has their own method of taking the best photos on their devices, but which aspect … more

LG G4 XDA Forum Opened

LG’s latest & greatest is just a few hours away from launching, and with so many power users that are … more
Post Reply Subscribe to Thread Email Thread

[HOW-TO][ROOT][4NOOBS] Resize sdcard0 and internal storage to maximize space for apps

26th April 2015, 12:04 AM |#141  
Junior Member
Flag Como
Thanks Meter: 0
 
More
Thank you, I'll try asap. I'm not an expert in this field, so are the steps perfect (detailed) and easy to follow?
Did anybody ever try this procedure with WhiteNeo's CM12?
 
 
26th April 2015, 12:46 AM |#142  
Senior Member
Thanks Meter: 31
 
More
Quote:
Originally Posted by lpdevIT

Thank you, I'll try asap. I'm not an expert in this field, so are the steps perfect (detailed) and easy to follow?
Did anybody ever try this procedure with WhiteNeo's CM12?

I did it with WhiteNeos CM12 and wrote down how I did it. You can skip some parts the OP did.
I tries to make it as easily understandable as plaaible.
Yesterday, 03:58 PM |#143  
Junior Member
Flag Como
Thanks Meter: 0
 
More
I just did it now, all from TWRP (never connected to my pc).
I have an Xperia T, CM12 (Android 5.0.2) by WhiteNeo, so with it's kernel (3.4.0-NEO-g705839e), release date 5th April 2015.

(as a remember, for me, to access TWRP just push volume up button when phone is booting)
First of all, I did a backup of all (every box checked) from TWRP and saved it in my sdcard1 (external sdcard).
Then, i physically removed my sdcard.

In TWRP, I went to "Mount" section and un-checked every box (which means to unmount them).
Advanced settings -> terminal. Let's say that I had many problems with keyboard... I tried some commands to be sure that I unmounted (the command is umount not unmount!) all correctly.
After that, I followed the guide @LeonardK posted here: http://forum.xda-developers.com/show...&postcount=122

Quote:

parted /dev/block/mmcblk0 rm 14
parted /dev/block/mmcblk0 rm 15
parted /dev/block/mmcblk0 mkpartfs logical ext2 1621 7865
parted /dev/block/mmcblk0 mkpartfs logical ext2 7865 15.6GB
parted /dev/block/mmcblk0 name 14 Userdata
parted /dev/block/mmcblk0 name 15 SDCard

Since here, everything went ok: terminal responded to every command with some warning or infos or something like that.
When i tried
Quote:

make_ext4fs /storage/sdcard0

the terminal said that the command doesn't exists (or a similar error, i don't remember, sorry). So i just exit terminal and, still in TWRP, wipe /data and /sdcard as @Kureiji said here: http://forum.xda-developers.com/show...&postcount=133

At last, i didn't do any of the following commands
Quote:

/storage/sdcard1/fs-utils/tune2fs -j /dev/block/mmcblk0p14
/storage/sdcard1/fs-utils/tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p14
/storage/sdcard1/fs-utils/e2fsck -fpDC0 /dev/block/mmcblk0p14

nor
Quote:

su
chown -R 2800:2800 /mnt/media_rw/sdcard0

as said here http://forum.xda-developers.com/show...&postcount=105, just rebooted my phone in Android System and it was (obviously) as i have just installed the ROM. I skip-skip-skip everything, went back to TWRP and restored my backup in sdcard1. Everything seems to work perfectly, I am doing some more tests
Yesterday, 06:14 PM |#144  
Junior Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by lpdevIT

So i just exit terminal and, still in TWRP, wipe /data and /sdcard as @Kureiji said here: http://forum.xda-developers.com/show...&postcount=133

This is also the perfect time to switch to F2FS, it's quite a bit faster than ext4. Just do these steps from WhiteNeo's guide:
5. Go to "Wipe" > "Advanced Wipe" menu
6. Check "System", then tap "FS Options" and "Change FS"
7. Select "F2FS", then swipe to apply the change
8. Repeat steps 5 and 6 for "Data" and "Cache" partitions, as well as internal storage
9. Navigate to TWRP Settings and check "Use rm -rf instead of formatting"
Yesterday, 07:28 PM |#145  
Senior Member
Thanks Meter: 31
 
More
Quote:
Originally Posted by lpdevIT

I just did it now, all from TWRP (never connected to my pc).
I have an Xperia T, CM12 (Android 5.0.2) by WhiteNeo, so with it's kernel (3.4.0-NEO-g705839e), release date 5th April 2015.

(as a remember, for me, to access TWRP just push volume up button when phone is booting)
First of all, I did a backup of all (every box checked) from TWRP and saved it in my sdcard1 (external sdcard).
Then, i physically removed my sdcard.

In TWRP, I went to "Mount" section and un-checked every box (which means to unmount them).
Advanced settings -> terminal. Let's say that I had many problems with keyboard... I tried some commands to be sure that I unmounted (the command is umount not unmount!) all correctly.
After that, I followed the guide @LeonardK posted here: http://forum.xda-developers.com/show...&postcount=122



Since here, everything went ok: terminal responded to every command with some warning or infos or something like that.
When i tried

the terminal said that the command doesn't exists (or a similar error, i don't remember, sorry). So i just exit terminal and, still in TWRP, wipe /data and /sdcard as @Kureiji said here: http://forum.xda-developers.com/show...&postcount=133

At last, i didn't do any of the following commands

nor

as said here http://forum.xda-developers.com/show...&postcount=105, just rebooted my phone in Android System and it was (obviously) as i have just installed the ROM. I skip-skip-skip everything, went back to TWRP and restored my backup in sdcard1. Everything seems to work perfectly, I am doing some more tests

You probably haven't downloaded et2fs progs etc.
I didn't include that in my post, just read the OP for that
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Xperia T, TL, TX, V General by ThreadRank