Enable Ext4 Apps2SD CM7 RC2 - G2 and Desire Z Q&A, Help & Troubleshooting

Im usin CM7 RC2 and wanna kno if I can use the 512 MBs of Ext4 and/or 256 mb Swap from my SDCard. It was already formatted that way because of my old phone (Moto Cliq 2.1 Android).
Im not sure but it looks like the A2SD feature thats being used is sendin the apps on my Fat32.
Does the default CM7 kernel allow this. Really tho im usin pershoot latest kernel.
What im askin basicly, is it as simple as runnin a script or commands in terminal/adb?

The one you're currently using that's putting apps on the FAT partition is Froyo a2sd. You need Darktremor's a2ext (a2sd). It's in the development thread. Yes, the current format you have will still work but make sure you wipe them first. Also, 256MB is a bit big for this phone, I'd use 64MB and you really won't even need that. You're best bet would be to use compcache with the G2 - I believed cyanogen still retains the fix he put in with the G1 to speed up compcache and actually make it faster than linux swap. Don't quote me on that though.

Related

[Q] App2sd partition size

Beginner here that's catching on fast but still a little wet behind the ears. I want to partition my sd card does this sound about right I'm %100 percent on the ext2 size I want it 1024mb I have a 32gig sd so space isn't an issue. What I'm not sure about is what size I should make the swap right now I'm thinking 160mb. Please help I'm planning on doing this tonight before I gotta wake up for work. Any help would be greatly appreciated.
Also what is ext2 to ext3 option is it needed what does it do?
Also I'm running cm6.1 stable
using ra-recovery
I run a 64mb swapfile and 1.5gb ext3 partition. Personally speaking I would not go past 512mb on swap. Really even 64mb is overkill imho as our evos don't really use it much if at all.
As far as ext2 vs 3 its personal choice. Ext3 adds journaling extensions and ups the file size limit.
Thanks for the quick advice you the man!
How the hell did you get it to a2sd to work? I've tried all methods I can find in the forum, but still installs to internal memory.
The developers thread really helped me out.
http://forum.xda-developers.com/showthread.php?t=715938&highlight=Apps2SD
-Protos said:
The developers thread really helped me out.
http://forum.xda-developers.com/showthread.php?t=715938&highlight=Apps2SD
Click to expand...
Click to collapse
Yeah I tried that twice. I am loading stored apks, from my computer, does this only work when downloading from the market or what? I've tried every method I could find in this forum, with no luck.
To load apks from your sd card you must go to menu/settings/applications/ and make sure unknown sources is checked.
Also you should be running the latest version of a2sd for everything to work properly. I run myns warm 2.2 rl4 and while it is a fine rom, it is missing the latest a2sd and busybox.
After you have flashed the latest a2sd zip, you should move ALL apps to INTERNAL memory and THEN go to your android terminal and
/su
a2sd reinstall

[Q] Convert ext4 to ext3 without repartitioning?

Alright, I'm running darktremor a2sd with an ext4 partition in decks 1.2 and loving it. I'm thinking about messing with synergy and know that I would need an ext3 not ext4 partition to run dta2sd. In amon ra you can upgrade from ext2 to ext3 and 3 to 4. Is there a way to "downgrade" to ext3 without wiping and repartitioning?
Thank you in advance for any help.
Not in any recovery that we have available. I thought I read at one point that you can set SD partitions in Linux, but I don't know if you downgrade in that either.
ok, thanks, thats kind of what i thought.
another question for you or those in the know......i'm pretty sure since i converted my ext3 to ext4 and resetup dta2sd that my temperatures have been getting considerably hotter than before. people suggest that that ext4 isn't the best for the life of an sd card because of extra writing going on.....could this extra work also be contributing to higher temps?
I've got my SD partitioned to ext4 on CM7 with s2e and I've haven't noticed a temperature change, but it sounds possible.

[Q]HTC Desire Freezes with ics rom

well as the title says i have tried every ics rom for the desire but all of them keep freezing after 30-50 seconds from boot.i have done all the steps carefully and i dont know what the problem is.
here are my phone specs:Stock Hboot
Bravo Pvt4vShip s-off
ext4 1 gb
any help appreciated...
Which are you using? I have been flashing the updates of Sandvold's ICS. The 0.3 betas worked fine, if a little laggy, but have not tried the latest 0.4 version with full HWA.
This link is in the rom's OP. Hope it sheds some light.
http://forum.xda-developers.com/showpost.php?p=22243503&postcount=1968
Sent from my HTC Desire using XDA App
i have tried every rom since beta 0.3 but they all fc afte 30 seconds from boot.i dont know what i am doing wrong.i even re-partitioned my sd card!
Did you run a full wipe? Do you use some software like SetCPU.
Sent from dGB using Transparent XDA App
I have done full wipe and i dont use any app because i dont have the time to download anything, the phones freezes after boot.is there any chance that my sd card is not compatible or something?
How have you partitioned your card?
I have had mine partitioned 512 mb ext3 with 64 mb swap space and 1024 mb ext3 with 128mb swap and it has work fine with multiple versions of sandvold's and the cm9 beta ICS roms.
Not sure if that helps but could be worth a try.
Is it just ICS roms that cause this problem (ie can you run gingerbread roms ok)?
I think MatDrOiD meant have you ever used programmes like setCPU (ie on previous roms that you have flashed), because (and I am not exactly sure because I have never messed about with overclocking and unclocking) changing the settings can effect you cpu even if you flash a new rom.
yes i did partition my sd card ext4 though.and i couldnt find any swap space.going to do this one more time with ext3 and swap space.and no i have never used setcpu and that kind of staff
good luck
one more question:what is swap space and how can i do this?
Swap is what is used when RAM is fully used, to give extra memory. You don't need it on the desire, even with ics
Sent from my HTC Desire using Tapatalk
which recovery are you using?
on 4EXT (which is what I used), it will ask what you as your first sd-ext partition (1024mb in this case), what you want as a second sd-ext partition (0mb in this case) and what you want as swap space (124mb). the rest will be formated as FAT32
(NB: this will wipe your card so back up any data before doing this)
Clockwork mod has a similar way but it is under "Advanced" on the recovery menu iirc
Swap space is space reserved on the sd card that cannot be accessed by you but is used by the OS. I am not sure how useful it is but I religiously did it after experimenting with Runnymeade for a while (which asks for a 1024mb ext4 partition with no swap space).
thanks for the tip guys.eventually i used amon ra for the partition 1gbext3 128 swap and the phone operated normally!again thanks for your time

[Q] Cyanogenmod 7.2.0-RC0-marvel-KANG

morning all' i have just flashed cm7 by alquez on my wildfire s and i must say im loving it so much better than my original sense rom' i noticed at the top of the page it says Update:
Testing kernel with swap and qualcomm hw3d options enabled:
is this just optional or do we need to flash it over.
thnx very much cheers.
Yes its optional, if you want a swap partition then flash it, if not then no need really.
what is a swap partition anyways lol the only partition i have is on my sd card which is ext4 for data2sd.thanks
Swap is not really needed for us, we have plenty of free ram.
Anyway just remembered I think alquez added that kernel to his later builds anyway.

SD Partition on 32 GB card?

Hey guys,
I've searched around a lot but haven't found anything explicit to a 32 GB card's ideal partition table. I've read somewhere that the ext3 shouldn't be larger than 2 GB, is this really the case? Or is it device specific? And if thats the case, can the MT3G3 handle a larger than 2GB partition? Also, is there a point to having a swap partition? I know on Linux systems it helps with memory and the XDA SD partition guide mentions that we can have one if we wanted .. but is there a point to it?
My second question is ... should I get data2ext or a2ext? Or some other tool? The choice is pretty confusing, esp since it seems that some of them do the same thing?
I'm thinking about making the partitions equal between FAT32 and Ext3 (if swap won't make a difference).
PS - Its a Class 10 Sandisk card.
eMJaaay said:
Hey guys,
I've searched around a lot but haven't found anything explicit to a 32 GB card's ideal partition table. I've read somewhere that the ext3 shouldn't be larger than 2 GB, is this really the case? Or is it device specific? And if thats the case, can the MT3G3 handle a larger than 2GB partition? Also, is there a point to having a swap partition? I know on Linux systems it helps with memory and the XDA SD partition guide mentions that we can have one if we wanted .. but is there a point to it?
My second question is ... should I get data2ext or a2ext? Or some other tool? The choice is pretty confusing, esp since it seems that some of them do the same thing?
I'm thinking about making the partitions equal between FAT32 and Ext3 (if swap won't make a difference).
PS - Its a Class 10 Sandisk card.
Click to expand...
Click to collapse
don't know what a mt3gs works with, 32 should work but no larger I doubt. as for an ext partition there is no reason to make it smaller than internal memory and 2gb should be more than enough, I have never even used more than 1gb but 1~2gb should be the perfect point.
not sure if any of the roms here support ext4, if they do I would recomend that over ext3, it won't ware the card much fast (the extra journaling does but not much)
personaly kinux swap doesn't help much, not even on the g1 but give it a shot and see if it works for you, will help with multitasking
use apps2ext for sure, not data as it will be slow
Sent from my HTC Vision using xda premium
Thanks so much for the reply
I'll give this a go! I might as well have a swap partition as well since I have so much space should the swap be smaller than the ext3 partition? I'll also look into apps2ext .. but earlier came across int2ext in CronMod .. would that work?
eMJaaay said:
I'll give this a go! I might as well have a swap partition as well since I have so much space should the swap be smaller than the ext3 partition? I'll also look into apps2ext .. but earlier came across int2ext in CronMod .. would that work?
Click to expand...
Click to collapse
I'm not sure if creating swap on sd is supported on this device (at least, CM7). When I tried to partition SD using Rom Manager the device didn't see my ext partition if I selected swap partition size more than 0.
As for apps for managing ext partition usage, s2e app worked for me all right on CM9 and CM7. If you device is running CM9 you should be extra careful with such software. In example, Link2SD caused much trouble for me - constant app FC and I had to reinstall the system.
And be careful - it seems that s2e wipes ext partition at the first mount.
Sent from my T-Mobile myTouch 3G Slide using xda app-developers app
If im not mistaken, your kernel has to support using a swap partition.
Look into darktremors apps2sd. A. Lot of folks seemed to like that. It allows you to choose different setups if I remember right. (A2sd, data2sd, etc)
Data2sd would prob work ok since you have a class 10 card.
Also, if you are needing more space and are running a custom rom, look up mtd partitions in development forum.
Another nice trick is bind-mount data to cache.
Mt3gs does not support higher than 32gb. Ext4 support I think is available but only through kernels or scripts.
Hope that helps.
Sent from my SGH-T999 using xda app-developers app
Different ROMs support different a2sd scripts.....you will have to find a script compatible with your ROM.
I use A2SDGUI on my phone.
A swap partition acts a virtual ram for your phone if you run low on ram memory.Not required though.
Sent from my GT-S5570 using xda app-developers app
Thanks for the replies everyone
I'm running CM7.2 which has built in moving to SD but this hardly does anything :/ I've only got around 7 apps half of which I can't even update cos its running low on space :/
Quite a few partition articles / posts, etc mention ext3 no larger than 2 GB and a swap of 0 MB :/ I've got the CM kernel that came with the last stable release (in June this year) .. does that support swap? Is there even a point of adding a swap of 0 MB .. might as well not make a swap partition at all right? I'm partitioning using Gparted on my Linux! I think S2E supports that!
Seriously guys, thank you so so much for all your replies
Update: Link2SD didn't work. S2E worked on S-ON with a 28 ish GB FAT32 Primary Partition and a 2048 MB i.e 2 GB EXT4 partition.

Categories

Resources