Related
If you ...
find a bug or problem on 2.2, post here
find a solution on how to fix the bug, post here
want to get help on how to fix the bug, post here
anything else, goes here
This thread are meant for bug/problem solution and reported bug list of 2.2 custom ROM which i will try to manage, so people are not posting same bug, and asking for same solution all over again in X10 Custom ROM AOSP thread.
Limitation
Cannot Mount via USB
2.2 Custom ROM put the SYSTEM partition on your phone memory and the DATA partition in your SD card. That is why you cannot dismount the SD card from Android to mount to your PC.
No App2SD
2.2 Custom ROM is still running on 2.1 Custom Kernel which not supporting this.
Bug list
#0001 - WiFi not working - Fixed on 2.2
#0002 - Random android.process.media force close - Fixed on 2.2
#0003 - Home button not working, and no Lock Screen - Fixed on 2.2
#0004 - Cannot install certain APK (Angry Bird)
#0005 - No radio, no network and flashing Home - New on 0.0.2
#0006 - ADB shell have SU access, but Titanium Backup cannot work - New on 0.0.2
#0007 - SD Card non-ascii folder show as ???
#0008 - Facebook Contact Sync not available
#0009 - CPU Governor set to performance by default
Solutions for bugs
#0001 - How to enable WiFi on 2.2 Custom ROM
1. Try to enable WiFi, of course it will not work.. just do it.
2. WiFi will goes off automatically
3. Run
Code:
adb shell /system/bin/wlan_tool
4. If the adb stucks, just press CTRL+C
5. Repeat step 4 until you crash the phone
6. After reboot, your WiFi will work.
or
Code:
adb shell killall servicemanager
Post Reference
#0002 - android.process.media FC solution
0.0.1 compiled with prefilled databases which invalid for your phone
Code:
adb shell
cd /data/data/com.android.providers.media/databases
rm *
reboot
or this will ensure no invalid data anymore but will remove fixes for bug #0003
Code:
adb shell
cd /data/
rm -r data
mkdir data
reboot
Post Reference
#0003 - Fix Home Button & Lock Screen
Download sqlite here
First pull the db file first.
Code:
adb pull /data/data/com.android.providers.settings/databases/settings.db settings.db
Then add value to its content
Code:
sqlite3.exe settings.db
sqlite> INSERT INTO "secure" VALUES(67,'device_provisioned','1');
sqlite> .exit
Then push back the db
Code:
adb push settings.db /data/data/com.android.providers.settings/databases/settings.db
Then reboot.
Post Reference
#0004 - Solving installing APK problems
Currently the 2.2 Custom ROM does not support app2sd, and some APK may configure it self to be installed in sdcard.
So we force it to install on internal with code below
Code:
adb shell pm setInstallLocation 1
adb install -l com.rovio.angrybirds.apk
Post Reference
#0005 - Fixing radio, wifi and home screen flashing problem
Run this command
Code:
adb shell killall servicemanager
Post Reference
#0006 - Fixing SU access for Titanium Backup
Run this command
Code:
adb shell chmod 4755 /system/bin/su
Post Reference
#0007 - Fixing SD card mount command to show unicode letters
Modify your chargemon file so its enables utf8 for non ascii letter.
You need to do this on 2.1 ROM, not 2.2 ROM. The file is located in /system/bin
look for this
Code:
mount -t vfat -o rw,noatime,nodiratime /dev/block/mmcblk0p1 /sd
and change into this
Code:
mount -t vfat -o rw,noatime,nodiratime,utf8 /dev/block/mmcblk0p1 /sd
Notes:
You must use a Unix/Linux format capable text editor for this. Notepad will not work.
You can try ultraedit for it.
Post Reference
#0008 - Fix Facebook Sync
Download the ContactsProvider.apk here, then install to your Android using push command
Code:
adb push ContactsProvider.apk /system/app/ContactsProvider.apk
adb reboot
Post Reference
#0009 - Using SetCPU
By default is Performance, fast but wasting too much battery.
Use SetCPU and set to OnDemand.
Post Reference
2.2 Custom ROM FAQ
How and what happened if upgrade from 0.0.1 to 0.0.2?
Just copy data.img and system.img replacing your current one in FreeX10 folder.
This will replace all your 0.0.1 data, be sure to back up first with Titanium Backup
WiFi is running and connected, but cannot browser
This problem seems to be occurring on selected few.. You can set static IP to your android.
Go to Settings -> Wireless ... -> WiFi, then press menu button. From there you can se static IP
Is there a possibility of Timescape and Mediascape for 2.2 Custom ROM
The answer is yes, its possible.
I managed to install Mediascape.apk into 2.2 Custom ROM, but cannot run.
The reason it cannot run is because UX is using a lot of things in Framework-res.apk, images, layout, styles, and etc which cannot be copied directly from SE 2.1 into 2.2 AOSP. It requires someone to properly put all values, resolving conflicts inside Framework-res.apk before the UX can run, which will take months or at least weeks if someone dedicated his or her day job for it. Then after that we still need to deal with external files. So in conclusion, while it still possible, i don't think anyone will do it because of the time demanding process.
I want to help devs solving bugs, i found one but i don't know what actually happend.
While usb connected, from command prompt, type
Code:
adb logcat > logcat.txt
This will output a lot of debugging info into logcat.txt file, later if you find bug, you take a look inside the file.
See anything error or info related to the bug, and post here.. When writing the logcat.txt output, but them inside
Code:
brackets.
Do not post everything.. post few lines related to the bugs.
2.2 Custom ROM Testing Tools
Service Menu
WARNING: DO NOT INSTALL THIS UNLESS YOU DO DEVS, END USER DO NOT INSTALL
PURPOSE: MAYBE FOR TESTING DEVICE FEATURE, MIGHT BREAK SYSTEM APPS
Enable SE Service Menu for device testing. For devs only. You need to put adb stuff in the directory for install.bat to run.
Install framework
Code:
adb push permissions /system/etc/permissions
adb push lib /system/framework
adb reboot
Install applications
Code:
adb install app\bootinfo3.apk
adb install app\ServiceMenu2.apk
adb install app\com.laac.launcher.servicemenu.apk
Nice work. THis is handy
As i posted in the Main thread!
I think some of the force closes, (mainly acore and google framework) and the fact that the market crashes, come down to importing a vcard!
I imported vcard, get many force closes, market stops working, I clean install and don't install the vcard. Everything functions fine.
I do believe this is the reason!
Greeet ~~!! but can u tell me the seloution of this proplem :
i was run 2.2 001 ok ? then i back to to SE 2.1 to change old system.img & data.img by the new on FreeX10_alpha-release_0.0.2-UPDATE , ok ? then i reboot my phone into 2.2 , it run but like u make a refresh on computer ! evry 3 second !
thnx
Ahmed radi said:
Greeet ~~!! but can u tell me the seloution of this proplem :
i was run 2.2 001 ok ? then i back to to SE 2.1 to change old system.img & data.img by the new on FreeX10_alpha-release_0.0.2-UPDATE , ok ? then i reboot my phone into 2.2 , it run but like u make a refresh on computer ! evry 3 second !
thnx
Click to expand...
Click to collapse
Please read the main post!
sorry but no one answer me there
Thanks
Thanks for this ,hopefully a post like this is made for the 1st post on 2.1
http://forum.xda-developers.com/showpost.php?p=9134882&postcount=1
awesome thread, very helpful. Hopefully more people will read this rather than constantly posting the same bugs in the main thread.
Ahmed radi said:
sorry but no one answer me there
Click to expand...
Click to collapse
hey ahmed
grb el solution da
#0005 - Fixing radio, wifi and home screen flashing problem
Run this command
Code:
adb shell killall servicemanager
i think en da el 7l
bye
bsthost said:
hey ahmed
grb el solution da
#0005 - Fixing radio, wifi and home screen flashing problem
Run this command
Code:
adb shell killall servicemanager
i think en da el 7l
bye
Click to expand...
Click to collapse
i dont know how to use adb shell is there anythread for newbie user how to use adb ?
angry birds on my x10 is working well....i take it from a previous backup and restrored on 2.2 with mybackup pro
Please post to http://forum.xda-developers.com/showthread.php?t=835308&page=9999 thread instead.
We don't need to create two discussion thread.
i fixed the wifi and flashing problem and i have connected to wifi but i cant access internet or market any it seems i have connected to my modem netwok still cant access to internet any idea how to fix this?
17mayis said:
i fixed the wifi and flashing problem and i have connected to wifi but i cant access internet or market any it seems i have connected to my modem netwok still cant access to internet any idea how to fix this?
Click to expand...
Click to collapse
Code:
setprop ro.kernel.android.ndns 2
setprop net.eth0.dns1 8.8.8.8
setprop net.eth0.dns2 8.8.4.4
New crash this morning : i tried to connect my BT headphone after that i've activated BT => BT has desactivated itself then the phone reboots.
zephyrix said:
Code:
setprop ro.kernel.android.ndns 2
setprop net.eth0.dns1 8.8.8.8
setprop net.eth0.dns2 8.8.4.4
Click to expand...
Click to collapse
i appreciate your answer man if you could tell me how to do this ? through adb shell or something else?
17mayis said:
i dont know how to use adb shell is there anythread for newbie user how to use adb ?
Click to expand...
Click to collapse
Google is your friend!
i have flashPlayer10.1 problem it,s to slow when i play on any website any solution what might be ?
Hi!
I successfully use(d) OpenVPN with the available tun.ko versions on my Galaxy Tab.
I tried to move that to the brand new European version of the 10.1 (no V, GT-P7500, Kernel 2.6.36.3, [email protected] #1, buildnr HMJ37 P7500XXWKG9, baseband XXKG7, ). But obviously, there is no tun.ko in the kernel and the available versions of tun.ko do not work with the 3.1 Honeycomb kernel.
Does anybody has compiled a tun.ko for this kernel already or can guide/tell me, how to do this myself?
Regards,
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums and Read THIS
Moving to Q&A
I am searching badly for a solution tu use PPTP VPN on my Galaxy Tab 10.1 (no v) 3G, too!
In the meantime, I learned that tun.ko is part even of the stock kernel. Nevertheless, I did not get it running with the setup I used on my Galaxy Tab.
Are you sure? I did a search for the file but nothing was found.
if preshoot already upload his git sources, I can do this for you guys.
Just wait for him,to upload his latest sources...
funky81 said:
if preshoot already upload his git sources, I can do this for you guys.
Click to expand...
Click to collapse
That would be nice.
richardtrip here told me, that tun.ko is already in the stock kernel.
I am presently trying to find out what detail makes problems in the connection to my Linux server. A connection is established, but not fully and yet not useable.
Hi!
I did some experiments with my OpenSuse 10.3 server and the Tab 10.1.
With the tun-device, I can establish a connection. But the 10.1 does not receive its address in the VPN network, ifconfig does not show the tun-device as device.
The same configuration which works flawlessly on my Galaxy Tab does not work on the 10.1.
Perhaps somebody is experienced with the OpenVPN configuration in this case.
Some more findings:
The device used is tap, but tunctl must be called to create a persistent tapx.
tunctl expects /dev/net/tun which must be either created by a symlink (/dev/tun exists, mkdir /dev/net, ln -s /dev/net/tun /dev/tun) or must be added with parameter -f on commandline.
It also seems that ifconfig has different parameters than on my Galaxy Tab. Starting OpenVPN from commandline, it complains about route/ifconfig with wrong parameters.
With special thanks to Amarok, I could get his solution also working on my Tab 10.1:
Install Busybox from Market
Install OpenVPN Installer from Market and install to
binaries: /system/xbin
route/ifconfig: /system/xbin/bb
Create /system/xbin/bb with Root Explorer or from shell
Create link to busybox for ifconfig and route
ln -s /system/xbin/busybox /system/xbin/bb/route
ln -s /system/xbin/busybox /system/xbin/bb/ifconfig
Check permissions for /system/xbin/openvpn, it should be 777 (rwxrwxrwx)
Using the openvpn binary from my galaxy tab (copy into /system/xbin, chmod 777) got OpenVPN finally working.
akxak said:
With special thanks to Amarok, I could get his solution also working on my Tab 10.1:
Install Busybox from Market
Install OpenVPN Installer from Market and install to
binaries: /system/xbin
route/ifconfig: /system/xbin/bb
Create /system/xbin/bb with Root Explorer or from shell
Create link to busybox for ifconfig and route
ln -s /system/xbin/busybox /system/xbin/bb/route
ln -s /system/xbin/busybox /system/xbin/bb/ifconfig
Check permissions for /system/xbin/openvpn, it should be 777 (rwxrwxrwx)
Using the openvpn binary from my galaxy tab (copy into /system/xbin, chmod 777) got OpenVPN finally working.
Click to expand...
Click to collapse
The last step ? From you which tab did you copy openvpn ? Is it possible to get the specific openvpn. Still not working on my side.
Thanks
Nar
Have also a look at this thread:
http://forum.xda-developers.com/showthread.php?t=1185370
Attached the openvpn binary I use.
akxak said:
Have also a look at this thread:
http://forum.xda-developers.com/showthread.php?t=1185370
Attached the openvpn binary I use.
Click to expand...
Click to collapse
So the tun.ko with stock works? When I run openvpn from either cli or openvpn settings tab it'll connect but I get no ip address. The only errors I'm getting are " Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:4: route (2.1.1)". So is using the attached openvpn binary all it took?
--
Brad
---------- Post added at 06:49 PM ---------- Previous post was at 06:42 PM ----------
jbaskew said:
So the tun.ko with stock works? When I run openvpn from either cli or openvpn settings tab it'll connect but I get no ip address. The only errors I'm getting are " Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:4: route (2.1.1)". So is using the attached openvpn binary all it took?
--
Brad
Click to expand...
Click to collapse
I missed the permissions part in your earlier post. With the openvpn binary you attached to the thread along with changing the perms I'm good to go. Such a relief! Thanks, akxak!
--
Brad
What about tun.ko???? I run the same GT as you though 7500 3.1 ??
As already stated, tun.ko is part of the stock firmware.
Sent from my Galaxy Tab 10.1 using Tapatalk.
I dont find tun.ko on my GT when I search with root explorer..
my tun.ko is located in /data/media/openvpn/openvpn/tun.ko
On my Tab, a separate tun.ko is not required. OpenVPN works anyway, as that seems to be an integral part of the kernel.
I'm trying to use the openvpn settings as well but when I try to connect I get
"Fatal:Cannot allocate TUN/TAP dev dynamically"
and when I try to insmod tun.ko using adb, I get this error:
"init.module 'tun.ko' failed <Exec format error>
I'm using pershoot's most up to date kernel (yesterday) with the tun.ko file that was included with it. I also tried with the one supplied in this thread as a .rar file and I received the same errors.
Any ideas?
Nearly there
Hey everybody.
I also have some problem with openvpn connection.
At first i turn on openvpn the start the configuration (at the same time i started a ping on my server: ping 300.300.300.300 -t)
After that my ping works for 12 - 14 times. After the 12 + 14 times then it shows "out of time" error message.
What have i done wrong? (Every 5 seconds at the bottom of my tab it shows "myvpn.openvpn: Connected"
Preferences:
Samsung Galaxy Tab 10.1 Rooted
Android 3.1
Newest Busybox
Done everything from the tutorial of this topic
Update: When i turn the tun module on then the ping only works for about 9 times.
After about 20 failed pings, the pink works again for the amount i wrote.
Hello guys,
I've compiled the CIFS module for our X10 (stock kernel version for 2.3.3, that is 2.6.29-00054-g5f01537 ).
Introduction
CIFS is for allowing to mount SAMBA/CIFS shares from Windows (mostly), so that they appear like a folder on the phone.
Specifically, you can watch movies on your X10 from a share, without first copying them to the phone. In fact you can mount any SAMBA share and do all operations with it.
There are two modules that do the job: cifs.ko (which is the main one) as well as nls_utf8.ko which just provides UTF-8 support for file/folder names within the shares.
Installation
Once you have unpacked the zip and extracted the two modules into the folder of your choice, the commands are these:
Code:
adb push "nls_utf8.ko" /sdcard/nls_utf8.ko
adb push "cifs.ko" /sdcard/cifs.ko
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd /system/lib/modules
cp /sdcard/nls_utf8.ko .
cp /sdcard/cifs.ko .
insmod nls_utf8.ko
insmod cifs.ko
mkdir /sdcard/cifs
mount -o username=<yours>,password=<yours>,iocharset=utf8 -t cifs //<serverip>/<sharename> /sdcard/cifs
Now you can cd to your /sdcard/cifs and see the files shared there.
Observations
1. nls_utf8.ko is not mandatory and if your files don't have UTF-8 characters and only ascii, you can skip it IF you remove the isocharset=utf8 from the mount command above.
2. Music will stutter with all players I've tried. found an opinion that might be android lowlevel subsystem for reading mp3 files, and that they don't buffer enough - and given the latency over WIFI, this will create pauses / stuttering in the music. However, you can still copy the audio files, etc.
3. Movie playing works! I've tried RockPlayer for few minutes and didn't have an issue (seems it handles buffering very well) since it is software and thus they don't rely on some Android codec / etc.
4. Skip works! Again in Rock Player, you can skip in the movie and it takes a bit to skip there, but it does.
5. umount usually fails, since I assume, Android apps don't really exit and don't really free the resources. Once a file open, it doesn't let me un-mount saying that the resource / device is busy.
Download
Use it at your own risk!
cifs.zip
Chefs can bundle the files within the ROMs they offer - but please add this link into descriptions so that people can discuss issues they might encounter.
Cool.. Will try..
Sent from my X10i using XDA Premium App
nice! i am gonna try this!
New toy I'll give this a go tonight and report back. Thanks!
Hi viulian,
Thanks for the module. Would you mind if I include it in the hotfix for my rom?
Cheers,
z
zdzihu said:
Hi viulian,
Thanks for the module. Would you mind if I include it in the hotfix for my rom?
Cheers,
z
Click to expand...
Click to collapse
Absolutely no problem Z please do.
This module definetly requires an app to manage CIFS, mounting them with selected user/pass/path.
You can try cifs manager, its good.
Btw i thought the new sources weren't released yet.
I'm using old 2.1 sources and I could build these modules using Sony's blog post about how to compile kernels (with their CodeSourcery compiler) and a bit of Google foo.
Btw, I have another one ready, the cpufreq_interactive one which I'm creating a new thread now.
Later edit:
Although initially I read posts complaining about Sony's decision to keep the old 2.1 kernel (2.6.29) instead of the recommended (2.6.32) for GingerBread, it turned out that it was actually a smart move
Basically, the cifs module at least was much more difficult to port, due to the slow_work.ko module that needed to be compiled as well and inserted before.
viulian said:
Hello guys,
I've compiled the CIFS module for our X10 (stock kernel version for 2.3.3, that is 2.6.29-00054-g5f01537 ).
Introduction
CIFS is for allowing to mount SAMBA/CIFS shares from Windows (mostly), so that they appear like a folder on the phone.
Specifically, you can watch movies on your X10 from a share, without first copying them to the phone. In fact you can mount any SAMBA share and do all operations with it.
There are two modules that do the job: cifs.ko (which is the main one) as well as nls_utf8.ko which just provides UTF-8 support for file/folder names within the shares.
Installation
Once you have unpacked the zip and extracted the two modules into the folder of your choice, the commands are these:
Code:
adb push "nls_utf8.ko" /sdcard/nls_utf8.ko
adb push "cifs.ko" /sdcard/cifs.ko
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd /system/lib/modules
cp /sdcard/nls_utf8.ko .
cp /sdcard/cifs.ko .
insmod nls_utf8.ko
insmod cifs.ko
mkdir /sdcard/cifs
mount -o username=<yours>,password=<yours>,iocharset=utf8 -t cifs //<serverip>/<sharename> /sdcard/cifs
Now you can cd to your /sdcard/cifs and see the files shared there.
Observations
1. nls_utf8.ko is not mandatory and if your files don't have UTF-8 characters and only ascii, you can skip it IF you remove the isocharset=utf8 from the mount command above.
2. Music will stutter with all players I've tried. found an opinion that might be android lowlevel subsystem for reading mp3 files, and that they don't buffer enough - and given the latency over WIFI, this will create pauses / stuttering in the music. However, you can still copy the audio files, etc.
3. Movie playing works! I've tried RockPlayer for few minutes and didn't have an issue (seems it handles buffering very well) since it is software and thus they don't rely on some Android codec / etc.
4. Skip works! Again in Rock Player, you can skip in the movie and it takes a bit to skip there, but it does.
5. umount usually fails, since I assume, Android apps don't really exit and don't really free the resources. Once a file open, it doesn't let me un-mount saying that the resource / device is busy.
Download
Use it at your own risk!
cifs.zip
Chefs can bundle the files within the ROMs they offer - but please add this link into descriptions so that people can discuss issues they might encounter.
Click to expand...
Click to collapse
Thanks viulian, very nice modules! May I include it in my rom?
Regards
Erick
Hello Erick, yes. Please add a link in your descriptions / thread / patches page etc, so people would also come here to check for possible issues, share experiences etc.
viulian said:
Hello Erick, yes. Please add a link in your descriptions / thread / patches page etc, so people would also come here to check for possible issues, share experiences etc.
Click to expand...
Click to collapse
For sure, thanks!
Hello friend,
Just wondering if I can install this through android terminal rather than adb?
Same commands/process? Thx
Aphex33 said:
Hello friend,
Just wondering if I can install this through android terminal rather than adb?
Same commands/process? Thx
Click to expand...
Click to collapse
Yes - if you handle copying the module to sdcard separately and then you become root in terminal, then it's the same.
viulian said:
Yes - if you handle copying the module to sdcard separately and then you become root in terminal, then it's the same.
Click to expand...
Click to collapse
Thx for quick response, become root in terminal? Explain please.....buy the way your modules rock! Currently using interactive.ko
Aphex33 said:
Thx for quick response, become root in terminal?
Click to expand...
Click to collapse
When you start the terminal, you notice you have a $ sign displayed to the left of the command prompt. That means you do not have the rights to do most things, since $ is for standard (limited) user.
What you need is to type command
Code:
su
And then your prompt will change to the dash sign #.
That means now you have full control over the phone, and you can start typing the commands.
Please double check what you do, and that you typed correctly - otherwise, as root, you might render your phone useless. Do not attempt if you don't feel confident enough and that you know what you are doing.
viulian said:
When you start the terminal, you notice you have a $ sign displayed to the left of the command prompt. That means you do not have the rights to do most things, since $ is for standard (limited) user.
What you need is to type command
Code:
su
And then your prompt will change to the dash sign #.
That means now you have full control over the phone, and you can start typing the commands.
Please double check what you do, and that you typed correctly - otherwise, as root, you might render your phone useless. Do not attempt if you don't feel confident enough and that you know what you are doing.
Click to expand...
Click to collapse
Thank you once again.
viulian said:
When you start the terminal, you notice you have a $ sign displayed to the left of the command prompt. That means you do not have the rights to do most things, since $ is for standard (limited) user.
What you need is to type command
Code:
su
And then your prompt will change to the dash sign #.
That means now you have full control over the phone, and you can start typing the commands.
Please double check what you do, and that you typed correctly - otherwise, as root, you might render your phone useless. Do not attempt if you don't feel confident enough and that you know what you are doing.
Click to expand...
Click to collapse
Hello, so If I have this correct, after placing the module in the correct place I have to type the commands in the first post word for word, correct? Apologize for being a noob, just wanna make sure.
hello guy
I dont know how to mount files from Windows. Someone explains clearly , please
Sorry for being noob. I think this module is awesome but dont know how to use
Got an exec format error when trying to insmod.
What can i try to solve this please ?
Thanks !
Hello there! After months asking for the developer of Simple Streak Rom for a fix in the VPN connections (and no answer) I have been trying to fix it. Well, I made it! After several days of frustration, I have finally made it work
What do you need:
1. Working VPNServices.apk (I pulled from the PlayDoh ROM, which it is based on 354 ROM which it is supposedly the same of Simple Streak 1.2 Testing V4)
Links:
http://www.multiupload.com/E9RI0XOKCQ
Mirror:
https://sites.google.com/site/ernestovillarreal/home/VpnServices.apk?attredirects=0&d=1
2. Working tun.ko for our devices (thanks gpmg762 for that!)
Link:
http://www.multiupload.com/D3FXAJUC72
Mirror:
https://sites.google.com/site/ernestovillarreal/home/tun.ko?attredirects=0&d=1
3. Need to give special permissions to the VPNServices.apk. In a terminal emulator, or using adb, type:
Code:
su
mount -o remount,rw /dev/null /system
chmod 0644 /system/app/VpnServices.apk
mount -o remount,ro /dev/null /system
sync
reboot
3. Load for the first time the tun.ko. In the same console, type:
Code:
su
insmod /pathofwheretun.kois/tun.ko
4. Edit the init script to load the tun module every boot. Edit this file: "/etc/init.streak.post_boot.sh", adding this line to the last line:
"insmod /system/lib/modules/tun.ko"
ASSUMING you have the tun.ko in /system/lib/modules folder.
And that's it!
**UPDATE: It works! The problem seems to be my router, in 3G is working fine!!
**UPDATE 2: In my case, it is not working on WiFi. I'll try on other ones in the night.
**UPDATE 3: My bad, problem with the chmod. I have fixed it on the thread
**UPDATE 4: In the Simple Streak 1.3 testing 5, Splida added the tun.ko but he didnt add the VpnServices.apk nor the postboot modification. So, just skip step 2. And it is still not working using WiFi.
WiFi problem probably with dd-wrt router. Will test this night.
#Bump
This is awesome! VPN working on Simple Streak?! Downloading now.
Excited to use my blue tooth mouse with windows remote desktop (2x Client) away from the office and secured tunnel.
::EDIT:: working great on my WiFi!
Ok, so how do we script tun.ko? You could figure out how to run the insmod /data/tunko/tun.ko at every boot -TheManii, I'm looking at you
Or create a shortcut that will run tun.ko on demand and preferably connect the VPN with the same single click.
This is more of DJ_Steve's area of expertise I think, I dont really know much in regards to launching scripts on boot.
I guess you could make a script in /system/etc/init.d or just /system/etc
with
Code:
insmod /system/lib/modules/tun.ko
I dont see where streakdroid has it's scripts to run it, mabye it's automatic if it's in that folder? If it does in fact still need to be scripted i believe init.d runs with root privs?
Really I'm just guessing
May be you can try scriptmanager run on boot option
Sent from my Dell Streak using Tapatalk
Guys, you can put the line "/system/bin/insmod /system/lib/modules/tun.ko" into /etc/init.streak.post_boot.sh, that loads it for me after a reboot.
Or you can use GScript from market to load it manually.
Hope that helps.
gpmg762 said:
Guys, you can put the line "/system/bin/insmod /system/lib/modules/tun.ko" into /etc/init.streak.post_boot.sh, that loads it for me after a reboot.
Or you can use GScript from market to load it manually.
Hope that helps.
Click to expand...
Click to collapse
That's right, I figured it out minutes later I posted this post.. but I was lazy to put it here
In my case, I just put on the last line:
insmod /system/lib/modules/tun.ko
i'm testing your method now....
here is the result. ..
terminal emulator:
su
insmod /system/lib/modules/tun.ko
insmod: init_module '/system/lib/modules/tun.ko' failed(Exec format error)
need your expertise. . . .TIA
in init.streak.post_boot.sh
the last line says "esac"
will i put it like this{ esac "insmod /system/lib/modules/tun.ko"}
or like this:
esac
"insmod /system/lib/modules/tun.ko"
noob here....thanks again.
request. . .
gpmg762 said:
Guys, you can put the line "/system/bin/insmod /system/lib/modules/tun.ko" into /etc/init.streak.post_boot.sh, that loads it for me after a reboot.
Or you can use GScript from market to load it manually.
Hope that helps.
Click to expand...
Click to collapse
can you compile a working tun.ko for my device sir?tun attached in this thread didn't work for me...here is the info:
dell streak 5
android 2.2.2
baseband - GAUSB1A134700-EU
kernel - SimpleStreakKernel-bySpidlA
OEM - GAUSB1A135411
build number - Simple Streak 1.3 (4th testing)
TIA XDA MEMBERS...
takoyaki17 said:
can you compile a working tun.ko for my device sir?tun attached in this thread didn't work for me...here is the info:
dell streak 5
android 2.2.2
baseband - GAUSB1A134700-EU
kernel - SimpleStreakKernel-bySpidlA
OEM - GAUSB1A135411
build number - Simple Streak 1.3 (4th testing)
TIA XDA MEMBERS...
Click to expand...
Click to collapse
Try to ask him via PM and then, provide the tun.ko, so I can put it on the mirror server to everyone.
takoyaki17 said:
i'm testing your method now....
here is the result. ..
terminal emulator:
su
insmod /system/lib/modules/tun.ko
insmod: init_module '/system/lib/modules/tun.ko' failed(Exec format error)
need your expertise. . . .TIA
in init.streak.post_boot.sh
the last line says "esac"
will i put it like this{ esac "insmod /system/lib/modules/tun.ko"}
or like this:
esac
"insmod /system/lib/modules/tun.ko"
noob here....thanks again.
Click to expand...
Click to collapse
Thanks right, but without the quotes.
Like this:
esac
insmod /system/lib/modules/tun.ko
Still searching for the right tun.ko to run openvpn in my streak....
Sent from my Dell Streak using XDA Premium App
takoyaki17 said:
Still searching for the right tun.ko to run openvpn in my streak....
Sent from my Dell Streak using XDA Premium App
Click to expand...
Click to collapse
if you trust me, sned me the login details so I can check with my cell phone if I can log in.
hmmm
netomx said:
if you trust me, sned me the login details so I can check with my cell phone if I can log in.
Click to expand...
Click to collapse
log in details of what?my openvpn or my xda account?
takoyaki17 said:
can you compile a working tun.ko for my device sir?tun attached in this thread didn't work for me...here is the info:
dell streak 5
android 2.2.2
baseband - GAUSB1A134700-EU
kernel - SimpleStreakKernel-bySpidlA
OEM - GAUSB1A135411
build number - Simple Streak 1.3 (4th testing)
TIA XDA MEMBERS...
Click to expand...
Click to collapse
try the attached file.
netomx said:
if you trust me, sned me the login details so I can check with my cell phone if I can log in.
Click to expand...
Click to collapse
For your last config file.
takoyaki17 said:
log in details of what?my openvpn or my xda account?
Click to expand...
Click to collapse
Your OpenVPN login details.
thanks but. . .
gpmg762 said:
try the attached file.
Click to expand...
Click to collapse
i think it doesn't work....
i used terminal emulator to test it
and says no such file or directory....
can you take another shot sir....thanks
takoyaki17 said:
i think it doesn't work....
i used terminal emulator to test it
and says no such file or directory....
can you take another shot sir....thanks
Click to expand...
Click to collapse
That seems to be a problem in your terminal emulator.
hmmm
netomx said:
That seems to be a problem in your terminal emulator.
Click to expand...
Click to collapse
i dont think so...at first i thought that's the problem too....
so i tried using openvpn it says FATAL ERROR: cannot allocate tun/tap
you guys are great...so please help me. . .thanks
takoyaki17 said:
i dont think so...at first i thought that's the problem too....
so i tried using openvpn it says FATAL ERROR: cannot allocate tun/tap
you guys are great...so please help me. . .thanks
Click to expand...
Click to collapse
yes it is, that's why openvpn can't open the tun device.
type here what you write on the terminal
netomx said:
yes it is, that's why openvpn can't open the tun device.
type here what you write on the terminal
Click to expand...
Click to collapse
same as your post...
su
mount -o remount,rw /dev/null /system
chmod 0644 /system/app/VpnServices.apk
mount -o remount,ro /dev/null /system
sync
reboot
then after reboot:
su
insmod /system/lib/modules/tun.ko
i tried the one gpmr provided ad the result is:
no such file or directory
then i tried the one that he gave you last:
Failed (file exist)
anyway,what does 0644 do to the vpnservices.apk?
I've found my RD-PQ on the shelf and decided to upgrade it to 2.3
That was a pretty easy procedure, although with 2.3 it's totally empty.
The most discouraging thing is that WiFi fails to connect.
There are several mentions of that problem at https://developer.tizen.org/ru/forums/general-support/tizen-2.3-rd-pq-device-available but no solutions or at least clues there.
Are there any options to debug it?
The only thing I could imagine was to connect to device console in sdb and check wpa_supplicant that was working somehow.
With 2.2.1 WiFi works fine.
What else can be done around it?
Ya need driver isntalled I think. Drivers is non free licensed and ya need to ask for it somewhere in dear Samsung company.
Tolko schas uvidel... Napishi na maemo.su, sprosi u Kirilla, k primeru, bolshe tolku budet. Zdes ne populyaren Tizen.
I have my RD-PQ only since 1 month... so I am newbie...
Since yesterday I saw first time 2.3.1 and WiFi complete not work... not able to find any thing... Scan not finish...
Installed files...
Code:
tizen-2.3.1-mobile_20150921.1_mobile_boot.tar.gz
[B]tizen-2.3.1-mobile_20150921.1_mobile_target.tar.gz[/B]
Then I have only flashed filesystem:
Code:
[B]tizen-2.3-mobile_20150812.1_mobile_target.tar.gz[/B]
So I mixed 2.3.1 Kernel with Filesystem from 2.3... and my WiFi now detect devices + I am able to connect to hidden network.
I need something to install to check if connection is not fake... but for now this is more as 2.3.1
I will later compare...
If usr/apps is bigger difference... between 2.3 and 2.3.1...
Later more...
Best Regards
---------- Post added at 05:28 PM ---------- Previous post was at 04:37 PM ----------
Code:
2.3.1 WiFi not work
sh-4.1# cd usr
sh-4.1# ls
apps etc lib local sbin src tmp
bin games libexec opt share ssl ug
sh-4.1# cd apps
sh-4.1# ls
cert-svc-ui org.tizen.poweroff-syspopup
org.tizen.app-selector org.tizen.quickpanel
org.tizen.bluetooth-share-ui org.tizen.setting
org.tizen.bt-syspopup org.tizen.setting-location
org.tizen.calendar-notification org.tizen.system-signal-sender
org.tizen.crash-popup org.tizen.system-syspopup
org.tizen.crash-viewer org.tizen.task-mgr
org.tizen.data-provider-slave org.tizen.usb-syspopup
org.tizen.datausage-syspopup org.tizen.usbotg-syspopup
org.tizen.download-manager org.tizen.volume
org.tizen.gps-syspopup org.tizen.wallpaper-ui-service-lite
org.tizen.host-devices org.tizen.widget_viewer_sdk
org.tizen.indicator org.tizen.wifi-direct-popup
org.tizen.installer setting-myaccount-efl
org.tizen.lockscreen setting-wifidirect-efl
org.tizen.lowbat-syspopup smartcard-service-server
org.tizen.lowmem-syspopup ug-bluetooth-efl
org.tizen.menu-screen ug-isfsetting-efl
org.tizen.mmc-syspopup ug-setting-mobileap-efl
org.tizen.mode-syspopup wifi-efl-ug
org.tizen.policy
----------------
2.3 WiFi work for me
sh-4.1# ls
cert-svc-ui org.tizen.policy
livebox.web-provider org.tizen.poweroff-syspopup
org.tizen.app-selector org.tizen.quickpanel
org.tizen.bluetooth-share-ui org.tizen.setting
org.tizen.bt-syspopup org.tizen.setting-location
org.tizen.calendar-notification org.tizen.system-signal-sender
org.tizen.crash-popup org.tizen.system-syspopup
org.tizen.crash-viewer org.tizen.task-mgr
org.tizen.data-provider-slave org.tizen.usb-syspopup
org.tizen.datausage-syspopup org.tizen.usbotg-syspopup
org.tizen.download-manager org.tizen.volume
org.tizen.gps-syspopup org.tizen.wallpaper-ui-service-lite
org.tizen.host-devices org.tizen.wifi-direct-popup
org.tizen.indicator setting-myaccount-efl
org.tizen.installer setting-wifidirect-efl
org.tizen.lockscreen smartcard-service-server
org.tizen.lowbat-syspopup ug-bluetooth-efl
org.tizen.lowmem-syspopup ug-isfsetting-efl
org.tizen.menu-screen ug-setting-mobileap-efl
org.tizen.mmc-syspopup wifi-efl-ug
org.tizen.mode-syspopup
sh-4.1# launch_app wifi-efl-ug
... successfully launched
sh-4.1# cd wifi-efl-ug
sh-4.1# ls
bin lib res shared
sh-4.1# cd bin
sh-4.1# ls
wifi-efl-UG
Will try to concentrate on wifi-efl-ug...
Will try to dump both folders from 2.3 and 2.3.1 and compare...
Will also better sort, seems more apps installed...
Best Regards
Pulled from working 2.3 filesystem...
Now I have flashed back to 2.3.1...
Need some time to check content... compare and so on...
Added WiFifrom231rdPQ.rar from 2.3.1 filesystem... NOT work for me.
Short compared and I can see major differences...
Code:
rm -r wifi-efl-ug
Delete in shell work... so I will try to replace folder with content of 2.3...
Later more...
Thanx for this info via PM...
But I can't try self as stupid me killed my RD-PQ...
But maybe someone else find this info usefull...
nice user said:
...I know how to fix the wifi connection on Tizen 2.3 and 2.3.1 for a RD-PQ device. The problem is that some links in the os are not properly created.
Basically you need to install the usleep package (https://download.tizen.org/releases...rmv7l/packages/armv7l/usleep-1-5.2.armv7l.rpm), it's for Tizen 2.2.1, but it does work for 2.3 and 2.3.1. After that, create two links that the wlan.sh shell script is expecting, and are not in the proper location.
ln -s /usr/sbin/modprobe /sbin/modprobe
ln -s /usr/sbin/rmmod /sbin/rmmod
Or, alternatively, you can pull the /usr/bin/wlan.sh file via sdb pull, change the /sbin/modprobe and /sbin/rmmod lines to /usr/sbin/modprobe and /usr/sbin/rmmod.
After doing that, from the phone, open Wifi and clicking on the green button will activate the wifi correctly and you will be able to connect to any wifi hotspot.
You can skip using the ui and perform the following commands :
/usr/bin/wlan.sh start
this will activate the wlan0 interface, which you can check by issuing a ifconfig command.
/usr/sbin/wpa_supp.sh start
this will start wpa supplicant.
Check if connmand is running (ps -ax and check the list), if not, you need to do :
systemctl start connman
systemctl enable connman
Click to expand...
Click to collapse
Thank you very much for this hint. :good:
Best Regards