• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [DEVELOPERS ONLY] Start developing CM10 All SV Variants

awidawad

Newbie
Hello. I'm going to be setting up a GitHub organization for our devices. I'm looking to make a common device tree, like with the kindle fire, so all variants can easily be supported. Anyone interested that knows what they're doing please let me know. I can't do this alone. I'll add more details later today.

BTW please don't ask to test this is not for testing anything yet.
 
I've been trying to work on 10.2 but I'm getting build-stopping errors (something related to libomxvdec)

Also, simon has device trees for all variants on his Github already
 
I've been trying to work on 10.2 but I'm getting build-stopping errors (something related to libomxvdec)

Also, simon has device trees for all variants on his Github already

I'm talking a working device tree. A single tree with common device stuff and then separate trees for device specific stuff. Simons trees aren't functional I've been having to make my own
 
Try doing cm10 (4.1.2) it doesn't have build errors. It boots for me but doesn't get past boot logo due to vsync errors

Switching branches now, will try to build after that finishes

EDIT: Doing a clean sync after it decided not to want to cooperate

EDIT: building despite a warning about "trying dependencies-only mode on a non-existing device tree" when I did "lunch cm_k2cl-eng" (I made a change to the vendorsetup.sh)

EDIT: Build exits, I'm attaching the last bit of the output
 

Attachments

Switching branches now, will try to build after that finishes

EDIT: Doing a clean sync after it decided not to want to cooperate

EDIT: building despite a warning about "trying dependencies-only mode on a non-existing device tree" when I did "lunch cm_k2cl-eng" (I made a change to the vendorsetup.sh)

EDIT: Build exits, I'm attaching the last bit of the output

Use the latest kernel source by Simon and the latest gcc 4.8 toolchain. Edit the build/envsetup.sh to point to the gcc 4.8 toolchain. I know codefire has a functioning 4.8 toolchain on bitbucket.
 
Ok, I attempted to flash it and it quit with a status 7. I'm removing the single "assert" statement for now to try to get it to flash

EDIT: Flashed and rebooting

Not currently getting past the white HTC screen

EDIT: It was the boot.img, I was able to get it to boot using the kernel image mentioned in this post. It seems to be stuck on the CM boot animation at the moment
 
And posting a logcat (which is truncated because after a point, there's repeat output)

EDIT: Just realized I never did a factory reset when I flashed (derp)
 

Attachments

And posting a logcat (which is truncated because after a point, there's repeat output)

EDIT: Just realized I never did a factory reset when I flashed (derp)

Now you're almost to where I'm at. I'll work on this tomorrow later and see where it goes. CM10.1 compiled finally but I'm waiting to hear back from simon for updated kernel with fixed genlock
 
Now you're almost to where I'm at. I'll work on this tomorrow later and see where it goes. CM10.1 compiled finally but I'm waiting to hear back from simon for updated kernel with fixed genlock

How much further are you?
 
Something else I found: Can't gain root while connected via "adb shell" as su provides a lovely "permission denied" error. Also, "adb shell getprop ro.secure" returns a value of 1
 
Something else I found: Can't gain root while connected via "adb shell" as su provides a lovely "permission denied" error. Also, "adb shell getprop ro.secure" returns a value of 1

That is a kernel issue. I'll talk to Simon about this. All this will be fixed if we get a caf kernel going
 
you guys are to the point that i was at when i was working on this. the kernel is going to need an overhaul to boot CM. I had the exact same issues. bootanimation and thats it. Im so glad i wasnt the only one having that issue lol. there are a few common devices you can look at for fixes the one VX and the OneXL and a few others all share the same chipset.

Do you have a github set up yet? i'll try to help when i can, Im a real life developer so my time is kinda limited.
 
Well, there's Simon's device, vendor, and kernel trees which are what I've been using

you guys are to the point that i was at when i was working on this. the kernel is going to need an overhaul to boot CM. I had the exact same issues. bootanimation and thats it. Im so glad i wasnt the only one having that issue lol. there are a few common devices you can look at for fixes the one VX and the OneXL and a few others all share the same chipset.

Do you have a github set up yet? i'll try to help when i can, Im a real life developer so my time is kinda limited.

Simon and I are working on 4.3.1. Feel free to contribute. :D

https://github.com/Team-OneSV
 
Back
Top Bottom