yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] jonny68:
Welcome to the SGSII forums, as other have said please search the forums before asking any questions as most likely you will find the answer you are looking for, if by chance you don't by all means ask and most on here are helpful and friendly and will be glad to assist. :)
[Galaxy S II General] adamski123:
Ni hao, wo shi adam. :D

Wo zai xiao xuexi hanyu ;)

Wo jue de hanyu hen hao, danshi ying. :/

Wo shi ying guo ren.

Did i do ok? ;)

Welcome to xda :)
[Galaxy S II General] sxi200:
Hello. I think all new users should start a thread to say hi and confirm their membership. It would be great to see 1000 such threads per day.

Sent from my GT-I9100T
[Galaxy S II General] deltashock:
Welcome to the board...
[Galaxy S II General] Bruce MJ:
Welcome onboard.
[Galaxy S II General] Tyrol:
You're doing real good there. Just wanted to correct the single tiny mistake there. If I'm reading it right, you're saying that Mandarin Chinese is good but difficult, right? In English, the words 'hard' & 'difficult' are kind of interchangeable but in Mandarin, it's not.

硬 (ying) = hard, as in rock-solid abs hard

难 (nan) = difficult, as in Math & coding for me (:D)

Like I said, I think you're doing good! If you're learning Mandarin on your own, hats off to you man. No sarcasm.

Anyways, welcome to the forum! 欢迎你加入我们。

-----------------------

サンソングガラクシS II からタパトクで書いた。
[Galaxy S II General] adamski123:
Oh yeh i shulda used nan ;/ my bad ;)

Im learning it at skl

Have been for about a yr now :)
[Galaxy S II General] Tyrol:
What's SKL? I assume it's the name of a school? Good luck with it! Hats off to you man. I'm Chinese but when I went to China last year for holiday, boy... They sure use some pretty difficult vocabulary, plus their accent is too strong for me to understand (if they speak too fast).

If you need any help/practice/clarification, feel free to PM me or something. I'm not really good at it but I did study it for a large majority of my life ;) Talking about languages will be a breath of fresh air in this tech-oriented forum :D

-----------------------

サンソングガラクシS II からタパトクで書いた。
[Galaxy S II General] adamski123:
Haha skl means school

Its teenage london talk mate ;)

Oh awesome yeh i will definately pm u if i ever need some assistance.But as u said, they speak so fast!! Never been to china :/ my mums malaysian though.
[Galaxy S II General] bala_gamer:
he is super excited and atleast making a friendly statement, if you dont like why do you post here.
[Galaxy S II General] Tyrol:
Rofl man I was never quite into the teenage talk phase, much less the one from London! I watched Skins & had to Google so many things lol thanks for clarifying ;)

Welcome anytime! Oh wow your mom used to be just across the border from my country o: small world we live in

-----------------------

サンソングガラクシS II からタパトクで書いた。
[Galaxy S II General] beston94:
Listen, obviously you are being sarcastic. And you've been here some time, so you have no excuse for being disrespectful...
[Galaxy S II General] sxi200:
I understand he is 'super' excited, so was I as many others were. And yes, I have been here a long time. That's part of the reason I understand this is the XDA Developers SGSII General forum, not a social forum. Please explain to me how this relates to the SGSII.

And no, I wasn't trying to be disrespectful. Just hoping the member will think twice before starting such threads. I have started 3 threads since 2010 and all for good reason, not to just say hi and make friends.
[Galaxy S II General] Princeomi:
+1

10 chars

Sent using Tapatalk
[Galaxy S II General] nacho129:
Thanks!! :)
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] dsafety:
I have searched everywhere but have not found a way to import my bookmarks to the Firefox Android app. It appears to me that the only option at the moment is to enter them manually, a deal killer if you have a lot of bookmarks.

Does anyone know how to do this, preferably with organizational folders in place?
[Android Q&A, Help & Troubleshooting] enkor:
hi,

I'm thinking about make app for my bachelor thesis. I had some ideas but they were not accepted. So my new idea is make an app or service, which will work with gps, but I don't have any specific concept.

If anyone have any idea please write it. I don't require app with gps. I will be very happy for everything.
[Android Q&A, Help & Troubleshooting] mobitourist:
Interesting,

How about apply like lost my iphone, which tracking position of Device via GPS :)
[Android Q&A, Help & Troubleshooting] bilalkhan891:
car parking system. which shows available car parking areas around, or possibly the free space in parking (update through the device of the parking monitor system)
[General Questions and Answers] Dekaay:
Hi guys, I am new on this forum. I have an Xperia x10i and I have a problem with it, with his battery actually. So the problem started when i have upgraded to CM7. Actually in the first couple of days I do not have any problem with it, but in one day i shut down my phone, I took the battery off( it was ~55/56%) to put my sim in other mobile, and when i put it back the battery was 1%. I did not know what to to so i charged it up. in ~50 mins he was 100% and since then my battery is 0 in ~15 hours. and i use just the msg aplication to talk with my GF. no games nothing.I.ve played a game last night and from 46% in 30mins it was 29%. i have use the wipe battery stats,clear all things, putting CM7 again on it. i use "launcher application but i do not think that this is the problem. bofore the 56%->1% case the phone last 2/3 days but now i have to charged it every night.

Please can someone help me?:confused:
[HTC Desire S] 325i.:
Has anyone changed the housing on the phone? Mine could do with a change as it is scratched in a few places.
[HTC Desire S] rakhan01:
Never tried. This video might help

http://www.youtube.com/watch?v=cfCgPHw47Ho
[Galaxy S II Q&A, Help & Troubleshooting] zenosteam:
hi, all

well my problem is with this universal flasher always when i try to flash a theme or an addon or updater using this U.F.T via CWM i have an error message " setting up the environment

-free ram available :0kb

-free ram required: 16416kb

error there's not enough ram to wok

exit this zip i too big

so, what is the problem with the ram, how can i do to solve this problem :(

i can't flash any thing , i have wiped all my data and re flashed new rom but the problem still the same

please help
[Galaxy S II Q&A, Help & Troubleshooting] It_ler:
Sounds that there are too many files in your system partition.

Try to delete some "system" apps, which are available (and can be re-installed) from the Market, such as Google Maps, etc..
[Galaxy S II Q&A, Help & Troubleshooting] zenosteam:
that what i make i have also deleted all samsung apk and others

rom system 528mb free 208mb
[Galaxy S II Q&A, Help & Troubleshooting] chaser_:
hey buddy

Assume from your sig that you're on the NEAK kernel, I had this same problem as well. Went back to CF-Root and the problem went away.
[Android Q&A, Help & Troubleshooting] pp_prathap:
Is it possible to play audio via radio on android.i.e setting some frequency ex 88mhz..and we can play through fm recievers(similar to bluetooth audio) in cars.

My friend showoffs using this feature in nokia N8..and i own a galaxy note..plz help :confused:
[Android Q&A, Help & Troubleshooting] spunker88:
I don't know of any android devices with an FM transmitter built in. Many have FM receiver hardware, but you need different hardware to transmit.
[Android Q&A, Help & Troubleshooting] qingmui:
i agree

i agree. i understand u want to play in the car. the chinese has FM music player(music via FM, have english song program),called DoubanFM. is english if your phone is english. you can change MHZ program, they have many program you can choose. you can pause the music, or change the music. but right now is still need WIFI conection, hopefully they will update to FM~
[Motorola Droid 4] mccompunerd:
I actually got it up and running on my internal sdcard partition. Pretty much just have to modify the Mount remount command, and a few lines in the script.

Here's the original command

mount -o remount,rw,exec,suid /dev/block/vold/179:1 /mnt/sdcard-ext

And the modified one

mount -o remount,rw,exec,suid /dev/block/vold/179:57 /mnt/sdcard

Only things you have to change are the device location(179:57) and mount location(drop the -ext after sdcard)

Now, after that you also have to modify the script a bit. Just go through it, and anywhere that you see sdcard-ext, drop the -ext off the end.
[Motorola Droid 4] greekchampion04:
thanks for putting that up for everybody! like i said, if you know what you are doing its not a hard swap to make.
[Motorola Droid 4] djdarkside1983:
Is anyone else getting just a gray screen when they remote in? What could be causing this?
[Motorola Droid 4] greekchampion04:
i had that same problem at first... did you use zeroktal's ubuntud4.zip file? or did you use the ubuntu.sh file included in the app?
[Motorola Droid 4] djdarkside1983:
I used the sh file included. I did however fix the problem, when mounting at the start i confused vold with void. I did not get the file system mounted properly. This method does work!! however I am currently trying to get bash on my droid to replace sh as the shell. I've checked the forums but have not found anything yet about someone installing bash on the droid 4. With no way for nandroids I feel i should wait before I kill sh.
[Motorola Droid 4] zeroktal:
Also save the follow lines between ### as remount.sh on your system partition. Then chmod 755 /system/remount.sh. Now you can just run run from a terminal /system/remount.sh and voila it remounts correctly and starts ubuntu(with the above fixes). Im still working on the unmounts.

####### for the internal sd card

mount -o remount,rw,exec,suid /dev/block/vold/179:57 /mnt/sdcard

/mnt/sdcard/ubuntu/ubuntu.sh

######

OR

####### for the external sd card

mount -o remount,rw,exec,suid /dev/block/vold/179:1 /mnt/sdcard-ext

/mnt/sdcard-ext/ubuntu/ubuntu.sh

#######
[Motorola Droid 4] greekchampion04:
great stuff!
[Motorola Droid 4] zeroktal:
feel free :)

Feel free and take, modify, repost or edit anything I touch. :)
[Motorola Droid 4] dopeismarcus:
QUESTION:

After I delete all the ^M and ^ what do i do next? I try to hit the command ":x" to exit and save changes but it just creates another line. Also when I press VOL UP + E to escape nothing happens.
[Motorola Droid 4] Dave Lister:
In vi, the command to save and exit is :wq (probably short for write and quit).
[Motorola Droid 4] greekchampion04:
remember, read up on the vi quick-reference guide: http://www.lagmonster.org/docs/vi.html
[Motorola Droid 4] dopeismarcus:
OK I fixed it but now its not letting me connect with androidVNC. All the settings entered is correct but when I try to connect it says:

"VNC connection failed!" localhost/127.0.0.1:5901 - Connection refused"
[Motorola Droid 4] tallelf78:
ok, i've gone thru this a few times (slowly and deliberately) and must be missing something...the directions seem pretty straightforward! here's what i know...

busy/terminal/vnc are all installed

small 2.5gb image is unzipped in /sdcard-ext/ubuntu directory

the attached .sh file from page 1 is in the same directory

i removed all ^M using vi

but when I try sh ubuntud4.sh i get an error...

"mkdir failed for /data/local/mnt/ubun, No such file or directory"

(plus a few other errors)

should the directory be "ubun" or "ubuntu"? am I typing something incorrectly?
[Motorola Droid 4] zeroktal:
copy and paste new script

Copy and paste the new scripts I posted. They will fix your problem. Remember to use the remount script from /system/ the rest will work perfectly if you are root. I'll check back later on your progress.
[Motorola Droid 4] tallelf78:
Ok, well I started from scratch (deleted both .img and .sh files) and it's still not working.

I have all the apps installed (and yes rooted, SU works just fine)

I used Ubuntu Installer app to download the image zip (tried both the large and small img)

I downloaded the .sh file from the first post

The /sdcard-ext/ubuntu/ folder now has two files: "ubuntu.img" and "ubuntud4.sh"

All ^M characters have been removed from .sh file

Still no joy...

Ideas? What am I missing?

In terminal, I can set SU permissions and the mount/cd commands work just fine...it's the last sh command that spits out a bunch of errors about not being able to create/find the directories.

I'm going to format the sdcard and try again...any help is appreciated.

Update: Even after re-formatting the SD and following the steps exactly, no luck!
[Motorola Droid 4] zeroktal:
Did you remember to remount the sdcard with exec and suid permissions?
[Motorola Droid 4] AdamOutler:
Andbuntu will work much better than this method. It works on every single phone with modification to the "environmental variables".

http://code.google.com/p/andbuntu/

Follow the directions in the script to make the process much easier than the first post.

instructions:

generate an image with rootstock on an ubuntu computer.

put it on /sdcard/ubuntu/ubuntu.img

run the script on your phone with "sh /path/to/script"

Here is the script. http://andbuntu.googlecode.com/svn/trunk/uboot

Also, run "firstRun" to make things like terminals work properly.
[Motorola Droid 4] zeroktal:
Adamoutler: That didnt work for me. The permissions were incorrect on the mounted partitions.
[Motorola Droid 4] therazrguy:
will this method work on motorola razr gsm?
[Motorola Droid 4] huss22us:
Question

Hey.

Looks like you have a lot of fun here.

just a question, does it work with Galaxy S2 I9100 ??

BR,:cool:
[Motorola Droid 4] Pieter19:
Greetings.

Why don't you make REAL distribution work on android phones? I mean not by VNC and android? My friend have an android tablet and made gentoo work on it.

Sorry for my bad English.
[Motorola Droid 4] greekchampion04:
this method should work on pretty much every phone.

as for making a real distro work... we would all LOVE it, but its very hard.

if we got one running, it would replace the android OS when running... which means making a way for the phone, sms, ect to work on whatever linux distro you are using, or not having any of that while you are in linux mode.

also for the D4 (and all other moto phones) we have a locked bootloader, making it straight up impossible
[Motorola Droid 4] Pieter19:
My friend told me that he probably make it work on every android device and here is his topic: slatedroid.com/topic/30524-running-a-linux-distribution-on-zenithink-zt280/
[Motorola Droid 4] ndd53:
check to make sure that the entire path

/data/local/mnt/ubun

exists. the 'mkdir' command will fail if any of the intervening dirs aren't there, so if you have

/data/local

and try

mkdir /data/local/mnt/ubun

it'll fail. you'll have to make

/data/local/mnt

first. 'ubun' is just a name; doesn't matter what you use as long as you're consistent. I changed it to 'ubuntu'; seemed clearer to me, and the 2 extra characters weren't a big deal.
[Motorola Droid 4] tallelf78:
that was it...i manually created the directories and then the .sh was able to run without errors.

thanks everyone for feedback! ubuntu on my lapdock is much nicer than the moto webtop.
[Motorola Droid 4] booda3000:
I had to do this too.

Works now.

Can anyone assist me with using the D4's physical keyboard to type into the ubuntu terminal?

Thanks BTW. This is really cool.

---------- Post added at 05:59 PM ---------- Previous post was at 05:32 PM ----------

@tallelf78

Do u have the 100 or the 500 Lapdock?
[Motorola Droid 4] tallelf78:
I have the 500, I'm still torn between the two but I guess at this point I'm stuck with it.

So your hard-keyboard doesn't work in Terminal? I don't know that I can help, mine just worked.
[Motorola Droid 4] booda3000:
kb

What do have u have for your input settings in vnc? (When your in the Ubuntu desktop)

Also, does your Ubuntu web browser ever just-close on u?

---------- Post added at 09:25 AM ---------- Previous post was at 09:06 AM ----------
[Motorola Droid 4] grandkodiak:
help

hey all, having problem with my droid razr maxx ubuntu. it was working great for awhile, but i didnt use it for a bit, and reset my phone a few times for other lockups.

anywho, i go to go back into it today and when i boot in

su

cd sdcard/ubuntu

sh ubuntu.sh

su

echo USER=root

tightvncserver -geometry 1024x800

I get:

warning localhost:1 is taken because of /tmp/.x1-lock

remove file if no x server on localhost:1

new x desktop is on localhost:2

Ive used:

tightvncserver -kill :1 (2 or 3 or whatever new ones i make kill sucessfully)

But get:

youll have to kill the xtightvnc process manually

How do I get out of this? I cant find the .x1-lock file it mentions to delete, and theres no way to kill :1 (at least that I know about)

I was reading that this happens when ubunutu isnt shut down properly (didnt know just using exit didnt do the trick) so now I cant vnc into my ubuntu anymore and only have the terminal funcuntion!

thanks all!

ps, ive read through all 25 pages of

http://xdaforums.com/showthread.php?t=718952&page=15

which mentions the lock file problem, but i dont understand from the post how to resolve that, and having less then 10 posts to this forum i cant post the question there.

edit. found it reading over my post, it was case sensitive: rm /tmp/.X1-lock and rm /tmp/.X1-unix/X1 for anyone who finds this psot wioth same problems
[Motorola Droid 4] garlick2:
Hey, I have D4 with an ICS AOKP ROM, I got Ubuntu up and running, super excited about that, but I can't seem to get my lapdock to work with the device.

I didn't know if I needed the webtop.apk, which isn't available yet on ICS, or if there was another app I could download to work for me as the transfer??

Does anyone have any suggestions?? The mousepad works on ICS when I dock it, it just won't show HDMI through the HDMI port, so no mirroring.

Any suggestions would be great, would love to get Ubuntu working on the dock so this becomes a REAL working unit.
[Motorola Droid 4] devilsclaw:
The reason the vncserver requires being on :1 is because the webtop interface is already running.

I added to the top of the ubuntud4.sh script

/etc/init.d/webtop-shutdown.sh

and at the bottom

/etc/init.d/webtop-restart.sh

with this you don't have to modify anything else besides the ubuntud4.sh

I did edit the init.sh to autofill in my preferences.

What I am really looking to do though is getting the webtop which is the pre-built ubuntu that is already installed on the phone to listen on the tcp port. currently is is ran with -nolisten tcp and I have tried to remove that from the scrip yet it still shows so it must be somewhere else.
[Motorola Droid 4] kirschnet:
fille permissions on ubuntu directory?

For some reason I keep getting "cd: can't cd to ubuntu" whether it was created on the internal sdcard or external sdcard-ext directory. I am assuming the permissions are not right. If I try to look at the permissions with a "ls -l ubuntu" it says no such file or directory. Yet I can connect via windows explorer and can access the directory just fine.

What am I doing wrong?
[Motorola Droid 4] nequeelrey:
droid 4 wont boot

I did this, and ubuntu is running correctly through vnc, which is incredible! Thanks! But once I rebooted my droid, it booted to the eye, and then kept rebooting there, in an endless loop, and never booted until the battery died. Anyone know how to fix this, or have any suggestions how to proceed?

Thanks in advance.
[Motorola Droid 4] zeroktal:
I have modified the d4 script for ICS 4.04.

This also includes a few smaller fixes like directory creation for first time users.

Fixed: Directory creation

Fixed: Busybox in /system/bin OR /system/xbin

Fixed: Edited out /system remount as its not needed

Fixed: Added Remount of /sdcard-ext so that you can run the .sh directly from there.

Fixed: Killing Processes - Thanks to Devils Claw

Fixed: Unmounting filesystems correctly.

#Thanks to everyone at XDA! #

#Modified to work with the D4 by Zeroktal#

##########################################

#Fixed: Directory creation

#Fixed: Busybox in /system/bin OR /system/xbin

#Fixed: Edited out /system remount as its not needed

#Fixed: Added Remount of /sdcard-ext so that you can run the .sh directly from there.

#Fixed: Killing Processes - Thanks to Devils Claw

#Fixed: Unmounting filesystems correctly.

perm=$(id|cut -b 5)

if [ "$perm" != "0" ];then echo "This script requires root! Type: su"; exit; fi

#mount -o remount,rw /dev/block/mmcblk0p5 /system

mount -o remount,rw /dev/block/vold/179:97

export kit=/sdcard-ext/ubuntu

export bin=/system/bin

export mnt=/data/local/mnt/ubun

export mnt2=/data/local/mnt

export mnt3=/data/local/mnt/ubun/sdcard

export USER=root

mkdir $mnt2

mkdir $mnt

mkdir $mnt3

export PATH=$bin:/usr/bin:/usr/local/bin:/usr/sbin:/bin:/usr/local/sbin:/usr/games:$PATH

export TERM=linux

export HOME=/root

if [ -b /dev/block/loop254 ]; then

echo "Loop device exists"

else

busybox mknod /dev/block/loop254 b 7 254

fi

losetup /dev/block/loop254 $kit/ubuntu.img

mount -t ext2 /dev/block/loop254 $mnt

mount -t devpts devpts $mnt/dev/pts

mount -t proc proc $mnt/proc

mount -t sysfs sysfs $mnt/sys

/system/bin/busybox mount -o bind /sdcard-ext $mnt/sdcard

/system/bin/busybox sysctl -w net.ipv4.ip_forward=1

/system/binx/busybox mount -o bind /sdcard-ext $mnt/sdcard

/system/binx/busybox sysctl -w net.ipv4.ip_forward=1

echo "nameserver 8.8.8.8" > $mnt/etc/resolv.conf

echo "nameserver 8.8.4.4" >> $mnt/etc/resolv.conf

echo "127.0.0.1 localhost" > $mnt/etc/hosts

echo "Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:"

ifconfig lo

echo " "

busybox chroot $mnt /root/init.sh

echo "Shutting down Ubuntu ARM"

for pid in `lsof | grep "\/data\/local\/mnt\/ubun" | awk '{print $2}'` ; do kill $pid ; done

sleep 2

umount $mnt/sdcard

umount $mnt/dev/pts

umount $mnt/proc

umount $mnt/sys

umount $mnt

losetup -d /dev/block/loop254
[Motorola Droid 4] zeroktal:
Haven't seen this

I haven't seen this, have you made any other mods?
[Motorola Droid 4] louisdk:
Could somebody please make a video of a Motorola Droid 4 running Ubuntu or maybe just take some pictures? :)
[Motorola Droid 4] zeroktal:
Sure, I'm a bit pressed for time. I re-did the Ubuntu boot script as well to make things smoother.
[Motorola Droid 4] dbreezy187:
Is there a way to get this running on the RAZR...
[Motorola Droid 4] bryangrant4:
No Mediafire Download Available

The file on Mediafire is no longer present. Is there an alternate location or a torrent?
[Motorola Droid 4] nb26:
ubuntu all there but cant edit in vi

have root

running CM 10.2.1 (11 kept crashing)

(no gallery, but cymera works)

love it all would like to fiddle with dual boot android/ubuntu, but anyway....

root@cdma_maserati:/mnt/sdcard-ext/ubuntu # sh ubuntud4.sh

sh ubuntud4.sh

ubuntud4.sh[18]: syntax error: 'if' unmatched

when i get to vi (I'm sorry, i tried out for '300' but i didnt know vi...) i tried motion buttons, i tried :%s/^V^M//g and it just wont find the ^M that's after almost every line. any help would be appreciated.

ty. ttfn
[Motorola Droid 4] zeroktal:
File has Binary Characters

You can actually delete these manually.
[Samsung Galaxy Mini] faheemakbar18:
My Galaxy mini is stuck with 2.3.3 and does not support update via kies because of its CSC which is s5570serkpf .its Russian which max support 2.3.3, I tried doing *#272*Imei# to change CSC but there is no list of CSC only Ser is available which is already installed. I want to upgrade to 2.3.5 or 2.3.6, because some galaxy mini officially support it..

and I have rooted my cellphone using SuperOneclick

Does CSC matter while flashing stock or custom Rom like my CSC is SeR on which max GB 2.3.3 is available and for some CSC stock rom 2.3.7 is availalle,If I flash them will they work? Suggest me best rom with no lag or bug .Performance increase and Overclocking option because angry bird become laggy sometimes

other details

baseband s570xxkpf

kernal

2.6.35.7-perf-cl18963

se.infra@sep-55 #1

buil no. gingerbreas=d.xxkpe
[Samsung Galaxy Mini] huzzahpenguin:
If you want to root it use super one click.