yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] prscott1:
ext3 partition mounted

FWIW - in addition to being able to turn on swap (whichi helps tremendously with memory management), I have now been able to mount my ext3 partition! :D

I'm working now to see if I can do both of the above on reboot without having to kick off my scripts to do them.
[Android Software/Hacking General [Developers Only]] ayman07:
wow! thats awesome man! im glad to hear swap is working well cuz other have advised against it. please share when you can. if u dont mind me asking, what is the point of the ext3 partition? are you running some apps2sd script?
[Android Software/Hacking General [Developers Only]] prscott1:
To get swap working (I have to set it manually each time I login for now), I recommend you install GScript - it works with root and stores and saves shell scripts - makes it a one click process to run scripts.

On the newer, faster devices (like the EVO and nexus one), swap isn't really necessary because the available ram is abundant. On this pad - with only 40 - 60mb free, the swap helps if you are actively using more than one app at a time. It's up to you - I haven't seen any downside yet.

The script to launch:

<script>

busybox swapon /dev/block/mmcblk0p3;

echo 60 > /proc/sys/vm/swappiness;

echo 0 > /proc/sys/vm/page-cluster;

</script>

also, the reason I am mounting ext3 - just to see if I can do it! :) I also store a lot of my own personal bin items on my ext3 and add it to my path so I can do more. I don't see the need to do apps 2 sd on this since it has plenty of internal storage.

NOTE to others: you need a partitioned sdcard for enabling swap; i mentioned in my earlier post.
[Android Software/Hacking General [Developers Only]] deldude:
Could you mind to share some pictures..

Thanks
[Android Software/Hacking General [Developers Only]] jlcid:
That's how I did:

h_t_t_p://www.engadget.com/2005/11/15/how-to-build-a-wifi-biquad-dish-antenna/

I built the antenna following this tutorial, but without the reflector, only the 2 quad, and attached to the back,close battery, and connected as the loop.

Now I can receive the signal much better than before and don't drop
[Android Software/Hacking General [Developers Only]] hal_9000:
Although more rough than jlcid's biquad antenna, in this SlateDroid post you can find how to enhance WiFi with just wire.

http://www.slatedroid.com/zt-180/4310-how-improve-your-wlan.html

In the post the wire is visible going out of the tablet through one of the little holes, but I guess it could be left in with not many sensitivity loss.

Edit: My fault. What seemed to be the wire going out through the hole is a paper clip used to open the case.
[Android Software/Hacking General [Developers Only]] kingofthehuns:
Do you have encryption on?

I had the same issue when I used WEP Open, once I changed my AP to WEP shared and/or WPA ( any type ), the connection was successful.

I am not saying it's a solution, but certainly a work-around.
[Android Software/Hacking General [Developers Only]] juched:
The first pic is just a paper clip showing how to open the device. The wire is totally inside.
[Android Software/Hacking General [Developers Only]] hal_9000:
Yes, I noticed already. :p
[Android Software/Hacking General [Developers Only]] juched:
When I hit reply your text was still the old text, I swear :)
[Android Software/Hacking General [Developers Only]] jtbnet:
Also what Firmware version are you running?? I had WEP wouldn't connect issue originally but I just reenabled WEP yesterday and it works fine with the 0818 version...
[Android Software/Hacking General [Developers Only]] prscott1:
rpm - I found a workaround for titaniumbackup to work without having to hit "problems".

While in shell, if you

cd /system/bin

and then

ls -l

you will see that busybox and toolbox (and all symbolic links to them) are owned by audio, not root. you will also see that the permissions are 754 on most - meaning only owner can execute.

anyway, i cppied my own copy of busybox to /system/bin and chmod 777 /system/bin/busybox

after reboot, TB worked right away!

NOTE: i started from scratch on this finding - reflashed 0818, ran a hacked version of your rpmbatch script (I rm dalvik-cache and add/remove some apps).
[Android Software/Hacking General [Developers Only]] ayman07:
also, the reason I am mounting ext3 - just to see if I can do it! :) I also store a lot of my own personal bin items on my ext3 and add it to my path so I can do more. I don't see the need to do apps 2 sd on this since it has plenty of internal storage.

NOTE to others: you need a partitioned sdcard for enabling swap; i mentioned in my earlier post.[/QUOTE]

i created the partition by putting the card in my nexus and using AmonRA's recovery. i got gscript and ran the script and i get this error:

stderr: swapon: /dev/block/mmcblk0p3: device or resource busy

what gives?
[Android Software/Hacking General [Developers Only]] csbert:
After trying a bunch of things, I reflashed with 0818 and ran rpm's script. But I can't join google account anymore for some reason. It said I don't have data provision although I already connect to wifi. This is frustrating. I was able to do it three times before.

It's magically working now. Maybe google was having problem.
[Android Software/Hacking General [Developers Only]] prscott1:
At the shell, if you do # ls /dev/block do you see the mmcblk0p3 device?

Also at shell, if you do # swapon do you get a response?
[Android Software/Hacking General [Developers Only]] ayman07:
# ls /dev/block
loop0
loop1
loop2
loop3
loop4
loop5
loop6
loop7
mmcblk0
mmcblk0p1
mmcblk0p2
mmcblk0p3
mtdblock0
mtdblock1
mtdblock2
mtdblock3
ram0
ram1
ram10
ram11
ram12
ram13
ram14
ram15
ram2
ram3
ram4
ram5
ram6
ram7
ram8
ram9
vold
# swapon
swapon: not found

mmcblk0p3 is there but swapon gives me a not found.

i tried running the cmds you mentioned in the previous posts through the phone connected via usb and everything seems to go through ok but swap isnt enabled.
[Android Software/Hacking General [Developers Only]] rpmccormick:
Have you tried just using swapper2 for root from market? It can create a swap partition either as a file on your /sdcard or on a linux-swap partition you make on your sdcard. EXT2/3/4 should not be necessary unless you want apps2ext (we have plenty of room for apps already) or for your own linux related purposes.

I also don't understand why people are saying 60MB ram is not good. What does the Nexus1 have free after bootup + autokiller? My G1 phone has never had more then 22MB free after killing everything (usually it is between 8MB-12MB) and everything runs fine on it (slower since moving to CM6-rc3 froyo, but CM5 eclair was the fastest OS ever on my phone, with <12MB free almost always)

My commands that didn't work were to copy busybox to xbin and

..\adb shell chmod 755 /system/xbin/busybox

..\adb shell busybox --install /system/xbin

I wil try 777 instead of 755, and if that doesn't work I will try bin instead of xbin (I still don't get the difference).

rm dalvik-cache and a lot of other things will be in the next 2-step script. I'm still trying to make it an sh script instead of .bat so people can just copy it to an sdcard and run it. It looks like we are getting closer to cracking the .bins though, hopefully.
[Android Software/Hacking General [Developers Only]] Zorflieg:
Ooo ssh, where can i get the sshd installer from?
[Android Software/Hacking General [Developers Only]] ayman07:
i have over 177mb of ram available after the system is fully booted and running for a while. thats before autokiller. with autokiller, i am sure it would be over 200mb. autokiller is, obviously, not even needed. 60 mb is not enough to properly use this device IMO. it becomes unresponsive if more than 3 apps are running in the background. im constantly killing things to make it run properly.
[Android Software/Hacking General [Developers Only]] catttman:
How do I remove the sim tool kit stk

thanks
[Android Software/Hacking General [Developers Only]] prscott1:
Keep up the good work!

Swapper sounds like a good try - I will look into it.

My N1 has over 240mb free after a reboot! I guess that is why I'm spoiled.

if you look at the path ( # echo $PATH ) you will see that there is both a /system/bin and a /system/xbin . /system/xbin is typically where you would put your custom stuff.

Where did you get your busybox binary?

Mine works flawlessly!
[Android Software/Hacking General [Developers Only]] prscott1:
at shell - do

# busybox

do you even see swapon in the list?

if not, you need to replace the busybox binary in the /system/bin folder with a more robust one.

I keep one on my sdcard so after a flash, I just do:

cp /sdcard/bin/busybox /system/xbin

chmod 777 /system/xbin/busybox

(in your case, you'll want to do this to /system/bin)

HTH
[Android Software/Hacking General [Developers Only]] jtbnet:
There are multiple 'Dropbear' trains you can grab an sshd from... I've had mine for close to a year...
[Android Software/Hacking General [Developers Only]] prscott1:
Ditto - I use dropbear - it is great because you can use a key pair. I have a script that I use to set this up after flashing. It works great on the zt180 - you can ssh and scp to your pad.
[Android Software/Hacking General [Developers Only]] Drew442:
Sorry guys. Been away for a while...

What did I miss?

A lot it seems.
[Android Software/Hacking General [Developers Only]] Zorflieg:
Sweet. So does that mean you sftp your files instead of adb'ing?

Maybe we could just rsync the system to another image file as backup then?
[Android Software/Hacking General [Developers Only]] <Laharl>:
Ok so I am new to Android and I have had a little trouble getting root on the tablet, which I got today, but then I found this site http://www.ibeau.net/tech/easy-root-txpower-fix-on-zenithink-zt-180/ which had a 8 step process which got me rooted and the tcpower fix for wifi also.

And I was wondering now that I have root and the app RootExplorer how do I go about getting Market working on my app.

I can't seem to get ADB to download (stops at 18%) so I can push things to my tablet.

Im sorry if Im asking stupid questions but I don't want to brick the tablet that I just got today lol.

Thanks for understanding!
[Android Software/Hacking General [Developers Only]] Zorflieg:
Open GL movement

Interesting news. A colleague of mine who has been working on some android app development has been in touch with Vivante directly. The guys who's opengl GC600 3d chip is in the ZT-180.

Not only have they confirmed that zenithink license their GC600 (with zenithink you never know until confirmed hey) they said there is opengl ES 2.0 drivers available for it under android 2.x to developers and that they would try and contact Zenithink to see if they want/have them for a future release.
[Android Software/Hacking General [Developers Only]] kismukk:
Wifi couldn`t autoconnect after boot

I have the same problem since I used RPM -s script. Any idea how to solve it?

Anyway thanks RPM! The market is a must have on an android device :)
[Android Software/Hacking General [Developers Only]] latyas:
I can not install it.

when ZT180 rebot after RPMScript,i saw an andy..i can not click it to the next setup..
[Android Software/Hacking General [Developers Only]] jackhill:
Press the four corners of the Pad's screen, starting at the top left moving clockwise
[Android Software/Hacking General [Developers Only]] catttman:
simcard-wifi at start up

thanks...I did your script but i would like to remove the stk- sim card tool kit ,can i do it with adb ?#2 Also the TX patch too ( the comands to do?) ( , I get sim card force close at start up) #3 the wifi dont auto start a boot up I tryed a patch still I have to restart wifi in settings ?

Market works fine !!! Thak you!!
[Android Software/Hacking General [Developers Only]] _motley:
rpmccormick is now a hero on the popular Chinese Zenithink forums website

Nice, rpmccormick is now a hero on the popular Chinese Zenithink forums website:)

I like to visit this site to see whats up over there. The guy with the biquad antenna posts on this site I believe. I'm sure many of you have seen this site by now, but if you haven't it's interesting to read the threads in translation mode and the then have to further translate the terminolgy to understand what they mean (brush, cottage, landlord, gun culture etc.)

Translate mode (also take out the underscore in the bold sections)

h_t_t_p://translate.google.com/translate?js=y&prev=_t&hl=en&ie=UTF-8&layout=1&eotf=1&u=http%3A%2F%2Fw_w_w.zenithink.com.nu%2F&sl=auto&tl=en"]h_t_t_p://translate.google.com/translate?js=y&prev=_t&hl=en&ie=UTF-8&layout=1&eotf=1&u=h_t_t_p%3A%2F%2Fw_w_w.zenithink.com.nu%2F&sl=auto&tl=en
[Android Software/Hacking General [Developers Only]] _motley:
The way it was installed, it doesn't allow uninstall by regular means. I used Autostarts to keep it from starting in "after startup" and then I renamed the apk file in /system/apps

For the wifi txpower=20 fix, see the post above by Laharl. It shows you how to do it. This method should be easier for beginners, but if you feel more comfortable doing from adb, then just pull, edit and push the wifi configration file it mentions in the article.
[Android Software/Hacking General [Developers Only]] catttman:
So I just rename the apk file and then at boot up it wont fine it ?

Also it will let me edit the name too

What is auto starts? I am at work now so I can look at my slate till i get home

It buggs me with all them Errors at boot up and the wifi must be turned off and then back on to work

thanks
[Android Software/Hacking General [Developers Only]] jlcid:
Yes I post. I don't speak chinese, i don't speak english...

I'm the biquad antenna guy.

Has anyone else tried the biquad antenna?

When was the vertical my zt, with biquad antenna, worked very well. The problem is that when placed in a horizontal position lost some reception (almost 10 db). That is a very directional antenna

Solution: I have mount two internal antennas. A biquad vertically and horizontally another half-wave.

Cost <$ 1

Assembly time: 15/20 minutes.

Result: Works fine in any position and do not lose reception, even where previously could not connect to wifi

I don't speak Chinese or English, as you can see, but I try...

: )

You can use this other forum, is the same but, newer, more up to date ...

and of course in Chinese

h_t_t_p://www.epad.com.nu/
[Android Software/Hacking General [Developers Only]] hal_9000:
You can delete it without problem. Just "adb remount" first to have read/write access.
[Android Software/Hacking General [Developers Only]] catttman:
I am trying to remove stk.apk to fix the errors at bootup i can get it to remove

says remove failed , How would you remove stk.apk

thank you
[Android Software/Hacking General [Developers Only]] hal_9000:
Again...

adb connect YOUR_TABLET_IP:5555
adb remount
adb shell rm /system/app/Stk.apk
[Android Software/Hacking General [Developers Only]] prscott1:
cattman -

you can remove the stk toolkit using titaniumbackup or remount the system and from the shell:

# rm /system/app/stk.apk

# rm /data/dalvik-cache/system@app@Stk.apk@classes.dex

# rm /data/data/com.android.stk

And it will be gone.
[Android Software/Hacking General [Developers Only]] prscott1:
kismukk, in a previous post - i advised to clean up dalvik-cache.

so from mounted shell do :

rm /data/dalvik-cache/*

then do a reboot.
[Android Software/Hacking General [Developers Only]] catttman:
Thanks as soon as I get home gona try!!!!
[Android Software/Hacking General [Developers Only]] killerbie:
Hi,

I'mplanning to buy a ZT180, but had a couple of questions,

do you guys think it is worth the money, or should i wait for newer versions?

Is an 2.2 update ever going to be released?

What are the pro's and contra's? (=advantages and disadvantages)
[Android Software/Hacking General [Developers Only]] xllamas:
3G modem

I got my 3G modem working in a kind of a crude way. In case someone is interested this is what I did

I added 3 scripts (these are modified versions of the ones for CDMA that come on the ZT-180 0818 image):

/system/etc/ppp/peers/3g

ttyUSB0
115200
nocrtscts
usepeerdns
connect '/system/bin/chat -v -f /system//etc/ppp/chat-3g'
disconnect '/system/bin/chat -v -f /system//etc/ppp/chat-3g-disconnect'
debug
nodetach
ipcp-accept-local
ipcp-accept-remote
defaultroute
user webgprs
password webgprs2002

/system/etc/ppp/chat-3g

ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "NO ANSWER"
ABORT "BUSY"
TIMEOUT 120
"" ATZ
"" "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
OK "ATDT *99#"
CONNECT

/system/etc/ppp/chat-3g-disconnect

ABORT "BUSY"
ABORT "ERROR"
ABORT "NO DIALTONE"
SAY "\nSending break to the modem\n"
SAY "\nPDP context detached111\n"
SAY "\nPDP context detached000\n"
SAY "\nPDP context detached\n"

To connect I just have to issue the following:

# pppd call 3g &

My particular modem (ZTE MF622) acts as a USB disk when first connected (the windows drivers are there) and is then switched to a serial device. I don't know exactly how Android does it (in my Linux box I had to use a program called usb_modeswitch) but I have to wait a minute or so after I plug in the modem for this process to complete. Your can check that you have a connection by issuing:

# netcfg

I also had problems with the DNS server my carrier provided so after connecting I changed it to Google's public DNS:

# setprop net.dns1 8.8.8.8

All this, of course, can be automated using Gscript or similar.
[Android Software/Hacking General [Developers Only]] _motley:
Cool, thanks for responding. You are doing very well with both languages! I haven't posted there before because I am not sure how correct my translated posts would be after being translated once already! I usually lurk over there with guest access. Yes, thanks, I forgot about the site/domain change to epad.com.

I haven't tried the biquad antenna, but would love to see a picture of yours. The ones online you gave the link for look big and would appear to be mounted outside the unit, but you say that yours is mounted inside. I have a simple loop antenna installed right now with a heat sink and it seems to make things a little better with signal strength. Vertical is better than horizontal and flat down on a surface seems to work even better. My signal has good strength and my connection comes up reliably on boot. My problem is that it will eventually drop after 45 minutes or so and then it gets unreliable after I restart wifi in Tools and Settings. I see that the USB device ID changes each time I stop wifi and restart it. I am not convinced that the hardware is completely responsible and I suspect a software issue with the rt3070sta.ko (loadable kernel object) or perhaps with the way the kernel is handling it with power management etc. See my other posts on this in this thread where I discsus the rt3070sta.ko. I wonder how stable the wifi connection is on wince on the same tablet using the same AP? I have not flashed wince and probably never will, but I would be interested in how stable wifi is. If it is stable, then we know we can point at software to some extent and not hardware for reliability when close to the AP with good signal strength and signal quality.
[Android Software/Hacking General [Developers Only]] catttman:
And miss out on all this fun

seeing the market work after reading all this stuff was great!

and good teachers here too
[Android Software/Hacking General [Developers Only]] _motley:
Autostarts is an app you can download to control which apps and services start in response to different system events. Since I could see the stk app listed in the after startup event, I didn't want to just delete it permanenty before seeing if an error would appear when it wasn't found. However, if the other guys are removing it, then that method must be OK too. I will probably just delete mine now since I don't get errors on boot any more. I'm sure there is a config file we can edit directly somewhere, this is what Autostarts is changing. Deleting the cache is also important, but on first boot after the clear expect apps to be slow and to receive some errors on booting and starting apps (just hit "Wait" and allow them to continue). After you use it for a bit and then reboot, it will get better. After cache clearing, I often see apps fail on the first launch or they load very slowly. After that, they load and are peppy again.
[Android Software/Hacking General [Developers Only]] killerbie:
Ah, i have a DIAM100phone with android so i can live with the fact that there are updates or nessecairy tweaks needed, as long as someone explains it, and i don't see problems there :)

so what are your experiences, if you was me, would you buy it... or wait?

I want to use it for: browsing, ebooks, comics, music, movie, and if i can find a good program writing with a pda pen.

My question: are those things doable without having to search or wait for updates etc? Or do I have to do some neccesairy tweaks and updates for normal use?
[Android Software/Hacking General [Developers Only]] jackhill:
Still needs loads of tweaking so rather wait for a more stable custom rom or firmware update
[Android Software/Hacking General [Developers Only]] killerbie:
Thank you bro :)

I still have to wait for another 2 weeks so I'll see if there is another tabled available in that period.

You know another tabled which is already good ad standard?
[Android Software/Hacking General [Developers Only]] catttman:
Iget this C:\android-sdk-windows\tools>adb shell /data/data/com.android.stk

/data/data/com.android.stk: permission denied

wonder why
[Android Software/Hacking General [Developers Only]] insight3fl:
This is a great start on this. I am trying to use a WMwifi usb modem on my phone. What do I need to change?. Your start command reports an error routine" TTYusb0" in 3g file.

Thanks
[Android Software/Hacking General [Developers Only]] froggymike911:
"Iget this C:\android-sdk-windows\tools>adb shell /data/data/com.android.stk

/data/data/com.android.stk: permission denied"

do an adb remount before you run adb shell, you're not logged in as root.
[Android Software/Hacking General [Developers Only]] Christian Buchner:
shell rm -r /data/data/com.android.stk

worked for me.
[Android Software/Hacking General [Developers Only]] catttman:
Is anyones wifi auto start or do you have to "off- on" to reconnect

thanks
[Android Software/Hacking General [Developers Only]] catttman:
I lke to redo my bootanimation with a diffrent one "Pissing on the apple" one

so do i remove the old or just resend the new one over the curent bootanimation thats stock

thanks
[Android Software/Hacking General [Developers Only]] rpmccormick:
Just replace the bootanimation.zip file with whatever you want. I tried to edit the zip files so it fit our screen, but then I got no boot ani at all. I guess you have to sign them or something. I didn't bother looking it up, but I have seen guides in the G1/theme forums.
[Android Software/Hacking General [Developers Only]] omarahum:
I editted the desc.txt file to enlarge the animation (first two numbers are the display resolution, third is # of times to repeat). It worked well with the walking and spinning android animation, but the one in the script did look a little pixelly, though really cool in full screen.
[Android Software/Hacking General [Developers Only]] prscott1:
did you adb remount before you went adb shell ?

or are you using a terminal emulator?

If using terminal emulator, do su first then try again
[Android Software/Hacking General [Developers Only]] catttman:
forgot to remount

thanks for all the help this pad is more fun fixing up than useing

:)
[Android Software/Hacking General [Developers Only]] prscott1:
LOL!

Let's hope we get fun from using it too! ;)
[Android Software/Hacking General [Developers Only]] teufel82:
Yes i have the same problem, since run the script to enabled market.

other problems are, problems while loading widgets at desktop 2-5 and twice at desktop 4. the widgets are black with error message in it

after starting the pad it says "application SIM-Toolkit" don't reacts, also the Application "android-tastatur"

Frank

Can i run the script again or must i reflash and then run the script?