I just recently installed ubuntu linux onto my android bionic phone and I must say I loved it!
I was having so much fun with it, but at the same time I was having too much fun. I started installing too many apps that were taking up more space and when i went to install another app i believe it was openjdk (java) "apt-get" gave me an error saying "dkpg" was out of space and i needed to do "dpkg --configure -a" to fix the problem...
then when i did "du -sh" it came back with "213MB".
After that problem happened when i tried to load ubuntu back up on my phone and run androidvnc to connect to the lxde desktop window manager (gui) it would say that androidvnc was connected to "localhost" but only show me a grey screen with an "x" that was acting like a mouse.
So now i am forced to format my sdcard and download and reinstall ubuntu linux all over again... (this is just part of the whole linux experience)
So now my big question is how do i make more room for linux and add more space so I can have more fun and downloand and install more interesting apps?
Is there something i need to do with "dd" ?
On a side note my sdcard is 16Gigs and my internal HD is 8gigs and when I got this error with "apt-get" and "dpkg" i had plenty of space still left so I am confused about where i need to make more room?
The only 2 files that I am using for ubuntu are "ubuntu.sh" (shell script) and "ubuntu.img" (image file). So i can only guess that everything that i download and install is going to the image file. So is there something i can do in either the android os or in ubuntu to make more space so i can add more apps?
I hope someone here on this forum has come accross this isssue and can assist me...
I came across this very interesting article that talked about installing metasploit onto an android phone with linux. In the article it talks about adding more space for metasploit and adding an extra 1.5gigs.
the command he showed was this...
dd if=/dev/zero bs=1M count=XXX >> ubuntu.img
where XXX is the size (adding 1.5gigs would be)
dd if=/dev/zero bs=1M count=1500 >> ubuntu.img
what i am confused about is do i do this command in the android os in the terminal with the app "terminal emulator" or do i need to do this in linux.
i tried it on the android os and the android os has the app "dd" but it complained about /dev/zero
so i am not sure what to do next...
i really hope someone here can help me out
INFO about phone:
System Version: 5.9.902.XT875.Verizon.en.US
Model Number: Droid Bionic
Android Version: 2.3.4
if anyone here needs anymore information i will be happy to provide it...
I want to thank you all for your time and for your help,