yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] nick.anderson:
I found the 0804 rom horrible. Screen touch responsiveness was very bad, wireless was unusable. I flashed 0818 and things have greatly improved. The touch responsiveness is significantly better. However Wireless seems to still have issues. Once connected to my AP everything is fine. I can go anywhere in the house and still have adequate signal. Getting connected though seems to be the issue. I haven't figured out how to reliably connect to an AP. Is there some trick with disable/reenable wifi to get it to associate and pull an address?
[Android Software/Hacking General [Developers Only]] zdude2:
Great job RPM!! Only thing I noted was the gls.db file does not exist (when doing the sqlite3 update) - it would be nice to add that to the script - copying the gls.db with the android||0 inserted then it would be perfect!
[Android Software/Hacking General [Developers Only]] ateist75:
I am really sorry but i have done everything according to the guide but i dont get it to work. I am a total noob at this..... :(

Is this correct

RPMScript {192.168.1.8} {56282372735XXXXXX}

I get this in cmd

G:\android-sdk-windows\tools>RPMScript {192.168.1.8} {562823727350xxxxxxx}

Usage: RPMScript {device-ip} {GoogleID}

If you have not already enabled tcpip, connect device OTG port now.
Press any key to continue . . .
'..\adb' is not recognized as an internal or external command,
operable program or batch file.

(an error is ok if you have already done 'adb tcpip 5555')
Please disconnect OTG port.
Press any key to continue . . .

'..\adb' is not recognized as an internal or external command,
operable program or batch file.
'..\adb' is not recognized as an internal or external command,
operable program or batch file.

If connection and remount was not successful, please press [Ctrl]-C to abort.
Press any key to continue . . .

[1/3] About to install RPM-Addon into SYSTEM (GoogleApps, root, boot-ani, etc)..
.
Press any key to continue . . .

'..\adb' is not recognized as an internal or external command,
operable program or batch file.
'..\adb' is not recognized as an internal or external command,
operable program or batch file.
'..\adb' is not recognized as an internal or external command,
operable program or batch file.
'..\adb' is not recognized as an internal or external command,
operable program or batch file.
'..\adb' is not recognized as an internal or external command,
operable program or batch file.
'..\adb' is not recognized as an internal or external command,
operable program or batch file.
'..\adb' is not recognized as an internal or external command,
operable program or batch file.
'..\adb' is not recognized as an internal or external command,
operable program or batch file.

[2/3] About to remove extra apps that should not be part of SYSTEM...
Press any key to continue . . ..
[Android Software/Hacking General [Developers Only]] jtbnet:
In order to be able to run the script you must already have the Android SDK loaded on your PC as the script just automates many Manual ADB steps to make this easier than typing them all but ADB from the SDK must be present and available to begin with.
[Android Software/Hacking General [Developers Only]] hal_9000:
You don't have to write the "{" and "}". Just type:

RPMScript 192.168.1.8 56282372735XXXXXX

EDIT:

In addition, I noticed that you're running the script right from "tools" directory. That's not right. You have to extract the ZIP content to a directory inside "tools" not directly to "tools".
[Android Software/Hacking General [Developers Only]] ateist75:
Thanks, but i have SDK isntalled and Adb.exe is here: G:\android-sdk-windows\tools . I dont understand??? :confused::confused::confused:

But is this correct : RPMScript {192.168.1.8} {56282372735XXXXXXX} ?
[Android Software/Hacking General [Developers Only]] ateist75:
The content is in a folder called "Script" in tools dir.

I tryed RPMScript 192.168.1.8 5628237273XXXXXXXX

But it did not work, i get a lot of

'..\adb' is not recognized as an internal or external command,

I really appreciate your help!

EDIT!! It shoul be G:\android-sdk-windows\tools\script of course!! I am so ashamed ....and happy! :)
[Android Software/Hacking General [Developers Only]] efransen:
Thanks.. but linux-kernel:zImage_cui is not in my package??

-found it.. sorry..;;))

eric
[Android Software/Hacking General [Developers Only]] xaueious:
You guys need to figure out how to adb to it first.

I heard you need to enter a port number, not sure.

As for system dump:

Dumping system content

5) adb remount

5) adb push busybox /data/local

6) adb shell chmod 777 /data/local/busybox

7) adb shell /data/local/busybox tar czvf /sdcard/systemdump.tgz /system

If busybox is not already installed, you can get it here -> http://www.busybox.net/downloads/bin...busybox-armv6l

Source of busybox:

http://www.busybox.net/downloads/binaries/1.16.1/

Instructions:

http://android.modaco.com/content/ac...andard-device/

And upload that file somewhere
[Android Software/Hacking General [Developers Only]] kaiza1:
thanks for the infos, but the push infos ive got already;)

Yes i saw it trouh netstat that a port is open, mh, my pad is not connected to my network @ the moment, i will try my best tomorrow. gn8

ps: you dont need to write a step by step manual for me, i know howto handle linux, only android is new for me.
[Android Software/Hacking General [Developers Only]] jtbnet:
The OTG port seems to be the Only alternative as the Full Size USB isn't even noticed by a windows system... but I do know my full size USB works, as I've plugged in a 2.4GHZ Wireless Keyboard and mouse and that worked fine except for key mapping being a bit hoky... At least the Mini USB/OTG port is noticed as being plugged in by windows... just I haven't to date been able to find a USB driver that recognizes it successfully so it's just an 'Unknown' Device on my systems.

I do have ADB running and pulled a system dump in case xaueious still wants one... I've sent him a PM and my email...

I run ADB using the standard Network Connect proceedure..;

C:\> adb <IPADDR>:5555 connect

C:\> adb -s <IPADDR>:5555 <ADB-Command, i.e. shell>

Hope this helps...
[Android Software/Hacking General [Developers Only]] Drew442:
I cant remount /system read-write for some reason

adb remount says success but then I can't remove files...
[Android Software/Hacking General [Developers Only]] xaueious:
I still am looking for that system dump people

Slatedroid has closed the discussion threads under the pretense of 'flaming'. Sounds more like censorship to me.

Guys?
[Android Software/Hacking General [Developers Only]] kaiza1:
Thanks to User "jtbnet", i got a connection to SDK.

Here is the systemdump: http://www.multiupload.com/IGKP7E739L

I put a dmesg-log in there.

This lines are very interesting:

Linux version 2.6.32.9 (root@zenithink) (gcc version 4.3.3 (GCC) ) #1431 Wed Jul 14 22:42:23 CST 2010

CPU: ARMv6-compatible processor [4117b365] revision 5 (ARMv6TEJ), cr=00c5387f

usbcore: registered new interface driver asix

usbcore: registered new interface driver cdc_ether

usbcore: registered new interface driver net1080

usbcore: registered new interface driver rndis_host

usbcore: registered new interface driver cdc_subset

usbcore: registered new interface driver zaurus

usbcore: registered new interface driver rt73usb

I hope we can find a way to run another kernel fast as possible
[Android Software/Hacking General [Developers Only]] omniajet13:
Hi Wowa wia

i recieved my zt-180 this weekend it already has android 2.1 on it, but it seems to be unfinished. most things work but i am unable to connect it to my pc for a direct connection via usb, also there is no working marketplace app. this the information i have in the system

information is as follows

model number P7901a

firmware version 2.1-update 1

kernel version 2.6.32.9

build number p7901a-eng 2.1-update 1 ERE27 eng.root.20100708.111326 test-keys

Please can you tell me wether the firmware you have pointed to is an update of this version i already have loaded. and wether the two outstanding issues i have found work? otherwise it is quite slick and faster than my previous Apad irobot

Thanks
[Android Software/Hacking General [Developers Only]] kaiza1:
Hey Please this is kind of Developing thread. The Android dont works aswell. All Existing firmware sucks ! And there will no connection BE if you connect the android throu USB!
[Android Software/Hacking General [Developers Only]] icurafu:
Hey, nice to see a thread here with some of my information.

I used QuadrantStandard android application to get the system information. It's free on SlideMe.

I've tested firmware flashing a few days ago and it all works fine. Mostly, The user needs to copy the files to a new directory with Latin chars.

Anyway, the first customer release of Android is coming soon. These always perform better than the ENG versions as its no longer in debug mode, plus we get a more aggressive garbage collector and more RAM to start with. I'm finding performance is great at the moment, but tends to due after you open too many things at once.

Does anyone have information on Motor? The setting exist and I thought it was just the accelometer. But a comment in Slatedroid claims it is GPS.
[Android Software/Hacking General [Developers Only]] kaiza1:
Now i crosscompiled some helloworld to see which compileroptions we need

i tested the follow

arm-linux-gnueabi-gcc -static -o hello helloworld.c

pushed it on the Pad. and watch:

./hello

Hello World

#
[Android Software/Hacking General [Developers Only]] xaueious:
Thanks for the system dump guys. Slatedroid has been useless for this. I'm glad xda is around.

dmesg on pastebin

http://pastebin.com/EuHGKsiH

Edit: guys, readelf output of libdvm.so, towards the end

No version information found in this file.
Attribute Section: aeabi
File Attributes
Tag_CPU_name: "6"
Tag_CPU_arch: v6
Tag_ARM_ISA_use: Yes
Tag_THUMB_ISA_use: Thumb-1
Tag_VFP_arch: VFPv2
Tag_ABI_PCS_wchar_t: 4
Tag_ABI_FP_denormal: Needed
Tag_ABI_FP_exceptions: Needed
Tag_ABI_FP_number_model: IEEE 754
Tag_ABI_align8_needed: Yes
Tag_ABI_align8_preserved: Yes, except leaf SP
Tag_ABI_enum_size: int
Tag_ABI_HardFP_use: SP and DP

We also have evidence that the file has at least been compiled with JIT, although it is still not clear where they have enabled it. Here's the readelf -a of libdvm.so

http://pastebin.com/i3hGiAy8

I'm no expert, but I can see references to JIT in the libdvm readelf. I have an Acer Liquid, compiled for without JIT, and these lines referring to JIT are there in my build.

Here:

22: 000674c1 156 FUNC GLOBAL DEFAULT 7 dvmJitToPatchPredictedCha
...
100: 00067225 116 FUNC GLOBAL DEFAULT 7 dvmJitUnchainAll
...
103: 00061c41 96 FUNC GLOBAL DEFAULT 7 dvmJitf2l
...
232: 00061b05 24 FUNC GLOBAL DEFAULT 7 dvmJitStopTranslationRequ
...
269: 00014de8 0 NOTYPE GLOBAL DEFAULT 7 dvmJitToTraceSelect
...
320: 00061ca1 260 FUNC GLOBAL DEFAULT 7 dvmJitLookupAndAdd
...
539: 00062299 200 FUNC GLOBAL DEFAULT 7 dvmJitStartup
...
677: 0003aa0d 10 FUNC GLOBAL DEFAULT 7 dvmJdwpNetFree
...
772: 00067121 132 FUNC GLOBAL DEFAULT 7 dvmJitChain

I might have missed a few.

These lines are also not present in my compiled AOSP build of Dalvik, without the WITH_JIT flag

Here's an example corresponding to source code, you can see that in Jit.c ([platform/dalvik.git] / vm / interp / Jit.c)

http://android.git.kernel.org/?p=pl...f5c3c2f4ed674ab8e33d116f7bb721184b8;hb=eclair

dvmJitStartup is only defined '#ifdef WITH_JIT'

16 #ifdef WITH_JIT

17

18 /*

19 * Target independent portion of Android's Jit

20 */

21

22 #include "Dalvik.h"

23 #include "Jit.h"

24

25

26 #include "dexdump/OpCodeNames.h"

27 #include <unistd.h>

28 #include <pthread.h>

29 #include <sys/time.h>

30 #include <signal.h>

31 #include "compiler/Compiler.h"

32 #include "compiler/CompilerUtility.h"

33 #include "compiler/CompilerIR.h"

34 #include <errno.h>

35

36 int dvmJitStartup(void)

This proves that libdvm.so has been compiled with the flag 'WITH_JIT'. I have no doubt in my mind that they have compiled this to use it in running systems on purpose.
[Android Software/Hacking General [Developers Only]] xaueious:
I'm going to double post only because I want to keep this separate.

I ran isprelinked on the libs, and the prelink map should be the same as whatis already in AOSP. So you will be able to recompile a non-JIT libdvm.so and push it to the device for better stability.

One could try slipping in an ARMv6 libdvm.so from a similar ARMV6 device (Cyanogenmod 5 comes to mind)

And if libwebcore is not already compiled for v8 webkit, that would be a nice performance boost.
[Android Software/Hacking General [Developers Only]] kaiza1:
Well, i thought, we should be create a new dist. I know its hard to begin, but android is a big fail on ZT-180 (my opinion).

Recompiling Android is maybe timewaste because Zenithink will release a better Firmware soon. (i think so)

But i dont know howto start, i dont have any kernelconfig, and iam really bad @ creating kernels in linux, so anyone knows?

I found a Little Modullist:

8250

alarm

alarm_dev

binder

cfg80211

dccp

earlysuspend

ehci_hcd

galcore

gmac_univ_ethernet

hid

hid_apple

kernel

keyboard

lockd

lowmemorykiller

mac80211

mousedev

mt20xx

nfs

option

pl2303

printk

psmouse

rndis_wlan

rt3070sta

rt73usb

scsi_mod

sdhci

snd

snd_pcm

snd_pcm_oss

snd_seq

snd_seq_oss

snd_timer

soundcore

spurious

sunrpc

tcp_cubic

tda8290

tda9887

tea5761

tea5767

tuner_simple

tuner_xc2028

usb_storage

usbcore

usbhid

usbserial

userwakelock

uvcvideo

v4l1_compat

vt

wakelock

xc5000

yaffs

Thanks to user icurafufu for that information:

[I use a software called QuadrantStandard that identifies ARMv6TEJ called IMAPX200 and Vivante GC600 OpenGL ES 1.1 graphics.

But it does support 32-bit colour. (24-bit plus 8-bit alpha with a 8-bit stencil) and a lame 2-axis accelerometer.]
[Android Software/Hacking General [Developers Only]] icurafu:
thanks, you'll notice only OpenGL ES 1.1 drivers, but the hardware can support 2.0, so hopefully there is something to look forwards to there.

Here is another product with the same CPU, made by the father company of the board producer.

www dot shuoying dot com/global/Product_i.asp?/95.html
[Android Software/Hacking General [Developers Only]] WowaWiwa:
Debian could be a great alternative, because it's flexible and arm 11 distribution is available.

If i find sometime i am able to compile a kernel for this device.

What about Debian for this "other" firmware?

Wowa.
[Android Software/Hacking General [Developers Only]] rpmccormick:
Thank you for this post. I just got one and was looking under SlateDroid M003 but ended up bricking. I am downloading your ROM now and will see if I can recover. I have done some G1 cooking and am ready to help with this.

FYI: You can ADB CONNECT {ip}:5555 and you will have root access through ADB. This is how I pushed the GoogleApp apks into system/app which bricked it.

Have you gotten SuperUser.apk to allow other apps root access?

BTW: My stock (which is still working on a second one I bought) was 2.1-update1. If you have something else and would like me to rip it, just send me some directions and I'll be happy to.

Ok, off to read this entire thread and try to flash you tar. Thanks again.
[Android Software/Hacking General [Developers Only]] xaueious:
It seems that Willo at Slatedroid got a hold of the actual device SDK needed to pack and unpack firmwares. He's not releasing it until he releases it with a Slatedroid branded ROM though. That should be up in a little while.
[Android Software/Hacking General [Developers Only]] rpmccormick:
So SlateDroid will have a ROM for the ZT-180?

(deleted rest of post after figuring out I need to remount the USB after the fieststep of FW programming so it can continue)
[Android Software/Hacking General [Developers Only]] i2Paq:
I think that for most users the Android is better then Linux.

It is easier to handle and to add programs to.

I'm not sure if Zenithink will release a new Firmware, they should because there are to many issues with the current.

I would not mind if there was a custom Rom/Firmware build by you guys to have the best of both worlds :D

Anyway, thank you for your work on this insert-thumbs-up
[Android Software/Hacking General [Developers Only]] hal_9000:
In your previous post the script was not in that "script" directory since you were running it right from "tools":

G:\android-sdk-windows\tools>RPMScript {192.168.1.8} {562823727350xxxxxxx}

If you have created it now, then it should read:

G:\android-sdk-windows\tools\script>RPMScript 192.168.1.8 562823727350xxxxxxx
[Android Software/Hacking General [Developers Only]] hal_9000:
Bad luck. :(

Market doesn't download for me. I noticed that once I apply the fake provider with Market Enabler and then reboot, if I go back to Market Enabler I don't see there the number of the provider anymore.
[Android Software/Hacking General [Developers Only]] jlcid:
I run RPM hack and the Market run but the apps don's donwload... I can see all apps but don`t download any.

Some idea?

thks
[Android Software/Hacking General [Developers Only]] jlcid:
Hi, Yoigo.

I'm from Spain and me too, don´t download Market for me.

RUN, now market run ok.

I install a file adb push... And now, market run... : )
[Android Software/Hacking General [Developers Only]] nox78:
after the script RPMScript

click on the icon, it flashes but goes further
[Android Software/Hacking General [Developers Only]] nox78:
after the script RPMScript
[Android Software/Hacking General [Developers Only]] csbert:
You have to rerun the last adb shell sqlite3 command inside the shell i.e. do an adb shell. Then inside the shell do sqlite3 ...
[Android Software/Hacking General [Developers Only]] csbert:
Nice work. I got it working as well. The last database command doesn't work though. I think there is something wrong with the syntax. I logged into sqlite and update it manually.

Can you also publish the system.img and the data.img? I posted a note on how to do that. It will make the process simpler. And we have some custom rom at last!

Also, the mod run very slow at first. However, when I set it to only keep 3 running app process, it works great!
[Android Software/Hacking General [Developers Only]] hal_9000:
I know it, we talked a few posts above about that problem. When I said that it doesn't download is after do every step, including that.
[Android Software/Hacking General [Developers Only]] stomioka:
Thanks very much! Market is working now.

I modified your script little bit to work.

1) I put your script under tool folder so changed all "..\adb" to ".\abd".

2) Removed line

..\adb shell sqlite3 /data/data/com.google.android.googleapps/databases/gls.db "update meta set intvalue='%2' where name='androidId'";

3) Removed line

..\adb shell rm /system/app/Email.apk as I need it.

4) Then I ran your script, reboot, setup google account, reboot, updated gls.db, reboot, run market enabler, then reboot.

5) Now, I can download apps from the market.

Great work! Thanks!
[Android Software/Hacking General [Developers Only]] ayman07:
i cant even sign in into my google account anymore. i get this whole "cannot establish connection" thing. i ran the sqlite3 cmd with the android ID from my nexus. still a no go
[Android Software/Hacking General [Developers Only]] hal_9000:
:eek: Damn it! Don't ask me how but the AndroidId which I was using was in hexadecimal, so it was getting cut at the first non numeric character. I redid the gls.db insertion again with the correct decimal value and now it's working. :D

I cannot figure out how the value was in hexadecimal, since I just used a sqlite3 command to retrieve it. :confused:
[Android Software/Hacking General [Developers Only]] hal_9000:
Network location is not working for me now in Google home page or in Weather and News. I remember that it worked with 0804 in one of my tests, when I pushed the ERE36B Google Apps.
[Android Software/Hacking General [Developers Only]] csbert:
I note that network location is very cpu consuming. I think it polls for gps as well. So it is best to remove it. Other people have similar problem with it as well. The process is system_server. If you see alot of cpu time logged on it, it should be turned off.
[Android Software/Hacking General [Developers Only]] csbert:
It didn't download for me too. Then I went in to sqlite and updated it manual. Restart. And it works.
[Android Software/Hacking General [Developers Only]] hal_9000:
More weird things...

Before update gls.db with the correct ID (so the Market didn't download) when I searched the Market for "slidemytiles" (a game programmed by me) I got an error message saying that no application could be found with that search terms. Then I updated gls.db with the correct ID and then the Market was able to download and in addition a search for "slidemytiles" returned the correct result. Now, after a reboot, the Market still can download, but again cannot find nothing when I search "slidemytiles". :confused:
[Android Software/Hacking General [Developers Only]] tawakoly:
after following the instructions on that page my zt 180 got stuck on the android screen, and it keeps asking me to press on the android logo, but nothing really happens :(

any advise?
[Android Software/Hacking General [Developers Only]] hal_9000:
Yes, tap the four corners as the instructions say.
[Android Software/Hacking General [Developers Only]] Zorflieg:
So as per RPM's instructions when the android logo comes up it's best to give it 60 seconds to allow some boot tasks to finish if it prompts you to force quit anything click wait, if it asks you to allow something superuser permissions allow it.

Then after 60secs press your finger within the four corners of the big black box that the android sits in the centre of, clockwise. Top left, top right, bottom right, bottom left.

Just to spell it out... I wouldn't consider myself to be dumb but for some reason the first few times i did it i incorrectly did top left, top right, bottom left, bottom right like i was reading a book. Brain malfunction.
[Android Software/Hacking General [Developers Only]] xllamas:
rpmccormick uRock!!

Market is working for me now.

I noticed you included FlashPlayer.apk, I tried it and it didn't work (as I expected, since I think it requires an ARM 7 CPU an the ZT-180 is ARM 6 unless you have something else under your sleeve!! ).

Has any one had any luck with a 3G modem. I get an error by just trying to enter the configuration in Settings (with or without the modem plugged in, and with rom 0804 and 0818). I have verified that the modem is detected and assigned to /dev/ttyUSB0 and I can even:

echo AT > /dev/ttyUSB0; cat /dev/ttyUSB0

and see the modem responding.

It even does the nifty trick of changing the device mode as this modem (ZTE MF622) when first plugged in acts as a flash drive (where the windows driver files are stored) and has to be switched to a serial device
[Android Software/Hacking General [Developers Only]] rpmccormick:
Mine has never worked on my home router running dd-wrt, but at my GFs house it does find location sometimes, seems random.
[Android Software/Hacking General [Developers Only]] insight3fl:
Backward question:

I am trying to creat the android ID using the emulator, but it keeps getting stuck on the "android-" in the emulator screen and never completely "boots". What am I doing wrong??
[Android Software/Hacking General [Developers Only]] Zorflieg:
So you downloaded the sdk, ran it, let it update/download all the 1.6 sdk software and market/usb stuff. Then you downloaded the 1.6 system.img online that contains the working market app and copied it over the one in the /android7/images folder.

Then created a new AVD and tried to boot it.

If it's stuck there then... yeah out of ideas.

If you are missing the link to the market system.img i think everyone uses the one reffered to in part one of this post.

http://www.slatedroid.com/eken-m002...-my-market-works-download-apps.html#post25715

Part 2 obviously is different for us but Part 1 of this is basically how it goes if you need a refresher.