Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

WIP Porting CM10 Discussion

OP kuma82

16th August 2014, 02:23 AM   |  #51  
Ilxaot's Avatar
Senior Member
Flag Parrish
Thanks Meter: 663
 
1,236 posts
Join Date:Joined: May 2013
More
Quote:
Originally Posted by Somebody123456

Can you explain to us how to compile it then? I'm happy to do this process, and I'm sure most people will be fine compiling it themselves as long as there is an explanation on how to do it.

I don't develop, I just tweak small amounts of codes. That's it. However, I do know that Cyanogenmod has a Wiki with information regarding the compilation of ROMs, however I am not sure if that works with a locked boot loader.
23rd August 2014, 01:36 AM   |  #52  
Senior Member
Thanks Meter: 853
 
786 posts
Join Date:Joined: Jan 2013
Donate to Me
More
Quote:
Originally Posted by Somebody123456

Can you explain to us how to compile it then? I'm happy to do this process, and I'm sure most people will be fine compiling it themselves as long as there is an explanation on how to do it.

The guy above was right. It is not happening. The problem is that Cyanogen as well as PAC/AOKP/Paranoid are removing jellybean sources as depreciated, and without those sources, you can't compile. As such, I have tried to compile CM10 adding p769 device tree to my setup and I get compile errors while building 4.1.2 kernel. And you can't use CM11 or CM10.1/2 build sources because the rom won't boot with stock 4.1.2 kernel.

The only other way I see is to try to port CM10 for p760 to p769 and hope it would work. Then one could extract CM10 (p760) boot.image and rework it as second init...
23rd August 2014, 06:00 AM   |  #53  
bulletfreak's Avatar
Senior Member
Thanks Meter: 37
 
285 posts
Join Date:Joined: Aug 2013
More
Quote:
Originally Posted by optimumpro

The guy above was right. It is not happening. The problem is that Cyanogen as well as PAC/AOKP/Paranoid are removing jellybean sources as depreciated, and without those sources, you can't compile. As such, I have tried to compile CM10 adding p769 device tree to my setup and I get compile errors while building 4.1.2 kernel. And you can't use CM11 or CM10.1/2 build sources because the rom won't boot with stock 4.1.2 kernel.

The only other way I see is to try to port CM10 for p760 to p769 and hope it would work. Then one could extract CM10 (p760) boot.image and rework it as second init...

The p760 would probably be our best bet.

I also just remembered that Polloos said he was working on porting CM10. http://forum.xda-developers.com/show...&postcount=234
Last edited by bulletfreak; 23rd August 2014 at 06:04 AM.
23rd August 2014, 08:10 AM   |  #54  
kuma82's Avatar
OP Senior Member
Flag Houston
Thanks Meter: 911
 
1,746 posts
Join Date:Joined: Jan 2012
Donate to Me
More
Quote:
Originally Posted by optimumpro

The guy above was right. It is not happening. The problem is that Cyanogen as well as PAC/AOKP/Paranoid are removing jellybean sources as depreciated, and without those sources, you can't compile. As such, I have tried to compile CM10 adding p769 device tree to my setup and I get compile errors while building 4.1.2 kernel. And you can't use CM11 or CM10.1/2 build sources because the rom won't boot with stock 4.1.2 kernel.

The only other way I see is to try to port CM10 for p760 to p769 and hope it would work. Then one could extract CM10 (p760) boot.image and rework it as second init...

This guy http://forum.xda-developers.com/show...php?p=52127847 has built cm11 using stock kernel. So it requires more than just complying, you have to really know what you are doing. Following instructions are easy but to get this working you really have to know what you are doing. A lot of trial and error. Another thing the link artas182x posted is not cm10, it's cm10.1.
I found a cm10 that uses our same exact hardware and it's running 4.1.2 but it's for p940. https://goo.im/devs/milaq/p940/cm-10/
I tried making a 2nd-init with it but I ran into the same problem hal wouldn't load with stock kernel. Maybe if I kept trying (mixing and matching different files/modules) it would work, but I need my phone for work.
Maybe if you have some free time you can compare these two devs work and cherry pick some stuff.
In concept, we need stock kernel (we can get that from lg source) and combine it with cm source. Easier said then done. If you ever get it to build I'll test it out for you.
Oh and the whole following instructions stuff (above) wasn't directed towards you.
Last edited by kuma82; 23rd August 2014 at 08:17 AM.
23rd August 2014, 09:52 AM   |  #55  
bulletfreak's Avatar
Senior Member
Thanks Meter: 37
 
285 posts
Join Date:Joined: Aug 2013
More
Quote:
Originally Posted by kuma82

This guy http://forum.xda-developers.com/show...php?p=52127847 has built cm11 using stock kernel. So it requires more than just complying, you have to really know what you are doing. Following instructions are easy but to get this working you really have to know what you are doing. A lot of trial and error. Another thing the link artas182x posted is not cm10, it's cm10.1.
I found a cm10 that uses our same exact hardware and it's running 4.1.2 but it's for p940. https://goo.im/devs/milaq/p940/cm-10/
I tried making a 2nd-init with it but I ran into the same problem hal wouldn't load with stock kernel. Maybe if I kept trying (mixing and matching different files/modules) it would work, but I need my phone for work.
Maybe if you have some free time you can compare these two devs work and cherry pick some stuff.
In concept, we need stock kernel (we can get that from lg source) and combine it with cm source. Easier said then done. If you ever get it to build I'll test it out for you.
Oh and the whole following instructions stuff (above) wasn't directed towards you.

http://forum.xda-developers.com/show...5#post43382595

there's a 10.1 version for our phones
23rd August 2014, 05:32 PM   |  #56  
Senior Member
Thanks Meter: 853
 
786 posts
Join Date:Joined: Jan 2013
Donate to Me
More
Quote:
Originally Posted by kuma82

This guy http://forum.xda-developers.com/show...php?p=52127847 has built cm11 using stock kernel. So it requires more than just complying, you have to really know what you are doing. Following instructions are easy but to get this working you really have to know what you are doing. A lot of trial and error. Another thing the link artas182x posted is not cm10, it's cm10.1.
I found a cm10 that uses our same exact hardware and it's running 4.1.2 but it's for p940. https://goo.im/devs/milaq/p940/cm-10/
I tried making a 2nd-init with it but I ran into the same problem hal wouldn't load with stock kernel. Maybe if I kept trying (mixing and matching different files/modules) it would work, but I need my phone for work.
Maybe if you have some free time you can compare these two devs work and cherry pick some stuff.
In concept, we need stock kernel (we can get that from lg source) and combine it with cm source. Easier said then done. If you ever get it to build I'll test it out for you.
Oh and the whole following instructions stuff (above) wasn't directed towards you.

Regarding p940: if you are able to get to recovery, then you can use dmesg to see what the problem is, but your non booting may be related to p940 not being compatible with p769, as opposed to second init. I think you need to first do the proper porting to p769. But then again, what are you going to use as base: as we don't have CM10 for p769.

Also, another reason for non booting could be older proprietory blobs. I had that experience when tried to make Paranoid 4.1.2 rom work with locked Xperia ION. I couldn't compile Paranoid because it removed JB sources and the only rom I had was compiled in 2013 by another guy. At that time, he used older proprietary blobs, which since then were updated by Sony. As a result, the rom wouldn't work with the locked bootloader patch (because of outdated blobs)...
Last edited by optimumpro; 23rd August 2014 at 05:39 PM.
23rd August 2014, 06:37 PM   |  #57  
kuma82's Avatar
OP Senior Member
Flag Houston
Thanks Meter: 911
 
1,746 posts
Join Date:Joined: Jan 2012
Donate to Me
More
Quote:
Originally Posted by optimumpro

Regarding p940: if you are able to get to recovery, then you can use dmesg to see what the problem is, but your non booting may be related to p940 not being compatible with p769, as opposed to second init. I think you need to first do the proper porting to p769. But then again, what are you going to use as base: as we don't have CM10 for p769.

Also, another reason for non booting could be older proprietory blobs. I had that experience when tried to make Paranoid 4.1.2 rom work with locked Xperia ION. I couldn't compile Paranoid because it removed JB sources and the only rom I had was compiled in 2013 by another guy. At that time, he used older proprietary blobs, which since then were updated by Sony. As a result, the rom wouldn't work with the locked bootloader patch (because of outdated blobs)...

I haven't thought about using dmesg, but I was able to run logcats at boot (note: the system didn't boot but I could still take logs).
Yeah it will take someone with a lot more knowledge to get this project up and running.
30th August 2014, 01:16 AM   |  #58  
bulletfreak's Avatar
Senior Member
Thanks Meter: 37
 
285 posts
Join Date:Joined: Aug 2013
More
Would anyone be up to putting up a bounty for someone to do this?

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes