[Q] init.d script - Galaxy Note II Q&A, Help & Troubleshooting

Guys I've got a problem...I created init.d script using notepad++ and after I transferred it to my phone it got renamed to *nameofthefile with a suffix null. I couldnt change the permission as there was no such option. I transferred it using bluetooth...even usb didnt work
I could however create the script using root browser and set the permission.What could be the problem...
Sent from my GT-N7100 using Tapatalk 2

Anyone ?
Sent from my GT-N7100 using Tapatalk 2

Sorry I don't quite understand your issue. You mentioned "I could however create the script using root browser and set the permission". So what problem are you trying to resolve? Or do you mean you are trying to remove "*nameofthefile with a suffix null"?

Related

[MISC] tun.ko for VPN

here is a tun.ko for VPN. Build by scotty2
worksforme
where does this need to be pushed
and exactly does it do lol
Ah, sorry, it can be stored anywhere where it persists reboot.
You need root to insmod it though and right now this needs to be done manually.
Yep, I'm no expert on the inner workings of linux/android, but. I installed VPN Connections v0.99 from here. Then I used the tun.ko from above. I don't know that it'll be persistent, but I'll set up a script in ghost script to move it from my sdcard to /system/lib/modules/ if I need to reboot.
It absolutely works for me.
Thanks for posting it.
smasraum said:
Yep, I'm no expert on the inner workings of linux/android, but. I installed VPN Connections v0.99 from here. Then I used the tun.ko from above. I don't know that it'll be persistent, but I'll set up a script in ghost script to move it from my sdcard to /system/lib/modules/ if I need to reboot.
It absolutely works for me.
Thanks for posting it.
Click to expand...
Click to collapse
Putting it int that dir will not survive a reboot. I put it in /data/local/modules (I created that dir). I am also using the one click root on boot (so it's automatic) and have a script that insmods it. The script must be saved to /data/local/visionary.sh and chmod 755 (at least 744).
#!/bin/sh
insmod /data/local/modules/tun.ko​
mthode said:
Putting it int that dir will not survive a reboot. I put it in /data/local/modules (I created that dir). I am also using the one click root on boot (so it's automatic) and have a script that insmods it. The script must be saved to /data/local/visionary.sh and chmod 755 (at least 744).
#!/bin/sh
insmod /data/local/modules/tun.ko​
Click to expand...
Click to collapse
Yes, you are correct, it doesn't survive a boot. I know just enough to be dangerous, so I created a script in gscript to replace it after a reboot. I looked up the insmod command, it looks like that is a MUCH better option.
Thanks tons
Hi Android Gurus,
I am not a pro in android nor in scripting, I installed VPN Connections v0.99 and followed the mentioned instruction, so now I have Astro file manager installed and I downloaded the tun.ko for VPN. Build by scotty2 and it is on my SD card, don't laugh at me what next?
thanks in advance
John
Beheit said:
Hi Android Gurus,
I am not a pro in android nor in scripting, I installed VPN Connections v0.99 and followed the mentioned instruction, so now I have Astro file manager installed and I downloaded the tun.ko for VPN. Build by scotty2 and it is on my SD card, don't laugh at me what next?
thanks in advance
John
Click to expand...
Click to collapse
Do you have root? You have to have root to be able to get this up and running.
It sounds like this is all that's left.
mthode said:
I put it in /data/local/modules (I created that dir). I am also using the one click root on boot (so it's automatic) and have a script that insmods it. The script must be saved to /data/local/visionary.sh and chmod 755 (at least 744).
#!/bin/sh
insmod /data/local/modules/tun.ko​
Click to expand...
Click to collapse
To me, the easiest way to put the file in that location is with adb.
Then you'll need to go to the vpn gui and setup a connection. For that you'll need the vpn group name and password and your username and password.
where shall I put the file tun.ko ? in the root or should I create a directory like /data/local/modules and put it there?
Beheit said:
where shall I put the file tun.ko ? in the root or should I create a directory like /data/local/modules and put it there?
Click to expand...
Click to collapse
I created that directory and put the module in there
Any one been able to get the openvpn app to work on their G2?
Sent from my T-Mobile G2 using XDA App
thanks for the file. how did you compile it? seems like it doesn't work for the new ota-ed phone, so i'm assuming it needs to be re-compiled correct?
thanks,
Alan
What does this vpn app do? Not experienced with vpn what so ever. Just wondering if I would find it of use. Thx. Sorry for the noob question.
Sent from my T-Mobile G2 using XDA App
wayde187 said:
What does this vpn app do? Not experienced with vpn what so ever. Just wondering if I would find it of use. Thx. Sorry for the noob question.
Sent from my T-Mobile G2 using XDA App
Click to expand...
Click to collapse
it's mainly used to connect back into your corporate network or school.
Anyone able to find or compile one for the new outage kernel?
Sent from my T-Mobile G2 using XDA App
Here is a tun.ko module build off the vision-2.6.32-g814e0a1 source for the 2.6.32.17-g9ab3677 kernel.
Thank you. Insmod's great, now I just wish I could get the vpn to work. :-(
Sent from my T-Mobile G2 using XDA App
The trick is you might need to append your domain to it. Try menu -- flag. Type in "--domain (domain you're on)" without the "s
Sent from my T-Mobile G2 using XDA App
Thanks svends I'll give that a shot when I get near a computer
Sent from my T-Mobile G2 using XDA App
So using this I can connect to my Penn State WiFi, and then connect to the Cisco VPN they use? Normally I can't use my phone on WiFi.. on laptop I connect using Cisco's client.

[Q] Can't save file after editing using Root Explorer

I used root explorer to edit a system file, then save & exit. But the file reverts back to its original. Using root explorer, I mounted the system with Read & write access and I was able to cut and paste the files but can't save file after editing. I googled and saw few people had the same problem but could not find a solution for it.
Any help would be appreciated.
Fix permissions and try again.
Sent from my SGH-T989 using Tapatalk
mikeyinid said:
Fix permissions and try again.
Sent from my SGH-T989 using Tapatalk
Click to expand...
Click to collapse
Thank you for your response. Just tried but still not work.
Are u trying to change your screen density? If so it's specific rom related. Try using a different rom or lcd density from the market. Or lcd resolution. If that's not what your doing then disregard this post lol.
Sent from my Galaxy S2 Using the XDA premium app.
also make sure in RE you enabled the R/W as it defaults to R/O
AllGamer said:
also make sure in RE you enabled the R/W as it defaults to R/O
Click to expand...
Click to collapse
Still no luck. I knew the system mount with R/W access because I was able to cut and paste files, just can't save files though.
BTW thank you for moving my thread to the proper place.

[Q] can't set permissions or delete files!!!

hey guys i could use some help. i wanted to change permission on a script in my intd folder and it said process failed. then i tried to just delete the file and it said i couldn't. don't know what happened, rom is running fine so i don't know what caused this. thanks in advance...
edshawn911 said:
hey guys i could use some help. i wanted to change permission on a script in my intd folder and it said process failed. then i tried to just delete the file and it said i couldn't. don't know what happened, rom is running fine so i don't know what caused this. thanks in advance...
Click to expand...
Click to collapse
Have you set it to rw?
Sent from my SGH-T989 using xda premium
Try wiping data for the file app you're using, in superuser delete the file app from being remembered. Return to file app (should have to allow su) and try again.
Sent from my SGH-T989 using xda app-developers app
edshawn911 said:
hey guys i could use some help. i wanted to change permission on a script in my intd folder and it said process failed. then i tried to just delete the file and it said i couldn't. don't know what happened, rom is running fine so i don't know what caused this. thanks in advance...
Click to expand...
Click to collapse
init.d folder is located in /system/etc are you sure /system partition is mounted with su permissions? And that its mounted as read write? What are you using to change the permissions exactly? Id recommend a terminal emulator or adb.

[PROBLEM] move tweak to init.d

I m facing the folowing problem : I can't move anything to init.d and I can't change the files permissions
I m using mi explorer 3.0.4
Do someone have an idea to solve the problem?
Ps : I tried many differrent explorer but every of em faced the same problem
Sent from my LT15i using xda app-developers app
Kind of obvious question, but: are the read/write settings correct? Some users get confused with apks such as root explorer where it shows a button saying 'read only' whereas it's a toggle to change it.
I finaly understood my error I just didn t asked the root permission for my explorer --' but thanks for your answer
Sent from my LT15i using xda app-developers app

Cant down load to sd card.

It says can make a new directory. ..please help i csnt download any roms...
Sent from my SM-N910P using Tapatalk
Cant make a new directory. ......
Sent from my SM-N910P using Tapatalk
Downloads always go to the internal sd by default. This fixed it for me http://forum.xda-developers.com/showthread.php?t=2684384 . Post number 6 suggested an emulator to use and is what I went with.
you can use this apps... it works for me.. fix, grant su permission then reboot.
https://play.google.com/store/apps/details?id=jrummy.sdfix

Categories

Resources