extract .img files from samsung images 
Download Android-Kitchen

Download an image and extract it to ~/image.

compile sim2img
$ cd Android-Kitchen
$ scripts/compile_simg2img
extract ext4 image
$ tools/samsung_files/simg2img_files/simg2img ~/image/cache.img ext4_cache.img
loopmount ext4 image
$ mkdir cache
$ sudo mount -o loop,ro,noexec,noload ext4_cache.img cache

[ view entry ] ( 897 views )   |  print article
Download apk from playstore with a google chrome extension 
apk-downloader is a google chrome extension to easily download apk files from google play store.

start chrome with
#> chromium-browser --ignore-certificate-errors --allow-running-insecure-content

[ view entry ] ( 751 views )   |  print article
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 ] ( 810 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 ] ( 943 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 ] ( 1133 views )   |  print article

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