[Q] Messed up Busybox - General Questions and Answers

Hello,
I am unable to install busybox
it says that "it looks like the installation of busybox was not successful.." and asks to install in some other location.
I tried Xbin and Bin but it could not be installed properly.
All app which need root permission are working fine.
I tried to uninstall and re install ..re install using busybox installer.
Also I re-flash CM 10 beta 6 ( Format /System ) deleted xbin , bin directory and reflashed rom) but nothing works
Its confusing that even after deleting xbin, bin directory formatting /system reflashing CM10 yet busybox is not installing.
PS: Busybox was installed successfully on stock ROM it was for a brief period was installed successfully on CM 10 as well. But when I reflash my rom (due to some reason) and tried to install busybox since then I am having problems
Any help is appreciated.
Thanks!

Nikhil_android said:
Hello,
I am unable to install busybox
it says that "it looks like the installation of busybox was not successful.." and asks to install in some other location.
I tried Xbin and Bin but it could not be installed properly.
All app which need root permission are working fine.
I tried to uninstall and re install ..re install using busybox installer.
Also I re-flash CM 10 beta 6 ( Format /System ) deleted xbin , bin directory and reflashed rom) but nothing works
Its confusing that even after deleting xbin, bin directory formatting /system reflashing CM10 yet busybox is not installing.
PS: Busybox was installed successfully on stock ROM it was for a brief period was installed successfully on CM 10 as well. But when I reflash my rom (due to some reason) and tried to install busybox since then I am having problems
Any help is appreciated.
Thanks!
Click to expand...
Click to collapse
Htc? if so then: S-off?
Check the space on the /system partition.
Do you have read and write permissions for root on /system/xbin?
Deleting xbin and bin will make you unable to install busybox for sure.
What application are you using to install busybox?
Run the commands below on your phone or through adb.
Code:
su
df
chmod /system/xbin/
chown 0:0 /system/xbin/
ls -l /system
Post the output from the commands above here.

Lgrootnoob said:
Htc? if so then: S-off?
Check the space on the /system partition.
Do you have read and write permissions for root on /system/xbin?
Deleting xbin and bin will make you unable to install busybox for sure.
What application are you using to install busybox?
Run the commands below on your phone or through adb.
Code:
su
df
chmod /system/xbin/
chown 0:0 /system/xbin/
ls -l /system
Post the output from the commands above here.
Click to expand...
Click to collapse
Yes HTC - S-off rooted and running on CM10
I have tried busybox Stephen (Stericson) latest version
and when it was not getting installed I have trued busybox installer as well
while installing /system/xbin has R/W permission
I deleted files in xbin as coz I didnt know what to do .. I deleted only those files which were created by busybox and then I immediately flashed the ROM, but even after flashing (and wiping /system through cwm) those files were still there.
Here is the output:
/system/xbin mounted as R/W as usual
Code:
[email protected]:/ $ su
[email protected]:/ # df
Filesystem Size Used Free Blksize
/dev 206.4M 48K 206.4M 4096
/mnt/asec 206.4M 0K 206.4M 4096
/mnt/obb 206.4M 0K 206.4M 4096
/system 235.3M 229.6M 5.7M 4096
/cache 59M 2.3M 56.7M 4096
/data 554.1M 447.8M 106.4M 4096
/data/misc 150M 2.5M 147.5M 4096
/data/property 150M 2.5M 147.5M 4096
/data/radio 150M 2.5M 147.5M 4096
/storage/sdcard0 6.8G 4.7G 2.1G 4096
/mnt/secure/asec 6.8G 4.7G 2.1G 4096
/mnt/asec/com.startv.gumrah-1 4M 2.3M 1.7M 4096
[email protected]:/ # chmod /system/xbin/
Usage: chmod [OPTION] <MODE> <FILE>
-R, --recursive change files and directories recursively
--help display this help and exit
10|[email protected]:/ # chown 0:0 /system/xbin/
[email protected]:/ # ls -1 /system
ls: Unknown option '-1'. Aborting.
1|[email protected]:/ #
/system/xbin mounted as r/o purposely
Code:
[email protected]:/ $ su
[email protected]:/ # df
Filesystem Size Used Free Blksize
/dev 206.4M 48K 206.4M 4096
/mnt/asec 206.4M 0K 206.4M 4096
/mnt/obb 206.4M 0K 206.4M 4096
/system 235.3M 229.6M 5.7M 4096
/cache 59M 2.3M 56.7M 4096
/data 554.1M 447.5M 106.7M 4096
/data/misc 150M 2.5M 147.5M 4096
/data/property 150M 2.5M 147.5M 4096
/data/radio 150M 2.5M 147.5M 4096
/storage/sdcard0 6.8G 4.7G 2.1G 4096
/mnt/secure/asec 6.8G 4.7G 2.1G 4096
/mnt/asec/com.startv.gumrah-1 4M 2.3M 1.7M 4096
[email protected]:/ # chmod /system/xbin/
Usage: chmod [OPTION] <MODE> <FILE>
-R, --recursive change files and directories recursively
--help display this help and exit
10|[email protected]:/ # chown 0:0 /system/xbin/
Unable to chown /system/xbin/: Read-only file system
10|[email protected]:/ # ls -1 /system
ls: Unknown option '-1'. Aborting.
1|[email protected]:/ #
Thanks

Nikhil_android said:
Yes HTC - S-off rooted and running on CM10
I have tried busybox Stephen (Stericson) latest version
and when it was not getting installed I have trued busybox installer as well
while installing /system/xbin has R/W permission
I deleted files in xbin as coz I didnt know what to do .. I deleted only those files which were created by busybox and then I immediately flashed the ROM, but even after flashing (and wiping /system through cwm) those files were still there.
Here is the output:
/system/xbin mounted as R/W as usual
Code:
[email protected]:/ $ su
[email protected]:/ # df
Filesystem Size Used Free Blksize
/dev 206.4M 48K 206.4M 4096
/mnt/asec 206.4M 0K 206.4M 4096
/mnt/obb 206.4M 0K 206.4M 4096
/system 235.3M 229.6M 5.7M 4096
/cache 59M 2.3M 56.7M 4096
/data 554.1M 447.8M 106.4M 4096
/data/misc 150M 2.5M 147.5M 4096
/data/property 150M 2.5M 147.5M 4096
/data/radio 150M 2.5M 147.5M 4096
/storage/sdcard0 6.8G 4.7G 2.1G 4096
/mnt/secure/asec 6.8G 4.7G 2.1G 4096
/mnt/asec/com.startv.gumrah-1 4M 2.3M 1.7M 4096
[email protected]:/ # chmod /system/xbin/
Usage: chmod [OPTION] <MODE> <FILE>
-R, --recursive change files and directories recursively
--help display this help and exit
10|[email protected]:/ # chown 0:0 /system/xbin/
[email protected]:/ # ls -1 /system
ls: Unknown option '-1'. Aborting.
1|[email protected]:/ #
/system/xbin mounted as r/o purposely
Code:
[email protected]:/ $ su
[email protected]:/ # df
Filesystem Size Used Free Blksize
/dev 206.4M 48K 206.4M 4096
/mnt/asec 206.4M 0K 206.4M 4096
/mnt/obb 206.4M 0K 206.4M 4096
/system 235.3M 229.6M 5.7M 4096
/cache 59M 2.3M 56.7M 4096
/data 554.1M 447.5M 106.7M 4096
/data/misc 150M 2.5M 147.5M 4096
/data/property 150M 2.5M 147.5M 4096
/data/radio 150M 2.5M 147.5M 4096
/storage/sdcard0 6.8G 4.7G 2.1G 4096
/mnt/secure/asec 6.8G 4.7G 2.1G 4096
/mnt/asec/com.startv.gumrah-1 4M 2.3M 1.7M 4096
[email protected]:/ # chmod /system/xbin/
Usage: chmod [OPTION] <MODE> <FILE>
-R, --recursive change files and directories recursively
--help display this help and exit
10|[email protected]:/ # chown 0:0 /system/xbin/
Unable to chown /system/xbin/: Read-only file system
10|[email protected]:/ # ls -1 /system
ls: Unknown option '-1'. Aborting.
1|[email protected]:/ #
Thanks
Click to expand...
Click to collapse
Ok, it looks like your system partition does not have enough space on this rom.
Please remove some unneeded system apps with something like titanium backup to make /system space.
Looks like we are making progress.

Lgrootnoob said:
Ok, it looks like your system partition does not have enough space on this rom.
Please remove some unneeded system apps with something like titanium backup to make /system space.
Looks like we are making progress.
Click to expand...
Click to collapse
Done. It got installed successfully thanks

Nikhil_android said:
Done. It got installed successfully thanks
Click to expand...
Click to collapse
Glad to see it worked.
Please consider checking out my other work in my signature or donating to me.
Have a good day.

Related

frequent "cleaning memory (low memory)" warnings

I've been receiving frequent "cleaning memory (low memory)" warnings recently.
I'm on a rooted RC33 and I have all my caches and my apps (both app and app-private) moved to my sdcard and that partition has TONS of space.
I do have a lot of apps installed, but most are not constantly running background-type apps/services.
What can I do to resolve this? I am happy to post the output of various diagnostic things if anyone has suggestions.
Thanks
moving apps to flash won't have any effect low mem has to do with low ram not flash.
do u have dxtop installed? the latest ver stays in memory which means less mem for other apps
Have you installed aHome? I noticed the low memory warning too for the first time last night. I think the only thing new I installed was aHome.
I also have dxTop and found this in the release notes. Maybe this is what caused the msg to pop up.
"More memory released when the phone gets low on memory."
wimbet said:
Have you installed aHome? I noticed the low memory warning too for the first time last night. I think the only thing new I installed was aHome.
Click to expand...
Click to collapse
I do, but I decided not to use it as it was really slow. It is still installed, but it never comes up (shouldn't even run) as I set dxTop to my default home app.
wimbet said:
I also have dxTop and found this in the release notes. Maybe this is what caused the msg to pop up.
"More memory released when the phone gets low on memory."
Click to expand...
Click to collapse
Interesting. Maybe my phone was running low on memory all along and it is just that now dxTop is report it to me visually
if you have dxTop go to the setting of dxTop > menu >> dxTop uncheck what it says disabel persistance.
it eats all ur memory.. uncheckign that will run a lil slower when returnign to home but will have more memory for other apps
Nitro212 said:
if you have dxTop go to the setting of dxTop > menu >> dxTop uncheck what it says disabel persistance.
it eats all ur memory.. uncheckign that will run a lil slower when returnign to home but will have more memory for other apps
Click to expand...
Click to collapse
Oh, ok, I'll try that. Thanks.
I'm also getting the "low space" icon, which makes no sense because I have tons of space (all apps/caches moved to sdcard).
Code:
# busybox df -h
busybox df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 48.4M 0 48.4M 0% /dev
tmpfs 4.0M 0 4.0M 0% /sqlite_stmt_journals
/dev/block/mtdblock3 67.5M 67.2M 284.0K 100% /system
/dev/block/loop0 1.5M 1.5M 0 100% /system/modules
/dev/block/loop1 3.1M 3.1M 0 100% /system/xbin
/dev/mmcblk0p2 1.0G 89.2M 887.8M 9% /system/sd
/dev/block/mtdblock5 74.8M 67.3M 7.5M 90% /data
/dev/block/mtdblock4 67.5M 2.7M 64.8M 4% /cache
/dev/block/mmcblk0p1 6.4G 4.8G 1.6G 75% /sdcard
#
what conditions trigger the "low on space" indicator?
<moving this specific question to a new thread (http://forum.xda-developers.com/showthread.php?p=3450296#post3450296) as it is somewhat unrelated>
xDtop claims they fixed it in the latest version. Don't see the message anymore.
Low memory means low RAM, not low flash or storage space. Completely different things.
mlevin said:
Oh, ok, I'll try that. Thanks.
I'm also getting the "low space" icon, which makes no sense because I have tons of space (all apps/caches moved to sdcard).
Code:
# busybox df -h
busybox df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 48.4M 0 48.4M 0% /dev
tmpfs 4.0M 0 4.0M 0% /sqlite_stmt_journals
/dev/block/mtdblock3 67.5M 67.2M 284.0K 100% /system
/dev/block/loop0 1.5M 1.5M 0 100% /system/modules
/dev/block/loop1 3.1M 3.1M 0 100% /system/xbin
/dev/mmcblk0p2 1.0G 89.2M 887.8M 9% /system/sd
/dev/block/mtdblock5 74.8M 67.3M 7.5M 90% /data
/dev/block/mtdblock4 67.5M 2.7M 64.8M 4% /cache
/dev/block/mmcblk0p1 6.4G 4.8G 1.6G 75% /sdcard
#
Click to expand...
Click to collapse
idk, it seems that the two users that showed their df -h command output have an awful lot of data being used, many of my apps run all the time and i am only using 19% rather than the 90 and 91 in the previous posts. i have dxtop installed and have had it for a while and have NEVER gotten this problem.
what *specific* conditions trigger the "low on space" indicator?
I'm confused. I have my apps and caches moved to my sdcard but I am still getting the "low on space" indicator. Which directories/filesystems are causing it to think it is low on space? Can anyone explain why it would say I am low on space under these circumstances?
This is how my device looks at the moment (and I am currently getting the "low on space" indicator):
Code:
# busybox df -h
busybox df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 48.4M 0 48.4M 0% /dev
tmpfs 4.0M 0 4.0M 0% /sqlite_stmt_journals
/dev/block/mtdblock3 67.5M 67.2M 284.0K 100% /system
/dev/block/loop0 1.5M 1.5M 0 100% /system/modules
/dev/block/loop1 3.1M 3.1M 0 100% /system/xbin
/dev/mmcblk0p2 1.0G 100.8M 876.2M 10% /system/sd
/dev/block/mtdblock5 74.8M 68.0M 6.8M 91% /data
/dev/block/mtdblock4 67.5M 2.7M 64.8M 4% /cache
/dev/block/mmcblk0p1 6.4G 4.8G 1.6G 75% /sdcard
#
The only one that seems a bit high is /data.
On there, I have:
Code:
# ls -l /data
ls -l /data
drwxrwxrwx 1 1000 1000 2048 Feb 6 23:10 anr
lrwxrwxrwx 1 0 0 14 Feb 7 05:38 app -> /system/sd/app
lrwxrwxrwx 1 0 0 22 Mar 2 22:24 app-private -> /system/sd/app-private
drwxrwx--x 1 1000 1000 2048 Feb 6 23:10 app-private.ORIGINAL
drwxrwx--x 1 1000 1000 2048 Mar 2 21:08 app.ORIGINAL
drwxrwx--x 1 1000 1000 2048 Feb 6 23:10 dalvik-cache
drwxrwx--x 1 1000 1000 2048 Feb 6 23:10 data
drwxrwx--x 1 2000 2000 2048 Feb 6 23:10 local
drwxrwx--- 1 0 0 2048 Feb 6 23:10 lost+found
drwxrwx--t 1 1000 9998 2048 Feb 6 23:10 misc
drwx------ 1 0 0 2048 Feb 6 23:10 property
drwxrwxr-x 1 1000 1000 2048 Feb 6 23:10 system
drwxr-xr-x 1 1000 1000 2048 Feb 11 13:32 tombstones
#
Code:
# busybox du -h -c /data | grep -v '/data/data/'
busybox du -h -c /data | grep -v '/data/data/'
2.0K /data/app.ORIGINAL
2.0K /data/tombstones
15.0K /data/system/location
691.5K /data/system
57.5K /data/anr
35.0M /data/dalvik-cache
4.0K /data/property
2.0K /data/app-private.ORIGINAL
28.6M /data/data
2.0K /data/local/tmp
4.0K /data/local
2.5K /data/misc/dhcp
8.0K /data/misc/wifi/sockets
10.5K /data/misc/wifi
6.0K /data/misc/hcid/00:17:E8:EA:E9:FF
8.0K /data/misc/hcid
31.5K /data/misc
2.0K /data/lost+found
64.4M /data
64.4M total
#
Does anything look amiss?
I'm on a rooted RC33 w/ JF1.41.
Thanks
Hmmm...
9.6M /data/data
3.5K /data/property
72.0K /data/anr
2.0K /data/lost+found
35.6M /data
35.6M total
I'm not sure... but this was my results. I have apps to sd too.
Hmm... I wonder if /data/data could/should be moved/symlinked as well...?
EDIT: Yeah, that seemed to help. The low space warning went away.
try moving dalvik-cache to free some space of the data thats what i did
Code:
# busybox du -h -c /data | grep -v '/data/data/'
busybox du -h -c /data | grep -v '/data/data/'
3.5K /data/property
4.3M /data/data
7.5K /data/local/bin
2.0K /data/local/mnt
1.2M /data/local/tmp
1.2M /data/local
2.0K /data/misc/wifi/sockets
4.5K /data/misc/wifi
2.0K /data/misc/hcid
2.5K /data/misc/dhcp
17.0K /data/misc
42.0K /data/anr
2.0K /data/lost+found
283.5K /data/system
2.0K /data/lost+found
5.8M /data
5.8M total
that folder grows pretty big.. now, im not sure if we are allow to move it to the sd? i moved mine.. have not gotten any problems errors yet.. but try movign it to your ext2 partition
Code:
busybox cp -a /data/dalvik-cache /system/sd/dalvik-cache
rm -rf /data/dalvik-cache
ln -s /system/sd/dalvik-cache /data/dalvik-cache
reboot
edit: wops did not read ur last post, wjhere u moved the whole data folder
this posting will be merged with your OLDER postings about the same thing.
Anymore X-posting or multiple thread openings about the same issue will be resulted to a closure of each thread and/or up to a temp ban.
Nitro212 said:
try moving dalvik-cache to free some space of the data thats what i did
Click to expand...
Click to collapse
Thanks for the tip -- I just did that (moved davlik-cache) and that seemed to help as well. I hope I'm all set for now.
Note to moderator: apologies for the violation of protocol. It won't happen again.

[Q] Where's the mount point for the root file system?

On my G1, I know that the internal flash memory is divided into several partitions used by the system. Running the busybox shell on a terminal emulator on the phone or through adb, I can run df and get the following:
Code:
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 48852 0 48852 0% /dev
tmpfs 48852 0 48852 0% /mnt/asec
/dev/block/mtdblock3 92160 89048 3112 97% /system
/dev/block/mtdblock5 91904 77792 14112 85% /data
/dev/block/loop0 4096 4096 0 100% /system/xbin
/dev/block/mtdblock4 30720 1160 29560 4% /cache
/dev/block/vold/179:1
15541688 12742232 2799456 82% /mnt/sdcard
/dev/block/vold/179:1
15541688 12742232 2799456 82% /mnt/secure/asec
But strangely there's no mount point for /, the root file system. Yet there are lot of other files and directories directly in the root file system, like init scripts. Could anyone explain to me how this is? Is the root file system hidden somehow from df?

[Q] Gigabyte GSmart G1305 - Can't Root

Hello,
I'm trying to root my Gigabyte GSmart G1305 upgraded to Android 2.1 but the software fails. I'm including the error log below, thank you very much for your help:
Go for root !
Version: Universal Androot - v1.6.2 beta 5
Detected OS version:7
ls -l /system/etc
-rw-r--r-- root root 3216 2010-09-07 16:41 init.qcom.bt.sh
drwxr-xr-x root root 2010-09-07 16:41 dhcpcd
-rw-r--r-- root root 1471 2010-09-07 16:41 apns-conf.xml
-rw-r--r-- root root 85 2010-09-07 16:41 01_qcomm_omx.cfg
-rw-r--r-- root root 227 2010-09-07 16:41 ms3c_charger_offset.cfg
-rw-r--r-- root root 56860 2010-09-07 16:41 NOTICE.html.gz
-rw-r--r-- root root 784 2010-09-07 16:41 gps.conf
-rw-r--r-- root root 1170 2010-09-07 16:41 vold.conf
-rw-r--r-- root root 8319 2010-09-07 16:41 event-log-tags
drwxr-xr-x root root 2010-09-07 16:41 permissions
-rw-r--r-- root root 2132 2010-09-07 16:41 init.qcom.fm.sh
-rw-r--r-- root root 25 2010-09-07 16:41 hosts
drwxr-xr-x root root 2010-09-07 16:41 ppp
-rw-r--r-- root root 473 2010-09-07 16:41 pvplayer.cfg
-rw-r--r-- root root 4915 2010-09-07 16:41 AudioFilter.csv
-r-xr-x--- root root 111 2010-09-07 16:41 init.athwlan.sh
-rw-r--r-- root root 2046 2010-09-07 16:41 bookmarks.xml
drwxr-xr-x root root 2010-09-07 16:41 wifi
-r--r----- bluetooth bluetooth 935 2010-09-07 16:41 dbus.conf
drwxr-xr-x root root 2010-09-07 16:41 security
drwxr-xr-x root root 2010-09-07 16:41 firmware
-rw-r--r-- root root 2 2010-09-07 16:41 AutoVolumeControl.txt
-r-xr-x--- root shell 1176 2010-09-07 16:41 init.goldfish.sh
-rw-r--r-- root root 3025 2010-09-07 16:41 udhcpd.conf
-r-xr-x--- wifi wifi 2137 2010-09-07 16:41 init.qcom.sdio.sh
-rw-r--r-- root root 1804 2010-09-07 16:41 loc_parameter.ini
drwxr-xr-x root root 2010-09-07 16:41 bluez
-rw-rw-rw- root root 123 2010-09-07 16:41 ms3c_transformation.cfg
ls -l /system/bin/reboot
lrwxr-xr-x root shell 2010-09-07 16:41 reboot -> toolbox
cat /proc/sys/kernel/osrelease
2.6.29
getprop ro.product.model
Boston
getprop ro.product.brand
Optimus
getprop ro.product.name
Boston
getprop ro.product.manufacturer
FIH
getprop ro.build.product
Boston
ls -l /sqlite_stmt_journals
ls -l /data/local/tmp
opendir failed, Permission denied
ls -l /app-cache
/app-cache: No such file or directory
run mount
rootfs / rootfs rw 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
/dev/block/mtdblock7 /system yaffs2 rw 0 0
/dev/block/mtdblock10 /data yaffs2 rw,nosuid,nodev 0 0
tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0
/dev/block/mtdblock9 /cache yaffs2 rw,nosuid,nodev 0 0
/dev/block/mtdblock5 /hidden yaffs2 rw,nosuid,nodev 0 0
/dev/block/mtdblock1 /misc yaffs2 rw,nosuid,nodev 0 0
/dev/block/mtdblock8 /misc2 yaffs2 rw,nosuid,nodev 0 0
DxDrmServerIpc /data/DxDrm/fuse fuse.DxDrmServerIpc rw,nosuid,nodev,user_id=0,group_id=0,allow_other 0 0
/dev/block//vold/179:1 /sdcard vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8 0 0
run df
/dev: 91564K total, 12K used, 91552K available (block size 4096)
/system: 163840K total, 146352K used, 17488K available (block size 4096)
/data: 175616K total, 87596K used, 88020K available (block size 4096)
/sqlite_stmt_journals: 4096K total, 0K used, 4096K available (block size 4096)
/cache: 90112K total, 1208K used, 88904K available (block size 4096)
/hidden: 26624K total, 11380K used, 15244K available (block size 4096)
/misc: 2048K total, 1176K used, 872K available (block size 4096)
/misc2: 2048K total, 1172K used, 876K available (block size 4096)
/sdcard: 1928992K total, 404064K used, 1524928K available (block size 32768)
/data/DxDrm/fuse: Permission denied
Preparing Exploit ... :true
Preparing busybox binary ... :true
User selected: Eclair
Preparing Su binary ... :true
Preparing Superuser apk ... :true, resid:2131034118
Preparing root toolkit script ... :true
Trying to get mount point:/data
/dev/block/mtdblock10 /data yaffs2 rw,nosuid,nodev 0 0
Trying to get mount point:/system
/dev/block/mtdblock7 /system yaffs2 rw 0 0
Trying to get mount point:/system/bin
mkdir /sqlite_stmt_journals/sys_bin_orig
mkdir /sqlite_stmt_journals/sys_bin_overlay
./busybox mount -r /dev/block/mtdblock7 /sqlite_stmt_journals/sys_bin_orig
./busybox ln -s /sqlite_stmt_journals/sys_bin_orig/bin/* /sqlite_stmt_journals/sys_bin_overlay/
cat su > /sqlite_stmt_journals/sys_bin_overlay/su
chmod 04755 /sqlite_stmt_journals/sys_bin_overlay/su
./busybox mount --bind /sqlite_stmt_journals/sys_bin_overlay /system/bin
mount -o remount,rw,nosuid,nodev -t yaffs2 /dev/block/mtdblock10 /data
./busybox umount /system/bin
rm /sqlite_stmt_journals/sys_bin_overlay/*
rmdir /sqlite_stmt_journals/sys_bin_overlay
Preparing to execute exploit, do chmod
Executing exploit..
cmd: /data/data/com.corner23.android.universalandroot/files/getroot /dev/block/mtdblock10 yaffs2
[*] Android local root exploid (C) The Android Exploid Crew
[*] Modified by shakalaca for various devices
[+] Using basedir=/sqlite_stmt_journals, path=/data/data/com.corner23.android.universalandroot/files/getroot
[+] opening NETLINK_KOBJECT_UEVENT socket
[+] sending add message ...
[*] Try to invoke hotplug now, clicking at the wireless
[*] settings, plugin USB key etc.
[*] You succeeded if you find /system/bin/rootshell.
[*] GUI might hang/restart meanwhile so be patient.
Wifi enabled ...
/sqlite_stmt_journals/rootshell missing ..
/app-cache/rootshell missing ..
/data/local/tmp/rootshell missing ..
Install/Uninstall rootkit: false
ls -l /sqlite_stmt_journals
lrwxrwxrwx app_79 app_79 2010-11-08 10:59 data -> /proc/sys/kernel/hotplug
-rw-r--r-- app_79 app_79 6 2010-11-08 10:59 fs_type
-rw-r--r-- app_79 app_79 21 2010-11-08 10:59 mount
-rw-r--r-- app_79 app_79 62 2010-11-08 10:59 hotplug
-rw-rw-rw- app_79 app_79 0 2010-11-08 10:59 loading
ls -l /data/local/tmp
opendir failed, Permission denied
ls -l /app-cache
/app-cache: No such file or directory
run mount
rootfs / rootfs rw 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
/dev/block/mtdblock7 /system yaffs2 rw 0 0
/dev/block/mtdblock10 /data yaffs2 rw,nosuid,nodev 0 0
tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0
/dev/block/mtdblock9 /cache yaffs2 rw,nosuid,nodev 0 0
/dev/block/mtdblock5 /hidden yaffs2 rw,nosuid,nodev 0 0
/dev/block/mtdblock1 /misc yaffs2 rw,nosuid,nodev 0 0
/dev/block/mtdblock8 /misc2 yaffs2 rw,nosuid,nodev 0 0
DxDrmServerIpc /data/DxDrm/fuse fuse.DxDrmServerIpc rw,nosuid,nodev,user_id=0,group_id=0,allow_other 0 0
/dev/block//vold/179:1 /sdcard vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8 0 0
run df
/dev: 91564K total, 12K used, 91552K available (block size 4096)
/system: 163840K total, 146352K used, 17488K available (block size 4096)
/data: 175616K total, 88972K used, 86644K available (block size 4096)
/sqlite_stmt_journals: 4096K total, 12K used, 4084K available (block size 4096)
/cache: 90112K total, 1208K used, 88904K available (block size 4096)
/hidden: 26624K total, 11380K used, 15244K available (block size 4096)
/misc: 2048K total, 1176K used, 872K available (block size 4096)
/misc2: 2048K total, 1164K used, 884K available (block size 4096)
/sdcard: 1928992K total, 404064K used, 1524928K available (block size 32768)
/data/DxDrm/fuse: Permission denied
Click to expand...
Click to collapse

[Q] total memory space 00.0B

Hello,i have an unsoluble problem,my tablet pc 3q Surf TS1003T with android 4.0 (team DRH and antibyte kernel) do not calculate total memory space.Total memory space in settings is 00.0B,after every reboot files down in /mnt/sdcard automatically are removed and access rules of the folder /mnt/sdcard are nullified.
I reload partitions with the help of NVflash and used the various ROM,but it didn't yield results.
This are results of "df" comant in terminal emulator:
Code:
export PATH=/data/local/bin:$PATH
[email protected]:/ $ export PATH=/data/local/bin:$PATH
[email protected]:/ $ df
Filesystem Size Used Free Blksize
/dev 180M 48K 180M 4096
/mnt/asec 180M 0K 180M 4096
/mnt/obb 180M 0K 180M 4096
/system 247M 228M 19M 4096
/cache 147M 61M 86M 4096
/data 1G 158M 1G 4096
/mnt/microsd 5G 973M 4G 4096
[email protected]:/ $
I ask to help me.
ps:excuse me for bad English.
up

Reinstallation of a System App fails: not enough memory - but there's plenty of it

Hi
My Phone is rooted and uses Link2SD, but with the stock rom.
Recently I wanted to remove the album updates of my Sony Xperia M (Android 4.3). But not only the updates got removed, instead the whole app disappeared.
So I thought: strange, but I'll just reinstall it from the market. But then I got a not enough space error - but there are 1.5 GB left, and album has a size of 10mb.
Then I searched in filesystem for leftover files and found semcAlbum.apk and it's corresponding lib files (no dalvik cache files however). I made a backup and deleted them, then I tried to install semcAlbum. Same problem: not enough space.
But there is enough space - I tried to install another app with 50mb - no problem. So there probably must be an issue with leftover files, but I can't find any more of them in
system/app
data/app
data/app-lib
data/dalvik-cache
data/sdext2 +subfolders (link2sd)
data/local/tmp
data/data
So what can I do now?
Thanks in advance.
Matthias
List of available space:
D:\Programmieren\android\sdk\platform-tools>adb shell df
Filesystem Size Used Free Blksize
/dev 420.4M 64.0K 420.4M 4096
/mnt/secure 420.4M 0.0K 420.4M 4096
/mnt/asec 420.4M 0.0K 420.4M 4096
/mnt/obb 420.4M 0.0K 420.4M 4096
/system 1183.2M 920.1M 263.1M 4096
/cache 246.2M 4.3M 241.9M 4096
/persist 3.9M 84.0K 3.8M 4096
/firmware 64.0M 44.1M 19.9M 16384
/data 2101.9M 556.9M 1545.0M 4096
/lta-label 15.8M 4.7M 11.0M 4096
/mnt/shell/emulated 2101.9M 556.9M 1545.0M 4096
/storage/emulated/legacy 2101.9M 556.9M 1545.0M 4096
/data/sdext2 5552.8M 1319.9M 4232.8M 4096
/storage/sdcard1 9539.9M 2775.2M 6764.7M 32768
/data/media/0/Android/data/com.imangi.templerun2: Permission denied

Categories

Resources