Hi guys,
Here is a tutorial to get OpenVPN working on a p500 with mik's 6.5.7 (latest stable release). This works.
how to get OpenVPN configured, running, and connected:
required: config files from your openvpn server (eg.. ca.crt, ca.key, etc) located in /sdcard/openvpn
Create symlinks to ifconfig and route
open SSHdroid (or adb, terminal emulator, etc.)
type this:
su (press enter adn this will prompt for root access just grant)
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
chmod 700 /system/xbin/openvpn
mkdir /system/xbin/bb
busybox ln -s /system/xbin/busybox /system/xbin/bb/ifconfig
busybox ln -s /system/xbin/busybox /system/xbin/bb/route
reboot
Download OpenVPN Installer from the Market
when installing choose:
/system/xbin
and then
/system/xbin/bb
Copy your client config files from your VPN server to:
/sdcard/openvpn
then
cd /sdcard/openvpn
chmod 755 *
Download and install OpenVPN Settings from the Market
press Menu button
>Advanced
>TUN module settings
Set "Load module using" to insmod.
Set "Path to tun module" to /system/lib/modules/tun.ko
Reboot your phone and open OpenVPN Settings.
checkbox the 1st option to turn on OpenVPN
checkbox the second option to connect
Bump
Any help? I am so close!
[SOLVED]
Turns out that I had to add this rule in iptables on my server. Although openvpn was working from my pc (on limited ports) it would not work at all with my phone. The fix was:
iptables -t nat -A POSTROUTING -j SNAT --to-source [ip of server]
sed -i 's/eth0/venet0/g' /etc/sysconfig/iptables
/etc/init.d/iptables save
Hi everyone,
This is my first post, I thought I contribute something, hopefully everyone finds this useful.
After looking around for hours and hours on how to remove built in apps I have found the safest way to remove built in apps using cmd prompt, all credits goes qiuness
1. Rooted EVO 3D.
2. Download the adb tool to use with cmd prompt (attached below)
3. Extract the tool to drive c: and name the folder whatever you like I called it “root” it’s easier to navigate to
4. Make sure phone is in USB debugging mode go to SETTINGS -> PROGRAMS -> DEVELOPMENT -> activate USB Debugging
5. Open cmd prompt with administrator privilege and use the following cmd
a. cd c:\root
b. adb shell
c. su
d. cd /system/app
e. mount -o rw,remount /system
f. pm list packages –f (this will list all the appz installed on you devices)
g. rm –r /system/app/appname.apk (this will uninstall the app safely)
h. example rm -r /system/app/Flickr.apk
The apps that I have removed
# rm -r /system/app/HtcFacebook.apk
# rm -r /system/app/com.htc.Twitter3DWidget.apk
# rm -r /system/app/HtcNavigateWidget3d.apk
# rm -r /system/app/com.htc.FriendStream3DWidget.apk
# rm -r /system/app/picasapryramid.apk
# rm -r /system/app/HtcGreaderWidget.apk
# rm -r /system/app/teeter.apk=com
# rm -r /system/app/teeter.apk
# rm -r /system/app/HtcGreader.apk
# rm -r /system/app/MagicSmokeWallpapers.apk
# rm -r /system/app/MagicSmokeWallpapers.apk
# rm -r /system/app/teeter.apk
# rm -r /system/app/HtcGreader.apk
# rm -r /system/app/MagicSmokeWallpapers.apk
# rm -r /system/app/MagicSmokeWallpapers.apk
# rm -r /system/app/Mode10Wallpapers.apk
# rm -r /system/app/HtcTwitter.apk=com
# rm -r /system/app/HtcTwitter.apk
# rm -r /system/app/LiveWallpapers.apk
# rm -r /system/app/MyShelf_Widget.apk
# rm -r /system/app/HTCCamera.apk
# rm -r /system/app/FriendStream.apk
# rm -r /system/app/HTCLivewallpaperStreak.apk
Easy way to open a command prompt from this folder is to hold shift and right click. Choose open command prompt here
Sent from my PG86100 using xda premium
Or you can just use titanium backup to do it. It's much simpler. Nice write-up though.
ssojyeti2 said:
Or you can just use titanium backup to do it. It's much simpler. Nice write-up though.
Click to expand...
Click to collapse
Or root explorer but I agree, it is a nice write up & 1st post.
Sent from my PG86100 using xda premium
Not bad for your first post in the EVO 3D section. Keep it up.
Is it possible to do the AdHoc modification on a rooted HD/HD+ as documented in the below thread...
[FIX] adhoc wifi Nook Tablet 0.6.10 tiwlan0
Or will it cause the bootloop/reformat issue?
PokrTom
Unfortunately, the answer is no.
After waiting for an answer from those who had more knowledge then myself I decided to make myself the Guinean pig, Did a Timbuktu backup and made the mod, rebooted and watched my Nook reboot eight times and reformat.
So the short answer, at least for now, is no.
Which sucks because I make a regular use of using my phone for net use, so I hope something comes along soon.
Interim fix?
I tried seeing if there might be an interim fix option and I am hoping there is someone with more expertise that might be able to help me here.
Here is my thought.
When a user wants to use An Ad-Hoc connection they would execute a script like the below...
Code:
mount -o remount,rw /system
chmod 777 /system/bin/wpa_supplicant
cp /system/bin/wpa_supplicant /mnt/sdcard/mods/wpa_supplicant.nookhd
cp /mnt/sdcard/mods/wpa_supplicant.omap4.adhocfix /system/bin/wpa_supplicant
chown root /system/bin/wpa_supplicant
chmod 755 /system/bin/wpa_supplicant
mount -o remount,ro /system
When they were finished they would then have to run a clean up script like this...
Code:
mount -o remount,rw /system
chmod 777 /system/bin/wpa_supplicant
cp /mnt/sdcard/mods/wpa_supplicant.nookhd /system/bin/wpa_supplicant
chown root /system/bin/wpa_supplicant
chmod 755 /system/bin/wpa_supplicant
mount -o remount,ro /system
I used G-Script for the above steps for ease of use.
Obviously, they could not reboot while utilizing Ad-Hoc
Whats needed is the wpa_supplicant file to use for the fix. The one utilized by the Nook Tablet above does not work. The process itself has promise as I have tried it and while I could not get it to work, it did put the wpa_supplicant file to use and it did not reformat my device after I power cycled my device.
Hi everyone
I am trying to run a script on my android that extracts asec files back to apk's on my phone. The scripts works fine when i put in every line manually into terminal though obviously that is a pain in the ass. So i put it into a .sh file and put the .sh file in system root for ease of execution..
i then do:
su
sh deasec.sh
though it returns:
unexpected syntax error: do
can someone tell me what i am doing wrong? - thank you kindly! (will press thanks!)
Code is below
Code:
#!/system/xbin/sh
LD_LIBRARY_PATH="/system/lib"
PATH="/system/xbin:/system/sbin:/system/bin"
for ASEC in $(find /data/app-asec/ -name '*.asec')
do
echo "Deasec $ASEC"
PKG=$(basename $ASEC|cut -d'-' -f1)
echo "Package name $PKG"
if [ -d /mnt/asec/$PKG*/lib ]
then
echo "Relocate libs"
find /data/data/$PKG/ -type l -name lib -exec rm {} \;
cp -r /mnt/asec/$PKG*/lib /data/data/$PKG/
echo "Fix libs permissions"
chown -R system:system /data/data/$PKG/lib
chmod -R 755 /data/data/$PKG/lib
fi
APK=$(pm path $PKG|cut -d':' -f2)
echo "APK location $APK"
cp $APK /data/local/tmp/pkg.apk
chmod 644 /data/local/tmp/pkg.apk
pm install -r -f /data/local/tmp/pkg.apk && rm /data/local/tmp/pkg.apk
done
Have you done the script under Windows, you don't? You need to write the script under Linux. You can also write the script directly in your phone:
Open Terminal Emulator, and write the lines one by one this way:
Code:
echo line1 >> /sdcard/script.sh
echo line2 >> /sdcard/script.sh
echo line3 >> /sdcard/script.sh
...
Then move the script to its final location, and give it permissions (if needed).
nice one mate Thankyou
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
PAC-man ROM is a combination of the three Super ROMs Available
Paranoid + Aokp + Cyanogen = PACman
This ROM packs all the tweaks from the three super ROMs into one.
Why Choose Among ROMs , When You have All-In-One !!
WHAT WAS CHANGED / ADDED (THANKS TO ANTONX & MATEO1111):
Code:
- [B][COLOR="Red"]disabled internal sdcard emulation[/COLOR][/B] - more info [[url="http://forum.xda-developers.com/showpost.php?p=43382611&postcount=2"]here[/url]] (Thanks to [url=http://forum.xda-developers.com/member.php?u=360947]AntonX[/url])
- Added "Advanced Settings" to control frequencies
[i](they are changing to default on reboot! need to work on it..)[/i]
- Increased microphone volume
- Decreased headphone volume a bit
- Fixed Wi-Fi battery draining
- CPU OC/UV (added 200 MHz, 1200 MHz, 1350 MHz frequencies)
- Maximum screen-off CPU frequency (can be selected in Advanced settings)
- GPU OC (up to 384 MHz), IVA OC (up to 430 MHz)
- Changed default I/O to NOOP
- Added I/O scheduler - SIO
- Added CPU Governor - SmartassV2
CHANGELOG:
8/15/2013 - initial release - wifi is borked for now, looking for a fix
8/17/2013 - update - Updated to latest base and port roms, WiFi Fix available
8/27/2013 - update - Updated to latest base and port roms, WiFi fix integrated as init.d script thanks to @kuma82
Click to expand...
Click to collapse
HOW TO INSTALL:
Code:
* Download the Rom and Gapps
* Reboot to Recovery
* Wipe data/factory reset
* Flash the ROM and then Gapps
* Reboot your phone
* Enjoy
HOW TO UPDATE:
Code:
* Download the latest version
* Reboot to Recovery
* Wipe dalvik cache and cache
* Flash the Rom
* Reboot your phone
* And enjoy the latest version of PAC
DOWNLOADS
Code:
[B]ROM[/B]
Mirror #1: [url="http://d-h.st/9ju"]dev-host[/url] (please use this one, so I can keep count of downloads)
Mirror #2: [URL="https://mega.co.nz/#!WF1GDKpZ!MyGNLRVwyqyisD5A92pt0WnDpdVsaNVixC9Uls7Jc8M"]mega[/URL] (this one is the first rom, I need to have this mirror updated)
[B]Google Apps[/B]: [[url="http://slimroms.net/index.php/downloads/dlsearch/viewdownload/383-addons/4515-slim-gapps-4-2-2-build-8"]SlimBean Gapps[/url]] (they are compatible with "dark mode")
Credits
Code:
* [URL="http://www.cyanogenmod.org/"][COLOR="Blue"]Cyanogen Team[/COLOR][/URL]
* [URL="http://aokp.co"][COLOR="Red"]AOKP Team[/COLOR][/URL]
* [URL="http://www.paranoid-rom.com/"][COLOR="Blue"]Paranoid Android[/COLOR][/URL]
* [URL="http://pac-rom.com/index.html"][COLOR="Red"]PAC-man Team [/COLOR][/URL]
* [url="http://forum.xda-developers.com/member.php?u=360947"][COLOR="Blue"]AntonX[/COLOR][/url] [I](I've used his epic CM10.1 rom as the base rom)[/I]
* [url="http://forum.xda-developers.com/member.php?u=3430186"][COLOR="Red"]mateo1111[/COLOR][/url] [I](I've used his godly PACrom JB as the port rom)[/I]
* [url="http://forum.xda-developers.com/member.php?u=4730658"][COLOR="Blue"]carloswii5[/COLOR][/url] [I](for helping me test out the rom)[/I]
* [url="http://forum.xda-developers.com/member.php?u=4056938"][COLOR="Red"]elpuertorro[/COLOR][/url] [I](for the mega download link mirrors)[/I]
* [url="http://forum.xda-developers.com/member.php?u=4447066"][COLOR="Blue"]kuma82[/COLOR][/url] [I](for the WiFi fix init.d script)[/I]
* [url="http://forum.xda-developers.com/member.php?u=2159458"][COLOR="Red"]Lelus[/COLOR][/url] [I](for helping me unlock my bootloader and for discovery the WiFi MAC Address spoof tweaks that made WiFi work again)[/I]
WiFi Fix + Other Tweaks
- WiFi Fix!! - all thanks to:
> carloswii5: for finding the problem & solution
> kuma82: for creating the WiFi fix
Download here
- Instructions -
kuma82 said:
Okay guys and hopefully girls
Here is a temporarily fix for those starting out on C.M.
I made two scripts, sorry I'm not good enough to make a flashable.zip but this will get the job done for those wanting to check it out and want wifi.
1. Download zip, and extract to the root of you sdcard (sdcard0)
Open a Terminal Emulator
and type
Code:
su
sh /sdcard/backupwifi.sh
You will get two errors, that's normal.
This is what backupwifi.sh is doing
#!/system/bin/sh
busybox mkdir /sdcard/KUMA
busybox cp -r /data/misc/wifi /sdcard/KUMA
Hopefully you don't have a folder on your sdcard with KUMA/wifi *lol (or this will not work right)
Reboot to recovery and do what leolawliet said
2. Once you have PAC up and running
Open a Terminal Emulator
and type
Code:
su
sh /sdcard/restorewifi.sh
#!/system/bin/sh
busybox mount -o remount, rw /system
busybox cp -r /sdcard/KUMA/wifi /data/misc/
chmod 644 /data/misc/wifi/config
chown root.root /data/misc/wifi/config
chmod 660 /data/misc/wifi/entropy.bin
chown system.wifi /data/misc/wifi/entropy.bin
chmod 666 /data/misc/wifi/fw_path
chown root.root /data/misc/wifi/fw_path
chmod 600 /data/misc/wifi/ipconfig.txt
chown system.system /data/misc/wifi/ipconfig.txt
chmod 660 /data/misc/wifi/macAddress
chown system.radio /data/misc/wifi/macAddress
chmod 771 /data/misc/wifi/softap
chown wifi.wifi /data/misc/wifi/softap
chmod 600 /data/misc/wifi/softap.conf
chown system.system /data/misc/wifi/softap.conf
chmod 770 /data/misc/wifi/wpa_supplicant
chown wifi.wifi /data/misc/wifi/wpa_supplicant
chmod 666 /data/misc/wifi/wpa_supplicant.conf
chown system.wifi /data/misc/wifi/wpa_supplicant.conf
Reboot and enjoy wifi Turn on wifi
Thanks for finding this Carloswii5
Click to expand...
Click to collapse
- build.prop tweaks -
## - Additional Tweaks - LeoLawliet - ##
## Graphic & Performance tweaks ##
# Graphic Tweaks
ro.product.gpu.driver=1
debug.gr.swapinterval=0
# GPU tweaks
com.qc.hardware=1
debug.composition.type=gpu
debug.egl.hw=1
debug.performance.tuning=1
debug.sf.hw=1
ro.sf.compbypass.enable=0
ro.config.disable.hw_accel=false
video.accelerate.hw=1
# 3D performance
persist.android.strictmode=0
ro.min_pointer_dur=1
ro.secure=0
# Enable hardware 3D
hw3d.force=1
# Fluid UI
persist.service.lgospd.enable=0
persist.service.pcsync.enable=0
# Enable harware egl profile
debug.egl.profiler=1
# Enable tile rendering
debug.enabletr=true
persist.sys.composition.type=gpu
# Graphics Enhancement
#Raise photo and video recording quality
ro.media.enc.hprof.vid.bps=8000000
ro.media.enc.hprof.vid.fps=75
#Raise JPG quality to 100%
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
ro.media.dec.aud.wma.enabled=1
ro.media.dec.vid.wmv.enabled=1
ro.media.cam.preview.fps=75
ro.media.codec_priority_for_thumb=so
# Better Video/Audio Streaming
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=false
media.stagefright.enable-http=true
media.stagefright.enable-record=true
## Phone/Network Tweaks
# Telephone Tweaks
ro.telephony.call_ring.delay=0
ro.lge.proximity.delay=25
mot.proximity.delay=25
ro.config.vc_call_steps=20
# Calling Tweaks
ro.ril.hsxpa=2
ro.ril.gprsclass=10
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=10
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=5
# Google DNS
net.dns1=8.8.8.8
net.dns2=8.8.4.4
net.rmnet0.dns1=8.8.8.8
net.rmnet0.dns2=8.8.4.4
# Networking Tweaks
net.ipv4.ip_no_pmtu_disc=0
net.ipv4.route.flush=1
net.ipv4.tcp_ecn=0
net.ipv4.tcp_fack=1
net.ipv4.tcp_mem=187000 187000 187000
net.ipv4.tcp_moderate_rcvbuf=1
net.ipv4.tcp_no_metrics_save=1
net.ipv4.tcp_rfc1337=1
net.ipv4.tcp_rmem=4096 39000 187000
net.ipv4.tcp_sack=1
net.ipv4.tcp_timestamps=1
net.ipv4.tcp_window_scaling=1
net.ipv4.tcp_wmem=4096 39000 187000
net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960
## Improvements ##
# Better in call voice quality
ro.ril.enable.amr.wideband=1
# Faster boot
persist.sys.shutdown.mode=hibernate
ro.config.hw_fast_dormancy=1
ro.config.hw_quickpoweron=true
# Better scrolling responsiveness
windowsmgr.max_events_per_sec=250
ro.max.fling_velocity=20000
ro.min.fling_velocity=15000
# Touchscreen responsiveness
touch.presure.scale=0.001
# No ringtone delay
ro.telephony.call_ring.delay=0
## Battery Tweaks ##
# Save power in sleep mode
ro.ril.disable.power.collapse=1
pm.sleep_mode=1
# Better battery life
ro.config.hw_fast_dormancy=1
ro.config.hw_power_saving=true
# WiFi scan interval (higher number means less scan cycles, thus saving battery)
wifi.supplicant_scan_interval=180
# Ram Tweaks
persist.sys.purgeable_assets=1
# SuperCharger Installation Marker #
Sent from my LG-P769 running PACrom JB using Tapatalk 2
Downloads/Misc.
- PACrom JB 4.2.2 Downloads -
8/15/2013
8/17/2013
8/27/2013
- My Other Mods -
PenberRom4 (PACrom JB 4.2.2 with my tweaks + mods)
PenberRom5 (PACrom JB 4.3 with my tweaks + mods)
Sent from my LG-P769 running PACrom JB using Tapatalk 2
WiFi scans but doesn't connect, I don't know what the cause is but I'll attempt to rebuild with the latest ROMs tonight.
Sent from my LG-P769 running PACrom JB using Tapatalk 2
Merging the epic work antons done with pacman would be awesome if it works well. Get everything running and I'll slap it on my p769 and give it a whirl.
Sent from my LG-P769 using xda premium
Thank you for porting this ROM. The p769 needed more custom ROM love
Sent from my LG-P769 using xda app-developers app
Very cool thanks for your work Leolawliet
can this rom supports app2sd? thanks!
mrjadd5 said:
can this rom supports app2sd? thanks!
Click to expand...
Click to collapse
I believe this rom is based off AntonXs kernel, so yes it should be able to move apps to the SD card.
mrjadd5 said:
can this rom supports app2sd? thanks!
Click to expand...
Click to collapse
Pisherthefisher is right
pisherthefisher said:
I believe this rom is based off AntonXs kernel, so yes it should be able to move apps to the SD card.
Click to expand...
Click to collapse
Yep
Sent from my LG-P769 running PACrom JB using Tapatalk 2
Okay so @carloswii5 has figured out why WiFi isn't connecting, I'll quote his findings:
Ok So its a confirmation because of the mac adress its not connecting to wifi, i got the wifi for your rom to connect to a network by navigating to /data/misc/wifi/(.....) and theres the mac adress file and other files what i did was get the following files from antons rom "config" "entropy.bin" "fw_path" "ipconfig.txt" "macadress" "softap.conf" "wpa_supplicant.conf" but i know that not everyone can do that manually... also i noticed the rom creates all the files but doesnt put the correct values example the mac adress ill ask around...
Click to expand...
Click to collapse
If anyone knows how to resolve this and would like to lend a helping hand I'd really appreciate whatever help I can get and you'd be doing us all a huge favor. This is the only real issue with the rom, everything else works.
Mirror to help out
https://mega.co.nz/#!WF1GDKpZ!MyGNLRVwyqyisD5A92pt0WnDpdVsaNVixC9Uls7Jc8M
MD5: 3230fd96940ba5c5ac5639cb199a4fa2
elpuertorro said:
Mirror to help out
https://mega.co.nz/#!WF1GDKpZ!MyGNLRVwyqyisD5A92pt0WnDpdVsaNVixC9Uls7Jc8M
MD5: 3230fd96940ba5c5ac5639cb199a4fa2
Click to expand...
Click to collapse
Thanks
leolawliet said:
Okay so @carloswii5 has figured out why WiFi isn't connecting, I'll quote his findings:
If anyone knows how to resolve this and would like to lend a helping hand I'd really appreciate whatever help I can get and you'd be doing us all a huge favor. This is the only real issue with the rom, everything else works.
Click to expand...
Click to collapse
maybe some type of flashable fix or a script that can be ran to replace the files? just an idea..
I thought about that, I'll see what I can do.
Sent from my Pokédex
leolawliet said:
I thought about that, I'll see what I can do.
Sent from my Pokédex
Click to expand...
Click to collapse
Okay guys and hopefully girls
Here is a temporarily fix for those starting out on C.M.
I made two scripts, sorry I'm not good enough to make a flashable.zip but this will get the job done for those wanting to check it out and want wifi.
1. Download zip, and extract to the root of you sdcard (sdcard0)
Open a Terminal Emulator
and type
Code:
su
sh /sdcard/backupwifi.sh
You will get two errors, that's normal.
This is what backupwifi.sh is doing
#!/system/bin/sh
busybox mkdir /sdcard/KUMA
busybox cp -r /data/misc/wifi /sdcard/KUMA
Hopefully you don't have a folder on your sdcard with KUMA/wifi lol (or this will not work right)
Reboot to recovery and do what leolawliet said
2. Once you have PAC up and running
Open a Terminal Emulator
and type
Code:
su
sh /sdcard/restorewifi.sh
#!/system/bin/sh
busybox mount -o remount, rw /system
busybox cp -r /sdcard/KUMA/wifi /data/misc/
chmod 644 /data/misc/wifi/config
chown root.root /data/misc/wifi/config
chmod 660 /data/misc/wifi/entropy.bin
chown system.wifi /data/misc/wifi/entropy.bin
chmod 666 /data/misc/wifi/fw_path
chown root.root /data/misc/wifi/fw_path
chmod 600 /data/misc/wifi/ipconfig.txt
chown system.system /data/misc/wifi/ipconfig.txt
chmod 660 /data/misc/wifi/macAddress
chown system.radio /data/misc/wifi/macAddress
chmod 771 /data/misc/wifi/softap
chown wifi.wifi /data/misc/wifi/softap
chmod 600 /data/misc/wifi/softap.conf
chown system.system /data/misc/wifi/softap.conf
chmod 770 /data/misc/wifi/wpa_supplicant
chown wifi.wifi /data/misc/wifi/wpa_supplicant
chmod 666 /data/misc/wifi/wpa_supplicant.conf
chown system.wifi /data/misc/wifi/wpa_supplicant.conf
Reboot and enjoy wifi A reboot is not needed, just turn on WiFi.
Thanks for finding this Carloswii5
kuma82 said:
Okay guys and hopefully girls
Here is a temporarily fix for those starting out on C.M.
I made two scripts, sorry I'm not good enough to make a flashable.zip but this will get the job done for those wanting to check it out and want wifi.
1. Download zip, and extract to the root of you sdcard (sdcard0)
Open a Terminal Emulator
and type
Code:
su
sh /sdcard/backupwifi.sh
You will get two errors, that's normal.
This is what backupwifi.sh is doing
#!/system/bin/sh
busybox mkdir /sdcard/KUMA
busybox cp -r /data/misc/wifi /sdcard/KUMA
Hopefully you don't have a folder on your sdcard with KUMA/wifi lol (or this will not work right)
Reboot to recovery and do what leolawliet said
2. Once you have PAC up and running
Open a Terminal Emulator
and type
Code:
su
sh /sdcard/restorewifi.sh
#!/system/bin/sh
busybox mount -o remount, rw /system
busybox cp -r /sdcard/KUMA/wifi /data/misc/
chmod 644 /data/misc/wifi/config
chown root.root /data/misc/wifi/config
chmod 660 /data/misc/wifi/entropy.bin
chown system.wifi /data/misc/wifi/entropy.bin
chmod 666 /data/misc/wifi/fw_path
chown root.root /data/misc/wifi/fw_path
chmod 600 /data/misc/wifi/ipconfig.txt
chown system.system /data/misc/wifi/ipconfig.txt
chmod 660 /data/misc/wifi/macAddress
chown system.radio /data/misc/wifi/macAddress
chmod 771 /data/misc/wifi/softap
chown wifi.wifi /data/misc/wifi/softap
chmod 600 /data/misc/wifi/softap.conf
chown system.system /data/misc/wifi/softap.conf
chmod 770 /data/misc/wifi/wpa_supplicant
chown wifi.wifi /data/misc/wifi/wpa_supplicant
chmod 666 /data/misc/wifi/wpa_supplicant.conf
chown system.wifi /data/misc/wifi/wpa_supplicant.conf
Reboot and enjoy wifi Turn on wifi
Thanks for finding this Carloswii5
Click to expand...
Click to collapse
Awesome thanks dude, this will be added to the OP tonight
Sent from my Pokédex
I'm glad there's ROM Development for the P769. But I really do feel bad for the developers/porters/modders, because the locked bootloader has really thrown away much of the attention that the US variant deserves.
Great job, and thank you for not giving up on an amazing phone when most others did.
kuma82 said:
Okay guys and hopefully girls
Here is a temporarily fix for those starting out on C.M.
I made two scripts, sorry I'm not good enough to make a flashable.zip but this will get the job done for those wanting to check it out and want wifi.
1. Download zip, and extract to the root of you sdcard (sdcard0)
Open a Terminal Emulator
and type
Code:
su
sh /sdcard/backupwifi.sh
You will get two errors, that's normal.
This is what backupwifi.sh is doing
#!/system/bin/sh
busybox mkdir /sdcard/KUMA
busybox cp -r /data/misc/wifi /sdcard/KUMA
Hopefully you don't have a folder on your sdcard with KUMA/wifi lol (or this will not work right)
Reboot to recovery and do what leolawliet said
2. Once you have PAC up and running
Open a Terminal Emulator
and type
Code:
su
sh /sdcard/restorewifi.sh
#!/system/bin/sh
busybox mount -o remount, rw /system
busybox cp -r /sdcard/KUMA/wifi /data/misc/
chmod 644 /data/misc/wifi/config
chown root.root /data/misc/wifi/config
chmod 660 /data/misc/wifi/entropy.bin
chown system.wifi /data/misc/wifi/entropy.bin
chmod 666 /data/misc/wifi/fw_path
chown root.root /data/misc/wifi/fw_path
chmod 600 /data/misc/wifi/ipconfig.txt
chown system.system /data/misc/wifi/ipconfig.txt
chmod 660 /data/misc/wifi/macAddress
chown system.radio /data/misc/wifi/macAddress
chmod 771 /data/misc/wifi/softap
chown wifi.wifi /data/misc/wifi/softap
chmod 600 /data/misc/wifi/softap.conf
chown system.system /data/misc/wifi/softap.conf
chmod 770 /data/misc/wifi/wpa_supplicant
chown wifi.wifi /data/misc/wifi/wpa_supplicant
chmod 666 /data/misc/wifi/wpa_supplicant.conf
chown system.wifi /data/misc/wifi/wpa_supplicant.conf
Reboot and enjoy wifi Turn on wifi
Thanks for finding this Carloswii5
Click to expand...
Click to collapse
That do you mean by "temporarily fix?" Will wifi stop working when you reboot the phone or something?
Will you integrate the wifi fix into the next build?
Sent from my LG-P769 using xda app-developers app