[Q] Some AOSP build related questions - Android Q&A, Help & Troubleshooting

Hello, I will try build my own AOSP ROM but I wanna have clarify to some questions before I do.
I readed top-to-bottom this thread, is it still usable to build Android 5.1? With some changes, of course.
I noticed the process of building do not changes a lot when is to another device, I wanna know here the process changes. On this part the user instructs to download the driver files. I wanna build the AOSP to delos3gub (Samsung Grand Quattro), which drives should I get?
Also, in "#3 Choose your Device!" at the same thread (here), the user says:
If you're on GSM, you want to use "maguro." If you're on Verizon, you want to use "toro."
Click to expand...
Click to collapse
Which should I use?
Thank you, and sorry my english

Related

Why Rom cyanogenMode does not endorse cod?

Why Rom cyanogenMode does not endorse cod?
like **33284(diag mod) or **772 and Other
To use the program dfs and qpst and cdma tools
help me
plz update cm10.2 to this In the future for fascinate
fawzisaeed said:
Why Rom cyanogenMode does not endorse cod?
like **33284(diag mod) or **772 and Other
To use the program dfs and qpst and cdma tools
help me
plz update cm10.2 to this In the future for fascinate
Click to expand...
Click to collapse
The CM team isn't likely to see this message here at XDA, just FYI. You'd be better off contacting them through the CyanogenMod forums.
I can probably semi-answer this one, though ... many of those dialer codes were put into the Android OS by Samsung, they weren't part of AOSP. As a result, somebody would have to figure them all out, program them in, and provide apps for them to launch, which at this point is pretty unlikely given the age of the Galaxy S/Fascinate. I believe the are ways to communicate directly with the modem using USB "ACM" mode on most kernels (FWIW, my kernel does not have this feature), but it will most likely be from the command line and not the GUI.
That said, many of the features you want/need have likely been thought of and may be accessible in CyanogenMod, but you'd really want to ask them directly, or perhaps even better ask as part of the development thread for the specific CM-based ROM you want to use. My suggestion would be to ask how to accomplish what you are trying to accomplish rather than asking why the dialer codes don't work, that way alternatives can be suggested without putting people off! :laugh:
where i found part of the development thread for the specific CM-based ROM?
fawzisaeed said:
where i found part of the development thread for the specific CM-based ROM?
Click to expand...
Click to collapse
Well, not to be short with you, but if you know that the ROM doesn't support the dialer codes you want, you got that ROM from somewhere, maybe try that thread?
There are also official CyanogenMod forums, easy to find with Google.

Building a ROM from scratch, guide?

Are there any guides that show the user how to create a rom from scratch? I've seen multiple guides on creating a rom but they do so using the kitchen. I would prefer something that shows how to make a rom without a crutch.
please help
HydrogenPeroxide said:
Are there any guides that show the user how to create a rom from scratch? I've seen multiple guides on creating a rom but they do so using the kitchen. I would prefer something that shows how to make a rom without a crutch.
Click to expand...
Click to collapse
I would say the best way to make a ROM from scratch is to compile it from source. If your interested in learning how to compile a ROM from source I would recommend taking a look at this guide to building Jelly Bean from source, as well as Google's offcial documentation on building Android from source. Additionally this guide on Zip Based ROM tweaking is a good guide to take a look at. Let me know if you still have any questions .
HydrogenPeroxide said:
Are there any guides that show the user how to create a rom from scratch? I've seen multiple guides on creating a rom but they do so using the kitchen. I would prefer something that shows how to make a rom without a crutch.
Click to expand...
Click to collapse
Normally all device forums have tutorials on how to compile ROM from source(if someone has already compiled it).
If no development has yet started for your phone then you you need to create the device tree which is tough. Otherwise just google . There are lots of tutorials lying on xda.
shimp208 said:
I would say the best way to make a ROM from scratch is to compile it from source. If your interested in learning how to compile a ROM from source I would recommend taking a look at this guide to building Jelly Bean from source, as well as Google's offcial documentation on building Android from source. Additionally this guide on Zip Based ROM tweaking is a good guide to take a look at. Let me know if you still have any questions .
Click to expand...
Click to collapse
Thanks, I didn't even know there was an official guide
I'm wanting an AOSP ROM on my s5 g901f but there is no support at all. Could someone point me in the right direction? I'd like to have a go and have looked up porting but I don't think that is the way to go. If somebody could give me the steps what I need to do for this modal I will research.
Could I use the cm for note 4 as it has similar specs, ie
805, 420 etc. Or s5 g900 as a base ROM? Or would I need to build from scratch?
There is only one custom ROM for g901f and that's touchwiz so somebody please help before I go insane. Touchwiz really is that bad
Up for this. Really interested especially for us who has not so good programming skills
mikey187lfc said:
I'm wanting an AOSP ROM on my s5 g901f but there is no support at all. Could someone point me in the right direction? I'd like to have a go and have looked up porting but I don't think that is the way to go. If somebody could give me the steps what I need to do for this modal I will research.
Could I use the cm for note 4 as it has similar specs, ie
805, 420 etc. Or s5 g900 as a base ROM? Or would I need to build from scratch?
There is only one custom ROM for g901f and that's touchwiz so somebody please help before I go insane. Touchwiz really is that bad
Click to expand...
Click to collapse
Let's see if I can point you in the right direction! Because of the differences in specs between your S5 Plus and the regular S5 you can't use that to port ROM's. For the Note 4 idea, since you only have a Touchwiz ROM as your base (The one from your S5 Plus) it won't work properly for the port ROM (CM12 Note 4). I would recommend looking at compiling CM12 for your device, which I would recommend taking a look at this guide here. Let me know if you have any questions be happy to help you out.

[UPDATED Nov. 22] Badadroid Guides, general info & FAQ

Up to date as of November 22, 2013.
Modified: Installation guide: V2.0, some other parts including general info, changelog etc.
Added: Swapping guide, quick V2.1 guide, quick updating guide
---------------------------------
Are you experienced with ULTRA B.U.X? Please help me write its own guide (PM me)
---------------------------------
I created a centralized document with information about everything regarding Badadroid. The same questions are often asked over and over again by newbies/noobs (call it however you want to). I decided to write a centralized document that will include general information, a more detailed installation guide for those who struggle or have issues and a FAQ for everything regarding Badadroid.
In order to allow users to add their own feedback and comments I created it in Google Docs - but if a moderator/developer/authorized user here wants me to put everything on this thread just say...
I really hope this will help everyone. More info in the doc itself.
See http://bit.ly/19jWmE1
-------------------------------------------
Did this guide help you? Please hit the "Thanks" button
________________________
Member of Bada Israel
Are you Israeli? Wait for the Hebrew translation
Thx for the work!
Btw, wave doesn't have 512mb ram, (384mb)
Retrete said:
Thx for the work!
Btw, wave doesn't have 512mb ram, (384mb)
Click to expand...
Click to collapse
That's right. I think I confused it with my GPU thanks for the heads up.
Can anyone type the code to activate Zram on NAND tigrouzen rom (V3)? Please
Kiboi said:
Can anyone type the code to activate Zram on NAND tigrouzen rom (V3)? Please
Click to expand...
Click to collapse
Its all ready activated
Nadavs10 said:
I created a centralized document with information about everything regarding Badadroid. The same questions are often asked over and over again by newbies/noobs (call it however you want to). I decided to write a centralized document that will include general information, a more detailed installation guide for those who struggle or have issues and a FAQ for everything regarding Badadroid.
In order to allow users to add their own feedback and comments I created it in Google Docs - but if a moderator/developer/authorized user here wants me to put everything on this thread just say...
I really hope this will help everyone. More info in the doc itself.
See http://bit.ly/19jWmE1
Click to expand...
Click to collapse
Thanks Nadavs10, I think a FAQ is a good idea ... the point is how to ensure every newbie reads it before posting ...
I think it would be nice to join or at least to link this with another FAQ it was started in badadroid project page http://code.google.com/p/badadroid/wiki/FrequentlyAskedQuestions
Some comments:
Does it work for Wave II? YES! Many people ask over and over again the same question. Voice calling works now for Wave II too. If there’s something that isn’t the same for both devices, I will write it.
Click to expand...
Click to collapse
Bluetooth works in S8500 but no in S8530 (see status and this post)
Is it legal? Everything is legal except gapps. Decide for yourself.
Click to expand...
Click to collapse
Both badadroid and gapps are "legal", the difference is licensing model, so developers share badadroid open source code and binaries based in other open source code (android, aries ....) but they do not share gapps as it is google propietary. It is not ilegal to install gapps, but it should be ilegal to include it in badadroid package without google permision, so you have to install it separately.
There are many ROMs like Nand/LS Smook/moviNand. What are these, and what’s the difference? I’ll tell you the truth, I don’t really understand it. If someone knows it would be great for some comment here."
Click to expand...
Click to collapse
I am not an expert, but I am trying to share as I understand:
There are different "custom rom android flavors" (Cyanogenmod, AOKP, MIUI,...) as some communities/developers make some modifications in android source code. Just one example googling http://www.phonearena.com/news/Meet-the-best-custom-ROMs-for-Android_id44353
There are different badadroid roms as some developers try to optimize some points:
--Volk204's CM10.1 rom (and previously Rebellos' CM10) uses the same fota for booting, and it uses "standard" internal storage in our waves, so the uninstallation procedure is simple (another zip through CWM).
--Tigrouzen FnF SD (sorry if the name or some detail is wrong) uses special fota for booting, and it uses Nand memory/external SD storage with SD card partioned. http://code.google.com/p/badadroid/wiki/HardwareDocumentation#Memory Nand is a special memory in our waves that has to be written in a special way, and it is faster, so the unistallation procedure is a full flash of bada firmware. Tigrouzen's rom is more performance oriented and better for game players as far as I know.
hunktb said:
I am not an expert, but I am trying to share as I understand:
There are different "custom rom android flavors" (Cyanogenmod, AOKP, MIUI,...) as some communities/developers make some modifications in android source code. Just one example googling http://www.phonearena.com/news/Meet-the-best-custom-ROMs-for-Android_id44353
There are different badadroid roms as some developers try to optimize some points:
--Volk204's CM10.1 rom (and previously Rebellos' CM10) uses the same fota for booting, and it uses "standard" internal storage in our waves, so the uninstallation procedure is simple (another zip through CWM).
--Tigrouzen FnF SD (sorry if the name or some detail is wrong) uses special fota for booting, and it uses Nand memory/external SD storage with SD card partioned. http://code.google.com/p/badadroid/wiki/HardwareDocumentation#Memory Nand is a special memory in our waves that has to be written in a special way, and it is faster, so the unistallation procedure is a full flash of bada firmware. Tigrouzen's rom is more performance oriented and better for game players as far as I know.
Click to expand...
Click to collapse
Tigrouzen's rom is based on AOSP (Android Open Source Project) wich is basically, a build of the vanilla android sources released by google and the others implicated in the Android primary developement. (even if, tigrouzen included in his rom some code from CM to allow a better customization of the ROM, and so, it's a little bit different from pure AOSP)
Cyanogenmod is a modified open source android rom... it have some major changes in the code itself (compared to AOSP), in the library it uses, etc... it allow a higher personalisation of the UI than the original AOSP rom. (see their official website to find more info about the cyanogenmod project...)
And I would finally said that yes, tigrouzen's rom is released with an high optimisation care (resulting in a really smooth rom) while volk's rom: works on both wave I and II, I would say that it is a little bit more stable (but that's mainly because it's less often udated, several tigrouzen's updates resulted in an broken functionality (see the bluetooth problems in the AOSP thread) wich he quickly fixed anyway.) and I would say (except for the last "mic in call" update) more "hardware development" oriented (that's just my feeling, but it seems to me that volk (and rebellos) are focusing on the perspective of bringing a fully working android sytem to the wave rather than on the optimization of their existing incomplete system. (and honnestly, it's not a bad thing, it keep general development ongoing)).
Weird
Tigrouzen said:
Its all ready activated
Click to expand...
Click to collapse
Hey Tigrouzen i am facing a problem while using yur AOSP 4.3 Rom... I am using the ROM 4.3 LS V2 Revision 3 with SmooK V3 SD Kernel downloaded from http://www.multiupload.nl/HQ3BM7DOTH. The issue is weird as on the first booting of andriod, the netwrok is detected after arnd 20-25 mins but the next tiem the phone is booted in android it never detects network? :/
Any help on this plz wud be rly appreciated... Thanks
ghanii said:
Hey Tigrouzen i am facing a problem while using yur AOSP 4.3 Rom... I am using the ROM 4.3 LS V2 Revision 3 with SmooK V3 SD Kernel downloaded from http://www.multiupload.nl/HQ3BM7DOTH. The issue is weird as on the first booting of andriod, the netwrok is detected after arnd 20-25 mins but the next tiem the phone is booted in android it never detects network? :/
Any help on this plz wud be rly appreciated... Thanks
Click to expand...
Click to collapse
I solved this problem by removing then reinstall the sim, try
Kiboi said:
I solved this problem by removing then reinstall the sim, try
Click to expand...
Click to collapse
Thanks i am trying it right now....the ROM and Kernel which I mentioned are the right versions?
Kiboi said:
I solved this problem by removing then reinstall the sim, try
Click to expand...
Click to collapse
No luck... i cant understand dis issue.. how come sim is detected once and not the other time :/ any network settings which i should specify? or any odr Kernel which might be a solution for this?
ghanii said:
No luck... i cant understand dis issue.. how come sim is detected once and not the other time :/ any network settings which i should specify? or any odr Kernel which might be a solution for this?
Click to expand...
Click to collapse
Try with another sim and tell me if it works
ghanii said:
No luck... i cant understand dis issue.. how come sim is detected once and not the other time :/ any network settings which i should specify? or any odr Kernel which might be a solution for this?
Click to expand...
Click to collapse
move it to the top right corner. It sometimes helps.
Otherwise use an other sim card.
GreekBlood said:
move it to the top right corner. It sometimes helps.
Otherwise use an other sim card.
Click to expand...
Click to collapse
I should move the sim to the top right corner? :/
ghanii said:
I should move the sim to the top right corner? :/
Click to expand...
Click to collapse
Its possible if its old sim, then try get new revision of your sim.
ghanii said:
I should move the sim to the top right corner? :/
Click to expand...
Click to collapse
Go to setting and below bluetooth there is an option of more click on it and then tick use only 2g network
this may help
Maybe "we" collect different external Links in different languages...
Today I saw again German user asked...
Or maybe "we" could use 1 Guide and translate in different languages...
For instance:
English
German
Hindi----> user kktkaran has enough time and energy to do this, instead spxm
.
.
.
Btw.
For few things Screenshots or Video maybe helpfull.
And please, maybe here on XDA 1 copy for reading... So if external Link changed/removed/... it is possible to read here something in Thread.
Thanx in advance.
Best Regards
Tigrouzen said:
Its possible if its old sim, then try get new revision of your sim.
Click to expand...
Click to collapse
i tried a different kernel and it worked fine ver 3.0.85... voice is also clearer. thanks for your help
i am from those people who have problem in wave2 battery like
after restart battery drains to zero or similar level
random shut down problem
so
i have done an experiment which help me thats why i'm sharing it
first of all these problems are because of battery as i think so
1.first remove the battery
2.spin on flat surface if it spin then you can do nothing but replace your battery
3.if doesn't spin check its point of connection and remove any dust or rust
3.last but not least if any thing doesnt work
then
take a "soledring ion" and solder each connecting point of your battery seperately dont let them touch each other so that solder cover connecting points.
now put your battery in phone and test it work or not i.e. your problem solved or not
sorry for bad english
and do it on your own risk and carefully
Asop or badadroid
I'm currently using the ASOP NAND ROM created by Tiguorzen, however it has some call problems similar to old badroid ROM so I'm wondering whether I should shift to badroid project as it seems to get regular updates and ASOP ROM seems like abandoned by tigo(hope not) but ASOP is undobtly the fastes and most streamlined ROM not sure abouy the latest badadroid though.

[Q&A] [SOURCES][DEVONLY] CyanogenMod 12.1

Q&A for [SOURCES][DEVONLY] CyanogenMod 12.1
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [SOURCES][DEVONLY] CyanogenMod 12.1. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Embedded Developer want to help.
Hi everyone. I want to get in and help.
Hi,
if you want to help get the sources and build a ROM. You can find the instructions for the device here:
https://git.cryptomilk.org/projects/android/android_device_samsung_slte.git/tree/README?h=cm-12.1
Then look at the TODO list and start to fix issues. Let me know which one you want to work on and I can give you some hints what you need to do.
compiling
can anyone compile the source code for me or can anyone tell me what to do?
sorry
i've found the read me now
It looks like, the instructions are for cm 11, but the title says it's 12.1 How can i compile cm 12.1? (sorry if im wrong, I am a noob at CyanogenMod)
Download
People saying that the CM 12.1 is not out. But why can i donwload it from the here:
https://git.cryptomilk.org/projects/android/android_device_samsung_slte.git/snapshot/android_device_samsung_slte-cm-12.1.zip
Or is this not the final?
it's 6.8mb, can't be a rom
Yes :/
current situation
can u tell us now which bugs still exist from the already known ofc!! i would like to help but i want details about the current status of the rom !! ty
Not sure if you ever got the requested information about the MTP vendor & product IDs. In short, I get this:
Vendor: 04e8
Product: 6860
I also can provide the full print-out of lsusb for this device, if needed.
Galaxy ALPHA "internals" .... it's memory technology
Hi,
I'm new and I'm carefully following this CM port since I believe this phone (G850F) has some key advanced features which were missed by the mainstream user.
Behind the external design what makes the ALPHA amazing is the technology SAMSUNG used to package its Exynos. This implementation of the 5430 has 4 DRAM & 4 FLASH DIEs stacked with TSV. The DRAMs are implemented using Samsung's flagship Widcon I/O technology!! The connections between the DRAM chips and the Memory Controller are offering a Wide I/O path and I strongly believe there is one DRAM controllers per DIE. This means that memory accesses are arbitrated VERY efficiently allowing the CPU to extract an high amount of SUSTAINED bandwidth from the DRAMs. Please have a look at this link from chipworks: https://chipworks.secure.force.com/catalog/ProductDetails?sku=SAM-KMR2W0009M-A803
Hope this info will get everybody more excited!
Regards
pventi
have anyone tryied this rom on SM-G850m?
dont even think about it,you will lose only time fo flashing it & after that you will immediately back to 444
maybe in this atempt lose IMEI
Hello is the application boot times better than stock? For example how long it takes to load subway surfers, because with the stock rom it takes about 10 seconds
rom custom
hello,
I would like to create a custom rom. Is it possible to have a tutorial to compile a ROM for the Samsung Galaxy alpha please .
progress??
Any progress. I m desperately waiting for your rom ...
modpunk said:
I will release a ROM soon. The camera is working now. Video decoding too. Just SELinux needs to be set to enforcing.
Click to expand...
Click to collapse
What about car BT calling? It seems that is the problem of all Galaxy Alpha custom 5.1.x roms.....
km1306 said:
What about car BT calling? It seems that is the problem of all Galaxy Alpha custom 5.1.x roms.....
Click to expand...
Click to collapse
I do not have a car so I can't test it ...
What is the difference then between modpunks first release and kyasu's one which he aleady released?
I only want to understand how far we are and where the problems are.
I'm no developer, but I understand tecnical lenguage, so would be nice If somebody can give me an overview...
Thanks
slg60 said:
What is the difference then between modpunks first release and kyasu's one which he aleady released?
I only want to understand how far we are and where the problems are.
I'm no developer, but I understand tecnical lenguage, so would be nice If somebody can give me an overview...
Thanks
Click to expand...
Click to collapse
This was asked from modpunk awhile back, here are his answers:
modpunk said:
I have to check, RaymanFX and I are building the OMX codecs from sources and kyasu is using the binary blobs ....
Click to expand...
Click to collapse
modpunk said:
RaymanFX and I are using different sources. We are currently working with Ethan to get them upstream in CM. We also dissassembled the OMX blob to find out the correct values to get NV12 and NV21 video formats working correctly. The sources are newer and fix several bugs. We are getting there ...
Click to expand...
Click to collapse
https://en.wikipedia.org/wiki/Binary_blob
https://en.wikipedia.org/wiki/OpenMAX
https://www.linkedin.com/in/chenethan = Ethan
I don't understand this stuff so well, but I understand from this stuff that modpunk's way is better.

Just want to ask something about porting roms...

Hello everyone.
Im new here.
I just want to ask something.
When porting roms can my base ROM and my port ROM have different android version?
Looking forward to having responses
P/s: sorry for bad engrisk )
XdaNeko said:
Hello everyone.
Im new here.
I just want to ask something.
When porting roms can my base ROM and my port ROM have different android version?
Looking forward to having responses
P/s: sorry for bad engrisk )
Click to expand...
Click to collapse
It has been a looong time since I knew about those things but if I remember your base ROM should have that same Android version as your port ROM.
And if you want an advice, please consider building a ROM from source. Troubleshooting is hell with ported ROMs. Building ROM is scary because it has commands that you don't know yet, but it's way more easy than porting. Trust me.
Here is a guide on how to build ROM from source :
https://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763
@XdaNeko
It's NOT the version of Android what does matter. If that would be the case then an upgrade via OTA never would be possible.
A Stock ROM always at 100% matches phone's hardware ( CPU, GPU, RAM, storage memory, etc.pp ) - it's built by OEM's / Carrier's R&D department, the guys who know best of.
Whereas a Custom ROM necessarily does NOT because it gets built by 3rd-party companies/programmers associations - who think they can do it better, but don't always have the specific Android device at hand.

Categories

Resources