• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root CM 11 lg d320n

Status
Not open for further replies.
BUG: camera isn't working. It takes the photo, doesn't save it then it freezes. I have to reboot in order to don't get the cannot connect to the camera message. How to fix it??? How to save pictures to ext sd?
BUG#2: data isn't working. maybe I'll try the fix that made for the Xperia SP......
 
That lollipop build is amazing and looks like it works to perfection with no problems. Maslovicz would you mind helping me port it to my device D321. I'm going to try to build a recovery.
 
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
:)
 
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
:)

Will this work for d325? Do I need to change anything?
 
Cyanogenmod 12 is not starting, left more than 40 minutes and nothing.
and the CyanogenMod 11 of nowhere stopped detect internal memory and the wifi does not work or simcard detection. could someone help me? did all shown methods. I do not know what to do :( after a partition that I had done in sdcard even after I left all standard still persists these errors ..

-------------------------------------------------------------------------------------------------------
before work normal to cm11 only the camera and the flash of her that did not work otherwise all normal, until I arranged to have more internal memory using Xposed, with xinternalsd module that is excellent
 
First 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 just flashed the stock ROM, and continues all normal when the place, the internal memory and etc .. now still do not know why the CM12 does not start when I put
-------------------------------------------------------------------------------------
will be what is due to me for the internal memory and install the CM12 for it?
 
You have D325? Dual? This rom is for D325 and D320n
I dont know why you have this probles. When i restore my backup, CM11 working perfectly...
 
can anyone tell me how to install step by step CM12? I just did the format and wipes, then installed the rom after the gapps and restarted
 
Last edited:
I think already know because of my problem, I think my cwm not properly format causing the rom does not start for lack of space, had this estimate to see a comment saying the rom that comes with only 200 MB of free memory
 
Last edited:
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
:)
ERROR: syntax error: 'fi' unexpected
this error apears in terminal emulator when i put "sh net.sh"
 
Status
Not open for further replies.
Back
Top Bottom