Hello Everybody
I have Sony Xperia L ( Android 4.2.2 - 15.3.A.1.17 Firmware - Rooted - with locked bootloader ), ( I had never flash any custom ROMs or unlock the bootloader before )
I tried to extend my internal memory with the method of partitioning the SD card " That's why I rooted my phone !! "- I have 16 G.B SD Card - I downloaded the Minitool Partition software, and made the 1st partition 10 G.B Fat32 primary , and the 2nd partition 4.26 G.B Ext2 primary.
But when I insert the SD Card in the phone, I got bootloop issue, otherwise when I remove it, the phone operates normally.
I tried to make the 2nd partition format Ext3 and I got the same result, and Ext4 but at this time the phone operates normally but the SD Card couldn't recognized !!!! , and when I delete this 2nd partition, the phone operates normally.
So, please I need help to solve this **** issue
I'll be grateful, Thanks
Most likely because the tool you are using isn't very good for stuff like this. I know, it's weird, it creates the partitions and all of that, but something about the Windows tool that just messes things up. I've had the exact same problem on another phone. Typically gparted is recommended for these kinds of things. You should be able to set up a Ubuntu Live CD or bootable USB drive to use the gparted tool there.
Like so:
http://www.archlinuxuser.com/2014/04/create-ext3ext4-microsd-partition-using.html
Though if you have a newer bootable Ubuntu version, you won't need to install gparted.
Thanks mate
I'm gonna try this, and I'll tell you the results.
but one question:
you mean I make a partition on linux and the other in windows ???
I mean I need to make a partition to link it with the internal memory and that's will be the ( Ext2, Ext3, or Ext4 ) , and the other will be for storing ordinary files.
es0tericcha0s said:
Most likely because the tool you are using isn't very good for stuff like this. I know, it's weird, it creates the partitions and all of that, but something about the Windows tool that just messes things up. I've had the exact same problem on another phone. Typically gparted is recommended for these kinds of things. You should be able to set up a Ubuntu Live CD or bootable USB drive to use the gparted tool there.
Like so:
http://www.archlinuxuser.com/2014/04/create-ext3ext4-microsd-partition-using.html
Though if you have a newer bootable Ubuntu version, you won't need to install gparted.
Click to expand...
Click to collapse
I tried to changing the file system from Ubuntu Live DVD like you said ( Boot from the DVD not Installed ) and I used Gparted program ( Built-in the DVD ) and the same result
I have 2 questions:
1- Is the order of the partitions make change, I mean the right or the lift one in the Gparted program ???
2- Is that any other way to extend the internal memory please mention in the comment :crying:
Thanks....
Related
I think I've tried everything but can't get it to work.
I used Paragon Partition Manager 2009 on a windows XP pc and partitioned my 8GB card into fat32, 512MB ext3, and then 32MB linux swap in that order.
I am using the Modaco 2.3 ROM.
When I boot with the card inserted I get a constant reboot cycle (the little android in the letter "O" keeps being repeated). Then, when I remove the card and boot up without it, all my apps are gone.
I have retried this about 4 times and get the same result.
In Partition manager there are options for ext2, ext3, linux swap, linux swap2 but I don't know which to use. Also, should the partitions be primary or extended?
Please help!
try to us this won http://forum.xda-developers.com/showthread.php?t=561124
for future reference all the partitions should be primary.
i rely recommend u try the link i has posted 2 mess before
Partition your SD directly from the menu! (500MB Ext2, 32MB Swap, remaining Fat32)
KinkyGolab said:
i rely recommend u try the link i has posted 2 mess before
Partition your SD directly from the menu! (500MB Ext2, 32MB Swap, remaining Fat32)
Click to expand...
Click to collapse
+1 on that for sure.
Moved to Q & A
OK, thanks, KinkyGolab. I think it's working!
I now have 104MB free in my phone with lots of apps installed.
I flashed the recovery rom like you said so I now I use that one rather than the cyanogen recovery rom and partitioned the card from within the recovery console.
When I put the card back into my PC and examined it with Paragon partition manager I could see that the swap partition was described as "linux swap2" rather then simply "linux swap" that I had used before. Maybe that was the issue?
Anyway, I'm off to do some testing now.
Thanks again.
Hey guys im a bit frustrated right now:
ive created the partitions just like in this guide:
http://forum.xda-developers.com/showpost.php?p=22201029&postcount=43
Ive got 2x Ext4 partitions and an active primary fat32 with about 100megs on it. You can find some screenshots in the attachments.
The Problem is if i restart my nook it doesnt pop up with cwm, it just normaly boots.
Did i forget something?
To make it boot you need to active the LBA flags, but i think 7. Right click on the new Primary partition and make sure "Set Active" is selected from the Modify submenu step is the equivalent of LBA flags in gparted ubuntu but i could be totally wrong. That is an important step. That is the hint
~ Veronica
yea i have done that, next to the "Primary" it says "active" so yeah..
Try rebooting the NT with the USB cable attached to the computer. This has worked for a few people.
yea tried that to but didnt change anything :/
That being the case, I'm sorry to say that you probably have a messed up partition, flag or something else is wrong with the SD card or it's structure.
I would recommend (although it is more work) that you try the Linux Partition method. The additional work will come from having to find a bootable version of Linux.
I created a brief outline of various methods HERE. Perhaps you could one a go and use Gparted instead of Windows to partition the SD.
It's worth a shot.
thanks ill try tomorrow
EDIT: ignore post.
Sent from my BNTV250 using Tapatalk
well i tried again to put these files on, this time using ubuntu and it still doesnt boot. ive setted the flags and put the files from http://forum.xda-developers.com/showthread.php?t=1446987 into my "root" partiotion which has the boot flags and so on but it still doesnt boot cwm. Do i need to press any keys while booting?
My Nook Tablet is rooted btw, should i do a factory reset and maybe make a movie? I really dont know what more i can do
Try the following (Linux) to unzip the files and get them on the SD. This could be the problem. Simply opening them and dragging them might not properly decompress them. Thank you to CelticWebSolutions for the following steps which I copied from the CM7 Rom Thread.
Open a terminal window and issue the command:
sudo file-roller
You will be asked for your password and after that a zip software window will open up, click open open and find the file "NT-CWM-SD.zip".
Drag all the files form this archive into your newly created system partition on your sd.
This can take a couple of minutes to actually complete so be patient, often it looks like it's finished but it's still copying in the background.
Close all windows and right click on your SD card on the desktop and select to "safely remove drive" if files are still writing to the disk it will warn you and the warning windows won't disappear until the files have finished writing to you SD.
Make sure you leave the SD in there until this process has finished otherwise your card probably won't work.
do you mean system partition or boot partition?
Edit:
my created partitions are all primary:
first partition with the cwm files on it: 50MB - Primary - FAT 32 - boot and lba flag
second partition: nothing on it - 2000MB - Primary - EXT4 - no flags
third partition: nothing on it - 2000MB - Primary - EXT4 - no flags
Pain12345 said:
do you mean system partition or boot partition?
Click to expand...
Click to collapse
Boot. My bad on choice of words. Bottom line is the card should look the same as the first one you tried. I'm only trying to insure that the files get extracted properly.
Also, to eliminate possible variables that may be causing yourissue, make sure the USB cable is plugged in when you try to boot.
Fingers crossed.
yea copied the files like you said and it still doesnt work. The nook does start and instantly boots "nook reader" not cwm. I really dont know what mroe i should do, i might record a movie if im home.
While booting the nook i have connected the usb cable
Thats how my partitions look like:
first partition with the cwm files on it: 50MB - Primary - FAT 32 - boot and lba flag
second partition: nothing on it - 2000MB - Primary - EXT4 - no flags
third partition: nothing on it - 2000MB - Primary - EXT4 - no flags
Edit2:
i didnt fill the sdcard with zeros, should i do this b4 partitioning?
Also my Nook is rooted, does this matter?
Indirect's APK?
I couldn't get the SD card method to work either and then I found Indirect's APK and that worked perfectly, just a thought... It's in the development section.
Really trying to help you here. Honestly I have never used the method in the actual CWM thread but I have successfully on two occasions created bootable SD cards. It is my understanding that it is the way the card is partitioned that tells and allows the system to "boot" from it. That said I have copied the instructions from the CM7 Rom thread below which use the Linux GParted partitioning method. Not having the SD card setup properly is the only thing I can think of to help at this point besides perhaps that you have a bad card. Try the below (which it sounds like you already have) just to be 100% sure the card is setup properly.
Delete all partitions on your SD card first using GParted and use the following
------------Thanks CelticWebSolutions--------------------
Open GParted select your SDcard in the top right hand side of the window.
Select create partition table form the device menu select the empty space on the newly wiped SD card and click the paeg icon with a green plus on it, a window will appear with some boxes to fill in, change the box that says New Size (Mib) to 50, Change file system to Fat32 and write boot in the label., then click add.
Again click on the unallocated space and add another partition as around 2000(MiB) as EXT4 and label it as system (LandMaster Note: Not needed for CWM only)
Add a 3rd partition in unallocated space again of about 2000(MiB) EXT4 and label it as data. (LandMaster Note: Not needed for CWM only)
now you have three partitions waiting to be created click the green tick to apply your changes
Once changes have applied right click on boot and select the menu item 'Manage Flags', tick boot and lba and close the window, your SDCard is now ready to get it's data for it to work
-------------------------------------------------------
You DONT even need the 2nd (system) and 3rd (data) partition as outlined above if all you want is a bootable CWM. Just one (I used 74MB) MS-DOS (FAT32), Active Partition with "boot" and LBA" flags set.
Lastly, since you are rooted you could always flash the internal recovery partition with CWM using the method in This Thread and get into CWM by clicking reboot recovery from within the app.
I never did ask .... What is your ultimate goal?
I spend a few more hours to it and it still doesnt work. Via the app i can run cwm but only via the app. The goal is that i have a working recovery sd card if i brick my nook..
I installed ubuntu on my computer and i did exactly the same steps like you have posted but it wont work. Ive also tried multiple other sd card but that didnt change anything
Maybe any development settings on the nook that i should change?
As i live in germany would maybe anyone of u sell me a working sd card with cwm on it so i can test?
Pain12345 said:
I spend a few more hours to it and it still doesnt work. Via the app i can run cwm but only via the app. The goal is that i have a working recovery sd card if i brick my nook..
I installed ubuntu on my computer and i did exactly the same steps like you have posted but it wont work. Ive also tried multiple other sd card but that didnt change anything
Maybe any development settings on the nook that i should change?
As i live in germany would maybe anyone of u sell me a working sd card with cwm on it so i can test?
Click to expand...
Click to collapse
Thats what I thought and it is a good plan. Unfortunately I'm stumped.
Albert Wertz is in the SD Card "business". Check with him to see about getting one.
FYI, now that you have CWM "written" to the internal recovery partition you should be able to enter recovery even if you can't boot the tablet to android.
N+Pwr from off condition should do the trick.
Pain, sorry, I just saw this thread. I made a small update to the instructions. I left out something which I thought was obvious. This was a fault on my part. Did you label each partition correctly? It should be BOOT, system, and data.
I used this method (don't forget the ext4fsd part) and it does work. But if you're still having trouble the CD-boot version of Ubuntu will work just fine too.
i allready have ubuntu running on a cd, in the past i labeld it "boot" (case sensitiv - all small letters) so this could be the fault?
Edit:
i can see that cwm work, it pops up 4 a half second or even less if i start the nook but than it instantly disappears
after installing cwm on my NT after that (my B&N store has been disabled and it doesn't let search, download, or view anything on the store..... has anyone a solution to this issue
Weird,
Android says my SD card is corrupt and only offers to format it.
Windows says the same.
CWM doesn't, as far as I can see, see it either, EXCEPT when I ask it to install a zip from it... it can see everything on the SD card and installs successfully from it!
Problem is, I need to copy stuff from the card before reformatting it.
Any ideas on how I might do that?
P.S. Yes, it is definitely the SD card and not the internal one
P.P.S. Windows doesn't see the phone when connecting under CWM...should do though shouldn't it. Perhaps that's my problem..?
Thanks.
Are you rooted? If yes, maybe running e2fsck on the command-line will sufficiently recover it to be mounted.
Alternatively you can use Recuva under Windows to find and rescue the files you need, or chkdsk to attempt a repair.
Is it a Fat32 or exFat (Fat64) filesystem and is there any reason such as removing it without ejecting, that could have caused this?
Sent from my GT-I9300 using xda premium
d4fseeker said:
Are you rooted? If yes, maybe running e2fsck on the command-line will sufficiently recover it to be mounted.
Alternatively you can use Recuva under Windows to find and rescue the files you need, or chkdsk to attempt a repair.
Is it a Fat32 or exFat (Fat64) filesystem and is there any reason such as removing it without ejecting, that could have caused this?
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Thanks for the prompt reply.
It is rooted, although I tried to install this e2fsck through CWM and it gave me generic errors. Not being a Linux man I wouldn't feel that comfy with stuff like that anyway though.
The card is exFAT so I think Chkdsk (Win7) won't fix anything IFAIK. Oh, Windows says the card isn't formatted though, so won't do anything.
Recuva is unable to determine the file system.
:-(
I installed CM9 from the card, which then couldn't read it (I didn't know CM9 didn't support exFAT), so I restored my previous backup from the Sammy rom so it would be back to normal. But when it booted up the first time post-restore, it said the card was corrupted.
The kernel is what defines whether a filesystem can be or can't be mounted since it includes the filesystem logic. So replacing the kernel always helps if a ROM cannot mount the filesystem.
(Except for special userland filesystem based on Fuse)
It sounds like the partition table got badly corrupted, either by software or hardware.
I'm sure it didn't give you the output "generic errors". We're here to help guide you through the process if you have not enough knowledge but you'll at least have to try. However I don't know how I managed to type e2fsck, since that one is for Ext2 filesystems which has nothing in common with Fat64. You'll have to use a computer to repair it...
After having plugged in the card, could you please go to the Start menu and type 'diskmgmt.msc', then hit ENTER.
Check if the removable disk is initialized and contains a partition (aswell as what the type of the partition is)
It probably shows an unitialized disk, a disk with a RAW partition or a disk without any partitions.
If that is the case, try http://www.cgsecurity.org/wiki/TestDisk
You'll find a reference to a lot of other (free and paid) tools on this page: http://www.hiren.info/pages/bootcd in the Section "Recovery Tools"
Depending of what your data is worth to you, you'll want to get a bitwise backup of the content first so if you screw up during recovery nothing is really lost.
I wasn't being lazy, just keeping in mind how important the data is and how much effort it's worth expending.
The answer was 'not that important' and I ended up formatting it using the very brilliant fat32format.exe (after trying with Windows Pish 7).
It must have been pretty screwed as TestDisk found nothing of any value there at all. (It was RAW in Windows).
But the upshot is I now have a FAT32 formatted 64GB (hopefully, unless it's a dodgy one) SD card that will work on Sammy and AOSP roms.
Thanks for your time, d4f.
If you have been having issue with exfat card even after formatting it to fat32 this is probably the solution for you
The 64gb exfat card i have never worked on custom roms no matter what software i used to format it to fat32.
But finally it worked with this one software, Just make sure you follow the instruction correctly.
http://software-files-a.cnet.com/s/...&pid=12572695&psid=10863346&&fileName=epm.exe
First use easeus to delete the partion in 64 gb card.
then Click Start menu, select Run and enter diskmgmt.msc
You need to find the disk with unallocated space. Right click on it and select "New Partition" and follow these steps, clicking "Next"
Enter the maximum size for the Partition Size
Choose assign a drive letter. I used F:
Select "Do not Format this partition"
Click Finish
Now you have a drive letter, this is what we will pass to the formatter
http://www.ridgecrop.demon.co.uk/download/fat32format.zip
Now download a copy of fat32format. Extract the EXE file to C:\
Click Start->Run and enter cmd (as admin)
type this - C:\fat32format f:
enter y to continue
Now the sd card should work on phone.
Source: http://www.ridgecrop.demon.co.uk/index.htm?guiformat.htm
Thanks to DroidGnome for linking me this site.
An easier alternative which doesn't require CMD or the use of multiple tools is HP Usb Format Utility:
http://www.softpedia.com/get/System/Hard-Disk-Utils/HP-USB-Disk-Storage-Format-Tool.shtml
d4fseeker said:
An easier alternative which doesn't require CMD or the use of multiple tools is HP Usb Format Utility:
http://www.softpedia.com/get/System/Hard-Disk-Utils/HP-USB-Disk-Storage-Format-Tool.shtml
Click to expand...
Click to collapse
If it works then sure. i already used 3 recommended softwares all failed so i dont know if this will work.
Thanks for this guide
I always format and re-partition in Linux ...
I always format and re-partition in Linux ... and currently all my large microSD cards have been re-partitioned with the following layout:
- free space (4 MB on 32GB, 16 MB on 64GB - since that's how those came from factory )
- main partition (primary partition 1 - I format that as Fat32 in Linux but then I go to Win7 and re-format to exFat; exFat works perfectly in Android 4.x from Samsung (and good mods) and the CWM recovery from CrisKelo ROM can work just perfectly with exFat when doing backup/restore; other (even newer) CWM versions/alternatives might NOT be OK with exFAT or stuff over 32GB!
- 512 MB Linux swap (primary partition 2) - this gets mounted by special mods that give the kernel virtual memory
- free space at the end (at least 4 MB on 32GB, at least 16 MB on 64GB)!
The only drawback is that at this moment there is no program (on PC or phone) that can resize exFAT - so you need to reformat! That is in contrast to NTFS / FAT32 / ext2 / ext3 / ext4 - which can all be resized perfectly - and IMHO NTFS could be a better option that exFAT (for journaling, even if I do not write that much anyway), but unfortunately there is no serious support for it on CWM; ext3/ext4 could also be even better from the Linux standpoint (but not for the usual Windows user that might have problems reading it) - but again is (surprisingly) not so supported by either CWM nor most ROMs
Just got new Sandisk 64GB cards and was having a heck of a time getting them to play nice with Paranoid Android, this guide was simple, painless and most of all, effective. Thank you much for posting this information.
Works with cyanogenmod nightly 2013-02-17 and ubuntu
So I have tried it out and it worked.
omar300 said:
If you have been having issue with exfat card even after formatting it to fat32 this is probably the solution for you
The 64gb exfat card i have never worked on custom roms no matter what software i used to format it to fat32.
But finally it worked with this one software, Just make sure you follow the instruction correctly.
http://software-files-a.cnet.com/s/...&pid=12572695&psid=10863346&&fileName=epm.exe
Link seems broken.
Click to expand...
Click to collapse
Thank you!! Was wondering what I had done wrong with a custom ROM not reading the 64Gb card I had, now it does: )
great to see i helped some people.
ok so software to erase partition is called EaseUS incase this link gets broken in future just google, if im late with reply again in future.
http://download.cnet.com/EaseUS-Partition-Master-Free-Edition/3000-2248_4-10863346.html
Just wanted to say THANKS
I have been trying to get my 64GB working for days after install wicked rom 5.1 for my Samsung S4, noting worked till I found this post GREAT work and thanks so much!!!!
YOU RULE!
Thanks!! I have only been able to get my Scan Disk Ultra 64G card to work with Perseus kernel and would have to flash it to all Roms then use a hack to swap the internal to get it to work. It was a Pain in the ass and limited my Kernel usage. THANK YOU SO MUCH WHAT A USEFUL POST!! Stick to this plan it works. I have yet to see any other solution. I been dealing with this problem since I had my Galaxy note2 almost a year now.
PS do not use that crappy HP USB format 2.2 whatever program some guy suggested a bunch of malwar garbage I cant get off my computer now THANKS BUDDY Crawl back under a rock which you came.
Thanks for the wonderful help everyone who got it working
Sent from my SHG-M919 using XDA Premium 4 mobile app
so which format type is better for some1 running stock rom on galaxy note 2..... with a 64g sandisk ultra..... its alrdy working without any particular format....worked with factory settings but right now d mmry card is acting up cos of d script I used 2 swap....am only guessing.... so is it better 2 format to ex fat or fat32?
mortallkombat said:
so which format type is better for some1 running stock rom on galaxy note 2..... with a 64g sandisk ultra..... its alrdy working without any particular format....worked with factory settings but right now d mmry card is acting up cos of d script I used 2 swap....am only guessing.... so is it better 2 format to ex fat or fat32?
Click to expand...
Click to collapse
i have no idea the swap system, as stock, it already has driver for ex fat but since you changed some stuff it might have ruined that driver.
try your card on another phone with stock rom and same android version. if it works then you dont need to change sd card format, just reinstall ROM on your phone.
PhatNerd said:
Thanks!! I have only been able to get my Scan Disk Ultra 64G card to work with Perseus kernel and would have to flash it to all Roms then use a hack to swap the internal to get it to work. It was a Pain in the ass and limited my Kernel usage. THANK YOU SO MUCH WHAT A USEFUL POST!! Stick to this plan it works. I have yet to see any other solution. I been dealing with this problem since I had my Galaxy note2 almost a year now.
PS do not use that crappy HP USB format 2.2 whatever program some guy suggested a bunch of malwar garbage I cant get off my computer now THANKS BUDDY Crawl back under a rock which you came.
Click to expand...
Click to collapse
i know, that is reason i posted this. i tried about 10 software and then i found this weird way of doing it and it actually works.
all those fancy software dont do anything besides slowing computer down.
glad to know i was of some use
Beware, this guide is more or less untested, it will interfere with stuff like memory encryption and OTA or other firmware updates. You have been warned, I assume no warranties for bricked phones, SD cards or lost data.
Many cheap-ass Mediatek phones ship with Android 4.4.2 or later and only ridiculous amounts of internal storage (2GB in my case, CAT B15Q). That may be enough for basic apps, but as soon as you install Navigon or other data-heavy apps (or WhatsApp with a load of videos) you're going to run out of space in no time - and because Google is a bunch of fools, they disallowed app installations to SD cards entirely in 4.4!
So, we're going to move /data in its entirety to our nice huge SD card and be able to use even bigger apps on small phones. It might be possible that this guide works on other phones, but that depends on how they boot and where the fstab and init.rc reside!
Prerequisites:
Mediatek-based 4.4.2 or later phone with root access in recovery (boot it in recovery, run adb shell, therein run id. If it says root, all fine. If not, install CWM)
A large enough SD card (I chose a 32GB card with a 50:50 split between /data and the "external sd card")
Solid Linux knowledge, one Linux PC and one Windows PCs. I urge you to NOT use any kind of VM unless you have experience with USB passthrough.
spFlashTool and the Mediatek drivers from http://forum.xda-developers.com/general/general/stock-rom-cat-b15q-rom-development-t2988774, for a flashing guide see http://forum.xda-developers.com/android/help/howto-firmware-flashing-cat-b15q-t2989627
mtkdroidtools from https://www.androidfilehost.com/?fid=23501681358558543 on the Windows PC
mtk-tools from https://github.com/bgcngm/mtk-tools on the Linux PC (no, Cygwin does not work, it messes up the permission bits), cloned on an ext4 partition (not sure if ext2/3 can handle the extended permission bits...)
a network connection between the PCs or a USB stick to transfer files
Take the sd card out of the phone and insert it into your computer. Many laptop SD slots don't like SDXC (>4GB), you might need e.g. a Huawei 3G stick or a SDXC-compatible USB dongle.
Repartition the SD card using Acronis Disk Director, gparted or whatever you're familiar with. The first partition must only be resized (this is the FAT partition), the second partition is a ext4 (!) partition. Both MUST be primary partitions. Acronis and other tools on Windows might require a reboot to repartition SD cards. I recommend a 50:50% split, but if you're heavy on apps or their data, you might go for a 25% FAT: 75% EXT4 split.
Boot your phone into recovery, connect to it with adb in a root shell.
Assuming your data partition is at /dev/mmcblk0p8 (look in /fstab to find it out, followed by mount /data and ls /data to verify), execute the command "dd if=/dev/mmcblk0p8 of=/dev/mmcblk1p2", wait until it is finished. This can take up to ten minutes or more, depending how much data there is.
Shut down the phone, take out battery and SD card.
Insert the SD card into your Linux machine, run resize2fs /dev/sdb2 (or wherever the ext4 sd card partition ended up, check it in dmesg) as root so that the filesystem grows; then eject the SD card and put it back into your phone
Readback your BOOTIMG partition, transfer it to the linux PC (or, if you already have a boot.img for your current firmware, use this one)
On the Linux PC, open a rootshell (to avoid permission issues when building the ramdisk).
Run "./unpack-MTK.pl /path/to/bootimg"
"cd boot.img-ramdisk" (directory might be named different, depending on how you named the bootimg dump file)
Using a text editor, edit the "fstab" file(s) (there might be multiple, with suffixes): From (adjust if needed)
Code:
/[email protected] /data ext4 noatime,nosuid,nodev,noauto_da_alloc wait,check,encryptable=footer
to:
Code:
/dev/block/mmcblk1p2 /data ext4 noatime,nosuid,nodev,noauto_da_alloc wait,check,encryptable=footer
Now, edit the init.rc file (beware, other .rc files in the ramdisk root might also contain mount commands!).
Search for "on fs_property:ro.mount.fs=EXT4" and again replace /[email protected] (or whatever the node for /data had been) with /dev/block/mmcblk1p2 in the commands in this block (should be fsck, tune2fs,ext4_resize and mount).
Repack the boot image: ./repack-MTK.pl -boot boot.img-kernel.img boot.img-ramdisk/ /path/to/newboot.img
Transfer newboot.img to the Windows PC and flash it using spFlashTool
boot your phone, look in Settings->Memory to see if it went OK!
If the memory view didn't change, also modify the other blocks of on fs_property, in case your device does not use an ext4 rootfs (but yaffs or ubifs instead).
Functionality
It is a good idea, but
Are I still have part of it as external storage?
If yes, it means I can not remove it because there are some apps used it.
If no, it means I will not have external storage anymore!
e.ahmedmahfouz said:
It is a good idea, but
Are I still have part of it as external storage?
If yes, it means I can not remove it because there are some apps used it.
If no, it means I will not have external storage anymore!
Click to expand...
Click to collapse
The SD card is now both internal and external storage! You are not able to remove it because else your system will not boot anymore.
harddisk_wp said:
The SD card is now both internal and external storage! You are not able to remove it because else your system will not boot anymore.
Click to expand...
Click to collapse
what if the sd card is damaged ?
Can my phone boot again..or will booltloop
madthinker said:
what if the sd card is damaged ?
Can my phone boot again..or will booltloop
Click to expand...
Click to collapse
If you manage to kill your sdcard while you have my sdcard hack installed, then the phone will bootloop until you insert a new sd card partitioned just like the old one. Then it will act like you had factory-resetted it.
Alternatively you can always reflash original boot.img/recovery.img and use the phone with limited internal memory.
harddisk_wp said:
If you manage to kill your sdcard while you have my sdcard hack installed, then the phone will bootloop until you insert a new sd card partitioned just like the old one. Then it will act like you had factory-resetted it.
Alternatively you can always reflash original boot.img/recovery.img and use the phone with limited internal memory.
Click to expand...
Click to collapse
i see, thanks to explain me :good:
There is another way to get more space: Link2SD (2.- euros) with a second partition on your external SD-card exactly like shown above (ext4 partition, primary).
The advantage is, that if the sdcard is faulty the system still runs, just the apps which are symlinked to the ext4 partition won't run.
So I use this for all these not absolutely important apps which needs lots of internal memory, e.g. kindle bookreader, Amazon, WhatsApp etc. I dont use it for all apps, most importantly not for any app, where there is no alternative. Last week my two years old 64 GB MicroSD card (SanDisk, with warranty 10 years) in my SGS4 stopped working and this could happen all the time. They are not that reliable I think, that I would put my system on it.
I did this now with the Cat B15Q of my friend.
EDIT: and she has now more than 1 GB free internal space
I think this is the best solution, 2 GB for the pure ROM and the system apps is more than enough and all user apps go to the external sd-card (2nd partition).
good day!
hope you can help me.
what if i want vice versa? because my phone's default storage (0) is sd card.and i want my default storage will be its internal since it is 32gb rom. tried all ways but i think the answer is its boot.img. thank you..hoping for a help