Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,786,442 Members 41,437 Now Online
XDA Developers Android and Mobile Development Forum

WIP Porting CM10 Discussion

Tip us?
 
Ilxaot
Old
#51  
Ilxaot's Avatar
Senior Member
Thanks Meter 526
Posts: 1,043
Join Date: May 2013
Location: Parrish
Quote:
Originally Posted by Somebody123456 View Post
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.
Take a moment to read this.
Romans 1:22 ~ Professing to be wise, they in turn became fools.
Humility is not thinking less of yourself, it is thinking of yourself less.
Veritas Aequitas

My Google+
A glad member of the Anti-Apple regime ^-^
 
optimumpro
Old
#52  
Senior Member
Thanks Meter 777
Posts: 719
Join Date: Jan 2013

 
DONATE TO ME
Quote:
Originally Posted by Somebody123456 View Post
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...
 
bulletfreak
Old
(Last edited by bulletfreak; 23rd August 2014 at 05:04 AM.)
#53  
bulletfreak's Avatar
Senior Member
Thanks Meter 36
Posts: 279
Join Date: Aug 2013
Quote:
Originally Posted by optimumpro View Post
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
 
kuma82
Old
(Last edited by kuma82; 23rd August 2014 at 07:17 AM.)
#54  
kuma82's Avatar
Senior Member - OP
Thanks Meter 886
Posts: 1,726
Join Date: Jan 2012
Location: Houston

 
DONATE TO ME
Quote:
Originally Posted by optimumpro View Post
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.
 
bulletfreak
Old
#55  
bulletfreak's Avatar
Senior Member
Thanks Meter 36
Posts: 279
Join Date: Aug 2013
Quote:
Originally Posted by kuma82 View Post
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
 
optimumpro
Old
(Last edited by optimumpro; 23rd August 2014 at 04:39 PM.)
#56  
Senior Member
Thanks Meter 777
Posts: 719
Join Date: Jan 2013

 
DONATE TO ME
Quote:
Originally Posted by kuma82 View Post
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)...
 
kuma82
Old
#57  
kuma82's Avatar
Senior Member - OP
Thanks Meter 886
Posts: 1,726
Join Date: Jan 2012
Location: Houston

 
DONATE TO ME
Quote:
Originally Posted by optimumpro View Post
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.
 
bulletfreak
Old
#58  
bulletfreak's Avatar
Senior Member
Thanks Meter 36
Posts: 279
Join Date: Aug 2013
Would anyone be up to putting up a bounty for someone to do this?
LG Optimus L9 P769BK - CyanogenMod 9

LG Optimus Universal Bootloader Unlock Method: http://forum.xda-developers.com/opti...ypass-t2864829
List of 2nd-init roms for the Optimus L9: http://forum.xda-developers.com/opti...-roms-t2855797

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes