yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] oliveero:
95% of the links in the whole topic are dead . whay are not you guys updating them ??????
[Android Software/Hacking General [Developers Only]] Asure:
Did you have USB debugging connected ?

Check if the 'never sleep' option is enabled there..

I've used it with adb for around 7 hours with no charge, and no problems.

Note, the device charging indicator on screen may be off. If it's fully charged, the led on the side will go off. With a full charge, 6-7 hours of normal use should be possible. (2600mA total battery hehehe..)
[Android Software/Hacking General [Developers Only]] damuffinman:
Never sleep is not enabled.

What do you mean when the LED should be off? When it's charging the LED is red...turns to green when it's fully charged, even when the cable is pulled out.
[Android Software/Hacking General [Developers Only]] Asure:
If you power off the device, remove USB, and insert the power supply, the light will go off when the device is fully charged :)
[Android Software/Hacking General [Developers Only]] damuffinman:
Hmmm but it still doesn't solve the no sleep problem...

What firmware are you running and what does your logcat look like?
[Android Software/Hacking General [Developers Only]] shinzen:
Market access- #297

Hey all, just got my X5A from one of the chinese manufacturers, and it's running the #297 firmware- this is my first experience with working with this type of device/rooting it, so will prob ask some really dumb questions, but I'm doing some research before I ask, cut me a little slack!

With my device, it's got links for the market, but the market never pops up- blank screen then back to the home screen- I am going to try the market fix from the wiki, but wanted to find out if anyone else is having this issue on this firmware, and if there's a known fix?

Thanks,

E
[Android Software/Hacking General [Developers Only]] fun_:
unpack tools

I made extract tool for tcc8900_mtd.img.

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

(sorry I don't have permission to post link)

this is not tested yet, sorry ;)

to extract system.img, unyaffs needs to be modified. info is also described on my site.

----

patches for mkbootimg and mkyaffs2image are also added on my site.
[Android Software/Hacking General [Developers Only]] Asure:
I just got a new one in, sold my previous one & was deviceless last week.

This one came with #348, and from the factory out, it has Airplane Mode enabled.. ;) (I kid you not..)
[Android Software/Hacking General [Developers Only]] helfrez:
No updates from here. Still running #330 with a modified keymap. I wasn't able to get any of the mods to take in recovery mode. Do you know which file clockwork would look at for the keymap? Maybe it is taking the keylayout from somewhere else?
[Android Software/Hacking General [Developers Only]] asatiir:
I'm facing a problem with my X5A tablet, I've been facing problems with the screen calibration, it's never accurate no matter how many times I calibrate it, I even went as far to remove the calibration application thinking it might have tampered with it.

In the process, the back up file for the calibration apk cannot be installed again.

I know this is silly, but is there anyway to fix this problem?

plus is there any way to wifi tether from phone to the tablet?
[Android Software/Hacking General [Developers Only]] Asure:
This topic is for hacking& development only. Please stay on-topic, and do not register an account at XDA just to clogg up the topic. Thanks.

@helfrez: The keymap file is only a reference.

If you can repack / unpack the recovery, you can setprop the keys in /init.rc. Fun_ used this to fix the recovery on the classic 'Apad' model, before hundreds of variations hit the market :)

This was his apad fix:

setprop KEY_CODE_UP "59"
setprop KEY_CODE_DOWN "102"
setprop KEY_CODE_ENTER "62"
[code]

Keycodes you can get from the .kl file. So i need to know the keycodes your buttons have.. then i can build a recovery for your device..
[Android Software/Hacking General [Developers Only]] Asure:
I took a guess & tried some older SetCPU versions, and 2.01 works perfectly!

It really improves battery life & performance, and it's a great thing to have it working. Check out page #1 for all the updates.

Shout out to Fun_ for getting the repack tools to work, thanks!
[Android Software/Hacking General [Developers Only]] cyberfux:
SetCPU question

I've got the X5 (i think, we are not sure about it *g*) and tried to improve the speed with SetCPU from the first page but it still shows me 720 MHz, SetCPU doesn't offer me more - even the cpu should be able to run 800 MHz.

Any ideas?
[Android Software/Hacking General [Developers Only]] Asure:
SetCPU can only set the Cpu. It can't overclock a kernel that does not support it.

Where did you get the idea this kernel can be overclocked? It's locked at 720Mhz. We need a dirty kernel hack, or access to the kernel source to overclock, just like all android devices.

p.s., also, i didn't add 800 Mhz inside the txt file. Just editing a text file does not overclock a kernel..
[Android Software/Hacking General [Developers Only]] cyberfux:
As i feared...

Our chinese import-guy and all specs said that the cpu is able to run 800 MHz, so i was thinking (error 1) it would be easy (error 2) - unfortunately it's my first ever Android system, so even if i use linux since ages it's a "little" different...

So it's still up to our Android-expert Rafael ;-)
[Android Software/Hacking General [Developers Only]] Asure:
If your expert has source code from Telechips for the kernel they have used, i hereby officially request him to release it to conform to the Linux GPL license that applies to the kernel.
[Android Software/Hacking General [Developers Only]] cyberfux:
I don't think so - we have to inform ourselves mostly via this forum etc. because the chinese are VERY uninformative....

Would love to have everything, but as it looks we have to "hack" it and do a little reverse-engineering ;-)

Btw. you know Rafael i think ;-) @rafaelwv on twitter?
[Android Software/Hacking General [Developers Only]] helfrez:
After playing elimination, my kl was completely full, even though I only have 3 buttons. Here are the codes for Haina device. These are also my modified mapping that actually match the device labeling. From the factory Menu=Back, Home=Menu, and I have no idea why.

key 158 MENU WAKE_DROPPED

key 139 HOME WAKE_DROPPED

key 116 POWER WAKE (this is the front face button)
[Android Software/Hacking General [Developers Only]] cyberfux:
Sound via HDMI?

I'm not sure if i'm right for that question, but my X5(a?) won't play the Sound via HDMI on the big screen - others that got one can play the sound.

Does anyone has any idea?
[Android Software/Hacking General [Developers Only]] helfrez:
Please try this question one forum up in the general area, this thread mostly about development.
[Android Software/Hacking General [Developers Only]] oemino:
FWDN version mismatch found!

UPDATE

I got it all work using the firmware this thread provided !

Got a bit panic when the device boot in Chinese language ... hehe

Thank you.
[Android Software/Hacking General [Developers Only]] oemino:
Cannot flash #348

Hi All,

I have successfully flashed #297 but got problem with #348

Download Session - Start!

Low format complete! - (19sec 75)

Device's Serial Number : F1002059A0031CFD100807210826004E

[ERROR] The old version(=0x07000002) device can't support 'MTD' fwdn area image.

Download Session Complete! (1st)

Any idea how to flash #348 to X5A ?

Thanks before.
[Android Software/Hacking General [Developers Only]] kf4hqf:
Another version - Herotab

There is another version of this tablet available running 800MHz out of the box. It's called the Herotab (RK7). I ordered one yesterday and it's on it's way. If there's anything I can do to help development efforts, let me know. Relative newbie in the Android world but willing to help any way I can.

Available at merimobiles.com
[Android Software/Hacking General [Developers Only]] Asure:
That's a rebranded X5A and i'm betting it's running at 720Mhz.

Note, this topic is for development, please do not post "I've ordered it!", i know it's a cool tablet and all and you can't wait to get it :)

If you root it and run Setcpu and it does run at 800Mhz i'd love to have a kernel dump by PM though. Thanks!
[Android Software/Hacking General [Developers Only]] damuffinman:
Sounds like mine too!

I've tried many different things to try and solve this no-sleep issue, as it's really bugging me. It should be able to have really long idle times (given that the battery is 2x1300mAh cells), but it can lose half of all that charge in one night.

Using 'top' in the shell shows that system_server is active most of the time and hogging the CPU. Not something that you can force kill I'm afraid...

Airplane mode is on, all sensors are turned off (GPS, Accelerometer, etc).
[Android Software/Hacking General [Developers Only]] fun_:
firmwares for HaiPad M701 / Pandawill G10 (/ Moonse E7002)

it seems HaiPad M701 firmwares are newer than Pandawill G10 firmware.

I posted a message on androidtablets.net.

androidtablets.net/forum/specific-tablets/288-apad-w-android-2-1-telechips-tcc8902-pandawill-g10-wiipad-slim-plus-hipad-m701-8.html#post5360

(sorry I have no permission to post link)

M701/G10 firmwares do NOT work on X5A. but M701 #370 firmware has USB-3G functionality. I'm thinking about porting USB-3G funcs to X5A.

sorry, here is dev thread. if you flashed M701/G10 firmware on X5A and bricked it, please don't post "help me" here. all infos you need is already available on 1st page.
[Android Software/Hacking General [Developers Only]] damuffinman:
I'd also like to ask if others have the same problem as me with regards to the no-sleep issue. I ran logcat and every 10 seconds or so this line is repeated:

V/BatteryService( x): lgwmUsbOnline

it seems like a battery status request is made every 10 seconds, surely that's not right
[Android Software/Hacking General [Developers Only]] Asure:
It might not sleep properly, but this is really a dev/root topic.. and on-topic posting would be really required. I moved it from Slatedroid to avoid clutter, but now get the same thing here.. If you want a general topic, start one and maintain it :)

Please people, post on-topic!!
[Android Software/Hacking General [Developers Only]] Andy_in_Indy:
I don't know if this will help, but the SmartQ V5/V7 MID's are also based on the same Telechips SOC. Here is a link to the Kernel source the community developers use for those devices: http://gitorious.org/mer-smartq/mer-smartq-kernel/commits/smartqv

I suppose the biggest issue will be how hardware differs, but I hope it is a useful start.
[Android Software/Hacking General [Developers Only]] rafaelwv:
found FW 370, trying to flash right now. 3g modems should now work... let's see.

EDIT: I can access the device via adb, but sdcard is read-only and recovery is booting, but I can not restore my nandroid. Still working.

It seems that the device is stuck in screen calibration after booting.

EDIT2: I was able to remount SD and am trying now to restore yesterdays nandroid backup. Let's see if this works. If not: is there any way to push system images via adb to the tablet?

EDIT3: Restoring my nandroid backup worked. Good news: the deviantart-bootsplash dissappeared!
[Android Software/Hacking General [Developers Only]] Asure:
MER kernel is just for MER linux. The android kernel sources were never released. It's not usefull at this point for us (yet).

Fw #370 is for another device..but let us know if it works :)
[Android Software/Hacking General [Developers Only]] rafaelwv:
It is indeed possible to flash the firmware, but the tablet reboots with a white screen and is totally unresponsive. There is right now no way that I know to reflash with the 348 fw, so it seems I have totally bricked my device.

Strange... any idea?
[Android Software/Hacking General [Developers Only]] rafaelwv:
EDIT: I can access the device via adb, but sdcard is read-only and recovery is booting, but I can not restore my nandroid. Still working.

It seems that the device is stuck in screen calibration after booting.

EDIT2: I was able to remount SD and am trying now to restore yesterdays nandroid backup. Let's see if this works. If not: is there any way to push system images via adb to the tablet?

EDIT3: Restoring my nandroid backup worked. Good news: the deviantart-bootsplash dissappeared!

EDIT4: Bad news: I can't get into the firmware restore mode anymore. Is there a way to reflash just this part? Can I force this firmware flash mode? I tried that switch, but FWDN reports LOAD_UBS: Failure.

Regards,

Rafael
[Android Software/Hacking General [Developers Only]] Asure:
The white screen is not a problem. The kernel is using wrong videomode it seems.

I hope you can still access adb, because the key is to flash_image your boot.img over the current one. You can do this easily by a 'flash_image boot /sdcard/boot.img'

Switch has always worked for me. Turn it on, with no power or usb plugged in. Then start fwdn, and connect the tablet.
[Android Software/Hacking General [Developers Only]] rafaelwv:
A few questions:

I tried to connect to FWDN via USB OTG port & via USB Host. Both not working.

I read about flashing tcboot.img but I don't know how to do this. Any hint?

Is there ANY other way to flash the original bootloader? Android is booting, but I think that when I flashed the 370 firmware, I overwrote the original bootloader. The device still boots (no spashscreen) and I get into Android which I restored using my last nandroid and clockworkrecovery. The problem is now that without the bootloader I can't longer flash the original 348 firmware or any else.

I read in your first post about a method of flashing the device from scratch, but there is no description how to do it.

EDIT: Now the device get's stuck on linuxboot, no android booting up. ADB still working, but no access to recovery.

Regards,

Rafael
[Android Software/Hacking General [Developers Only]] geoRG77:
Only miniUSB can be used for FWDN mode.

The hard-core method is to erase the bootloader by adb shell flash_eraseall /dev/mtd/mtd0. Then there is no bootloader, so the CPU start mini-bootloader (located inside the CPU) and it is waiting for USB boot. I am not really sure for exact steps we did with Asure on my device (after flashing ROM from another device as well :D ), but I put tcboot.rom to folder with FWDN tool, started FWDN and connected several times the device. I remember it wasn't detected at first time. W/o bootloader the screen is black all the time, so use reset hole to be sure the device is off... then power it on and connect it to the miniUSB cable with started FWDN tool. I hope this works!

Btw. maybe you can just flash boot.img and system.img by ADB... i.e. adb push ./boot.img /nand/boot.img and adb shell flash_image boot /nand/boot.img
[Android Software/Hacking General [Developers Only]] VeNoMouSNZ:
Hi guys, I have the wiipad slim plus of this, and was wondering if could get any idea about the boot splash/logo, how does one go about changing the splash? is it it in the boot loader or is it part of the splash mtd? ive flash_write the splash but cant even mount or open it.

Is it the same as a G1 bootsplash?

Any help would be greatful .

Cheers

-VeN
[Android Software/Hacking General [Developers Only]] Invalido:
I couldent hold it back today, so i start take my pad apart...

The Pad is:

X5A

F/W:

2.1-update1

Kernel:

2.6.29

root@localhost #348

Build nr:

X5A 1.0

I have some pics on the board if someone is interested.

And i found a switch on the mainboard, when i switched it, the pad didnt start, the green diod just light up when i pressed power... Maybe it some "read-rom-state"? I dosent try with USB-kable, but i can do if its to some help.

Pic of the switch----> ****face.se/switch.jpg

Let me know if i can do something that helps the cooking!

//Invalido

Mail: ****face[a]****face.se
[Android Software/Hacking General [Developers Only]] rafaelwv:
Tablet FW restored

Finally I was able to do a USB-Boot and restore the 348 firmware. Thanks to Asure and fun_, both tried hard to help me!

Regards,

Rafael
[Android Software/Hacking General [Developers Only]] enotar:
G11 internal storage?

Ok I love the G11 !

But dont understand how I get access to the internal storage.

I have showing up 3 drives in my PC but no one is accessible.

1-One is SD I think but it should be accessible? It is not.

2-The second should be the 4gb storage maybe not formated?

3-what is the third one?

and the tablet report Qsystem info

internal storage 315megs free 265

system storage 150 free 46.66

system cache 20.00 free 14.02

memory 154 free 54 idle 17.6

How all this add up?

How can I see the reall capacity of internal memory and drive?

Thank you
[Android Software/Hacking General [Developers Only]] gurenko:
hi everybody

I have

2.1-update1

2.6.29

root@locahost # 297

build X5A 1.0

there are any way to make a factory reset with this firmware?

thank you very much

see you!
[Android Software/Hacking General [Developers Only]] codf4ther:
Clockworkmod

Anyone know if the custom recovery in the first post will work on a G10/Hiapad Mid701?
[Android Software/Hacking General [Developers Only]] gurenko:
it's possible make downgrade of firmware?

thanks
[Android Software/Hacking General [Developers Only]] enotar:
so where is this 330 one?

thank you
[Android Software/Hacking General [Developers Only]] helfrez:
Status Update...flashing options!

Ok Asure007, I have determined there are 2 ways we can possibly flash these devices without buttons, both seem to work, but I need a real package to test with.

From a post from jmhecker adapted, this seems to trigger the update package install with roms that have built in recovery. I don't have a package to test with yet...

adb remount

adb shell "echo 'boot-recovery ' > /cache/recovery/command"

adb shell "echo '--update_package=/sdcard/update.zip' >> /cache/recovery/command"

adb shell "reboot recovery"

Alternate Method via Clockwork

*PROCEED WITH CAUTION*

I seemed to be able to "trick" Clockwork into booting the install process...again, don't have anything to load yet so no way to test the fullprocess, but it worked.

1. Root device and install ROM Manager

2. Select "Flash ClockworkMod Recovery"

3. I used HTC Dream and actually let it install the dream recovery so the Current Recovery registered properly.

4. Without rebooting or touching the device, I used adb shell to flash the haina-recovery.img onto the device.

5. Now the ROM Manager registers 2.5.0.1 and we can use the install from SDcard option.

It seems to be able to find the fake update package I created, and actually attempt to install it. It then just drops back to the recovery console as if it completed, no actual success messages or anything

It also appear to be require both the power and usb cable connection for the reboot into recovery to work. Hope this helps someone somewhere along the way. I may try to build something simple or find a theme to try and flash.

The BEST thing is that it appear that with the Clockwork "trick" backup works!
[Android Software/Hacking General [Developers Only]] fun_:
I've made tccpack program and updated another programs.

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

I just tried to flash customized tcc8900_mtd.img. it works fine.

enjoy!
[Android Software/Hacking General [Developers Only]] enotar:
So, to create a custom Rom just need to unpack img file modify it and repack with your tools?
[Android Software/Hacking General [Developers Only]] fun_:
please try it.
[Android Software/Hacking General [Developers Only]] fun_:
FlashLite on X5A

http://samsungfw.wordpress.com/2010/07/30/flash-on-spica-browser-too/

it seems to work on X5A.

only 3 files in flashupdate.zip are required.

adb push libflashlitepackage.so /system/lib/, then install FlashPlugin.apk and FlashSVGPlayer.apk.

I can see youtube movies on browser. (but too slow;)
[Android Software/Hacking General [Developers Only]] Asure:
@fun_ That's awesome!

Only problem now is find some time.. i'm on Eurotrip in France right now, won't be back for a week or so..I guess someone else would beat me to a custom rom :) if i do get back early, i need to source components for the new PS3 hack that happened while i was out too!
[Android Software/Hacking General [Developers Only]] xaueious:
GPL kernel source for TCC8902!

http://augenus.com/indexhome.html/Updates.html

343MB zipped!
[Android Software/Hacking General [Developers Only]] adepoju:
WCDMA support for X5A

Hello all,

I currently have an X5A device running firmware version 2.1-update1 and Kernel Version #348. I would like to know if there is WCDMA and EVDO support via the OTG port using regular USB modems from the telcos.

Thanks

Saheed.
[Android Software/Hacking General [Developers Only]] doveletchan:
Hi all,

I am using X5A, after I flash the ROM to #348, in the Android Market, I can only browse the applications but when I download, it keep waiting. Does anyone have any suggestions? Thanks.

Dovelet
[Android Software/Hacking General [Developers Only]] enotar:
Any hope to have accelerometer to work some day?

Would it be possible to use G10 firmware to use with G11 to alow accelerometer to work?

Thank you
[Android Software/Hacking General [Developers Only]] fun_:
bootloader splash image

I can extract splash image from bootloader(lk.rom).

for lk.rom from HSG X5A #348 firmware, it starts from 0x4f0b4 (323764) bytes.

for lk.rom from HaiPad M701 #370 firmware, it starts from 0x4efdc (323548) bytes.

in another word, it starts from (file size of lk.rom) - 774716 bytes. 8 bytes just before image are

00 00 00 00 60 c4 17 42

I'm not sure it is always correct.

format is RGB565, little endian. size is 768000(800*480*2) bytes.
[Android Software/Hacking General [Developers Only]] VeNoMouSNZ:
But the real question is.. can you replace it? :P
[Android Software/Hacking General [Developers Only]] enotar:
new rom posted today at:

http://www.huashiguang.com/service.html

WinCE maybe?

lets try!
[Android Software/Hacking General [Developers Only]] fun_:
yes, of course.

tccsplash program is added in my utils. see my site.
[Android Software/Hacking General [Developers Only]] jimmcghee:
New release of Android?

The third download (2010.08.16 Android trial software) contains FWDN_V7_v2.09.exe and its files. This is to completely replace the firmware.

The first download (English version of the software used X5 Ui) contains three files to be installed from an sdcard. Is this also a complete replacement of the firmware? If so, with what?

If I could only read this stuff!

I'd like to try this but is there a way to backup my firmware if it doesn't work or I don't like what I get?

Thanks,

Jim
[Android Software/Hacking General [Developers Only]] VeNoMouSNZ:
fun_ you da man!!! love your work :) , I have M701 will test it tonight, whats the chances this will brick my ****?
[Android Software/Hacking General [Developers Only]] fun_:
oh, you have HaiPad? lk_newsplash.rom is for X5A. don't use it.

if you bricked M701, it is easy to restore with USB boot mode. see

http://www.androidtablets.net/forum...-wiipad-slim-plus-haipad-m701-8.html#post5360

just press&hold HOME icon button(MENU button) then connect to PC. you need to register proper lk.rom file before connecting.
[Android Software/Hacking General [Developers Only]] enotar:
So I just flash the new lk_newsplash.rom you made or I have to flash the img too?

Is the accelerometer driver or implementation reside in this one not in the img file?

Thank you
[Android Software/Hacking General [Developers Only]] VeNoMouSNZ:
Yea I'm aware they are differnt, but I could use your splash code on the haipad lk.rom yea?
[Android Software/Hacking General [Developers Only]] fun_:
for what?

you need to learn what is lk.rom and what I did on it. please see page 8.

sorry, I have no answer about accelerometer because I don't have any hardware documents and source code. and I don't understand machine language in lk.rom.

----

it was my fault to put lk_newsplash.rom into public. it is removed now, sorry. it is easy to change splash image but it is easy someone misuse it too.