[Q] location of etc/init.d - Galaxy S I9000 Q&A, Help & Troubleshooting

HI
I am running sok 4.7.8 on a Samsung i9000 and need to disable VSF. I know the SOK thread mentions to place a special script in the /etc/init.d directory but it is not available on my phone. I used a file browser with root access to search for it.
Any ideas?
PJ

Pj66 said:
HI
I am running sok 4.7.8 on a Samsung i9000 and need to disable VSF. I know the SOK thread mentions to place a special script in the /etc/init.d directory but it is not available on my phone. I used a file browser with root access to search for it.
Any ideas?
PJ
Click to expand...
Click to collapse
Sure there is a /ect, dl "root explorer" from the market.

ttf said:
Sure there is a /ect, dl "root explorer" from the market.
Click to expand...
Click to collapse
Thanks I do see the /etc folder but there is no init.d folder in it. Do i need to create this folder?

Pj66 said:
Thanks I do see the /etc folder but there is no init.d folder in it. Do i need to create this folder?
Click to expand...
Click to collapse
Weird, yes you can create it (chmod 777 of course)

ttf said:
Weird, yes you can create it (chmod 777 of course)
Click to expand...
Click to collapse
Great thanks for your help.

Related

How to put ringonte (.mp3) into phone memory?

As above. Anyone knows?
bryant_16 said:
As above. Anyone knows?
Click to expand...
Click to collapse
put it in the media>ringtone folder.
bryant_16 said:
As above. Anyone knows?
Click to expand...
Click to collapse
Ok... I'll bite. Ringdroid from the market. Any other answer will take some info.
As in, the ringroid will put the ringtones in the sd card memory not the phone memory, i tried copy paste over but fail.
To place them into the phone memory you will need to either copy them using the terminal or push them through adb.
using adb, place the file(s) in your tools folder
Code:
adb push filename.mp3 /system/media/audio/ringtones
In the terminal, if you place them in the root of your sdcard
Code:
cp /sdcard/filename.mp3 /system/media/audio/ringtones
I am not sure if you need to remount or not to push/copy into the folder or not.
It says read-only file system as the error.
jairomeo said:
To place them into the phone memory you will need to either copy them using the terminal or push them through adb.
using adb, place the file(s) in your tools folder
Code:
adb push filename.mp3 /system/media/audio/ringtones
Click to expand...
Click to collapse
Try:
Code:
adb remount
That should fix the "read only" problem.
i'm not using adb... I'm using the second method which is in the terminal.
Do yourself a favor and go get Root Explorer from the market. It lets you move any file to anywhere.
Move your files to /system/media/audio/ringtones and remember to check to see if the files that are there are .ogg or .mp3. If they are .ogg just rename your files after you move them.
What you mean I have to rename the files after i move them?
What's the exact application name? I tried searching on market but could not find any.
bryant_16 said:
What's the exact application name? I tried searching on market but could not find any.
Click to expand...
Click to collapse
I like SUFBS but ES (or estrong) file explorer is good also. SUFBS cost a buck or 2 but I think it is worth it. Either way your phone needs to be rooted for this. You do have root right?
Yeah, phone is rooted. I tried ES Strong Explorer but cannot work, it says something about permission or something like that..
bryant_16 said:
What you mean I have to rename the files after i move them?
Click to expand...
Click to collapse
I'm not sure if it's a "hero thing" but sometimes the file extensions in the ringtones folder are not .mp3. They are .ogg. If you look into the folder and see .ogg files just change the extension and you'll be all good.
As for the apps. Look for "Root Explorer". I believe there are both free and paid options. The paid one isn't very much $$ so, considering how much easier it makes things, give up the loot and support a dev.
I tried searching under market, but cant find it..
id use terminal with cmds, would be a tad faster and a bit more reliable, in my opinion, but as of searching on your behalf i have found root explorer a paid version and estrongs free version by searching "root" while in the market. estrongs sounds unstable. If your going to pay for a good file explorer get SU file manager&terminal. (and...SAA?ror)
How do I use terminals? I tried but that say permission thingy..
Did you mount the system?
OK dude. If you're rooted I assume you have somebody's recovery. Boot to recovery and go into console (Alt+x). Now do this.
<enter>
mount /system <enter> (maybe mount /system/media if just /system doesn't work)
mount /sdcard <enter>
cp /sdcard/yourfolder/yourringtone.mp3 /system/media/audio/ringtones <enter>
reboot
You should be good to go.
Can I do that in terminal? As in one of the application in my HTC Dream?

[Dev] Improve Internal SD card speed

http://forum.xda-developers.com/showthread.php?t=1023664
Using the same method there
by editing /sys/devices/virtual/bdi/179:0/read_ahead_kb to 4096 I seem to have imrpoved my internal SD card's speed. Only until reboot as i cant find /system/etc/init.d using root explorer.
However, can kennethpenn, Ririal and any other devs bake it into the rom?
+1 (please)
Correct me if I am wrong, but you should be able to create an init.d file in wordpad and put the script in there to run on boot. I did that for a memory tweak on my former Galaxy S.
Sent from my soon-to-be-hacked Bell Atrix.
GibMcFragger said:
Correct me if I am wrong, but you should be able to create an init.d file in wordpad and put the script in there to run on boot. I did that for a memory tweak on my former Galaxy S.
Sent from my soon-to-be-hacked Bell Atrix.
Click to expand...
Click to collapse
I'm hoping you are right!!
GibMcFragger said:
Correct me if I am wrong, but you should be able to create an init.d file in wordpad and put the script in there to run on boot. I did that for a memory tweak on my former Galaxy S.
Sent from my soon-to-be-hacked Bell Atrix.
Click to expand...
Click to collapse
I know it can... But there isnt an init.d folder in /system/etc/
(Noob question?) What are you guys use to read/edit these files (on phone)? I don't mean the ".rc" ones, but those with a page-and-badge icon in Root Explorer (example: "/init", not "/init.rc"). I'm not even sure on the file type... Thanks.
We'll see about this. I'm doubtful. But I'm adding it to my list of prospects.
kennethpenn said:
We'll see about this. I'm doubtful. But I'm adding it to my list of prospects.
Click to expand...
Click to collapse
It does show improvement in SD Tool.
However, I use my external SD for camera so gallery reads from it... so not sure if it has real world improvement...
Create a init.d folder in /system/etc and push this script there
But it won't work until you install the script or another is already installed in init.d folder
http://db.tt/18JjeOl direct link
cdesai said:
Create a init.d folder in /system/etc and push this script there
But it won't work until you install the script or another is already installed in init.d folder
http://db.tt/18JjeOl direct link
Click to expand...
Click to collapse
Do you know for sure it will be executed just by creating the folder? is the init.d folder supported?
One of the earlier versions of aroot added init.d support, however i am not sure if the later versions (gladiatrix root) does this (see this thread)
I used the aroot method when I reflashed 1.26 to do some tweaking and the init.d folder is in /system/etc/
Girgizzlemuf said:
One of the earlier versions of aroot added init.d support, however i am not sure if the later versions (gladiatrix root) does this (see this thread)
I used the aroot method when I reflashed 1.26 to do some tweaking and the init.d folder is in /system/etc/
Click to expand...
Click to collapse
The problem is I am on 4.1.57 gingerblur... And I am not sure if it has init.d support :S
tianqi said:
I know it can... But there isnt an init.d folder in /system/etc/
Click to expand...
Click to collapse
There is on mine..
Sent from my soon-to-be-hacked Bell Atrix.
My question is, will this work for the external sd card as well? I transfer most but not all of my less priority apps to my external sd card. The SD Card app that test the speed is not accurate, fyi.
I also tried the link previously and changed it to max kb but occasionally it is a hit or miss on the speed.
tianqi said:
The problem is I am on 4.1.57 gingerblur... And I am not sure if it has init.d support :S
Click to expand...
Click to collapse
Im pretty sure I flashed back to 4.1.26 to use the root method I mentioned before specifically so I could use 4.1.57 with init.d support. I did notice that the "prefered" root method doesnt make mention of init.d, but its fully working for me now
Sent from my MB860 using XDA App
What Motorola did was bake in the native linux install from the android-backend with the webtop system. Thus, the directory you're looking for is /osh/etc/init.d/
Code:
echo "$YOURLINE" >> /osh/etc/init.d/rc
Also anyone know which one to edit for the external sd? So we can improve both sd?
Request.... please pretty please..
I brought this up in the gladiatrix thread 2 days ago and was also not able to get it to work after reboot or on the external SD.
Would someone please create a CWM zip for this when it is completed?
It could be added to the wiki or the sticky's thread
tianqi said:
GibMcFragger said:
Correct me if I am wrong, but you should be able to create an init.d file in wordpad and put the script in there to run on boot. I did that for a memory tweak on my former Galaxy S.
Click to expand...
Click to collapse
I know it can... But there isnt an init.d folder in /system/etc/
Click to expand...
Click to collapse
Pulling stuff from memory, so I might be a bit off here and there.
The original root methods (SuperOneClick and aRoot) put a script in /system/etc/install-recovery (or something like that) which had one line in it which told it to execute every script in /system/etc/init.d. They also created the /system/etc/init.d directory and put a single script in there which remounted /system as rw.
But, the 4.1.57 update deleted the script, so most of you probably don't have it any longer (unless the re-root process put that script back?). In any case, I suspect that's the information you're looking for.
So 4.1.57 isnt capable of running init.d?

[ROOT] How to remove lock screen ads

both methods require a root explorer.
Method 1:
navigate to the system folder
find "App" folder
Change the name of "dtcp_apk.apk" to dtcp_apk.bat
Method 2:
Navigate to system folder
find "App" folder
change permissions of Dtcp_apk.apk to all blank
Hope this helped someone.
Credits to spunker88 for sharing this info.
the first method worked great for me
thanks
Dassen said:
both methods require a root explorer.
Method 1:
navigate to the system folder
find "App" folder
Change the name of "dtcp_apk.apk" to dtcp_apk.bat
Method 2:
Navigate to system folder
find "App" folder
change permissions of Dtcp_apk.apk to all blank
Hope this helped someone.
Credits to spunker88 for sharing this info.
Click to expand...
Click to collapse
I tried both without success.. What explorer are you using? I tried with ES and got an error "the operation failed".. and I couldnt change permissions neither
thanks for any help
Are you rooted?
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
blazeplacid said:
Are you rooted?
Click to expand...
Click to collapse
I supposed to. I rooted my device to install google play.. but I dont know if I continue been root.. I checked my permissions on system\app and I only have readable..
Could you explain me how to check if I am root, and if not, how to be root again to apply your process?
Thanks for your help
karacc said:
I supposed to. I rooted my device to install google play.. but I dont know if I continue been root.. I checked my permissions on system\app and I only have readable..
Could you explain me how to check if I am root, and if not, how to be root again to apply your process?
Thanks for your help
Click to expand...
Click to collapse
You go to the setting of ES,then at the bottom of setting menu, it has Root setting. Go there and checked all check boxes. If you can, that's mean your KF is rooted.
Sent from my KFTT using xda app-developers app
tried method 1 and it worked right away :good:
Worked
Method 1 worked for me.
Thanks.
Dassen said:
both methods require a root explorer.
Method 1:
navigate to the system folder
find "App" folder
Change the name of "dtcp_apk.apk" to dtcp_apk.bat
Method 2:
Navigate to system folder
find "App" folder
change permissions of Dtcp_apk.apk to all blank
Hope this helped someone.
Credits to spunker88 for sharing this info.
Click to expand...
Click to collapse
Worked for me, too. Was surprised about the beautiful wallpapers to see now everytime i turn the thingy on
Adding a Boot Animation
Thanks for this info. I used the 2nd method and it worked immediately. Are there Boot Animations for the KFHD? Or can Boot Animations from, say my LG ICS Spectrum work?
Dassen said:
both methods require a root explorer.
Method 1:
navigate to the system folder
find "App" folder
Change the name of "dtcp_apk.apk" to dtcp_apk.bat
Method 2:
Navigate to system folder
find "App" folder
change permissions of Dtcp_apk.apk to all blank
Hope this helped someone.
Credits to spunker88 for sharing this info.
Click to expand...
Click to collapse
Awesome, confirmed working on kindle fire 2 running 10.2.1
frieked said:
Awesome, confirmed working on kindle fire 2 running 10.2.1
Click to expand...
Click to collapse
Thanks a lot for this :highfive:
Confirmed works on KF 8.9, thanks OP! I renamed to dtcp_apk.ads
finally, those horrific ad screens are gone! thank you sir!
if you have adb available, you should be able to do this without a root explorer.
use one of the following codes:
adb shell
su
mount -o remount,rw /system
mv /system/app/dtcp_apk.apk /system/app/dtcp_apk.apk.bak
exit
exit
adb shell
su
mount -o remount,rw /system
chmod 000 /system/app/dtcp_apk.apk
exit
exit
adb shell
su
mount -o remount,rw /system
rm /system/app/dtcp_apk.apk
exit
exit
The first one will rename it. The second one will clear its permissions. The third one will remove it completely.
It should go without saying, but its not my fault if you screw something up, or if it is necessary to have this apk in your system, and you use the third method. I haven't tried it, but it should work. I do know what the commands do.
Didn't also work for me with es file explorer the first time i've tried it, although i've enabled all root options.
Rebooting the device helped me, but it's also important to make sure that you give the explorer the permission to change system data
Sent from my KFTT using XDA Premium HD app
Method 1 working
I tried it just out of curiosity and it worked right away. Using ES explorer, BTW.
Thanks!
Dassen said:
both methods require a root explorer.
Method 1:
navigate to the system folder
find "App" folder
Change the name of "dtcp_apk.apk" to dtcp_apk.bat
Method 2:
Navigate to system folder
find "App" folder
change permissions of Dtcp_apk.apk to all blank
Hope this helped someone.
Credits to spunker88 for sharing this info.
Click to expand...
Click to collapse
Thank you so much!!! Method 1 worked great. Also renamed the odex file to .odex.bat through root explorer. Note, in root explorer you will probably have to push the little 'Mount R/W" button once you get into system/app
Sweet. $15 saved.
Thanks for the quick 'how to'.

[Q] MTP Application 1.0 APK

Hey guys! So I successfully managed to root my Galaxy S Advance running stock 4.1.2 Jellybean (Italian firmware I9070XXLQL) and installed SuperSU and TitaniumBackup. I was uninstalling unnecessary bloatware using a couple of lists made by other forum members. One of the apps I deleted was called MTP Application 1.0 (I think?) because it is only required for connecting to a computer via Kies and I don't use that anymore (Android File Transfer all the way!) But now my phone does not get recognised by AFT at all. Unfortunately I'm a klutz and forgot to make a backup of the application before deleting so now it cannot be recovered. Can someone possibly provide me with the APK? It is a system application and I have granted root access to ES File Explorer. Just need the application itself. Thanks!
Edit: I've already searched online and can't find the APK anywhere on the Internet.
Here you go. I attached the file. I use xxlql deodexed and pulled this from the preload partition. I think you must put this apk in the app folder on preload partition and give it permissions. Good Luck.
sasank360 said:
Here you go. I attached the file. I use xxlql deodexed and pulled this from the preload partition. I think you must put this apk in the app folder on preload partition and give it permissions. Good Luck.
Click to expand...
Click to collapse
Hey thanks! I downloaded the APK, moved it to the appropriate folder and changed the permissions. Now my phone is getting recognised by AFT. Thanks once again for the speedy response!
jeremymichaeldlima said:
Hey thanks! I downloaded the APK, moved it to the appropriate folder and changed the permissions. Now my phone is getting recognised by AFT. Thanks once again for the speedy response!
Click to expand...
Click to collapse
Glad to know I was of some help. Good luck.
sasank360 said:
Here you go. I attached the file. I use xxlql deodexed and pulled this from the preload partition. I think you must put this apk in the app folder on preload partition and give it permissions. Good Luck.
Click to expand...
Click to collapse
Hi. Can you give instructions on how to install the APK? Like which folder to put it in and how to give permission?
Thanks so much!
ladyxylene said:
Hi. Can you give instructions on how to install the APK? Like which folder to put it in and how to give permission?
Thanks so much!
Click to expand...
Click to collapse
You must be rooted. Once you are done rooting your device you must install root explorer or es file explorer. Then grant root permissions to that app. Now move the apk file to preload/app folder in root of the device. Then choose properties of the apk file and set permissions. You can youtube the procedure. Good luck.
sasank360 said:
You must be rooted. Once you are done rooting your device you must install root explorer or es file explorer. Then grant root permissions to that app. Now move the apk file to preload/app folder in root of the device. Then choose properties of the apk file and set permissions. You can youtube the procedure. Good luck.
Click to expand...
Click to collapse
Will try that. Thank you
Mtp application
Set permission (rw r r ) or what?
#mtp application.apk

[Q] Problem writing on /sys

Hi, I'm s-off, rooted, busy box installed and custom kernel with wpmod. I have to write in sys to overwrite the awb_cal file in /sys/android_camera_awb_cal, but i can't write in sys. I can't even create a new folder. Can i push the file in sys using fast boot and adb? I had the idea to change the file in custom rom zip, but the folder sys is not present in there..Please help me!
Root explorer
Mount RW
yatindroid said:
Root explorer
Mount RW
Click to expand...
Click to collapse
Tried with a lot of file manager, does not work..
RyuzakiTA said:
Tried with a lot of file manager, does not work..
Click to expand...
Click to collapse
try TWRP copy paste and then chmod in advance setting
yatindroid said:
try TWRP copy paste and then chmod in advance setting
Click to expand...
Click to collapse
It still fails..
RyuzakiTA said:
It still fails..
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2230341
I'm already on a kernel with wpmod..

Categories

Resources