yashsingh1/xdaforums huggingface dataset:
[Sony Xperia Z Ultra] Klaos3000:
Almost. First we have the device. It doesn't have a recovery of its own. You have to flash a recovery yourself. Custom ROMs that are made by people around here adds a recovery to their ROMs themselves, so whenever you flash a ROM, you're getting a new recovery. On devices from other OEMs, the recovery is never changed, since those have the recovery on its own "partition". Our recoveries are bundled with the kernel, and each ROM has its own kernel.

So you just have to flash a kernel now to get a recovery so yo can start flashing other stuff (if you want to). The reason why you're about to flash this recovery is to get a starting point. After you've flashing this recovery, you won't need to do it from the computer again unless you flash a ROM without an added recovery - which are all stock Sony ROMs, that are FTF-files.

Yes, it's a good idea to have the flashable Dual Recovery ZIP on your SD card in case you're on a ROM that has a ****ty recovery (*cough* CM Recovery *cough*) and want to quickly get Philz and TWRP back. Then you just flash the ZIP in the current recovery (in this case, CM Recovery), then reboot and you're done.

The key combo to enter recovery on the Ultra is VOL UP when the LED lights up on boot. That's how you enter recovery. That was all. I just added to press it a couple times just so the device registers that you pressed VOL UP. Nothing critical like that, but just a thing I personally do.

Then just ignore the Windows-installer. Not sure it's even updated to work on 5.1.1. No biggie. Let's just use QuickIMG. QuickIMG is showing that you're connected to it (from your screenshot), so you can use QuickIMG. You can't flash ZIPs though, since QuickIMG only flashes IMGs.

- So download a random kernel with recovery (like this one)

- Extract the ZIP and put the boot.img inside the QuickIMG folder

- Open QuickIMG

- Choose the kernel IMG you just downloaded

- Hit "Flash"

- Now reboot, and press VOL UP

- You're now in a recovery.

- Flash the Dual Recovery ZIP

This kernel isn't compatible with your ROM, since it's a KitKat kernel. We're just interested in the recovery so your phone won't boot now, but that's OK. You can either choose to flash Dual Recovery ZIP from the SD card, or go ahead and flash CM12.1 if you want to.

Been there, done that. It's incredibly easy once you just forget the Samsung way of doing things. It would be easier if we could be more in sync here, so I can answer you quickly and help you within minutes instead of once every 12 hours, so just ping me here when you're available and ready to do it. I'm available for the next 4 hours now, and I'm on Central European Time (CET) btw.
[Sony Xperia Z Ultra] VeEuzUKY:
Hi Klaos3000, thanks much for the detailed info. I will do as you suggest as it seems to me to be the most straightforward way. I want make sure I understand correctly a couple of things before I proceed:

- I should have BOTH the new CM 12.1 ROM, Gapps, and Dual Recovery ZIPs already on my SD card before I start any procedures, is this right?

- Should all the ZIPs be on the internal SD card, or instead on the external SD card? When I do a full wipe later before flashing the new CM 12.1 ROM I believe the internal SD card will be formated as well and I'll loose whatever I have there. Is this correct or not?

- When I flash the boot.img with QuikIMG, I need choose the boot portion as destination (not system partiom), correct?

- After a reboot (with the wrong kernel flashed) the phone will obviously not boot anymore into my stock 5.02 ROM, but I'll have recovery installed by pressing VOL UP at boot up.

- Now next step I am confused........... you mention next to Flash the Dual Recovery ZIP (I assume from the Dual Recovery ZIP I had previously placed on the internal or external SD card). But if I just flashed the new boot.img via QuickIMG that included the Dual-Recovery in the kernel, why I need again to re-flash the Dual-Recovery from within the Recovery?

- Next step will be to do full wipes and flash the new CM 12.1 ROM zip + Gapps, and I guess also immediately the Dual-Recovery again before I finally boot-up the phone with the new ROM.

Is this all correct?

Thanks much:)
[Sony Xperia Z Ultra] Klaos3000:
Yup!

Yup! I always keep stuff like these on the SD card in case the internal storage gets wiped. CM won't wipe it though, but it's just a precaution.

Correctamundo! Boot is the one.

Yep!

1. Yes, that's the kernel you added to your SD card earlier.

2. You don't have to do this if you're going to flash CM right away. It's just a thing you may do if you're planning to boot into the Sony ROM again, since the Dual Recovery is compatible with stock ROMs.

So, after booting into recovery (with the wrong kernel), you can go ahead and just flash CM and gapps (remember to wipe, or else you'll get a bootloop, and then you'll have to re-flash that kernel with QuickIMG again), or if you want to boot up your current ROM again, just flash the Dual Recovery zip, and you'll then have stock ROM with Philz and TWRP recovery for later use.

Yes, wipe, flash CM12.1 + gapps. Then reboot. Don't flash the Dual Recovery. CM12.1 has its own recovery, so just hold VOL UP and it'll take you to CM Recovery.

You got it! Looks like you've learned how things work now, so go ahead and flash stuff. After you've done it now, it'll be even quicker the next time, and in the end this will be the simplest thing ever :laugh:
[Sony Xperia Z Ultra] VeEuzUKY:
Klaos3000, thank you very much for your response. Tonight I will try to do all this and lets see how things go. At the moment I'm downloading the latest CM 12.1 nightly.. like I mentioned before, where I am this is daunting task. I need use a VPN as most foreign sites are blocked. My current download speed from the http://download.cyanogenmod.org/?device=togari site is less than 5KB/s and the servers dont resume. This will take me many hours and probably fail multiple times. Living here and accessing most foreign sites is like going back to modem dial-up days.. is crazy:(

But there is one slight problem.. I need download Gapps. All I want in fact is SLIM Gapps, whatever the smallest version possible just with the basics.. Sync stuff, Play store and Play services. I hate all Google crap and dont need or want any of the other Google stuff or clutter.

However, the download site is totally blocked for me here, even with several VPNs Ive tried. This should be a small download (I think under 100Mb). Is there anywhere you help me to upload the smallest Gapps version to somewhere else so I can try download it from here? Since I cant connect to it, I cant browse what files are there for download but should be easy to spot the smallest Gapps package that is available. This is the link:

http://209.95.39.164/Gapps/Lollipop/

If you cant do it, dont worry. Later after I finished downloading the CM 12.1 ROM (that will take endless time) I can try do a search and see if I can find alternate download sites that I can connect to. Life here, sucks:(

Thanks again on all:):):)
[Sony Xperia Z Ultra] Klaos3000:
Not an issue. Just tell me where to upload Gapps, and It'll be done within minutes. Do you want me to download and upload CM12.1 again on a different service/server too?
[Sony Xperia Z Ultra] VeEuzUKY:
Klaos3000, I've managed to finally get CM 12.1 downloaded. Was almost 30 hours but done.. ridiculous. Anyway, I think the link I shared with you for the Slim Gapps from the togari CM 12.1 official page might actually be dead. Did you have the opportunity to check it? Could you open the page? I posted a question at the CM 12.1 thread directly but no reply yet.. I think the thread is not very active anymore. I'll try look for other download or mirror links tomorrow. If I can find, I'll try downloading the Gapps from another source. That's the only thing missing now. If I can get all downloaded, tomorrow evening will try flashing. Will keep you posted.

Again thanks very much:)
[Sony Xperia Z Ultra] Klaos3000:
I uploaded a pico version of gapps on my Google Drive if that makes things a little quicker? Do you have direct access to that? The pico version is the smallest one at 50 MB, and only contains Google Play Services (which means that you'll only get Google Play Services and the App Store)

Download

Also, remember to wipe before you flash CM and gapps :p
[Sony Xperia Z Ultra] VeEuzUKY:
Oh no, I have absolutely no access to anything Google. It's totally forbidden here.. all the hundreds of millions of phones here are sold without ANY Google Apps at all, government rules. Everything comes with a Chinese special version of Android only with Chinese software, tightly controlled, blocked and full of spyware and malware. There is no Google search, now, translate, voice, Gmail, play store, maps..

nothing. And trying to access Google Drive is completely impossible. Even if you try go around it with a VPN, it will not work. It's all 100% blocked. And If somehow someone manages to log-in to Google maps, all will be offset.. all locations will be wrong. Amazing, right? Have to use exclusively Chinese maps providers that can conveniently track what you are doing and what roads and areas we are allowed to see or not. Living here is a nightmare.. people outside these walls have absolutely no idea..
[Sony Xperia Z Ultra] Klaos3000:
Well that's fairly brutal :p But you are able to download gapps yourself, though at reduced speed? So I guess the only thing left for you is to download gapps and flash both (after wiping).
[Sony Xperia Z Ultra] VeEuzUKY:
ALMOST THERE..but not quite..

Klaos3000, followed all your advice and steps by steps and managed to download Gapps. All flashed finally and running. Cant believe it, what a saga. I cant thank you enough.

However , of course, my problems are not over. This I am not sure if its hardware issue, a configuration problem, or the ROM itself (I doubt its the ROM because I read absolute no feedback on the matter). Everything seems to work OK ,EXCEPT WiFi. I cant make it work properly no matter what I do. I didn't have the chance to play with it too much before when I had the stock ROM (I didn't back it up because after the whole ordeal and changing the Kernel to get recovery , it probably would not work anyway).

The problem I have is that I have 3 WiFi routers and NONE works with the Z Ultra. I have zero problems with these routers with all my other devices. I also took the phone out to Starbucks and a few other places with public WiFi, and the problem is similar. Basically I cant see almost any SSID, even messing around with WiFi region codes, is very difficult to have any router visible. And when I finally connect, I permanently get a small exclamation mark next to the WiFi signal meter on the taskbar and the connection drops and reconnects endlessly in loops every few seconds. And the there is of course no data flow. Basically I have no WiFi connectivity no matter the router used, band, region code or settings. The ONLY stable connection I make is from my Samsung phone when I enable hotspot (and still have the permanent exclamation mark).

Could this still be part of the several famous lollipop WiFi initial releases bugs??? I cant believe that. Wasn't that all fixed after 5.02 almost one year ago already?Actually, I also have the same exclamation mark on the GSM signal meter icon.. everywhere exclamation marks! And it seems this retard CM 12.1 ROM doesn't have an icon when data is activated.. 2G/3G/4G/LTE indicator..nothing. How to easily know if data is on or off without an indicator on the taskbar?

I see no advantage in Lollipop to be honest. With KK all worked, that's what I have on my LG Tablet and Samsung phone and works 100% without any problems for almost 2 years. I have absolutely no need or see any improvements at all in Lollipop except more bugs and headaches. If I cant get the WiFi issues fixed and is due to the Lollipop ROM, Ill just go back to an older KK CM 11 ROM for the Z Ultra, and that's it.

CM 11 KK ROMs have no recovery at all so will need to flash it afterwards. Anyway, the built-in CM in CM 12.1 recovery is useless because it doesn't have any backup or restore feature.. its a recovery that is not a recovery, haha:) The procedure will be the same, right? Just get the Zip with the KK ROM and KK Gapps into the SD Card, Boot to recovery, full wipe, flash ROM, flash Gapps and later flash Dual-Recovery again (I guess Ill need to extract the boot.img from the ROM, do the kernel patch to include the Dual-Recovery, and flash it with FastBoot) correct?

Wow, so much I learned these days, all thanks to you:) Thanks again:)
[Sony Xperia Z Ultra] VeEuzUKY:
Screenshot attached..
[Sony Xperia Z Ultra] VeEuzUKY:
Klaos3000, one more small thing I wanted your advice..

From some reading I did, in some cases the exclamation mark next to the WiFi can happen (specifically in Lollipop) when there is no proper network connectivity, or when the mobile data wants to automatically take over (what a stupid feature for people without unlimited data pans ALL to go bankrupt by the end of the month), or as a warning when Google Services cannot be accessed (another useless Google alert on people's faces). Anyway, I read that if the issues are because of Google Services not being accessible, it can sometimes be fixed from a terminal emulator window or ADB by inputting "settings put global captive_portal_detection_enabled 0" to turn that pointless warning feature off. It will obviously not fix any of my WiFi connectivity issues, but maybe at least I dont need to be staring at that exclamation mark forever because I already know since I am in China that Goggle Services are all and permanently blocked I downloaded and installed a terminal emulator on the phone and input the correct string, but OF COURSE, it didn't work and got an endless list of errors, permission denials and other bla bla bla.. (my ROM is rooted) . Nothing EVER works that I try to do on this phone.. crazy.

Do you have a suggestion on how to do this? Can I use the the Minimal ADB and Fastboot window? But I assume this needs to be done not in FastBoot mode but when the phone is actually normally booted up, correct?

Thanks again for all the help to get me at least to this stage. Where is your location actually? I owe you a beer, a big one. No... several big ones:) Without your help for sure I would have never gotten the phone to get this far:)
[Sony Xperia Z Ultra] Klaos3000:
The WiFi bug is something that has plagued CM12.1 on and off for awhile now, and I do not have any further details around the issue. If you want the most stable stock Android experience that's on Lollipop, I recommend you flash the Google Play Edition-port. You just have to boot into recovery and flash it like any other ROM. If you choose to try it out, be aware that the error you get while flashing is not actually an error. It's more like an FYI, and the installation is still under progress.

Regarding that second post, I can't say I know what to do here, but remember to "su" and then grant the terminal root access before you enter that line (if you haven't done that already). The rest of the things you mention are very ROM specific or things I haven't touched before, so I rather not speculate on these things and end up with you messing something up because of me.
[Sony Xperia Z Ultra] VeEuzUKY:
Klaos3000, thanks for the suggestion of trying scrubber's Google Play Edition-port. I'm not sure if I can flash it directly following the proper procedures detailed on the first post of the port's thread, as I noticed the mention the requirements are having a base 4.4.4 or 5.02 ROM, I am already on CM 12.1 (5.1.1 based). I posted that question on the port's thread and will wait a reply.

And please dont worry, Id never hold you in any way responsible for messing up something up because of your advice or suggestion:) I can only thank you for all the help and guidence you have given me:)

Thanks again:)
[Sony Xperia Z Ultra] VeEuzUKY:
I am stuck again..

This phone is driving me completely crazy.. my God..

So I downgraded my CM 12.1 ROM to CM 11 because of the endless problems with Wifi. I did a full wipe, flashed CM11, Gapps, and immedetialy also flashed recovery from a flashable ZIP with recovery kernel I build for the CM 11 ROM. Upon starting up, all the wifi problems all solved! But of course a new problem, this time continuing FCs with Google Partner Setup. Since I have several versions of Gapps, I decided to just reflash the ROM and try another set of Gapps!

BUT, surprise when I go into recovery, the phone totally freezes up. I dont have a recovery anymore! I tried to reflash both my own kernel I had build and also an existing kernel on NUT's database that is exact match for my ROM. The phone will vibrate correctly and I get the LED light on like before, but after pressing Volume Up or Down, I either get stuck on the Sony logo or I just get a black screen and that's it.

I am doing everything correctly step-by-step as I did before for the CM 12.1 ROM where recovery worked perfectly. But this time, not. What am I doing wrong and how to get the recovery to work? I really dont understand this or the endless difficulties I have with this phone anymore..:(
[Sony Xperia Z Ultra] Klaos3000:
Hmmm, weird. You could try to flash another kernel, like a clean TWRP kernel, or even a KitKat kernel. If you manage to enter recovery again, you should try to format /system and data. Be aware that this will wipe everything. And then flash a stable ROM, which are either Sony-based ROMs or ports from the Ultra GPe, which has a 4.4 and 5.1 port (ignore 5.0). I understand that you probably want CM's customization and theme engine, but then you'll have to expect bugs, since CM is pretty much in constant beta-stage.

May I ask you exactly what you're trying to get out of your Ultra? You can also just flash 5.1.1 and install Xposed. Don't you like the Sony ROMs? Then flash the GPe port(?), which is 99.9% AOSP. You're pretty much looking for stability where it doesn't exist. The recovery issue is a weird one though, and I'm not sure what's going on without holding the device in my own hand, so the only thing I can do is to give you some advice and hope that it gets solved in the end.

- Just try flashing different kernels with recovery, even older ones from KitKat.

- If nothing works at all, then flash a stock Sony ROM (FTF file) in Flashtool and start from scratch (no, not THAT far back :p )
[Other Tools & General Discussion] raxitsheth2000:
Hi

I have rooted android phone with Sqllite editor. I am admin of many whatsapp group (100+) and all group members are also in my contact book.

I want to export every group members detail (name, contact number) by group in a csv file. Any clue how to do it?

I know Python & JS. & Basic java.

Raxit
[JASJAR, XDA Exec, MDA Pro Software Upgrading] amaddea:
I have just updated my Mda pro to WM6.can someone please tell me how to get the x and y keys mapped correctly?
[JASJAR, XDA Exec, MDA Pro Software Upgrading] rilazi:
Here it is
[JASJAR, XDA Exec, MDA Pro Software Upgrading] ramfangzauva:
This seems like a rather big cab. All that is needed is a change in the registry:

[HKEY_LOCAL_MACHINE\SOFTWARE\OEM\Qwerty]

Layout in decimal to 66567
[JASJAR, XDA Exec, MDA Pro Software Upgrading] amaddea:
German keyboard

Thanks guys, will give it a try and keep you posted.
[Galaxy S 4 Q&A, Help & Troubleshooting] nitinvaid:
Is there any way so that j can increase the headset volume in call its low. Using galaxy s4 9500 rooted stock android l rom
[Galaxy S 4 Q&A, Help & Troubleshooting] Rushyab:
try synapse app if the app doesnt work flash a custom kernel..
[X Play Q&A, Help & Troubleshooting] ephumuris:
Why are we forgotten about and don't have access to kernel source yet?

I think it may benefit our devs who are bringing CM 12 to our device. I'm using it as a daily now and its great but I know the GPS bug could be a deal breaker for some people.

So how is it best we proceed with requesting it? Ideas?

Do we spam their twitter accounts? Maybe not spam as such but flood with requests so we are heard.

Is there an email to request?

I can't find anything on Motorola dev website.

Their github has Peregrine, Clark, Osprey and Victara sources for 5.1.1... Why are we made to wait?

Peregrine = G 4G

Clark = Style

Osprey = G 2015

Victara = X 2014
[X Play Q&A, Help & Troubleshooting] DrunkenDragon:
Yup we have to write to them... Everyone here shud write a mail to them
[X Play Q&A, Help & Troubleshooting] biron_w:
It's entirely possible that they're working on M and consider that a priority. I'd rather they did that and give us M kernel source quickly.
[X Play Q&A, Help & Troubleshooting] DrunkenDragon:
M sources will take a long time, lollipop source they will have it already they should have released it by now. When nexus releases within few days they will release all their sources. But moto i never expected this coz of which development is dam slow and ppl r working more for providing us stable custom rom/kernel.
[Galaxy Note 3 Q&A, Help & Troubleshooting] :
Editing build.prop as shown below

## Media & Streaming Performance Increased ##

media.stagefright.enable-player=false

media.stagefright.enable-meta=false

media.stagefright.enable-scan=false

media.stagefright.enable-http=false

media.stagefright.enable-rtsp=false

media.stagefright.enable-record=false

media.stagefright.enable-qcp=false

media.stagefright.enable-aac=false

media.stagefright.enable-fma2dp=false

Or I should do more
[Honor 6, 6 Plus Accessories] wakerle:
Hey guys, any recommendations for car charger for Honor 6? Thanks.
[Honor 6, 6 Plus Accessories] wakerle:
Finally got one of these. They are charging :D

http://www.aliexpress.com/item/Aukey-USB-Car-Charger-Adapter-Dual-Port-4-8Amps-24W/2043658476.html
[Honor 6, 6 Plus Accessories] Abelu:
Does the car charger can reach 5V/2A like its stock wall charger?
[Honor 6, 6 Plus Accessories] CplBasti:
Buy something from Anker. Their products are really, really good.
[Honor 6, 6 Plus Accessories] zinko_pt:
Had bad experience with Aukey. Really bad quality charger and it was a upper model.

Tronsmart and Anker are up a notch or two in quality. Have a charger and powerbank from them and are very good indeed.
[XDA Assist] shalinsurana:
i had removed few system apps from my micromax canvas juice a177.

now my wifi has stopped working.

whenever i try to switch it on it switches off automatically.

please help.

thanks
[XDA Assist] :
Hi!

You'll likely need to flash your stock firmware again. I can't find a relevant thread on XDA for your device and issue though. I would say asking for help here would be best,

http://xdaforums.com/android/help

Or check the manufacturer website for firmware and flashing instructions.

Good luck!
[Android Q&A, Help & Troubleshooting] vijsan1975:
Hi guys i am looking Custom Rom for Domo slate x3g 4th tablet.
[Galaxy Note5 Q&A, Help & Troubleshooting] lightdelegate:
I own a N920C with root and Dr. Ketan's rom.

I have noticed that the smart manager say always that a threat found.

As you can see in the attached photo there is no details about it.

Any ideas ?
[Galaxy Note5 Q&A, Help & Troubleshooting] HNIC215:
Maybe has something to do with Knox?

Since you're using a custom ROM.
[Galaxy Note5 Q&A, Help & Troubleshooting] pakure:
Root and super user are the threats..;)
[Galaxy Note5 Q&A, Help & Troubleshooting] HNIC215:
Makes sense...
[Galaxy Note5 Q&A, Help & Troubleshooting] lightdelegate:
I know that can be the reason but I guess then that if I'll press reboot that will block my root.

Thought that maybe someone have experience it as well.
[Galaxy Note5 Q&A, Help & Troubleshooting] twisted_mind:
On the S6 post root, this was fixed for me by freezing securitylogagent using titanium backup.