cache, swap or nothing - G1 Q&A, Help & Troubleshooting

Hey guys so when I created my ext partition I remember also creating a swap partition. I don't think I am but am I now running a sort of ram enchancment? If not i take it that I should set up a swap and not a cache. Could someone please link me to a method to set up swap. I used search and found a thread but it was very old. So once again thanks for any help.
EDIT I am not sure if it matters but I am on a rogers ebi1/32a phone

On also how can I tell how large I set that partition? And what size do you guys recommend.

i now see an option in CM mod to enable compcache, if i tick this will it automatically work? is there any method for me to figure out if its working?
One more quick question, i dont want to make a new thread:
Do you guys tick enable haptic feedback? if so what exactly does this do? I cant find a difference. Based on the name i would have assumed that it makes the phone vibrate with each touch.

asb123 said:
i now see an option in CM mod to enable compcache, if i tick this will it automatically work? is there any method for me to figure out if its working?
Click to expand...
Click to collapse
Yes it will automatically work, and trust me if Cyan put it in the rom it will work. Just giving the answer because I don't remember the command to check

JAguirre1231 said:
Yes it will automatically work, and trust me if Cyan put it in the rom it will work. Just giving the answer because I don't remember the command to check
Click to expand...
Click to collapse
thanks 10 char

Related

How do I remove Auto A2sd Script from boot?

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

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

Need Help From The pros

So I'm fairly new to android about three months now, and need help.....
1) How do you modify system files and apk's? (tried Estrongs but it won't let me use root access even when i click the always allow prompt)
2) Can someone explain exactly how i partition for Apps2SD ( PM me if possible)
3) Can you change bootscreens with a .zip flash? if so does anyone have a link for the cynanogen mod nexus boot as used in Darchvanilla??
Thank you and any help is deeply appreciated.....
did you just make 2 threads of the exact same thing???
That search feature has been breaking all damn day!! I swear we need a HUGE Search icon in the middle of the freakin forum.
not purposely i'm on a slow connection and clicked it twice???
abov3dis said:
not purposely i'm on a slow connection and clicked it twice???
Click to expand...
Click to collapse
Then why are some of the questions different on the two threads?
abov3dis said:
So I'm fairly new to android about three months now, and need help.....
1) How do you modify system files and apk's? (tried Estrongs but it won't let me use root access even when i click the always allow prompt)
2) Can someone explain exactly how i partition for Apps2SD ( PM me if possible)
3) Can you change bootscreens with a .zip flash? if so does anyone have a link for the cynanogen mod nexus boot as used in Darchvanilla??
Thank you and any help is deeply appreciated.....
Click to expand...
Click to collapse
1) mount to your pc pull the apk you wish then use "7 zip" to extract it
2) boot into recovery(home + end call) go to partition...partition swap + file + ext
3) yes you can flash a boot screen using a zip file
For the bootscreens use Fresh's new kitchen. It has the nexus one bootscreen and a couple others. Then you just hit a couple of buttons and its on your phone without having to manually edit or even boot into recovery.

[Q] Backlight of Softkeys

Hi there!
I want to disable the backlights of the softkeys, without installing an ad-filled apk.
I have installed Slimrom 4.3 from maclaw.pl and the setting to turn backlight off is invisible.
If you go with an rooted file explorer to /sys/class/leds/brightness and switch the value to 0, the backlight immediately turns off.
But if u restart the phone the value is changed everytime to 1 and the Backlight is back on.
So i thought i could write a script, that do this job for me., everytime i start my phome. The script is in the attachments.
Can anyone check if the script is okay? I dont want to brick my phone
And Do you know where the autostart folder for android devices is (like in windows), ive read something about kernel init or something.
And if i want to make a flashable zip out of this script, How to make it? because i dont want everytime i flash an update to work in the system.
Thanks for your time
Go to system settings-buttons-backlight & disable it. If that option it's not present on slim, simply download this. Don't mess with any system file cause this ain't a xperia phone:laugh:
Thanks, but my device is not listed under supported devices in this app and i dont want to keep a 3rd party app running that increases the battery drain and takes ram away. i prefer a little script at system start.
And no the option is not listed in the settings.
kinqme said:
Thanks, but my device is not listed under supported devices in this app and i dont want to keep a 3rd party app running that increases the battery drain and takes ram away. i prefer a little script at system start.
And no the option is not listed in the settings.
Click to expand...
Click to collapse
FYI, I'm using bln app & doesn't drain my bat nor ram (on cm11). Have a nice day
Okay i found that folder it is localized in /system/etc/init.d
I copied the file to there and it is workimg, on every restart the buttons keeps off.
But how to make a flashable zip with that file? is it enough to create a zip with the folder system and its contents are only th underfolder and the file?
kinqme said:
Okay i found that folder it is localized in /system/etc/init.d
I copied the file to there and it is workimg, on every restart the buttons keeps off.
But how to make a flashable zip with that file? is it enough to create a zip with the folder system and its contents are only th underfolder and the file?
Click to expand...
Click to collapse
Search on xda how to make it & if you sure it works I'll add it to my FAQ
Simple flashable fix for that http://www.mediafire.com/?dcq8si0xa1s348j
PolishVodka said:
Simple flashable fix for that http://www.mediafire.com/?dcq8si0xa1s348j
Click to expand...
Click to collapse
I asume it works on all maclaw roms (cm11) too, right!? Can I add it to my FAQ here. Of course I'll give you the proper credits on the special thanks section.
Here we go.
One zip to disable them and one to undo the patch.
thanks for your time
Can I add it to my FAQ?
Of course then other people who has the same problem can solve this problem
kinqme said:
Here we go.
One zip to disable them and one to undo the patch.
thanks for your time
Click to expand...
Click to collapse
Don't think so is good script, because when you got a notification than BLN turn on lights again and will be stay it on to second boot.
sorry my very first try.
i will look on my device, if this happens to me too
The only problem i had was with whatsapp, if u get a message there, the light keeps on till restart.
But in settings - notifications - lights in whatsapp u can turn off the notification lights and then the problem is solved. ( standard is white )
Tahnk you polishwodka
kinqme said:
Here we go.
One zip to disable them and one to undo the patch.
thanks for your time
Click to expand...
Click to collapse
Thanks

Categories

Resources