yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] fixpol:
rom926 android market

To my surprise Android Market is installed in a new rom, even almost working , with one exeption- download fails, Is there any solution? I tried to install manualy Android ID by RPM script, but it does not work and Market stops .Hope that soon we get new script from our xda experts.
[Android Software/Hacking General [Developers Only]] insight3fl:
I know the new buzz is the recent ROM release, but I was comparing my froyo google apps set up on my Odroid T last night (no id was required after gapps push) and I noticed there is a different file holding the gls.db In fact, the com.android.googleapps does not exist. I found the gls.db in data/data/google.android.gsf/databases/gls.db when i open and view "meta" it is blank... no google id is in there!
[Android Software/Hacking General [Developers Only]] Christian Buchner:
You will have a hard time buying ANYTHING then ;)
[Android Software/Hacking General [Developers Only]] omarahum:
I flashed everything but the user partition, can anyone tell me if it's worth fully flashing to 0926 or should I just go back to 0827 w/ RPMscript which I was quite content with (other than calibration, wifi, USB Camera, USB GPS, Microphone, etc.)?
[Android Software/Hacking General [Developers Only]] wasserkapf:
I think that I will wait before "upgrading" to 0926.

I downloaded everything from the Zenithink web site. I noticed that the burntool has a different burn.ini file, than the one I got with 0818.

Edit: Never mind, it seems that this file changes when you use the burntool.
[Android Software/Hacking General [Developers Only]] Christian Buchner:
that mem=256M statement in the burn.ini can't work for the ZT-180. This is because it needs to reserve 64MB of the memory for video RAM, sound buffers, video decoder, ... Usually you will find mem=192M in the kernel command line for our device.

So I think this burn.ini file is not related to the ZT-180 - unless they completely changed or redesigned the way the kernel audio and video drivers allocate their memory.
[Android Software/Hacking General [Developers Only]] wasserkapf:
I was comparing it to the file that I used for my last flashing. When I go back to the original compressed file, it is the same as the one I just downloaded.

It must change when you run it.
[Android Software/Hacking General [Developers Only]] Christian Buchner:
I will run a diff of the 0926 system.img and user.img tonight to see what files have changed, and what files may have been taken from RPMscript or from my custom image.
[Android Software/Hacking General [Developers Only]] marksxda:
Yeh I know. Even the IPad is build there so I'm told...

I'm just getting frustrated with these so called "engineers".

Sorry for sharing my frustration...
[Android Software/Hacking General [Developers Only]] Kheeva:
Regarding the new firmware:

I flashed all 4 files. Signed in to gmail. waited for sync, then opened Market. It didn't show the recommended apps like it should, indicative of needing the marketenabler. So I ran the RPMscript and added my ID, plus installed market enabler.

When I rebooted, kept getting com.google.process.gapps force closes. Used market enabler to US T-Mobile. Then opened market. Looks right, shows recommended apps. I went to downloads and it showed all my recent downloads. Tried to install one but it hangs at "Starting Download".

I think I'll reflash and not add the ID this time, just the market enabler.
[Android Software/Hacking General [Developers Only]] jtbnet:
0927 firmware changes...

Well they did fix adbd so that push/pull works over usb... so one goodie... they seem to have added some bluetooth dongle support but as I don't have one I can't test it... /system is now using 200MB+ of 260 while my 0827 tablet is using 88MB so this is going to take some investigation as I didn't think Gapps used anywhere near 115MB!
[Android Software/Hacking General [Developers Only]] jackhill:
Don't stress too much because there are some fine folk on this forum working to fix the mess that Zenithink output every few weeks. If you look at your pad as an ongoing project, it should make you feel better knowing that there will soon be custom roms available to suit your every requirement of it.
[Android Software/Hacking General [Developers Only]] Kheeva:
Ok, Market works ONLY if you run RPMscript, install the gapps with the RPMscript, delete dalvik-cache and reboot, then add androidID with RPMscript and use market enabler.
[Android Software/Hacking General [Developers Only]] alessio2:
Those extra 115MB is really weird :confused:

I tried to extract system.img with few tools, but no success.
[Android Software/Hacking General [Developers Only]] Christian Buchner:
maybe it's really not a fresh mkyaffs2image, but has been modified in place.
[Android Software/Hacking General [Developers Only]] jtbnet:
It seems to have been fresh as I had no problem running unyaffs-4k to extract it... just need to take some time and poke around in it...

They did Not include the TXPower hack in this, thus my tablet was cooking again :confused:

They didn't even include a decent File browser or terminal app... It is already rooted so that's a minor help for some... Edit... superuser is installed but apps don't find it rooted...
[Android Software/Hacking General [Developers Only]] El Philou:
Nice !!!

Maybe you can make for us, one RMPScript for activate Market on 0926 Rom

I have one good idea for this script: RPMActivateMarketFor926 or something like that

Many Thanks for all
[Android Software/Hacking General [Developers Only]] Hitsuji666:
Not sure if this question has been asked already but (it is a damn long thread)... but in the Archive.rar set of images, specifically img_0984, there is a close up of 2 RAM chips marked Hynix HY5PS1G1631C FP-Y5. From the data sheet here: hynix.com/datasheet/pdf/dram/HY5PS1G4(8.16)31C(L)FP(Rev0.3).pdf it seems that these are from 1GB DDR2 SDRAM modules which contain a configuartion of 16 64MB chips...

however only 2 are visible from the images suggesting that there is only 2x64MB RAM and not the 256MB that is adverised? is this the case or is there more ram on the opposite side of the board that there are no images for?

EDIT: I'm just after noticing that in the initial post this is incorrectly labeled as being the NAND flash which it is not... The Datasheet clearly states that it is the RAM.
[Android Software/Hacking General [Developers Only]] Christian Buchner:
Post #669 has it mentioned.

http://xdaforums.com/showpost.php?p=7918879&postcount=669
[Android Software/Hacking General [Developers Only]] Hitsuji666:
Seems to be a load of commandline tools as well as google proprietary apps that have been added.
[Android Software/Hacking General [Developers Only]] Christian Buchner:
And some new wifi drivers are there as well.

What is this new /dev/permfd device? strings output follows:

permfd_ioctl
permfd_init
license=GPL
author=Sololz of InfoTM
depends=
vermagic=2.6.32.9 mod_unload ARMv6
PERMFD ERROR: unknow ioctl command
PERMFD ERROR: map base address error
PERMFD ERROR: register permfd error

Okay, so it's apparently made by InfoTM, the guys who designed the system on chip. And it's GPL'ed. SOURCECODE plz!

The module is being used by this library:

/lib/libmm_dma.so matches

which in turn gets used by

Binary file orig_system/lib/hw/hwcursor.default.so matches
Binary file orig_system/lib/hw/overlay.default.so matches
Binary file orig_system/lib/libomx_radec_sharedlibrary.so matches
Binary file orig_system/lib/libavcodec.so matches
Binary file orig_system/lib/libomx_m4venc_sharedlibrary.so matches
Binary file orig_system/lib/libhwdecinterface.so matches
Binary file orig_system/lib/libparser.so matches
Binary file orig_system/lib/libopencore_player.so matches
Binary file orig_system/lib/libavformat.so matches
Binary file orig_system/lib/libcamera.so matches
Binary file orig_system/lib/libmm_dma.so matches
Binary file orig_system/lib/libomx_imapdec_sharedlibrary.so matches
Binary file orig_system/lib/libcamif.so matches
Binary file orig_system/lib/libwmapro.so matches
Binary file orig_system/lib/libopencorehw.so matches

so what I think this is. /dev/memalloc and /dev/permfd provide access to memory management for low level hardware that is used in multimedia playback.

Is the audio crackle gone now?
[Android Software/Hacking General [Developers Only]] lau_cph:
List of mods

First of all... Thanks for all the great work you do in here...

There's a lot of modifications available for the epad, but my question is if any of you serious modders are able to provide me with a list of changes you have done to the 827 and/or new 926 ROM, plus maybe some links for information.

I know allready there's the RPM script for enabling android market, some mod somewhere to change powersettings (TXpower), some mod for fixing wifi....

Is it possible to make a "complete" list of these and add them to post#1?

Maybe then the "engineers" will get a clue of how to fix these things in next ROM ;-)

Best

Thomas
[Android Software/Hacking General [Developers Only]] wasserkapf:
In Linux/Unix, this is called a terminal/terminal window. So since Android is based on Linux they would be terminal commands. ;)

You didn't happen to see a modinfo command in there, did you? That command can be used to find info on the module. I tried it on permfd on my EeePC, but it must be only for this tablet, and it wasn't in x86 Ubuntu.
[Android Software/Hacking General [Developers Only]] Christian Buchner:
Hi! Would any of the experts give me his uid and gid and file permissions of the file

/data/data/com.google.android.googleapps/databases/gls.db ?

You can get this by doing an ls -l on this file using adb shell.

The reason is that I do have to give 777 permissions to this file, or my googleapps process keeps crashing. But these permissions are not particularly safe. Databases in some other application folders all have 660 permissions, so apparently I have either the uid or the gid set incorrectly for this particular file.

Would anyone help me out quickly? I am working on an app that allows quickly editing the Android ID. ;)
[Android Software/Hacking General [Developers Only]] jtbnet:
On my Moto Droid the DBs are either 660 of 644... on tablet 0926 it's 660
[Android Software/Hacking General [Developers Only]] rlemery:
Mine is 660 using your rom.

Bob
[Android Software/Hacking General [Developers Only]] jtbnet:
Forgot to note... Owner=app_3 Group=app_3
[Android Software/Hacking General [Developers Only]] froggymike911:
how long until google nails them for distributing the google experience apps w/o a license? (i assume they dont, because, lets face it, this thing is cheap)
[Android Software/Hacking General [Developers Only]] omarahum:
Anyone try the flash plugin or the video player with volume controls yet?
[Android Software/Hacking General [Developers Only]] Zap!:
How could they? They are based in China. Isn't Google (and other companies) powerless there?
[Android Software/Hacking General [Developers Only]] wasserkapf:
Where are these available from? The volume control during video playback is needed.

On a side note, this tablet is not capable of 1080p playback. I have been experimenting with several versions of a Blu-ray disc rip, that I made. The 1080 versions (.mp4 & .mkv) will not play smoothly or will not play at all. The 720 version that I made for my netbook played great, except for the sound. It seems that it cannot downmix a 6-channel sound track. It did seem to handle a 5.1 track OK.
[Android Software/Hacking General [Developers Only]] jtbnet:
They did ?improve? the video in latest version as this si the first versin that properly displays, though slowly, the 3D vid tests in Quadrant benchmark...

Those downloads are over on JT's site along with the links for latest firmwares..

http://www.chinadigitalcomm.com/and...t180-m16-android-2-1-0926-firmware-t1841.html
[Android Software/Hacking General [Developers Only]] patmtp35:
0929 online

http://www.chinadigitalcomm.com/and...t180-m16-android-2-1-0929-firmware-t1846.html
[Android Software/Hacking General [Developers Only]] jtbnet:
I haven't loaded this up yet... but this pack includes an identical u-boot and identical userdata file thus the 2 things changed over 0926 is the kernel (zImage) and the system image, so just uncheck userdata for burn and save any things you have already installed for a prior 0926 upgrade...
[Android Software/Hacking General [Developers Only]] sattiger27:
Installed 0929....

a) Main issue....wifi not getting connected...(currently using ethernet)

b) Market works ..still need market enabler

c) calibration works

d) Gmail works

e) GTalk just pops up and goes off
[Android Software/Hacking General [Developers Only]] jtbnet:
Had you previously tried 0926 and were able to connect Wifi with that version and now not with this latest update? I ask as for the first time since I received this tablet in July my Wifi would autoconnect on startup And was reconnecting automatically after randomly disconnecting after I upgraded to 0926...
[Android Software/Hacking General [Developers Only]] wasserkapf:
0929???

I don't see that at the Zenithink web site. Where did it come from?
[Android Software/Hacking General [Developers Only]] Kheeva:
I think the wifi has been improved somehow. I wanted to check the auto wifi link mentioned in the firmware notes. But I couldn't get far enough away from my router inside the house to get it to disconnect. Before, it would disconnect all the time.

Battery low indicator works. But screen doesn't turn completely off and the g-sensor still doesn't work with games, probably never will.

Market still doesn't work, even adding androidID and market enabler.
[Android Software/Hacking General [Developers Only]] jtbnet:
It's on JT's site...

http://www.chinadigitalcomm.com/and...t180-m16-android-2-1-0929-firmware-t1846.html

he always seems to get these releases first... even before zenithink links to them from their page... probably as there are so many of us testing Quickly when we see them come in as I haven't seen Every version show up on the Zenithink site... seems just the ones they have actually flashed tablets with and shipped...
[Android Software/Hacking General [Developers Only]] sattiger27:
I directly tried 0929.....I didnt try 0926........Is there a way to troubleshoot or fix this wifi issue
[Android Software/Hacking General [Developers Only]] sattiger27:
No..I directly tried 0929. Please help me fix this wifi issue......
[Android Software/Hacking General [Developers Only]] fixpol:
929

Just flashed 929. Nothing changed. Market still is dead. Wifi slightly improved, now is reconecting. Some starnge flash player added extra in files package. i am afraid that next rom will be on Monday.
[Android Software/Hacking General [Developers Only]] jtbnet:
When you enable Wifi in Settings- Wireless and network settings- Wifi Settings what does the network you are trying to connect to say in it's status line under the name... that's if the network is actually seem when you enable wifi...
[Android Software/Hacking General [Developers Only]] eagleyes:
The latest ROM for some reason does not support Windows 7 64 bit...try a 32 bit version of 7 or XP which should work.
[Android Software/Hacking General [Developers Only]] jtbnet:
There has never been a 64bit USB driver to allow you to flash thse tablets from a 64bit version of Windows...
[Android Software/Hacking General [Developers Only]] Zap!:
Why would they even include Market if they know it doesn't let you download? Are they so incompetent that they didn't test downloads?
[Android Software/Hacking General [Developers Only]] Kheeva:
I wondered that myself. Maybe to at least get all the google apps on there and working.

I flashed 0929 for the last time today. Installed market just like you would with 0827.

My wifi, according to wifi analyzer, has a 15dBm improvement in signal over the previous firmware!
[Android Software/Hacking General [Developers Only]] Christian Buchner:
After setting up the google account on the 0929 firmware the gls.db already contains an androidId but it will have a value of 0.

an INSERT command may fail as the corresponding row already exists! That is why RPM's script may not be able to insert a valid ID here.

The correct commands to insert a valid androidId are therefore (execute in an adb shell)

#sqlite3 /data/data/com.google.android.googleapps/databases/gls.db

sqlite3> update "android_metadata" set locale="en_US" where locale="md_US";

sqlite3> update "meta" set intvalue=XXXXXXXX where name="androidId";

sqlite3> .dump

the resulting database dump should contain your ID now.

Also the locale column in android_metadata indicates ... mandarin - United States? Yeah... rrright. Above sql commands will also fix this.

I do see my previous downloads now in Market after fixing this. However the com.google.android.gapps process is still crashing on me. I may just put RPM's binaries into a new custom image.
[Android Software/Hacking General [Developers Only]] hal_9000:
I read somewhere in this thread about the instability on the startup process which may appear when you use larger boot animations, so as I like the W7/Nexus boot animation but it's a bit large I made a version with half of frames running at 15fps instead 30fps, so it results smaller and hopefully it has less impact on the startup process.

In addition I made a full screen (stretched) version of both, original and half-frames boot animations. Remember to rename the file to "bootanimation.zip".

Megaupload links:

Boot Animation Android 2.1 W7/Nexus Half-Frames

Boot Animation Android 2.1 W7/Nexus Half-Frames Stretched to 1024x576

Boot Animation Android 2.1 W7/Nexus Original-Frames Stretched to 1024x576
[Android Software/Hacking General [Developers Only]] Kheeva:
I used the RPMscript to add the gapps and the androidID. Everything works perfectly FYI.

A new system image would be awesome! Why did zenithink fail so epically when they added the apps to the system image? They basically wasted your time and effort. I wouldn't give them anything else unless they paid you or released the source.
[Android Software/Hacking General [Developers Only]] Christian Buchner:
I completed that image in a few hours. I think RPMcCormick spent more time on puzzling the GApps together until they finally worked.
[Android Software/Hacking General [Developers Only]] jtbnet:
Zenithink also left out the GContacts apps... in case anyone wants them like me I've attached the ones that are workig for me...
[Android Software/Hacking General [Developers Only]] Christian Buchner:
I just did a binary comparison of RPM's google apps and the ones included by Zenithink. They are all identical, except for the missing Contacts.apk and ContactsProvider.apk and google_maps_ver4.3.0.apk which differs from RPM's Maps.apk

Most problems on the Zenithink image must therefore be permissions or configuration problems. We need to check all the chmod/chown commands that the RPM script runs. Maybe Zenithink put the wrong owner on some files...

RPM's script does the following extra things other than just placing the files on the device (note the 777 permissions on some files and the chown for system.system)

adb shell rm /system/app/GoogleSearch.apk
adb shell rm /system/app/Provision.apk
adb shell chmod 777 /system/build.prop /system/app/* /system/lib/* /system/framework/* /system/etc/permissions/*
adb shell chown system.system /system/build.prop /system/app/* /system/lib/* /system/framework/* /system/etc/permissions/*

EDIT: I confirm the gapps process stopped crashing after I executed the above script in the SDK's tools folder. It requires the device to be connected either through USB OTA cable or through WiFi (previous adb connect must have been successful). In combination with the AndroidId fix a few posts above I can now also download apps.

EDIT2: I just sent two Zenithink developers some suggestions how to improve their image, in particular the Google apps. I hope they will find the time to fix some of this mess.
[Android Software/Hacking General [Developers Only]] jtbnet:
Well... my confusion on How could Zenithink have grown the system.img to 210+MB is answered!

Of the 912 files in the image 158 are duplicates only renamed 158 times (108+MB) in /system/bin ... I guess someone needs to explain busybox or toolbox concepts to them but I suspect we can shrink this 212 back to approx. half that so that system won't be wasting so much space without too much difficulty...
[Android Software/Hacking General [Developers Only]] Christian Buchner:
very busy guys ;) lol. Maybe their image generator tool couldn't deal with softlinks?
[Android Software/Hacking General [Developers Only]] Kheeva:
That explains why the file, while zipped, is not that much bigger than previous releases.
[Android Software/Hacking General [Developers Only]] hal_9000:
Can those duplicated files be just erased once the image has been flashed or it's necessary to delete them on the image before flash?
[Android Software/Hacking General [Developers Only]] Christian Buchner:
You can delete all but one, but to get the same functionality you would have to insert softlinks under the original names, pointing to the one copy you left intact. Usually that copy is called /system/bin/busybox

EDIT: guys, my pad is giving me a random boot sound every time just before the desktop appears. Is this normal? How can I turn that feature off?
[Android Software/Hacking General [Developers Only]] Kheeva:
What sound? is it the SD card notification?
[Android Software/Hacking General [Developers Only]] Christian Buchner:
random music jingles, and other weird start sounds that I haven't heard before.
[Android Software/Hacking General [Developers Only]] <Laharl>:
Is it possible to get my market ID from my Samsung Moment phone since I can not get android emulator to download to my pc?
[Android Software/Hacking General [Developers Only]] jtbnet:
That was my first thought until I was looking through the /system/bin dir and saw 52 links to toolbox still there... and busybox is also in that dir but it isn't the same size as the other files that I expected to be links to it... so seems they made the image from a system where this was first compiled from some broken copy of a dir so instead of links it was seperate copies..
[Android Software/Hacking General [Developers Only]] jtbnet:
Turns out this is Not so simple... Busybox --install wants to create the links in /bin and /sbin.... unfortunately this won't work as any writes to rootfs disappear on reboot... this layout is just so much of a pain!

Edit: turns out the version of busybox installed is at least part of the problem 'busybox --install' makes Copies of itself instead of links!

You need to execute as '# busybox --install -s /system/bin' to use sym links and to install them in /system/bin...
[Android Software/Hacking General [Developers Only]] esmadja:
tun.ko for ZT-180

Alright after installing 4 different versions of the tun.ko modules compiled for different versions and paltforms of android I am starting to think there isn't a working copy for ZT-180.

Does anyone have a tun.ko module for the ZT-180?

Does anyone have openvpn working on the ZT-180?

Thanks, for any help.
[Android Software/Hacking General [Developers Only]] Christian Buchner:
got a reply from Zenithink devs

> Hi, these tickes (sic! I think they meant tickets) are very valuable,Thanks!

> We expect to add all your patch next version after Chinese National Day(10.1~10.7).

I had submitted the Txpower hack, notified about the duplicate shell tool binaries, and the reason(s) why Google Apps weren't working.

By the way is there a way to get past the "slide keyboard open" request in the provisioning app? At least the "Touch the Android" was working for me, but I got stuck at the slide request. The provisioning app might then create a new market ID for everybody!

Christian