Custom MTD partitions - Legend Android Development

Hello world! I have no new information to provide, but if you're S-OFF and feeling brave THIS works on the Legend. I use CWM 3.0.1.9 and CM 7.0.2, I haven't tested it on any other versions.
I chose a 150MB system partition and a 20MB cache partition. I now have a 295MB data partition. Enjoy! ( echo "mtd 150 20" > /sdcard/mtdpartmap.txt )
Resources:
ClockworkMOD 2.1.0.7: http://www.mediafire.com/?l3c3kacbp8w0phm
ClockworkMOD 3.0.1.9: http://www.mediafire.com/?eldxgcsdb813zze
If this is in the wrong place, and I apologise if it is, I'll get it moved

Good idea
tnx

I'll be trying this out after my exam tomorrow since my Legend is only "sitting" around nowadays
Thanks for the info TGF!

Gonna try this myself too, will report back

Thank you dude !
Is it better than S2E ? In terms of speed I mean.

Messatsu said:
Thank you dude !
Is it better than S2E ? In terms of speed I mean.
Click to expand...
Click to collapse
Err... It's probably slightly safer in the long run, as the internal memory in the Legend is designed for constant rewrites, whereas the SD card isn't (not in such small chunks anyway). Obviously changing the partition sizes like this is never safe though.
I don't think either is any faster, but this method saves you SD card, but carries the risk of completely bricking your phone.

You can't brick your phone with an S-OFF bootloader and a recovery lol
Working great, moved away from my customised sense to CM7.1, allocated 160/2 so data is 303.1MB now (CM bind mounts /data to it automagically)
Have 5.7MB free on /system with gapps on it
98.1MB free with all my apps installed back, none on SD, faster bootup and SD mount/unmount

Kwen said:
You can't brick your phone with an S-OFF bootloader and a recovery lol
Working great, moved away from my customised sense to CM7.1, allocated 160/2 so data is 303.1MB now (CM bind mounts /data to it automagically)
Have 5.7MB free on /system with gapps on it
98.1MB free with all my apps installed back, none on SD, faster bootup and SD mount/unmount
Click to expand...
Click to collapse
You can brick it still, I can assure you. But yes, it is harder to do. ;-)
Sent from my GT-I9100 using xda premium

Related

Rooted G1 with Cyanogen... only 14 MB internal Memory left?

Ok Guys, new to this site, hopefully y'all can help me out.
I recently rooted my G1, Installed the latest Cyanogen (4.7.2.1) and installed a theme ( Marks Theme). I dont have very many apps cause I didnt want to bog down the phone memory.....
I love the set up but it started running slower even after I started running the over clocker widget.
My phone is only showing 14.18 MB of free internal memory. I went through my applications installed and can only find around 25 MB being used from all installed apps ( including browser and messaging etc.)
I even tried to do a factory reset ( by going through the settings) and the factory reset is not working. It changed nothing.
Is there something that Im missing? I feel like I should have much more free memory.
I love the way my phone works and the set up, I just wish it had more free memory so that it would run faster.
Ive thought about doing the Apps2SD but I feel like I chould have much more memory on my phone even before doing something like that.
PLEASE HELP!!!!!!
This is a question, and as such belongs in the Q&A section. You'll receive a better response to such things there.
The internal memory you're referring to is your /system partition.
It is where the entire OS is stored, basically. Which takes up, in your case, a whopping 55 MB (out of 70 MB).
If you //really// want more room, follow the Apps-2-SD tutorials out there. You'll get /plenty/ of space.
You could always upgrade to the new amon ra and then let it partition the sd card for you.Then you can have all that free phone storage for whatever it is.Bext time just try to restrict yourself from posting in wrong section
-Best regards
IConrad01 said:
This is a question, and as such belongs in the Q&A section. You'll receive a better response to such things there.
The internal memory you're referring to is your /system partition.
It is where the entire OS is stored, basically. Which takes up, in your case, a whopping 55 MB (out of 70 MB).
If you //really// want more room, follow the Apps-2-SD tutorials out there. You'll get /plenty/ of space.
Click to expand...
Click to collapse
Thank you for the quick response. Is there a way to move this thread?
Also is there a better ROM that will take up less memory? I like this version but obviously it is wayy to large.
Anyone else running cyanogen 4.7.2.1 having this issue?
Most people using the Cyanogen ROM also utilize A2SD. Partition your SD card and you'll get more room.
pewterwest said:
Anyone else running cyanogen 4.7.2.1 having this issue?
Click to expand...
Click to collapse
There is no issue, you just don't have an ext partition ergo, all applications are installed to your phone which is why you have low phone memory.
pewterwest said:
Thank you for the quick response. Is there a way to move this thread?
Also is there a better ROM that will take up less memory? I like this version but obviously it is wayy to large.
Anyone else running cyanogen 4.7.2.1 having this issue?
Click to expand...
Click to collapse
Hello! app2SD will put the apps to ext...Then you will have more memory, why do you think people use it? To save even more money on geico?
Go here for the amon recovery...
http://forum.xda-developers.com/showthread.php?t=566669
Hi, first of this has nothing to do with development, should be in Q&A. Please remember for next time
OK, when you're on a custom ROM, don't use factory reset. Instead boot in to the recovery image and perform a wipe from there, and that's exactly what I'd suggest. Be prepared to loose everything stored on the phones memory, but you can use a backup app from the market for that... No you really should way more space than that, I can't really explain why...
IConrad01 said:
This is a question, and as such belongs in the Q&A section. You'll receive a better response to such things there.
The internal memory you're referring to is your /system partition.
It is where the entire OS is stored, basically. Which takes up, in your case, a whopping 55 MB (out of 70 MB).
If you //really// want more room, follow the Apps-2-SD tutorials out there. You'll get /plenty/ of space.
Click to expand...
Click to collapse
The phone has two main partitions: /system and /data. It isn't /system that's filling up, it's /data (which makes sense...). The phone can't write to /system when it's unrooted, so it's not possible to store files there...
Everyone is trying to help but for a noob it can be a bit too much...4.2.7.1 is the best Rom available so keep that....RA Recovery is the best way to set up your memory card to accept your apps and keep them there freeing up a ton of space on the phone....simple way to fix is....Just format you sdcard with EXT3 using the RA-recovery v1.5.1 then once your card is formatted just reboot and Cyanogen's rom will move all the apps for you.....will not need to wipe any info on the phone that way...done it many times......Pm me if you need help!!!!
EDIT:
some threads to help:
Ra - Recovery:
http://forum.xda-developers.com/showthread.php?t=566669
OR-
[REF] manual partition of sdcard w/parted,goto ext3/4 from adb. no liveCD req'd
http://forum.xda-developers.com/showthread.php?t=534714
Young Money. Cash Money.
(partition sd card)
The non rooted standard T-Mobile rom is about the same size and will give you about the same amount of free space. There could be a more barebones rom but I think it's just a lot easier to run Apps2SD then to create a rom that might get you an extra 10mb of internal space. This is the fault of the internal memory on the phone being small. The only way to fix that is getting Apps2sd running which if you make a partion of 100mb should be enough to install all the apps you need. Getting a larger SD card for $10 is also another option so you wont have 1/10th of your sd cards storage gone.
djdarkknight96 said:
Everyone is trying to help but for a noob it can be a bit too much...4.2.7.1 is the best Rom available so keep that....RA Recovery is the best way to set up your memory card to accept your apps and keep them there freeing up a ton of space on the phone....simple way to fix is....Just format you sdcard with EXT3 using the RA-recovery v1.5.1 then once your card is formatted just reboot and Cyanogen's rom will move all the apps for you.....will not need to wipe any info on the phone that way...done it many times......Pm me if you need help!!!!
EDIT:
some threads to help:
Ra - Recovery:
http://forum.xda-developers.com/showthread.php?t=566669
OR-
[REF] manual partition of sdcard w/parted,goto ext3/4 from adb. no liveCD req'd
http://forum.xda-developers.com/showthread.php?t=534714
Click to expand...
Click to collapse
Guys thank you very much for your help..... i partioned my sd and now i have 58.8 MB free on internal.... you guys are great.
Is there anything else i can do besides rooting, apps2sd and overclocker to make even faster?
pewterwest said:
Guys thank you very much for your help..... i partioned my sd and now i have 58.8 MB free on internal.... you guys are great.
Is there anything else i can do besides rooting, apps2sd and overclocker to make even faster?
Click to expand...
Click to collapse
You can always try different roms. CM is good and fast, but maybe try dwang 1.13 or Wesgarner version. wg is based on CM. I find it faster and more stable but this is just my opinion. if you back everything up with nandroid and some app like mybackup, you can flash all you want. you'll be able to get everything back with a nandroid/mybackup restore. try different stuff out and figure out what you like!

[Q] HELP TY

CM7 can make you install apps on the sd card, how does it differ from app2sd or app2ext? i have been trying to decide if i should partition my new sd card or its not necessary. There must be an advantage to have app2ext right?
Thank you.
CM7 basically allows you to move all applications using Froyo's app2sd mode. Even ones that have disabled it (like live wallpapers and widgets as those won't work when installed that way).
app2sdext works differently as it will install apps directly to an ext partition on your sdcard (that you manually have to set up). This functionality is NOT build into CyanogenMod, but is easily added with a number of different apps/scripts. This will give you a lot more free space on your phone, and all apps can be installed there regardless of whether they have widgets or have services running. Most app2sdext options will also give you the option of moving the dalvik cache to the sdcard which will save you a substantial amount of space on your internal memory.
Basically, if you want a lot of memory intensive apps, your only decent option with a Nexus One is an app2sdext solution. (I have it with a 1GB partition, and I will soon either need to resize it or delete apps... adding app2sdext was the second best thing I ever did to my phone behind installing CyanogenMod on it.)
bassmadrigal said:
CM7 basically allows you to move all applications using Froyo's app2sd mode. Even ones that have disabled it (like live wallpapers and widgets as those won't work when installed that way).
app2sdext works differently as it will install apps directly to an ext partition on your sdcard (that you manually have to set up). This functionality is NOT build into CyanogenMod, but is easily added with a number of different apps/scripts. This will give you a lot more free space on your phone, and all apps can be installed there regardless of whether they have widgets or have services running. Most app2sdext options will also give you the option of moving the dalvik cache to the sdcard which will save you a substantial amount of space on your internal memory.
Basically, if you want a lot of memory intensive apps, your only decent option with a Nexus One is an app2sdext solution. (I have it with a 1GB partition, and I will soon either need to resize it or delete apps... adding app2sdext was the second best thing I ever did to my phone behind installing CyanogenMod on it.)
Click to expand...
Click to collapse
why didnt i think of that? thank you for your reply... now i should decide whether to do it now or wait till i have reached maybe about a hundred apps. by the way does it have any effect on the speed of the phone if you do that?
I am on cm7 and decided to put cache apps on sd card using ta utility is there any other new apps like that? ta
Can you do this with rooted stock?
lolobabes said:
why didnt i think of that? thank you for your reply... now i should decide whether to do it now or wait till i have reached maybe about a hundred apps. by the way does it have any effect on the speed of the phone if you do that?
I am on cm7 and decided to put cache apps on sd card using ta utility is there any other new apps like that? ta
Click to expand...
Click to collapse
I have a class 4 32GB card, and I didn't notice any appreciable difference in speed. I have moved my apps and dalvik cache to the sdcard using DarkTremor's a2sd. I currently have 260 apps installed on my phone, and that is pushing the internal phone space and the 1GB partition I set up for ext. I am about to bug danger-rat for his instructions on how he resized his internal partitions to give the data residing on the phone more space (I will basically shrink the cache partition and I am looking at resizing my ext partition to 1.5GB or 2GB.
I couldn't live without this anymore. I don't know how I went so long without it. It is so nice to just browse the online market and click install on countless apps without worrying about your space.
If you want to try and move the app data (resides in /data/data) to the sdcard, I have heard that it is recommended to have a class 10 card to keep up with speed requirements. I am not sure how many apps support that.
brettbellaire said:
Can you do this with rooted stock?
Click to expand...
Click to collapse
I believe you can. You would have to have a custom recovery. The main thing I am not sure is if it will mount the ext partition. If you have a custom recovery, do a nandroid backup (just in case it doesn't work), flash the zip for DarkTremor, and reboot the phone (the first boot will take longer).
brettbellaire said:
Can you do this with rooted stock?
Click to expand...
Click to collapse
yes you can.
bassmadrigal said:
I have a class 4 32GB card, and I didn't notice any appreciable difference in speed. I have moved my apps and dalvik cache to the sdcard using DarkTremor's a2sd. I currently have 260 apps installed on my phone, and that is pushing the internal phone space and the 1GB partition I set up for ext. I am about to bug danger-rat for his instructions on how he resized his internal partitions to give the data residing on the phone more space (I will basically shrink the cache partition and I am looking at resizing my ext partition to 1.5GB or 2GB.
I couldn't live without this anymore. I don't know how I went so long without it. It is so nice to just browse the online market and click install on countless apps without worrying about your space.
If you want to try and move the app data (resides in /data/data) to the sdcard, I have heard that it is recommended to have a class 10 card to keep up with speed requirements. I am not sure how many apps support that.
I believe you can. You would have to have a custom recovery. The main thing I am not sure is if it will mount the ext partition. If you have a custom recovery, do a nandroid backup (just in case it doesn't work), flash the zip for DarkTremor, and reboot the phone (the first boot will take longer).
Click to expand...
Click to collapse
thanks for the reply i think i read on darktremors post class 4 will do for the data2sd. I have class 4 16GB sd card would 1GB good for the ext? ty
It really depends on how much you think you will be installing. I did a 1GB partition on mine, but now that I install most of the Amazon free daily apps, that space is dwindling quickly. I have programs that will resize the partition for me, but most will have to wipe the card and partition it manually. I do have the install location set to automatic, so it allows developers to specify whether they want it in the "internal" (really it is on the sdext partition, but to the phone it is internal) or external using the froyo method. The Angry Bird apps all default to install on the sdcard, so my installed app base is even larger than 1GB.
bassmadrigal said:
... adding app2sdext was the second best thing I ever did to my phone behind installing CyanogenMod on it.)
Click to expand...
Click to collapse
I second this
Sent from my Nexus One using XDA App
is it true that cwm sets the partition to ext3 by default? unlike in ra recovery where you still need to convert it? ta
I have heard that it creates it in ext3, but right now, DTa2sd is showing that it is a ext2 partition. I can't figure out how to find out for sure while the card is in the phone. Either way, it is getting mounted as an ext2 partition.
temasek said:
I thought CWM will create ext3 by default? Your steps are ok, np.
Anyway when u read the ext partition type in android, most likely u will see ext2 if u are using official DT script cuz of the auto syntax it uses.
Click to expand...
Click to collapse
then it maybe so, this was posted on the darktremor thread
http://forum.xda-developers.com/showthread.php?p=14134665#post14134665
Well, whether or not it is formatted as an ext3 partition, Android is still mounting mine as an ext2 partition.
Code:
mount | grep ext
NOTE: the "|" is called a pipe. On the keyboard it is the shift option on the backslash key "\". I don't know exactly where it is on the stock keyboard, but on swype it is located under the "D" key when the keyboard has the shift key pressed and you access it by longpressing.
To get your sdcard to ext3, you just need to turn on journaling. You can do this through adb while in the recovery (because you need the partition unmounted to do this).
Code:
adb reboot recovery
adb shell
mount system
e2fsk /dev/block/mmcblk0p2
tune2fs -j /dev/block/mmcblk0p2
reboot
Supposedly Android should auto-mount this as ext3 on boot (which you can check with the first command). At that point, I don't think it will matter what a2sd shows. As the writing of the journal (the big thing with ext3, since it helps minimize write errors on a bad shutdown) is done at the OS level, not the a2sd level.

[Q] Convert SDCard to MainMem so External_SD becomes SDCard?

Hi there,
Is there a way to make the add the internal SD card to the main memmory? So that there would not be an internal SD card anymore?
I do not mean swapping the moutpoints around so my External_SD becomes my primary and my internal my second....
I want to get rid of the internal one alltogether (adding it to main memory).
I figure that I'll have to format the storage in a certain way... would that do it?
Can someone tell me step by step what to do?
I do have CW-mod installed.
I did search the forum, but couldnt find anything conclusive. Just hints that it should be possible...
If there already is a thread where all this is explained, please point me to it, because I couldn't find it.
Thanks,
Pfeffa-rah
I don't think this is possible , never heard of someone who did it
I have no idea how to do that. My question is... why would you want to do that?
Having an internal_sd partition adds the benefit of having big app data (such as those in Gameloft games) sit in a very fast partition and still be called "sddata".
Also, it's mountable via PC so everything in there can still be backed up. So it's best of both worlds really.
This was discussed some time ago in this thread: http://forum.xda-developers.com/showthread.php?t=1013575
There were ideas on how to remount the cards at boot. I myself come to the conclusion that since more phones start to behave in this way, app developers will have to start dealing with it. It just sucks they are mostly slow on the uptake. My main problem was the Spotify cache location being hard coded so I resorted to hack the Spotify apk.
PS. salisbury_steak: What is it with people like you that every time someone has a question on how to do something, your immediate response is "But why would you want to do that?!".
sorech said:
PS. salisbury_steak: What is it with people like you that every time someone has a question on how to do something, your immediate response is "But why would you want to do that?!".
Click to expand...
Click to collapse
That was actually an honest question.
I wanted to understand why he wanted to do it. (i.e. What would be the advantages of it.) There was no supposed sarcasm in there.
how about the ability to install 5x more applications?
Having that stupid 5gb partition as sd card and the real sd card as a sub folder is retarded...
My 32GB class 10 cars is a lot faster than the internal one.
The internal 5gb memory is MUCH TOO SMALL!!! Most apps don't allow you to store data on the external card. If you like me and many others install some games that download aditional data + a nav app that downloads maps for europe + some streaming music app like wimp that can cache music for offline play then you are ****ed with LG's setup.
The setup CM7 uses solves the main problem but effectively wastes the 5gb by mounting it at emmc where like 0,0001% of apps are able to access it.
So adding those otherwise wasted 5gb to the main memory would be great. But i have not seen any solution to that yet :-(
Thank you Gensplejs for explaining that to them. I had no idea how to reply to that since it seemed so obvious to me.
This thread was ment to be a question about how to do it and not to discuss the usefullness of it. That is where I lost the way in other threads...
So, thanks for your replys all (realy).
But now, back On-Topic:
How would I do it?
Sent from my LG-P990 using XDA Premium App
Please don't blame me if you tried it and you screwed up your phone.. It's your choice...
Well, I don't know if this would work, but this is how I would do it (accepting the fact that I'd loose almost 2GB of /data's free space):
1. Format your internal sd card to the same file system as your /data partition is (ext3 or ext4)
2. Copy every file from /data 1:1 to your sdcard (cp -R /data/* /sdcard)
3. I don't know when and where the partitions are mounted (maybe init.rc??)...anyways change the target there and let /data point to the internal sd card partition (so it is ensured that it is mounted automatically to the new location)
4. Reboot and keep your fingers crossed
I think i figured how to do it in theory. First we need some free space at our microsd to cp /data. Then we should repartition with fdisk /dev/block/mmcblk0p8 and p9 into one partition and change vold.fstab to mount only externalsd at /sdcard as we do when we swap partitions. In theory it should work but i cant test it right now or make a script since ve gone vacations and i dont have a pc to restore in case of error
I agree.. certain apps wont store to sdcard.. its better to use the whole 8gb as phone storage, and use external sdcard as default sdcard.
Sent from my LG-P990 using XDA App
What ive found till now is that sd swapping is easy. You can do it by tweaking only vold.fstab. But repatriationing is a pain in the ass. Looks like lg has "faulty" partitions or something and to do it you must mesh up with with almost half partitions.
I had to rebuilt boot lgdrm recovery data and sdcard to make em half work. So it probably isnt worth the trouble. Also I think init.rc is built on the boot. So just remounting internal sd to /data wont work either.
sectors is not space
it says 7996, so thats 8GB
i saw it in hurry. the brain sometimes belives whats he want to belive
sorry
New to XDA
Hello everybody,
I'm new to android and i'm trying to find out how to solve the problem posted in this thread.
I see you've got the awnser but i don't know how to do this.
I've been searching google and XDA for ever but i just can't find the awnser.
Could you make a step by step howto or point out to a post how to do this.
I mean converting your external sd to ext4 and change the mounting points.
I'm a complete nood, i didn't get adb to work on my pc, ext4 recovery is not for the p990 2x.
I've read something abbout changing fstap for swapping te mounting points for sdcard and emmc, witch is also ok for me, but formating to ext4... wel i frankly don't know how to do this.
I'm quite stuk on this.
The only partitioning experience i've got is Gparted in Ubuntu or repartitioning in Windows 7.
Thans in andvance!
Greetz,
JMG
http://android.modaco.com/topic/347...-partitions/page__gopid__1821791#entry1821791
check this
you can expand data partition , but there is a limitation of 1.75gb
Thanks davjan
Thanks davjan,
As far i can see it's indeed not worth it.
I wil have to go on and try to find out how to change the filesystem to ext4 and swap the internal and external sd.
That way i get more usable space instead of a big datastorage witch cannot contain program data.
But thanks for the quick reply.
Jean Michel Gaar said:
Thanks davjan,
As far i can see it's indeed not worth it.
I wil have to go on and try to find out how to change the filesystem to ext4 and swap the internal and external sd.
That way i get more usable space instead of a big datastorage witch cannot contain program data.
But thanks for the quick reply.
Click to expand...
Click to collapse
what rom are you using? is your phone rooted?
swapping internal with internal sd is very easy
and most of the roms here on xda are ext4 , if you instal one of them they autoconvert to ext4
Jean Michel Gaar said:
Thanks davjan,
As far i can see it's indeed not worth it.
I wil have to go on and try to find out how to change the filesystem to ext4 and swap the internal and external sd.
That way i get more usable space instead of a big datastorage witch cannot contain program data.
But thanks for the quick reply.
Click to expand...
Click to collapse
I you read the link provided you'll see that it makes what you want: grow internal filesystem = lower SDcard usable space. The only thing is that it doesn't seem possible is to use the whole space: system limitation. 75Markus tried high /system and /data values and phone didn't work.
See in his Mediafire Folder, 'Nvflash + guide for changing Partitions:
http://www.mediafire.com/75markus
Ext4 is now common with custom ROMs (in fact all of them).
You should search in sd-ext partition system, which was designed to artificially expand filesystem on older phones using an 'ext' partition. I didn't heard anybody using this on O2X.
If you use CyanogenMod based ROMs, your external card will be mounted ad /sdcard by default.
Switching internal and external SD
Thanks guy's,
I'll check it out.
I've been using cyanogenmod 7.1 stable with vorkkernel 20110208.
But that gave me batterydrains while using maps and nextvid ate the same time (while i'm driving).
Now i'm trying MIUI 1.11.11 with latest swift extreme.
But MIUI is very buggy so i'm thinking of going back to CM.
The only thing is that my phone won't boot with the latest vorkkernel.

[MOD] Ext4 4 ALL! Gingerbread AOSP + GingerSense Update: 10/27 Normal dalvik fixed

Ext4 4 ALL!​
Click to expand...
Click to collapse
*** 11/03/11 - CM Nightly flashers please see synisterwolf's post here for how to keep up with the nightlies when using this mod.
First of all I must thank tiny4579 for all of the hours he spent with me on this project and for his kernel that makes it possible for this to work on GingerSense roms. This has been a great team effort.
If you install any of these mods, on a Sense rom, Tiny's 10/15 kernel with wireless "n" support will be installed. On AOSP your currently installed kernel will be used.
There are 3 versions of this mod (choose ONE):
The normal_data mod just converts your /data and /cache partitions to the ext4 filesystem type for better all around real world performance and makes the necessary changes for this to work with your currently installed rom.
The no_data_limit_normal_dalvik mod (no 150MB data limit) does the above conversion but also removes the linking of /data/data to that small 150MB partition that causes the low space issues. It instead uses a subfolder of your 750MB /data partition to hold these files. It copies the data from your datadata partition, to this new subfolder and keeps the permissions in tact so that your phone doesn't know the difference. The old datadata partition is unused after this.
The no_data_limit_dalvik_moved mod does exactly what mod 2 does but then uses the unused datadata partition for your /data/dalvik-cache folder.
*If you use the no_data_limit_dalvik_moved mod and need to wipe your dalvik-cache, flash the wipe_dalvik zip file.​
Prerequisites:
The latest ClockworkMod (Tested on v5.0.2.0)
For AOSP your current kernel needs to support Ext4 (Tested on stock CM7.1 with stock kernel)
Sense users canNOT change kernels after this because the stock kernel does NOT have ext4 support.
Keep in mind this is the first release. It has been tested on CM7.1, In-Sensitive Minimalist and Stock+. It should work on most Gingerbread roms for the Incredible ONLY.
Yes, this should work on Sense 1.0/2.0/2.1/3.0/3.5! Always backup first!
Click to expand...
Click to collapse
**Disclaimer: This mod has a ZERO percent chance of bricking your phone but You, and only YOU, are responsible for what you do to your phone.
Usage:
If you flashed a version lower than v1.0 of the no_data_limit script, READ THIS!
Reboot into recovery and make a good nandroid backup
Either flash the rom you want to use, Restore a nandroid or skip this step to convert for your currently installed rom
Flash either the normal_data convert script or the no_data_limit convert script, depending on what you want
Reboot
Next click the "Thanks" button for Tiny (post #2) and For Me! Then Enjoy!
If you want to confirm that the mod worked, run this from adb shell or teminal emulator:
Code:
mount | grep ext4
If it worked, 2 lines will be displayed. If it didn't, nothing will be displayed.
To Move Dalvik Back to Normal Location:
Flash this. (Thanks cmlusco!)
To Uninstall
Just do a full wipe in CWM
Flash a fresh rom or restore a pre Ext4 backup
If you upgrade your rom after converting (Like a flashover update)
Re-run the mod as the last thing while in recovery after flashing the update.
If you're having issues going to or from the mod, please make sure you're using cwm 5.0.2.0. It would help with wipe data issues as one user reported.
Sorry if I took any more reserves. But just to be clear, the normal data mod is faster than no data limit mod? I've never had the data full message, so I'll just use the first one. Just curious.
BrettApple said:
Sorry if I took any more reserves. But just to be clear, the normal data mod is faster than no data limit mod? I've never had the data full message, so I'll just use the first one. Just curious.
Click to expand...
Click to collapse
You're exactly right Brett. The normal leaves /data/data on it's own partition and should be faster. It should be really noticeable on the newer sense roms like Newt's HD rom.
jermaine151 said:
You're exactly right Brett. The normal leaves /data/data on it's own partition and should be faster. It should be really noticeable on the newer sense roms like Newt's HD rom.
Click to expand...
Click to collapse
Sweet, thanks! I typically run CM7, and it's already crazy fast, I can't imagine it being any faster. But I have run many of the newer Sense ROMs, and there cool, but were always a little to slow for me. Guess I'll have to give them a run again
/Nice updater script, I LOL'd.
So how does this affect wipes in the mounts as far as switching ROMs? Will this work, delete, need reflashed with each new ROM?
Sent from my ADR6300
countryfolk07 said:
So how does this affect wipes in the mounts as far as switching ROMs? Will this work, delete, need reflashed with each new ROM?
Sent from my ADR6300
Click to expand...
Click to collapse
CWM formats as ext3, so it would need to be reflashed after switching roms.
countryfolk07 said:
So how does this affect wipes in the mounts as far as switching ROMs? Will this work, delete, need reflashed with each new ROM?
Sent from my ADR6300
Click to expand...
Click to collapse
You will need to reflash each time you do a full wipe or even wipe data but after flashing the rom.
So I'm curious exactly how this space is distributed. If the Incredible's "internal storage" is 750 MB, does that include everything in the /data folder, or specifically the apps and not their data?
Basically, if you have 200 MB of internal storage free, and 100 MB of stuff in /data/data, then you flash this mod, will it show 200 or 100 MB of internal storage free? Hopefully that's not too dumb of a question.
godsmacked4653 said:
So I'm curious exactly how this space is distributed. If the Incredible's "internal storage" is 750 MB, does that include everything in the /data folder, or specifically the apps and not their data?
Basically, if you have 200 MB of internal storage free, and 100 MB of stuff in /data/data, then you flash this mod, will it show 200 or 100 MB of internal storage free? Hopefully that's not too dumb of a question.
Click to expand...
Click to collapse
Not dumb at all. You would have 100MB remaining because the datadata would become part of the /data partition.
jermaine151 said:
Not dumb at all. You would have 100MB remaining because the datadata would become part of the /data partition.
Click to expand...
Click to collapse
Cool. Just wanted to make sure I don't overflow my storage with my warehouse of apps.
jermaine151 said:
Not dumb at all. You would have 100MB remaining because the datadata would become part of the /data partition.
Click to expand...
Click to collapse
I'm assuming this is if you flash the "no data limit" mod. So what happens to the 150mb that was reserved for data/data? Would we basically lose that 150mb?
CUBENSIS said:
I'm assuming this is if you flash the "no data limit" mod. So what happens to the 150mb that was reserved for data/data? Would we basically lose that 150mb?
Click to expand...
Click to collapse
You're correct; that's the no data limit mod. Yes, that 150MB partition would be just sitting around unmounted. That was the best we could come up with right now.
Tiny (or anyone), do you know if the latest Incredikernel for AOSP has Ext4 support? Really want to try this with MIUI and Incredikernel
TheWhiteBandito said:
Tiny (or anyone), do you know if the latest Incredikernel for AOSP has Ext4 support? Really want to try this with MIUI and Incredikernel
Click to expand...
Click to collapse
Almost positive it does
-My life is a shooting range, people never change-
watt9493 said:
Almost positive it does
-My life is a shooting range, people never change-
Click to expand...
Click to collapse
Incredikernel does, Tiamat does, I found out this morning that stock AOSP CM has Ext4 support.
Running this now. Certain things are clearly faster , eg loading of web pages (especially complicated pages or pages w/ Flash), loading of map tiles in Maps, program loading, and the very end of OS startup (after boot anim is done).
edit: this is on newt's inc hd sense 3.5 v1.05
Sent from my Droid Incredible HD using XDA App
so i get ext3 in the .txt document with 8/15 incredikernel. does anyone know if it supports ext4?
watt9493 said:
so i get ext3 in the .txt document with 8/15 incredikernel. does anyone know if it supports ext4?
Click to expand...
Click to collapse
I just said it does.
Weird. I flashed it but it put me in a Bootloader loop. Going to restore my backup (good thing I made one!) now.

[Q] what should I mount when installing int2ext+?

hello,I'm quite new here,but I've tried partitioning SD fro my galaxy Ace in the past,and it did not work kind of well.My question is,what should I really mount when I'm flashin int2ext+?I've tried googling,but all the forums have been giving me different answers,so could anyone please help me figure out the "REAL" things to mount?because I'm quite confused as what to mount.Furthermore,after I flashed int2ext+,my phone became quite laggy,and my apps sometimes are not responding..So,any help/insight on that is greatly appreciated!
Khayrin said:
hello,I'm quite new here,but I've tried partitioning SD fro my galaxy Ace in the past,and it did not work kind of well.My question is,what should I really mount when I'm flashin int2ext+?I've tried googling,but all the forums have been giving me different answers,so could anyone please help me figure out the "REAL" things to mount?because I'm quite confused as what to mount.Furthermore,after I flashed int2ext+,my phone became quite laggy,and my apps sometimes are not responding..So,any help/insight on that is greatly appreciated!
Click to expand...
Click to collapse
You should mount /system from CWM before you install CronMod. CronMod mounts the ext partition of your SD Card as the new /data moving all the original /data files in there. Now certain applications like Google Play, Google Setting, etc needs to be in the internal memory to work properly. Otherwise they will give forced closes. With CronMod, you will not be able to move any apps to internal memory as your new internal memory is the ext partition of your SD Card. While using CronMod make sure to install only the necessary apps as installing more and more apps will make your phone more laggier. Also the maximum size of the ext partition should be 1 GB. Hope I Helped
mahithm said:
You should mount /system from CWM before you install CronMod. CronMod mounts the ext partition of your SD Card as the new /data moving all the original /data files in there. Now certain applications like Google Play, Google Setting, etc needs to be in the internal memory to work properly. Otherwise they will give forced closes. With CronMod, you will not be able to move any apps to internal memory as your new internal memory is the ext partition of your SD Card. While using CronMod make sure to install only the necessary apps as installing more and more apps will make your phone more laggier. Also the maximum size of the ext partition should be 1 GB. Hope I Helped
Click to expand...
Click to collapse
So just /system huh?I mounted /data too,maybe that's the reason for the lag.Anyway,thanks for the help,I will do that right away! :highfive:
Khayrin said:
So just /system huh?I mounted /data too,maybe that's the reason for the lag.Anyway,thanks for the help,I will do that right away! :highfive:
Click to expand...
Click to collapse
Bro, mounting /data or /sd-ext will not cause any problem. That I can guarantee
mahithm said:
Bro, mounting /data or /sd-ext will not cause any problem. That I can guarantee
Click to expand...
Click to collapse
Then it's just caused by my phone?not because I mounted something?hm,interesting..legacy phones sure have a hard time eh?
Khayrin said:
Then it's just caused by my phone?not because I mounted something?hm,interesting..legacy phones sure have a hard time eh?
Click to expand...
Click to collapse
Yes. What rom are you using now? And btw did CronMod work?
Khayrin said:
hello,I'm quite new here,but I've tried partitioning SD fro my galaxy Ace in the past,and it did not work kind of well.My question is,what should I really mount when I'm flashin int2ext+?I've tried googling,but all the forums have been giving me different answers,so could anyone please help me figure out the "REAL" things to mount?because I'm quite confused as what to mount.Furthermore,after I flashed int2ext+,my phone became quite laggy,and my apps sometimes are not responding..So,any help/insight on that is greatly appreciated!
Click to expand...
Click to collapse
Here you'll find all the steps in the installation process
Int2ext Script Installation
mahithm said:
Yes. What rom are you using now? And btw did CronMod work?
Click to expand...
Click to collapse
Hi sorry for the late reply.I'm using Touchwiz Revolutionized 5.0-V4.0 [FINAL],and it seems to work fine,with cronmod's int2ext+,but the occassional lag still happens,sometimes unbearable..maybe I'll try another ROM later
Khayrin said:
Hi sorry for the late reply.I'm using Touchwiz Revolutionized 5.0-V4.0 [FINAL],and it seems to work fine,with cronmod's int2ext+,but the occassional lag still happens,sometimes unbearable..maybe I'll try another ROM later
Click to expand...
Click to collapse
Since the original /data partition is moved into the ext partition of the SD Card and the SD Card R/W speed is less than internal memory R/W speed, yes, it will lag. You can control this to a certain extent by using Class 8 or above SD Card and only installing the necessary apps. Don't forget more apps you install to ext partition, more laggier your phone becomes
mahithm said:
Since the original /data partition is moved into the ext partition of the SD Card and the SD Card R/W speed is less than internal memory R/W speed, yes, it will lag. You can control this to a certain extent by using Class 8 or above SD Card and only installing the necessary apps. Don't forget more apps you install to ext partition, more laggier your phone becomes
Click to expand...
Click to collapse
There is a way to avoid lags (but with Class 8 or above) and that is RAM swap...on Play store there are great apps for this. Just type "Ram swap".
skoda9635 said:
There is a way to avoid lags (but with Class 8 or above) and that is RAM swap...on Play store there are great apps for this. Just type "Ram swap".
Click to expand...
Click to collapse
The main problem while using swap is that it degrades your SD Card's life. So use it at your own risk. Hope I Helped
mahithm said:
The main problem while using swap is that it degrades your SD Card's life. So use it at your own risk. Hope I Helped
Click to expand...
Click to collapse
Thanks good to know...
skoda9635 said:
Thanks good to know...
Click to expand...
Click to collapse
Yes, it's dangerous for your sdcard's life

Categories

Resources