yashsingh1/xdaforums huggingface dataset:
[Sony Xperia S, Acro S, Ion] Olivier:
Headphones do work for me. Are you sure your hardware is OK?

Gesendet von meinem Lenovo A3000-H mit Tapatalk
[Sony Xperia S, Acro S, Ion] dad2dj:
What a breakthrough! I just want to thank all of you guys for everything you do. I'm using xperia ion locked bootloader and am running CM10 just fine. Thanks for the new phone.:good:
[Sony Xperia S, Acro S, Ion] yawo76:
I'm very sure my hardware is OK? Headphones work on Stock Rom and MIUI Rom. It's only on CM10 that the music does not play through the headset when connected (when headset is connected music still plays on the phone instead of through the headset).

Thanks
[Sony Xperia S, Acro S, Ion] Guynan:
Initramfs

Hi there,

I am trying to port to the Xperia ray. I extracted the kernel from the stock .431 ftf, and then had another look and that isn't what I need at all. I have everything else sorted (I think) but I need to extract the Initramfs from the CM rom. I have looked at the CM roms and the kernel is in the boot.img of which I cannot do anything to with the sksplit tool. Could you please help me here? Because I thought of just unpacking the boot.img, but I would get the ramdisk. I am really determined to get this working.
[Sony Xperia S, Acro S, Ion] letama:
AFAIK, ray kernels are packed with mkbootimg. Check here for instance, I guess this method should work.
[Sony Xperia S, Acro S, Ion] mirhl:
[MENTION=5279173]Guynan[/MENTION]

Can't you simply unlock your bootloader?

On 2011 xperias unofficial methods exist too
[Sony Xperia S, Acro S, Ion] Guynan:
Unfortunately that is impossible due to a restriction put in place by Sony at the request of some carriers making the bootloader unlockable. This is not a software restriction either, it is hardwired into the actual device. So this is something I just have to deal with I'm afraid. :/

---------- Post added at 03:23 PM ---------- Previous post was at 03:19 PM ----------

I'm completely in confusion as to what you did, did you use the stock Sony kernel, or extract one from the appropriate Cyanogenmod version? Also, when taring back into the cm directory, what file format did you use for the Initramfs. Because currently I have file.cpio.gz. I feel I may need to extract this.

Edit: Think I might have figured it out, we will see. :) Thanks for all your help! But have a look at your original post because you say for ion you take the cm initramfs, hence my confusion [MENTION=834547]letama[/MENTION]
[Sony Xperia S, Acro S, Ion] mirhl:
[MENTION=5279173]Guynan[/MENTION]

Afaik if it's a 2011 xperia, you can unlock bootloader allowed:no too

Try googling "testpoint bootloader unclock" or something like that
[Sony Xperia S, Acro S, Ion] Guynan:
That unfortunately is a misnomer as if you look at the link below it is only for phones with the "Bootloader Unlock Allowed: Yes". I have truly investigated everything haha it is a true frustration. :P

http://xdaforums.com/showthread.php?t=1730874
[Sony Xperia S, Acro S, Ion] letama:
I'm not sure which post you're referring, but yes, you have to extract cyanogen initramfs (=file.cpio.gz extracted from cm boot.img) then create a tar with its content, not the one from stock. It will only work if cyanogen kernel is close to stock kernel.
[Sony Xperia S, Acro S, Ion] Guynan:
Oh sorry! One made by DJOliver saying it was a stock kernel.

---------- Post added at 10:25 PM ---------- Previous post was at 10:18 PM ----------

Do you have any specific way of extracting the cpio.gz because gunzip refuses to recognise the gz as its file format. My syntax is perfect btw. Apparently it is a bug known to Oracle regarding the cpio.gz file extension.
[Sony Xperia S, Acro S, Ion] letama:
Oracle ?

.gz is added by the unpack tool, file content could be compressed in another format. Check the first 3 or 4 bytes of the file and try to google them to see if they match a compressor signature (lzo/lzma/gzip...).

when unpacked, you should use cpio -i --make-directories to extract it.
[Sony Xperia S, Acro S, Ion] Guynan:
Okay yeah I'm sure I'll manage, I'll try on another linux distro. And am I right in the assumption that I should extract the initramfs from the boot.img, and then delete that? Because that is the impression I get.
[Sony Xperia S, Acro S, Ion] letama:
Right, you just need the tar file at the end, you can remove everything after it has been created.
[Sony Xperia S, Acro S, Ion] Guynan:
I'm looking through the init.semc.rc.... and this is commented. I haven't seen any other mention of pre_hw_config.sh in any other init.*.rc so Is this how it should be? last question. :) [MENTION=834547]letama[/MENTION]

# Run pre_hw_config.sh before entering Charge only mode.

#

# LeTama: don't do that, we don't want infinite loop

# exec /system/bin/sh /system/etc/pre_hw_config.sh

---------- Post added at 09:56 AM ---------- Previous post was at 09:22 AM ----------
[Sony Xperia S, Acro S, Ion] letama:
Yes, you should comment that in cm initramfs.

Do you have a call to pre_hw_config.sh in your stock firmware ? If you don't, this method won't work as is, you need to play with chargemon instead.
[Sony Xperia S, Acro S, Ion] Guynan:
I'll have a look later on. The firmware is a pretty vague location, where exactly? and okay I'll have a look at the chargemon too. Thank you for all your help, I'm not a real developer, so this is a bit of a learning curve, but thankfully I understand the rest of android quite well.
[Sony Xperia S, Acro S, Ion] letama:
In /system/etc if I remember well, it should be launched from /init.****.rc files.

chargemon is in /system/bin usually.
[Sony Xperia S, Acro S, Ion] Guynan:
Has it been ported to any other devices, to your knowledge?
[Sony Xperia S, Acro S, Ion] letama:
Yes, on ion, but ion is quite similar to XS.

Method should work with many devices with chargemon, pre_hw_config.sh is not on every phone, chargemon is more common. The only trick is to have a proper cm that works with stock kernel.
[Sony Xperia S, Acro S, Ion] Guynan:
I'm trying a CM9 and it seems to call it in its stock kernel so I'll flash it soon and see how we get on! :)
[Sony Xperia S, Acro S, Ion] waterjavy:
That works on cm10 on xperia U?
[Sony Xperia S, Acro S, Ion] Guynan:
Unfortunately not, you will need it ported to your device with the initramfs tared into the cm.tar. This actually isn't too hard to do, just impractical to get working. If you want to try, Letama has made it easily accessible to start. I have taken a little break from porting it to Ray due to starting school, but if you would like some help, I can. :)
[Sony Xperia S, Acro S, Ion] Guynan:
Hi there, the chargemon, how would you edit that, it isn't openable in notepad type programs [MENTION=834547]letama[/MENTION]
[Sony Xperia S, Acro S, Ion] letama:
Yes, chargemon is an executable. You must rename it, to for instance chargemon.org, and create a script named chargemon. It will be launched instead of the original executable.

Don't forget to call original chargemon.org at the beginning of your script, else offline charging will be broken.
[Sony Xperia S, Acro S, Ion] Guynan:
ahh wow that is so brilliant. Thank you. I'll see if I need it. School has started again so I'm taking a little bit of a break. :)
[Sony Xperia S, Acro S, Ion] Zorbeyd:
How can we edit step2.sh without calling external initframs.tar ?

I want to use TWRP on stock rom and i can not edit chargemon ( dont know how unpack-pack ) and i need this scripts.

[MENTION=834547]letama[/MENTION] [MENTION=4329876]djolivier[/MENTION]
[Sony Xperia S, Acro S, Ion] Olivier:
Download latest CWM by Cray_doze from here and replace the file "install-pkg.tar.gz" with the one I have attached. After having done this, just execute and you'll have dual recovery, however I have forgotten which volume key boots which recovery. :p
[Sony Xperia S, Acro S, Ion] Zorbeyd:
Hi again,

I use Fedora 32bit, and i am not able to use install script on my OS. And i tried to do it manually. I guess there is a problem with chargemon.. (Not sure)

What did i do?

Firstly i changed pre_hw_config.sh to stock one, and deleted step2.sh.

Deleted recovery.tar and initframs.tar on /system/bin

Extracted install.pkg (yours) and copied btmgr - recovery directories to my roms /system .

I copied my stock chargemon to : chargemon.bin.org , chargemon.org , chargemon.stock and charger on same directory /system/bin .

And i copied /system/btmgr/bin/chargemon to /system/bin .

When booting phone, no led appears and it boots normally.

-

If we can do it, XperiaION users will be always grateful to you.. Thanks
[Sony Xperia S, Acro S, Ion] Olivier:
You could do it easier. Just install ADB and do the following:

adb kill-server
adb wait-for-device
adb push files/cwm-install.sh /data/local/tmp/
adb push files/install-pkg.tar.gz /data/local/tmp/
adb shell chmod 755 /data/local/tmp/cwm-install.sh
adb shell su -c /data/local/tmp/cwm-install.sh
adb pull /data/local/tmp/cwm-install.log

Gesendet von meinem Lenovo A3000-H mit Tapatalk
[Sony Xperia S, Acro S, Ion] Zorbeyd:
This is cooler than mine [MENTION=4329876]djolivier[/MENTION] :)

Now, led appears blue when booting. But it enter only with Volume Up button to TWRP, no volume down process work, can not enter CWM. And TWRP can not mount system and data. Maybe i can fix it with ported TWRP for ion. But how can i make it dual recovery, dont know.

This is my log,

20140202 084742: busybox mount -o remount,rw /system
20140202 084742: RET=0
20140202 084742: cd /system
20140202 084742: RET=0
20140202 084742: gzip -d /data/local/tmp/install-pkg.tar.gz
20140202 084742: RET=0
20140202 084743: tar xf /data/local/tmp/install-pkg.tar
20140202 084743: RET=0
20140202 084743: cp -p /system/bin/chargemon.bin.org /system/bin/charger
20140202 084743: RET=0
20140202 084743: cp -p /system/btmgr/bin/chargemon /system/bin/chargemon
20140202 084743: RET=0
[Sony Xperia S, Acro S, Ion] Olivier:
Just unpack install-pkg.tar.gz, add Ion-compatible recoveries and re-pack it.

Gesendet von meinem Lenovo A3000-H mit Tapatalk
[Sony Xperia S, Acro S, Ion] Mirhawk:
Delete

Delete
[Sony Xperia S, Acro S, Ion] Guynan:
Is your bootloader unlockable?
[Sony Xperia S, Acro S, Ion] Olivier:
deleted (obsolete) :)
[Sony Xperia S, Acro S, Ion] x.danik:
stock based kernel - DooMKernel?

Can i use stock based kernel like DooMKernel for this rom?
[Sony Xperia S, Acro S, Ion] Olivier:
Yes, it should be possible.

Gesendet von meinem Lenovo A3000-H mit Tapatalk
[Sony Xperia S, Acro S, Ion] sessions04:
Hi DJOliver!

one question: I see in your download site here two ROMS for our XS:

http://marvellous.jomibe.de/djolivier.html

Sony Xperia S (nozomi) [LB] Marvellous CM10 09/02/2014

Sony Xperia S (nozomi) [LB] AOKP 11/02/2014

What is the difference between the "marvellous CM10" and this one:

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

It's a little bit irritating, as the release date is 09.02 - did you do an update to your CM10 or is it just a mirror?

thanks!
[Sony Xperia S, Acro S, Ion] Olivier:
It was actually a test build because I wanted to check if I can flash my homemade builds but then I decided to share it with you all since you wanted an update. "Marvellous CM10" is actually a ROM I made for my old device, but in this case, it's just pure CM10 with mixed (fixed) camera blobs and GAPPs.

In short: It's not an update. Maybe I will add more features, we will see. That is also why I changed the name. :)

Gesendet von meinem Xperia S mit Tapatalk
[Sony Xperia S, Acro S, Ion] sessions04:
I understand.

I will test your AOKP build in the next days and will provide a report.

Thanks for all and keep up your good work!

Gesendet von meinem LT26i mit Tapatalk
[Sony Xperia S, Acro S, Ion] maddboss:
Is this works with cm11?
[Sony Xperia S, Acro S, Ion] charleston2378:
thanks a lot for this
[Sony Xperia S, Acro S, Ion] nisu4717:
No
[Sony Xperia S, Acro S, Ion] wawan60:
Help :)

Hey everyone !

I got a xperia S lt26i bootloaded locked.

I tried this thread but it doesn't work for me.

How i did it:

1- flash system to 452 firmware

2- enable root using: root by binary v11

3- installing busybox (busybox app on store) for CWM

4- installing CWM following: crazy-doze mod v6.0.3.0

5- copy .zip in xperia memory

6- reboot on recovery, install cm10.zip then gapps.zip

7- reboot and infinite loop on sony logo

At 7 my only option is to shut it down and reflash from 452 firmware.

I tried it twice :/

Any clue/advice ?

Thanks :)

Edit:

Sorry i did something wrong ! Thanks for this mod ;)
[Sony Xperia S, Acro S, Ion] fzelle:
And what did you do wrong?

Just if someone else does the same mistake.
[Sony Xperia S, Acro S, Ion] Olivier:
He hadn't flashed the 6.2.B.1.96 kernel.

Gesendet von meinem Xperia Z1 mit Tapatalk
[Sony Xperia S, Acro S, Ion] MisterGame7Web:
1. Flash the .211 version.

2. Turn on your phone, active debugging mode and allow the installation of unknown sources apps.

3. Root your phone.

4. Then, flash the .96 version.

5. Finally, install the CWM6 recovery by DoomLord and you can enjoy the ROM ! :D

---------- Post added at 12:42 AM ---------- Previous post was at 12:00 AM ----------

I give you 10 $ if you adapt this or just a normal CM11 ROM successfully for our locked bootloaders phones !
[Sony Xperia S, Acro S, Ion] maddboss:
can I use this method to install kitkat or lollipop for locked bl?
[Sony Xperia S, Acro S, Ion] Mirhawk:
Nope, You cannot use any version greater than the official to install on locked bootloader. In case of Xperia S, the last official version was 4.1.2, so You cannot install any ROM which have version greater than 4.1.2, not even the version 4.2.2 .
[Sony Xperia S, Acro S, Ion] maddboss:
I can't understand why I can't use greater version than the official

I think using this method should also work for kitkat or lollipop:

If not then please explain it to me why
[Sony Xperia S, Acro S, Ion] Mirhawk:
You cannot use it because You need a different kernel than stock one for KitKat/Lollipop ROM's to work. And to flash a kernel, You need to unlock bootloader. The cm10 works on locked bootloader because it might have been made to work with stock kernel.
[Sony Xperia S, Acro S, Ion] maddboss:
I knew that I can't use other kernel on lb. I thought it boot up with other kernel on lb somehow
[Sony Xperia S, Acro S, Ion] mirhl:
This rom is using a different ramdisk. Kernel, while related is other things too
[Sony Xperia S, Acro S, Ion] milanas:
Could you please share more info about, how it is fixed?

Thanks!
[Xperia Z1 Q&A, Help & Troubleshooting] wezzel98765:
I have a c9603 z1 and used the Nordic unbranded ftf to flash my phone. I unticked the three options top right so that nothing would be deleted.

Once the flash was complete, I unplugged the phone around 30 seconds after it finished flashing. Now the phone is completely and utterly dead. No power light from socket or USB

Have tried press and hold vol + power, up and down, press the little reset button..... just lost as to what else to do :(

Worse thing is, this impatient idiot didn't backup before updating either because I was impatient!
[Xperia Z1 Q&A, Help & Troubleshooting] eclyptos:
Try Sony Update Service and follow the steps, press the Volume-down and connect the phone to PC when asked, see if the phone is recognized by the program.
[Xperia Z1 Q&A, Help & Troubleshooting] hush66:
Try flashing again but this time, just untick the "Wipe data" option.
[Xperia Z1 Q&A, Help & Troubleshooting] chivuletz:
I have the same problem !! PLS HELP !! THE PHONE IS DEAD !! My pc don`t recognize the phone !! no led... the phone not charging! what to do?? help please.
[Xperia Z1 Q&A, Help & Troubleshooting] wezzel98765:
Phone is entirely lifeless ... no LED light, NOTHING

When connect to PC... nothing at all happens, doesn't even pick up the phone!

Have tried VOL + and power

VOL - + power

VOL - and power

Still NOTHING... phone is DEAD :(
[Xperia Z1 Q&A, Help & Troubleshooting] Iglesias21:
Me too!

Same thing just happened to me. I only unticked wipe date though. As I didn't back up my phone. The other 2 options were ticked. unplugged phone, press power button, and it vibrates but thats it. volume up button and power button, makes the phone vibrate three times. Just put phone on charge, all I get is a blinking red LED light. I thought it was just me. What to do?? I can't afford to lose what is on my phone!
[Xperia Z1 Q&A, Help & Troubleshooting] RHBH:
Did you tried the physical reset button under the sim card flap?

Also, you can let your phone charge for some hours, if you see a RED LED after sometime, your phone can be saved!
[Xperia Z1 Q&A, Help & Troubleshooting] Iglesias21:
yes. I pressed it with a pin. Nothing. I kept it pressed for 10 seconds. Nothing. I see a red light. But its blinking... That's never happened before.Even if the battery has completely died. This is werid...
[Xperia Z1 Q&A, Help & Troubleshooting] [Fenix]:
Red LED? maybe it's just a dead battery bro
[Xperia Z1 Q&A, Help & Troubleshooting] eclyptos:
After flashing you have to wait long time before he run up. So I don't know how long you just wait after that. I got different problem, I connect the phone via flashtool, I star the flash but the phone turn on by its self and the flash is cancelled. The best thing, nothing happen to my phone. What's that?
[Xperia Z1 Q&A, Help & Troubleshooting] maxboy:
If you didnt unlock bootloader and flash something else, Please try sony update service.

I tried rescure a complete coma TX, it struggle a lot to flash (took longer than ususal time) and it evetually boot after 5 flashes with SUS.
[Xperia Z1 Q&A, Help & Troubleshooting] [Fenix]:
I think this is a problem of wrong connection...sometimes it happens to me
[Xperia Z1 Q&A, Help & Troubleshooting] Iglesias21:
No bro. I'm not too sure. I'm not new to this flashing game. I know what I was doing. Its blinking. that's never happened before. I've left it on charge for 20 minutes now. I can reflash and wipe everything but I have too much important stuff I can't afford to lose. Sudden death issue?? is it back? I will leave it for an hour and go out for a walk. Doing my head in lol. I know it's just a phone but arghhhh. Earlier on I was talking of a fresh start. God literally handed me one on a platter LOL
[Xperia Z1 Q&A, Help & Troubleshooting] [Fenix]:
BTW if it is the battery after a while the LED should turn orange if left in charge...
[Xperia Z1 Q&A, Help & Troubleshooting] eclyptos:
How can be wrong?
[Xperia Z1 Q&A, Help & Troubleshooting] Iglesias21:
wait long time before he run up? lol what? The screen does not turn on, clearly I'm not waiting for anything so I'll just let the battery charge for an hour and hope for the best :(
[Xperia Z1 Q&A, Help & Troubleshooting] eclyptos:
Yes, it's also describe on every custom rom thread. Go check. Leave the phone under charge and get a fresh air. You will solve this.
[Xperia Z1 Q&A, Help & Troubleshooting] [Fenix]:
I would not say stupid things bro but I think the recognition of the phone from flashtool is given by the time you hold down the volume - ... when I do it so fast I have always an error ... then again ... maybe :)

[MENTION=2696066]Iglesias21[/MENTION]

happened to me a similar thing with the old xperia p when I flashed an update ... but I think a flash of this type would not hurt a phone ever so much ... the fact that the computer does not recognize the driver 's I solved it by restarting the pc as I left the phone in the office to charge it thinking it was the fault of the battery ... after retry everything was ok...
[Xperia Z1 Q&A, Help & Troubleshooting] eclyptos:
Ok, let's try again, now I will hold the volume to the beginning of the flash. Is not possible I have to hold the volume all the time.
[Xperia Z1 Q&A, Help & Troubleshooting] dexterxda:
To people, with bricked Z1 after flashing, what was your battery percentage before the flash? Coz users appear to experience a huge drop in the percentage after the flash. Maybe it emptied your batteries... I don't know, just a suggestion. Hope you can fix it by letting the phone charge for a few hours.
[Xperia Z1 Q&A, Help & Troubleshooting] pridaalya:
same xperia z1 dead

Update my phone to 4.3 rom and finish the steps in the upgrade my phone simply did not react to anything after a few hours connected to the charger only gave a red light blinking, the computer detected it only a few seconds and then I ignored it flash tool detects it as a purification device connexion off.

I was trying everything to revive my phone for a day. yesterday take my phone to a sony service center told me that today would be ready that they would charge you a restore and firmware.

After reading and reading and reading about it I still do not know what the problem really was

Sorry for the wording of the text use google translatoro
[Xperia Z1 Q&A, Help & Troubleshooting] ..::Alex00::..:
did you use PC Companion?

My Xperia Z1 after upgrading to 4.3 with flashtool also died :/

My PC Doesn't Recognize the device, and no LED Signal with Charger
[Xperia Z1 Q&A, Help & Troubleshooting] Rekoil:
After reading about people whose phones were ruined by a regular SUS update to .290, as well as those having trouble from a FlashTool upgrade, I'm starting to think the issue might be something other than user error, perhaps there are different hardware variants out there and one of them isn't compatible with the current release? Or maybe it's simpler than that even. We've been noticing strange battery-related things when upgrading to .290 (and then subsequently normal operations thereafter), perhaps the issue is related to this somehow?
[Xperia Z1 Q&A, Help & Troubleshooting] pridaalya:
Use flashtools and Rom with the phone was died of ihackers pure with stock v .290 coming to the conclusion that the problem is due to the different versions as C690X
[Xperia Z1 Q&A, Help & Troubleshooting] Restricti0n:
Same here...

Pretty much having the same problem now. I find that the trend is that we're all upgrading to .290. Is there some fault here on Sony's part? Or am I doing something wrong here. .534 ftf -> Flashtool -> .290 ftf -> Bricked Phone. I have no clue how to fix it, so just going to wait for a solution somewhere or another, already contacted Sony Xperia Care to get an RMA through.
[Xperia Z1 Q&A, Help & Troubleshooting] piper_indebt:
Same boat! Left mine plugged in the wall charger, will Try to flash by sus, as flashtool gives me usb debugging is off. My case, i flashed using flashtool v9.11, wiped everthing, exlude system only, then phone boot up to sony, then after a while died. 20% battery before flashing. Will update you guys if i Have luck going into flash mode.
[Xperia Z1 Q&A, Help & Troubleshooting] ArashMiniStar:
Why did you use flash tool.v9.11?? You should use v9.13 :(
[Xperia Z1 Q&A, Help & Troubleshooting] Meni30:
Yours is not dead if u can charge and boot to sony....
[Xperia Z1 Q&A, Help & Troubleshooting] zeppelinrox:
You flashed the whole thing with all wipes?
[Xperia Z1 Q&A, Help & Troubleshooting] funky0308:
Sometimes device hangs into fastboot mod.

So try to open flashtool and try to flash firmware...

Sent from my Z1
[Xperia Z1 Q&A, Help & Troubleshooting] 8geek:
Unfortunately, I have just joined this 'group'.

Mine is really not showing any signs of life. Charged it for about an hour now. Still no red LED, and of course all other combinations and hard resets.
[Xperia Z1 Q&A, Help & Troubleshooting] Restricti0n:
No, unchecked all wipes.
[Xperia Z1 Q&A, Help & Troubleshooting] zeppelinrox:
In an effort to figure out a pattern, check out this thread and take part in the poll please...

http://xdaforums.com/showthread.php?t=2574764
[Xperia Z1 Q&A, Help & Troubleshooting] gallardo5:
So anyone that has claimed their warranty got it accepted and phone repaired or replaced for free?
[Xperia Z1 Q&A, Help & Troubleshooting] ILikeTheWayYouMove2:
Mine been sent off they sent a email saying they received it and will evaluate it to check if its covered by warranty I will post back here when I get another email off sony
[Xperia Z1 Q&A, Help & Troubleshooting] piponxs:
Flashed from 4.2 to generic Europe 4.3 didnt untick nothing, turned on the phone and everything ok
[Xperia Z1 Q&A, Help & Troubleshooting] gallardo5:
Thanks. Btw, in what country did you send it to sony?