First post - Hi all!
I've been searching and reading many post here regarding the chinese iClone, I have the CECT T32 and so far I'm pretty happy with it. I bought it with the intention of doing some customisation but have since learnt that no one has successfully flashed this device (Can't enter Bootloader). I've managed to dump solme stuff from it (Thanks Chuckbert) and I now have 4 files - PART00 /01 /02 /03 .. all .RAW ... have I got the correct files to start with?... I've also been looking for a 'ROM kitchen' but they all seem to be device specific... I've heard the T32 hardware is similar to the Wizard... not sure....
So many many question -
Can I start 'cooking' withe the files I've dumped?...
Can I extract the OS files/drivers and other stuff from these .RAW files?.. and with what tools?
Is there a way to flash my device? (MSFLASH) - M-Systems Flash Disk?
Can I do a full flash and load a new bootloader?...
I've made some progress by dumping those files but now I'm hitting brick walls!
Cheers
I used the following to dump -----------
C:\itsutils>pdocread -w -d msflash -p Part00 -b 0x800 0 0x11f000 Part00.raw
CopyTFFSToFile(0x0, 0x11f000, Part00.raw)
-l details ------------
C:\itsutils>pdocread -l
125.75M (0x7dc0000) MSFLASH
| 1.12M (0x11f000) Part00
| 1.75M (0x1c0000) Part01
| 47.13M (0x2f20000) Part02
| 75.75M (0x4bc0000) Part03
970.00M (0x3ca00000) DSK1:
| 969.88M (0x3c9e0e00) Part00
STRG handles:
handle#0 47a7de5e 969.88M (0x3c9e0e00)
handle#1 67a403da 75.75M (0x4bc0000)
handle#2 27a67aee 47.13M (0x2f20000)
handle#3 a7a67aca 1.75M (0x1c0000)
handle#4 a7a678fa 1.12M (0x11f000)
CECT/Daxian T32/X999 - ROM dev. and flashing
Just wondering how far you've got since you made this post? I'm attempting the same with my T32 and are finding the going slow. I haven't yet been able to create the 4 files yet successfully. I'm have trouble with the following command with the -b switch and obtaining the part correct size.
pdocread -w -d msflash -p Part00 -b 0x800 0 0x11f000 Part00.raw
I'm using the following command to extract the part sizing however it incorrectly tell me that all parts are 0x200 in size.
pdocread -w -d msflash -p Part00 -t
I've copied your command above to successfully dump part00.raw from my PDA but I cannot proceed any further with the other parts without the correct sizing. Could you tell me how you got the correct sizing?
Boot loader for Daxina T32
Found this Rom for Daxian T32, people on that forum said it works!
just copy content to flash disk and press
volume down + camera + power
best flash disk for this is 256 or 512 mb.
link
http://rapidshare.com/files/290170747/Dixian_x999_T32.zip.html
thank you Determo 13;
Do you mean a usb falsh disk with adatator for the daxian T32 ?
My daxian t32 stay on the windows logo since 1 year ;
Still waiting for a Rom to flash !
unfortunately your links http://rapidshare.com/files/29017074...9_T32.zip.html does not work ;
May you réupload ?
Thanks
bootloader
sand disk for your phone, just copy all content there and press
volume down + camera + power done.... new link to bootloader you can find
http://forum.xda-developers.com/showthread.php?t=390574&page=15
thanks Dertermo 13 , perfectly working now !! after one year block on windows logo;
phsh
Daxian T32 rom development
I can not download the link. Can you redownload it? or is there any other link to wonload it? Thank you
maybe I should have posted this here first ...
First post - Hi all!
I've been searching and reading many post here regarding the chinese iClone, I have the CECT T32 and so far I'm pretty happy with it. I bought it with the intention of doing some customisation but have since learnt that no one has successfully flashed this device (Can't enter Bootloader). I've managed to dump solme stuff from it (Thanks Chuckbert) and I now have 4 files - PART00 /01 /02 /03 .. all .RAW ... have I got the correct files to start with?... I've also been looking for a 'ROM kitchen' but they all seem to be device specific... I've heard the T32 hardware is similar to the Wizard... not sure....
So many many question -
Can I start 'cooking' withe the files I've dumped?...
Can I extract the OS files/drivers and other stuff from these .RAW files?.. and with what tools?
Is there a way to flash my device? (MSFLASH) - M-Systems Flash Disk?
Can I do a full flash and load a new bootloader?...
I've made some progress by dumping those files but now I'm hitting brick walls!
Cheers
I used the following to dump -----------
C:\itsutils>pdocread -w -d msflash -p Part00 -b 0x800 0 0x11f000 Part00.raw
CopyTFFSToFile(0x0, 0x11f000, Part00.raw)
-l details ------------
C:\itsutils>pdocread -l
125.75M (0x7dc0000) MSFLASH
| 1.12M (0x11f000) Part00
| 1.75M (0x1c0000) Part01
| 47.13M (0x2f20000) Part02
| 75.75M (0x4bc0000) Part03
970.00M (0x3ca00000) DSK1:
| 969.88M (0x3c9e0e00) Part00
STRG handles:
handle#0 47a7de5e 969.88M (0x3c9e0e00)
handle#1 67a403da 75.75M (0x4bc0000)
handle#2 27a67aee 47.13M (0x2f20000)
handle#3 a7a67aca 1.75M (0x1c0000)
handle#4 a7a678fa 1.12M (0x11f000)
can anyone help repair T32 Rom ? The screen hangs on the winodows mobile blue page. Pls help
i just flash it whit some files i download from here
The phone is gorking but now i have white screen the fon seens like it recive phonecalls and everytin but whit out screen there is nothing to touch
ok, so I'ved dumped some stuff from my CECT T32 (chinese clone) ... have I got this right?
Part00.raw - IPL
Part01.raw - SPL
Part02.raw - OS/XIP?
Part03.raw - Ext ROM?
C:\itsutils>pdocread -l
125.75M (0x7dc0000) MSFLASH --(All others I've seen are FLASHDR-???)--
| 1.12M (0x11f000) Part00
| 1.75M (0x1c0000) Part01
| 47.13M (0x2f20000) Part02
| 75.75M (0x4bc0000) Part03
I have also used viewimgfs which extracted a bunch of files from Part02.raw ... are these the SYS or OEM files?
... and what's the next step to creating a new ROM to flash?
... from what I understand IPL/SPL are hardware dependant, so can I just work with OS nd Ext ROM and just flash those?
Sorry if the answers are obvious, but I've spent weeks searching and reading forums here and still can't make much sense of it.
Any help will be GREATLY appreciated!
Hello
I dumped my user's file partition on my HTC S740 by pdocread like this
pdocread.exe -w -d FLASHDR -b 0x800 -p Part03 0 0x25e0000 Part03.raw
It creates a file named Part03.raw but when I mouted it as a Physical drive to recovery some file by mout image pro, it cant be read. The system said it must be formated.
What's wrong? help me please.
help me please
Hi guys,
I want to use my PC running on Ubuntu 12.04 64Bit to access the internet.
Usually in Windows i use the HTC tool.
my phone is not rooted.
thanks for help
??
39 views, 0 reply !!!!
Coz maybe the ones who viewed the thread didn't know a solution hence not answered
May be someone who uses Ubuntu world know...
Most of us user windows...
Sent from a Desire S waiting for Kernel 3. WAKE UP HTC!!!!
if u hv HTC sense on ur device, just tick the INTERNET PASS THROUGH option from the notification tab
and the system will do the rest
cheers
check out screenshot below
thanks for your replies
lynxnoon : yes I'v tried to do that, it will be connected to the PC but without internet connection.
ensure the adapters (esp the wired) are updated online and then try again.
Also ensure theres is pass through connection on ur fone and then try to browse with the in-built browser.
If all these still doesnt work then u have to find out if the internet service provider alllows tethering or the modem u r using.
cheers
Rabih-Sy said:
Hi guys,
I want to use my PC running on Ubuntu 12.04 64Bit to access the internet.
Usually in Windows i use the HTC tool.
my phone is not rooted.
thanks for help
Click to expand...
Click to collapse
When I connect my phone and choose internet passthrough, the phone chooses ip address in the 192.168.99.0/24. If yours creates a different subnet you will have to change below accordingly.
I hope this solves your problem.
Edit /etc/rc.local sudo nano /etc/rc.local and add the following:
echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward > /dev/null
iptables -P FORWARD ACCEPT
iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.99.0/24
iptables -A FORWARD -i eth0 -o usb0 -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -i usb0 -o eth0 -j ACCEPT
#forward all dns queries from usb0 to google's dns server
iptables -t nat -I PREROUTING -i usb0 -p udp --dport 53 -j DNAT --to 8.8.8.8
then at terminal type:
sudo /etc/rc.local
that will get you connectivity, but it will be short lived because htc is stupid and will disconnect if it doesn't detect the winblows htc software crap.
So you will need to fake it out. Turns out the phone is listening for htc software on port 6000 for 00 02 00 00 hex.
first you have to find the ip address of your phone (if arp doesn't work or you get command not found, you probably need to sudo arp):
phoneip=$(arp -n | grep usb0 | awk 'BEGIN {FS=" "} {print $1}')
then you tell the phone that htc software is listening:
echo -n -e "\x00\x02\x00\x00" | nc $phoneip 6000 > /dev/null
To make that automagic each time us a script. Call it htcfaker or whatever:
#!/bin/bash
while :; do
phoneip=$(arp -n | grep usb0 | awk 'BEGIN {FS=" "} {print $1}')
while [ -z $phoneip ]; do
sleep 15
phoneip=$(arp -n | grep usb0 | awk 'BEGIN {FS=" "} {print $1}')
done
echo -n -e "\x00\x02\x00\x00" | nc $phoneip 6000 > /dev/null
while [ "$phoneip" != "" ]; do
sleep 15
phoneip=$(arp -n | grep usb0 | awk 'BEGIN {FS=" "} {print $1}')
done
done
Then in your startup applications, point to that script.
Hope it helps!
I'm using unrooted HTC Sensation XE and Ubuntu 12.04 64-Bits, with these scripts Internet Pass Through works beautifully!:laugh::good:
haz3lnut said:
When I connect my phone and choose internet passthrough, the phone chooses ip address in the 192.168.99.0/24. If yours creates a different subnet you will have to change below accordingly.
I hope this solves your problem.
Edit /etc/rc.local sudo nano /etc/rc.local and add the following:
echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward > /dev/null
iptables -P FORWARD ACCEPT
iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.99.0/24
iptables -A FORWARD -i eth0 -o usb0 -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -i usb0 -o eth0 -j ACCEPT
#forward all dns queries from usb0 to google's dns server
iptables -t nat -I PREROUTING -i usb0 -p udp --dport 53 -j DNAT --to 8.8.8.8
then at terminal type:
sudo /etc/rc.local
that will get you connectivity, but it will be short lived because htc is stupid and will disconnect if it doesn't detect the winblows htc software crap.
So you will need to fake it out. Turns out the phone is listening for htc software on port 6000 for 00 02 00 00 hex.
first you have to find the ip address of your phone (if arp doesn't work or you get command not found, you probably need to sudo arp):
phoneip=$(arp -n | grep usb0 | awk 'BEGIN {FS=" "} {print $1}')
then you tell the phone that htc software is listening:
echo -n -e "\x00\x02\x00\x00" | nc $phoneip 6000 > /dev/null
To make that automagic each time us a script. Call it htcfaker or whatever:
#!/bin/bash
while :; do
phoneip=$(arp -n | grep usb0 | awk 'BEGIN {FS=" "} {print $1}')
while [ -z $phoneip ]; do
sleep 15
phoneip=$(arp -n | grep usb0 | awk 'BEGIN {FS=" "} {print $1}')
done
echo -n -e "\x00\x02\x00\x00" | nc $phoneip 6000 > /dev/null
while [ "$phoneip" != "" ]; do
sleep 15
phoneip=$(arp -n | grep usb0 | awk 'BEGIN {FS=" "} {print $1}')
done
done
Then in your startup applications, point to that script.
Hope it helps!
Click to expand...
Click to collapse
Did anyone experienced the problem that this stopped working after a day or so?
When I plug into the phone now it just wont give a ipv4 address therefore theres nothing to re-route through the pc?
Mine still working without any problem after 2 months. I can only suggest you to check 2 things:
Ensure your /etc/rc.local file is not changed due to any Ubuntu update
You have to run the "htcfaker" script in Terminal before plugging in your phone. Do not close this Terminal until you want to disconnect.
fruity12 said:
Did anyone experienced the problem that this stopped working after a day or so?
When I plug into the phone now it just wont give a ipv4 address therefore theres nothing to re-route through the pc?
Click to expand...
Click to collapse
iptables table 'nat' not found while running sudo /etc/rc.local script
ykkhern said:
Mine still working without any problem after 2 months. I can only suggest you to check 2 things:
Ensure your /etc/rc.local file is not changed due to any Ubuntu update
You have to run the "htcfaker" script in Terminal before plugging in your phone. Do not close this Terminal until you want to disconnect.
Click to expand...
Click to collapse
I have updated /etc/rc.local file but I'm getting below error what needs to be done? I'm newbie to Linux, neverthless tried to look into many forums but couldn't get it resolved.. Please help !!
Code:
[email protected]:~$ sudo /etc/rc.local
[sudo] password for anvyal:
iptables v1.4.18: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Please let me know if any other info needs to be provided. Thanks in advance for your help !!
anvyal said:
I have updated /etc/rc.local file but I'm getting below error what needs to be done? I'm newbie to Linux, neverthless tried to look into many forums but couldn't get it resolved.. Please help !!
Code:
[email protected]:~$ sudo /etc/rc.local
[sudo] password for anvyal:
iptables v1.4.18: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Please let me know if any other info needs to be provided. Thanks in advance for your help !!
Click to expand...
Click to collapse
Please check the following line in your /etc/rc.local:
iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.99.0/24
You have to change the IP subnet (highlighted in red font above) to match your phone's IP address. If your phone use 192.168.1.2 for example, then you'll have to change the IP subnet to 192.168.1.0/24.
To find your phone's IP address, first connect your phone to your PC in USB Tethering mode. Then on your PC side open a Terminal and issue the command "arp" (without the quotes) which shall give you the IP address of your phone.
Good luck!:laugh:
Script update required for recent phones?
This script didn't work for me on my M8 - the Sync hex data seems to have grown, and just passing the \x00\x02\x00\x00 string caused the pass through to immediately disconnect with failure message "Either you do not have the latest version of HTC Sync Manager installed, or another phone is already using Internet pass-through on your PC".
Changing the line in the script as below fixes it:
Code:
echo -n -e "\x00\x02\x00\x00" | nc $phoneip 6000 > /dev/null
Code:
echo -n -e "\x00\x02\x00\x00\x00\x03\x00\x00\x00\x05\x00\x00" | nc $phoneip 6000 > /dev/null
I got this from vc0528.tumblr.com/post/71168788542/simulate-htc-sync-manager-via-usb-on-linux-os, which also has the alternative Perl script, which works a treat too:
Code:
#!/usr/bin/perl
use IO::Socket::INET;
#6000/tcp open X11
do{
open IN,”/proc/net/arp”; @arp=<IN>; close IN;
@d=grep ! /00:00:00:00:00:00/,grep /0x2.*usb0/,@arp;
} until($d[0]);
$_=$d[0]; s/\ .*//; chomp; print “sock:\t$_\n”;
my $sock = IO::Socket::INET->new(PeerAddr => $_ , PeerPort => 6000, Type=>SOCK_STREAM, Proto=>”tcp”) or die “Can not create socket [email protected]\n”;
print $sock “\x00\x02\x00\x00”;
print $sock “\x00\x03\x00\x00”;
print $sock “\x00\x05\x00\x00”;
close $sock;
Finally, if it helps anyone, I was wanting to set up a wifi range extender and so my IPtables was:
Code:
-A FORWARD -i wlan1 -o usb0 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -i usb0 -o wlan1 -j ACCEPT