CM9 compile from source, help needed - Ideos S7 Android Development

Hi, i'm trying to compile cm9 (ics) from source but i need help.
I try to create a new device tree in my source, i got it to compile after a lot of work but the device keep rebooting, and give other nasty errors, so i got the ideia of copy from another device, i ussed htc bravo this device as same processor and same type of display, i got it to compile, install in the device and it booted, it show the ics image but when i touch the display it show a circle in the screen like a cursor and the touch as a resolution that was to big, so i edit build.prop and put lcd.density=160 the image was fine it show the clock and the back, home bottons but the touch still displays the same circle cursor and does not respond very well.
Does any one know how to solve this problem ?
if any one manage to compile cm9 for s7 can share the device and vendor files ?
I like to be able to compile it from source and help to create a stable cm9 version for the s7, i have the 105 model.
thanks,
Hal_2000

I haven't bothered building, but supposedly this one works for CM10?
https://github.com/asturel

xaueious said:
I haven't bothered building, but supposedly this one works for CM10?
https://github.com/asturel
Click to expand...
Click to collapse
Hi, the asturel versions of cm9 and cm10 does not work on my s7-105, cm9 gets stuck on boot animation and cm10 the sreen gets blanck.
I have tryed with that source files from asturel, i compile it but when i install in the device, the screen gets blanck, so in my model does not work
Thanks for your reply.
hal_2000

hal_2000 said:
Hi, the asturel versions of cm9 and cm10 does not work on my s7-105, cm9 gets stuck on boot animation and cm10 the sreen gets blanck.
I have tryed with that source files from asturel, i compile it but when i install in the device, the screen gets blanck, so in my model does not work
Thanks for your reply.
hal_2000
Click to expand...
Click to collapse
asturels builds are for 201 version of S7 slim and everything forks except camera...

Hi all, solve the problem of the touch screen and the cursor, there were a few lib missing on my build, now i'm trying to solve the halt problem, after i unlock the screen the device halt and after 6 seconds reboots, maybe some more missing libs, going to do some more test.
hal_2000

first test version
hi, got it, manage to compile cm9 from source, it boot, does not hang or reboots.
test it, http://forum.xda-developers.com/showthread.php?t=2110276
hal_2000

Related

[Q] About building from sources DerArtem's ICS

Hi, I've managed to setup a building environment from DerArtem git sources, now facing some strange behaviour hope someone can help me:
ten day ago I succesfully built all, now till about 3 days after repo sync I've got linking error on external/webkit, so after some googling I realized something were changed in CM9 sources. I've added in Artem's BoardConfig.mk this line
Code:
ENABLE_WEBGL := true
after that change all went good.
Is it the right way, or are there other patches to apply?
Another one:
before cm9-rc1 I could select full_betelgeuse from lunch/brunch menu now I have to write at command line: lunch full_betelgeuse-userdebug because full_betelgeuse is not available in the lunch menu (before it was the 5th choice)
Is there something missing in the build chain?
Thank you.
I can't help you but please share your ROM once you manage to get a working ROM with the latest CM9 build.
DT84 said:
I can't help you but please share your ROM once you manage to get a working ROM with the latest CM9 build.
Click to expand...
Click to collapse
Well sir, this is Artem's and nopy's ROM, I'm sure they'll publish soon an update.
I'm just studying a little. They have done an amazing work, I'm trying to learn from there work.
Sent from folio100 con Tapatalk 2

[Q] Help porting CM10

Hi,
I am trying to port a stable release of CM10 from Galaxy S3 to Galaxy S2 HD LTE (SHV-E120S) ... :cyclops:
But i'm facing a problem...i was able to port it and the device booted too...but the camera does not show anything....it simply shows a black screen....thats it...
I have not tested it much coz that was the first application i started and it didn't work quite well.
Then I installed the 4.3 Gallery/Camera which worked but only the camera worked. When I switch it to video mode it shows me a blurred screen...but when i played the recorded video, it actually was very clear...only the display has a fault while shooting video.
So basically, is there anyone who can tell me why am I getting a black screen...
First I thought there could be some problem with the S3 ROM itself....but since it was a stable release I dont think the S3 rom has a problem...
So it would be great, if any one could point me to the right direction....
Thanks friends...
AOSP camera's dont work perfectly on the S3 anyway.
Rather than porting, you would be better trying to build source using a device tree from your device. Surely there already exists AOSP source code for it?
"porting" rarely yields expected results.
Hi rootSu,
So if I port CM10 from some other device (other than the SGS 3) do you think that will work...(for eg. SGS II I9100)
Coz I really need a CM10 for my device....that stock is simply a battery/performance hogger...
Thanks.
rootSU said:
AOSP camera's dont work perfectly on the S3 anyway.
Rather than porting, you would be better trying to build source using a device tree from your device. Surely there already exists AOSP source code for it?
"porting" rarely yields expected results.
Click to expand...
Click to collapse
Shrewdy said:
Hi rootSu,
So if I port CM10 from some other device (other than the SGS 3) do you think that will work...(for eg. SGS II I9100)
Coz I really need a CM10 for my device....that stock is simply a battery/performance hogger...
Thanks.
Click to expand...
Click to collapse
When you talk about porting, do you mean not compiling from source code? Perhaps using something like disxda kitchen's piorting fucntion? Or do you have a Linux build server which you will use for compiling code?

[Q] Need CyanogenMod for AllWinner A23 ?

Hello I have a cheap allwinner a23 tablet on jelly bean 4.2.2,
I want to put CyanogenMod on my tab
Does anyone know any way to get this custom rom on my tablet?
Thanks. Have a Good Day !
New to XDA
Bump Im looking for this too!
xestroyer said:
Hello I have a cheap allwinner a23 tablet on jelly bean 4.2.2,
I want to put CyanogenMod on my tab
Does anyone know any way to get this custom rom on my tablet?
Thanks. Have a Good Day !
New to XDA
Click to expand...
Click to collapse
Fortunately, I have a similar tablet too, but with 4.4.2. I have started working over it, to compile CWM. If you have link to working CWM or Sources, kindly do let me know. Will help me to speed up the compilation.
trivalent said:
Fortunately, I have a similar tablet too, but with 4.4.2. I have started working over it, to compile CWM. If you have link to working CWM or Sources, kindly do let me know. Will help me to speed up the compilation.
Click to expand...
Click to collapse
Hi, I have been working on Q8H A23 table for the past few weeks, but have not yet been able to compile a proper hwcomposer. Could you let me know you progress on CM for A23?
nann invinci said:
Hi, I have been working on Q8H A23 table for the past few weeks, but have not yet been able to compile a proper hwcomposer. Could you let me know you progress on CM for A23?
Click to expand...
Click to collapse
I had to stop the work for personal reason. I hope to start it again soon. BTW what sources you are using to compile? Can you share your CM Device tree for A23?
trivalent said:
I had to stop the work for personal reason. I hope to start it again soon. BTW what sources you are using to compile? Can you share your CM Device tree for A23?
Click to expand...
Click to collapse
I am using cm 11 to compile. I got things to boot into lock screen, apps and so on. Got the touch screen to work just now (by turning LEGACY_TOUCHSCREEN on in InputReader.cpp, after a lot of code digging). As for the device tree, I will be happy to share it once I have everything tidy up. I use the same device tree from polaris-p1 in the A23 source code, however, with all the libhardware removed since they keep crashing with the cm11 (ie. hwcomposer). As well with blobs modules and some /egl libs . Also tried to compile hwcomposer from a13 or so source (on Internet), it runs, but much slower than without hwcomposer.
Rotation sensor also works.
nann invinci said:
I am using cm 11 to compile. I got things to boot into lock screen, apps and so on. Got the touch screen to work just now (by turning LEGACY_TOUCHSCREEN on in InputReader.cpp, after a lot of code digging). As for the device tree, I will be happy to share it once I have everything tidy up. I use the same device tree from polaris-p1 in the A23 source code, however, with all the libhardware removed since they keep crashing with the cm11 (ie. hwcomposer). As well with blobs modules and some /egl libs . Also tried to compile hwcomposer from a13 or so source (on Internet), it runs, but much slower than without hwcomposer.
Rotation sensor also works.
Click to expand...
Click to collapse
Any chance of sharing that device tree?

Sony Z3 Tablet Ubuntu Touch WIP need your help.

Hey guys,
i'll try to get an Ubuntu Touch port running on my Tablet.
I've taken UbPorts 5-1 branch and synced it with cm12-1 cm sony source. The cm files build fine.
For the ubuntu files i removed ant-wirless to build the files.
After build finished sucessfully i added the ubuntu specific kernel configs and build again. Without any erros
Now i want to boot that baby but i don't get past the Xperia Bootloader screen.
I can't enable last_kmsg to debug the deivce because i get build errors otherwise.
So what i think of at the moment is that there are some wrong parameter for the sony boot.img ... but not sure about that.
Maybe somone of you can help me bring up that baby for us all.
Cheers
Moritz
Hey, did you get any luck with this? I am currently trying to port it to the Z3
CedArctic said:
Hey, did you get any luck with this? I am currently trying to port it to the Z3
Click to expand...
Click to collapse
no not really
Hahaha I posted before I found you on freenode xD

Question Where to start building a working twrp and/or roms for moto g power 2021 (borneo)?

Hello all, where would I start in making a working twrp for this phone?
Does anyone know if Motorola has released the device tree/source code for this phone so we can make the roms? LineageOS would be ideal.
Well, I have the same phone. Couldn't find ROMs for it.
thebestofall007 said:
Hello all, where would I start in making a working twrp for this phone?
Click to expand...
Click to collapse
look in this forum here, there are a couple floating around for it, I've made one, that I was able to fully flash to mine and has touch (Android 10. there's another that is 11 on here too by another poster), but as there are multiple display options out there it seems for how they were made, that is the sticking point, as not all will behave properly when booted into a recovery like mode it seems. I have tried installing it over bootloader and it will have touch then, but when flashed to recovery the touch never activates properly. So it all likely comes to that, as we'll need combine them in, properly applying proper checks for each display type and having it use the proper driver files, since can't load them all at once or it breaks things.
Working shrp for Borneo
thebestofall007 said:
Hello all, where would I start in making a working twrp for this phone?
Does anyone know if Motorola has released the device tree/source code for this phone so we can make the roms? LineageOS would be ideal.
Click to expand...
Click to collapse
First place to start: twrpdtgen
Read the "readme"
Also check out:
[DEV]How to compile TWRP touch recovery​
Device tree made from A10. Should still be relevant for A11.
Kernel for A10. Unfortunately I don't think Moto released the one for A11 yet. You can ask on their GitHub and devs might consider your request.
TWRP for A11. Touch is working.
Edit : here's a link for the device tree (in text) from A11
maybe this will work
thebestofall007 said:
Hello all, where would I start in making a working twrp for this phone?
Does anyone know if Motorola has released the device tree/source code for this phone so we can make the roms? LineageOS would be ideal.
Click to expand...
Click to collapse
maybe this will help probably https://github.com/MotorolaMobilityLLC/kernel-msm
UPDATE: I have a telegram account where we are discussing how to make a custom lineage OS. I'm at the gathering stage and in the process of porting a device tree. For starters I want to start with lineage OS 18 because its the same android version the stock OS is, to be on the safe side, and that I've never done ROMS before.
Moto G Power 2021
I now have a device tree with the help of AOSPdtgen from the stock ROM from mirrors.lolinet: https://github.com/thebestofall007/android_device_motorola_borneo
I have started the build and got the first error:
https://imgur.com/a/XZoqy8B
I've looked this error up and they say it's because of the ram, but the error recurs at the same point. I have 16gb of swap, too.
thebestofall007 said:
I have started the build and got the first error:
https://imgur.com/a/XZoqy8B
I've looked this error up and they say it's because of the ram, but the error recurs at the same point. I have 16gb of swap, too.
Click to expand...
Click to collapse
you need alot of ram to build a rom for android 36GB of RAM or more will be beater to it wont crash
KILLFIREY1389 said:
you need alot of ram to build a rom for android 36GB of RAM or more will be beater to it wont crash
Click to expand...
Click to collapse
The error turned out to be entries in the proprietary-files.text file that needed to be deleted.
@thebestofall007 If you'll suceed. please take in consideration to build \e\ (aka deGoogled Lineage) too.
Here's a couple of interesting links that may help:
https://doc.e.foundation/support-topics/build-e
https://community.e.foundation/t/howto-building-e-roms-a-beginners-guide/26371
Last but not least, we've also suggested them (check here) to setup a "build (V)Machine" by modding this colab notebook to made it device agnostic:
https://github.com/viam1-dev/colab_lineage_build
Hope can "inspire" you.
Thanks in advance.
Does anyone have a complete list of sources so far? I have some experience in the past building ROMs for Android 5 and I wouldn't mind trying. I have a lot of computer resources to dedicate to building as well.
Device tree: https://github.com/thebestofall007/android_device_motorola_borneo-old
Does anyone know if there is a kernel source? I looked on the Moto github and couldn't find one. Is everyone using prebuilt for the time being? Also, do we need a vendor tree?
Thanks

Categories

Resources