yashsingh1/xdaforums huggingface dataset:
[Android General] brianloco:
Hi,

I have a new elephone p6000

Android version: 4.4.4

Build version: Elephone_P6000_V8.4_20150131

I can't send any photos or media with my whatsapp, it is a known bug??? what can I do to fix it?? also I can't make Whatsapp calls

I didn't touch the ROM or do anything in the phone

Whatsapp version: 2.12.5

Hope you can help me,

Thanks,

Brian
[Android General] xenonism:
I have once again ecountered a serious problem while upgrading to the latest Lollipop: with certain ROMs, after upgrading and restoring my data the SIM cards do not work. I get asked the PIN number and occasionally at least one connects (I was able to make a quick test call) but after a few seconds they go offline. They are enabled in the SIM settings, while a SIM management app shows them in either an "unknown" or "network locked" state.

Since it only seems to happen after I restore Data, I guess it's something in my settings that causes trouble, but I haven't been able to figure out what or find a way to reset such settings. I guess this is not strictly a P6000 issue, but... I gotta start somewhere. Does anyone have any idea what could be causing the problem or know a workaround? Thanks in advance!
[Android General] GoJo ^^:
Getting this phone soon, this thread will help, thanks! Probably asked again, but can you disable home button backlight?

Of course not for notifications (about that: can you choose color?)! Just for pressing it.. And camera fix.. Link please?!
[Android General] Xpresso38:
Hello.

I've trouble with my P6000, and my windows 7 64 ( since i try last lollipop rom ).

Usb Vcom preloader connect and disconnect .

So i can't use spflashtool.

Do you know any issue?

All was fine when i was running 4.4.

I've flash a backup with cmw, but now the phone freezing after boot :/

And no access to recovery.

sorry for my bad english.

Need your help.
[Xperia Z3 Android Development] LeonidasTurk:
As you know, CM Recovery is useless for now. So i make Twrp Recoveries for our device.

It works on any kernel with extract_elf_ramdisk utility (it's built in mostly all kernels for custom ROMs, but I am not sure).And don't forget, that you are doing on your own risk, I am not responsible for bricked devices, acid rains or thermonuclear war.

Known Issues

-Nothing.

Installation:

Download z3fotatwrpv5

- Extract z3fotatwrpv5.img and place it to the root of your internal SD-card

- Type su and grant root access

- Type

dd if=/sdcard/z3fotatwrpv5.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel

- Reboot to recovery to test if it works (if not, try again and check if you are doing it correctly).

Warning

- Don't flash it on stock roms. It will work on custom roms.

Download:

http://www97.zippyshare.com/v/25vBjwMU/file.html

Old Links

Z3fotatwrp- http://www.mediafire.com/download/batu9oc2hzx8d4p/z3fotatwrp.rar

Z3fotatwrpv2- https://www.mediafire.com/?f1pyuh2ac4ucmmd

Z3fotatwrpv3- https://mega.co.nz/#!FswhhLBT!SOBMiNuq6A9waYU8E7YeVVWr-39MCN01OSPYHzqOoeo

Z3fotatwrpv4- https://mega.nz/#!Bl5iTA4Y!j7hkGF5Gk4HT_COW0Gb4O_LCdC8rtX1KJouzkuMAb3U

Z3 DUAL TWRP 2.8.7.0

Many thanks to [MENTION=2382567]rodrigoger[/MENTION] for creating this image! https://www.dropbox.com/s/czwgrjjv7g29mpq/z3dualfotatwrpv4.img?dl=0

Some info:

Sony Xperia devices don't have recovery partition. Instead of this in custom kernels is used recovery-in-boot conception with two-stage boot (ramdisk-recovery is packed inside main ramdisk). And there is partition called FOTAKernel that is used for installing official FOTA (firmware-over-the-air) updates. After unlocking your bootloader it partition becomes redundant, because you cannot use OTA function anymore. So it may be used for storing recovery ramdisk. And this very useful future was implemented by a xda member, he developed utility extract_elf_ramdisk (it is merged to almost all kernels for Sony devices), it extracts recovery ramdisk from FOTA partition instead of using regular one from boot image. So even after updating or changing your kernel or ROM you don't lose your current recovery!

BTW, I don't own any of this work, recoveries are not compiled by me.
[Xperia Z3 Android Development] LeonidasTurk:
Update Z3FotaTWRPV5 (TWRP 3.0.0-0)

What's new in 3.0.0-0:

Completely new theme - Much more modern and much nicer looking (by z31s1g)

True Terminal Emulator - Includes arrow keys, tab and tab completion, etc. (by _that)

Language translation - It won’t be perfect and especially some languages that require large font files like Chinese & Japanese won’t be availble on most devices. Also some languages may only be partially translated at this time. Feel free to submit more translations to OmniROM’s Gerrit. (mostly by Dees_Troy)

Flashing of sparse images - On select devices you will be able to flash some parts of factory images via the TWRP GUI (by HashBang173)

Adopted storage support for select devices - TWRP can now decrypt adopted storage partitions from Marshmallow

Reworked graphics to bring us more up to date with AOSP - includes support for adf and drm graphics (by Dees_Troy)

SuperSU prompt will no longer display if a Marshmallow ROM is installed

Update exfat, exfat fuse, dosfstools (by mdmower)

Update AOSP base to 6.0

A huge laundry list of other minor fixes and tweaks
[Xperia Z3 Android Development] panzerscope:
Great work, works fine. Ill have to apply theme due to the fact it does not go full screen lol
[Xperia Z3 Android Development] scpeter1:
Works fine....thx

Odoslané z Xperia Z3 pomocou Tapatalku
[Xperia Z3 Android Development] LeonidasTurk:
I'm sorry. I was pensive while i was writing this.
[Xperia Z3 Android Development] Markieboy:
Can you not just go into Fastboot and flash recovery with this file instead of method listed above?

Many thanks
[Xperia Z3 Android Development] gregbradley:
No, because sony phones do not have a recovery partition

Most xperia recoveries are either in system or in the boot.img, this is the exception
[Xperia Z3 Android Development] Markieboy:
Im a bit confused now, as i swear i flashed 2.8.4.0 and then Cyanogen recovery that way .... ?????? :confused:

I'm rooted with unlocked bootloader using the exploit so have DRM keys backed up. UK GSM Unbranded
[Xperia Z3 Android Development] gregbradley:
2.8.4.0 ?

But you cannot flash a recovery in fastboot like on other phones. Cyanogenmod recovery is a boot img is that is flashed to the boot partition on fastboot, hence the code

fastboot flash BOOT boot.img

Its a kernel not a recovery, but recovery is incorporated in it.
[Xperia Z3 Android Development] Verbato:
So you can not do:

fastboot flash recovery fotakernel.img

?

Edit:

Turns out you can.
[Xperia Z3 Android Development] gregbradley:
That's strange, as the OP says sony phones do not have a recovery partition to flash to... You may be able to

fastboot flash FOTAkernel fotakernel.img
[Xperia Z3 Android Development] LeonidasTurk:
Which Nightly Version do u use? It must work. Give me your terminal's screenshot.
[Xperia Z3 Android Development] Verbato:
$ fastboot flash FOTAkernel z3fotatwrpv2.img
sending 'FOTAkernel' (10728 KB)...
OKAY [ 0.353s]
writing 'FOTAkernel'...
FAILED (remote: Command not allowed)
finished. total time: 0.356s

$ fastboot flash recovery z3fotatwrpv2.img
sending 'recovery' (10728 KB)...
OKAY [ 0.353s]
writing 'recovery'...
OKAY [ 0.719s]
finished. total time: 1.072s

Well, what do you know, turns out the command really is:

fastboot flash recovery fotakernel.img
[Xperia Z3 Android Development] gregbradley:
I stand corrected, but that is a new one to me.

EDIT

After talking with some devs it seems we are both correct...

So basically your command is flashing to the FOTAkernel partition because fastboot does not recognise it... Schrodinger's cat... we are both correct and both wrong at the same time.
[Xperia Z3 Android Development] HaoZeke:
Sources Please?

hey I was wondering about the sources you used to compile this, I've tried by building with cm breakfast and omni's branch of android bootable but I get multiple errors..

bootable/recovery/gui/resources.hpp:48: error: undefined reference to 'gr_getMaxFontHeight'
bootable/recovery/gui/resources.hpp:48: error: undefined reference to 'gr_getMaxFontHeight'
bootable/recovery/gui/scrolllist.cpp:205: error: undefined reference to 'gr_clip'
bootable/recovery/gui/scrolllist.cpp:315: error: undefined reference to 'gr_noclip'
bootable/recovery/gui/resources.hpp:48: error: undefined reference to 'gr_getMaxFontHeight'
bootable/recovery/gui/resources.hpp:48: error: undefined reference to 'gr_getMaxFontHeight'
bootable/recovery/gui/console.cpp:198: error: undefined reference to 'gr_maxExW'
bootable/recovery/gui/resources.cpp:186: error: undefined reference to 'gr_freeFont'

Any help please?
[Xperia Z3 Android Development] Mattadome02:
I am running the latest CM12 nightly.

Can I fast boot flash the recovery and not worry about my system bricking?
[Xperia Z3 Android Development] shusha87:
Yes, it's working without any issues. Using fastboot flash recovery on twrp 2.8.5.0. It's great not to use that CM-Recovery.
[Xperia Z3 Android Development] panzerscope:
Any chance we can get 2.8.5.0 for FOTA ? Stock recovery for CM12 Sucks but 2.8.4.0 does not play well with flashing CM12 Roms

Ignore as I just saw your edited OP. You may want to update your title
[Xperia Z3 Android Development] LeonidasTurk:
Recoveries are not compiled by me.
[Xperia Z3 Android Development] LeonidasTurk:
I haven't tried this yet. You can flash this with my codes.
[Xperia Z3 Android Development] panzerscope:
I can confirm 2.8.5.0 works fine with CM12. Many Thanks
[Xperia Z3 Android Development] redlabour:
Even V2 does nothing on CM 12 and Z3. CM Recovery is still there without any changes even if Terminal says there has been someting written.
[Xperia Z3 Android Development] LeonidasTurk:
Give me a screenshot of your terminal.
[Xperia Z3 Android Development] redlabour:
Here you are......
[Xperia Z3 Android Development] LeonidasTurk:
I don't know why it doesn't work for you. You can check recovery update in developer options.
[Xperia Z3 Android Development] redlabour:
Should it be on or off?
[Xperia Z3 Android Development] LeonidasTurk:
It should be off.
[Xperia Z3 Android Development] redlabour:
No - still does not work anyway.
[Xperia Z3 Android Development] panzerscope:
Just wondering but it would be Hugely welcomed by many if there was a way to integrate Multirom into this Twrp Fota recovery ?
[Xperia Z3 Android Development] da900:
Hi. TWRP 2.8.6.0 is just released. :) Will you I update your recovery? Thanx a lot for your work.
[Xperia Z3 Android Development] cmeeren:
Is there any way of automatically replacing the install script in CM12 nightlies? Or do I have to manually download the zip, unzip it, replace the script, re-zip it, move it to my Z3 (if I did that on windows), and finally flash - every day?
[Xperia Z3 Android Development] redlabour:
You only have to do this one Time. Every later Nightly will work as normal.
[Xperia Z3 Android Development] cmeeren:
Doesn't work for me. I flashed this recovery, downloaded my first CM12 nightly, replaced the script manually, and flashed. That worked. Now, CM tells me there's a new nightly, downloads the zip to /sdcard/cmupdater, and when I want to install it, it says it will reboot into recovery so I can flash the zip. After it reboots, I try to flash and I get the "this device is xxxx" error (I don't remember the name). Which, AFAIK, is an indication that the install script is not replaced and thus checks for 'd6603' etc. while my phone (or the recovery) reports another device name.

Edit: I managed to replace the script in the zip archive using the ZArchiver app without any unzip/re-zip process, and it flashed successfully. Still, if there's an easier way, please tell me.
[Xperia Z3 Android Development] :
Error executing updater binary

Hello,

whenever I try to flash a new CM12 Nightly I get an error message: "Error executing updater binary in zip".

After that, the flash process simply aborts. How can I fix this? Thanks in advance.
[Xperia Z3 Android Development] da900:
Flax version 2 from 2nd post.
[Xperia Z3 Android Development] redlabour:
BTT please. Any Chance for a 2.8.6.0?
[Xperia Z3 Android Development] qwertyuiop2028:
Nice work, fine on cm12 z3 build0327
[Xperia Z3 Android Development] LeonidasTurk:
I'm uploading TWRP 2.8.6.0 right now.
[Xperia Z3 Android Development] LeonidasTurk:
I updated it. Have enjoy.
[Xperia Z3 Android Development] know.i.dee:
Nice One, My logic was / is the same as yours, I flashed 2.8.5 in this manner (so much eaiser than the other method(s) suggested) fastboot flash boot XXXXX2.8.5.img

Thanks for the heads up on the recovery input
[Xperia Z3 Android Development] da900:
Just flashed. :) Works as it should... Just one bug - brightness level does not work. :(
[Xperia Z3 Android Development] LeonidasTurk:
I think it is not about my work. Maybe it is a twrp bug.
[Xperia Z3 Android Development] Klaus N.:
@ LeonidasTurk

At first thank you for sharing the new twrp image with us.

Unfortunately I can't download the 2.8.6-version, "shorte.st" does not work for me... Could you please share it on an alternative server?

Thanks in advance!

Edit: Ok, it works. I had to change my browser settings ;)
[Xperia Z3 Android Development] know.i.dee:
Flashed using,

Terminal Command Window:

fastboot flash recovery (old versions used boot) TWRP_z3_FOTA_2.8.6.0.img (renamed)

Booted Nicely (loving the Material addition)

Flashed CM12 (lollipop CyanoGen)

Flashed M5 Kernel (permissive)

Flashed Update-SuperSU.v2.46

Flashed xposedARM-20150308

Everything is Fine, Working Sweet. Nice One

PS : I WILL REITERATE WHAT HAS BEEN SAID / STATED / POSTED ALREADY:

---------- Post added at 05:10 PM ---------- Previous post was at 05:10 PM ----------

didn't work for me, had to temporarily allow all on the page via NoScript (personal plugin I use), essentially disable any script / adblocker : Then it hangs on the page for awhile (too long really, took 2mins for me) then begins a 5 second countdown before leading to MEGA!
[Xperia Z3 Android Development] Klaus N.:
After temporally deactivating adblock, the download worked. Also the new twrp. Thanks [MENTION=5538740]LeonidasTurk[/MENTION]
[Xperia Z3 Android Development] zocker7:
still no work on stock LP z3?
[Xperia Z3 Android Development] Klaus N.:
No, it doesn't work on stock-rom's (read the startpost).

If your device's bootloader is already unlocked, you can take this one: http://xdaforums.com/z3/development/root-stock-flashable-kernel-23-1-0-690-t3061678
[Xperia Z3 Android Development] lostdream:
Hi can i do it on LB? Does it works on D6603 or D6653? Thx
[Xperia Z3 Android Development] Klaus N.:
Unfortunately it doesn't work on lb. Just simply follow [NUT] on his thread: http://xdaforums.com/showthread.php?t=2261606

...it isn't that easy on lb!
[Xperia Z3 Android Development] Termynat0r:
Can't download because I need some ****ty mega app, which I surely won't install.
[Xperia Z3 Android Development] LeonidasTurk:
Try to download from PC or Puffin web browser.
[Xperia Z3 Android Development] triggaz:
Can anybody upload updater script please, I think we have the same bug on Z2 and our recoveries.
[Xperia Z3 Android Development] LeonidasTurk:
You can modify updader script on your own. Install notepad ++ program to your pc and delete line 1.
[Xperia Z3 Android Development] Mattadome02:
It's normal for the cache wipe to take awhile, right?
[Xperia Z3 Android Development] LeonidasTurk:
Yes, it is normal.
[Xperia Z3 Android Development] Griffiths_Anna:
Hey, can I change the backup location to ext SD card?
[Xperia Z3 Android Development] LeonidasTurk:
You can mount your TWRP folder to your ext SD card. Use foldermount app in playstore.
[Xperia Z3 Android Development] :
yes:)

http://fxpblog.co/2015/05/01/finally-boot-to-recovery-enabled-in-special-bootloaders-from-sony.html
[Xperia Z3 Android Development] da900:
[MENTION=5538740]LeonidasTurk[/MENTION] The link is broken. Please, fix. :p
[Xperia Z3 Android Development] Maddinuser:
Can anyone upload this please? No Recovery seems to work for me instead of CM...And with CM Recovery I always get signature error...Thanks!
[Xperia Z3 Android Development] da900:
Here is it. If [MENTION=5538740]LeonidasTurk[/MENTION] dos not mind. If he does, I will delete.
[Xperia Z3 Android Development] LeonidasTurk:
Ok. Link is fixed.
[Xperia Z3 Android Development] yuzhengwen:
Hmm...

fastboot flash recovery twrpfota.img

this actually works like a charm! Thanks. Also, I couldn't understand wat u mean by
[Xperia Z3 Android Development] JaseLegenda:
do i need to remove dualrecovery before or just fastboot flash this over and all done?
[Xperia Z3 Android Development] LeonidasTurk:
Dual recovery is working at stock rom. If you want to use my recovery, you must install a custom rom then flash my recovery.
[Xperia Z3 Android Development] paulle:
twrp 2.8.7 is out

TWRP 2.8.7.0 is out now for all currently supported devices.

What’s new in 2.8.7.0:

Initial ground work for software drawn keyboard (_that)

Fix handling of wiping internal storage on datamedia devices (xuefer)

Allow DataManager to set and read values from the system properties (xuefer)

Fix crash when taking screenshots on arm64 devices (xuefer)

Fix error message after an ORS script completes (Dees_Troy)

Fix crashes / error when creating encrypted backups (_that, Dees_Troy)

Add system read only option – more details below (Dees_Troy)

Add resize2fs and GUI option to run resize2fs (Dees_Troy)

Fix crash loop caused by empty lines in AOSP recovery command file (_that)

Prevent duplicate page overlays such as multiple lock screens (mdmower)
[Xperia Z3 Android Development] LeonidasTurk:
I will try to port it tomorrow
[Xperia Z3 Android Development] da900:
[MENTION=5538740]LeonidasTurk[/MENTION] I am sorry, but latest 2.8.7.0 is not properly working for me. It boots but recovery do not recognize internal and external SD cards. :(
[Xperia Z3 Android Development] goosebickel:
Same for me, won't mount anything, can't get a log to save either, had to take a photo. Hope it helps.
[Xperia Z3 Android Development] LeonidasTurk:
Thank u for posting this issue. I worked again, used diffrent devices and made a working TWRP 2.8.7.0 with no f2fs.Enjoy.
[Xperia Z3 Android Development] paulle:
[MENTION=222244]leonidas[/MENTION] Turk, your Twrp2.8.7 is also flashable with the fastboot method ?
[Xperia Z3 Android Development] LeonidasTurk:
Other users say it is working but not tested by me. I suggest "dd if" method.
[Xperia Z3 Android Development] paulle:
Thanks for your answer, I installed your twrp2.8.6 with fastboot (and it worked), but it's not my phone so I've to have caution not to make a brick of it.
[Xperia Z3 Android Development] da900:
Yes. It is. I flashed as " fastboot flash recovery" and everything is fine.
[Xperia Z3 Android Development] paulle:
thanks for information

edit: flashed it today via fastboot, all fine and working.

sudo fastboot flash recovery z3fotatwrpv4.img
[Xperia Z3 Android Development] Mattadome02:
Did you update the recovery with fastboot? Wouldn't want to brick my phone, so just asking if you can use fasboot flash recovery if you are updating.
[Xperia Z3 Android Development] ykhuat:
Hi, 1st I want thank you for this great work.

I am on z3fotatwrpv4 now, I try to apply the latest CM "updatecm-12.1-20150729-NIGHTLY-z3c.zip", I get the can't excuting zip as that already alive on v2.

here the error message:-

I:operation_start: 'Flashing'

Installing '/sdcard/Download/cm-12.1-20150729-NIGHTLY-z3c-1.zip'...

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts

I:Legacy property environment initialized.

script aborted: This package is for device: D5803,D5833,z3c; this device is z3.

This package is for device: D5803,D5833,z3c; this device is z3.

I:Legacy property environment disabled.

E:Error executing updater binary in zip '/sdcard/Download/cm-12.1-20150729-NIGHTLY-z3c-1.zip'

Error flashing zip '/sdcard/Download/cm-12.1-20150729-NIGHTLY-z3c-1.zip'

Updating partition details...
[Xperia Z3 Android Development] LeonidasTurk:
Ur CM.zip file is wrong. Try to redownload it from http://download.cyanogenmod.org/?device=z3
[Xperia Z3 Android Development] ykhuat:
thank you for the information, my device us z3c, and u flash a z3 twrp IMG, so the error cone out..
[Xperia Z3 Android Development] know.i.dee:
THANKS ALOT, (i write with capitals for amplificationm, yes I'm shouting) TWRP WEBPAGE DOESNT cater for Sony z3 . . . . . Ludacris?!?

Thanks again
[Xperia Z3 Android Development] cmeeren:
I'm having a problem with the latest image (v4). The sliders aren't showing up, or rather they seem to be shifted to the left outside the screen (I only see half of the slider bar, but not the slider button itself), so I can't take backups or flash anything. Also, in the Backup menu, the items under the "Partitions" heading are positioned too high up, overlapping the heading. (Otherwise the skin/theme looks as expected.)

The lock screen unlocker icon is also positioned wrongly - at the far left of the screen, so much that I can't unlock the screen.

Anyhow, the slider thing is the really deal-breaking stuff since I can't flash or take backups. Anyone else experiencing this? Any tips on what might be wrong?
[Xperia Z3 Android Development] LeonidasTurk:
Thank u for reporting this issue. But i don't know, how can i fix this. I'm using themes, everything is good. I suggest you, use a theme and enjoy TWRP :D
[Xperia Z3 Android Development] LeonidasTurk:
Yes, unfortunately they don't care us. :p
[Xperia Z3 Android Development] cmeeren:
Thanks, where do I find themes and how do I use them?
[Xperia Z3 Android Development] LeonidasTurk:
http://xdaforums.com/android/themes/theme-twrp-materialised-dark-light-play-t2915584 You can find themes and installation from this link.
[Xperia Z3 Android Development] cmeeren:
Thanks, I installed the theme that looked like the default and it works now.
[Xperia Z3 Android Development] gscollier:
[MENTION=5538740]LeonidasTurk[/MENTION] Thanks to you I am finally getting a handle on the kernel/recovery drama that is a Sony phone. Difference between kernel/recovery and how to install them. Also notes on updater script are very useful.

For anyone else a little new to the Sony setup here is what I have worked out:

Non stock ROMs (CM12.1 etc) need the boot.img from the Zip which is kernel and recovery combined (cm recovery = rubbish). Trying to fastboot flash a recovery into boot doesn't work with Sony phones (thanks OP). You may be able to boot into recovery but you won't get past that. I have used it to get to a proper (non cm) recovery and flash a stock based ROM back from CM. This has worked depending on the recovery.

Using the fastboot flash recovery method or the dd method will get a TWRP recovery working with CM. This is only for the recoveries found in this thread. I have a different 2.8.7 img but it is much larger than the one here and fails in fastboot as being too big.

NDRUtils only seems to work with stock based ROMs as OP states here somewhere.

Just a collection of thoughts, partly as note to self but may be of use to someone.
[Xperia Z3 Android Development] Kaiser_Y:
hey guys! I just follow the installation steps but I can't touch it. It just does not respond. It's probably a touch recovery like regular twrps, but I'm not able to access any menus nor unlock the screen after pressing the power button. I'm on a BlissPop 5.1.1 in a Xperia SP (I just supposed that it'll probably work for me too). No size/positioning issues just the touch input doesn't seem to work.
[Xperia Z3 Android Development] LeonidasTurk:
This recovery is for z3. Don't try this with other phones. It will probably boot, but you can see a lot of bugs.
[Xperia Z3 Android Development] Kaiser_Y:
Thanks for the answer dude.

If I follow the same method with another recovery version it'll work?? Or this one was specifically made for working in FOTA? Can I do the same process with another one and overwrites it?

EDIT: I searched a little better and I end up finding a proper version for my device. I did the replacing process successfully but I still had the same issue, screen input not working. Any thoughts?