Cyanogen A2SD Technique - G1 Q&A, Help & Troubleshooting

What is it that he and all the other mods do to get it working automatically? I've been hunting for about a week now and I have no luck.

smackdown85146 said:
What is it that he and all the other mods do to get it working automatically? I've been hunting for about a week now and I have no luck.
Click to expand...
Click to collapse
Its a script that puts the apps to the EXT and EXT is a linux format.
By other mods you mean swap,compache,etc?Those are also linux things too.

Ace42 said:
Its a script that puts the apps to the EXT and EXT is a linux format.
By other mods you mean swap,compache,etc?Those are also linux things too.
Click to expand...
Click to collapse
Actually I meant developers, but I guess that helps with my compcache. And do you by any chance know where in the /system directory they're located?

smackdown85146 said:
Actually I meant developers, but I guess that helps with my compcache. And do you by any chance know where in the /system directory they're located?
Click to expand...
Click to collapse
Apps2sd script=Bin
Compache=bin i think...
swap=bin
But you also need to have them enabled in the user.conf file which also goes into you bin folder.

Related

Using more than one sdcard with ap2sd?

I need to change between some sdcards, because I have a lot of videos and games that does not fit in only one sd...
But I have ap2sd, and I figure I need to clone ext partition to the others sd cards (phone hangs if I insert other sdcard) ...
So, that is the question... ¿How can I clone the ext partition of the working sdcard to the rest???
I tried Partion magic, and parangon, but the problem is that software aks to reboot to do the job, and out of windows the usb sdcard reader driver don´t work, and those applications can´t find it when reboot.
I tried ubuntu, but it said I am not (even I am root) the ownership of the files, and don´t let me copy and paste...
I tried G1 terminal with busybox, to copy /system/sd/ to another folder, but it said (even with SU) it can´t, even I see all apps and delvik folder and so on inside /system/sd/...
Any idea how can I do it??
THANKS
check your pm's
So how do you do it?
josepz said:
Any idea how can I do it??
THANKS
Click to expand...
Click to collapse
I'm looking to do the same thing, did you find a suitable solution?
Charrion said:
I'm looking to do the same thing, did you find a suitable solution?
Click to expand...
Click to collapse
check your pm's as well
david1171 said:
check your pm's as well
Click to expand...
Click to collapse
It would be nice if you can post a solution so if other people want to try this the answer is here.
Post Deleted by Author
supremeteam256 said:
It would be nice if you can post a solution so if other people want to try this the answer is here.
Click to expand...
Click to collapse
it involves commands that could be seen as a way to pirate other peoples work so the mods do not like to see them which i cannot blame them. i cannot recall the thread but i saw one where they edited a post that showed how to do pull apps.
david1171 said:
it involves commands that could be seen as a way to pirate other peoples work so the mods do not like to see them which i cannot blame them. i cannot recall the thread but i saw one where they edited a post that showed how to do pull apps.
Click to expand...
Click to collapse
Thats cool, I know how to do this. I didn't know if you had a different method that would be helpfull to others.
I would like to switch sdcards too. Anyone can help me?

Where is my user.conf file hiding?

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.

Disable A2sd from source (ROM zip file)

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

24.8 MB Mystery file dsp.crash.1288434925.img

This file magically appeared on root of my SD card. I have no idea how it was generated or where it could have come from.
In preparation of installing CM6.1 I was backing up my SD card and noticed this monster file, I saved a copy to my desktop and am almost tempted to burn a copy as i'm kinda curious what the heck it is. I changed the file extension to txt to possibly view anything that might make sense, but no such luck, all gibberish.
For lack of any other clues i'm wondering if it has anything to do with DSP Manager? I did have a couple of force closes early on with DSP Manager but its been behaving fine for awhile now so i'm clueless.
Anybody have any input on this?
I'm not overly concerned but at the same time if i've got some rogue program running around creating 24 MB img files i'd certainly like to know.
ATT version N1
CM 6.0 stable at the time .img file was spawned
A bit of Google:
http://gitorious.org/linux-on-qualc...mmit/e8211cd8a41fbe8d0e82b173922b608ff9037c03
Read the remarks in the code.
img is a file system format extension. Why would you try and open it as a text file? lololol
Jack_R1 said:
A bit of Google:
http://gitorious.org/linux-on-qualc...mmit/e8211cd8a41fbe8d0e82b173922b608ff9037c03
Read the remarks in the code.
Click to expand...
Click to collapse
Just what the doctor ordered, Thanks
GldRush98 said:
img is a file system format extension. Why would you try and open it as a text file? lololol
Click to expand...
Click to collapse
Actually, I've had great luck trying this in the past, a few times!
fastboot flash dsp.crash.1288434925.img /system
Is what I'd do to have a look...
djmcnz said:
fastboot flash dsp.crash.1288434925.img /system
Is what I'd do to have a look...
Click to expand...
Click to collapse
Lol, ya went over my head here, are you saying I can flash this to my system folder and have an additional DSP Manager to look at (after nandroid, ha)?
More details please, I'm not adverse to trying this as long as I'm not going to break anything.
Don't try this, as it'll rewrite your system partition with whatever is saved in the IMG. It's definitely not the system, the size isn't nearly big enough.
djmcnz said:
fastboot flash dsp.crash.1288434925.img /system
Is what I'd do to have a look...
Click to expand...
Click to collapse
productofusa said:
Lol, ya went over my head here, are you saying I can flash this to my system folder and have an additional DSP Manager to look at (after nandroid, ha)?
More details please, I'm not adverse to trying this as long as I'm not going to break anything.
Click to expand...
Click to collapse
Jack_R1 said:
Don't try this, as it'll rewrite your system partition with whatever is saved in the IMG. It's definitely not the system, the size isn't nearly big enough.
Click to expand...
Click to collapse
Yeah, it was a joke... never flash a file you don't know the contents of.
Jack_R1 said:
Don't try this, as it'll rewrite your system partition with whatever is saved in the IMG. It's definitely not the system, the size isn't nearly big enough.
Click to expand...
Click to collapse
I like my system partition just the way it is thanks. But yeah probably wouldn't have flashed anything until it made more sense. Now it makes sense.
djmcnz said:
fastboot flash dsp.crash.1288434925.img /system
Is what I'd do to have a look...
Click to expand...
Click to collapse
just nandroid before all that madness is unleashed on your phone!

Vanishing directories Official Froyo

Hi
I'm trying to get app2ext working on official Froyo on my MM but every time I create sd-ext directories via root explorer or AOR the directories disappear after reboot.
Do I need to change the chmod of the directories? If yes to what number?
Is there a security system in Froyo that prevents creation of such directories?
I am kinda at a loss here.
thanks in advance for your help.
Which script are you using?
Sent from my Milestone using XDA App
sileshn said:
Which script are you using?
Sent from my Milestone using XDA App
Click to expand...
Click to collapse
I was planning to use the script from CM7. Thats why I wanted to create the sd-ext directory. I did try your guide, the one written in *.docx, but it did not work. The modules did not load...however, I did create /system/sd directory which is still there.
ROBINGAZI said:
I was planning to use the script from CM7. Thats why I wanted to create the sd-ext directory. I did try your guide, the one written in *.docx, but it did not work. The modules did not load...however, I did create /system/sd directory which is still there.
Click to expand...
Click to collapse
Well, I have got it working with all stock froyo roms that I have used. Have you installed busybox? Sometimes it takes more than one reboot to work.
I have tried that.
I used all three zip files mentioned in this thread:
//forum.xda-developers.com/showpost.php?p=10934421&postcount=37
but they did not work.
ROBINGAZI said:
I have tried that.
I used all three zip files mentioned in this thread:
//forum.xda-developers.com/showpost.php?p=10934421&postcount=37
but they did not work.
Click to expand...
Click to collapse
You only need to use the full version. Anyway, I don't know abt the sd-ext problem.

Categories

Resources