yashsingh1/xdaforums huggingface dataset:
[Sony Xperia S, Acro S, Ion] KreenTW:
Thanks for your quickly reply. I'll try and find the stock rom ftf.........

-edit 11:54-

I'm really appriciate moe18's help, my phone alives again.

For those people who suffer same tragedy like me, u may:

1.download flashtool here:http://bit.ly/1zZEqdb

2.download stock rom ftf here:http://bit.ly/1zZEyt5

Then flashed ftf by flash tool, you may find guide here, your phone will be fine.

Original files not from me, the only thing I did is mirroring this two files to google drive for download faster. Hoping that may relieve of anxiety or tension from process of recovery phone.

-edit 01:13

For those people who use win7 64-bit: install twrp 2.8.5.0, then following the original post' steps in recovery mode seems to be more easy to go.

Now, my phone has 8GB rom & it's works perfectly.

Thanks to SystemR89 for tutorial & moe18' s help.
[Sony Xperia S, Acro S, Ion] Mirhawk:
Your adb is of older version. Download SDK Tools only from here and install it. Then open it and You will find platfrom tools inside it. Download it using the SDK manager and then You will find latest adb inside platform-tools folder.
[Sony Xperia S, Acro S, Ion] ibtihaaz:
I will surely roger that and get back 2 u wen I get bk home
[Sony Xperia S, Acro S, Ion] ibtihaaz:
ADB Not detecting device

Hi again ... i am trying to get adb to work and detect my device so that i can increase my data partition ...

There must be something i am missing here ... i know usb debugging mus be enable and root and adb enabled ... terminal was not enaled so i enabled it incase that was necessary but not ... here is a screen shot i took .. i tried downloading the SDK tools in case my adb was outdated ... but no luck so far .. any ideas any1
[Sony Xperia S, Acro S, Ion] Mirhawk:
Did You install the adb drivers? because the device is not being recognized!
[Sony Xperia S, Acro S, Ion] ibtihaaz:
not sure

Flashtool-drivers-1.5-20140318 .... i have this and i installed the xperiaS ics drivers ... should i install other adb drivers as well ??
[Sony Xperia S, Acro S, Ion] mirhl:
Check windows device manager
[Sony Xperia S, Acro S, Ion] sabaatworld:
Will this method work with other devices?

just curious?
[Sony Xperia S, Acro S, Ion] Mirhawk:
As PunchUp said, You should have a driver installed in Device Manager as the image attached

Was there any need to quote the entire post? Plus, yes it is possible to implement similar method on other phones, but You need to change certain instructions to suit for the phone.
[Sony Xperia S, Acro S, Ion] cheyyun2015:
Help me please
[Sony Xperia S, Acro S, Ion] PunchUp:
Check your mounted partitions inside TWRP. If it's already unmounted, you don't need to use that command.

If it's checked inside TWRP and the command is still not working then just unmount it from TWRP
[Sony Xperia S, Acro S, Ion] cheyyun2015:
How to unmount it from TWRP and now storage:Internal SDcard (0MB)
[Sony Xperia S, Acro S, Ion] PunchUp:
Have to use some common sense man. If you don't understand what unmounting from TWRP means, I don't think you can do this

Just click on that. When the check mark goes away, it's unmounted
[Sony Xperia S, Acro S, Ion] cheyyun2015:
I still do not understand you mean click on that ( where I can click on )
[Sony Xperia S, Acro S, Ion] PunchUp:
The partitions you see under “Mount” in TWRP
[Sony Xperia S, Acro S, Ion] cheyyun2015:
you mean select all partition , but I only can select on ( system and cache ) and can not select on (data and Internal SDcard ).

Should I Mount USB storage or Disable MTP next step ?
[Sony Xperia S, Acro S, Ion] PunchUp:
You don't have to do anything to other partitions. If SD card is already unmounted, proceed with other steps in the tutorial
[Sony Xperia S, Acro S, Ion] cheyyun2015:
You mean that let me skip that step
[Sony Xperia S, Acro S, Ion] cheyyun2015:
What should I do ?
[Sony Xperia S, Acro S, Ion] cheyyun2015:
I have been wipe something other than data and sd , what should I do ?
[Sony Xperia S, Acro S, Ion] cheyyun2015:
Could you help to do next step
[Sony Xperia S, Acro S, Ion] cheyyun2015:
what should I do next step , I mean close CMD or not
[Sony Xperia S, Acro S, Ion] cheyyun2015:
Could anyone help me about next step :

1).Should I close cmd or not ?

2).After I wipe data and SDCard , How can I push rom and gapps to sd card ?
[Sony Xperia S, Acro S, Ion] PunchUp:
Everything is very clearly written in the first post. Read properly
[Sony Xperia S, Acro S, Ion] cheyyun2015:
When I try to wipe It say wipe complete failed and unable to mount storage.
[Sony Xperia S, Acro S, Ion] vishals16:
What are you trying to wipe?

You have to wipe data and sdcard. Connect the phone in twrp to your computer and try wiping through cmd with the following commands.

adb shell
make_ext4fs /dev/block/mmcblk0p14
mkdosfs /dev/block/mmcblk0p15

After that push the rom and gapps to sdcard as mentioned in the tutorial.

adb push rom.zip /sdcard/
adb push gapps.zip /sdcard/

Type the address of rom and gapps in the above commands or you can place them in platform tools folder to use those commands as it is.
[Sony Xperia S, Acro S, Ion] cheyyun2015:
Command (m for help): ←[6nt

t

Partition number (1-14): ←[6n14

14

Hex code (type L to list codes): ←[6nc

c

Changed system type of partition 14 to c (Win95 FAT32 (LBA))

Command (m for help): ←[6nw

w

The partition table has been altered.

Calling ioctl() to re-read partition table

fdisk: WARNING: rereading partition table failed, kernel still uses

evice or resource busy

~ # ←[6n

C:\SDK\platform-tools>adb shell

~ # ←[6nmake_ext4fs/dev/block/mmcblk0p14

make_ext4fs/dev/block/mmcblk0p14

/sbin/sh: make_ext4fs/dev/block/mmcblk0p14: not found

~ # ←[6n
[Sony Xperia S, Acro S, Ion] vishals16:
You missed a space in make_ext4fs$/dev/block/mmcblk0p14

$ represents a space

Type them correctly
[Sony Xperia S, Acro S, Ion] cheyyun2015:
C:\SDK\platform-tools>adb shell

~ # ←[6nmake_ext4fs/dev/block/mmcblk0p14

make_ext4fs/dev/block/mmcblk0p14

/sbin/sh: make_ext4fs/dev/block/mmcblk0p14: not found

~ # ←[6nmake_ext4fs$/dev/block/mmcblk0p14

make_ext4fs$/dev/block/mmcblk0p14

/sbin/sh: make_ext4fs$/dev/block/mmcblk0p14: not found

~ # ←[6n

---------- Post added at 09:57 AM ---------- Previous post was at 09:38 AM ----------

~ # ←[6nmake_ext4fs /dev/block/mmcblk0p14

make_ext4fs /dev/block/mmcblk0p14

Need size of filesystem

~ # ←[6nmkdosfs /dev/block/mmcblk0p15

mkdosfs /dev/block/mmcblk0p15

mkdosfs 3.0.12 (29 Oct 2011)

/dev/block/mmcblk0p15: No such file or directory

~ # ←[6n
[Sony Xperia S, Acro S, Ion] cheyyun2015:
Help me please , my internal sdcard goes 0MB and can not do anything else properly
[Sony Xperia S, Acro S, Ion] StarChaserX:
First do no harm

I think you should reflash Stock JB. That will reset everything that might have gone wrong in your attempt.

Instead of trying to fix it at this level, better to give it a reset and start afresh.

Cheers

SC
[Sony Xperia S, Acro S, Ion] cheyyun2015:
I can not power off to put in flashmode or fastboot mode , now my phone automatic turn off and on forever.This problem is happened after flash kernel 6.2.B.1.96.ftf and debbugging off . Please help me .....
[Sony Xperia S, Acro S, Ion] cheyyun2015:
I can not power off to put in flashmode or fastboot mode , now my phone automatic turn off and on forever.This problem is happened after flash kernel 6.2.B.1.96.ftf and debbugging off . Please help me .....

---------- Post added at 04:18 AM ---------- Previous post was at 04:13 AM ----------

I can not power off to put in flashmode or fastboot mode , now my phone automatic turn off and on forever.This problem is happened after flash kernel 6.2.B.1.96.ftf and debbugging off . Please help me .....

---------- Post added at 04:20 AM ---------- Previous post was at 04:18 AM ----------

I can not power off to put in flashmode or fastboot mode , now my phone automatic turn off and on forever.This problem is happened after flash kernel 6.2.B.1.96.ftf and debbugging off . Please help me .....

---------- Post added at 04:24 AM ---------- Previous post was at 04:20 AM ----------

I can not power off to put in flashmode or fastboot mode , now my phone automatic turn off and on forever.This problem is happened after flash kernel 6.2.B.1.96.ftf and debbugging off . Please help me .....
[Sony Xperia S, Acro S, Ion] PunchUp:
Don't flood the thread!!

Just press and hold power and volume key for a few seconds.
[Sony Xperia S, Acro S, Ion] cheyyun2015:
I am sorry for flood the thread . Could I flash stock rom , If debbugging has been off
[Sony Xperia S, Acro S, Ion] PunchUp:
Yes you can. Just use flashtool
[Sony Xperia S, Acro S, Ion] cheyyun2015:
After flash it already , If I want to increase data partition and install rom 5.0.2 .How many steps I have to complete ?
[Sony Xperia S, Acro S, Ion] PunchUp:
Increase data from tutorial. Push the ROM and then flash it
[Sony Xperia S, Acro S, Ion] cheyyun2015:
Thank you !! It is working for me .
[Sony Xperia S, Acro S, Ion] cheyyun2015:
When flashing finish , it show me like this ( please see attach picture )
[Sony Xperia S, Acro S, Ion] PunchUp:
Phone not booting?
[Sony Xperia S, Acro S, Ion] cheyyun2015:
what should I do ? now my phone still green light.
[Sony Xperia S, Acro S, Ion] cheyyun2015:
how to root firmware 6.2.B.200 , because can not install su binnary
[Sony Xperia S, Acro S, Ion] PunchUp:
You really should stay on stock ROM without any root if you find all this so difficult to do.

EVERYTHING is properly written. There are are proper guides to root, flash, etc. Search a bit and don't expect everything to be spoonfed. There are advanced users to help you out, but if you don't even begin to try and find out the basic things on your own, there's no point
[Sony Xperia S, Acro S, Ion] cheyyun2015:
Can you give me any links to download firmware 6.2.B.0.211 ?

Cause link to download it is not working for me
[Sony Xperia S, Acro S, Ion] mirhl:
Bloody heaven. It's almost a 2 year old firmware. There are plenties of root methods, including towelroot which doesn't even need a computer.

Besides, you have unlocked bootloader. You can at any time flash doomkernel and then from the included recovery supersu
[Sony Xperia S, Acro S, Ion] PunchUp:
Why are you using an emulator?
[Sony Xperia S, Acro S, Ion] cheyyun2015:
I just flash rom 5.0.2 and then install twrp recovery
[Sony Xperia S, Acro S, Ion] cheyyun2015:
Encryption unsuccessful : Encryption was interrupted and can not complete.As a result,the data on your phone is no longer accessible.To resume using your phone , you need to perform a factory reset.When you set up your phone after the reset,you'll have an opportunity to restore any data that was backed up to your google account. [ RESET PHONE ]
[Sony Xperia S, Acro S, Ion] Mirhawk:
You haven't read the thread properly. After You run the command umount /sdcard , on phone in TWRP go to mount and untick everything.
[Sony Xperia S, Acro S, Ion] cheyyun2015:
you mean go to mount and untick everything , then wipe data and sdcard now I still do not understand yet .

---------- Post added at 04:19 PM ---------- Previous post was at 04:08 PM ----------

you mean after step 3 ( umount /sdcard ) go to mount and untick everything , then continuous to step 4 or not

---------- Post added at 04:59 PM ---------- Previous post was at 04:19 PM ----------

Could you help me last step ?
[Sony Xperia S, Acro S, Ion] StarChaserX:
UNMount!

You see the error because 'Cache' partition is still mounted.

Unmount that partition and write the partition table again.

This will do.

Cheers

SC
[Sony Xperia S, Acro S, Ion] Mirhawk:
Yup, that's what I mean.
[Sony Xperia S, Acro S, Ion] cheyyun2015:
I have completed all step , now my phone has 8GB of internal storage.Thank you all of you for help me and wish you all have good luck forever !!!!!!
[Sony Xperia S, Acro S, Ion] yamuto01:
Me too but with a few difficult.

Thanks ! :)
[Sony Xperia S, Acro S, Ion] Super98:):
Can someone make an easy Windows tool to make the procedure more noob friendly, please ? It would be awesome :D

Anyway, can these steps be performed using Windows' default cmd?

Thanks in advance
[Sony Xperia S, Acro S, Ion] vishals16:
Yes.
[Sony Xperia S, Acro S, Ion] mirhl:
Adb is a command line tool. OF COURSE you have to use cmd.

But you'll also need drivers ans adb itself
[Sony Xperia S, Acro S, Ion] pejman97:
please make a video of doing these steps..i'm totally confused..please:(
[Sony Xperia S, Acro S, Ion] Darth Inferno:
Hi friend, Follow this link, there you can find a detailed ( with screen Shot) tutorial for do this, if you follow estep by estep this tutorial you don't have any problems the only problem with this link is that this tutorial is in spanish and you need use an translator

https://www.facebook.com/notes/xper...cion-de-datos-lollipop-kitkat/947809471897721
[Sony Xperia S, Acro S, Ion] zaidx:
How to do this using windows? Please I really need this
[Sony Xperia S, Acro S, Ion] sonypro:
do you have the android sdk files?
[Sony Xperia S, Acro S, Ion] sonypro:
help please

i can't mount sdcard anymore it say it can't find such directory
[Sony Xperia S, Acro S, Ion] Darth Inferno:
friend is exactly the same just you need get installed in your pc SDK for you can use the adb, once you get adb in your pc and fastboot drivers installed, go to the folder where you have installed SDK, find the platform-tools folder open it, under the platform folder open a command window and do it

PD: Sorry for my bad english

---------- Post added at 03:57 PM ---------- Previous post was at 03:54 PM ----------

ok friend dont be a fraid, what is exactly you are doing? you have a fastboot driver isntalled on your pc? and test de conection between your cellphone and adb?

EDIT: ok sorry go to the recovery/mount selec all your partitions that is all, with this you can mount again your sd card
[Sony Xperia S, Acro S, Ion] zaidx:
Thanks man

Now I know where to start :good:
[Sony Xperia S, Acro S, Ion] vishals16:
Were you able to save the new partition table? If you were then go to advanced wipe in twrp and wipe both the data and sdcard partitions. Then you will be able to mount them successfully.
[Sony Xperia S, Acro S, Ion] sonypro:
apparently i missed the last step so my phone screwed so i flashed through flashtool and it worked then i retried and everything went so smooth and i even noted the sd size went from 26gb to 20gb so i thought it worked so i wiped data and sdcard but when i tried to flash my rom through adb sideload i got error: able to mount /system so i forced to re flash through flashtool again and at startup it tool me the internal partition is empty or unsupported so it had to format and nothing happened can you tell me what to do?
[Sony Xperia S, Acro S, Ion] vishals16:
So you again flashed the stock ftf and the partitions are now removed right?

Just Start the process again. Unmount sdcard through twrp. When you are able to save the partition table, it means that you have succeeded. Then just wipe the data and sdcard partition.

Then push the rom and gapps to sdcard as mentioned in the tutorial and flash them. (Don't use sideload to flash just to be safe)
[Sony Xperia S, Acro S, Ion] emkila:
Trouble proceeding beyond first step

Hi. When I reboot into TWRP, I am unable to connect the phone and have it available for adb commands. However, with the phone on, I can start up ADB shell and the phone connected to. I am unable to proceed beyond "umount /sdcard" as I keep getting a "device or resource busy" error message.

I have tried the above in both Windows 8.1 and Linux Mint with the same result .

What could be wrong?

Thanks.
[Sony Xperia S, Acro S, Ion] Darth Inferno:
Ok friend, maybe your problem with windows is that you need install fastboot drivers, the driver that windows install automatic cant be used for use adb, now with Linux maybe you need create a permission rules this permission rules contain de IDvendor of your equipment for fastboot, flashboot and adb connection, if you dont create this rules you cant use adb

if you don't know how install the fastboot drivers or create linux permission rules follow this link, if you dont speak spanish use a translator y this is a very complete tutorial for installation of SDK adb and fastboot for windows and Linux

https://www.facebook.com/notes/xper...en-la-pc-para-windows-y-linux/948213601857308
[Sony Xperia S, Acro S, Ion] luigi0824:
I'm experiencing this issue right now. How did you fix it?
[Sony Xperia S, Acro S, Ion] mirhl:
Adb drivers.. 99% of times that's the problem
[Sony Xperia S, Acro S, Ion] luigi0824:
Tell me, how do I fix it?
[Sony Xperia S, Acro S, Ion] vishals16:
Right click on the xperia s with the exclamation mark in device manager and click on update driver. Then browse computer and select let me pick and select sony adb interface. Once it is successfully installed, the system will recognize the device in recovery.

PS : I assume you have installed all the drivers available in flashtool.
[Sony Xperia S, Acro S, Ion] luigi0824:
The problem is that I don't see Xperia s with exclamation mark in the device manager. I can only see it with cwm not twrp
[Sony Xperia S, Acro S, Ion] darknessmc:
Show hidden devices in device manager and uninstall Xperia S then connect your device and you'll see it
[Sony Xperia S, Acro S, Ion] mirhl:
Then it must have been installed (with wrong drivers?) under another name
[Sony Xperia S, Acro S, Ion] senadin001:
Can anyone please help me fast, i've done everything fine and i'm on last step, i don't know how to push ROM and GAPPS, i didn't close cmd and when i type adb push (name of my rom).zip / sdcard / there comes an error, i'll attach screenshoot, [IMG="Screenshoot"]http://i.imgur.com/hpmqztH.png[/IMG]

pls help fastly, i'm waiting
[Sony Xperia S, Acro S, Ion] senadin001:
Anyone please ?

and sorry for double-posting, but i must, so that anyone can see this thread.

EDIT: I have done it, now it is all ok :)
[Sony Xperia S, Acro S, Ion] vishals16:
Hit Ctrl+c or close this command prompt window and open a new one. Then enter the command correctly (I mean you seem to have added spaces). Use it like this

adb push rom.zip /sdcard/
[Sony Xperia S, Acro S, Ion] senadin001:
I've figured it myself and done it already, but thanks :)

7gb data partition is must have on this phone :D
[Sony Xperia S, Acro S, Ion] luigi0824:
I've tried that but still didn't worked :crying: I'm close to giving up this phone and looking for a new replacement
[Sony Xperia S, Acro S, Ion] mirhl:
It's not like other devices will have adb working instead.

Remember you should still be able to do everything through the TWRP built-in terminal

Besides, does device manager refresh when you connect the phone? If yes then it has to be there, maybe under a not so obvious name but it'll be there
[Sony Xperia S, Acro S, Ion] vinanrra:
Thx for that tutorial, now i can install more apps
[Sony Xperia S, Acro S, Ion] krustybbr:
it works with the stock rom?
[Sony Xperia S, Acro S, Ion] vishals16:
No, You need a custom rom. When you flash the stock rom, the partitions gets reset to the default sizes.
[Sony Xperia S, Acro S, Ion] krustybbr:
it makes the fastest mobile also?
[Sony Xperia S, Acro S, Ion] vishals16:
You can do it if you need extra space for your apps. If you are using the Android 5 based roms, you need a bigger data partition because it takes more space as compared to the previous versions of android. There may be a little effect on the speed as you don't have to move the apps to sdcard after doing so.
[Sony Xperia S, Acro S, Ion] luigi0824:
Yes it refreshes but, nothing really shows up :crying:
[Sony Xperia S, Acro S, Ion] darknessmc:
Uninstall everything for xperia s or LT26 under "portable devices" and "Other devices"
[Sony Xperia S, Acro S, Ion] PaulDnoOb:
Can't push files via adb

I've successfully re-partitioned my sl, but the adb push part doesn't work, can somebody help me? it only shows stat not found,
[Sony Xperia S, Acro S, Ion] darknessmc:
You must have the zip file in the same place with adb files. If yes,

Reboot into twrp again and format sdcard
[Sony Xperia S, Acro S, Ion] Joej970:
'umount /sdcard' not recognized

Hello!

when I enter command umount /sdcard it says 'umount is not recognized as an internal or external command...'

any solutions?

cheers!
[Sony Xperia S, Acro S, Ion] senadin001:
1. adb shell (note that all commands are in lowercase letters not use capitals)

2. On your phone in TWRP go to Mount and DESELECT ALL PARTITIONS without exception

3. umount / sdcard

(This action will give us a message invalid argument this is because we did it manually)

THEN continue from step 4.
[Sony Xperia S, Acro S, Ion] zaidx:
having the same issue

i cant push rom and gapps to my phone

please help

Edit: solved, now I have 8 gb of phone storage thanks so much :) ?
[Sony Xperia S, Acro S, Ion] mironkraft:
then with locked bootloader and stock rom 4.1.2 would work? if yes or want to try im up for it, just tell me the process to follow

thanks for your time
[Sony Xperia S, Acro S, Ion] luigi0824:
I already told you nothing really shows up! It only refreshes
[Sony Xperia S, Acro S, Ion] zaidx:
hi

after I repartitioned , I pushed the rom and gapps through adb sideload but now there is no recovery in my phone . there's no even purple light when the phone boots . any solutions?
[Sony Xperia S, Acro S, Ion] mirhl:
So what is the phone able to do?
[Sony Xperia S, Acro S, Ion] senadin001:
when you pushed rom and gapps through adb, you should immediately flash rom and gapps because you were still in TWRP, but now, you can flash Fota kernel via flashtool again and then flash the rom and gapps and that's it
[Sony Xperia S, Acro S, Ion] luigi0824:
Any solutions? Maybe someone that had successfully partitioned their phone share their nandroid backup (of course, without personal data)
[Sony Xperia S, Acro S, Ion] vishals16:
You said that nothing shows up in device manager when you connect it in recovery right? You can try this. It might help.

1. Download the zips attached (32 bit or 64 bit whichever your pc is).

2. Run USBDeview as administrator. It will list all the devices installed on usb ports. Uninstall every device with xperia s on it. Even usb composite device.

3. Now connect the device in recovery and open device manager. Xperia S should show up now. Right click on it and select update driver manually and then select Sony sa0103 (this should be there if you have already installed the drivers present in flashtool folder)

4. Now type adb devices in command prompt window. Your device should show up now in recovery.
[Sony Xperia S, Acro S, Ion] luigi0824:
you're a life saver!
[Sony Xperia S, Acro S, Ion] vishals16:
Glad it helped :)

Once this is done you can easily proceed with increasing your data partition. Remember to unmount paritions in recovery in case you face problems saving the new partition table.

PS - Pressing the thanks button is highly appreciated :)
[Sony Xperia S, Acro S, Ion] luigi0824:
I'm getting this message encryption unsuccessful
[Sony Xperia S, Acro S, Ion] vishals16:
When are you getting this error?
[Sony Xperia S, Acro S, Ion] luigi0824:
almost everything is fixed now except recovery. when i install recovery, i can't boot to system so i have to install rom again and then i will loss recovery.:confused:
[Sony Xperia S, Acro S, Ion] vishals16:
You will not have access to recovery when you flash any of the lollipop roms available. After installing the rom, you can install the recovery in fota partition. Download twrp from here (preferably 2.8.4.1 , not sure about 2.8.5.0.). If you already have it even better. Place it on sdcard and rename it to fotakernel. Then install terminal emulator and open it on the device and type the following commands. Provide root access when prompted.

su

dd if=/sdcard/fotakernel.img of=/dev/block/mmcblk0p11

After this you will have a working recovery.