yashsingh1/xdaforums huggingface dataset:
[XPERIA X10 Android Development] 3rik:
Steps to upgrade from branded(U20a) 1.6 to 2.1

Hi there everybody, this is my first post, so I'm a kind of excited about my first android device. I own a SE X10 mini PRO (U20a). After some callings to customer support of my carrier and a visit to its support center they told me that they doesn't provide updates for other than BBerry... so that is very disappointing.

Then after following your posts I have the chance to update my device.

I already tried several options, like changing the CDF codes but SEUS doesn't offer updates. My unique option to upgrade is flashing my device.

So would be great if you write a new clean upgrade(I already have done some research but the info is too spread and some quite old)

Model Number: U20a

Firmware version: 1.6

Baseband Version: Unknown

Kernel Version:2.6.29 \ SEMCUser@SEMCHost #1

Build number: 1.2.A.1.181

What I need is:

how to backup my branded Firmware

get the right firmware

how to use the new flashtool

Thanks in advance

Regards,

3rik
[XPERIA X10 Android Development] seimur:
Question

How can I ensure that dualtouch works?
[XPERIA X10 Android Development] Draken Korin:
FYI:

This thread has been unstickied and closed on the OPs request.

Development will be continued by user Androxyde in a new thread.

Thx and Best, DK
[XPERIA X10 Android Development] Bin4ry:
No.

If you are running X10i on a X10a you wont get SEUS Updates. But you can flash back to X10a and you will be able to get SEUS updates again!

Regards

Bin4ry
[XPERIA X10 Android Development] zephyrix:
Proper flashing protocol goes something like this:

So as you can see, the writeTA is actually not completely useless, but rather lets the phone know when flashing is complete.
[XPERIA X10 Android Development] XERO_Racer:
how do i revert from 2.1 to 1.6 if im not happy with the update?
[XPERIA X10 Android Development] NguTactix:
Hey Bin4ry!

First off, just wanted to say thanks for all your hard work on this!

Secondly, I am wondering why my x10a refuses to update. I downloaded the flash tool (all of them including your updates), downloaded the nordic firmware, global firmware, and the packaged nordic and global firmwares. The flash procedure goes well and everything finishes. I hit enter to end, but when I start up my phone I always get a triangle with a yellow exclamation mark (!). I've tried this on two PCs, one 32bit and one 64. Everything is placed in their proper folders.

What is wrong?
[XPERIA X10 Android Development] titan69:
Trying this update, but mine says this, i dont think this is right, can somebody help me please

Start Flashing...
Sending Loader ...
File amss_fs.sin not found. Skip...
File cache.sin not found. Skip...
File amss.sin not found. Skip...
File fota0.sin not found. Skip...
File fota1.sin not found. Skip...
File dsp1.sin not found. Skip...
File kernel.sin not found. Skip...
File system.sin not found. Skip...
File userdata.sin not found. Skip...
Flashing finished.
[XPERIA X10 Android Development] Bin4ry:
Yes you are right, thanks for this =)

Then i have to correct, it's not useless, but at all its not neccessary too :P

Hey, don't know yet. I have to see a log, but not HERE! Here is general flashtool discussion and NOT Problems with firmware flashing!

@titan69:

No flashing discussions here. If you read the tutorial how to flash in the thread you will see that you have to extract your firmware in the intended folder! You missed that and flashtool says to you that i cannot find the files!

Regards

Bin4ry

Regards

Bin4ry
[XPERIA X10 Android Development] zephyrix:
Some analysis

//===========================================================
// preset.ta has same format as TA file generated by FXTool
//
//
// Specification document: 69/159 35-LXE 108 116 Uen, Rev PA3
// Format:
// [TAPartition<HEX8>]{1}
// [UnitID<HEX32> UnitSize<HEX16> Data<HEX8>{UnitSize}]{n}
//
// (c) Sony Ericsson Mobile Communications AB, 2009
//===========================================================
02
000008FD 0010 00 00 08 00 05 00 00 00 0E 00 00 00 08 00 00 00
00000961 0004 FE FF FF FF

private void testCmd13(int paramInt)
{
byte[][] arrayOfByte = new byte[4][];

// PARTITION {0, 0, 8, -77} = 000008B3 = TA_FLASH_STARTUP_SHUTDOWN_RESULT (2227)
// SIZE {0, 0, 0, 4} = 4
// DATA {-96, 0, 0, 0} = 0xA0000000
byte[] arrayOfByte1 = { 0, 0, 8, -77, 0, 0, 0, 4, -96, 0, 0, 0 };

// PARTITION {0, 0, 8, -3} = 000008FD
// SIZE {0, 0, 0, 16} = 0010
// DATA {0, 0, 8, 0, 5, 0, 0, 0, 14, 0, 0, 0, 8, 0, 0, 0} =
// 00 00 08 00 05 00 00 00 0E 00 00 00 08 00 00 00
byte[] arrayOfByte2 = { 0, 0, 8, -3, 0, 0, 0, 16, 0, 0, 8, 0, 5, 0, 0, 0, 14, 0, 0, 0, 8, 0, 0, 0 };

// 00000961 0004 FE FF FF FF
byte[] arrayOfByte3 = { 0, 0, 9, 97, 0, 0, 0, 4, -2, -1, -1, -1 };

// TA_FLASH_STARTUP_SHUTDOWN_RESULT 0xAA000000
byte[] arrayOfByte4 = { 0, 0, 8, -77, 0, 0, 0, 4, -86, 0, 0, 0 };

arrayOfByte[0] = arrayOfByte1;
arrayOfByte[1] = arrayOfByte2;
arrayOfByte[2] = arrayOfByte3;
arrayOfByte[3] = arrayOfByte4;
if (paramInt < arrayOfByte.length)
{
writeCmd(13, arrayOfByte[paramInt]);
readReply();
}
}

Missing TA_EDREAM_FLASH_STARTUP_SHUTDOWN_RESULT flags, but should look like this:

byte[] TA_EDREAM_FLASH_STARTUP_SHUTDOWN_RESULT_ONGOING = { 0, 0, 39, 116, 0, 0, 0, 1, 1 };
byte[] TA_EDREAM_FLASH_STARTUP_SHUTDOWN_RESULT_FINISHED = { 0, 0, 39, 116, 0, 0, 0, 1, 0 };

New code:

private void setFlashState(bool ongoing)
{
byte[] TA_FLASH_STARTUP_SHUTDOWN_RESULT_ONGOING	= { 0, 0, 8, -77, 0, 0, 0, 4, -96, 0, 0, 0 };
byte[] TA_EDREAM_FLASH_STARTUP_SHUTDOWN_RESULT_ONGOING	= { 0, 0, 39, 116, 0, 0, 0, 1, 1 };
byte[] TA_EDREAM_FLASH_STARTUP_SHUTDOWN_RESULT_FINISHED	= { 0, 0, 39, 116, 0, 0, 0, 1, 0 };
byte[] TA_FLASH_STARTUP_SHUTDOWN_RESULT_FINISHED	= { 0, 0, 8, -77, 0, 0, 0, 4, -86, 0, 0, 0 };

byte[] TA_FLASH_STARTUP_SHUTDOWN_RESULT	= TA_FLASH_STARTUP_SHUTDOWN_RESULT_ONGOING;
byte[] TA_EDREAM_FLASH_STARTUP_SHUTDOWN_RESULT	= TA_EDREAM_FLASH_STARTUP_SHUTDOWN_RESULT_ONGOING;

if(!ongoing)
{
TA_FLASH_STARTUP_SHUTDOWN_RESULT	= TA_EDREAM_FLASH_STARTUP_SHUTDOWN_RESULT_FINISHED;
TA_EDREAM_FLASH_STARTUP_SHUTDOWN_RESULT	= TA_FLASH_STARTUP_SHUTDOWN_RESULT_FINISHED;
}

writeCmd(13, TA_FLASH_STARTUP_SHUTDOWN_RESULT);
readReply();
writeCmd(13, TA_EDREAM_FLASH_STARTUP_SHUTDOWN_RESULT);
readReply();
}
[XPERIA X10 Android Development] Thol:
NICE WORK !!

You are eveywhere !! :-)
[XPERIA X10 Android Development] josepgreg:
thanks dear its is a wonderful tooll because ofthis i could update my x10 i thank you very much
[XPERIA X10 Android Development] Bin4ry:
Many thanks for this! I will try to implement it to one of the next versions. Is the structure the same for all ta files ?

Example we have simlock.ta in new Update, so i can process all included TA files and automate the creating of the bytearray while flashing.

If you like feel free to implement it directly to the source and send me to upload it to my server and the first post =)

I'm happy for every contribution :D

Regards

Bin4ry
[XPERIA X10 Android Development] salmanhijazi:
i have a question, is it normal for a SO-01B to be laggy?

even after a couple days of flashing?
[XPERIA X10 Android Development] zephyrix:
I think it's always the same. You'll have to make sure to honour the NOFLASH and SIMLOCK tags in update.xml though, otherwise I'm not sure what would happen.
[XPERIA X10 Android Development] JeK87:
since i am a noob to this whole thing... i wonder if this flash tool is also compatible with x10 mini pro.:confused:
[XPERIA X10 Android Development] soeuriffin:
x10i convert to original x10a

how can I convert x10i to x10a does anyone know how to do?
[XPERIA X10 Android Development] khaled.h:
dose it work with X8i

and how can i use this tools to flash my phone
[XPERIA X10 Android Development] Kubezz:
I have problem with flashing my xperia... because it can't find it and phone doesn't stay in flashing mode longer than 30 sec. and it returns to normal... what should I do ?
[XPERIA X10 Android Development] norberto_:
@Bin4ry

Where is the new GUI version?

I have downloaded from the first post link, but this is the older version. the files are from 2010.11.04 in the zip file.

BR, Norberto
[XPERIA X10 Android Development] Bin4ry:
the first post is the gui version (Not the source only the executeable). Are you sure that you downloaded the executeable package?

Regards
[XPERIA X10 Android Development] norberto_:
Yes, i have downloaded the Executeable pack.

But it seems for me comes the old version, but don't know why. In the zip there is no custom folder, and the X10Flash-2.1\X10flash.jar and the bat file date is 2010.11.04
[XPERIA X10 Android Development] hoss_n2:
i have flashed my x10 with 2.1 using the first release flash tool , do i need to flash it again using the latest , does it have any thing to do with performence of the rom flashed
[XPERIA X10 Android Development] Bin4ry:
I downloaded the package just to be sure. The package is correct. Try another browser to download. I doubt that you are not really downloading -> Maybe you just open the Downloadcache! :P

Regards

Bin4ry
[XPERIA X10 Android Development] Tony_C:
When I extracted the download there were 2 folders, one was new (GUI) other was old. May be confusing to some.
[XPERIA X10 Android Development] norberto_:
Hm Interesting, but downloaded with firefox but first deleted cache, and received the old version :D

So i have downloaded with my phone :D Now i have the new version!

Thanks

BR, Norberto
[XPERIA X10 Android Development] StratusVC:
Bin4ry, everything finished and completed successfully and I'm now running 2.1, rooted, customized, and cleaned but I'm getting errors when I try to set anything as my wallpaper. Mediascape force closes and I cannot do it through astro. Could it be part of the cleanup process, any ideas?
[XPERIA X10 Android Development] Androxyde:
Actually yes that's because of the cleaning process. There is a thread about what is safe to remove or not. Stick to this thread to set the listapps file in the clean folder of the flashtool. The listapps is mine untouched and everything is ok with this list as far as you setup your phone and specially your google account and sync settings before doing the cleaning step ... after that you cannot add an acount anymore. To be safe, stick to the safe list
[XPERIA X10 Android Development] StratusVC:
I did use this thread to do the clean up process and why would errors when setting wallpaper be an intended byproduct of it?
[XPERIA X10 Android Development] hoss_n2:
Any answer for that ,and what is the GUI as i have been some time away from x10 forum :S
[XPERIA X10 Android Development] bmalaklou:
Many thanks Bin4ry and the others who have contributed to this.

I have downloaded the file dated 11/14/10 as instructed but when i open the x10flash.bat it also opens x10flasher.jar. The command prompt is blank so on the executable jarfile when I click flash, select the X10a Rogers 2.1 Firmware, connect my phone in flash (holding back button and connecting usb), the log just says "Searching for Xperia" and stays that way.

Any ideas as to why this could be happening or how I can get it to flash my phone?

I am running an X10a Rogers which has been debranded to 1.6 with latin american firmware.

Thanks!
[XPERIA X10 Android Development] sandsftime:
one thing about this version is, once it finishes, you have to reboot the phone yourself and there wont be any camera loading screen!
[XPERIA X10 Android Development] Che Kirila:
Hey, Bin4ry, look like it is time to stick to every your post with the flasher addition like this:

If you see endless dots and "Searching for Xperia...." message, your phone reboots from flashing mode to regular one itself, most likely your phone is invisible for the flasher for some reason (wrong drivers, drivers conflict or something like this). To fix this problem you have some options:

try to flash at another computer

try to flash at clean Windows installation

reinstall flashing drivers

Tools you need for those methods:

Flasher (in the first message)

Firmware you want to flash (in the first message or other threads for specific FWs)

Drivers (http://www.zshare.net/download/823808394dbdd958/ (c) kindred7)

manage drivers

Program USBDeview (http://xdaforums.com/atta...4&d=1289579377 (c) XperiaX10iUser)

And, as usual, some good luck.
[XPERIA X10 Android Development] Bin4ry:
the flashing camera come only the very first time you flash to 2.1! If you flash again to 1.6 and then 2.1 there won't be the camera. This means the Camera firmware gets flashed to new version with HD!

Thanks added to 1st post! :)

Regards
[XPERIA X10 Android Development] Che Kirila:
You have doubles - look like from two posts. ;)
[XPERIA X10 Android Development] hoss_n2:
How to get the camera to work. Again
[XPERIA X10 Android Development] Bin4ry:
There should be no problem with your camera. And also here is discussion about flashtool and suggestions for it.

With the firmware problems please stick to the threads where you got the firmware.

The only thing i can suggest you is reinstall the firmware and let it stock to see if any programs causes this issues.

Regards
[XPERIA X10 Android Development] mackdaddy187:
The Rogers firmware I downloaded has 2 update.xml files (update and update 2). Am I supposed to merge them? also they refer to files like amss_fsblah blah blah. Should I fix them?
[XPERIA X10 Android Development] bmalaklou:
I tried to reinstall the drivers and used other USB ports but I had no luck. After several failed attempts I decided to try to use SEUS to enter flash mode and when I did, it prompted me for an update to 2.1! So thankfully I wont be needing to flash the phone atm but thank you so much for your help.
[XPERIA X10 Android Development] mdrmusic:
Hey i've downloaded everything, opened "x10flash.bat" but wouldn't see my x10a (currently 1.6 on 3 Mobile Australia).. so i followed these instructions:

Flasher (in the first message)

Firmware you want to flash (in the first message or other threads for specific FWs)

Drivers (......................................) (c) kindred7)

manage drivers

but then i wasn't sure how to install the drivers.. so i right-clicked on "ggsemc.inf" and selected "install" - but nothing appeared to happen.

can anyone offer advice?
[XPERIA X10 Android Development] norberto_:
The GUI version not works for me :( Always "Searching for Xperia...."

Of course tried reinstall driver, change pc, etc,

But on the same pc the older noGUI version can find the phone at first try.

It can be a bug.

i have flashed 4-5 phones perfectly with the old version and 0 phones with the GUI version. Interesting.
[XPERIA X10 Android Development] mdrmusic:
is the old noGUI version still available?

-----UPDATE-----

I ended up using Davinciteam service to update and am now running 2.1 world generic. so much easier to do it that way, none of the hassle of trying to troubleshoot and it handles the entire install itself.
[XPERIA X10 Android Development] Che Kirila:
I am personally too lazy and let the Windows install needed drivers itself. ;) After many attempts I brought old dusty PC that never has seen any SE stuff, copied the flasher, FW, drivers, connected USB-cable and connected the phone in flash mode (turned off and back button pressed-and-holded). The Windows asked for drivers - this time it asked for specifically flashing drivers since the device was in flash mode from the first connection to this PC. I pointed the folder and Windows began to install them. It took too much time and the phone switched to regular mode, but it didn't affect the driver install process. When driver installation was done, I launched the flasher and connected the phone in flash mode again. It worked just fine this time.

I think, there was the only driver set for the phone that prevented any conflicts that happened before. In your case you can try the program for managing USB-drivers first by turned all suspicious drivers off or even uninstall them. If you failed, try my way. The original post describes complete quest (post # 314 in "x10 Flash 2.1 Final + Global World Firmware 2.1" thread or # 671 in "X10Flash 2.1 final & 2.1 Firmware (Update Flasher 14.11.2010)" thread with notes from other members).
[XPERIA X10 Android Development] Che Kirila:
I googled this link:

http://www.mediafire.com/?w8950y0wmsx76z2

Looks working, at least the size matches. The filename is "X10Flash-2.1.zip".
[XPERIA X10 Android Development] Bin4ry:
Seems that many people have issues with the GUI Version so i added the older Non-Gui Version to first post too!

I try to find the error or a better way for device detection at the weekend!

Regards

Bin4ry
[XPERIA X10 Android Development] mdrmusic:
Che, thank you so much for taking the time to explain all that. I admit I ended up taking the easy road by paying for the DavinciTeam's automated client. I only had to register on their site, purchase credit to flash/debrand/rebrand the phone, download their flashing client, sign into client, connect phone in flash mode, select flash/rebrand/debrand option in client window, select desired firmware from a searchable list. just seemed easier.

I did a search for "BR" since Australian generic version wasn't available on their site. X10a 2.0.A.0.504 0001 CUSTOMIZED BR/SENSUOUS BLACK WORLD-1-2-5-6 came up on the list and i clicked it.

After that the automated client downloads and flashes it to the handset. Was just easier than trying to overcome my issues with flashtools, drivers etc.

When the client said 'done!' I restarted the handset and I was on 2.1. only issue here in australia is I had find the APN details for 3 Mobile Australia and 3G doesn't appear to be working although i can make/receive calls and texts. everything else works - messaging, emails, account synchronisations, phonebook, camera, video cam, wifi etc etc..

Reading your work-around gave me anxiety (lol.. not really..) but I just wanted to acknowledge your help and say thanks a lot! :o
[XPERIA X10 Android Development] Che Kirila:
Yeah, they do pretty good job, but do it their way. I used to unlock my old k790a there - it was easy and fast. But I remember notes about their reflashing - they use their own firmware sets and after that you can not use SEUS. I don't know what is going on now, but I saw some posts, where people were unable to flash their X10 with pretty weird simptoms. As I remember, all of them debranded their phones. If they do this by Davinci Team, it can explain those co-incidents. Hope I am wrong, but we'll see next upgrade. ;)
[XPERIA X10 Android Development] seimur:
There is only one thing. GUI version does not detect already connected phone and asking and waiting untill phone will be reconnected.
[XPERIA X10 Android Development] asanka_m:
The phone does not detect. - Searching for Xperia....

nothing hapens.
[XPERIA X10 Android Development] Tony_C:
See "Problems" in item your quoted
[XPERIA X10 Android Development] Bin4ry:
New version will come soon (next week or a little later), I have really not much time and so i cannot work much on this project.

So please be patient. Updates will come :D

Regards
[XPERIA X10 Android Development] vitalemontea:
i put the load.sin onto non gui folder but it still says load.sin not found skip...
[XPERIA X10 Android Development] vitalemontea:
this is a screen shot i took

http://i173.photobucket.com/albums/w56/rick90_bucket/Untitled.jpg
[XPERIA X10 Android Development] AyDee:
You missed the very first line of the instructions:

Instead of just loader.sin, drop in a decrypted firmware folder (which should already contain loader.sin, if not put it in there..)
[XPERIA X10 Android Development] seimur:
Solution

It's not a problem at all.

You just need to create folder, call it for example Firmware or Andor2.1 - it really does not metter, and put files into directory you've just created. :)
[XPERIA X10 Android Development] vitalemontea:
does it make a difference? lol ill try it when i get back home, thanks
[XPERIA X10 Android Development] AyDee:
Hmm, from this comment I think you still are unclear...

You need to have more than just loader.sin in the firmware folder. You need a firmware too!

So it looks like this:
[XPERIA X10 Android Development] vitalemontea:
where did you get the other stuff?

all i have is loader.sin o_o
[XPERIA X10 Android Development] batman_112:
From here http://xdaforums.com/showthread.php?t=825201

Download the firmware you want to flash
[XPERIA X10 Android Development] vitalemontea:
after flashing, i get this black screen with a camera pointing at the black phone blinking blue
[XPERIA X10 Android Development] vitalemontea:
never mind it was just taking long to load
[XPERIA X10 Android Development] xelente:
Hi guys, just flashed my X10mini pro yesterday, is there any special reason why my Google applications ain't working? :(

Market, Gmail, Talk and also Timescape which is careface, did I do something wrong, or do I have to find the .apk file on the internet and then download it?

Can I just reflash it and correct my "mistake" if I did any mistake? =/

Thanks :)
[XPERIA X10 Android Development] vitalemontea:
my 3G network not working after updating to 2.1
[XPERIA X10 Android Development] batman_112:
You need to enter the APN settings for your network.
[XPERIA X10 Android Development] vitalemontea:
do you know the apn settings for Rogers 3G network?
[XPERIA X10 Android Development] batman_112:
Go to Settings -> Wireless Controls -> Mobile Networks-> Access Point Names

Add a new APN. Don’t forget to Save the new APN by pressing the “more” button! Once you do this, you must select the newly created Internet APN.

Lastly, make sure there are no extra spaces after entering any of these values, else your 3G won’t work.

Rogers

Name: Rogers Internet

APN: rogers-core-appl1.apn

Proxy: Not Set

Port: Not Set

Username: Not Set

Password: Not Set

Server: Not Set

MMSC: http://mms.gprs.rogers.com

MMS proxy: 10.128.1.69

MMS port: 80

MCC: 302

MNC: 720

APN Type: Not Set

AT&T

<name> att

<apn> wap.cingular

<proxy> wireless.cingular.com

<port> 80

<username> not set

<password> not set

<server> not set

<mmsc> http://mmsc.cingular.com

<mms proxy> wireless.cingular.com

<mms port> 80

<mcc> 310

<mnc> 410

<apn type> not set

I got the Rogers settings from http://www.xperiax10root.com/rogers-apn-settings and the AT&T settings straight out of my phone!
[XPERIA X10 Android Development] mpasley7:
stuck

Hi trying to do update have att x10a version. I got the unable to open channel message so I followed the directions in the thread on how to fix that. when I search reg edit there is no device instance. I found devicedesc, container id, hardware id. I found a number in the folder that looked like the one in the example. I put that one in the deviceid.txt. So i follow the instructions in the bat. hold the back, plug in, hit enter still get unable to open and java errors. then it says hit any key to continue. I hit any key and program closes immediatly. i have windows 7 64. please help i hear its going to be months before att gets update. I read through all threads couldnt figure out
[XPERIA X10 Android Development] batman_112:
Just follow this http://xdaforums.com/showthread.php?t=825201
[XPERIA X10 Android Development] Tony_C:
Use the non-GUI version of the flash tool, it will take care of devID, also JAVA
[XPERIA X10 Android Development] Rahul-Sharma:
thanks Bro Nice Post Thanks
[XPERIA X10 Android Development] Tony_C:
Great Tool

Bir4ny, thanks for this tool. It has saved my butt several times.
[XPERIA X10 Android Development] mpasley7:
I tried using non gui version:

1st step i hit 1 for x10, it said the system cannot find the file specified.

Is it looking for the firmware file there?

2nd step i hit Y

3rd step i hit 4 for 64bit win7, it says version 5.11.2010 searching for xperia.

I hold down back button on my turned off phone and plug it in. all i get is dots as if it never finds it.

in my firmware folder i have amss, cache, dsp1, fota0, fota1, kernel, simlock, system, update, update2, userdata
[XPERIA X10 Android Development] mpasley7:
so i finally got it to start flashing but it gets stuck at amss.sin I left it for 30 mins. finally i just stopped it. tried it again and it did the same. any suggestions.