yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] guyiom:
please help ;)

Hello All and thanks for the great work.

I have some questions regarding the installation :

You mentionned

Things required:-

1)Root

2)Busybox

3)Terminal

4)VNCserver

Do you find vnc server and busybox from the market ? If yes, then which one as there are many.

You also mentionned :

Things to be Done Manually and only once:

1)You will manually need to remount the /System folder using root explorer or Termial.

2)you will need to create the Following folders using a file explorer only.Please dont use a terminal for this as that will have some unwanted effects

a)/data/local/mnt

b)/data/local/mnt/sys

c)/data/local/mnt proc

Is the command for remoutuing system as follow ?

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

Also when I use Astro File Explorer, I cant create a folder in there. I tried also with ES File Explorer, and here it says failed to create the folder. What software do you use ?

Thank you

guyiom
[LG Optimus 2x] PYCON:
Removing reboot from script, well done... 1 step is done... :)

Here the error...
[LG Optimus 2x] SimDroid:
AndroidVNC can be found here:

http://code.google.com/p/android-vnc-viewer/downloads/list

Busybox is on the market.

You will have to use the app "Root Explorer" that also is on the market, to be able to create those folders (beacuse it has root permissions).

In Root Explorer you can mount the system folder with one button.
[LG Optimus 2x] Striatum_bdr:
For Froyo users:

If like me before the script doesn't work, and give a loopback mounting error try this:

MOVE all APPS to the Phone !

(using titanium backup for example to perform all the moves in one action)

It seems that App2SD interferes with loopback mounting !!

It worked very well for me, and then no more problems.

Probalby the problem doesn't concern CM as internal SDcard is not used.

(Using Slick 2X 4.1 Froyo)

(Found here in the last post: http://tabletroms.com/forums/archive/index.php?t-386.html&)
[LG Optimus 2x] guyiom:
Thank you.

Is there any free alternative to root explorer ?
[LG Optimus 2x] SimDroid:
Try Super Manager , looks like it has root too.
[LG Optimus 2x] manasgirdhar:
this is not the full error.i need the screen shot of everything bthat comes below sh debian
[LG Optimus 2x] PYCON:
There's a way to stop the scrolling of istructions in terminal to do the screen ?
[LG Optimus 2x] manasgirdhar:
mount -o remount,rw -t ext3 /dev/block/mmcblk0p1 /system
[LG Optimus 2x] Striatum_bdr:
I use File Expert, has many functions, and can mount in read/Write access if you are rooted.
[LG Optimus 2x] SimDroid:
Try to scroll up the page with your finger on the screen? :rolleyes:
[LG Optimus 2x] drrogern:
Hi, Im planning on trying this but was wondering if its possible to use the hdmi output while running linux?
[LG Optimus 2x] SimDroid:
Yes it is :)
[LG Optimus 2x] drrogern:
Thats just epic :D Thank you for the swift reply
[LG Optimus 2x] PYCON:
Ahahaha sorry sorry, u've right... :p
[LG Optimus 2x] SimDroid:
Have you created the folder?

/data/local/mnt
[LG Optimus 2x] PYCON:
Of course !!! :mad: :(
[LG Optimus 2x] manasgirdhar:
Backup current Rom and Data.

Wipe Data and cache.Reflash cm7 R.C.1

install only terminal,file explorer and vnc.Nothing else.

create /data/local/mnt

try to run the script.

Let me know what happens.
[LG Optimus 2x] PYCON:
Terminal is included in CM7 rom... No need to install it... :confused:

Anyway, I've cleaned my phone this morning :

* 3 wipes

* CM7 RC1

* Vork Kernel

* RIL 22.06

* SD Swap

* VNC

* File Expert

Same situation of yesterday and present... :(

EDIT : /data/local/mnt still remains in internal sd after a new rom... ;)
[LG Optimus 2x] manasgirdhar:
Dude...you ****ed up.

/data/local/mnt is not supposed to be on any card.It is supposed to be in internal Memory.(phone memore).Not on any card.that was the mistake.
[LG Optimus 2x] PYCON:
:confused:

If I try to create in the whole root with File Expert, I get "can't create the folder" :confused: How it's possible ?!

EDIT => okkkk !!!! root options enabled in File Expert... Ok, I've created the MNT in LOCAL

and now in terminal I get a final string : root@localhost:/#
[LG Optimus 2x] SimDroid:
Congratulations :D

Now all you need to do is type "ui" , and then connect via VNC ;)
[LG Optimus 2x] PYCON:
Ya it works !!! :D:D:D:D

Thx u !!! It's far from ubuntu gui I've on the netbook

and it's not so easy to use but it's a good beginning !

:cool::cool:
[LG Optimus 2x] manasgirdhar:
Great.Glad you finally got it working.
[LG Optimus 2x] SimDroid:
Make sure you have tried the different input settings to make it easier to navigate...

Can I find pictures and files from my Ubuntu when back in the android ui..?
[LG Optimus 2x] manasgirdhar:
Nope.Sorry.I am still working on that.Trying to mount our sd cards when we run linux in chroot.When it works i will update.
[LG Optimus 2x] SimDroid:
Cool, that would be awesome...

Is there some way to shut down Ubuntu without having to reboot the phone?
[LG Optimus 2x] manasgirdhar:
Edit the script.Remove the last line "reboot".Save.run script.when you exit it wont reboot.

It is not at all advised as that may not free the mount points or the memory.
[LG Optimus 2x] PYCON:
So, for example, if I would like to download my favorite distro ( latest Linux Mint ), I can simply copy the iso renaming it as "ubuntu.img" and boot it ?! :confused:
[LG Optimus 2x] manasgirdhar:
No.chroot images need to be specifically created and tested.It is not so easy as to just download an image.rename it and run it.

Later om i may create a few more images.My exams start month so i need to concentrate on that.I will still work on new distros.but it will be slow work
[LG Optimus 2x] PYCON:
Ok, up to now good job :p

I'll remember to charge paypal... ;)
[LG Optimus 2x] manasgirdhar:
Cool i will wait for your paypal.
[LG Optimus 2x] guyiom:
thank you for your support

Hello again :)

I successfuly created the /data/local/mnt, /data/local/mnt/sys and /data/local/mnt/proc folders with File Expert.

Here are the output of the scripts :

# sh ./prep.sh

Script Created by Manas Girdhar @XDA-Developers

This Process SHOULD not damage your android O.S

I Take no responsibilty if you **** up your device

Please consider Donating to support my work

Mounting System as Read/Write

failed: No such file or directoryp5 on /system

Copying Required Files to the system folder

Copying Busybox

Copying mknod

Copying mount

Copying losetup

Copying debian Script to System/bin for direct access

Now please manually create the Mount Directories Specified in the Read Me File

Please consider Donating to Support My Work

: not found

#

# sh ./debian

Script Created by Manas Girdhar @XDA-Developers

This Process SHOULD not damage your android O.S

I Take no responsibilty if you **** up your device

Mounting system as R/W

Exporting Kit

Exporting Bin

Exporting Mount

Exporting PATH

Exporting TERM

Exporting Root

Creating Nodes

Mounting Image on loop Device

ioctl LOOP_SET_FD failed: Device or resource busy

Mounting Devpts

mount: No such file or directory

Mounting Proc

Mounting Sys

Initialising Debian Linux

Running Linux Kernel

net.ipv4.ip_forward = 1

Type EXIT to quit debian and go back to android

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

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

umount: can't forcibly umount /data/local/mnt: Invalid argument

Filesystems have unmounted

Detaching the Loop Device

losetup: /dev/loop0: Device or resource busy

Loop device successfully detached

Quit Debian successfull

Device will Reboot in 5 Seconds

Device will reboot in 4 Seconds

Device will reboot in 3 Seconds

Device will reboot in 2 Seconds

Device will reboot in 1 Seconds

#

Do you have an idea of hat is wrong ?

I am also a bit confused. In the installation requirements, there is busybox, but in the debian folder there is a busybox file.

Any help welcome :)

guyiom
[LG Optimus 2x] manasgirdhar:
Something is stopping the loop.What all do you have installed in android?
[LG Optimus 2x] manasgirdhar:
Gonna try for Native debian booting soon.Wish me luck
[LG Optimus 2x] Rypac:
Good luck ;)

I'm really keen to try this out.

Sent from my O2x
[LG Optimus 2x] manasgirdhar:
Try out what?Chroot or native debian?
[LG Optimus 2x] PYCON:
Native, I think... ;) It's possible to use another UI than LXDE ? :confused:
[LG Optimus 2x] guyiom:
I have. Whole lot of stuff installed ...

I will try later after a full wipe
[LG Optimus 2x] Fendria:
I'm also dont get it working :(

Thats what I did:

created the directorys with ES File Explorer

# ls /data/local/mnt
proc
sys
#

then I remounted it:

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

# sh ./prep.sh
Script Created by Manas Girdhar @XDA-Developers
This Process SHOULD not damage your android O.S
I Take no responsibilty if you **** up your device
Please consider Donating to support my work
Mounting System as Read/Write
failed: No such file or directoryp5 on /system
Copying Required Files to the system folder
Copying Busybox
Copying mknod
Copying mount
Copying losetup
Copying debian Script to System/bin for direct access
Now please manually create the Mount Directories Specified in the Read Me File
Please consider Donating to Support My Work
: not found
#

after the second script comes the reboot...

So I could only get the failure, because I don't know how to relocate stdout and stderr...

mount: can't setup loop device: No such file or directory
mount: mounting devpts on /data/local/mnt/pts failed: No such file or directory
chroot: can't execute '/bin/bash': No such file or directory
umount: can't forcibly umount /data/local/mnt: Invalid argument
losetup: /dev/loop0: Device or resource busy

What am I doing wrong?

and which steps I have to redo every time I wanna start debian??

Thanks
[LG Optimus 2x] manasgirdhar:
Rom?and you pasted the folder in internalsd or external?
[LG Optimus 2x] manasgirdhar:
yes you can install others:-

Gnome(slow)

kdm(slow)

icewm(fast)

lxde(fast)-preinstalled

others-no idea,havent tried,will try later.

Native booting will have to wait.The first attempt screwed my sdcard.Will have to get a new one once i have enough Funds.After that will re-try the native boot.

P.S:Thank god i took a backup.
[LG Optimus 2x] manasgirdhar:
Yes,Please do that and let us know how it goes.
[LG Optimus 2x] Fendria:
Im using CM7 #67, and I pasted it on external ( /sdcard ) so that the folder is /sdcard/debian, just as in the description, first I tried it on internal but this did not work, because at sh ./prep.sh it said files on /sdcard/debian not found...
[LG Optimus 2x] Rypac:
Both actually ;)

I would have already tried chroot but I've sadly nearly exceeded my small internet download limit for the month :(

That's satellite internet for you I guess...

Sent from my O2x
[LG Optimus 2x] manasgirdhar:
Tell you what...edit the debian script.Remove the last line "Reboot".Save the script.Run it and then give me the whole error log.

Either the img is not getting mounted or something is missing.
[LG Optimus 2x] manasgirdhar:
Thats just sad.When your limit gets reset you can try it then.
[LG Optimus 2x] Fendria:
I ran it, but only the debian script not the prep-script ( that was what u wanted me to do, right? )

Output:

Script Created by Manas Girdhar @XDA-Developers
This Process SHOULD not damage your android O.S
I Take no responsibilty if you **** up your device
Please consider Donating to support my work
Mounting System as R/W
Exporting Kit
Exporting Bin
Exporting Mount
Exporting PATH
Exporting TERM
Exporting Root
Creating Nodes
mknod: /dev/loop0: File exists
Mounting Image on loop Device
mount: can't setup loop device: No such file or directory
Mounting Devpts
mount: mounting devpts on /data/local/mnt/pts failed: No such file or directory
Mounting Proc
Mounting Sys
Initialising Linux Kernel
Running Linux Kernel
net.ip4.ip_forward = 1
Type EXIT to quit debian and go back to android
chroot: can't execute '/bin/bash': No such file or directory
umount: can't forcibly umount /data/local/mnt/dev/pts: No such file or directory
umount: can't forcibly umount /data/local/mnt: Invalid argument
Filesystems have unmounted
losetup: /dev/loop0: Device or resource busy
Loop device successfully detached
Quit Debian successfully
Device will Reboot in 5 Seconds
Device will reboot in 4 Seconds
Device will reboot in 3 Seconds
Device will reboot in 2 Seconds
Device will reboot in 1 Seconds
Rebooting Now
[LG Optimus 2x] Rypac:
Oh well, could be worse. I could still be on dial up...

Anyway, thanks for all your hard work getting all of these up and running on the O2x. I can't wait to try it out and when I do I'll definitely send you out some relief funds... a man's got to have his coffee ;)

Sent from my O2x
[LG Optimus 2x] manasgirdhar:
Good for you then.I will be waiting for My coffee.
[LG Optimus 2x] manasgirdhar:
Something is wrong.

Either it cannot take the img file or the mount dir.

You created the mount dir in The Phone memory..right?And not on the memcard?

And the path for image is /sdcard/debian/debian.img

are both the above correct?
[LG Optimus 2x] Fendria:
Yes both correct

# ls /data/local/mnt
proc sys
# ls /sdcard/debian
1 debian mknod
ausgabe.txt debian.img mount
busybox losetup prep.sh

So both should be correct, but I don't know where 1 is coming from...
[LG Optimus 2x] manasgirdhar:
Try making a backup.Wipe.Reflash cm7.make the dirs.run the script.
[LG Optimus 2x] manasgirdhar:
is no one interested in running linux on optimus 2x???
[LG Optimus 2x] manasgirdhar:
Hey Guys,

It is time to report a liitle Bad News.

As Some of you May know i was working on A native Debian Boot.I had to partition my Sd card for that.And the poor Card Died.I will be getting a new Card soon and then will Continue the Chroot verions of the Distros.Arch Linux and Gentoo are in progress.I will also try to continue with the naive booting then.

In Native booting at the moment only the Kernel Remains.the bootstrap phase is finished.

So please co-operate with me and add the thread to favourites and keep checking back everyday.You never know when i may post what.
[LG Optimus 2x] SimDroid:
What is better with native boot instead of chroot?
[LG Optimus 2x] manasgirdhar:
In Native we dont need vnc.The speed would be faster.We could directly use the X-Server..Diffrent windows Managers.all in all the best of linux we can get only by Native boot.
[LG Optimus 2x] imayoda81:
hi there, as many are having problems, include the debian script i've edited in official debian.7z just to avoid frustration coming from being rebooted anytime.. low power users are fleeing :D ahaha
[LG Optimus 2x] manasgirdhar:
Mate i linked your Debian Mirror but i never downloaded it.Please give me the Script so i can post it.P.M me the script link.
[LG Optimus 2x] imayoda81:
there it is :)

minor changes

http://dl.dropbox.com/u/9515776/DEV/debian
[LG Optimus 2x] manasgirdhar:
Gentoo chroot successful.

Fedora chroot successful but error with users.Will look into it and the upload both of the images.
[LG Optimus 2x] XabdullahX:
Kinda boring that i cant make folders, change any permission :confused:

I am trying to install java :p
[LG Optimus 2x] manasgirdhar:
Which distro??
[LG Optimus 2x] XabdullahX:
Backtrack.

Cant create any folders anywhere, it tells me I can't because the destination is read only.

I tried chmodding the img file. But I can't. Everything I chmod.. Simply nothing happens
[LG Optimus 2x] manasgirdhar:
Will look into it once i get a new SD card.Chmoding wont do any good.You cant chmod in the sdcard.
[LG Optimus 2x] XabdullahX:
Cool, thanks.

But havent you tried it? is it just my phone or is it normal?
[LG Optimus 2x] manasgirdhar:
I never really tried.My Sd card got spoilt after a few Days.I will have to wait till i get a new card to put all my half completed projects in Motion.
[LG Optimus 2x] :
Hi! How did you get metasploit to work? When I ran msfconsole I get: "Command msfconsole is available in /usr/local/bin/msfconsole. The command could not be loaded because /usr/local/bin is not included in the path environment variable. Command not found."

How can I fix it?
[LG Optimus 2x] manasgirdhar:
when in linux terminal

Run it manually by :-

cd /usr/local/bin

./msfconsole.

add it to path:-

PATH=$PATH:/usr/local/bin/msfconsole

export PATH
[LG Optimus 2x] wc326:
if i do a wipe full system, and wipe data. cache.

and flash a new rom.

does it delete anything that was installed for this linix stuff. like the mnt/sys local/mnt files or anything that was installed when i ran ubuntu or debian from my previous rom.

or doi have to uninstall them manually ??
[LG Optimus 2x] manasgirdhar:
Everything goes away.you will have to re-create the folders.
[LG Optimus 2x] XabdullahX:
How can i install wine on one of these :p
[LG Optimus 2x] SimDroid:
How is it going?
[LG Optimus 2x] ClausG76:
There is a couple of dosbox ports for android. Adosbox and andosbox. They might run windows x86 software better.
[LG Optimus 2x] manasgirdhar:
Its on hold....i have not bought an external sd yet.will resume it as soon as i get a new card.

Before my card screwed up i was able to get the file system on the sd.needed to find a way to get the kernel to work.

At the moment i m still working on getting more distros to work in chroot
[LG Optimus 2x] XabdullahX:
It's because I want it in the gui.
[LG Optimus 2x] freudenbauer:
BT5 Mirror

@manasgirdhar: Feel free to add to first posts
[LG Optimus 2x] manasgirdhar:
Thanks a ton Mate.
[LG Optimus 2x] imayoda81:
FYI

usb master mode is almost done: benee developer has inserted the code in his latest kernel (vork) .. please somebody can test it??? as I have discovered mine adaptor (usb female - micro sub male) being not working (damaged)

immagine hdmi monitor and debian (&co) working with usb mouse and keyboard as a little full juiced computer, in the palm of your hand :D
[LG Optimus 2x] manasgirdhar:
Great.If i can get the Native boot to Work then even we will have the Host Mode in that as well.Anyway i dont have the adaptors.
[LG Optimus 2x] manasgirdhar:
has anyone here ever used gentoo linux?
[LG Optimus 2x] svceon:
yup

10chars
[LG Optimus 2x] manasgirdhar:
alright.the problem i am facing is that as soon as i type emerge and press enter.the chroot hangs.Any idea what to do?
[LG Optimus 2x] svceon:
i've actually worked using gentoo as a resource just for playing video clips that were transmitted remotely, other than that i do not have deep knowledge about linux or gentoo.

anyway, how about the system logs even after the hang/crash? it should store some system logs, cant remember the directory though
[LG Optimus 2x] manasgirdhar:
Yes.I guess that is what i will need to do.
[LG Optimus 2x] manasgirdhar:
Fedora image almost stable.Will upload it in 2-3 days.Anyone interested?
[LG Optimus 2x] freudenbauer:
Thanks to work i´m really tired but now I´ve got some time for playing around.

So sure. But haven´t tried the other distros as well. :(
[LG Optimus 2x] manasgirdhar:
Oh Mate,You are missing the fun then.Try BT5 and ubuntu...i just have to create the fedora ui start and end script...Download a nice windows Manager and then i will post that.been busy studying for exams even though they have been delayed and start next month.Anyway almost 12 am here..Gotta rest.Will complete fedora tommorow and then will upload that.
[LG Optimus 2x] SimDroid:
How's it going with Fedora? :)

Hey, im just curious.. is there any way to slim down any distro?

3GB is alot if you only have a 4GB Sdcard
[G1 Q&A, Help & Troubleshooting] cripgballerkundikusu11:
hi,

ive been checking the developement sections and i haven't noticed any new roms. there are updates for previous roms but no new roms? someone else should give gb sense a shot
[XPERIA X10 Android Development] Achotjan:
FreeXperia Achotjan Froyo 2.2.3

hi this is a SE like style Froyo cm6.2.0 ( 2.2.3 ROM ) by me, added Arc apps , widgets , settings and more

this rom is compiled using my own sources of latest cm6.2.0 sources and cm7 sources

​

Feature Inclueded In This Rom

--- ARC style ! ---

--- based on latest (Froyo) CM-6.2.0 ---

--- Lots of optimizations ---

--- Ported nice Features from Gingerbread ! ---

- EdgeGlow -

- Text handler -

- GB CRT screen animation -​

Credits :

Zdzihu , Jerpelea , DooMLoRD , Wolfbreak , doixanh , and Android team to make this possible for our x10!​

REQUIREMENTS

Rooted 2.1 eclair ROM or custom froyo 2.2 / gingerbread 2.3 with (multitouch kernel)

xRecovery

Baseband ALL baseband supported but work on older Kernel, 2.1.67/71 are verry stable!

ADDITIONAL APPS ADDED

added from 2.3.3 stock or Arc / Play rom

tetris (Xperia Play )

PlayNow

oficesuite (Xperia Play )

Quadrapop

Creatouch

Facebbok inside Xperia

Favorite and call log widged

Timer Widget

NeoReader

Timescape and timescape widget ! Arc Retail moded!

LiveWare Manager (from Arc)

PhotoWidget Big working !

WORKING ( Everything)

phone & data

location (GSM and GPS)

BT

WIFI

Multi Tuch (dualtouch)

sensors

Voice Command

GPS

USB Storage

video playback

video and audio streaming

camcoder

Themes

Honeycomb SJ Theme by Shiwantha use unique (AJ) Version !

Addons

Full Arabic patch by Ghaith Alshareef !

CHANGELOG

Check Post #2 for detailed changelog for each version

DONATION

If you want to contribute you can Donate :

http://xdaforums.com/donatetome.php?u=2482775

DOWNLOADS

​

INSTALLATION

Do a factory reset

Wipe Cache Partition

Wipe Dalvick cache

Wipe Battery stats

Flash the update.zip package via xRecovery

Optional : if you are using 46/49/52 baseband install the patch after the rom

Reboot and leave the phone alone 5min , Login into the market then reboot

Install new market via xRecovery , reboot

Go to CyanogenMod Settings / Status Bar . ( and the clock becomme white :) )

Enjoy !
[XPERIA X10 Android Development] azrull:
looking forward for your uploads
[XPERIA X10 Android Development] Tri3Dent:
Is there going to be a custom kernel rom?
[XPERIA X10 Android Development] Achotjan:
the custom kernel will be in addon , with bb46/49/52 the 3.52 Kernel will be in addon

and bb54/55/58/61/65/67 with zKernel

Cheers

Achotjan
[XPERIA X10 Android Development] yohorange:
Downloading!!!
[XPERIA X10 Android Development] abrarabbu:
Downloading...... Whats new in 6.2.2... i mean features

may be somme bugs present due to Edgeglow , and latest CM-6.2.0-RC

What it means? is rom unstable?
[XPERIA X10 Android Development] aval1392:
delete please
[XPERIA X10 Android Development] yohorange:
there is the download link for the zKernel for BB +.54
[XPERIA X10 Android Development] Justinhopaolo:
no signal.. installed the rom thn the zkernel from the op
[XPERIA X10 Android Development] kieronw3:
Any Eta on the 49/52 BBC rom .. ;-)
[XPERIA X10 Android Development] ripp2003:
you don't sleep ? Your post was edited at 4H00 AM !!!!........on Sunday lol

I'm gonna test this rom soon.

Thank you very much ;-)
[XPERIA X10 Android Development] kieronw3:
Have u tried the Dev tools crash system server.
[XPERIA X10 Android Development] xlmohi:
It is one of the best stable rom out there, thanks.
[XPERIA X10 Android Development] atanu89:
^ hey mate how do i get the zkernel for bb52 for your new v04 rom?

Thanks buddy
[XPERIA X10 Android Development] Justinhopaolo:
yes ri im on bb67
[XPERIA X10 Android Development] Achotjan:
zKernel is for 54/55/58/61/65/67 only !

for the 4xx/52 will be soon a package that will install the v3.52 Kernel

cheers

Achotjan
[XPERIA X10 Android Development] DooMLoRD:
great work!

BTW:

BB 54/55/58/61/65/67 come under 2.1.xx

BB 46/49/52 come under 2.0.xx

also correct me if i am wrong but the two rom versions will mostly be almost 90%+ identical right? only baseband related files will be diff? cant u just make it in for of patch? patchX if u are on baseband 2.0.xx / patchY if u are on baseband 2.1.xx

that way users need not download 150MB+ files... just small patches...

btw which boot.img version (of zkernel) worked for ur rom/this release?