yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Nixeus:
Hello,

Yes the pandawill forum is down.

Yes, the HeroTab M10 don't have any camera.

You need to flash with the gpad gforce firmware in order to having a better system and the market.
[Android Software/Hacking General [Developers Only]] Nixeus:
Here is a link for the latest firmware :

http://www.multiupload.com/SX6ZJK2A91

;)
[Android Software/Hacking General [Developers Only]] Nixeus:
Let me know when you flashed and don't forget to answer this please :

1. where you bought your device (link and price would be nice).

2. How the device is called

3. If it has 1 or 2 speakers at the bottom and if it has a logo at the back

4. Aluminum or plastic back?

And now even more important:

5. Screen of Settings -> telephone info or via text:

- Model number

- firmware version

- kernel version

- build number

Thanks :)
[Android Software/Hacking General [Developers Only]] bunheadnux:
I just found out that the wife will be taking the kids shopping tonight so that means I will have a little quiet time tonight after work to FINALLY hack on this tablet!

I have been doing a little reading about the manufacturing tool and the format of the files and such. My goal for tonight is to be able to change the bootanimation.zip_ file and to get the build version to change to something I set. These are small simple changes that will be a good proof on concept on how to modify the ROM for these tablets. I will report back tomorrow with my results :D.
[Android Software/Hacking General [Developers Only]] scar0x:
Thanks for the link. Have you got instructions on how to do it?

Regards
[Android Software/Hacking General [Developers Only]] gintak77:
4, rename it to something else, I can name it anything?

5. If I failed this step, I can still recover the tab with MFGTools?

Do you have any solution for wifi error? Means if you turn on wifi it states there error.

Thanks
[Android Software/Hacking General [Developers Only]] dcoelho:
You rename the "original" file ( xlibcamera.so) for backup purposes. You also can simply replace the file when prompted to do it.

The boot process with the new file only fails if you forget to give permissios (chmod) 755 to the new file you have copied to the folder lib. If you fail this important step, you wil have to flash your tablet with mfgtools or with recovery mode from sd card.
[Android Software/Hacking General [Developers Only]] juanjo1024:
if you have problems after doing this, and your tablet stops at ANDROID_ screen, reboot it with the usb cable conected to the pc and upload the original files with adb.

i couldnt get my camera to work with these files, even after chmod 755, and even chaging file ownership to root. it just crashes when i turn the camera application on.

Juanjo
[Android Software/Hacking General [Developers Only]] dcoelho:
Wor or not work it depends on the brand of camera each tablet has. diferent cameras brand have diferent files(drivers) with the same name.

In my case and many others (that lost camera after flash the tablet with most recent firmwares) these drivers work very good.

It is wise to copy the camera files from the firmware that comes with the tablet but...:-)
[Android Software/Hacking General [Developers Only]] navster:
Yes indeed, different camera hardware on these tabs, seen the same behaviour with people on slatedroid seeing one version of singularity firmware give a working camera and another version giving a force close error after launching the camera app.
[Android Software/Hacking General [Developers Only]] juanjo1024:
yes indeed, i have the original firmware but i havent found a way to unpack it to extract the files without installing the whole android development software.. i really dont have the time to do all that :( , and having my pad working almost perfectly, i dont want to reflash it just to get those files...
[Android Software/Hacking General [Developers Only]] bqq100:
Quick update.... Tonight I was able to get 2.2.1 to boot up on the 2.6.31 kernel. (stock from freescale it uses the 2.6.35 kernel) I feel really dumb, because it was a 1 line fix to get it to boot! :eek: :o

This means 2 things:

1) I will probably release a 2.2.1 almost-AOSP system.img file like I did for 2.2 in the next few days (maybe as early as tomorrow, time permitting)

2) This means that there should be very little in the way of getting gingerbread to boot on the 2.6.31 kernel (both 2.2.1 and 2.3.x from freescale were meant to use the 2.6.35 kernel).

Stay tuned for more updates....
[Android Software/Hacking General [Developers Only]] JohnLaShot:
Great news. Thank you for your hard work, bqq100.
[Android Software/Hacking General [Developers Only]] navster:
To extract the original firmware files from system.img you will need to mount it as a loop device in Ubuntu which is further discussed here:

http://www.slatedroid.com/topic/20848-32gb-upgrade-fdisk-and-customizing-singularity/

:)
[Android Software/Hacking General [Developers Only]] juanjo1024:
cool, i will try that. maybe i can get my camera working again!
[Android Software/Hacking General [Developers Only]] dcoelho:
You don't need to reflash to copy the cam files. You only need to root your device and use the file manager "root explorer" to copy the files to yor sd card, dropbox, whatever.
[Android Software/Hacking General [Developers Only]] juanjo1024:
i understand that, but i do not have the proper files.. yet..

those files are in the firmware files, and i didnt want to flash the tablet to get them, i will try to mount the file in ubuntu as suggested above.
[Android Software/Hacking General [Developers Only]] bqq100:
So I have a functional 2.2.1 system.img setup, but there is a problem.... It is quite sluggish... android.process.acore seems to eat up 15% of the CPU constantly... There also seems to be some drawing issues where there are a few "seams" across the screen where it looks like the image is misaligned by a few pixels.

I was however able to cifs.ko loaded and CIFSManager to work properly (this should be portable back to 2.2 AOSP or stock ROMs).

I'v decided not to publish this image for now, since I have no intention of fixing these problems (I smell gingerbread cooking in the oven! ;) ). If anyone does want the image to play around with, and are comfortable backing up/restoring factory settings, and can get adb working, then send me a PM and I will send you a link to download it.
[Android Software/Hacking General [Developers Only]] briantech:
Amazing work, I very much appreciate it.
[Android Software/Hacking General [Developers Only]] navster:
This is nice work dude, see you made an appearance on slatedroid too :)

As you probably know, I had to put my Gingerbread effort on hold due to other commitments but I was working from the official Freescale.com GB build documentation which I have attached in case you have not seen it.

I got as far as the completed build but could not get the tablet to boot beyond the Android_ text and did not really get under the bonnet to work out where the bootup had failed, my build system was 64 Bit Ubuntu.
[Android Software/Hacking General [Developers Only]] dcoelho:
Mate, I was talking about the files you have for now in your tablet which are included in your "oficial" firmware. Or, like I did, have you already flashed your tablet? If so, you realy have to search for the right camera files.
[Android Software/Hacking General [Developers Only]] juanjo1024:
thats right, i have the firmware with the working camera in a zip file, not on the tablet, sadly. so i have to mount the firmware file to get the proper camera files..
[Android Software/Hacking General [Developers Only]] bqq100:
If you're having problems mounting the firmware files, put it up for download somewhere and let me know what file(s) you need. I mount them on my ubuntu virtual machine all the time to add/remove files.

No worries, this is my first time hacking away at source code for android too, and I know there is quite the learning curve. First thing you need to do is find device/fsl/imx5x/BoardConfigCommon.mk file and comment out the TARGET_KERNEL_2G line. Also are you flashing just the system.img, or the uImage and uramdisk.img too?
[Android Software/Hacking General [Developers Only]] dcoelho:
The solution proposed by bbq100 seems good to me AND i wolud like also to have your files to ad them to my camera files collection. So if you can send me a link to download your zip, Thnanks
[Android Software/Hacking General [Developers Only]] siaavaaash:
Error in Herotab M10

Hello,

Thank you for your help :-)

I deleted the original partition in internal memory:( now

When I turn on the Tablet, Be kept in step

Android ...

And Android will not start

Windows does not recognize internal memory of Tablet

:confused:

Best regards
[Android Software/Hacking General [Developers Only]] dcoelho:
You will need reflash your tablet with the adequate firmware using MFGtools app or (if you can access to recvery mode) from sd card with the directory "update" containing the firmware files. You must pay attention to the file fdiskcmd.txt and see if it is the proper for your internal card size.
[Android Software/Hacking General [Developers Only]] bqq100:
Just a little bit of a teaser.... :D

Still lots more to be done!
[Android Software/Hacking General [Developers Only]] oddhap:
Awesome! Did you do any modifications or was it as simple as building the bbg package from scratch?

Edit: What about the 2.6.35.3 kernel?
[Android Software/Hacking General [Developers Only]] bqq100:
Most important modification was commenting out the TARGET_KERNEL_2G line from device/fsl/imx5x/BoardConfigCommon.mk, and then making sure to run the following:

source ./build/envsetup.sh
lunch imx51_bbg-eng

I also replaced the 10.2 kernel_imx folder with the kernel_imx from 9.2. It would probably work without this step, but this makes sure that Android is built against the same kernel it will be running on and I would rather be safe than sorry. This required a couple of quick code changes to get it compile right.

For now I've given up on the 2.6.35.3 kernel working from source (so frustrated with not being able to get anything to display). I'm going to focus on getting 2.3.3 running on 2.6.31 first, maybe in the future I'll give a source built kernel a try again.
[Android Software/Hacking General [Developers Only]] riogrande75:
Did anyone succeed in getting a external 3g stick to work?

I tried a Huawei E169, but i am not able to configure a apn in the system settings.
[Android Software/Hacking General [Developers Only]] GernBlanston:
Not to take away from your aroma of gingerbread, but how would I go about porting the cifs.ko to older kernels? Same way as before? Do I need a different version?

Edit: Just saw your "teaser"...it's like being at a strip club and the bottoms are just starting to slide off ;)
[Android Software/Hacking General [Developers Only]] bqq100:
LOL! Let's hope those bottoms come off quick ;)

I used the same cifs.ko I previously uploaded, on the same 2.6.31 stock kernel that I've been running for a while now. The only difference was I setup the insmod to happen automatically by modifying /system/etc/install-recovery.sh by adding a line to execute 'insmod /system/cifs.ko'
[Android Software/Hacking General [Developers Only]] dcoelho:
You must boot the PAT with the pen already connected to the cable. Then you will be able create the APN you need.

I used 2 Huawei pens ( E1750 and one vodafone unbranded/unlocked KS3765) and worked like a charm.
[Android Software/Hacking General [Developers Only]] oddhap:
Seems like official android 2.3 is not far off:

(Taken from pandawill forum)
[Android Software/Hacking General [Developers Only]] juanjo1024:
Hi BBQ100 and DCoelho,

i havent had time to mount the file in my ubuntu machine (kids take a lot of time, hehe) ill try to do it soon.. as for the firmware that has the camera files is the official one released by pandawill dated 20110426, thats the one that came with the tablet, and i flashed it once without problems before sticking with my current one. i think you probably have it already in your collection. let me know in case you dont find it, i will upload it, but im sure it can be found on the pandawill site

thanks everyone

Juanjo

PS, i managed to mount the file and extract the camera files, loaded them into the tablet, set permissions and ownership, but i still get a Force close when i run the camera... maybe its just not meant to be... i know those files work if i flash the firmware on the tablet, maybe the files are not compatible wih firmware 1.6.7... :(
[Android Software/Hacking General [Developers Only]] dcoelho:
@Juanjo

Yes, I have the panda firmware you refer.

As last Try, replace only the file cameralib (in lib directory) give chmod 777 exit and reboot.
[Android Software/Hacking General [Developers Only]] navster:
Same thing happened on my tab, the camera only works when flashed with 0426, 0603 and Slatedroid Singularity v5 firmwares. Each of these comes with its own unique bugs and in the end you have to go with the firmware which gives you reliability on the most used functions :)
[Android Software/Hacking General [Developers Only]] bqq100:
Here is a quick status on the Gingerbread build:

Hardware

Display - Major Drawing Issues [Mostly fixed, still some minor drawing bugs]

Touchscreen - Rotated 180 degrees [Fixed]

WiFi - Error on Startup [Fixed]

Camera - Force Close on Camera app start

G-Sensor - Not working [WIP, I think I'm on the right path though]

Sound [Working]

SDCards [Working]

Other Issues

Generally pretty laggy, not as bad as the 2.2.1 build, but very noticable

Netflix still doesn't work. Streams audio OK, but no video. Probably missing a codec

Brightness control doesn't work. This was sort of expected, and I think I know a fix.

SD card mount points are different Currently internal->/mnt/sdcard and external->/mnt/sdcard/extsd. Haven't decided if I should mess with this...

I'm sure there are other issues I just haven't seen yet...
[Android Software/Hacking General [Developers Only]] GernBlanston:
Any ideas on cause of the lag issues, or do you think it's just this particular build? Related to drawing issues?
[Android Software/Hacking General [Developers Only]] bqq100:
I was looking through the logcat of 2.3 and comparing it to 2.2, and I think that the lag may be related to using the the software EGL library instead of the hardware EGL library. I'm thinking that the minor drawing issues I've seen are also related.

I added a bunch of extra debugging out and I'm rebuilding now. Hoping to confirm that the eglInitialize failure is on the hardware egl lib, and find out where it's dying.

2.3 logcat

D/libEGL ( 2210): loaded /system/lib/egl/libGLES_android.so
D/libEGL ( 2210): loaded /system/lib/egl/libEGL_imx51.so
D/libEGL ( 2210): loaded /system/lib/egl/libGLESv1_CM_imx51.so
D/libEGL ( 2210): loaded /system/lib/egl/libGLESv2_imx51.so
[B]W/libEGL ( 2210): 0: eglInitialize(0x1) failed (EGL_SUCCESS)[/B]
I/SurfaceFlinger( 2210): EGL informations:
I/SurfaceFlinger( 2210): vendor : Google Inc.
I/SurfaceFlinger( 2210): version : [B]1.2 Android Driver 1.2.0[/B]
I/SurfaceFlinger( 2210): Client API: OpenGL ES

2.2 logcat

D/libEGL ( 2192): loaded /system/lib/egl/libGLES_android.so
I/SurfaceFlinger( 2192): EGL informations:
I/SurfaceFlinger( 2192): vendor : Android
I/SurfaceFlinger( 2192): version : [B]1.4 Android META-EGL[/B]
I/SurfaceFlinger( 2192): Client API: OpenGL ES
[Android Software/Hacking General [Developers Only]] riogrande75:
Thanx, you are absolutely right.

I am able to see the network after entering the APN. It even shows the networks name in the main screen and on top. When i choose the network it even responds with "registred". I can also make telephone calls.

But somehow i cannot get a internet connection. It looks like everything is fine but the device does not dial into the 3G network.

Any ideas how to get this to work?
[Android Software/Hacking General [Developers Only]] riogrande75:
I use singularityV5. There is the dialer app. When i dial a phone number, the called phone rings. I did not establish a voice connection, but at least i am sure the stick is registred correctly in the 3G network and there is no permission issue.

Doublechecked it - looks ok. I think i will give it a try after flashing another FW.

Maybe there is something missing related to the 3G option in SingularityV5. Do you know what "apps",etc. are responsible for the 3G connection? Maybe these just have to be re-installed again.
[Android Software/Hacking General [Developers Only]] navster:
Adios Amigos

I thought I would mirror my message on slatedroid to say goodbye to the Gpad GeForce community as I have now sold my tablet to a family member and will not be frequenting this particular forum for obvious reasons. It's been a pleasure discussing\optimising this tablet with you guys, all the best!

:)
[Android Software/Hacking General [Developers Only]] jpmatias:
HT_PAD1051_V2.3_Beta2

I find this:

dl.dbank.com/c009obc32a
[Android Software/Hacking General [Developers Only]] dcoelho:
I am using the firmware HT_PAD1051_1.6U1GuCgWL_Final release-keys. As I said 3G works very well. I remeber I also had problems setting up 3G with the sigularity firm.
[Android Software/Hacking General [Developers Only]] Guerric:
Does it work fine? Wireless, camera, standby...?
[Android Software/Hacking General [Developers Only]] GernBlanston:
It might, if someone cracked the password for the archive it's in. There could be 50 pictures of trollface in there for all we know.
[Android Software/Hacking General [Developers Only]] wolfen13fr:
Hi there,

I have a gPad GeForce. I bought it on ebay, from a chinese seller (szmaxstart.com ... search for "9.7 inch Android 2.2 Capacitiv 8GB Camera" - I can't post link yet). It cames to me with original firmware 201101xx ... I flash it few days after a big crash. Now, I have HT_PAD1051-eng 2.2 FRF85F eng.tiangeng.20110221.183344 firmware, customized by my self (fr language on start, some applications deleted - Phone.apk, Mms.apk, Phoneprovider.apk, etc ...).

I work on a Gingerbread build since 3 days. I found your thread yesterday, I read it from the beginning to the end (+800 posts !!)

I am not a developer but I know a lot of things about Linux, Mac OS X and Windows (it's my job : computer and system technician). I already build applications from sources, patch sources, debug, etc ... Last year, for my job, I made a personal version of Ubuntu 10.04 LTS, with internal sources server. Just to say that I like to make systems work and communicate.

I made a first test to build a Gingerbread with the Freescale iMX51 doc and bundles. I have the same first results : black screen at boot.

I would like to work with you to build a Gingerbread ROM for this tablet. I am not a developer but if I can help, I will ...

Oh, I am french so sorry for my bad english ...
[Android Software/Hacking General [Developers Only]] Guerric:
Oops. Didn't check it.

Well, the files inside the archive seem to be firmware files...but they are almost two months old, so I doubt they would be very useful.
[Android Software/Hacking General [Developers Only]] GernBlanston:
The SDK has been out a lot longer than that, and a lot of these early betas are around months before the final release...Although this might just be a farce, I wouldn't count it out just yet. I'm banking on bbq100, tho, he'll come through.;)
[Android Software/Hacking General [Developers Only]] bqq100:
Lol I appreciate the confidence, but really hit a brick wall with this @$%!@~# opengl stuff :(

Help is always appreciated! :D I'm not a developer either, and have been doing my best to hack a working build together.

The stock kernel that shipped with the tablet is 2.6.31, the 9.2 SDK uses the 2.6.31, The 10.2 gingerbread SDK comes with the 2.6.35 kernel. Since we haven't been able to build a working kernel from source, we need to build the 10.2 SDK using the kernel source from 9.2.

First you need to download and build the 9.2 SDK. Once you've done that, delete (do a backup first!) the gingerbread kernel_imx folder, and then copy the 9.2 kernel_imx folder over your gingerbread folder.

Also keep in mind when you flash the tablet using MFGTool, only replace system.img and uramdisk.img with your built versions. uImage and uboot should remain the stock versions.

In the mean time I will generate patch files with all of the fixes I've made so far. I think I have everything working except the camera. However there is some extreme lag with the UI that I believe is due to the use of software opengl drivers instead of hardware drivers.
[Android Software/Hacking General [Developers Only]] wolfen13fr:
OK, I will try this (build 9.2 SDK kernel 2.6.31 and build 10.2 SDK with this kernel). I can't do it now, only next week-end.
[Android Software/Hacking General [Developers Only]] GernBlanston:
Is the display ID correct?
[Android Software/Hacking General [Developers Only]] bqq100:
What display ID are you talking about?

Also I put all of my code into github and will be doing a README with instructuions on how to do a gingerbread build.

https://github.com/bqq100
[Android Software/Hacking General [Developers Only]] GernBlanston:
I was just thinking, based on a short read of the literature available (and a very limited understanding of what I was reading), that the hardware EGL looks for the display ID at initialization, and that it throws that error if it is invalid/missing (and, possibly, if the default generic displayID is being used).
[Android Software/Hacking General [Developers Only]] bqq100:
Do you have a link? Sounds like it would be worth investigating further.
[Android Software/Hacking General [Developers Only]] GernBlanston:
I don't want to risk running you on a wild goose chase, it would be a case of the blind leading the somewhat sighted...as I said, I really know nothing on the subject...but several code examples I've looked at have eglInitialize as a function which looks at the display and the major and minor version of EGL available, and perhaps some info on the surface in use...and I don't know which, if any of these, is applicable in this context. The (stunted) logic I'm going on is that the initialize function must look at the available hardware, libraries, and configs available, and basically give the ok to start everything that makes EGL usable to the system.

Everything I know about the subject I learned by browsing the developer's section over at the manufacturer's website, then watching this video:

http://www.youtube.com/watch?v=duefsFTJXzc

...then doing a few google searches on the lines of code you posted and reading various example code. I know the basic functions of surfaceView, what a surface is, what surface flinger does, etc. but that's about it.

Do a Google search on egl_display, egl_success, egl_initialize, etc., and you'll be on the same wandering path I am. I found, for example, that surface flinger is a surface manager that manages all the active drawing buffers (surfaces) that different applications render to, but that's probably common knowledge to every android developer and perhaps yourself.
[Android Software/Hacking General [Developers Only]] riogrande75:
Which FW ist that? Ist it newer than the one from merimobiles (Build Date 0602)?
[Android Software/Hacking General [Developers Only]] wolfen13fr:
I tried to build 10.2 SDK with he 9.2 SDK kernel. It did not work ... I can see "Android" with the blinking curser and nothing more.

I searched for the 2.6.35 kernel. Freescale said that they can do it work on imx51. I'm going to investigate on this way ... nothing to lose.