Galaxy S3 flash with VD2 taken cache.img and hidden.img from ATO 
According to samsung udate the Galaxy S3 firmware with the highest Changelist at the moment is csc (salescode) VD2 919627 build date 01.02.2013 (Germany Vodafone branded) and my csc image is ATO (Austria unbranded) 566833 build date 10.12.2012 (got this by OTA).

To have the newest firmware but with ATO csc i devided to take cache.img and hidden.img from ATO and boot.img, modem.bin, recovery.img, sboot.bin, system.img and tz.img from VD2.

First I downloaded VD2 and ATO, extracted the X.tar.md5 files, discarded ".md5" from the filenames, untared the ".img" files and compressed a new VD2 archive with cache.img and hidden.img from ATO.

[ view entry ] ( 667 views )   |  print article
ssh to android /system/bin/pm SEGV 
pm segfaults if LD_LIBRARY_PATH is missing like on login with ssh
$ su -c "/system/bin/pm"
[1] Segmentation fault pm
$ su -c "LD_LIBRARY_PATH=/vendor/lib:/system/lib pm"

if pm is not found like this
$ /system/bin/pm list packages
sh: /system/bin/pm: not found
you can do
/system/bin/sh -c "/system/bin/pm list packages"
or prepend /system/bin/pm with

[ view entry ] ( 804 views )   |  print article
set permissions to open a file in our private home directory by an external app 
openFileOutput(pdfFile.getName(), MODE_WORLD_READABLE | MODE_WORLD_WRITEABLE).close();
catch (Exception logOrIgnore) { }

[ view entry ] ( 938 views )   |  print article
LogCat: ClipboardServiceEx Had failed to obtaining clipboardEx service. 
Something went wrong with the clipboard of my Galaxy S3.

The solution was ... ?t=1655619
mv /data/clipboard /data/oldclipboard
mkdir /data/clipboard
chmod 775 /data/clipboard
chown system.system /data/clipboard

[ view entry ] ( 1482 views )   |  print article
Ubuntu 12.10 upgrade / install eclipse and ADT 
After upgrade from 12.04 to 12.10 eclips wont work anymore :-(

Only deleting ~/.eclipse and ยจ/workspace and reinstalling ADT did not work i got:
An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee,
phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=,
No repository found containing: osgi.bundle,com.jcraft.jsch,0.1.42
No repository found containing: ...

My solution was to reinstall eclipse:
dpkg -P eclipse eclipse-jdt eclipse-pde eclipse-platform \
eclipse-platform-data eclipse-rcp eclipse-rcp
apt-get install eclipse eclipse-jdt eclipse-pde eclipse-platform \
eclipse-platform-data eclipse-rcp eclipse-rcp
apt-get --reinstall install libequinox-osgi-java

eclipse: Help > Install New Software > Add...

juno -

[ view entry ] ( 1348 views )   |  print article

<<First <Back | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | Next> Last>>