yashsingh1/xdaforums huggingface dataset:
[Xperia Play Android Development] Mills00013:
get back to dooms kernel if you're not there. you can get into recovery by mashing the volume keys while its starting up (at least on the freexperia CM7 kernel, not sure about doom's) or you can let it boot to the point where the screen comes up (but is of course, unresponsive), and from there you can initiate an adb shell command. once you are in a shell, drop to root shell if you're not already there (probably will be) and then run "reboot recovery". Wipe accordingly. Reboot. Flash stock kernel.sin
[Xperia Play Android Development] Blagus:
Important:

Let's avoid same possible TA issues which happened on R800i/a.

Download Omnius and backup TA. Now you're safe.

(Add this to initial post so everyone can see.)
[Xperia Play Android Development] JelloFreak:
I uninstalled

Backup Assistant 2.3.0

Launcher 2.3.2 (stock launcher)

Camera 1 (stock camera)

I dont seem to have any problems.
[Xperia Play Android Development] crono141:
I was also stuck on the Sony logo... Or so I thought. I had to let it sit for about 5 minutes the first time, and it eventually booted.
[Xperia Play Android Development] FrAsErTaG:
Hey guys

Great news you guys now have an unlocked bootloader, sucks you have issues using the system I created though :(
[Xperia Play Android Development] NeoandGeo:
When you say that phone calls don't work due to the ROM being built for GSM plays, does regular texting through your Verizon phone number, and Google Voice calls through your GV number work? I never use my normal phone number to make any calls.

Yeah, Most of the reboots/kernel flashes I did sat at the S-E logo for up to 5 minutes. I was getting scared, but walked away and came back to a normally functioning phone. ;)
[Xperia Play Android Development] gwaine:
Thanks Kris, Mills, crono and neo...gonnna let it sit for 10 minutes or so and then try your suggestions. I appreciate the help!
[Xperia Play Android Development] oc3rulz:
Honestly the ONLY issues with your ROM was the GSM part. Internet works blazing fast, everything was great.

If only your kernel wouldn't break the market and WiFi on the stock rom it would be amazing.
[Xperia Play Android Development] gwaine:
Hi Everyone,

Thanks for your previous suggestions...unfortunately I'm still having no luck...my phone is stuck at the Sony Ericsson screen for 10+ minutes. I've installed the Android SDK and ADB successfully sees my phone. I can use the pull command etc. with no problem, but when I try to get into shell to wipe the data, etc. and start fresh, I get:

c:\Program Files\Android\android-sdk\platform-tools\adb shell

-- exec '/system/bin/sh' failed: No such file or directory (2) --

So I think even the shell isn't working. Do you all have any suggestions?

Thanks so much!
[Xperia Play Android Development] Mills00013:
gwaine, hang tight man, we'll get you fixed. As long as you can get into fastboot, there is hope for you yet.

I hate to ask you to type it all out again, but for the sake of having everything in one place, can you detail exactly what you have done to get here and exactly what you've tried?

Also, you don't wipe data from the shell, you wipe it from recovery. Unless thats where you were trying to get to.

Try this: go grab the kernel from the freexperia CM7 project page. Flash that. Turn off the phone. Turn it back on while pressing the volume keys over and over on the side of the phone. See if that dumps you into a recovery menu.
[Xperia Play Android Development] Mills00013:
Added to the initial post. Should they be making backups before they unlock? What about users that have already unlocked? Is it still okay to make a backup?
[Xperia Play Android Development] Mills00013:
Added to the front page. Thanks for the feedback! Also reminded me I probably needed a disclaimer for people who don't know what they're uninstalling.

Your system was beautiful! It just needed a couple of things touched up to make it work correctly with our phones. You're more than welcome to come back to the Play community and help out :D

I didn't think that FrAsErTaG's system had a kernel with it. Thought you had to use dooms, the stock, or freexperia's. I had issues with the market and wifi on all the kernels except for stock. I think.
[Xperia Play Android Development] zaith1234:
Great work. So glad to have root once again. Flashing went fine long boot up after flashing back to stock kernel but nothing major.

Sent from my Unlocked and Rooted R800x
[Xperia Play Android Development] gwaine:
Mills...you're a genius...I flashed the FreeXperia kernel and now I can use ADB to browse my phone just fine via shell. My goal is just to have a rooted, boot unlocked(which it already is I'm thinkng) stock kernel/rom. I noticed that on the front page of this thread there's a "Full system FTF" which sounds like what I want. Can FTF files be flashed via fastboot or do I have to get flash tool?

Also, I've noticed a lot of posts while googling all of this that mention the need to totally wipe the phone before flashing kernels/roms in order to make them work. Can this be done via ADB?

I've been checking out the commands used with ADB here:

http://android-dls.com/wiki/index.php?title=ADB

I see the parameter:

-w - wipe the data partition

but I don't see the actual command to run for that.

Thanks very much for your help!
[Xperia Play Android Development] oc3rulz:
Yes actually you are correct, it was FreeXperia's kernel. If that would get tweaked just a bit, then the phone would be amazing!

On a side note, I must have a driver issue because trying to use the Flasher Tool for the FULL STOCK FTF, i get install aborted then reboot and enable Unknown Sources and Debugging, but I already have them enabled. Any suggestions?
[Xperia Play Android Development] oc3rulz:
If someone could honestly just upload a stock boot.img, that's all i need, since I can't get this flasher tool to work.
[Xperia Play Android Development] Mills00013:
You're welcome! I wouldn't personally wipe using ADB, although it can be done. I think the command is like "adb format DATA" and "adb format CACHE" or something similar to that.

If you are going to wipe though, see if you can wipe through clockwork recovery. That's what I would use. Its menu driven and much easier to understand. Now that you have the freexperia kernel you should be able to boot right into it by pressing the volume keys on the side of the phone at bootup.

I don't think it's a driver issue. I'm beginning to think its a flashtool issue with our phones. If you have the full tft downloaded, open it up with winrar or 7zip, you will find that essentially all a tft file is is an archive. You can find your boot.img in there. But I really dont think it will be any different than the kernel.sin file that we alreayd have uploaded to the original post, and I know for sure that the kernel.sin can be flashed with fastboot: "fastboot flash boot kernel.sin". I did that exact thing myself.
[Xperia Play Android Development] oc3rulz:
I used the kernel.sin from yesterday but it still doesn't let market work
[Xperia Play Android Development] oc3rulz:
there is no boot.img in the FTF, I checked. It still shows the FreeXperia boot logo, so I know that's what has me locked up, unless I flash to the doom boot.img then flash the stock kernel?
[Xperia Play Android Development] Mills00013:
Maybe a dumb question, but have you used CWM to do a wipe yet? If you have flashed system.sin and kernel.sin, then that should be all you technically need to be back to stock, but a wipe wouldnt hurt to fix anything that might be lingering in data or cache. You should be able to either do a fastboot boot command and get right into the recovery or you could flash freexperias kernels and use their built in recovery and then flash back to kernel.sin.

What do you think?
[Xperia Play Android Development] Mills00013:
You could certainly try that. If you still see the freexperia boot logo, that means that you have no successfully replaced the boot. So I would agree with what you just said. Flash dooms, then attempt to flash the kernel.sin
[Xperia Play Android Development] oc3rulz:
currently booting, to see what happens, I got the FreeXperia boot.img off, now its back to the stock one, now lets hope it doesn't become unusably slow

*edit: now it's usuably slow, shrug, so frustrated.....
[Xperia Play Android Development] Mills00013:
It will be unusably slow with dooms on there. But as soon as it boots, just power it off, then go back to fastboot mode, flash kernel.sin and you will boot back up, right as rain.
[Xperia Play Android Development] oc3rulz:
Ive tried that, I don't know whats going on, its still slow
[Xperia Play Android Development] Mills00013:
What is fastboot returning when you are doing the flash? Does it look like its successfully flashed kernel.sin?
[Xperia Play Android Development] mathias999us:
Boot into recovery after root?

Great how-to. I'm bootloader unlocked and rooted, back with stock kernel. Now I'm trying to figure out how to boot into recovery? adb shell reboot recovery just reboots the device normally. ROM Manager says I have CWM2.5.0.1 recovery installed, but using ROM Manager to reboot into recovery just does the same thing (normal reboot).

Do we lose the ability to boot into recovery when we flash back to the stock kernel during this process? Nandroid backup at this point would be desirable for me.

Thanks,

Mathias
[Xperia Play Android Development] Mills00013:
Mathias, xperias dont have a set aside recovery partition like most devices. The CWM recovery that you see people talking about is actually imbedded in a ramdisk in the kernel itself! Its a very cool trick that gets the job done very well, but it does require a custom kernel to have it. as far as i know, there are no custom kernels that work just right for our cdma devices just yet but there will be soon. if you want to nandroid, temporarily you can reflash dooms kernel and do the backup then reflash to kernel.sin. you can also use fastboot to boot the recovery from your computer (no flashing required) but it requires you to have to be connected to your computer when you want to restore or backup.
[Xperia Play Android Development] crono141:
There's also this http://xdaforums.com/showthread.php?t=1130639 which can be done without flashing (I think).
[Xperia Play Android Development] Mills00013:
crono, you're exactly right. couldn't find the link a minute ago but thats definitely it and should get you there in a pinch without flashing...

Do note, mathias, though, that the boot partition (so your kernel and whatnot) wont get included in the nandroid backup like it does on most devices. this wont be a problem normally, but it could be important to try and remember which kernel you were using when you made X backup. fortunately you can always rename the files so that might be the way to go.
[Xperia Play Android Development] crono141:
Would it be theoretically possible, through the use of much kode-fu, to repartition the internal nand and boot firmware to get a dedicated recovery partition?
[Xperia Play Android Development] Mills00013:
I want to say thats what the FreeXperia team originally set out to do but I dont know if there was any progress made. I dont know the details but I would imagine that repartitioning nand is probably not a walk in the park...
[Xperia Play Android Development] gwaine:
Quick update: For any other noobs like myself...I extracted the ftf file on the first page of the thread using winrar, flashed the kernel.sin, rebooted. Still stuck on Sony Ericsson screen. Back to fastboot, flashed the system.sin and it worked! If that's painfully obvious that you have to do that then I at least hope it helps some other Android dummies like myself. I probably messed something up along the way when I was trying to flash the whole ftf file through fastboot (I'm not even sure that those files are compatible with fastboot but I tried it anyway last night).
[Xperia Play Android Development] Mills00013:
Linked to this post in the initial post. Thanks for hanging in there and helping out!
[Xperia Play Android Development] ashergray:
you listed this as

Stock Kernel

Link: Multiupload

Status: Should work just fine. This is just the .sin. Use this command: fastboot flash system system.sin

it should be Stock system

also here are a list of the MD5 Checksums as I have them on my computer

R800xkernel.zip
1a2e9a665fee7332867157c11aa321c9

System.sin
3ebf12d10c195b92ff72c41d325592de

Kernel.sin
7ba1e6e3b698ad55f6bea0406196d337

Stock kernel and system.ftf
d519365f7220382a42fdecd554aa4b64

Full Stock Minus TA. FTF
465d52867582a4d1eee8166807bb97ac
[Xperia Play Android Development] Mills00013:
Added and fixed. Thanks for the heads up.

Man that first post is starting to get big lol. Maybe I should have reserved some comments below it.
[Xperia Play Android Development] ashergray:
if it ever gets any worse we can just make a new thread

entitled

THE END ALL BE ALL R800X THREAD!
[Xperia Play Android Development] gwaine:
Hey Mills...I'm almost positive that easier method you added at the top of the first post works. I wasn't sure I was rooted because it wouldn't let me "su" from ADB shell, but I think I just didn't give the program permission. Since thinking that didn't work, I used your older method and it worked like a charm (now that I know to flash the system.sin too). Doom's, then the original. I googled how to tell if you're rooted and the link had me download a terminal emulator from which I was able to switch to superuser. So your older method definitely works, but I was getting the same symptoms in ADB with the older method so I'm pretty sure your new method works too....just not 100%. It's quick enough that other folks should probably try the newer method first. That restore mode that the phone boots into so that you can flash a zip is awesome! Thanks again for all of your help and for all of the info on the thread.
[Xperia Play Android Development] Mills00013:
gwaine, in the old instructions, where would you put the system.sin flash step in? What number would it go before or after. I want to add it in because it wont really hurt to have people do it and could take out some of the questionable variables.
[Xperia Play Android Development] ashergray:
I can verify that this resolves the bootloop.

not really sure what happened but flashtool knocked me into a boot loop and this fix resolved it.
[Xperia Play Android Development] Mills00013:
I cant tell if you're saying things are okay or if i need to change something...
[Xperia Play Android Development] ashergray:
no reflashing system.sin and kernel.sin fixed the bootloop.
[Xperia Play Android Development] FrAsErTaG:
Did my rom boot when you used stock 800x kernel?
[Xperia Play Android Development] oc3rulz:
I can try shortly when I get back home, I will reflash to see
[Xperia Play Android Development] hatcyl:
Easy Way worked for me.

So I have stock + unlocked bootloader + root ... perfect!
[Xperia Play Android Development] gwaine:
Hey Mills...after step 17 in the beginner's instructions I flashed system.sin. I couldn't find the post, but Blagus posted that flashing the system.sin is a bit different: fastboot system system.sin instead of fastboot boot kernel.sin. Again, probably obvious, but it was good to know. After flashing the system.sin I rebooted again and it worked. This might all be unnecessary, because I'm starting to think I messed stuff up by flashing the ftf file in fastboot (dunno if that file's compatible with fastboot). I got both the kernel.sin and the system.sin by extracting them from the ftf on the first page using winrar.
[Xperia Play Android Development] eximperialdragon:
I followed the easy instructions and had a pretty easy time of it.

I'm using the stock ROM and kernel (the kernel being switched back from Doom's to use recovery) with root, and I removed various applications with Titanium. I removed the annoyed, "Get Games" app that ran in the background all the time (which actually removed the "More Games" tab from the Xperia Play app, which I left in. That amused me greatly, I wasn't aware More Games was a dependent process).

Once nightlies for Cyanogen hit, I'll be all over that like white on rice. Or brown on rice. Depends on what kind of rice you find yourself to be most acclimated to.

Seriously, you did some great work, and I really appreciate it. ^_^
[Xperia Play Android Development] oc3rulz:
got mine all fixed. I was running on so little sleep for a couple days, work has been sucking. I was typing "fastboot flash kernel kernel.sin", instead of "fastboot flash boot kernel.sin", phone is rooted and working great!!
[Xperia Play Android Development] NeoandGeo:
I just had to reflash the stock system.ftf file, and reacquire root. I had originally deleted all the potentially safe to remove apps, but noticed shortly after that all of my games and emulators would experience extremely bad lag that would last for several seconds or more, then return to normal 60fps gameplay. This rendered it all unplayable for me. With only removing the stock games I am back to normal lag free gameplay.

I wonder what was causing that?
[Xperia Play Android Development] Mills00013:
So you removed all the apps on the first page, and you started experiencing lag in third party emulators and other games? And then you flashed the system, got back to where you were, removed only the games that came preloaded and you're good to go? You left all the Verizon stuff on there?
[Xperia Play Android Development] ashergray:
I noticed some hiccups with some of the stuff I removed, after a few flashes and trial and error I found what worked best for me.
[Xperia Play Android Development] Mogul345:
State - Unlocked, Rooted, Stock Kernel

So far everything is good. Pulled pretty much that entire list of stock apps, except Camera & Launcher2. Don't pull launcher2 unless you have another launcher installed I didn't and that pretty much kills it, had to restore from a Nandroid backup.

I think overall it's snappier, although I'm only running 3 homescreens w/ ADW Launcher. I've been noticing some intermittent slowness, but I have a hunch it's the Pulse application I just installed.
[Xperia Play Android Development] :
All set, the only thing I want now is an overclocked kernel. Amazing work guys.
[Xperia Play Android Development] NeoandGeo:
Yep, I removed everything from that list before.

After about an hour of playtesting after the fresh flash/root I experience no lag unless I get an email or text message, and even then it's a very bearable lag for a split second. I left everything else besides the preloaded games, kindle and skype in that list on the phone for the time being.
[Xperia Play Android Development] icebear8:
Rooted and removed everything besides camera and so far for 2 days no lag or fc everything running good and boot time is so much faster
[Xperia Play Android Development] pumacat311:
What program is everybody using to remove the stock/system apps. I am having some trouble doing so..
[Xperia Play Android Development] svenk919:
Titanium backup (needs root).
[Xperia Play Android Development] Mills00013:
Lot of people use titanium to do it. Personally I just use the rm command in terminal after remounting the system to be r/w. Titanium can freeze apps too, if im not mistaken, which will leave them on there, but just hide them and make them unusable more or less. The difference between that and using rm is obviously the space your clearing up by deleting them.
[Xperia Play Android Development] ashergray:
I have been using Root Explorer, Its not free but it is quite a capable program.
[Xperia Play Android Development] Mogul345:
I also use Root Explorer. Works great, and I like how it lets you easily switch between mounting r/w and r/o.
[Xperia Play Android Development] Mills00013:
Yeah but it's totally not as leet.
[Xperia Play Android Development] Mogul345:
Not as 1337 as using the command line, but I find when I start using *NIX commands, I invariably start trying to use them on windows, which never seems to work.
[Xperia Play Android Development] ashergray:
Try Gnuwin32 see if that helps, I could never really get the hang of Linux, I did really like the PHLAK distro though.
[Xperia Play Android Development] Logseman:
There is something indescriptible in performing operations you can do on a GUI like everyone else by punching the *nix terminal. By far, renaming files is the 1337357.
[Xperia Play Android Development] NeoandGeo:
Back to experimenting with safe to remove apps. I started adding .bak to the apk extension so I can easily add them back if need be.

I noticed I had the MobileCare app in my running services and it always said 'Restarting'. I believe this is related to the S-E update notification? Process is 'com.innopath.activecare' so I renamed the extension, and I don't seem to have any repercussions so far besides the update prompt not showing up upon restart. Also no lag spikes every dozen seconds or so when playing games.

I will run it like this today, and hopefully it can be added to the list.
[Xperia Play Android Development] Mills00013:
Awesome find. Please report back your results. I think I will remove mine too, just for good measure and see what happens. Will the update client still open if you manually try to update software?
[Xperia Play Android Development] NeoandGeo:
I just get a force close of 'com.sonyericsson.android.fota' now when I try and manually update.

And my lag spikes returned so I looked into my bluetooth/gps settings. Bluetooth did nothing, but when I dsabled the GPS lock on Weatherbug the lag seems to have dissipated again...It looks like that was my trouble app, but it only seems to give me issues when I mess with some of the system apps. :confused:
[Xperia Play Android Development] Mogul345:
I can confirm everything NeoandGeo is saying about the Mobilecare app.
[Xperia Play Android Development] NeoandGeo:
I am not 99.9% sure my lag was being caused by Swiftkey X. Downloaded System Tuner and looked at CPU usage, and it would constantly use 5-30% of my CPU for no reason, and with no apps open that required a keyboard.

Uninstalled it and after 3 hours of playtime with my emulators, I have seen no lag. I was even able to remove the system apps I thought were the culprit before, and add back in GPS. It is so nice to have a boot up time of 45 seconds, and 229MB RAM free after using the phone for an hour. :D

On a fresh reboot I sit at 88MB used and 245MB free after the initial apps/services are loaded. Not bad.

Now to wait for a kernel with overclocking, and proper wireless tethering.
[Xperia Play Android Development] Mills00013:
So neo, you think it was SwiftKey X that was causing your lag spikes?

Can you post an ls of your /system/app folder so I can see exactly what you have disabled?