yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Christian Buchner:
Oh wait, he said he used an "empty" system directory. Well that won't work. ;)

I meant to suggest creating an image from an actual unyaffs-extracted system directory, and trying if it boots.
[Android Software/Hacking General [Developers Only]] Christian Buchner:
Is the OOB data stored at the beginning or at the end of each 4096 byte block?
[Android Software/Hacking General [Developers Only]] fun_:
I already said "please try" :)

and please don't expect me because I don't have ZT-180 as I already said.
[Android Software/Hacking General [Developers Only]] ronr:
Open VPN APK Location

From the author's googlecode site:

OpenVPN Installer: http://code.google.com/p/android-openvpn-installer/

OpenVPN Settings: http://code.google.com/p/android-openvpn-settings/
[Android Software/Hacking General [Developers Only]] Zorflieg:
Hey RPM, i have multiple tablets apart from my zt-180.

What bits of your script aren't zt-180 specific, like the keyboard should work on other devices yeah?

You can just rattle off letters from the menu if you have the time.

Could i use the version of market enabler on froyo on another tab do ya reckon?
[Android Software/Hacking General [Developers Only]] catttman:
Ok this Is the latest Market fix ..Just run all this ,no other patches needed right? I got one apad being delivered today gona just do it this way
[Android Software/Hacking General [Developers Only]] ronr:
WiFi Tether

How do you get the pad to see the tether, which is an "ad-hoc" connection, not an AP? I found information on another site about editing /system/etc/wifi/tiwlan.ini and wpa_supplicant.conf, but there is no tiwlan.ini file on the pad (but there is on my Android phone). I am using "Wireless Tether" from the marketplace on the phone.
[Android Software/Hacking General [Developers Only]] prscott1:
Thanks. I use the vpnc frontend - but on this pad - no go. There isn't a tun.ko (tunnel kernel object) compiled for this kernel / zImage yet. let me know if you find a working one. I tried to use some old ones I had for older kernels from my G1 but they wouldn't install (insmod).
[Android Software/Hacking General [Developers Only]] prscott1:
It shows up on my wifi scans. What phone / rom are you using?
[Android Software/Hacking General [Developers Only]] prscott1:
It shows up on my wifi scans. What phone / rom are you using?

I don't have to make any modifications to use it on either device.
[Android Software/Hacking General [Developers Only]] ronr:
HTC Hero running Android 2.2 (Froyo from Froydvillain). That build did not have tether built in, so I am using Wireless Tether v2.0.2 from the Market.
[Android Software/Hacking General [Developers Only]] nox78:
market worked in 0818, now in the new firmware does not work, but does not swing open!

Generally there is a sense in this firmware than the modem?
[Android Software/Hacking General [Developers Only]] jackhill:
It does work. Open applications and then launch the Market package on the 2nd screen. After signing in, the Market Place shortcut on the slider will function correctly
[Android Software/Hacking General [Developers Only]] prscott1:
Market works same for me on 0827 as it did on 0818.
[Android Software/Hacking General [Developers Only]] Christian Buchner:
Bug report for v1.1 RPMscript:

"unnecessary" spelled badly in menu

The wifi firmware should be located in /system/etc/firmware/ not /system/firmware/

Contacts / ContactsProvider don't sync my Google Mail contacts at all. Does this work for anybody?

Suggestions for future versions

Also could you upgrade the superuser.apk to version 2.3.5 and corresponding su command? It's a bit ugly to have an app installed in /system/app when there are updates available on the Market.

At least one of the google apps you install in /system/app are available from Market. For this reason I would advise to have them in /data/app: Maps.apk

maybe more?

You could do a manual "MarketEnabler" thing

To enable seeing of paid applications that are available to the US, the following commands must be run:

setprop gsm.sim.operator.numeric 310260
setprop gsm.operator.numeric 310260
setprop gsm.sim.operator.iso-country us
setprop gsm.operator.iso-country us
setprop gsm.operator.alpha T-Mobile
setprop gsm.sim.operator.alpha T-Mobile
kill $(ps | grep vending | tr -s ‘ ‘ | cut -d ‘ ‘ -f2)
rm -rf /data/data/com.android.vending/cache/*

here is a suggested snippet for the BAT file, I commented out the kill command as the vending

process is not usually running and the command did not work as is.

..\adb shell sqlite3 /data/data/com.google.android.googleapps/databases/gls.db "update meta set intvalue='%ID%' where name='androidId';"
REM delay 3 seconds to allow sqlite to write...
PING 127.0.0.1 -n 4 -w 1000 >NUL
..\adb shell sqlite3 /data/data/com.google.android.googleapps/databases/gls.db "select * from meta";
PING 127.0.0.1 -n 4 -w 1000 >NUL
ECHO .
ECHO Will now enabe paid US-Market apps by setting SIM operator to T-Mobile (US)
..\adb shell "setprop gsm.sim.operator.numeric 310260"
..\adb shell "setprop gsm.operator.numeric 310260"
..\adb shell "setprop gsm.sim.operator.iso-country us"
..\adb shell "setprop gsm.operator.iso-country us"
..\adb shell "setprop gsm.operator.alpha T-Mobile"
..\adb shell "setprop gsm.sim.operator.alpha T-Mobile"
REM ..\adb shell "kill $(ps | grep vending | tr -s ‘ ‘ | cut -d ‘ ‘ -f2)"
..\adb shell "rm /data/data/com.android.vending/cache/*"

You could also enhance the installation of JIT dalvik VM using this sequence of commands. It appends one line to build.prop and clears dalvik cache.

..\adb push system\lib\libdvm.so /system/lib
..\adb shell "echo dalvik.vm.execution-mode=int:jit >>/system/build.prop"
..\adb shell rm /data/dalvik-cache/*

or maybe this is better?

..\adb push system\lib\libdvm.so /system/lib
..\adb shell "setprop dalvik.vm.execution-mode int:jit"
..\adb shell rm /data/dalvik-cache/*

I don't mean to be nitpicking. Still this is great work!
[Android Software/Hacking General [Developers Only]] balpeter:
Market downloads the apps but it doesn't install them. May I did something badly?
[Android Software/Hacking General [Developers Only]] patmtp35:
no you have to wait i ve got the same thing but after a time it install them
[Android Software/Hacking General [Developers Only]] rpmccormick:
Thanks for all the great feedback (plus code... I had been wondering how to Market Enable on my own).

In .9 I had SuperUser in data, but I thought it would run without as much startup lag in system. It doesn't though, so I can move it back to data I guess (and will look for upgrade... I thought new ver was only for Froyo)

Thanks for finding the etc/firmware issue, it has been wrong forever.

Many of the .apk's in system could live fine in DATA, but they are all part of the GoogleApps pack which is normally in SYSTEM and none of them are in Market except Maps. The Maps update in market is actually the only app I know of that is designed to update the /system folder, so there is no reason to move it to /data. It is safer it leave the GApps ERE36b version in system, and update it through Market (just as Google expects).

Ok... I will try this... what is all that PING stuff about? Why do you want to select it after setting it, just to show it worked? (oh, ping is your wait? I can just use "WAIT 3", that works in .bat files - or it least it used to last decade when I wrote my last big .bat file)

I do ECHO that you need to clear dalvik and reboot after installing the ARM 11 dalvik. AFAIK the stock dalvik is JIT enabled too, it's just not "ARM11 optimized", but I guess I will add that dalvik thing to the build.prop if it is not already there.

..\adb shell "setprop dalvik.vm.execution-mode int:jit"

Thanks again! I may just wait for the .img file to get figured out and put this all in to a ROM, but I may make a 1.2 script if that doesn't happen soon.

EDIT: What the heck... v1.2 attached (just the .bat with above changes, UNTESTED).

Note: You do not need to move "firmware" from 1.0 package... it looks for it in system\firmware, but copies it to /system/etc/firmware
[Android Software/Hacking General [Developers Only]] Zap!:
Does the current ROM fix the g-sensor, or are games like Labyrinth and PapiJump still unplayable?
[Android Software/Hacking General [Developers Only]] jcasmar:
Hi, greetings from Spain

RPMScript v1.1 >ok

Android Market >not

MarketEnabler >ok

Android Market >ok

Power Off

Power On

Android Market >not

Help

sorry, I do not speak English

thank you...
[Android Software/Hacking General [Developers Only]] rpmccormick:
Nope. Still no progress from Zenithink on g-sensor in apps (other than screen rotation), g-sensor lockups, wifi lockups/reconnect, sound recording, or sleep mode with screen off.

It would be great if they fixed some the hardware-features instead of just making it play movies slightly faster and adding 3G modem support which adds back that ugly signal icon.

Use v1.2 just uploaded above and re-do your Google ID. Reboot. Market should work. It may take a long time for it to start downloading though, and possibly even a reboot after adding some apps.
[Android Software/Hacking General [Developers Only]] Christian Buchner:
WAIT is simply not know to my Windows 7 command prompt. SLEEP is only available in some resource kit from Microsoft. But Ping is a tool that everyone should have - and sending 4 pings to localhost with 1 seconds of time between will take almost exactly 3 seconds ;)
[Android Software/Hacking General [Developers Only]] hal_9000:
According to this post on SlateDroid, FlashLite works on the ZT-180. I think it could be added to the next RPMScript release.
[Android Software/Hacking General [Developers Only]] jcasmar:
Error v1.2

rm failed for /data/data/com.android.vending/cache/*, No such file or directory

Test:

Android Market >not

MarketEnabler >ok

Android Market >ok

Power Off

Power On

Android Market >not
[Android Software/Hacking General [Developers Only]] Zap!:
Any possibility you or someone else here might figure out a way to fix it, or would you need a source?
[Android Software/Hacking General [Developers Only]] hal_9000:
@jcasmar:

And what if you run MarketEnabler again after reboot? Does Market start working again until next reboot or is MarketEnabler working only the first time?

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

¿Y si ejecutas de nuevo MarketEnabler después de reiniciar? ¿Vuelve a funcionar el Market otra vez hasta el siguiente reinicio o MarketEnabler sólo funciona la primera vez?
[Android Software/Hacking General [Developers Only]] rpmccormick:
Nope. I doubt anyone but Zenithink could fix any of those hardware issues. I'm not saying it is not possible, but very unlikely. Source-code has nothing to do with it... we would need the datasheet on all the chips used as well as well as the layout-file of the PCB so we could see how those chips are connected to the CPU. Then we could start modifying source code. None of this is anything I would ever do unless I was getting paid 100k/yr to do it.

JCASMAR:

Don't worry about the can't delete cache error, that's fine.

On mine (and most peoples I think) Market works fine without MarketEnabler other then the home-page advertising apps to you, US-only apps don't show, and user comments don't show. Market enabler fixes the first 2 (still no fix for missing comments, unless my 1.2 script fixes that which I have not tried yet). You do seem to have to run MarketEnabler after every reboot to fix them.

Also after every reboot, Market will sit a 0% for a long time. Once it starts working after being connected to the internet for about 3min, it will work perfect until next reboot. Same goes for superuser apps... it seems nothing will be granted SuperUser until you have been connected to the internet for 3 min after a reboot. No idea why.

If yours is behaving differently, I suggest you re-flash 0827 and then try my RPMScript from scratch. If you still can't get it to work, you might try making another GoogleID with a new install of the SDK emulator.
[Android Software/Hacking General [Developers Only]] jcasmar:
ok thanks

good work ...
[Android Software/Hacking General [Developers Only]] prscott1:
The newer Superuser.apk and su are much faster!

Thanks for the heads up man!
[Android Software/Hacking General [Developers Only]] rpmccormick:
Sorry I missed this question before... Yes, contacts syncs all the same contacts that are on my Android phone. This is not your entire GMail list. If you click "Contacts" on the left side bar in GMail, you should have a few groups in there. 'All Contacts (143)' show up in my phone/tablet. 'Other Contacts (192)' do not show up. Additionally, the favorites page on phone/tablet show 'Starred in Android (11)'.
[Android Software/Hacking General [Developers Only]] dannyd4315:
A quick question,

Is it worth getting a ZT-180 yet? How is it performing on video (SD), browsing etc? I am looking to use it to play a few games (Possibly angry birds), web browsing and watching Divx/xvid videos. What would the performance be like for this?

Will we get a full custom rom at some point in the future?

Or should I wait a little while and see how it pans out?

Thanks

Danny
[Android Software/Hacking General [Developers Only]] patmtp35:
as usualy i have re-flash my zt-180 (backup all app and settings before) and just tested last RPM revision as usualy it works fine , market works fine !

one more time very nice job rpm ! We re waiting for your first custom rom !

ps: the only thing i have done is deleting setting.apk from your package so i could keep last zenithink modification. And it works great too
[Android Software/Hacking General [Developers Only]] prscott1:
The contacts sync fine for me as well - even my contact photos show up.

You might try the contacts.apk and contactsprovider.apk that I attached in an earlier post.
[Android Software/Hacking General [Developers Only]] prscott1:
IMHO, it is worth it - especially after the 0827 ROM and the GAPPS and other hacks are applied. I'm thinking of getting another one for regular use and keep my first one for development! :D
[Android Software/Hacking General [Developers Only]] jtbnet:
Unpack/Re-pack zImage/rootfs/kernel file?

I understand the unyaffs-4k/mkyaffsimg-4k for system.img and userdata.img which are nice for making selective installs of groups of apps... but the rootfs/kernel image is Not the same format and seems to be a packed/compressed image unlike the other 2 partitions... this is the image we need to open up to change things like boot settings, init.rc, install additional drivers, etc...

Does anyone have any info on what tools were/can be used to un-pack and re-pack this image which does seem similar to boot images used on other devices but just hoping someone has poked about with this some and may have some hints?
[Android Software/Hacking General [Developers Only]] fun_:
I've updated unyaffs/mkyaffs2image patches on my site.

sites.google.com/site/naobsd/android-tablet/hsg-x5a

some differences are now fixed. hopefully it's last update!
[Android Software/Hacking General [Developers Only]] Christian Buchner:
turns out I just had no clue how to use Google contacts. So far I had exclusively relied on the "most used contacts" feature - which isn't synced.

After moving these contacts into "My contacts" and categorizing them, everything works as intended.
[Android Software/Hacking General [Developers Only]] dannyd4315:
Thanks mate,

What is the build quality like? Screen etc? What about the back case, is it metal or plastic?

Thanks
[Android Software/Hacking General [Developers Only]] Christian Buchner:
the gzImage and bzImage formats have a binary header, followed by a gzip or bzip compressed kernel image. I think this is pretty well documented on some internet sites.
[Android Software/Hacking General [Developers Only]] Christian Buchner:
A lot of games don't work nicely on 1024x600 pixel screens yet. I had to kick out a lot of downloads again. Game pieces displayed at wrong coordinates (Checkers), touch screen input not working (Unblock Me), etc...
[Android Software/Hacking General [Developers Only]] prscott1:
Musings

Speedy pad:

After burning the latest ROM0827 and then applying the following: GAPPS, TXpower wireless hack, newer superuser.apk and su, libdvm.so and correlating build.prop hacks (all of these are now included in RPM's batch files), disabling all animations via settings (and in adwsettings if you use adw laucher), that my pad is really super fast now - it boots fast, it responds fast, my wireless connects after each reboot, etc.

I also am not installing any apps that start as a service because those slow this pad down and get a lot of force closes.

Kernel and system observations:

I dove into the deepend and tried to burn a custom zImage (kernel) onto this pad. using the usbburntool.exe, I only checked the kernel box and put the path to my custom kernel. It burned 100% and I rebooted. I was happy that my pad rebooted just fine.

But I was surprised that my "system" was replaced by the rom baseline system and baseline files and that the kernel was not changed at all. I had to setup all my system settings again, etc. Interestingly, the system apps that I had installed from GAPPS were still installed but not really functional.

So, it seems that the kernel may be burned in and that parts of the system.img are wound up with the zImage?

I also reviewed the Android makefile : ./system/lib/Android.mk

I pulled it to my desktop and reviewed it using notepad++. I'm not sure how helpful it may be to you trying to dissect this system.
[Android Software/Hacking General [Developers Only]] Christian Buchner:
What you describe looks like some system services (for downloading, or superuser) get started with a huge delay. And hence don't work when you need them initially.
[Android Software/Hacking General [Developers Only]] prscott1:
When I first got mine, I thought it seemed to be of poor quality - the back is a hard plastic, the screen is easily scratched, etc. I even took mine apart and had hell putting it back together - but it still performs very well.

If you want a sleek, out of the box experience, this pad would not be good. ;)
[Android Software/Hacking General [Developers Only]] Christian Buchner:
I believe the kernel may contain the partitioning for the NAND flash, so when you change the kernel the yaffs2 filesystem might not work properly.

cat /proc/mtd gives you an overview of the used partitioning of the "memory technology devices" subsystem. If it is different from what it was on the old kernel, you'll be in trouble.

For example it may have lost the contents of the data partition, so you had to set up everything again from scratch.
[Android Software/Hacking General [Developers Only]] prscott1:
Exactly. Although I have added a few back in (Ipcamera and titanium backup) and my pad is still starting fairly quick.
[Android Software/Hacking General [Developers Only]] prscott1:
I don't think my custom kernel was even flashed on - I even tried a complete reflash of all four items using my zImage and everything works flawlessly - that is why I don't think it really burned my kernel. :confused:
[Android Software/Hacking General [Developers Only]] dannyd4315:
Thanks, so to clarify, although it is crap build quality, the performance aspect of it is pretty good and will only get better. Especicially for what I want it for?

Thanks
[Android Software/Hacking General [Developers Only]] prscott1:
yes. It also seems to be gaining in popularity - based on the numbers of forum threads dedicated to it. so hopefully being more popular means better system support and improvements.
[Android Software/Hacking General [Developers Only]] jtbnet:
THANX! those cleanups are very useful for the apps roms folks are hopeing for...

I guess I'm going to have to be disecting my way through the boot image the hard way as seems existing tools like those you have links to on your very useful page don't fit as I suspected here...

C:\Test>split_bootimg.pl zImage

Android Magic not found in zImage. Giving up.
[Android Software/Hacking General [Developers Only]] jtbnet:
THANX!

Did you just use the standard mkbootfs(cpio of ramdisk) and mkbootimg (setting boot vars) to put this together??? Seems strange as if so then the I would have thoght the standard split_bootimg.pl would have worked to break the boot image apart but that fails on the delivered zImage...

C:\Test>split_bootimg.pl zImage

Android Magic not found in zImage. Giving up.
[Android Software/Hacking General [Developers Only]] fun_:
my page is for HSG X5A and split_bootimg.pl is for X5A boot.img.

zImage is an U-Boot image. it seems ramdisk (cpio+gz data) start at 0x3328 in 0827 zImage.

EDIT:

sorry. gzipped data start at 0x3328, but it is not cpio image.

after gunzip, I can see

0x1820 -rom1fs-(?)

0x1e2e0 cpio data

0x5d9e0 bootargs (???nfsroot???)
[Android Software/Hacking General [Developers Only]] catttman:
I lost my tv.com app after reflashing with 0827(rpm) and it dont show up in the Market any more?

Can I get some help... to get tv.com app...with the new rom 0827 ??

thanks
[Android Software/Hacking General [Developers Only]] jtbnet:
THANX... I think I'll be able to break this apart and piece back together... I had been poking at the u-boot 08/09 src and that gives some of the needed ideas... you are very helpful as Usual!

It's really to get to be able to change the boot flow and partitioning, if possible. The way it mounts things over a RO rootfs doesn't make what seem like simple changes so simple till you've actually done them once or twice :) I think this might be what is messing up prscott1 where things changed on what looks like the rootfs just get mounted over by some of the startup scripts and thus are never used ...
[Android Software/Hacking General [Developers Only]] jtbnet:
I believe attached was the last update on market...
[Android Software/Hacking General [Developers Only]] jlcid:
Can you, or someone, play flash files into a browser in the ZT-180?:confused:

I install FlashLite, but don't run for me
[Android Software/Hacking General [Developers Only]] patmtp35:
with skyfire
[Android Software/Hacking General [Developers Only]] hal_9000:
I have not tried yet, but in that post the user says it worked. Cannot ensure it though.
[Android Software/Hacking General [Developers Only]] prscott1:
here are the needed FlashLite files (to work on android 2.1) for anyone who wants to try them. it works for me but is SLOW on some url's that use flash.

unzip the file and push the three libxxxxx.so files to /system/lib

and push FlashSVGPlayer.apk to /system/app

then REBOOT

after reboot, then

adb install FlashPlugin.apk

then REBOOT

I did the above and it is working for me.
[Android Software/Hacking General [Developers Only]] catttman:
Thank you!!
[Android Software/Hacking General [Developers Only]] hal_9000:
Does it work if you push FlashPlugin.apk to /system/app too, instead of install it?
[Android Software/Hacking General [Developers Only]] prscott1:
It didn't for me - but may work for you- doesn't hurt to try.
[Android Software/Hacking General [Developers Only]] hal_9000:
I cannot try now, but I'm looking inside both .apk files.

FlashSVGPlayer.apk contains libflashlite_jni.so, and FlashPlugin.apk contains libflashliteplugin.so. So I guess it could work too if both .apk files are installed, instead pushed, and just the file libflashlitepackage.so is pushed. Cannot try now though.