sloanyang / busybox-android

Automatically exported from code.google.com/p/busybox-android
0 stars 0 forks source link

"Value too large for defined data type" on ICS #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Included busybox v1.19.3 does not work properly on Android 4.0.2 (Galaxy 
Nexus), giving "Value too large for defined data type" on certain file 
operations (e.g. ls and chown) in certain directories (e.g. /data/data)

c:\temp\android-apps-reinstall>adb shell
shell@android:/ $ su
su
shell@android:/ # busybox | head -n 1
busybox | head -n 1
BusyBox v1.19.3-Stericson (2011-12-20 21:07:32 CST) multi-call binary.
shell@android:/ # busybox ls /data/data
busybox ls /data/data
ls: can't open '/data/data': Value too large for defined data type
1|shell@android:/ # busybox sh
busybox sh
sh: applet not found
1|shell@android:/ #

Original issue reported on code.google.com by janschej...@gmail.com on 17 Feb 2012 at 7:57

GoogleCodeExporter commented 9 years ago
Same problem on my Galaxy Nexus running 4.0.3 source build.

Original comment by jnahan...@gmail.com on 17 Mar 2012 at 8:13

GoogleCodeExporter commented 9 years ago
Hi, i had the same problem on my SGS2 (official ICS - LPQ).  the version of 
busybox i was using was 1.19.3.  i spoke to a guy about it and he suggested i 
try a different version, one that he linked.  i installed it, and bam my 
problems were gone!  and interestingly the version he gave me was 
"v1.19.0.git".. older? strange.
I have attached the working busybox version, how to install:

1) adb remount
2) adb shell mv /system/xbin/busybox system/xbin/busybox-original
3) abd push "c:\path\to\busybox" /system/xbin/busybox
4) adb shell chmod 4755 /system/xbin/busybox

Original comment by seventh....@gmail.com on 24 Mar 2012 at 1:04

Attachments:

GoogleCodeExporter commented 9 years ago
Is this problem still existing since 1.20?

Original comment by Stericso...@gmail.com on 29 May 2012 at 5:02

GoogleCodeExporter commented 9 years ago
Nope, busybox 1.20 works fine.

Original comment by ski...@gmail.com on 29 May 2012 at 2:12

GoogleCodeExporter commented 9 years ago

Original comment by Stericso...@gmail.com on 9 Sep 2012 at 11:55

GoogleCodeExporter commented 9 years ago
ksat.fm58@gmail.com

Original comment by ksat.F...@gmail.com on 23 May 2013 at 9:45