I posted this in the Cyanogenmod for MediaTek thread but i thought some others might want to see it. Inside the
Code:
16.0.A.0.36/mediatek/build/android/tools
folder there is a file called filter.py that apparently "filters" the source for a release and it takes out esential files for all things android related but not kernel level. IE rild, hwcomposer, surfaceflinger, etc.. We cant build these parts with out this. but anyway heres the list if you dont want to look yourself.
Code:
filter = [
"external/besloudness",
"external/fmtest",
"external/libfm",
"$(MTK_PATH_SOURCE)/external/camera",
"$(MTK_PATH_SOURCE)/external/ccci_fsd",
"$(MTK_PATH_SOURCE)/external/ccci_mdinit",
"$(MTK_PATH_SOURCE)/external/mhal",
"$(MTK_PATH_SOURCE)/external/mnl",
"$(MTK_PATH_SOURCE)/external/Rachel_Load",
"$(MTK_PATH_SOURCE)/external/RIL_ut_program",
"external/opencore",
"external/ppp",
["external/skia",
["external/skia/include",
"external/skia/emoji",
"external/skia/src/ports/SkImageRef_ashmem.h"]],
["frameworks/base/camera/libcameraservice",
["frameworks/base/camera/libcameraservice/CameraService.h"]],
["frameworks/base/include/private/media/",
["frameworks/base/include/private/media/VideoFrame.h"]],
["frameworks/base/libs/audioflinger",
["frameworks/base/libs/audioflinger/AudioFlinger.h",
"frameworks/base/libs/audioflinger/AudioBufferProvider.h"]],
["frameworks/base/libs/surfaceflinger",
["frameworks/base/libs/surfaceflinger/SurfaceFlinger.h",
"frameworks/base/libs/surfaceflinger/Barrier.h",
"frameworks/base/libs/surfaceflinger/CPUGauge.h",
"frameworks/base/libs/surfaceflinger/LayerBlur.h",
"frameworks/base/libs/surfaceflinger/Layer.h",
"frameworks/base/libs/surfaceflinger/VRamHeap.h",
"frameworks/base/libs/surfaceflinger/BlurFilter.h",
"frameworks/base/libs/surfaceflinger/LayerBase.h",
"frameworks/base/libs/surfaceflinger/LayerBuffer.h",
"frameworks/base/libs/surfaceflinger/LayerOrientationAnim.h",
"frameworks/base/libs/surfaceflinger/Tokenizer.h",
"frameworks/base/libs/surfaceflinger/clz.h",
"frameworks/base/libs/surfaceflinger/LayerBitmap.h",
"frameworks/base/libs/surfaceflinger/LayerDim.h",
"frameworks/base/libs/surfaceflinger/OrientationAnimation.h",
"frameworks/base/libs/surfaceflinger/Transform.h", ]],
"frameworks/base/libs/ui",
"frameworks/base/media/java",
"frameworks/base/media/jni",
"frameworks/base/media/libmedia",
"frameworks/base/media/tests",
"frameworks/base/opengl/conform",
"frameworks/base/opengl/GLBenchmark",
"frameworks/base/opengl/libagl",
"frameworks/base/opengl/libagl_mtk",
"frameworks/base/opengl/libs",
"frameworks/base/services/java",
"frameworks/base/telephony",
"hardware/libhardware_legacy/gps",
"hardware/libhardware_legacy/wifi",
"$(MTK_PATH_SOURCE)/hardware/gsm0710muxd",
["$(MTK_PATH_SOURCE)/hardware/ril",
["$(MTK_PATH_SOURCE)/hardware/ril/mtk-ril/oper.lis"]],
"hardware/ril/include",
"hardware/ril/libril",
"hardware/ril/reference-cdma-sms",
"hardware/ril/reference-ril",
"hardware/ril/rild",
"packages/apps/Camera",
"packages/apps/MediaTek/FileManager",
"packages/apps/MediaTek/WebBench",
"packages/apps/MediaTek/WebSpeed",
"packages/apps/MyTube",
"packages/apps/SoundRecorder",
"packages/apps/VideoPlayer",
["system/bluetooth",[
"system/bluetooth/bluedroid/include",
"system/bluetooth/data",
"system/bluetooth/bluez-clean-headers/bluetooth"]],
"system/core/include/cutils/pmem.h",
"system/core/init",
"system/core/libcutils",
]
Many of the Devs around have probably found this, but now if you guys want to send an email to MediaTek you know what exactly to ask for. (I've sent countless with ZERO replies to date so don't get your hopes high.)
Related
Hi devs (schlund, devras, tzacapaca, anynymous devs & future devs)
Since Cardsharing deleted all the photon kernel repository on GIT website (thank you Cardsharing), we need to do it again.
I suggest we use Google Code:
http://code.google.com/p/support/wiki/GettingStarted
Google code has a project src hosting (for devs), a bug tracker (for devs and users), a wiki (for n00bs) and a download section.
The drawback is, all of you guys need a google ID to use it.
Otherwise we can continue with a new GIT repository, or use google SVN for that, or any other tool of your suggestion.
What do you think?
ok sorry i forgot, codiak already created this page for photon:
http://code.google.com/p/photon-android/
let's use this!
Sry for spamming, but why did Cardsharing delete all hes posts ?
fatslim said:
why did Cardsharing delete all hes posts ?
Click to expand...
Click to collapse
Though cardsharing is a great developer but is being childish at this time. He just believe r0bin, schlund and other developers are not supporting him.
@cardsharing: stop acting rude dude. Think evaone is developing their part of job and developing their part of work. Please don't act so badly and help us porting android on hd mini.
thanks r0bin, schlund and other developers for porting android for us.
hi guys,
project page have been updated, codiak and tzacapaca are the big boss of the page
download latest release, see here:
http://code.google.com/p/photon-android/downloads/list
tutorial on how to install, see here:
http://code.google.com/p/photon-andr...ation_Tutorial
to report a new bug, see here:
http://code.google.com/p/photon-android/issues/list
feel free to write a WIKI page for FAQ or specific help on photon (like Wifi setup etc)
http://code.google.com/p/photon-android/w/list
for devs that want to analyse or checkout src code, see here:
http://code.google.com/p/photon-android/source/checkout
Who did this new thing 18.05.2011_r96.rar in the Download list?
I didn't know that has been added since 5/23?
Please if something new we must know..
Thanks
iPlasm said:
Who did this new thing 18.05.2011_r96.rar in the Download list?
I didn't know that has been added since 5/23?
Please if something new we must know..
Click to expand...
Click to collapse
This release has been done by Schlund, using his new kitchen!
To my knowledge, it is similar to the previous latest release, but thanks to schlund's kitchen it takes less space.
Schlund's Kitchen is a tool for devs (many thanks Schlund, this tool is very powerful!)
It allows you to update and modify easily the files stored inside system.ext2, init.rd and kernel and generate those files for test & release.
Schlund also wrote a wiki here:
http://code.google.com/p/photon-android/wiki/GettingStartedWithTheKITCHEN
Regarding releases changes, don't worry, if there is any bug fixed this will be posted on the forum.
Till now, we're still working on 3G, little progress:
photon can now be "attached" to GPRS, next step is IP configuration.
be patient...
Thank you for your answer Robin.. & Thanks for schlund also.
No problem.. I will be patient
I just wanted to say if new packages, as I said: Please if something new we must know.. for helping or something else..
Anyway Thanks
-r0bin- said:
This release has been done by Schlund, using his new kitchen!
To my knowledge, it is similar to the previous latest release, but thanks to schlund's kitchen it takes less space.
Schlund's Kitchen is a tool for devs (many thanks Schlund, this tool is very powerful!)
It allows you to update and modify easily the files stored inside system.ext2, init.rd and kernel and generate those files for test & release.
Schlund also wrote a wiki here:
http://code.google.com/p/photon-android/wiki/GettingStartedWithTheKITCHEN
Regarding releases changes, don't worry, if there is any bug fixed this will be posted on the forum.
Till now, we're still working on 3G, little progress:
photon can now be "attached" to GPRS, next step is IP configuration.
be patient...
Click to expand...
Click to collapse
woww very cool you are still working on it. i will be patient and check every week once a time, or there is any progress. Thumbs up for the Devs.
Google code is really useful for user like me to get the update and wiki. Thanks so much robin
iPlasm said:
Who did this new thing 18.05.2011_r96.rar in the Download list?
I didn't know that has been added since 5/23?
Please if something new we must know..
Thanks
Click to expand...
Click to collapse
sorry for my bad english mate! and pardon me for interrupting all the devs n users. but i cant root this new release. ive tried those absolute system root; 1.3.3 and 1.7.3 just to be prompted the device cant be rooted. something to do with nand. anyone facing the same problem? ive no prob with the prev release except the call problem where people cant hear my voice.
MOD pls delete this. ive found the answers. its just a matter of remove, reboot and install. sorry for this post.
-r0bin- said:
Hi devs (schlund, devras, tzacapaca, anynymous devs & future devs)
Since Cardsharing deleted all the photon kernel repository on GIT website (thank you Cardsharing), we need to do it again.
I suggest we use Google Code:
http://code.google.com/p/support/wiki/GettingStarted
Google code has a project src hosting (for devs), a bug tracker (for devs and users), a wiki (for n00bs) and a download section.
The drawback is, all of you guys need a google ID to use it.
Otherwise we can continue with a new GIT repository, or use google SVN for that, or any other tool of your suggestion.
What do you think?
Click to expand...
Click to collapse
I dont know why we allways have diferent size of the zImage but source is one, I'm uploaded mine source here https://gitorious.org/2-6-32-photon/testing/commits/master
cardsharing said:
I dont know why we allways have diferent size of the zImage but source is one, I'm uploaded mine source here https://gitorious.org/2-6-32-photon/testing/commits/master
Click to expand...
Click to collapse
we already have source repository here:
http://code.google.com/p/photon-android/source/browse/
but if you want one just for you, to be able to delete anytime, feel free
hehehehe, no problem, good luck!
Hey All! I have been lurking around the forums and reading intensively on how to create a ROM but all I get usually is moreso on how to modify an existing rom, not actually create one from scratch, the steps involved in creating one, either from a Download of the base rom (un-rooted ) or pulling files off the phone itself via (adb pull /system )
If you know of any good info that may be of use to me please feel free to post a link! Any help would be appreciated!
**I currently have/use the Samsung Galaxy Prevail (SPH-M820 ) boostMobile, so anything directly related would be appreciated**
Thankx!
This is the very core of it!
Android source
You will be able to download compile and build a ROM, although, all of those threads on modifying ROM's will then come in handy because you are going to have a lot of tweaking as well.
If you are interested in Cyanogenmod source have a look HERE
Also check out the Chef Central section subforum Android. Lots of good stuff there.
imheroldman - Thanks I appreciate the links! , and those are some I have NOT run across yet lol :facepalm:
Hi,
I thought this was not yet possible to port Cyanogenmod on Dual Sim devices, at least not properly, but then I saw this post:
http://forum.xda-developers.com/showthread.php?t=2246874
It gave me a real hope for the generic MT6589 device I am currently using.
I am new to all of this, so I hope I don't bother everyone.
Also, my device uses obviously different hardware, but uses the same processor, so I managed to install the above ROM and got it working but without any screen display.
In other words, it was working, and I could see everything as far as the installation wizzard was concerned, so I thought I was fine, but then when I was done and it rebooted, I could not see anything on the display anymore, but the phone was still working working.
So I am assuming some obvious hardware drivers differences, and that the old drivers were still working till I restarted?
Is there a way to modify the rom to make it work?
What files would I need to pull from my device to add/replace in the posted ROM to make it worlk, if that is possible?
Or does cynanogenmod have to compile with the files of my device to work, even though the processor bit had already been done?
If so, I have no problem in trying to compile cyanogenmod from scratch, but I will still get the dual SIM problem, and I thought this has been fixed in this ROM.
So what modifications would need to be done to incorporate the DUAL SIM issue, and make it work, or has this already been resolved upstream?
Is there a github or such of the modifications and alterations that were done to Cyanogenmod for this posted ROM in order to get it working?
I am willing to use those files and port it to my device, but without these modifications, I will not be able to do anything, even though the kernel sources for MT6589 are openly available now.
Sorry for asking this question here, but I tried to reply to the original post and it did not let me.
Is it okay to ask this here?
If not, please excuse me, and if you can forward me to the right place.
Thanks and regards
noobworld said:
Hi,
I thought this was not yet possible to port Cyanogenmod on Dual Sim devices, at least not properly, but then I saw this post:
http://forum.xda-developers.com/show....php?t=2246874
It gave me a real hope for the generic MT6589 device I am currently using.
I am new to all of this, so I hope I don't bother everyone.
Also, my device uses obviously different hardware, but uses the same processor, so I managed to install the above ROM and got it working but without any screen display.
In other words, it was working, and I could see everything as far as the installation wizzard was concerned, so I thought I was fine, but then when I was done and it rebooted, I could not see anything on the display anymore, but the phone was still working working.
So I am assuming some obvious hardware drivers differences, and that the old drivers were still working till I restarted?
Is there a way to modify the rom to make it work?
What files would I need to pull from my device to add/replace in the posted ROM to make it worlk, if that is possible?
Or does cynanogenmod have to compile with the files of my device to work, even though the processor bit had already been done?
If so, I have no problem in trying to compile cyanogenmod from scratch, but I will still get the dual SIM problem, and I thought this has been fixed in this ROM.
So what modifications would need to be done to incorporate the DUAL SIM issue, and make it work, or has this already been resolved upstream?
Is there a github or such of the modifications and alterations that were done to Cyanogenmod for this posted ROM in order to get it working?
I am willing to use those files and port it to my device, but without these modifications, I will not be able to do anything, even though the kernel sources for MT6589 are openly available now.
Sorry for asking this question here, but I tried to reply to the original post and it did not let me.
Is it okay to ask this here?
If not, please excuse me, and if you can forward me to the right place.
Thanks and regards
Click to expand...
Click to collapse
link is dead.
who is the dev.
prantoroy said:
link is dead.
who is the dev.
Click to expand...
Click to collapse
Thanks for the headsup.
I placed in an incomplete link, here is the complete link:
http://forum.xda-developers.com/showthread.php?t=2246874
I also updated the post.
The developper seems to be:
bgcngm
Thanks
noobworld said:
Thanks for the headup.
I placed in an incomplete link, here is the complete link:
http://forum.xda-developers.com/showthread.php?t=2246874
I also updated the post.
The developper seems to be:
bgcngm
Thanks
Click to expand...
Click to collapse
give sme time.will try
---------- Post added at 10:44 AM ---------- Previous post was at 10:42 AM ----------
prantoroy said:
give sme time.will try
Click to expand...
Click to collapse
just as I thought.the kernel.
its not fr u. ask dev to create a kernel fr u!
Thank you for your fast reply.
Where do I ask?
Also, I was hoping to learn how to do it, and have the sources if possible, or at least how to modify the sources, because I have about three of these chinese devices, all using the same processor, but with different hardware.
Thanks
prantoroy said:
give sme time.will try
---------- Post added at 10:44 AM ---------- Previous post was at 10:42 AM ----------
just as I thought.the kernel.
its not fr u. ask dev to create a kernel fr u!
Click to expand...
Click to collapse
noobworld said:
Thank you for your fast reply.
Where do I ask?
Also, I was hoping to learn how to do it, and have the sources if possible, or at least how to modify the sources, because I have about three of these chinese devices, all using the same processor, but with different hardware.
Thanks
Click to expand...
Click to collapse
Ask The dev
And Its not that easy
prantoroy said:
Ask The dev
And Its not that easy
Click to expand...
Click to collapse
Well, I tried posting on the original thread, but couldn't.
Then tried to send a private message, but couldn't.
So I started this thread.
You said:
And Its not that easy
Click to expand...
Click to collapse
Did you mean it is not easy to contact the dev, or not easy to compile the sources for my devices?
Just wanted to be sure.
Thanks again
noobworld said:
Well, I tried posting on the original thread, but couldn't.
Then tried to send a private message, but couldn't.
So I started this thread.
You said:
Did you mean it is not easy to contact the dev, or not easy to compile the sources for my devices?
Just wanted to be sure.
Thanks again
Click to expand...
Click to collapse
no you cant post until u have 10 posts
and its not easy to develop rom
prantoroy said:
no you cant post until u have 10 posts
and its not easy to develop rom
Click to expand...
Click to collapse
I can see that, but I think with some patience I can do it.
Also, I have been using Linux for years now, and it seems I just need to figure out how things are laid out in Android.
And once I get used to that, then things become easier.
I am assuming that the linux kernel needs to be compiled with the specific drivers related to my hardware, right?
However, that would still not take into account:
- The changes made in Android/Cyanogenmod that take into account Dual SIM functionality
- How Cyanogenmod is actually laid-out, such as are changes done directly to stock android, or applied as patches?
I was thinking of the following:
1) Checking for the difference between stock Android and Cyanogenmod, and save aside the diff changes to make a patch file.
2) Then hope to find the sources of the stock android that has already been modified to work with MT6589, since these devices obviously use Android on them with some modifications
3) Then apply the patch made in (1) on these sources
Thus, I also need one important question answered:
If I were to download the sources for Cyanogenmod (which I already did), are the patches to the stock Android already applied, or are they placed in a separate folder, and applied on compilation?
I have this feeling that the above patches will probably not work out, because there will probably be extra functions, code that the patch will not be able to take into account, and will have some type of non-working or broken system, until I figure out what is missing.
I might get it to boot to a certain point (most probably shell like), and it would stop there.
Well, in either case, after writing all this down, I started to visualize more the hard part you are talking about, and this would require good knowledge of Android Code and structure.
Thus, if anyone can give me the required Cyanogenmod sources that have already been modified to work on an MT6589, or the diff patches between the normal and modified Cynogenmod, then that would be amazing.
Then I will have to only figure out at that point the propriety files I need to pull from the device, and specific vendor modifications.
Of course, I am just speculating, as this depends on how Android/Cyanogenmod is structured, and I could be completely off the mark, and have no idea what I am talking about.
Thanks
noobworld said:
I can see that, but I think with some patience I can do it.
Also, I have been using Linux for years now, and it seems I just need to figure out how things are laid out in Android.
And once I get used to that, then things become easier.
I am assuming that the linux kernel needs to be compiled with the specific drivers related to my hardware, right?
However, that would still not take into account:
- The changes made in Android/Cyanogenmod that take into account Dual SIM functionality
- How Cyanogenmod is actually laid-out, such as are changes done directly to stock android, or applied as patches?
I was thinking of the following:
1) Checking for the difference between stock Android and Cyanogenmod, and save aside the diff changes to make a patch file.
2) Then hope to find the sources of the stock android that has already been modified to work with MT6589, since these devices obviously use Android on them with some modifications
3) Then apply the patch made in (1) on these sources
Thus, I also need one important question answered:
If I were to download the sources for Cyanogenmod (which I already did), are the patches to the stock Android already applied, or are they placed in a separate folder, and applied on compilation?
I have this feeling that the above patches will probably not work out, because there will probably be extra functions, code that the patch will not be able to take into account, and will have some type of non-working or broken system, until I figure out what is missing.
I might get it to boot to a certain point (most probably shell like), and it would stop there.
Well, in either case, after writing all this down, I started to visualize more the hard part you are talking about, and this would require good knowledge of Android Code and structure.
Thus, if anyone can give me the required Cyanogenmod sources that have already been modified to work on an MT6589, or the diff patches between the normal and modified Cynogenmod, then that would be amazing.
Then I will have to only figure out at that point the propriety files I need to pull from the device, and specific vendor modifications.
Of course, I am just speculating, as this depends on how Android/Cyanogenmod is structured, and I could be completely off the mark, and have no idea what I am talking about.
Thanks
Click to expand...
Click to collapse
ok I will help u.
go here
http://forum.xda-developers.com/forumdisplay.php?f=613
prantoroy said:
ok I will help u.
go here
http://forum.xda-developers.com/forumdisplay.php?f=613
Click to expand...
Click to collapse
Wow... Even though I searched for so long, I did not find this.
I guess I did not know what to search for.
I thank you a lot.
I will probably take a while to learn how to use this, so I will disappear until I figure it out.
If I managed to do anything, then will come back and post my status.
Thanks again
noobworld said:
Wow... Even though I searched for so long, I did not find this.
I guess I did not know what to search for.
I thank you a lot.
I will probably take a while to learn how to use this, so I will disappear until I figure it out.
If I managed to do anything, then will come back and post my status.
Thanks again
Click to expand...
Click to collapse
glad I could help.
and don't bother .its my job to help new.
and pm me if u need smthing.
and please close thread.
Hi friends ,
I think , Rom porting from Moto G5 to Zenfone 3 Laser , it's possible and they are compatible phones. Snapdragon 430 and 1080p screen. Who can do it ? Or , do you know , how to make rom porting , i can try . Thanks. Please write your informations. (Sory my english)
Don't have the time to port it myself, nor do I have a spare daily driver to use in case anything goes wrong. There should be a ton of guides and resources on Youtube and Google, including Lineage's own wiki that they have on the LineageOS site. All you'd need are around 100 GBs of hard drive space, 8 GBs of RAM and an up-do-date Linux distro (like Ubuntu) with ADB and fastboot binaries installed.
Just know that it won't be as easy as some guides make it out to be, and it may be frustrating at times. Very frustrating. However, if you still feel up to the challenge, good luck and thanks for trying to contribute to the community.
Sorry I can't give links since I didn't hit 10 posts yet.
ZephyrusHi said:
Don't have the time to port it myself, nor do I have a spare daily driver to use in case anything goes wrong. There should be a ton of guides and resources on Youtube and Google, including Lineage's own wiki that they have on the LineageOS site. All you'd need are around 100 GBs of hard drive space, 8 GBs of RAM and an up-do-date Linux distro (like Ubuntu) with ADB and fastboot binaries installed.
Just know that it won't be as easy as some guides make it out to be, and it may be frustrating at times. Very frustrating. However, if you still feel up to the challenge, good luck and thanks for trying to contribute to the community.
Sorry I can't give links since I didn't hit 10 posts yet.
Click to expand...
Click to collapse
Yeah, I'm working on my 10 posts as well. In terms of roms, id like to see one that helps to solve the poser issue.
@xxMoon : Are tou actually working on porting a ROM on asus zenfone 3 Laser ?
If yes, which model name is it ?
I'm acutally trying to port lineageOS 14.1, but it's my first experience.
Maybe we should share our work.
Panda
I know the first comments on this post will be the pessimistic "if you are asking all these questions, then you will not be able to do this" type.. however, if that is the case, how did all the developers learn to build custom ROMs for their devices? They must have learnt from somewhere or by their own trial and error.. therefore they can share their knowledge if willing to do so.
My question is about the building of a custom ROM e.g. LineageOS for an unsupported device which has no device tree or anything of the sort, such as a BLU Studio X Plus.
I know the basic commands.. But I'm not sure of the full process for creating the necessary blobs for my device(s).
I am aspiring to be a developer myself, but need someone to teach me. If any of you are willing to assist me in my endeavour, comment down below, or you can even privately message me.
Any assistance will be greatly appreciated!
Alando123 said:
I know the first comments on this post will be the pessimistic "if you are asking all these questions, then you will not be able to do this" type.. however, if that is the case, how did all the developers learn to build custom ROMs for their devices? They must have learnt from somewhere or by their own trial and error.. therefore they can share their knowledge if willing to do so.
My question is about the building of a custom ROM e.g. LineageOS for an unsupported device which has no device tree or anything of the sort, such as a BLU Studio X Plus.
I know the basic commands.. But I'm not sure of the full process for creating the necessary blobs for my device(s).
I am aspiring to be a developer myself, but need someone to teach me. If any of you are willing to assist me in my endeavour, comment down below, or you can even privately message me.
Any assistance will be greatly appreciated!
Click to expand...
Click to collapse
They started by starting with smaller, less complicated developments/modifications to get some basic understanding. Then they started spending more time doing more diligent research, reading, reading again then reading again than they did spending time asking questions.
As for the "sharing their knowledge" for others to learn.... Well, that is exactly why there are hundreds or even thousands of guides and threads on the various types of android custom development on many different websites and forums. The issue you are having is based in the fact that all of the guides are written with an assumption that the reader already has some form of intermediate programming knowledge, they are not written for the proverbial "noob". Another factor is that none of the guides are an "all-in-one, everything you need to know from start to finish" type of guide, this is because there are too many differences in the various android versions, hardware architectures, SDK versions, APIs and etc. to make a guide complete enough for general usage on every type of device, there are specific things involved that make that an impossible task. So don't get your hopes up about some kind of miracle answer that takes the pain and hard work out of your journey.
Study the guides, start small, get good at what you start with, then work your way up, starting with trying to build something like a ROM with no previous programming experience, is not a good idea for a starting point.
There is no shortage of people coming to XDA wanting to be developers and asking for someone to help teach them, it just doesn't work that way, you gotta be willing to put the time into learning and figuring out at least 95% of it on your own, that is how they learned, why should it be any different for you. The cold reality is, those that truly desire it, seek it diligently without reaching out for a hand to do the "real" work for them, the ones that succeed and excel are the ones that climb the ladder themselves with very little help from the outside because they reach inside of themselves and apply themselves to their goal without quitting or losing heart or saying "this is too hard, help me".
First of all, it depends on whether the stock source code is available for your device, if there is no stock source code available to the public(no, I'm not talking about the stock firmware file), then you will not be able to build a custom ROM from source for your device, which means that you won't be able to build anything like LineageOS because setting up the device tree requires the stock source code. No source code=no device tree, no device tree=no LineageOS or AOSP ROMs. Devices that do not have a source code available can only get ROMs if someone chooses to port a ROM from a similar device with similar hardware, that is the only way to get a ROM without stock source code. The stock firmware would be required in order to port a ROM from a similar device, if the stock firmware is not available, you can't port a ROM.
Sent from my LGL84VL using Tapatalk
Droidriven said:
They started by starting with smaller, less complicated developments/modifications to get some basic understanding. Then they started spending more time doing more diligent research, reading, reading again then reading again than they did spending time asking questions.
As for the "sharing their knowledge" for others to learn.... Well, that is exactly why there are hundreds or even thousands of guides and threads on the various types of android custom development on many different websites and forums. The issue you are having is based in the fact that all of the guides are written with assumption that the reader already has some form of intermediate programming knowledge, they are not written for the proverbial "noob". Another factor is that none of the guides are an "all-in-one, everything you need to know from start to finish" type of guide, this is because there are too many differences in the various android versions, hardware architectures, SDK versions, APIs and etc. to make a guide complete enough for general usage on every type of device, there are specific things involved that make that an impossible task. So don't get your hopes up about some kind of miracle answer that takes the pain and hard work out of your journey.
Study the guides, start small, get good at what you start with, then work your way up, starting with trying to build something like a ROM with no previous programming experience, is not a good idea for a starting point.
There is no shortage of people coming to XDA wanting to be developers and asking for someone to help teach them, it just doesn't work that way, you gotta be willing to put the time into learning and figuring out at least 95% of it on your own, that is how they learned, why should it be any different for you. The cold reality is, those that truly desire it, seek it diligently without reaching out for a hand to do the "real" work for them, the ones that succeed and excel are the ones that climb the ladder themselves with very little help from the outside because they reach inside of themselves and apply themselves to their goal without quitting or losing heart or saying "this is too hard, help me".
Sent from my LGL84VL using Tapatalk
Click to expand...
Click to collapse
Thanks for the advice.. I was hoping for something along the lines of a "I found a formula, you can use it to solve your problem" kind of answer.. But I understand your point of view. I was by no means asking for anyone to do the "real" work for me, just for a helping hand to point me in the correct direction. Most of the guides I see are just to create some basic files using the boot.img of my device.
Alando123 said:
Thanks for the advice.. I was hoping for something along the lines of a "I found a formula, you can use it to solve your problem" kind of answer.. But I understand your point of view. I was by no means asking for anyone to do the "real" work for me, just for a helping hand to point me in the correct direction. Most of the guides I see are just to create some basic files using the boot.img of my device.
Click to expand...
Click to collapse
I added to my post above, it might give you an idea of what is possible and what isn't.
Go to the LineageOS website and read the basic guide for setting up an android build environment, then read some guides for building ROMs for other similar Blu Studio devices.
Also, another important factor in whether or not a custom ROM is possible for your device is thst your bootloader must be unlocked or at least "can" be unlocked.
You also need a custom recovery such as TWRP(which you'd probably have to build for yourself, which is yet another task to learn in development along with learning to build a ROM, not to mention learning how to get the kernel right) in order to flash a LineageOS custom ROM or any other ROM that is not based on stock, TWRP is easier to learn how to build than a ROM, but still a task in itself. Modified stock ROMs can be customized and flashed without root or custom recovery but they aren't "true" custom ROMs, they are still fully stock underneath with some tweaks "on the surface".
Sent from my LGL84VL using Tapatalk
Droidriven said:
I added to my post above, it might give you an idea of what is possible and what isn't.
Go to the LineageOS website and read the basic guide for setting up an android build environment, then read some guides for building ROMs for other similar Blu Studio devices.
Also, another important factor in whether or not a custom ROM is possible for your device is thst your bootloader must be unlocked or at least "can" be unlocked.
You also need a custom recovery in order to flash a LineageOS custom ROM or any other ROM that is not based on stock. Modified stock ROMs can be customized and flashed, but they aren't custom, they are still fully stock underneath with some tweaks "on the surface".
Sent from my LGL84VL using Tapatalk
Click to expand...
Click to collapse
Yes.. I have made a TWRP for my device.. I also created a modified (rooted, debloated, updated) stock ROM.. But want to reach a stage where I'm able to make an actual custom ROM. I am currently flying through many guides to get an idea of what is needed.
I've set up build environments and built ROMs for Samsung Galaxy Grand Prime (grandprimeve3g) but that device already had proprietary blobs made for it.
Alando123 said:
Yes.. I have made a TWRP for my device.. I also created a modified (rooted, debloated, updated) stock ROM.. But want to reach a stage where I'm able to make an actual custom ROM. I am currently flying through many guides to get an idea of what is needed.
I've set up build environments and built ROMs for Samsung Galaxy Grand Prime (grandprimeve3g) but that device already had proprietary blobs made for it.
Click to expand...
Click to collapse
Ok, so you have a decently basic understanding, that is in your favor. As for the blobs, is the stock source available for your specific device? That would help increase your chances of success. Are their any other models of Blu Studio or other device with similar hardware that have custom ROMs already available? If so, you may can put something together using some blobs from those devices and then filling in the blanks.
@Alando123
Can you get a ROM dump or system dump from your device?
I'm going to assume that you've read this and experimented with it?
https://wiki.lineageos.org/proprietary_blobs.html
Sent from my LGL84VL using Tapatalk
Droidriven said:
Ok, so you have a decently basic understanding, that is in your favor. As for the blobs, is the stock source available for your specific device? That would help increase your chances of success. Are their any other models of Blu Studio or other device with similar hardware that have custom ROMs already available? If so, you may can put something together using some blobs from those devices and then filling in the blanks.
@Alando123
Can you get a ROM dump or system dump from your device?
I'm going to assume that you've read this and experimented with it?
https://wiki.lineageos.org/proprietary_blobs.html
Sent from my LGL84VL using Tapatalk
Click to expand...
Click to collapse
No, BLU rarely releases source for any of their devices, however I made a system dump using MTK Droid Tools. I also just stumbled upon the link to the LineageOS page about blobs right before you replied ?
Alando123 said:
No, BLU rarely releases source for any of their devices, however I made a system dump using MTK Droid Tools
Click to expand...
Click to collapse
You should be able to use the system dump to generate vendor blobs by extracting them from the system dump or from a system dump pulled from a similar BLU studio or MTK device running a current LineageOS ROM as described in the first portion of the guide in the link that I gave you.
Also, there is a Lineage forum and a place to comment/ask questions on their github page.
Sent from my LGL84VL using Tapatalk
Droidriven said:
You should be able to use the system dump to generate vendor blobs by extracting them from the system dump or from a system dump pulled from a similar BLU studio or MTK device running a current LineageOS ROM as described in the first portion of the guide in the link that I gave you.
Also, there is a Lineage forum and a place to comment/ask questions on their github page.
Sent from my LGL84VL using Tapatalk
Click to expand...
Click to collapse
Hey, I currently ported several ROMs for my device.. the only problem I have with all of the ROMs are auto-focus and front camera (though camera is an issue for almost all ROMs, developed or ported at first). Most of the devices are similar, so, I'll do some digging and see what I can do about this. Or if I can develop a ROM, with some kanged blobs and some of my own, that will work, then fix camera piece by piece.
Alando123 said:
Hey, I currently ported several ROMs for my device.. the only problem I have with all of the ROMs are auto-focus and front camera (though camera is an issue for almost all ROMs, developed or ported at first). Most of the devices are similar, so, I'll do some digging and see what I can do about this. Or if I can develop a ROM, with some kanged blobs and some of my own, that will work, then fix camera piece by piece.
Click to expand...
Click to collapse
Yes, stock camera is always an issue when building ROMs because stock camera is proprietary, this means the camera is a closed source software instead of open source software.
Generally, the "quick fix" is to use a 3rd party camera app from PlayStore such as Google Camera or A Better Camera(ABC camera). Try some 3rd party camera apps and see if any work.
Sent from my LGL84VL using Tapatalk
Droidriven said:
Yes, stock camera is always an issue when building ROMs because stock camera is proprietary, this means the camera is a closed source software instead of open source software.
Generally, the "quick fix" is to use a 3rd party camera app from PlayStore such as Google Camera or A Better Camera(ABC camera). Try some 3rd party camera apps and see if any work.
Sent from my LGL84VL using Tapatalk
Click to expand...
Click to collapse
Yeah.. replacing libcameracustom.so results in the same issue with front camera, also even Footej closed when trying to use the front camera.
Alando123 said:
Yeah.. replacing libcameracustom.so results in the same issue with front camera, also even Footej closed when trying to use the front camera.
Click to expand...
Click to collapse
Try more than just a few camera apps, try many, try several, try them all, one of them might work. It's aggravating and time consuming, but with patience, it might work out for you.
You might need to try an app and then if it doesn't work, uninstall the app then boot into recovery and wipe cache and dalvik cache then reboot and try another camera app, you might also need to try a factory reset along with wiping cache from recovery before trying another camera app because some things might be left behind from the non working app that you tried and it might interfere with the next app that you try. Factory resetting and wiping cache before trying the next app might increase the chances that it will work. If you try an app and it doesn't work, just uninstalling it before trying the next app might not be "enough" if it leaves something behind that prevents the next app from working.
Sent from my LGL84VL using Tapatalk
Droidriven said:
Try more than just a few camera apps, try many, try several, try them all, one of them might work. It's aggravating and time consuming, but with patience, it might work out for you.
You might need to try an app and then if it doesn't work, uninstall the app then boot into recovery and wipe cache and dalvik cache then reboot and try another camera app, you might also need to try a factory reset along with wiping cache from recovery before trying another camera app because some things might be left behind from the non working app that you tried and it might interfere with the next app that you try. Factory resetting and wiping cache before trying the next app might increase the chances that it will work. If you try an app and it doesn't work, just uninstalling it before trying the next app might not be "enough" if it leaves something behind that prevents the next app from working.
Sent from my LGL84VL using Tapatalk
Click to expand...
Click to collapse
I don't think that any camera app would have helped.. I replaced libcameracustom.so from a different device, and front camera works, but no both cameras have a blue hue on them
I am having problems with building lineageOS for my "Unsupported" Device I have made themed ROMS, Themes for cyanogenmod, Themes for substratum, basic apps for my ROM, and customized recovery and ported ROMS to my device but I need a small headstart to actually "Build" lineageOS for my device. Thats It
Regards
Manav Harsana