yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] chrismalla:
This is driving me nuts... When I run this command...

sudo repo init -u git://github.com/CyanogenMod/android.git -b ics

...I get this;

sudo: repo: command not found

Has it something to do with the variables I've set in the .bashrc file? It's on it's own line at the very bottom of the file. I'm pretty sure it's correct;

export PATH=${PATH}:/home/christoffer/android-sdk-linux/tools:/home/christoffer/android-sdk-linux/platform-tools
[Galaxy S II General] jesusrp:
google account sync

One question.

First time i flashed cyanogenmod 9 after configuring my google account, it automatically downloaded and installed all my applications from google play.

After that i flashed another rom and i went back to cyanogenmod, but this time it doesn´t downloaded my apps automatically i had to do it manually, i don´t know why. Do you know why?

Thanks
[Galaxy S II General] RagingHarry:
@chrismalla

Did you do the "chmod a+x ~/bin/repo" after adding the repo "curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo " and if you did, did you reboot afterwards?

Got this in my .bashrc

PATH="$HOME/android-sdk-linux/tools:$HOME/android-sdk-linux/platform-tools:~/bin:$PATH"

that export is only needed at first use so you don't have to reboot to get teh PATH working.
[Galaxy S II General] Entropy512:
gapps backup not happening should be fixed next nightly - http://review.cyanogenmod.com/#/c/19245/
[Galaxy S II General] NOWE:
1. Go to System Settings>Display> Automatic backlight>Screen dim level. Set it to 1.

It doesn't matter anyway, all values between 1 and 29 are mapped to the same brightness.

I Just added the steps because I have the slight hope that the devs will implement the steps 15, 55 and 80 some day.

But Entropy512 already said that is is difficult.

I don't know if any dev is willing to step into this atm.

2. I don't know. Figure it out and tell me.

I still use 50%. But I'll try 90% now. Faster reaction would be better.
[Galaxy S II General] chrismalla:
No I didn't, but now I did, and rebooted. Tried again, same message.

EDIT:: Is "$HOME" the same as "/home/[user]/" ?
[Galaxy S II General] RagingHarry:
Have a look at my PATH it ends with the bin part, that might do the trick.
[Galaxy S II General] chrismalla:
Did not do the trick. This is what i have set now;

PATH="$HOME/android-sdk-linux/tools:$HOME/android-sdk-linux/platform-tools:~/bin:$PATH"

Note that I have "/android-sdk-linux/" in "/home/christoffer/"

Is "$HOME/" = "/home/[user]/" = "~/"

Are all paths above the same?
[Galaxy S II General] cammel:
OK, please let me know how it goes for you! Thanks!

Enviado desde mi GT-I9100 usando Tapatalk 2
[Galaxy S II General] bobhwasatch:
The repo command must not be on your path. The instructions say to put it in ~/bin. If you put it there then you must add that directory to your path or type the full path to the command (e.g. ~/bin/repo).
[Galaxy S II General] JacquesR:
Nandroid restore (with my last backup made a darn month ago!) worked for me without trouble.
[Galaxy S II General] :
Well, sometime ago I installed ubuntu to compile but I'm almost giving up, hehhe. Could you help me on this? Which ubuntu I need yo use? 2. 100GB is okay to do everything? How's this package manager thing to download some libs? What should I do with the SDK Manager? Thanks.
[Galaxy S II General] chrismalla:
Man, look. Could you please tell me how to properly set paths? Is this right?;

export PATH=~/android-sdk-linux/tools:~/android-sdk-linux/platform-tools:~/bin:$PATH

I typed in the full path in terminal as you told me, it went kind of good. This is what I get now;

fatal: 'git' is not available
fatal: [Errno 2] No such file or directory

I installed Ubuntu 12.04 on my 250GB HDD. Don't know if 100 GB is enough, should be. Have you installed the JDK and Android SDK?

http://wiki.cyanogenmod.com/wiki/Howto:_Install_the_Android_SDK
[Galaxy S II General] :
Okay, going to re-partition my HD to 100GB. I just made a 12GB partition, I really thought it was enough. Guess I were totally wrong... Which steps you did there?

ps: x64 is fine?
[Galaxy S II General] jesusrp:
Bug in Nightly regarding camera storage

The camera configuration, doesn´t allow me to select to save the photos on the external SD.

This fiedl is readonly and it´s not possible to change it.
[Galaxy S II General] chrismalla:
x64 is fine. All steps.

EDIT: Opps missed a line;

fatal: 'git' is not available
fatal: [Errno 2] No such file or directory

Please make sure git is installed and in your path.
[Galaxy S II General] Fr33L4nc3r:
Just got the issue with today's nightly with the camera options messed up, never had it before.

I know some people started to have this since weeks, especially after reseting Camera App's data / cache.

Seems there is some kind of loop, it displays 6 options (in vertical mode) on a total of 9, but when you go up and down the first and last 3 you hide by swiping change from time to time, randomly, really weird :silly:

Cache cleaning doesn't help.

Does it affect only our device ? Seems there from quite some time now.

I guess dev are focused on more important stuff right now.
[Galaxy S II General] :
What about udev? What you did there?
[Galaxy S II General] chrismalla:
Skipped. Somebody in this thread said it's not necessary.
[Galaxy S II General] mpcjanssen:
Who told you to use sudo? http://wiki.cyanogenmod.com/wiki/Samsung_Galaxy_S_II:_Compile_CyanogenMod_(Linux) definitely doesn't
[Galaxy S II General] thracemerin:
Yeah, don't run it as root (ie sudo) that's a terrible idea, root is never required to get the source or build.

Just follow the instructions exactly, there isn't really any need to do anything different than what's there. Except change gingerbread to ics if you want CM9.
[Galaxy S II General] Floydfire:
I have no problem with camera setting on dorimanx so maybe is a bug of cm kernel? In dorimanx the front camera fc a lot of time :(

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II General] chrismalla:
I must use sudo because the command requires administrator privileges. Otherwise, Permission denied.

...Got it working. Needed to install Git. Did it, synced everything. Now I'm stuck at "cd ~/android/system/device/samsung/galaxys2/" just because I don't have any phone to connect to the computer. Thanks!
[Galaxy S II General] thracemerin:
If you need the proprietary binaries, koush has them on his github, you can get them from there instead of using ./extract_files.sh.
[Galaxy S II General] mpcjanssen:
I guess you made the repo script only root executable. Trust me using sudo is a bad idea. Purge the repo script and the android dir and try again while following the instructions.
[Galaxy S II General] chrismalla:
I really don't know anything about this at all. Linux/ubuntu really isn't my platform. Where can I find the binaries? And how to download them? And where to put them?

https://github.com/koush
[Galaxy S II General] thracemerin:
here's what to do:

from your source directory

cd .repo

ls

look for a file named local_manifest.xml

if it exists then:

gedit local_manifest.xml

and add this line:

<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" revision="ics" />

at the bottom, right before </manifest>

if local_manifest doesn't exist then:

gedit local_manifest.xml

add this:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" revision="ics" />
</manifest>

then go back to your android source directory

repo sync

that should put the proprietary binaries in the proper place for you.
[Galaxy S II General] jesusrp:
It´s not today´s nightly, it´s yesterday Nightly.

This screenshot shows camera configuration menu.

Storage field ("Almacenamiento" in my language) is read only and i can´t change it.

is there a way to change i?

can i open a bug anywhere?

Thanks
[Galaxy S II General] chrismalla:
@thracemerin

Source directory? I'll drop all this, I'm too much of a noob... Thanks anyway.
[Galaxy S II General] thracemerin:
wherever you installed your android source :) if you followed the guide it's probably ~/android/system
[Galaxy S II General] Entropy512:
It seems to only affect I9100/I777. Does not affect N7000. Haven't tried on Infuse, camera has bigger issues than this there.

Keep in mind - in my case, camera issues are almost dead last on my priorities list. If it were completely nonfunctional I really would not care myself. Only reason I'm working on it for Infuse is because it's the last obstacle to submitting that device for nightlies and installing it on my parents' phone.
[Galaxy S II General] chrismalla:
There's absolutely no files in ~/android/system. What do you mean with cd .repo from that dir? I opened terminal and entered cd .repo. Now what?
[Galaxy S II General] RagingHarry:
That depends on how he wants to build, with the standard commands, or the build.sh (clean, galaxys2, galaxys2 kernel) that codework provides on the teamhacksung site

check_root() {
if [ ! $( id -u ) -eq 0 ]; then
echo -e "${txtred}Please run this script as root."
echo -e "\r\n ${txtrst}"
exit
fi
}

https://raw.github.com/teamhacksung/buildscripts/ics/samsung/build.sh

That also contains the info about what you need to install on a 12.04 ubuntu buildrig.

"2")
# x86_64

apt-get install git-core gnupg flex bison gperf build-essential \
zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs \
x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev \
libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown \
libxml2-utils xsltproc

and

"5")
# Ubuntu 12.04
echo "Installing packages for Ubuntu 12.04"

apt-get update
apt-get install git-core gnupg flex bison gperf build-essential \
zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-dev:i386 \
g++-multilib mingw32 openjdk-6-jdk tofrodos python-markdown \
libxml2-utils xsltproc zlib1g-dev:i386

And later in the script for the building process another root check:

# Device specific settings
case "$COMMAND" in
prepare)
check_root
prepare_environment
exit
;;

If you look at the "apt-get install ....." parts, the build.sh is also there configured to run as root.

For myself I haven't got a problem with using root since I'm running everything on VMware and it isn't a 24/7 uptime system but only building CM9, and just activated the root user and changed some settings to make root auto login.

---------- Post added at 06:51 PM ---------- Previous post was at 06:50 PM ----------

Click view in the file brouwser and then show hidden files, then .repo will be visible.

or give this command in terminal "gedit ~/android/system/.repo/local_manifest.xml"

put there what is needed, save the file and close gedit.
[Galaxy S II General] thracemerin:
Yes, you do need to use sudo for apt-get, but not to actually run repo or do the build itself, while you can certainly run anything you want as root, it's never a good idea to run things that don't need root as root, especially if you don't know exactly what you're doing.
[Galaxy S II General] Fr33L4nc3r:
Understood, it doesn't prevent to use it, neither to define the settings, it is just a bit strange at first look.

I also don't have the issue some are reporting about the Storage Location not editable (Internal / SDCard / USB)

I removed Apollo from system/app and rebooted (716 nightly), but I didn't manage to make PowerAmp and my head unit display the track info.

Under PowerAmp, what setting did you tick ? (Particularly under Misc/Tweak - Send Metachanged Intent and Send Album-Artist with Metachanged Title)
[Galaxy S II General] *SanSiro*:
Download link for "cm-9-20120716-NIGHTLY-galaxys2.zip"

doesn't work.....
[Galaxy S II General] chrismalla:
It's already set to show hidden files. There is no folder and there is no files. I've probably done something wrong in the installation process. ****ty guides ;) I jumped between this and this. I didn't do this;

g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline5-dev gcc-4.3-multilib g++-4.3-multilib

It only gives me;

g++-multilib: command not found

I'll start over another time. I have to get away from this computer right away.
[Galaxy S II General] yahyoh:
use torrent :p
[Galaxy S II General] :
Read a few pages back

---------- Post added at 02:43 PM ---------- Previous post was at 02:40 PM ----------

repo sync -jl6 = downloading sources? Then it will take so freaking long? Just want to get away from computer, have some fun, since it may take so long. Ok, download 300MB and now is on 560, so I think so.
[Galaxy S II General] thunderger:
I noticed a "new" issue with BT audio playback using my car audio system. Everytime a traffic announcement is played, BT playback will paused. But after announcement ends playback doesn't continue. Also play/pause button at car audio system doesn't work. I have to press play/pause at my galaxy s2.

I'm using player pro with activated avrcp. Apollo was uninstalled due to avrcp title information issues with all players.
[Galaxy S II General] yahyoh:
yaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaay

but no sound damn yamaha closed source :crying:
[Galaxy S II General] :
hahah, just saw that

http://twitter.com/codeworkx/status/224923202047066112
[Galaxy S II General] mpcjanssen:
You really are out of your depth, aren't you. You missed the preceding phrase:

Install using the package manager of your choice

So on ubuntu that is:

sudo apt-get install g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline5-dev gcc-4.3-multilib g++-4.3-multilib

It also states this is for 64 bit systems only so make sure you have a 64 bit system (and a 64 bit install of ubuntu)
[Galaxy S II General] karendar:
@chrismalla

Once you're done, grab everything and make a walkthrough for any other compile noobs out there. ;) Save us from living through this again! hahah
[Galaxy S II General] vladm7:
as no wifi or net connection either (based on the icon).

the fact that it just boots means almost nothing in terms of getting usable port of JB on i9100 / i777. relax and enjoy CM9 :)
[Galaxy S II General] :
It's actually pretty easy, if you follow the tutorial on CM wiki.

---------- Post added at 03:09 PM ---------- Previous post was at 03:07 PM ----------

Or maybe no SIM.

Maybe like that?
[Galaxy S II General] chrismalla:
How would I know that I had to add "sudo apt-get install" before everything? I was in a hurry, gotta go. And sorry for all posts we bloated the thread up with. :angel: I'll try another day!
[Galaxy S II General] :
I installed one by one on Synaptics. That is doing something in a hurry ;)
[Galaxy S II General] chrismalla:
Thanks for declaring me as an idiot! :D
[Galaxy S II General] :
What have I done? :confused: I was talking to the guy asking for a tutorial.
[Galaxy S II General] chrismalla:
Haha, kiddin with you mate ;) I really have to go now! Good luck with compiling! :)
[Galaxy S II General] thunderger:
logcat

http://pastebin.com/Ak4JxY7U

e.g. 07-16 16:18 and 07-16 16:25 stopped audio but playback only restarts after pressing key at smartphone.
[Galaxy S II General] :
Hahaha. First, compile everything original. Second, cherrypick some stuff.
[Galaxy S II General] :
Half hour? Here on my humble Core2Duo E7500 2.93GHz Dual-core, with 4GB DDR3 Kingston, if i'm lucky, I may get something 1:30h
[Galaxy S II General] RagingHarry:
Are you running on a single hdd or a striped set, I'm running on the last.
[Galaxy S II General] niko0o:
What is best modem in nordic countries(Finland, Sweden etc.). LPQ drops my connection pretty often.
[Galaxy S II General] :
Single HDD. 500GB with 4 partitions

1. 98GB - Windows 7 x64

2. 284GB - Data [videos, music, documents, etc]

3. 104GB - ubuntu x64

4. 1GB - swap

Something like that, not very precisely.

btw, how much downloaded stuff after the "repo sync -j16"? Still on that for like 3 hours. 4.5GB downloaded until now.

---------- Post added at 04:45 PM ---------- Previous post was at 04:44 PM ----------

Try LPS. May be good, may be awful. Here is great. Try every modem you find.
[Galaxy S II General] Listy2021:
Have a read through the modem thread and try some:

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

Results vary person to person but I've found LPS and LP9 to be very good here in the UK (NELP3 was good too but I use LP9 for now)
[Galaxy S II General] CRXed:
Camera was working better before, but there were some features added to the camera (like ISO and No focus sound) that had made the camera less and less working. Also the manual touch focus fix has made it worse than it was before.

I will list all the things wrong with the camera:

*Camera Menu acts weird, options move around (video here)

*Preview in other apps does not work (reported to bugtracker here)

*All the Scenario options (SCN button) do not function anymore, where they worked perfectly fine before.

*When flash is enabled, pressing the Home button to go to homescreen, is triggering the flash to go off.

*SD card option is read-only for some users.

I hope you can write down this list and make it a little more priority ;)

Thanks
[Galaxy S II General] thracemerin:
Full repo is about 10GB.
[Galaxy S II General] :
Does it download AOSP sources as well? I saw it was 25GB and sometime after 90GB.
[Galaxy S II General] thracemerin:
The full CM sources include some of the AOSP sources (the ones not modified by CM) but it doesn't download the full CM + full AOSP, no.
[Galaxy S II General] robertogl:
if i use the odin method, i don't lose any data??
[Galaxy S II General] :
Right... .pack files are going to be decompressed after sometime? [At least I think it's going to be]

No. After flashing it's going to enter recovery, then you wipe data.
[Galaxy S II General] thracemerin:
Yes
[Galaxy S II General] donalgodon:
Hey guys,

I need some advice. I used ROM Manager to flash a recovery, now when I reboot into recovery via ROM Manager, I get the orange recovery via ROM Manager, but if I boot into Recovery manually, I get the blue one that was part of the CF-Root Kernel I had before. I'm using the stock kernel on 7-15 nightly.

Is this two-recovery issue going to give me any problems, or is it normal?

Can I manually delete backups from my old CWM backups via the file manager?

I've also noticed that the Apollo themes won't install when I choose install. It just goes back to the main Apollo screen.
[Galaxy S II General] thracemerin:
The SGS2 doesn't have a separate recovery partition and therefore the recovery is packed in with the kernel, since there is no partition to flash to, ROM manager can only do a temporary flash which only lasts until you reboot when the recovery that is included with the kernel is re-installed. It shouldn't be a problem either way, but using the kernel recovery is preferable.

CWM backups should be in /sdcard/clockworkmod or /emmc/clockworkmod, and yes you can delete them without a problem.
[Galaxy S II General] donalgodon:
Thanks. I appreciate your help and response.

Does the CM9 Stock Kernel include a CWM recovery version?

I was coming from CF-Root via a Stock rooted ROM, and it maintained that version on CM9 installation, so I just figured that it didn't. Maybe I'm wrong. I'm a CM9 n00b, so I apologize for my ignorance.
[Galaxy S II General] robertogl:
ok thanks, but there is not written in the "Using the noob-proof ODIN method" :good:
[Galaxy S II General] :
Yes, it says.
[Galaxy S II General] thracemerin:
I believe the one that comes with the CM9 stock Kernel is the same version that's packed with the current CF Root ICS kernels.
[Galaxy S II General] bencairns:
Maybe the settings are stored in system/lib/hw/lights.exynos4.so file and whenever you or someone else makes some changes its as easy as uploading that file for us to try.
[Galaxy S II General] jorgemoya:
Every time I make calls now, after a while, I will lose my signal completely until I reboot. Is this issue known? Should I change modems, a quick fix, or something?
[Galaxy S II General] :
error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/external/pcre/info/refs

First, I synced repo, than I created the local_manifest with this http://pastebin.com/Xig7BtHV . Then, synced repo again. Am I missing something?
[Galaxy S II General] anshmiester78900:
Guillaume ‏@xplodwild

Team Hacksung cares about Galaxy S II, don't worry, be happy ;)

https://twitter.com/xplodwild/status/224968128273203200
[Galaxy S II General] Aroldoa:
Yes, it's a knew issue. You can try another modems, for some guys it solve the issue.
[Galaxy S II General] robertogl:
yes, but no wipe :good:
[Galaxy S II General] rav4kar:
Good News~!
[Galaxy S II General] NuclearBastard:
hey peeps.

I'm still on 0107 nightly, and im not messing around with it as much as I used to.

I'm visiting this thread once in a couple of days, and for some reason, it seems that each release after the rc1 is more bugged than the previous one... is it just me?

It seems lots of bugs slowly started to build on top of older bugs, and unlike at least a month or two ago, releases seem less stable. wonder what gives? Is there a better future in the horizon for cm9, or the horizon itself is cm10?
[Galaxy S II General] thracemerin:
After the RC was frozen some of the more experimental features that had been held back were merged in, nightly builds are by definition experimental and sometimes features that are added are not finished or may introduce bugs that are unforseen especially on OEM devices like the SGS2 where they have to deal with proprietary drivers from Samsung. Experimental builds are often a 2 steps forward followed by 1 step back, or in many cases a number of steps backwards before a giant leap toward the final goal, have faith, things will ultimately get better for CM9.
[Galaxy S II General] anshmiester78900:
codeworkx ‏@codeworkx

no ETA, no builds until stable/finished! be patient and let us work. bugging us results in pissed devs, results in zero developemt.

https://twitter.com/codeworkx/status/224972092276355072

So guys stop bugging them .!!!
[Galaxy S II General] :
I'm trying to build here, but when I run ./build.sh galaxys2 I get a Java error, saying that my 1.6.0.24 JDK is not compatible, and is asking for the 1.6.0. Weird.
[Galaxy S II General] d3ck4rd:
Ignore
[Galaxy S II General] rakeshishere:
http://xdaforums.com/showthread.php?p=28704260#post28704260

http://xdaforums.com/showthread.php?p=28699390#post28699390

http://xdaforums.com/showpost.php?p=28601107&postcount=39559

http://xdaforums.com/showthread.php?p=28634938#post28634938

http://xdaforums.com/showthread.php?p=28602272#post28602272

Yeah... Go on :mad:
[Galaxy S II General] Entropy512:
My guess for RIL crash issues is change modems.

Zero complaints of RIL crashes from I777 users, same for N7000 users. It's I9100 specific, which says to me "modem".
[Galaxy S II General] yahyoh:
i've never had single problem with RIL :fingers-crossed:
[Galaxy S II General] nicholas1520:
I'm still having SMS issues where I cannot update the message centre number. Anyone else?
[Galaxy S II General] rakeshishere:
Is the solution - "Change modem" or do you mean to say "change of modem" causes it.

I have tried atleast 4 different modems and have read several others try the same experiencing the same problem. I did upload a logcat over here but not sure how much that might help.
[Galaxy S II General] :
On LPS is everything very fine. But there was some days that when I rebooted the phone, I was getting unknown baseband, no imei, no signal. Waiting a long time solved, wiping data didn't solve. Rebooting was bringing this problem again.

btw, could anyone answer this? I compiled CM9 right now, took almost 2h to do it, how can I assure it was compiled successfully? I'm a bit afraid it can brick my phone. There's anywhere I can check some log to see if compile process was fine? I saw a lot of unknown and ignore lines.
[Galaxy S II General] Aroldoa:
if you received zero errors in compilation, probably you have a good thing in your hands
[Galaxy S II General] :
And where can I see if there was any error? Maybe it failed in some point but it continued