yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] _motley:
Thanks rpmccormick, very nice work! Got it working earlier today on the ZT-180 using your instructions. Sweet!

Just last night I did the same thing on my PDN so I already had everything in place and was familiar with the process. I assume the SIM toolkit was the missing link for the ZT-180 firmware to allow it emulate having a real service provider like a phone? This was the only step that was different from the PDN as I recall. Again, awesome work!

A couple comments:

1) I think leaving the launcher out of this process is definitely best. The launcher.db puts quite a few dead icons scatter across the five desktops for apps that are not installed on the destination machine.

2) After several reboots (JIT cache should be good by now), I still get some process delay warnings where I need to press "Wait" to allow them to have more time. It's always the same now every time. I get one for AutoKiller, then another one for the SIM Toolkit, and then another one for AutoKiller. All is well after I click "wait" 3 times, then it runs very smoothly from there on. Is there a way to increase the time the OS will wait before it gives a warning about a hung process so this doesn't have to be done? No biggie, but I would like it to be error free on bootup if possible. Maybe theres an app for that? Not sure if it is AutoKiller or the SIM...I have a feeling it's the SIM, may take it out of startup and see if it launches on it's own when needed.

Interesting, I use dd-wrt too and find location never works for me either.

Again, great work!
[Android Software/Hacking General [Developers Only]] prscott1:
rpm - you rock! thanks :)

I sent you a pm - but nevermind - I found a working Contacts and ContactsProvider apks that I pushed ontop of your sys apps.

I was on my way to building exactly the same as you (I manually pushed it all a gazillion times testing) - basically dissecting the gapps.zip file and recreating it with a bat file. I appreciate your taking it to the next level for me. :)

To comment on a few items:

I removed the stk.apk (sim toolkit) from the system build and I still have working market; I got annoyed by the constant fc from it too.

I also use DD-WRT in a WDS at home that I set up and I don't have any troubles connecting to wifi (using wep shared key) and my location gets found okay. At work, we use wpa with user authentication and don't have much trouble there either.

Has anyone been able to get titaniumbackup to do a restore?
[Android Software/Hacking General [Developers Only]] insight3fl:
Zorflieg,

Thanks for your help.. I did all of the above.. trying your link for the system.img file. I think it is the same as the one I had. The only thing I did not do is replace the android7 image folder system.img file with the download. I was putting it in the "Market_Fix" avd folder (the new avd that was created). That is what the tutorial said to do. I assume that is correct AND I must replace the other one in android7 directory?
[Android Software/Hacking General [Developers Only]] sattiger27:
Awesome work....Thanks for the good work....it works perfectly fine......Only the audio is not working.......
[Android Software/Hacking General [Developers Only]] juched:
where did you get the apps from? They seem to work. I can now download and gtalk works, and calendar and contacts sync. Very cool!

I had been playing with certain changes myself, so I had to update the script to also remove all those changes before applying yours. I had tried the apps from ERE27, but they onces you used are different.

thanks for getting this. I didn't even have to use market enabler. Just realized I never ran it!
[Android Software/Hacking General [Developers Only]] sattiger27:
perfect..perfect.....Market ..gmail..contacts sync everything works fine.....Thank you so much......did u get any luck with the audio....(for ex: fring voice call).
[Android Software/Hacking General [Developers Only]] prscott1:
swap working

Hey all -

I highly recommend you get GScript to help launch useful - daily scripts.

I have a partitioned sdcard that I am using in my pad - fat32, ext3, and linux-swap.

I wrote a simple script and can turn my swapon! :D

# free

free

total used free shared buffers

Mem: 188832 182476 6356 0 7512

Swap: 62792 0 62792

Total: 251624 182476 69148

#

the main script:

busybox swapon /dev/block/mmcblk0p3;

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

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

free

sleep 20

and the free shows the above (I have a 64mb swap). This sure helps with the ram shortage on this pad.

NOTE: I replaced the existing /system/bin/busybox with a more robust one that I use on my phone and created a few additional symbolic links for commands I use a lot. The existing busybox may also include swapon - let me know if this works.

I'm looking at what is needed to get my ext3 partition mounted. My first attempts failed because I'm missing a few stored objects, so I'll tackle this tomorrow and post back my proof of concept.

Hopefully, once I get these things working, I can put together a how-to.
[Android Software/Hacking General [Developers Only]] aab44:
[Q] ZT-180 A105 - How to add Arabic Language - Unicode: Arabic (windows-1256)

Dear Friends,

I just bought ZT-180 A105; but I face problem that Arabic character show as rubbish when browsing Araboc websote.

I tried to set local language to Egypt Arabic & Israel Arabic (Setting/ Language & Keyboard / Select Local); but still Arabic character show as rubbish .

Could you please help solving or to Add Unicode: Arabic (windows-1256), so Arabic website shows correctly.

Your help to solve this issue is highly appreciated.

Regards,

-----

Sorry, cannot post new thread, this why i reply here
[Android Software/Hacking General [Developers Only]] _motley:
Excellent, it would be great to see a how-to on this;).

Thanks, I have removed Stk.apk as well and things are better on startup and market is still working fine for me as well.
[Android Software/Hacking General [Developers Only]] ayman07:
i honestly dont understand why its not working for me. i followed all the instructions and market still wont let me download. everything else seems to work, calendar, talk and gmail. i pulled my android ID from my nexus running 2.2 is that okay? waht else can it be?
[Android Software/Hacking General [Developers Only]] <Laharl>:
Could we get some Youtube how to videos made for the market process?

I know I can copy what someone does better than trying to copy what they did from reading a post.

(Would be easy for newbs too)

If not then when I get my tablet (fingers crossed it should bee here the 26th) I will try to make a video.
[Android Software/Hacking General [Developers Only]] Zenithink:
I believe the manufacturer has released an FCC certificate for the Zenithink. You should contact Zenithink China to obtain this. Their customer support seems to be good.
[Android Software/Hacking General [Developers Only]] jackhill:
I had the same problem, Market activated fine but all downloads failed. I then noticed a post that said we should reinsert the google id into the database and reboot. So connect your pad up via usb, launch the SDK and run the following command from the tools folder in the cmd prompt window

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

Reboot and it should hopefully work now, mine did!
[Android Software/Hacking General [Developers Only]] ash.881:
I am still having issues getting the market to work.

While the instructions seem pretty easy to follow they aren't completely noob friendly. But I think I did everything correctly. The only thing that caused an issue was after I saw the Android and touched the screen in the corners I attempted to run

adb shell sqlite3 /data/data/com.google.android.googleapps/databases/gls.db "update meta set intvalue='YOUR-ID-HERE' where name='androidId';"

It came up with an error stating the device was not connected (it had been using wifi up to this point), so I plugged the OTG cable back in a tried again, this time it appeared to work.

Then I ran the market and setup my account, then ran market enabler, then rebooted.

Market will open and connect, I can browse through the apps but when I attempt to download I get an error message stating the download was unsuccessful.

I have run

adb shell sqlite3 /data/data/com.google.android.googleapps/databases/gls.db "update meta set intvalue='YOUR-ID-HERE' where name='androidID';"

again a couple of times with OTG connected, but market still will not download.

Also every time it boots up I get 3 error messages:

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

Gmail, only shows one single email (an old one) and shows a "No Connection" status.

Wifi doesn't seem to autoconnect anymore either. It is always "disconnected" I need to actually turn it off and then on again to connect.

Ideas???
[Android Software/Hacking General [Developers Only]] hal_9000:
I noticed that WiFi doesn't reconnect, but not sure if it has relation with any change made by the script. Anyway not much of a problem as long as turning it off and on again makes it connect.

One thing I'm trying to solve is the app synchronization between my phone and the tablet. I want that they don't synchronize. Yesterday I tested two apps in the tablet and later, when I took my phone, I found that these two apps were installed on it, even one of them had been removed from the tablet already. And all without ask for any confirmation.

I'm using in the tablet the AndroidID extracted from my phone. I'm not sure whether that synchronization happens just for using the same Google account or it happens for use the same AndroidID too. To check it out I'll change the ID to one extracted from the emulator and see what happens then.
[Android Software/Hacking General [Developers Only]] Zorflieg:
Soz, i'm a dumbass, you were meant to put that in the sdk's /platforms/android-4/images/ folder bloke.

Those platform folders are the source images the android virtual devices (AVD's) you can create are built from. If you create a 1.6 avd it uses the source files from the android-4 folder and if you create a 2.1 it uses the android-7 folder and so on.

I have been working on another project for 2.1 so i had android-7 in my brain.

So as per that link, you download and put the system.img into the android-4/images/ folder so that when you create a 1.6 avd it will build it from the files in there including the system.img one you put there overwriting the one that comes with the sdk.

That is because the 1.6 image out of the box doesn't have market in it. The one you download is modified to have a working market. There's nothing special about 1.6 as such it's just whoever made the image people use chose 1.6 at the time and got the market app working.

If someone had have given out a 2.1 image with a working market app we could have copied over the system.img in the android-7/images folder instead and there wouldn't be all this mildly confusing "pull from accounts.db and add to gls.db" stuff. We could have all just read from the gls.db in the 2.1 sdk and updated ours. Hell, we probably could have just copied the gls.db from one to the other without using sqlite3 at all.

So anyway i digress, once you have a patched 1.6avd with market you do all the rest of the shiz like log in once under the avd's market app so it generates an ID and do the sqllite3 line to extract the valid androidId etc as per the instructions, you dig?
[Android Software/Hacking General [Developers Only]] hal_9000:
By the way, while installing the emulator with Market to get the ID, I searched too for "slidemytiles" and for "tt_dialer" and it doesn't find results in the emulator neither, while in my phone it find results for both of them.

I wonder if there are more applications that the tablet and the emulator cannot find, and more than that I wonder why cannot find them and why for a while (when first configuring the ID on the tablet) it was able to find results for it. :confused:
[Android Software/Hacking General [Developers Only]] Zorflieg:
It could be one of google's carrier filters. Google filters what apps are available by various things like Carrier. That's why the APNdroid and other faker apps were invented. So people in one country could pretend to be in another to get around that filter.

Did the fake carrier you selected match the one from your phone?

I chose Australian telstra and it wouldn't let me download all kinds of crap so i installed slideme as well to fill in the gaps. If it bothers me too much i'll switch it to T-Mobile or something.
[Android Software/Hacking General [Developers Only]] Zorflieg:
I don't think there is anything wrong with dd-wrt i think it's just that the IP addresses and wifi network ID's aren't registered in the online databases.

Like this article explains http://gps.about.com/od/glossary/g/wifi_position.htm unless your wifi is in someway identifiable from the lists it can't track you.

Like other devices ie: the ipod touch that doesn't have a gps, It checks what info it gathers of what wifi SSID's are in range even if you aren't connected to them with the database for identification. Most people in a large town or city are within range of some sort of identifiable public registered wifi connection. I guess you aren't. That's also why it's normally way less accurate then actual gps.

It could apply to the fbi too, maybe if you are going to do something dodgy use your zt-180 through your wifi instead of your phone ;)
[Android Software/Hacking General [Developers Only]] hal_9000:
Yes I tried with both, T-Mobile and my local carrier (entering it manually on Market Enabler) but no luck. What makes me crazy is that it worked for a while when I first configured this all.

Edit: By the way, now that I'm using an ID from the emulator on the tablet, it seems that the undesired app synchronization between the tablet and the phone has stopped. I'll continue watching at it though, just in case...
[Android Software/Hacking General [Developers Only]] PlutoPorkPie:
Everything is working for me, except I can't login or create an account when opening Market. I've done everything and followed everything to the T.

My AndroidID seems to be in hexidecimal, would that stop Google even beginning to create a new account or accept an existing one. It claims that the wifi is not working, but yet connection is fine and browsing is working fine.

Any ideas?

Any ideas?
[Android Software/Hacking General [Developers Only]] hal_9000:
Yes, for some reason the first time I pulled out the ID from my phone it was in hexadecimal too, although the second time it was in decimal. :confused:

Just go to windows calculator, put it in scientific (or programmer if on Windows 7), then select hexadecimal, paste your ID and then select decimal to see your converted ID.
[Android Software/Hacking General [Developers Only]] twinturbomike:
I followed the directions to the letter, but still having problems connecting to the Google server when signing in to my account.

I have tried re-establishing my GoogleID via gls.db and all that, but without failure I keep getting "Can't establish a reliable data connection to the server."

"This could be a temporary problem or your phone may not be provisioned for data services. If it continues, call Customer Care."

What might I be missing? To note, I applied my androidID in single quotes which is 19 digits. Any suggestions are greatly appreciated.
[Android Software/Hacking General [Developers Only]] jackhill:
Are you behind a proxy? I had endless hassles trying to get my ID at work because of our proxy to the internet. I then managed to get my ID at home (no proxy) but the first time I booted after running the script, my internet connection did not connect. Make sure your wireless is enabled and connected, maybe try browsing the web before launching "Market"

I also wrote this reply assuming you got your GoogleID already, have flashed the custom ROM, have touched the four corners and are now launching Market :) If you are still trying to get your ID from the emulator, mine only worked if I DIDN'T wipe data before launching the emulator

Good Luck
[Android Software/Hacking General [Developers Only]] sattiger27:
Everything working fine....Next step how to fix the voice call

Thanks for the instructions........Hurray.....

.Market, google synchronization is working fine. I just followed the instructions and it works perfectly fine.

Next step i tried is to do a voice all using Fring. The app makes a call, but i couldn't hear anything. Any luck in trying out a voice call..
[Android Software/Hacking General [Developers Only]] nick.anderson:
Is anyone else having problems with the wifi?

I cannot get it to connect anymore. Turning off and on the wifi used to help but it dosnt seem to be helping anymore.
[Android Software/Hacking General [Developers Only]] prscott1:
Hmmm, my dd-wrt network works fine but I am registered on DynDNS so I can access my webcams and home computer when away (I don't have a fixed IP at home). So maybe if you get a DynDNS account (or from another dns name provider) it will work for you?
[Android Software/Hacking General [Developers Only]] prscott1:
TitaniumBackup works!!!

TitaniumBackup working great - to backup, restore, uninstall (including system apps), etc - the latest version from Market!!

here is a quote from the dev in case anyone else wants to give it a try on settings:

****

Did you try to set the "App processing mode" to "AUTO, Indirect" in the Titanium Backup settings ?

Is SQLite detected (on the TB startup screen) ?

If you disable the Market links (in the TB settings) does it restore successfully ?

****
[Android Software/Hacking General [Developers Only]] insight3fl:
Thanks for taking the time....but I am the one that feele like a DA..I can not get the emulator to finsh booting no matter how I configure it, run it ......I even re downloaded and installed SDK and have the same result...emulator never goes past android- blinking .Not sure what is wrong with my environment. adb and ddms and everything else works. Maybe someone came make an id for ne?????? :)
[Android Software/Hacking General [Developers Only]] csbert:
Memory consumption

So after enabled the market using rpm method, I've been really using this device. I limited the amount of concurrent apps to 3. It runs ok, but constantly slow down. I realized that the ram is almost filled by the time eclair is loaded. There is about 184Mb of ram on this thing. By the time everything is loaded, there is only about 15-30Mb left. This is the reason why the thing is so slow. I put an 1.6 port of the vogue on and it run like crazy because 1.6 doesn't require much ram. However, I couldn't get the wifi to work because the require recompiling the module which we don't have source code. So anyone knows how to cut the eclair memory profile?
[Android Software/Hacking General [Developers Only]] sitelister:
csbert, does your 1.6 port have ethernet or ADB w/ USB working?

If so, would you mind sharing it?
[Android Software/Hacking General [Developers Only]] jtbnet:
This is the reason that one of the 3 first apps I suggest loading on these after you forst root it is AutoKiller as just too much gets loaded and sits idled but using memory at startup and later on... I have mine set to STRICT (60/70/80) and usually have ~60MB free without having to manually taskkill anything... sure when you start something it drops but rarely below 35MB... and I haven't found anything that had issues with Autokiller running...

PS. rpmc mentioned loading the RA2870 linux driver direct from RALink on this and having it work so you might try that one...
[Android Software/Hacking General [Developers Only]] csbert:
This is before I know how to make an img. I will swap the firmware out tonight and post it. It's the myth warm donut build for vogue. Good thing the cpu is the same. I think everything else work. At least usb storage work. So I think adb should work as well.
[Android Software/Hacking General [Developers Only]] ayman07:
am i honestly the only person on this thread who can not get the market to work. man and i thought i knew how to use adb and everythin. idk what i am doing wrong folks. i ran the that cmd after but still all my downloads are failing. i tried running the script and it still didnt work in the end, then i tried doing it manually and still getting the same thing. what am i missing. i tried the cmd twice, once over wifi and once over the usb. i tried doing adb shell, and when i got the #, i did the cmd and i tried adb shell cmd (all on one line) i dont think that will make a difference tho. how could everythign work except the market? if talk works, doesnt that mean i did it correctly? it usually wouldnt even connect but now its working fine. whats the deal? any help people

the android ID is from my nexus running 2.2 FYI
[Android Software/Hacking General [Developers Only]] jtbnet:
Check your PMs I sent you one...
[Android Software/Hacking General [Developers Only]] jtbnet:
Did you reboot after seeding the DB before trying to download???
[Android Software/Hacking General [Developers Only]] ayman07:
yes. i followed the instructions pretty closely. once i put the android ID on the tablet (before logging in to my gooogle account) , i rebooted, logged in to my google account, let is sync, and rebooted. no dice. there is one thing i have been doing tho.

adb -s 192.168.0.1:5555 shell sqlite3 /data/data/com.google.android.googleapps/databases/gls.db "update meta set intvalue='ANDROID ID HERE' where name='androidId';"

is it okay that i am using -s?

also if i run this cmd:

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

shouldnt it tell me the android id i put in it? it keeps saying

SQL error: no such table: meta
[Android Software/Hacking General [Developers Only]] kingofthehuns:
Does a scan give you APs?
[Android Software/Hacking General [Developers Only]] rhandsome:
All, I don't know if anyone has already verified this or not. But in any case I'll give my results. I have successfully connected my ZT-180 to my Motorola Droid running Froyo 2.2 and TetherWifi (paid app via Market). I had to configure 2 files appropriately, instructions listed in previous post.

I configured wpa_supplicant.conf as follows :

# Globals

ctrl_interface=ra0

update_config=1

eapol_version=1

ap_scan=2

fast_reauth=1

# ad-hoc network with None.

network={

ssid="Android"

scan_ssid=1

mode=1

key_mgmt=NONE

priority=1

}

I configured RT2870STA.dat as follows (key config items):

NetworkType=Adhoc

TxPower=100

SSID=Android

Zenithink, zt-180, ROM Release 0818

Overall, it's running pretty smooth.

Hope this helps someone.

**** EDIT ******

It was working but upon restart wifi doesn't start. I believe the problem lies within the wpa_supplicant.conf configurations. Does anyone have any ideas? At least it was working for a time.
[Android Software/Hacking General [Developers Only]] rpmccormick:
Lot's of good stuff here guys. Working TB is awesome. Working tether is awesome. Removing STK is awesome. Not needing MarketEnabler is awesome. :)

I will work this all in to my next script along with a 2-step process to applying the key after reboot, some more wifi hacks, and a cleaner desktop.
[Android Software/Hacking General [Developers Only]] hal_9000:
Oops, I didn't read about not needing MarketEnabler. What post are that info?