Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

CM11 : error compile SamsungSPRDRIL.java #23

Closed
cleverior opened this issue Mar 3, 2016 · 56 comments
Closed

CM11 : error compile SamsungSPRDRIL.java #23

cleverior opened this issue Mar 3, 2016 · 56 comments

Comments

@cleverior
Copy link

here the logcat

frameworks/opt/telephony/../../../device/samsung/vivalto3gvn/ril/com/android/internal/telephony/SamsungSPRDRIL.java:45: error: constructor RIL in class RIL cannot be applied to given types;
super(context, networkMode, cdmaSubscription, instanceId);
^
required: Context,int,int
found: Context,int,int,Integer
reason: actual and formal argument lists differ in length
frameworks/opt/telephony/../../../device/samsung/vivalto3gvn/ril/com/android/internal/telephony/SamsungSPRDRIL.java:85: error: cannot find symbol
if (mSubscriptionStatusRegistrants != null) {
^
symbol: variable mSubscriptionStatusRegistrants
location: class SamsungSPRDRIL
frameworks/opt/telephony/../../../device/samsung/vivalto3gvn/ril/com/android/internal/telephony/SamsungSPRDRIL.java:86: error: cannot find symbol
mSubscriptionStatusRegistrants.notifyRegistrants(
^
symbol: variable mSubscriptionStatusRegistrants
location: class SamsungSPRDRIL
frameworks/opt/telephony/../../../device/samsung/vivalto3gvn/ril/com/android/internal/telephony/SamsungSPRDRIL.java:91: error: cannot find symbol
if (mSubscriptionStatusRegistrants != null) {
^
symbol: variable mSubscriptionStatusRegistrants
location: class SamsungSPRDRIL
frameworks/opt/telephony/../../../device/samsung/vivalto3gvn/ril/com/android/internal/telephony/SamsungSPRDRIL.java:92: error: cannot find symbol
mSubscriptionStatusRegistrants.notifyRegistrants(
^
symbol: variable mSubscriptionStatusRegistrants
location: class SamsungSPRDRIL
frameworks/opt/telephony/../../../device/samsung/vivalto3gvn/ril/com/android/internal/telephony/SamsungSPRDRIL.java:99: error: cannot find symbol
int simId = mInstanceId == null ? 0 : mInstanceId;
^
symbol: variable mInstanceId
location: class SamsungSPRDRIL
frameworks/opt/telephony/../../../device/samsung/vivalto3gvn/ril/com/android/internal/telephony/SamsungSPRDRIL.java:99: error: cannot find symbol
int simId = mInstanceId == null ? 0 : mInstanceId;
^
symbol: variable mInstanceId
location: class SamsungSPRDRIL
frameworks/opt/telephony/../../../device/samsung/vivalto3gvn/ril/com/android/internal/telephony/SamsungSPRDRIL.java:114: error: cannot find symbol
if (mInstanceId != null) {
^
symbol: variable mInstanceId
location: class SamsungSPRDRIL
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
8 errors

@ngoquang2708
Copy link
Owner

ngoquang2708 commented Mar 4, 2016 via email

@ngoquang2708
Copy link
Owner

ngoquang2708 commented Mar 4, 2016 via email

@cleverior
Copy link
Author

which repo ? i've replace all of your repo and from koquantam. but still get error when compiling ril. i dont know why. maybe this is bcz im using source CM from high compresed without .repo. So, my source is out of date.

@ngoquang2708
Copy link
Owner

I can compress my CM sources and send you if you wish.

@ngoquang2708
Copy link
Owner

I've checked. Your source tree is out of date compare to my device source tree.

@cleverior
Copy link
Author

Yes if you dont mind. Btw, have you check your email and PM xda ? i've sent invitation to your email.

@ngoquang2708
Copy link
Owner

Checked. Accepted :D

@ngoquang2708
Copy link
Owner

Use this cm-11.0.7z.torrent.zip to download cm-11.0 source (about 2.82GiB). I am seeding it from my tiny home server (R.Pi).

@ngoquang2708
Copy link
Owner

I can see that download speed is slow, you can try this to see if it is faster.

@ngoquang2708
Copy link
Owner

I have a question, I am already a member vivalto group, so do I have write permissions to its repositories?

@diepquynh
Copy link

Yes, you do
I can fork my project there

@ngoquang2708
Copy link
Owner

Still no write access.

@ngoquang2708
Copy link
Owner

OK, found it, I just can send PR https://help.github.com/articles/permission-levels-for-an-organization/

@cleverior
Copy link
Author

thanks bro. direct link is better than torrent for me. :D

@ngoquang2708
Copy link
Owner

ngoquang2708 commented Mar 14, 2016 via email

@ngoquang2708
Copy link
Owner

You can remove the kernel and the device tree, then clone git repo to get updates.

@cleverior
Copy link
Author

ok. could u compress your cm12 source also ? thanks in advance.
On Mar 14, 2016 12:56 PM, "Quang Ngô" notifications@github.com wrote:

You can remove the kernel and the device tree, then clone git repo to get
update.


Reply to this email directly or view it on GitHub
#23 (comment)
.

@ngoquang2708
Copy link
Owner

Yes

@ngoquang2708
Copy link
Owner

@cleverior Again, 2 methods to download:

@cleverior
Copy link
Author

@ngoquang2708 i cant download from direct link bro. could you check your mini server ?

@ngoquang2708
Copy link
Owner

It is operating normally. What's error? Please check again.

@ngoquang2708
Copy link
Owner

I recommend torrent. It is slow at first, but it is safer with more integrity checking.

@cleverior
Copy link
Author

it cant start download. even using IDM.

@ngoquang2708
Copy link
Owner

IDM will kill my server! Use browser please!

@cleverior
Copy link
Author

and there is error "Cannot download the file because of timeout. Cannot connect to qrpi.noip.me:10080"

@ngoquang2708
Copy link
Owner

OK, use my IP instead: 14.187.49.86

@ngoquang2708
Copy link
Owner

You can ping qrpi.noip.me to see if it is the same like my IP :D

@cleverior
Copy link
Author

username and passwd ?

@ngoquang2708
Copy link
Owner

You know, cheap internet sub w/ dynamic IP :D

@ngoquang2708
Copy link
Owner

What username???

@ngoquang2708
Copy link
Owner

@ngoquang2708
Copy link
Owner

That IP will change.

@cleverior
Copy link
Author

This site can’t be reached
14.187.49.86 took too long to respond.
ERR_CONNECTION_TIMED_OUT

:(

@ngoquang2708
Copy link
Owner

What about this: http://14.187.49.86:10080/?

@cleverior
Copy link
Author

still get the same error

@ngoquang2708
Copy link
Owner

Aghh, Firewall???????????????
Could you try torrent?

@cleverior
Copy link
Author

still "connecting to peers 0.0%" since yesterday

@cleverior
Copy link
Author

i've disable my firewall

@ngoquang2708
Copy link
Owner

OK, I will try another HTTP port :(

@ngoquang2708
Copy link
Owner

What is the ip when u ping qrpi.noip.me?

@cleverior
Copy link
Author

thanks in advance. sorry if i disturbing your time.

@cleverior
Copy link
Author

14.187.49.86

@ngoquang2708
Copy link
Owner

OK, try to connect to it through port 54455

@ngoquang2708
Copy link
Owner

Any ideas about file sharing services???

@cleverior
Copy link
Author

still cant connect. could you upload it to google drive ?

@ngoquang2708
Copy link
Owner

OK.

@ngoquang2708
Copy link
Owner

I will send you the link about 2 hours later.

@cleverior
Copy link
Author

OK. Thanks again.

@ngoquang2708
Copy link
Owner

I bet ISP block your incoming connection :D

@diepquynh
Copy link

You know, his country is very far from our city, so it can't reach us. Also you're using mobile ISP, which has limited connection, so how can he download your source properly?

@ngoquang2708
Copy link
Owner

I use FTTH, up/down -> 20Mbps/20Mbps, not bad!

@cleverior
Copy link
Author

I can download cm11 from direct link that shared by ngoquang. But why i
cant do the same thing with cm12.1 link ?
On Mar 16, 2016 9:12 PM, "Quyền" notifications@github.com wrote:

You know, his country is very far from our city, so it can't reach us.
Also you're using mobile ISP, which has limited connection, so how can he
download your source properly?


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#23 (comment)

@ngoquang2708
Copy link
Owner

@cleverior Can you download cm-11.0 link right now :D?

@ngoquang2708
Copy link
Owner

@cleverior Do you compile cm-11.0 successfully? If it is, please close this issue!

@ngoquang2708
Copy link
Owner

@cleverior
Copy link
Author

i just download the source. not try to build yet. I'll try to build later if i have free time. Btw, thanks for help me. You can delete all the links.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants