[Q&A] Cyanogenmod 10.1 - Samsung Galaxy S II Plus

This thread will be kept for troubleshooting issues with CM build by @KINGbabasula
Please report any bugs found in this thread and keep the Original thread clean.
Link to the thread will be posted here when build will be published
Do not ask for ETA.
Rom will be ready when it's ready !!!

ptothej said:
Hi all
I'm working on CM buil for our beloved i9105P a skullface has stopped the development for our device.
I've started to work on one with a big help from Skullface and a tons of tutorials found.
The thing is when it comes to compiling the build o got an error
No rule to make a target `/home/przemo/Source/out/target/product/i9105P/kernel', wymaganego przez `/home/przemo/Source/out/target/product/i9105P/boot.img'. Stop.
Folder structure is set up as follows
kernel is in folder /home/przemo/Source/kernel/samsung/i9105P
and device files from github are in the folder home/przemo/Source/kernel/samsung/i9105P.
What i'm doing wrong ??
Any help appreciated
Click to expand...
Click to collapse
Try putting the kernel zImage in /home/przemo/Source/out/target/product/i9105P/kernel... and renaming it to "kernel"

panda00 said:
Try putting the kernel zImage in /home/przemo/Source/out/target/product/i9105P/kernel... and renaming it to "kernel"
Click to expand...
Click to collapse
But the out folder is being created when compiling CM build

ptothej said:
But the out folder is being created when compiling CM build
Click to expand...
Click to collapse
Oh sorry, I meant /home/przemo/Source/kernel/samsung/i9105P/kernel - put the zImage inside and rename it to "kernel".
Copied the wrong line
EDIT: Oops wait a second!

Will work on it tomorrow, to much computer screen for today
Wysyłane z mojego GT-I9105P za pomocą Tapatalk 2

Ok so kernel issue is done, was a typo in boardconfig file LOL.
Now ther issues
Import includes file: /home/przemo/Source/out/target/product/i9105P/obj/STATIC_LIBRARIES/libvpx_intermediates/import_includes
Import includes file: /home/przemo/Source/out/target/product/i9105P/obj/STATIC_LIBRARIES/libstagefright_mpeg2ts_intermediates/import_includes
Import includes file: /home/przemo/Source/out/target/product/i9105P/obj/STATIC_LIBRARIES/libstagefright_httplive_intermediates/import_includes
Import includes file: /home/przemo/Source/out/target/product/i9105P/obj/STATIC_LIBRARIES/libstagefright_id3_intermediates/import_includes
Import includes file: /home/przemo/Source/out/target/product/i9105P/obj/STATIC_LIBRARIES/libFLAC_intermediates/import_includes
Import includes file: /home/przemo/Source/out/target/product/i9105P/obj/STATIC_LIBRARIES/libopensles_helper_intermediates/import_includes
Import includes file: /home/przemo/Source/out/target/product/i9105P/obj/STATIC_LIBRARIES/libOpenSLESUT_intermediates/import_includes
Export includes file: frameworks/ex/variablespeed/jni/Android.mk -- /home/przemo/Source/out/target/product/i9105P/obj/SHARED_LIBRARIES/libvariablespeed_intermediates/export_includes
Notice file: frameworks/av/media/libstagefright/NOTICE -- /home/przemo/Source/out/target/product/i9105P/obj/NOTICE_FILES/src//system/lib/libstagefright.so.txt
Notice file: frameworks/av/media/libstagefright/colorconversion/NOTICE -- /home/przemo/Source/out/target/product/i9105P/obj/NOTICE_FILES/src//system/lib/libstagefright_color_conversion.a.txt
Notice file: frameworks/av/media/libstagefright/codecs/mp3dec/NOTICE -- /home/przemo/Source/out/target/product/i9105P/obj/NOTICE_FILES/src//system/lib/libstagefright_mp3dec.a.txt
Notice file: frameworks/av/media/libstagefright/codecs/aacenc/NOTICE -- /home/przemo/Source/out/target/product/i9105P/obj/NOTICE_FILES/src//system/lib/libstagefright_aacenc.a.txt
Notice file: frameworks/av/media/libstagefright/matroska/NOTICE -- /home/przemo/Source/out/target/product/i9105P/obj/NOTICE_FILES/src//system/lib/libstagefright_matroska.a.txt
Notice file: frameworks/av/media/libstagefright/timedtext/NOTICE -- /home/przemo/Source/out/target/product/i9105P/obj/NOTICE_FILES/src//system/lib/libstagefright_timedtext.a.txt
Notice file: external/libvpx/NOTICE -- /home/przemo/Source/out/target/product/i9105P/obj/NOTICE_FILES/src//system/lib/libvpx.a.txt
Notice file: frameworks/av/media/libstagefright/mpeg2ts/NOTICE -- /home/przemo/Source/out/target/product/i9105P/obj/NOTICE_FILES/src//system/lib/libstagefright_mpeg2ts.a.txt
Notice file: frameworks/av/media/libstagefright/httplive/NOTICE -- /home/przemo/Source/out/target/product/i9105P/obj/NOTICE_FILES/src//system/lib/libstagefright_httplive.a.txt
Notice file: frameworks/av/media/libstagefright/id3/NOTICE -- /home/przemo/Source/out/target/product/i9105P/obj/NOTICE_FILES/src//system/lib/libstagefright_id3.a.txt
Notice file: external/flac/libFLAC/NOTICE -- /home/przemo/Source/out/target/product/i9105P/obj/NOTICE_FILES/src//system/lib/libFLAC.a.txt
Notice file: frameworks/av/drm/libdrmframework/NOTICE -- /home/przemo/Source/out/target/product/i9105P/obj/NOTICE_FILES/src//system/lib/libdrmframework.so.txt
Notice file: frameworks/av/drm/common/NOTICE -- /home/przemo/Source/out/target/product/i9105P/obj/NOTICE_FILES/src//system/lib/libdrmframeworkcommon.a.txt
Notice file: frameworks/av/media/libstagefright/omx/NOTICE -- /home/przemo/Source/out/target/product/i9105P/obj/NOTICE_FILES/src//system/lib/libstagefright_omx.so.txt
make: *** Brak reguł do zrobienia obiektu `vendor/samsung/i9105P/proprietary/lib/libvorbisidec.so', wymaganego przez `/home/przemo/Source/out/target/product/i9105P/system/lib/libvorbisidec.so'. Stop.
make: *** Oczekiwanie na niezakończone zadania....
Notice file: frameworks/av/media/libstagefright/yuv/NOTICE -- /home/przemo/Source/out/target/product/i9105P/obj/NOTICE_FILES/src//system/lib/libstagefright_yuv.so.txt
Any Ideas ?

Please ignore previous post got it sorted, had to copy lib and etc folders to vendor folder.
Still few issue to resolve, but getting closer

ptothej said:
Please ignore previous post got it sorted, had to copy lib and etc folders to vendor folder.
Still few issue to resolve, but getting closer
Click to expand...
Click to collapse
I m going to try cm10.1 soon
Bt I think I will wait for ur build.. good luck .

ptothej said:
Please ignore previous post got it sorted, had to copy lib and etc folders to vendor folder.
Still few issue to resolve, but getting closer
Click to expand...
Click to collapse
BTW question. Is it with OC Or what ?

warface123 said:
BTW question. Is it with OC Or what ?
Click to expand...
Click to collapse
It's Stock CM so to speak

warface123 said:
BTW question. Is it with OC Or what ?
Click to expand...
Click to collapse
He's basically got to go with stock CM kernel with no changes to the source as to achieve official CM status somewhere along the road.
Sent from my GT-I9105P

panda00 said:
He's basically got to go with stock CM kernel with no changes to the source as to achieve official CM status somewhere along the road.
Sent from my GT-I9105P
Click to expand...
Click to collapse
As there is no custom kernel at the moment, neither do i have time or knowledge to compile custom kernel.
I've decided to compile GM build based on Skullface project.
As Panda00 said it's a long road ahead.

Sorry to interrupt but I try to follow CM build and have some questions:
- Basically we use(d) http://wiki.cyanogenmod.org/w/Doc:_porting_intro as guideline?
- Device configuration is already done -> skullface's github? Is this one for I9105P or also for I9105?
- Can the stock samsung kernel be used with CM or has it to be kernel source from Samsung Open Source?
- As for kernel source I saw different things till now: skullface imported GT-I9105_SWA but for GT-I9105P we need GT-I9105P_JB?
- There are also GT-I9105_CIS and GT-I9105_MEA available at Samsung Open Source. Are those regional stuff or what's the meaning of CIS and MEA? Does it matter which to choose?
- Next step would be trying to build CM (if Samsung stock kernel can be used it would be easier to build CM instead of using kernel source I assume)?

s2+user said:
Sorry to interrupt but I try to follow CM build and have some questions:
- Basically we use(d) http://wiki.cyanogenmod.org/w/Doc:_porting_intro as guideline?
- Device configuration is already done -> skullface's github? Is this one for I9105P or also for I9105?
- Can the stock samsung kernel be used with CM or has it to be kernel source from Samsung Open Source?
- As for kernel source I saw different things till now: skullface imported GT-I9105_SWA but for GT-I9105P we need GT-I9105P_JB?
- There are also GT-I9105_CIS and GT-I9105_MEA available at Samsung Open Source. Are those regional stuff or what's the meaning of CIS and MEA? Does it matter which to choose?
- Next step would be trying to build CM (if Samsung stock kernel can be used it would be easier to build CM instead of using kernel source I assume)?
Click to expand...
Click to collapse
You have a lot of questions. LOL.
Skullface's work is based on I9105P source , but he just misnamed it.
The stock boot.img cannot be used, you have to modify it (just a little bit) to work with CM. If you're using Skullface's work then that was done for you already.
I know that MEA is Middle East and Africa.. so yes they're regions.
Sent from my GT-I9105P

Kernel seems to have been built sucessfully :victory: but I didn't include pawitp's changes yet
Now I'm waiting for the rest to finish :fingers-crossed:

Build has finished but no zip file inside out directory
Update: forget my problem, found out what was missing :victory:

s2+user said:
Build has finished but no zip file inside out directory
Update: forget my problem, found out what was missing :victory:
Click to expand...
Click to collapse
Well done, now i can stop working on mine CM, no point having 2 same builds.
Wysyłane z mojego GT-I9105P za pomocą Tapatalk 2

ptothej said:
Well done, now i can stop working on mine CM, no point having 2 same builds.
Wysyłane z mojego GT-I9105P za pomocą Tapatalk 2
Click to expand...
Click to collapse
Well you 2 could always collaborate; work together.
Sent from my GT-I9105P

panda00 said:
Well you 2 could always collaborate; work together.
Sent from my GT-I9105P
Click to expand...
Click to collapse
Could do

Well after all we need developers for everything else cause I'm no developer
I only wanted to try building CM and there is so much stuff that I want to know about the whole process of porting and building. But after all it's a little beginning :highfive:

Related

Paranoid Compiling Error

Heyo, I am trying to compile Paranoid Android (I'm using the revision jellybean-legacy, is that the right one?) for the S7500 using TheWhisp's device configuration (S7500 and MSM7x27a-common), MSM7x27a Kernel, ath6kl-compat and MSM7x27a vendor
I've made to get though a problem that I had with TARGET_KERNEL_CONFIG (it said that it couldn't find, so I googled and added it to build/target/board/generic/BoardConfig.mk) and also the problem (the first of all) that it couldn't find the device specific files (so I created a file called pa_trebon.mk that is in vendor/pa/products with the info that I had and added a line to include it on AndroidProducts.mk, which is on the same folder as pa_trebon.mk).
Now I have an issue (after fixing the TARGET_KERNEL_CONFIG) that it stops compiling because it says that has no rule to make bacon (with the debug command, Heyo, I am trying to compile Paranoid Android (I'm using the revision jellybean-legacy, is that the right one?) for the S7500 using TheWhisp's device configuration (S7500 and MSM7x27a-common), MSM7x27a Kernel, ath6kl-compat and MSM7x27a vendor
I've made to get though a problem that I had with TARGET_KERNEL_CONFIG (it said that it couldn't find, so I googled and added it to build/target/board/generic/BoardConfig.mk) and also the problem (the first of all) that it couldn't find the device specific files (so I created a file called pa_trebon.mk that is in vendor/pa/products with the info that I had and added a line to include it on AndroidProducts.mk, which is on the same folder as pa_trebon.mk).
Now I have an issue (after fixing the TARGET_KERNEL_CONFIG) that it stops compiling because it says that has no rule to make bacon (with the debug command, the log: puu.sh/4mhe8.txt (I can't make it an URL since I am not allowed since I didn't post 10 times) and I saw that the out folder only had a few files (but the log says that it's opening inexistent files?).
I can't find anything on the internet that helps me with this problem, I would love if anyone could help me, since Paranoid atracted me and I wanna try something different than TheWhisp's CM10 (though it's great, no offense).) and I saw that the out folder only had a few files (but the log says that it's opening inexistent files?).
capleochi said:
Heyo, I am trying to compile Paranoid Android (I'm using the revision jellybean-legacy, is that the right one?) for the S7500 using TheWhisp's device configuration (S7500 and MSM7x27a-common), MSM7x27a Kernel, ath6kl-compat and MSM7x27a vendor
I've made to get though a problem that I had with TARGET_KERNEL_CONFIG (it said that it couldn't find, so I googled and added it to build/target/board/generic/BoardConfig.mk) and also the problem (the first of all) that it couldn't find the device specific files (so I created a file called pa_trebon.mk that is in vendor/pa/products with the info that I had and added a line to include it on AndroidProducts.mk, which is on the same folder as pa_trebon.mk).
Now I have an issue (after fixing the TARGET_KERNEL_CONFIG) that it stops compiling because it says that has no rule to make bacon (with the debug command, Heyo, I am trying to compile Paranoid Android (I'm using the revision jellybean-legacy, is that the right one?) for the S7500 using TheWhisp's device configuration (S7500 and MSM7x27a-common), MSM7x27a Kernel, ath6kl-compat and MSM7x27a vendor
I've made to get though a problem that I had with TARGET_KERNEL_CONFIG (it said that it couldn't find, so I googled and added it to build/target/board/generic/BoardConfig.mk) and also the problem (the first of all) that it couldn't find the device specific files (so I created a file called pa_trebon.mk that is in vendor/pa/products with the info that I had and added a line to include it on AndroidProducts.mk, which is on the same folder as pa_trebon.mk).
Now I have an issue (after fixing the TARGET_KERNEL_CONFIG) that it stops compiling because it says that has no rule to make bacon (with the debug command, the log: puu.sh/4mhe8.txt (I can't make it an URL since I am not allowed since I didn't post 10 times) and I saw that the out folder only had a few files (but the log says that it's opening inexistent files?).
I can't find anything on the internet that helps me with this problem, I would love if anyone could help me, since Paranoid atracted me and I wanna try something different than TheWhisp's CM10 (though it's great, no offense).) and I saw that the out folder only had a few files (but the log says that it's opening inexistent files?).
I can't find anything on the internet that helps me with this problem, I would love if anyone could help me, since Paranoid atracted me and I wanna try something different than TheWhisp's CM10 (though it's great, no offense).
Click to expand...
Click to collapse
I know that you lost hours syncronising the repo of PA ,and don't want to leave it .Send me thr local manifest you made and pease specify the android/cm version youre
Going to use
Sent from my GT-S7500 using xda premium
blinqipa said:
I know that you lost hours syncronising the repo of PA ,and don't want to leave it .Send me thr local manifest you made and pease specify the android/cm version youre
Going to use
Sent from my GT-S7500 using xda premium
Click to expand...
Click to collapse
puu.sh/4mpLK.xml
And if I am not wrong, the Android version is 4.2.2. Also the repo was fast to sync (since I used -c).
Also, thanks for helping me
capleochi said:
puu.sh/4mpLK.xml
And if I am not wrong, the Android version is 4.2.2. Also the repo was fast to sync (since I used -c).
Also, thanks for helping me
Click to expand...
Click to collapse
The jellybean revision must be cm10.1 on msm7.27a-common either the atheros ath6kl is for 3.0.x kernel I think so :?
Sent from my GT-S7500 using xda premium
migedli from
blinqipa said:
The jellybean revision must be cm10.1 on msm7.27a-common either the atheros ath6kl is for 3.0.x kernel I think so :?
Sent from my GT-S7500 using xda premium
Click to expand...
Click to collapse
Alright I'll change that and I'll post the results soon, also, the ath6kl was included in one of the device .mk files (dunno which one) so I added it.
EDIT: Still the same, dunno what's going on :|
I think there's a file saying to compile the out files (which don't exist, like the log says). At the moment I am looking on the .mk files to see if I can find the problem.
capleochi said:
I think there's a file saying to compile the out files (which don't exist, like the log says). At the moment I am looking on the .mk files to see if I can find the problem.
Click to expand...
Click to collapse
Anything ?
Sent from my GT-S7500 using xda premium
blinqipa said:
Anything ?
Sent from my GT-S7500 using xda premium
Click to expand...
Click to collapse
Sorry for the late reply, I was trying to figure out what's going on.
So I removed the edits that I made to BoardConfig.mk, since I believe that didn't copy pre-built files. (?)
Now, I have this:
Code:
build/core/tasks/kernel.mk:77: **********************************************************
build/core/tasks/kernel.mk:78: * Kernel source found, but no configuration was defined *
build/core/tasks/kernel.mk:79: * Please add the TARGET_KERNEL_CONFIG variable to your *
build/core/tasks/kernel.mk:80: * BoardConfig.mk file *
build/core/tasks/kernel.mk:81: **********************************************************
make: *** Sem regra para processar o alvo `bacon'. Pare.
[email protected]:~/android/Paranoid$
But TARGET_KERNEL_CONFIG is already included in trebon.mk. Even though that I lunched the device. Maybe it still thinks it's generic? Anyway, if you know how to fix this, feel free to post, I'll keep trying to make this work, since -i -k doesn't works with make.
(And thanks for supporting me blinqipa.)
capleochi said:
Sorry for the late reply, I was trying to figure out what's going on.
So I removed the edits that I made to BoardConfig.mk, since I believe that didn't copy pre-built files. (?)
Now, I have this:
Code:
build/core/tasks/kernel.mk:77: **********************************************************
build/core/tasks/kernel.mk:78: * Kernel source found, but no configuration was defined *
build/core/tasks/kernel.mk:79: * Please add the TARGET_KERNEL_CONFIG variable to your *
build/core/tasks/kernel.mk:80: * BoardConfig.mk file *
build/core/tasks/kernel.mk:81: **********************************************************
make: *** Sem regra para processar o alvo `bacon'. Pare.
[email protected]:~/android/Paranoid$
But TARGET_KERNEL_CONFIG is already included in trebon.mk. Even though that I lunched the device. Maybe it still thinks it's generic? Anyway, if you know how to fix this, feel free to post, I'll keep trying to make this work, since -i -k doesn't works with make.
(And thanks for supporting me blinqipa.)
Click to expand...
Click to collapse
Hey bro ,look I'm not really doing much ,but although want to help.
Look at the Paranoid android compiling thread
http://forum.xda-developers.com/showthread.php?t=1863547
Don't hesitate ,ask thousands of times until they really help you
Sent from my GT-S7500 using xda premium
Thanks, I hope they'll be able to help me fix it, and I might install Ubuntu on my main (and better) computer. 8)
Sent from my GT-S7500 using xda premium

[SOURCE] Cyanogenmod Source Highly Compressed

Content moved. Go here: http://forum.xda-developers.com/showthread.php?t=3231109
Thank you
thank you for sharing this
md5= 550a231310527ce322f6c0e3c0c0596c
thanks for this post, urm can you do jelly bean 4.2.2 for me :good:
are you sure this is full source? because i think full source comes around 15 or 20 gb. This is merely 3.2 gb.
falconnoob said:
are you sure this is full source? because i think full source comes around 15 or 20 gb. This is merely 3.2 gb.
Click to expand...
Click to collapse
Yaa bro... this is the full cm12 source... Highly compressed... I have my friends who have been using this... I myself am using this bro! If u extract the file... U get around 15GB...
kirito9 said:
thanks for this post, urm can you do jelly bean 4.2.2 for me :good:
Click to expand...
Click to collapse
4.2.2? Yaa sure... I had my friend uploaded it before... Here you go:
http://www.androidfilehost.com/?fid=23060877490004404
Link updated @kirito9 bro! Please copy-paste in browser...
This is the cm10.1 source.. (Android 4.2.2)
Born to be a coder said:
thank you for sharing this
Click to expand...
Click to collapse
Anytime Aman!
Please Dont Post on the Q/A thread.. I wont look at it... Post here and press the thanks button!
Awsome
You are really awsome can u do a favour to me
can you provide me the llvm and stlport folder compressed of cm11 source present in cm11/external/....
Please
Thanks again @regalstreak :laugh:
---------- Post added at 10:52 AM ---------- Previous post was at 10:48 AM ----------
4.2.2? Yaa sure... I had my friend uploaded it before... Here you go:
Download
This is the cm10.1 source.. (Android 4.2.2)
WORKING NOW THANKS :good: :laugh:
regalstreak said:
Yaa bro... this is the full cm12 source... Highly compressed... I have my friends who have been using this... I myself am using this bro! If u extract the file... U get around 15GB...
Click to expand...
Click to collapse
can you upload the compressed .repo folder too so that we can update it?i mean repo synced later on? and also is it cm12.1 or cm12?
falconnoob said:
can you upload the compressed .repo folder too so that we can update it?i mean repo synced later on? and also is it cm12.1 or cm12?
Click to expand...
Click to collapse
It is cm12... Not 12.1 as it is still in development stages and unstable. Of the .repo folder... Ill see... Ill compress it and see.. If size is less than 5gb.. Ill upload it... Ill update u guys on this till thursday..
P.S. Im happy dad bought me a new laptop! Lenovo z50-70.. The i7 model...
Help
Brother i need serious help im trying to get my proprietary files via .sh and it says cannot create directory permission denied and says adbd cannot run tried adbd insecure (it disables usb debugging in my case)
HOW TO FIX
the ss of error is attached plz help
sandeep.sethi said:
Brother i need serious help im trying to get my proprietary files via .sh and it says cannot create directory permission denied and says adbd cannot run tried adbd insecure (it disables usb debugging in my case)
HOW TO FIX
the ss of error is attached plz help
Click to expand...
Click to collapse
try
Code:
cd (your directory before the cm12 source)
chmod -R 777 cm12
chmod -R a+x cm12
No success
regalstreak said:
try
Code:
cd (your directory before the cm12 source)
chmod -R 777 cm12
chmod -R a+x cm12
Click to expand...
Click to collapse
It is showing same error.
Actually you can update to cm12.1 using a cm12 repo. Repo is basically a collection of git object, uploading this would serve no purpose, .repo folder is needed.
Sent from my Moto G using XDA Free mobile app
i have fixed propreitory files but now it shows this error
http://pastebin.com/Ux2Fia5h
got error.. need assistance.
regalstreak said:
Hey Guys! I have found many people like me with low bandwidth are not able to sync the cyanogenmod source. So here I present to you. Cyanogenmod 12 Source (Android 5.0.2) as of 29/03/2015! The original source size including the .repo folder is 29 GB. In the .repo folder, there are temporary files. So I have not included the .repo folder as you dont need it to compile. The size of source without .repo folder is 14 GB. And it is highly compressed to only 3.2 GB! This has purely done by me. So. Here you go:
You Cannot Update the sources as they do not have the .repo folder!
Cyanogenmod 12
DOWNLOAD
FAQ
Q1> Is this really Cyanogenmod 12 source?
Ans: Yeah! I have compressed it! and it is real Cyanogenmod 12 source.
Q2> How To Extract Source?
Ans:
Open Terminal
Download 7zip if not done before (sudo apt-get install p7z-full)
Now cd to the drive where you have downloaded the sources
7z x *.7z
Now you have extracted the source
Q3> Will you upload the .repo folder?
Ans:Sorry Guys. I cannot. The highly compressed size ofthe .repo folder is 10GB which makes it worthless to upload as you would not download because of low bandwidth. I also cant upload because of low bandwidth. More over, you cannot update to cm12.1 with the repo folder. You can just update the minor changes committed by the cyanogenmod maintainers. So, In short, Im not uploading. Sorry forthe inconvenience.
You cannot extract source with GUI on the Archive Extractor. So, Try the method I mentioned
Q3> The size is 2 GB or 3.2 GB? I saw the size 2 GB on Androidfilehost!
Ans: The size is 3.2 GB. I had kept the laptop whole night for uploading. So maybe it did not show the correct size there!
Please press the "Thanks Button" if I helped you and quote me if you have a problem!
Click to expand...
Click to collapse
got this error when ran make -j4 otatools.
Checking build tools versions...
************************************************************
You are attempting to build with the incorrect version
of java.
Your version is: Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar java version "1.7.0_79" OpenJDK Runtime Environment (IcedTea 2.5.6) (7u79-2.5.6-0ubuntu1.15.04.1) OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode).
The required version is: "1.7.x"
Please follow the machine setup instructions at
https://source.android.com/source/initializing.html
************************************************************
build/core/main.mk:171: *** stop. Stop.
need help...
thanks..
I was trying to build for s duos 2
butt this error came after 3 hours
almamun512 said:
I was trying to build for s duos 2
butt this error came after 3 hours
Click to expand...
Click to collapse
Please reattach the picture.
jackey31 said:
got this error when ran make -j4 otatools.
Checking build tools versions...
************************************************************
You are attempting to build with the incorrect version
of java.
Your version is: Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar java version "1.7.0_79" OpenJDK Runtime Environment (IcedTea 2.5.6) (7u79-2.5.6-0ubuntu1.15.04.1) OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode).
The required version is: "1.7.x"
Please follow the machine setup instructions at
https://source.android.com/source/initializing.html
************************************************************
build/core/main.mk:171: *** stop. Stop.
Install the correct java version bro...
need help...
thanks..
Click to expand...
Click to collapse
regalstreak said:
Please reattach the picture.
Click to expand...
Click to collapse
These are the screenshots ........................
bro can u upload cm11 sources ?? i have it but when i try to generate boot.img recovery files .. it alwasy gave me error of .. "unpackbootimg is not found"
i have tryd make -j4 otatools but still error occured ..
i will be very thankfull to you if u find me a fix for it else upload cm11 source as highly compressed as u did with cm12
almamun512 said:
These are the screenshots ........................
Click to expand...
Click to collapse
your build tree has problems... correct it... source is correct

Towards a Complete Kernel Source Code For Lenovo A6000 / Plus

Complete Kernel Source Code is essential for building rom from scratch
what lenovo did it give us incomplete Code missing the important files and directories and hide the essential part
Lenovo should release kernel source in full, so we can look after our self
Kernel development doesn't take place unless we get the device's schematics and its corresponding defconfig.
Lenovo has hidden the caf tag inside the firmware. there is matching qcom caf kernel tag for the same chipset. But without the schematics of the device, we couldn't proceed in developing
until now the official source is incomplete
but some developers trying to fill the gaps from similar devices you can find these builds on github
here is the last source kernel from lenovo and github
Downloads:
kerenel source from github by Flour_Mo :
here
kerenel source from github by ramsudharsan updated 20/8/2015 :
Here
kerenel source from Lenovo updated 7/8/2015:
Here
XDA:DevDB Information
Towards a Complete Kernel Source Code For Lenovo A6000 / Plus, ROM for the Android General
Contributors
ED300
ROM OS Version: 5.1.1. Lollipop
Version Information
Status: Testing
Created 2015-08-24
Last Updated 2015-08-24
When u develop your own kernel?
sourav8434 said:
When u develop your own kernel?
Click to expand...
Click to collapse
when i have a complete source kernel
what are you making
For which rom you are working now and when u will release kernel for lenovo a6000
check this out please
check this link please if it is complete or not
xttp://lenovo-forums.ru/topic/11326-lenovo-a6000-%D0%B8%D1%81%D1%85%D0%BE%D0%B4%D0%BD%D1%8B%D0%B9-%D0%BA%D0%BE%D0%B4-%D1%8F%D0%B4%D1%80%D0%B0/?hl=%2Ba6000+%2Bplus
change x to h
SIMBIOS said:
check this link please if it is complete or not
xttp://lenovo-forums.ru/topic/11326-lenovo-a6000-%D0%B8%D1%81%D1%85%D0%BE%D0%B4%D0%BD%D1%8B%D0%B9-%D0%BA%D0%BE%D0%B4-%D1%8F%D0%B4%D1%80%D0%B0/?hl=%2Ba6000+%2Bplus
change x to h
Click to expand...
Click to collapse
this is the same incomplete lenovo source
sourav8434 said:
For which rom you are working now and when u will release kernel for lenovo a6000
Click to expand...
Click to collapse
don't worry good news coming in the way
what news
ED300 said:
don't worry good news coming in the way
Click to expand...
Click to collapse
Whats that news ed3000
bad news
ED300 said:
don't worry good news coming in the way
Click to expand...
Click to collapse
hey i just checked lenovo site now lollipop update is in september
whats the good news?
SIMBIOS said:
hey i just checked lenovo site now lollipop update is in september
whats the good news?
Click to expand...
Click to collapse
i can't confirm any thing now ,
but i think the coming days we will make progress to solve sim bug completely on CM12.1
missing things
Hi,
I find following things missing from stock kernel
1. whole kernel directory all together
2. Def-config (altough i managed to extract it from boot.img)
Do you what are other things that are missing?
I'm able to compile the kernel with some fixes from cm kernel, but now able to generate the dtb file. Any help will be appreciated.
Thanks
Chhapil
yay
ED300 said:
i can't confirm any thing now ,
but i think the coming days we will make progress to solve sim bug completely on CM12.1
Click to expand...
Click to collapse
good luck hope you fix it praying for u
Hello how can i fix my phone lenovo A6000 it always pop up please input puk code.. How can i remove it? Thanks
Penggot said:
Hello how can i fix my phone lenovo A6000 it always pop up please input puk code.. How can i remove it? Thanks
Click to expand...
Click to collapse
i think the problem on the sim try different sim and see what happen
chhapil said:
Hi,
I find following things missing from stock kernel
1. whole kernel directory all together
2. Def-config (altough i managed to extract it from boot.img)
Do you what are other things that are missing?
I'm able to compile the kernel with some fixes from cm kernel, but now able to generate the dtb file. Any help will be appreciated.
Thanks
Chhapil
Click to expand...
Click to collapse
good job chhapil
i gave links to kernel source from github it should be completed
you will find also at github the source for cynogenmod 12.1 if you want compile it
Here is the latest update from my side.
I'm able to create zimage from kernel, dtb from source. But the kernel fails to boot.
If I flash my kernel the phone restarts with blank screen and it mounts all the partitions when connected to pc.
I'm not very sure what's going wrong.
Sent from my GT-I9100 using XDA Free mobile app
chhapil said:
Here is the latest update from my side.
I'm able to create zimage from kernel, dtb from source. But the kernel fails to boot.
If I flash my kernel the phone restarts with blank screen and it mounts all the partitions when connected to pc.
I'm not very sure what's going wrong.
Sent from my GT-I9100 using XDA Free mobile app
Click to expand...
Click to collapse
try this link :
https://github.com/Silentlys/Cyanogenmod_device_lenovo_Kraft_T/tree/cm12.1
copy from kernel folder to kernel source and compile
you will find also zimage ready
kernel for lenovo a6000
chhapil said:
Here is the latest update from my side.
I'm able to create zimage from kernel, dtb from source. But the kernel fails to boot.
If I flash my kernel the phone restarts with blank screen and it mounts all the partitions when connected to pc.
I'm not very sure what's going wrong.
Sent from my GT-I9100 using XDA Free mobile app[/QUOTE.
Hey. Chhapil. When will you release kernel for lenovo a6000/plus?
Have u made if you made then post please
We will be thankful
Click to expand...
Click to collapse
There is no point releasing non working kernel.
Let's wait till ED300 posts a working build or Lenovo themselves.
Sent from my GT-I9100 using XDA Free mobile app
kernel boot issue
Hi,
Here is the issue i'm facing.
I created a new image from the KK stock kernel + the missing parts , repacked it the boot.img from the stock rom.
When i do
fastboot boot new-boot.img
the phone reboots and mounts the system partition and couple of other internal partitions with no display.
Do you know these symptoms?
Any Idea what could be going wrong here?
On the other note,
the LP source code compile good without any issues at all, but I'm using stock KK so there is NO room for to make tries with it.

[rom][d2303] pac-rom

PAC ROM for D2303
https://onedrive.live.com/redir?res...19&authkey=!AIAixlfmiDf-uR8&ithint=folder,zip
(unfortunately, I have no idea what happened with my Ubuntu, the build process doesn't create a .zip file, you'll have to flash it with fastboot boot/userdata/system)
of all the main things: wifi, mobile data, gps, voice calls working...camera not
installed on d2303 things that do not work.
Camera
proximity sensor
.During the call screen does Not turn off
handsfree speaker
* The data connection works 3G and 4G
themes CM WORKING FINE
everything else PERFECT
great job
Try putting this and the other roms in the right xda section shouldn't they be in the original Android development forum with cm+omni ect just a thought like few screenshots wouldn't go amiss either
D2303 5.1 deodexed z2 port+z5+X apps+themes, be,xr,sv,ad,XZRt2urecovery,xposed,z5 cam2.0,xLOUD,S-Force,viperaudio+more
[email protected] said:
Try putting this and the other roms in the right xda section shouldn't they be in the original Android development forum with cm+omni ect just a thought like few screenshots wouldn't go amiss either
D2303 5.1 deodexed z2 port+z5+X apps+themes, be,xr,sv,ad,XZRt2urecovery,xposed,z5 cam2.0,xLOUD,S-Force,viperaudio+more
Click to expand...
Click to collapse
well, yeah, i honestly didnt know where to put them, because i didnt actually 'develop' them...the build process has errors that need to be fixed but i didnt think it is 'development' so i post them here
quake73 said:
well, yeah, i honestly didnt know where to put them, because i didnt actually 'develop' them...the build process has errors that need to be fixed but i didnt think it is 'development' so i post them here
Click to expand...
Click to collapse
So many roms..i bet your workspace is a mess right now
Local manifest you used for that rom? And can you post the errors? (use the "code" tag or paste them in pastebin and put link here)
Konstantinosj77 said:
So many roms..i bet your workspace is a mess right now
Local manifest you used for that rom? And can you post the errors? (use the "code" tag or paste them in pastebin and put link here)
Click to expand...
Click to collapse
xexe
about the errors that I had, I am more than glad to share them (I have a simple text file and write reminders there, to remember them and not "reinvent the wheel" every time)
For this one, PACROM, I think the only error was 'unsupported relloc 43', the cure is:
cp /usr/bin/ld.gold prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/bin/ld
(for a long time, i thought the cure was WITHOUT_HOST_CLANG=true)
the manifest is a mess but here it is...i also have created a file in vendor/pac/products and added cm.mk in device/sony/eagle...built it with "build-pac.sh eagle"
quake73 said:
xexe
about the errors that I had, I am more than glad to share them (I have a simple text file and write reminders there, to remember them and not "reinvent the wheel" every time)
For this one, PACROM, I think the only error was 'unsupported relloc 43', the cure is:
cp /usr/bin/ld.gold prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/bin/ld
(for a long time, i thought the cure was WITHOUT_HOST_CLANG=true)
the manifest is a mess but here it is...i also have created a file in vendor/pac/products and added cm.mk in device/sony/eagle...built it with "build-pac.sh eagle"
Click to expand...
Click to collapse
oh good old "unsupported relloc" i use arch linux and got it in every build.
It's fixed on AOSP master branch https://android-review.googlesource.com/#/c/223100/
CM13 uses this patch too
Konstantinosj77 said:
oh good old "unsupported relloc" i use arch linux and got it in every build.
It's fixed on AOSP master branch https://android-review.googlesource.com/#/c/223100/
CM13 uses this patch too
Click to expand...
Click to collapse
(mine is virtual Ubuntu 16)
i must admit, the 6.0 roms are building 'more flawlessly' than the 5.1 variants....and it seems that 5.1s are not getting any more fixes.
i dont know if you are trying to build any but...i tried building cm12.1 for 2 weeks, with every possible combination of device tree and vendor (SonyAOSP/SonyCM/xperiadev/CM, sony vendor files/Benevolent) and there is no mobile data connection, any ideas?
quake73 said:
(mine is virtual Ubuntu 16)
i must admit, the 6.0 roms are building 'more flawlessly' than the 5.1 variants....and it seems that 5.1s are not getting any more fixes.
i dont know if you are trying to build any but...i tried building cm12.1 for 2 weeks, with every possible combination of device tree and vendor (SonyAOSP/SonyCM/xperiadev/CM, sony vendor files/Benevolent) and there is no mobile data connection, any ideas?
Click to expand...
Click to collapse
Not a single idea...did you checked logcat or something?
Konstantinosj77 said:
Not a single idea...did you checked logcat or something?
Click to expand...
Click to collapse
nope but while building roms, I slowly dig deeper and deeper into the source code files, checking logs is what i fear will be next .
I already got too much addicted to this, my pc is building roms almost 24/7
quake73 said:
nope but while building roms, I slowly dig deeper and deeper into the source code files, checking logs is what i fear will be next .
I already got too much addicted to this, my pc is building roms almost 24/7
Click to expand...
Click to collapse
haha i suggest you to install ubuntu natively using dualboot
It's a lot faster
Konstantinosj77 said:
haha i suggest you to install ubuntu natively using dualboot
It's a lot faster
Click to expand...
Click to collapse
hehe, i had that crazy idea, too but....i'm a windows guy, the current setup is quite good...16gb ram (8 for ubuntu),
4 HDs, home/cache/out/swap distributed on different HDs, what more can I ask? It's an old pc, AMD x64 x4, 7-8 years but it serves me well...My heart doesnt let me replace it
What is jumpin in rom
quake73 said:
nope but while building roms, I slowly dig deeper and deeper into the source code files, checking logs is what i fear will be next .
I already got too much addicted to this, my pc is building roms almost 24/7
Click to expand...
Click to collapse
Quake that is not taking in Rom?
i think the thing make this rom has no camera working is boot.img 3.10.x because every rom using this kernel has no camera working and please show me how to make 3.4.x kernel is working inside this rom
vinz156 said:
i think the thing make this rom has no camera working is boot.img 3.10.x because every rom using this kernel has no camera working and please show me how to make 3.4.x kernel is working inside this rom
Click to expand...
Click to collapse
thats a good idea. I'll try to build again with one of the older kernels from sonyxperiadev.
quake73 said:
thats a good idea. I'll try to build again with one of the older kernels from sonyxperiadev.
Click to expand...
Click to collapse
It's not gonna work...
Only stock kernel and stock camera blobs can make camera work....
Konstantinosj77 said:
It's not gonna work...
Only stock kernel and stock camera blobs can make camera work....
Click to expand...
Click to collapse
How about cm12.1 what's make camera inside that rom is fully working
Sent from my Xperia M2 (AOSP) using XDA-Developers mobile app
vinz156 said:
How about cm12.1 what's make camera inside that rom is fully working
Sent from my Xperia M2 (AOSP) using XDA-Developers mobile app
Click to expand...
Click to collapse
Stock kernel and stock modules....
These are used for omni 5.1.1 with working camera
Code:
https://github.com/erikcas/android_kernel_sony_msm/tree/5.1-3.4
https://github.com/erikcas/vendor-sony/tree/r13-cam
https://github.com/erikcas/vendor-qcom/tree/r13-cam
Sometimes you have to make changes to the framework files of the ROM and to the device tree

[KERNEL] [MTD] [TW/CM9/CM11] [DEV] Watson Kernel (MTD support on Gingerbread!)

Hello guys,
This is a project I was working on for a kernel for our SGY.
I made it with a few things in mind:
>Improve it's performance
>Be universally compatible (after I nearly given up on trying to get a snappier CM11 and after the need for a snappier SGY, I decided to go back to GB. However, BML is terrible, and it is annoying to come back to. I decided to build a MTD kernel for Gingerbread then, and it works!)
>Experiment and upgrade as much as I can (thanks @robcore!!!!)
But since I lost my device, I cannot continue developing it. I am then releasing the source code (sorry, no flashable stuff, I deleted it long ago ) for any of you to continue(?) my work if your heart so desires.
If I ever get myself another SGY (or another BCM21553 device), I will gladly continue development (and support whoever does it too), but before I lose all my data and the kernel code alongside it, I am making it available.
This kernel features:
-OC up to 1040MHz (It's questionable even today if the bcm21553 OCs really work, but I tried hacking a way that works very similarly to MarocOS's one, maybe even better. Be warned though, the source around it is messy)
-GPU hacks for performance (Again, even I don't know if they do work, probably the values are just there to be seen, I'm not sure. I do know though that increasing the CPU speed will much likely increase the speed of V3D too)
-DVFS disabled (I found out DVFS is mostly the culpirit in the "832MHz crisis" where the kernel would forcefully scale itself to 832MHz, so I eliminated any reference to it in kernel code. Apparently DVFS on the processor is only available under the bcm21553 governor, but it is present on the other drivers as well. The idea for disabling DVFS came from my friend @robcore)
-A few additional governors and a buggy interactive governor (which is the default xd)
-MTD support for Gingerbread (Thanks Samsung Epic 4G! Although it only works on TouchWiz (I tried it with SL v2 and v2.1 and it works, but under NougatME(CM7) I got no success and loads of segfaults), it works ALMOST perfectly. See bugs for details )
-Some scraped source code from Samsung's FSR I found on the internet (barely compilable, though)
Bugs:
>Gingerbread version:
-IMEI won't appear in the Status screen, I also faced problems with non-working radio for calls. Data works just fine, but calling and receiving calls is unavailable. I believe it is EFS-related. My suggestion is backing up the EFS partition's file structure, then converting it to MTD, then restoring the backup.
-TWRP will crash and panic when exiting, a workaround is force rebooting
>ICS version:
-TWRP will crash and panic when exiting (I believe fixing it here will fix the bug above too)
>KitKat version:
-Flashing images fail randomly, you may also be unable to reboot normally if you do so. I tried addressing this but I couldn't get anywhere.
DOWNLOAD THE SOURCE: Here!
Thanks to:
 @robcore - his development on the Snapdragon S4 breathes life on my dev soul!
 @zman0900 - I saw his thread on an MTD TW kernel for the Samsung Epic 4G, which led me to believe MTD on GB is possible.
nice kernel
It sound nice. I'm a newbie developer, I'm building a kernel to fix audio bug on cm9, hope it work. And thank you for the source
vdhero said:
It sound nice. I'm a newbie developer, I'm building a kernel to fix audio bug on cm9, hope it work. And thank you for the source
Click to expand...
Click to collapse
Have you gathered enough info on it? I would like to fix it too, but I couldn't get any info on whether if the audio bug is a kernel-side issue or an OS -side issue.
Best of luck for you
Building and fixing
sonickles9 said:
Have you gathered enough info on it? I would like to fix it too, but I couldn't get any info on whether if the audio bug is a kernel-side issue or an OS -side issue.
Best of luck for you
Click to expand...
Click to collapse
I don't sure so I decided to build a kernel from your source and another cm9 version from Mohamad.Afaneh's source and I'll merge the audio on both of them for the best think to fix the bug.Thank you .
Link for kernel?
(img files...)(stock/cm9/cm11)
TheRealModder said:
Link for kernel?
(img files...)(stock/cm9/cm11)
Click to expand...
Click to collapse
Compile one for yourself,man. It only takes like 15-25 mins
vdhero said:
Compile one for yourself,man. It only takes like 15-25 mins
Click to expand...
Click to collapse
I don't know how to compile....
TheRealModder said:
I don't know how to compile....
Click to expand...
Click to collapse
He wrote a script already, just add your toolchain and run the script. There's a guide in the readme
vdhero said:
He wrote a script already, just add your toolchain and run the script. There's a guide in the readme
Click to expand...
Click to collapse
Ok. The watson-kernel-bcm21553-src is used with other files?
Because i want to make cm9 mohhamad afaneh optimized version
TheRealModder said:
Ok. The watson-kernel-bcm21553-src is used with other files?
Because i want to make cm9 mohhamad afaneh optimized version
Click to expand...
Click to collapse
To make it, you have to sync the cm9 source code then add the files from his github to your localmanifest. This thing is not in anyway related to that except the MTD. This one is a kernel-compile only source
Oh man, i give up. I can't build a kernel from source, but i can modify a kernel.
Can someone give me the zimage for ics Please....
Sent from my Zenfone 2 Laser using XDA Labs
TheRealModder said:
Oh man, i give up. I can't build a kernel from source, but i can modify a kernel.
Can someone give me the zimage for ics Please....
Click to expand...
Click to collapse
zlimage? We don't have that here, we only have boot.img for kernel
vdhero said:
zlimage? We don't have that here, we only have boot.img for kernel
Click to expand...
Click to collapse
Or you can give me the extracted boot.img files. (ICS/KK)
I will rebuild it using dsixda's android kitchen.
Sent from my Zenfone 2 Laser using XDA Labs
TheRealModder said:
Or you can give me the extracted boot.img files. (ICS/KK)
I will rebuild it using dsixda's android kitchen.
Sent from my Zenfone 2 Laser using XDA Labs
Click to expand...
Click to collapse
Sorry but I can't because I'm bored of making ROMs so I switched back to Windows. I'm planning on making a ROM, I'll compile the kernel for you once I get linux installed
vdhero said:
Sorry but I can't because I'm bored of making ROMs so I switched back to Windows. I'm planning on making a ROM, I'll compile the kernel for you once I get linux installed
Click to expand...
Click to collapse
Ok. If you want to install linux i recommend using ubuntu or linux mint.
Ubuntu official website:https://www.ubuntu.com/
Linux mint official website:https://linuxmint.com/
Sent from my Zenfone 2 Laser using XDA Labs
VDHERO Please But a New Galaxy t Gt-S5360 and start the Development!
vdhero said:
To make it, you have to sync the cm9 source code then add the files from his github to your localmanifest. This thing is not in anyway related to that except the MTD. This one is a kernel-compile only source
Click to expand...
Click to collapse
VDHERO Please But a New Galaxy t Gt-S5360 and start the Development!
Assabtigle said:
VDHERO Please But a New Galaxy t Gt-S5360 and start the Development!
Click to expand...
Click to collapse
Sorry but I can't since my sgy is dead for a long time ago. I'll try to make one if I can find one. I've heard that there are some places that sell sgy for about 5 bucks, i'll find one ì possible
Be fast bro!!
vdhero said:
Sorry but I can't since my sgy is dead for a long time ago. I'll try to make one if I can find one. I've heard that there are some places that sell sgy for about 5 bucks, i'll find one ì possible
Click to expand...
Click to collapse
BE fast BRO Love U and Your WORK!!
All Your DEVELOPMENT are Faster than The ORIGINAL one Please Buy a NEW one!
and Yeah install the Stock Rom in your Phone by ODIN it will be fine!:laugh:

Categories

Resources