yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Q&A, Help & Troubleshooting] abaaaabbbb63:
To unlock your bootloader, you don't have to boot into Android. Just hold the power button and both volume buttons for 10 seconds, then quickly release them and press power+Volume down. That should boot you in fastboot, where you can use the "fastboot oem unlock" command, and then flash the factory images.
[Nexus 4 Q&A, Help & Troubleshooting] ccrudden:
Hi, Thanks for the reply - I have tried that and it says its unlocked but when I try to flash any file it brings up an error when the phone reboots into fastboot mode it states its locked again?

Any other ideas?

Please

Thanks
[Nexus 4 Q&A, Help & Troubleshooting] jd1639:
In fastboot type

fastboot oem device-info

Does it show your device as locked or unlocked?
[T-Mobile Samsung Galaxy S 4] hyperenigma:
I tried rooting my phone on 4.2.2 but ended up bricking without having a nandroid backup. So i downloaded stock UVUAMDB tar from k0nane thread and it flashed without any issues through odin. However, my baseband version now is UVUAMBF and my build number is UVUAMDB. Is this normal? I also can't connect to wifi and every other rom i flash fails on ODIN. I can flash any recovery but can't flash any other rom except the MDB tar file. Also tried downloading the UVUAMDL and flashed it but still failed on ODIN. Can someone please help with this? I have been trying to fix for 2 days now. Please help!!
[T-Mobile Samsung Galaxy S 4] serio22:
What is your model number?
[T-Mobile Samsung Galaxy S 4] hyperenigma:
It is SGH-M919. Thanks for responding. Hope my phone is not totally useless now.
[T-Mobile Samsung Galaxy S 4] serio22:
Can you link to the firmware you flashed? That build and baseband isn't even for the M919.. Have you tried flashing latest NB4 firmware?
[T-Mobile Samsung Galaxy S 4] hyperenigma:
I flashed the stock tar from this thread:

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

I have attached a screenshot of the about device section of my phone.
[T-Mobile Samsung Galaxy S 4] The Sickness:
Go to Sammobile.com.........get the Official MDL 4.2.2 Firmware. Then you will be fine.
[T-Mobile Samsung Galaxy S 4] hyperenigma:
Alright. Thanks very much. I'm downloading right now and I'll post back regarding the outcome.
[T-Mobile Samsung Galaxy S 4] hyperenigma:
So i tried installing the official MDL 4.2.2 via odin but failed. I got this;

<ID:0/010> Added!!

<OSM> Enter CS for MD5..

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

<OSM> Please wait..

<OSM> M919UVUAMDL_M919TMBAMDL_M919UVUAMDL_HOME.tar.md5 is valid.

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/010> Odin v.3 engine (ID:10)..

<ID:0/010> File analysis..

<ID:0/010> SetupConnection..

<ID:0/010> Initialzation..

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

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

<ID:0/010> sbl2.mbn

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

<ID:0/010>

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

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

Any reason why? Thanks once again
[T-Mobile Samsung Galaxy S 4] serio22:
Do you have kies installed? It could also be because of your firmware that I have no idea how it was flashed. What does it show when you enter download mode?
[T-Mobile Samsung Galaxy S 4] hyperenigma:
In download mode, it says,

ODIN MODE

PRODUCT NAME: SGH-M919

CUSTOM BINARY DOWNLOAD: YES

CURRENT BINARY: CUSTOM

SYSTEM STATUS: CUSTOM

QUALCOMM SECUREBOOT: ENABLE

That's all it says. Recovery and everything else flashes in ODIN except modems and roms. Also in custom recovery using TWRP, it says error can't mount system. Don't know what's wrong. Plug into kies and says that's the latest firmware. Trying to update ota but can't because of my flash counter I think.
[T-Mobile Samsung Galaxy S 4] hyperenigma:
Also, something weird happened in that I tried rooting using CF ROOT and I succeeded but when I click superuser, it says KNOX is enabled and that it will disable it. Am I supposed to have KNOX on 4.2.2? These all makes no sense to me.
[T-Mobile Samsung Galaxy S 4] hyperenigma:
Please help. I don't even know what else to do right now. Can I flash a kernel or pit file or something. Just bought this 3 days ago.
[T-Mobile Samsung Galaxy S 4] serio22:
Uninstall kies and flash MDL firmware, also try different Odin versions, USB ports, even computer if that doesn't work. What was the initial root method you used?
[T-Mobile Samsung Galaxy S 4] hyperenigma:
I downloaded the CF root file for the tmobile s4. I'll try your suggestions above and get back to you. Thanks.
[T-Mobile Samsung Galaxy S 4] hyperenigma:
I just tried everything you suggested above and stil no luck. Switched USB ports, switched computers and switched USB cables. Guess I am stuck with this.
[T-Mobile Samsung Galaxy S 4] serio22:
Is all that you want root or do you intend on flashing custom ROM?
[T-Mobile Samsung Galaxy S 4] hyperenigma:
I just want a ROM that could work with my Samsung gear since it doesn't work on 4.2.2.
[T-Mobile Samsung Galaxy S 4] serio22:
Ok and you say you can't flash ROMs with any recovery correct? And they are latest? If so then only thing I can suggest is to see if you can flash 4.4.2 with Odin, search for fenny's NB4 firmware and flash that, after that you can flash recovery and hopefully be able to flash ROMs without issue.. Just remember that it will trip Knox counter once you flash recovery
[T-Mobile Samsung Galaxy S 4] ShinySide:
Im extremely curious where that baseband came from. Cause MDB was the firmware that shipped with the m919 on release. And according to your last 2 Letters of your baseband you have a modem from a firmware that came before MDB that was never shipped with the m919 but the rest MDB. I mean MBF isnt even on Samsungs open source site for ANY m919 variant. So that means MBF wasnt even released to the public or someone like me would of emailed for release of the source like I just did for GNG8.

You said you got it 3 days ago right? Did it come from a Samsung or Tmobile employee or something?

Anyways. Your getting the notification about knox cause theres a few knox files on 4.2.2 just basically not doing anything and SuperSu is detecting them. Your odin is failing on the bootloader (SBL/Samsung Boot Loader) Just for curiosity purposes can you download android terminal emulator and type getprop ro.bootloader and press enter post what version it says?

Since odin is failing, Id try Heimdall.
[T-Mobile Samsung Galaxy S 4] hyperenigma:
I bought it from a guy brand new. The phone was working perfectly fine when I purchased and there was no issues at all. I tried to flash a custom rom with 4.4.2 on the phone after rooting and everything just got messed up. Didn't check the baseband version then so I am not 100 percent sure about that as well. When I downloaded terminal emulator and did as you suggested, I got

M919UVUAMBF

I tried heimdall but don't know where to get the firmware package for the m919. Please any assistance will be very much appreciated at this point. Thank you very much
[T-Mobile Samsung Galaxy S 4] ShinySide:
Okay so you're the only person in the world with MBF.

I have a firmware post in the general section with all the firmwares to download
[T-Mobile Samsung Galaxy S 4] hyperenigma:
Thanks for responding. I will try looking at the firmware post an see which can be flashed.
[T-Mobile Samsung Galaxy S 4] lalec:
Are you using Odin3 v3.07? That version should work.
[AT&T Samsung Galaxy S 5] meissen:
Will we be able to get lock screen widgets with any of the ROMs? Or since the ROMs have to be based on TouchWiz, does that mean we're stuck with basically just themed roms? None of the ones out yet seem interesting, they all just look stock. I'm looking for a rom with custom battery icons, new features, lockscreen widgets, etc. Really missing my Samsung Galaxy S3 with the lack of customization available for the S5.
[AT&T Samsung Galaxy S 5] GDofWR420:
Check out ninjamorph(in the playstore). I just found it a few days ago u can theme the heck out of your phone with it. Once you get the hang of it it's a breeze. However you do have to have your own icons to swap out or just edit the ones that are there. Here's my power menu themed with ninjamorph
[AT&T Samsung Galaxy S 5] cstayton:
There's mods for it, I'll see what I can do for you.
[AT&T Samsung Galaxy S 5] cstayton:
ok, tested and working on my device based off of G900F OEM, this mod

should

work for all variants. let me know how it goes

copy to sdcard, reboot to SS Recovery and flash, then reboot.

to add or change widgets swipe left or right on the lockscreen

Patches, Addons and Themes
[AT&T Samsung Galaxy S 5] meissen:
Very much appreciate that you took the time to do this - I'm assuming I need the ROM as well, correct? Or will this work with the stock ROM just by following your steps?
[AT&T Samsung Galaxy S 5] cstayton:
This "Should" work with stock as well as any custom ROM, (I say should because as a mod it is independant of any other requirements) but make sure you flash through SafeStrap recovery make a backup first just to be safe.
[AT&T Samsung Galaxy S 5] meissen:
Gave it a try but no bueno with the stock ROM. After flashing the zip and rebooting, I lost the lockscreen and hardware menu and home buttons entirely, only the back button was working. Restoring my backup now -- tonight I'll try flashing your ROM and then install the lockscreen widgets. :)
[AT&T Samsung Galaxy S 5] meissen:
Wanted to update this thread in case anyone else wanted Lockscreen Widgets back - I installed SafeStrap and the KoolKit ROM then flashed the zip file and I have LockScreen widgets again. Huge thank you to [MENTION=3758230]cstayton[/MENTION] for coming up with a solution so quickly!
[AT&T Samsung Galaxy S 5] Kenichi:
You can also use Xposed instead of flashing SafeStrap to get Lockscreen Widgets...

http://xdaforums.com/xposed/modules/app-galaxy-s5-lock-screen-support-t2796353

Kenichi
[AT&T Samsung Galaxy S 5] Arcage:
Thanks for the link. This worked perfectly! I'm really enjoying it!
[AT&T Samsung Galaxy S 5] cstayton:
xPosed has lots of modules for all sorts of different things HOWEVER, xPosed also causes some very abhorent behavior in custom roms and can cause bad behavior even in stock rooted devices most devs shy away from xPosed in favor of hard coded mods. if the module works fine for then great but if you have issues like private mode not working serious lag on your device or other problems try using the hard coded mods with a custom rom
[AT&T Samsung Galaxy S 5] Kenichi:
Delete Message
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Haisudhee:
Hi,

Where to download old cocore kernels. Cant find it now on the thread. I need cocore-9.0 and cocore-8.2 CWM zips.

Thank You
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] TPD-21:
It turns out there who like the classic version. Well...

v9.0 aka New Version Aaand.... v8.2 (CWM) and (TWRP)
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Haisudhee:
It says 'CoCore-EP-8.2-CWM.zip'. Isn't it different from 'CoCore-E-8.2-CWM.zip' witout 'P"(NFC) ?

I need kernel for non-nfc version.
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] TPD-21:
Yes, I'm just speculating only. Because you did not mention earlier, a device that you have. :crying:

This.... (v8.2 ( E ) Only) ???? :rolleyes:
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Haisudhee:
Thank you!
[8525, TyTN, MDA Vario II, JasJam General] lanwarrior:
I kept on accidentally pressed the PTT button and a "warning" box always pop-up saying that PTT is not enabled. I have to hit "OK" to close it.

I know that the PTT button can't be modified (yet), but I just want to disable it for now so that dang box won't pop-up again and again.

I searched the registry but couldn't find anything. ANybody can help?
[8525, TyTN, MDA Vario II, JasJam General] pof:
http://xdaforums.com/showthread.php?t=279585
[8525, TyTN, MDA Vario II, JasJam General] lanwarrior:
Thanks, Pof! I didn't know it was in the "Hermes Upgrading" section. I did a search before, but only from the "Hermes" section.
[Samsung Galaxy S 5 Unified Development] Gunthermic:
Thank you, thank. You are a god...

Sent from my SM-T320 using Xparent BlueTapatalk 2
[Samsung Galaxy S 5 Unified Development] the_original_teknikl:
Gotta agree with the above post... You are awesome dude...

Are you about to ask a question? Hold up. Before you do that, did you check HERE? or HERE? :good: ;)

FOR ANY ND8 RELATED QUESTIONS PLEASE VISIT THIS THREAD ----> TouchWiz 4.4 KitKat ND8 myth busters

My KITKAT 4.4.2 Touchwiz, Blue PCB Theme

TOUCHWIZ KITKAT ANIMATED PULLDOWN BAR AND ANIMATED PULLDOWN BACKGROUND MOD​
[Samsung Galaxy S 5 Unified Development] rompnit:
Another awesome guide TD! Thank you for sharing your knowledge with the community! :D
[Samsung Galaxy S 5 Unified Development] loserskater:
[MENTION=1042140]tdunham[/MENTION], you point to the VolBtnSettings in the settings.apk, but you didn't attach the files. Just giving you a heads up. Glad to see my work lives on! Thanks for updating this :good:
[Samsung Galaxy S 5 Unified Development] tdunham:
Thanks. I'm glad someone's looking out for me. :)
[Samsung Galaxy S 5 Unified Development] 1brainsurgeon:
Thanks a ton for sharing your knowledge. You're a real class act man!
[Samsung Galaxy S 5 Unified Development] deuce_biggins:
Appreciate you sharing the knowledge, thank you sir.
[Samsung Galaxy S 5 Unified Development] the_original_teknikl:
Delete
[Samsung Galaxy S 5 Unified Development] deuce_biggins:
Hey [MENTION=1042140]tdunham[/MENTION]...this is the first time for me using <SwitchPreferenceScreen in any mod...there shouldn't be a problem with me adding an icon to line should there?

<SwitchPreferenceScreen android:icon="@drawable/xxxxxxxx" android:title="@string/volbtn_toggle_title" android:key="volbtn_music_controls" android:fragment="com.android.settings.VolBtnSettings" />

Edit: I'll post pics when I'm done
[Samsung Galaxy S 5 Unified Development] tdunham:
I don't see why not.

The good thing about SecSettings is that modifying it won't cause a bootloop, just a force close when you try to access the part of it that isn't coded properly.

However, why set an icon? This is a submenu of sounds and not a single item has an icon, stock Touchwiz of course. I just checked on my Galaxy SIII KitKat and the same goes there.

My SS is attached (without this menu item, we use CustomSettings.apk for toggles, colorizers & scripts).
[Samsung Galaxy S 5 Unified Development] 1brainsurgeon:
Anyone get the android.policy edits right on the Sprint Note 3?
[Samsung Galaxy S 5 Unified Development] 1brainsurgeon:
If someone with the know-how could take a look at my PhoneWindowsManager I'd sure be greatful. I'll leave it here......PhoneWindowsManager.smali

This is an error I'm getting when I...1 2 3 4 screenshot!

Thank you
[Samsung Galaxy S 5 Unified Development] tdunham:
The error is somewhere on or around line 16553 is what the baksmali is reporting there.
[Samsung Galaxy S 5 Unified Development] tdunham:
Line right before adding the new section:

move-result-object v8

You didn't use v8 in the 4 places like I recommended in the guide to replace v13 in the new code.
[Samsung Galaxy S 5 Unified Development] Gunthermic:
Will try again. I actually tried be and v12.. but maybe the placement is the screwy part... will try and see.

Thank you for helping tdun

Sent from my SM-T320 using Xparent BlueTapatalk 2
[Samsung Galaxy S 5 Unified Development] tdunham:
It HAS to be v8 in those 4 places but maybe we need to change some other values too. Let me know how you make out.
[Samsung Galaxy S 5 Unified Development] Gunthermic:
I will try v8... I think that is the area that can cause a big issue... I will report back....

Sent from my SM-T320 using Xparent BlueTapatalk 2
[Samsung Galaxy S 5 Unified Development] the_original_teknikl:
Question. I haven't had time to try the android policy edits yet but finished settings.... I tried to click the menu in settings to see if it works.... But get an fc in tap, menu won't even open..... Is this due to not doing the policy edits yet.... Or should it at least open anyways? Curious if I should go back thru settings or not.

Thanks.
[Samsung Galaxy S 5 Unified Development] Gunthermic:
If your settings edit are done correctly, yes it will open and you can see the menu items for this mod...

If you attach a log cat we can help you... it will tell us where it's error in out on..

Sent from my SM-T320 using Xparent BlueTapatalk 2​
[Samsung Galaxy S 5 Unified Development] the_original_teknikl:
I'm pretty sure I know what I did wrong... Let me take a look after work and if I still get the error I'll post a log.... Ill At least try to fix it on my own... Just wanted to make sure it was at least supposed to open without the policy edits....

Thank you.
[Samsung Galaxy S 5 Unified Development] deuce_biggins:
Ignore my last PM, got it
[Samsung Galaxy S 5 Unified Development] the_original_teknikl:
ok, in the last step (for secsettings), you state to match the v2, v3 and v4 to the surrounding code... thats the only thing i havent done... would you mind giving a litte example of what ONE ov the values need to match? then ill see what you mean for the others.

for example, i searched above and below that method for another SoundSettings V# (yours is v3) and i have soundsettings with a v3, v4, v27, and v28...... not sure which one i would use (the first one above or below?) or if thats even the right process at all..... (edit: kind of afraid this is such a dumb question that i may have just embarassed myself and made no one want to answer :P )

please forgive me if thats a noob question....... as i am with smali lol.... im usually pretty good at comparing files, and slowly getting better at making mods to the actual code, but not sure what im missing here.... even posting a modded SoundSettings.smali for comparison of that last step (and the surrounding code your referring too) would be greatly appreciated.

thanks for any help at all
[Samsung Galaxy S 5 Unified Development] tdunham:
There's already enough original code posted in my examples around the new code to figure out soundsettings.smali.

And my original android.policy files before & after are posted in the OP for diffing as well.

If my code has v3 in the new code and v3 in the surrounding code, then you need to see where you code is similar to my example and change it accordingly to whatever yours is.

I use v32 in my next to last secsettings example. I bet yours isn't v32. So you need to still need to change it to match.
[Samsung Galaxy S 5 Unified Development] the_original_teknikl:
Wow. See. I knew it was a dumb question. I completely overlooked that and was focused on the very last section. Gonna go thru the rest too now..... [emoji29]

Told ya I was a noob with smali [emoji9].. But picking it up... Just got schooled lol [emoji13] .

And I get the impression I may have came across wrong in the previous post... If I did I apologize.

Thanks for pointing that out to me.

.

Edit, Still no go, got sound menu to open but tapping the music control menu now gives a fc.... back to reading and comparing :(

also went to the android.policy to take a break from settings... and i get the same error in the post here... it points to a method that isnt even touched by this guide??? hmmm at a loss and back to start again..... :(
[Samsung Galaxy S 5 Unified Development] Gunthermic:
Music Controls.

Okay finall got the smali code working..

Nice tdun!!

Okay now to the questions....

Forward and Back seem to work perfect.

Pause, Play, Play/Pause, Stop seem to have no effect whatsoever..

As matter as fact if I select pause it just skips to next track..

Any clues? I thought it was like that several version ago.. Is this still an issue?
[Samsung Galaxy S 5 Unified Development] tdunham:
Good deal!

I'll look into that when I can. Frankly, I just needed volume skip working so didn't pay much attention to testing the other features fully.

Maybe [MENTION=1016795]loserskater[/MENTION] can weigh in on what part of the smali may be necessary to change to get it working and any bug fixes for the play/pause etc.
[Samsung Galaxy S 5 Unified Development] tdunham:
It's pretty difficult to create a lengthy guide that is clear enough to be followed without issue. As you're going through this guide, PLEASE, if anyone sees anything that they don't understand or feel could be explained in a different manner, let me know. Always a work in progress.

Cheers - TD
[Samsung Galaxy S 5 Unified Development] the_original_teknikl:
I just have to say that your guides are usually pretty thorough and very detailed.... The issues MOSTLY arise from there being different builds with differences to them.... Not ur guides.... Dam google and Samsung lol.... At least that's where my issues arise.

Thanks for ALL of your guides [MENTION=1042140]tdunham[/MENTION]
[Samsung Galaxy S 5 Unified Development] tdunham:
Finding the proper V(ariable) values is pretty tough. This is why I posted my android.policy.jar so people can diff the exact changes with something like Winmerge to see exactly where and how everything fits in.

Since most devs don't include diff files, I've gone to great lengths to find some changes, even downloading a full stock rom and a full custom rom JUST to diff a single file. It can get pretty difficult sometimes. :crying:
[Samsung Galaxy S 5 Unified Development] Gunthermic:
You got that right... the variables are the hard part always

Sent from my SM-T320 using Xparent BlueTapatalk 2
[Samsung Galaxy S 5 Unified Development] loserskater:
I'm working on this for the KK build for the S3 so I'll let you know what I come up with.
[Samsung Galaxy S 5 Unified Development] deuce_biggins:
Just curious to know why PhoneWindowManager$SettingsObserver.smali is not included in the OP while it had edits on github?
[Samsung Galaxy S 5 Unified Development] tdunham:
I don't recall exactly what it did but I don't believe it was a necessary edit.

Jeboo didn't even use that edit when he did the mod for his rom.
[Samsung Galaxy S 5 Unified Development] Kamy:
Would be thankful if somebody look at my smali, it won't compile though I didn't make any change in which log points out.

Thanks in advance

Smali

..\Decompiled_jar\android.policy\com\android\internal\policy\impl\PhoneWindowManager.smali[18212,0] Cannot get the location of a label that hasn't been placed yet.
[Samsung Galaxy S 5 Unified Development] tdunham:
I cant find anything wrong either. What phone are you modifying?

You just added changes to your phonewindowmanager.smali and you're not using mine correct?
[Samsung Galaxy S 5 Unified Development] Kamy:
I am trying this on my Note 3 which is running S5 port rom I think it's based on ANE2 international firmware. No I am not using your smali just edited mine with those blue lines in OP and added those 2 smali files requied for this mod to the root folder.
[Samsung Galaxy S 5 Unified Development] tdunham:
Maybe it is what you are using to decompile & compile?

Can you decompile and recompile stock android.policy.jar without making any changes? I still use apktool 1.5.2. I find that the apktool 2.0.x tools cause problems for me in some cases. And maybe some of the smali methods I posted are not compatible with the newer version too without making modifications.
[Samsung Galaxy S 5 Unified Development] tdunham:
I forgot to add notes to the guide about the public value edits to the new smali in SecSettings.apk.

The guide has been updated for those and the changes are at the very end of the SecSettings section.
[Samsung Galaxy S 5 Unified Development] Kamy:
That's why. I actually compiled android.policy.jar successfully, SecSettings.apk was also compiled well and I could see music control toggle tough touching it was giving me FC. Today I was trying angain carefully followed as per OP and same issue. Good to see guide is updated, I am going to re-modify and see if I can bring it to my rom. Would update soo about outcome.

Thanks