Can I replace busybox? - Vibrant Q&A, Help & Troubleshooting

I have a shell script that uses wget to regularly pull a gif file off of a server to check its status. This script worked fine when I was running Eugene's Vibrant9, but when I replaced that ROM with Bionix Fusion 1.2 the script stopped working. wget only pulls down a portion of the gif and stops.
I just installed Nero v3 and really like it. But the issue with wget remains. I would like to replace busybox with a version with a working wget.
So, with that in mind, is it possible to pull the busybox out of Eugene's Vibrant9 and push it onto my phone running Nero?
If not, I think that I have adequately explained the problem, so any other suggestions as to get a working wget would be well appreciated.

Related

Insufficient storage?

I've compiled 2.1 from source and I ran in to a problem. The device will boot and the touchscreen,keyboard, apps, and the phone all work but i'm having a problem trying to install apps from the marketplace. when i download an app it will download ok but always says installation unsuccessful and says insufficient storage. I checked the phone storage and it's over 100mb so i'm clueless as to why i'm getting this error.
I'm also having problems getting the sound working. I can select ringtones but nothing ever plays. I've copied the proprietary files from a ROM i was using on the device prior to flashing this and added them into this ROM. any help is greatly appreciated.
1) Try this from a command prompt (terminal app or adb shell):
chown system.system /data/app
chmod 0771 /data/app
If this works, you should add this to your update-script before flashing again:
set_perm 1000 1000 0771 DATA:app
2) Not sure about the sound issues, although I have an AOSP 2.2 ROM that acts the exact same way.
you actually inspired me to try to make my own ROM. I used your android builder and dsixda's kitchen. let me know if you figure something out with the sounds. It took me long enough to figure out how to get it to recognize the SD card.
That worked. I'm also havings issues with the camera and softkey lights. i copied the lights file into the proper folder but they still don't work. camera doesn't do anything either.
setcpu also for some reason can't get root either, it says root access not detected but i have su in /system/bin. too many problems!
update. apparently my permissions are somehow screwed up. i can use ADB and have root access but from the device itself using a terminal emulator i've figured out i don't have full root. any suggestions?
fixed the su issues. i had to adb remount and adb shell and chmod 06755 /system/bin/su if anyone was wondering
I'm still having issues with sound, camera, etc. i have moved all the proprietary files from a stock HTC 2.1 ROM over and i'm still having problems. I'm now using the new CFS kernel from conap and decad3nce and got overclocking to work. The main problems are sound and the softkey lights, once i get those working i can use this ROM everyday and work on the wifi, bluetooth and camera. If anyone has any tips or knows any other libs that might work it would be great.

[Q] Has anybody successfully installed OPENVPN on KF2 based roms ?

I have wasted more than 3 days trying to figure out how to configure openvpn
on S2.
I tried the following roms:
Villainrom 1.4
Cognition S2 v1.07
Skyrom 1.0
Lite'ning Rom v1.5
and none of them seems to work.
I tried everything mentioned in :
http://forum.xda-developers.com/showthread.php?t=1115984&highlight=openvpn
http://forum.xda-developers.com/showthread.php?t=1074492&highlight=openvpn
but openvpn does not work.
I also own a HTC desire and configuration files work without a problem.
I tried manually installing openvpn as described in the posts but it does not work.
The problems are:
If I install openvpn manually as described in the threads above it does not connect to the openvpn server.
I installed openvpn from the market by selecting the folder for the binary
/system/xbin
and tried all the possibilities for path for ifconfig/route.
- /system/bin
- /system/xbin
- /system/xbin/bb
The default folder for ifconfig/route should be /system/bin (result from which ifconfig) and only that selection does not give the horrible
"FATAL: Linux ifconfig failed: could not execute external program".
but openvpn still does not work.
Any ideas ?
Hello,
I have the same problem, with same error
but I have successfully get connected to my vpn (vpntunnel.se) but its useless since the route doesnt use the vpn connection.
If anyone could help...
i have same problem too. some help would be good
Could this help?
I'd love to get this working too but I have not made any attempts yet so I'm monitoring this thread.
Searching for that exact error message on google led me to this thread which you may already have found.
In particular, even though it's about the galaxy i5800, the following comment may shed some light:
you may not use the pre-installed busybox from samsung (which is found in /sbin). It is a reduced version of busybox that does not include suitable ifconfig- and route-commands for openvpn. thus you have to install a full version of busybox... normally this is done, when you root your phone according to descriptions found in this forum.
you can alternatively install titanium backup (which installs its own busybox) and copy the "full" busybox from titanum backup to /system/xbin.
Click to expand...
Click to collapse
Try to do it but impossible for me. Im with lite ing rom. Check my configuration tomorow
Sent from my GT-I9100 using XDA App
Alright, so after going nutts (several times) I solved this issue (several times) only to always find I dont really know what the error is. But then again, I know more about Geological disasters than I know about Android ...
Anyways, heres my solution which appears to work. However, it goes away once you reboot (easily fixed) and disappears completely after you update firmware - but I made shortcuts.
The thing is, that the original busybox is not installed where openvpn looks for it. Regardless of this, openvpn has no idea how to use ifconfig / route commands in /system/bin directory.
So this is what I do:
1) Install busybox (from the market, get ver 1.19) to /system/xbin
2) Install openvpn to /system/xbin and point ifconfig/route to /system/xbin/bb (during installation).
3) Link the new busybox to the /bb directory MANUALLY with these commands (customized to steps 1/2 - you can change them to your liking but dont forget to update step 3 as well):
ln -s /system/xbin/busybox /system/xbin/bb/ifconfig
ln -s /system/xbin/busybox /system/xbin/bb/route
Click to expand...
Click to collapse
What it does is place a busybox link to ifconfig and route in /bb directory.
Funny thing - Whenever I tried linking ifconfig/route to other places (like /system/xbin) it just didn't work. It made the tunnel, but tun0 int was always down (thats why it says "connect to as xx.xx.xx.xx" missing the tunnel internal IP - as in, no routing).
Challanges - when you soft reset, something dies. Not sure if its the busybox or the links. However, simply "reinstalling" busybox to /system/xbin solves it (its not really reinstalling, its just going into the busybox installer. Its only recreating links).
When you install an update/new cfw, everything dies. Reinstall busybox and re-enter the link commands.
Hope this helps, hope some android programmer tells me why it works this way. gluck.

Broken Packages problem (ubuntu webtop)

Hi, I just installed the ubuntu webtop mod detailed in this thread:
http://forum.xda-developers.com/showthread.php?t=1119555
I now have Synaptic and LXterminal installed.
When I go into Synaptic, it tells me I have 25 broken packages. I click Edit then click Fix Broken Packages and hit Apply.
I get the error "E:/var/cache/apt/archives/coreutils_6.10-6ubuntu1_armel.deb: trying to overwrite '/usr/sbin/chroot', which is also in package rootfs.
Does anyone know how to fix this problem?
Thanks in advance.
I have the exact same issue. Has anyone ever posted a fix for it?
I had the same problem
This is an old thread but just in case someone comes looking again....
I had the same problem and "fixed" it by running the following for each package it failed on:
sudo dpkg -i --force-overwrite --root=/osh /var/cache/apt/archives/cpio_2.9-15ubuntu1_armel.deb
(this is for cpio but it works for other packages too). It looks as if the package manager is expecting the environment to hang off / when in fact it hangs off /osh.

NoTachTrix and Webtop2SD???

Has anyone had any luck running webtop2SD on this rom?
Sent from my MB860 using xda premium
yes, you have to instal bussybox installer form Google Play Store, then you need to change permissions of busybox in/system/bin/
Open permissions and uncheck "Set GID" permission, save changes.
Specifically, BusyBox by JRummy16, thats the one I used and it worked without modifying permissions . Just download it, and install BusyBox
When i attempt to install busy box, i lose super user permissions??? I have to reflash to get SU back?
What info do i need to grab to help me, help you, help me? Lol
Sent from my MB860 using xda premium
johng75 said:
Has anyone had any luck running webtop2SD on this rom?
Sent from my MB860 using xda premium
Click to expand...
Click to collapse
I just set this up today and am a relative noob about such things. Rather than download busybox, I used the following advice from Milestonefail on Nottachtrix.com, and it worked fine.:
***Use Root Explorer. Go to /system/bin. Scroll down to busybox. Click "Mount R/W" in the top right corner. Long press busybox. Choose "Permissions." Uncheck "Set GID"
Then I followed the XDA guides to the letter, and it worked great, with the exception of a TZ error at the end that caused difficulty when installing a new desktop and openoffice package. Easily solvable with a search though.
Bottom line on Nottachtrix 1.3.1, webtop 2 SD works great.
which version of W2SD did you use? for me version 1.1.0 loades but never sees the sd-card to format and move the webtop to, and 2.0.1 fails to load...
johng75 said:
which version of W2SD did you use? for me version 1.1.0 loades but never sees the sd-card to format and move the webtop to, and 2.0.1 fails to load...
Click to expand...
Click to collapse
I've got the exact same problem, i followed the guide partitioned my sd card but the webtop2sd 1.1.0 never sees the card, the 2.0.1 also fail to load. Could someone please help us with that?
EDID:
I did what ovitz said and everything went fine, i am executing the script now.
I used 2.0.1, which FC'd until I set the permissions on the busybox file. I did not install the Jrummy version, but rather just tweaked the permissions as noted above. I am running Nottachtrix 1.3.1 and webtop 2.3.6. It seems that a lot of folks still get bound up at this point, and I am not well-versed enough to know why that would be, but this worked for me.
Thanks, I reinstalled busybox and now webtop2sd is working. I didn't use any busybox installer.
Sent from my MB860 using XDA
ok, i installed the JRummy16 busybox and changed the premissions, i was then able to run version 2.0.1 of webtop2sd it finished
ran into issues running webtop config from the webtop, busybox was missing from /system/etc/webtop2sd folder so i added it there too and it ran fine...
after installing LXterminal i ran the webtop scripts
(http://forum.xda-developers.com/showthread.php?t=1192488)
then i added XFCE interface to replace default webtop
(http://forum.xda-developers.com/showthread.php?t=1420376)
last change really needed to install programs was to lock the 'tzdata' version in Package Manager
then edit the file to get rid of errors during installs
(http://forum.xda-developers.com/showthread.php?t=1420376)
all i can say is WOW, what a difference... thanx everyone... hopefully someone else that was missing steps like me can benefit from this...
Does anyone know how do I get lentras with accents on the laptop program in Openoffice? I refer to these accents á â â à é è ê õ and, is mainly and Ç. I really need the openoffice and, as my language (en) have these accents, the keyboard would have to have English-International (en-US) accentuating like any other en-US.
My system is usually accentuating the letters out of Openoffice, only Ç who did not enter.
Please help me ...
i have tried several times and i still get missing awn dock. I'm testing out gentop for a while.
Sent from my MB860 using XDA
el_venga said:
i have tried several times and i still get missing awn dock. I'm testing out gentop for a while.
Sent from my MB860 using XDA
Click to expand...
Click to collapse
I am having the exact same issue, how is gentop?
Edit: Fixed it, in your webtop2sd busybox set permissions to allow write from groups and others, then re-flash from webtop2sd app, reboot and see if that works.
webtop config not opening
Can anyone please point me in the right direction to fix this?
I have unchecked Set GID permissions in busybox and still webtop config will not load on lapdock. I have the awn manager and LXTerminal icons as well but they also do not load.
Nottachtrix 1.3.1
Webtop2sd 2.0.1
Faux 123 1.3 Ghz
32 GB w/ 10GB ext3 partition
edit: I have also tried through terminal emulator:
su
/usr/bin/sudo -H -u adas bash
export DISPLAY=:0
python /usr/local/bin/webtop-configurator.pyc
and I get
[sudo] password for adas:
again I am new to this so if anyone has any pointers as to some positive direction I can go to figure this out it would be most helpful and I will pray to the gods of linux that you receive many blessings
I also have a problem with webtop configurator. Webtop2sd installed everything successfully, but after the reboot when I click on the webtop configurator it does not starts. Just flashing for some seconds and that's all. Is there anybody who knows how to fix it?
International Atrix
Nottachtrix 1.3.1
Faux 1.0 GHz kernel
Webtop version: WT-1.2.0-110_OLY-6
In the terminal after these commands
su
/usr/bin/sudo -H -u adas bash
export DISPLAY=:0
python /usr/local/bin/webtop-configurator.pyc
I get this message:
Traceback (most recent call last):
File "./webtop-configurator.py", line475, in <module>
File "./webtop-configurator.py", line337, in _init_
AttributeError: 'module' object has no attribute 'Builder'
EDIT:
For me it is working now. I decided to go back to 2.3.4 webtop instead of fixed 2.3.6 webtop (fastboot erase webtop, install zip from CWM, install webtop2sd again) and now everything seems to be ok

[Q] Can anyone shed some light on a tun.ko installer problem?

I could use some guidance. I am running stock rom on my Vibrant (2.2, FROYO.UVKB5 to be specific) and it is rooted. I am trying to run Cisco AnyConnect, but have no built-in tun/tap driver (of course). I have used tun.ko installer and it worked for about 5 days. Now, anytime I run tun.ko installer, my phone reboots. I have trashed any programs that I had installed since tun.ko installer and even uninstalled and reinstalled the installer.
I am at a loss as to even where to begin troubleshooting this issue. Would someone please help this humble novice learn more about his problem?
Thank you.
Tun.ko is a Linux kernel module. You could try changing your kernel, or running a terminal and manually installing the module via modprobe and seeing if the phone stays up long enough for you to run a dmesg to look for error messages. I don't know how you can see the panic message as the kernel crashes on a phone, but maybe there is a way. An adb shell might last a little longer than an on-phone terminal in the event of a panic.
I actually went the easy route and am trying to use the Tun.ko installed app from VPN Droid, and getting the reboot issue. It seems to be rebooting when it is doing a check to see if the Tun/Tap module is installed, which it isn't right now. I don't currently have a linux box to build a tun.ko module for my Vibrant kernel to be able to manually install it or I would do that and just forget about the tun.ko installer.
Has anyone else seen this behavior at all? It's not like I have crazy custom ware installed or anything else nuts. I'm a little more advanced than an average user and haven't even jumped past the OEM ROM with ADW launcher. Not really the Dev type, but I'm not exactly afraid to go in and do what needs to be done. I just don't know what to do off hand. XDA-Developers and Google have been my best friends when working with my phone. I've just come to a brick wall on this one.
Flashing a kernel like Bali for 2.2 roms would help. It includes a tun.ko module. More info here...
http://forum.xda-developers.com/showthread.php?t=1043947
Yeah, I think I'm going to have to suck it up and get into flashing my ROM. I've just been hesitant because even though I have Titanium backup, I know I'll have to go through some downtime to do the flash. When I upgrade, though, I'll keep this to have a device to fall back on during maintenance and flashes.

Categories

Resources