Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,782,840 Members 40,125 Now Online
XDA Developers Android and Mobile Development Forum

Debian on LG P500 !!

Tip us?
 
ashupulse
Old
(Last edited by ashupulse; 15th February 2011 at 07:11 AM.) Reason: links updated !!
#1  
Member - OP
Thanks Meter 29
Posts: 49
Join Date: Oct 2009
Location: Delhi
Cool Debian on LG P500 !!

NEW USER THEREFORE LINKS ARE IN ATTACHMENT ...

What i did ...

1. Download the debian installer from here

LINK#1 IN ATTACHMENT

uploaded with the updated installer script and bootdeb script ...

2. Download to replace the bootdeb file in debian with the bootdeb file below

LINK#2

3. Download to replace the installer.sh in debian directory with the installer

below

LINK#3

3. Unzipped the file on my computer. This created a directory called "debian".

4. Moved the whole debian folder in the root directory of memorycard (root)

using the data cable. After this I disconnected the cable.

4. Opened ConnectBot in p500, choosed local connection.

Download it here : LINK#4

5. Became root by typing: su -

6. Entered the debian directory in memory card:
cd /sdcard/debian

7. Launched the installer script:
sh installer.sh

8. Entered Debian console:
bootdeb

9. Launched the setup script: /scripts/onetime.sh

10. This should be the whole thing.....


but i got the error in executing installer.sh
the error for ext2.ko in /lib/modules
so i pushed the .ko file in the megatron ROM

and the final rom is here...

LINK#5


But it is still giving me error


I NEED HELP TO FIGURE OUT IN RUNNING DEBIAN TO THIS PHONE !!!

STEPS ARE HERE :

LINK # 6
Attached Files
File Type: txt LINKS.txt - [Click for QR Code] (415 Bytes, 350 views)
The Following User Says Thank You to ashupulse For This Useful Post: [ Click to Expand ]
 
lekhwani
Old
#2  
lekhwani's Avatar
Senior Member
Thanks Meter 255
Posts: 1,770
Join Date: Oct 2010
What is debian?
 
ashupulse
Old
#3  
Member - OP
Thanks Meter 29
Posts: 49
Join Date: Oct 2009
Location: Delhi
Its another operating system for pc's...!!

SAME LIKE THE UBUNTU...
 
kpbotbot
Old
(Last edited by kpbotbot; 15th February 2011 at 04:40 AM.)
#4  
kpbotbot's Avatar
Senior Member
Thanks Meter 63
Posts: 419
Join Date: Dec 2010
Location: In an ark.
Quote:
Originally Posted by lekhwani View Post
What is debian?
It's a Linux distribution where Ubuntu took it's code as its base.

@ashupulse: This one's easier: http://www.droidforums.net/forum/dro...ntu-droid.html

Look's like booting Debian and controlling it with a VNC client. Will test this one. Wanna see how well X11 works (though I doubt I can get it starting in the first place)

Note: If you're using a custom ROM or kernel taken from this forum, you may have ext2 support already. If unsure, check again in the threads. If you're using apps2sd, you have ext2 support.
‎( ) iPhone
( ) iPad
( ) iPad 2
( ) iPod Touch
(✔) iDon't have money
 
r0bot
Old
#5  
r0bot's Avatar
Senior Member
Thanks Meter 37
Posts: 197
Join Date: Feb 2011
Where Ubuntu *takes it's base from, the experimental software repository in Debian.

Sent from my VM670 using XDA App
 
ashupulse
Old
#6  
Member - OP
Thanks Meter 29
Posts: 49
Join Date: Oct 2009
Location: Delhi
Smile Installer.sh is working now !!!

Alrght i have got the installer working
but the problem is now with
bootdeb !!

Any help would be appreciated !!!
 
sarfaraz1989
Old
#7  
Senior Member
Thanks Meter 50
Posts: 613
Join Date: Jan 2011
Location: New Delhi
Quote:
Originally Posted by ashupulse View Post
NEW USER THEREFORE LINKS ARE IN ATTACHMENT ...

What i did ...

1. Download the debian installer from here

LINK#1 IN ATTACHMENT

uploaded with the updated installer script and bootdeb script ...

2. Download to replace the bootdeb file in debian with the bootdeb file below

LINK#2

3. Download to replace the installer.sh in debian directory with the installer

below

LINK#3

3. Unzipped the file on my computer. This created a directory called "debian".

4. Moved the whole debian folder in the root directory of memorycard (root)

using the data cable. After this I disconnected the cable.

4. Opened ConnectBot in p500, choosed local connection.

Download it here : LINK#4

5. Became root by typing: su -

6. Entered the debian directory in memory card:
cd /sdcard/debian

7. Launched the installer script:
sh installer.sh

8. Entered Debian console:
bootdeb

9. Launched the setup script: /scripts/onetime.sh

10. This should be the whole thing.....


but i got the error in executing installer.sh
the error for ext2.ko in /lib/modules
so i pushed the .ko file in the megatron ROM

and the final rom is here...

LINK#5


But it is still giving me error


I NEED HELP TO FIGURE OUT IN RUNNING DEBIAN TO THIS PHONE !!!

STEPS ARE HERE :

LINK # 6

I just dont want to flash megatron again to use that kernel modules...Can u tell us how to integrate that kernel modules in our "existing ROMS"..i mean i dont want to flash again.. HElp i was looking into this and then luckily u came up with this..Thnx
 
ashupulse
Old
#8  
Member - OP
Thanks Meter 29
Posts: 49
Join Date: Oct 2009
Location: Delhi
seems like i m near to it , let u know if support could be added to the default O.S !!
 
Tasssadar
Old
(Last edited by Tasssadar; 24th February 2011 at 03:55 PM.)
#9  
Tasssadar's Avatar
Recognized Developer
Thanks Meter 4,568
Posts: 701
Join Date: Dec 2010
Location: Brno

 
DONATE TO ME
Hi,
i was too wondering about using debian on our phone, and found this: http://www.saurik.com/id/10

It is basicaly just installing debian into image, which you can mount then and use its bash in chroot mode.

You can see some screenshots of htop, midnight commander or gcc-avr compiler (thats why I wanted debian).


PS: That thing with unionfs did not work for me yet, but i have notice I did something wrong, so I will give it one more try.

EDIT: yep, if you add unionfs patch to your kernel, it is working too.
Attached Thumbnails
Click image for larger version

Name:	htop2.png
Views:	410
Size:	40.5 KB
ID:	526197   Click image for larger version

Name:	htop1.png
Views:	349
Size:	55.6 KB
ID:	526198   Click image for larger version

Name:	screenshot.png
Views:	381
Size:	48.8 KB
ID:	526199   Click image for larger version

Name:	screenshot_6.png
Views:	318
Size:	10.6 KB
ID:	526200   Click image for larger version

Name:	screenshot_1_edit0.jpg
Views:	317
Size:	34.2 KB
ID:	526201  

 
sarfaraz1989
Old
#10  
Senior Member
Thanks Meter 50
Posts: 613
Join Date: Jan 2011
Location: New Delhi
Quote:
Originally Posted by Tasssadar View Post
Hi,
i was too wondering about using debian on our phone, and found this: http://www.saurik.com/id/10

It is basicaly just installing debian into image, which you can mount then and use its bash in chroot mode.

You can see some screenshots of htop, midnight commander or gcc-avr compiler (thats why I wanted debian).


PS: That thing with unionfs did not work for me yet, but i have notice I did something wrong, so I will give it one more try.

EDIT: yep, if you add unionfs patch to your kernel, it is working too.
How do i patch the kernel n i m also using the blog u mentioned..It just doesnt boot

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Twik Keeps Your Accounts Secure with Randomly Generated Passwords

If youre one of thosewho find it just an impossible task to keep trackof … more

Moto G 4G Receives Official CyanogenMod 11 Love

When theMoto Gwas initially released to the world in November of last year,very few actually … more

Get Your Tasks Organized on Android Wear with Agenda Wear

Having a checklist of things you need to do is something we all can find useful at … more

Top 5 LG G3 MODs – XDA Developer TV

The LG G3 has been LG’s breakout hit of the summer. Using their knowledge frombuilding some … more