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
Related
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.
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
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??
4) How to change to a normal 2.1 lockscreen?
Thank you and any help is deeply appreciated.....
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??
4) How to change to a normal 2.1 lockscreen?
Thank you and any help is deeply appreciated.....
Click to expand...
Click to collapse
1.) no idea...try linda file manager.
2.) you partition it with the recovery image. swap/ext/fat32
3.) yes
4.) define normal?
Normal by the 2.1 vanilla lockscreen (I Sware I hate the HTC lock,lol)
and could you post a few instructions for apps2sd because i'm still not sure,
abov3dis said:
Normal by the 2.1 vanilla lockscreen (I Sware I hate the HTC lock,lol)
and could you post a few instructions for apps2sd because i'm still not sure,
Click to expand...
Click to collapse
to remove the htc lock screen just pull the lockscreen.apk via adb or using the new fresh kitchen.... or you could install fresh's new 2.1 rom. apps2sd should set up automatically as long as the rom you pick has it integrated. you have to make sure your sd card is partitioned before flashing the rom.
fixxxer2008 said:
to remove the htc lock screen just pull the lockscreen.apk via adb or using the new fresh kitchen.... or you could install fresh's new 2.1 rom. apps2sd should set up automatically as long as the rom you pick has it integrated. you have to make sure your sd card is partitioned before flashing the rom.
Click to expand...
Click to collapse
I can concur with this ^
If you want a good 2.1 rom then go with damage or fresh. If you want a 1.5 id go with pancake without sense, super fast!
We had are First Sleepless Night with the New baby Boy.... Between Trying Figure out what was Wrong & taking turns with the Wife Holding Aries, I tried Pushing File's & forgot adb push didn't work...
Now this Script originally is what I made for the Behold 2, but the Basic still works For the SGV..
Just mod the script if your using the userinit.sh
Using this script you can place the userinit.sh any place you would Like...
I hope ever gets Good use out of this & Please Enjoy!
~Eugene
Download > adbpushGS1.zip
Installing*
Reboot to recovery, run the update.zip to run ClockworkMod Recovery, then installed the ZIP..
eugene373 said:
We had are First Sleepless Night with the New baby Boy.... Between Trying Figure out what was Wrong & taking turns with the Wife Holding Aries.
Click to expand...
Click to collapse
Glad mine is now past that stage! lol
Thanks for the script.
Anyone test this with the init script + this?
Sorry for double doubting again ) But i just want confirmation.
Also, Some of us are still having force close and other issues with the init sript. Just FYI.
rhcp0112345 said:
Anyone test this with the init script + this?
Sorry for double doubting again ) But i just want confirmation.
Also, Some of us are still having force close and other issues with the init sript. Just FYI.
Click to expand...
Click to collapse
FYI, I don't have nor Run the inituser.sh, so FC IDK... doubting People Gets Old ( Mainly when you state it )..
I will never Release Something that Don't work &/or would brick a Device!
Script Does work, I'm leaving up to the User to add back in support for userinit.sh though.
~Eugene
Word. so ill wait till someone tests this with the userinit
I think it has something to do with davik cache. I have to figure out a way to clear all cache without wiping. I dont want to go through all that non-sense.
Great work though. *Hats off*
Thank's Eugene for all your hard work,your the sh**
Hey eugene you think your battery hack will work on the vibrant?
sent using my xda app
this won't work with the userinit because it replaces the same file as the userinit. Now it could easily be modified to do both.....
anomalous3 said:
this won't work with the userinit because it replaces the same file as the userinit. Now it could easily be modified to do both.....
Click to expand...
Click to collapse
That's what I said
Just mod the script if your using the userinit.sh
Click to expand...
Click to collapse
eugene373 said:
That's what I said
Click to expand...
Click to collapse
This is what happens when I don't read the whole thread
anomalous3 said:
This is what happens when I don't read the whole thread
Click to expand...
Click to collapse
np
Honestly you could just add the script from userinit.sh inside of the script, or the other way around & should still work fine.
Question, I would like to do as you said. Just add to the userinit
Is the problem just having the system/data mounted? It seems thats all your script does. If so, I can just use a widget to unmount/mount as i go. and not bother to have my system/data mounted all the time Please let me know.
Thanks!
Nicely done! I appreciate the work, I was hoping someone figured out a way to do adb push.. xda to the rescue again
hi, somewhat n00bie-ish (sorry) but what could
..deamon started.. "remount failed: no such file in directory"
in command prompt after i enter "adb remount" mean??
fit333 said:
hi, somewhat n00bie-ish (sorry) but what could
..deamon started.. "remount failed: no such file in directory"
in command prompt after i enter "adb remount" mean??
Click to expand...
Click to collapse
Am having the exact same problem, with a Samsung spica (i5700) though. Any ideas?
adb remount is not needed with my script.. system / rootfs is already mount via the script.
shameless bump
so I can find this easier... I wish our Moderator would get on his job...
thanks for your work eugene..
Mod plz delete. The thread is remade now . less garbage in it
Hi,
That's sound great. Will test it as sun as 8 come home.
Btw: its there any chance that I will completely brick my wildfire?
Kalkin-
Sent from my HTC Wildfire using XDA App
kalkin said:
Hi,
That's sound great. Will test it as sun as 8 come home.
Btw: its there any chance that I will completely brick my wildfire?
Kalkin-
Sent from my HTC Wildfire using XDA App
Click to expand...
Click to collapse
I realy dont think so, but i leave no guarantie! if i had an wildfire i would have tryd it my self. I realy think i would have root on a wildfire if i just had it in my hand for a while
any tried this one yet ? I sooo wan to try but im not sure as it could brick my phone.. if it does.. I get no warranty rigth(pretty sure im not)?
Doesn't work (I think)..
When I try to flash the recovery provided by the ROM Manager, I get the verification failed error and it stops.. Just like with the guide Paul from modaco posted before he pulled it because it wasn't working..
damn!
realy hoped it should work. anyone of you running linux?
maybe i have to pick a phone out from a shop, try to root it and then return it unrooted.
Yeah, shame really..
Any idea why the verification would fail?
Not running linux, but I could set up a VM if you need something specific from someone with a wildfire.. (Though I probably would need detailed instructions as to what you want me to do, been a long time since I last used ubuntu)
danne_jo:
I have a Gentoo and an Ubuntu on a machines running, and i can setup anyone distri in virtualbox. What do you need?
I also can setup you a $YOUR_DISTRI in VirtualBox for you and give you ssh with root.
Btw can't find a Rom Manager in the market. Tried everything RomManager rommanager Rom Manager
You can have it with appbrain and fast web installer.
i will keep looking into this!
but its hard when i dont have a wildfire in my hands my self.
im sorry if i gave you false hope on this.
Am adding rom manager to this post:
danne_jo said:
Am adding rom manager to this post:
Click to expand...
Click to collapse
Thanks for the rom manager
Now then recovery is comming to wildfire i have remade a rooted rom.
Hi,
Just tested this - bug at line 13 on trying to set permissions of DATA - probably related to a2sd - did I need to partition my sdcard first?
Best,
Martin
Sent from my HTC Wildfire using XDA App
Row 13 in the script does this:
set_perm 0 0 0777 DATA:a2sd
So i belive as you self belive it depends on your SD-card. Try to partition you card. To something similar to this:
swap = 0mb
ext = 256-512mb
upgrade ext2 to ext3 (if you have this option)
and then wipe your phone, and reflash. if it doesent work we go from there. But i cant see anything woring with the script if wildfire work as the other HTC models.
Thanx for trying. if we dont manage to make this work i will make a rom that doesent use app2sd at start.
Regards Daniel
*Edit* did found that bugg! But you should realy have the sd partionated as i wrote before anyway
Will remake rom right now.
Great - if you post it up I'll test later!
If we can sort all hardware issues it will be a great start for other devs.
M
Sent from my HTC Wildfire using XDA App
Updated rom to v2. Tested and verifyed install script.
odexed or deodexed. whats different? i am new on this. thank you.
ps don't hit in face please.
ps ps how to flash?
rolks said:
odexed or deodexed. whats different? i am new on this. thank you.
ps don't hit in face please.
ps ps how to flash?
Click to expand...
Click to collapse
You can't until root is generally available.
I'm testing this now -- currently copying files at 50% and all is well ;P
Ok, flashed ROM, installation succeeds.
However, the ROM will not boot. Stuck at HTC loading screen.
I am unable to diagnose the problem because, at present, there is no /system/bin/sh executable, so can't connect via adb to see the log (even adb logcat relies on this).
I would recommend symlinking bash to /system/bin/sh so this can be done.
I've accidentally just started restoring a nandroid backup, but when that's done will wipe, re-apply update, symlink sh -> bash and try again.