flash minix neo x5 only with adb 
minix> click right bottom (clock), click settings, click settings on bottom
and choose com.rockchip.settings.
minix> enable Usb debugging
minix> select device and change usb connection (PC) to MTP.
minix> connect minix with USB Cable to PC.

ubuntu> echo 0x2207 >> ~/.android/adb_usb.ini
ubuntu> apt-get install android-tools-adb (get a root shell with adb shell)
ubuntu> sudo adb start-server
ubuntu> adb devices (you should see your minix device)

ubuntu> download http://files.androtab.info/rockchip/rk3 ... X5_CWM.zip
and rename it to update.zip
(http://forum.xda-developers.com/showthr ... ?t=2230186)
ubuntu> adb push update.zip /sdcard/
ubuntu> adb reboot
minix> on boot you are prompted to install the update, confirm it
after install completed
ubuntu> adb reboot recovery
minix> choose install zip from sideload
ubuntu> download http://www.freak-tab.de/petrus/neo_x5_f ... ir_CWM.zip
(http://www.freaktab.com/showthread.php? ... Minix-Roms)
ubuntu> adb sideload neo_x5_finless_12b_720_noair_CWM.zip
minix> reboot system now

Update: I've installed this image now.

[ view entry ] ( 2136 views )   |  print article
Enable USB host API support 
I wondered why
mUsbManager = (UsbManager) getSystemService(Context.USB_SERVICE);
was empty on an 7" cmx rapax LE 070-0508 tablet.

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

<?xml version="1.0" encoding="utf-8"?>
<feature name="android.hardware.usb.host" />

<?xml version="1.0" encoding="utf-8"?>
<feature name="android.hardware.usb.accessory" />
<library name="com.android.future.usb.accessory"
file="/system/framework/com.android.future.usb.accessory.jar" />
Get /system/etc/permissions/tablet_core_hardware.xml file
#> adb pull /system/etc/permissions/tablet_core_hardware.xml
and 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 ] ( 1311 views )   |  print article
extract an android apk package file and decompile it 
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 ] ( 1139 views )   |  print article
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 ] ( 850 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 ] ( 713 views )   |  print article

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