mUsbManager = (UsbManager) getSystemService(Context.USB_SERVICE);was empty on an 7" cmx rapax LE 070-0508 tablet.
mUsbManager.getDeviceList();
Also USB Device Info showed an empty Android page, but not an empty Linux page.
The solution was a combination of The USB-HOST API Solution and To enable USB host API support:
create two files
android.hardware.usb.host.xml
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<feature name="android.hardware.usb.host" />
</permissions>
android.hardware.usb.accessory.xml
<?xml version="1.0" encoding="utf-8"?>Get /system/etc/permissions/tablet_core_hardware.xml file
<permissions>
<feature name="android.hardware.usb.accessory" />
<library name="com.android.future.usb.accessory"
file="/system/framework/com.android.future.usb.accessory.jar" />
</permissions>
#> adb pull /system/etc/permissions/tablet_core_hardware.xmland add
<feature name="android.hardware.usb.host">into <permissions> section of tablet_core_hardware.xml
At last remount, upload the files and reboot
#> adb remount
#> adb push android.hardware.usb.host.xml /system/etc/permissions
#> adb push android.hardware.usb.accessory.xml /system/etc/permissions
#> adb push tablet_core_hardware.xml /system/etc/permissions
#> adb reboot
[ view entry ] ( 1350 views ) | print article
Download APK-Multi-Tool-Linux
Extract AndroidManifest.xml, assets, res Folder and smali (disassembly from Java virtual machine) from an apk
$ cd APK-Multi-Tool-Linux
$ java -jar other/apktool.jar d pace-apk-here-for-modding/ANDROID.apk out
Extract jar from apk with dex2jar to get an .jar file
$ d2j-dex2jar.sh ANDROID.apk
Now you can have a look at the java files with jdgui (found a description at reverse-engineer-an-android-app-apk)
or decompile the class files with jad (found a description at stackoverflow)
./jad -o -r -sjava -dDESTDIR path/to/*/.class
[ view entry ] ( 1178 views ) | print article
Download Android-Kitchen
Download an image and extract it to ~/image.
compile sim2img
$ cd Android-Kitchenextract ext4 image
$ scripts/compile_simg2img
$ tools/samsung_files/simg2img_files/simg2img ~/image/cache.img ext4_cache.imgloopmount ext4 image
$ mkdir cache
$ sudo mount -o loop,ro,noexec,noload ext4_cache.img cache
[ view entry ] ( 895 views ) | print article
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 ] ( 750 views ) | print article
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 ] ( 808 views ) | print article
<<First <Back | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Next> Last>>