[Q] Compcache errors - Tilt, TyTN II, MDA Vario III Android Development

Using DZO's fresh froyo 01-10-10_16 with l1q1d's 2.6.32 10-4-10 Kernel. When I go into terminal and run compcache.sh start, I get these error messages:
insmod: can't insert '/system/lib/modules/lzo_compress.ko': invalid module format
insmod: can't insert '/system/lib/module/lszo_decompress.ko': invalid module format
vm.swappiness = 30
Is that typical? I wasn't sure if compcache was really working properly or perhaps I may have done something incorrect?

Related

insmod error g1

I am trying to install debian on my rooted g1, us rc33.
This is what I type in the telnet client and I get this error. I am following this guide.
Code:
# # insmod $kit/ext2.ko
insmod: init_module '/sdcard/kit/ext2.ko' failed (No such file or directory)
What is wrong and how do I fix it?

Booting ubuntu loop devices failing

I have been booting ubuntu loop devices on my android for a while now and all of the loop devices i try to bind the ubuntu image to are giving me errors (I have only ever used /dev/loop7 but have tried to binf it to loop1, loop6, etc) I am getting the following error when trying to boot the device:
# bootubuntu
bootubuntu
mknod: /dev/loop7: File exists
losetup: /dev/block/loop7
mount: Device or resource busy
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
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 nonexistent
bootubuntu: cannot create /data/local/ubuntu/etc/resolv.conf: directory nonexistent
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
failed.
failed.
failed.
failed.
losetup: /dev/block/loop7: Device or resource busy
I have tried to delete /dev/loop7 and then boot again but same failure.
second
I have the same problem.
Not sure what else to do. i have used many directions ive found on cyanogen forums, XDA, and androlinux.com. i have partitioned and re-partitioned, copy and pasted so many files back on and off my sdcard. im tired.. the world is upside down.
makemyeyesbleed said:
I have the same problem.
Not sure what else to do. i have used many directions ive found on cyanogen forums, XDA, and androlinux.com. i have partitioned and re-partitioned, copy and pasted so many files back on and off my sdcard. im tired.. the world is upside down.
Click to expand...
Click to collapse
im having the exact same issue as presented too. any ideas?
Which kernel do you use? I got it working with rmk's cyanogen kernel.... You can find this kernel on the virtuous homepage / goodies or something like that
Sent from my HTC Vision using XDA App
hoffmas said:
Which kernel do you use? I got it working with rmk's cyanogen kernel.... You can find this kernel on the virtuous homepage / goodies or something like that
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
i tried a kernel from virtuous but not sure if its compatible with 7.1 of cyanogen. which version of cyanogen and what exact kernel were you using?
sry, i don´t remember if the kernel is compatible with cm7 or only made for sense...
it has been a time since installing ubuntu (actually it´s quite useless - so i uninstalled everything after beeing successfull )
anyway, you have to flash the kernel after installing the rom - so make a nandroid backup of your current rom and then flash the kernel.
hoffmas said:
sry, i don´t remember if the kernel is compatible with cm7 or only made for sense...
it has been a time since installing ubuntu (actually it´s quite useless - so i uninstalled everything after beeing successfull )
anyway, you have to flash the kernel after installing the rom - so make a nandroid backup of your current rom and then flash the kernel.
Click to expand...
Click to collapse
i tried with one of the kernels (it said it was an outdated one however) and my desire z got stuck at the htc screen. (thankfull for nandroid about then)
Here is the error i get however.
losetup: /dev/block/loop5: No such file or directory
mount: mounting /dev/block/loop5 on /data/local/ubuntu failed: Invalid argument
mount: mounting devpts on /data/local/ubuntu/dev/pts failed: No such file or directory
mount: mounting proc on /data/local/ubuntu/proc failed: No such file or directory
mount: mounting sysfs on /data/local/ubuntu/sys failed: No such file or directory
net.ipv4.ip_forward = 1
Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.4.4
bootlinux: cannot create /data/local/ubuntu/etc/resolv.conf: directory nonexistent
bootlinux: cannot create /data/local/ubuntu/etc/resolv.conf: directory nonexistent
Setting localhost on /etc/hosts
bootlinux: cannot create /data/local/ubuntu/etc/hosts: directory nonexistent
Created by KellyLewis3985 and BThomas22x!
Brought to you by Team BrokeDick!
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/loop5: No such device or address
Click to expand...
Click to collapse
looks like the kernel you use doesn`t support loopdevice...
as far as i remember i used this guide to prepar my phone:
http://forum.xda-developers.com/showthread.php?t=926794
one of these kernels:
http://files.virtuousrom.com/vision/kernels/obsolete/cyanogen/
and the ubuntu img from the nexusonehack
EDIT: maybe this guide is usefull too: http://androlinux.com/android-ubuntu-development/how-to-install-ubuntu-on-android/
I didn´t use cm7... I used a sense rom.
hoffmas said:
looks like the kernel you use doesn`t support loopdevice...
as far as i remember i used this guide to prepar my phone:
http://forum.xda-developers.com/showthread.php?t=926794
one of these kernels:
http://files.virtuousrom.com/vision/kernels/obsolete/cyanogen/
and the ubuntu img from the nexusonehack
EDIT: maybe this guide is usefull too: http://androlinux.com/android-ubuntu-development/how-to-install-ubuntu-on-android/
Click to expand...
Click to collapse
i tried the latest version of the mentioned kernel when it froze at htc screen.
and thats the exact tutorial i was following.
you reckon it be a good idea to try the other kernels?
Thanks in advance
probably the kernel doesn`t work with cm7...
i remember a quite complicated guide on the cyanogen homepage to modify the kernel for loopdevice support. (but im not a dev)
i used a sense rom (i think virtuous sense 2.0) to get the kernel working.
hoffmas said:
probably the kernel doesn`t work with cm7...
i remember a quite complicated guide on the cyanogen homepage to modify the kernel for loopdevice support. (but im not a dev)
i used a sense rom (i think virtuous sense 2.0) to get the kernel working.
Click to expand...
Click to collapse
I'll have a look into that. cheers dude

[Emulation] Linux/Ubuntu for android (compatible with cm7/miui)

Hello,
I am going to prensent you today how to install ubuntu on your android device. Some of you propably already tried ,and had problems
making it work (or not). I modified the tutorial to make it easier, and corrected things. I also modified some paths in the scripts so that it can work with
cm7, if you are not a cm7 user you can download the other scripts too.
I based myself on this tutorial:
http://androlinux.com/android-ubuntu-development/how-to-install-ubuntu-on-android/
So let's start !
First, download the following cm7-ubuntu.rar file (decompress and copy over the whole ubuntu directory to the exeternal SD card of your Android smartphone/tablet:
Download cm7-ubuntu.rar:
http://www.fileserve.com/file/KQWsbRG
If you are a miui user, download cm7-ubuntu.rar, and replace the scripts by these:
http://www.fileserve.com/file/Tu8WZP5
If you are a not a cm7 neither a miui user, download cm7-ubuntu.rar, and replace the scripts by these:
http://www.fileserve.com/file/tuVMB9h
1) Make sure your phone is rooted and that busybox installed (if you are on cm7 all is ok).
2) Download Terminal Emulator on the market. Open it and type “su” to enter super user mode, then type “cd /emmc” or "cd /sdcard/external_sd" if your are a miui user or "cd /sdcard" if you are not on cm7, and “cd ubuntu” to enter the ubuntu directory in your SD card of your Android device.
3) Next, type “sh ubuntu.sh” to run the script which will basically get your Ubuntu image ready to run on your Android smartphone/tablet.
If you get error messages, don’t worry and keep going.
4) Type “bootubuntu” to enter Ubuntu. (Next time you enter Ubuntu, you just need to type “bootubuntu” from your /emmc/ubuntu directory, no need to run ubuntu.sh again.
If you got “[email protected]” at this point, congratulations! This means your Android OS comes with loop device support and Ubuntu is now running “chrooted” on top of your Android OS!!!
However, if there is an error like : "losetup: /dev/block/loop2: No such file or directory", this propably means that app2sd is conflicting with your sdcard, so to solve that
move all your applications on your internal sdcard and try again. If this doesn't solve your problem, that means that your kernel doesn't support loop
devices in most of the case, try flashing other kernels.
If after that you still have problems post, and I will try to reply when I have time
5) How to Install Programs on your Ubuntu!
Once you’ve got Ubuntu running on your Android device, it’s time to install some Ubuntu packages(or programs).
Type “apt-get update” to update, this is the first thing you will need to do before installing any new programs.
6) How to Install OpenSSH-server on your Android Ubuntu!
Type “apt-get install openssh-server” to install OpenSSH-server. What is OpenSSH-server? If you want to connect to your Android Ubuntu via an IP address (and SSH into it), you will want to do this.
7) How to Install TightVNCServer on your Android Ubuntu!
If you want to access the GUI of your Android Ubuntu, you can install TightVNCServer, which allows you to access the Android Ubuntu via Android VNC app on your Android smartphone/tablet or even access it remotely from your desktop computer.
Type “apt-get install tightvncserver” to install.
8) How to Install LXDE!(optional)
Next, we will install LXDE (Lightweight X11 Desktop Environment). Although we can use Ubuntu’s default GNOME (and trust me I love that), LXDE takes up less memory so our GUI access will be faster.
If you like GNOME, you can skip this step though.
Type “apt-get install lxde”
How to setup xstartup file so that when TightVNCServer is started, the LXDE runs instead of GNOME:
Type:
export USER = root
vncserver
(here he will ask you for a password for vnc, then if you want a view-only password, this mean you connect to vnc and you cannot interact with ubuntu, say n if you don't want and y if you want)
cat > /root/.vnc/xstartup
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
icewm &
lxsession
Then press Volume-down&D togethe.
9) How fix language and start vnc at each boot:
Type:
touch /root/.bashrc
cat > /root/.bashrc
export LANG=en_US.UTF-8
export USER=root
rm /tmp/.X1-lock
rm /tmp/.X11-unix/X1
vncserver -geometry 1024x800 <== Here, you can change the resolution settings 1024×800 to the resolution of your liking. (Do not write that !)
Then again press Volume-down&D together.
10) Now we are going to reboot ubuntu to apply changes:
Reboot your phone, open Terminal Emulator again and type:
su
bootubuntu
Now your TightVNCServer is ready to accept any incoming connections from your phone or computer. Just point to the correct IP address and use port number 5901 to connect.
On your Android smartphone, just download the free app “Android-VNC-Viewer” and set the IP address to “127.0.0.1″ , port number 5901 and insert the password you set before in password.
Then enjoy !
SHUT DOWN UBUNTU: Sorry you have to reboot the phone, if you try to boot other ubuntu your phone will start to lag
Extra:
If you want more space to install programs & stuff, you can extend your user space without loosing your data.
Requirements:
Linux (you can make a live CD) or just an environment like cygwin for windows
Procedure:
1. UnZip Android or your present ubuntu.img file to your Home Folder. Or a folder of your liking (or even on your memory card!), just remember to cd before you do the following:
2. Open Terminal and Copy&Paste (Ctrl+C, Ctrl+Shift+V) this:
Code:
dd if=/dev/zero bs=1M count=XXX >> ubuntu.img
where XXX is the amount, in MB, by which data.img should be increased by.
My filesize started out as 256MB and I wanted a total of 512MB. That would mean I needed a extra 256MB, so I executed this:
Code:
dd if=/dev/zero bs=1M count=256 >> ubuntu.img
3. Run a file system check and file system resizer
Code:
e2fsck -f ubuntu.img
resize2fs ubuntu.img
e2fsck -f ubuntu.img
if prompted, press "y" for "yes"
4. Copy all of the Android files onto your SD card, put it into your phone...
Source: http://forum.xda-developers.com/showthread.php?t=737826
Sorry for my bad english
If you liked this thread, don't forget there is a Thanks button !
I have a problem with miui chamaleon rc2 . after i type bootubuntu i cant get [email protected] . im thinking that talonmtd dont support loopdevice but i have tried also with plapytus with no luck . you know i kernel with loop support for my rom ?
thanks
Do you have adb ?
MIU is based on cm7, you should have loop support...
do you have the error losetup : /dev/block/loop2: No such file or directory ?
im restarting device and i will copy all the commands . one moment
edit : i get this :
# sh ubuntu.sh
sh ubuntu.sh
modprobe: chdir(/lib/modules): No such file or directory
←[H←[Jmkdir: can't create directory '/data/local/mnt': File exists
←[H←[Jcd: can't cd to /emmc/ubuntu
chmod: 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 AndroLinux.com ,G2Hacks.com and Ne
eHacks.net
To enter the Ubuntu Linux console just type 'bootubuntu'
# bootubuntu
bootubuntu
mknod: /dev/loop2: File exists
losetup: /dev/block/loop2: No such file or directory
mount: mounting /dev/block/loop2 on /data/local/ubuntu failed: Invalid argu
mount: mounting devpts on /data/local/ubuntu/dev/pts failed: No such file o
ectory
mount: mounting proc on /data/local/ubuntu/proc failed: No such file or dir
y
mount: mounting sysfs on /data/local/ubuntu/sys failed: No such file or dir
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 non
ent
bootubuntu: cannot create /data/local/ubuntu/etc/resolv.conf: directory non
ent
Setting localhost on /etc/hosts
bootubuntu: cannot create /data/local/ubuntu/etc/hosts: directory nonexiste
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/loop2: No such device or address
No, verify you don't have applications on your external sd card, if there is, transfer them to the internal sd card
EDIT: Yes, verify you don't have applications on your sd card
i dont have application on sd card
Okay this is wierd !
2 possibilities :
1. busybox is not installed
2. Your phone do not support loop devices
Can you send me a file in your /proc/ directory named config.gz ? (sorry it is a pain in the ass...)
Oh sorry I forgot how is named your external sdcard ? emmc or sdcard ?
Rename it to *.gz . Xda dont accept gz extension . I looked to sh script and i think the problem is that in cm7 sdcard is /sdcard not /emmc .
my external card is named /sdcard/external_sd and is a 16 gb class 2 so is a bit slower
Okay I think if found, I going to post new scripts for you quickly, I just verify that you have loop support
EDIT: Yes you have loop support, it is scripts
Replace these scripts : http://www.fileserve.com/file/Tu8WZP5
AnonymeLex said:
Okay I think if found, I going to post new scripts for you quickly, I just verify that you have loop support
EDIT: Yes you have loop support, it is scripts
Replace these scripts : http://www.fileserve.com/file/Tu8WZP5
Click to expand...
Click to collapse
Dont worry , but please upload this to xda because i hate fileserve and i have to wait 1200 seconds to download another file . Thanks
Yes, I forgot it's quicker, but does it work finally ?
I think is better that you fix the first post with instruction for miui users
Ok works , thanks a lot
i maked an error .
after this cat > /root/.bashrc i typed :
export LANG=en_US.UTF-8
export USER=root
rm /tmp/.X1-lock
rm /tmp/.X11-unix/X1
vncserver -geometry 800x480
exit
so every time i run bootubuntu this shut down . XD what i have to do to fix that ?
Edit : im recopying all including new script and i will not do same error
I'm using Ubuntu since 2006, it's really nice to see that the interest in Linux is growing so fast!
thunderteaser said:
I'm using Ubuntu since 2006, it's really nice to see that the interest in Linux is growing so fast!
Click to expand...
Click to collapse
im using ubuntu since the first version of android XD . im using it in dual boot . but i have changed 5 pc since 2005 for too use . is in use 24h/7d also with overclock . super pc !!! super android !!
thunderteaser said:
I'm using Ubuntu since 2006, it's really nice to see that the interest in Linux is growing so fast!
Click to expand...
Click to collapse
We can't ignore linux
(
Alberto96 said:
i maked an error .
after this cat > /root/.bashrc i typed :
export LANG=en_US.UTF-8
export USER=root
rm /tmp/.X1-lock
rm /tmp/.X11-unix/X1
vncserver -geometry 800x480
exit
so every time i run bootubuntu this shut down . XD what i have to do to fix that ?
Edit : im recopying all including new script and i will not do same error
Click to expand...
Click to collapse
Oh never thinked we could be in such a situation
The .bashrc is inside ubuntu.img, I don't really see a solution appart redownloading...
Sorry
Wait, exit don't really close ubuntu I think, it juste close terminal you should still able to connect via vnc and modify .bashrc ! To shut it down do Ctrl+D

Ubuntu on Android

Has anybody got this working?
I've done some searching and a few people have said it works on the Play.
However:
Sent from my R800i using XDA
It works for me. It took me some time to get it working, but now it works. I tried several "ubuntu.img"s and "ubuntu.sh"s and I think I edited the ubuntu.sh that I'm using now and created some folders myself to be able to boot.
If I remember correctly, I used this app to download the files needed. The image that the app downloads is good because you can choose between Gnome and LXDE at startup. I'll post my ubuntu.sh file here so if the one from the app doesn't work and it's different from mine, try mine (it's attached)
All this was on the stock GB rom + kernel
I used the same app.
I tried your file:
Sent from my R800i using XDA
The screenshot isn't very good because it won't let me upload the full sized image. Incorrect filetype or something.
Sent from my R800i using XDA
$ export PATH=/data/local/bin:$PATH
$ su
# cd sdcard
# cd ubuntu
# sh ubuntu.sh
cut: not found
[: not found
[: not found
mknod: /dev/block/loop255: File exists
losetup: not found
mount: Invalid argument
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: mounting /sdcard on /data/local/mnt/sdcard failed: No such file or directory
mount: mounting /sdcard/external_sd on /data/local/mnt/external_sd failed: No such file or directory
net.ipv4.ip_forward = 1
ubuntu.sh: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent
ubuntu.sh: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent
ubuntu.sh: cannot create /data/local/mnt/etc/hosts: directory nonexistent
Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:
eth0: No such device
chroot: can't execute '/root/init.sh': No such file or directory
Shutting down Ubuntu ARM
failed.
failed.
failed.
failed.
failed.
failed.
losetup: not found
# su
# sh ubuntu.sh
cut: not found
[: not found
mkdir failed for /data/local/mnt, File exists
[: not found
mknod: /dev/block/loop255: File exists
losetup: not found
mount: Invalid argument
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: mounting /sdcard on /data/local/mnt/sdcard failed: No such file or directory
mount: mounting /sdcard/external_sd on /data/local/mnt/external_sd failed: No such file or directory
net.ipv4.ip_forward = 1
ubuntu.sh: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent
ubuntu.sh: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent
ubuntu.sh: cannot create /data/local/mnt/etc/hosts: directory nonexistent
Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:
eth0: No such device
chroot: can't execute '/root/init.sh': No such file or directory
Shutting down Ubuntu ARM
failed.
failed.
failed.
failed.
failed.
failed.
losetup: not found
#
Sent from my R800i using XDA
Does this folder exist on your device?
/data/local/mnt
If not, try creating it yourself, reboot, and see if it works.
I was getting this error too. After that I created some folders that were missing and it worked, but I can't remember which...
EDIT: also check if /data/local/mnt/etc exists, and create that too
Mnt existed but etc didn't. I created etc and got the same errors.
Sent from my R800i using XDA
What kernel and rom do you use?
Sent from my R800i using XDA
Stock kernel and TrueAncestor 1.4.
Sent from my R800i using XDA
Can you post what you get when you run the script without root permissions (before typing su)? Also, try updating busybox, if you don't have the latest version... If you look at the first error, it cannot find the "cut" command...
Sent from my R800i using XDA
Same error without su.
Sent from my R800i using XDA
Do you have busybox installed? What happens if you run "busybox" (in the terminal)?
Sent from my R800i using XDA
leots said:
Do you have busybox installed? What happens if you run "busybox" (in the terminal)?
Sent from my R800i using XDA
Click to expand...
Click to collapse
This:
$ export PATH=/data/local/bin:$PATH
$ busybox
BusyBox v1.16.2androidfull (2010-08-01 14:57:25 EDT) multi-call binary.
Copyright (C) 1998-2009 Erik Andersen, Rob Landley, Denys Vlasenko
and others. Licensed under GPLv2.
See source distribution for full notice.
Usage: busybox [function] [arguments]...
or: function [arguments]...
BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable. Most people will create a
link to busybox for each function they wish to use and BusyBox
will act like whatever it was invoked as.
Currently defined functions:
[, [[, arp, ash, awk, basename, bbconfig,
brctl, bunzip2, bzcat, bzip2, cal, cat,
catv, chgrp, chmod, chown, chroot, cksum,
clear, cmp, cp, cpio, cut, date, dc, dd,
depmod, devmem, df, diff, dirname, dmesg,
dnsd, dos2unix, du, echo, ed, egrep, env,
expr, false, fdisk, fgrep, find, fold, free,
freeramdisk, fuser, getopt, grep, gunzip,
gzip, head, hexdump, id, ifconfig, insmod,
install, ip, kill, killall, killall5,
length, less, ln, losetup, ls, lsmod, lspci,
lsusb, lzop, lzopcat, md5sum, mkdir, mke2fs,
mkfifo, mkfs.ext2, mknod, mkswap, mktemp,
modprobe, more, mount, mountpoint, mv, nc,
netstat, nice, nohup, nslookup, ntpd, od,
patch, pgrep, pidof, ping, pkill, printenv,
printf, ps, pwd, rdev, readlink, realpath,
renice, reset, rm, rmdir, rmmod, route,
run-parts, sed, seq, setsid, sh, sha1sum,
sha256sum, sha512sum, sleep, sort, split,
stat, strings, stty, swapoff, swapon, sync,
sysctl, tac, tail, tar, tee, telnet, test,
tftp, time, top, touch, tr, traceroute,
true, tty, tune2fs, umount, uname, uniq,
unix2dos, unlzop, unzip, uptime, usleep,
uudecode, uuencode, vi, watch, wc, wget,
which, whoami, xargs, yes, zcat
$
Sent from my R800i using XDA
Updated Busybox and got new errors.
$ export PATH=/data/local/bin:$PATH
$ cd sdcard/ubuntu
$ su
# sh ubuntu.sh
Checking loop device... FOUND
losetup: /dev/block/loop255: No such file or directory
Error: Unable to attach image to loop device! (Image = ./ubuntu.img)
#
Sent from my R800i using XDA
The image unzipped in a folder so I moved it. It's now verifying the checksum.
I wonder what the next error will be...
Sent from my R800i using XDA
. .
. .
What happened? How did it extract? Tell me moar! Getting a new error is good. It seems there was a problem with your busybox installation
Were you using my script when you got this last error? (I'm asking because my script works for me, and I have stock Rom with doomkernel)
Sent from my R800i using XDA
I got it working.
The new error was just the image file being in a folder in the ubuntu folder, so I had to move it.
It must have been a BusyBox problem, it worked after updating it. I think I'm using the file you uploaded.
I've been messing around on it and it works ok. Can you get sound when playing music & videos? I'm assuming it might be possible cos there's a music player.
Also, I couldn't access my SD card, is there a way to do that?
Sent from my R800i using XDA
I don't think VNC supports sound :/ There might be another way though...
As for the SD card, it mounts on /sdcard (in the Ubuntu filesystem. If you select Gnome, you will see it on the desktop! I'd post two screenshots but they are in PNG format and it won't let me post them from my phone
EDIT: here are links to the screenshots on my Dropbox
http://db.tt/TxzhASdX
http://db.tt/Yyu8iwwN
Sent from my R800i using XDA

[Stock GB 2.3.6] e2fsck damages filesystem, /data mounts in RO mode (can't boot)

Hello. At first I want to ask if any of you working on Gingerbread experienced "Force Close" loop on restart for many applications (for repair required format /data backup or restore via CWM)?
I spent a lot of time to get to the source of the problem, because even though the system version of JB's okay, it's GB is more stable and does not eat much RAM, moreover is much better for multitasking in the current situation.
Get to the point. The problem appears to be that from time to time, as in any filesystem, in the user partition (/ data) errors may occur that normally are repaired at boot time by e2fsck program. Moreover, in the case of my own and yet another piece of Samsung I8160 e2fsck is unable to complete repairs due to an error related to the library supports file systems.
When I connect ADB in recovery mode, umount /data and issue the command "e2fsck -y -f /dev/block/mmcblk0p5" the mass of errors are discovered, and repairing starts, but of course does not end well:
Code:
"FILESYSTEM WAS MODIFIED,
invalid argument passed to ext2 library while rewriting block and inode bitmaps "
...which tells that filesystem was modified, but the wrong argument was passed to the filesystem library and the correct structure not been written completely, resulting in an even greater massacre on the partition. It is not difficult to guess that the system will not boot normally (/data mounted in read only mode), and applications will start the "Force close" loop .
The story is not only on my phone, but also in other arts. After formatting it for a few weeks until you see the error and restart. After restoring a backup via CWM has usually only until the next reboot.
Has anyone experienced this? Is anyone able to solve this problem?
I tried stock ROM and kernel, reflashing, substitution of e2fsck binaries and libext2fs libraries. Chip does not have bad blocks, checked by dd command and calculated CRCs.
Please don't reply "do full wipe," not considering myself an Android noob, I want to solve the problem.
Have you ever tried to do filesystem check on Gingerbread and did it work for you? "e2fsck -y -f /dev/block/mmcblk0p5" ?
Can you restart the phone without problem?
Can you try if it works now?
Part of the log with dmesg at boot:
Code:
<4> [10.306152] EXT4-fs warning (device mmcblk0p5): ext4_clear_journal_err: Filesystem error recorded from previous mount: IO failure
<4> [10.306213] EXT4-fs warning (device mmcblk0p5): ext4_clear_journal_err: Marking fs in need of filesystem check.
<4> [10.331756] EXT4-fs (mmcblk0p5): warning: mounting fs with errors, running e2fsck is recommended
You can try
1.Boot in recovery mode(NEED CWM-Based Recovery).
2.Select "mounts and storage".
3.Select"mount /data".
4.Reboot.
But It's not really solve the problem because you need do these step when you boot your phone everytime, but this is the only solution(as I know) until who have better solution......
Sorry for my poor English......OTL
This is not possible...
Sent from my GT-I8160 using xda app-developers app
Maybe reflash your fw with odin you can download your fw at sammobile
I tried this, flashing JB and GB back. It seems that CWM 5 formatting procedure is buggy. When I format thru my own binary mke2fs this error is gone. So...
Sent from my GT-I8160 using xda app-developers app

Categories

Resources