[PROJECT] Ice Cream Sandwich Port For Galaxy 3 - Galaxy 3 Android Development

No, I'm not taking any credit here, I just want to organise all of the discussion so people will stop bugging marcellusbe in his CM7/AOSP thread. All discussion of ICS (development related) will go here. I'll put all progress and links and such here.
Any developers who wish to be involved with it (in any way possible), let me know and I'll add you to the list below:
Rules
Don't ask for ETAs. Nobody knows.
Any developers must use a GIT repository. No keeping secrets here. I'll host the main repo if people wish and they can fork and do pull requests
Status
Working
Android 4.0.1
Touchscreen
Sensors (orientation)
Vibrator
SD card
Radio (as in 2G/3G radio, not FM)
Not Working
FIMG GPU Drivers (display is very glitchy while drawing. Shows artifacts, and it lags a lot)
Sound
Camera
Data via 2G/3G
WiFi
Screenshots
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Also note I am not sure why in Araks build the icons are white. They are coloured in mine.
Developers (alphabetical order)
apollo5801
Arakmar
cdesai
hillbeast (when he gets time - will have loads of time over Christmas/December holidays)
marcellusbe
IRC Channel For Developers
Server: irc.freenode.net
Channel: #icsforg3 (we'll get it registered soon)
How To Get The Source
I am going to expect you to have a build environment already set up. If you don't then look at the link I provide below on how to set up a build environment.
Also if you can't figure out how to do this then please don't bug me about it. I don't want to spend all my time telling people how to build the thing, I am just giving pointers to other developers.
Get the repo utility:
Code:
mkdir ~/bin
PATH=~/bin:$PATH
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo
Make a directory to work in. I use the Desktop with a folder called 'devel'
Code:
cd ~/Desktop
mkdir devel
mkdir devel/android
mkdir devel/android/ics
cd devel/android/ics
Choose between AOSP ICS or CyanogenMod ICS (I recommend CyanogenMod ICS as it requires less work)
Code:
# If you want CM9 (will be in alpha)
repo init -u git://github.com/CyanogenMod/android.git -b ics
# Or for AOSP ICS
repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1
Download the source (Now I suggest you do this when you won't need the internet or be touching the computer, ie during the day while at work or overnight)
Code:
repo sync
Helpful Links
GIT Repository
WebRTC Fix
Cyanogenmod Teams Adjustments to ICS - Very help stuff
Setting up the build environment under Ubuntu/Kubuntu/Xubuntu
init.rc changes

will you port cm9 or only ics?
i hope the new rom can come out soon.
thanks for your attempt!

[email protected] said:
will you port cm9 or only ics?
i hope the new rom can come out soon.
thanks for your attempt!
Click to expand...
Click to collapse
Preferably CM9 as it will contain a lot of fixes for older hardware, such as support for old touchscreens, and ARMv6. I am looking through some of the commits they have already made and it seems ICS dropped support for a lot of stuff so the CM team has to add it back in or fix it.

And I thought I would never see this thread.....
Best of luck mate....
You are one of the best developers here....
I would like to sign up as a tester....

All the best Hillbeast and devs

The HTC G1 geta a taste of ICS now. So why not Galaxy 3?
Go on...

I really wanna get involved let me know what to do. In what way can i help you

hillbeast said:
No, I'm not taking any credit here, I just want to organise all of the discussion so people will stop bugging marcellusbe in his CM7/AOSP thread. All discussion of ICS (development related) will go here. I'll put all progress and links and such here.
Any developers who wish to be involved with it (in any way possible), let me know and I'll add you to the list below:
Rules
Don't ask for ETAs. Nobody knows.
Any developers must use a GIT repository. No keeping secrets here. I'll host the main repo if people wish and they can fork and do pull requests
Status
Unknown - I believe it will boot but nothing will work
Developers
hillbeast (when he gets time - will have loads of time over Christmas/December holidays)
How To Get The Source
I am going to expect you to have a build environment already set up. If you don't then look at the link I provide below on how to set up a build environment.
Also if you can't figure out how to do this then please don't bug me about it. I don't want to spend all my time telling people how to build the thing, I am just giving pointers to other developers.
Get the repo utility:
Code:
mkdir ~/bin
PATH=~/bin:$PATH
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo
Make a directory to work in. I use the Desktop with a folder called 'devel'
Code:
cd ~/Desktop
mkdir devel
mkdir devel/android
mkdir devel/android/ics
cd devel/android/ics
Choose between AOSP ICS or CyanogenMod ICS (I recommend CyanogenMod ICS as it requires less work)
Code:
# If you want CM9 (will be in alpha)
repo init -u git://github.com/CyanogenMod/android.git -b ics
# Or for AOSP ICS
repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1
Download the source (Now I suggest you do this when you won't need the internet or be touching the computer, ie during the day while at work or overnight)
Code:
repo sync
Helpful Links
Cyanogenmod Teams Adjustments to ICS - Very help stuff
Setting up the build environment under Ubuntu/Kubuntu/Xubuntu
Click to expand...
Click to collapse
I would like to get involved too!!! please let me know about it!!!!
Hope ICS will work on galaxy 3!!
Good luck
---------- Post added at 02:09 PM ---------- Previous post was at 02:04 PM ----------
please add my name in the dev section....
JasonPurungrit

hillbeast said:
No, I'm not taking any credit here, I just want to organise all of the discussion so people will stop bugging marcellusbe in his CM7/AOSP thread. All discussion of ICS (development related) will go here. I'll put all progress and links and such here.
Any developers who wish to be involved with it (in any way possible), let me know and I'll add you to the list below:
Developers
hillbeast (when he gets time - will have loads of time over Christmas/December holidays)
Click to expand...
Click to collapse
Brilliant this is! You and Marcellusbe are such a source of inspiration! I love you guys!
I really wish I could be of some use

I tried #repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1. Yesterday but it said error repo line 91 or something
Sent from my GT-I5800 using XDA App

RafayelG said:
I tried #repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1. Yesterday but it said error repo line 91 or something
Sent from my GT-I5800 using XDA App
Click to expand...
Click to collapse
Delete repo from ~/bin, and get the latest version of repo

Will it be ported with other users? I think marcellusbe, apollo, moikop and cool.darshak(or whatever his name is, he isnt so active) can help you.

sorry I'm noob
I want install repo and get but I don't know install.... It's for windows or ubuntu?

Axel1709 said:
sorry I'm noob
I want install repo and get but I don't know install.... It's for windows or ubuntu?
Click to expand...
Click to collapse
Its either for Linux or Mac. Google has provided a pretty decent "How-To" here.

it's great I have download ubuntu

RafayelG said:
I tried #repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1. Yesterday but it said error repo line 91 or something
Sent from my GT-I5800 using XDA App
Click to expand...
Click to collapse
Try a newer repo version. Use the commands I provided to get it again, and try the CM9 repo.
TearsDontFalls said:
Will it be ported with other users? I think marcellusbe, apollo, moikop and cool.darshak(or whatever his name is, he isnt so active) can help you.
Click to expand...
Click to collapse
Well I sure hope those developers can help me. I'd really appreciate any help anyone can give.
Axel1709 said:
sorry I'm noob
I want install repo and get but I don't know install.... It's for windows or ubuntu?
Click to expand...
Click to collapse
Repo is a Unix command so it's for Ubuntu. I am on Kubuntu because I am weird.

hillbeast said:
Try a newer repo version. Use the commands I provided to get it again, and try the CM9 repo.
Well I sure hope those developers can help me. I'd really appreciate any help anyone can give.
Repo is a Unix command so it's for Ubuntu. I am on Kubuntu because I am weird.
Click to expand...
Click to collapse
XD I want to install Kubuntu, but it did not work. right now I'm installing to ubuntu.
Really I think fantastic port ICS on galaxy 3
I want to help as you can.

Downloaded an ubuntu to build an Linux env. Wanna try to help this time when i'm not busy.
And this can just grow up my linux knowledge

hillbeast said:
Try a newer repo version. Use the commands I provided to get it again, and try the CM9 repo.
Click to expand...
Click to collapse
ok thanks i just reinstalled VM with Xubuntu 54gb drive and downloading cm9 source atm can anyone tell me how long it will take to download?

RafayelG said:
ok thanks i just reinstalled VM with Xubuntu 54gb drive and downloading cm9 source atm can anyone tell me how long it will take to download?
Click to expand...
Click to collapse
Increase the size, it'll grow up quick
Also, try to install on its own dedicated partition, unless you have a really fast computer, vm wont be so good
Ics is ~6gb of download, cm9 will be a bit more and that'll grow soon, and it takes 12 on hdd uncompiled
compile it, and it goes way up(i use ccache for faster compile time, and it has grown to ~45 GB)
so, go for 100+ GB

Related

*!NOT ROM THREAD!* Gingerbread on Hero collab thread (update-12/19/10)

*SORRY BOUT THE LATENESS ON UPDATING THIS! So 2.3 AOSP decides to come out when I take a 2 day hiatus to work on an iptv show! :X*
This is not a rom thread holding a Gingerbread 2.3 ROM!
This is a thread for us to collab on BRINGING 2.3 AOSP to the Hero after source is released.
Mission Statement:
I am creating this thread as a one stop to start progress and relay information on building the 2.3/Gingerbread AOSP source for the Hero. THIS IS NOT A ROM THREAD, but a place for DEVS to build knowledge on building the 2.3 AOSP source for the Hero and how to do it, what the roadmap is in development and what drivers are needed/fixes/etc. for it to work properly on the Hero.
Things to do:
1. Download SDK/Try 2.3 in emulator... DONE! (DAMN performance sucks in the emulator.. hope to see something better on native hardware...)
2. Download 2.3/Gingerbread source---Need to download (will today)
3. Test existing open drivers for Hero. Works/Does Not work, and what we need to do to fix what does not.
4. Stabilize
5. Create How-To's for folks to build and create dev roms for themselves.
Available test ROMS(SDK Emulator rom based : no radio access):
[GPL][UNSTABLE] aospMod v0.1 | Android 2.3 SDK (Gingerbread) [12/07/2010] Author - AOSP
See 2nd Post for roadmap.
Reserved for RoadMap, Resources, and Dev recognition.
Roadmap:
(personal)Set up Ubuntu 10.10 on target desktop (AMD Athlon x2 5600+ yeah I know it's not that fast, but good enough) Done.
Download Source: Will be as soon as I get home anyway...
Set up source: Not yet to fruition.
Build Source: Not yet to fruition.
Test on Hero: (Done, not by me)
Current Bugs: Not by me: Reset to blank until we know what the source and current drivers do.
Resources:
Android 2.3 aka "Gingerbread" aka "API Level:9" platform information
Youtube Video of how to setup the Android SDK and test Gingerbread in an emulator (thanks to Asadullah for the video)
Information on getting the 2.3 Source Code
How to Compile CM6 for Hero (old, but resourceful)
Android 2.3/Gingerbread User Guide (From Scribd.com)
GINGERBREAD-KaosGingerbread (for Eris) Thread.
Guide to installing Java 1.5 /JDK 1.5 on Ubuntu 10.10
Building Requirements (from Google Android Developer's site)
Code:
To set up your Linux development environment, make sure you have the following:
Required Packages:
Git 1.5.4 or newer and the GNU Privacy Guard.
JDK 5.0, update 12 or higher.Java 6 is not supported, because of incompatibilities with @Override.
flex, bison, gperf, libsdl-dev, libesd0-dev, libwxgtk2.6-dev (optional), build-essential, zip, curl.
$ sudo apt-get install git-core gnupg sun-java5-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev
You might also want Valgrind, a tool that will help you find memory leaks, stack corruption, array bounds overflows, etc.
$ sudo apt-get install valgrind
Intrepid ( 8.10) users may need a newer version of libreadline:
$ sudo apt-get install lib32readline5-dev
Newest SDK Changes:
-Windows installer will install SDK to C:\Program Files (x86)\Android\android-sdk-windows
-ADB is moved to: C:\Program Files (x86)\Android\android-sdk-windows\platform-tools
Contributors/Devs on the scene:
Me.. More to come I am sure.. PM me or just post if you want to contribute. I am not the oversee-er of this mission as we all want to see this come to fruition, but I am dedicated to bringing this to the Hero and I want to be in the trench as well as a spectator.
Devs:
Special Recognition:
punk.kaos - First XDA-Dev to build 2.3/Gingerbread for any Android device (Eris) (can also be used on the Hero) (from sdk rom)
Hotaru - First 2.3 ROM build specifically for Hero (from sdk rom)
AOSP - First Second 2.3 ROM build specifically for Hero (from sdk rom)
Have you already tried the old kernel switcheroo? to see if it boots on our device? If not I'm on my linux partition and could real quick using the kernel from from darches cyanogen build.
Asadullah said:
Have you already tried the old kernel switcheroo? to see if it boots on our device? If not I'm on my linux partition and could real quick using the kernel from from darches cyanogen build.
Click to expand...
Click to collapse
aosp's problem was with java, it was looking for keys and the heroc didn't understand.
Hexscrew, you can always visit aosp's IRC channel, I'm sure that you guys could talk it out a little bit. This is a great idea for a thread though. I'll refrain from ALL further clutter as I'm not in the position to help while I'm working.
Asadullah said:
Have you already tried the old kernel switcheroo? to see if it boots on our device? If not I'm on my linux partition and could real quick using the kernel from from darches cyanogen build.
Click to expand...
Click to collapse
i did that and got it to boot. i'm uploading a flashable zip now.
edit: here it is: kaosgingerbread-v2-heroc.zip
removed text
Porkrinds said:
Will the work here include a basic guide for building aosp gingerbread from source as a starting place? I'm not asking for handholding, just the basics.
Click to expand...
Click to collapse
it'll probably be pretty much the same as building aosp froyo... but it won't be possible to build gingerbread from source until google releases the source.
HA, sometimes you gotta fake it to make it. My fake @$$ gingerbread hero.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I grabbed the some framework earlier with gingerbread baked in.
hotaru said:
it'll probably be pretty much the same as building aosp froyo... but it won't be possible to build gingerbread from source until google releases the source.
Click to expand...
Click to collapse
they released it yesterday. BTW great work hotaru, but how far did it boot? Though the Eris IS as close to the Hero as you can get
But yeah, the ultimate goal here is to have a full walkthrough of how to build 2.3 from source specifically for the Hero so we can start devving out new roms asap
@dean.d at least your honest on the fake! lol. Hey btw, that would make a nice theme for 2.2 for now.
@smoothtaste thanks for the heads up. I forget theres an irc for almost everything these days
lol im hopeful boots up fine i still think they should have changed the ui a lil more than some color adjustments but eh. It boots all the way just camera, wifi, bluetooth, audio dont work....the browser loads web pages faster but it keeps closing itself plus its a lil laggy but hey this is the first attempt and im very impressed.
removed text
10 chars my bad
Porkrinds said:
@hexskrew: so does such a guide exist for froyo? I toyed with it last night but wasn't sure what people like aosp used to get a build that works with our phones. I would imagine we need the HTC files like CM6 does. Like I said, CM6 is almost idiot proof for building. I wish it was a bit more involved.
Sorry, getting off topic here. Use PM if you'd like.
One question back on topic: What version of Java to use? Google suggests 5, but CM6 worked fine with java6-
Click to expand...
Click to collapse
Nah it's fine. These are legit responses, I just didn't want 10000 replys of "OMG IT'S 2.3 4 T3h H3r0 yay!", and then "Why isn't 2.3 working yet? Where is it?"
criptix said:
10 chars my bad
Click to expand...
Click to collapse
It's all good it happens.
I dunno if it works with java6 or not (I just uninstalled because of the said "incompatibility") but that was what I was going to do. Research cm6 building and then cross-reference with building 2.3 AOSP as per google.
I think the biggest question I have is how to pull the driver source from the 2.1-ish kernel, or do we need to worry about that at all and just shove another kernel into it? As far as screen resolution and such I think I have a good idea on where to change the variables for that.
The one other big question I have is what do we use to replace gapps?! I mean we could always just shove another market into the rom but what about gmail and etc? Not even sure if 2.2 gapps will work or if we have to wait for google to put it out :X
Well off topic as it is, I have to go get a new tire put on my car (damned is my wallet)... Will be back on soon.
Well none of the hardware except radio and touchscreen is working I also installed gapps market works but a lot of apps are missing my gmail sync worked just fine. Seems like they will work only thing that was acting up in my brief test was the browser like I said in my last post. I also flashed the newest cfs kernel no bootloop.
Sent from my HERO200 using Tapatalk
My suggestion is this there are quite a few of us that are trying to learn how to compile from source. We should get together and figure it out then make a how to video.
On another note I read Java doesn't work for compiling beyond version 1.5 or 5 the one with 5 in it
Sent from my HERO200 using XDA App
Asadullah said:
My suggestion is this there are quite a few of us that are trying to learn how to compile from source. We should get together and figure it out then make a how to video.
On another note I read Java doesn't work for compiling beyond version 1.5 or 5 the one with 5 in it
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Yeah it's java 5 that you have to have (or rather java 5.? or higher.. cant remember the exact revision number). I havent' found how to find anything else besides jdk/java 6 on ubuntu 10.10. If you have better luck with an earlier version then holla back! lol.
HAHA! I was looking right at it:
Code:
sudo apt-get install git-core gnupg sun-java5-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev
For those of you like me using ubuntu 10.10, check the 2nd post for a link to a blog on installing jdk/java 5.
removed text
AOSP just posted a gingerbread rom.... haven't tried it but go check it out! hope it helps.
Bumped for importance. This thread is taking a turn..
BTW, this thread is supposed to be about gearing everyone up for the SOURCE CODE release. My bad, I didn't realize at first that like what aosp has done is just pulled the rom from the sdk emulator and changed the kernel to use with the Hero. Which is why until we get the source to dev on, we won't have radio access as of course the sdk is compiled just to simulate radio access.
So as of right now my linux box is fully set up to sync with the repo (actually it is currently sync'd) however meaning when google releases the source to gingerbread.
So as of now we need to go back to 2.1 aosp and compile some info on what to edit to get it to our needs, so we can make as speedy of a development as possible once the source hits.
hexskrew said:
Bumped for importance. This thread is taking a turn..
BTW, this thread is supposed to be about gearing everyone up for the SOURCE CODE release. My bad, I didn't realize at first that like what aosp has done is just pulled the rom from the sdk emulator and changed the kernel to use with the Hero. Which is why until we get the source to dev on, we won't have radio access as of course the sdk is compiled just to simulate radio access.
So as of right now my linux box is fully set up to sync with the repo (actually it is currently sync'd) however meaning when google releases the source to gingerbread.
So as of now we need to go back to 2.1 aosp and compile some info on what to edit to get it to our needs, so we can make as speedy of a development as possible once the source hits.
Click to expand...
Click to collapse
I just want the music from the video.... PM me plz with the name title of song please..

[Q] Building Kernels 101

Anyone have any information as to where I can go to learn how to build/compile a kernel for my nexus s 4g? Id like to take a feeble stab at it. Thanks!
Here are some guides I used for getting started:
» [How-To] compile the Nexus S kernel from source
» [HOW-TO] Compile AOSP Gingerbread + [ROM] Master AOSP
» Building Kernel from source - CyanogenMod Wiki
Please note that most of the time you cannot just follow the guides verbatim. Just use it as "guidelines" and adapt it to suit your development environment.
Also you should have basic to moderate understanding in Git in order to apply patches/mods to your kernel properly.
Thanks. Almost easier to pay someone, what with being lazy and all.
Yeah, that's what I do now -- using a "tried and tested by community" kernel/ROM is much easier for life.
I think there are enough kernel threads in XDA that you should find one that suits your needs, and you can send a donation to the developer to show you appreciation in his/her work
There are quite a few, yes. Although I want a 'feature from this kernel and a tweak from that kernel'...or 'Id use this one if it didnt have that feature'...so I just sit at stock...
Lol, sounds like a "walk in the middle path" philosophy
That's a good decision though, nowadays instead of spending time compiling my own kernel, I spend as much time in checking the Development forum -- looking for new kernel(s) update everyday. It's kinda addict once you've tried flashing them
Hey Tails,
I am trying to take a stab at compiling my own kernel too. How did it go for you? I am having problems myself.
Sent from my Google Nexus S using Tapatalk
suomaf said:
Hey Tails,
I am trying to take a stab at compiling my own kernel too. How did it go for you? I am having problems myself.
Sent from my Google Nexus S using Tapatalk
Click to expand...
Click to collapse
I completely abandoned my attempts at building kernels. Sorry.
I'll leave it to the vets
Sent from my Nexus S 4G using xda premium
I would also like to give it a go, wonder if there is anyone that can give me advice. I have sync repo but can not for the life of me find where the new kernel sources are.
Sent from my A500 using Tapatalk
suomaf said:
I would sol like to give it a go, winner if there is anyone that can give me advice. I have sync repo but can not for the life of me find where the new kernel sources are.
Sent from my A500 using Tapatalk
Click to expand...
Click to collapse
May be here?
suksit said:
May be here?
Click to expand...
Click to collapse
Thanks for the quick reply, I think I have repo sync'd and also done
Code:
git clone https://android.googlesource.com/kernel/samsung.git
But I end up with an empty directory called samsung with a hidden directory .repo
Is this correct? Is the 3.0 kernel for nexus s somewhere else?
Well I haven't update the kernel sources since kernel.org was down... However, I think this may also be a good starting point.
suksit said:
Well I haven't update the kernel sources since kernel.org was down... However, I think this may also be a good starting point.
Click to expand...
Click to collapse
Thank you very much, will try to git clone https://bitbucket.org/KalimochoAz/samsung-kernel-3.git
---------- Post added at 11:15 AM ---------- Previous post was at 11:01 AM ----------
sigh.. this is hard,
Code:
git clone https://bitbucket.org/KalimochoAz/samsung-kernel-3.git
Cloning into samsung-kernel-3...
error: RPC failed; result=22, HTTP code = 502
fatal: The remote end hung up unexpectedly
I am guessing maybe the server is down or something? because git clone worked for me when testing
git clone git://github.com/git/hello-world.git
suomaf said:
Thanks for the quick reply, I think I have repo sync'd and also done
Code:
git clone https://android.googlesource.com/kernel/samsung.git
But I end up with an empty directory called samsung with a hidden directory .repo
Is this correct? Is the 3.0 kernel for nexus s somewhere else?
Click to expand...
Click to collapse
Just finished cloning samsung.git from googlesource. I suppose the directory name should be .git? If so, from within samsung directory, type the following command:
Code:
git branch -a
This will list all branches in the repository. You should see something like this:
Code:
* master
remotes/origin/HEAD -> origin/master
remotes/origin/android-samsung-2.6.35-gingerbread
remotes/origin/android-samsung-3.0-ics-mr1
remotes/origin/master
If you want the kernel code for ICS (linux 3.0), type the following command:
Code:
git checkout android-samsung-3.0-ics-mr1
This will checkout the code from the corresponding branch name. If things go well, you should see something like this:
Code:
Checking out files: 100% (37465/37465), done.
Branch android-samsung-3.0-ics-mr1 set up to track remote branch android-samsung-3.0-ics-mr1 from origin.
Switched to a new branch 'android-samsung-3.0-ics-mr1'
Git will create a new local branch for you. To see it, just type git branch -a again.
Now it's time to play!
thanks boss,
Really appreciate you taking the time to do this, it was successful. Here I go to brick my nexus S
suomaf said:
thanks boss,
Really appreciate you taking the time to do this, it was successful. Here I go to brick my nexus S
Click to expand...
Click to collapse
lol
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
No bricks so far, but has not been able to get the phone to boot. Did what I think is a default compile then took the ram disk from the phone. The damn thing just wont boot. Does this mean that I will have to compile the whole ics and use that ram disk? or am I just doing it wrong?
suomaf said:
No bricks so far, but has not been able to get the phone to boot. Did what I think is a default compile then took the ram disk from the phone. The damn thing just wont boot. Does this mean that I will have to compile the whole ics and use that ram disk? or am I just doing it wrong?
Click to expand...
Click to collapse
That sounds correct to me. However, I haven't done this for almost a year so I'll just try to recall from my memory =.= Usually the steps should be:
get the boot partition from the phone using dd?
use extract-bootimg.pl to extract the ramdisk
use mkbootimg to create a new boot image from the extracted ramdisk and your zImage
try it with fastboot boot newbootimage.img
Sorry that I couldn't be of more help
You have been great help. Thanks.
Sent from my Google Nexus S using Tapatalk
Just think about another way to do it: AnyKernel
BTW, it's my pleasure helping ppl to brick their phone lol

[GT-P6210 WIFI][WIP] CyanogenMod 9 (developer preview 2)

SO HERE WE GO MY GT-6210 FRIENDS.
I sold my tab because I got an iPad 2 for work and used the money to get a Galaxy Nexus I will probably keep building this ROM once the kernel is worked out and everything is working. Most likely Build AOKP
Just like the GT-6200 Developer Release this is a very basic preview build of CM9. That being said, if you choose to flash this build, YOU DO SO AT YOUR OWN RISK.
I am not a Dev or claim to be one, I just spent a lot of time the last few monthes learning how to build from AOSP and CM9, and figured I'd share my success with the community. I am not resposible for any one bricking their devices by not reading all the information that is all hear on XDA.
Please atleast read through this if you are a n00b: http://forum.xda-developers.com/showthread.php?t=1452716
And this if you are not Rooted yet: http://forum.xda-developers.com/showthread.php?t=1379532
ONCE AGAIN
FLASH AT YOUR OWN RISK
All credit and thanks goes out to:
-Google
-The whole Cyanogen team
-aorth (for getting this moving on out TABs)
-locerra (for his quick work on the p6210 device tree & framework tweaks)
-garyd9 (for all his work on the p6210 and this forum)
-Anyone else that made this possible THANK YOU
I will try to maintain this thread as much as I can, but I have a full time job, school, family and a life
I will at the least be folowing any changes in the source code or on github and post any builds I compile.
I WILL NOT BE:
-Responding to any questions that can be found by simply searching
-Spending a lot of time helping people to get this up and running
This is what I did to get it up and running:
-Put the ZIP file on the TABs internal sd partition (NOT THE SD CARD YOU PUT IN TO THE TAB)
-Reboot into Recovery
-Wipe data/factory reset
-Wipe cache partition
-wipe Dalvik Cache
-format /cache
-format /system
-format /data
-Install update-cm-9.0.0-RC0-p6210-UNOFFICIAL-signed.zip
-Reboot and enjoy!!! Not much is working though.
What's working:
Accelerometer
Hardware-accelerated launcher
Touch input
Vibration
Physical buttons (volume + power)
Audio
What's not working:
Bluetooth
Wifi
Camera
GPS
Hardware-accelerated video
Ambient light sensor(working for the most part in new build 2)
Here is the link: http://www.mediafire.com/?jrcehwgewyxi6kb
Any Mirrors for downloads are welcome, not sure how for the free mediafire account will go.
New Build with working Audio
Thanks to locerra!!!
DP2: http://goo.gl/6mXTQ
md5: 79bdbb1e44d8e4421221525c00947688
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Reserved
Sent from my GT-P6210 using xda premium
Hey! This is awesome, i'm glad you were able to get this running. I was gonna try to get it running, but I ran outta space on my ubuntu partition lol.
I was wondering if we could get wifi working by porting this..
https://github.com/psyke83/AR6kSDK.3.1
fyi, locerra = ohanar
locerra said:
fyi, locerra = ohanar
Click to expand...
Click to collapse
Good to know lolz
Sent from my GT-P6210 using xda premium
Woooo yes bring it on! Great to see people chipping in and getting this off the ground! Really looking forward to seeing this finished.
Would be abysmally funny if they finish before Samsung gets their ICS out even though that circumstance is not likely to happen.
bdds13 said:
Hey! This is awesome, i'm glad you were able to get this running. I was gonna try to get it running, but I ran outta space on my ubuntu partition lol.
I was wondering if we could get wifi working by porting this..
https://github.com/psyke83/AR6kSDK.3.1
Click to expand...
Click to collapse
Not sure if I could get this worked into a build. Do you have more info on what and where this code comes from?
Sent from my GT-P6210 using xda premium
This is great and really inspiring. I really wish I knew where to begin to help out on moving this forward. Thanks for all the work guys
kmmxracer said:
Not sure if I could get this worked into a build. Do you have more info on what and where this code comes from?
Sent from my GT-P6210 using xda premium
Click to expand...
Click to collapse
Yeah, I got it from this old post here on the general forum.
http://forum.xda-developers.com/showpost.php?p=23262686&postcount=18
It's supposed to be from one of sony's e-book reader devices.
Good to see you up and running. Congrats! Now you guys get to work on wifi and I'll start working on telephony .
kmmxracer said:
Not sure if I could get this worked into a build. Do you have more info on what and where this code comes from?
Sent from my GT-P6210 using xda premium
Click to expand...
Click to collapse
i found something similar quite some time ago.
https://github.com/DerArtem/AR6kSDK.3.1
it's from derartem, he and nopy is working on ICS for Folio 100 too currently.
http://forum.xda-developers.com/showthread.php?t=1470823
it is the same thing with some modification from DerArtem.
Progress on wireless... sorta.
P6200/P6210 use an Atheros 6003 wireless chip (also for bluetooth?). The open-source atk6kl driver from compat-wireless supports this chip. I found some interesting information about building this module on the HP Touchpad forum over at RootzWiki. I can compile the module, but I just can't load it.
Here's how:
1. Compile kernel:
Code:
cd ~/src/git/kernel_samsung_c210
LOCALVERSION="" ARCH=arm CROSS_COMPILE="/home/aorth/src/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-" make -j8 zImage
2. Compile compat-wireless
Code:
cd ~/src/compat-wireless-3.3-2-n
./scripts/driver-select ath6kl
ARCH=arm CROSS_COMPILE="/home/aorth/src/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-" KLIB=~/src/git/kernel_samsung_c210 KLIB_BUILD=~/src/git/kernel_samsung_c210 make -j4
But attempting to insert the resulting modules spits out errors like:
Code:
# insmod compat.ko
insmod: can't insert 'compat.ko': invalid module format
# dmesg | tail -n3
<4>[ 365.244149] load_module: umod=4015c000, len=1311485, uargs=01a1f008
<3>[ 365.266659] compat: unknown relocation: 96
<6>[ 382.490328] BAT : soc(100), vcell(4152mV), curr(0mA), temp(26.7), chg(0), full(1), rechg(0), cable(1)
@ohanar... help!
Nice start!
aorth said:
P6200/P6210 use an Atheros 6003 wireless chip (also for bluetooth?). The open-source atk6kl driver from compat-wireless supports this chip. I found some interesting information about building this module on the HP Touchpad forum over at RootzWiki. I can compile the module, but I just can't load it.
Here's how:
1. Compile kernel:
Code:
cd ~/src/git/kernel_samsung_c210
LOCALVERSION="" ARCH=arm CROSS_COMPILE="/home/aorth/src/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-" make -j8 zImage
2. Compile compat-wireless
Code:
cd ~/src/compat-wireless-3.3-2-n
./scripts/driver-select ath6kl
ARCH=arm CROSS_COMPILE="/home/aorth/src/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-" KLIB=~/src/git/kernel_samsung_c210 KLIB_BUILD=~/src/git/kernel_samsung_c210 make -j4
But attempting to insert the resulting modules spits out errors like:
Code:
# insmod compat.ko
insmod: can't insert 'compat.ko': invalid module format
# dmesg | tail -n3
<4>[ 365.244149] load_module: umod=4015c000, len=1311485, uargs=01a1f008
<3>[ 365.266659] compat: unknown relocation: 96
<6>[ 382.490328] BAT : soc(100), vcell(4152mV), curr(0mA), temp(26.7), chg(0), full(1), rechg(0), cable(1)
@ohanar... help!
Click to expand...
Click to collapse
I need to learn to compile a kernel. Where did you get the kernel from and where did you get the toolchain/cross compiler from? Is it the one inside the cyanogen repo or codesourcery or what?
Sorry if the dumb questions, but I'm just getting started/interested in kernels
kmmxracer said:
I need to learn to compile a kernel. Where did you get the kernel from and where did you get the toolchain/cross compiler from? Is it the one inside the cyanogen repo or codesourcery or what?
Click to expand...
Click to collapse
The kernel we are currently using is the one at https://github.com/ohanar/kernel_samsung_c210, however, in the long run we should move over to https://github.com/teamhacksung/android_kernel_samsung_smdk4210, although this is currently broken for our devices (so we need to fix it ).
I am using the latest ndk toolchain that comes with in cm repo.
---------- Post added at 02:35 AM ---------- Previous post was at 02:33 AM ----------
aorth said:
@ohanar... help!
Click to expand...
Click to collapse
Haven't really looked into this too much. I'm more interested in getting the smdk4210 kernel working (and that already includes the atheros drivers).
Thanks, I just found some good reading on compiling kernels. I allways find what I need right after asking in a thread
I'll start with the teamhacksung git. Thanks!!!!
locerra said:
Haven't really looked into this too much. I'm more interested in getting the smdk4210 kernel working (and that already includes the atheros drivers).
Click to expand...
Click to collapse
Yeah, you're right. It's likely the same ath6kl driver, though, as compat-wireless is where the mainline kernel gets linux-wireless-next (and smdk4210 kernel is based on mainline, or at least will be soon... it might be based on origen board kernel right now, see OpenGalaxy).
btw, this module loading issue isn't strictly a wireless issue. I can't load j4fs or scsi_wait_scan either. I swear I loaded these once before, recently...
btw, this module loading issue isn't strictly a wireless issue. I can't load j4fs or scsi_wait_scan either. I swear I loaded these once before, recently...
Click to expand...
Click to collapse
Yeah, I'm having that issue too...
locerra said:
Yeah, I'm having that issue too...
Click to expand...
Click to collapse
Question... when you were still using kernels compiled with Samsung's LOCALVERSION string, did you ever get the ar6000.ko to load?

[WIP][DEV][4.1] Jelly Bean 4.1 Source ROM - SIMPLIFIED (7/13/12)

I wanted to get the ball rolling on getting a working AOSP 4.1 ROM built. So far i was able to get it to compile but i cannot get it to boot or get adb working. I need help on this one so lets all work together and get this working! :laugh:
The majority of the compile errors were gps related so i have disabled the building of gps in the device tree for now as that is not important to get a booting build. If you follow these instructions you will be able to build without any errors. But the end product still will not boot. but its close.
Here is how to download the 4.1 AOSP repo (straight from the android source website):
Code:
$ mkdir ~/bin
$ PATH=~/bin:$PATH
$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
$ mkdir WORKING_DIRECTORY
$ cd WORKING_DIRECTORY
$ repo init -u https://android.googlesource.com/platform/manifest
$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.1.1_r1
$ repo sync -j16 (this will take about and hour and a half depending on your interwebs speed)
then download the device trees and proprietary files from here:
Code:
$ cd WORKING_DIRECTORY
$ git clone https://github.com/sk8erwitskil/aosp-android_device_samsung_skyrocket.git device/samsung/skyrocket/
$ git clone https://github.com/sk8erwitskil/aosp-android_device_samsung_msm8660-common.git device/samsung/msm8660-common/
$ git clone https://github.com/sk8erwitskil/android_vendor_samsung_skyrocket.git vendor/samsung/skyrocket/
then:
Code:
$ . build/envsetup.sh (notice the period)
$ lunch full_skyrocket-userdebug
$ make -j(number of CPUs/threads +1) otapackage
i have 2 cpus with 2 cores and multi threaded so i do -j9
2(cpus) x 2(cores each) x2(threads per core) + 1 = 9 (so i do make -j9 otapackage)
i got one to completely compile but i cannot get it to boot. i had to edit the updater-script to get it to even install. if you do get one compiled make sure to delete all the lines that have to do with installing recovery from the updater-script. you dont want to overwrite your recovery. and delete the folder "recovery" from inside the finished zip file. i already did that in this one:
JELLYBEAN 4.1 AOSP (NOT BOOTING YET)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
not booting rom is still uploading. should be done in about 5 mins
edit: finished uploading
cant wait to see the progress on this very excited thanks
Getting the ball rolling my friend? Good luck
Get hold of Seanzscreams. His Alpha was not booting yet, but he had adb working. We were doing logcats and dmesg's on it. A bit of advice from him on getting adb going might help you along a bit quicker.
rebel1699 said:
Get hold of Seanzscreams. His Alpha was not booting yet, but he had adb working. We were doing logcats and dmesg's on it. A bit of advice from him on getting adb going might help you along a bit quicker.
Click to expand...
Click to collapse
I am in NO way trying to disrespect anyone, and have no idea how to development process works. But why does it seem like there are small groups of people trying to get their own versions to boot. Why not collaborate until there's at least a solid base, then branch off?
I am going to start playing with it too, maybe I will figure something out but probably not
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
doood amazing
editing the cm.mk
and vendor.sh
was my hinderence
thanks compiling a build now as well
sk8erwitskil said:
not booting rom is still uploading. should be done in about 5 mins
Click to expand...
Click to collapse
also have you tried bringing over the android runtime lib
and also in egl.conf changing it to 0 1android and 0 0 adreno
seanzscreams said:
also have you tried bringing over the android runtime lib
and also in egl.conf changing it to 0 1android and 0 0 adreno
Click to expand...
Click to collapse
i have not edited any of the libs yet. i have only had time to get the compile done and edited the updater-script to get it to install. i will try this tho and see how much further into the boot process i can get. thanks
oh btw, how did you get adb to start. were there changes to init.rc that you had to make?
Compiled and adb is running
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I brought over only a few specific lines. Not replacing any. When I compared them side by side
And included init.trace
Thanks for like 5 tips in the op that got me going I was up all damn night. But. Changing full skyrocket user debug. Worked. Ahhh
So close now
Using my own compile. But. Will def give props for this guide
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Good to see there's a few people working on a jb port. More people=sooner releases and more roms. Thanks.
Sent from my SGH-I727 using XDA
Great news... CAF (code aurora forums) just updated their github with new Jellybean sources, and our own msm8660 processor is among them. Same stuff I used for my port of ICS. https://www.codeaurora.org/xwiki/bin/QAEP/jb
This is what we need to compile and build from; as it's actually designed for our processor it will be much easier in getting a stable jellybean build up and running.
jomeister15 said:
Great news... CAF (code aurora forums) just updated their github with new Jellybean sources, and our own msm8660 processor is among them. Same stuff I used for my port of ICS. https://www.codeaurora.org/xwiki/bin/QAEP/jb
This is what we need to compile and build from; as it's actually designed for our processor it will be much easier in getting a stable jellybean build up and running.
Click to expand...
Click to collapse
Thanks limited, but <3
jomeister15 said:
Great news... CAF (code aurora forums) just updated their github with new Jellybean sources, and our own msm8660 processor is among them. Same stuff I used for my port of ICS. https://www.codeaurora.org/xwiki/bin/QAEP/jb
This is what we need to compile and build from; as it's actually designed for our processor it will be much easier in getting a stable jellybean build up and running.
Click to expand...
Click to collapse
thanks. dl'ing now
edit: looks like codeaurora has kernel in it as well??
sk8erwitskil said:
thanks. dl'ing now
edit: looks like codeaurora has kernel in it as well??
Click to expand...
Click to collapse
I think it's safe to say that you guys will have a working ROM fairly soon. Keep this up and you'll have something up and running in week
"error: Cannot fetch platform/external/webkit"
thats from the codeaurora repo. ugh. it hangs
Glorious work y'all
Sent from my SGH-T989 using xda app-developers app
Just wanted to personally say thank you, Sk8er for reaching out, if more devs did that then there probably wouldn't be so many questions killing these forums for everyone.
Keep up the awesome work and i will do anything i can to help. you guys rock!
Sent from my i727 DÅÅTH machine
sk8erwitskil said:
thanks. dl'ing now
edit: looks like codeaurora has kernel in it as well??
Click to expand...
Click to collapse
The kernel will need to be replaced by a modified ICS one. I'd get downloading on the source but I currently don't have access to my linux machine.

[GUIDE] How to Build CM11 for the HTC One M8 (082714)

How to Build CM11​
for the HTC One M8
by bracketslash​
Requirements:
Ubuntu 14.04 (64-bit) up and running. Minimum specs: 150GB Hard Drive, 4GB RAM, 2.5GHz processor
Patience
(Actual build requirements: http://source.android.com/source/building.html)
Installing the Necessities:
Code:
sudo apt-get install bison build-essential curl flex git gnupg gperf libesd0-dev libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2 libxml2-utils lzop openjdk-6-jdk openjdk-6-jre phablet-tools pngcrush schedtool squashfs-tools xsltproc zip zlib1g-dev g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev
Setting Up our Work Directory:
Code:
mkdir -p /home/<USER>/android/system
Getting Started
Code:
cd /home/<USER>/android/system
repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
git config --global user.email "[email protected]"
git config --global user.name "your name"
repo sync
Now, wait a day. It'll take a long time.
Once it's done, we need to add TheMuppets' proprietaries:
Code:
mkdir /home/<USER>/android/system/.repo/local_manifests
Create and edit /home/<USER>/android/system/.repo/local_manifests/local_manifest.xml
Put this inside it:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote fetch="git://github.com/TheMuppets/" name="muppeteer"/>
<project name="proprietary_vendor_htc" path="vendor/htc" remote="muppeteer" />
</manifest>
Now, run repo sync again
Code:
repo sync
This will run much faster...It doesn't have to download anything this time EXCEPT for the proprietaries we told it to catch.
Once that is done, we continue with the build:
Code:
cd /home/<USER>/android/system/vendor/cm
./get-prebuilts
cd /home/<USER>/android/system
prebuilts/misc/linux-x86/ccache/ccache -M 75G
export USE_CCACHE=1
source build/envsetup.sh && time brunch m8
Now, just wait. When it is finished, the zip will be in /home/<USER>/android/system/out/target/product/m8/ in the form of cm-11-YYYYMMDD-UNOFFICIAL-m8.zip and cm-11-YYYYMMDD-UNOFFICIAL-m8.zip.md5sum
The md5sum is what you give to people so they know they're in good shape with the right file before flashing.
Changelog
082714
Code:
Initial release
If you find anything wrong or have any questions, just let me know!
Thanks for posting this!
Built my first CM based ROM!
Thanks again for the tutorial!
One step you may want to include is downloading repo command and adding it to path after you download build essentials.
And I am not sure on this but I run Oracle Java so you may want to put a reference to having Oracle java preloaded.
EDIT: Ooops, no sounds. Was there a vendor step missed?
My first build
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
scrosler said:
Built my first CM based ROM!
Thanks again for the tutorial!
One step you may want to include is downloading repo command and adding it to path after you download build essentials.
And I am not sure on this but I run Oracle Java so you may want to put a reference to having Oracle java preloaded.
EDIT: Ooops, no sounds. Was there a vendor step missed?
My first build
​
Click to expand...
Click to collapse
No sound definitely wasn't something that I had to deal with! I'm not sure on that one.
Also, I have installation instructions listed to install openjdk so that is what can be used to install it.
Additionally, I don't think that I ever installed repo manually. I ran `which repo` and it showed up in /usr/bin/ and I definitely never put it there myself!
Edit: However, if anyone does have issues with repo, Google's official instructions are here: http://source.android.com/source/downloading.html
bracketslash said:
No sound definitely wasn't something that I had to deal with! I'm not sure on that one.
Also, I have installation instructions listed to install openjdk so that is what can be used to install it.
Additionally, I don't think that I ever installed repo manually. I ran `which repo` and it showed up in /usr/bin/ and I definitely never put it there myself!
Edit: However, if anyone does have issues with repo, Google's official instructions are here: http://source.android.com/source/downloading.html
Click to expand...
Click to collapse
Im going to re-install my O/S and resync.
Maybe I have conflicting tools installed.
scrosler said:
Im going to re-install my O/S and resync.
Maybe I have conflicting tools installed.
Click to expand...
Click to collapse
That could be...I guess there could be an issue somewhere along the m8 nightlies that caused the issue as I only do dirty flashes. If it's a huge widespread change, maybe I could be missing it? Food for thought. Let me know what you find, regardless! :cyclops:
I was set up for AOSP by the book. It required a different set of build tools and java. And you are correct, Repo was there when I installed your build tools.
Looks like the Google AOSP maintainers and writers could take note of how you have this set up :good:
Im syncing now...
scrosler said:
I was set up for AOSP by the book. It required a different set of build tools and java. And you are correct, Repo was there when I installed your build tools.
Looks like the Google AOSP maintainers and writers could take note of how you have this set up :good:
Im syncing now...
Click to expand...
Click to collapse
Glad to hear that we found a consistent way of doing it!! Downloading the repo executable seemed like an unnecessary step, so it being automagically included with the build tools as instructed seems pretty convenient...The way I see it, the more people building, the more the opportunity for someone great to rise to fame with an awesome ROM.
@scrosler looks like cm committed something that broke audio in the 8/29 nightly so you probably had it synced correctly the 1st time. To fix the no audio for now you can flash project era.
bracketslash said:
Glad to hear that we found a consistent way of doing it!! Downloading the repo executable seemed like an unnecessary step, so it being automagically included with the build tools as instructed seems pretty convenient...The way I see it, the more people building, the more the opportunity for someone great to rise to fame with an awesome ROM.
Click to expand...
Click to collapse
Indeed!
Synced again last night and audio still broken... I see why now
|
|
\/
krazie1 said:
@scrosler looks like cm committed something that broke audio in the 8/29 nightly so you probably had it synced correctly the 1st time. To fix the no audio for now you can flash project era.
Click to expand...
Click to collapse
Ahahaha! Thought it was something I did!
scrosler said:
Indeed!
Synced again last night and audio still broken... I see why now
|
|
\/
Ahahaha! Thought it was something I did!
Click to expand...
Click to collapse
Yeah man everyone was freaking out in the cm11 thread, so you most likely built it right the first time. You can wait for a fix, flash project era or go back to the 8/27 nightly.
scrosler said:
Indeed!
Synced again last night and audio still broken... I see why now
|
|
\/
Ahahaha! Thought it was something I did!
Click to expand...
Click to collapse
Well...it's sort of like a win, then! A broken build is only a bad build if you caused the problem...so, good build!
Thanks guys.
Now here is a legit question...
How can I revert back to a specific nightly build.
With AOSP I specify a version, not a date in my manifest info.
What would be the key to doing that in CM11? How can I specify a specifc date to revert my local repo too?
scrosler said:
Thanks guys.
Now here is a legit question...
How can I revert back to a specific nightly build.
With AOSP I specify a version, not a date in my manifest info.
What would be the key to doing that in CM11? How can I specify a specifc date to revert my local repo too?
Click to expand...
Click to collapse
Idk but the audio has been fixed and and commited
krazie1 said:
Idk but the audio has been fixed and and commited
Click to expand...
Click to collapse
Effin A! Even better.
I will regain confidence on this build!
scrosler said:
Effin A! Even better.
I will regain confidence on this build!
Click to expand...
Click to collapse
Here is the commit channel if you didn't know it http://www.cmxlog.com/11/
Now I am getting "torch" errors.
Because I am still a CM newb I am going to re-install and re-sync.
After a complete OS reload and fresh sync I have to say...
We have lift-off!
I can confirm the guide in Post #1 is perfect! :highfive: :good:
Thank you for taking the time to elaborate and help!
scrosler said:
After a complete OS reload and fresh sync I have to say...
We have lift-off!
I can confirm the guide in Post #1 is perfect! :highfive: :good:
Thank you for taking the time to elaborate and help!
Click to expand...
Click to collapse
Glad we could get it
Sent from my One M8 using XDA Free mobile app
As far as AOSP..
CM specific pre-builts aside, the build tools are also perfect for pure AOSP.
You just need to run Oracle Java instead of OpenJDK :good:

Categories

Resources