this is to people having issues with wifi tethering for source based rom...i'll list what is needed & what needs to be done in order to have a working wifi tethering & ive tested it 150% with i9100 & other devices to ensure this trick works.
What is needed is:
Gscript lite from play market.
What needs to be done is quite simple if you follow it step by step..
Once gscript is downloaded you'll have to open the app up once and just close it there-after and reboot your phone right after that. Once you download the file below you'll need to move that to folder that'll be created after reboot which is called gscript. Move the .sh file there and then unplug device from computer. Open up gscript and press the menu button on our phone. You'll see an option to add script click that. Once done that then it'll give you option for adding a script click on load file and when you press that you'll see tetherfix.sh file in the list click that.that should bring you back to screen with file loaded and all you do is press save once done it'll show up in gscript lite list. All set and done then what you do is create a desktop shortcut to your tethering setting and this script via w/e launcher and adding shortcut to these files. So anytime you need to start up wifi tethering just run that and you're good to go and im gonna thank this to the guys in s3. Since i was there i guess i learned alot from them too. Thanks guys. And if this method works out for you all you have to do is press thanks.
I just updated my ROM last night to AOKP 4.2.2 [2.19.13]
I'm having this exact problem with Wifi Tether, it will not work for the life of me!
I've been messing around with it for the last 2 hours and cannot get it to connect to my Macbook Pro. I previously had an AOKP 2.1 ROM that I've been using for close to a year now. Wifi tether worked fine on this ROM and I used it all the time.
I was hesitant to update my ROM for this very reason. It always seems Wifi Tether has a problem no matter what ROM I update to.
Your instructions seem a little complicated to me, I'm a novice in the ROM world and I'm just trying to fix this problem.
Any idea as to what is causing Wifi Tether not to work with my laptop?
I cannot figure out why this always happens.
Any help would be appreciated.
Thanks-
MVLJR said:
I just updated my ROM last night to AOKP 4.2.2 [2.19.13]
I'm having this exact problem with Wifi Tether, it will not work for the life of me!
I've been messing around with it for the last 2 hours and cannot get it to connect to my Macbook Pro. I previously had an AOKP 2.1 ROM that I've been using for close to a year now. Wifi tether worked fine on this ROM and I used it all the time.
I was hesitant to update my ROM for this very reason. It always seems Wifi Tether has a problem no matter what ROM I update to.
Your instructions seem a little complicated to me, I'm a novice in the ROM world and I'm just trying to fix this problem.
Any idea as to what is causing Wifi Tether not to work with my laptop?
I cannot figure out why this always happens.
Any help would be appreciated.
Thanks-
Click to expand...
Click to collapse
I flashed this is as well. But it wasn't working at first. And by this I mean creating a new connection to said WIFIHS. Wasn't working. So I just instead edited an already set WIFI option I had and it worked.
doodjay said:
I flashed this is as well. But it wasn't working at first. And by this I mean creating a new connection to said WIFIHS. Wasn't working. So I just instead edited an already set WIFI option I had and it worked.
Click to expand...
Click to collapse
I can't get it to work at all.
I'm going to wait until later and see if the OP updates the ROM, he said he was going to after my post earlier.
wali01x said:
this is to people having issues with wifi tethering for source based rom...i'll list what is needed & what needs to be done in order to have a working wifi tethering & ive tested it 150% with i9100 & other devices to ensure this trick works.
What is needed is:
Gscript lite from play market.
What needs to be done is quite simple if you follow it step by step..
Once gscript is downloaded you'll have to open the app up once and just close it there-after and reboot your phone right after that. Once you download the file below you'll need to move that to folder that'll be created after reboot which is called gscript. Move the .sh file there and then unplug device from computer. Open up gscript and press the menu button on our phone. You'll see an option to add script click that. Once done that then it'll give you option for adding a script click on load file and when you press that you'll see tetherfix.sh file in the list click that.that should bring you back to screen with file loaded and all you do is press save once done it'll show up in gscript lite list. All set and done then what you do is create a desktop shortcut to your tethering setting and this script via w/e launcher and adding shortcut to these files. So anytime you need to start up wifi tethering just run that and you're good to go and im gonna thank this to the guys in s3. Since i was there i guess i learned alot from them too. Thanks guys. And if this method works out for you all you have to do is press thanks.
Click to expand...
Click to collapse
Can you please elaborate on this part?
I've gotten to here, but now I'm stuck. I don't know how to create a shortcut
your trick solved my tethering problems
Hello,
your script solved my problems of wifi tethering with my i9100 and cm10.1 nightlies after 2013-02-16 til 2013-03-14.
In this post of cm10.1 i9100 official thread i've descirbed my problems.
Running in terminal emulator your script before activating the wifi tethering solve the problem.
I've also followed the gscript way without any problem and now i'm just to click the scipt icon on my desktop in order to make tethering work.
Is there any way in order to run the script during the boot process?
Thank you again.
Andy
I think what he's saying is to run this script with GScript just before you start up tethering.
Here's the contents of the script if anyone is interested:
Code:
iptables -A bw_FORWARD -i !lo+
iptables -A natctrl_FORWARD -j RETURN -i rmnet+ -o wlan0 -m state --state RELATED,ESTABLISHED
iptables -A natctrl_FORWARD -j DROP -i wlan0 -o rmnet+ -m state --state INVALID
iptables -A natctrl_FORWARD -j RETURN -i wlan0 -o rmnet+
iptables -A natctrl_FORWARD -j DROP
iptables -A natctrl_nat_POSTROUTING -t nat -o rmnet+ -j MASQUERADE
traketto said:
Hello,
your script solved my problems of wifi tethering with my i9100 and cm10.1 nightlies after 2013-02-16 til 2013-03-14.
In this post of cm10.1 i9100 official thread i've descirbed my problems.
Running in terminal emulator your script before activating the wifi tethering solve the problem.
I've also followed the gscript way without any problem and now i'm just to click the scipt icon on my desktop in order to make tethering work.
Is there any way in order to run the script during the boot process?
Thank you again.
Andy
Click to expand...
Click to collapse
Probably just need to add that to an init.d script.
car vs driver said:
I think what he's saying is to run this script with GScript just before you start up tethering.
Here's the contents of the script if anyone is interested:
Code:
iptables -A bw_FORWARD -i !lo+
iptables -A natctrl_FORWARD -j RETURN -i rmnet+ -o wlan0 -m state --state RELATED,ESTABLISHED
iptables -A natctrl_FORWARD -j DROP -i wlan0 -o rmnet+ -m state --state INVALID
iptables -A natctrl_FORWARD -j RETURN -i wlan0 -o rmnet+
iptables -A natctrl_FORWARD -j DROP
iptables -A natctrl_nat_POSTROUTING -t nat -o rmnet+ -j MASQUERADE
Probably just need to add that to an init.d script.
Click to expand...
Click to collapse
CvD for the win. Just copied the script text and added it to init.d as 85wifi tether. I'm tehtered to my phone as I'm sending this. Toyes AOKP 3-14 with your 1.07c+ kernel. If you add it to the init.d for your kernel I bet people will be stoked.
So...I just copied the text in a file and added it to system/etc/init.d. I've used this on CM 10.1 and other 4.2.2 ROMs and have had no problems.
However, this is supposed to work on 4.1.2 ROMs such as Embryo...but for some reason it isn['t working for me. I must be missing something...anyone have any ideas?
THanks
Hi.
I'm running CM10.1 20130420 on a SGS II GT-I9100.
I have copy this text in a file named 85wifitether and stored it on system/etc/init.d
I have gave the same rights (owner : root, group : shell, permission rwxr-xr-x)
I have reboot my phone but I can get tethering work with my Asus TF300T as client
When I run 85wifitether script in console after being root (su root), I have this messages :
iptables -v give me : v1.4.11.1
Is there something wrong with my phone ?
Thanks.
mikebzh44 said:
Hi.
I'm running CM10.1 20130420 on a SGS II GT-I9100.
Is there something wrong with my phone ?
Thanks.
Click to expand...
Click to collapse
Wrong forum dude
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Sorry but as Traketo was running CM 10.1 on GT-I9100 :
http://forum.xda-developers.com/showpost.php?p=39132404&postcount=6
As well as xxboarderxx :
http://forum.xda-developers.com/showpost.php?p=39865491&postcount=9
I was expecting some help from them
I will ask in CM10.1 forum
Thanks.
This does not work on P.A.C rom 22.1.0 built by me on 4/24
wali01x said:
this is to people having issues with wifi tethering for source based rom...i'll list what is needed & what needs to be done in order to have a working wifi tethering & ive tested it 150% with i9100 & other devices to ensure this trick works.
What is needed is:
Gscript lite from play market.
What needs to be done is quite simple if you follow it step by step..
Once gscript is downloaded you'll have to open the app up once and just close it there-after and reboot your phone right after that. Once you download the file below you'll need to move that to folder that'll be created after reboot which is called gscript. Move the .sh file there and then unplug device from computer. Open up gscript and press the menu button on our phone. You'll see an option to add script click that. Once done that then it'll give you option for adding a script click on load file and when you press that you'll see tetherfix.sh file in the list click that.that should bring you back to screen with file loaded and all you do is press save once done it'll show up in gscript lite list. All set and done then what you do is create a desktop shortcut to your tethering setting and this script via w/e launcher and adding shortcut to these files. So anytime you need to start up wifi tethering just run that and you're good to go and im gonna thank this to the guys in s3. Since i was there i guess i learned alot from them too. Thanks guys. And if this method works out for you all you have to do is press thanks.
Click to expand...
Click to collapse
It's work fine thanks but I have a problem with GScript that keeps crashing.
I have already tried cache and dalvik wipes, do you have any suggestion?
Inviato dal mio GT-I9100 con Tapatalk 2
J. Silver said:
It's work fine thanks but I have a problem with GScript that keeps crashing.
I have already tried cache and dalvik wipes, do you have any suggestion?
Inviato dal mio GT-I9100 con Tapatalk 2
Click to expand...
Click to collapse
I have installed this apps :
http://www.thisiscolossal.com/2013/05/manon-wethlys-instagram-photos-of-airborne-beverages/
And it's work with my tablet and my laptop
mikebzh44 said:
I have installed this apps :
And it's work with my tablet and my laptop
Click to expand...
Click to collapse
???
Inviato dal mio GT-I9100 con Tapatalk 2
mikebzh44 said:
Hi.
I'm running CM10.1 20130420 on a SGS II GT-I9100.
I have copy this text in a file named 85wifitether and stored it on system/etc/init.d
I have gave the same rights (owner : root, group : shell, permission rwxr-xr-x)
I have reboot my phone but I can get tethering work with my Asus TF300T as client
When I run 85wifitether script in console after being root (su root), I have this messages :
iptables -v give me : v1.4.11.1
Is there something wrong with my phone ?
Thanks.
Click to expand...
Click to collapse
All you have to do is load the script directly from the gscript folder (/sdcard/gscript), and then run the script before run the tethering.
I think that the error is cause by an error in copy/paste the script in gscript in wrong way.
J. Silver said:
???
Inviato dal mio GT-I9100 con Tapatalk 2
Click to expand...
Click to collapse
Sorry, wrong link.
I have installed this app :
https://code.google.com/p/android-wifi-tether/issues/detail?id=1661#c109
massimilianonball said:
All you have to do is load the script directly from the gscript folder (/sdcard/gscript), and then run the script before run the tethering.
I think that the error is cause by an error in copy/paste the script in gscript in wrong way.
Click to expand...
Click to collapse
As GScript app need to geolocalize me and need network access, I don't installed it. So I thought that running the script by placing it in init.rd folder could work, as other users in this thread.
But now, I'm using this app above and everything is OK.
mikebzh44 said:
Sorry, wrong link.
I have installed this app :
....
As GScript app need to geolocalize me and need network access, I don't installed it. So I thought that running the script by placing it in init.rd folder could work, as other users in this thread.
But now, I'm using this app above and everything is OK.
Click to expand...
Click to collapse
Do you have another link, this one doesn't work.
Inviato dal mio GT-I9100 con Tapatalk 2
No but I will upload the apk this evening.
Envoyé depuis mon GT-I9100 avec Tapatalk
Related
hi everyone
I present to you:
Darkness in the dark hours
this is a pack of:
- a script I made
- Gscript lite
- Screen filter(optional, but recommended)
I strongly recommend to you to read the whole post and only then apply my script!
A lot of users tried to find a way to do this, so I polished my script I used for Eternity to make it universal(hopefully )
this script made to work with rooted 2.1+ firmwares and busybox properly installed.
1. Install Gscript lite
2. To make this script revertable on the newer brand of kernels, you will need to add one line to hw_config.sh (because I just don't trust init.d scripts)
run this from adb or any terminal emulator from phone as superuser
Code:
echo "\n\n\nrm /data/noled_tmp_reverse.prop" >> /system/etc/hw_config.sh
3. in Gscript choose Add a script and name it whatever you want(e.g. NOLed) and paste these lines in it
Code:
#! /system/bin/busybox sh
# "turn off keyboard and notification LEDs" for ANY android firmware
# this script needs su access
# made by Adolf1994
# thanks for the help diimaan
# maybe final version - revertable
# requires hw_config.sh modification to be properly revertable
DIR=$(cd /sys && find | grep brightness | cut -c 3- | cut -d : -f 1 | head -n 1)
LED=/sys/$DIR
LED1=$LED:rgb1:red/brightness
LED2=$LED:rgb1:green/brightness
LED3=$LED:rgb1:blue/brightness
LED4=$LED:sled/brightness
if [ -s /data/noled_tmp_reverse.prop ]; then
chmod 00644 $LED1
chmod 00644 $LED2
chmod 00644 $LED3
chmod 00644 $LED4
rm /data/noled_tmp_reverse.prop
else
echo 0 > $LED1
echo 0 > $LED2
echo 0 > $LED3
echo 0 > $LED4
chmod 00444 $LED1
chmod 00444 $LED2
chmod 00444 $LED3
chmod 00444 $LED4
echo 1 > /data/noled_tmp_reverse.prop
fi
exit
4. tap on "Needs SU" then save
5. run the script and enjoy surfing at night without the annoying hw leds
(most likely you WILL get stderrs on 2.2+, but it's normal)
Note: if you get EMPTY stderrs, that's no problem. BUT if something is shown next to the stderr, like permission denied, then please report
optional. install Screen filter from market: https://market.android.com/details?id=com.haxor&feature=search_result
This is only for 2.1 and/or 2.2. On 2.3 I experienced a problem that's I couldn't press install in package installer activity. I nearly reinstalled the whole thing. You've been warned!
Night is over? Just run the script again and wait till the LEDs light up.
If You Don't Like LEDs At All, This Pretty Line Will Disable Them At Startup
http://forum.xda-developers.com/showpost.php?p=17514012&postcount=27
Q: Why modifying hw_config.sh?
A: Because if you reboot your phone while the leds are off, there will remain a file that normally indicates how the script should act upon running it. That one particular file should not present after boot.
Q: I'm on Wolfbreak's ROM. Won't that mess tweaks up?
A: In no way. Impossible. Unless you didn't follow steps properly.
hope you like it
and don't forget to press thanks button
can I use script manager to run this at boot?
I think it'd be fine
the script didnt work for me i went to my dolphin browser copied text pasted it saved i run it it showed up stderr twice that's it?
shahkam said:
the script didnt work for me i went to my dolphin browser copied text pasted it saved i run it it showed up stderr twice that's it?
Click to expand...
Click to collapse
i cant paste the text corectly ffs i think thats the problem can you upload the script as ".sh" so i can load it whit gscript?
shahkam said:
the script didnt work for me i went to my dolphin browser copied text pasted it saved i run it it showed up stderr twice that's it?
Click to expand...
Click to collapse
from gscript I get a bunch of stderrs, too. however, from a terminal emulator it runs fine, so no problem.
It's the most noticeable if the phone is on the charger, because you will see that the led suddenly switches off.
you can revert the script back with a simple reboot.
Sorry for being a noob, but what does this do? :$
It disables the l.e.d.s. It should be made a little clearer in op.
Is there a script to turn them back on?
Sent from my X10a using XDA App
AyDee said:
It disables the l.e.d.s. It should be made a little clearer in op.
Is there a script to turn them back on?
Sent from my X10a using XDA App
Click to expand...
Click to collapse
sorry if I wasn't clear. I'll fix it soon
and change it to revertable, too
Adolf any clue why it didnt work.for me and i kept having stderr thingy
Sent from my X10i using XDA Premium App
shahkam said:
Adolf any clue why it didnt work.for me and i kept having stderr thingy
Sent from my X10i using XDA Premium App
Click to expand...
Click to collapse
since they are empty it's ok
Huh? I think i wasnt clear i used your script and when i ran it whit gscript i got twice stderr message twice one under the other like this
Stderr
Stderr any clue why?
Sent from my X10i using XDA Premium App
shahkam said:
Huh? I think i wasnt clear i used your script and when i ran it whit gscript i got twice stderr message twice one under the other like this
Stderr
Stderr any clue why?
Sent from my X10i using XDA Premium App
Click to expand...
Click to collapse
for this script only gscript gives empty stderrs. if I run it with a terminal emulator/adb there's no stderr.
it's a problem of gscript
@Adolf or @My_Immortal
any new experiments with sd card mounting?
There was some interesting posts by one shaun in link2sd thread! he's using x10! somehow he managed to find more free space in /system than in /data!
so no need of an extra partition, you can just run the script to mount the /system as rw on boot and then link the link2sd mount point to it! I sent a PM to him about how is it working! let's see...
Ohhh but i tried terminal too pasted the script and nothing happened?
Sent from my X10i using XDA Premium App
I use this script most nights now, thanks Adulf! perhaps a mod to the script could be to set an expiry time value? (or is this not possible!)
diimaan said:
@Adolf or @My_Immortal
any new experiments with sd card mounting?
There was some interesting posts by one shaun in link2sd thread! he's using x10! somehow he managed to find more free space in /system than in /data!
so no need of an extra partition, you can just run the script to mount the /system as rw on boot and then link the link2sd mount point to it! I sent a PM to him about how is it working! let's see...
Click to expand...
Click to collapse
There are currently 190 MB free in my system partition, 219 MB in data and 11 GB in my sdcard, so I really want to use Links2SD on an ext partition in my SD, rather than anywhere else!
But it's nice that there's progress!!
My_Immortal said:
There are currently 190 MB free in my system partition, 219 MB in data and 11 GB in my sdcard, so I really want to use Links2SD on an ext partition in my SD, rather than anywhere else!
But it's nice that there's progress!!
Click to expand...
Click to collapse
190 mb? that's far less you should clean up some junk in your system then!
btw this is the msg I got from shaun! you can check how it works!
http://forum.xda-developers.com/show...&postcount=834
Should explain how to do it, just need to add commands to a start up script that is editable on your phone, that runs before the GUI is started. Dunno how I would create a universal script as you will need to edit diff files on diff phones.
If there is anything you don't understand from my post I'll try and help.
Click to expand...
Click to collapse
Brilliant this is exactly what i wanted, thanks Adolf !!
[email protected] said:
I use this script most nights now, thanks Adulf! perhaps a mod to the script could be to set an expiry time value? (or is this not possible!)
Click to expand...
Click to collapse
Adulf... hehh, funny
yyeeeeaaaaaaahhhh...no
that'd be a bit complicated.
but this is why it's revertable
Please go to Lilsteffy's threat !!! ,DEV here has stopt !!!
Admin close threat please
Working
Touchscreen
USB Host
Audio Out (Speakers not working)
Wifi - Requires Terminal / Script
Code:
For WPA2 edit /etc/wpa_supplicant/wpa_supplicant.conf
then run
sudo chmod +x /etc/init.d/start-networking
sudo update-rc.d start-networking defaults 99 05
Known Issues
Wifi GUI not working
Bluetooth not working
Speakers not working(Output Works)
Touchpad not working
Standby issues with Lid CLosed - Investigating
Resize Loop File <--
Keep in mind 4G fat32 limit for FAT32 !!
To Do
Boot To android -> looking into kexec.
trying to mod touchpad driver.
Sources
Kernal Source
Mega Source
Tweakers and Testers
HTC Linux
Change log.
0.2 Added WPA2 script , user just have to edit and enable it.
0.1 Added boot from loop or second partition.
0.0b first release
There is already a thread for this...
Here is what I would do:
1)Rebuild your kernel without virtual terminal,
2)use/boot this kernel with android.
3) use es file explorer to find the write /dev/block/mmcblkXXX???
use this in the init script of the initrd
4) use terminal emulator and ls -la to find out the MAJOR and MINOR number
of the right /dev/block/mmcblkXXX
use/change this in the bin/MKNODE script in the initrd
-> Done
bergfex said:
Here is what I would do:
1)Rebuild your kernel without virtual terminal,
2)use/boot this kernel with android.
3) use es file explorer to find the write /dev/block/mmcblkXXX???
use this in the init script of the initrd
4) use terminal emulator and ls -la to find out the MAJOR and MINOR number
of the right /dev/block/mmcblkXXX
use/change this in the bin/MKNODE script in the initrd
-> Done
Click to expand...
Click to collapse
always a great help bergfex thnx
You can try step 3 and 4 also with the default android system. It is likley that it shows the same behavior.
Yea, but where is my motivation to buy a transformer, when you already have done the fun part.
bergfex said:
You can try step 3 and 4 also with the default android system. It is likley that it shows the same behavior.
Yea, but where is my motivation to buy a transformer, when you already have done the fun part.
Click to expand...
Click to collapse
i thing makedev is not even running as i dont even see the intro .( make is after intro )
think i have to dd the image to sdcard and that the kernels calls directly to init on root dev
you remember that sdcard is not mounted because of makedev , here its already working i think
Gary13579 said:
There is already a thread for this...
Click to expand...
Click to collapse
and have you seen any progress at the thread? cmon the thread title says: coming soon (i assume)
dd the image to sdcard (or even better to the internal nand sometime in the future) should end up in an better performance anyway.
If the intro doesn't show up there may be a problem with the arguments of mkbootimg.
It was the following if someone else want to give it a try:
./mkbootimg --cmdline 'init=/init rw consoleblank=0 fbcon=rotate:1' --kernel zImage --ramdisk ramdisk-new.gz -o boot-new.img
Maybe you can add a the link to your zImage and to your ramdisk in the first post if someone else want to try/help.
Otherwise the link can be found in the coming soon (i assume) thread.
jazux said:
and have you seen any progress at the thread? cmon the thread title says: coming soon (i assume)
Click to expand...
Click to collapse
it was meant for people to brainstorm for solutions, pretty much like this thread, and yes there has been progress in that thread.
jazux said:
and have you seen any progress at the thread? cmon the thread title says: coming soon (i assume)
Click to expand...
Click to collapse
And needlessly fragmenting information/work across numerous threads does nothing but exactly that: segment information and clutter the forum.
almost there
Wow!
Thats really good news!
But tell us more! Whats left to crack before you are ready to release something?
Thanks for making this happen!
Sent from my Transformer TF101 using XDA Premium App
Jhinta said:
almost there
Click to expand...
Click to collapse
If you can pull this off, you sir, will be my hero
Jhinta said:
almost there
Click to expand...
Click to collapse
Getting my paypal account ready for some donating
yes ? yes ? yes ??
Will this help?
http://www.nvnews.net/vbulletin/showthread.php?t=163916
Sent from my Transformer TF101 using XDA Premium App
Little tip, Add root=/dev/ram0 to get it to load the initrd and drop you to a shell
david279 said:
Will this help?
http://www.nvnews.net/vbulletin/showthread.php?t=163916
Sent from my Transformer TF101 using XDA Premium App
Click to expand...
Click to collapse
very limited amounts of that are useful, probably the sound stuff, GPU acceleration isn't going to work from that package as it is for the harmony SOC only, and we have the ventana SOC
Has anyone got the Cisco Any Connect for Rooted Devices App to work on the TF??? I keep getting the "This device does not meet minimum requirements to run this software (TunTap driver could not be located)" error. Anyone find a workaround?
I'd root my TF in a sec if it will work. I've been trying to get this to work on my D2G but it also doesn't have a TunTap driver. I found tun.ko in one of the forums but have to had the chance to see how one might install it. I know some custom ROMs have it included.
works fine rooted prime + clemsyn 16
It seems that it is not able to load the tun.ko if it is present as a module. I had to use insmod /system/lib/modules/tun.ko to make it work. I have a stock kernel with just added tun.ko module.
Woah, didn't know this came out...thanks. Will give it a shot.
Edit: Appears to work fine, but I need get get my ASA license.
Awesome! Finally!
The app installs fine but when you try to connect is when you get that error. @ljs_cz, does the stock 3.1 come with the tun.ko module? If not where can I find one? I found a post with a module but its for 3.0.
Totally wasn't aware this existed. Works flawlessly on my TF running prime and clemsyn. This combined with RemoteRDP means I don't need to carry round my laptop when I'm on call!
Thank you OP, life-changer.
For those who are on stock 3.1 root, copy tun.ko to /system/lib/modules and
install it from a terminal, command "insmod tun.ko".
Check with command lsmod, you should see tun.ko loaded.
Install cisco anyconnect for rooted device and you are set.
Note, you will need to load tun.ko again after a reboot.
tun.ko, http://db.tt/ad4m1qB
Sent from my Transformer TF101 using Tapatalk
Thanks ill give that a try!!!
Ok its works great but when i restart the device the module isn't installed anymore and i have to insmod again. Any way to keep is installed after device boots???
help
gpmg762 said:
For those who are on stock 3.1 root, copy tun.ko to /system/lib/modules and
install it from a terminal, command "insmod tun.ko".
Check with command lsmod, you should see tun.ko loaded.
Install cisco anyconnect for rooted device and you are set.
Note, you will need to load tun.ko again after a reboot.
tun.ko,
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
i tried copying the tun.ko to /system/lib/modules but i got Permission Denied.
Is there another way to make this work?
I am rooted with build model 8.4.4.11
You need to mount the /system as RW before you can copy it. I am not sure of the ADB command, but you can do it through total commander (file manager) which is how I did it.
is it possible that you could give me a step by step guide as to how to accomplish this? i am trying but seem to be failing.
Bump, I could also use some help with ssretz's problem.
hmm..on ICS, tried your solution anyway. copied the file over to the location you specified, but when i run the command in the terminal it says no such file or directory.
Edit...i ran su -c insmod /system/xxx/xxx/tun.ko
i ran su earlier, but not on the same line.
that seems to register it. will test later.
still failing to copy files
Hi,
im running the TF PRIME 2 with ICS 4
im trying all of the suggested aboe and still failing to copy a file to the system/library/modules folder
any help?
i think it's a permission issue, my device IS rooted and i CAN copy files to the other SD folders
zipper9 said:
Hi,
im running the TF PRIME 2 with ICS 4
im trying all of the suggested aboe and still failing to copy a file to the system/library/modules folder
any help?
i think it's a permission issue, my device IS rooted and i CAN copy files to the other SD folders
Click to expand...
Click to collapse
I've done it via command line (you must mount the system directory in RW mode) using multiple iteration of the proper switches until it finally worked, but if you're struggling, just spend a couple bucks to buy Root Explorer. The aggravation you'll save will be well worth it.
Root Explorer has a button that will eliminate the command line instructions necessary to mount the system directory in RW mode and return it to R only, along with allowing you a simple copy/paste interface to move the files.
connects but does not route over tunnel with CM9/Megatron 1.0.1
Current system with issue: Megatron 1.0.1 with stock kernel.
Details:
I am able to connect using Rooted anyconnect, and I see my route table getting updated but when I try to access a resource on the vpn network it can not reach. I am not able to ping, ssh, rdc to any resource thru the tunnel. Local lan resources such as my own computer work fine or internet resources
I see the following interfaces get created after I connect:
-csctun0
-droptun0
My route table displays updated routes after vpn connects showing to use the iface of the cscotun0 for the resources that need to be routed thru. (192.*, 10.*, etc)
Funny thing is that I am able to use the stock 4.0 ICS and/or older honeycomb releases and it works fine. It's just with Megatron 1.0.1 or any CM9 rom. I tried using update-cm-9-20120329-NIGHTLY-tf101-signed.zip, still a nogo. Leads me to believe could be related to the CM9 trunk.
The logs between stock and CM9 flavored roms look the same on anyconnect. Nothing glaring.
lsmod doesn't show the tun module in as I believe now tun is compiled directly in the kernel (can someone confirm this?) (Running lsmod with stock doesn't show tun, nor in CM9/Megatron).
I love me some cyanogen and really like ricardopvz work especially the quick apps, but I need my vpn working for production support as its nice to work off the tablet when I am not near a computer.
Any help or direction will be greatly appreciated. Thanks in advance.
Confirmed that my problem only exists with CM9/Megatron roms
AOKP and stock based roms work fine. Any one else have this issue?
Sent from my Incredible 2 using XDA
What this mod does:
It removes the device ID string check from PortalApp, and enables the webtop option in DockService. Replacing these two apk files effectively allows the webtop to launch without proprietary hardware.
Click to expand...
Click to collapse
What this means to you:
Webtop mode over any HDMI without an expensive dock.
Click to expand...
Click to collapse
Installation:
Method 1: ADB install
Download the package here: http://forum.xda-developers.com/attachment.php?attachmentid=791033&d=1321938181
First Get the files to the device and remount /system as rw:
Code:
adb push DockService.apk /mnt/sdcard/
adb push PortalApp.apk /mnt/sdcard/
adb shell
su
mount -o remount,rw /dev/block/system /system
Backup the original files:
Code:
mv /system/app/DockService.odex /system/app/DockService.odex.bak
mv /system/app/PortalApp.odex /system/app/PortalApp.odex.bak
cp /system/app/DockService.apk /system/app/DockService.apk.bak
cp /system/app/PortalApp.apk /system/app/PortalApp.apk.bak
Copy the modded files over fix permissions and reboot:
Code:
cp /mnt/sdcard/DockService.apk /system/app
cp /mnt/sdcard/PortalApp.apk /system/app
chmod 644 /system/app/DockService.apk
chmod 644 /system/app/PortalApp.apk
reboot
Click to expand...
Click to collapse
Appreciate my work? Buy Me a Beer:
awesome job!
however, will this effect how the device currently interacts with the motorola docks (webtop, lapdock, car-dock, hd-dock, etc)
The modifications to PortalApp will have no effect on that interaction whatsoever I have just removed the bit that checks to see if your dock is legit when the Webtop Launches. And the modification to DockService simply causes the mIsWebtopAllowed variable to return true.
In short everything will work the same, you'll just always have a webtop option in the Dock Picker Activity no matter what type of HDMI/Dock you have connected.
Excellent WORK!!!
Thanks i appreciate the work you did to make this happen!!! as soon as i get paid im buying you a beer!!!
Used this mod on my OG ATRIX. Works great on it with a Bluetooth keyboard. Again good work.
silly question I'm sure but I have to ask: Does this require root?
Code:
mount -o remount,rw /system
Didn't work for me. Had to use this:
Code:
mount -o remount,rw /dev/block/system /system
voodoomurphy said:
silly question I'm sure but I have to ask: Does this require root?
Click to expand...
Click to collapse
Yes, you'll need root.
Is it just 720p for all or anyone got it going @1080?
Sent from soberstone mobile.
Mod works great Thanks. I just have one question. Is there a way to make the 4G connection work on webtop?
sweet! thanks works great
Does this trick will enabling ethernet network?
Thanks
sobesan said:
Is it just 720p for all or anyone got it going @1080?
Sent from soberstone mobile.
Click to expand...
Click to collapse
i just got it going at 720p, but i haven't played with it to much.
works great. Has anyone tried getting the full ubuntu or installing any .deb packages on i yet?
duke8804 said:
Mod works great Thanks. I just have one question. Is there a way to make the 4G connection work on webtop?
Click to expand...
Click to collapse
Just enable tethering/mobile hotspots. http://forum.xda-developers.com/showthread.php?t=1330438.
Anyway after this turn on your mobile hotspots and and then connect your lapdock. It will run on your mobile broadband without a tethering plan. Now will you get a letter? I dunno.
Well... I've screwed up. I tried this from the Bionic Forum as a test: http://forum.xda-developers.com/showthread.php?t=1281722
and now my Atrix 2 will not load the web top. The M pulses and then nothing happens, the phone goes to sleep. I've tried a factory restore but that did not correct this. Any help would be appreciated.
voodoomurphy said:
Well... I've screwed up. I tried this from the Bionic Forum as a test: http://forum.xda-developers.com/showthread.php?t=1281722
and now my Atrix 2 will not load the web top. The M pulses and then nothing happens, the phone goes to sleep. I've tried a factory restore but that did not correct this. Any help would be appreciated.
Click to expand...
Click to collapse
Were you able to flash the webtop restore through RSD and go back to stock webtop?
I have not tried that yet, I have been a little to afraid to given what happened the first time I tried using Bionic derived tools. I'm a Mac guy, so RSD is out of my reach right now. I will try it tonight at work.
can I flash via recovery?
the same way I did with the first Atrix? Please let me know, and thank you, don't wanna try and brick it.
voodoomurphy said:
I have not tried that yet, I have been a little to afraid to given what happened the first time I tried using Bionic derived tools. I'm a Mac guy, so RSD is out of my reach right now. I will try it tonight at work.
Click to expand...
Click to collapse
The first times a mistake, the second time is a choice.
Hello everybody,
sorry if this is not the right place for this, but since I have under 10 posts & that I can't post new threads where this topic should go...well I'll put it here, and feel free to move it if needed.
After having used an HTC Desire for a while + an eepad transformer, and enjoying the various communities around android, I thought I would buy a Energy Sistem Android Smart Tv Box and it came two hours ago "not rooted".
After a quick search all over the web, I finally found something that worked to unroot the box !!
I am really sorry but I can't find the original thread that linked to that file. Anyway, here you go:
http://www.sendspace.com/file/y6weis
*not uploaded by me...
I do not take any credit for this, this script is from
Android ICS Root Unlocker 1.0 [GreekDev]
and it as simple as running a batch file !! AND IT WORKS !
Instructions:
1- Find the IP the box is running on (ex: 192.168.1.104)
2- open a command prompt and go to the folder where you unzipped "ICS Root Unlocker 1.0" (ex: cd c:\ICS Root Unlocker 1.0 for example)
3- Once in the folder, try a:
files\adb connect 192.168.1.104:5555
if it says connected then you're fine to continue
4- just run the "ICS_Root_Unlocker.bat" batch file from this same folder and you should be okay.
Enjoy, I hope it will help others...
and now, let's see what we can do with this
b0b0
* just in case: I had the firmware updated to FW_Android_4.0.3_10-09-2012_rev01 BEFORE rooting
Help with Energy Smart TV root on Win 8 RTM
First off all thanks for sharing your experience. I'm new to android since I always loved iOS but started thinking about android as a good alternative to the less innovative iOS/iPhone plattform. I have to say your post was the first i found after 2 months of research and I was really happy to know there was a way to root the Energy Smart TV Box. Unluckily i can't manage to root it and since I'm new to android I'm kind of stuck. I hope you can help or anybody else. Problem is:
1- I managed to install the usb drivers using the SDK manager and in task manager everything seem to be right but everytime i run the batch file i get an error in spanish ( my windows setting ) wich translation is kind of The system can't find the specified route.
2- I have tried to run adb commands and i have as result as follows
Daemon not running. starting it now on port 5037 *
Daemon started successfully
error: device offline
PS: Device is turned on, with all the propper options ticked on in settings ( developer access and unsigned apps... )
Any advice on what to try. Remember, I'm new to android so detailed explaination would be appreciated. Thanks in advance and greeting from Spain.
Mi respuesta primera: Un saludo de Sevilla
Ok let's see, here's what I would do (taking into account that you already activated the usb debugging):
1- Get the IP the box is running on (ex: 192.168.1.104)
2- open a command prompt and go to the folder where you unzipped "ICS Root Unlocker 1.0" (cd c:\ICS Root Unlocker 1.0 for example)
3- Once in the folder, try a:
files\adb connect 192.168.1.104:5555
if it says connected then you're fine to continue
4- just run the "ICS_Root_Unlocker.bat" batch file from this same folder and you should be okay.
If this doesn't work, then I would try to type the commands from the batch file line by line (but before starting the commands from the batch file, make sure to get the device connected OK -or similar- message first!) -> that's what I did myself and it definitely worked.
Keep us updated
hasta pronto
b0b0
It worked for me
Thanks dude, it finally worked for me. I finally made it using adb connect comannd and then typing one by one all of the commands in the batch file. So thanks again and if you discover any custom rom, mods or tweaks, please share it. It would be appreciated. I'll do the same stuff.
PD: Gracias, seguí el hilo en inglés para no desvariar en el foro. Un saludo desde Gran Canaria.
Glad you got it working
No worries, I'll keep sharing what I find... but I'm just browsing the web for infos... I don't think I'll discover anything on my own
Next thing I'm trying to work out: cifs.ko to map samba shares on boot, this way the shares will show up in the Video and other sections
First off all, many thanks for the root tip, I will prove in the next few days.
I have another problem with this device. I installed another launcher (Go Launcher HD) and everything works fine, but if the original launcher don't runs, the USB ports don't work.
If I run the original launcher before running Go Launcher, so good, but if I run directly Go Launcher fails.
I've tried other launchers and always the same problem occurs. Until we run the launcher original usb ports not respond
Greetings from Spain and many thanks in advance
thanks for sharing that info... I don't know how to get this sorted though, since I'm not a dev let's hope someone helps
I hope more people will come here so we can discuss various improvements on that box
b0b0
Ok, thanks anyway
Hi, I just want to say thanks for the script, I've just rooted my Smart TV, all perfect.
Also, I want to confirm that, if you use another launcher instead of the default, if you reboot the machine your wifi wont work. Just use the other launcher and it'll start working again...
Just one more thing, you can install Flash 11 if you delete first flash 10 using Titanium Backup (or others). But I can't update the Youtube app, any ideas?
Thanks again!
Misc questions on this device
Hi,
The original repository for Android Root Unlock is on sourceforge.net (sorry I cannot post links)
I have a bluetooth keyboard (Rii Mini, but the bluetooth button in the prameters GUI has been removed.
I can see that the bluetooth service is running, but I cannot activate it since there is no button in the GUI.
Does anyone know how to add it again ?
Does anyone find if we can customize the apps shortcut on the main screen (add/remove some apps) ?
Thanks
chrisdroid33 said:
Does anyone find if we can customize the apps shortcut on the main screen (add/remove some apps) ?
Click to expand...
Click to collapse
If you install another launcher, you could add shortcut in the desktop screen.
Also, you could uninstall apps using Titanium Backup (root required)
Greetings
so i need to replace the launcher ?
how can I do that ? do I need to compile anything ?
thanks
Sent from my A500 using xda app-developers app
some news... it seems that some people managed to flash this box with other firmwares...
ex:
http://androidforums.com/google-tv/...dmi-google-tv-box-arm-cortex-a9-firmware.html
Worth having a look... I'm trying to gather some infos... then I'll post here.
Well, i tried several firmwares from similar tv box. Ours is Amlogic chipset, known as Amlogic c03ref.
But since the last firmware update, i ca say that our set top box is the most software advanced, not mention Xios DS (c03ref too).
In the last firmware, we have audio passthrough, wich is activated under the "sound-> digital output -> raw" option. This is intended to use among an a/v player multichannel in order to get real 5.1 audio. But i didn't get working this option yet.
This smart tv box is plenty of possibilities.
cheers
@Sanjuanero: indeed, you're right.
I tried Stane's firmware, and it's not really adapted to our boxes.
-I don't have adb access to the box (no idea why)...
-I don't have root neither,
-wifi is not working,(stuck while trying to activate)
-and the TV app is missing...I tried to take it out of the official firmware but no luck...
-most keys of the remote like Web, App, Settings etc do not work... (I took the remote.conf file out of the official firmware)
anyway, once I flashed the latest v2 firmware from Energy Sistem, the box ended up doing what I was asking for: access to CIFS shares.
I now did a /sdcard/mount_shares.sh script containing:
Code:
#!/system/bin/sh
su -c "mkdir /mnt/cifs_mnt"
su -c "mkdir /mnt/cifs_mnt/d"
su -c "mkdir /mnt/cifs_mnt/e"
su -c "mkdir /mnt/sdcard/movies_on_b0b0"
su -c "mkdir /mnt/sdcard/mp3_on_b0b0"
su -c "mount -t cifs -o rw,noperm,user=\"YOUR_USERNAME\",password=\"YOUR_PASSWORD\" //192.168.1.4/d$ /mnt/cifs_mnt/d"
su -c "mount -t cifs -o rw,noperm,user=\"YOUR_USERNAME\",password=\"YOUR_PASSWORD\" //192.168.1.4/e$ /mnt/cifs_mnt/e"
su -c "mount -o bind /mnt/cifs_mnt/e/movies/ /mnt/sdcard/movies_on_b0b0"
su -c "mount -o bind /mnt/cifs_mnt/d/MP3/ /mnt/sdcard/mp3_on_b0b0"
and use Script Manager to run the script at boot.
Now, everytime my box starts, I can go into the Home movie icon (or music) and access my movies straight away by going into /sdcard/movies_on_b0b0
Wicked !
I hope it helps others,
b0b0
chrisdroid33 said:
so i need to replace the launcher ?
how can I do that ? do I need to compile anything ?
Click to expand...
Click to collapse
Just install another launcher from Play Store, as Go Launcher HD.
You don't have to compile anything, only install launcher and select it.
Greetings
yes this works fine.
thanks a lot.
I can now access my nas automatically
Sent from my A500 using xda app-developers app
---------- Post added at 08:11 PM ---------- Previous post was at 07:25 PM ----------
I'll give a try. thanks
Sent from my A500 using xda app-developers app
I tried and it looks promising, but dont'k know why now my USB devices do not work anymore (USB wired keyboard and mouse)
Sent from my A500 using xda app-developers app
chrisdroid33, see my previus post:
chuzo__22 said:
I have another problem with this device. I installed another launcher (Go Launcher HD) and everything works fine, but if the original launcher don't runs, the USB ports don't work.
If I run the original launcher before running Go Launcher, so good, but if I run directly Go Launcher fails.
Click to expand...
Click to collapse
Now, I'm using Home Switcher app for easy switch on launchers.
hi
thanks for your feedback.
so to have go launcher and USB i need to start the original launcher first ?
home switcher can help, but what would be good is to automate the start of the original launcher and then the go launcher.
maybe with script manager ?
Sent from my A500 using xda app-developers app