jairovilla / nitdroid-v2

Automatically exported from code.google.com/p/nitdroid-v2
0 stars 0 forks source link

SMS receiving drops cell network #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
WARNING! ONE BUG - ONE REPORT, PLEASE!

What steps will reproduce the problem?
1. Install NitDroid 0.0.8
2. Send SMS to your phone (receive it)
3. Network Signal will drop once the SMS is received

What is the expected output? What do you see instead?
Network signal should not drop. It goes to Airplane mode once the SMS is 
received and does not recover after. Only Reboot helps.

What is your device, RootFS, Multiboot and kernel versions?
N900
0.0.8
0.2.10
2.6.28

What was installation method?
Auto-installer used with 0.0.7 

For 0.0.8 the following method was used:

cd /home/user/MyDocs
wget http://downloads.nitdroid.com/e-yes/NitDroid-0.0.8-Popov.tar.bz2
bzip2 -d NitDroid-0.0.8-Popov.tar.bz2
mount /dev/mmcblk1p2 /and
cd /and
rm -rf *
tar xvf /home/user/MyDocs/NitDroid-0.0.8-Popov.tar

cd /home/user/MyDocs
wget 
http://downloads.nitdroid.com/nitinstaller/Packages/nitdroid-kernel-2.6.28-06_fi
nal1_armel.deb
dpkg -i nitdroid-kernel-2.6.28-06_final1_armel.deb

Please provide any additional information below. Logs (logcat, dmesg) are
highly appreciated. (log collector available @
http://downloads.nitdroid.com/android-log-collector-1.1.0.apk)
I don't have any logs. Can I attach them later on?

Original issue reported on code.google.com by mva...@gmail.com on 9 Sep 2010 at 8:44

GoogleCodeExporter commented 9 years ago
I fixed bug related to SMS receiving yestarday.
http://downloads.nitdroid.com/e-yes/ofono_nitdroid/prebuilt/libofono-ril.so
Place file in /system/lib/ directory and restart radio (su + rr).

Original comment by alexey.r...@gmail.com on 9 Sep 2010 at 11:34

GoogleCodeExporter commented 9 years ago
Thanks. I placed the file in /system/lib/ directory. By restart radio I hope 
just a reboot of the device is sufficient? I don't know what is (su + rr)??

Do I need to CHMOD libofono-ril.so ? What permissions if needed.

Original comment by mva...@gmail.com on 9 Sep 2010 at 11:57

GoogleCodeExporter commented 9 years ago
chown root:root /system/lib/libofono-ril.so
chmod 644 /system/lib/libofono-ril.so

Original comment by alexey.r...@gmail.com on 9 Sep 2010 at 12:00

GoogleCodeExporter commented 9 years ago
Thanks! Will do that right away.

Original comment by mva...@gmail.com on 9 Sep 2010 at 12:02

GoogleCodeExporter commented 9 years ago
I did this but the cell signal still dropped when I just received an SMS. No 
way to recover unless phone is rebooted.

1. Downloaded 
http://downloads.nitdroid.com/e-yes/ofono_nitdroid/prebuilt/libofono-ril.so and 
moved it to /system/lib
2. chown root:root /system/lib/libofono-ril.so
3. chmod 644 /system/lib/libofono-ril.so

I must mention that I was not able to chown and chmod from outside the 
directory so I changed to the directory and then chown and chmod 
libofono-ril.so respectively.

Original comment by mva...@gmail.com on 9 Sep 2010 at 12:15

GoogleCodeExporter commented 9 years ago
Ignore the last msg.. it's working now.. I had to rm the file first before 
putting it again. Works well now. This bug can be closed.

Original comment by mva...@gmail.com on 9 Sep 2010 at 12:51

GoogleCodeExporter commented 9 years ago
I think it's random. At certain times the signal dropped on receiving SMS while 
it did not at other times so I am guessing the behavior is random. If I receive 
5 SMS messages, 3 times the signal will drop and go into airplane mode and 2 
times it will be fine. Problem is it needs rebooting once it drops the signal.

Original comment by mva...@gmail.com on 10 Sep 2010 at 4:29

GoogleCodeExporter commented 9 years ago
Please, post your logs after receiving `unlucky` SMS.
( short guide how to enable logging for NitDroid/0.0.8 - 
http://forum.nitdroid.com/index.php?topic=343.msg1956 )

Original comment by alexey.r...@gmail.com on 10 Sep 2010 at 4:19

GoogleCodeExporter commented 9 years ago
Okay that could take a while as I am not always running NitDroid. But I could 
spend a sometime trying to repro the issue. Btw in your first comment you asked 
to restart radio (su + rr).. does that happen automatically on rebooting device 
or is this something that needs to be specifically done and if so then how?

I already did this:
chown root:root /system/lib/libofono-ril.so
chmod 644 /system/lib/libofono-ril.so

How does one reboot radio? Maybe that is what I haven't done?

PS. Ignore my ignorance.

Original comment by mva...@gmail.com on 10 Sep 2010 at 8:51

GoogleCodeExporter commented 9 years ago
Okay there you go. I enabled logging and once booted to NitDroid I sent an sms 
to myself and the service dropped immediately. I noticed it's doing that on 
every sms received now. No longer random unfortunately.

I am getting this warning on boot but it goes through after that and starts 
booting android:
Warning: 'rild' uses 32-bit capabilities (legacy support in use)

Started to get this since installing 0.0.8

Original comment by mva...@gmail.com on 10 Sep 2010 at 10:50

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you indeed, i managed to reproduce the bug, and now it's fixed.
New version of ofono-ril will be released soon (i hope at next week).

Original comment by alexey.r...@gmail.com on 11 Sep 2010 at 11:47

GoogleCodeExporter commented 9 years ago

Original comment by alexey.r...@gmail.com on 11 Sep 2010 at 11:48

GoogleCodeExporter commented 9 years ago
You are welcome. Looking forward to the new version of ofono-ril and I really 
hope you can fix the messages trimming to 127 characters. That would be great. 
Cheers.

Original comment by mva...@gmail.com on 11 Sep 2010 at 3:40

GoogleCodeExporter commented 9 years ago
Fixed in ofono-ril v0.0.4

Original comment by alexey.r...@gmail.com on 16 Sep 2010 at 9:44

GoogleCodeExporter commented 9 years ago
Thanks for the fix. Incoming SMS does not drop cell network anymore. However I 
think (but not sure) if it's ofono-0.28 or ofono-ril v0.0.4 that has surfaced a 
new bug which is the green notification light stays lit when an SMS is 
received. Even if you read the SMS or delete it the green light stays lit until 
the phone is rebooted.

Original comment by mva...@gmail.com on 20 Sep 2010 at 11:41