yashsingh1/xdaforums huggingface dataset:
[XPERIA X10 Android Development] HunteronX:
I found out that jerpelea's been busy with this:

http://xdaforums.com/showthread.php?t=736821

I think Bin4ry last posted here (on the 8th of august):

http://xdaforums.com/showthread.php?t=741512&page=2

I also think that goroh_kun last posted here (on the 6th of august):

http://xdaforums.com/showthread.php?t=726813

And biktor_gj has last posted here (on the 6th of august):

http://xdaforums.com/showthread.php?t=740736&page=2

But biktor_gj also said this:

Hardware is completely different, cpus arent the same, lcd, storage... whats more or less shared is the s1 bootloader which is for the entire s1 platform from sony ericsson. Though bootloaders rent the same because theyre compiled for each cpu.. thats whats preventing us from flashing on both phones. I hope when a real fix is found for one of them we will have it easier to port to the rest of the platform. Until that well have to stick to jumping from initial se kernel to boot custom roms. For that, a kexec module for these kernels must be built (gorohkun's spl for x10 wont work without a lot of modifications....)

This seems to be the problem that the Motorola Milestone has...
[XPERIA X10 Android Development] ddewbofh:
It's kinda sad, the X10 is quite promising. It would've been very fun to be able to customize the OS more and get rid of Timescape.
[XPERIA X10 Android Development] khanem:
But biktor_gj also said this:

Hardware is completely different, cpus arent the same, lcd, storage... whats more or less shared is the s1 bootloader which is for the entire s1 platform from sony ericsson. Though bootloaders rent the same because theyre compiled for each cpu.. thats whats preventing us from flashing on both phones. I hope when a real fix is found for one of them we will have it easier to port to the rest of the platform. Until that well have to stick to jumping from initial se kernel to boot custom roms. For that, a kexec module for these kernels must be built (gorohkun's spl for x10 wont work without a lot of modifications....)

This seems to be the problem that the Motorola Milestone has...[/QUOTE]

does this mean that it's possible to first boot the SE rom then lunch a Sdcard based custom rom with a tool like haret for wm? if people can do it with WM than why not with android?:rolleyes::rolleyes::(
[XPERIA X10 Android Development] ddewbofh:
does this mean that it's possible to first boot the SE rom then lunch a Sdcard based custom rom with a tool like haret for wm? if people can do it with WM than why not with android?:rolleyes::rolleyes::([/QUOTE]

From what I've read it appears the the chainloading mechanism works in the way you think but that the radio-bits stop working. So even if you could boot into a different system you won't be able to make calls etc.
[XPERIA X10 Android Development] HunteronX:
does this mean that it's possible to first boot the SE rom then lunch a Sdcard based custom rom with a tool like haret for wm? if people can do it with WM than why not with android?:rolleyes::rolleyes::([/QUOTE]

I think that's exactly what we need to do, and what the devs have been trying to do.

This is just an idea, but maybe we could look at how kexec works, and try and implement it's features into the splboot.ko module.

I've attached a pdf (in the zip file) about kexec, that I found.
[XPERIA X10 Android Development] HunteronX:
From what I've read it appears the the chainloading mechanism works in the way you think but that the radio-bits stop working. So even if you could boot into a different system you won't be able to make calls etc.[/QUOTE]

Wasn't that supposed to be fixed:

Then there's this:

I found out that this is related to QPST software:

From Wikipedia:

"QPST (Qualcomm Product Support Tool) is an windows application developed by Qualcomm for cellular phones that feature Qualcomm chipsets. It features a file explorer, factory test tools, low level communication settings, RF calibration tools, roaming list editor, service programming tool, and more.

QPST is copyrighted, and its use is strictly meant for developers, providers and maintenance technicians. Despite this, the application has repeatedly appeared on the internet for download. The software is frequently discussed[1] on forums as a tool to reconfigure cell phones[2]."

I managed to get hold of an old copy, and it seems that QPST can create a new partition layout for qualcomm phones, and even flash the (OTP) bootloader, and primary bootloader too.

But the newest(?) processor I could choose from was MSM7500, with no QSDxxxx option whatsoever.
[XPERIA X10 Android Development] biktor_gj:
I have a copy of QPST with support for QSD8x50 chipsets, I found it somewhere over the net. The problem is entering the radio bootloader, on htc phones it was a key combination, but didn't find any that worked with our phones. it might need some jumper or short on some headers to invoke it on our phones. That's one of the tests I'm doing next week. It would be awesome to get a complete full nand backup in binary format (which qpst can do).

Did anybody manage to find a working jtag pinout? tried a few times with my usbjtag but didn't get it to work...
[XPERIA X10 Android Development] HunteronX:
I would help, although I'm not sure what i should be looking for.

Does this help?

http://www.omnia-repair.com/forum/topic/is-there-anybody-to-know-x10-jtag-pinout

Thanks for the reply, It's great to hear that something's going on... :)

EDIT: Actually, the version I have seems to support QSD8250 and 8650 after all...

But it's looking for a com port - do we need to use goroh_kun's diag enabled bootloader, that came with PC drivers to use QPST with our phones?

Like a virtual serial to USB connection?

I've attached the file.
[XPERIA X10 Android Development] biktor_gj:
Hehe that's the back of my test x10 with my annotations ;) -now it has a bunch of wires soldered there...-

QPST, at least on the htc nike & htc magic created two virtual serial ports over usb, and qcsbl could be started straight from the spl (rtask a if I recall). Does anybody have goroh's bootkit-diag and could upload it somewhere? it would be nice... (I asked him through pm an hour ago, but if someone can upload it sooner...)
[XPERIA X10 Android Development] HunteronX:
LOL - that's a strange coincidence!

I think that this is what you wanted.

http://www.megaupload.com/?d=GJU9RSJ1

It's also on my previous post, as an attachment, too.
[XPERIA X10 Android Development] branzo:
Hey guys,

if someone can send me the files you need, i will arrange a mirror that doesn't involve rapidshare, and all this ****ty thing!

Just let me know! :)
[XPERIA X10 Android Development] MarylandCookie:
Heres the complete kit:

BooKit 1,2 and 3

I think Goroh updated it atleast twice :)
[XPERIA X10 Android Development] biktor_gj:
Perfect, left it downloading at home, will see what i can do with it tonight... thanks to everyone!
[XPERIA X10 Android Development] HunteronX:
Good Luck!
[XPERIA X10 Android Development] ddewbofh:
Awesome! It's great to see some activity and by the looks of it you have a sound approach. Keep up the good work. :)
[XPERIA X10 Android Development] norkos:
Would be nice to get like a summery of what is going on, progress, issue, success as well as when we can wait for this to be released in beta. Ty for the time you guys are taking to finish this amazing project. Again ty!
[XPERIA X10 Android Development] brat81:
So does this mean we have to J-Tag just to run custom roms ?
[XPERIA X10 Android Development] mootmaina:
Doubt it. There still doesn't seem to be a clear solution to this. Give it time and it will come out... Just like the one click root method, hacks will evolve and make it easier for the common user.. i.e US

I kinda hope the custom rom comes before SE but I doubt it, SE will be updating very very soon.

GO devs which i could help but my hackin skills aint up to scrach.
[XPERIA X10 Android Development] brat81:
Really is it a bad thing if SE release their 2.1 update ?

I'm sure we should be still able to gain root since SE said they're not going to block root access if future updates.
[XPERIA X10 Android Development] biktor_gj:
Well, that's what they said, but when we released the root through fota updates they started patching the fota application and a lot of updates started showing so I wouldn't trust them much. Let's be honest, these guys took much more time on locking down the platform than optimizing the end user software, you just need to look at the keyboard and battery performance on the first firmware releases (R1FA014, 016...). It was just crap (and for a 500$ phone... no need to say more). On a side note (and a little offtopic too), this is my last sony ericsson phone. First I don't like being locked down. Second I don't like to see applications running all the time with some names like "FaceRecognition, Wiper, LearningClient" that I can't even stop. What do you need to learn? Did I gave you permission to LEARN from my phone or from my phone usage? No I didn't. and not going to happen again. I've learn a very important lesson with this phone: I don't trust SE, and I don't like even a bit all that software they putted in there.

Anyway, the phone is already rooted. No matter what firmware upgrade they take, we can disassemble it and port it rooted to the phone. That's no issue ;)

About what's being worked on (some asked it on the previous page). I will just speak for myself since I haven't yet talked to anyone else. I'm still catching up with what happened while I was in vacation. Still trying to disassemble the S1 loader (I got some dumps but I think they're quite wrong since I can't find a way to recompile them) and learning a bit from IDA. My idea is:

a) Create a patched loader which would bypass all signature and crc checks and just boot or allow flash of anything you give it, no matter how broken it is.

b) Pick all the initialization sequence and merge it with goroh's usbloader so we could cold-boot his loader all the time initializing correctly amss, so we don't have to warm boot all the time and waste space, battery and time on each boot (and intensive patching on kernel side, which is always a bad thing).

The problem is getting it done. Still a lot to do, and a lot to learn ;)
[XPERIA X10 Android Development] zdzihu:
Couldn't agree more on that :) I'm so waiting for OpenDesire-like AOSP port for our phone, without all that SE crap and google proprietary apps.

Best of luck with your research, fingers crossed!
[XPERIA X10 Android Development] HunteronX:
I also hate being locked down too - it stifles development. SE could have been like Huawei, who manufactured the T-Mobile Pulse, and allow unsigned images to be flashed, and attract more enthusiasts, which would then attract 'mainstream' consumers to the phone, because they'll think "I want that; it looks great!" It's as simple as that. And even if SE had and have hardly any money, they should have made the phone cheap, to attract people, and slowly increase the price later on, because the popularity of the phone would have acted like an incentive for people to buy it- just like the iphone.

Anyway, this sounds good. Great work, biktor_gj! Also, was this how HardSPL for the G1 was made (maybe the people involved could help)?

Ok then - from what I understand, we need a way to get a near 'perfect' (usable) dump of the S1 boot-loader. The version we have seems to named '1226-2253 R8A013'. So maybe we could find it on the net somewhere?

Then once we have the dump, we need to edit it - would this be done with hex-editing?

Finally, if all of that gets completed, we need to be able to flash it, or maybe run it from a PC, as a temporary boot-loader for the phone (using QPST?), and then flash whatever we want, hopefully without any problems, because I think that the bootloader doesn't check flashed files after they've been flashed, doesn't it? :confused:

These are just my ideas, though. :)

(And sorry for all of the questions...)
[XPERIA X10 Android Development] HunteronX:
@ biktor_gj

There's one other thing I'd like to ask.

Could we flash a custom boot.img with the 2.6.32 kernel and kexec enabled, using QPST, to load a froyo rom?
[XPERIA X10 Android Development] biktor_gj:
You can dump the loader already, thanks to goroh's utilities ( spldump module). When you touch anything with a hex editor from the loader, it doesn't boot anymore. That's why I'm trying to disassemble it, to get at least usable asm code.

After patching it we would need to flash it back. I still think it's on the flash, but read protected by some means (maybe by the loader itself). Thats why I'd like to get a complete nand dump using usbloader, at least we could see if it's there. There's also OTP area which can be overwritten with QPST, but it's quite risky, and I'm not sure if we would overwrite acpu spl or mcpu spl with that (there are two bootloaders on the phone, one for application cpu and another one for the modem) (and I'm not even sure we could do that)

You can flash what you want, but each time you reboot the phone the loader checks all the signatures, if anything is wrong, it jumps to recovery. I think if it finds out recovery is also tampered, it shuts down or gets stucked (not sure). Though you can recover it by reflashing it.

Another try would be to touch only the elf header at the very start of the boot image, which, according to jerpelea (and he's usually right ;)) is used by the bootloader to jump to the kernel. If we could jump to another nand area from there and the loader doesn't say anything, we could jump to a different kernel on the nand, and boot from there...
[XPERIA X10 Android Development] HunteronX:
Ok, thanks for the info. I just thought that the spldump module wasn't dumping spl images properly - looks like I made that one up. Also, could we obtain a nand dump using QPST, or is it not very practical - meaning that you need to use Jtag?

I hope that the elf header editing could work - it's just that the loader seems to detect any changes made...

But, I'll try and read up on assembly code, so I can be of more help to you guys. I think I'll need to learn how it works, anyway (for college). :)
[XPERIA X10 Android Development] leslie222:
I agree with the devs .....NO WAY i ever buy SE again.....back to HTC!!!!!!!!!!!!!!!! This si dumb.
[XPERIA X10 Android Development] zdzihu:
I guess you missed the point :) An yes, HTC also lock their devices.
[XPERIA X10 Android Development] leslie222:
With all due respect i never missed the point..I think SE did.....locking is their right ......given. Making us use 1.6 ?????? I dont think do....but everyone has their own opinion....or so I thought ..
[XPERIA X10 Android Development] haksam:
oh please.... i wet my pants reading this thread, i have a milestone and x10 side by side, tell me where I should put my money if there's only these 2 choices atm ;)
[XPERIA X10 Android Development] Cablekevin:
Throw your SE brick out of the window and buy a HTC, then you've got more reason not to post in this thread. There is progress, only it's going slow, have some patience.
[XPERIA X10 Android Development] gavriel18:
No *****ing here just a giant thank u for all the hard work devs! :-)
[XPERIA X10 Android Development] zdzihu:
Wrong topic
[XPERIA X10 Android Development] mtechfan:
Looking forward to the completed root :D

Maybe we should have another money raising effort?

Whomever gets Froyo on the X10 wins!
[XPERIA X10 Android Development] orion_12:
Stop complaining

If your not happy with your X10 go somewhere else to complain, the devs are working hard at it, so let them be. I for one am very happy with my phone.Thank you devs for all the hard work you guys are putting in to crack this baby. i am in if you want to start raising funds for the first one to crack the bootloader.
[XPERIA X10 Android Development] citsym:
I agree that it might be time to start another bounty thread :)

I know a lot of people would love to donate for full root.
[XPERIA X10 Android Development] orion_12:
Bootloader donations

Hello Devs would it be possible if you can start a way for us to start donationg to crack this bootloader. Thank you in advance:)
[XPERIA X10 Android Development] djeskoswe:
Bye!
[XPERIA X10 Android Development] rvictorg:
since this thread is about CyanogenMod...any chance we could get them (Team Douche) to consider supporting the X10 and help out?

I know Paul O'Brien from MoDaCo already sold his X10 over a month ago, but it would be nice to get some other mainstream support for this bad boy to help the handful of hardworking devs here...I just don't know how to go about accomplishing that :(
[XPERIA X10 Android Development] berbecverde:
Yepp.

Me too...:D
[XPERIA X10 Android Development] Alteran Ancient:
Sony have a good history of securing their technologies (look at PSP and PS3),even though Android is running underneath in this occasion. I'm sure the developers will strike gold eventually. I'm not too worried if it takes time, though, because Sony's much-promised updates are due in Q3/Q4, which is really not a long way off. Any time around September - October.

A T-Mobile UK District Manager did actually tell me that they're expecting to roll-out the 2.1 update in September at some point, and the 2.2 update some time after that (November or later), so.... fingers crossed!
[XPERIA X10 Android Development] kr3w1337:
I vote to have the word excellent removed from thread title because let's face it, excellent was about a month ago.
[XPERIA X10 Android Development] brat81:
So with sony patching the fota will be still be able to run 2.1 rooted or is that something that can't be answered now ?
[XPERIA X10 Android Development] davethedroid:
psp secure? your having a laugh arnt you
[XPERIA X10 Android Development] instigator008:
Lol. You 'aving a laugh?
[XPERIA X10 Android Development] leslie222:
+1

Wow, I wish people were not so self important....I am sick of being shouted down for making a simple observation...like every one OWNS the thread.... Anyway, count me in.....I will gladly contribute for a bounty for froyo on the x10.
[XPERIA X10 Android Development] Contrarian:
my understanding is now the phone is rooted it shouldn't be too difficult getting around the patch.

custom rom will be cracked soon though.
[XPERIA X10 Android Development] consolation:
Only if you have SE's engineering bootloader laying around. How about we have a fund raising effort to have someone hang around bars near SE's R&D dept. then befriend a SE employee with access to the afore mentioned bootloader. Get them stinking drunk then take photos of them with under age hookers. Yadda Yadda ... upload bootloader.

Seriously, it'll be quicker then trying to hack the damn thing. No coding experience required, any Japanese members willing to take one for the team?
[XPERIA X10 Android Development] CharlesW123:
lmao! Made me chuckle did that :)
[XPERIA X10 Android Development] branzo:
Nice! Just started rolling on the floor laughing!!
[XPERIA X10 Android Development] neoss119:
Trust me, mate. Here in Japan salarymen are experiencing what you wrote at least one night a week if not more :D

And I see here many old dudes hanging out with very young girls and nobody seems to mind (except me!). Ah, the Japanese culture...

and btw. Sony Ericsson R&D is mostly based in Sweden from what I heard...
[XPERIA X10 Android Development] maxld:
So, we have to get them just some fine mooses I suppose :)
[XPERIA X10 Android Development] consolation:
Having spent time in both Sweden and Japan, I shudder at the depths of depravity we will have to sink too. I think it will have to involve a bag of hamsters and a glass tube. Why can't they be in the USA, all we would have had to do is Photoshop a picture of them with a turban.

-------------------------------------

Sent from my X10i
[XPERIA X10 Android Development] ddewbofh:
Being a Swede I know a sure fire way to get them to do our bidding. Get them associated with a "tasteful" photo-shoot involving teenagers. CP in today's political climate here is suicide, people will do anything to disassociate themselves. :)
[XPERIA X10 Android Development] consolation:
Do we have a volunteer? Of course they just HAD to be in the country with the most expensive booze on the planet. Right buddy, time to hit those bars, what town is Ericsson's HQ @?

-------------------------------------

Sent from my X10i
[XPERIA X10 Android Development] brat81:
surely there has to be someone on these very forums that work inside S.E

anyone looked at Esato been a while since i've been on those forums (back when the T610 was the prime phone) there might be some goss or at least something happening over there.
[XPERIA X10 Android Development] KaktusHater:
You know that the swede also means "Kålrot" ;)

hehe...
[XPERIA X10 Android Development] neoss119:
It truly bugs me why some companies like LG and Palm put in the instruction manual how to root their phones while Sony tries to keep everything closed up like if it contained some nuclear rocket launcher.

What's the big deal, really? It's just a phone. A personal object like your clothes or a laptop. Nothing more.And since we all bought the hardware why we can't do whatever we want with it? Why we can change the case or battery by ourselves and why they forbade us to to change/modify its software? Most of us don't care about warranty because the way it's written you rarely can use it.

It's just hard to understand for me that the company that is loosing the market share so much and only recently came back to being profitable after huge layoffs is so deaf to customers requests. If you go to Sony Ericsson site and look at the comments there I don't know how they can expect anybody to buy a new phone from Sony. They just can't compete on either quality or price. So many users are very dissatisfied and if they will never buy phones from them and complain about them to their friends then I don't know who will end up buying them. Sony Ericsson became a small company and they don't have such a brand recognition like Apple or Samsung (or as HTC is getting).

They will just slowly go away into oblivion... And surprisingly they don't seem like they even care about that.
[XPERIA X10 Android Development] consolation:
You don't get it. The enthusiast market is tiny compared to people who have no idea what fw their phone is running, and rooting a phone is a very specific form of fetishism. If Sony unlocked the phone / provided stock fw, they would a) miss out on payments from PlayNow plus royalties from all the service providers whose bloatware comes pre-installed eg that demo office and map apps. And, b) piss the living hell out of the Telecoms who have branded roms tying the phone to their services. This is who pays Sony money, not you, the consumer. So while we may dream of a nice stock 2.2 rom (which would probably take Sony couple of hours to compile and fix up), this would be totally against their and their corporate cronies interests. Sony made this phone to make the maximum amount of profit, not to give you a cool toy to play with, shock horror.

This is true of all corporations, obviously; find the minimum level of consumer satisfaction required to produce maximum profit.

Obvious post is obvious, but this comes up in thread after thread. I don't get why some people are surprised?
[XPERIA X10 Android Development] will.m:
Maybe because most people don't realize how corporations actually work.
[XPERIA X10 Android Development] MeZmeriZe_:
All good points, except all the other manufacturers are busting a$$ to get froyo on their headline phones....

SE are either android newbies, or they are not in the same league as htc or motorola or samsung etc etc. Isnt the X10 till the top of the line SE phone?

Sent via rooted X10 using XDA.
[XPERIA X10 Android Development] naplesbill:
Not really. Moto still hasnt updated several phones to even 2.1. Dell is in the same boat. The reality is that all the Android devices with custom UIs take longer to get updated.
[XPERIA X10 Android Development] CaseyB:
It nearly brought a tear to my eye to see the flurry of activity on the custom rom efforts! I now feel a bit more comforted!