ngoquang2708 / android_device_samsung_vivalto3gvn

Device tree for Samsung Galaxy V SM-G313HZ
7 stars 8 forks source link

CM11 : error compile SamsungSPRDRIL.java #23

Closed cleverior closed 8 years ago

cleverior commented 8 years ago

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 commented 8 years ago

Please compare your ril class with mine.

ngoquang2708 commented 8 years ago

Why don't you just fork my repo or @koquantam repo, instead of doing your own repo and report errors here?

cleverior commented 8 years ago

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 commented 8 years ago

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

ngoquang2708 commented 8 years ago

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

cleverior commented 8 years ago

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

ngoquang2708 commented 8 years ago

Checked. Accepted :D

ngoquang2708 commented 8 years ago

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 commented 8 years ago

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

ngoquang2708 commented 8 years ago

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

diepquynh commented 8 years ago

Yes, you do I can fork my project there

ngoquang2708 commented 8 years ago

Still no write access.

ngoquang2708 commented 8 years ago

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

cleverior commented 8 years ago

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

ngoquang2708 commented 8 years ago

I though they're the same. Both from my tiny server!

ngoquang2708 commented 8 years ago

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

cleverior commented 8 years ago

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 https://github.com/ngoquang2708/android_device_samsung_vivalto3gvn/issues/23#issuecomment-196155273 .

ngoquang2708 commented 8 years ago

Yes

ngoquang2708 commented 8 years ago

@cleverior Again, 2 methods to download:

cleverior commented 8 years ago

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

ngoquang2708 commented 8 years ago

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

ngoquang2708 commented 8 years ago

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

cleverior commented 8 years ago

it cant start download. even using IDM.

ngoquang2708 commented 8 years ago

IDM will kill my server! Use browser please!

cleverior commented 8 years ago

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

ngoquang2708 commented 8 years ago

OK, use my IP instead: 14.187.49.86

ngoquang2708 commented 8 years ago

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

cleverior commented 8 years ago

username and passwd ?

ngoquang2708 commented 8 years ago

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

ngoquang2708 commented 8 years ago

What username???

ngoquang2708 commented 8 years ago

http://14.187.49.86:10080/upload/cm-12.1.7z

ngoquang2708 commented 8 years ago

That IP will change.

cleverior commented 8 years ago

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

:(

ngoquang2708 commented 8 years ago

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

cleverior commented 8 years ago

still get the same error

ngoquang2708 commented 8 years ago

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

cleverior commented 8 years ago

still "connecting to peers 0.0%" since yesterday

cleverior commented 8 years ago

i've disable my firewall

ngoquang2708 commented 8 years ago

OK, I will try another HTTP port :(

ngoquang2708 commented 8 years ago

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

cleverior commented 8 years ago

thanks in advance. sorry if i disturbing your time.

cleverior commented 8 years ago

14.187.49.86

ngoquang2708 commented 8 years ago

OK, try to connect to it through port 54455

ngoquang2708 commented 8 years ago

Any ideas about file sharing services???

cleverior commented 8 years ago

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

ngoquang2708 commented 8 years ago

OK.

ngoquang2708 commented 8 years ago

I will send you the link about 2 hours later.

cleverior commented 8 years ago

OK. Thanks again.

ngoquang2708 commented 8 years ago

I bet ISP block your incoming connection :D

diepquynh commented 8 years ago

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?