yashsingh1/xdaforums huggingface dataset:
[Sony Xperia L] Kahana82:
You're very welcome :) glad it helped you out
[Sony Xperia L] thunderising:
This works with the latest CM12 beta too?
[Sony Xperia L] rostifaner:
[MENTION=5316423]Kahana82[/MENTION] [MENTION=6319763]harl windwolf[/MENTION]

maybe you created the guide on xperia l?
[Sony Xperia L] harl windwolf:
From what I know, it *should* work with any version of Android, as long as you can access the phone's console via ADB as well as the recovery menu (to mount/unmount sdcard1 if necessary and then format sdcard0). The 2nd post in that other thread kind of confirms that.

Of course, if you want your apps and settings back, you still need to back them up first.

Especially though, if you'd plan on flashing a new ROM anyway, you don't even need to boot the OS along the way of (re)partitioning the internal memory (nor do you need to remove the external SD card if you know which one it is in the mount list).

Just boot into recovery, connect via ADB, mount the external SD card (sdcard1) so you can run fs-utils, then run the respective commands (from the other thread) one after another, format sdcard0 in recovery, and that's it - then just flash the new OS etc.
[Sony Xperia L] Kahana82:
Yes, I'm using it like that since beta 2.

I came to the same conclusions, the phone still has its partitions, same file-systems and partition names...I don't see what could break the fact that it should be completely transparent on usage.

Here you go, these are the steps I followed on my Xperia L:

Open a command window: CMD, then get into shell:

adb shell

Once in shell, type:

umount /storage

parted /dev/block/mmcblk0

print

This prints out the partition information of your phone's memory chip

You will see the partition numbers in the first column, partition names in the last one,

in between you have the start/end memory index and the partition size

------start---end---size

...

31---1795---3506---1711---userdata

32---3506---7818---4312---sdcard​

In the above output, consider the values indicated in italic as not to be changed !

Now calculate (open a spreadsheed if you like) the new value for the end of the userdata partition,

and use the same value for the start of the sdcard partition

On your sheet it should look something like this if you added 2048 to the userdata size

------start---end---size

31---1795---5554---3759---userdata

32---5554---7818---2264---sdcard​

Remove userdata and sdcard partitions:

rm 31

rm 32

Create the new userdata and sdcard partitions:

mkpartfs logical ext2 1795 5554

name 31 userdata

mkpartfs logical fat32 5554 7818

name 32 sdcard

Exit parted to go to the adb shell again:

quit

userdata partition (31) needs to have ext4 file system

The following will do the ext2->ext4 conversion:

cd /storage/sdcard1/fs-utils

tune2fs -j /dev/block/mmcblk0p31

tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p31

e2fsck -fpDC0 /dev/block/mmcblk0p31

Now you can go to recovery and format the sdcard partition (default)

Then you can restore the backup you made before all this or do a clean install
[Sony Xperia L] Kahana82:
I see a lot of people complaining about storage to install apps in the Lollipop threads, and are left in the dark most of the time.

Maybe it would be a good idea to rename this thread, so these people can find this information more easily...
[MENTION=335322]MikeChannon[/MENTION] (Mod): Also put a reference to it somewhere in one of the stickies ?
[Sony Xperia L] MikeChannon:
Well I'm the Forum Admin. To rename or sticky threads it's best to contact one of the Forum Mods. For this forum they are:

The-Hulk

Tijmen

Toledo_JAB

wedgess

laufersteppenwolf

El Daddy

SREEPRAJAY

VECTUS

Whiskey103

B1nny

gregbradley

Arjen

Mike
[Sony Xperia L] Kahana82:
Thanks Mike, sorry for the trouble.

I completely missed the "moderators" button on top of the forum (with all their names popping up when clicking on it) my bad.

Thus I reported my own post, which is probably the best way to get their attention anyway.
[Sony Xperia L] indade:
Can someone help me, i have brick my xperia. My mmcblk0 damaged. How can i restore this. Flashtool can`t restore firmware!

Here log

C:\Android>adb shell

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

~ # parted /dev/block/mmcblk0

parted /dev/block/mmcblk0

GNU Parted 1.8.8.1.179-aef3

Using /dev/block/mmcblk0

Welcome to GNU Parted! Type 'help' to view a list of commands.

(parted) print

print

print

Error: /dev/block/mmcblk0: unrecognised disk label

(parted)
[Sony Xperia L] Navneet Suresh:
Thanks !! for putting up these instructions :good: :highfive: :D. I wanted to increase app storage and was just searching and found this post very useful, why don't you post this in general section so that more people can find it also add disclaimer that they might brick their device.
[Sony Xperia L] sks1897:
Works like a charm! Thank you very much, I have been searching for this since i bought the phone. :)
[Sony Xperia L] Navneet Suresh:
Can you boot into flashmode ?
[Sony Xperia L] akthakur84:
Thanx bro your guide helped me a lot and I have partitioned my XL.

My XL now has 3.2GB of device memory and 2.7GB of Internal storage.

But when I checked the storage by print command it shows the file system of device memory ext3 not ext4.

Phone is working as usual. But Is there any way to change it to ext4?

Edit - Today I checked again its now ext4. I don't know how.
[Sony Xperia L] indade:
Yes i can boot in flashmode, in fastboot, in recovery, but can`t install firmware
[Sony Xperia L] indade:
Can someone give me screenshot of their partitions(print command), original or not it doesn't matter, pls.
[Sony Xperia L] Navneet Suresh:
what error do you get
[Sony Xperia L] indade:
In flashmode, by flashtool:

09/044/2015 15:44:39 - INFO - Flashtool Version 0.9.18.5 built on 14-02-2015 15:30:00

09/044/2015 15:44:39 - INFO - Executing search strategies to find proxy selector

09/044/2015 15:44:40 - INFO - No proxy found for IE. Trying next one

09/044/2015 15:44:40 - INFO - Strategy firefox failed trying next one : No Firefox installation found

09/044/2015 15:44:40 - INFO - No proxy found for java. Trying next one

09/044/2015 15:44:40 - INFO - Syncing devices from github

09/044/2015 15:44:40 - INFO - Scanning devices folder for changes.

09/044/2015 15:44:44 - INFO - Pulling changes from github.

09/044/2015 15:44:45 - INFO - Devices sync finished.

09/044/2015 15:44:49 - INFO - Device disconnected

09/046/2015 15:46:09 - INFO - Selected Bundle for SONY Xperia L. FW release : 15.3.A.1.17. Customization : C2105

09/046/2015 15:46:09 - INFO - Preparing files for flashing

09/046/2015 15:46:24 - INFO - Please connect your device into flashmode.

09/046/2015 15:46:28 - INFO - Device connected in flash mode

09/046/2015 15:46:28 - INFO - Opening device for R/W

09/046/2015 15:46:28 - INFO - Reading device information

09/047/2015 15:47:28 - INFO - Unable to read from phone after having opened it.

09/047/2015 15:47:28 - INFO - trying to continue anyway

09/047/2015 15:47:28 - INFO - Start Flashing

09/047/2015 15:47:28 - INFO - Processing loader.sin

09/047/2015 15:47:28 - INFO - Checking header

09/047/2015 15:47:28 - ERROR - Processing of loader.sin finished with errors.

09/047/2015 15:47:28 - INFO - Ending flash session

09/047/2015 15:47:28 - ERROR - Error in processHeader : 22 : Устройство не опознает команду.

09/047/2015 15:47:28 - ERROR - Error flashing. Aborted

09/047/2015 15:47:28 - INFO - Device disconnected

in recovery:

Can`t mount /cache/recovery/command

Can`t mount /cache/recovery/log

Can`t mount /cache/recovery/last_log

Can`t mount /cache/recovery/last_install
[Sony Xperia L] akthakur84:
Image of print of Partitions of storage https://drive.google.com/file/d/0BwWwNC48o5s4RjFOVWRYUWpuczQ/view?usp=sharing
[Sony Xperia L] indade:
Thank you very much, will try to restore partitions!
[Sony Xperia L] Navneet Suresh:
[MENTION=6472432]indade[/MENTION] lloks like your bl got damaged !! :eek:
[Sony Xperia L] indade:
Yahooooo, i have bricked my XL totaly, now it connects like qualcomm hs-usb qdloader 9008.
[Sony Xperia L] Kahana82:
I will make a post in general section for this today.

edit: here it is :)

I believe you can restore the original partition table by flashing an original FTF to your phone, as it contains a partition table file.
[Sony Xperia L] Sharful:
umount error

Shows this error message while trying to unmount sorage.

What's wrong?

Thanks in advance for help.
[Sony Xperia L] sks1897:
I have the same problem after trying to flash stock rom. Please help!!!
[Sony Xperia L] sks1897:
Can someone give me screenshot from adb shell

fdisk /dev/block/mmcblk0

p
[Sony Xperia L] zero995:
here is
[Sony Xperia L] nbicalcarata:
help

I'm having the same problem, did you guys solved it?
[Sony Xperia L] Kosa02:
Check if you have installed ADB driver. I had same problem and installing of them solved everything :)
[Sony Xperia L] xlight2000:
me too , things went wrong when partitioning and hopefully someone Help .. :(:(.. any solutions ? or it´s hardbricked ?
[Sony Xperia L] SdtBarbarossa:
guys for real... THIS stuff is one of the only things that can HARDBRICK xperia l.... the phone itself is high secure against bricking.... but repartitions can cause in really make your phone a expensive stone....

PLEASE dont do it if you are not high experienced .... this is not recommened for rookies....

to OP : sorry to leave this comments here... nothing personal ... i just dont want rookies to hardbrick theier phones...

@ those who bricked....try to push your backup of mmcblk0 or if you dobt have a original mmcblk0 via adb (for that you need to boot into recovery)

if you cant use recovery cause phone isnt booting to anything try gparted.... good luck
[Sony Xperia L] xlight2000:
i guess it#t too late for me .. lesson learned :)

Please can you explain how to push the Backup of mmcblk0 ? i can boot into recovery , but i can't make any restore since my sdcard0 is Idle-unmouted..

is it possible a restoration of the backup from my sdcard1? thank you!
[Sony Xperia L] SdtBarbarossa:
you need to have your backup on pc.... othetwise you need to remember the integers you need ...

you could also try to read mmcblk0 via adb and maybe you can see whats wrong....

if you dont have a backup (lolwhy let it on phone) then test the above one first...if that doesnt help extract the original one from you specific stock
[Sony Xperia L] xlight2000:
Ok i have the Backup of my phone on my PC and

adb keep showing this error

Error: /dev/block/mmcblk0: unrecognised disk label

and in the cwm recovery it keep showing sdcard0 idle-unmounted ..

how do i Check what is wrong .. is there any tutorial ou there for that ? ..
[Sony Xperia L] SdtBarbarossa:
push you backzp of mmcblk0 to phone via adb
[Sony Xperia L] xlight2000:
Please will you be kind to explain to me which command to use to do that ? i am kind of noobs in all of this .. :)
[Sony Xperia L] SdtBarbarossa:
read the second post of this.....AND READ CAREFULLY

http://android.stackexchange.com/qu...n-image-of-android-partition-from-my-linux-pc
[Sony Xperia L] xlight2000:
thank you so much .. but i only have a backup( list of boot , data,system .. ) from philZ touch recovery and not the mmcblk0.img file .. is it possible to convert into a single file ?
[Sony Xperia L] Navneet Suresh:
[MENTION=6248658]SdtBarbarossa[/MENTION] I do support his post noobs/rookies can hard brick there devices if done incorrectly. I used this method and I was able to successfully partition my data/sdcard0.

Edit : Typo fixed xD
[Sony Xperia L] SdtBarbarossa:
yea i never said that this stuff doesnt work... im just saying that rookies can do very hard damage to theier devices if they do a mistake... and im angry about the missing backup part in main thread... and im angry about this stuff ia not especially tagged as advanced ....

i myself did some stuff ... but im advanced....

thank you for sharing my position
[Sony Xperia L] sks1897:
The repartitioning worked great for me, but my partition table got corrupted after trying to flash stock rom. So be aware when reverting to stock!!
[Sony Xperia L] SdtBarbarossa:
show me

adb shell

su

cat /proc/partitions

print
[Sony Xperia L] xlight2000:
here it is

https://drive.google.com/file/d/0B7j43ZZiNW4xT01CNHA1dVRNLXM/view?usp=sharing

[IMG="adb print"]https://drive.google.com/file/d/0B7j43ZZiNW4xT01CNHA1dVRNLXM/view?usp=sharing[/IMG]

when i remove my external sdcard , only the mmcblk0 remain ...
[Sony Xperia L] SdtBarbarossa:
ok your mmcblk0 datas are not shown....thats bad.... try flash stock via flashtool while checking erase custimisations
[Sony Xperia L] xlight2000:
hmm i already tried that .. but the flashtool is stocked a the begining and not able to pass then i get this error

ERROR - Error in processHeader : 22

i guess that is the end of the road with my xperia L :fingers-crossed:
[Sony Xperia L] SdtBarbarossa:
hm... may repair it by flash a stock mmcblk0
[Sony Xperia L] Kosa02:
It'll be corupted, because stock ftf has original partition table. It is mentioned on main thread. http://xdaforums.com/showthread.php?t=2720675

It might be the best before flashing stock ftf to revert stock partitons. It might help
[Sony Xperia L] malebat:
Brother, can you help me by sending or telling how to create original or any one that's working of mmcblk0.img?

I am a complete noooooooooooooob when it comes to these things and I have hardbricked my phone.

please, Help me.
[Sony Xperia L] underd0g:
Or revert back to original partition layout using previous command.
[Sony Xperia L] AndroGeek17:
To perform this task, is it a must that we must have 4.2 ? And after completing the procedure can we go to any custom rom or we are stuck on the 4.2 KITKAT ?

---------- Post added at 10:27 PM ---------- Previous post was at 10:23 PM ----------

I have bricked my Sony Xperia L in attempt to format internal storage hoping to increase app storage. Now its hard-bricked. Flashtool is not detecting the device. Can you help me?
[Droid RAZR M Q&A, Help & Troubleshooting] garlicfiend:
Last fall, I bought a used RAZR M with the intention of flashing it over to us on Page Plus. I had just flashed my wife's RAZR MAXX over and thought "How hard can it be?" This was JUST before Page Plus announced 4G LTE on their network (facepalm).

I rooted and unlocked the bootloader with motochopper. But I was having trouble finding an up to date guide for flashing the M to pageplus. The phone was on KitKat, and the exploit had just come out, so none of the guides had been updated... and of course none of them would be because Page Plus got 4G LTE. So my timing was just REALLY bad.

Long story short... I tried muddling through with an older guide. I flashed a recommended radio file via RSD Lite, and the M's radio stopped working completely.

I got frustrated with the process and set the phone aside, but I want to get it working now, since I can use it on Pageplus without flashing.

This is the current info on my phone:

System Version

182.46.10.XT907.Verizon.en.US

Android version

4.4.2

Baseband version

SM_BP101032.020.32.78P

Kernel version

3.4.42-g5170b6b

dbbuild@ca88lnxdroid25 #1

Thu May 1 19:48:33 PDT 2014

Build number

KDA20.62-10

Build date

Thu May 1 19:34:18 PDT 2014

It's got ClockworkMod Recovery v6.0.4.9, although for some reason every time I try to install a zip from it, it fails.

Can someone point me to a working radio for my phone I can install via RSD Lite, or tell me if there is a different/better way to fix it?

Thanks in advance!
[Droid RAZR M Q&A, Help & Troubleshooting] xKroniK13x:
Have you tried downloading just the stock radio (or entire stock firmware FXZ) and flashing entirely back to default through RSD/House of Moto? Get the default stuff here: http://motofirmware.com/files/category/18-scorpionmini-xt907/

Sent from my RAZR M on BlissPop Lollipop 5.0.2 from Tapatalk
[Sprint Galaxy S 5 Q&A, Help & Troubleshooting] AthieN:
Sorry if this has been asked/answered before, but I wasn't able to find a specific yes or no, and I'm still a little confused! And also, I'm sorry in advance if this is a really dumb question!! lol

I see all this development on KLTE only devices, and very little on KLTESPR. I understand the KLTE is the "International" or GSM variant of the GS5, but I have also read that it is possible to get it working on the Sprint version. Is that true? Can I download a KLTE version, edit/change the updater-script and flash it successfully to my device? Or is there more to it?

I would rather be safe then sorry...

Thanks in advance! :)
[Sprint Galaxy S 5 Q&A, Help & Troubleshooting] omgpk:
I've installed the klte nightly of the official cm12 on my kltespr. Can't say data or service worked because currently on at&t now. But the ROM itself functions. I'd say go for it, but as always, I can't stress this enough, BACKUP BACKUP BACKUP!!!! before installing. Or just make sure you have a ROM compatible for your phone like cm11 which I'm currently back on.

Good luck.
[Sprint Galaxy S 5 Q&A, Help & Troubleshooting] ethomas94:
I've installed klte CM11 and CM12 on my kltespr. The rom works, but network doesn't work. It either says "No Service" or "No Sim Card". Klte roms are not made for any other carrier or phone other than klte galaxy S5's. Imagine it as two completely different phones that happen to look alike.

There are some recoveries that won't even let you flash roms with different carrier/model names than the recovery format.
[Sprint Galaxy S 5 Q&A, Help & Troubleshooting] AthieN:
Thanks guys. That is what I was looking for. I did go ahead and try installing LS 4.0 for KLTE, and everything worked great except for data (which is what I expected I guess)..

So, now I know!
[LG G Pro 2] :
Q&A for [ROM] CN Mod V2 for F350/S/K/L and D838

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.

Before posting, please use the forum search and read through the discussion thread for [ROM] CN Mod V2 for F350/S/K/L and D838. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.

Thanks for understanding and for helping to keep XDA neat and tidy! :)
[LG G Pro 2] babarhailian:
No WIFI, No Bluetooth, No SIM signals after CN MOD

After flashing CN MOD on my LG G Pro2 F350L, phone worked awesome for two days; but then suddenly, while charging, it went off and after removing and reinstalling the battery, phone turned on but there are no Signals for my SIM Card, turning the wifi on sticks at "Turning on wifi" can't even turn the Bluetooth on. It seems like all the radios are bad. In "About Phone" portion of settings, Mac addresses for Wifi and Bluetooth are "Unavailable" IP address is also "Unavailable".

Spent hours and hours googling but can't find the stock firmware to go back off-shelf. Already tried Factory reset and flashing another custom rom (Digital Minds V 4.1) but to no avail. Badly need help.

Any response will highly be appreciated.
[LG G Pro 2] JohnnyInBriz:
http://www.lg-phones.org/official-stock-lg-g-pro-2-tot-firmware-rom.html
[Asus Fonepad 7] rasrmsgl:
Hi,

I have recently upgraded to kitkat 4.4.2 from in 4.3 (factory version) on my Asus FonePad 7 k012

I have tried to root the tablet using the method posted by eko sunaryo and Alden roti

in both case rooting was unsuccessful.

I made hard reset twice and then again tried the above methods but end result was the same.

now I m trying to root again I m getting the following messages that

" Unfortunately live demo service have stopped"

& then "Asus demo have stopped" followed by rooting failed.

Can u please tell me what wrong with these method or there are other method exclusively suited to kitkat 4.4.2

much thanks in advance
[Asus Fonepad 7] Ra.burt86:
Did you check here? http://xdaforums.com/showthread.php?t=2754230
[Nexus 5 Q&A, Help & Troubleshooting] :
[Q&A] [ROM] [5.0.1] Project D.I.S.C.O. - 1.0 - Hammerhead [2014/12/12] [OFFICIAL

Q&A for [ROM] [5.0.1] Project D.I.S.C.O. - 1.0 - Hammerhead [2014/12/12] [OFFICIAL]

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.

Before posting, please use the forum search and read through the discussion thread for [ROM] [5.0.1] Project D.I.S.C.O. - 1.0 - Hammerhead [2014/12/12] [OFFICIAL]. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.

Thanks for understanding and for helping to keep XDA neat and tidy! :)
[Nexus 5 Q&A, Help & Troubleshooting] chrysalisgold:
Thanks for the ROM. Any updates coming?
[Nexus 5 Q&A, Help & Troubleshooting] sharang.d:
Awesome! Can you please upload the default wallpaper? Also is there any way to use the clock+weather widget in another ROM. I really like it!
[Nexus 5 Q&A, Help & Troubleshooting] Shubhankar30:
Cannot set google now as default launcher

The launcher3 doesn't have a clear default option. It says it has no defaults. But when I open up my Google now launcher app it tells me to clear defaults of launcher 3. I have tried freezing launcher3. Doesn't work. Help please. I really like the Google now swipe. :) thanks.
[Motorola Atrix HD] mrroks:
Motorola White Boot-Logo by ME

you know the deal of how to flash right ? if no read help.text inside the zip, enjoy :good:
[Galaxy Note 4 Q&A, Help & Troubleshooting] mitko76:
Hi all,

I just bought a note 4 sd 805 (the UK version). I expected this to be a very powerful phone, but instead I am kind of disappointed .

After playing Asphalt 8 for just 15min, the game starts to lag considerably and suffer from some serious frame rate drop.

The phone itself heats up a bit, but not a lot.

I also noticed that, if I run antutu for say 5 times in a row (with no pause), the score will drop from about 48000 to about 38000.

I still keep my note 3, which is rock solid and did not have the above behaviour (i.e. no heat at all, I can play asphalt 8 for hours with perfect quality and consistent antutu scores of about 43000).

Also my pvs is 13, which seems to be quite a good one (as per this thread http://xdaforums.com/note-4/general/info-check-share-cpu-binning-t2950180)

Do you guys think I have a faulty note 4? Should I return it?

Thanks
[Galaxy Note 4 Q&A, Help & Troubleshooting] iNeri:
I dont think that you has a faulty note. Same here with s5 and sd 801 runing gta vc. In about 20 mins of gaming fps drops horrible

Enviado desde mi SM-N910C mediante Tapatalk
[Galaxy Note 4 Q&A, Help & Troubleshooting] mitko76:
Thanks,

but if the latest generation of phones cannot handle tasks (i.e. games) which the previous generation (note 3 in my case) handled with easy,

doesn't that mean the the phone is not fit for purpose?

In my case I paid £580 and expected to see some improvements. The only true improvement (compare with note 3) is the camera.

The game performance is awful.

The display seems to be brighter (on auto and against direct sun light), but if I actually want to use it like that, it starts heating up and throttle after 15min.

In normal tasks (browsing and light apps) note 3 and note 4 perform on par, with sometimes note 3 being faster.

I also ran the stress test app, and it seems that the note 4 does not stay on 2.7 at all. it starts with 2.4 then quickly goes to 2.2 and 1.9 and after a few minutes it goes down to 1.1 and it stays there. My note 3 on the other hand starts with 2.27 and stays there for few minutes then goes down to 1.9 and 1.7 and then it stays between 1.5 and 1.7.

So, under heavy load snapdragon 805 perform worst than 800. Please note that the SD in my unit has the perfect binning of pvs13. The SD 800 in my note 3 is pvs 2 and it is still way more stable.

I just want to know if you guys have similar experience with the phone?