Hi all..
I want to learn how to port an AOSP rom to my Sony Xperia S..
I followed this guide: http://xda-university.com/as-a-developer/porting-aosp-roms-using-source-code
But I'm stuck at this:
Now once that’s done go to the github page of the AOSP rom that is being ported and also fork their vendor setup repo so we can add the device to the setup so it can be called later on when we run the . build/envsetup or source build/envsetup.sh command this allows us to compile the rom after when we have selected our target device.
Click to expand...
Click to collapse
How can I find an AOSP source in github ?
Yes I found this but I don't know how to deal with it.
Maybe it's a noob question for you but really need help..
Thanks.
Downloading the Source | Android Open Source Project
source.android.com
repo init -u https://android.googlesource.com/platform/manifest -b YOUR_BRANCH
Hi not sure which branch to fork from Aosp github my source revision version is (Aosp 4.4.2 r1.2) the branches that are in github is
kitkat-cts, kitkat -dev, kitkat-mr1-release, kitkat-release, or master. Sorry had no luck with Google but your advice would be greatly appreciated many thanks.
CyanogenMod is a free, community built, aftermarket firmware distribution of Android 6.0 (Marshmallow), which is designed to increase performance and reliability over stock Android for your device.
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit our Gerrit Code Review.
Download Links
Make sure you're on an M-gen baseband
Links: http://forum.xda-developers.com/showpost.php?p=66760703&postcount=1270
CyanogenMod:
Nightly: http://download.cyanogenmod.org/?device=m8&type=nightly
Google apps addon:
OpenGapps: http://opengapps.org/ (you'll want a zip for the ARM platform, Android version 6.0)
HEADS UP: Be sure you flash the gapps package with your rom. If you boot your rom, then go back and try to flash gapps after the fact, you're gonna have a bad time.
Misc Links
Unoffical changelog:
Link: http://www.cmxlog.com/13/m8/
Learn to build yourself:
Link: https://wiki.cyanogenmod.org/w/Build_for_m8
The CyanogenMod team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!
XDA:DevDB Information
[ROM][OFFICIAL] CyanogenMod 13.0 Nightlies for the HTC One m8 , ROM for the HTC One (M8)
Contributors
invisiblek
Source Code: http://www.github.com/CyanogenMod
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.4.x
Version Information
Status: Nightly
Created 2015-11-25
Last Updated 2015-11-24
Says 12.1 still - I'm first!!!
Invisiblek, you made the thread before the CM13 nightlies even started! Silly goose <3!
Opticuhl said:
Invisiblek, you made the thread before the CM13 nightlies even started! Silly goose <3!
Click to expand...
Click to collapse
meh
lol looks like it missed the nightly list this time too...dang...well i guess this thread is useless until tomorrow
invisiblek said:
meh
lol looks like it missed the nightly list this time too...dang...well i guess this thread is useless until tomorrow
Click to expand...
Click to collapse
No worries.
Gonna back up all the goodies tonight
Sent from my HTC One_M8 using Tapatalk
So how many times do you think someone is going to ask where the downloads are because they can't find the right link? Lol! I'm betting at least 10 haha
Where's the links I can only find cm 15.1?
Joking aside, I can't wait. Looking forward to the 13 nightlies on my M8. Good job to everyone involved.
Ooooooo lucky 13. Can't wait to try this out!! I'm on the stock rooted version of MM right now. Anxious to see what CM has added!
Sent from my HTC One_M8 using Tapatalk
Hey @invisiblek
Thank you so much for bringing the m8 to cm13!
I'm trying to build a copy (just for fun, and see if I can play around with some toolchains) and I have a quick question.
(The last time I built cm was over a year ago, so I'm a bit rusty.)
How do I include the Muppets proprietary blobs in my build? I'm Googling it and I think that I need to add a few lines to my repo manifest. Can you share with me the correct project lines to add?
Thanks!
David 617 said:
Hey @invisiblek
Thank you so much for bringing the m8 to cm13!
I'm trying to build a copy (just for fun, and see if I can play around with some toolchains) and I have a quick question.
(The last time I built cm was over a year ago, so I'm a bit rusty.)
How do I include the Muppets proprietary blobs in my build? I'm Googling it and I think that I need to add a few lines to my repo manifest. Can you share with me the correct project lines to add?
Thanks!
Click to expand...
Click to collapse
Something like this in local manifest.
Code:
<project name="themuppets/proprietary_vendor_htc" path="vendor/htc" remote="github" />
Darknites said:
Something like this in local manifest.
Code:
<project name="themuppets/proprietary_vendor_htc" path="vendor/htc" remote="github" />
Click to expand...
Click to collapse
Thanks! One more question, how do I reset my local repo so I can erase changes I made?
David 617 said:
Thanks! One more question, how do I reset my local repo so I can erase changes I made?
Click to expand...
Click to collapse
You can do a force sync or you just delete the folder. It should tell you how if it runs into any issues with your changes.
I made an updated cm build. I don't know if I'm allowed to post a link here, but if anyone is interested pm me and I'll upload it to dropbox or something.
I'm gonna try to get a linaro build up and running this weekend. I've never done something like that, so it should be fun
wifi calling
wifi calling dream might still be alive?
Perhaps we'll get some nightly love tonight...
Dan Tekle said:
Perhaps we'll get some nightly love tonight...
Click to expand...
Click to collapse
I believe we will, I think we didn't make it last night because the commit to add M8 to the CM13 build list missed the deadline.
Latest build seems to be CM12.1 still. So hyped for these nightlies ! Great work everyone who is contributing!
Hope this is ok with the OP, (just tell me if you want me to remove the link or open a separate thread)
I built a copy of CM13 just now. I used the UBER Toolchain. I benches a tad bit higher in Antutu, but honestly Marshmallow is so smooth that I can't tell the difference.
Here is the link - https://dl.dropboxusercontent.com/u/25650355/cm-13.0-20151126-UNOFFICIAL-m8.zip
Question for the devs:
Is it correct the Doze is off by default? It appears that we need to set config_enableAutoPowerModes to True.
As per the Android Guidlines over here there are 2 requirements for doze.
Device implements the significant motion detector (SMD) APIs in the Sensor HAL. Devices that do not implement these APIs cannot support Doze.
Device has a cloud messaging service, such as Google Cloud Messaging (GCM). This enables the device to know when to wake from Doze.
When I run "adb shell dumpsys sensorservice | grep significant" I get -
Significant Motion| HTC Group Ltd.| version=1 |android.sensor.significant_motion| 0x0000000e | "" | type=17 | one-shot | maxDelay=0us |minDelay=-1us |no batching | wakeUp | last=<>
which would appear that the m8 does have this 'significant motion detector'
I don't know what the second requirement is referring to, is it on the app-level, that the app my have gcm to wake the device up?
Anyways, I'm making a build with Doze set to true (in framworks/res/values/config.xml) to see what happens
Alllllright, here we go, booting up now, clean flash with gapps and SuperSU!