[Jlo][20121227] Clockwork Mod & CyanogenMod 10 for Xperia J

763 posts
Thanks Meter: 4,315
 
By adfad666, Inactive Recognized Developer on 7th December 2012, 01:26 PM
Post Reply Email Thread
There's no longer any difference between this and the FXP release so i'm closing down this thread. If you're using my ROM you can safely flash the latest rom from the FXP thread.

ClockworkMod 6.0.2.5
ClockworkMod-6.0.2.5.img

Your phone needs to have an unlocked bootloader! Follow these instructions

Please do not use the ClockworkMod found in another thread. It's very buggy, is not compatible with the Xperia J and may permanently damage your phone.

Instructions:
  • Download ClockworkMod from the link above
  • Switch off phone
  • Hold Vol-UP button
  • Insert USB cable, wait for blue light
You are now in fastboot mode!

Flash and enter recovery:
  • In terminal, run fastboot flash boot ClockworkMod-6.0.2.5.img
  • In terminal, run fastboot reboot
  • when the purple LED shines, press and hold the Vol-UP button
You are now in ClockworkMod Recovery!

CyanogenMod 10.0
01 - cm-10-20121212-UNOFFICIAL-jlo.zip - 154.50 MB
02 - cm-10-20121217-UNOFFICIAL-jlo.zip - 154.53 MB
03 - cm-10-20121227-UNOFFICIAL-jlo.zip - 153.91 MB

Instructions:
  • Download CyanogenMod 10.0 from the link above
  • Download GAPPS if required
  • Save them to the internal sdcard
  • (The external sdcard shows in CWM too, but I haven't tested this)
Now it's time to be free!

Flash CyanogenMod 10.0:
  • Enter recovery as above
  • Wipe data / factory reset
  • mounts and storage --> format /system
  • Install zip from sdcard --> CyanogenMod 10.0
  • Install zip from sdcard --> GAPPS
  • Reboot
  • ? ? ? ? ?
  • Profit!

Known Issues
  • Stock camera has rotated preview and does not take pictures
  • Notification bar sometimes gets stuck and becomes unusable
  • Recovery Jumps around every time the screen changes (fixed in 03)
  • Notification LEDs do not blink (fixed in 03)
  • Headphones are not detected at all (fixed in 02)
  • Magnetic and orientation sensors do not work (fixed in 02)
(The camera can be partially solved by replacing Gallery2.apk with GalleryGoogle.apk from eg a Nexus S stock JB4.1.2 ROM which allows you to take photos, but the preview is still rotated)
(Notification bar can be fixed by removing "debug.fb.rgb565=0" and "debug.composition.type=mdp" from build.prop)



Everything else just works - WiFi, bluetooth GSM, Data, etc.
If you find any other issues post them!

Below are sources, and attached is the stock kernel if you wish to flash back a CWM backup of the stock ROM

This would have been much more difficult if it wasn't for the FreeXperia Team, so say thanks to them too!

Device folder - Vendor folder - Kernel folder

Click image for larger version

Name:	Screenshot_2012-12-13-15-46-37.jpg
Views:	9592
Size:	20.8 KB
ID:	1560227 Click image for larger version

Name:	Screenshot_2012-12-13-15-47-05.jpg
Views:	10357
Size:	27.5 KB
ID:	1560228
Attached Files
File Type: zip kernel.elf.zip - [Click for QR Code] (4.74 MB, 4749 views)
The Following 19 Users Say Thank You to adfad666 For This Useful Post: [ View ] Gift adfad666 Ad-Free
7th December 2012, 02:37 PM |#2  
Senior Member
Flag phnom penh
Thanks Meter: 25
 
More
Quote:
Originally Posted by adfad666

Hi,

Since CM10 for miro/tipo already exists, I have taken their sources, adapted them for our device, extracted the relevant system files and made a build.

Before I test I just need to get hold of a factory ROM and a way to flash it if it goes a bit wrong. I've heard about something called flashtool, so i'm going to investigate that. Does someone already have experience reflashing a factory ROM?

i think if we have ftf file we always can flash it back with flashtool if something goes wrong.i flash my xperia j 2 times now.and thanks for cm10.waiting for it.may i test it with my xperia j.
7th December 2012, 02:42 PM |#3  
crownpku's Avatar
Member
Flag Hong Kong
Thanks Meter: 20
 
More
I think you can either find a ftf file from the threads and flash it, or just use Sony's update service to flash a factory Rom. Just note that it will wipe your data.

Sent from my ST26i
7th December 2012, 02:48 PM |#4  
adfad666's Avatar
OP Inactive Recognized Developer
Thanks Meter: 4,315
 
More
Great, can you post a link to the correct flashtool? it seems there are a bunch of different versions out there.
7th December 2012, 03:40 PM |#5  
adfad666's Avatar
OP Inactive Recognized Developer
Thanks Meter: 4,315
 
More
I just flashed the generated boot.img, the purple led was shining but I didn't access CWM when I pressed the up button (the led turned blue, but the screen didn't come on).

I'll try the kernel from the unpacked kernel.sin for our device.

EDIT: it's not a kernel problem, the compiled kernel 'boots' just fine (obviously android doesn't fully boot as the boot.img is completely different, however according to logcat most hardware seems to be working fine, the xperia boot logo comes up as normal)
7th December 2012, 04:27 PM |#6  
Senior Member
Thanks Meter: 14
 
More
Quote:
Originally Posted by adfad666

Great, can you post a link to the correct flashtool? it seems there are a bunch of different versions out there.

Yeah, I want to know that too.

Sent from my ST26i
7th December 2012, 05:04 PM |#7  
kishenpj21's Avatar
Senior Member
Thanks Meter: 104
 
More
In flash tool,u can add a driver by yourself for Xperia J...

Go to flash tool directory and double click devices...

In that folder you can c ST27 folder.... If not install all flash tool drivers, then navigate to devices folder n see

Rename ST27 to ST26

In that folder replace loader.sin with xperia J's loader.sin from the ftf file

Restart flash tool and flash... It'll work


>>> Or wait until tomorrow... I'll upload d xperia j driver for any version of flash tool <<<

Sent from my ST26i using xda premium
8th December 2012, 03:25 PM |#8  
adfad666's Avatar
OP Inactive Recognized Developer
Thanks Meter: 4,315
 
More
OK nothing I have tried will get the Xperia J to show CWM. However I suspect it is booting into recovery, but not showing anything on the screen.

To enter recovery I should press the up (or down) button when I see the purple LED and the LED turns blue when successful, which it does.

If I then press the power button when the LED is blue, the phone reboots, like if I had selected reboot phone in CWM, which is usually the first option. If I press up or down then press the power button, nothing happens, another option in CWM is being chosen.

So, why isn't the recovery showing anything on the screen, but the screen will turn on fine during a normal boot? I must investigate further.
8th December 2012, 03:32 PM |#9  
kishenpj21's Avatar
Senior Member
Thanks Meter: 104
 
More
take a look at this thread of mine...ull get to CWM

http://forum.xda-developers.com/show....php?t=2033114
8th December 2012, 04:02 PM |#10  
adfad666's Avatar
OP Inactive Recognized Developer
Thanks Meter: 4,315
 
More
That root method doesn't work on my device, neither on Linux or Windows. My device is still unrooted, could that be a cause of the blank screen? (I doubt it)

EDIT: I don't know why but I tried it again and it worked
8th December 2012, 08:34 PM |#11  
adfad666's Avatar
OP Inactive Recognized Developer
Thanks Meter: 4,315
 
More
OK guys so this happened...

Click image for larger version

Name:	Screenshot_2012-12-08-20-23-48.jpg
Views:	1263
Size:	24.4 KB
ID:	1547546
The Following 2 Users Say Thank You to adfad666 For This Useful Post: [ View ] Gift adfad666 Ad-Free
Post Reply Subscribe to Thread

Tags
development

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes