yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] jtbnet:
I'm a bit confused by the flow of this question... the canned answer I always offered for Folks who wanted to switch FROM USB TO WIFI ADB was;

------------------

For me it kind of worked over OTG but hanged when doing install or push.

So I connected over OTG, and changed to WIFI TCPIP by doing:

adb -d tcpip 5555

after that I could remove the cable and connect via WiFi

adb connect 10.0.0.101:5555

adb shell

and then installs and pushes worked fine

------------------

So as '-d tcpip' is Switch To use Wifi you must provide the IPADDR in a 'connect' for Wifi to your tablet for this to work...
[Android Software/Hacking General [Developers Only]] omarahum:
Yeah, I posted the whole thing on the Slatedroid wiki, but he keeps getting stuck at each step. First the adb.exe wasn't in the tools folder (platform-tools now) and then he got the error: device not found when doing the first command...
[Android Software/Hacking General [Developers Only]] jtbnet:
Reason I was saying I was confused is two-fold... first looked like he was trying to get ADB working VIA USB (Not WIFI), and as that now Finally works with the correct kernel from 1126 I wasn't so surprised... but then latest post was;

-----------

But when I try:

Code:

adb -d tcpip 5555

I got this:

Code:

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

error: device not found

--------

Beside no connect line... it restarted on port 5037 (standard for usb?)

Here's a latest I just did for an example... MyIP is 192.168.2.19 and notice 5555

C:\>adb -d tcpip 5555

restarting in TCP mode port: 5555

C:\>adb connect 192.168.2.19:5555

connected to 192.168.2.19:5555

C:\>adb shell

#
[Android Software/Hacking General [Developers Only]] omarahum:
My bad, I was getting confused too (about telling him to check his drivers thing). I've been using android commander over usb so that's what i had to do to get it to work, (first time was checking the drivers in the control panel, now sometimes I just have to unplug and plug in the usb if it can't find the tablet). But I got the same error just trying the command now, only worked after unplugging/plugging usb cable.

Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\>adb -d tcpip 5555
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: device not found
C:\>adb -d tcpip 5555
error: device not found
C:\>adb -d tcpip 5555
restarting in TCP mode port: 5555
C:\>
[Android Software/Hacking General [Developers Only]] PrimoItch:
Hi hal_9000, I have read somewhere that the comand -d

bypass the need for drivers! So I thought that I just

needed to ensure that my PC was recognizing it!!

But how omarahum said:

"make sure your driver doesn't have a question mark or

exclamation mark on it"

I need a driver! So my question is: Where can I find it?

I am upgrading the Android SDK again with hope that It

brings the drivers I need!!

I would like to thanks for all answers!!
[Android Software/Hacking General [Developers Only]] omarahum:
I'm sorry I confused you, forget that part about drivers, I am using adb over usb with 1126 and had a brain fart when replying to you last.....

Did you try the dettaching the USB from the OTG port of the tablet and then attach it again, then trying the first command again? Sometimes helps adb recognize the tablet. Steps are the same as jtbnet and the wiki says....

(Update: I think you need Android SDK Tools, revision 8; Android SDK Platform-tools, revision one; and Usb Driver package, revision 3; maybe, atleast the market fix said you needed those files among others for the market fix procedure http://www.slatedroid.com/wiki/index.php?title=Fix_Market_For_Slates when it was needed for the ZT-180, so maybe make sure you have downloaded and installed those? {I also have Google USB Driver package, revision 4 installed, but I installed and updated everything.} But of course I could be wrong, sorry if I am...)
[Android Software/Hacking General [Developers Only]] omarahum:
Anyone get the new Market working on the ZT-180 yet? It always closes 2 seconds after saying loading on me... http://androidforums.com/android-applications/238262-market-2-2-7-android-2-1-link.html

Wow, Christmas came early for me, I'm downloading the Froyo Beta right now. Don't think I'm going to try it, at least not for a while, I'm liking the 1126 beta, but still excited :D...

SlateDroid Thread - http://209.250.2.82/index.php?topic=13066.0
[Android Software/Hacking General [Developers Only]] karlonicolas:
when will the beta testing end? <sigh> i can't wait to flash an official version of this new rom. too afraid of the reports that could potentially brick the pad.
[Android Software/Hacking General [Developers Only]] glen4cindy:
I asked this in the Q&A section and did not get any replies, so I am going to try here:

his has happened all of the sudden.

ePad was working just fine last night. No problems at all, working completely normally. Turned it off and put it on the charger.

Today, took it off the charger, turned it on, and the ePad showed up in the middle of the screen for a few seconds, then, the

linux penguin in the upper left hand corner, and the little " - " flashes for just a second, and then it freezes, and never gets any

further than this.

I thought something may be corrupted, so I decided to try and re-flash the firmware again. Prepared to do the flash, followed the

directions as before the last two or three times I have upgraded the firmware as the changes have come down, and nothing. The

computer does not recognize that the ePad is plugged into it at all. There is no reaction from the PC at all that I have connected a

USB device. I am using the same PC that I have always been using to upgrade the firmware on the ePad, so, it is not a PC problem.

Just to rule things out, I tried TWO different USB cables, and THREE different computers. All 32-bit, 1 running Windows XP Pro, 1 running

Windows Vista Business and 1 running Windows 7 Professional. None had any reaction from being connected via USB. The little box

in Burn Tool never turned green.

Is my tablet toast? I just gave this to my son yesterday for his birthday, have only had it for about 3 months or so, and been tweaking things

to get everything working just right. He has only had 1 day to play with it, and it would be a shame if it is a brick now.

Please help! I wrote the the seller yesterday, and their response so far has only been to send me the 1030 firmware, which is not going to help since the pad is not recognized by the computer anymore. This was my son's birthday present, and it worked just fine while I was getting everything set up for him. He used it one day, and then this happened. So, please help.....

Thanks
[Android Software/Hacking General [Developers Only]] jtbnet:
Unfortunately without source none of us can build a useable kernel for 2.1...

But you could forward thei request to the dev that asked for suggestions on this board though I'd be surprised if we see any/many more 2.1 versions as I've loaded the 2.2 Beta today, and it's pretty well along the way...

Definitely not ready for prime time yet, but loads, runs stable for most apps I tried...

Quadrant, when it ran, was a bit of an improvemnet, Video/Graphics were really bad compared to the 1126 version, but all tests finished, just video slowly... and overall quadrant score was still a bit better than that of recent 2.1 versions (240->265)...

Unfortunately I haven't worked in the office for years so can't check on a Cisco AP... But kernel says it's straight 2.6.32.9 ASOP build, thus should have the fix...
[Android Software/Hacking General [Developers Only]] atp_uestc:
did the logo appear?

if the logo can appear,it won't become a bricker.

only flash spl can break down the pad.
[Android Software/Hacking General [Developers Only]] omarahum:
The problem he is having is that the computer won't recognize the tablet anymore while in flash mode over USB, so no Device10 turning green to flash it again, do you have any ideas what could be wrong? I believe he is still using the 1020 ROM...

http://www.chinadigitalcomm.com/zen...nger-recognized-by-pc-via-usb-port-t2084.html

http://209.250.2.82/index.php?topic=12511.0
[Android Software/Hacking General [Developers Only]] wasserkapf:
diff --git a/core/java/android/net/http/SslCertificate.java
b/core/java/android/net/http/SslCertificate.java
index 46b2bee..2214405 100644
--- a/core/java/android/net/http/SslCertificate.java
+++ b/core/java/android/net/http/SslCertificate.java
@@ -196,26 +196,31 @@ public class SslCertificate {
*/
public DName(String dName) {
if (dName != null) {
- X509Name x509Name = new X509Name(mDName = dName);
-
- Vector val = x509Name.getValues();
- Vector oid = x509Name.getOIDs();
-
- for (int i = 0; i < oid.size(); i++) {
- if (oid.elementAt(i).equals(X509Name.CN)) {
- mCName = (String) val.elementAt(i);
- continue;
- }
-
- if (oid.elementAt(i).equals(X509Name.O)) {
- mOName = (String) val.elementAt(i);
- continue;
- }
-
- if (oid.elementAt(i).equals(X509Name.OU)) {
- mUName = (String) val.elementAt(i);
- continue;
+ mDName = dName;
+ try {
+ X509Name x509Name = new X509Name(dName);
+
+ Vector val = x509Name.getValues();
+ Vector oid = x509Name.getOIDs();
+
+ for (int i = 0; i < oid.size(); i++) {
+ if (oid.elementAt(i).equals(X509Name.CN)) {
+ mCName = (String) val.elementAt(i);
+ continue;
+ }
+
+ if (oid.elementAt(i).equals(X509Name.O)) {
+ mOName = (String) val.elementAt(i);
+ continue;
+ }
+
+ if (oid.elementAt(i).equals(X509Name.OU)) {
+ mUName = (String) val.elementAt(i);
+ continue;
+ }
}
+ } catch (IllegalArgumentException ex) {
+ // thrown if there is an error parsing the string
}
}
}

This isn't for the kernel. but for the java layer that runs Android. It lists the file in the first line:

/core/java/android/net/http/SslCertificate.java

You would run the diff file against the original to make the changes. I'm not sure of the exact method and options, it would be something like this:

$ patch -p1 < {/path/to/patch/file}

After the patch, I think you may have to re-compile Android. But I could be wrong.
[Android Software/Hacking General [Developers Only]] omarahum:
I got the new Market and it's working! :D The total lunar eclipse & winter solstice must be effecting my ZT-180, or does everyone have it working now?

http://209.250.2.82/index.php?topic=12631.msg105102#msg105102
[Android Software/Hacking General [Developers Only]] atp_uestc:
hi,

UrsusSolaris/jtbnet/wasserkapf

can you simply tell me what line you want to change in android 2.1 SslCertificate.java.

i compare 2.1 and 2.2,it's many difference.

i can build a framework.jar soon
[Android Software/Hacking General [Developers Only]] mi643:
inductor zt-180

So i ordered a zt-180 to play whit.. The one ting i'm a bit worried about is the inductor problem...

Does anybody know how to prevent this? Opening the case is no problem for me, the first thing i'm gonna do is open it to modify the wifi..:p

any ideas? Thanks!
[Android Software/Hacking General [Developers Only]] wasserkapf:
Could you post more details here? The Slatedroid forum has the right side cut off in my browser, making it difficult to read.
[Android Software/Hacking General [Developers Only]] wasserkapf:
I don't want anything. I was just trying to clarify what UrsusSolaris was looking for. He found the solution in this thread:

http://code.google.com/p/android/issues/detail?id=1597

The entire patch, or "diff" file, can be applied to the existing source file. This would then insert the changes. I am not an expert, but using Google has found me this:

You first need to save the diff file as a patch, using the .patch suffix. Let's call it SslCertificate.patch Then place it in the same folder as the original file. Run this command, to patch a single file:

patch < SslCertificate.patch

This should then patch the original file. I would first save an unpatched version, just in case you need to revert to it.

If you read that thread I linked to, some versions of Android may already be patched.
[Android Software/Hacking General [Developers Only]] glen4cindy:
Yes. When I power it on, the ePad logo does appear. Then after a few seconds, the screen clears and the penguin appears at the upper left hand corner, and the cursor flashes a few times and then holds solid. It never leaves this state. This is where it gets stuck.

From a powered off state, plugging it into the computer, pressing and holding the circle button on the front while pressing the power button, the light turns blue, but nothing happens. It does not connect to the PC. The #10 box on the Burntool never turns green. There is no indication in the Device Manager on the PC that anything is plugged into the USB bus on the PC. I have tried 3 different USB cables and 3 different PC's. All of the PC's I have tried are 32-bit machines. The jack seems to be solid and does not move around when I plug the USB cable into it.

I am on 1020 firmware, and that is the 2nd firmware that I have flashed to the device. The first 2 flashes worked without a hitch. Everything was working fine on this device until all of the sudden, one day I went to power it on after having used it the previous day, and this is how it responded. It just failed to boot. Nothing I have tried will free it from this freeze. It will not allow me to re-flash.

Thanks for any assistance.
[Android Software/Hacking General [Developers Only]] game #1:
never used 1020, jumped from 1013 straight to 1030.

heard some problems with 1020 and it wsn't really big improved since 1013.

try to connect cable to next usb in pc. delete/reinstall drivers for it and flash 1030.
[Android Software/Hacking General [Developers Only]] omarahum:
Market_v2.2.7.apk for the ZT-180

Well I noticed that my /cache directory wasn't empty when I just cleared it 5 minutes before, and saw a download.apk file in there, tried to install it, but said it wasn't signed correctly, so I pulled it with Android Commander and resigned it and then it installed just fine. I also had to entered the menu as soon as "loading" came on and went into settings and picked my filtering option, otherwise Market kept closing after just two seconds back to the desktop.

My correctly signed Market_v2.2.7.apk - http://www.mediafire.com/?o8z1owm89nocie6

Youtube vid - http://www.youtube.com/watch?v=g3NSgk0SuAg
[Android Software/Hacking General [Developers Only]] glen4cindy:
The problem with this approach is that I have tried 3 different PC's. I have tried 3 different UBS cables. I have tried every available USB port on each PC that I have tried.

This has to be some sort of problem with the ePad itself, but, I'm hoping there is some way to do a hard/cold reset, or something new/different that I have not tried. I know these boards are very knowledgeable and "hack-worthy" when it comes to Android. So, I was hoping there was some "trick" I could do to make things work.

I'm also writing Sinadeal, the store where I bought this pad from. So far, all they have done is provide me with 1030 firmware and directions on how to flash. This of course is of no help since the pad is not being recognized by the computer at all.

Thanks
[Android Software/Hacking General [Developers Only]] wasserkapf:
Have you tried a Linux PC? There is a flash tool for Linux, although it requires a little Linux experience to understand what to.

http://www.slatedroid.com/index.php?topic=8969.0

A Linux distro like Ubuntu can be run directly from a CD, without installing it. But I wouldn't recommend doing that for this process, because it runs from your RAM. You will need to install some developmental programs to compile the Linux flash tool, and it could eat up your RAM and not work correctly.
[Android Software/Hacking General [Developers Only]] snafutastic:
Hey so I downloaded everything i need to download and im hitting a brick wall. Everytime i try to flash the Burntool does not recognize it. I am running win7 32 bit. I have the secbulk.ini and secbulk.sys but its not recognizing it as the zt-180 but as the HTC Dream.

my quesiton is, how do I get it to recognize it for flash with this issue?

Sorry if this has been posted before.
[Android Software/Hacking General [Developers Only]] omarahum:
If it's being recognized as the HTC, you don't have it in flash mode (having the tablet off, but connected via OTG USB, and holding down the round button and then the power button at the same time for 3-5 seconds to turn the tablet on in flash mode......
[Android Software/Hacking General [Developers Only]] rdnckreaper:
When I did it, I had the same problem. I uninstalled the HTC dream drivers and manually installed the flash drivers when I had the 180 in bootloader mode. You have to stop windows from installing the HTC drivers and install the flash drivers first. Then after you set up the device using massonlystorage kernel, windows will automatically download the htc drivers again and everything will work from then on out.
[Android Software/Hacking General [Developers Only]] rdnckreaper:
FYI been talking with a developer and he informed me the other day that they are working on porting 2.2 for the 180. I can't wait!
[Android Software/Hacking General [Developers Only]] snafutastic:
Thats awesome about the 2.2!

however me being the uber noob. is the Flash Driver the secbulk.ini and .sys?
[Android Software/Hacking General [Developers Only]] rdnckreaper:
yes it is. the mass only usb driver is the htc driver
[Android Software/Hacking General [Developers Only]] snafutastic:
haha ok nm thats what i suspected and I got it to work thx yall!
[Android Software/Hacking General [Developers Only]] omarahum:
The (buggy) Froyo Beta is already out....

http://209.250.2.82/index.php?topic=13066.0

http://www.chinadigitalcomm.com/post9367.html#p9367

http://xdaforums.com/showpost.php?p=9948347&postcount=2748
[Android Software/Hacking General [Developers Only]] snafutastic:
now something wierd is happening. I cant turn on the Wifi. It tells me to turn off the eth0 i have no idea what that is! aaagh!
[Android Software/Hacking General [Developers Only]] karlonicolas:
why release a froyo beta when 1126 is still in beta testing?

i take it this means that they are abandoning the release of an official 1126 rom, and will be moving forward with froyo beta instead. is this observation correct?
[Android Software/Hacking General [Developers Only]] omarahum:
In settings, scroll down to ethernet and select it, and make sure there is a check next to disable ethernet, it needs to be off for wifi to be enabled....

Well one is 2.1 and the other is 2.2, I believe they are working on both. I also believe they released the 2.2 to get help and feedback...
[Android Software/Hacking General [Developers Only]] snafutastic:
Ok so i found another website. Im not one for Buggy beta so im going with the 1101 FW from this site here. hope it works better. plus it has an english version of Burntool
[Android Software/Hacking General [Developers Only]] omarahum:
Some good info from the Zenithink dev about flashing Froyo Beta:
[Android Software/Hacking General [Developers Only]] smashmouth:
Quick question, just one. I currently have the Superpad Android 2.1 Tablet PC 10.2'' Touch Screen MID & E-Book Reader with GPS/ Wi-Fi/ Webcam is this also known as the ZT- 180?

Current rom is 1170 running 2.1 update 1

Thanks in advance.
[Android Software/Hacking General [Developers Only]] omarahum:
I'm not sure, but think they both have processors made by InfoTM, but they have different hardware and config....
[Android Software/Hacking General [Developers Only]] alex-art:
No, it's Flytouch2 not ZT-180
[Android Software/Hacking General [Developers Only]] jtbnet:
Unfortunately it's not exactly that simple... The partition structure on this device is overly basic... which means yes we could duplicate it reasonably easily... But I believe to do this right we'll need to go a number of steps further to migrate to a more standard partition/FS structure like on the more frequently maintained devices like our Andrroid Phones... I.E.;

On ZT-180 Tablet:

# cat /proc//mtd

cat /proc//mtd

dev: size erasesize name

mtd0: 10000000 00080000 "system"

mtd1: 18000000 00080000 "userdata"

mtd2: 06400000 00080000 "cache"

mtd3: 4fc00000 00080000 "Local-disk"

#

vs. On standard Android Phones:

#cat /proc/mtd

dev: size erasesize name

mtd0: 00040000 00020000 "misc"

mtd1: 00500000 00020000 "recovery"

mtd2: 00280000 00020000 "boot"

mtd3: 04380000 00020000 "system"

mtd4: 04380000 00020000 "cache"

mtd5: 04ac0000 00020000 "userdata"

Migrating to the more expected partitioning would allow us to create Recovery Images and then remove the need to Flash via the 32 bit Windows simpleton Flash tool... But has a number of implications with partitioning and revised bootloader support/U-boot basic currently...
[Android Software/Hacking General [Developers Only]] csbert:
Yes. The important thing is that the userdata partition is separated. This means that software changes such as market tweaks or software installation can be packed. I think you can start building distributions with useful software based on ZT firmware already.

I am wondering where the uboot.img is going to? There is no boot partition. Maybe it is on a different flash chip? This uboot.img is key to make a boot menu. If this device uses similar boot procedure as other ARM devices we've been seeing so far. It should be not too difficult to build and load a custom loader.

About the recovery partition, it is not that important. On the vogue, the recovery partition is not used because that is what the sdcard is for.

Can you please also post the result of the df command? Maybe it will tell where the boot partition is. Thanks.
[Android Software/Hacking General [Developers Only]] wwilde:
df output:

c:\android-sdk-windows\tools>adb shell

# df

df

/dev: 94452K total, 12K used, 94440K available (block size 4096)

/sqlite_stmt_journals: 4096K total, 0K used, 4096K available (block size 4096

/system: 262144K total, 87024K used, 175120K available (block size 4096)

/data: 393216K total, 42828K used, 350388K available (block size 4096)

/cache: 102400K total, 4616K used, 97784K available (block size 4096)

/nand: 1306624K total, 4612K used, 1302012K available (block size 4096)

/sdcard: 1920704K total, 896864K used, 1023840K available (block size 32768)

#
[Android Software/Hacking General [Developers Only]] rpmccormick:
Admin@Desk /cygdrive/d/work/android/zt-180/android
perl split_bootimg.pl system.img
Android Magic not found in system.img. Giving up.

Admin@Desk /cygdrive/d/work/android/zt-180/android
perl split_bootimg.pl userdata.img
Android Magic not found in userdata.img. Giving up.

...I also tried playing around with a hex editor and deleting various parts of userdata.img to try to make a gzip (there are 8 occurances of 1F 8B).

No progress. I do not think Zenithink's .img files are very similar to the ones that wiki is talking about.