yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] mallman:
here is what i get. running cm6 nightly and snap

# bootubuntu

bootubuntu

mknod: /dev/loop1: File exists

losetup: /dev/block/loop1: No such file or directory

mount: mounting /dev/block/loop1 on /data/local/ubuntu failed: Invalid argument

mount: mounting devpts on /data/local/ubuntu/dev/pts failed: No such file or dir

ectory

mount: mounting proc on /data/local/ubuntu/proc failed: No such file or director

y

mount: mounting sysfs on /data/local/ubuntu/sys failed: No such file or director

y

net.ipv4.ip_forward = 1

Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.4.4

bootubuntu: cannot create /data/local/ubuntu/etc/resolv.conf: directory nonexist

ent

bootubuntu: cannot create /data/local/ubuntu/etc/resolv.conf: directory nonexist

ent

Setting localhost on /etc/hosts

bootubuntu: cannot create /data/local/ubuntu/etc/hosts: directory nonexistent

READY TO ROCK AND ROLL BABY!

Brought to you by NexusOneHacks.net and the open source community!

chroot: can't execute '/bin/bash': No such file or directory

Shutting down Ubuntu

umount: can't umount /data/local/ubuntu/dev/pts: No such file or directory

umount: can't umount /data/local/ubuntu/proc: No such file or directory

umount: can't umount /data/local/ubuntu/sys: No such file or directory

umount: can't umount /data/local/ubuntu: Invalid argument

losetup: /dev/loop1: No such device or address
[EVO 4G Android Development] mallman:
om now i get to the root@localhost prompt so i think that is ubuntu. doing startx does not start an x session. how do you start the xsession or vnc session?
[EVO 4G Android Development] ViViDboarder:
Well, if VNC server is already running you start the x session and then VNC to it using a VNC app. You won't get Xwindow to show up.
[EVO 4G Android Development] mallman:
ok got it. now the only problem is that i connect to the vnc server and dont get anything but a greyish screen with an "x" mouse pointer.
[EVO 4G Android Development] mallman:
ok got it all working after fiddling for a while lol. I would totally use my vnc client to use this at work with chat and all but the keyboard mapping is so bad that it is impossible. Anyone figured this out?
[EVO 4G Android Development] daemonopus:
More info on building rootfs for making your own images:

https://wiki.ubuntu.com/ARM

https://wiki.ubuntu.com/ARM/RootfsFromScratch

information on running a virtual ARM device (ie your phone) for creating a build image:

https://help.ubuntu.com/community/Installation/QemuEmulator

also, if you want to get to the Ubuntu prompt through Terminal Emulator on your android through 'bootubuntu', WITHOUT starting another vncserver:

this will prevent multiple vnc sessions from running if you need to get an ubuntu prompt from bootubuntu under Terminal Emulator for whatever reason
[EVO 4G Android Development] mallman:
just wanted to share that http://www.tips5.com/how-to-fix-keyboard-mapping-issue-of-gnome-vnc-in-ubuntu has the solution to the keyboard mapping problem. I did the second option and im running great now!!
[EVO 4G Android Development] mallman:
ive tried the fixes mentioned earlier int his thread such as mounting and unmounting SD card in windows as well as running the commands if that doesn't work and i still get the following when trying to start ubuntu. Usually rebooting doesnt do this but something happened on last reboot.

To enter the Debian Linux console just type 'bootubuntu'

# bootubuntu

bootubuntu

losetup: /dev/block/loop1: No such file or directory

mount: mounting /dev/block/loop1 on /data/local/ubuntu failed: Device or resourc

e busy

mount: mounting devpts on /data/local/ubuntu/dev/pts failed: No such file or dir

ectory

mount: mounting proc on /data/local/ubuntu/proc failed: No such file or director

y

mount: mounting sysfs on /data/local/ubuntu/sys failed: No such file or director

y

net.ipv4.ip_forward = 1

Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.4.4

bootubuntu: cannot create /data/local/ubuntu/etc/resolv.conf: directory nonexist

ent

bootubuntu: cannot create /data/local/ubuntu/etc/resolv.conf: directory nonexist

ent

Setting localhost on /etc/hosts

bootubuntu: cannot create /data/local/ubuntu/etc/hosts: directory nonexistent

READY TO ROCK AND ROLL BABY!

Brought to you by NexusOneHacks.net and the open source community!

chroot: can't execute '/bin/bash': No such file or directory

Shutting down Ubuntu

umount: can't umount /data/local/ubuntu/dev/pts: No such file or directory

umount: can't umount /data/local/ubuntu/proc: No such file or directory

umount: can't umount /data/local/ubuntu/sys: No such file or directory

umount: can't umount /data/local/ubuntu: Invalid argument

losetup: /dev/loop1: Device or resource busy
[EVO 4G Android Development] ViViDboarder:
Ugh, I really need to get my EVO back...
[EVO 4G Android Development] bgmodz:
looks like you had the same problem i did... try to replace the files you have right now with the ones at 'bgmodz.wordpress.com/downloads/' and then run ubuntu.sh everytime u boot up. This works every time for me with no problems.
[EVO 4G Android Development] mallman:
awesome, it worked. I think part of my issue as well is the inability to shutdown ubuntu. I haven't tried it after booting with these scripts but i will today. Thanks for the link. I wish we could get someone to update the fitst post with these.
[EVO 4G Android Development] mallman:
oh bgmodz, your site says let you know if you have success on something else. I am having success on cm6 nightly with snap 7.6 :)
[EVO 4G Android Development] danielt021:
Hi guys, is anyone experiencing problem with touch screen not working after flashing the zimage, because after pushing those two files and flashing zimage my touch screen doesnt work. Anyone having any ideas how to fix it? Thanks a lot.

O and i forgot to mention that I am on the stock rom.
[EVO 4G Android Development] bgmodz:
thanks! glad it works!
[EVO 4G Android Development] wicode:
Linux on Evo

Hi all. I've been trying to get this to go on my Evo running the most recent AvaLaunch but I've had no luck. It's rooted/nand unlocked totally. I wrote the new drivers to system/lib/modules. I smartly left the old drivers as .old. Rebooted to see that it was indeed using the new drivers with the old kernel (wifi quit working), This was acceptable to me because that meant that I had the new drivers indeed in place and being used. I did a fastboot boot zImage. I gut booted up and all but had no response from the touch screen. I fiddled and tried several things out but never successfully got the "new" kernel to boot in a useful state. maybe it's an AvaLaunch / new kernel issue .. I don't know.

What I have done Is wiped/wiped/rewiped my cache/userdata/sdcard and am now installing CM6 as that seems to support loopfs according to what I have read here. Followed directions to a T so far now I will see of CM6 Helps...
[EVO 4G Android Development] wicode:
Still no luck

followed the instructions from a couple pages back

c:\android\tools>adb shell
# su

cd /sdcard/ubuntu

sh ./ubuntu.sh
su
#
# cd /sdcard/ubuntu
#
# sh ./ubuntu.sh
modprobe: chdir(2.6.32.15-cyanogenmod): No such file or directory
←[H←[Jmkdir failed for /data/local/mnt, File exists
←[H←[Jchmod: bootubuntu: Operation not permitted
chmod: fsrw: Operation not permitted
chmod: mountonly: Operation not permitted
chmod: ubuntu.img: Operation not permitted
chmod: ubuntu.sh: Operation not permitted
chmod: unionfs: Operation not permitted
←[H←[J
Ubuntu Chroot Bootloader v0.1
Ubuntu Bootloader is now installed!
This process does NOT damage Android OS!

Original Installer by Charan Singh
Modified for Ubuntu Chroot by Max Lee at NexusOneHacks.net

To enter the Debian Linux console just type 'bootubuntu'
# bootubuntu
bootubuntu
failed: No such file or directoryk3 on /system
bootubuntu: 39: Syntax error: end of file unexpected (expecting "then")
#

in this case I am running CM6 Stable. Using the modified bootubuntu.. I am doing this from a windows machine using Notepad++ to edit my file and saving as unix style instead of windows/dos style ,,,, same outcome either way.

I changed the chmod "manually" running line by line from chmod 4777 * to chmod 777 * for the first iteration(assuming that runs in /sdcard/ubuntu) and it didn't give the chmod errors. but I was stull unable to bootubuntu.

Giving up for now Need to get ready for a 6 hour Drive to the Floriduh Keys.

Anyone have any definitive luck with this and CM6? Please post concise directions of how to get it to work.
[EVO 4G Android Development] bgmodz:
looks like mallman got it to work on cm6 and snap kernel using my files:

'bgmodz.wordpress.com/downloads/'
[EVO 4G Android Development] Homefix:
I use cm6 nightly "as is"

market install androidvnc

unzip ubuntu to sdcard/ubuntu

download updated bootubuntu copy to sdcard/ubuntu

open ubuntu.sh with notpad ++ and add bootubuntu to end of script, save.

open adb shell In linux use sudo adb server

apt-get update

to update your Ubuntu packages then:

apt-get install tightvncserver

to install the TightVNCServer and:

apt-get install lxde

su

cd /sdcard/ubuntu

sh ./ubuntu.sh

apt-get update

to update your Ubuntu packages then:

apt-get install tightvncserver

export USER=root

vncserver -geometry 1040x800

go to androidvnc on phone and setup port 5901 with highest color, local mouse, force full screen

enter password you setup previous

connect

youl have to read earlier posts to fix keyboard, and setup vnc hosts so only one port opens when starting ubuntu in terminal if that makes sense

I have tried to do the

"cat > /root/.vnc/xstartup

#!/bin/sh

xrdb $HOME/.Xresources

xsetroot -solid grey

icewm &

lxsession "

Thing with no sucssess

So I just terminal from phone to sdcard/ubuntu, su, sh ./ubuntu.sh, since i have bootubuntu at the end of script it boots up nicely.
[EVO 4G Android Development] Homefix:
I wonder if anyone has luck getting samba working or is it not possible.

it would be cool to be able to browse the local network and share.

I cant get chess to work I want to play against computer.

Graphic editor is cool
[EVO 4G Android Development] wintrxtrem:
I have ubuntu running on my Evo, and I've been trying (unsuccessfully) to get Hamachi working per the instructions here: http://xdaforums.com/showthread.php?p=8869342#post8869342

Can someone else give it a try? Any help would be greatly appreciated.
[EVO 4G Android Development] wicode:
So I was able to get Ubuntu running. On the first bootubuntu the loop device would start as would the vnc server on localhost:1 . When I exit the logon leaving root@localhost and going back to the "android" bash shell the loop device does not quit properly and the vnc port gets boned. I have to manually edit the scripts and advance the loop device by 1 and the vnc port in my viewer by 1 to get the lxde GUI otherwise I get the Ubuntu GUI and nothing will run in it.

I have totally followed the guides and can't see a way around this. Trying various things in the scripts hasn't led to any different results.

I haven't had a chance to follow the last set of instructions I saw but I did use the modified bootubuntu..

Has anyone else had the trouble of the loop devices not dismounting and the lxde GUI moving to the next port?
[EVO 4G General] Raadius:
Via phonearena.com

Very interesting...
[EVO 4G General] Cicatrize:
Man, good thing we have another thread for this. Now everyone knows.

</sarcasm>
[EVO 4G General] david279:
This isn't new right?.....
[EVO 4G General] th3b055:
First time I've heard this
[EVO 4G General] donatom3:
It's new since one of HTC designers mentioned it at some developer conference.
[EVO 4G General] nenn:
:D:p

ten charrrrrrr
[Windows Mobile] appelflap:
Recently, I played with the HTC Rom Update Utility and collected some knowledge about it that I thought was worthwhile to share. Maybe you can use it as some guidelines & tips to customize the RUU for your own roms.

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

As you all know the HTC Rom Update Utility contains the following files:

EnterBootloader.exe ErrorBattery.fig ErrorUSB.fig ModelID.fig rapitool.exe ROMUpdateUtility.exe RUUGetInfo.exe RUUResource.dll

Modifying the dialog boxes

The dialogs that are displayed when launching the ruu are part of the RUUResource.dll. These dialog windows are fairly easy to modify with a resource editor, like for example Resource Tuner.

With a resource editor you can modify the text of the dialog windows. This can be very handy when you want to provide some extra info about your roms. Besides this you can change some controls like buttons, checkboxes etc. For example, for your own sake you can change the user interface to speed up the update proces by hiding the checkboxes and enable the next buttons by default. (see the attached RUUResource.dll)

Modifying the image displayed on the dialogs

The picture of the device showed on the lefthand side of the dialogs is contained in the file ModelID.fig . This picture has a height of 332 pixels and a width of 214 pixels.

To create your own image use your favorite image-editor. Save the created 332 x 214 image as a gif, bmp, jpg or png file and convert it to the "fig" format using the attached img2img tool (or download it from here) To convert for example the file x.bmp to x.fig run the following comand at the comand prompt:

img2img x.bmp x.fig

Creating a self-extracting CustomRUU.exe

All the RUU files can be packed together in a self-extracting exe using the SFX scripting facilities of WinRar. To do so: select the files that have to be packed together (see the listing at the top of this post). Right click and select "add to archive". Select "Create SFX archive" and go to the Advanced tap. Select "SFX Options..." and set the following parameters:

Tab general
Path to extract: current folder
Setup program: "setup.vbs" (explained later)

Tab modes
Silent mode: Hide all

Tab Text and Icon
Load SFX icon from file: enter your favorite icon (I attached a HD2 icon to this post to experiment with - [B]HD2_ico.zip[/B])

Because you want the self-extracting exe to clean up the files after the RomUpdateUtility has run, an extra batch file has to be created in which all files are deleted after the ruu is called. (I attached this batchfile as setup_bat.zip) Because Windows opens a comand window when a batch file is run, i've created a vb script for the Windows Scripting Host (part of the OS of Windows 98 and later) in which the batch file is called in a "hidden" window. (script attached as setup_vbs.zip). It is this script that is called by the SFX script.

Of course the setup files have to be deleted also (this is done in setup.bat)
[Windows Mobile] kurniawan77:
Great tut.... nice!

Thanx!!
[Windows Mobile] Rouz.:
oh, this is what i was looking for! thanks for sharing
[Windows Mobile] v-b-n:
Good job man !
[Windows Mobile] [★]:
Thanks alot :) Now rom customization can go even further :cool:
[Windows Mobile] birkoffsjunk:
Checkout 7-ZIP SFX Maker, perfect if your looking for a free / smaller option to WinRAR ;)
[Android Apps and Games] -Arturo-:
Ok, thanks for your help ,all:)

Found one myself. Here's the link if anyone needs it.

http://www.androlib.com/android.application.com-tokasiki-android-voicerecorder-pqm.aspx

Now i just need a app that will allow me to assign the recorder to a button.
[Android Apps and Games] souljaboy:
so did any if ya got a recording app to work on the HD 2 ??
[Android Apps and Games] :
don't record calls on htc-desire
[Android Apps and Games] matthiasdeblaiser:
As an imperative because it's illegal without consent on the other side of the line?

or because you tried it on your Desire and it doesn't work?
[Android Apps and Games] khaytsus:
Here we go with the legality BS in this thread.

Let's LEAVE THAT UP TO THE INDIVIDUAL TO DETERMINE THEIR LEGALITY. Every phone recorder thread devolves into argument about it.

As for why it won't record; most HTC devices you can't record the caller unless it's on speakerphone, and in which case I assume you hear them through the microphone.
[Android Apps and Games] superman2112ms:
Call recording

Most companies tell you they are recording the call so you alreadt have permission. Otherwise thwy say they are monitoring it and then you would need permission. However I agree Leave it to the individual
[Android Apps and Games] :
That is recording through the microphone, Korean Galaxy S records within the system (i.e. better quality)...

See http://androidforums.com/android-lounge/181663-android-phone-call-recording-function.html
[Android Apps and Games] :
tried ALL market available apps and none works.

In some countries it is illegal.

In Spain (my country) is not legal (which does not mean it is illegal), but can not be used as evidence in court if the other party was unaware that it was recording, but you can record conversations to own use (if you are a seller is a good idea and save you taking notes)
[Android Apps and Games] Labutin:
I have started this project: http://call-recording-on-android.com/

Please, leave your comments!
[Android Apps and Games] S_Dot:
Google VOice?
[Android Apps and Games] Seldaiendil:
Google Voice only works on USA.

I'm with bartito, I'm from Spain and you can record a call for your own or even if you comunicate to the other part the call is recording you can use it as evidence.

This is frustrating I'll not buy another phone without this functionality.
[Android Apps and Games] daniel.weck:
Not many apps out there that can record audio streams other than from the microphone...yet there is an API for that:

http://developer.android.com/reference/android/media/MediaRecorder.AudioSource.html
[Android Apps and Games] avs333:
HTC users look here: http://xdaforums.com/showpost.php?p=9545175&postcount=112
[Android Apps and Games] persichini:
See that why I love Texas only one party on the phone has to be aware that its being recorded for it to be legal. So if you know your recording it that's all that matters.
[Android Apps and Games] marvelart:
Wow, this amazing project I found it very interesting.
[Touch2 General] shindepankaj:
How to connect to internet using WiFi in HTC Touch 2

Hi,

I have wifi connection in my building and I got network key.

Handest successfully connected to wifi.

But I am not able to connect to internet using this wifi connection.

Plz anybody tell me how to connect to internet using wifi connection.

Thanks.
[Touch2 General] rsc1974:
Perhaps the signal strength is not sufficient :confused:
[Touch2 General] shindepankaj:
no. signal strength is ok.

my friend is using it with Nokia E72
[Touch2 General] rsc1974:
Which IEEE standard (a, b, g, n )be used his router?

Does he have any MAC filtering enabled on the router?

Have a look in that direction.

I do not think it's up to your phone.
[Touch2 General] shindepankaj:
he just activates wifi and starts using internet. nothing else.

but for me i am able to connect to wifi,

but i want settings that required to set in "settings->connections" to select wifi as internet.

i used internet using gprs service without any problem.

thanks
[Touch2 General] donSjon:
* have you checked the proxy settings?

* MAC filtering on the router?

* is there a firewall somewhere?
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] vikramdhani:
I just got a phone from work and i want to return the phone back to Tmobile. Is there a way i can go back to the original rom for TMOUS and be able to return the phone without any issues ?
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] :
Here is a couple of links to a couple of the 117(fictional number but close) existing posts with the same question ......

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

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

Search is your friend ....
[myTouch 3G Slide Q&A, Help & Troubleshooting] amack10:
I've reformated the stock 8 gig that comes with the slide to fat32 on my pc and stuck it in my g1 to partition it through the recovery on there. But wen I get into sd parted on the consol it won't recognize the card. Something like mmcblk not recognizable
[myTouch 3G Slide Q&A, Help & Troubleshooting] beartard:
Assuming you're using AmonRA's recovery, have you tried using the standard auto-format options (ie, not using the console)?

Make sure you formatted the card correctly to begin with. Does your computer recognize it (as fat32)?

Just a few ideas.
[myTouch 3G Slide Q&A, Help & Troubleshooting] amack10:
Lol correct I am usin amon rah. That's the thing I couldn't get it to write partitions and it wouldn't let me like I was sayin so I did try the auto format. It said it was sucsessful and wen I went back into sdparted on the consol pressed print and it said it had been parted. So I then tried to manually partition my card to my likeing instead of the prestets from the automated version. And it was still unrecognizable. So I was like f it its reading that its parted when I push print so it mus be. So I roote my slide got into clockwork was gunna try wg went to wipe my ext partition to play it safe before I installed wg and it said there was no mountable ext.
[Windows Mobile] starbase64:
Hi,

i have a strong in call echo in my last rom.

OEM Base: 3.04

Build: 25012

Radio: 2.10.50.19_2 or 2.12.50.02_2

with friendly greet

starbase64
[Windows Mobile] starbase64:
Hi,

i have a solution found.

OEM Base 3.04 with wavedev.dll from Base 3.04 = no echo

OEM Base 3.04 with wavedev.dll from Hotfix 7759 = strong echo

with friendly greet

starbase64
[Android Software/Hacking General [Developers Only]] rpesigan6:
ok i am almost done rooting my mytouch 1.2. i am to the part where i have to flash the radio, spl, and recovery. after a lot of reading around xda, i discovered that i have to BOOT the recovery, flash the spl from recovery, go back to fastboot and flash the radio and recovery, respectively. my PROBLEM now is that i cannot boot into recovery. well, actually it allows me to, but it gets stuck on the HTC MAGIC screen for a long time. what should i do? please help. oh and by the way, this is what my fastboot currently says

sapphire unknown 32A ENG s-off H

HBOOT-1.33.2010 (SAPP31000)

CPLD-13

RADIO-3.22.20.17
[Android Software/Hacking General [Developers Only]] jeffamdg:
Hi,

I am trying to figure out if it is possible to write an application on android 2.1 that can launch another application and do screen presses and take screen dumps etc.

Hopefully without a rooted phone, but if need be thats okay as well. I have been looking through the APIs and I am a little stuck. I thought this would be a lot easier than what it is. Any help or pointers in the right direction would be appreciated.

Thanks in advance

Jeff
[Touch HD Windows Mobile ROM Development] TheATHEiST:
Hi guys, does anybody know what happened to the super light rom for our blackstone?

Cant seem to find it on forum anymore only the TP2 thread, Ive been using Android OS for a few days I wanted to see if I could get any performance issues out of a lighter windows with it etc.

If it has been removed, how come?
[Touch HD Windows Mobile ROM Development] TheATHEiST:
bump.

Surely somebody knows, It was definatley here, infact ive still got it on HDD, I just wanted to read the topic again :(
[Touch HD Windows Mobile ROM Development] TheATHEiST:
300+ views not a single reply.

Isnt there any staff that can find out?
[Touch HD Windows Mobile ROM Development] -sanguine-:
Try Onkolog's wm6.1 superlite. It's here somewhere on page 3 or 4. Weights only about 50Mb.
[Touch HD Windows Mobile ROM Development] NRGZ28:
You could try contacting the guy that made the ROM.. maybe he'll reupload it... :rolleyes:
[Touch HD Windows Mobile ROM Development] alchopop:
I seem to remember you produced one didn't you?

Duh, of course you did, it was an energy rom
[Desire General] kraukscis:
How to update HTC Desier to Android 2.2
[Desire General] cyron_at:
due to there is no official 2.2 from htc you must flash a cooked rom. Within the cooked rom you'll find the flashing procedure.
[Desire General] kraukscis:
Thanks but what is cooked rom
[Desire General] ivarson_swe:
First thread, sticky in this section; http://xdaforums.com/showthread.php?t=696189 explains it all, you even have video-tutorials