yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] p3hndrx:
Wifi Tethering & Ad Hoc --- Revisited.

Howdy, folks.

So, I'm up and running on my ZT-180:

*Thanks for all of your help.

0926 -- YES

Android Market -- YES

My next big thing is to try and get my WiFi Tethering Application to work...

My phone is a Samsung Captivate (SGH-i897) using Barnacle WiFi Tether*

*it's the only App that I could get to start proper and connect to through my MacBook's Airport.

Now...

I'm trying to get the ZT-180 to detect the AdHoc Network.

Using Wifi Buddy, I can see the AdHoc Network, but cannot connect... It says to use the "built-in" Wifi settings pane which does not see the SSID.

I have applied the Updated 8k WiFi Driver and the Updated WiFi config (TX patch) from RPM's script (v.1.1), but no luck.

Any suggestions?

Following a few of the other posts here, I'm not sure I am familiar with /system/etc/wifi/tiwlan.ini or wpa_supplicant.conf
[Android Software/Hacking General [Developers Only]] hal_9000:
Well, when I used that line in "build.prop" Quadrant was able to perform all the test without the need to push that "libdvm.so", but since it's optimized I'll push it now.
[Android Software/Hacking General [Developers Only]] jtbnet:
What you are seeing is similar to what I saw in testing the ZT vs. Samsung Arm11 libdvm.so prior to the 0827 firmware... With the 09xx firmwares Qaudrant passes with the ZT firmware ,granted with scores between 235-255 overall which is dang slow...

So you're tunning JIT disabled =

dalvik.vm.execution-mode=int:fast

vs. JIT Enabled;

dalvik.vm.execution-mode=int:JIT

Based on all the testing I did long ago on the Moto Droid 2.1 builds... and based on how the tools that Enable/Disable JIT toggle it...

I haven't tested JIT enabled with either ZT or Samsung libdvm on the latest 0929 Firmware... maybe one will be better...
[Android Software/Hacking General [Developers Only]] catttman:
Please ,can you tell me the comand line to push this build.prop

with adb

"adb push build.prop"

is that right... with build.prop in my tools dir.?

thanks
[Android Software/Hacking General [Developers Only]] Christian Buchner:
It's not quite that easy. Push does not work over USB yet.

<set up WiFi on Pad, but connect via OTG cable first>

adb tcpip 5555

<now disconnect the USB cable>

adb connect <Your Pad's current WiFI IP Adress>:5555

adb remount

adb push build.prop /system/build.prop
[Android Software/Hacking General [Developers Only]] catttman:
thank you!!
[Android Software/Hacking General [Developers Only]] jtbnet:
No tiwlan on these tablets as uses an RA chip... best to see my thread on this over on Slatedroid;

http://www.slatedroid.com/zt-180/69...n-working-dhcp-no-static-ipaddr-required.html
[Android Software/Hacking General [Developers Only]] prscott1:
ubuntu!

Hi all -

I am able to mount an ubuntu.img and run ubuntu on my pad!! :D

Using the guide posted here http://nexusonehacks.net/nexus-one-hacks/how-to-install-ubuntu-on-your-nexus-oneandroid/ as my inspiration, I did it!

If there is any interest, I can post more information.

The gyst of it is I created an enormous ext3 partition on my sdcard and copied the ubuntu.img to it. I mount the ext3 drive during boot (using autostart app since it isn't an option on this rom). I then created a bootubuntu shell script (using the above link as guidance/inspiration) - and voila - I was root@localhost! From there, I installed the vncserver and lxde on the ubuntu image (using apt-get so I know the internet was available).

On the pad, I installed the android vnc viewer- and use it to connect to localhost on the appropriate port, and voila, I had the ubuntu desktop image!!

I'm heading out for an evening of fun, so if anyone is interested in more info - I'll check back tomorrow or Sunday.

This is very exciting for me because I am an ubuntu freak (use lucid lynx 10.04 on my home laptop and at work on my primary desktop computer). Tomorrow I will do more testing to see if it is going to be stable and viable.
[Android Software/Hacking General [Developers Only]] UrsusSolaris:
Late to the party . . .

Ok, so I am late again as usual, but I have a question:

I am experiencing the wifi issues described under the Cyanogenmod Issue 1182, which is listed as resolved.

Can anyone tell me if the google supplied patch has made it into any of the ZT-180 ROMs?

Background:

As all of our network control servers currently utilize a web-based interface from our internal network, I would like to be able to log in, however, the Cisco AP has a SSL certificate that is not RFC compliant (go figure, it's Cisco), so the browsers just say that they cannot connect to the page, so we never get a login.

I have tried the internal Android browser, SkyFire and Dolphin HD. I can't get Fennec to work, so I can't try that.

Does anyone know which ROM, if any, the patch is compiled into?

Thanks in advance for any and all help!
[Android Software/Hacking General [Developers Only]] wasserkapf:
THANK YOU!!!

This is my first outing with Android, and I am beginning to loath it. I am first a Fedora user, but have been using Ubuntu because of the ease of it.

I guess I know what I'll be trying to do this weekend. :) Maybe first I'll get a new microSD card, so I don't have to delete everything on my current one. I haven't read the link yet, but how did you get around the kernel patch?
[Android Software/Hacking General [Developers Only]] xt0adx:
I would love more information on how you did this!
[Android Software/Hacking General [Developers Only]] synonymous:
You're a liar. I just finished actually watching the video (after getting excited). It's just a freaking remote desktop.
[Android Software/Hacking General [Developers Only]] jtbnet:
Careful... Are you so sure?... I've done similar on other devices and I've used VNC to connect locally more than once to an alternate OS on the same system... so Just be Careful with accusations...
[Android Software/Hacking General [Developers Only]] <Laharl>:
What video?
[Android Software/Hacking General [Developers Only]] wroclaw1:
Ununtu on apad

Very nice :) I'm very much interested, so please follow up with new post.

I'm also working on running a "standard" Linux system on the ZT-180 but follow a different (the hard way) approach building everything from scratch.

This is how far i am at this moment:

1) Patched the zImage with a new initramfs which is just able to do a "switch_root" to a full blown root file system in nand.

2) Created with buildroot a "normal" root file system and burned that in nand (mtdblock0) replacing the Android system image.

3) After fighting with switch_root for a day, I'm now able to boot from reset into the new root file system.

4) Now working to get the Ethernet up ad running (lost somewhere eth0). (Update: eth0 is working now, ifconfig eth0 up and /sbin/udhcpc -i eth0 added to the rcS script.)

Not so "sexy" as running Ubuntu under android (a very nice option ) but it's a nice way to learn all the ins and outs of Linux.
[Android Software/Hacking General [Developers Only]] prscott1:
LOL. I think you made the same accusations towards the techie who made it work on NexusONE.

And yes it does work! lol The image I mounted is hardy, so later today I am going to try and pack my own image (lucid) and give it a try.

The hardy image runs fairly slowly as you can imagine on this cpu. Command line runs fast but the desktop when viewed from vnc viewer is slow to paint and I had to connect a real keyboard to use it since I didn't have a hot button to bring up my virtual keyboard.

More later all after more tests.
[Android Software/Hacking General [Developers Only]] prscott1:
Here is an excellent link that has helped me tremendously:

https://wiki.ubuntu.com/ARM/RootfsFromScratch

Again, on this zt180 crappy cpu, it isn't looking usuable.

At least with lucid (and maverick) the image is more minimal and the boot cleaner/faster.
[Android Software/Hacking General [Developers Only]] prscott1:
With this method, it isn't as clean as running natively; I am actually running the ubuntu image like a virtual os within android. Thus, it is so slow. I'm going to take the wroclaw approach later this weekend to see if I can run it natively.

So don't get too excited yet. ;)
[Android Software/Hacking General [Developers Only]] pepelillo:
Wow!

Please keep us informed about Howto run Ubuntu (or even better Debian) natively in our machines. I've also own a Smartq V5 and a Debian image it's been developed (NxPadd).

Sorry but i'm not alowed to post any external link.

Please can you give us more info about how to patch the zimage? Think our Zt-180 doesn't have any BT modules, even the latest Firmware has a "Bluetooth Perm test" app and I would like to use BT. Any Ideas?

Thanks and sorry for my Bad English
[Android Software/Hacking General [Developers Only]] wroclaw1:
Native Linux on ZT-180

The tools to unpack/pack the kernel zImage can by found in my post #1076, dated 11th September 2010, 10:25 PM

The initramfs which I use to boot into the Nand root file system is attached below.

Untar the file as "sudo" user because it contains a few device nodes in /dev.

The init script shown below mounts the Nand MTD0 partition and switches to the root file system in Nand.

No very exciting stuff. (Once you have it working :D)

#!/bin/sh

echo starting from initram image.

echo Mounting proc...

mount -t proc proc /proc && echo OK

echo "Mounting Rootfs in Nand (mtdblock0)"

mount /dev/mtdblock0 /newroot && echo OK

echo Unmounting proc...

umount /proc && echo OK

echo Hold on, switching root...

exec switch_root /newroot /init

echo hrm, have a shell instead

exec /bin/ash

I used Buildroot (http://buildroot.uclibc.org/) to build the ARM compiler and a minimal version of Busybox. Build Busybox as a STATIC linked application !! Option (│[*] Build BusyBox as a static binary (no shared libs) ) !!!!

My skeleton Nand root file system is also build with Buildroot, but now with a full blown busybox installed. (I also build this as a static application, but i think you can also use shared libs.)

I use at the moment DirectFb to get something on the LCD screen, but my final goal is to get X11 + QT4 working on top of the openGL hardware.
[Android Software/Hacking General [Developers Only]] marksxda:
Ubuntu not to heavy on Zt-180

Isn't Ubuntu a bit to heavy for such a light machine?

There used to be something like Damn Small Linux (DSL). Would something like that be more in line with the hardware.
[Android Software/Hacking General [Developers Only]] pepelillo:
Not really Marksxda,

My Smartq V5 has a slower ARM processor (600Mhz) and uses an Ubuntu 9.10 with lxde more or less fluently, and I've tested E17 and it's really fast. I'm not very used to work with Embedded linux except Angstrom distro with my old PDA's but I'd like to test in my zt-180.

Is there any chance to brick the unit?

Thanks
[Android Software/Hacking General [Developers Only]] wroclaw1:
Always:).

But i have been flashing both the kernel and system image with home brew stuff including running the root file system from NFS and my board is still alive.

As long as u-boot and the first stage boot-loader stay alive, the risks are not too big. In this case you can always re flash the original images with the PC flash tool.

I strongly advice to connect a serial terminal to the board because it allows you to stop the normal boot process and enter the u-boot command line and secondly you can see what happens (or not) during kernel start-up.

See my post #969 dated 8th September 2010, 01:57 AM on this form for schematics.
[Android Software/Hacking General [Developers Only]] killerbie:
Wow! good work guys!

Maybe the ubuntu for netbooks could be a good OS for our beloved ZT180?

I have tested that ubuntu version on my netbook, and it was, in my opinion, a really nice OS.

Looking forward to hear improvements on this :D
[Android Software/Hacking General [Developers Only]] prscott1:
I created a Xubuntu image using rootstock that is much lighter than regular ubuntu. It runs okay as a virtual os from within android os - mounted using chroot.
[Android Software/Hacking General [Developers Only]] Christian Buchner:
I doubt it! Ubuntu wasn't really designed with stylus operation and tablets in mind - also the many different Linux programs often do not follow a consistent user interface layout. So it's really an OS for die-hards.
[Android Software/Hacking General [Developers Only]] wasserkapf:
Yes, Ubuntu may not be the best for this tablet. I think that MeeGo would be a better fit, as it was designed with touchscreens in mind. Several major Linux distro producers have partnered with MeeGo, I assume so that they can offer a version of it.

These are the ones that have announced MeeGo partnerships of their distro:

SUSE (Novell): http://www.novell.com/news/press/novell-announces-support-for-meego

Fedora: http://fedoraproject.org/wiki/Features/MeeGo_1.0

Linpus: http://www.linpus.com/news/2010/06/04.html

Also announcing "support" for MeeGo:

Xandros

Mandriva

TurboLinux

RedFlag Linux (China!!)

Nomovok: http://www.nomovok.com/news/Nomovok-Launches-Native-Build-Service-for-MeeGo/

There is also the new Linaro Foundation, which aims for better integration of Linux for hardware vendors/manufacturers.

The future is bright, although currently it is a bit cloudy. I will bet that when the market becomes flooded with other, better, tablets, Zenithink will open up a bit. We will just have to wait. In the mean time, I may purchase a better tablet, and put the ZT-180 on the shelf!

Edit: Most of these distros are for Intel/Atom processors. ARM support would still have to be added.
[Android Software/Hacking General [Developers Only]] gyros8869:
hi

i did the push but still get "The process com.google.process.gapps had stopped unexpectedly. Please try again." message.

i can log into market but can not download.

what am i missing? any instruction is highly appreciated

thanks
[Android Software/Hacking General [Developers Only]] Christian Buchner:
Did you push ContactsProvider.apk and Contacts.apk to /system/app?

Did you run the adb command to set permissions for the /system/libs (and more) folders?

I believe these are the bits that make the gapps process not crash.
[Android Software/Hacking General [Developers Only]] OpenMinded:
Why not post a link?

Debian is open source, so they should release or they violate the GPL, right?

Would be great to run Ubuntu on this ePad!
[Android Software/Hacking General [Developers Only]] pepelillo:
Oh, Ther must be an misunderstanding, probably my bad english, the issue with the links is because Xda forum rules (related to my profie, don't know why, perhaps I'm a "new" user).

anyway is you search in unofficial smartqmid site you can find the info.

BTW I agree, meego can be a great option, but what's the problem the distro or the UI?, you can install Meego UI in Fedora, Debian, Suse etc and AFAIK in Ubuntu.

Anyway the main problems are not only the UI also the apps, and the events with mouse (duble click etc), to be finger friendly.

Opinions?

B.R
[Android Software/Hacking General [Developers Only]] dorian12:
Ubuntu Netbook Edition or Minimal install

There are more options for lightweight Ubuntu:

Netbook Edition

MInimal CD

(I am not allowed to send links since I am a new user here..)

I am thinking of getting the ZT-180 and it would be great to use ubuntu-based system!
[Android Software/Hacking General [Developers Only]] wasserkapf:
There is also lubuntu:

http://lubuntu.net/
[Android Software/Hacking General [Developers Only]] prscott1:
Hi all - I haven't had much time to pursue this further. But again to clarify, I do have an image running on the pad using chroot. from the image, i launch vncserver and then use vnc viewer from within android to access it. It is cheesy and it is slow but it works. This hardware is really crappy so I am not encouraged to pursue it much more. I did install the virtual keyboard on the ubuntu image but it was a big pain and not helpful. lol

And like I said, I did have to plug in a usb keyboard to use the ubuntu on the pad.

Also, my mini usb port broke (others have reported the same problem) so I can't use my ethernet dongle any more. Pushing these large images over wifi is not fun.

I think I will start a new thread if I do decide to pursue this any further (probably on my new device).

Thanks.
[Android Software/Hacking General [Developers Only]] prscott1:
Ditto. I'm very discouraged with this tablet - even using a stripped down Android OS. That is why I pursued the ubuntu angle. Not worth wasting more time. Although it was a fun exercise for proof of concept (for me).
[Android Software/Hacking General [Developers Only]] Christian Buchner:
AutoMarket test version

Hi,

I am posting a first version of AutoMarket.apk - a GUI based editor for market ID and IMSI on the device. This is my first Android App ever. I am usually a C++ wizard. So the programming was a challenge for me. Please try and see if it is useful for you.

Automarket relies on the device being rooted

Automarket makes use of /system/bin/busybox

Some diagnostic information (the shell commands executed) is printed below the buttons. Watch out for any indicated errors.

Caveats:

It isn't really "auto" yet. I had intended for it to pop up after booting when the device does not have an Android ID yet. I will add this feature some time soon.

Don't rotate the device orientation while editing the IDs - you will lose your edits ;)

You still need to know the Android ID you want to use (take this from another android phone or from emulator 1.6 dev phone image after running the provisioning setup)

I haven't tested it yet with the busybox version that the device ships with. I used the known good version from RPMscript for my testing.

You can edit the IMSI string, but it isn't checked for correctness yet (no Luhn check digit verification). I store it in the strvalue column of the gls.db - I hope this is the correct choice. I am not yet aware of any apps relying on an IMSI in this DB.

This app is not signed properly (I do not yet have a developer key for signing my own stuff)
[Android Software/Hacking General [Developers Only]] hal_9000:
I'm trying to make the tablet to connect to my HTC Magic with android-wifi-tether, but no way. I edited both "wpa_supplicant.conf" and "RT2870STA.dat" but although "AndroidTeher" appears in the list it always appears as "out of range". Does this have any "trick"?
[Android Software/Hacking General [Developers Only]] lmemperador:
when i open your aplication, there is an error message (in the button) -->

android.database.sqlite.sqliteexception: cannot start a transaction within a transaction

is it normal?

thanks Christian .

and a stupid question, how can i see my imsi number?

i have try this ways but no success --> https://www.mobihand.com/support/deviceid6.asp
[Android Software/Hacking General [Developers Only]] Christian Buchner:
Definitely not normal. Uhh.. ;) I am not even using transactions, hmm...

I suppose your device already has an Android ID?
[Android Software/Hacking General [Developers Only]] lmemperador:
not a problem, take your time. maybe it is only in my tablet /configuration.

the only thing important, i think that i have updated my busybox with titanium backup, maybe it is the problem. i don't know.

thanks again.

edit: maybe, :) because i have restored a lot of things with titanium. just for try the new 0929. i need to install a fresh android and start from the begining...:)

if i have an android id now inserted from previous stuff, the only thing i have to do to make the market works is to launch your 3 or 4 lines of code throw ADB, isn't it? for permissions if i remmeber well. i will try, thanks.
[Android Software/Hacking General [Developers Only]] jtbnet:
Gave it a quick try... Installs... initial open displays screen and Error

stderr:

su:uid 10080 not allowed to su

other apps requesting superuser privs are working...
[Android Software/Hacking General [Developers Only]] follow.me:
WiFi card

I have found out that wlan adapter is not rt2870 it's rt3070 (802.11 abgn !)

ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter

drivers for this card can be found at ralinktech dot com/support.php?s=2

and cross-compiled to arm11

hope this info is helpfull
[Android Software/Hacking General [Developers Only]] omarahum:
I thought everyone knew it's RT3070? Since it's already apart of the tablet, no need for drivers or cross-compiling to ARM11. "Of course that's just my opinion, I could be wrong..."
[Android Software/Hacking General [Developers Only]] Christian Buchner:
also the superuser part is working for me. Very frustrating to see this program fail so badly on other users' tablets.
[Android Software/Hacking General [Developers Only]] hal_9000:
Any clue on why the "AndroidTether" connection is always out of range?

And another doubt. Are we sure the egl drivers are really using hardware acceleration? I think the performance and graphic sluggishness is too bad even for this CPU.
[Android Software/Hacking General [Developers Only]] Christian Buchner:
there are some (ARM-) native openGL test programs in /system/bin - have you tried running these? These would access OpenGL directly.

also I wonder what the numeric column (currently set to 0) in /system/lib/egl.cfg is.
[Android Software/Hacking General [Developers Only]] insight3fl:
I think the "out of range" issue is a red herring.... it just says that when it does not connect to the adhoc network. Tethering works. Please follow Jtbnet's post previously. The key is editinig the wifisupplicant.conf file in the /misc/wifi/ directory, not the one in the etc/wifi/ directory. Pay close attention to the settings for mode=1 and ap_scan=2 and Priority="highest #". Check it often as it changes, then keep turning wifi on and off until it finally connects.... you need more patience for this step than waiting for an ordere from Dealextreme.com!! It works.... I am a student of Jt's fix and it is the best thing that has worked for me on this tablet.
[Android Software/Hacking General [Developers Only]] hal_9000:
That's the one I edited, but no way.
[Android Software/Hacking General [Developers Only]] hal_9000:
The first column is always 0 and refers to the display number, the second one is 1 for hardware and 0 for software and the third one is the suffix. I've been using this one adapted from the one on my HTC Magic with CM6:

#
# Copyright (C) 2009 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

#
# One line per configuration, of the form:
#
# D I TAG
#
# D: display (0: default)
# I: implementation (0: software, 1: hardware)
# TAG: a unique tag
#
# The library name loaded by EGL is constructed as (in that order):
#
# /system/lib/egl/libGLES_$TAG.so
# /system/lib/egl/lib{EGL|GLESv1_CM|GLESv2}_$TAG.so
#

0 1 VIVANTE
0 0 android
[Android Software/Hacking General [Developers Only]] Christian Buchner:
and it's still sluggish, even with the HARDWARE column set to 1? hmm... Maybe the VIVANTE drivers only provide software OpenGL - which frankly would be very disappointing.
[Android Software/Hacking General [Developers Only]] hal_9000:
Yes, still sluggish, that's what I find weird. I don't expect a super smooth movement, but at least that it doesn't move "by steps" when you change from one launcher screen to another or when you show/hide the application list. That's even is not 3D, I guess that the acceleration there is 2D only. :confused:
[Android Software/Hacking General [Developers Only]] Christian Buchner:
does it get any better when you remove a custom boot animation? I found that when I used a very large boot animation the graphics (particularly when scrolling launcher home screens) got so slow that the device was unusable for me.