yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Q&A, Help & Troubleshooting] hellopaul:
Hello,

Unfortunately, I have Cyanogenmod on my Galaxy S4 GT-I9505 (in UK on O2). I want to unlock the phone, which apparently involves going back to a stock ROM.

After much searching around, I've eventually managed to download a stock ROM that wasn't corrupt, and Odin, and USB drivers. But when I try to do the firmware upgrade thing, it fails. I now seem to have a brick. How I hate Cyanogenmod!

Here's what happens in Odin:

<OSM> I9505XXUEMK8_I9505O2UEMK1_I9505XXUEMK8_HOME.tar.md5 is valid.

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/003> Odin engine v(ID:3.1005)..

<ID:0/003> File analysis..

<ID:0/003> SetupConnection..

<ID:0/003> Initialzation..

<ID:0/003> Get PIT for mapping..

<ID:0/003> Firmware update start..

<ID:0/003> SingleDownload.

<ID:0/003> sbl1.mbn

<ID:0/003> NAND Write Start!!

<ID:0/003> sbl2.mbn

<ID:0/003> sbl3.mbn

<ID:0/003> rpm.mbn

<ID:0/003> aboot.mbn

<ID:0/003> FAIL! (Auth)

<ID:0/003>

<ID:0/003> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)

...and all I get on the screen of my phone is "Firmware upgrade encountered an issue. Please select recovery mode in Kies & try again". Except I can't use Kies (or Smartswitch) because it's a stupid Cyanogenmod phone so Kies (or Smartswitch) doesn't recognise its existence! GRRRRR!

So, do I have a brick that is completely useless? I've only had this phone a month or so (I bought it, tragically, with cyanogenmod on it).

Any suggestions/help/sympathy would be GREATLY appreciated! (please!)

- Paul
[Galaxy S 4 Q&A, Help & Troubleshooting] Lennyz1988:
It has nothing to do with Cyanogenmod all your problems. You are putting the blame in the wrong corner. Kies not recognizing, the failure of the flash, not being sim-unlock has nothing to do with Cyanogenmod. But with you not reading enough.

You want to flash a 4.2.2 rom and you can only do that if you are not on a knox bootloader. What is the text when you boot in download mode?

And btw, as far as I know you don't need to downgrade your FIRMWARE, but only your MODEM.
[Galaxy S 4 Q&A, Help & Troubleshooting] hellopaul:
Thanks for your quick reply!

Here's the text:

ODIN MODE

PRODUCT NAME: GT-I9505

CURRENT BINARY: Custom

SYSTEM STATUS: Official

KNOX KERNEL LOCK: 0x0

KNOX WARRANTY VOID: 0x1

CSB-CONFIG-LSB: 0x30

WRITE PROTECTION: Enable

eMMC BURST MODE: enabled​

Is that an easier process?

I was using Android 5.0.2 with Cyanagenmod. I'm not sure what version the ROM I downloaded was - it actually downloaded and wasn't a corrupt .zip file, which seems to be a very very rare thing. Might attempting to install a 4.x.x firmware over a 5.x.x cause problems? Is there anywhere I can reliably download a 5.x.x ROM that actually works? I've wasted several days searching for a UK O2 ROM. I can recommend plenty of sites that CLAIM to have it, but it's corrupted or just doesn't download due to any number of errors.
[Galaxy S 4 Q&A, Help & Troubleshooting] Lennyz1988:
Here an whole post with firmwares.

http://xdaforums.com/showpost.php?p=41072392&postcount=2

Try flashing a 4.4.2. firmware. If flash is succesfull, then downgrade modem to 4.2.2.

If it's not, then pick an 5.0.1 firmware and downgrade modem to 4.2.2.

4.2.2 modem:

http://d-h.st/CXx

When you are done with what you want to do ( I assume something with region away). Flash AGAIN the 4.4.2 firmware or 5.01. You cannot stay on the 4.2.2 modem.
[Galaxy S 4 Q&A, Help & Troubleshooting] hellopaul:
Thank you for your help with this!

I managed to un-brick my phone (hooray!) using 'Philz Touch' and some of the advice here: http://xdaforums.com/galaxy-s4/general/guide-t3018625

I just re-downloaded that firmware from the site you suggested - that's where I managed to download the (exact same) firmware before. I've just tried installing it again, but got exactly the same error in Odin. I've currently got another ROM downloading from one of the dodgy 'teenage-hacker' sites (Rapidgator.net). I assume that it won't even unzip, but it will be tomorrow before it's completed the download.

I'm guessing that I need to download firmware that's UK and O2 (I'm in the UK and my phone's locked to O2). This rather limits my options - there only seem to be a couple of places on the net with this ROM (neither of which work). If I installed, say, a Vodafone ROM, then unlocked the phone, should that (in theory) then work with my O2 (or any other) SIM? I plan to switch to BT Mobile (running on the EE network) shortly - hence wanting to unlock the phone.
[Galaxy S 4 Q&A, Help & Troubleshooting] Lennyz1988:
You are not reading what I wrote. You CANNOT flash the firmware you tried before. It's impossible because that version is to old. You are downloading a 4.2.2 and you need need 4.4.2 minimal (possible even 5.0.1 minimum).
[Galaxy S 4 Q&A, Help & Troubleshooting] hellopaul:
I have no way of telling which version that firmware was - it was listed under United Kingdom and had O2 in the filename. No version number.

So - back to my previous question - should I be able to use, say, a Vodafone 4.4.2 firmware without risk of bricking my phone? Or maybe the BTU 5.0.1 version? And then be able to do the standard Samsung S4 process to unlock it? I guess I'll just try it and see if it works.
[Galaxy S 4 Q&A, Help & Troubleshooting] Strephon Alkhalikoi:
No. You need to download the latest ROM for your carrier, here. Once you have installed that firmware, you must install through Odin a 4.2.2 modem found at the link Lennyz1988 provided. Only then can you use the service menu method or RegionLock Away to unlock the S4. After that, extract the modem from the firmware package you downloaded and flash it through Odin.

Honestly, spend the money and unlock the phone, if O2 won't do it. An unlock code is virtually guaranteed to work, unlike the unlock methods in the forums.
[Galaxy S 4 Q&A, Help & Troubleshooting] hellopaul:
Unfortunately that firmware you linked to is one of the many corrupt .zip files out there, and will not decompress at all.

I've got another firmware downloading (very very slowly) from Rapidgator. It will probably also be corrupt.

I've called a couple of local phone unlocking shops, and they don't have a clue what Cyanagenmod is, and whether it will affect the unlockability of the phone. I'll just pay an ebayer to give me an unlock code, in the hope that it might unlock it, despite what I've read. Most people say I must go back to a stock ROM before unlocking.

Ugh. Awful Cyanogenmod.
[Galaxy S 4 Q&A, Help & Troubleshooting] Lennyz1988:
The archives are not corrupt. Something is wrong at your end.

And again, CM has nothing to do with your issues. If you were on the stock rom you would just have had the same problem.
[Galaxy S 4 Q&A, Help & Troubleshooting] hellopaul:
If I was on a stock ROM I wouldn't have to go through all this, and could presumably just unlock my phone very easily, as outlined on many sites, such as giffgaff (I cannot post links in this forum yet).

I cannot get that ROM to unzip, using 7-zip, WinRAR, Mac OS X Finder, Mac OS X Terminal. I've downloaded it at least 3 times, and it's always corrupt. Mac OS X Terminal reports "bad zipfile offset (local header sig): 0".

Uh?? Update: I've just tried 7-zip again...and it's decompressed it! How utterly bizarre.

I just tried it with Odin and it did not work - the usual result:

<OSM> I9505XXUEMK8_I9505O2UEMK1_I9505XXUEMK8_HOME.tar.md5 is valid.

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/003> Odin engine v(ID:3.1005)..

<ID:0/003> File analysis..

<ID:0/003> SetupConnection..

<ID:0/003> Initialzation..

<ID:0/003> Get PIT for mapping..

<ID:0/003> Firmware update start..

<ID:0/003> SingleDownload.

<ID:0/003> sbl1.mbn

<ID:0/003> NAND Write Start!!

<ID:0/003> sbl2.mbn

<ID:0/003> sbl3.mbn

<ID:0/003> rpm.mbn

<ID:0/003> aboot.mbn

<ID:0/003> FAIL! (Auth)

<ID:0/003>

<ID:0/003> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)​

Then I have to turn off the phone, and use Philz Touch to bring it back to life.
[Galaxy S 4 Q&A, Help & Troubleshooting] Lennyz1988:
Yes ofcourse it fails. You are not following my instructions.

You are flashing a 4.3 rom which is IMPOSSIBLE for you. Your bootloader is at least a 4.4.2 version, probably even a 5.0.1 version. So you can only flash those stock roms.
[Galaxy S 4 Q&A, Help & Troubleshooting] hellopaul:
Sorry if I'm not following you. How can you tell what version the firmware file is? The site I downloaded it from claimed it was 5.0.1.

My phone's Android version is 5.0.2

I've been putting the firmware file into Odin's AP slot.

I haven't done anything with the BL (presumably bootloader) slot.

Isn't there a way I can completely wipe the phone, then install whatever firmware I want, regardless of what was previously installed?
[Galaxy S 4 Q&A, Help & Troubleshooting] Lennyz1988:
alright let's try something else.

Flash this rom with Philz. Perform a full wipe first form within the recovery.

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

It's a 4.4.2.

Then flash a 4.2.2. modem and then try the things you want to do.
[Galaxy S 4 Q&A, Help & Troubleshooting] hellopaul:
So I guessed that I should copy the .zip file of that WanamLite Rom onto the SD card, which I did.

I then did:

Recovery mode reboot, and booted into the Philz thing.

Wipe Data/Factory Reset.

Install Zip > Choose zip from /storage/sdcard1, and located the .zip file...

Installing...

Finding update package...

Installing update...

Welcom to WanamLite XXUGNH7 3.1

Formatting system...

System mounted!

data mounted!

Cleaning cache...

Installing system...

Symlinking...

Setting permissions...

set_metadata: some changes failed

E:Error in /storage/sdcard1/GT-I9505_WanamLite.XXUGNH7.V3.1.NO-WIPE.zip

(Status 7)

Installation aborted.

press any key to continue.​

So now I'm wondering how to get around a Status 7 error. Searching that forum thread about Wanamlite gives no help - at least not in a language a human can understand. Someone suggested:

"after spending several hours on this ... i made it

How to flash this ROM on old NON-Knox bootloader:

1. flash XXUEMJ5 modem via odin to prevent lags and call problems

2. flash a TWRP recovery to bypass the "status code 7"-error while flashing this ROM

3. flash this ROM

4. install your prefered recovery"​

I have absolutely no idea what any of that that means.

I have rebooted the phone, and it will only boot into the Philz thing - presumably because there is no operational firmware installed at all.
[Galaxy S 4 Q&A, Help & Troubleshooting] hellopaul:
Partial success:

I followed the instructions given here: https://www.youtube.com/watch?v=np_nlFALMbQ

...to install firmware via PhilZ Touch, and I can successfully install Cyanogenmod (argh!) or WanamLite (yeah!). But I still cannot access the service menu in WanamLite. At least typing *#0011# does get some kind of menu up, but not the ServiceMode main menu.

And at least I now have a fully operational phone (with WanamLite), but still locked to O2.

Lennyz1988 suggested I "flash a 4.2.2. modem" - might doing that unlock the ServiceMode menu? Are those at all related? To flash the modem (presumably using Odin) which slot do I put it in? CSC?

I tried installing the O2 UK firmware using the exact same technique, using both the ROMs I downloaded, but neither would work. It failed at the very start, saying [bad]. I then reinstalled WanamLite successfully.
[Galaxy S 4 Q&A, Help & Troubleshooting] Strephon Alkhalikoi:
It wasn't just Lenny who mentioned flashing the 4.2.2 modem. I mentioned it as well. In fact, in the thread on the topic - which you really should be reading - the last few pages are peppered with posts from me telling people that you have to downgrade the modem (at minimum) before you can use either unlock method. For the record, I know downgrading works, because I had to do it myself after losing a SIM unlock that was done through the service menu. I ended up using RegionLock Away and couldn't be happier.

With that said, you cannot use a custom ROM of any kind to perform the unlock. I tried accessing the service menu on Imperium ROM, which is based on stock, and failed. You must be completely stock, which means you need to install a stock ROM to your device, using Odin. Download a new copy of the ROM, and if necessary use a totally different computer. Just one question however. If flashing the ROM through Odin doesn't work this time, will you then blame WanamLite for it?
[Galaxy S 4 Q&A, Help & Troubleshooting] hellopaul:
Thank you for all your help with this, Strephon and Lennyz1988.

So, I tried flashing the modem (I put this file: I9505ZHUFNB3_MODEM.tar into Odin's CP slot - it seemed to work). I rebooted and tried to get to the service menu, but as Strephon predicted, there was no service menu.

So, again using Odin, I tried to put this firmware (I think it might be 4.2.2) on the phone:

I9505XXUEMK8_I9505O2UEMK1_I9505XXUEMK8_HOME.tar.md5

...and, predictably, it failed.

So then I tried doing them both at the same time, with the modem file in the CP and the firmware in the AP slot. But it failed again:

<ID:0/005> Added!!

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> I9505XXUEMK8_I9505O2UEMK1_I9505XXUEMK8_HOME.tar.md5 is valid.

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/005> Odin engine v(ID:3.1005)..

<ID:0/005> File analysis..

<ID:0/005> SetupConnection..

<ID:0/005> Initialzation..

<ID:0/005> Get PIT for mapping..

<ID:0/005> Firmware update start..

<ID:0/005> SingleDownload.

<ID:0/005> sbl1.mbn

<ID:0/005> NAND Write Start!!

<ID:0/005> sbl2.mbn

<ID:0/005> sbl3.mbn

<ID:0/005> rpm.mbn

<ID:0/005> aboot.mbn

<ID:0/005> FAIL! (Auth)

<ID:0/005>

<ID:0/005> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)​

I also tried to re-install the various other stock ROMs I'd downloaded (and re-downloaded, on a different computer), with no success.

So, I got back in touch with O2 - they'd previously said they wouldn't unlock the phone because they say the phone and number need to have been used together for 12 months. I only bought the phone about 6 weeks ago. But after much pleading (and £15) they've agreed to send me an unlock code! So when this arrives, I'll try it out (the phone is currently still running WanamLite) and see if it works. If not, to save my sanity, I'll just cut my losses and sell/give away the bloody phone as "locked (forever) to O2, with WanamLite or Cyanogenmod".

And no - I don't blame WanamLite (or Cyanogenmod now) for the stock ROM installations working - I can only assume that there's a problem with the ROMs. I can install WanamLite and Cyanogenmod fine, and it just so happens that they're not downloaded from some dark, dodgy server, unlike most of the supposedly stock ROMs. It's just really annoying that the phone's previous owner thought it was a good idea to install Cyanogenmod in the first place, without first unlocking the phone.
[Galaxy S 4 Q&A, Help & Troubleshooting] Strephon Alkhalikoi:
It's only annoying because the phone wasn't unlocked beforehand, meaning you have to put the stock ROM on the device in the first place to be able to unlock it using those methods. I can understand that. However, you still have the issue of why Odin keeps on failing when you try running it. That's one that perplexes me as I've had no issues with Odin whatsoever.
[Galaxy S 4 Q&A, Help & Troubleshooting] hellopaul:
Well, my problems are over! O2 have already emailed me an unlocking code which WORKED! I now have an unlocked phone. I'm still interested in tweaking it, so may well install a more interesting firmware in future.

Thanks for your help and suggestions!

:D
[Galaxy S6 Q&A, Help & Troubleshooting] trajektorijus:
Hi, does anyone knows how to make this controller work with the Galaxy S6?

When plugged in nothing happens. Tried pairing couple of times. Still nothing.

Tested the same setup on my GS5 and it connected right away...
[Galaxy S6 Q&A, Help & Troubleshooting] j.fong:
I swear I thought I saw a vid before buying my S6 about how to pair a 360 controller to the S6, but after doing much searching I must have been mistaken :/. Really bummed that the S6 can't just straight up pair a controller with an OTG....my S3 did back then with no effort or root whatsoever -_-
[Galaxy S6 Q&A, Help & Troubleshooting] Godinhell:
Same here my logitech gamepad f310 also not working in otg but working in lg g2 flawlessly .
[Galaxy S6 Q&A, Help & Troubleshooting] stemfour:
Having the same problem. Really frustrated after testing with 2 PS3 pads and one xbox 360 pad, all over OTG - no response at all from my S6. Tried 4 OTG cables now...
[Galaxy S6 Q&A, Help & Troubleshooting] Szighy:
Doesn't work for me either, but works perfect with my nexus 5 and nexus 7. Did anybody manage to make it work on the s6?
[Galaxy S6 Q&A, Help & Troubleshooting] nk33:
Has anyone found a solution to this? How can it be recognised perfectly on all my other android devices but not my s6??
[Galaxy S6 Q&A, Help & Troubleshooting] wiidude22:
Solved on s6 active!

After about a week of trying, I have wireless 360 controllers working on my s6 active. I'm using a Microsoft 360 controller receiver and an otg cable. I had to find a legit USB BT Joy Center apk (not the gold version, it kept disconnecting my controller) and then I found an app called Lucky patcher that let me remove the license verification on the app, since it has been abandoned by the developer. No root required! It allows you to keymap, so I can use multiple 360 controllers for emulators (Mario kart tested), and I even used it to play games streaming from my computer with Moonlight. I have the modified apk file for anyone who wants it, or you can diy with my instructions above.
[Galaxy S6 Q&A, Help & Troubleshooting] Fullmetal Jun:
PM a link to download the modified apk please. I'll use it with my ps3 controller for the same game ;)

The sixaxis app requires root.
[Galaxy S6 Q&A, Help & Troubleshooting] wiidude22:
Here's the youtube link to my tutorial.

https://www.youtube.com/watch?v=I9fvLZMd9bE
[T-Mobile Samsung Galaxy Note II] premiatul:
T-Mobile Samsung Galaxy Note 4 Android 5.0 Lollipop Update Release Rolling Out Now

http://androidcommunity.com/lollipo...amsung-galaxy-note-4-n910-now-ready-20150428/

Any brave Dev would like to port this for our poor N2?
[T-Mobile Samsung Galaxy Note II] Rev10eight:
Plus one here.
[One (M8) Q&A, Help & Troubleshooting] Seanie280672:
umm that doesnt really help, whats your fastboot getvar all, whats rom did you try to flash, your flash commands are all wrong but require the other info in order to see what your doing.
[One (M8) Q&A, Help & Troubleshooting] nassimxmax:
i am running GPe and want to back to stock

i trying to flash this rom https://www.androidfilehost.com/?fid=95916177934518148

but he give me error

i have s-off and unlocked bootloader
[One (M8) Q&A, Help & Troubleshooting] Seanie280672:
ok when you have downloaded the file, put it in the same folder as ADB and fastboot files and rename it to RUU for ease

you will need to use the HTC_fastboot.exe to flash it, normal fastboot wont flash Lollipop RUU's, get the htc one from here and put in the same folder as your RUU.zip and other adb and fastboot files: https://www.androidfilehost.com/?fid=95916177934550031

then do htese commands:

fastboot oem rebootRUU (phone screen should go black with sliver HTC logo)

htc_fastboot flash zip RUU.zip (YOU MUST USE THE HTC_FASTBOOT to flash the zip, the normal fastboot wont work, now leave it alone to do its thing, takes about 10 mins, no need to issue this command twice as its automatic with the htc_fastboot)

now make sure when its finished and you have a command prompt and that it says successful at the end and OKAY

if so then type fastboot reboot-bootloader

now fastboot reboot
[One (M8) Q&A, Help & Troubleshooting] nassimxmax:
thank you so much i trying to find that htc fastboot but i didin't find it

i understand now i will try ;)
[One (M8) Q&A, Help & Troubleshooting] nassimxmax:
now it work fine

just waiting ^^
[Sprint Samsung Galaxy S6] aznxstylez:
Has anyone came up or figured out to make the volume louder by any chance??
[T-Mobile LG G3] Pheno.menon:
I'm running a cm12 nightly that is a month old or so. Is there any way for me to fix the aux issue? It's driving me crazy and I'm this close to buying a new phone just because of it.
[Sony Xperia T2 Ultra] QA Bot:
Q&A for [5.0.2][T2 Ultra Dual] Pre-rooted 19.3.A.470

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 [5.0.2][T2 Ultra Dual] Pre-rooted 19.3.A.470. 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! :)
[Sony Xperia T2 Ultra] svmsonite:
I am not able to reboot into recovery. My ndr utils tells me that it can not read xdzr.prop. How can I fix it?
[Sony Xperia T2 Ultra] Andrey Piekas:
Recovery is not working in our smartphone to date. Wait for corrections developer.
[Sony Xperia T2 Ultra] svmsonite:
Oh. Cool.. Thanks and keep up the good work :thumbup::thumbup:
[Sony Xperia T2 Ultra] lockheedlocker:
please, can you clarify the installation method ....

please, can you clarify the installation method of installing the pre-rooted 5.0.2
[8525, TyTN, MDA Vario II, JasJam ROM Development] nEUTRon666:
Hi there,

Ok, i read the wiki and forum for a couple of days now and i learned quite a lot of it, but some things are a bit unclear or i'm confused (too much input in that spare time :)). If i extract one of the Roms you guys cook here, do i just need to replace all the .mui files in that rom with the ones in my language, or i'm missing something here ? Since this would be pretty easy, i can't believe that's all, someone might give me a hint?
[8525, TyTN, MDA Vario II, JasJam ROM Development] kiokoman:
indeed, it would be too easy, you should check the thread in stiky

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

you will see that no one has been able to develop a localized version till now with only replacing the mui files/folder
[Galaxy S6 Q&A, Help & Troubleshooting] lite426:
I only get ~12000 on my demo unit
[Galaxy S6 Q&A, Help & Troubleshooting] solitarymonkey:
Just gave it a try, and got 22100
[Galaxy S6 Q&A, Help & Troubleshooting] lite426:
Interesting. Could you download the game "epic citadel" and run the benchmark and tell me what you get? Thanks.
[Galaxy S6 Q&A, Help & Troubleshooting] solitarymonkey:
Average fps 52, performance ultra high.

What did you get for it?
[Galaxy S6 Q&A, Help & Troubleshooting] lite426:
Average FPS 48.1, performance ultra high quality

I wonder if my demo unit has weaker specs or something than the normal version

Update: repeated the test again a few times and got 53.8 the first time, then down to the 30s for the next few tests. I think some sort of throttling is going on?
[Galaxy S6 Q&A, Help & Troubleshooting] blud7:
21646, 54 fps
[Galaxy S6 Q&A, Help & Troubleshooting] lite426:
Could you guys try PCMark please?
[Galaxy S6 Q&A, Help & Troubleshooting] solitarymonkey:
Just downloaded it and quickly ran the PC mark test.
[Galaxy S6 Q&A, Help & Troubleshooting] lite426:
Wow, I only got 4985 on PCMark
[Galaxy S6 Q&A, Help & Troubleshooting] solitarymonkey:
Are there any major spec differences with the demo version?
[Galaxy S6 Q&A, Help & Troubleshooting] crazymook:
Sprint variant.
[Galaxy S6 Q&A, Help & Troubleshooting] lite426:
The specs seem to be identical, I checked with the app "Spec Device", but I'm not sure if there is some sort of throttling going on that could explain the lower scores. I need to find out how to completely remove the demo stuff.
[Galaxy S6 Q&A, Help & Troubleshooting] solitarymonkey:
There is another thread with someone asking if it's OK to install a different fw. Have a look for it :)