Hi everyone.
This lineage build thing is driving me off the wall . In theory I understand the concept and
even most of the steps needed to compile , however in practice Im Stuck and feel like my
aptitude and IQ fall just short of dev level and compiling ability .
I'm so frustrated because I've been highly successful at unlocking and flashing
different devices , but my mind is having trouble grasping how to successfully compile
code for lineage .
Goes to show you , sometimes knowing the theory of something is totally different than
execution of it in the real world .
Hope someone can guide me because even with Linux ,
compiling code has never worked out for me even though I'm very good at everything else with it .
Thank you friends .
Chris.
Related
Can someone explain me how to cook a Galaxy S' ROM?
I'm pretty good with computer, and i have a lot of time, if someone can help me i'm sure that i will work hard on it.
Thanks for any help!
Iacopo91 said:
Can someone explain me how to cook a Galaxy S' ROM?
I'm pretty good with computer, and i have a lot of time, if someone can help me i'm sure that i will work hard on it.
Thanks for any help!
Click to expand...
Click to collapse
if it would be that easy, everybody would do it
what do you mean by "good with computers"? do you know how to write code (C/C++)? are you yet experienced with running linux? have you ever compiled a kernel before? do you want to make a source-(AOSP)-rom (then you can get the source here: http://source.android.com/ and here: http://opensource.samsung.com/) or do you want to just theme and customize a stock firmware?
i think there are already some tutorials around which will help you in the beginning. just google for them!
i haven't done custom rom development myself but i would really like to get some (clean) aosp goodness on this phone. i am experienced with linux (use it since 6 years as primary os) and i can code c/c++/asm. so if you are in fact serious and able to go all the way. i would appreciate to help!
jodue said:
if it would be that easy, everybody would do it
what do you mean by "good with computers"? do you know how to write code (C/C++)? are you yet experienced with running linux? have you ever compiled a kernel before? do you want to make a source-(AOSP)-rom (then you can get the source here: http://source.android.com/ and here: http://opensource.samsung.com/) or do you want to just theme and customize a stock firmware?
i think there are already some tutorials around which will help you in the beginning. just google for them!
i haven't done custom rom development myself but i would really like to get some (clean) aosp goodness on this phone. i am experienced with linux (use it since 6 years as primary os) and i can code c/c++/asm. so if you are in fact serious and able to go all the way. i would appreciate to help!
Click to expand...
Click to collapse
I'm pretty able to develop with Eclipse, so android sdk. Linux quite good, i prefer to use windows, but i know linux is necessary. First of all i'd like to know how to customize GALAXY fw and then i'll study how to compile a kernel, no one during my life helps me, and it's difficult for me because i'm not good with english and all tutorials are in english!
I'll try to work on it! Thank you
Can someone explain me how to cook a Galaxy S Froyo ROM with AOSP as the base and samsung drivers?
Could someone please explain to me how to flash the Korean firmware onto the European phone? Really need the native "record call" feature
I saw some instructions posted here
http://forum.androidcentral.com/hacking/40130-100-stock-captivate-rom-aosp-source.html
It's not difficult if you're comfortable with linux, shell scripts, custom kernels, and cross compiling.
Basically that's pretty much all it needs, Android systems are very similiar to a running linux system.
Boot off a bootloader (usually closed sourced) into kernel and initrd, then init loads the drivers, system and configs, after which is pretty much to your taste and likings.
Source code of android, samsung kernel source, are available online, google is your friend.
HI just had email from Samsung to say source is now out... roll on some custom kernels .... please
..well as it looks like we don't have any kernel devs I thought I try to compile my self as the guides look easy enough.. but even a straight build from the Samsung source fails at the first hurdle.
Make clean report an error of a missing file being referenced in drivers fc3150 or something like.. on checking it is certainly not there and if I remove the reference as there is also a fc3200 which is there it simply complains that the make file is incorrect in some way.
If some one with experience could have a look and assist or point me in the right direction I would be grateful thanks
sometime back this was posted
http://forum.xda-developers.com/showpost.php?p=63556533&postcount=135
unfortunately moonbutt closed his thread just when I and another member posted boot image etc on the board..understand he may have moved on to better things
not knowledgeable here but appreciate if someone can take this up or redirect this to some dev who can make a rooted kernel since the source has been published
thanks
SM-T237P
Would love to root my 5.1.1 tab , so I too would be begging for another developer to step in to fill this need. I need a kernel with UVC video support.
OKAY so now I know my posts were getting deleted when I asked for T235 kernel root
zitomd said:
Would love to root my 5.1.1 tab , so I too would be begging for another developer to step in to fill this need. I need a kernel with UVC video support.
Click to expand...
Click to collapse
yesterday or may have been on Sat night, on the T533 thread I tried to catch moonbutt's attention by pointing to the T235 source (when apparently he was saying the T533 had no source but was addressing that kernel) and now that post has gone like on his closed thread (just when it seemed he was taking an interest thanking me for providing boot.img and other files)
anyway...need some dev who can volunteer to work on this and at least someone who would respond yes or no (deleting posts maybe to avoid a side conversation)
I pulled the source started to look it up and looked up on how to modify kernel..looked doable to a point but this is from a total novice (all i know is to mod some apk, compile/re-compile but no building stuff)
mac231us said:
yesterday or may have been on Sat night, on the T533 thread I tried to catch moonbutt's attention by pointing to the T235 source (when apparently he was saying the T533 had no source but was addressing that kernel) and now that post has gone like on his closed thread (just when it seemed he was taking an interest thanking me for providing boot.img and other files)
anyway...need some dev who can volunteer to work on this and at least someone who would respond yes or no (deleting posts maybe to avoid a side conversation)
I pulled the source started to look it up and looked up on how to modify kernel..looked doable to a point but this is from a total novice (all i know is to mod some apk, compile/re-compile but no building stuff)
Click to expand...
Click to collapse
mac,
i had your post removed because it was interfering in H's thread. I tried with this device a little while ago but testers seem to think they are at liberty to not follow instruction, or just change their minds mid-stream like they haven't just wasted my time and resources. . The upside would be if you have the source and the setup to compile it and thereby test your own work then, i can absolutely run you through what you need to do, The tricky part is knowing which tools you need for the packing/unpacking of the ramdisk.
If this is a qcom/msm device you will need AIK which is the best solution.
If this is a marvell variant you will need ketut's degas bootimg toolkit which is the best solution.
You need [likely] to apply the patch mentioned in my thread to security/selinux/selinuxfs.c
Be aware that samsung's source releases are usually incredibly sloppy and the defconfigs for devices are usually somewhat off, missing config settings.
Check for sdcardfs xattrs, virtual xattrs, etc . you need to make sure those are selected in order for your internal and external storage to mount.
Find the correct defconfig for your device and post it as a zipped attachment. or check my thread and look at my sources on git, specifically the commit history [msm devices mostly] to get an idea of what you need. You can get a linux os running in a virtual machine and compile just fine as long as you have all the pre-requisites installed. The getting started link in my signature is a rough/general guide to help get you up and running.
m
ps, my thread is just locked, not closed, i was getting too many OT/non-dev postings. I open it when/if i have something new and then close it again.
thanks moonbutt74...totally understand...appreciate the links in your signature and other resources...will start looking into it (long long journey but gotta try)
mac231us said:
thanks moonbutt74...totally understand...appreciate the links in your signature and other resources...will start looking into it (long long journey but gotta try)
Click to expand...
Click to collapse
mac,
no prob, recommended step 1, get your linux distro set up, stongly recoommend kali/debian 2.0, either in vm or better as 2nd os in a dual boot scenario.
m
Hello,
After joining XDA for quite some time, where I flashed different roms, some times bricking the phone, I can say my experience was amazingly eye opening. Now, here I am, feeling quite inspired to try building one by myself and hopefully further contribute to the Mi A1 forum. I followed many tutorials, guides, lineage website etc but yet still face the issue: certain commands give me errors where I get stuck. What went wrong? Is it based on luck, where sometimes u get it working, sometimes not? Huge thanks to whoever is willing to help me(newbie) so I can accomplish my dream of successfully building it
I would like some help with finishing with the device tree and also I’m having issues with building a kernel and the only thing I get is the dtbs files from there.
Here is the kernel
github.com/488315/android_kernel_mediatek_mt8163
Device tree
github.com/488315/android_device_amazon_karnak
I would like to help with people and collaborate in my discord channel and my discord channe link is discord.gg/ZYZuBMu
I don’t know if I’m allowed to post these stuff here but I hope it would help and I’m a college student and full time worker and it has been keeping time away from it and an help would be appreciated, when this is done you’re welcome to test it out and post issues on this page.
Sent from my iPhone using Tapatalk
The building has been in progress
It’s in progress... but bad news is that it fails to continue to build because it keeps giving out profman error and I can’t provide screenshots here but it’s in my discord channel and I think the tree wasn’t set up properly and I got a help from @Rortiz2 and I think that my tree isn’t properly setup. Well I think that I have to rebuild my device tree and it feels like I’m going to give up on this project because it’s not easy but I have school and work and it took me a lot of time to build this tree but I would never give up by motivation. I can let you guys modify my tree and I tried my best as I can. Tonight I will update my tree because there are some modifications to help build. It is synced and up to date. I tried make clean and clobber and also I followed the guide too. It sucks that it has been failing. If you guys would like to help me and get it done by end of this month, ill release it publicly. I would appreciate all your help!