I can't find it in /system/sd nor /system/bin. I am trying to get my linux swap working but the user.conf app is a bit too advanced for me.
I am running Cyan 4.2.11 / darkstar .6.7. Fat 32, EXT3, Linux Swap =128MB.
Check out this thread
I am running CM 4.2.11 with 10mb CFS hack and, imho, it does not have a need for a swap but your mileage may vary.
borodin1 said:
Check out this thread
I am running CM 4.2.11 with 10mb CFS hack and, imho, it does not have a need for a swap but your mileage may vary.
Click to expand...
Click to collapse
Yeah, It's not necessarily running slow but I want to insure that everything is working properly. If I don't need the swap, should I delete that partition and just run fat32 and ext3? If so, can I just rm the partition in adb? Or will that screw up the ROM?
Don't delete that partition. You will need it when you switch to Android 2.1 most likely. It's only few MB right? Just let it be, it's not touched unless you specificaly tell the system to touch it.
If you do decide to get rid of it the this thread should help you out.
Good luck.
Don't delete that partition. You will need it when you switch to Android 2.1 most likely. It's only few MB right? Just let it be, it's not touched unless you specificaly tell the system to touch it.
If you do decide to get rid of it the this thread should help you out.
Good luck.
borodin1 said:
Don't delete that partition. You will need it when you switch to Android 2.1 most likely. It's only few MB right? Just let it be, it's not touched unless you specificaly tell the system to touch it.
If you do decide to get rid of it the this thread should help you out.
Good luck.
Click to expand...
Click to collapse
OK, I'll keep it. But, its not doing anything. Here is the result when I run 'free' in terminal:
total used free shared buffers
Mem: 107076 103120 3956 0 508
Swap: 0 0 0
Total: 107076 103120 3956
As I said, it will not do anything untill rom-maker puts a script in his rom (such as manup's eclair rom) in or you push your own script(by creating user.conf). Just let it be and don't worry about it. You'll use it when time comes.
Cool. Thanks, man.
If you still want to use your swap you have to make your own user.conf
Just follow this, part way down it tells you how to make one just for swap.
http://wiki.cyanogenmod.com/index.php/Compcache
Sleeepy2 said:
If you still want to use your swap you have to make your own user.conf
Just follow this, part way down it tells you how to make one just for swap.
http://wiki.cyanogenmod.com/index.php/Compcache
Click to expand...
Click to collapse
Thanks. I used that tutorial but I am still getting zeros when running 'free'. I know I am messing up somewhere.
staunty said:
Thanks. I used that tutorial but I am still getting zeros when running 'free'. I know I am messing up somewhere.
Click to expand...
Click to collapse
I used the app for making it and just left everything as is except for:
put a check on apps2sd
put a check on swap_file_en
and under that where it says "linux_file_size" I put the size of my swap partition
i hit push and it takes a few seconds then rebooted the phone.I now have 93 MB of swap.I probably did something wrong or left something out but it works.
Related
I wanna know how to remove the auto a2sd scripting from running at all during boot tried to just delete it and got stuck in boot loop
i am currently trying to remove this script from the zeroxd 5.2r5
anyone who could impart some wisdom would be greatly appreciated
wrong forum lol! but that would be a feature request from days past
jaaronmoody said:
wrong forum lol! but that would be a feature request from days past
Click to expand...
Click to collapse
not a request
i wanna know how to remove the script from all hero roms or any rom that auto a2sd so that i can just internalize everything
i have a mt3g and its got a lot of internal storage i just wanna know how to remove this auto a2sd scripting on boot and i dont know where to start looking
it runs at first boot and i believe that might be packed in boot.img but i dont think so.... and its not in init.rc either so i wanna know where it initializes in the system boot process so i can then remove it
i tried just deleting the scripot from /system/bin with no success because the system still calls for it then when it cant find it... well it just gets stuck looking
Zarboz said:
not a request
i wanna know how to remove the script from all hero roms or any rom that auto a2sd so that i can just internalize everything
i have a mt3g and its got a lot of internal storage i just wanna know how to remove this auto a2sd scripting on boot and i dont know where to start looking
it runs at first boot and i believe that might be packed in boot.img but i dont think so.... and its not in init.rc either so i wanna know where it initializes in the system boot process so i can then remove it
Click to expand...
Click to collapse
wait... isn't a mt3g a magic device????
jaaronmoody said:
wait... isn't a mt3g a magic device????
Click to expand...
Click to collapse
doesnt matter would still apply to a 32b board wich is in g1 as well... and the rom posted, wich i am trying to modify, is for both g1/mt3g
Zarboz said:
doesnt matter would still apply to a 32b board wich is in g1 as well... and the rom posted, wich i am trying to modify, is for both g1/mt3g
Click to expand...
Click to collapse
from what i remember, "they" were using an automated lucid script or the like. someone please correct me if i'm off base
jaaronmoody said:
from what i remember, "they" were using an automated lucid script or the like. someone please correct me if i'm off base
Click to expand...
Click to collapse
i see the a2sd.sh script it is lucid style yes. but i dont see where it initiates in the system. and in the user.conf file it only has option 1 or 0 and 0 runs a2sd.sh located in /system/bin and from the notation on it 1 would run custom a2sd script
i tried setting the user.conf option for custom a2sd.sh to 1 isntead of 0 and it just stuck in boot loop
so at this point im baffled
Reference point: I am working with zeroxd 5.2r5 wich is pretty much Jacxhero 2.0
what he said ...
Zarboz said:
i see the a2sd.sh script it is lucid style yes. but i dont see where it initiates in the system. and in the user.conf file it only has option 1 or 0 and 0 runs a2sd.sh located in /system/bin and from the notation on it 1 would run custom a2sd script
i tried setting the user.conf option for custom a2sd.sh to 1 isntead of 0 and it just stuck in boot loop
so at this point im baffled
Reference point: I am working with zeroxd 5.2r5 wich is pretty much Jacxhero 2.0
Click to expand...
Click to collapse
Check changelog of ZeroXD 6.0 i think it does what you want. Twisted is working on internallizing stuff for us on magic
Updating this thread.
I think that a solution in order to disable a2sd can be very helpful for a lot of users
Any help will be appreciated
Rgds
Hello XDA team
First of all, I think that this is the appropiate forum for this question, but if it doesn´t, please feel free to move to the correct thread.
I have a spanish Vodafone HTC Magic (32B) and after several combinations I have found that the most suitable partition system for my SD card is Fat32 + 128 MG of Swap. I really hate a2sd and Ext partitions because my device doesn´t really need them, and it only mess my apps.
I´m searching a way to disable a2sd from the .zip files of ROMs in order to be able to install in my phone, but I´m not sure hot to made it
If I take, for example, MightyMax latest ROM (MghtyMax1.9.1) and extract the contents, I find "a2sd" under /system/bin, so, if I remove this app and zip again the ROM, will I be able to "Skip" this feature? should I edite the user.conf and or userinit.sh files?
Many thanks for your help
Rgds
If its a question it goes to Q&A no matter what type of question it is. Just an FYI ^_^
u can try it. I dont know if it will work or not. Just remove all traces of a2sd and resign the update.zip. The other thing is, u can just not have an ext2 partition. That will disable a2sd from the first boot...
nephron said:
u can try it. I dont know if it will work or not. Just remove all traces of a2sd and resign the update.zip. The other thing is, u can just not have an ext2 partition. That will disable a2sd from the first boot...
Click to expand...
Click to collapse
The problem is that ROMs that require a2sd won´t boot (tried MLGIN, MightyMax, Sense Hero..) with my partition layout, they all keeps in the boot screen
thats because u they want ur layout to be like this
fat32,ext2,swap
the only thing u can do is
fat32,ext2,swap
then remove ext2 leaving a gap. After that, expand your fat32 to cover over the ext2.
so ur new layout would be fat32,swap but the swap partition would be on the third partition... (i think )
You could try using the script included in Wes Garner's update here to disable A2SD (should be able to replace the script in the update file of the ROM you are using).
Moved to Q&A
daveid said:
You could try using the script included in Wes Garner's update here to disable A2SD (should be able to replace the script in the update file of the ROM you are using).
Click to expand...
Click to collapse
Many thanks Daveid, sound very interesting, I will give it a try later..
I tried re-build the MghtyMax ROM removing the a2sd bin file and adjusting the user.conf and userinit.sh files but after installing the "new" ROM (it installs just fine) the phone keeps forever in the "Vodafone" bootscreen... Any ideas??
Rgds
iamarock said:
Many thanks Daveid, sound very interesting, I will give it a try later..
I tried re-build the MghtyMax ROM removing the a2sd bin file and adjusting the user.conf and userinit.sh files but after installing the "new" ROM (it installs just fine) the phone keeps forever in the "Vodafone" bootscreen... Any ideas??
Rgds
Click to expand...
Click to collapse
Your SD card has three partitions right? And, why remove the a2sd bin file? I would use the modified script I linked you to, make a very small ext2 partition - so you can put your user.conf & userinit.sh files on it, and see what that does.
What is the logcat (or ddms) output during boot up?
daveid said:
What is the logcat (or ddms) output during boot up?
Click to expand...
Click to collapse
Sorry but I think that I'm a newbee with this kind of issues, how can I get the boot logs???
Many thanks
daveid said:
Your SD card has three partitions right? And, why remove the a2sd bin file? I would use the modified script I linked you to, make a very small ext2 partition - so you can put your user.conf & userinit.sh files on it, and see what that does.
What is the logcat (or ddms) output during boot up?
Click to expand...
Click to collapse
Sorry guys but nothing seems to work for me...
-I have tried to disable a2sd editing the user.conf file and re-building the ROM. Nothing happens. The "new" ROMS installs just OK but it keeps forever in the Bootscreen logo
-The script mentioned by daveid in entry #5 neither seems to work for me, same bootloop
Any ideas??
Many thanks in advance, this is a very annoying issue for me
Anyone can help me with this issue?
Many thanks in advance
Rgds
iamarock said:
Sorry guys but nothing seems to work for me...
-I have tried to disable a2sd editing the user.conf file and re-building the ROM. Nothing happens. The "new" ROMS installs just OK but it keeps forever in the Bootscreen logo
-The script mentioned by daveid in entry #5 neither seems to work for me, same bootloop
Any ideas??
Many thanks in advance, this is a very annoying issue for me
Click to expand...
Click to collapse
Please, please, anyone can help me with this request? I tried to install the amazing Kink's Droid Eris port without sucesss, i guess that again due the a2sd issue
Is there any way to remove a2sd or to skip ext2 requirements when installing a rom?
Many thanks in advance
Best regards
Hi guys.
I know that the z4mod can successfully patch a Tab kernel, without any problems (I did it myself, flashed it, and ran it just fine for a few days).
But when I tried to run one of the zip files to switch the file system, everything went nuts and I had to reflash my Tab from scratch.
So I did a little investigating, and as far as I can tell, all that needs to be done to make the whole thing successful is to modify the script in the zip file to correct the mount point names (as they are different from the SGS).
So if anyone around here knows anything about this sort of business, please take a look at it and let me/us all know, cuz it would be GREAT to get z4mod working on the Tab.
Here's the web site if anyone's interested;
http://www.sgscompilebox.dreamhosters.com/
Hi, did you tell ryanZA what results you got? I'm sure he'll be interested to help.
However, thank you for trying, I was about to do the same.
Noob question. What's the benefit of running ext2/3 for the internal partitions versus rfs?
knightnz said:
Noob question. What's the benefit of running ext2/3 for the internal partitions versus rfs?
Click to expand...
Click to collapse
RFS is Samsung's partition format (FAT + journal) that is supposed to be better for flash devices. Apparently it is not so good, and very laggy. Therefore people are switching partitions to ext2/3 or moving and linking stuff to SD card with ext2/3 or jffs2 partition.
jeebspawnshop said:
So I did a little investigating, and as far as I can tell, all that needs to be done to make the whole thing successful is to modify the script in the zip file to correct the mount point names (as they are different from the SGS).
Click to expand...
Click to collapse
Could you explain how you came to that conclusion ?
I was not able to locate my mount points to compare with what you did observe, but i guess we should start with that, then ask ryanZA his thought about what you've found.
Fyi: http://forum.xda-developers.com/showthread.php?p=9629477#post9629477
doloop said:
Could you explain how you came to that conclusion ?
I was not able to locate my mount points to compare with what you did observe, but i guess we should start with that, then ask ryanZA his thought about what you've found.
Click to expand...
Click to collapse
It has been tested by many Galaxy S users. Go to their forum and you will know
evermick said:
It has been tested by many Galaxy S users. Go to their forum and you will know
Click to expand...
Click to collapse
I'm really newb on linux, but i've read a little since last post.
What if we:
1 - dump mount list from a working SGT (terminal or adb shell -> mount ?)
2 - apply Z4mod then SGT won't boot (i assume it creates /etc/.fstab)
3 - edit /etc/fstab to match the dump in step 1
But, how do we read/write /etc/fstab once the sgt is locked ? using some kind of update.zip, or is there some shell service we could connect to, even if some mounts aren't in the right place ?
Unfortunately, everything I could contribute to this idea was in my first post. I know absolutely nothing about Android development, sadly...
But after reading what Deodexed said about volumes not mounting properly during recovery (he's the guy trying to get CWM to work for our Tabs) it seems that maybe that's the reason that z4mod may not work... If the volumes aren't mounted correctly, it can't convert the filesystems.
Maybe what doloop said might work? I hope so. An SGT running on ext2 would rock the socks off anything else out there. God I want it
Noob here, I was not allowed to post on the development forum so I had to put this here:
I recently managed to flash the ported CM6.1 with 2708+ kernel following this thread http://forum.xda-developers.com/showthread.php?p=9055790#post9055790 and this http://forum.cyanogenmod.com/topic/11548-cm61-2708port-for-new-radiospl/
Everything works atm and no FC's etc.
However, i really want to modify my MTDPartitions so i can make the CACHE really small and get more space for storing apps on the phone. I have read http://forum.xda-developers.com/showthread.php?t=893706 guide and have used firerat's mtdpartitioner before i moved to hboot-1.33.0013d.
my problem is, hboot-1.33.0013d has s-on and does that mean I cant repartition my G1 for extra space?
Is it possible to keep the 2708+ kernel with a different SPL so i get the extra ram(from the kernel) AND the extra space(from repartitioning)?? Can you point me in the right direction?
I know basic adb and fastboot commands if they are required.
Thanks for reading
FlyingShrapnel said:
Noob here, I was not allowed to post on the development forum so I had to put this here:
I recently managed to flash the ported CM6.1 with 2708+ kernel following this thread http://forum.xda-developers.com/showthread.php?p=9055790#post9055790 and this http://forum.cyanogenmod.com/topic/11548-cm61-2708port-for-new-radiospl/
Everything works atm and no FC's etc.
However, i really want to modify my MTDPartitions so i can make the CACHE really small and get more space for storing apps on the phone. I have read http://forum.xda-developers.com/showthread.php?t=893706 guide and have used firerat's mtdpartitioner before i moved to hboot-1.33.0013d.
my problem is, hboot-1.33.0013d has s-on and does that mean I cant repartition my G1 for extra space?
Is it possible to keep the 2708+ kernel with a different SPL so i get the extra ram(from the kernel) AND the extra space(from repartitioning)?? Can you point me in the right direction?
I know basic adb and fastboot commands if they are required.
Thanks for reading
Click to expand...
Click to collapse
There is no problem in using CustomMTD and 1.33.0013d in parallel. (As you can see in my signature, I am running the same configuration)
With CustomMTD you have to pass the partition layout to the kernel (that's the reason why you have to patch recovery- and boot- kernel separately), but it's completely independent of the hboot you have installed. Follow the instructions of Firerat's CustomMTD thread (the link you can find in my signature, too) and you are fine, s-on /s-off has no influence on it.
Thanks, just one more thing from me.
Is there a way of either using adb or terminal on the phone to view how much space is used on each partition. Like how Firerat has done here http://forum.xda-developers.com/showthread.php?t=717874
That would be very helpful because I am trying to slim down the SYSTEM partition while I am at it, to get maximum space out of the phone
EDIT: What size would you recommend that i allocate each partition and how much free space on the SYSTEM partition should I leave? does it matter?
FlyingShrapnel said:
Thanks, just one more thing from me.
Is there a way of either using adb or terminal on the phone to view how much space is used on each partition. Like how Firerat has done here http://forum.xda-developers.com/showthread.php?t=717874
That would be very helpful because I am trying to slim down the SYSTEM partition while I am at it, to get maximum space out of the phone
Click to expand...
Click to collapse
try
Code:
adb shell df -h
or go into terminal on your phone and use
Code:
df -h
so for each mounted partition you can see, how big it is, how much space is allocated and how much space is still free
FlyingShrapnel said:
EDIT: What size would you recommend that i allocate each partition and how much free space on the SYSTEM partition should I leave? does it matter?
Click to expand...
Click to collapse
Depends much on the ROM you would like to install. I am running 90/2, i.e. 90MB for /system, 2MB for /cache and about 117 MB for /data. CM 6.0/6.1 need less space on /system, others (especially sense-ROMs) probably more.
Just tried removing necessary native apps, failed cos it broke facebook... couldnt be bothered with it because it only saved like ~4MB
followed the instructions and using 90/2.
somehow, i broke gapps, none of the google stock apps are working, should i reflash gapps or is it more complicated than that? will i need to start all over again?
What apps / programs did you remove? How did you do it? Did you make a nandroid backup first?
Sent from my Gingerbread on Dream using XDA App
I did take a nandroid back up, i removed:
Email.apk
HtcCopyright.apk
LatinIME.apk
LiveWallpaperPicker.apk
PicoTts.apk
Protips.apk
UserDictionaryProvider.apk
VoiceDialer.apk
VpnServices.apk
I have already tried restoring through nandroid, then wiping data/cache through factory reset then restoring. No luck
reflashing all over again
EDIT: reflashed worked until I rebooted, then it is stuck on the G1 splash screen. I can still get into recovery... any ideas? I guess I will just stay off mtd for now *sigh*
Did you do the nandroid before or after patching the kernel? If you took it before, you have to repatch, otherwise the partition layout doesn't match.
Another hint: do a
fastboot erase system -w
First, then go to recovery and restore your backup. After restoring you probably need to reflash the FR_boot_xxx.zip, depends when you took the backup, i.e. whether the kernel was already adapted to cMTD or not.
Sent from my Gingerbread on Dream using XDA App
I did the nandroid before i did the mtd. I am trying the flashboot now
EDIT: tried it, used 2 different nandroid back ups. both times i ended up with gapps FC-ing all the time and no phone app.
EDIT2: nvm, I just reflashed from scratch, it all works fine now. I just wont touch mtd and stuff for now.
case closed. Thanks for the help
Sorry if this question has been asked multiple times, I did try my best to find an answer on google and xda but no luck, so here I am
I have it set up and everything. Before i did it, i had 150 mb of total space, now I have 298 mb of total space but i read that people got up to 350+ of mb space, is there a way i can get mine up that high?
Mobiono said:
Sorry if this question has been asked multiple times, I did try my best to find an answer on google and xda but no luck, so here I am
I have it set up and everything. Before i did it, i had 150 mb of total space, now I have 298 mb of total space but i read that people got up to 350+ of mb space, is there a way i can get mine up that high?
Click to expand...
Click to collapse
If you make your /system and /cache as small as you safely can, then your /data is what it is. The only way to get more space is decrease the /system size
Sent from my HERO200 using XDA App
ajrty33 said:
If you make your /system and /cache as small as you safely can, then your /data is what it is. The only way to get more space is decrease the /system size
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Thank you how would i know what would be the smallest, safest amount that /system could be?
E
Mobiono said:
Thank you how would i know what would be the smallest, safest amount that /system could be?
Click to expand...
Click to collapse
It really depends on which Rom you are running. For jaybob's 2.3.7 (TeamHeroc 30Nov) that I am using
I have my mtdpartmap at 105 2. I think this gives me data of 352 total. I have pulled some apk's out though and you will have some market issues unless you use s0be's market fix because the cache is set below 18. This is a gingerbread thing that didn't happen on froyo from what I can remember. You also need to use firerat's 1.5.8 (or above I guess for the 18mb cache to work without the market fix). You can check the size of the partitions by going into the terminal emulator and doing: df -h, of that doesn't work try busybox df -h. That way you can see what you need. If you go over the allotted system partition amount you will run into all kinds of issues. Leave some room if you like to change boot animations or anything else involving the system.
Sent from my HERO200 using XDA App
Drunkpilot said:
E
It really depends on which Rom you are running. For jaybob's 2.3.7 (TeamHeroc 30Nov) that I am using
I have my mtdpartmap at 105 2. I think this gives me data of 352 total. I have pulled some apk's out though and you will have some market issues unless you use s0be's market fix because the cache is set below 18. This is a gingerbread thing that didn't happen on froyo from what I can remember. You also need to use firerat's 1.5.8 (or above I guess for the 18mb cache to work without the market fix). You can check the size of the partitions by going into the terminal emulator and doing: df -h, of that doesn't work try busybox df -h. That way you can see what you need. If you go over the allotted system partition amount you will run into all kinds of issues. Leave some room if you like to change boot animations or anything else involving the system.
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Thank you very much for your assistance. My mtdpartmap is 160 2 , so i guess im good for now lol. I'll just switch Roms and evaluate the difference in internal mem. for myself. Right now im on Drew's something..(first Rom in my sig) so i'm probably maxed out already. Once again, thanks ( already used the thanks button lol)
Call me terminal newbie-noob
I'm looking for two things:
1) firerats v.1.5.8
2) easy to follow instructions for installation.
I also want to use firerats (have for a long, long, long time, but, I've been intimidated by the OP disclaimer and super-long thread), but I cannot find v.1.5.8.
I've gone through the links, and I'm just not seeing it.
(Folks, you gotta understand: I'm a fumbler and overcautious, and it's painful to ask for help.)
I love having my little hero rooted. I love the continuing work by AOSP, Dastin and Matt Crystal and innumberable others, it's great! I just don't have enough room for the apps I use. I wouldn't travel down this path if I didn't think I had to, so please lend an old fool your brain.
The best how-to I've come across (so far) is the ROMRepo:
http://romrepo.info/wiki/index.php?title=Firerat's_Custom_MTD_Partitions_(HeroC)
It takes me to v.1.5.6.
I just don't want to screw up.
Thanks in advance.
-p
Am I asking for too much? I don't mean to cause harm. If one would be so kind as to provide a link to v.1.5.8, I'd be grateful.
I know I'm a risky prospect for lending help to, but I won't hold it against anyone if things don't work out right.
Thanks for your consideration.
-p
As far as instructions on how to use the mod just read the op then spend a little time reading the thread. Then make a nandroid and give it a go. Also you should have a copy of your current recovery on hand and adb installed on your pc.
#Root-Hack_Mod*Always\
permazorch said:
I'm looking for two things:
1) firerats v.1.5.8
2) easy to follow instructions for installation.
I also want to use firerats (have for a long, long, long time, but, I've been intimidated by the OP disclaimer and super-long thread), but I cannot find v.1.5.8.
I've gone through the links, and I'm just not seeing it.
(Folks, you gotta understand: I'm a fumbler and overcautious, and it's painful to ask for help.)
I love having my little hero rooted. I love the continuing work by AOSP, Dastin and Matt Crystal and innumberable others, it's great! I just don't have enough room for the apps I use. I wouldn't travel down this path if I didn't think I had to, so please lend an old fool your brain.
The best how-to I've come across (so far) is the ROMRepo:
http://romrepo.info/wiki/index.php?title=Firerat's_Custom_MTD_Partitions_(HeroC)
It takes me to v.1.5.6.
I just don't want to screw up.
Thanks in advance.
-p
Click to expand...
Click to collapse
In case you didn't find it, http://www.mediafire.com/?lifib6a9ptj5j#1pcwmbdd9kqpc
Also, the instructions are on the OP of this thread
Personally, I would do Data2Ext. You get Gigs of int. mem. (Around 1 gig if you set your ext. size to 2048mb. Of course, the bigger your sdcard, the bigger you can make your partition.)