yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] rpmccormick:
YMMV :)

FYI: I had Fring working to the point of connecting a call to GTalk, but yeah, no audio either way. I don't know why we can't hear them, but they can't hear us because our microphone will not send audio to any application so far (voice recorder, voice search, etc.). I really wish we could get the mic working.

BTW: As I said before, they are mostly ERE36B but with some from 27 and maybe some other builds (honestly I have folders of tons of builds [ERE's, old backups from tablet, old backups from phone, system.img /w market for Emulator] and I was repeatedly pushing different sets over with out deleting anything. I was just about to give up as none of them worked as a whole, when somehow I ended up with a combination that worked, so I pulled it off and shipped it! I have no clue what version is from what really, but the last set I pushed over was 36B)
[Android Software/Hacking General [Developers Only]] insight3fl:
Glad to here you have made some progress...+ have made dozens of attemps to connect to windows mobile phone wifirouter. I hopeb we get there soon. Thanks
[Android Software/Hacking General [Developers Only]] ayman07:
i finally got market working. the problem was the device ID from my nexus running froyo. so i got one from the emulator and it works fine. thanks rm for ur script.
[Android Software/Hacking General [Developers Only]] csbert:
Cool. I just install it and was able to get 60MB free which is pretty decent.

The problem is the wlan.ko module. It is an interface between the real driver and the kernel. The error was incompatible kernel version when I enable the wlan. However, in linux we can force load the driver. But I can't find the modprob command for android.
[Android Software/Hacking General [Developers Only]] plurkis:
RPM,

Thank's, for your work and efforts on this !

plurkis
[Android Software/Hacking General [Developers Only]] _motley:
See my post back several pages on the 3070 .ko module. The source is on their site, we just need someone to compile with the right options. I haven't had time to check it out much beyond what I reported. Hoping someone else with more experience and more time can take a look.
[Android Software/Hacking General [Developers Only]] nick.anderson:
Yes scanning will list the APs, but it wont ever actually complete a connection to an AP. When i try to connect the ap will then say disconnected, when it goes back to showing that the ap is available i try again, and again after trying to connect the ap shows as unavailable.
[Android Software/Hacking General [Developers Only]] jtbnet:
Yeah... Zenithink doesn't do us any favors... modprobe is in /system/bin on my 2.1 Moto Droid... but doesn't exist in Zenithink Tablet Rom...
[Android Software/Hacking General [Developers Only]] rpmccormick:
I have replaced the stock 4k '/system/firmware/rt2870.bin' with the newer 8k one and it works fine. I don't know if it is any better or not. Same goes for the TX hack (100 vs 20 vs a few other ones I tried). WiFi is just always horrible. You think you did something to improve it slightly, but then the same thing doesn't seem to improve it all on a new flash or sometimes after a few reboots.

Ever since installing this latest 0818 firmware WiFi is normally dead on boot up, and I have to turn it off and back on for it to connect even 1ft away from the router, but sometimes it is working after startup. That is true even when I reverted to 0804. My (hopefully) solution... I bought a WiFi dongle that uses the same RT2870 chip for $23. As soon as I get it I will replace the internal one and report back.

http://www.opentip.com/product_info.php?products_id=1515089&osCsid=l3hm7s3ed14fag743rtsivb9q5

WARNING: I have no idea if this will work or not! I will report back.
[Android Software/Hacking General [Developers Only]] rpmccormick:
I have modprobe in my xbin. I think it came from installing BusyBox. This will be included in my next script, here is the howto: http://www.ihackintosh.com/2009/12/how-to-install-busybox-on-a-rooted-device/
[Android Software/Hacking General [Developers Only]] Zorflieg:
I have a usb rt2870 handy if you want me to try something.
[Android Software/Hacking General [Developers Only]] rpmccormick:
Well, you would have to open it up and disconnect at least the power wire to the internal one. After that it might work in the USB port, but probably not. My plan is to remove the internal one, remove the case around the new one, and make it my new internal one. Inside the tablet it is just a USB wifi dongle that has 4 wires connecting it to the main board... if you don't need WiFi you could connect any type of USB device you want to the internal USB port. Connecting a WiFi dongle with a different chip would be my next solution, but that would require getting all the driver configured correctly in Android which I would not look forward to.
[Android Software/Hacking General [Developers Only]] Zorflieg:
*whistle* hardcore.

It might work on usb. All you'd need is the driver, modprobe and lsusb. I wonder if there is a ndiswrapper for android?

Have you tried disabling the location services? They take a bit of resources and it makes the wifi chip work harder then normal.

The 20 -> 100 value change at a guess probably wouldn't be fixing it. I am assuming that value is measured in decibels not percentage and i doubt our little guy could be able to generate the wifi noise equivalent of standing next to a chainsaw (100decibels).

That could also be an issue. If TX power setting is measured in decibels, setting it to a value to a level the device isn't capable of would probably do more harm then good. As to trying to figure out what an achievable figure is, like you said trying different numbers, i'm not sure of.

I probably wouldn't try too much higher then 20 in the attempt to fix this as it would probably cause less stability and more battery usage.
[Android Software/Hacking General [Developers Only]] rpmccormick:
*whistle* hardcore.

lol - I'm learning lunix, I already know all about how to solder. :)

As for the power setting... you know it defaults to 100 right? And I thought the guy who had AdHoc working bolded 'TXPower=100' as part of his setup. I have tried 50, 30, and 20. I at times thought at 20 (the value most people change to) it ran cooler at further distances, but I have no conclusive evidence.
[Android Software/Hacking General [Developers Only]] Zorflieg:
I'm ****house at soldering. Depending on how much room is in there stripping down a usb hub like this one:

http://store.worldstart.com/product/4736

Cutting the head off and attaching it to the board and then connecting an equivelant wifi to it? Leaving ports for gps and 3g :)

I read the host bus can handle 8-11 usb devices?
[Android Software/Hacking General [Developers Only]] juched:
Hard to tell. I am back to 100 now, and find it works the same as 20. Temp wise feels similar, but with measuring it is all subjective.
[Android Software/Hacking General [Developers Only]] Zorflieg:
Right, yeah i guess we're back at square 1 then. I got my guess from the linux ubuntu drivers i have used that all measure in db's and default to 20.

Though the fact that this is what a 10db antenna looks like:

http://image.made-in-china.com/2f0j00RvnaOrAqnkzg/10dB-Antenna.jpg

Would suggest maybe in this case the 100 is a % rating. God sometimes i feel like i'm trying navigate through fog a night wearing sunglasses.
[Android Software/Hacking General [Developers Only]] Zorflieg:
Oh ****, by the way i should add to this apart from it not connecting automatically on boot i actually don't have any problems with my wifi at all using the 0818 rom and the rpm's script.

I was just trying to help other people.
[Android Software/Hacking General [Developers Only]] jtbnet:
From what I've read the setting is a Percentage of Max transmit power... the reason 20% can work better is two-fold... 1- it uses less power transmitting thus generates less heat and draws less battery power... 2- at 100% power the noise the transmit can cause can clouldy the receive sensitivity and thus 20 is a win/win situation...

I've been running TX=20 for a long while and it does seem somewhat cooler... I did add a ~10in. antenna wire which improved my reception 10-15DB and I've never had a transmit problem running at 20 so made sense to me....

PS. So three-fold I guess :)
[Android Software/Hacking General [Developers Only]] csbert:
Actually I just check the memory usage and there is not much memory left even with AutoKiller. AutoKiller said there are 60MB left but it actually free memory is only 10MB. There are inactive memory though. I guess that what they count as free. However, when an application asks to increase heap size, it still get heap size error. Can you run Acrobat Reader to second page?
[Android Software/Hacking General [Developers Only]] juched:
So, if you are shipping to the US, will ask for and make available the firmware source code as specified by the GPL?
[Android Software/Hacking General [Developers Only]] prscott1:
Hey rpm -

the whoami is just one of the commands found in busybox. The busybox that comes with the 818 build includes. when at the shell (via adb), just type:

# busybox

and you will see all the commands available including whoami (a linux command to tell you the user that you are logged in as).

the busybox wasn't installed correctly it seems. Do the following after remounting system in shell:

cp /system/bin/busybox /system/xbin/busybox

cd /system/xbin

./busybox --install -s /system/xbin

then at the shell type:

whoami

and you should see something like:

whoami: unknown uid 0

uid 0 is root.

Also note that TitaniumBackup may not work while tethered to your PC.

Also, I did a clean wipe - installed the 818 then ran my own version of your script/installs - went to market, downloaded TB, did the problems to install the TB busybox and it ran without any problems and it works wonderfully.

you have to have a wifi connection when you click problems - maybe your wifi crapped out?
[Android Software/Hacking General [Developers Only]] prscott1:
rpm - you may want to add to the end of your bat script before the adb reboot to do:

rm /data/dalvik-cache/*

For everyone having problems with wifi not reconnecting after a reboot and who did rpm's batch file - this *may* help you (it certainly helped me) - go into adb shell and type:

rm /data/dalvik-cache/*

and then reboot ( you might have to reset first if reboot doesn't happen right away ).

I found that some old items in the dalvik-cache were causing conflicts and problems after copying in the gapps framework (from rpm's batch) so it is best to delete it and let the dalvik-cache rebuild on reboot.

This actually cured several of my problems - wifi comes on automatically after reboot now, my power widget shows up fine, I don't get any more fc's on reboot.

Also - you should go through the applications management menu and uninstall the "ghosts" (items that had the .apk's deleted but not the data).
[Android Software/Hacking General [Developers Only]] jtbnet:
Well... I copied an 11MB PDF manual to the tablet... when I opened it with Acrobat reader the first page images and all looked great, but slide to next page fails as can't get heap... so I tried again... this time I opened in using PDF-to-Go from the 'Documents to Go' app from the Market... this also opened first page fine... and second, and third then I swiped fast to page 13 and that took a few seconds but also was fine...

So... is Android Memory Mgmt/Autokiller to blame... or should Adobe be dealing with the limited memory like 'Docs to Go' ??? I'm afraid this time I'm prone to blame Adobe for not dealing with limited resource systems when they should have been expected...
[Android Software/Hacking General [Developers Only]] jtbnet:
I hosed one of my tablets and as I had the other just the way I wanted it I figured this was a good time to try this... I did basically the same as you suggested... but it failed... I grabbed system and userdata from the good tablet using;

dd if=/dev/block/mtdblock0 of=/sdcard/system.img bs=4096

dd if=/dev/block/mtdblock1 of=/sdcard/userdata.img bs=4096

Then configured the Burntool to use uboot.img=0818 u-boot.img, linux-kernel=0818 zImage, linux-sys=my system.img, linux-udat= my userdata.img

Went well till the system burned to 95% then screen on tablet went bright and hung... so I switched to 0818 system.img and my userdata.img and went well till userdata.img got to 63% then screen went bright and hung...

These were the files I initially tried;

08/13/2010 06:33 PM 320,548 u-boot.img

08/18/2010 10:48 AM 2,958,044 zImage

08/24/2010 06:38 PM 268,435,456 system.img

08/24/2010 06:44 PM 402,653,184 userdata.img

These are the 0818 Firmware files that worked;

08/13/2010 06:33 PM 320,548 u-boot.img

08/18/2010 10:48 AM 2,958,044 zImage

08/18/2010 02:33 PM 87,757,824 system.img

08/18/2010 02:56 PM 21,090,432 userdata.img

So looks like my dd files don't end where they need to... guess tomorrow I'll need to add a count=# for the dd to only pull what belongs to that section as seems it just ran to end from start in;

From Bootloader:

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

<6>NAND device: Manufacturer ID: 0xec, Chip ID: 0xd5 (Samsung NAND 2GiB 3,3V 8-bit)

<6>Scanning device for bad blocks

<5>Creating 4 MTD partitions on "NAND 2GiB 3,3V 8-bit":

<5>0x000002000000-0x000012000000 : "system"

<5>0x000012000000-0x00002a000000 : "userdata"

<5>0x00002a000000-0x000030400000 : "cache"

<5>0x000030400000-0x000080000000 : "Local-disk"
[Android Software/Hacking General [Developers Only]] Zorflieg:
I think his hypothesis was that as the remains of the rom is all 0's if the file created is the correct size it shouldn't matter if it hangs.

Though, yeah, i'm yet to try it. Did you try reburning the created ROM anyway?

If you aren't game, attach it and i'll try it on mine. The zt-180 has taken a bit of a rom beating from me thus far and i haven't bricked it yet so i'm happy to try the burn part.
[Android Software/Hacking General [Developers Only]] jtbnet:
I had to bail out due to the order I tried burn where system failed so it never burned user... Guess I could have tried when only user failed but I didn't...

I guess from this I'm even more confused...

# df

df

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

/sqlite_stmt_journals: 4096K total, 0K used, 4096K available (block size 4096) # 4MB

/system: 262144K total, 108524K used, 153620K available (block size 4096) # 260MB /system

/data: 393216K total, 96368K used, 296848K available (block size 4096) # 392MB /data

/cache: 102400K total, 4620K used, 97780K available (block size 4096) # 100MB /cache

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

though I was trying to burn 262 MB into /system which is only 260MB... And I was trying to burn 402MB into /data which is only 392MB... But then WHY did the dd's off the device get bigger than the partitions !!!!! ??
[Android Software/Hacking General [Developers Only]] csbert:
Actually I got one fail burn today and I am trying again. I read and people said we should not use the block size. When I tried with before I didn't do block size and it worked. I am making backup right now so I can try again.

The final size is bigger because the last block get filled with zeros. I also read somewhere that cat and tar will do as well. I will try to make images using both.
[Android Software/Hacking General [Developers Only]] csbert:
I think the automatic connection at the beginning is a software problem. The wlan.ko poll the driver (which I think is the rt2780.ko) and get invalid state. Restart wpa_supplicant works everytime.
[Android Software/Hacking General [Developers Only]] Zorflieg:
Keyboard

Hey so i was typing on my ipod touch and then typing on my zt-180 and the ipad at work and it dawned on me i think i'd actually prefer a smaller keyboard.

Like if i'm sitting on a the couch the position to use both hands can get a little awkward, one hand can be slow and 10" is too big for me to use thumbs. (maybe i have tiny girlie-man thumbs, who knows)

I'm quite fast at typing on the ipod with 1 thumb though.

Has anyone seen a keyboard that is compact and comes up in the bottom right of the screen?

That would probably A, work better for me and B, take up less room anyway?

Z
[Android Software/Hacking General [Developers Only]] Zorflieg:
I just noticed the way you wrote this.

Are you using a shell on the device to do this? If so which one is the best? I haven't installed a shell yet i'm send my linux commands by "adb shell blah" from the pc.
[Android Software/Hacking General [Developers Only]] csbert:
I tried today with the new mod that have market work and it doesn't work anymore. I looked at the hex and the pieces are still there but the relative layout is different now. I guess the dd command is not that safe.

I tried cat as well and it doesn't work.

I read somewhere that tar is the way to go for yaffs so I will try it tomorrow.

Also, this board always stop flashing after about 255k KB. So I removed the trailing null space to fit and it does finish flashing. However, the file system was not recognized.
[Android Software/Hacking General [Developers Only]] rpmccormick:
Yes, I use HTC IME MOD hires, not froyo.

Why don't you guys work on the image in reverse... if dd could possibly produce a flashable .img file, then doesn't that tell you how to transform the .img file in to its result file-structure? Going about it that way you know when you have it right, as it matches the file-structure on our devices after a flash. You can use that to find the appropriate offsets if there is really no compression or anything involved in the proprietary .img format of Zenithink's burn_tool.

Also, I would love to get nandroid working...

#!/bin/bash

# nandroid v2.0 - an Android backup tool for the G1 by infernix and brainaid

# Requirements:

# - a modded android in recovery mode
# - busybox in recovery mode
# - 'adb shell' support running as root
# - dump_image-arm compiled and in current working dir
# - mkyaffs2image|mkyaffs2image-$ARCH in current working dir
# - root on a linux/mac (POSIX) machine for constructing system and data images

# Using JF RC30 v1.2 recovery image works, RC8 v1.2 doesnt because of adb shell missing.
# You can flash RC30 v1.2 recovery.img on an RC8 v1.2 phone until the RC8 v1.2 recovery mode is fixed.

# Reference data:

# 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"

# We don't dump misc or cache because they do not contain any useful data that we are aware of at this time.

# Logical steps (v2.0):
#
# 0. test for a target dir and the various tools needed, if not found then exit with error.
# 1. check "adb devices" for a device in recovery mode. set DEVICEID variable to the device ID. abort when not found.
# 2. mount system and data partitions read-only, set up adb portforward and create destdir
# 3. check free space on /cache, exit if less blocks than 20MB free
# 4. push required tools to device in /cache
# 5 for partitions boot recovery misc:
# 5a get md5sum for content of current partition *on the device* (no data transfered)
# 5b while MD5sum comparison is incorrect (always is the first time):
# 5b1 dump current partition to a netcat session
# 5b2 start local netcat to dump image to current dir
# 5b3 compare md5sums of dumped data with dump in current dir. if correct, contine, else restart the loop (6b1)
# 6 for partitions system data:
# 6a get md5sum for tar of content of current partition *on the device* (no data transfered)
# 6b while MD5sum comparison is incorrect (always is the first time):
# 6b1 tar current partition to a netcat session
# 6b2 start local netcat to dump tar to current dir
# 6b3 compare md5sums of dumped data with dump in current dir. if correct, contine, else restart the loop (6b1)
# 6c if i'm running as root:
# 6c1 create a temp dir using either tempdir command or the deviceid in /tmp
# 6c2 extract tar to tempdir
# 6c3 invoke mkyaffs2image to create the img
# 6c4 clean up
# 7. remove tools from device /cache
# 8. umount system and data on device
# 9. print success.
[Android Software/Hacking General [Developers Only]] patmtp35:
hi!

many thanks rpm , now my market is worki,ng fine but ,

every time i boot my zt-180 wifi is not connecting i have to on/of

i have error message :

"Application SIM Toolkit (in process com.android.phone) is not responding"

"Application Android keyboard (in process com.android.inputmethod.latin) is not responding"

"Process com.google.process.gapps is not responding"

and now my screen was not well calibrate it's too hard to select something

did we have a solution to recalibrate it ?

regards
[Android Software/Hacking General [Developers Only]] rpmccormick:
nope. Try to re-flash or an older Zenithink FW. (remove stk.apk to fix SIM issue)

...so I was playing around with a hex editor and found a copy of '/framework/core.jar' inside of 'system.img'. This means you guys are correct, there appears to be no compression, just a bunch of files in the img. With this information, someone should be able to find the important offsets so we can separate system.img and then reconstruct our own.

I still hope eventually we can make a pre-bootloader that flashes .zip's like all the phones recovery, then we will never use burn_tool again (except to burn newer bootloaders) and we already can make flashable zips.
[Android Software/Hacking General [Developers Only]] hal_9000:
Great! :)

The "application not responding" messages at startup have disappeared. I still have to turn the WiFi off and on for it to connect though.

Thanks for the tip.
[Android Software/Hacking General [Developers Only]] hal_9000:
I'm still annoyed for Market cannot find any of my apps("slidemytiles" and "tt_dialer"). I doubt it's a carrier filter, since I tried faking US and Spain carriers. In addition, I know for sure that the apps can be seen at least on both US and Spain Markets, because "tt_dialer" has a paid version and I've received purchases from both countries, and even France, Italy, and Germany. So, why the hell Market doesn't return a result when I search for it? Even if I follow the direct link by scanning a QR-Code it tells me that there are no results. :mad:
[Android Software/Hacking General [Developers Only]] ilpaso:
UART onboard ZT-180

Hi all,

I've found these links about UART pinout on the ZT-180 main board:

h_t_t_p://mozzwald.com/node/57

h_t_t_p://mozzwald.com/node/58

This is the thread where find some other uboot infos:

h_t_t_p://w_w_w.slatedroid.com/zt-180/3427-epad-zenithink-180-like-2.html

Maybe this helps some expert developing a linux distro on this device. :)

Maybe it is only a dream! :(

bye

ilpaso
[Android Software/Hacking General [Developers Only]] jtbnet:
Actually that one was just I leave an 'adb -s .... shell' running in a dos window on a PC thus cut,paste,edit is a lot easier into a notes file... I've also installed sshd so I can run in an ssh sftp program... I had all these things all set up for my phones for work so I just pulled a bunch of apks over to tablet and most of it runs...
[Android Software/Hacking General [Developers Only]] jtbnet:
Yes it was THANX to Mozzwald's kind posting of the complete uboot sequence from serial interface after he wormed out the pinouts that we actually understand as much as we do about the booting of these tablets... that was one reason I grabbed the generic u-boot 2009-08 source release (seems base of what's being used here..) to understand it even better, maybe start there towards re-laying out the use of the nand partitioning and incorporate a recovery partition... Ohh if time only grew on trees....
[Android Software/Hacking General [Developers Only]] jlcid:
I make a custom "biquad" antenna into my zt-180, and wifi run superb. Before this i can`t connect to my AP in 2-3 m, Now I have wifi in all my house.
[Android Software/Hacking General [Developers Only]] prscott1:
I highly recommend Better Terminal - it works great!