[GUIDE][ICS/GB/CM7/PORT] 3G/Network Fixing Explaination - LG Optimus Black

This guide is applicable on all LG devices since RIL libs are almost same..
I explain whatever I know, if u know something help me enhance this guide..
These are HW specific LG RIL libs for:
system/lib/libril.so
system/lib/lge-ril.so
system/lib/libreference-ril.so
system/lib/libini.so
Bin file for data:
system/bin/init.vsnet
MODEM:
system/bin/rild
Point-to-point protocol:
system/etc/ppp/ip-up-vpn
system/bin/pppd
Configs:
system/etc/ipc_channels.config
/dev/ttyspi0 directs here...
responsible for all communications
Carrier ports:
system/etc/apns-conf
Traffic control:
system/xbin/tcpdump
Permission:
system/etc/permissions/android.hardware.telephony.gsm
I suggest you delete the entire folder and copy from CM7
Still related issues ?
use correct files:
system/bin/ip
system/bin/ip6tables
system/bin/iptables
system/bin/radiooptions
Grant permissions if needed...
example:
Code:
$ ls -l /system/bin/ip
-rwsr-sr-x root inet 134872 2008-08-01 7:00 ip
Some guys say this guide is fake or don't work..
I can only laugh at them they just don't work with dedication..
Click to expand...
Click to collapse
Use the correct files for proper fix don't blame me for any damages or failure..
If I helped you....
acknowledge

add this > init.rc
Code:
socket dnsproxyd stream 0660 root inet
add this > build.prop
Better reception:
Code:
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
Network buffer tweaks:
Code:
net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,163 84,256960
init.rc
For MODEM 3G Fix:
Code:
service ril-daemon /system/bin/rild
socket rild stream 660 root radio
socket rild-debug stream 660 radio system
user root
group radio cache inet misc audio sdcard_rw net_admin net_raw
Change to...
Code:
service ril-daemon /system/bin/rild
class main
socket rild stream 660 root radio
socket rild-debug stream 660 radio system
user root
group radio cache inet misc audio sdcard_rw log

One last thing....
I use latest CM7 kernel....
I dont know whats inside other kernels & certainly I dont know about your IQs
More guides coming soon....

The dream of want to use your 4.0

So, will you be releasing a new Rom anytime soon? Looking forward to it. You could give us a beta, even if it is not perfect.
Sent from my LG-P970 using XDA

darkhokage said:
So, will you be releasing a new Rom anytime soon? Looking forward to it. You could give us a beta, even if it is not perfect.
Sent from my LG-P970 using XDA
Click to expand...
Click to collapse
He has also a real life (he has exams
Sent from my LG-P970 using Tapatalk

meddistar said:
He has also a real life (he has exams
Sent from my LG-P970 using Tapatalk
Click to expand...
Click to collapse
I have exams too. I am sorry if I upset you. I just got a little too excited with all the ICS goodness. Will be waiting patiently
Sent from my LG-P970 using XDA

nice guide

Pls creat video how to make!
Sent from my LG-P970 using xda premium

darkhokage said:
I have exams too. I am sorry if I upset you. I just got a little too excited with all the ICS goodness. Will be waiting patiently
Sent from my LG-P970 using XDA
Click to expand...
Click to collapse
haha, same problem here.

thanks!!

Its possivel to make this fix flashable?

2g/3g not work I'm eager to use this ICS can you help us ? update zip ?

DaYu said:
2g/3g not work I'm eager to use this ICS can you help us ? update zip ?
Click to expand...
Click to collapse
same for me,nothing change

if you using ku 5900...
Warning-
IF You using KU5900 in korea, DO NOT USE THIS WAY.
if you do this guide, your devices may eat blocks.

Croid Kang said:
Warning-
IF You using KU5900 in korea, DO NOT USE THIS WAY.
if you do this guide, your devices may eat blocks.
Click to expand...
Click to collapse
This aint working for any one bro...

cloud not 3g
help me, rom s4 could not 3g, please help

Related

[REQ] Mur4ik - Edit MTU in Kernel | MTU Help?

Hey Again
Now that I'm back home again , Had time to reinstall Ubuntu, Yesterday tried to port WildfireS from X8, But it completely screwed up, It wouldn't boot and ADB and DDMS Logcat wouldn't pick it up (Drivers are FULLY installed) Even on Windows. Don't know why,
But I was wondering if I'm going to stick with SwiftDroid I'd need to fix my MTU settings ... Does anyone know how to change MTU? I've used the kitchen to extract the rom, and all I can find to do with it is the 'netcfg' file, But can't open it? Anyone know how to open the file or change the MTU manually? it needs to be 1440 for my network
What is a MTU lol
Sent from my GT540 using XDA Premium App
Maximum Transmittion Rate;
It's basically how many bites are transmitted each time data is used. Android is Defaulted to 1500 , which means it's sending 1500 bytes each time and my network is only capable of 1440 which causes the data to have to be resent in a loop, I can only see the effects on GPRS which, On the Ards Peninsula is far too common.. No 3 HSDPA here, Only Orange GPRS and the other networks' GPRS , Apart from Vodafone, If I put my phone to the window I can get 3 bars of Vodafone HSDPA Good thing i'm in my contract untill 14th August unless I want to keep it and get another phone *doubt it* Whenever the ZTE Skate is released on Orange or whatever, I'll be getting it
oh i think that mur4ik will be the one that can set the mtu to the way you want it because it is a kernel driver that deals with speed setting for both wifi and data so i would pm him with the request before he releases his next update.
eoghan2t7 said:
oh i think that mur4ik will be the one that can set the mtu to the way you want it because it is a kernel driver that deals with speed setting for both wifi and data so i would pm him with the request before he releases his next update.
Click to expand...
Click to collapse
I can do it through Terminal Emulator in 2.1 using
Code:
ifconfig mtu 1440
but the ifconfig file isn't present from 2.2+
Copy the file from a 2.1 rom to swiftdroid
Edit ifconfig is in swiftdroid.
Sent from my GT540 using XDA Premium App
Do all files not need to be linked though? I think netcfg replaced it which doesn't let me do anything with it either
Not everything in rom needs to be linked, some libs is not linked, for example.
Wysłano z GT540 z użyciem Tapatalk
pebe94 said:
Not everything in rom needs to be linked, some libs is not linked, for example.
Wysłano z GT540 z użyciem Tapatalk
Click to expand...
Click to collapse
I think this one is because It controls all the networks like rmnet0 and wifi0 etc
And it would be there if it's that important, but google changed it for netcfg which I can't open with anything (it has no extension) and I've tried gedit and nOtepad+ but nothing
It is a binary ... so you should use sh ifconfig or ./ifconfig, when you current dir at shell is /system/bin. Also you should change permission to 777
Wysłano z GT540 z użyciem Tapatalk

[KernelModule] Overclock

**** Do Not Repost! Link back to this thread! ****
*** Update: This works on Thrill/Optimus 3D. There are seperate kernel modules for Froyo/GingerBread/CyanogenMod kernels***
Here ya go... I prefer this method rather than hard coding changes in the kernel. Assuming you have both kernel modules extracted to /sdcard
Switch to root
Code:
$ su
Copy files from sdcard to /system/lib/modules directory - You only do this once
Code:
# cp /sdcard/symsearch.ko /system/lib/modules/symsearch.ko
# cp /sdcard/opperator.ko /system/lib/modules/opperator.ko
Load modules, always do symsearch.ko first - You do this every time you reboot
Code:
# insmod /system/lib/modules/symsearch.ko
# insmod /system/lib/modules/opperator.ko
Set Frequency - You do this when you want to change frequency - in hz, that's 6 additions Zero's to make Mhz
Code:
# echo 1188000000 > /proc/opperator
This uses SYMSEARCH by Skrilax_CZ
https://github.com/SkrilaxCZ
Inspired by Milestone Overclock by Tiago Sousa, but totally rewritten for omap kernel 2.6.35-7 and above.
http://code.google.com/p/milestone-overclock/
This is a stripped down version. I'm working on a fully featured version, that will allow you to play with voltage as well. There are some hurdles to overcome before that is ready for prime time... In the mean time, lets see what stock voltage can do... 1188 is my sweet spot on stock voltage, what is yours? I get up to 1235 without reboots, or real noticeable lags but the linkpacks are all over the place, where it stays in the 80's at 1188. And remember, the number is in hz a.k.a. cycles per second, so to get Mhz, you must add 'Six Zeroes' to the end of your desired Mhz.
* Note2Devs: Feel free to put this in your ROM, but please do credit me for the Overclock in your release, and link back to this thread. You can also post a link to your ROM here as a way to make myself and other aware of it. Thanks...
* Echts shows us how he integrate's the module into his own ROM. TY, Echts...
http://forum.xda-developers.com/showpost.php?p=19542521&postcount=52
* Thanks to greenbats for helping figure out the O3D gingerbread kernel issue!
** And don't ask to put it in an app. I won't be happy about that. I'm serious! **
Here go some of my Recording Engineer work...
http://www.youtube.com/watch?v=Je8K_hCej3s
http://www.youtube.com/watch?v=yfBfcdSL1pc
http://www.youtube.com/watch?v=iIU8DO4rdKI
http://www.youtube.com/watch?v=msavF7LIdvY
Essentially, hardware wise, the Thrill has exactly the same specs as the Optimus 3D ? I mean, CPU wise.
It's the same hardware
omgomg said:
Essentially, hardware wise, the Thrill has exactly the same specs as the Optimus 3D ? I mean, CPU wise.
Click to expand...
Click to collapse
Yes, give this a go on the O3D, the module is actually compiled against the cyanogenmod cosmo kernel, which is really for the O3D. Should work.
for test \
How do I install this on the optimus 3D?
greenbat said:
How do I install this on the optimus 3D?
Click to expand...
Click to collapse
No real installing... It's just the modules... You can throw them in /system/lib/modules, and then use an init script to load them up, then set the frequency, but don't do that until you know what works *STABLE* for you.
If you have a favorite ROM, let the dev know about this, and maybe they'll integrate it.
I'm not sure if custom kernels like acurateam's might be too different to work properly at this point. But it won't hurt to try. Just don't start loading it at boot right away.
tekahuna said:
No real installing... It's just the modules... You can throw them in /system/lib/modules, and then use an init script to load them up, then set the frequency, but don't do that until you know what works *STABLE* for you.
If you have a favorite ROM, let the dev know about this, and maybe they'll integrate it.
I'm not sure if custom kernels like acurateam's might be too different to work properly at this point. But it won't hurt to try. Just don't start loading it at boot right away.
Click to expand...
Click to collapse
Thanx for your advice and Great find!!!
I have send your xda link to acura. Hopefully he can integrate it.
greenbat said:
Thanx for your advice and Great find!!!
I have send your xda link to acura. Hopefully he can integrate it.
Click to expand...
Click to collapse
I didn't find this. I made it! First OC'd OMAP4 period! Unless you count RAZR's... hah
Great invention
tekahuna said:
I didn't find this. I made it! First OC'd OMAP4 period! Unless you count RAZR's... hah
Click to expand...
Click to collapse
Great invention and congratulations!
Great job.... we use to use this type of script in motorola defy and moto bravo. It was easier with those because of the 2nd init recovery booting.
Sent from my LG-P925 using XDA App
tekahuna said:
**** Do Not Repost! Link back to this thread! ****
Here ya go... I prefer this method rather than hard coding changes in the kernel. Assuming you have both kernel modules extracted to /sdcard
Switch to root
Code:
$ su
Copy files from sdcard to /system/lib/modules directory - You only do this once
Code:
# cp /sdcard/symsearch.ko /system/lib/modules/symsearch.ko
# cp /sdcard/opperator.ko /system/lib/modules/opperator.ko
Load modules, always do symsearch.ko first - You do this every time you reboot
Code:
# insmod /system/lib/modules/symsearch.ko
# insmod /system/lib/modules/opperator.ko
Set Frequency - You do this when you want to change frequency - in hz, that's 6 additions Zero's to make Mhz
Code:
# echo 1188000000 > /proc/opperator
Is it possible for you to change this into a scriptmanager file?
Click to expand...
Click to collapse
Type this in scriptmanager shell.
greenbat said:
tekahuna said:
**** Do Not Repost! Link back to this thread! ****
Here ya go... I prefer this method rather than hard coding changes in the kernel. Assuming you have both kernel modules extracted to /sdcard
Switch to root
Code:
$ su
Copy files from sdcard to /system/lib/modules directory - You only do this once
Code:
# cp /sdcard/symsearch.ko /system/lib/modules/symsearch.ko
# cp /sdcard/opperator.ko /system/lib/modules/opperator.ko
Load modules, always do symsearch.ko first - You do this every time you reboot
Code:
# insmod /system/lib/modules/symsearch.ko
# insmod /system/lib/modules/opperator.ko
Set Frequency - You do this when you want to change frequency - in hz, that's 6 additions Zero's to make Mhz
Code:
# echo 1188000000 > /proc/opperator
Is it possible for you to change this into a scriptmanager file?
Click to expand...
Click to collapse
What I'd really like is for the ROM making dev's to come to a consensus as to how to integrate this... Mainly, the best place to throw the script that does this at boot on these phones. I know how we did it on droid X, but I haven't dug deep enough into this phone just yet to be sure... I'll update the OP as methods improve and I get more feedback.
Click to expand...
Click to collapse
Or use callmearia kernel and make script for system/etc/init folder... havent tried his kernel but it should support the script at boot up. Acura roms should work that way too.
The way most roms use overclock is the init script that starts at boot...
Sent from my LG-P925 using XDA App
rdannar said:
Great job.... we use to use this type of script in motorola defy and moto bravo. It was easier with those because of the 2nd init recovery booting.
Sent from my LG-P925 using XDA App
Click to expand...
Click to collapse
Those would have been based on Milestone Overclock... Which is where I gained most of my knowledge by contributing to getting the droidx/2 side of things working. MO's method of manipulating frequency and voltage no longer works on OMAP4, or rather kernel 2.6.35+... I had to come up with a new way of doing things, which didn't fit well under the existing framework of MO. So, I started from scratch... This is just the tip of the iceberg... Basic, basic, basic...
i get insmod: init_module /system/lib/modules/symsearch.ko failed (exec format error).
What am i doing wrong?
I also get the same error: insmod: init_module '/system/lib/modules/symsearch.ko' failed (exec format error)
Is it because I have gingerbread?
Must I use froyo?
borelis said:
i get insmod: init_module /system/lib/modules/symsearch.ko failed (exec format error).
What am i doing wrong?
Click to expand...
Click to collapse
Both O3D's, huh? What kernel are you running? give me output of
# dmesg
and
# busybox uname -a
And if it's acurateam, a link to their kernel source
tekahuna said:
What kernel are you running? give me output of
# dmesg
and
# busybox uname -a
And if it's acurateam, a link to their kernel source
Click to expand...
Click to collapse
"LINK Boot_2.0 More RAM, No Lags, More Speed.." from acura. Think he uses stock kernel. Im on GB by the way.
Outputs is a bit over my head. Tell me how and i´ll provide it for you.

Sense ROM - Help needed

Okay, so like many I have been waiting for another user of this forum to post his update of the sense ROM, but he seems to be taking a while. So, I decided I will try and fix the ROM myself, currently I am going to try adding libs from other ROMS ofcourse I will not be posting anything on the ROM unless I get things working, then I will seek permissions to post the ROM from the correct owners... I am cuurently flashing the ROM to my x8 now..
Just a quick question also.. Does anyone know how to add libs directly to the system.img?
There is a decompiler for the .img file somewhere around the xda forum, i'll have a quick search for you and get back to you on it
Beans
Sent from my X8 using xda premium
Thank you very much, I will also need to recompile, I believe this can only be done on linux? or the AVD emulator? or can it also be done on windows? I know the decompiling can be
Yeah i found something for you, i cant try it for you before i recomend it because my pc has been stolen, but heres a link to the thread - http://forum.xda-developers.com/showthread.php?t=1315111
Both decompiling and recompiling can be done on wondows so far as i know with a linux emulator, or you could partition the hard drive on your pc and install linux on the second partition
Hope i helped
Beans
Sent from my X8 using xda premium
bbeanss said:
Yeah i found something for you, i cant try it for you before i recomend it because my pc has been stolen, but heres a link to the thread - http://forum.xda-developers.com/showthread.php?t=1315111
Hope i helped
Beans
Sent from my X8 using xda premium
Click to expand...
Click to collapse
Thank you, the decompiling on windows works, I'm just not sure about recompiling as linux isn't my Forte so to speak.. also my AVD emulator doesn't seem to be loading any android VM's I have created..
The best way i found when i was trying to port sense was to take it slowly, modifying/replacing 1 lib file at a time, it takes forever, but if it doesnt load up then that way you know the source of the problem, ill pull up a few sites on basic linux for you if you want?
Beans
Sent from my X8 using xda premium
smyth12 said:
Okay, so like many I have been waiting for another user of this forum to post his update of the sense ROM, but he seems to be taking a while. So, I decided I will try and fix the ROM myself, currently I am going to try adding libs from other ROMS ofcourse I will not be posting anything on the ROM unless I get things working, then I will seek permissions to post the ROM from the correct owners... I am cuurently flashing the ROM to my x8 now..
Just a quick question also.. Does anyone know how to add libs directly to the system.img?
Click to expand...
Click to collapse
Sense lib is different
you can't take Cm7/Cm6 lib
they have license on their lib
you can edit lib
recompile
and repaired Ramdisk from salsa
bbeanss said:
The best way i found when i was trying to port sense was to take it slowly, modifying/replacing 1 lib file at a time, it takes forever, but if it doesnt load up then that way you know the source of the problem, ill pull up a few sites on basic linux for you if you want?
Beans
Sent from my X8 using xda premium
Click to expand...
Click to collapse
That would be awesome please..
Superuser.Angga said:
Sense lib is different
you can't take Cm7/Cm6 lib
they have license on their lib
you can edit lib
recompile
and repaired Ramdisk from salsa
Click to expand...
Click to collapse
I was going to try some of the better known ROM libs just now, gonna send them through ADB because I can't use root explorer due to the "SD card removed" bug.. Decompile the libs and then recompile them then?
Where can I get the ramdisk?
Im off to bed now becaise its 1:20am where im at and ive got to get up in 6 hours, but of the 4 or 5 websites ive quickly scanned through i found this one to be the most imformative - http://bash.cyberciti.biz/guide/Main_Page
I hope it helps you out mate
goodnight ;D
Beans
Sent from my X8 using xda premium
bbeanss said:
Im off to bed now becaise its 1:20am where im at and ive got to get up in 6 hours, but of the 4 or 5 websites ive quickly scanned through i found this one to be the most imformative - http://bash.cyberciti.biz/guide/Main_Page
I hope it helps you out mate
goodnight ;D
Beans
Sent from my X8 using xda premium
Click to expand...
Click to collapse
Cheers mate, in the UK? me too haha...
I'll have a look through them probably tomorrow morning now, adb seems to be being a pain and not pushing the files across.. Thanks very much,
Good night mate ;D
Gud luck to you bro
phoenix883 said:
Gud luck to you bro
Click to expand...
Click to collapse
Thanks man, looks like I'm gonna need it lol
This Help you replace the lib
Camera service lib:
Code:
libcameraservice.so Need:
libui.so
libutils.so
libbinder.so
liblog.so
libcutils.so
libmedia.so
libcamera_client.so
libsurfaceflinger_client.so
libcamera.so
libc.so
libstdc++.so
libm.so
Replace Libcameraservice too
Open Gles/3D
Code:
libGLESv1_CM.so Need:
liblog.so
libcutils.so
libEGL.so
libdl.so
libc.so
libstdc++.so
libm.so
Code:
libGLESv2.so Need:
liblog.so
libcutils.so
libEGL.so
libdl.so
libc.so
libstdc++.so
libm.so
Code:
libEGL.so Need:
liblog.so
libcutils.so
libutils.so
libdl.so
libc.so
libstdc++.so
libm.so
Replace libEGL.so, libGLESv2.so, libGLESv1_CM.so
Oem Camera
Code:
liboemcamera.so Need:
__fixunssfsi liblog.so
libcutils.so
libdl.so
libc.so
libstdc++.so
libm.so
Wifi Fix
Replace Build.prop
Code:
wifi.interface = tiwlan0
to
Code:
wifi.interface = wlan0
replace libwpa_client.so
replace tiwlan.ini to correct config
Done
Camera Fix
????????????????????????
it's hard to ported camera
need
Modified Camera.apk to make 3.15mp not 5mp
removed autofocus
recompiled lib
Anyone Help Me?
Superuser.Angga said:
This Help you replace the lib
Camera service lib:
Code:
libcameraservice.so Need:
libui.so
libutils.so
libbinder.so
liblog.so
libcutils.so
libmedia.so
libcamera_client.so
libsurfaceflinger_client.so
libcamera.so
libc.so
libstdc++.so
libm.so
Replace Libcameraservice too
Open Gles/3D
Code:
libGLESv1_CM.so Need:
liblog.so
libcutils.so
libEGL.so
libdl.so
libc.so
libstdc++.so
libm.so
libGLESv2.so Need:
liblog.so
libcutils.so
libEGL.so
libdl.so
libc.so
libstdc++.so
libm.so
libEGL.so Need:
liblog.so
libcutils.so
libutils.so
libdl.so
libc.so
libstdc++.so
libm.so[/CODE]
Replace libEGL.so, libGLESv2.so, libGLESv1_CM.so
Oem Camera
liboemcamera.so Need:
__fixunssfsi liblog.so
libcutils.so
libdl.so
libc.so
libstdc++.so
libm.so
Wifi Fix
Replace Build.prop
Code:
wifi.interface = tiwlan0
to
Code:
wifi.interface = wlan0
replace libwpa_client.so
replace tiwlan.ini to correct config
Done
Camera Fix
????????????????????????
it's hard to ported camera
need
Modified Camera.apk to make 3.15mp not 5mp
removed autofocus
recompiled lib
Anyone Help Me?
Click to expand...
Click to collapse
Wow thanks, so in theory I can take existing libs from working roms and replace the libs you mentioned and things will work?
You can test it
replace that lib from working rom
but
i use different way
edit the lib
it will take a month to edit all lib
but that's is only way
Superuser.Angga said:
You can test it
replace that lib from working rom
but
i use different way
edit the lib
it will take a month to edit all lib
but that's is only way
Click to expand...
Click to collapse
okay, Thank you, alot! I'm sure with a bit of time I should get this working...
Any fix for the 3g?
Edit: Vibration has come alive now..
Ah ha nice to see the Operation Sense is rolling along still... don't know what Salo-S is doin but still no proof of his Rom....?
Any way I could help? I'm not dev but if there's a easy but time consuming job that needs doing (typing stuff...?) Then I'm up for it.lol
peace
Sent from my X8 using xda premium
match_stick said:
Ah ha nice to see the Operation Sense is rolling along still... don't know what Salo-S is doin but still no proof of his Rom....?
Any way I could help? I'm not dev but if there's a easy but time consuming job that needs doing (typing stuff...?) Then I'm up for it.lol
peace
Sent from my X8 using xda premium
Click to expand...
Click to collapse
I'll keep you in mind my friend.. Just trying to figure stuff out at the moment but the typing things could be of use updates and findings etc... PM me your email?
Yo man, finally someone who approaches this subject seriously, do not pretend to be someone all knowing and is not a crook. Respect for this, man.
... Salo-s and SuperuserAngga still don't get any proof.
I can help if I can, just PM me. I'm a beta tester of ROU UI now, but I think I can help something from time to time.
Peace!
jahlovePL said:
Yo man, finally someone who approaches this subject seriously, do not pretend to be someone all knowing and is not a crook. Respect for this, man.
... Salo-s and SuperuserAngga still don't get any proof.
I can help if I can, just PM me. I'm a beta tester of ROU UI now, but I think I can help something from time to time.
Peace!
Click to expand...
Click to collapse
Thank you, aside from testing do you do any coding?
or anything along these lines? fine if you don't, beta testing is just as important!

[Patch] Fix Network Error Network Selection

Hi there!!!
I noticed that there lot's of user's complaining about error in selecting network. So, here i present you the ril files pulled from old an nightly which had a working netwok selection.
This is probably not for FUNNY SIM'S!!!
Patch
http://db.tt/ZOoEGNB5
Undo-Patch
http://db.tt/hWJmfHTY
BEFORE FLASHING, ADD THIS LINE TO YOUR BUILD.PROP..
rild.libpath=/system/lib/libril-qc-1.so
rild.libargs=-d /dev/smd0
persist.rild.nitz_plmn=
persist.rild.nitz_long_ons_0=
persist.rild.nitz_long_ons_1=
persist.rild.nitz_long_ons_2=
persist.rild.nitz_long_ons_3=
persist.rild.nitz_short_ons_0=
persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
ril.subscription.types=NV,RUIM <-----
ro.telephony.ril_class=lgeqcom <-----
Sent from my LG-P500 using xda premium
Please don't complain about the same files having the same md5. My brain won't let me remove it..
Sent from my LG-P500 using xda premium
Thank U
peter joe said:
Thank U
Click to expand...
Click to collapse
Did it work for you pls put a detail which country and sim..
Edit: and there is always a THANKS BUTTON to begin with..
Sent from my LG-P500 using xda premium
> great buddy this is really helpful +1
neko95 said:
> great buddy this is really helpful +1
Click to expand...
Click to collapse
does it work for you neko?
> This work.. but not all people knows how to set/reconfigure build.prop to add those lines.. I suggest you make an updater script which includes the build.prop lines.. but not to over wright the existing build.prop, it should only add those few lines..
neko95 said:
> This work.. but not all people knows how to set/reconfigure build.prop to add those lines.. I suggest you make an updater script which includes the build.prop lines.. but not to over wright the existing build.prop, it should only add those few lines..
Click to expand...
Click to collapse
Or upload thier build.prop here???? Maybe
Sent from my LG-P500 using xda premium
dnle71 said:
Or upload thier build.prop here???? Maybe
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
> no .. I mean people who had build.prop tweaks like from zeppelinrox 3g boost or v6.. this will break those. if it would be over write with a whole build.prop.. So what needed is a script that only updates build.prop let me try to make you one..
neko95 said:
> no .. I mean people who had build.prop tweaks like from zeppelinrox 3g boost or v6.. this will break those. if it would be over write with a whole build.prop.. So what needed is a script that only updates build.prop let me try to make you one..
Click to expand...
Click to collapse
you mean this?
#!system/bin/sh
setprop ril.subscription.types=NV,RUIM;
setprop ro.telephony.ril_class=lgeqcom;
Sent from my LG-P500 using xda premium
dnle71 said:
you mean this?
#!system/bin/sh
setprop ril.subscription.types NV,RUIM;
setprop ro.telephony.ril_class lgeqcom;
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
> you need init.d just to execute a script to build.prop? coz no use updater script to add this to build.prop
I really want to try it baddly but I have an old baseband with "old baseband" fix and it appears that both fixes/patches overwrite at least one file. I will have to reflash the rom and flash new baseband to try it when I'll find some free time.
Thanks for the fix
-Arturo- said:
I really want to try it baddly but I have an old baseband with "old baseband" fix and it appears that both fixes/patches overwrite at least one file. I will have to reflash the rom and flash new baseband to try it when I'll find some free time.
Thanks for the fix
Click to expand...
Click to collapse
Time to upgrade!!..
Sent from my LG-P500 using xda premium
dnle71 said:
Time to upgrade!!..
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
Ok I tried the network selection fix..
After trying to search for networks my phone rebooted.
I'm on Polish "Play" network.
I don't know whether I have a funny sim or not.
My phone bootloops....
Actually I have made similar patch (but without undo patch!).
My contains less files and was meant for mentioning in CM issue 5182 Manual network operator selection fails (those who suffer from this problem, please vote for it!). Warning: My patch doesn't have undo patch and it overwrites build.prop, it is made for CM 7.2 RC3 and is purely experimental.
It was created after asking mik_os why manual network selection works in his unofficial CM port, but doesn't work in official CM 7.2 RCs. Here is mik_os answer:
mik_os said:
DavisNT said:
mik_os said:
DavisNT said:
Hi!
How did you manage to get manual network operator selection working on your Cyanogenmod ports for LG P500?
Can you give me a link to source code and/or a comment for Cyanogenmod official port developers?
Issue on CyanogenMod bugtracker is here: https://code.google.com/p/cyanogenmod/issues/detail?id=5182
Thanks a lot!
Click to expand...
Click to collapse
It's easy. CM has temporary switched to old RIL:
https://github.com/CyanogenMod/andr...mmit/49e0b810423dcf94f458e7cf3c2bb90900a7be9e
The old RIL does not properly supports Network Selection in our device. And CM will not fix this because this is temporary.
Click to expand...
Click to collapse
Can I switch my phone back to new RIL by adding back these lines to /system/build.prop (or other changes are also required)?
Code:
ril.subscription.types=NV,RUIM
ro.telephony.ril_class=lgeqcom
Click to expand...
Click to collapse
You also need change this libraries:
https://github.com/koush/proprietary_vendor_lge/commit/65568a688c73962049b2f28de6d108cf05f90772#p500
Click to expand...
Click to collapse
Also I have a question to everybody, especially mik_os and official CM devs. In my patch all files that were updated during library revert mentioned by mik_os are replaced by versions before revert, /system/lib/libdll.so is deleted, but /system/bin/rild is left, because if I delete it, radio doesn't work at all. Also every file, except /system/bin/rild in CM 7.2 RC3 flashable zip is the same as in library revert checkin mentioned my mik_os, but rild is different. Why so - what other changes in rild have been made?
Update: mik_os gave me this link to changes which fixed Manual Network Operator selection with old RIL (Froyo RIL that is contained within mik_os and official CM 7.2 builds): https://github.com/mik9/android_frameworks_base/compare/88b5c4b8eb...2ae66fc39b
Thanks mik_os!
Warning: Patch is only for official CM 7.2 RC3!
I love you! Really thanks what about cm9 it works also there?
Sent from my LG-P500 using XDA
DavisNT said:
Actually I have made similar patch (but without undo patch!).
My contains less files and was meant for mentioning in CM issue 5182 Manual network operator selection fails (those who suffer from this problem, please vote for it!). Warning: My patch doesn't have undo patch and it overwrites build.prop, it is made for CM 7.2 RC3 and is purely experimental.
It was created after asking mik_os why manual network selection works in his unofficial CM port, but doesn't work in official CM 7.2 RCs. Here is mik_os answer:
Also I have a question to everybody, especially mik_os and official CM devs. In my patch all files that were updated during library revert mentioned by mik_os are replaced by versions before revert, /system/lib/libdll.so is deleted, but /system/bin/rild is left, because if I delete it, radio doesn't work at all. Also every file, except /system/bin/rild in CM 7.2 RC3 flashable zip is the same as in library revert checkin mentioned my mik_os, but rild is different. Why so - what other changes in rild have been made?
Click to expand...
Click to collapse
yes that was the basis of my patch too.. but i did not review all files that is not needed to be replace but my brain don't want to....
DavisNT said:
Actually I have made similar patch (but without undo patch!).
My contains less files and was meant for mentioning in CM issue 5182 Manual network operator selection fails (those who suffer from this problem, please vote for it!). Warning: My patch doesn't have undo patch and it overwrites build.prop, it is made for CM 7.2 RC3 and is purely experimental.
It was created after asking mik_os why manual network selection works in his unofficial CM port, but doesn't work in official CM 7.2 RCs. Here is mik_os answer:
Also I have a question to everybody, especially mik_os and official CM devs. In my patch all files that were updated during library revert mentioned by mik_os are replaced by versions before revert, /system/lib/libdll.so is deleted, but /system/bin/rild is left, because if I delete it, radio doesn't work at all. Also every file, except /system/bin/rild in CM 7.2 RC3 flashable zip is the same as in library revert checkin mentioned my mik_os, but rild is different. Why so - what other changes in rild have been made?
Click to expand...
Click to collapse
Well i'll be damned it works ...thank you
It works also for me
@DavisNT
I have tried your patch on my LGP500 with (CM 7.2 nightly 20120617 + patch NeuDLI http://forum.xda-developers.com/showpost.php?p=27616022&postcount=3314) installed.
It seems to work well, the only drawback is to get a misidentification of my "actual" ROM labelled "CM7.2RC3 and 20120526".
Manual selection works well ... Calls and 3G data also. :fingers-crossed:
Thanks a lot for your work!
If these two patches could be integrated by Adam (adfad666) in the official CM 7.2 next nigthly, it would be a huge progress in the LG-P500 version of CM 7.2.
I took the liberty to slightly improve the RIL fix:
In the improved flashable zip the build.prop is not overwritten, but instead the init script of dnle71 is added. In this manner the build.prop is not touched thus preserving any tweaks made therein and also the CM version etc.
(Until someone can tell me how to use apply_patch in the updater-script to patch the build.prop I believe this is the cleanest way)
Furthermore I also added the "old" rild executable so that all RIL files are from the same stage, although apparently this was not absolutely necessary.
Thanks very much dnle71 and DavisNT for your work that I only combined!
Just the usual word of caution: I did test this on my P500 and it worked. For everyone else, however: Use at your own risk!

Porting from WIFI model to 3G model.

Hello.
Have you ever tried to port Rom's from model with wifi ot model with 3g? Which files need to copy to make modem work?
Buddy You need the hardware for it (Voice and Network)
its not possible in Nexus 7 WiFi model
so forget about porting
kimshooter said:
Buddy You need the hardware for it (Voice and Network)
its not possible in Nexus 7 WiFi model
so forget about porting
Click to expand...
Click to collapse
Never go full retard.
kimshooter said:
Buddy You need the hardware for it (Voice and Network)
its not possible in Nexus 7 WiFi model
so forget about porting
Click to expand...
Click to collapse
So I take all the ROMs that are available for both WiFi and 3G model are made with pure magic then ? Hmmm..
Sent from my C6603 using xda premium
farstar7s said:
Hello.
Have you ever tried to port Rom's from model with wifi ot model with 3g? Which files need to copy to make modem work?
Click to expand...
Click to collapse
I believe any of tge general gyides fie porting (which you can avail by searching) is also applicable here, even if its not, trying won't hurt as nothing more than a soft brick can occur, afaik, even of anything goes wrong
khaytsus said:
Never go full retard.
Click to expand...
Click to collapse
LOL.
farstar7s said:
Which files need to copy to make modem work?
Click to expand...
Click to collapse
It's a little more involved than just simple file copying as to get it working fully requires changes to the framework-res to enable telephony in the android layer. Below are the changes you make to enable telephony on a rom if you building from AOSP sources but you can use apktool or similar programs to mod an existing rom ( I think these settings are found in the arrays.xml )
Code:
<resources>
<string-array translatable="false" name="networkAttributes">
<item>"wifi,1,1,0,-1,true"</item>
<item>"mobile,0,0,1,-1,true"</item>
<item>"mobile_mms,2,0,2,60000,true"</item>
<item>"mobile_supl,3,0,2,60000,true"</item>
<item>"mobile_dun,4,0,5,60000,true"</item>
<item>"mobile_hipri,5,0,3,60000,true"</item>
<item>"bluetooth,7,7,0,-1,true"</item>
<item>"ethernet,9,9,9,-1,true"</item>
<item>"mobile_fota,10,0,2,60000,true"</item>
<item>"mobile_ims,11,0,2,-1,true"</item>
<item>"mobile_cbs,12,0,2,60000,true"</item>
<item>"wifi_p2p,13,1,0,-1,true"</item>
</string-array>
<string-array translatable="false" name="radioAttributes">
<item>"9,1"</item>
<item>"1,1"</item>
<item>"0,1"</item>
<item>"7,1"</item>
</string-array>
</resources>
WHY? Changes these settings enables the Mobile Networks Option in the Settings
Then you'd need to copy the following files from a Nexus3g Stock Rom, Generally you try to match the build ID number to your target when copy system file however it shouldn't make a difference in the case of the Nexus7 because it's all Jellybean.
Code:
/system/bin/rild
/system/bin/pppd ( if it doesn't exist )
/system/lib/librilxgold-ril.so
/system/etc/permissions/android.hardware.telephony.gsm.xml
/system/etc/permissions/android.hardware.telephony.cdma.xml
WHY? the rild ( radio interface daemon and it's supporting libraries ) handle the requests to and from the baseband processor the vendor specific implementation is in this case found librilxgold-ril.so. the permissions files lets the Android UI access the Radio Interface Layer ( through the rild ). pppd - some ril implementations rely on pppd to establish the data connection.
Add or change the following settings in your build.prop file
Code:
rild.libpath=/system/lib/libxgold-ril.so
rild.libargs=-d /dev/ttyACM0
WHY? This is the settings that the ril daemon will use when it auto starts - the name of the vendor library and libargs. The -d switch is the name of the device node that all that juicy 3G data flows.
Make sure the build.prop and any files you change have the correct permission set. Thats 0644 for non exectuable ( everything except stuff in /system/bin ) and 0755 for executable ( rild and pppd ) on some system pppd needs the superuser stickybit setting ( 6755 ) but that doesn't look like the case maybe google are using some off that magic that @leminhnguyen0703 speaks of or parhaps the vendor ril doesn't rely on it in this case
DEBUGGING
Use adb logcat -b radio to see what the RIL Stack is upto as standard logcat doesn't include this information
I think that pretty much covers it.
Reference : Android Platform Development Kit - Radio Interface Layer
@leminhnguyen0703 Now where did I put my wand? LOL
Thnx
trevd said:
LOL.
It's a little more involved than just simple file copying as to get it working fully requires changes to the framework-res to enable telephony in the android layer. Below are the changes you make to enable telephony on a rom if you building from AOSP sources but you can use apktool or similar programs to mod an existing rom ( I think these settings are found in the arrays.xml )
Code:
<resources>
<string-array translatable="false" name="networkAttributes">
<item>"wifi,1,1,0,-1,true"</item>
<item>"mobile,0,0,1,-1,true"</item>
<item>"mobile_mms,2,0,2,60000,true"</item>
<item>"mobile_supl,3,0,2,60000,true"</item>
<item>"mobile_dun,4,0,5,60000,true"</item>
<item>"mobile_hipri,5,0,3,60000,true"</item>
<item>"bluetooth,7,7,0,-1,true"</item>
<item>"ethernet,9,9,9,-1,true"</item>
<item>"mobile_fota,10,0,2,60000,true"</item>
<item>"mobile_ims,11,0,2,-1,true"</item>
<item>"mobile_cbs,12,0,2,60000,true"</item>
<item>"wifi_p2p,13,1,0,-1,true"</item>
</string-array>
<string-array translatable="false" name="radioAttributes">
<item>"9,1"</item>
<item>"1,1"</item>
<item>"0,1"</item>
<item>"7,1"</item>
</string-array>
</resources>
WHY? Changes these settings enables the Mobile Networks Option in the Settings
Then you'd need to copy the following files from a Nexus3g Stock Rom, Generally you try to match the build ID number to your target when copy system file however it shouldn't make a difference in the case of the Nexus7 because it's all Jellybean.
Code:
/system/bin/rild
/system/bin/pppd ( if it doesn't exist )
/system/lib/librilxgold-ril.so
/system/etc/permissions/android.hardware.telephony.gsm.xml
/system/etc/permissions/android.hardware.telephony.cdma.xml
WHY? the rild ( radio interface daemon and it's supporting libraries ) handle the requests to and from the baseband processor the vendor specific implementation is in this case found librilxgold-ril.so. the permissions files lets the Android UI access the Radio Interface Layer ( through the rild ). pppd - some ril implementations rely on pppd to establish the data connection.
Add or change the following settings in your build.prop file
Code:
rild.libpath=/system/lib/libxgold-ril.so
rild.libargs=-d /dev/ttyACM0
WHY? This is the settings that the ril daemon will use when it auto starts - the name of the vendor library and libargs. The -d switch is the name of the device node that all that juicy 3G data flows.
Make sure the build.prop and any files you change have the correct permission set. Thats 0644 for non exectuable ( everything except stuff in /system/bin ) and 0755 for executable ( rild and pppd ) on some system pppd needs the superuser stickybit setting ( 6755 ) but that doesn't look like the case maybe google are using some off that magic that @leminhnguyen0703 speaks of or parhaps the vendor ril doesn't rely on it in this case
DEBUGGING
Use adb logcat -b radio to see what the RIL Stack is upto as standard logcat doesn't include this information
I think that pretty much covers it.
@leminhnguyen0703 Now where did I put my wand? LOL
Click to expand...
Click to collapse
Thank you. It show me right direction. I hope you won't get angry to me. I am actually Acer iconia a701's user. We have weak society. But acer iconia a700's auditory is bigger. There is same situation with 3g.
Now i get working Rom, Except icon of 3G,GSM and working Internet.
I don't get why all peoples thought dass there is no posibility to do it. It is easy enough if to know what to do. Thank you you helped me much.
farstar7s said:
Thank you. It show me right direction. I hope you won't get angry to me. I am actually Acer iconia a701's user. We have weak society. But acer iconia a700's auditory is bigger. There is same situation with 3g.
Now i get working Rom, Except icon of 3G,GSM and working Internet.
I don't get why all peoples thought dass there is no posibility to do it. It is easy enough if to know what to do. Thank you you helped me much.
Click to expand...
Click to collapse
Obviously there maybe be other hardware differences with the Acer in H/W but if you got a ported rom booting and just need the 3G going then you can use this method on pretty much every device provided you can source the RIL files etc, There also maybe some extra bits, like you need to make sure the modem device node has the correct permissions in ueventd.rc ( the N7 wifi model already has this set ), There's a couple of links in my sig regarding stuff I did to get Huawei Dongles working on various Devices. You might pickup some tips from there.
leminhnguyen0703 said:
So I take all the ROMs that are available for both WiFi and 3G model are made with pure magic then ? Hmmm..
Sent from my C6603 using xda premium
Click to expand...
Click to collapse
BURN THE WITCHES OF WHOM THAT PORT!
Sent from my HTC One using xda premium

Categories

Resources