yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] h00py:
Ububtulog reads

mount: can't setup loop device: No such file or directory
/system/bin/startubuntu: cannot create /dev/ubuntu/etc/resolv.conf: directory nonexistent
mount: mounting devpts on /dev/ubuntu/dev/pts failed: No such file or directory
mount: mounting proc on /dev/ubuntu/proc failed: No such file or directory
mount: mounting sysfs on /dev/ubuntu/sys failed: No such file or directory
Make sure you do a proper exit for a clean kill of Ubuntu!

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

Shutting down Ubuntu........
fuser: kill pid 4067: No such process

ROM is CM7

Titanium Backup tells me I have busybox "1.16.2androidfull"
[Desire HD Android Development] Jhinta:
info

BE THE SMART ONE TO MAKE A BACUP !!!!!!!!!!!!!!

Its a maveric on ext2 , only exit in terminal to exit nothing els

0 - get hd2 ubuntu 0.3 jsut google it and get the rootfs ubuntu.img/linux.img/rootfs.ext234 wat ever its the bigest file and name it ubuntu.img --> for 2

1 - make 2 or 3th partion ( mine is 50/50 fat32/ext2 )

DONT DO NEXT STEP IF YOU DONT KNOW WHAT YOUR DOING AND STOP EVERY THING !!!!:eek:

2 - sudo dd if=ubuntu.img of=/dev/sdb2 ( /dev/sdb2 is where my sdcard

PARTITION 2

is mounted in ubuntu Desktop takes some !!!TIME!!!,(run where ubuntu.img is))

2.1 reboot phone

3 - /sdcard/ubuntu/ubuntu.sh and do RUN IT !!!!!

# DONT TOUCH FIRST LINE !!!!

mount -o rw,remount -t ext3 /dev/mmcblk0p25 /system

rm -f /system/bin/bootubuntu

cp -f bootubuntu /system/bin

cd /

echo "Type 'bootubuntu' to boot Ubuntu"

4 - /sdcard/ubuntu/bootubuntu (if you have partition 2 like me its mmcblk1p2 ( 1 is disk-sdcard 2 is partition of disk, so 1p3 wil be disk 1 partition 3 ))

# DONT TOUCH FIRST LINE !!!!

mount -o remount,rw -t ext3 /dev/block/mmcblk0p25 /system

echo "SETTING VARIABLES"

export bin=/system/bin

export mnt=/data/local/ubuntu

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

export TERM=linux

export HOME=/root

if [ ! -d /data/local/ubuntu ]

then

mkdir /data/local/ubuntu

fi

echo "MOUNTING"

mount -t ext2 /dev/block/mmcblk1p2 /data/local/ubuntu

mount -t devpts devpts $mnt/dev/pts

mount -t proc proc $mnt/proc

mount -t sysfs sysfs $mnt/sys

echo "SETTING UP NETWORK"

sysctl -w net.ipv4.ip_forward=1

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

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

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

echo "All credits to original creator !!!!!!!"

chroot $mnt /bin/bash

echo "UMOUNTING"

umount -lfr $mnt/dev/pts

umount -lfr $mnt/proc

umount -lfr $mnt/sys

umount -lfr $mnt

5 - bootubuntu

6 - apt-get install openssh-server nano tightvncserver

7 -

export USER=root

vncserver -geometry 1024×800

8 - add this to the end of /root/.bashrc

export XKL_XMODMAP_DISABLE=1

export USER=root

cd /

rm -r -f tmp

mkdir tmp

cd /

vncserver -geometry 1024×800

9 - exit reboot

10 - add command -> netbook-launcher-efl to auto start application in system-> preference->startup applications

11 - Remove or uninstall any app that dont look right , like cpu setting in bar as this rootfs was settup for hd2
[Desire HD Android Development] Jhinta:
no more mounts error i belive and way beter handeling with netbooklauncher and maveric , btw any one know how to dd image to a ext3 or 4 it auto ext2 or convert ext2 partition to ext3 without loosing data
[Desire HD Android Development] kendong2:
just flashed cm7rc1, works fine for me?
[Desire HD Android Development] Nilu23:
this is what i get

i tried loop2, 3, 4 and 5
[Desire HD Android Development] Jhinta:
try my setup no loop needed
[Desire HD Android Development] kendong2:
be

very

careful with this command. you can easily destroy your harddrive if you get the command wrong.
[Desire HD Android Development] jkoljo:
+1 for dd being dangerous. It is one of the commands that can permanently brick a device if misused. I am not saying that people should stop using it.. But have great trust on the dev who says to use it, and follow the instructions with insane concentration :)
[Desire HD Android Development] zyssai:
my only way to execute linux code is android terminal.

it's ok?
[Desire HD Android Development] Jhinta:
So now for the brain storm http://wiki.meego.com/ARM/MSMQSD

So this is native linux for desire on the site its meego

So if you look ad the boot command for desire its

sudo ./fastboot -c 'root=/dev/mmcblk0p1 rw rootfs=ext3 init=/sbin/init rootwait noinitrd' boot zImage

Well for derie hd this sould be now ( we have rootfs already )

sudo ./fastboot -c 'root=/dev/block/mmcblk1p2 rw rootfs=ext2 init=/bin/bash rootwait noinitrd' boot zImage

Or somthing like that , and that sould boot native ubuntu but it doesnt :p

And i dont know why

root= mean root device or dir --> ubuntu rootfs as partition in my case mmcblk1p2

rootfs=ext2 -> kind of file system

init= where is init and load it

rootwait has to do with waiting for sdcard to mound

noinitrd -> dont load android internel mem (sort of )
[Desire HD Android Development] kendong2:
if you understand what you are doing then yes. from the sound of it you don't know it (no offense inteded btw), so i would strongly advise against it. the dd command writes a file to a device in a very raw mode, it only checks for the existence of input and output, doesn't care at all what it is. you could write sundays simpsons episode to your radio partition with dd (well, the first few minutes of it). rumors are that dd is short for Disk Destroyer.

and again no offense, but the instructions Jhinta gave are crap. not the instructions per se, but they are almost unreadable for a linux newbie. format those with some command blocks and maybe explain in whole sentences what happens, then it might work.
[Desire HD Android Development] Jhinta:
if you can partion in android you can , but i never don it in android but sould work
[Desire HD Android Development] kendong2:
do you have a zImage for the DHD that will work with a gnu environment? that would be the first step to get native ubuntu.
[Desire HD Android Development] zyssai:
thanks for your explain, and yes, new to linux world ;)

i will try to do sudo fdisk -l (tks to google ^^) to see if sdb2 is the good partition, right?

'cause jhinta said to make 2 or 3 partitions, but he don't said if sdb2 must be fat32 or ext2 :confused:
[Desire HD Android Development] kendong2:
here's how to make one, from same wiki:
[Desire HD Android Development] Jhinta:
almost all kernel (moded) have this even kexec

remove initrd not needit -> fastboot option noinitrd
[Desire HD Android Development] Jhinta:
basic , first is fat32 alway's becuase windows needs it ALWAY'S !!!!!

2 can ben ext2

3 can be swap

so when mount your sdcard in ubuntu DESKTOP you have to know where in this case ext2 is that you have to find i use gparted in ubuntu to find out.

So wehre ever you want to have the rootfs you can have it as long as you know where it is , if you wipe your hdd of your desktop its you own fould so make sure you have it right
[Desire HD Android Development] Jhinta:
info partitions setup

OPTION 1

1 - fat32

2 - ext2 ( rootfs )

3 - Swap (optionel)

OPTION 2

1 - fat32

2 - ext3 ( android app2sd )

3 - ext2 rootfs

4 - swap optionel

As long as your know where you want ext2 and where it is you can use it

In case of 3 - ext2 rootfs , this wil put rootfs on partition 3 on sdcard meaning boot file need to be change to mmcblk1p3
[Desire HD Android Development] zyssai:
thanks you for all your explains but i don't understand all :D

so now i just downloaded the hd2-ubuntu_0.3 rootfs file you tells and restarted from zero.

now i have 1.1Gb free space!! i don't know why :D

so, what will be the benefits for me to do all you explain on post #134?

i hope i'm not off topic with all my requests
[Desire HD Android Development] Jhinta:
instat of rootfs.img you now have a partition , you can even browser all files in android or on pc.

dont know the fact but i asume ext2 is faster dan fat32 with loop its ext2 file on fat32.

As a fact you dont need to do dd , you can swap rootfs file !!! its not needed.

( then you just have to modify boot to work )

its only that i like to run it like that and no more loop errors with any rom.

and easyer to reseze when needed with gparted

exit is working no more errors or device is bizy

Smal info When we create a rootfs with a type of cpu support it will run on all devices that have that type of cpu so hd2 rootfs is the same for desire hd because its a ARM cpu , there is no diverence in that !
[Desire HD Android Development] zyssai:
i will study that tomorrow :D

just small thing, in ubuntu, when i use the "d" character with the android keyboard, the windows that i use is automaticaly minimized

for example, i launch firefox, i type abcd and firefox will be minimized :confused:

edit: found it.

must go to system > keyboard shortcuts

in the row named "action", find "window management"

then find "hide all normal windows and....."

clic on the "D" shortcut

then on the desire hd use the "menu" button and go to "send command"

enter any command you will never use and clic "send" :)
[Desire HD Android Development] lesiohormon:
monitor mode on eth0 for using aircrack is not working can someone fix that i want to show the power of linux to my iphone mate :)
[Desire HD Android Development] DaM79:
Anybody tried Gimp on this? Or is this way out of possibility?
[Desire HD Android Development] h00py:
Cracking wireless keys with aircrack-ng won't work because the interface doesn't support packet injection.

You can, however, sniff packets on the network you're connected to with ettercap/wireshark/dsniff.
[Desire HD Android Development] Nilu23:
is it possible to set the geometry settings of ubuntu exactly to the format of dhd? like 800x480
[Desire HD Android Development] Jhinta:
not recommended
[Desire HD Android Development] zyssai:
I use this geometry and it's ok
[Desire HD Android Development] Nilu23:
how can i change the geometry settings when i set it to 1024*800?

or can i just do the commands again in first post and then use 800*480 instead of 1024*800?
[Desire HD Android Development] Jhinta:
in the file that you edit with vncserver -geometry 800x480

and i say again not recommended as windows do not fit in screen then its hard to push oke or exit windows
[Desire HD Android Development] Jhinta:
vncserver :0 -geometry 1024×800

The :0 prevents mutiple sesions ( not tested !!)
[Desire HD Android Development] alex freak:
Works fine.

But Bluetooth isn't working.
[Desire HD Android Development] vcivilen:
Yeah, how to get bluetooth working so that we can add HID devices directly.
[Desire HD Android Development] exyljr:
What differences would this bring to our devices? I don't understand what, if anything, it's going to do?
[Desire HD Android Development] bergfex:
"fastboot boot zImage" does not work on the DHD for me. I have to build a boot.img for my zImage, if I want to use "fastboot boot".
[Desire HD Android Development] iphonoid:
just bumping this up as it's damn cool we can do this and i'd love to see this go further!
[Desire HD Android Development] Jhinta:
Yep , boot zImage need ramdisk image to be able to boot , so that will be fastboot boot zImage ramdisk -> or fastboot flash zimage zImage

Also i was able to get framebuffer output but with in 5sec the screen is scambled.( lcd out of sync i think )

However -> about code-auora i cant get it to boot did you?
[Desire HD Android Development] DubelBoom:
nice!

but how can i get calls with this?
[Desire HD Android Development] Jhinta:
:confused: press pickup
[Desire HD Android Development] kendong2:
stop annoying people in online fora, learn something about computers, realise why your question is pretty dumb. then make some friends, wait till they call you, and as mentioned before press the green button.

or add smileys to your post if they are meant "funny".
[Desire HD Android Development] lpachuong:
how can we actually apply this into practice? I mean like with ubuntu on ur fone, what are u going to do with it?
[Desire HD Android Development] Jhinta:
lol :D what iḿ doing with it haa , not to be a pain in the x but you dont have to know:cool:
[Desire HD Android Development] lpachuong:
hahaha...that's what I am doing too...but don't feel enough and satisfied.
[Desire HD Android Development] ddulic:
Does any1 know if Cyanogen Mod 7 has this kinda of karnel with loopback support?
[Desire HD Android Development] mysterysnake:
I'm running CyanogenMod 7 nightly #30 on my desire hd, followed instructions in first post, works pretty good for me.
[Desire HD Android Development] dansharpy:
Ok this might be a bit noobish but, ive got it running and got the desktop up and everything but how do you type text??!! When i tap on a text entry box, the cursor changes but no keyboard pops up!! Do i have to change the input method or something somewhere?? Cheers in advance!! :)
[Desire HD Android Development] lpachuong:
Press and hold menu to bring the keyboard up.
[Desire HD Android Development] ddulic:
Cheers for the guide ;) Managed to get it all working :) But now i have a problem, it seems that i didnt properly exit ubuntu and now i cant run it via vnc again, says that the connection is refused, and when i do "s" from the ubuntu terminal it says "you'll have to kill the xvncserver process manually" does this for both kill :1 and kill :2 :( Any help :) ? Thanks in advance :)
[Desire HD Android Development] Walker Street:
The ubuntu.rar on page one is Ubuntu 9.10 not 10.10

Hi, I've installed the ubuntu.rar on page 1 of this thread. It's good old Ubuntu 9.10 Karmic Koala. The screenshots look like Maverick (version 10.10) though. I'm sorry if this has already been discussed, but I did a search for "karmic" and "9.10" in the thread and came up with no results. As I'm relatively lazy, I didn't bother reading every post. Where's the rar file for Maverick 10.10.
[XPERIA X10 Q&A, Help & Troubleshooting] Nankov:
Hi everyone. George Hotz is currently being sued by Sony for cracking the PS3, he has opened a blog asking for help and support from people to help him in the dispute with Sony, here is his blog: http://geohotgotsued.blogspot.com/ and site http://geohot.com/

Now he announced live on tv and all over the media that he will be the first person to crack the SE Xperia Play when it comes out, now the idea is to start this bounty thread and help GeoHot with his dispute in return of help with cracking the bootloader in our x10's. I beleive that all Xperia devices are locked the same way and thus cracking the x10 will also help GeoHot cracking the Play in the future. But we need to approach George in the appropriate manner and ask for help that is why i am starting this thread. This will help us also for all next models like the Arc, Play, Pro, Neo etc. So lets gather some donations and then approach George asking for help.

So please all people that are willing to donate just post the amount in red so it can be easily seen to better update the total amount.

I will donate $20 CDN

Total:
[XPERIA X10 Q&A, Help & Troubleshooting] fiscidtox:
there is already a bootloader cracking bounty thread.. why not just tally that up yourself instead of starting a new thread and expecting everyone to post again...
[XPERIA X10 Q&A, Help & Troubleshooting] Nankov:
Im sorry if i have offended you..your post sounds rude. I know there is a bounty thread and that is old maybe half the people are not here anymore, also i did not start the thread and i cannot edit it, this is to help Geohot and him to help us. Like i said we need a solid basis and support, i cant just show him the old thread where it mentions nothing about him and expect him to help. If the OP of the thread wants to do that ok i have no problem with that.
[XPERIA X10 Q&A, Help & Troubleshooting] Nagarebozhi:
This is Different, learn to read ffs!

I'm not rich at the moment but $30USD I can support with.

Sent from my ~FreeX10 2.2~DarkStyle~ Using SlideIT
[XPERIA X10 Q&A, Help & Troubleshooting] yetep:
I'll take on the couting up amounts..

USD AMOUNT

70$

GBP AMOUNT (based on start of week x-rate - indicative only)

£32.15

EUR AMOUNT (based on start of week x-rate - indicative only)

51.47EUR

I'll donate a percentage of the final total, come the end of February.

I'll get in contact with GEOHOT via the methods I have at the moment, will let you know what he says he usually gets back to me quite quick.
[XPERIA X10 Q&A, Help & Troubleshooting] totalundone:
I fail to see how this is any different?

A) This thread doesn't belong in Android Development.

B) This isn't any different than the other thread. Both threads are asking for money to give to someone to crack the bootloader. If Geohot wants to crack the X10 and if ever does, then I'm sure the money in the other thread would go to him.

C) The other thread is *only* 2 weeks old

D) This may all be a bit of 'negotiating' by Geohot. ie. Throw out the ridiculous lawsuit and I'll agree not to crack your SE bootloader. If not, I'll continue.

E) I don't think anyone is being rude but it's really a PITA (not the delicious kind) to come in the Development forum and see donation threads repeated ad naseum. He was simply stating facts.
[XPERIA X10 Q&A, Help & Troubleshooting] Bin4ry:
Have anyone of you wrote him?

Sure it would be great if he want to helps us, but i don't think so :D

But you can ask him, for sure i will provide the informations that i have about our phones and i think the others won't make secrets too.

Regards

Bin4ry
[XPERIA X10 Q&A, Help & Troubleshooting] awojtas:
Bin4ry you have an awesome attitude... there are some really negative people on this board, but you're helpful and friendly. Just want to say you're appreciated on here. Cheers dude.
[XPERIA X10 Q&A, Help & Troubleshooting] Nankov:
Hi Bin4ry this is why I started this thread to have some basis when we contact him and to show him that this is for him and that people are willing to support him in return of help with the bootloader cracking. Thank you for your help as the other person said you are really appreciated here and we could be where were at if it wasn't for you and the other devs.

People please stop complaining about the thread. If mods feel this should be moved or closed they can do so. I just believe we can make something out of this. So please if you want to help just post the amount or how you plan to help. Anyone that doesn't agree with the thread please don't post and start arguments., after all this is for all of us.
[XPERIA X10 Q&A, Help & Troubleshooting] chiefy009:
Why don't you contact him first get a figure or an agreement go help then get donations. At the minute it could all be a waste of time. Contact him first see what he says

sent from my gingerbread C64
[XPERIA X10 Q&A, Help & Troubleshooting] chiefy009:
Delete......
[XPERIA X10 Q&A, Help & Troubleshooting] blingin:
excellent initiative

very good initiative here, hopefully our 'bounty' can cover some of the legal costs and help out a good Samaritan like ge0hot. Power to the people!
[XPERIA X10 Q&A, Help & Troubleshooting] cruzin_cruzing:
Great News!!! I've got a response!!!
[XPERIA X10 Q&A, Help & Troubleshooting] arj154:
wtf are people talking about!:mad:

Geohot is just a glorified hacker who's a media whore. He didnt crack the ps3, Fail0verflow did and they didnt release the private keys, geohot did, all he did was make piracy an option for ps3 owners and cause honest consumers grief or at least he will do. Also he is just in it to get publicity as he thinks that some big company will hire him. Any good company will see through his stupidity. Sorry i just really dont like Geohot... I think the SG playstation podcast explains it pretty well.

I doubt he'll do it, when he tried to hack the ps3 before he failed and when others analysed his work it seemed like a very stupid way to do it.

He hasnt had that much experiance with android/mobile devices like j and z and all the other brilliant devs around here. He's not as great as you might think, he's just an average hacker with a big ego and a lot of publicity.
[XPERIA X10 Q&A, Help & Troubleshooting] Nankov:
Like I said I think we need basis (something we can show) to contact him and ask for help thus the thread... to show effort. Anyway since he already responded we can maybe offer to help pay for his x10 you guys decide.

To the person above.. he might be a lot of things but he did hack the iPhone and I think he is a good hacker despite ego media etc.. we need help with the bootloader and we got nothing to loose. So don't start arguments this is pointless like I said... if you don't like the idea don't post.
[XPERIA X10 Q&A, Help & Troubleshooting] arj154:
i suppose, its just i dont trust him. I have a feeling he'll take all the credit when theres a 65+ page thread documenting various devs attempts at hacking the bootloader. Also i just feel like people praise him a bit too much so it annoys me.

I'll give him the sorta benifit of the doubt and hope that he actually does make some more progress with hacking the bootloader.
[XPERIA X10 Q&A, Help & Troubleshooting] cruzin_cruzing:
Don't you think that he has enough money from donations he already received.
[XPERIA X10 Q&A, Help & Troubleshooting] Nankov:
I think the same way but still there is a big chance also to your previous post as far as I know ios and android are both Linux based but I also don't think bootloadr has anything to do with OS.
[XPERIA X10 Q&A, Help & Troubleshooting] Nankov:
This is what I am talking about... he might be a millionaire or have tons of donations it doesn't matter.. what matters is our effort and what we have to offer and show that we are a strong community that needs help.
[XPERIA X10 Q&A, Help & Troubleshooting] OmegaRED^:
Lol.. i was banned from the SE forums.

For pointing out that the new range of phones don't meet standards.
[XPERIA X10 Q&A, Help & Troubleshooting] Morbidx13:
dont meet what standards?

oh and to the guy who posted the screenshot, probably not wise to have Geohots web address posted on a public forum although i assume its there as proof
[XPERIA X10 Q&A, Help & Troubleshooting] FabricioGS:
I would donate several dollars if he crack the X10 bootloader, I don't care about Xperia Play.
[XPERIA X10 Q&A, Help & Troubleshooting] -- X10B --:
ill donate my wife if i had one.

seriously i think he is busy right now about his case,

cracking the bootloader is not in his to do list right now.

if only x10 2.1 had flash i think some people will be happy about it or even just froyo.

ill donate 10$ tru paypal if ever he crack this one.
[XPERIA X10 Q&A, Help & Troubleshooting] adithefunkid:
Can somebody talk to geo about x10??
[XPERIA X10 Q&A, Help & Troubleshooting] adithefunkid:
Usd 100 anytime for bootloader
[XPERIA X10 Q&A, Help & Troubleshooting] Eugene1991:
READ: http://xdaforums.com/showpost.php?p=11529945&postcount=13
[XPERIA X10 Q&A, Help & Troubleshooting] GlossGhost:
This is awesome, atleast we have progress even small.

We'll see what he'll do with our device :)
[XPERIA X10 Q&A, Help & Troubleshooting] MarylandCookie:
I didnt want to bring this up before but i have spoken to him just before the proverbial hit the fan and he did say he will look at the x10. Thats all we need to know, however as for donations he did state that he was not taking any on the sole purpose of working on the x10 due to legal implications.

However having said that, if anyone wants to donate you can do when he decides to open the second round of donations for his legal "battle" and just add a descrete note to the donation, something like "hope you work on the x10 next ;) " or "Good luck on your next project the Xperia x10" etc etc

You get the idea. :)
[XPERIA X10 Q&A, Help & Troubleshooting] fonzthegreat:
I dont know why some people fail to realize this. QFT!
[XPERIA X10 Q&A, Help & Troubleshooting] FRAPSROOTET:
Dont mock Geo... watch this http://www.youtube.com/watch?v=zM4nDoxoYgQ

Hes cracked the iphone, and will proceed to help us all, since hes statement says " All information Should be Free about AOSP etc...
[XPERIA X10 Q&A, Help & Troubleshooting] l3ush:
Monday, February 21, 2011

First round of donations is closed