crutchcorn
Android Expert
Sweet thxRIL: Radio Interface Layer - Calls and etc
Yes i know
No NFC is not working at this moment.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sweet thxRIL: Radio Interface Layer - Calls and etc
Yes i know
No NFC is not working at this moment.

DATA FIX: open a new file name it net.sh
paste the following:
#!/system/bin/sh
IP=$(ip a sh dev rmnet0 | grep rmnet0$ | busybox awk '{print $2}' | busybox cut -d'/' -f1)
VALID_IP="$(echo $IP | busybox awk -F'.' '$1 <=255 && $2 <= 255 && $3 <= 255 && $4 <= 255')"
if [ -z "$VALID_IP" ] ; then
echo "The IP address isn't valid"
else
echo "The IP address is valid: $IP"
ip r add default via $IP table rmnet0 && echo -n "Route added. Testing routing... "
if [ "$(ping -c 1 4.2.2.1 | grep icmp* | busybox wc -l)" -eq "1" ] ; then
echo "OK."
exit 0
else
echo "KO."
exit 1
fi
fi
save it.
open terminal emulator
cd/<the directory where you saved your file>
su
sh net.sh
![]()
Ok it's workingblablaba
![]()
But, you need to execute everytime when you turn on mobile data... 
I don't think so, give it a tryWill this work for d325? Do I need to change anything?

That's right, but my friend said that he would tell me an easier but basically the same method tomorrowOk it's workingBut, you need to execute everytime when you turn on mobile data...
![]()



That's right, but my friend said that he would tell me an easier but basically the same method tomorrow![]()
you save my time 
after a partition that I had done in sdcard even after I left all standard still persists these errors ..
Not starting? Wipe data/factory reset and rebootCyanogenmod 12 is not starting, left more than 40 minutes and nothing....
Still persistsFirst to be make sure you're using d320 right?
if yes then kdz it to the beginning.... root, unlock bl, install cwm, then try again it will sure work![]()
I already use the cwm, even with the factory format and wipe the error persists, I also root User, my device is the d325Not starting? Wipe data/factory reset and reboot
ERROR: syntax error: 'fi' unexpectedDATA FIX: open a new file name it net.sh
paste the following:
#!/system/bin/sh
IP=$(ip a sh dev rmnet0 | grep rmnet0$ | busybox awk '{print $2}' | busybox cut -d'/' -f1)
VALID_IP="$(echo $IP | busybox awk -F'.' '$1 <=255 && $2 <= 255 && $3 <= 255 && $4 <= 255')"
if [ -z "$VALID_IP" ] ; then
echo "The IP address isn't valid"
else
echo "The IP address is valid: $IP"
ip r add default via $IP table rmnet0 && echo -n "Route added. Testing routing... "
if [ "$(ping -c 1 4.2.2.1 | grep icmp* | busybox wc -l)" -eq "1" ] ; then
echo "OK."
exit 0
else
echo "KO."
exit 1
fi
fi
save it.
open terminal emulator
cd/<the directory where you saved your file>
su
sh net.sh
![]()
But there are two "fi" at the bottom should i add another one?Add fi to bottom...
YesBut there are two "fi" at the bottom should i add another one?
)