yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] Bashar Jarad:
i tried to add bin folder manually and i have this

does this mean that it is done?
[Galaxy S II Android Development] Vivek_Neel:
Yes.

Go to next step.
[Galaxy S II Android Development] Bashar Jarad:
thank you now i am at step 13 and i get : this service isn't available in your country :confused:
[Galaxy S II Android Development] Vivek_Neel:
Pls.

Follow the guide properly.

That's a syntax u typed ...not the actual command.

See the e.g below in the first post.

BTW u did not create directory .

CD into the created directory and run the repo init
[Galaxy S II Android Development] Bashar Jarad:
i am sorry so syntax was a public example

i created a directory and named it dirname

what i have to type for acip rom because i want to try with it and i dont want to download any other source ' i want exactly acip (because i have 112kb internet speed :D:cool:) and i saw this rom is great
[Galaxy S II Android Development] Bashar Jarad:
can anyone help me with this problem ? :confused:

thanks in advance
[Galaxy S II Android Development] Vivek_Neel:
See bin/repo

Is it in HTML?

If yes run the curl command again ..then chmod and all those things.

Regards

Vivek_Neel
[Galaxy S II Android Development] Bashar Jarad:
Inside the repo file i see this
[Galaxy S II Android Development] v_superuser:
Whenever you break the build via Ctrl+C, these lines gonna come. It takes time to compile depending on your PC Specs, so you need to wait accordingly. :)
[Galaxy S II Android Development] rr46000:
so sorry that i didnt mention my specs

Core i5 3570 @3.4ghz

Nvidia GTX 650 GPU

1 TB hard disk

will wait till the build finishes [MENTION=5044750]v_superuser[/MENTION] upersuser it is more than an hour now
[Galaxy S II Android Development] Vivek_Neel:
First build will take time.

be patient.:)
[Galaxy S II Android Development] Myself5:
[MENTION=4813939]rr46000[/MENTION] Ram and what HDD would be intresting ;)

First build on my rig took around 2hours

My Rig:

i5 760 @2,8GHz

16GB 1860MHz Ram

EVGA NVidia GTX760 (even if its unimportant)

SC was located on a 500GB 5400RPM HDD

Meanwhile with 50GB of ccache and SC both on a Samsung Evo 840 Basic it takes 27minuites to build.
[Galaxy S II Android Development] rr46000:
Figured out the issue

New Error while compiling

target thumb C: local_time.default <= hardware/libhardware/modules/local_time/local_time_hw.c
hardware/qcom/keymaster/keymaster_qcom.cpp:32:27: fatal error: linux/msm_ion.h: No such file or directory
compilation terminated.
build/core/binary.mk:432: recipe for target '/home/rohan/android/omni/out/target/product/falcon/obj/SHARED_LIBRARIES/keystore.msm8226_intermediates/keymaster_qcom.o' failed
make: *** [/home/rohan/android/omni/out/target/product/falcon/obj/SHARED_LIBRARIES/keystore.msm8226_intermediates/keymaster_qcom.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes. Stop.

real11m3.451s
user27m15.913s
sys7m55.322s
[Galaxy S II Android Development] rr46000:
when i delete qcom_common folder

Copying: /home/rohan/android/omni/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes-jarjar.jar
Copying: /home/rohan/android/omni/out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes-jarjar.jar
Copying: /home/rohan/android/omni/out/target/common/obj/JAVA_LIBRARIES/android-support-v4-eclair_intermediates/classes.jar
make: *** No rule to make target '/home/rohan/android/omni/out/target/product/falcon/obj/SHARED_LIBRARIES/libqdMetaData_intermediates/export_includes', needed by '/home/rohan/android/omni/out/target/product/falcon/obj/SHARED_LIBRARIES/libgui_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Import includes file: /home/rohan/android/omni/out/target/product/falcon/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/import_includes

real	0m46.269s
user	0m23.978s
sys	0m28.643s
rohan@rohan:~/android/omni$

evertime i get different errors
[Galaxy S II Android Development] Myself5:
R U serious ?

You cant just delete a folder...

What device you build for and, is it officially supported by OmniRom ?
[Galaxy S II Android Development] rr46000:
so soryy

i dint deleted it ,just moved it a bit

anyway,i repo synced again and now i'm stuck on

the device is not officially supported,but the repos prepared are working,another person successfully builded but he is to busy to release it

target thumb C: memtrack.msm8226 <= hardware/qcom/display-caf-bfam/libmemtrack/memtrack_msm.c
hardware/qcom/keymaster/keymaster_qcom.cpp:32:27: fatal error: linux/msm_ion.h: No such file or directory
compilation terminated.
build/core/binary.mk:432: recipe for target '/home/rohan/android/omni/out/target/product/falcon/obj/SHARED_LIBRARIES/keystore.msm8226_intermediates/keymaster_qcom.o' failed
make: *** [/home/rohan/android/omni/out/target/product/falcon/obj/SHARED_LIBRARIES/keystore.msm8226_intermediates/keymaster_qcom.o] Error 1
make: *** Waiting for unfinished jobs....

real	11m34.265s
user	27m13.527s
sys	8m1.157s
[Galaxy S II Android Development] Myself5:
KK, I'll try on my own now and see what I get, just need to download OmniRom Sourcecode (Should not take that long with 40MB/s on my server). See my PM for the Hangouts data.

Would be good if you could link me your device sources then.

EDIT: DL done, waiting for your answer. :P
[Galaxy S II Android Development] cyril279:
I am building for i777, and am using the local_manifest.xml below, which builds succesfully (although does not boot <bad kernel), but I'm not sure whether there should be two device paths in the local_manifest.xml, like there is for Omni.

example: There is a device_samsung_i9100 project, but Vivek_Neel only specifies the galaxys2_common.

1) how do you determine which projects you will need?

2) why does this one need the "fetch" line, vs omni or cm?

Working local_manifest.xml, or are the extra lines the source of my kernel/boot issue?

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote fetch="https://github.com/DonkeyCoyote" name="Slim" />
<project path="device/samsung/i777" name="device_samsung_i777" remote="github" revision="kk4.4"/>
<project path="device/samsung/galaxys2-common" name="device_samsung_galaxys2-common" remote="github" revision="kk4.4"/>
<project path="hardware/samsung" name="hardware_samsung" remote="github" revision="kk4.4"/>
<project path="kernel/samsung/smdk4412" name="kernel_samsung_smdk4412" remote="github" revision="kk4.4"/>
<project path="vendor/samsung" name="DonkeyCoyote/proprietary_vendor_samsung" remote="github" revision="android-4.4" />
</manifest>
[Galaxy S II Android Development] roshan2989:
Can i repo for particular device such as s2 in omni repo...?
[Galaxy S II Android Development] cyril279:
Update: (for those interested)

the projects needed in the local_manifest.xml are specified at the device level[/URL] of github, as "slim.dependencies". The local_manifest.xml for the i9100, in addition to the device itself, you would also need four additional entries , resulting in:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/samsung/i9100" name="device_samsung_i9100" remote="github" revision="kk4.4"/>
<project path="device/samsung/galaxys2-common" name="device_samsung_galaxys2-common" remote="github" revision="kk4.4"/>
<project path="hardware/samsung" name="hardware_samsung" remote="github" revision="kk4.4"/>
<project path="kernel/samsung/smdk4412" name="kernel_samsung_smdk4412" remote="github" revision="kk4.4-old"/>
<project path="vendor/samsung" name="DonkeyCoyote/proprietary_vendor_samsung" remote="github" revision="android-4.4" />
</manifest>

notes:

-A recent decision was made to use an older smdk4412 kernel for the i9100. This change never made it to the i777, and hopefully explains why my i777 build isn't booting.

-the "fetch" line that was pointing to "slim" at https://github.com/DonkeyCoyote, does not exist in that repository, and I'm therefore not sure it's doing anything at all.

happy flashing

-Cyril
[Galaxy S II Android Development] Vivek_Neel:
Its confusing.

What do you mean mate?:)

You can use omni repos for any device just add device. /vendor/ kernel repos for the device you are going to compile
[Galaxy S II Android Development] bombaybadboy:
hey guys great thread by the way [MENTION=5022494]Vivek_Neel[/MENTION], im stuck i followed the guide and stuck at this point and tried to edit main.py but thats not working so well. im a noob in this case as having a samsung device has put me off looking into aosp roms. anyone have some advice to get past this. i read all pages but seems its just me stuck at this

wayne@ubuntu:~$ cd dirname
wayne@ubuntu:~/dirname$ repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
Traceback (most recent call last):
File "/home/wayne/.repo/repo/main.py", line 26, in <module>
from pyversion import is_python3
ImportError: No module named pyversion
wayne@ubuntu:~/dirname$
[Galaxy S II Android Development] Biftor:
Go to Wayne press ctr+h for showing hidden fodder find .repo and delete do the repo init again if not working tell me

And hope this is will help you so much

http://wiki.cyanogenmod.org/w/Build_for_i9100

Goodluck

Armin.
[Galaxy S II Android Development] bombaybadboy:
Thankyou m8 but im trying to build for i9500 now and read the CyanogenMod thread for that to without any answers. Im installing notepad++ on ubuntu with the help of wine because im just use to notepad now. Hopefully that will help me find the line error

But will try your suggestion thankyou m8 just think my vm is over used today ☺

Sent from my GT-I9500
[Galaxy S II Android Development] Biftor:
Mate

You shouldn't have any problems

This is for i9500

http://wiki.cyanogenmod.org/w/Build_for_i9500

Your work should same as this :

apt-get install (android builds packages you need)

mkdir -p ~/bin

mkdir -p ~/your dir

cd ~/your dir/

repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0

repo sync

After done

This is for slim but I think should work on cm didn't tried.

. build/envsetup.sh

lunch (select your device to build)

make -j(your CPU core number ) bacon

(Maybe I forget some things)

Good night.

Goodluck

Armin.
[Galaxy S II Android Development] Vivek_Neel:
It fails to import the version mate

Did u do what I said.

To edit main.py

Remove import version and replace VERSION with VERSION="pyversion"

Line 26

Got the same error after editing?

May be use older version of python 2.7.6
[Galaxy S II Android Development] captaindeep:
Can we use this guide to galaxy s2 I9100G

Thanks
[Galaxy S II Android Development] Vivek_Neel:
Yeah.

Make sure u use device and kernel repo for g.
[Galaxy S II Android Development] captaindeep:
Ok bro thanks i'll try :p
[Galaxy S II Android Development] captaindeep:
Vivek_neel bro one off topic question i there any way to use galaxy s2 kernel's to galaxy s2G

Thanks
[Galaxy S II Android Development] Myself5:
No way dude. i9100 and i9100G have completely different hardware.
[Galaxy S II Android Development] captaindeep:
Ok :( only one kernel for us .. Bro some devices not lag even 1 mb is free ... But i have more thn 100 mb free but lags so much is that depend on kernel??
[Galaxy S II Android Development] Myself5:
The i9100 as also the i9100G get old. You can't expect a 2011 device beeing as good as a 2014 one ;)
[Galaxy S II Android Development] captaindeep:
Right
[Galaxy S II Android Development] Hopper8:
Hi guys :)

Having a weird error when I try to repo sync... it fetches all projects successfully, but then has an error when building work tree at 196/407. See here:

Fetching project platform/external/chromium_org/third_party/freetype

Fetching projects: 99% (403/407) Fetching project SlimRoms/hardware_broadcom_wlan

Fetching projects: 100% (407/407), done.

Syncing work tree: 48% (196/407) Traceback (most recent call last):

File "/home/android/.repo/repo/main.py", line 500, in <module>

_Main(sys.argv[1:])

File "/home/android/.repo/repo/main.py", line 476, in _Main

result = repo._Run(argv) or 0

File "/home/android/.repo/repo/main.py", line 155, in _Run

result = cmd.Execute(copts, cargs)

File "/home/android/.repo/repo/subcmds/sync.py", line 675, in Execute

project.Sync_LocalHalf(syncbuf)

File "/home/android/.repo/repo/project.py", line 1204, in Sync_LocalHalf

lost = self._revlist(not_rev(revid), HEAD)

File "/home/android/.repo/repo/project.py", line 2241, in _revlist

return self.work_git.rev_list(*a, **kw)

File "/home/android/.repo/repo/project.py", line 2435, in rev_list

p.stderr))

error.GitError: platform/external/safe-iop rev-list (u'^215c0605c8ca7ef72a73beb623eaf031eaa4d21a', 'HEAD', '--'): fatal: Not a git repository (or any of the parent directories): .git

Google hasn't turned up anything useful. I'm using Builduntu based on Xubuntu 14.04, in a VirtualBox. Any suggestions? Thanks :)

EDIT: So I completely erased all data on the virtual machine and started again... when initializing the repo I noticed this:

From https://github.com/SlimSaber/platform_manifest

* [new branch] jb -> origin/jb

* [new branch] jb4.2 -> origin/jb4.2

* [new branch] jb4.3 -> origin/jb4.3

* [new branch] jb4.3-reborn -> origin/jb4.3-reborn

* [new branch] kk4.4 -> origin/kk4.4

* [new branch] kk4.4-recents -> origin/kk4.4-recents

* [new tag] jb4.2 -> jb4.2

Traceback (most recent call last):

File "/home/android/SlimSaber/.repo/repo/main.py", line 500, in <module>

_Main(sys.argv[1:])

File "/home/android/SlimSaber/.repo/repo/main.py", line 476, in _Main

result = repo._Run(argv) or 0

File "/home/android/SlimSaber/.repo/repo/main.py", line 155, in _Run

result = cmd.Execute(copts, cargs)

File "/home/android/SlimSaber/.repo/repo/subcmds/init.py", line 395, in Execute

self._ConfigureUser()

File "/home/android/SlimSaber/.repo/repo/subcmds/init.py", line 289, in _ConfigureUser

name = self._Prompt('Your Name', mp.UserName)

File "/home/android/SlimSaber/.repo/repo/project.py", line 650, in UserName

self._LoadUserIdentity()

File "/home/android/SlimSaber/.repo/repo/project.py", line 663, in _LoadUserIdentity

u = self.bare_git.var('GIT_COMMITTER_IDENT')

File "/home/android/SlimSaber/.repo/repo/project.py", line 2483, in runner

p.stderr))

error.GitError: manifests var:

....So what does this indicate? An error in the source itself? or an error in the repo tool?
[Galaxy S II Android Development] Vivek_Neel:
Which source are you fetching?

Looks like someone has committed.

Or did u do any changes?

.git is missing.

Try to run the repo sync again and see
[Galaxy S II Android Development] Hopper8:
I'm trying to sync SlimSaber: https://github.com/SlimSaber

Did you see my edit? If not I'll post it here..: I actually deleted the virtual machine and started again. The error comes when even initializing the repo.. :confused: Since seeing this error when initializing the repo, I haven't re-synced it.

From https://github.com/SlimSaber/platform_manifest

* [new branch] jb -> origin/jb

* [new branch] jb4.2 -> origin/jb4.2

* [new branch] jb4.3 -> origin/jb4.3

* [new branch] jb4.3-reborn -> origin/jb4.3-reborn

* [new branch] kk4.4 -> origin/kk4.4

* [new branch] kk4.4-recents -> origin/kk4.4-recents

* [new tag] jb4.2 -> jb4.2

Traceback (most recent call last):

File "/home/android/SlimSaber/.repo/repo/main.py", line 500, in <module>

_Main(sys.argv[1:])

File "/home/android/SlimSaber/.repo/repo/main.py", line 476, in _Main

result = repo._Run(argv) or 0

File "/home/android/SlimSaber/.repo/repo/main.py", line 155, in _Run

result = cmd.Execute(copts, cargs)

File "/home/android/SlimSaber/.repo/repo/subcmds/init.py", line 395, in Execute

self._ConfigureUser()

File "/home/android/SlimSaber/.repo/repo/subcmds/init.py", line 289, in _ConfigureUser

name = self._Prompt('Your Name', mp.UserName)

File "/home/android/SlimSaber/.repo/repo/project.py", line 650, in UserName

self._LoadUserIdentity()

File "/home/android/SlimSaber/.repo/repo/project.py", line 663, in _LoadUserIdentity

u = self.bare_git.var('GIT_COMMITTER_IDENT')

File "/home/android/SlimSaber/.repo/repo/project.py", line 2483, in runner

p.stderr))

error.GitError: manifests var:

....So what does this indicate? An error in the source itself? or an error in the repo tool?
[Galaxy S II Android Development] Vivek_Neel:
Oh Ok.

I see You have the same thing while initilalizing.

Type

repo selfupdate

Which version of python are you using mate?

Then repo sync

I will have a look at source.. Right now I can't.. In hospital now. Taking care of admitted person.

Sorry.
[Galaxy S II Android Development] Hopper8:
Hope everything is ok at the hospital mate, please don't feel obliged to reply.

It says that repo is up to date, "repo version v1.12.16 is current"

Python version is version 2.7.6, was included with Ubuntu 14.04. Right now I'm installing package python-dev... don't know if that will help. Just finished installing that and now will run repo sync again :fingers-crossed:
[Galaxy S II Android Development] bombaybadboy:
hey guys im getting this error now when extracting proprietary blobs

Edit my mistake I didn't realise cm i9500 moved to 4.4.4 :rolleyes:
[Galaxy S II Android Development] Biftor:
Hi all

i want notice somethings

if anybody is trying to build cm11 after repo sync done and tried to download device source files with

. build/envsetup.sh
breakfast i9100

or

. build/envsetup.sh
lunch
device number

after source downloaded

got this error or some things like

including vendor/cm/vendorsetup.sh build/core/product_config.mk:238: _nic.PRODUCTS.device/samsung/i9100/cm.mk: "vendor/samsung/galaxys2-common/common-vendor.mk" does not exist. Stop. Device i9100 not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod). Found repository: android_device_samsung_i9100 Default revision: cm-11.0 Checking branch info CyanogenMod/android_device_samsung_i9100 already exists Syncing repository to retrieve project. Fetching project CyanogenMod/android_device_samsung_i9100 Fetching projects: 100% (1/1), done.
Repository synced! Looking for dependencies Done build/core/product_config.mk:238: _nic.PRODUCTS.device/samsung/i9100/cm.mk: "vendor/samsung/galaxys2-common/common-vendor.mk" does not exist. Stop.
Don't have a product spec for: 'cm_i9100' Do you have the right repo manifest?

you need to put manually Samsung galaxy S2 common to

your source root folder/vendor/Samsung

just extract this zip file uploaded to vendor folder

https://www.dropbox.com/s/uo7csmeh591cpzi/Biftor_samsung_vendor.zip

without this you cant build CM Rom dont forget!

[MENTION=5022494]Vivek_Neel[/MENTION] my friend add it to OP!
[Galaxy S 4 Q&A, Help & Troubleshooting] dreseansr:
I want to use pacman rom on my galaxy s4 but I want wifi calling that's why I'm not using it, is there a way to do that? And also can someone send me the pacman rom for tmobile galaxy s4.. Last time I tried, the file didn't work and i had to reinstall stock touch wiz from custom recovery and start all over again, so please send me a good one
[JASJAR, XDA Exec, MDA Pro General] davy932:
Hi,

Is it possible to connect both a Handsfree kit and a GPS reciever to a XDA Exec at the same time? Got a Car kit that i want to use for car conversations and also want to use Exec for Sat nav?

Would love some help onthis issue
[JASJAR, XDA Exec, MDA Pro General] lbendlin:
yes, works fine. with the audio redirection hack you can also forward the navigation instructions to the headset etc.
[JASJAR, XDA Exec, MDA Pro General] Shadamehr:
What hack is that mate?
[JASJAR, XDA Exec, MDA Pro General] lbendlin:
redirecting the standard audio to the BT headset. Don't have the setting handy but it's somewhere here on the forum.
[JASJAR, XDA Exec, MDA Pro General] underwurlde:
Great! Needle in a haystack time.
[G2 Q&A, Help & Troubleshooting] vPro97:
Okay so I am aware that it is a method to get rid of lag, but it is also a safety feature to prevent the phone from overheating. Does anybody have experience with disabling it?
[G2 Q&A, Help & Troubleshooting] Billy Madison:
First try to find out what is PVS binning of your G2. I have 3 and when I tried to disable thermal throttling my G2 couldn't boot, rebooted before sim pin input and stuck in bootloop. I could only enable throttling back when freezed thing in freeger. So, YMMV of course, just be warned
[G2 Q&A, Help & Troubleshooting] vPro97:
Mine is PVS 2 - any ideas?
[G2 Q&A, Help & Troubleshooting] Sean473:
Mine is Bin 4.. No issues at all disabling thermal throttling.. Supposedly Thu higher your bin number is, the better your chip is..
[G2 Q&A, Help & Troubleshooting] vPro97:
Yes since it needs less voltage to achieve same clock speed as opposed to lower bins.
[G2 Q&A, Help & Troubleshooting] vPro97:
So can I disable it safely ?
[Verizon Galaxy Note 3 Android Development] Phil3759:
Main thread + features + install instructions + dev support

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

PhilZ Touch is a CWM Advanced Edition that adds all the features you could ever miss in CWM

It is a well proven recovery for many phones

It also adds a full touch interface a completely configurable GUI

Please give your feedback, what works, and any bug you could encounter

Read the features, and check if you are missing something

Also, do not forget to read about the powerful aroma file manager integration and double tap shortcut
[Verizon Galaxy Note 3 Android Development] droidstyle:
Thanks!!
[Verizon Galaxy Note 3 Android Development] jr_718:
Huh...only developers edition. .:( damn
[Verizon Galaxy Note 3 Android Development] aerichards1977:
Thanks! We have 1 official recovery! =)
[Verizon Galaxy Note 3 Android Development] frr1:
Is this for non dev note 3?
[Verizon Galaxy Note 3 Android Development] droidstyle:
Developer edition only!! :)
[Verizon Galaxy Note 3 Android Development] BeansTown106:
thanks philz nice having an official recovery for our devices for soo long we have just been using the tmo version of twrp :/
[Verizon Galaxy Note 3 Android Development] Tidefan13:
Does it have the option to wipe battery stats?

Sent from DE Note 3
[Verizon Galaxy Note 3 Android Development] LillieBennett:
If I flash the zip will I have the lokized issue, has anyone flashed the zip? I had trouble with md5sum not matching the browser download until I used goo manager. Has anyone used OTG backup/restore?

I've been very happy with TWRP but this recovery is looking interesting :)

SM-N900V DE
[Verizon Galaxy Note 3 Android Development] Phil3759:
If you need loki, let me know. But not sure loki already added support for your phone
[Verizon Galaxy Note 3 Android Development] LillieBennett:
I have a developer edition and do not want loki, just wondering if I have to go through the hassle of removing it.
[Verizon Galaxy Note 3 Android Development] Phil3759:
Read the FAQ please

And anyway, I did not enable the loki flag in installer

Also, I do not think loki even supports this device

If you once need it, let me know and I will enable it. You won't be hurt as the image is never released lokied. It is done on flashing it
[Verizon Galaxy Note 3 Android Development] droidstyle:
This recovery works solid!! Best recovery I have ever used to date!!!!
[Verizon Galaxy Note 3 Android Development] LillieBennett:
Cool, have you used it with other devices? I noticed it's also available for my backup phone, lg spectrum and that's a plus.

SM-N900V DE
[Verizon Galaxy Note 3 Android Development] droidstyle:
No only this device...I sold my N2 before I had a chance to try it but it seems to be very popular. I love the customability to change the layout and colors of all the menus...that is just scratching the surface.
[Verizon Galaxy Note 3 Android Development] LillieBennett:
I just read the op (1-3) again and have a few questions but am still confused and/or don't know enough to ask meaningful questions. I have my zips and should be able to switch back and forth so will start there. Looks like others in our group are also interested.

SM-N900V DE
[Verizon Galaxy Note 3 Android Development] cam30era:
Delete