Reply
Thread Tools
Posts: 635 | Thanked: 1,535 times | Joined on Feb 2014 @ Germany
#831
Which errors?
 

The Following User Says Thank You to mautz For This Useful Post:
edp17's Avatar
Posts: 607 | Thanked: 736 times | Joined on Jul 2019 @ UK
#832
Originally Posted by mautz View Post
Which errors?
What the logcat shows. Like:
E/RILQ ( 1071): (0/1071): RIL[0][rild] qcril_log_init: Fail to initialize Diag for QCRIL logging

E/RILQ ( 1071): (0/1071): RIL[0][main] qcril_qmi_init_core_client_handles: qcril_qmi_presence_init returned failure(31)
E/RILQ ( 1071): (0/1071): RIL[0][main] qcril_qmi_nas_retrieve_custom_emergency_numbers_co nfigured_value: Invalid value for properties count 0
E/RILQ ( 1071): (0/1071): RIL[0][main] qcril_sms_perform_transport_layer_info_initializat ion: error while retrieving transport layer reg info
E/RILQ ( 1071): (0/1071): RIL[0] get_ecc_property_name: ecc list name : ril.ecclist.

E/RILQ ( 1071): (0/1071): RIL[0][event] qcril_uim_update_pbm_card_event: PBM_HANDLE_CARD 397313 processing Failed!
E/RILQ ( 1071): (0/1071): RIL[0][event] qcril_uim_update_pbm_card_event: PBM_HANDLE_CARD 397314 processing Failed!

I am not sure whether this is connected the issue with the mobile data.


Edit: This was a red herring as these are not errors.

Last edited by edp17; 2019-11-20 at 10:10. Reason: Add extra info to prevent confusion
 
edp17's Avatar
Posts: 607 | Thanked: 736 times | Joined on Jul 2019 @ UK
#833
I think go to sleep now. Good night!
 
edp17's Avatar
Posts: 607 | Thanked: 736 times | Joined on Jul 2019 @ UK
#834
I have got some other problems. I created a new image (not uploaded yet) to fix the missing camera resolution. This worked, so there is no need to manually copy this file anymore.
However instead of the lock screen, the phone displays a blank screen with the circle is rotating. (It is seemingly waiting for something to finish.)
I waited then tried to swipe and I got to the desktop. Hmm. Then I relised there was no icon for the cell network at all. Hmm again. I went into the settings and the Messages app was dimmed and not available to click on. Finally I realized the 'ril_subscription.conf' file in '/etc/ofono' was missing. I copied in and that solved this issue. (Although the mobile internet still doesn't work.)
I don't really understand why this file disappeared from the build but I added into the droid_config/etc/ofono/ folder and generated a new build.
The file was missing again and I got the same symptom. (No network icon, spinning circle instead of lock screen.)

The other issue: The contact import wizard is broken. (I got a 'Could not load page' error when I tried to import my contact with it.)
However the import 'From contact file' option works fine.

Last edited by edp17; 2019-11-18 at 12:04.
 
Posts: 635 | Thanked: 1,535 times | Joined on Feb 2014 @ Germany
#835
Would be good to get your code on Github, that would make solving such problems much easier. ril_subscriptions.conf needs to be in sparse folder.
 

The Following User Says Thank You to mautz For This Useful Post:
edp17's Avatar
Posts: 607 | Thanked: 736 times | Joined on Jul 2019 @ UK
#836
Originally Posted by mautz View Post
Would be good to get your code on Github, that would make solving such problems much easier. ril_subscriptions.conf needs to be in sparse folder.
Yes, that is where I put. That's why I am scratching my head why this has not arrived to the phone.

Yes, I am also thinking about pushing things into the github. I am not sure tonight I can work on it as I am tired but I will publish the latest version once I got home. It needs to copy the ril file into the /etc manually but so far this is the best version. (However it is far from complete. )
Then the next step, before I continue any more work on it will be, pushing things to the github. (I will try to follow the hadk first but probably I will shout out for support. )

Last edited by edp17; 2019-11-18 at 15:59.
 
edp17's Avatar
Posts: 607 | Thanked: 736 times | Joined on Jul 2019 @ UK
#837
Here are my first questions.
The hadk says I need to do the following:
Code:
cd kernel/lge/hammerhead
git checkout -b cm-12.1
DEFCONFIG=arch/arm/configs/cyanogenmod_hammerhead_defconfig
git add $DEFCONFIG
git commit -m "Hybris-friendly defconfig"
git remote add edp17 https://github.com/edp17/android_kernel_lge_hammerhead
git push edp17 hybris-12.1
Will or will not the 'git checkout -b cm-12.1' command overwrite my work so far?
Should I fork John's 'android_kernel_lge_hammerhead' before I do these steps above? (Or when I push that will take care of forking/creating/whatever the repo?)

Thank you.

Last edited by edp17; 2019-11-18 at 13:52.
 
edp17's Avatar
Posts: 607 | Thanked: 736 times | Joined on Jul 2019 @ UK
#838
@mautz
Seemingly the kernel I compiled doesn't support the BT sleep mode. (There is no '/proc/Bluetooth/sleep'. Well, there is no /proc/Bluetooth at all and I just checked and the Bluetooth cannot be turned on.)
Could you let me know what flags needs to switched on the in the defconfig to get this working, please? Thank you.

Edit:
I have found them :

CONFIG_BT_HCIUART=y
CONFIG_BT_HCIUART_H4=y

Edit2: ...and both of them are in my kernel config.

Last edited by edp17; 2019-11-18 at 22:17.
 
edp17's Avatar
Posts: 607 | Thanked: 736 times | Joined on Jul 2019 @ UK
#839
Originally Posted by mautz View Post
This is a cm13 kernel.
The kernels from my signature do not work, because they are missing this commit:

https://github.com/mautz-kernel/andr...24a69c545958b8

So, you have to add this to your kernel and start to recompile...
I have just realized that I missed to add the last line 'inode->i_mode = S_IFLNK;'
I am not sure what difference will this make, but I re-build the package and upload to try.
 

The Following User Says Thank You to edp17 For This Useful Post:
Posts: 635 | Thanked: 1,535 times | Joined on Feb 2014 @ Germany
#840
That's why you should use patch files ;-)
 

The Following User Says Thank You to mautz For This Useful Post:
Reply

Tags
hammerhead, nexus5, sailfishos, sfdroid


 
Forum Jump


All times are GMT. The time now is 22:59.