[Q] Building from AOSP tweaks/hacks - Nexus One Q&A, Help & Troubleshooting

I'm really interested in learning how to build from the AOSP code. I've found some tutorials on how to do so, so that's not the problem. I'm wondering if anyone knows of any good resources for how to make the tweaks such as MMS enhancements, battery percent mod, etc. I've seen some things on here stating to flash an update.zip but I'm wondering how to manually do it in the code.
Any help would be appreciated as I can't find the references on here if any.

Look at cyanogen's git. Or any other modders git if they have one.

Related

How Hard?

im so in the mood to learn and make some roms....i wanted to ask can somoene help me by guiding me or maybe linking me to the right direction because i really want to customize roms...not too hard but to be able to tweak a bit on roms...pleae can someone help???
I'd recommend starting with going to the Android Open Source Project. They have full docs on how to download and compile the source code. Once you've successfully built a stock image you can start mixing and matching or tweaking code.
You can also Google things like "building froyo source" and such to find tutorials. Many of those will be for specific phones but the general principals are similar.
If you want to jump in the deep end Cyanogen's wiki has a tutorial on building Cyanogenmod from source.
Sent from my Nexus One using XDA App
ok thanks alot!

[Q] Can't build CM6 from sources. Help please!

Hi,
I'm trying to build cyanogenmod 6 (froyo) from sources on github for G1.
Sidenote. The reason I'm trying to do this is i'd like to modify kernel parameters. I'm trying to make the phone talk to external device using built in serial port. I can do it with my current CM6, but it looks like serial debugger engages and starts responding to the device and also steals some of the data being sent to phone.
To build I used instruction posted at cyanogen wiki "HTC Dream & Magic: Compile CyanogenMod (OS X)" which covers gingerbread but checked out froyo-stable branch at first. I know that gingerbread version stopped supporting G1 at some point last year.
Without much success even after fixing manifest to point to updated repo urls from kernel.org to googles repo etc. The problem is that apache-http seems incompatible with old sources and it is referenced by head.
I also tried froyo branch, but it doesn't build as well because something seem to be broken for dream_sapphire, and it is not present in the devices anymore.
I've tried searching for compilation errors, and general build questions/instructions here and on cyanogen's forum, but looks like CM6 is not very active these days.
Can someone point me into right direction where to search for relevant info on building it? Would getting a proper revision help or should I combine stuff from several branches to make it work?
I've already spent quite a lot of time figuring out how build is being configured and how things stitch together but without much progress on the actual build.
And with times required to sync a whole repo and build it, it is becoming frustrating.
Any help would be muchly appreciated!
Regards,
Oleg
It's dead.
I also wanted to make a cm6 rom, but I couldn't get anything to work.
I got the addresses all updated but it looks like a bunch of the files have completely dissappeared. You may be able to make it skip those, but then it may not work completely.
Go for AOSP?
Now that's a shame. I wanted to build CM because I'm familiar with it and the other thing is that they have reasonable instructions about building it. But at least I don't need to waste my time trying to figure out how to fix it.
In fact I don't need any extras they provide, a bare android would suffice to me if all the sensors and connectivity would be available. But I'm not familiar with internals of building vendor specific stuff. My understanding was that I need proprietary parts together with AOSP to build a working ROM and that's one of the things CM guys did. Correct me if I'm wrong.
aliher1911 said:
Now that's a shame. I wanted to build CM because I'm familiar with it and the other thing is that they have reasonable instructions about building it. But at least I don't need to waste my time trying to figure out how to fix it.
In fact I don't need any extras they provide, a bare android would suffice to me if all the sensors and connectivity would be available. But I'm not familiar with internals of building vendor specific stuff. My understanding was that I need proprietary parts together with AOSP to build a working ROM and that's one of the things CM guys did. Correct me if I'm wrong.
Click to expand...
Click to collapse
Nope AOSP is as easy to build now
Go to the android site and follow directions
Google for "build android"
At the part when doing repo init you need to get the right branch
Go to "build for devices" then scroll down for recommended branches and look for the dream
One thing you'll need to do differently is do "make otapackage" instead of plain "make"
And once that's done you'll need to tweak the zip and get rid of the "recovery" folder and tweak the updater-script
Oh yeah, and I don't know exactly how you would do this part, but you'll need to get the source for a newer kernel in there, like ezterry kernel and use it with 2708+ radio/spl
Unless you wanna use the AOSP kernel & spl & radio which is old
What I did is just flash his kernel after the rom, but you want to do kernel stuff so yeah...
Sent from my HTC Dream using Tapatalk

Tweaking kernel

Im left with the kernel source for my device and the dev told me its good to update msm_fb and other stuff to make it more usable...
anyone can help me with that!!im looking and taking some commits from various gits but im stuck to this cause i can't find the same diffs for my device...if anyone have msm_7x30 device and willing to give me some hints...i need to make the device more snapier on 4.2.2 cm and a bit faster as it can be cause its single core...but even on 1400mhz its still laggy!!!
Any help i will be greatful! thanks!!
i think you have to study commits in github done on similar kernel for device.msm_7x30.

[Q] Build help with local_manifest.xml

Hi everyone,
I'm still quite new to building ROMs from scratch, so please bare with me. As my HD+ (ovation) has been so happy n stable on cm12.1 (this thread) I've decided to attempt to compile it myself to start with, then I can look into the few simple mods i wish to add to the source, bundle a few apps etc etc maybe a couple of minor fixes in time....
Right anyway my question,
I have syncd the repo, and using the cm wiki and the breakfast command I have downloaded the device code. I have started to explore it, however I have been reading about the local_manifest.xml which i dont yet have, now looking around on github I have:
android_device_bn_ovation
android_kernel_bn_omap
android_vendor_cm
is that right? how to do I inc the forks of airend, hashcode, and verygreen? what about other kernels? Please any help or advice would be greatly appreciated.

Android overclocking and kernel customization.

Hello! I've taken an interest in kernel and rom development, so I'd appreciate it if someone could give me tips and/or link/write tutorials that explains things about kernel modification (overclocking, bug fixing etc), custom rom making (how to add features, bug fixing etc).
Also is it possible to update/make a newer kernel from the source, like source is available for 4.5, would it be possible to update it to 4.6?
Any help/tip/tutorial is appreciated.
Ps: I don't know if this thread belongs here, as I'm new here.
Thanks, .

Categories

Resources