SliTaz SliTaz Forum

You are not logged in.

#26 2015-12-28 02:09:14

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: Slitaz-arm on Android

Unlock bootloader

5. Unlocking Bootloader (UNOFFICIAL METHOD)

BootLoader Unlock (both ZE551ML and ZE550ML)

http://forum.xda-developers.com/showpost.php?p=61426871&postcount=26

http://forum.xda-developers.com/zenfone2/general/congrats-to-bootlocker-unlocked-t3138547

Official bootloader unlock for ZenFone 2 is now available

Unlocking your bootloader allows you to put custom software onto your device. Many developers have created custom ROMs and have had to hack their way into the ZenFone 2 to make this available to powerusers in the community.

Now, unlocking the bootloader is as easy as downloading the utility, installing it, and running it.

Proceed with caution and read below notice before attempting

From the ASUS Support site: Unlock Device App: Unlock bootloader

Utilities (1)

Offline

#27 2015-12-31 05:16:26

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: Slitaz-arm on Android

ZenFone 2 Review: Cheap, Fast, Big, Flawed

http://www.xda-developers.com/zenfone-2-review-cheap-fast-big-flawed     

Contents

o Design, Build Quality

o Performance

[*] CPU & System

[*] GPU & Gaming

o On Storage and Memory

o Display

o Audio

o Camera

o Battery Life and Charging

o A Note on System Stability

o Software UI/UX

o Rootability, Future Proofing and Other Thoughts

o Final Thoughts

Offline

#28 2016-01-03 11:53:16

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: Slitaz-arm on Android

ZE551ML / Z00A - Intel Atom

Device -- Model -- RAM/CPU

   o Z00AD -- ZE551ML -- 4GB/2.3GHz or 4GB/1.8GHz or 2GB/1.8GHz (5.5 in 1080p FHD Screen)

   o Z008D -- ZE550ML -- 2GB/1.8GHz (5.5 in 720p HD Screen)

   o Z00D -- ZE500CL -- 2GB/1.6GHz

[attachment=41046,2197]

1.

tux@slitaz:~ $ uname -a

Linux slitaz 3.2.71-slitaz64 #2 SMP Sat Oct 10 15:35:50 CEST 2015 x86_64 GNU/Linux

2.

tux@slitaz:~ $ adb shell uname -a

Linux localhost 3.10.20-x86_64_moor-265388-ga4369b3 #1 SMP PREEMPT Thu Sep 17 20:35:29 CST 2015 x86_64 GNU/Linux

3.

tux@slitaz:~ $ adb shell cat /proc/cpuinfo | head -26

processor    : 0

vendor_id    : GenuineIntel

cpu family    : 6

model        : 90

model name    : Intel(R) Atom(TM) CPU  Z3580  @ 1.33GHz

stepping    : 0

microcode    : 0x34

cpu MHz        : 500.000

cache size    : 1024 KB

physical id    : 0

siblings    : 4

core id        : 0

cpu cores    : 4

apicid        : 0

initial apicid    : 0

fpu        : yes

fpu_exception    : yes

cpuid level    : 11

wp        : yes

flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms

bogomips    : 2662.40

clflush size    : 64

cache_alignment    : 64

address sizes    : 36 bits physical, 48 bits virtual

power management:

4.

tux@slitaz:~ $ adb shell "grep -Ei 'ze551|z00a|abi|x86|moor' /system/build.prop"

ro.build.display.id=LRX21V.WW-ASUS_Z00A-2.20.40.97_20150917_1572_user

ro.build.version.incremental=WW_Z00A-WW_2.20.40.97_20150917_1572_user_rel-user-20150917

ro.product.model=ASUS_Z00A

ro.product.name=WW_Z00A

ro.product.device=Z00A

ro.product.board=moorefield

# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,

# use ro.product.cpu.abilist instead.

ro.product.cpu.abi=x86

ro.product.cpu.abilist=x86,armeabi-v7a,armeabi

ro.product.cpu.abilist32=x86,armeabi-v7a,armeabi

ro.product.cpu.abilist64=

ro.board.platform=moorefield

ro.build.fingerprint=asus/WW_Z00A/Z00A:5.0/LRX21V/2.20.40.97_20150917_1572_user:user/release-keys

ro.build.csc.version=WW_ZE551ML_2.20.40.97_20150917

ro.dalvik.vm.isa.arm=x86

ro.asus.browser.uap=ASUS-ZE551ML

dalvik.vm.isa.x86.features=sse4_2,aes_in,popcnt,movbe

ro.config.hwrlib=T9_x86

tux@slitaz:~ $

[attachment=41046,2199]

[attachment=41046,2198]

[attachment=41046,2200]

Offline

#29 2016-01-07 15:24:58

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: Slitaz-arm on Android

Intel Atom Z3580

model name : Intel(R) Atom(TM) CPU Z3580 @ 1.33GHz

ro.product.board=moorefield

ro.board.platform=moorefield

Intel® Atom™ Processor Z35xx

Introducing “Moorefield”; 2014 Quad Core Processor Family for Android Devices

This year Intel will introduce the new Intel® Atom™ processor family Z35xx (code-named "Moorefield"), which offers an ideal combination of fast, smart performance and long battery life for Android devices.

Based on Intel’s 22nm Silvermont microarchitecture, the 64-bit-ready SoC features four Intel architecture (IA) cores for up to 2.3GHz of compute performance.

[attachment=41107,2202]

Offline

#30 2016-01-11 15:42:13

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: Slitaz-arm on Android

Intel Houdini - Binary Translator

ro.product.cpu.abi=x86

ro.product.cpu.abilist=x86,armeabi-v7a,armeabi

ro.product.cpu.abilist32=x86,armeabi-v7a,armeabi

ro.product.cpu.abilist64=

ro.dalvik.vm.isa.arm=x86

[attachment=41148,2204]

libhoudini: What It Means for Developers

libhoudini is a proprietary ARM translation layer for x86-powered Android devices. It allows an app that has NDK binaries for ARM, but not x86, to still run on x86 hardware, albeit not as quickly as it would with native x86 binaries.

Given ARM’s near-stranglehold on the Android ecosystem, libhoudini is hugely useful for Intel and hardware vendors interested in using Intel’s mobile CPUs. Without it, only apps that ship x86 NDK binaries would be compatible with x86-powered devices like the Samsung Galaxy Tab 3 10.1” tablet. Some developers probably skip x86 NDK binaries, because they are not aware of popular x86-powered devices, or lack one for testing, or are concerned over APK size. The Play Store for x86 would shrink substantially from the million-plus apps available to ARM devices, to those that do not use the NDK or happen to ship x86 binaries. libhoudini makes ARM-only NDK binaries usable on x86, giving x86-powered Android devices access to more of the Play Store catalog.

Offline

#31 2016-01-14 01:14:58

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: Slitaz-arm on Android

houdini and binfmt_misc

qemu user mode and binfmt_misc

http://forum.slitaz.org/topic/chroot/page/3#post-26259

Kernel Support for miscellaneous (your favourite) Binary Formats v1.1

==============================================================

https://www.kernel.org/doc/Documentation/binfmt_misc.txt

This Kernel feature allows you to invoke almost (for restrictions see below)

every program by simply typing its name in the shell.

This includes for example compiled Java(TM), Python or Emacs programs.

To achieve this you must tell binfmt_misc which interpreter has to be invoked

with which binary. Binfmt_misc recognises the binary-type by matching some bytes

at the beginning of the file with a magic byte sequence (masking out specified

bits) you have supplied. Binfmt_misc can also recognise a filename extension

aka '.com' or '.exe'.

First you must mount binfmt_misc:

    mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc

Chrooting to: /opt/rootfs-armhf/

http://forum.slitaz.org/topic/chroot/page/3#post-26270

3. Mount the binfmt_misc handler

# modprobe binfmt_misc

# mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc

4. register our format with the kernel via the procfs

root@slitaz:~# echo ':arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\x00\xff\xfe\xff\xff\xff:/usr/bin/qemu-arm-static:' > /proc/sys/fs/binfmt_misc/register

5. check register

root@slitaz:~# cat /proc/sys/fs/binfmt_misc/arm

enabled

interpreter /usr/bin/qemu-arm-static

flags:

offset 0

magic 7f454c4601010100000000000000000002002800

mask ffffffffffffff00ffffffffffff00fffeffffff

1.

tux@slitaz:~ $ adb shell

shell@Z00A:/ $ mount | grep binfmt

binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0

2.

shell@Z00A:/ $ grep bridge /default.prop

ro.dalvik.vm.native.bridge=libhoudini.so

3.

shell@Z00A:/ $ ls -l /proc/sys/fs/binfmt_misc

-rw-r--r-- root     root            0 2015-12-20 21:24 arm_dyn

-rw-r--r-- root     root            0 2015-12-20 21:24 arm_exe

--w------- root     root            0 2015-12-20 21:24 register

-rw-r--r-- root     root            0 2015-12-20 21:24 status

4.

shell@Z00A:/ $ cat /proc/sys/fs/binfmt_misc/status

enabled

5.

shell@Z00A:/ $ cat /proc/sys/fs/binfmt_misc/arm_exe

enabled

interpreter /system/bin/houdini

flags: P

offset 0

magic 7f454c46010101000000000000000000020028

6.

shell@Z00A:/ $ cat /proc/sys/fs/binfmt_misc/arm_dyn

enabled

interpreter /system/bin/houdini

flags: P

offset 0

magic 7f454c46010101000000000000000000030028

shell@Z00A:/ $

Offline

#32 2016-01-31 21:40:43

mungkie
Member
Registered: 2016-01-31
Posts: 3

Re: Slitaz-arm on Android

I am hopeing that I could ask favor from original post author 'gibor' I came this forum from google search I am searching for android usb OTG drivers for 'Qualcomm Technologies, Inc MSM8916' I see in first post that root access is made and the tablet has same processor and kernel version is same 'linux 3.10.49'

I would ask request if it is possible someone (gibor, or others is working on same tablet), post here or send copies of .ko module files in /system/lib/modules

I hope to try install modules and test with android vodafone smart prime 6 mobile phone and use the USB OTG device.

Offline

#33 2016-02-01 18:39:34

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: Slitaz-arm on Android

Sorry, but my tablet not have your kernel. My kernel is 3.0.36 (view first image on topic).

The kernel 3.10.49 view on post of alanyih, but I know nothing.

Offline

#34 2016-02-01 19:06:59

mungkie
Member
Registered: 2016-01-31
Posts: 3

Re: Slitaz-arm on Android

Ooops, sorry for confusion, I misread thread too quickly, I realise now you show me, I hope alanyih soon will come online and see request, unfortunately it seems forum does not have private message mail system.

I have been having crazy time trying to find drivers and still no luck, even more confusion trying to download cyanogen system images and mount with simg2img and loop mount showing filesystem larger than device.

It seems nowhere there is easy way to find usb OTG drivers for Hardware Qualcomm Technologies, Inc MSM8916.

I will keeps searching and hope that I will find help and solution.

Thank you gibor for your help and reply smile

Offline

#35 2016-02-04 03:16:04

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: Slitaz-arm on Android

Run the USB OTG checker app to determine your USB capabilities.

https://play.google.com/store/apps/details?id=com.app.usbotgchecker&hl=en

modules.tar.xz

https://goo.gl/FfR3Uh

tux@slitaz:~$ adb shell 'ls -lR /system/lib/modules'

/system/lib/modules:

-rw-r--r-- root     root        10296 2015-10-26 16:04 ansi_cprng.ko

-rw-r--r-- root     root       227512 2015-10-26 16:04 diagchar.ko

-rw-r--r-- root     root         6992 2015-10-26 16:04 evbug.ko

-rw-r--r-- root     root        47696 2015-10-26 16:04 gspca_main.ko

-rw-r--r-- root     root        70536 2015-10-26 16:04 mmc_block_test.ko

-rw-r--r-- root     root        43608 2015-10-26 16:04 mmc_test.ko

drwxr-xr-x root     root              2015-10-26 16:04 pronto

-rw-r--r-- root     root        11504 2015-10-26 16:04 radio-iris-transport.ko

-rw-r--r-- root     root        19816 2015-10-26 16:04 spidev.ko

-rw-r--r-- root     root        34640 2015-10-26 16:04 test-iosched.ko

-rw-r--r-- root     root       275136 2015-10-26 16:04 texfat.ko

-rw-r--r-- root     root       595872 2015-10-26 16:04 tntfs.ko

lrw-r--r-- root     root              2015-10-26 16:04 wlan.ko -> /system/lib/modules/pronto/pronto_wlan.ko

/system/lib/modules/pronto:

-rw-r--r-- root     root      5363504 2015-10-26 16:04 pronto_wlan.ko

Offline

#36 2016-02-05 12:34:03

mungkie
Member
Registered: 2016-01-31
Posts: 3

Re: Slitaz-arm on Android

Thank you very much for your time helping alanyih, very gracious, and I tried download as soon as I saw.

Unfortunately I think my assumptions and speed reading of thread led me to ask unnecessarily. I have check your archive and find there is no usb driver on your device.

I am starting to think maybe usb OTG driver is not available for MSM8916?.

I have already tried as you suggest test usbotgchecker, I edit android.hardware.usb.host.xml once I root device and checker shows usb enabled but no s3c driver.

To hack enable usb otg I follow this guide: https://github.com/452/USBHIDTerminal/wiki/How-to-enable-USB-host-API-support

Unfortunately I cannot find usb drivers and nothing is shown in /proc/ for device, no usb in /system/modules/ and nothing in dmesg. Pluging in OTG cable with power split has nothing in dmesg.

I think kernel maybe support MSM8916, maybe hardware or also some show software driver hack, but I cannot find ready compiled module and I am never compile kernel for android before.

I post question here : http://forum.xda-developers.com/android/help/root-requesting-root-alcatel-pop-2-5-t3106328/page8

I think I do not have enough time for many hours to understand kernel compile for android and not available /proc/config.gz in default android so my configuration is uncertain.

I will continue to search and post here if I find solution.

Many thanks for your attempt to help alanyih smile

Offline

#37 2016-02-05 16:59:06

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: Slitaz-arm on Android

I am starting to think maybe usb OTG driver is not available for MSM8916?.

1. Vodafone VF-895N

http://specdevice.com/showspec.php?id=6b28-515b-ffff-ffffb104159b

Communications

Phone GSM; Net: HSPA

WiFi wlan; IEEE 802.11 b/g/n; Qualcomm 8916 Snapdragon 410; AP Mode

USB Host Yes

Bluetooth Bluetooth 4.0

GPS Yes

2. UtorCase for Vodafone Smart prime 6 and Xbox or Playstation controller

http://utorcase.com/devices/vodafone-smart-prime-6#.VrKsj8u2FFQ

Device Image:

Dimensions:

141.7 x 71.9 x 9 mm (5.58 x 2.83 x 0.35 in)

Brand:

Vodafone

USB On-The-Go or USB Host Enabled:

Yes

Keyword:

SMART

Prime

6

Short Name:

VSp6

Sold on SW:

No

Weight (g):

155

3. ASUS ZE500KL / Z00E

Linux localhost 3.10.49-perf-gd1c5ee8 #1 SMP PREEMPT Mon Oct 26 16:13:26 CST 2015 aarch64 GNU/Linux

[attachment=41641,2237]

[attachment=41641,2236]

[attachment=41641,2235]

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.022 seconds, 7 queries executed - Memory usage: 1.58 MiB (Peak: 1.77 MiB) ]