I'm using the the stock 2.3.4 from Spice website and this is by far the best considering wifi important.
My question is, can we enable init.d support or we need a special kernel for that?
I tried a tut. from zeppelin but failed miserably...
Any idea guys???
whyzee,
I followed this http://forum.xda-developers.com/showthread.php?t=1017291 and was able to use init.d without any issues.
cowsgo said:
whyzee,
I followed this http://forum.xda-developers.com/showthread.php?t=1017291 and was able to use init.d without any issues.
Click to expand...
Click to collapse
Thanks for the link but that was the one I tried without success .... Should try again when I have some real time...
whyzee
did you get an error when you ran the script? If you didn't then get root explorer from the market and see if you have the folder. It should be in the \system\etc folder. When I ran it I had no issues and followed the instructions that were on the page. Dumb question, did you reboot your phone once you ran this? If you got a error then you could try pm Zep and see if he has ideas that might help.
cowsgo said:
whyzee
did you get an error when you ran the script? If you didn't then get root explorer from the market and see if you have the folder. It should be in the \system\etc folder. When I ran it I had no issues and followed the instructions that were on the page. Dumb question, did you reboot your phone once you ran this? If you got a error then you could try pm Zep and see if he has ideas that might help.
Click to expand...
Click to collapse
The script you are executing is not meant for our device. Its trying to mount system partition as mtd type, while we need emmc partition type. Also, our device does not have moto-boot-mode file which this script is trying to replace.
So my suggestions are :
If you are using MIUI or CM, then they already support init.d scripts. (I guess)
Or
If you are using stock or andro - id then just copy following code in post boot.sh (something like that) found in /system/etc/, at the end of file.
Code:
for BOOT in "/system/etc/init.d/"*; do
.$BOOT
done
P.S. Note that you have enabled executable permission for all of your scripts placed in /system/etc/init.d
Sent from my CSL-MI410 using XDA App
Thanks for the replies guys, I've jumped to MIUI 1.10 now and as Napstar said it natively supports init.t...
whyzee said:
Thanks for the replies guys, I've jumped to MIUI 1.10 now and as Napstar said it natively supports init.t...
Click to expand...
Click to collapse
hi
correct me if im wrong. To my knowledge u need init.d to use apps2sd so u can put ur apps on ur SD and now since our phone has around 1GB phone storage which i feel is more than enough to install all the apps u need I dont see a reason why we need the init.d
haree said:
hi
correct me if im wrong. To my knowledge u need init.d to use apps2sd so u can put ur apps on ur SD and now since our phone has around 1GB phone storage which i feel is more than enough to install all the apps u need I dont see a reason why we need the init.d
Click to expand...
Click to collapse
init.d is a folder on /system/etc folder which runs whatever scripts you put in it during boot.....
Related
Hi all,
I installed the SuperHero V3 Mas in my G2 (magic 32b) and it run so good and faster than all of others roms that I have tried. The problem that is the wifi cant turn on (it's normal this rom is made for G1).
Someone can help me to solve this problem and make this rom able to all G2 users.
The trick is to get and push the working wlan.ko (I think its in the sperhero 3 thread already) now why don't you tell me the trick you did to make this the fastest so I can try it
try pulling the wlan.ko file from a magic rom and pushing it through adb to /system/lib/modules, and im guessing its the fastest because he might have the magic that has the 288mb ram instead of 192, so virtually identical to the hero.
thank you for your response, I will try this right now
Thas is not work
failed to copy 'wlan.ko' to '/system/lib/modules/wlan.ko': Read-only file system
I tried to change file access using chmod and I go this message:
failed to copy 'wlan.ko' to '/system/lib/modules/wlan.ko': Read-only file system
please help
Ps: adbd is already running as root
co2gaz said:
Thas is not work
failed to copy 'wlan.ko' to '/system/lib/modules/wlan.ko': Read-only file system
I tried to change file access using chmod and I go this message:
failed to copy 'wlan.ko' to '/system/lib/modules/wlan.ko': Read-only file system
please help
Ps: adbd is already running as root
Click to expand...
Click to collapse
Try "adb remount" to mount /system as writeable.
Thank you for this information.
I tried it. the copy work OK, but the wifi problem steel here
I should have been more clear because pulling the file from any Rom isn't how you go about it. It has to match the kernel you are on and often even be further modified to the build. I think I heard either the wlan from superhero2 or the one from an earlier jachero worked. I just forget what one. Give me some time ill upload it. I had fixed and re-released this build.
Edit: Wlan.ko attatched. Belongs in system/lib/modiules
I thank you so math for your help,
I putted the file in my phone and i restart it, but wifi steel not work
Hi, I tried with JCAHero and it's same, very great rom, run so good on my magic G2, but the wifi not work
co2gaz said:
I thank you so math for your help,
I putted the file in my phone and i restart it, but wifi steel not work
Click to expand...
Click to collapse
Use the one I posted in this thread. I edited the post above ya. It should work then.
Thank you, I putted the new wlan.ko on my phone. now it seems better but it not work, now when I want to start wifi it show wifi is turning on during 4 or 5 sec, after that it show unable to start wifi.
if it was some link to explain how I can modify wlan.ko, maybe I can do some things (I'm java developer and I think it's native kernel 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
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.
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.
This is Quarx's custom kernel for most 2.1 ROMs.
It allows your phone to:
WiFi/USB Tether
Be overclocked (w/ SetCPU)
Also, I have enabled adb root (Which lets you have root shell in adb, remount the system partition with read/write access (adb remount) and also adb push is now used as root, so you can push files to the system directory with no problem)
It also updates/installs Superuser and Busybox when installed.
To install this:
Just flash it via recovery (versions 2.5.1.8 -> 3.x.x.x)
Download:
Download from my Dropbox
ZIP File, 4.8MB
Any questions? Ask below.
Jack
Does it work on cm7/sense?
Sent from my GT540 using XDA Premium App
LinxAndroid said:
Does it work on cm7/sense?
Sent from my GT540 using XDA Premium App
Click to expand...
Click to collapse
No, this kernel is for the 2.1 roms only. CM7 and Sense have adb remount/push/rootshell enabled by default.
This is very old kernel... not work corectly on V20C
patryk95juve said:
This is very old kernel... not work corectly on V20C
Click to expand...
Click to collapse
This worked fine on v20c for me, also, this is no-different than the pcfighter (i think thats what it is called) kernel.
Jack
JackG256 said:
This worked fine on v20c for me, also, this is no-different than the pcfighter (i think thats what it is called) kernel.
Jack
Click to expand...
Click to collapse
Does anyone think this would work with SwiftSense? I think imma try this , even if it *shouldn't* work , you never know unless you try #
#jamie
p.s. sorry if I confuse anyone with my language LOL
Well... it's 2.1 rom and I don't know is it gonna work. but even if we could start it up, many things wont work...
I'm sorry for my English, but I don't know how to express myself
max1919 said:
Well... it's 2.1 rom and I don't know is it gonna work. but even if we could start it up, many things wont work...
I'm sorry for my English, but I don't know how to express myself
Click to expand...
Click to collapse
What do you mean by "many things won't work" this kernel is based off LG's official 2.1 kernel, so everything works.
EDIT: Sorry, I didn't read the post before yours, I thought you said that this kernel wouldn't have everything working on 2.1-.- I think I should read everything first.
Jack
Jamielawther said:
Does anyone think this would work with SwiftSense? I think imma try this , even if it *shouldn't* work , you never know unless you try #
#jamie
p.s. sorry if I confuse anyone with my language LOL
Click to expand...
Click to collapse
I tried this kernel with my 2.1 hero port, but it wont boot, and even with the SwiftDroid 1.8 kernel, I still cant get it to boot. I think it could be something in the lib folder. I just want to get it working.
Jack
Link died!
JackG256 said:
I tried this kernel with my 2.1 hero port, but it wont boot, and even with the SwiftDroid 1.8 kernel, I still cant get it to boot. I think it could be something in the lib folder. I just want to get it working.
Jack
Click to expand...
Click to collapse
When your phone boots up, connect it to the computer, open cmd, navigate to the folder: androidsdk/tools and type ddms.bat. This will open a nice little screen where you can see what's happening with your phone. If your phone doesn't boot, you'll see the errors(marked in red) causing the phone not to boot.
vqt907 said:
Link died!
Click to expand...
Click to collapse
Here you go!
Anyone know where I can get black quarx 2.1 recovery file.
The one with new kernel and jit.
I can't find it anyware and also is quarx black the best 2.1 rom.
Sent from my GT540 using Tapatalk
thugimmortal said:
Anyone know where I can get black quarx 2.1 recovery file.
The one with new kernel and jit.
I can't find it anyware and also is quarx black the best 2.1 rom.
Sent from my GT540 using Tapatalk
Click to expand...
Click to collapse
Do you want me to make you one? Give me around 45 mins because my internet is very slow lol. I'll see if I can get ADB Remount to work too. Adding adbd root to init.rc/init.swift.rc should get it to work.
Here you go: http://www.multiupload.com/5B6LZW68S1
Quarx Black w/ Quarx Custom Kernel 0.3.1 and JIT.
I have also:
Updated Superuser app & binary (to 2.3.6.3 app/2.3.2-efgh binary)
Updated Busybox (to v1.19)
Added /system/etc/init.d script support (Also included scripts that auto zipalign, put dalvik-cache on cache partition instead of data, so more space for apps Thanks to mmxtrem for the scripts.)
Added dalvik.vm.execution-mode=int:jit to build.prop (as I think JIT won't work without it, not sure, just added it for reassurance )
Couldn't get adb root to work, so I added sysro/sysrw instead, so if you need to quickly mount system partition in adb shell with read/write use 'sysrw' if you want read only, then use 'sysro'
Thanks dude
Using it now but cant set swap or see my ext partition
Sent from my GT540 using Tapatalk
thugimmortal said:
Thanks dude
Using it now but cant set swap or see my ext partition
Sent from my GT540 using Tapatalk
Click to expand...
Click to collapse
Try removing /system/etc/init.d/0*mountsd using Root Explorer
effortless. said:
Try removing /system/etc/init.d/0*mountsd using Root Explorer
Click to expand...
Click to collapse
Removed but still cant set swap or access sd-ext
Swapper 2 wont work and swapper wont set because no visible partition . Even though i have ext 2
Sent from my GT540 using Tapatalk