[SOLVED][Q]One s cm10.1 source build - Android Software Development

I'm in the process of compiling cm10.1 for HTC one s.... I've synced repo added the correct XML and ran another sync... ran the get-prebuild.. but my build won't finish.. solved a few other problems along the way but can't shake the *** no rule to make target vendor/cm/proprietary/lib/armeabi/ libjackpal-androidterm4.so... I think it has some thing to do with prebuild....is there patches I'm missing... any help would be awesome...
$my source built custom cm10$
$thumbs up me if I've helped$

Related

[Q] Building Quarx' CM10.2

Hi guys,
First I want to thank Quarx for his outstanding work!
And secondly, i want to apologize for not posting this in the appropriate thread (thought about the CM10.2 thread in the developer section), which seems to be impossible since I just registered and lack the required 10 posts... I also want to apologize if some of my questions have been answered already, I employed the search function and wasn't able to find them.
I have to admit I'm a total newbie when it comes to building Android custom roms. However, I want cm10.2 on my defy+ and need PDroid-Support, so I'm currently trying to patch and build it myself.
What I've accomplished so far is fetching the 4.1.2 jellybean sources, applying the OpenPDroid patches, and compiling / building it. With the exception of the text-to-speech engine (I get the error message "google text to speech engine was terminated" on startup), which is actually not a big deal for me, everything (including PDroid) seems to work fine.
However, since my actual goal is to patch and build cm10.2, I have some questions:
1. How can I check out the correct source tree for cm10.2 using repo? I've tried "repo init -u git://github.com/Quarx2k/android.git -b cm-10.2", which doesn't seem to do the trick.
2. After checking out the source tree for cm10, I noticed that the file device/moto/jordan-common/apply_linaro.sh was missing. Does this actually mean that it's application is not neccessary (anymore) or do I have to obtain it from another (which?) source. Without really knowing what I was doing, I just tried the "apply_linaro.sh" I found via google on https://github.com/NiharG15/htc_pico_cm10...
Additional question: Reading the CM10.2 thread, I'm a little bit confused about the current state of Bluetooth / Bluetooth Audio. Does it work in some cases or doesn't it work at all? Which kernel should I use and how can I decide which kernel is used for the building proces?
Thank you in advance for your help!
syrran said:
1. How can I check out the correct source tree for cm10.2 using repo?
Click to expand...
Click to collapse
Read http://forum.xda-developers.com/showpost.php?p=42584118&postcount=552 and change 'cm-10.1' to 'cm-10.2'
Again, thank you very much! So the information was there after all ...

[Q] Help needed in porting halo

Hi
I just learned building custom rom from this tut (http://forum.xda-developers.com/showthread.php?t=1863547) using pa sources.
But I want to port Hybrid Settings and Halo to some other 4.2.2 rom.
My phone is Samsung Galaxy S3 i9300.
I only know a way to get whole source code from repo by>
Code:
repo init -u git://github.com/ParanoidAndroid/manifest.git -b jb43-legacy
This gets me whole rom, but I want some other rom as base but halo and hybrid settings of PA.
Please tell me how to do that?
Thanks.
Jaskaran498 said:
Hi
I just learned building custom rom from this tut (http://forum.xda-developers.com/showthread.php?t=1863547) using pa sources.
But I want to port Hybrid Settings and Halo to some other 4.2.2 rom.
My phone is Samsung Galaxy S3 i9300.
I only know a way to get whole source code from repo by>
Code:
repo init -u git://github.com/ParanoidAndroid/manifest.git -b jb43-legacy
This gets me whole rom, but I want some other rom as base but halo and hybrid settings of PA.
Please tell me how to do that?
Thanks.
Click to expand...
Click to collapse
I responded to your post in the build thread

[Q] searching for cm-10.1 source for Ideos X5

Hi
I have successfully upgraded my Ideos X5 U8800 to 2.3.5 official Gingerbread, rooted it, and then repartitioned it using Blepart recovery. Subsequently I have checked out cm11 source, including Blefish repositories/code for the U8800 (thanks for good work, by the way!), compiled/built and installed a ROM. This was my first build.
OK. Good so far. Only I am looking to build cm10.1 because my goal is to eventually get this handset running Ubuntu Touch. Therefore, the next step is to get it running on cm10.1.
My problem is that I cannot find the source I need. I have tried to set up a fresh source tree and check out cm10.1 source combined with Blefish's source by specifying branch cm10.1 for the latter, using the files I used in .repo/local_manifests to get the cm11 device source etc. from Blefish. However, something seems to be missing as the lunch command fails and compilation aborts. Also, I can see that development has been discontinued on this branch for the U8800.
Any suggestions?
The cm-10.1 branch is deprecated, and I am not planning to update it as cm-11.0 is better in any way.
Is the Ubuntu Touch source code only based on cm-10.1 code though? Maybe you could have success using the cm-11.0 code as it is right now? I am not familiar to how Ubuntu uses the lunch commands, it might be different than Android's default.
Blefish said:
The cm-10.1 branch is deprecated, and I am not planning to update it as cm-11.0 is better in any way.
Is the Ubuntu Touch source code only based on cm-10.1 code though? Maybe you could have success using the cm-11.0 code as it is right now? I am not familiar to how Ubuntu uses the lunch commands, it might be different than Android's default.
Click to expand...
Click to collapse
Thanks for the quick response!
The Ubuntu Touch guide specifically states cm-10.1, but I will sign up with their forums and check whether I can use cm-11.
The following passage from the Ubuntu Touch Porting Guide gives the impression I might be able to base my work on cm-11? Would you agree?
"For quick reference, these are the current components used from Android:
Linux Kernel (stock Android kernel provided by the vendor, with a few changes to support some extra features needed by Ubuntu, such as Apparmor)
OpenGL ES2.0 HAL and drivers
Media (stagefright) HAL, to re-use the hardware video decoders
RILD for modem support
As Ubuntu is running as the main host on top of an Android kernel and the communication between the Android services and HAL happens via Binder, Sockets and libhybris. "
I am hoping this could work, as it would be a tremendous help, now that I have a running ROM built on 20 May with your source tree for the device specific code etc. which works like a charm! :good:
Best regards,
aribk

[MIUI] Rom for MDPI devices

I want to build MIUI V6 for my GT-P3100 but only thing is that it's an MDPI device.
I still tried something and here's what I did -->
1) setup patchrom on my Ubuntu.
2) downloaded the miui v6 repo from github
3)used slimkat as base rom for my device ( thank you @Android-Andi)
4)got stuck after issuing the "make fullota" command. I got error regarding multiple configurations while installing framework-res.apk to put folder.
5) I changed the lcd density in build.prop to 240 to at least get a flash able zip although it might not work.
But I still got the same error.
I am following the guide available on github.com/MiCode/patchrom
It is written in broken English but still is quiet clear.
Then to check if I am doing something wrong, I built miui for nexus 5 using the same method and it worked flawlessly.
Could it be due to using slimkat as my base.?
I could use some help here as its my first time with miui and I have never built from source although I will surely build from source if I get enough time and a good guide?
You could try my CM build as base to cross check.

Sources

I'm here to question the device owner. There are few sources around about this device. They are raw and they are as common always experimental. Does anyone need them?
Furthermore, I can sum up here any sources I or other get to find about this device or its periphery.
If you are eager to Void your Warranty please Mind and Acknowledge that every modification only affects you and your contract and noone else.
custom rom
http://forum.xda-developers.com/xperia-xa/development/f3112-f3116-cyanogemod-13-project-t3488890
Silversniper said:
I'm here to question the device owner. There are few sources around about this device. They are raw and they are as common always experimental. Does anyone need them?
Furthermore, I can sum up here any sources I or other get to find about this device or its periphery.
Click to expand...
Click to collapse
Very good thing, I'm trying to build a CM13 rom from sources and I'm not sure if I have all required sources. For now I have, kernel sources with some "vendor" files from Sony and I found all build parameters like offsets/adresses and correct cmdline (no thanks to Sony because never released or mentioned them), the device tree dumped from my device, and I will dump the vendor tree too.
Now I need the defconfig for CM (very not sure if the stock one will work) , and some files like the boardconfig and some config files. I'm using the Elephone P9000 sources for sample, almost the same device (hardware side) and source files.
If I have some time I will try to upload files to git but I never tried before (sync only)...
rrvuhpg said:
Very good thing, I'm trying to build a CM13 rom from sources and I'm not sure if I have all required sources. For now I have, kernel sources with some "vendor" files from Sony and I found all build parameters like offsets/adresses and correct cmdline (no thanks to Sony because never released or mentioned them), the device tree dumped from my device, and I will dump the vendor tree too.
Now I need the defconfig for CM (very not sure if the stock one will work) , and some files like the boardconfig and some config files. I'm using the Elephone P9000 sources for sample, almost the same device (hardware side) and source files.
If I have some time I will try to upload files to git but I never tried before (sync only)...
Click to expand...
Click to collapse
Don't need to hesitate. I'll try to put the directions I've gathered here up today so it is done.
I finished to upload my files to Github:
https://github.com/rrvuhpg
You will find the device, kernel and vendor files to build CM13 for F3112/F3116. For now it will not work, it's just to share and help. I successfully built and booted the Cyanogen recovery with the kernel from sources, the doors for porting new roms are open?? :fingers-crossed:
My next step is to finish the device tree, verify the vendor tree and build the rom
rrvuhpg said:
I finished to upload my files to Github:
https://github.com/rrvuhpg
You will find the device, kernel and vendor files to build CM13 for F3112/F3116. For now it will not work, it's just to share and help. I successfully built and booted the Cyanogen recovery with the kernel from sources, the doors for porting new roms are open?? :fingers-crossed:
My next step is to finish the device tree, verify the vendor tree and build the rom
Click to expand...
Click to collapse
cool.. if work I would like to have it on my f3111 !!
rrvuhpg said:
I finished to upload my files to Github:
https://github.com/rrvuhpg
You will find the device, kernel and vendor files to build CM13 for F3112/F3116. For now it will not work, it's just to share and help. I successfully built and booted the Cyanogen recovery with the kernel from sources, the doors for porting new roms are open?? :fingers-crossed:
My next step is to finish the device tree, verify the vendor tree and build the rom
Click to expand...
Click to collapse
Can you publish some brief preview?
Need to say the sources I had just seem to be down, so can't share them.
Through which Program are these to flash? If you're that far I can hold a look at it and may join in your development.
Verification of the Vendor Files is something I was not very good at it, not even a yolk I managed.
Silversniper said:
Can you publish some brief preview?
Need to say the sources I had just seem to be down, so can't share them.
Through which Program are these to flash? If you're that far I can hold a look at it and may join in your development.
Verification of the Vendor Files is something I was not very good at it, not even a yolk I managed.
Click to expand...
Click to collapse
For now the only preview I can publish are the CM13 boot and recovery "as is", I'm not sure if it can help but I will release them if someone want to port others MTK Roms on XA. ( Never booted any ported rom with the stock kernel, stuck at Sony logo)
Flashing is easy: the recovery with fastboot and Rom/boot in a single flashable zip on the SD.
The kernel sources are coming from 33.2.B.2.95 open source archive from Sony but built from the lastest CM13 and Google git sources.
The vendor tree from 33.2.B.2.93 dumped from my phone, only common files with the P9000 are on my git for now.
The device tree from P9000 sources (from @Deepflex git) but seem OK.
CM13 have Android 6.0.1, I don't know if the security patch is the last one but August for sure.
I'm not so far from a finished build (not mean fully bootable), for now I successfully build a full CM13 for the Elephone P9000 (the twin of the XA, I'm using it as base). It mean my "kitchen" is working Now I'm trying to identify the last proprietary files from all others stock/cm13 libs, modify make files and cross my fingers it will fully build without errors.
You can join me no problem all people are welcome because I can't do all alone
rrvuhpg said:
For now the only preview I can publish are the CM13 boot and recovery "as is", I'm not sure if it can help but I will release them if someone want to port others MTK Roms on XA. ( Never booted any ported rom with the stock kernel, stuck at Sony logo)
Flashing is easy: the recovery with fastboot and Rom/boot in a single flashable zip on the SD.
The kernel sources are coming from 33.2.B.2.95 open source archive from Sony but built from the lastest CM13 and Google git sources.
The vendor tree from 33.2.B.2.93 dumped from my phone, only common files with the P9000 are on my git for now.
The device tree from P9000 sources (from @Deepflex git) but seem OK.
CM13 have Android 6.0.1, I don't know if the security patch is the last one but August for sure.
I'm not so far from a finished build (not mean fully bootable), for now I successfully build a full CM13 for the Elephone P9000 (the twin of the XA, I'm using it as base). It mean my "kitchen" is working Now I'm trying to identify the last proprietary files from all others stock/cm13 libs, modify make files and cross my fingers it will fully build without errors.
You can join me no problem all people are welcome because I can't do all alone
Click to expand...
Click to collapse
good work , but I am noob to create rom with kitchen .. only zip edit I know
Yesterday I successfully built CM13 for XA from sources
But news are not good, the CM recovery is fully working as expected but the rom is stuck just after the Sony logo (Mediatek screen with "loading...") like on my previous attempts to port other roms. The kernel built from CM kitchen do the same... I will upload my git and my rom to see if someone have an idea on the problem. Now I will focus on the "vendor" files, but I'm not sure if it's the real problem. Can it be a locked preloader/kernel or something like that?
EDIT: I think the boot problem is related to the defconfig file from Sony kernel sources, I will try to change some settings. (the door for adding kernel features :good
rrvuhpg said:
Yesterday I successfully built CM13 for XA from sources
But news are not good, the CM recovery is fully working as expected but the rom is stuck just after the Sony logo (Mediatek screen with "loading...") like on my previous attempts to port other roms. The kernel built from CM kitchen do the same... I will upload my git and my rom to see if someone have an idea on the problem. Now I will focus on the "vendor" files, but I'm not sure if it's the real problem. Can it be a locked preloader/kernel or something like that?
EDIT: I think the boot problem is related to the defconfig file from Sony kernel sources, I will try to change some settings. (the door for adding kernel features :good
Click to expand...
Click to collapse
Love you!
I will buy this phone thanks to you :highfive:
Thank you for your work on our phone, it's very cool.
I would have helped if i could develop myself. If you need help get in touch with me i know some great devs who could maybe help you
any news @rrvuhpg ?
Yes I have some news but I want to create a dedicated thread for the CM13 project with updates, explanations and downloads to avoid off topic here. I am on holiday on next week and I will have time to work on it and give explanations. For now I'm stuck on boot because of Sony extra settings in the boot process, it's the first time I see a bootstrap and TA partition mount on a MTK device. If you know a dev for helping me passing the Sony part in the boot init it can be great :angel:
Other thing, I updated my git with parts of the update made by @Deepflex on the P9000 sources and my recent changes.
rrvuhpg said:
Yes I have some news but I want to create a dedicated thread for the CM13 project with updates, explanations and downloads to avoid off topic here. I am on holiday on next week and I will have time to work on it and give explanations. For now I'm stuck on boot because of Sony extra settings in the boot process, it's the first time I see a bootstrap and TA partition mount on a MTK device. If you know a dev for helping me passing the Sony part in the boot init it can be great :angel:
Other thing, I updated my git with parts of the update made by @Deepflex on the P9000 sources and my recent changes.
Click to expand...
Click to collapse
sorry first time I use sony ... I wish you to have nice holiday !

Categories

Resources