yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S III] jdelano:
You can follow this thread

http://xdaforums.com/showthread.php?t=1743780

I read the last few pages (started @ pg 30) this works with phones on MD4 (4.1.2)

when you're done you can use the link in my signature to get Philz, yes its really awesome.

Don't forget to thank QBKing77 for his video tutorial, CNexus for porting Philz to our phone at first, and Phil3759 the creator.

Good luck!!!
[LG G Flex] fiz913:
Fellas...post your quadrant/antutu scores... I got 20k in quad...what about yours...
[LG G Flex] Thraxzzz:
36k in antutu
[LG G Flex] N3M3SYS:
Here are my scores
[LG G Flex] Laree:
Microphone for the sounds during video recording.
[LG G Flex] gtamgs15:
Gonna do 1 every day and see how it plays out.
[LG G Flex] reaper420:
This was the first day,is gone progressively down since then.
[LG G Flex] mr pnut:
My first test.

Sent from my Enormous G Flex.
[LG G Flex] kewlgirl05:
Here is my contribution
[LG G Flex] Xak:
36k+ on my D950 lg g flex att using 4g lte speeds
[LG G Flex] captainphoenixx:
21k in quad
[LG G Flex] iamtha1:
Badasss phone...

View attachment 2581389
[LG G Flex] Bowmanspeer:
Well, alrighty then...

Sent. Edited. Sent again. Deleted, and rewritten. Sent again.
[LG G Flex] mattwheat:
Here ya go

Antutu

Quadrant

And "Quickie Benchmark's" it just a test to see how fast you can process 2 million processes.

Top of the leader board #1 baby. With an average score of .722 seconds and fastest of .715 seconds.

Sent from my LG-D959 using Xparent Skyblue Tapatalk 2
[LG G Flex] fiz913:
very glad to see... flex is ruling charts everywhere...
[LG G Flex] vladutz2007:
37K
[LG G Flex] Jacob030:
Nexus 5 Quickie bench
[General Questions and Answers] glaeb:
My nexus 5 its battery is going down slowly and i wondered why? Then realized this

Is there a way to shut down facebook gps? My location is already off.

Please help! :(
[General Questions and Answers] glaeb:
A simple reboot helped... I feel you guys doing a facepalm. :P
[Samsung Galaxy Gear] AstroDigital:
I stopped using my watch for the weather.

Updates are too slow and they are not accurate.

Can the speed and accuracy of the weather updates be improved anything I can do?
[Samsung Galaxy Gear] redline57:
You are talking about the original weather app? Since ur able to use different app. Weather app has never work for me on the updates. Im using 3r Widgets
[Samsung Galaxy Gear] AstroDigital:
I can only use the watch face supplied to me by Samsung, there are no alternatives.

Yes I know there is Null, but it looks like too much work for me to bother.

From what I read, unless I am wrong even if I went through all the trouble, it is my understanding for devices that have no bluetooth tethering they have no internet access.

Maybe a few hours ( Really not that much trouble, just need to do it )
[Galaxy S II Android Development] -Grift-:
Nice!
[Galaxy S II Android Development] Vivek_Neel:
Thanks buddy.

Took me 3hr to write.. Phew:D
[Galaxy S II Android Development] -Grift-:
*Browser crashes just before you get to post* FUUUUUU:laugh:
[Galaxy S II Android Development] axlslash_gnr:
Will Surely try................... Great effort thou.....
[Galaxy S II Android Development] johnny208:
:) Although this is of immense help, IMO this shows the huge amount of work put out by our ROM developers.

So, thank you [MENTION=649767]cfi[/MENTION] and hopefully some new devs will grow out of this. :)
[Galaxy S II Android Development] Sun90:
It took me 3hr to read and Digest :) Phew!!U should also Add the Min Hardware requirement to the guide :)
[Galaxy S II Android Development] engloa:
Min hardware requirement of what mate?

if you mean virtualbox, you can check this out
[Galaxy S II Android Development] Sun90:
The system (computer) hardware requirement ma8 :)
[Galaxy S II Android Development] Troubadour666:
Thanks "again" for a "monster" thread :)
[Galaxy S II Android Development] Vivek_Neel:
Sure buddy..I will.

Am already tired.

Have to go college tomo:(:(
[Galaxy S II Android Development] Myself5:
You could (theoretically) build with almost everything where you get Linux to work on but remember, it will then finish today's nightly in 3 days :D Also there are some people reporting compiling crashes when you don't have enough RAM (@corruptionfreeindia was one of them ;)).

Greetings

Myself5
[Galaxy S II Android Development] Vivek_Neel:
haha..;D
[Galaxy S II Android Development] Biftor:
Great thread,thanks

keep it up:good::good:
[Galaxy S II Android Development] -Grift-:
Set up ADB and Fastboot for Ubuntu with ease

http://www.webupd8.org/2012/08/install-adb-and-fastboot-android-tools.html

After installing it this way you can excess ADB or Fastboot commands through the terminal from anywhere. This integrates the commands perfectly :D
[Galaxy S II Android Development] Vivek_Neel:
Buddy..thanks.

Looks so easy.

Adding it to the op if u dont mind.

Thanks biftor.
[Galaxy S II Android Development] -Grift-:
Im cool with that :)
[Galaxy S II Android Development] Red Devil:
Nice guide.. very lucid and simple language. easy to learn. Thanks! :)
[Galaxy S II Android Development] rais.asif786:
awesome it will b very helpful.... such a nice thread you wrote
[Galaxy S II Android Development] Raagh:
Hey guys im not on the s2 anymore, im on the g2 but guess is the same logic. I wanna know how to build rom using a diferent kernel. For example if i want to build slimkat with apollo already baked inside the rom :).
[Galaxy S II Android Development] Shahan_mik3:
How to build a kernel for s2 tutorial.

[MENTION=5022494]Vivek_Neel[/MENTION] please make a thread on how to build a kernel for s2 as many are finding it difficult with the boot.img and packing kernel part :)

If you are free.
[Galaxy S II Android Development] Vivek_Neel:
Yes the logic is same.

Also you have a brief guide on each github of specific rom .

Have not tried compiling a rom with custom kernel.

Compile kernel separately using apolo source .

Will update the guide for this soon.

Will do it.

As u said when am free.. Am in final semester ..u know how things will be in this year.:)
[Galaxy S II Android Development] Shahan_mik3:
Cool thank you. :)

Final semester eng? Lemme guess cs? :p
[Galaxy S II Android Development] Vivek_Neel:
Nope.

Am a chemical engineering student.
[Galaxy S II Android Development] Shahan_mik3:
Ohhh cool.....all the best :)
[Galaxy S II Android Development] Shahan_mik3:
Btw I have compiled a kernel without error...can you tell what to do next? All the steps are informed are not device specific but this s2 is kinda diff.

How to pack the zimage and where to find boot IMG?
[Galaxy S II Android Development] ab-samy:
[MENTION=5022494]Vivek_Neel[/MENTION]

i got this error during build plz help :(

target thumb C: audio.primary.exynos4 <= device/samsung/galaxys2-common/tinyalsa_audio/mixer.c
device/samsung/galaxys2-common/tinyalsa_audio/mixer.c: In function 'tinyalsa_mixer_config_start':
device/samsung/galaxys2-common/tinyalsa_audio/mixer.c:279:44: error: 'AUDIO_CHANNEL_OUT_SURROUND' undeclared (first use in this function)
config_data->io_props.channel_mask = AUDIO_CHANNEL_OUT_SURROUND;
^
device/samsung/galaxys2-common/tinyalsa_audio/mixer.c:279:44: note: each undeclared identifier is reported only once for each function it appears in
device/samsung/galaxys2-common/tinyalsa_audio/mixer.c: In function 'tinyalsa_mixer_set_route_ctrl':
device/samsung/galaxys2-common/tinyalsa_audio/mixer.c:731:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0 ; i < mixer_ctl_get_num_values(ctl) ; i++) {
^
device/samsung/galaxys2-common/tinyalsa_audio/mixer.c: In function 'tinyalsa_mixer_set_route_write':
device/samsung/galaxys2-common/tinyalsa_audio/mixer.c:745:59: warning: unused parameter 'mixer' [-Wunused-parameter]
int tinyalsa_mixer_set_route_write(struct tinyalsa_mixer *mixer,
^
make: *** [/home/roshnaie/working/out/target/product/i9100/obj/SHARED_LIBRARIES/audio.primary.exynos4_intermediates/mixer.o] Error 1
[Galaxy S II Android Development] Heroeagle:
So useful topic thank u very much
[Galaxy S II Android Development] MattMatt0240:
Hello all! Just installed ZorinOS (ubuntu 14.04 base) on my secondary hard drive, installed updates, and it's running great!

I have installed all of the packages required, and am following this/cm wiki's instructions. When I go to install repo, it downloads a 322kb XML file with this content:

-<ERRORCODE><MESSAGE>No such bucket list</MESSAGE></ERRORCODE>

(or something along those lines)

I used "curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo" to install repo command, as cm wiki instructs. I noticed this OP has a different address to curl repo from, is this still valid, or is it outdated?

I have no other issues other than this so far. Great OP, and beautiful detail. Thank you greatly! Can't wait to get this working properly, time to put my 16Gb of corsair RAM to good use ;)

EDIT: I just clicked on my link for repo and it downloaded to my phone with much more content that I quoted earlier... Does this absolutely need to be done with "curl" command, or can I paste it into my ~/bin/ directory and "chmod a+x" it?
[Galaxy S II Android Development] Nightshadow931:
You can paste it there aswell, doesn't matter.
[Galaxy S II Android Development] cyril279:
[MENTION=5649338]tdguchi[/MENTION], No problem.

I'm glad to hear that you've gotten 4.4 to build.

There are a few things that will be different about the process, and I would like to explain each step.

After repo-sync, what commands do you issue to initiate builds?
[Galaxy S II Android Development] tdguchi:
Hi, thanks for the short answer, well, now i have made the 4.4.4 stock, using this link http://docs.omnirom.org/Setting_Up_A_Compile_Environment and then http://docs.omnirom.org/Samsung_Galaxy_S_II when (after a long time despiteof having an intel i5 and ssd an a lot of ram) the brunch i9100 finishes, i could say that my compile enviroment works fine.

So the next step, could be build the 5.1 version of asimovi http://docs.omnirom.org/Samsung_Galaxy_S_II but, i dont know what i need to put in the local manifest before repo sync again (and then brunch i9100 again) so my problem is to write the local manifest to remove the existing stock omni repos that asimovi has updated, and then add his in place.

thanks again :)
[Galaxy S II Android Development] cyril279:
First lets re-init & sync omni's 5.1 branch:

repo init -u git://github.com/omnirom/android.git -b android-5.1 && repo sync -j16

We want to make a custom build for the i9100, so we'll need to use a local_manifest, and use a slightly different set of commands to get things going.

_________________________________________________

Brunch [device_name]

is really two commands smashed together

breakfast [device_name] && mka bacon

_________________________________________________

[ Breakfast i9100 ] generated a roomservice.xml, based on Omni's dependency file for the i9100, at the 4.4 branch.

The roomservice.xml and a local_manifest.xml are functionally the same.

There is no 5.0 branch for the i9100 to brunch, but we can use the roomservice.xml as a template to build our local_manifest.xml

paste in the contents of your [.repo/local_manifests/roomservice.xml] , and we'll get started.

---------- Post added at 02:58 PM ---------- Previous post was at 02:52 PM ----------

Actually, your tutorial starts us out using a local_manifest (minus formatting), so that's where we'll start. standby...

<project name="android_device_samsung_i9100" path="device/samsung/i9100" remote="omnirom" revision="android-4.4" />
<project name="android_device_samsung_galaxys2-common" path="device/samsung/galaxys2-common" remote="omnirom" revision="android-4.4" />
<project name="android_kernel_samsung_smdk4412" path="kernel/samsung/smdk4412" remote="omnirom" revision="android-4.4" />
<project name="android_hardware_samsung" path="hardware/samsung" remote="omnirom" revision="android-4.4" />
[Galaxy S II Android Development] tdguchi:
im executing the first comand (repo init with 5.1 branch and sync) this could take a long time despite of having 20mb of download speed...
[Galaxy S II Android Development] tdguchi:
so, when the repo sync finishes, i only change the content of my local manifest with

<project name="duvall/android_device_samsung_i9100" path="device/samsung/i9100" remote="github" revision="android-5.1" />
<project name="duvall/android_device_samsung_galaxys2-common" path="device/samsung/galaxys2-common" remote="github" revision="android-5.1" />
<project name="duvall/android_kernel_samsung_smdk4412" path="kernel/samsung/smdk4412" remote="github" revision="android-5.1" />
<project name="duvall/android_hardware_samsung" path="hardware/samsung" remote="github" revision="android-5.1" />

and then repo sync again?

ok, i will read it carrefully...

[MENTION=5294352]cyril279[/MENTION] where i can get the asimovi manifest?
[Galaxy S II Android Development] cyril279:
His local_manifest is on his local machine. I don't believe that he has published it. not everyone does, but IMO they should.

Re-read the second part of the last post. You should also add his frameworks repos to your manifest, using the remove/add lines shown. There should be a pair of lines for each frameworks repository.

Once you have the device lines and the project substitute lines, then repo-sync again.

[MENTION=698346]teemo[/MENTION] has a fantastic example of a published manifest:

https://github.com/teemodk/slimx_manifest
[Galaxy S II Android Development] tdguchi:
[MENTION=5294352]cyril279[/MENTION] do you think this manifest is corect?

<?xml version="1.0" encoding="UTF-8"?>
<manifest>

<remove-project name="android_frameworks_base" />
<remove-project name="android_frameworks_native" />
<remove-project name="android_frameworks_av" />
<project path="frameworks/base" name="duvall/android_frameworks_base" remote="github" revision="android-5.1" />
<project path="frameworks/native" name="duvall/android_frameworks_native" remote="github" revision="android-5.1" />
<project path="frameworks/av" name="duvall/android_frameworks_av" remote="github" revision="android-5.1" />
<
project name="duvall/android_device_samsung_i9100" path="device/samsung/i9100" remote="github" revision="android-5.1" />
<project name="duvall/android_device_samsung_galaxys2-common" path="device/samsung/galaxys2-common" remote="github" revision="android-5.1" />
<project name="duvall/android_kernel_samsung_smdk4412" path="kernel/samsung/smdk4412" remote="github" revision="android-5.1" />
<project name="duvall/android_hardware_samsung" path="hardware/samsung" remote="github" revision="android-5.1" />

</manifest>

if, it is correct, whats next?

thanks
[Galaxy S II Android Development] cyril279:
Looks good, but you're missing the proprietary_vendor libraries. what did you use for the last builds?
[Galaxy S II Android Development] tdguchi:
propietary vendor libraries? you mean this?

Getting proprietary vendor blobs

Now in terminal, cd into device repo, for eg. ~/device/samsung/i9100

Then connect your phone and make sure usb debugging is enabled.

Type in terminal -

./extract-files.sh

[MENTION=5294352]cyril279[/MENTION]

i have conneted my galaxy s2, and run the command, to get the vendor files, i dont know if that you are saying
[Galaxy S II Android Development] cyril279:
...also a format correction:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>

<remove-project name="android_frameworks_base" />
<remove-project name="android_frameworks_native" />
<remove-project name="android_frameworks_av" />
<project path="frameworks/base" name="duvall/android_frameworks_base" remote="github" revision="android-5.1" />
<project path="frameworks/native" name="duvall/android_frameworks_native" remote="github" revision="android-5.1" />
<project path="frameworks/av" name="duvall/android_frameworks_av" remote="github" revision="android-5.1" />
<project name="duvall/android_device_samsung_i9100" path="device/samsung/i9100" remote="github" revision="android-5.1" />
<project name="duvall/android_device_samsung_galaxys2-common" path="device/samsung/galaxys2-common" remote="github" revision="android-5.1" />
<project name="duvall/android_kernel_samsung_smdk4412" path="kernel/samsung/smdk4412" remote="github" revision="android-5.1" />
<project name="duvall/android_hardware_samsung" path="hardware/samsung" remote="github" revision="android-5.1" />

</manifest>

---------- Post added at 04:10 PM ---------- Previous post was at 04:04 PM ----------

I don't know anything about that method, I'll need to read up on that.

For now, let's assume that's getting the vendor blobs that we need.

I'll need to get back to this later, but the short spoon-feed of it is:

repo sync

lunch

choose_your_device

. build/envsetup.sh

mka bacon
[Galaxy S II Android Development] tdguchi:
[MENTION=5294352]cyril279[/MENTION] I have sync with that local_manifest.... then executed lunch:

Lunch menu... pick a combo:
1. full-eng

Which would you like? [aosp_arm-eng]

If i run lunch i9100 it says "Invalid lunch combo: i9100"

whats wrong?
[Galaxy S II Android Development] cyril279:
Don't lunch i9100, just lunch.
[Galaxy S II Android Development] tdguchi:
then the only I have is :

pablo@IT:~/android/omni$ lunch

You're building on Linux

Lunch menu... pick a combo:
1. full-eng

Which would you like? [aosp_arm-eng]
[Galaxy S II Android Development] cyril279:
Okay, cancel that, and

lunch omni_i9100-userdebug
[Galaxy S II Android Development] tdguchi:
i get

lunch omni_i9100-userdebug
wrote the new roomservice manifest
wrote the new roomservice manifest
wrote the new roomservice manifest
wrote the new roomservice manifest
fatal: duplicate path device/samsung/galaxys2-common in /home/pablo/android/omni/.repo/manifest.xml

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1
TARGET_PRODUCT=omni_i9100
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.18.0-13-generic-x86_64-with-Ubuntu-15.04-vivid
HOST_BUILD_TYPE=release
BUILD_ID=LMY47I
OUT_DIR=/home/pablo/android/omni/out
============================================

where is the duplicate? i have not modified the manifest.xml...
[Galaxy S II Android Development] cyril279:
delete the omni.dependencies from the i9100 device folder

delete the roomservice.xml from the local manifest folder

lunch omni_i9100-userdebug
[Galaxy S II Android Development] tdguchi:
that, throws a warning

WARNING: device/samsung/i9100/omni.dependencies file not found

then, the plot of the compilation
[Galaxy S II Android Development] cyril279:
Okay, then we'll do this differently.

restore the dependencies file,

restore the roomservice.xml.

delete the following lines from the ocal_manifest

galaxys2-common

kernel_smdk4412

hardware_samsung

lunch omni_i9100-userdebug
[Galaxy S II Android Development] tdguchi:
doing that, no errors, no warnings...

whats next?
[Galaxy S II Android Development] cyril279:
mka bacon
[Galaxy S II Android Development] tdguchi:
[MENTION=5294352]cyril279[/MENTION]

running.... time to wait 2 hours or more.... xd i will tell you when something happens...

meantime.... why do you delete those lines?? and another thing... why custom builders (as asimovi, or... me jeje) dont use ota to update instead of flashing with ecovery???
[Galaxy S II Android Development] cyril279:
Since Asimovi uses the dependencies file, those lines are included in the roomservice.xml, so they should not be included in the localmanifest.xml .

My device repo does not include the dependencies file, so all device and custom libraries are in the same manifest.

Ota is several extra steps, and requires a type of hosting that typically isn't free.
[Galaxy S II Android Development] tdguchi:
process finished, i have the rom build!

thanks a lot!
[Galaxy S II Android Development] Divyansh747:
Thanks

Thanks buddy for this helpful thread:fingers-crossed:
[Galaxy S II Android Development] GreekDragon:
Some Important information, if anyone try to build Lollipop Rom with CyanogenMod source(device trees,kernel etc.)

You must add after the .git link the -b cm-12.1

for ex. git clone https://github.com/CyanogenMod/android_device_samsung_galaxys2-common.git -b cm-12.1

in that way, you will download only cm12.1 branch and not the default cm-10. If try cm10 source and build Lollipop rom you will suffer from stupid errors.

[MENTION=5022494]Vivek_Neel[/MENTION] if you dont mind,add this on OP.

Thanks for your time.

Peace.

Ντε καψω την Μπουφαν Ρε μέσω tapatalk
[Galaxy S II Android Development] Vivek_Neel:
Hi,

I have already mentioned about the basic syntax

repo init -u url -b branch

You should know what branch to put there. -b specifies the branch
[Galaxy S II Android Development] Qbart:
Use own Kernel Source

Where are these roomservice xml? I need a build but with a small modifikation in the android_kernel_samsung_smdk4412 kernel source.

Cant find good informations about this one.
[Galaxy S II Android Development] makorn645:
You can find roomservice.xml in .repo/local_manifests folder.
[Galaxy S II Android Development] Raagh:
wow men amazing this guide d be my holy grail like a week ago when i decided to start building and compiling. luckily i ve managed to build my own pacman rom last week, now im trying to do it with linaro/sabermod but its a huge step, very hard. thanks a lot for this amazing guide :)

EDIT: hey men just a question. the content that you donwload after repo sync from donkey something, are the proprietary blobs for 4.4?
[Galaxy S II Android Development] Vivek_Neel:
Thank u guys.
[Galaxy S II Android Development] Vivek_Neel:
Yes.

Its for omni.

That will generate romservice.xml .
[Galaxy S II Android Development] v_superuser:
Hey,

Most of the instructions are fit for Ubuntu running normally on any PC and not specific to Virtual Box. I'd recommend you to mention that as well! :)
[Galaxy S II Android Development] Vivek_Neel:
Thanks.

Let me reach home.

Am still in college.:)
[Galaxy S II Android Development] Vivek_Neel:
Thread Updated

**Added some more repo(Thanks to[MENTION=3816568]Myself5[/MENTION] for the suggestion)

**Added link to set up adb and fastboot with ease(Thanks to @_Grift_

**And some common edits(Thanks to [MENTION=3973489]engloa[/MENTION] , [MENTION=5044750]#Superuser[/MENTION] and [MENTION=4279814]Sun90[/MENTION]
[Galaxy S II Android Development] Rachid.Ala:
If I want to build this rom (https://github.com/lion0738) i should replace this

<remote fetch="https://github.com/DonkeyCoyote" name="donkey" />
<project name="DonkeyCoyote/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="android-4.4" />
<project name="android_device_samsung_i9100" path="device/samsung/i9100" remote="omnirom" revision="android-4.4" />
<project name="android_device_samsung_galaxys2-common" path="device/samsung/galaxys2-common" remote="omnirom" revision="android-4.4" />

with this ?

<remote fetch="https://github.com/lion0738" name="donkey" />
<project name="lion0738/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="android-4.4" />
<project name="android_device_samsung_i9100" path="device/samsung/i9100" remote="cm" revision="android-4.4" />
<project name="android_device_samsung_galaxys2-common" path="device/samsung/galaxys2-common" remote="cm" revision="android-4.4"

Please tell me :)
[Galaxy S II Android Development] Vivek_Neel:
Yes..go ahead

This is the syntax..rememeber.

< project name="name of the repo in the remote path="directory in the work tree" ............>
[Galaxy S II Android Development] Rachid.Ala:
Can I use JDK 7 instead of JDK 6 ?

Because i can't find JDK 6 :) (check this link http://www.oracle.com/technetwork/java/javase/downloads/jdk6downloads-1902814.html)

Thank you

EDIT : Found it here http://ghaffarian.net/downloads/Java/JDK/jdk-6u45-linux-x64.bin
[Galaxy S II Android Development] v_superuser:
It should be the latest! :)
[Galaxy S II Android Development] Vivek_Neel:
Yes.

Thats the Right one.
[Galaxy S II Android Development] Vivek_Neel:
U mean jdk 7 bhai?.

That wont work.