yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] vaporise8t:
Yes I did, it's been a week now. I didn't find any lags..

Guys which governor / io scheduler do you think is best for a balanced performance?
[Galaxy S II General] yogisays09:
XWLC2 is the best

XWLC2 stock updated firmware seems to be very good. No battery issue, no camera failure, no heating isues. multi tasking also improved. seems a good progess by samsung. although no root access but the feel is good anyways.
[Galaxy S II General] dante10:
yes...doomlord method wont work...if u want to use that method u must flash to dzkj2 first...flashing rooted kernel will increase binary counter..if u dont want to mess with the warranty make sure u have usb jig or follow this step :

1: flash to dzkj2

2:root with doomlord @ super one click

3:install mobile odin("paid app")

4: follow the step 5.2 in the creezalird guide to flash to dzkl3 back using mobile odin (use everroot)

5:you will have a fully root dzkl3 rom without any increasing in binary counter

---------- Post added at 11:02 PM ---------- Previous post was at 10:57 PM ----------

you can always root it with any rooted kernel eg. superatmos kernel, lucifr kernel(version 1.5 uv is the best kernel so far imo)
[Galaxy S II General] dilepton:
Music player I9100G crash: possible fix found

All,

found this while searching for fixing the music player crash issues on my

Samsung i9100G:

As I'm not allowed post outside links as a new member of XDA:

1. Go to Google Product Forum

2. Google Mobile help forum and search for

3. Music player crashes randomly with earphones

Firmware: SuperRom 3.0

Kernel: superatmos 3.0

After applying the changed folder to /system/etc and rebooting the player is not

crashing. Before it was reproducible whenever the phone was going to sleep mode.

I just wanted to share this here. Hope it may help ...

Kind regards - dilepton
[Galaxy S II General] silent_freak:
Is the music player freezing problem solved too bro?? :-)
[Galaxy S II General] dilepton:
You may look at the previous post. That solved the freeze pb for me.
[Galaxy S II General] thednase:
LC2 music problem solved: partially

To all those asking about music player issue in LC2.

Mostly yes, its solved, as I have posted earlier too.

But now I think they have not fixed it, just delayed it. Like if your phone remains up (uptime in status: 100+) for more than 100 hours or so, music issue may arise.. They delayed whatever was causing the issue. Normally the player does not freeze, not every time.

Other issues I have observed:

1. This has happened twice till date: when trying to backup from Kies, the phone freezes, backup fails and you have to restart the phone. Both the time this happened, I had just updated Kies. Next time the backup completes normally.

2. TWLauncher crashes. When I boot the phone the home screens and the applications drawer were both blank. I could still launch the applications using the search (long press menu) though.. Once, it got working properly after a re-restart. Second time I just moved to GoLauncher.
[Galaxy S II General] amiridzham:
Hi

G user since oct11, disappoint with camera hang issue from the day 1, took me about 4month before root my device because a lack of knowledge of rooting,worried about brick my phone, thanks for the i9100g group at FB, i success to root my phone at last

my first root with superatmos + superrom,and latest one lucifr1.5 + superRom3.0

now i have fast,smooth,good battery life and no more camera hang

kind of excited when knows that cyanogenmod(thanks codeworkx) is on the way to s2g
[Galaxy S II General] Rjev07:
So true..... fully agree withyou bro.
[Galaxy S II General] Geekeek:
Hi mate,

G user here in India. Have the baseband version GDDKL1 with XWLC2 (after latest update) build.

Which version of Superatmos should I go for? And do you have a link for the rooting steps? Finding a proper guide for G is a pain. Thanks a lot!
[Galaxy S II General] vaporise8t:
xxla1 should work fine..also here's a very helpful guide by creezalird i9100G full guide

hit thanks if i helped :)
[Galaxy S II General] dante10:
codeworkx just started CM for our i9100G..really good news...finally the much left out G version sgs2 get some love from a very talented dev...:)
[HTC Desire S] wiggleme:
I just updated OTA update to android 2.3.5 htc sense 3

software ver 2.15.707.2

however when i rebooted the actual system is the same as sense 2.5, there is no sense 3.0. software info says 3 & there is no more OTA updates available

I unlocked the bootloader from htcdev & installed clock work mod to root the phone

I am now trying to install RUU_Saga_S_HKCSL_CHT_2.15.832.5_Radio_20.4801.30.0822U_3822.10.08.04_M_release_229399_signed.exe

however I keep getting an error 131 & error 155

any ideas why i can not install any rom , the phone is rooted and boot loader unlocked.
[HTC Desire S] gefilus:
Relock bootloader and no more errors
[HTC Desire S] wiggleme:
sorry should have mentioned, boot loader was relocked as per the htc guide

still getting the errors when running the ruu rom

seeing as though the phone software version is different to the rom im updating, and the phone has its boot loader unlocked & rooted. I should be able to install it right?
[HTC Desire S] gefilus:
You have tryed misc_version? ? And then update with roo?
[HTC Desire S] wiggleme:
Thanks, didn't think of that

will give it a go
[Android Q&A, Help & Troubleshooting] dicksonjoe:
Does anyone know how to enable this feature? When the email has been sent, it displays sent by htc hd2. Possible to enable that on android??????????
[Android Software Development] jukyO:
Thanks! I would hit the Thanks button, but I am on my mobile atm.

Sent from MIUI powered phone
[Android Software Development] smitna:
Someone tried it? Problems?

Please, I need your feedback...
[Android Software Development] ukanth:
Sounds interesting, I'll try once I get back home and share feedback here :)
[Android Software Development] dateno1:
now i try to all packages for test

i will test on cortex a8 (motolora xt720)

TARGET_MARCH="armv7-a" (not work on armv7 :()

TARGET_MTUNE="cortex-a8"

TARGET_MFPU="neon"

TARGET_MFLOAT="softfp"

it make dynamic binarys but i don't want dymanic type (because it difficult to divide one thing and maybe not work on android's libs)

how can i make static type?

ps : oh...it has so many comile error (even can't read or count all)
[Android Software Development] smitna:
I hope I understand your question. Why not dynamic?

Yes, you have to set the parameters for your mobile phone. For TARGET_MARCH try "armv7", for TARGET_MFLOAT "softfp" and for TARGET_MFPU "vfp" but check this last setting carefully for this phone.

It's very hard to build a full static binary (and sometimes nearly impossible) and it's also hard to build against bionic (with NDK). I had no good experience with it :mad:. A lot of compiler runs wasn't sucessful. Edit: I also had for example massive problems with openssl. I couldn't find a way to build it with NDK or static and then build other programs like cURL with openssl support.

Static binaries are also too big and not necessary. For this we have a sysroot environment to be independent from bionic and without the restrictions. The compiled libs and binaries are linked to the CodeSourcery glibc and have set the custom "rpath" for the dynamic loader. That's no problem I think.
[Android Software Development] dateno1:
that's simple

if someone want to make some binary for all version of android (even same cpu) it will not work well (defend on basic lib(ex : libc) is ok but complex things will not work)

i know make static type binary is very difficult but it valable :)
[Android Software Development] smitna:
You are right, if you want to build a "portable" binary, you have to set very safe settings, like TARGET_MARCH="armv5", the full list is in the "README". But it's not my main target to offer a solution that is easy portable to other phones, instead you can build the software with optimizations for your phone to "get the best" for it :)
[Android Software Development] dateno1:
just i want to add some more function on the phone

thanks for patch files :D
[Android Software Development] dancer_69:
I want to try this, to install some apps(most interested fro mc), but I don' t wanna change my sd card.

Can I use phone' s /data partition as mysysroot directory? I have 1.5GB space available on data partition, it is 2GB all.

And If yes, I must create the dir: /data/mysyroot? And where to create this dir on pc? On root directory of my linux system?
[Android Software Development] smitna:
You can use the /data partition. Just create a new folder, for example /data/sysroot. On your PC you have to create the same temporary with full user rights. This is not your working dir for building. Create a new dir in /home/user and unpack the files there. In settings insert the /data/sysroot as TARGET_SYSROOT and change the other settings for your phone and choose mc=yes. Then start the ./build.sh
[Android Software Development] dancer_69:
Thanks for your quick answer.

Just to make clear because my english understanding is not in a high level

I must create the /data/sysroot dir under "/"(root directory) on linux pc with superuser rights?
[Android Software Development] smitna:
Yes, that is right. But this is the only step you need to do as root or better with root rights. After this work as usual as user.
[Android Software Development] dateno1:
oh it can't make mysql :(

package selection : mysql only

target directory (prefix) : /sddata/mysql (on sdext on my system)

armv7-a

cortex-a8

neon

softfp

then run ./build.sh 2> error.txt

it is my error messages

http://pastebin.com/g7Yi4bGz

sorry you can see this link only today (my mistake)

this setting can make some binary and lib run on my phone but fail to make gcc or mysql :( (when i try gcc it just fail to making gcc only (other things were made) )
[Android Software Development] smitna:
Please notice first, that you should not run this script as root!!

Then there is something wrong with the build of the first needed packages:

ZLIB=yes

OPENSSL=yes

CURL=yes

GETTEXT=yes

LIBXML2=yes

READLINE=yes

NCURSES=yes

- The script cannot find the readline sources. Do you have a subfolder readline-6.2 in folder sources in your builddir? Same for the other source folders. The script first downloads the packages to folder packages, extract the tars in folder sources, repeated for all selections.

(look at line 67 in your log: ./build.sh: 1402: cd: Python-2.7.2: No such file or directory)

- You have no "xz", install it first and make sure, that the other necessary packages are installed. MySQL and gcc are "two pass" compilations and this builds generating temporary binaries, runable on your linux pc. So you need all for a successful compilation of such binaries like gcc, make, python etc. on your linux machine. If you are using Ubuntu, then install the "meta-package" build-essential, look in the README.

Do you have the other unpacking tools like gunzip etc. Please install also "bison"

You should do following steps:

1. First select only the necessary packages (see above), all others to no.

2. If zlib, python, readline an the others are cross-compiled (without errors) and the libraries are in ./sysroot/lib, then deselect them (=no) and select mysql=yes and start a second run with ./build.sh
[Android Software Development] dateno1:
i'm not edit necessary part

ZLIB=yes

OPENSSL=yes

CURL=yes

GETTEXT=yes

LIBXML2=yes

READLINE=yes

NCURSES=yes

i just edit mysql=no => mysql=yes

ok try to install packages and run as not root :)
[Android Software Development] smitna:
Good luck!

If you can wait a little bit:

In a short time I release a new version with better error and program checks and some small bug fixes. With this version it's not longer necessary to edit the build.sh, it's now all in only two separated configuration files (configuration and package selection).
[Android Software Development] dateno1:
hmm...fail to compile mysql again :(

with this error

note: the mangling of 'va_list' has changed in GCC 4.4

full error log on http://pastebin.com/jd1Pw9Xw
[Android Software Development] smitna:
Hello dateno1,

first: you have *NOT* changed to a user account as promised :mad:

The va_list is only a note, not an error, no problem (but ask the MySQL devs why they haven't adapted the code to gcc 4.6.1).

Your Python cross binaries and libraries are not ok (from you broken first build?). Please start from a "fresh state" (delete the folder sources/Python-2.7.2 and sysroot) or start from a total clean state.

Please use the latest 1.5 version of the script because of the xargs warnings at the end

Delete the complete sysroot folder, there are some folders not in place (data and docs). There is a script remove_all_files.sh

Start this script in your buildroot with ./remove_all_files.sh to remove all files and symlinks in subfolder sysroot.

Edit: delete the sysroot folder complete, there are some other missing folders from your first build!

Start again with ./build.sh and activated packages (the "ALWAYS NEEDED" one and MySQL)
[Android Software Development] dateno1:
make new account (compile.compile) and use su -c "./build.sh" compile

i think it work (compiled file's owner is changed to compile.compile)

now i delete almost files and folders (exclude android-ndk, readline-6.2, toolchains) and retrying...oh failed :( (attach new log (full) )

'를 위해 할 일이 없습니다' mean 'no job for~'

'오류' mean 'error'
[Android Software Development] dateno1:
no

i tried 843 port

i think it was android's libc.so's problem :(

when i trying python version it print out that message
[Android Software Development] smitna:
No, that's not a libc problem. I tried it and the server is running:

./flashpolicyd.rb --xml flashpolicy.xml --logfile flashpolicyd.log

Output:

# Logfile created on 2012-02-03 17:16:18 +0000 by logger.rb/31641

I, [2012-02-03T17:16:18.708175 #23151] INFO -- : Starting server on port 843 in process 23151

netstat -an | grep 843

tcp 0 0 0.0.0.0:843 0.0.0.0:* LISTEN

Apart from this I saw that lightIRC is freeware, not Open Source.

So I will not include this program in the script code, sorry.

If you want to use it, you have to add it yourself.
[Android Software Development] dateno1:
ok i try it again

i don't want to add lightirc just want to add ruby if you can (i think it is more valuable)

if you add ruby on your package i just download rb file and run that :D

---------- Post added at 03:22 AM ---------- Previous post was at 03:08 AM ----------

it my mistake :(

original ruby install on /usr/bin and /usr/lib

but i think it load it's all library from LD_LIBRARY_PATH but it can't recognize LD_LIBRARY_PATH

ruby just read from /usr/lib not LD_LIBRARY_PATH :(

now i make symlink from /system/lib/ruby to /usr/lib/ruby and it work well :)
[Android Software Development] dateno1:
screenshots of my phone

http://dateno1.egloos.com/1100488

sorry korean only but you can see the screenshots (so many screenshot i can't direct upload here)

all server and interpreter run on my phone and remote connected by ADB :)

special thanks for smitna ;)
[Android Software Development] smitna:
new version 2.2 on first page

A new version 2.2 is now released.

A lot of internal changes, more features and updates, see page 1 and README for details.

Added Ruby and dosfstools

more to come...

Please report me potential bugs and also suggestions.
[Android Software Development] dateno1:
this is

my make binary (static compiled)

it already tested (i was make shc and other things by it)

i think it better then new compiled thing (reduce time, work space, etc...)
[Android Software Development] smitna:
Added SANE (USB Scanner backend and drivers) and more

Released version 2.5

Now it's possible to connect an USB scanner directly to the device and scan as usual. Additional with lighttpd and PHP it's possible to use the phpSANE frontend:
[Android Software Development] smitna:
Added Cuneiform OCR and tesseract-ocr

Released version 2.6

Two OCR tools added, see README for details (tesseract-ocr). The recognition quality with tesseract-ocr brings a surprisingly good result :) and in combination with SANE an useful addition to work with scanned text documents (from a scanner or from the camera).
[Android Software Development] ngh55:
Did I read QUEMU??

Will this load an existent distro inside my beloved android phone?
[Android Software Development] smitna:
It's a full featured version of QEMU. I have not tried to boot a complete distro, only some i386 programs, but yes, it should work. Don't expect high performance.
[Android Software Development] ngh55:
Awesome, thank you
[Android Software Development] tommytomatoe:
bump for pure awesomeness
[Android Software Development] enlight22:
first may i say... this script is total awesomeness, thanks to the author..

I have used it to sucessfully compile DnsCrypt-proxy for android... and its working.

It should perhaps be added to the package list

I do have a question though.. i was unable to find the propper settings for my phone... so i used the ultra safe settings the readme suggests.. armv5 and whatnot.

It seems the program works fine, and its a pretty simple program it seems.. Is there any reason to figure out the settings for my phone, which i know to be armv7 cortex a8, but i dont know the other settings.

what would the benefit of compile with the propper settings be?

also... do i really need all that crap that is compiled by default? i dont really know why i would need... python, or openssl for example.. and the build readme for this dnscrypt program doesnt specify and dependencies..

it is the only program i need and is only a few hundred k.. i dont see why i need this 80 or so mb of other stuff in my /data/mysysroot folder.
[Android Software Development] smitna:
Thanks for your post and feedback, I will add DnsCrypt-proxy in the next release.

The first step to check the proper setting for your phone is to open a terminal and type

cat /proc/cpuinfo

It will show you the arch/processor generation and the features (thumb/neon etc.). The benefit to use the "best" settings is a faster execution and other optimisations of the compiled binary. But I don't think that it's necessary for DnsCrypt-proxy to spend too much time to find all the right compiler switches. It's not a program for time critical usage like a packer, converter etc. If you want to compile other applications with the help of my script like ImageMagick or some script languages then you should of course use the best settings for your phone.

Just use the "safe settings" or take the settings for an ARM v7 generation phone (armv7-a, cortex-a8). You can see the full list with the possible options with

arm-none-linux-gnueabi-gcc --target-help

in the arm-2011.09/bin folder (CodeSourcery)

You don't need to compile any other packages from "ALWAYS NEEDED" if you are sure that there are no further dependencies. Simply set them to "no".

My goal was to exclude as much possible compile errors. Most of the packages in the script set needs the openssl, zlib and ncurses libraries to work.

But you need in any case the libraries (cs-sysroot.tar.bz2) because nearly all generated binaries use these libraries and not the standard libraries of the phone (bionic glibc etc.) and you must copy the files for the first time to your phone. The only way to circumvent this is to use the Android NDK (for bionic). Have a look in the build.sh script, section for bash. But this can lead in a LOT OF WORK to make the sources compatible with NDK to sucessful build the binaries :mad: and I can't recommend this.
[Android Software Development] mai77:
bbsh

is it not easier to use botbrew or TerminalIDE :confused:

afaik u can achieve the same goals there with bash and bbsh
[Android Software Development] smitna:
Yes, it's easier to choose the botbrew solution and get ready to use software with a package manager. But it's not the same.
[Android Software Development] nyarnon:
This is ubercool. With the new devices like MK802 the command line will get important again. As soon as I see fit I will put up binaries for it. Kudossmitna.
[Android Software Development] nyarnon:
Well that was to be expected, just to easy. Compiler stops at the first package NCurses, looks like I need a patches autoconf2.13 to make it happen.

checking for C compiler default output... configure: error: C compiler cannot create executables

sed: kan ./include/ncurses_cfg.h niet lezen: Bestand of map bestaat niet

checking for the file reveales ncurses_cfg.hin with the text

This is a template-file used to generate the "ncurses_cfg.h" file.

*

* Rather than list every definition, the configuration script substitutes the

* definitions that it finds using 'sed'. You need a patch (original date

* 971222) to autoconf 2.12 or 2.13 to do this.

*

* See:

* http://invisible-island.net/autoconf/

* ftp://invisible-island.net/autoconf/
[Android Software Development] capslock66:
redsocks

Hi.

I didn't checked all the applications, but do you have redsocks ? If not can you add it ?

Thanks in advance.

http://darkk.net.ru/redsocks/

https://github.com/darkk/redsocks
[Android Software Development] smitna:
Sorry for my late answer. I am very busy at the moment. But I am sure it's possible to add redsocks (I saw that ProxyDroid and sshtunnel use redsocks). Why don't you want to try it yourself? The script gives you all the ability (with help from the docus) to add the tool. But I add it to my "todo list".
[Android Software Development] smitna:
I will check this. What's your linux dist?
[Android Software Development] ankushkale1:
Feature Request : aria2 : a nice downloader with xml-rpc interface.
[Android Software Development] svs57:
diff package_names_urls.conf*

268c268

< UTILLINUXNG_URL="http://ftp-stud.hs-esslingen.de/Mirrors/ftp.kernel.org/pub/linux/utils/util-linux/v$UTILLINUXNG_VERSION/$UTILLINUXNG_PKG"

---

> UTILLINUXNG_URL="http://ftp-stud.hs-esslingen.de/Mirrors/ftp.kernel.org/pub/linux/utils/util-linux-ng/v$UTILLINUXNG_VERSION/$UTILLINUXNG_PKG"
[Android Software Development] svs57:
Can anybody show me correct OPTIMIZATIONS variable for SGS3?

Is it possible to compile Linux utilities agains andriod bionic?

Thank you.