yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] Creative:
FLASHING STOCK ROM ON SAMSUNG DEVICES

Today i'm showing how to install stock rom on samsung devices

You want to need

- Odin (i attached on the post)

- Stock rom (odin package) (search your device stck rom on google)

- Download keis for your phone

-Download drivers for your phone

Instruction

- Download your stock rom & odin for your phone , i say you download splited ( SplitFUS2 ) odin package

- install drivers

- install keis

- open odin

- connect your device and boot to download mode

- press&hold (vol- , power and home button) or press&hold (vol- ,vol+ and power button) or search on google

Check when you connect your phone you will see in box ID:COM3

- tick only auto reboot & f.reset time

- add files

- in PDA - PDA_xxxxx_xxxxxx.tar.md5

- in MODEM - PHONE_xxxxx_xxxxx.tar.md5

- in CSC - CSC_xxxxx_xxxxx.tar.md5

if you have - in BOOTLOADER - DefaultCaldataWithboot_xxxxxxxxxx_xxxxx.tar.md5

after you add all files .click start

if Completed odin shows PASS!

you installed stock rom on your samsung device

click Thank

plese comment me if any problems

Striker_06@XDA
[8125, K-JAM, P4300, MDA Vario General] OryHara:
By default the 8125 loaded with WM6 will allow you to block all calls, or block calls if roaming. Any apps, or cabs, regfixes out there that will allow a "block if not in contacts"?
[8125, K-JAM, P4300, MDA Vario General] bbobeckyj:
yes. lots of them, some free some $/£s

google 'blacklist ppc' etc

there's one on this site somewhere i think.

spb have just released an easy to use app which includes the function and has a today plugin
[Nexus 4 Original Android Development] kldoc:
reserved
[Nexus 4 Original Android Development] sparksco:
Is the official omni lollipop out yet for hammerhead? I've been running my own builds for awhile.
[Nexus 4 Original Android Development] kldoc:
That I know, Omnirom 5 is not official yet on any device, shouldn't be too far away though ...
[Nexus 4 Original Android Development] sparksco:
OK. I don't see any bugs listed. Just a few I've had on my omni builds so far with gapps.

-Google now launcher won't work at all.

-inbox by gmail force closes

-goolge drive force closes

Are the same bugs present on this rom?
[Nexus 4 Original Android Development] kldoc:
I don't have any of those bugs, it's been my daily driver for 2 months, I use Google Now Launcher, Inbox for about a month, and no issue with Google drive either.

The only real issue I had so far, is a known Lollipop issue on Mako, camera is a bit slow to start, around 2 seconds.
[Nexus 4 Original Android Development] sparksco:
Yup wiped clean but different device so maybe that's why. I'll merge their upstream changes later on thanks!
[Nexus 4 Original Android Development] kldoc:
Hammerhead has received lots of complaints on Lollipop, I don't have it, so I can't really tell on Omnirom. Nexus 4 do behave really well under Omnirom, better than on Kitkat in my opinion.
[Nexus 4 Original Android Development] xWolf13:
Any features other than its pure AOSP? Haven't checked on this build, but on other unofficial builds it was just stock AOSP..
[Nexus 4 Original Android Development] kldoc:
OmniSwitch has been ported, Ambiant Display, wake up buttons are also back.
[Nexus 4 Original Android Development] kldoc:
I just updated the thread with a first 5.1 build.

It's a very early build, I've been running it for 24 hours, so far no issue, but it needs more testing, it comes as is.

You can now use Paranoid Android gapps for 5.1 beta 2:

http://xdaforums.com/showpost.php?p=59403724&postcount=2445
[Nexus 4 Original Android Development] syedyasin:
Hi... Not able to installed xposed :(

other than that everything works smooth
[Nexus 4 Original Android Development] theraf90:
5.1 not yet supported by the Dev, he said he'll need time. [emoji20]

I might try this ROM tomorrow though [emoji106]
[Nexus 4 Original Android Development] pertson:
Looks good...

sent from Le Nexus 4
[Nexus 4 Original Android Development] Assis Brandão:
in the screenshot of the first page the link is version 5.0.2, but the title is 5.1, is that correct?

http://imgur.com/zMz6iWI
[Nexus 4 Original Android Development] kldoc:
Yes, my bad, I forgot to update the screenshot, lacked the time to do so, will do today.

Still using 5.0.2 blobs on 5.1, since Google didn't update those yet, you might encounter some drm issues.

I actually never used Xposed, but 5.1 is less than 3 days old, give some time to devs to fix things ;)

5.1 merge is actually going rather well, I didn't encounter any issue yet, but feel free to report if you encounter any, but as always, logcat please :)
[Nexus 4 Original Android Development] danielcepa:
report

quick report on the 5.1 build

-works great

-really smooth and fast

-location works , both modes

-google backup is kinda broken. It restores apps, but no user settings etc. Its probably a Gapps error anyway (PA BETA2 5.1). No account in backup settings, debug only

-some fcs when digging deep into settings (appops, smartlock)

-tweaks: button wake, long press tiles, adv reboot, ambient dispaly, omniswitch and prob. more

-root works with supersu 2.46
[Nexus 4 Original Android Development] kldoc:
For the fcs in settings, I'll look at it, didn't have the time to check smartlock yet, appops, I'll be honest, never tried, but gonna check those two.

Teams needs a bit of time to polish, as 5.1 only has been out for a few days ;)

Thanks for the feedback.
[Nexus 4 Original Android Development] kldoc:
Ok, I tested those fcs you mentionned, but I couldn't reproduce those. Then I am running a newer build than the one that was in the main thread, so I just uploaded it (14032015). If you keep having those fcs with this build, did you wipe data before flashing it ?

Not much changes in that build, mostly bugfix related to mismerges from 5.0 to 5.1.
[Nexus 4 Original Android Development] AztlanUnderground:
When ready!
[Nexus 4 Original Android Development] strongiukas:
Hello guys. One question: why titanium backup! is not supported? What alternatives should I use?
[Nexus 4 Original Android Development] lebenskuenstler:
Just to give feedback. The issue is resolved for now, however I did not much to investigate the problem due lack of time.

The app reonsible for reboots was µg UnifiedNlp for GAPPS-free devices (https://f-droid.org/repository/browse/?fdfilter=Unified&fdid=com.google.android.gms).

After deinstallation I had no reboots whatsoever. As I did not see any reported issues about this I speculated that there may be a connection to the fact, that the build comes with kernel config from stock and that this app was rather developed and tested on systemes with modified kernel as CM i.e. I decided to use an other kernel.

And yes, after installation of franco kernel I have no problems anymore with that app.

If there is more time, I'd be willing to look deeper into this.

LK
[Nexus 4 Original Android Development] lebenskuenstler:
TB is surely a very strong tool, I do know if this will fit your needs: https://f-droid.org/repository/browse/?fdfilter=backup&fdid=dk.jens.backup

In what way do you think TB is not supported?
[Nexus 4 Original Android Development] kldoc:
Thanks for all those informations, I'll try to give it a look when i've got time. Glad you found what the issue was.

On more general news, the reason why there is no newer builds from me is rather simple, I didn't push Mako's 5.1 kernel update to OmniROM's gerrit because 5.1.1 got released, made little to no sense at all to push 2 kernel updates in a little time, and it wouldn't give enough time for testing and make sure it can be released in the wild (even though OmniROM is damned near close AOSP, there's always a possibility for a random commit to break something). Thing is as of now, despite newer blobs and ROM being published, sources aren't there just yet, and I'm waiting for this before making a new build but I'll probably make an updated build by this week end if nothing was released by Google.

Have fun following Google I/O folks ;)
[Nexus 4 Original Android Development] strongiukas:
Guys, i'm using omnirom 05.17. When i was using cm, i always got internet connected to cellular h+(hspa+), but now only h(hspa). Where can i find a solution?
[Nexus 4 Original Android Development] fire6water:
Settings/mobile network/access point names
[Nexus 4 Original Android Development] kldoc:
I modified main thread's link to 20/05/2015 build, since it's stable.

I'm still waiting for device tree and kernel update from Google to update the build.
[Nexus 4 Original Android Development] kldoc:
Hello folks, 5.1.1 update for kernel and device tree doesn't seem to come, so I did a build with update kernel and blobs. I was having power button lagg on previous build, and it seems to solve that issue, needs more time for testing. Uploading as i'm writing this, stay tuned ;)

EDIT: Upload done, main thread updated, I keep previous build available in case you have troubles and wish to revert.
[Nexus 4 Original Android Development] panaut0lordv:
Hey kldoc, have you got any idea why are my downloads from GDrive failing?

Had absolutely no trouble with GApps from euroskank so I don't know if that's Google issue or what.
[Nexus 4 Original Android Development] kldoc:
I don't know why, I'll try to download from my phone to see how it behaves.

EDIT: I've just downloaded the ROM from my Nexus 4 running latest OmniROM build, gapps are slim gapps, and no issue whatsoever.
[Nexus 4 Original Android Development] panaut0lordv:
Thanks for the feedback, it succeeded today with no problems whatsoever.
[Nexus 4 Original Android Development] kldoc:
Glad it's working again for you :)
[Nexus 4 Original Android Development] kldoc:
Ok folks, I've got good news for you, nightlies will soon start, it's a matter of days, or at worst in the next 2 weeks :)
[Nexus 4 Original Android Development] tedr108:
[MENTION=2604804]kldoc[/MENTION] -- Music to my (our) ears...

Really nice of you to give us what you could in the last few months.
[Nexus 4 Original Android Development] kldoc:
I'm officially Mako's maintainer for OmniROM, and I had hell lots of things to learn about the workflow, but everything is getting together, which means I'll keep publishing updates on gerrit/github to maintain it for OmniROM.

It has been a real pleasure for me to bring you builds that you could use while waiting for nightlies, thanks all of you for your feedback, it really has been helpful.

Nexus 4 is still my only device, and seeing how well this device is aging, no real reason to change anytime soon (4G/LTE isn't really needed here).

Long live Mako, long live OmniROM ;)
[Nexus 4 Original Android Development] kldoc:
Ok, nightlies actually started, although not yet available for download, builds are all successful on Mako. Since they are relaunching the machine, they might need a few more days before making those available.

Stay tuned ;)
[Nexus 4 Original Android Development] TheeWolf:
That's good to know :)

I remember that on Kitkat, Omni used app ops for permission control... is it available now too?
[Nexus 4 Original Android Development] kldoc:
Didn't test that, but with Google's plans on this, not sure what they plan to do. As of now, there's not yet customization controls on it outside of what Lollipop already offers, unless I missed it ...
[Nexus 4 Original Android Development] kldoc:
Since nightlies are in the starting blocks, I won't be publishing any new build, doesn't make much sense to publish anything new. Nightlies will be exactly the same than what you were able to download from this thread, with the exception of dex preoptimization that wasn't included, which means first boot will be slightly slower on nightlies than on my own builds. Reason it wasn't included are that it makes it hard (not to say impossible) to debug issues if the system apps dex are preoptimized.

Have fun with OmniROM :)
[Nexus 4 Original Android Development] TheeWolf:
Yes but Google implemented permission control on Android M and not on Lollipop. Lollipop offers nothing regarding permissions. So the team hasn't ported the permissions control from Kitkat? That's too bad.
[Nexus 4 Original Android Development] kldoc:
Well AppOpps is there, but I really didn't follow, no idea how much is there as I never looked into it, it got ported. You could give it a try and see if it fits your needs.

Here's the commit for android 5.0, but it's the same on 5.1.x

https://gerrit.omnirom.org/#/c/10216/
[Nexus 4 Original Android Development] I.P:
Hi

Has anything been done for enabling EAP SIM authentication in Omnirom 5.1 ? Or are there any hardware issues with our beloved makos preventing this from working ?

(Or am I simply the only one to care about this ? Lol)
[Nexus 4 Original Android Development] poyskie:
Hi, im still in 4.4.4 just wanted to ask how should I upgrade without problems. Do i need a full wipe?
[Nexus 4 Original Android Development] usenexus4:
cm to omni

Due to bad support from CM for my device I changed to omni. I already discovered two bugs which I added in the bug reporter.

One is severe: The phone is rebooting will charging on a pc.
[Nexus 4 Original Android Development] Stevica Smederevac:
Wait for 2,3 days,nightlies are starting.
[Nexus 4 Original Android Development] usenexus4:
Sounds good :) will a OTA Update be possible?
[Nexus 4 Original Android Development] TheeWolf:
You need a full wipe. Android 5.1 has more than 1000 new commits since 4.4.4... it's a completely different system (under the hood).
[Nexus 4 Original Android Development] kldoc:
[MENTION=1758954]threew[/MENTION]Thank you for answering this :) right, but you also need to update radio and bootloader.

[MENTION=6770151]usenexus4[/MENTION] Coming from OmniROM, did you update bootloader and radio ? Did you do a full wipe before flashing OmniROM, as CyanogenMod isn't fully compatible with AOSP, you indeed need a full wipe./factory reset (format system, data (not /sdcard data) and cache). I already answered the bug report you submitted, I'm unable to debug your issue without a logcat, because i don't have random reboots. The SIM code problem, I'm unfornutately unable to verify it by myself, my sim is chinese, and I can't read chinese, I asked another member in the dev channel if he could test out SIM side code to see if it does the same. Knowing that, if you didn't update your radio (modem), it could be responsible for this bug. Latest build runs latest blobs, you really need to flash the latest radio.

EDIT: [MENTION=6770151]usenexus4[/MENTION] I got an answer, not tested yet, but this also has been an issue in the past, blobs and radio mismatch can do this, you absolutely need to flash latest radio. If you need help doing this, i'll post you a thread on Xda which explains the procedure.
[Nexus 4 Original Android Development] kldoc:
For those needing to update their radio/modem

http://xdaforums.com/nexus-4/general/ref-mako-modem-collection-t2087227

And this one for those who forgot to update their bootloader:

http://xdaforums.com/nexus-4/general/nexus-4-bootloader-collection-t2105983
[Nexus 4 Original Android Development] kldoc:
Hello folks, nightlies started, main thread updated :)

http://dl.omnirom.org/mako/

Enjoy OmniROM :)

For those who used to my builds, you'll notice a difference in size, due to the fact my builds included dex preoptimization, which is disabled here, that's where the difference in size comes from. Coming from my builds, please do a NAND backup before doing anything, then backup everything, use Titanium Backup to backup your apps, then perform a factory reset and flash, as nightlies won't finish boot if coming from one of my build, due to dex preoptimization that was used in my builds. TWRP also received an update, you should update it before flashing ;)
[Nexus 4 Original Android Development] magnet1215:
Google Photos can't login with logined android Google accouts.
[Nexus 4 Original Android Development] kldoc:
http://forums.androidcentral.com/google-nexus-5/536240-why-can-t-i-log-into-google-photos.html

Generic bug, not related to OmniROM :)

You can use tk gapps mini package for your gapps, since it install the photo apps, it will solve this issue, I had the same issue, conflicting apps

http://xdaforums.com/android/software/tk-gapps-t3116347/post60940313#post60940313
[Nexus 4 Original Android Development] morganmf:
Comparing LP omni to KK omni is so poor and modest that you can't have fun, it is yet another aosp like rom. Pity that it took so long to make this.

Wysłane z mojego Nexus 7 2013 LTE przy użyciu Tapatalka
[Nexus 4 Original Android Development] I.P:
First of all:

THANKS

Still restauring my apps right now, but I can't find a way to set omniswitch as the default app switcher ? On KK it was possible to do this in the interface menu but the only entry I have here is "buttons" which is not very useful.

And thanks again !
[Nexus 4 Original Android Development] pulser_g2:
The bringup for L took a while, due to there being very few people willing to actively develop and bring up their devices. During this time, the time was spent ensuring there's a rock-solid base for qcom devices. Features can be ported forwards - patches encouraged on gerrit. More developers makes things move quicker.

The intention is to bring Omni back to what it was on 4.4, but that takes a lot of time, and this is a hobby for those involved. Perhaps you would like to get involved and port forward the features you liked?
[Nexus 4 Original Android Development] I.P:
After a few hours :

- as reported above Photos only works if installed from gapps package (use TK gapps for instance)

- same problem with Google Now launcher

- default max CPU speed was set to 1.2 GHz instead of 1.5

- still couldn't find a way to set omniswitch as default switcher.

Don't pay attention to embittered people, thanks, thanks and thanks again.
[Nexus 4 Original Android Development] kldoc:
Hi,

first, thank you for your feedback, and you're very welcome :)

I really love that device that is still my only phone and daily driver, and it's actually aging very well (compared to my Galaxy SII i9100g who barely lasted a year). Then I really like the way OmniROM does things to implement features, always keeping AOSP compatibility when adding features, it takes longer to implement or port features, but it's all for the better good :) And that's the reason why I'm here today :)

I had the same issue with Photos, conflicting apps.

Google now Launcher needs 2 apks to work, one from the Google play store, and one that you flash (google home apk and velvet apk), I'm actually also using it since the very beginning, and on that matter, please do NOT use Android-M version, it breaks "ok Google" hotword detection, I already tried :p

There's nothing I can do here unfortunately, those are Google's proprietary apps, and only them have control over their behavior/installation. Many people in OmniROM actually don't use Google apps, and that's the reason why Bank gapps is recommended.

Larger packs can be used, but their support relies on the team that create those (don't take this comment for you [MENTION=5230799]I.P[/MENTION] , this is addressed to anyone having issues with those).

Generally speaking, the only support for Gapps I do is DRM related, since this is device wise, and on that matter, I worked hard providing updated blobs on my own builds to get Google's apps working without DRM issue.

[IMG="OmniROM Mako performance control"]http://i.imgur.com/HinhvtT.png[/IMG]

That is really odd as I didn't change anything here, and I did a factory reset to install nightly, really surprising you have a different value, do you use a custom kernel ? I know that custom kernels tend to underclock to save battery. I've checked the code for it on Github, and it indeed says 1.5, not 1.2:

https://github.com/omnirom/android_device_lge_mako/blob/android-5.1/power/power_mako.c

pulser_g2 answered about the lack of features that were ported.

I actually am not a user of OmniSwitch, but I think what you're talking about is the missing possibility to customize softkeys that then can be linked to OmniSwitch instead of stock recent view. Navbar customization wasn't ported yet, we need to wait for someone to do the job, I'm lacking free time to work on it.

[MENTION=5230799]I.P[/MENTION] Once again, thank you for your feedback, I hope I answered your concerns, and I certainly hope you enjoy OmniROM, have fun :)
[Nexus 4 Original Android Development] I.P:
Hi,

About the gapps mess I understand you can't do anything about it, when you know where to look at to fix these annoying issues it's not really a big deal.

About the cpu speed I had this after 3 factory reset with latest nightly) yesterday, the max freq slider was on 1.2 but I can't swear the CPU was indeed under throttled. I'm saying this because of the screenshot below and the same thing happens with the min frequency slider. Obviously every time I try to take a screenshot of this issue the CPU cores frequencies are changing but it looks like the values on the sliders are ignored.

[IMG="cpu freq"]https://lh3.googleusercontent.com/-J5ojRNu-D0NWSEuSHRNS2or0J89lEy4O13tOuHHUdQ=w614-h1022-no[/IMG]

I'll use the latest nightly as my daily driver today, let's see what will happen. I already noticed the apps volume was not moving anymore when accessed from the drop down menu linked to the volume buttons after plugging/unplugging headphones. I couldn't reproduce it yet so its not a really useful bug report right now.

For the missing features I'll wait, I've survived with LL awful switcher for several months I can wait a couple more weeks to get softkeys customizations :D
[Nexus 4 Original Android Development] magnet1215:
Is OTA workable? My phone is still the first nightly version even if I check it Manually.
[Nexus 4 Original Android Development] I.P:
My phone is downloading 20150621 right now (manually checked)

Edit : I had to reboot manually but otherwise it worked fine.
[Nexus 4 Original Android Development] kldoc:
OTA is currently untested, there is a message on OmniROM's blog to hold on for now. I actually have issues to access the server and couldn't test it yet.

Nice to see you didn't have any issue :)
[Nexus 4 Original Android Development] magnet1215:
Yes ,works fine now. Battery drains slowly. Thanks a lot.:good:

When will you put the wifi monitor in omnirom?:p
[Nexus 4 Original Android Development] kldoc:
This is ROM wise, I'm also waiting for it, guess someone will port it sooner or later, I truly don't have enough time right now to do it unfortunately :(
[Nexus 4 Original Android Development] usenexus4:
I did some new installs together with kldoc, without success.

We could figure out that the reboot does not appear on the stock rom.

The only difference between my config and kldocs config is the carrier (congstar (D1)/ germany).

I had no time for further testing and therefore I am using the stock image now.

Nethertheless if there are users with congstar and omnirom please let me know.

I also updatet the bug tracker.
[Nexus 4 Original Android Development] gajodafeira:
I'm using for a couple hours. How about battery? I'm charging now, i can't figure if is ok or not...
[Nexus 4 Original Android Development] magnet1215:
Still doesn't work here . So I downloaded it from dl.omnirom.org and flashed in recovery manually.
[Nexus 4 Original Android Development] I.P:
Stopped working here after 0621.

Otherwise nothing to report, no reboots, no crash.
[Nexus 4 Original Android Development] kldoc:
OTA have been stopped, there was a problem with those. Will keep you informed about evolution on this as soon as I know more.
[Nexus 4 Original Android Development] kldoc:
Main issue remains, without any logs, it's impossible to debug ...
[Nexus 4 Original Android Development] HdSht:
[MENTION=2604804]kldoc[/MENTION] is this implemented in the rom or at least do you think it's possible to add?

https://github.com/gkraynov/nexus-4-navfix

Because this is the only way for me and other users with softkeys problems to use the navbar.

Ty for your time :).