yashsingh1/xdaforums huggingface dataset:
[Moto G6 Play Questions & Answers] impy2101:
I'm more hoping to unlock the device's sim slot - ironically - this is a Verizon pre-paid and I want to use it with Verizon - my current carrier. I bought the phone in hopes of replacing a phone that quit working on my daughter.

I would like to understand the difference though - I've been fooling around with a Moto E6 and have unlocked the Bootloader - I did go to Motorola's site to get the key based on issuing a fastboot oem get_unlock_data command from the cmd prompt screen. Got the mile long number sent it in and got a key and ran the command to unlock it. I think because it's a newer model - E6 - it's a bit of a weird hinky thing to root it. It can only be done by booting the phone in "Recovery Mode" - I can add all kinda Magisk modules, etc...I can even blow up the phone and reinstall it.

But I can see that the Network is still Consumer Cellular. I'm really getting confused about all of this, lots of terminology without explainations, etc...so in order to teach myself effectively I'm looking at schematics of phones and building my own diagram - sorta like the OSI model for a PC - showing where the bootloader resides, the os/recovery resides, and so on, right? After seeing the Consumer Cellular is still the provider - I searched again and found a page that says I need an unlock code - and as you also said - I've run into this advice a few times - that the owner must fulfill the prerequisite contract time. I had tried arguing with Verizon that I already spent more than 50.00 by being their customer for 4 years and letting them charge me for an entire year for international service despite me telling them to turn it off 4 or 5 times (no sympathy from them...)

I'm extremely confused - where is the "code" that locks the sim to a carrier? Obviously, its not in the bootloader. Clearly, it's not part of the rooting process - which I understand is just granting permission to root directories. Is this code the same code that locks out a pre-paid from a regular sim? I'm guessing whatever it is - it's not part of recovery.img at least.
[Moto G6 Play Questions & Answers] Sands207:
I know what you mean by the code and my best answer would be that the carriers themselves have it. It is not common place for the sim unlock codes to be public because if that was the case, no one would or could be locked into a contract and the carrier companies would lose big time money. There are services to unlock sims but as i mentioned before, I've never tried them. so i cannot say if it is a safe or good idea. I have switched carriers using other ROM's besides stock and using other cdma sims in my phone but i was switching carriers. I had to edit my access point names manually for it to work and root was also needed.
[Moto G6 Play Questions & Answers] impy2101:
Well, clearly the code is not in the SIM card itself. I had good luck with AT&T prepaid. I think I found a page that indicates I can just call Consumer Cellular for my E6 and hopefully they won't force me into a contract fulfillment requirement first. For the G6, it's Verizon...and I'm thinking I gave up too soon. Verizon owes me a big favor because they kept charging me for International Calls. Granted I didn't call every month and yell at them but it took them a year to take it off my bill - I only checked once every 2 or 3 months. My bill was never the same regardless because of the constant adding and changing - so I missed it (and would forget to check).

That makes sense that the pre-paid "lock" is not public and not located in easy to search spot in the phone. I'm just trying to puzzle out the system. Is it something that would be found in the BootLoader? Unlocking the Bootloader is the first step - so you'd think it might be there. Probably not - because Bootloader's job is to load the boot the operating system. Is the Bootloader and OS on the same chip but with partitions? Or do they have separate chips? I've been studying the innards of an android phone - the various chips and there functions - it looks like two possible chips; either the ROM IC which I believe contains the bootloader and I know contains the OS (or just the kernel?) or the Flash IC which should contain "Software" and IMEI Number of the mobile phone. The others are for functions such as sound, network, tx/rx, power, CPU, etc. So? Is there a separate module (chip/ROM) in the phone specifically for the SIM slot - that the OS accesses at some point in loading? I just have a burning curiosity on where it would be stored. Don't worry, I have no real developer skills and no time to "hack" out the issue I'm having anyway. I just learn better when I understand how all the puzzle pieces fit together - I'm puzzled by this aspect of pre-paids - it must be an entirely separate module (software or firmware) that has been added to the basic OS - but where?..... :)
[Moto G6 Play Questions & Answers] fcohen:
It's a matter of terminology.

SIM Lock / Carrier Lock - this determines if you can use different SIMs from other carriers. The setting could be stored in nvram or baseband image. Verizon phones usually automatically sim/carrier unlock after 24 hours on their network.

Bootloader lock/unlock - this allows modification of the partitions/software. Generally, if your bootloader is locked, you can only flash "signed" images. If you brick your phone, you can generally reflash stock roms to fix.

Most phones direct from carriers (Verizon, ATT and TMobile) don't allow bootloader unlock, especially the good deals.

MVNOs like Tracfone(and their subsidies Simple Mobile, Straight Talk, Net10) will sim/carrier unlock after 6 months to a year of paid service. They generally don't officially support bootloader unlock, that's usually through a hack.
[Moto G6 Play Questions & Answers] Sands207:
This post maybe helpful to you https://xdaforums.com/chef-central/android/guide-android-rom-development-t2814763
[8525, TyTN, MDA Vario II, JasJam General] Zero|Cool:
Hello everybody. I would like to know if it is possible to return the original CID and SPL so that i can send the phone to the warranty (problem with the vibrator :mad:). Is there anyway to do it? I already drew back the original ROM and Radio. Thanks in advance
[Android Head-Units] djfrantik:
I have a 10.25 android unit in my mercedes running android 9. I have a weird issue where I have no sound from certain apps.

Google chrome app no sound when using youtube in browser but have sound using youtube app.

Amazon music - no sound

soundcloud - no sound

But then I can use spotify with no issues.

I have tried uninstalling and installing the apps with no success.

Anyone else come across this issue and knows of a resolution?
[Android Head-Units] miguelbaines:
Try rechecking your ground wire. Make sure it is connected properly.
[Android Head-Units] djfrantik:
I was thinking more along the lines of a codec issue. Based on the fact I do get sound from other apps?
[Android Head-Units] dutchcommando:
a bad GND can cause all sorts of strange issues, even on the software side of your unit..

that said, android handles sound in a strange way, and sometimes it can result in silent apps.

basically android can not mix sounds from impended apps/sources. it grants permissions and checks which permission overrules a previous permission.

if a app does not ask for audio permissions and invokes them straight away, another app or the previous app could hold the audio permission, thus muting the app you are using.

so if you start chrome for instance it does not ask for audio permission on startup and can get muted.

you can try to dive deep in the apps permissions to give them audio permission manually, so the app can give audio again.

but it could happen (with older andriod versions) that if another app uses audio like your navi voice directions, or you speeding camera app, chrome would not get audio permissions back until restart.
[Android Q&A, Help & Troubleshooting] st.dan:
Hello ... so i have an Radio.img and i know inside there are this files

(bootloader) Validating 'radio.default.xml'

(bootloader) Committing 'radio.default.xml'

(bootloader) - flashing 'NON-HLOS.bin' to 'modem'

(bootloader) - flashing 'fsg.mbn' to 'fsg'

(bootloader) - erasing 'modemst1'

(bootloader) - erasing 'modemst2'.

How can i extract NON-HLOS and fsg ? thanks in advance ...
[Android Q&A, Help & Troubleshooting] ziddey:
I know this is an ancient thread, but it's still the first search result, so I figured a solution could help anyone else that stumbles upon this..

I made a quick and dirty extractor that works at least for motorola edge 2021 xt2141 radio images. These files seem to start with magic "SINGLE_N_LONELY" and end with "LONELY_N_SINGLE". Filenames are provided, followed by the length of the contents (in little endian), then the contents.

This script will try to open radio.img in the current dir if a filename is not provided. Dumped files will go right in the working dir, so be careful. File content reading isn't done in chunks here, so be mindful of memory usage. Likely not an issue, but you can code in some chunking if needed.

#!/usr/bin/env python
import io
import sys
# supply filename as argument or default to 'radio.img'
try:
filename = sys.argv[1]
except IndexError:
filename = 'radio.img'
with open(filename, 'rb') as f:
magic = f.read(0x100).strip(b'\0').decode()
print(magic)
assert magic == 'SINGLE_N_LONELY'
while True:
# filename
fn = f.read(0xF0).strip(b'\0').decode()
print(fn)
if fn == 'LONELY_N_SINGLE':
break
# size of file in little endian
f.seek(0x08, io.SEEK_CUR)
l = int.from_bytes(f.read(0x08), 'little')
print(l)
# warning: not reading in chunks...
# warning: outputs to working dir
with open(fn, 'wb') as o:
o.write(f.read(l))
# seek remainder
rem = 0x10 - (l % 0x10)
if rem < 0x10:
f.seek(rem, io.SEEK_CUR)
# seek until next filename
while not f.read(0x10).strip(b'\0'):
continue
# rewind back to start of filename
f.seek(-0x10, io.SEEK_CUR)

Note the resulting images will likely be in sparse format. You'll need simg2img to convert to raw images if you're trying to mount or otherwise manhandle the images.

If interested in dumping carrier profiles (from inside the fsg image), EfsTools has an extractMbn function. Not sure how to reassemble though. https://github.com/JohnBel/EfsTools
[Android Q&A, Help & Troubleshooting] HemanthJabalpuri:
Thanks for making python script to unpack these SINGLE_N_LONELY header files(bootloader.img, radio.img, singleimage.bin, gpt.bin) from Moto Stock ROM zips.

But why reading filename only 240 bytes and skipping 8 bytes instead of reading whole 248 bytes?

This guy wrote to read 248 bytes instead https://xdaforums.com/t/edl-mode-and-test-point-of-the-moto-g-5g-plus.4371213/post-87807175

I also made quick and dirty unpacked using Lua 5.3 at https://xdaforums.com/t/edl-mode-and-test-point-of-the-moto-g-5g-plus.4371213/post-87931915

I guess one of us has to post this to github, since I can't find any Open Source tool to unpack this simple format image files.

Currently, only star tool that we can find from some of blankflash files(eg. this) and imjtool can unpack these SINGLE_N_LONELY header files as far as I know. But I guess these are not Open Source.

Thanks
[Android Q&A, Help & Troubleshooting] ziddey:
Ah neat. I only used xt2141 radio images as reference for approximating the file format. It's been a while, but I think based on the actual positioning of the filenames in the images I was testing, I wasn't sure if the final 8 bytes were part of the filename or padding.

Likewise, I wasn't sure of how padding works after the file data, so I just did a dumb seek and rewind.
[Moto G5 Guides, News, & Discussion] rahimali:
Attention cedric devs, [MENTION=5982915]CodeZero[/MENTION], [MENTION=6982924]m_vaisakh[/MENTION], [MENTION=7233293]ZJRDroid[/MENTION], [MENTION=6252172]Fedray[/MENTION], to start with apologies for tagging you all like this here. To get to the point, the Moto G4/G4+ devs apparently got rid of the camera issues (green tint etc.) in 64-bit ROMs with this commit using different camera blobs. I'm not a dev so cannot pretend to understand what's going on here but maybe something might click (or double click) with one of you guys? :D

TIA!
[Moto G5 Guides, News, & Discussion] Tiki Thorsen:
Those are great news! Hopefully devs can test that and/or add it into their builds. Because currently all Non-Nougat ROMs are unusable on Cedric (camera-wise). I had to install Lineage 14 since is the only custom ROM with a properly working camera.
[General Questions and Answers] Phivee:
I have a LG Stylo 4+ that has a broken power button... Now it is stuck on the root menu and no way of initiating the command... What do I do to get my phone back in working order? It has a non=removable battery also...
[Xiaomi Redmi 7 Questions & Answers] herremolog:
How can I disable the quick settings (swipe down from the top) ? I installed an app on my daughters phone which prevents acces to settings but it's still possible to access them via quick settings :D
[Nubia Red Magic 3 Questions & Answers] Red magic 3 camo:
Hello everyone!

So I have the red magic 3 camo european version. It was everything cool. For the first 2 weeks.. after then I noticed some weird problems when playing PUBG: The touch screen feels "heavy" , "jumping" when I move (switch) my finger across the screen. Its been for a while now. Tried factory reset several times , Installed new OS after releasing ( V2.15 ) nothing has fixed it! I also noticed when I turn my phone off for a few days it gets a little bit better( swiping on screen is smoother), but only for this day (days) I Also noticed when I start recording PUBG with game launcher's screen recorder the problem gets worse ( like a lot ) Impossible to play.. ( it even starts frame dropping!!!) support@redmagic.gg seems they doesn't care about their customers and just Ignoring me:laugh:

Anyone has the same problem or know the solution? Pleaseee help:crying::crying::crying:
[Nubia Red Magic 3 Questions & Answers] bignazpwns:
How bad of frame drops?

And yeah support is useless unless you have a strong social media fallowing.
[Nubia Red Magic 3 Questions & Answers] Red magic 3 camo:
Its like watching a slowmotion video..terrible
[Nubia Red Magic 3 Questions & Answers] bignazpwns:
Have you tried any other ROMs like the NA rom?
[Nubia Red Magic 3 Questions & Answers] Red magic 3 camo:
No. I didn't ( im in Europe not NA)
[Nubia Red Magic 3 Questions & Answers] nabbed:
Did you accidentally install malware on your phone?
[Nubia Red Magic 3 Questions & Answers] Red magic 3 camo:
I don't know, but I have avast Installed it didn't find anything + factory reseted
[Nubia Red Magic 3 Questions & Answers] bignazpwns:
You can use the NA rom in Europe.
[Nubia Red Magic 3 Questions & Answers] ZivasJR:
Nubia Sux

Solution If you buy from website eu.redmagic.cc

https://services.vspdata.cz/nubia/case-new/

... I will never buy products from this brand again!

This was my first and last time I buy a cell phone or some product of this brand
[Nubia Red Magic 3 Questions & Answers] JerryYin:
Maybe I can help with your warranty, just send me your IMEI number and tell me where did you get this phone.
[Nubia Red Magic 3 Questions & Answers] Red magic 3 camo:
https://youtu.be/s6w3m08OBls can you see the lag?
[Nubia Red Magic 3 Questions & Answers] ZivasJR:
For me too

Same here!
[Nubia Red Magic 3 Questions & Answers] Red magic 3 camo:
It's hardware related issue. Turn your phone off for a few days if you can. It will get much better for some time
[Nubia Red Magic 3 Questions & Answers] ZivasJR:
Afz

Nubia never again! ?
[Xiaomi Mi Mix 2S Questions & Answers] Cold_Pizza:
Can get a call but when I pick up to talk they can't hear me and I can't hear them. This didn't start until I updated. Does anyone have a clue what's going on?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] kalube01:
Hi all,

I'm proud to announce SailfishOS for the OnePlus 6T.

I think it's great to support alternatives to Android and help bring some competition back to the mobile OS space.

I really appreciate any contributions, bug reports or suggestions on GitHub

Discord

Join the discord here: https://discord.gg/haVG9Ga

#include "disclaimer.h"
/*
* I am NOT responsible for you getting fired because the alarm app failed or if you destroy your device.
* Please do some research if you have any concerns about features included in this port.
* Same security standards as for official Sailfish OS devices may not apply here.
* Everything is served on an as-is basis and YOU are choosing to do these modifications.
*/

If you aren't comfortable formatting, flashing and generally dealing with your device, please don't install this ROM

What works?

* Display

* Touch

* LED

* Audio

* NFC

* Bluetooth

* Phone calls

* Texts

* Mobile Data

* WiFi

* GPS

* Camera

* Sensors

* RTC alarms

* USB data and charging

What Doesn't work?

* Fingerprint reader - currently unavailable on unofficial sailfishOS ports

* OTAs - I'm currently working on getting OTA updates working, when they are you will be able to get new updates without having to flash a new image!

FAQ

PLEASE read the FAQ before asking questions, I won't respond to questions about features I've mentioned there.

Screenshots

On imgur

Flashing

Please follow the guide here

Mer Wiki

Here for up to date details on what works/doesn't and links to useful pages.

Downloads and Changelog

Latest bleeding edge release and changelog

Latest stable release

* NOTE: Latest stable release does have poor battery life.

Sources

android_kernel_oneplus_sdm845: android kernel sources

Guides, FAQ and Releases

The mer wiki page for OnePlus 6

Thanks to

[MENTION=9963314]deathmist[/MENTION] for all of his advice and help

DeltoidDelta for his contributions

The great people at #sailfishos-porters on Freenode

Without them this port would not be possible.

XDA:DevDB Information

Sailfish OS Fajita, ROM for the OnePlus 6T

Contributors

kalube01

Source Code: https://github.com/sailfish-oneplus6/sf-enchilada/releases

ROM OS Version: 9.x Pie

ROM Kernel: Linux 4.x

ROM Firmware Required: OOS 9.0.x

Based On: Lineage OS

Version Information

Status: Testing

Current Stable Version: 1.1.0

Stable Release Date: 2020-02-22

Created 2020-02-22

Last Updated 2020-04-26
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] kalube01:
Reserved
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] kongha:
This is beautiful!
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Cj719:
Will firmware required only support Pie?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] kalube01:
It's possible to dual boot Sailfish OS with any other Android version with some trickery. But you do need to make sure slot A is running android pie.

Follow the flashing guide for more details https://github.com/sailfish-oneplus6/sf-enchilada/blob/master/flashing.md
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Allen77777:
WiFi and mobile data doesn't work despite it being connected, looks like someone opened an issue on github
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] spoeckes:
Same for me
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Audioffensive:
How is Sailfish running aside of this issues?

Is it an Android alternative? I
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Allen77777:
It runs pretty smooth, it can run some Android apps to fill the gap. it's definitely a niche OS but I find it quite enjoyable if the internet issues are fixed
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Causical:
Where's our orange fox recovery? ?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Marcos Requena:
thanks for bringing this project to the one plus 6T I tried it on the one plus 3T but it was not compatible with many Android applications
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] kongha:
How is the project going?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] syedyasin:
[MENTION=9916054]kalube01[/MENTION].. I installed sfos on op6t.. and it's awesome.. last I had used sfos was on op3t.

Thank you for the port

Any thoughts on AnBox ?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] captainmalcolm:
Is this daily driver ready? Battery optimization works?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] ozzmanj1:
I too an considering this as an alternate to Android. Has this been updated at all and any bugs fixed?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] andybleaden@gmail.com:
Huge thanks

Just like to add my word of thanks

Grabbed the latest version this week when I got a OnePlus 6 delivered and had it wiped, trwped, installed and setup in less than an hour

Very clear instructions and a nice clean build with no errors yet.

Quick question - are you looking to update with each Sailfish release or at the fix points or something else?

Thanks again

Really enjoying using this.

Andy
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] miller.92:
I've been intermittently following Sailfish for a few years -- seems I recall they have an optional add-on that allows you to run android apps.

Anyone using this for a daily driver? What's your experience? I sure would like to install an OS that was not tied at the hip with google.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] killk4809:
This thread deserves a higher rating then 2 Stars.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] miller.92:
I was going to take the plunge on this ROM, but I read that Sailfish does not have VoLTE. Best I can tell, T-Mobile is phasing out non-VoLTE phones in January 2021. Likewise, if what I read is correct, ATT is phasing out non-VoLTE phones in February 2022.

This turned up about Verizon:

"Information from TracFone:

4/8/2019 - Verizon will no longer activate Non-VoLTE Devices

1/1/2020 - Verizon will no longer service Non-VoLTE Devices

Starting 4/8/2019, only activations with VoLTE compatible devices will be processed. Non-VoLTE devices will no longer activate.

Before 1/1/2020, existing customers on non-VoLTE devices should be upgraded to compatible VoLTE enabled devices."

(https://www.howardforums.com/showth...st-be-VoLTE-Capable-before-End-of-2019/page44)

Jolla has been talking about VoLTE in Sailfish for 5 or 6 years but it has not been implemented as far as I can tell. Please correct me if I'm wrong.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] killk4809:
None of that really matters. What you're looking at is the one and only (that I know of) Linux (GNU/Linux) Based ROM for the OnePlus6T, it deserves a lot more attention and support then it's getting atm.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] altomes:
How does that not matter?? That's of the upmost importance?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] killk4809:
It doesn't matter because this port in itself is important not some broken features that will never be fixed if the port doesn't get support in the first place.
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Tomkumato:
does this work with verizon sir?
[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] Andre Cancian:
how hard would it be to port this version to 8 Pro, would it be feasible to reuse/adapt the code here made for OP6?