Related
Hello everyone -- like everyone always says, I did quite a bit of research before posting this, but I can't seem to find the right answer for me.
(I use Cyanogenmod 7 on my HTC Hero (Sprint).)
After using ROM Manager to partition my SD card (it says it successfully partitioned, and the phone boots fine), my phone won't recognize its new internal storage. Like when I go to "manage applications" it only shows my 156 MB, not the 512 MB like I expected from my ROM Manager partition.
The only other person I've found who said the same thing, after quite a bit of searching, said ROM Manager wouldn't work for him for some reason, but Amon_RA did.
So I flashed Amon_RA, partitioned the SD card that way too, and my phone still will not recognize its internal storage. I set the partition w/ Amon_RA to 700+ MB and rebooted but the phone again only says I have 156 MB of internal storage.
I would use ClockworkMod, but the highest level supported for the HTC Hero doesn't have the partition mode. And considering how the other two programs were unable to partition it, I feel like it's more a mistake on my end.
Am I making some dumb mistake on the last step? I don't know of many other options I can be messing up -- in the case of ROM Manager, I simply enter in my specifications (I've tried with no swap and small swap) and it does that fine and boots fine. My phone just doesn't recognize the internal memory.
I forgot to add -- when I go under Cyanogenmod's settings --> application settings --> the "Use internal storage" option is grayed out, saying "This device doesn't have extended internal storage."
Format the sdcard,Delete all of the partitions you have made and try again using clockworkmod (An older version would be nice thats what i use).Then make a partition through the recovery's menu set the swap size to 0 and select ext2/3
You can also try an ext-4 partition
[email protected] said:
Format the sdcard,Delete all of the partitions you have made and try again using clockworkmod (An older version would be nice thats what i use).Then make a partition through the recovery's menu set the swap size to 0 and select ext2/3
You can also try an ext-4 partition
Click to expand...
Click to collapse
Thanks for the reply! Clockworkmod's website says the latest supported version for the HTC Hero (CDMA) is 2.5.0.7 -- do you know of a version that would be safe for me to use that will also support partitioning? Also, I've read that ROM Manager simply uses Clockworkmod to partition SD cards, so would using Clockworkmod itself offer a better solution than my failed ROM Manager efforts?
After reading your post, I used the 2.5.0.7 CWM to format my SD card and Ext, then I flashed and booted Amon_RA again to wipe the partitions. I then used Amon_RA to partition my card (with no swap as you specified). And I used Amon_RA to upgrade my Ext2 to Ext3. After rebooting, my "Use internal storage -- This device doesn't have expanded internal storage" was still grayed out and the internal memory still showed me at 156 MB.
I returned to Clockworkmod to mount /sdcard and /sd-ext (which I had never tried before). Still no new internal memory, same checkbox grayed out.
Am I being a total idiot here? Thanks for any help in advance!
I don't mean to spam this thread, but upon returning to Clockworkmod 2.5.0.7 to reformat the SD card and try again -- I find that it still offers me the option to mount /sdcard and mount /sd-ext.
Does this mean that my previous mounting didn't take? Maybe this is the source of my problem, that my phone won't let me permanently mount the /sdcard or /sd-ext. Any ideas along these lines?
Edit: I went back, formatted and re-installed partitions w/ Amon_RA (no upgrade from Ext2-->Ext3 this time though). After the box was still grayed out and my internal storage still 156 MB, I went back to CWM to mount /sdcard and /sd-ext -- then I simply rebooted CWM, and it STILL said I had the option to mount /sdcard and /sd-ext.
gjs16 said:
Thanks for the reply! Clockworkmod's website says the latest supported version for the HTC Hero (CDMA) is 2.5.0.7 -- do you know of a version that would be safe for me to use that will also support partitioning? Also, I've read that ROM Manager simply uses Clockworkmod to partition SD cards, so would using Clockworkmod itself offer a better solution than my failed ROM Manager efforts?
After reading your post, I used the 2.5.0.7 CWM to format my SD card and Ext, then I flashed and booted Amon_RA again to wipe the partitions. I then used Amon_RA to partition my card (with no swap as you specified). And I used Amon_RA to upgrade my Ext2 to Ext3. After rebooting, my "Use internal storage -- This device doesn't have expanded internal storage" was still grayed out and the internal memory still showed me at 156 MB.
I returned to Clockworkmod to mount /sdcard and /sd-ext (which I had never tried before). Still no new internal memory, same checkbox grayed out.
Am I being a total idiot here? Thanks for any help in advance!
Click to expand...
Click to collapse
the version is ok
i think you should better use windows to remove partitions (with disk management)I dont know if the problem persists then try a different sdcard(maybe a friend's)
Hi,
I'm running Cyan 7 on Legend and having the same problem.
The option for 'expanded internal memory' is still grayed out, no matter what!
I tried using CMW to partition, it only gave me maximum 512 MB while I wanted 1 GB but whatever. That doesn't work.
I tried Ubuntu live CD to format and partition the card into 2 parts, first FAT and second ext3/ext4 -> doesn't work.
The last option is to use an app called S2E from the market. It does the job, but still isn't the official supporting of expanded internal memory from Cyan.
There's a tutorial how to manually partition the card. It mentioned using rm 1 command to remove the partition. However I found that it was impossible because the recovery was running on that partition and thus cannot remove itself.
Any other solution?!
Thanks guys!
For gjs16: mounting partitions in recovery are only in effect when you are in that recovery session; once you boot the phone the mounts are gone.
I was looking into this CM7/Use internal storage thing myself (I'm playing with my old Nexus One) which is how I came upong this thread. I think this option works "out-of-box" only on devices that have some internal flash in addition to an sd-card slot, like the Samsung Galaxy S (2 GB ROM for apps + 8/16 GB internal storage + sd-card slot).
So, this is just a guess but I think you'd have to play with the mount points, perhaps with symlinks, to make it work with a partitioned sd-card, so that CM7 recognizes the fs structure the way it is handled in e.g. SGS.
Edit. This solution worked for my NX1+CM7: http://forum.xda-developers.com/showpost.php?p=18911182&postcount=1784
Just flash this right after flashing CM7 (and gapps if you want them). It mounts the sd-ext to /data so you can have all the space you need for your apps...
Hi,
First of all, thank you a lot for all the development effort that has been put in to bring the AOKP ROM up to this fantastic standard. I have been using the ICS AOKP for quite a while, and just switched over to the JB ROM. It feels a lot faster and smoother, thank you!
I have got a question on Link2SD after flashing this ROM. Apologies beforehand, if this is not the forum to post that. I had used Link2SD while on ICS to move most of the apps to the SD card. Now after flashing JB, Link2SD does not re-mount the SD card secondary partition. I selected all the options mentioned (ext2/3/4/FAT) but it fails to mount with any of those options. So I'm not able to re-link any of my apps. Does anyone know how to fix this and get my apps back?
I also tried the following as per suggestions in some of the threads: 1) mounting it in recovery: not working; gives the message error mounting sd-ext (2) deleting some of the apps like Downloads and Email: still not working even after deleting those two apps.
Any help will be much appreciated. Thanks in advance!
I never had any problem with link2sd and ANY rom. Im on CM 10.1
Till ICS it was easy to directly download and flash roms and Gapps.
But JB roms need trimming.
What i do is.. after a clean wipe I flash any JB rom. Then remove unwanted apps.. Instal Link2sd..
change few minor system apps to user apps (not recommended, if you dont know.. what you are doing).
After linking these apps.. I always have enough mem for Gapps.
In Gapps also you have few apps which you can convert to user app and then link it.
rr0yy said:
I never had any problem with link2sd and ANY rom. Im on CM 10.1
Till ICS it was easy to directly download and flash roms and Gapps.
But JB roms need trimming.
What i do is.. after a clean wipe I flash any JB rom. Then remove unwanted apps.. Instal Link2sd..
change few minor system apps to user apps (not recommended, if you dont know.. what you are doing).
After linking these apps.. I always have enough mem for Gapps.
In Gapps also you have few apps which you can convert to user app and then link it.
Click to expand...
Click to collapse
My issue is now fixed, but in a hard way. Formatted the secondary SD card partition, and then Link2SD automatically recognized it. All the apps are gone, but at least I got the secondary partition active. Spent another half-hour downloading all the needed apps again from the Play store.
Link2Sd not working for me on CM10.1 Rom
I am using TouchWiz JB V2 Rom
I have tried ti install int2Ext+ (CronMod Fixed version fro 4.2.2) Still no luck
Also installed Link2Sd but it gave
Unable to create mout script error
I partiotned my sdcard using recovery (CWM 5.0.2.6) (it created Ext3)
Then (Delected the sdext partition using "Mini Partition Tool Wizard" then created new partition for Ext4)
But still no luck Nothing seems to work
adcool2007 said:
I am using TouchWiz JB V2 Rom
I have tried ti install int2Ext+ (CronMod Fixed version fro 4.2.2) Still no luck
Also installed Link2Sd but it gave
Unable to create mout script error
I partiotned my sdcard using recovery (CWM 5.0.2.6) (it created Ext3)
Then (Delected the sdext partition using "Mini Partition Tool Wizard" then created new partition for Ext4)
But still no luck Nothing seems to work
Click to expand...
Click to collapse
Hi
І have also had the problem.
I removed the system software of Google voice search, voice dialing, search . (Titanium Backup / un-install all user & system apps)
format ext2 or ext4.
Run Link2sd
Apparently there was no room in the system or chmod / chown
Can you tell which version of kernel you are using?
If you are on 3.x.x version, sorry to tell you that these scripts are not working till today.
rishabhgangwar said:
Can you tell which version of kernel you are using?
If you are on 3.x.x version, sorry to tell you that these scripts are not working till today.
Click to expand...
Click to collapse
Hi
Kernel 3.0.8-perf+chocolate [email protected] #1
I have Install [UNOFFICIAL] [ROM] [4.2.2] [29.3.13] Android Open Kang Project (AOKP)|Build #1 - P500
But link2d is not working.
I tried formatting ext2 and ext4, no result was not, error mount script.I knew it or not enough memory or wrong permissions set.
I mentioned that Titanium Backup can delete system apk you need to unmount the partition.
I removed the system software of Google voice search, voice dialing, search . (Titanium Backup / un-install all user & system apps)
Run Link2sd :victory:
I also had problems with link2SD.
piavia said:
Hi
Kernel 3.0.8-perf+chocolate [email protected] #1
I have Install [UNOFFICIAL] [ROM] [4.2.2] [29.3.13] Android Open Kang Project (AOKP)|Build #1 - P500
But link2d is not working.
I tried formatting ext2 and ext4, no result was not, error mount script.I knew it or not enough memory or wrong permissions set.
I mentioned that Titanium Backup can delete system apk you need to unmount the partition.
I removed the system software of Google voice search, voice dialing, search . (Titanium Backup / un-install all user & system apps)
Run Link2sd :victory:
Click to expand...
Click to collapse
Thanks a lot man Pavai
u save me ....:victory:
The standard and not-really-necessary idea of doing a factory-reset wipe when flashing is the problem here. I also had that zong my sdext making it read-only and nothing, nothing except re-partitioning the sdcard helped.
not working !
hi ! I have a problem , I've tried to partition sd card with cwm, minitool partition , tried ext 2,ext 3 , ext 4 , flash again ROM , install first link2sd , recreate mount scripts every time i change the method but no matter what i do , it keep telling me that the 2nd partition is not mounted and wont let me recreate mount script . ( Mount script cannot be created ) . If anyone can help me , i'll very much appreciate . Thanks !
LG P500 , CM10.1
Edit : Got it to work with CM7 .
Link 2 sd second partition is removed after installing a new custom ROM , help plz
Hi, Link 2 sd second partition is removed after installing a new custom ROM , (i lost my 2gb) how to fix it ??? how can i get my second partition storage back ? Please help me out
You can open menu on link 2 sd, and in the "more" section, click 2 re-link libraries and re-link files.
Sent from my LG-P500 using xda app-developers app
HELPPP
i used link2sd and i deleted something and all of a sudde the network disappeared after restarting when i go to mobile networks it says THIS OPTION DOES NOT SUPPORT CURRENT ROM... help pls asap.. **** i regret it so much
---------- Post added at 11:32 AM ---------- Previous post was at 11:18 AM ----------
I deleted something probably dialer with LINK2SD and now my mobile network doesnt work when i do to the settings it says THIS OPTION DOES NOT SUPPORT CURRENT ROM.. please help asap..
hashdoom said:
Hi,
First of all, thank you a lot for all the development effort that has been put in to bring the AOKP ROM up to this fantastic standard. I have been using the ICS AOKP for quite a while, and just switched over to the JB ROM. It feels a lot faster and smoother, thank you!
I have got a question on Link2SD after flashing this ROM. Apologies beforehand, if this is not the forum to post that. I had used Link2SD while on ICS to move most of the apps to the SD card. Now after flashing JB, Link2SD does not re-mount the SD card secondary partition. I selected all the options mentioned (ext2/3/4/FAT) but it fails to mount with any of those options. So I'm not able to re-link any of my apps. Does anyone know how to fix this and get my apps back?
I also tried the following as per suggestions in some of the threads: 1) mounting it in recovery: not working; gives the message error mounting sd-ext (2) deleting some of the apps like Downloads and Email: still not working even after deleting those two apps.
Any help will be much appreciated. Thanks in advance!
Click to expand...
Click to collapse
Hi, you can do one of these things, by adb shell run e2fsck -fpDC0 /dev/block/mmcblk0p2 to your second partition or using gparted run a full check of second partition of your SD card in a computer card reader, after that will work. I have the same problem, but in my case i have to do this procedure EVERY DAY because at next start the read only problem starts over... ANY BETTER SOLUTION APRECIATED !!!
After factory reset, I had a read-only ext4 partition. Had to start over.
Common cause of link2sd not creating its mount scripts is too little room on /system. Try adb shell df | grep system. Need a few meg. If this be the problem, need to trim the ROM.
Can,t understand ... How to Do it In Micromax A27...in custom Rom
tell me how to do it in Micromax A27 in custom Rom Dreamboltxv2
A lot of separate issues here and in various threads:
1. Sd-ext read only after factory reset. I never do that. Had that very thing happen. Save all data from partitions to computer, repartition and copy it back.
2. Not enough room on system to process/form mount script. JB and onward, ROMs need trimming. > 3meg needed, 9meg should be plenty.
3. No room on data. Link2sd can still work and fix that. If sdext can be mounted, that is ... and a launcher can live long enough to get to lin2sd and start it!
4. Other errors creating the mount script. I am now getting "device busy ... maybe ext4 not supported ... try vfat ... etc." Ext4 is supported. I have a copy of the script which I can place myself.
5. Data integrity problems in Kitkat based ROMs. Repeated recreation of dexes on data, using it up (Link2sd's Achilles heel). Sometimes, recreating that script can stop this. If one can get it re-created. Issues 3, 4. Link2sd can get the space back, problem is keeping it.
I have raised the issues with Link2sd authors.
I'm currently running bhundven's herring CM9 with no kernel modifications and CWM 6. I find that the internal storage for this phone is very low and only holds a small amount of applications, especially since many apps seem to not want to install at all (about 3/4 of the time I try to install things, I get either "Package invalid" or "Insufficient space available", which is extremely annoying and might be a separate problem).
Is there any way that I can get sd-ext to work on this phone with this setup? I'd rather not switch kernels (I'd love to get TWRP recovery but the flashable doesn't work for me and I don't want to switch kernels).
cpkelley94 said:
I'm currently running bhundven's herring CM9 with no kernel modifications and CWM 6. I find that the internal storage for this phone is very low and only holds a small amount of applications, especially since many apps seem to not want to install at all (about 3/4 of the time I try to install things, I get either "Package invalid" or "Insufficient space available", which is extremely annoying and might be a separate problem).
Is there any way that I can get sd-ext to work on this phone with this setup? I'd rather not switch kernels (I'd love to get TWRP recovery but the flashable doesn't work for me and I don't want to switch kernels).
Click to expand...
Click to collapse
I haven't used it but this app should do the trick.
https://play.google.com/store/apps/details?id=eu.codlab.int2ext
Let me know if it works.
I prefer Mounts2SD, which lets you completely configure things. I was running PACman with cache and dalvik offloaded which worked quite well. And free is a good price.
https://play.google.com/store/apps/details?id=com.spazedog.mounts2sd
That seems like it just switches the internal and external storage, not making an ext partition on the SD card. But can things like this really be done through an app? I thought these things had to be done through init.d or build.prop scripts.
Sent from my SGH-T959V using xda app-developers app
The app creates an init file. Or so it appears. Like I said I don't use it. It seems that raze does and I'd defer to him here. Either his app or the one I linked should work fine.
Thanks (given) to both of you. And any ideas on what else might be causing the invalid packages when downloading from the play store? It happens even though I have much more free app space than I would need (eg. I had 119 MB of free space and a 30 MB app download failed).
EDIT: Just tried using Mounts2SD, but it couldn't find the sd-ext partition. Do I need to create that manually, and how?
Sent from my SGH-T959V using xda app-developers app
Titanium backup had a feature to integrate app updates into the Rom.
Sent from my SAMSUNG-SGH-I547 using xda app-developers app
Another way is to create ext4 partition (about 1G is usually enough) on you SD card with free MiniTool Partition Wizard and then use Link2SD to link apps/dalvik to this partition. I've been using it like this for a long time and it works fine. There are plenty of guides on the Web how to do that.
I used CWM or TWRP to create the sd-ext partition. You need to create that first somehow... if MiniTool Partition Wizard will do it without wiping the sdcard, that's better than recovery though.
My method was boot to recovery, mount sdcard, copy everything to computer HD, unmount sdcard, partition sdcard with 2 GB sd-ext (because I wanted lots of space, but I'd probably cut it down to 1 GB next time), mount sdcard, copy everything back from computer HD, unmount sdcard, reboot to system. Then launch Mounts2SD, pick what format you want the sd-ext in (FAT or ext2 are the fastest, but you can take ext3 or ext4 if you're not going to just disable the safety features) and what stuff you want moved over.
Edit: Just found this link, which I haven't used but which explains how to do the sd-ext with MiniTool... apparently MiniTool DOES still wipe the partitions though, so you may as well just use CWM/TWRP and make your life easier.
http://forum.xda-developers.com/wik...#using_MiniTool_Partition_Wizard_Home_Edition
Theraze said:
I used CWM or TWRP to create the sd-ext partition. You need to create that first somehow... if MiniTool Partition Wizard will do it without wiping the sdcard, that's better than recovery though.
Click to expand...
Click to collapse
MiniTool will wipe the sd card to create the new partition as well. I wish there was a way to do it without wiping the card but there is not. So back that stuff up first.
Madein Cyberspace said:
MiniTool will wipe the sd card to create the new partition as well. I wish there was a way to do it without wiping the card but there is not. So back that stuff up first.
Click to expand...
Click to collapse
I used GParted to partition my SD card. NO WIPING. Move, resize, add partitions.
nevkuril said:
Another way is to create ext4 partition (about 1G is usually enough) on you SD card with free MiniTool Partition Wizard and then use Link2SD to link apps/dalvik to this partition. I've been using it like this for a long time and it works fine. There are plenty of guides on the Web how to do that.
Click to expand...
Click to collapse
Yes, but our herring kernel does not support EXT4 partition, I tried it myself
and it didn't work. I had to create EXT3 which is supported by almost all kernels.
Eh, my results varied. Worked fine for me with ext4. And worked fine for my wife as well.
Rebel_X said:
Yes, but our herring kernel does not support EXT4 partition, I tried it myself
and it didn't work. I had to create EXT3 which is supported by almost all kernels.
Click to expand...
Click to collapse
The OP says he's running CM9. That's what I'm running but I use Proton kernel as CM9 kernel has a video bug, and ext4 partition works just fine for me. Strange if Bryan really removed ext4 support, it's just a line in the config file.
Successfully made the partitions last night but my phone won't mount the SD card anymore. Was trying ext3, I'll try ext2 and ext4.
EDIT: Fixed the problem, changed my partition to ext2 and set both partitions to "Primary" (not sure which one did the trick).
cpkelley94 said:
Successfully made the partitions last night but my phone won't mount the SD card anymore. Was trying ext3, I'll try ext2 and ext4.
Click to expand...
Click to collapse
Make sure that you make the first partition Primary/FAT32. This will be your normal SD card. Just take about 1GB of space from it at the end. Then make second partition Primary/ext4 with size to the end of the card. You can try ext2/3 but I don't think it is really necessary.
MiniTool will NOT wipe your partition if you do it right.
dsexton had a guide posted on how to do it.
Is it worth making a swap partition? If I remember correctly it significantly degrades the life of the SD card (and microSD's are delicate as it is), and I don't know if it would significantly increase performance.
cpkelley94 said:
Is it worth making a swap partition? If I remember correctly it significantly degrades the life of the SD card (and microSD's are delicate as it is), and I don't know if it would significantly increase performance.
Click to expand...
Click to collapse
I also created 128MB swap partition, not supported too and not mounted.
I tried to used swapper2 app from the market, but it says not supported by
kernel. Now I lost that space till I feel motivated to format or repartition the SD
card again.
I am using hefe kernel btw on AOKP milestone 6-5.
No swap.
Sent from my SGH-T959V using xda app-developers app
Hi Friends
Yesterday I flashed my HTC Explorer with CM10.1 Beta 5 ([DEV][ROM][JDQ39E][4.2.2] CyanogenMod 10.1.2 | BETA#5 | 25/07/13 | WILD FOR THE NIGHT) . But with this build my phone is not mounting the second partition of size 2GB (total 16gb card) which I have created from recovery menu. I have tried with the Mini partition tool on windows for FAT32 too, but still its not mounting my either Link2SD, mount2SD or by the kernel (About Phone -> System partion).
Please help me as without mounting the 2nd partition I can not install any other app as very very less space is available after CM 10.1.
Thank you.
Use Int2sd+ for cm10.1
You can Google it & download
Note: you when flash ROM when mount system, data,sd-ext..and make ext3 partition
thekoolanie said:
Use Int2sd+ for cm10.1
You can Google it & download
Note: you when flash ROM when mount system, data,sd-ext..and make ext3 partition
Click to expand...
Click to collapse
Its still not working. I wonder, if we can do so many things in CM, why can not we simply integrate the script in to the rom itself. I'm damn sure 100% of HTC explorer users must be searching for a way to increase the internal memory of the phone also now a days sd cards are damn cheap.
There is a link
http://androidicablog.wordpress.com...rnal-memory-script-for-4-2-1-romsgalaxy-mini/
You can see my memory in this attachment
There is a link
http://androidicablog.wordpress.com...rnal-memory-script-for-4-2-1-romsgalaxy-mini/
You can see my memory in this attachment
---------- Post added at 06:04 AM ---------- Previous post was at 05:55 AM ----------
There is a link
http://androidicablog.wordpress.com...rnal-memory-script-for-4-2-1-romsgalaxy-mini/
You can see my memory in this attachment
mount2sd NOT mounted SD-EXT on Samsung Galaxy Y Pro Duos
hi,
I have a rooted Samsung GT-B5512. Init.d and mountd2sd installed.
Android 2.3.6, kernel: 2.6.35.7.
Trying to move a lot to SD card, including some system files since this is a low end device with little memory. Even with apps like link2sd after a large number of apps the int storage was full :/ therefore trying the mount2sd but it doesn't want to mount the sd partition.
The card (16GB) is formatted as follow: 13 GB FAT32, 1 GB EXT3.
In the section Storage\External mount2sd says Not mounted.
the busybox is installed, the startup script too. Driver is set to EXT but most of fields are grayed out.
Please help.
xda_keevvee said:
hi,
I have a rooted Samsung GT-B5512. Init.d and mountd2sd installed.
Android 2.3.6, kernel: 2.6.35.7.
Trying to move a lot to SD card, including some system files since this is a low end device with little memory. Even with apps like link2sd after a large number of apps the int storage was full :/ therefore trying the mount2sd but it doesn't want to mount the sd partition.
The card (16GB) is formatted as follow: 13 GB FAT32, 1 GB EXT3.
In the section Storage\External mount2sd says Not mounted.
the busybox is installed, the startup script too. Driver is set to EXT but most of fields are grayed out.
Please help.
Click to expand...
Click to collapse
remove any sd. ext you made..create new ext partition using recovery and try..
shubhojit89 said:
remove any sd. ext you made..create new ext partition using recovery and try..
Click to expand...
Click to collapse
thank you, I was struggling with this alone for too long ...
Did as you say but same results. Mount2sd doesn't see the SD-EXT.
FYI - I did not install the ClockworkMod,just run it from the Android recovery shell. Anyway it was able to successfully create partitions on the SD.
Don't know if that matters ...
Do you want me to post any screens, or log files (actually mount2sd log is empty, even though debug mode is checked).
Marek
xda_keevvee said:
thank you, I was struggling with this alone for too long ...
Did as you say but same results. Mount2sd doesn't see the SD-EXT.
FYI - I did not install the ClockworkMod,just run it from the Android recovery shell. Anyway it was able to successfully create partitions on the SD.
Don't know if that matters ...
Do you want me to post any screens, or log files (actually mount2sd log is empty, even though debug mode is checked).
Marek
Click to expand...
Click to collapse
ya u can post the screenshots..
vice ereafe
See enclosed. The log file is empty but check the debug
xda_keevvee said:
See enclosed. The log file is empty but check the debug
Click to expand...
Click to collapse
create partition through recovery and make it ext4 coz ext4 is mounted easily..
shubhojit89 said:
create partition through recovery and make it ext4 coz ext4 is mounted easily..
Click to expand...
Click to collapse
My ClockWordMod (CWM-6102) does only ext3 (did not find setting to change type). I'm not sure is there higher CWM for my cell.
I've made the ext4 using MiniTool Part under Windows but it looks like the Mount2SD does not support ext4 in my case. I can choose ext2, ext3, fat, auto but the ext4 is dimmed (could it be Android kernel related?).
Tried then also sd-ext and FAT, still Not Mounted ...
xda_keevvee said:
My ClockWordMod (CWM-6102) does only ext3 (did not find setting to change type). I'm not sure is there higher CWM for my cell.
I've made the ext4 using MiniTool Part under Windows but it looks like the Mount2SD does not support ext4 in my case. I can choose ext2, ext3, fat, auto but the ext4 is dimmed (could it be Android kernel related?).
Tried then also sd-ext and FAT, still Not Mounted ...
Click to expand...
Click to collapse
change to philz recovery.. i m using it for months.. it supports ext4.. ext4 is easily mounted.. i use ext4 and i never faced any kinda issue you r facing..
shubhojit89 said:
change to philz recovery.. i m using it for months.. it supports ext4.. ext4 is easily mounted.. i use ext4 and i never faced any kinda issue you r facing..
Click to expand...
Click to collapse
it was kernel thing (BTW - there are very few recovery binaries for this phone, CWM is for example mostly in use as a temporary executed, loaded each tip from ZIP).
I have updated kernel to this:
http://forum.xda-developers.com/showthread.php?t=1913349
and things automatically got mounted (even made a partition using my PC and working same good)
thanks for participation
The Hefe Hook kernel allows you to mount a partition of your microSD as /data, getting 2 GB (or more) for your apps and their data.
Please ask your questions here about installation, use, or general approach.
This is great @jeffsf and can u show me how to re-partition the "real internal" storage? I mean expanding the /system since u put the /data out of it. Thanks man
Sent from my GT-N7000 using Tapatalk 2
daothanhduy1996 said:
This is great @jeffsf can u show me how to re-partition the "real internal" storage? I mean expanding the /system since u put the /data out of it.
Click to expand...
Click to collapse
Yes, you've hit on another of the reasons I've been exploring using the microSD for "live" storage. It's one thing to use potentially slow storage for photos that you basically write once or "app to SD" where you read the APK at boot time, make sure your ODEX in the Davlik cache is good, then generally read from the internal-flash cache. It is another when that memory is being read and written "constantly" when your phone is running.
The good thing is that once /data is not part of the internal flash filesystem, you don't have to worry about one ROM (kernel) thinking it begins at one place and another saying it starts at another. Previously, if one ROM had one /system size and another and a different one, the next partition, /data, would look to be corrupt when you swapped ROMs.
As a warning, not all users have fast microSD cards. Some that say "Class 10" on them really are dogs, especially for small reads/writes. The "Class" ratings are for sustained writes, as you would have with a camera recording video. If your ROM is "external /data" only, or even defaults to that, be prepared for a slew of "Your ROMs sucks. It is so slow." complaints.
You'll also need a way to automate formatting the card. It can be done on the phone, as long as you aren't trying to preserve any data.
As I recall, the layout of the MTD partitions is done in drivers/mtd/onenand/samsung_galaxys4g.h I would be careful not to move the partition boundary for efs, as you'd have to move the data it contains in your updater script. Repeating the warning about not moving the boot and recovery partitions is probably a good idea as well!
Your build tree may need some of these values, or at least think it needs some of these values. For example, device/samsung/aries-common from the CyanogenMod/cm-11.0 (KitKat) branch calls out NAND page sizes, partition sizes, and flash block sizes. I haven't looked in detail at your build tree so I can't comment on how it might handle things differently than the CyanogenMod one.
itzik2sh said:
Hi
I hope I don't ask anything silly, but please let me know if any of my assumptions is wrong :
1. I take FBi's251's AOKP milestone 6 (ICS 4.0.4)
2. 8GB SDCard was formatted to FAT32 (4GB) and EXT3 (4GB) using TWRP kernel
(Beastmode's proton kernel to be exact).
3. I would flash this kernel and it would move apps and their data to the sd-ext
without any special additions.
Thanks. I read the thread, but unfortunately 8GB SD is what i have and I think it should be enough.
Thanks again.
P.S - it's for 2 guys I already sold them my SGS4Gs. I want them to be happy...
Click to expand...
Click to collapse
AOKP should be fine. I haven't tried it recently, but it was the tree in which I did the early Hefe Kernel development.
As I understand it, you have a microSD with
partition 1: 4 GB FAT32
partition 2: 4 GB ext3
So that can work, but will need some tweaking of the init-on-fs.sh script. I intentionally didn't use the second partition as so many scripts gobble that up as sd-ext and do who knows what to it.
My first preference would be to reformat the cards, perhaps:
6 GB FAT32
1 MB ext2/3/4 (Yes, 1 MB, a sliver, choice of ext2, ext3, ext4 up to you)
2 GB ext4
since then the script will work without modification and if they install a third-party script that uses the second partition, it won't corrupt their data.
If you were to keep the formatting the way that it is now, you'd need to edit the mount commands in the script to look something like:
Code:
/system/xbin/busybox umount /data
/system/xbin/busybox mount -t ext3 -o noatime /dev/block/mmcblk0p2 /data
(removing the sd-ext mount)
I'm not sure what your expectations are, but all that the kernel and that script will do is mount a different disk partition on /data -- you need to manually move the data over (or restore from something like Titanium Backup). There may be some trickery in renaming that could be used with TWRP backups to restore from data.yaffs2.win to the new /data partition, but I haven't tried that at all.
Hi Jeff
Thanks for your quick reply, and sorry again for not seeing the Q&A thread.
I think making it :
partition 1: 4 GB FAT32 (sdcard)
partition 2: 2 GB ext3 (sd-ext)
partition 3: 2 GB ext3 (data)
partition 4: 1 MB (spare)
would be better and handle data as well. don't you think ?
Would it be worth doing with a "Team" micro-SD card (class 6 I believe) ?
Thanks.
I haven't tried a Class 6 card, but my gut feeling is that it will be dicey. I didn't "commit" to using /data on microSD until I had tried it for several days using Titanium Backup's ability to move both apps and app data to the external card. I would try that first, especially as the phones in question aren't going to be in your hands (I consider you an expert user, able to manage things outside the UI with ease).
I've attached some testing I did a while ago with Transcend and SanDisk cards. When you look at them, realize that the speed scale changes between them. I have a feeling that the real "performance" on a device is going to be related to relatively small reads and writes, not the ability to stream video to the card. I also don't know much about the Team brand, but I found that even some well-known brands didn't have the performance of the Transcend or SanDisk in the same category.
However you configure your cards, I would definitely recommend a journaling filesystem of some sort. I've had my microSD come loose inside the phone. The journal will at least help to reduce any filesystem corruption should that happen.
You don't need the fourth partition -- I have it there to be able to keep rsync backups for fast ROM swapping.
.
Regarding the apps data, have you tried exploring the Mount2SD script ?
sent from me
I've tried a couple of the scripts out there in the past. Since backing up my data is very important to me, I trust the scripts in Titanium Backup to work well with its backup/restore strategies.
Mounts2SD looks like it has gotten a lot more sophisticated than it was when I tried it in the past. It sounds like something worth trying in its current state. At a quick glance (and not looking at the code), I'd personally make some different choices about features; enabling journaling, and being concerned about why lost+found was filling up (things should only appear there if the file system is found to be corrupt).