yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] Aditya Kr:
**update**[30-05-2017]

CHANGELOGS:-

*3rd Release [30-05-2017]
- Updated to May security patch level.
- Fixed FM Radio
- Fixed 2G-3G Network Switch (Thanks to @tribetmen )
- Fixed Data on Reboot (Thanks to @tribetmen )
- Some minor fixes.

Links updated.
[Miscellaneous Android Development] hmd_msrf_k:
Nice work Aditya. [MENTION=6186085]shafa.musraf[/MENTION] :)
[Miscellaneous Android Development] amateur33:
Great Job

Thank you Aditya

Flash with Gapps 6.0.1 pico ???

:good::good::):):good::good:
[Miscellaneous Android Development] amateur33:
There is a bug

losing system configuration after reboot device

No access Root
[Miscellaneous Android Development] Aditya Kr:
Yes GApps 6.0.1 ARM Pico

Sorry,but I didn't any bug like this.

Go to Developers Options for Root Access!
[Miscellaneous Android Development] amateur33:
I think access root not necessary for more security

But the problem of losing system configuration after reboot device ...no solution

all configuration will be lost as default conf rom

when activate developper after reboot will desapear

If there is a solution tell me please
[Miscellaneous Android Development] Aditya Kr:
I didn't have this bug nor other people have who are using this ROM.

Kindly check your PORTING method if you want to use it in other DEVICE.
[Miscellaneous Android Development] tribetmen:
Replace with the stock file gps.default.so
[Miscellaneous Android Development] amateur33:
Thank you

Is not gps ...the problem of all configuration lost when rebooting
[Miscellaneous Android Development] hmd_msrf_k:
What's your porting guide?
[Miscellaneous Android Development] amateur33:
Have you a good porting guide ?

If you have, give me please.

Thank you
[Miscellaneous Android Development] hmd_msrf_k:
1) Replace firmware folder

2) Replace libMali.so

3) Edit build.prop

4) Edit Mount Points in updater-script

5) Change kernel in boot.img

It is enough to boot ROM from MT6572 to MT6572. You won't face any major bug as some bug may appear due to different libs
[Miscellaneous Android Development] alfhatz:
Thank you for this great rom Aditya.

I've succesfuly ported on my device and it's smooth however

my built in speaker is not working when playing music i can only hear the sounds when my headset is plugged in.

Any thoughts on this?
[Miscellaneous Android Development] Aditya Kr:
Sound on speaker as well as headset works fine for me ,try replacing some audio libs like libaudioprimary ,audio lib under lib/hw .
[Miscellaneous Android Development] alfhatz:
Thanks for your reply.

I will report back if my problem still exists.:)
[Miscellaneous Android Development] damiflex:
Porting

Please admin, I want to port the rom to Tecno Y2 and Tecno Y6. Can anyone help me with a guide? Especially on how to get META-INF from base rom and boot.img editing. Thanks

I used this guide. But it stock at boot on Tecno Y2. Please help. https://xdaforums.com/android/development/guide-how-to-port-lollipop-based-roms-t3223938
[Miscellaneous Android Development] screaminglord:
Not able to flash rom

Hi i am currently on ***** Fap but now when i try to flash this rom it does not let me... What should i do.....
[Miscellaneous Android Development] hmd_msrf_k:
Are you using Micromax A102?
[Miscellaneous Android Development] screaminglord:
Yes... That is why i posted here
[Miscellaneous Android Development] hmd_msrf_k:
Which recovery are you using?
[Miscellaneous Android Development] screaminglord:
I am using TWRP

I'll tell you complete story... Initially i was able to install lineage os but dont know what happen my phone's imei was lost and i tried all apps and adb to recover or put in imei but failed.... Then i again flashed its stock recovery. Fortunately i was able to recover my imei. But now when i am trying to flash lineage it does not allow me to do it.... Says incompatible partition. But i bave not done any thing with it.

Kindly help.
[Miscellaneous Android Development] hmd_msrf_k:
You can only flash Lineage OS with Custom Recovery not with Stock Recovery. IMEI loss is common to all Micromax A102 users. It can be fixed by some method. It can be found Facebook group
[Miscellaneous Android Development] screaminglord:
Thats what i said i am not using stock recovery i am using TWRP. And i had recovered my IMEI that is not my problem right now.... My problem is flashing lineage rom....
[Miscellaneous Android Development] ddpanku:
hey [MENTION=2134379]alfhatz[/MENTION] does this problem still there?

i am facing the same issue and some other issues too:

#1 Only External sd-card is showing in file manager

#2 Reboots automatically on Power Off ( and it is taking much time to power off but the phone automatically turns on)

#3 Headset symbol not appearing
[Miscellaneous Android Development] zombie_ryushu:
Is it possible to flash this Rom to another extremely similar MTK6572 based device like the BLU Studio 5.0C D536U?
[Miscellaneous Android Development] hmd_msrf_k:
No. You need to port the ROM before flash
[Miscellaneous Android Development] zombie_ryushu:
I understand that. I need someone willing to work with me on porting the Rom and what process I can do so.
[Miscellaneous Android Development] bidaian:
Hi, I'm trying to build from source but I get this error:

Copy xml: /home/edu/los13/out/target/product/A102/system/etc/permissions/com.android.location.provider.xml
/home/edu/los13/out/host/linux-x86/bin/checkpolicy: policy configuration loaded
/home/edu/los13/out/host/linux-x86/bin/checkpolicy: writing binary representation (version 26) to /home/edu/los13/out/target/product/A102/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery
libsepol.avtab_write_item: policy version 26 does not support ioctl operation rules and one was specified
/home/edu/los13/out/host/linux-x86/bin/checkpolicy: error writing /home/edu/los13/out/target/product/A102/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery
make: *** [/home/edu/los13/out/target/product/A102/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery] Error 1
make: *** Deleting file `/home/edu/los13/out/target/product/A102/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery'
make: *** Waiting for unfinished jobs....
make: Leaving directory `/home/edu/los13'

What I did to get there is:

$ repo init -u https://github.com/LineageOS/android.git -b cm-13.0
$ repo sync
$ mkdir .repo/local_manifests
$ cp device_micromax_a102.xml .repo/local_manifests
$ lunch cm_A102-userdebug
$ mka

device_micromax_a102.xml contains:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="adi766/android_device_Micromax_A102" path="device/Micromax/A102" remote="github" groups="device" revision="cm-13.0"/>
<project name="adi766/android_vendor_Micromax_A102" path="vendor/Micromax/A102" remote="github" revision="cm-13.0"/>
</manifest>

How can I solve it? I tried to remove the ioctl line from device/qcom/sepolicy/common/recovery.te (see diff below, but I still get the same error. Can I build LineageOS13 with that device and vendor tree? I've built AOSP and then CyanogenMod for official devices, but I'm not sure if the steps above are the right way to build when the device/vendor trees are not "official".

project device/qcom/sepolicy/
diff --git a/common/recovery.te b/common/recovery.te
index 68147f8..334d845 100644
--- a/common/recovery.te
+++ b/common/recovery.te
@@ -15,5 +15,4 @@ recovery_only(`
allow recovery tee_device:chr_file rw_file_perms;
allow recovery sg_device:chr_file rw_file_perms;
allow recovery self:capability sys_rawio;
- allow recovery sg_device:chr_file ioctl;
')
[Miscellaneous Android Development] Aditya Kr:
I'm not sure but the tree is old, you need to lineage-ify it.

But I don't think its the real cause of the error you get.

I think, we are here, dealing about mtk. You should have to patch

android_external_sepolicy

instead.

This ( 58597e8 ) patch should fix the error.

P.S. : All the commits here will be required.

Build commands:

. build/envsetup.sh
brunch cm_A102-userdebug
[Miscellaneous Android Development] koljan.kz:
need advice

as you have started the GPS without adding in lib\hw\gps.mt6572.so?
[Miscellaneous Android Development] rishav2005:
two bugs i have noticed

1. When i am trying to power off, it just reboots.

2. The bluetooth turns on, but cannot connect to any device.

Overall the performance is good and it is very stable.
[Miscellaneous Android Development] ZhafKnight:
How to change kernel?

Any guide?

THANK YOU
[T-Mobile Samsung Galaxy S8 Questions & Answers] ItzApp:
Hi I'm trying to flash the T-Mobile firmware from sammobile.com, but whenever I try, I get an error at 32% when it says Installing System Update. I attempted to flash CSC,AP,BL, and CP with it saying PASS in Odin. I really need the T-Mobile firmware and am wondering if it is possible to do? I determined that I cant install CSC files and get the error when I try. Any Solutions?

SM-G950U

Odin 3.12.3

T-Mobile Firmware:

PDA: G950USQU1AQD9

CSC: G950UOYN1AQD9
[T-Mobile Samsung Galaxy S8 Questions & Answers] dc5dd:
I'm having the same problem with an ATT phone flash with the US "U" unlocked version firmware. When I don't flash the csc it will start up only with the USB plug in but shut down after the beginning startup
[T-Mobile Samsung Galaxy S8 Questions & Answers] Babydollll:
Search for a "modified Odin". It was what I used to be able to flash unlocked firmware on a 7 and 7 edge a few months ago. The "normal" Odin wouldn't let me do it, but the modified one did. Though you may need to wait until it's been updated....I haven't checked it in awhile.
[T-Mobile Samsung Galaxy S8 Questions & Answers] silentdie:
Still no solution to avoid the error to 32%?
[T-Mobile Samsung Galaxy S8 Questions & Answers] bsharp8:
Try this Odin. This is the one I used to flash the Canadian firmware on mine.
[T-Mobile Samsung Galaxy S8 Questions & Answers] silentdie:
I managed with odin version 3.12.5! But only with BL AP and CP!

When I add CSC I get the error at 32%!

So a priori everything works, I no longer have the Verizon overlay (nor the logo at startup) more by cons I have duplicates in the settings menu ...

What is the CSC file?
[T-Mobile Samsung Galaxy S8 Questions & Answers] silentdie:
The Canadian firmware you got it or? On sammobile I find it not:

https://www.sammobile.com/firmwares/galaxy-s8/SM-G950U/

The Canadian firmware is stock or operator?

I would have access to all the bands?
[T-Mobile Samsung Galaxy S8 Questions & Answers] bsharp8:
Its the firmware with the "w" at the end. Please read this thread for all the information on doing this and make sure you want to do it.

https://xdaforums.com/galaxy-s8/how-to/rd-carrier-switch-root-snapdragon-t3597473
[T-Mobile Samsung Galaxy S8 Questions & Answers] dbpaddler:
so to do this we actually have to go to the canadian firmware first, do the csc change then flash the Tmo firmware? You can't just flash the Tmo Firmware via the modded Odin? Just to save confusion.

I would imagine it's worth it just to get the proper network options, VOLTE, WiFi calling and such.
[T-Mobile Samsung Galaxy S8 Questions & Answers] ItzApp:
How To Flash To T-Mobile

This is the exact thread that I used. Follow the steps and you can skip engboot. If you flash the full Canadian firmware, its impossible to reverse. So, only flash whatever is in the steps. I successfully went from Verizon To T-Mobile and then back to Verizon. https://xdaforums.com/galaxy-s8/how-to/switch-to-carrier-firmware-100-t3609487
[T-Mobile Samsung Galaxy S8 Questions & Answers] Charkatak:
This tread also helps, who wants to flash their phones: https://xdaforums.com/galaxy-s8/how-to/snap-guide-flashing-standard-fw-carrier-t3625817
[One (M8) Q&A, Help & Troubleshooting] theandies:
This is the first carrier unlocked phone I've purchased. It's brand new and I bought it because I'm an M8 fanboy and my first M8 is dying. I'm on AT&T. I just got the phone and installed my SIM and setup my google accounts and all that stuff. I want to update Android but when I go to setting/about/software updates all it says is "checking". It's been checking for over an hour. Did I do something wrong? Is there a way to get the latest OTA Android for an AT&T M8?

My plan is to get to MM then unlock the bootloader and flash TWRP so I can start flashing custom ROM's. I never did anything to my original M8 but have done rooting etc on my old HTC Vivid and both my ASUS tablets.

Thanks in advance for your help.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Post fastboot getvar all result (remove serial & imei no.)

If it is a EU variant, then you can install RUU to update it to Marshmallow.
[One (M8) Q&A, Help & Troubleshooting] theandies:
First, thanks for your reply ckpv5.

Second, not sure I'm following you. I can connect via ADB and it show this when I use the devices command:

device product:htc_europe model:HTC_One_M8 device:htc_m8

Is that the correct ADB command or am I just doing it wrong. Could you please provide more information. I'd really appreciate it. This is my first carrier unlocked phone so I'm a noob at this.
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
adb reboot bootloader

fastboot getvar all
[One (M8) Q&A, Help & Troubleshooting] theandies:
Thanks for everyone's replies so far.

Here is what I get when doing the adb commands suggested.

Now help me continue with getting this phone updated to at least MM.

:good:
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Download this RUU.zip

Rename it by deleting everything in name of the .zip except for 0P6BIMG (and .zip of course)

Place the renamed .zip onto your extSD card and put it into your phone. (the card must be formatted to FAT32 for this, and if it is 32gb or less, it probably already is)

Boot to bootloader and follow the prompts (vol up to confirm the flash ~ power button to reboot after it's flashed)

And that's it, super easy.

Make sure to delete the renamed .zip after the flash, or every time you boot to bootloader it'll try to update again

Good luck!
[One (M8) Q&A, Help & Troubleshooting] theandies:
Awesome. Trying it now.

Can you school me on the information that I posted? I'm used to messing with WiFi only tablets and this is my first time messing this deep into a phone. I don't want to brick my brand new M8 so I'm going real slow.

Here is some more info if needed. I see it says s-off, is that correct? Also, once I update can I then proceed to flash TWRP and custom ROM's?
[One (M8) Q&A, Help & Troubleshooting] theandies:
Thanks. Updated to Android 6!!! Now beware I'll have a lot more questions.
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Cool! glad I could help.

A little info: since you are S-Off you shouldn't need to unlock the bootloader before you flash TWRP and ROMs, S-Off is all you'll need.
[One (M8) Q&A, Help & Troubleshooting] theandies:
So it IS s-off! Cool. Any way you could tell me how you knew what RUU to use? Just trying to learn.
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Your version-main in your getvar/ OS in your bootloader is your current firmware version. To find what you need for updating, the third series of numbers is what is important to match. In your case that was 401 which = WWE/Interanational

But that won't matter with your M8, only if you get a newer HTC device. The RUU I linked you to is not only the latest, but also the last firmware/ROM update for the M8. It won't be updated anymore and hasn't been for almost a year. In general, manufacturers and carriers will only update a device for two years.
[One (M8) Q&A, Help & Troubleshooting] theandies:
Understood. I have one more problem. My mobile data is not working. I checked all the APN settings and all of them are grayed out. Any ideas on what to do? I'll post a screenshot in a while. Just got to work.

I also tried *#*#4636#*#* but I really don't want to do anything with that yet as I really don't know what to do there and don't want to make things worse.

Texting and phone calls are working just fine.

Well snooping around the internet at work tonight I was able to figure out that I need to set my APN setting. More snooping and I found an APN setting that works......kind of. It will not go 4G LTE only HSPA. Here is a screen shot and the APN settings that get me HSPA.

I will try and duplicate the APN settings from my old phone in the mean time does anyone have a known good 4G (or 4G LTE) AT&T APN that will work with this phone? Hopefully I've posted enough information for the experts to help me get back up to speed.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Either of those APNs should work fine. Literally, the grayed out one (nextgenphone) is the one I'm on now, and it works flawlessly for me (3G, LTE, MMS, etc.). The one you entered (ATT Phone) I believe is actually the new/current one being used as default on most newer ATT phones, and should work fine as well. Your problem isn't APN, I think it's the RUU you used.

I would suggest using the AT&T RUU 6.20.502.5 from here (see RUU section): https://xdaforums.com/showthread.php?t=2751432

Note the red text below the RUU. If you get Error 155 installing the RUU, you'll need to fastboot flash the firmware, before the RUU will install properly (peculiarity of US Marshmallow RUUs).

Reason you need the AT&T RUU, is that by flashing the Euro RUU, you installed the Euro radio, which is only intended to support LTE bands 3, 7, 8, 20. AT&T uses LTE bands 2, 4, 5, and 17. Therefore, you are missing support for every LTE band used by AT&T (the band or bands used by AT&T in you local area being the most important), and explains why everything works but LTE.
[One (M8) Q&A, Help & Troubleshooting] theandies:
Great information redpoint73. I'll flash the other RUU this weekend.

Please bear with me, when you say flash via. fastboot you mean using ADB and pushing it though USB from my computer? Forgive me but as I said this is my first phone I've messed with this deep. My experience has been on ASUS tablets and most of the custom stuff done on them is usually flashed via SD card (or internal storage) 99% of the time. I can do it with the help of XDA I just don't want to render my new M8 inoperable.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
If you read the red colored note regarding Error 155, under the RUUs in my Index thread (which I linked) you will see another link there, to a separate post/thread that will tell you exactly how to flash the firmware (if needed). Follow those instructions, and you will be good.

Flash via fastboot uses your computer and USB. But keep in mind that adb and fastboot are similar, but not exactly the same.
[One (M8) Q&A, Help & Troubleshooting] theandies:
I see the RUU you suggested is an .exe file. Just connect via ADB and run that file? Also I downloaded the firmware you suggested as well. To avoid any issues should I flash that first before the RUU?

Thanks
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Just hook up your phone and double click on the download. The .exe will install a lot like software for your PC

If it fails to install booting to bootloader first before starting the RUU.exe sometimes helps.

On HTC's US website, there are both manual update instructions and a download for the RUU

I'm not sure if you'll need to flash the firmware first since you are already on Android 6, but it couldn't hurt to do so, and you might actually need to.
[One (M8) Q&A, Help & Troubleshooting] theandies:
Awesome, this place is full of great people willing to help. I just wish I could reciprocate more.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
It wouldn't hurt to flash firmware first. Only reason I would suggest folks to run the RUU first (and see if it works) is because not everyone is comfortable using fastboot commands to flash the firmware (and therefore may avoid having to learn how to do that). But if you are comfortable with the process to flash the firmware (it's not hard), then go ahead and do so before running the RUU.

Like xunholyx, I'm not sure if you need to flash the firmware first, or not. If you were coming from Lollipop, you definitely would need to. I have a feeling that you will indeed need to flash the US firmware before the RUU will install. Even though you are on Marshmallow firmware, it's the Euro one, so I think (but not sure) the RUU will still fail until you flash the US MM firmware.
[One (M8) Q&A, Help & Troubleshooting] theandies:
EDIT - Forget it I found it........duh.

Thanks redpoint73. I'm going to flash the firmware first because of what you said (Euro phone vs. US).

I can't seem to find your post on how to do that again in the sea of posts. I thought I bookmarked it but it's not there. Can you be so kind as to link it up.

:good:
[Samsung Galaxy S8 Guides, News, & Discussion] dmartinez21:
So I saw a post on reddit. Someone was claiming that their s8 navbar was already burning into their phone screen. And sure enough after one week it was already happening.

He used a gray image that he zoomed into so you can see where the navbar buttons are burning into.

Just find a large gray image on Google and use a gallery app to zoom in and see if your navbar is already burning in. Kind of bummed that my phone is already doing this as well.
[Samsung Galaxy S8 Guides, News, & Discussion] philipone69:
Yup. I can comfirm. I was kinda expecting this but not that fast.
[Samsung Galaxy S8 Guides, News, & Discussion] MyanRagahis:
I see it as well on mine. The top of the black nav-bar (I have mine set to black but it's transparent in Nova Launcher) and the home button is somewhat noticeable on a grey area. Not awful. But it's there. But I'm also gonna try to steer clear of this thread and not let it bother me :p. Best phone I've owned still.

Edit:

My S2, S3, and Note 4 does this. Pretty heavy with the notification bar on S2 and Note 4. Less noticeable on S3. I guess I personally can't get away from it.
[Samsung Galaxy S8 Guides, News, & Discussion] Benjamin Dreyer:
Same story here. Burn in with navbar and buttons. Navbar was constantly black and I never use my phone above 50% brightness. Been using it for less then a week. That's really surprising.
[Samsung Galaxy S8 Guides, News, & Discussion] idksomuch:
I have a Nexus 6, Galaxy S7 edge, and the S8+ which I've had since Monday. The S8 has no burn in whatsoever. I've checked using a grey, white, red, blue, and pink image at max brightness. The S7 edge, which has been my daily driver since release, also has no burn in. Not even on the status bar. The Nexus 6, which I used as a daily driver for a year and on-and-off for the few months after, has no burn in either. I thought I could see a faint bit of burn in of the top half of the on-screen circular home button but it isn't even that either because the "burn in" is bigger than the home button and is a bit higher than where the home button would be. I guess these panels wear differently for everyone, or maybe some people have bad displays considering they're getting burn in within a week of getting the phone but I've had my Nexus 6 for 2+ years now with no signs of burn in. I'm a moderate to heavy user as well, browsing reddit, watching youtube and netflix on max brightness, web browsing, etc etc, and I've used all my phones like that. I don't know about other users but I'm more then confident in all of my amoled phones and I will still be confident a year after owning my S8.
[Samsung Galaxy S8 Guides, News, & Discussion] Benjamin Dreyer:
My OnePlus X witch is almost 2 years old has 0 burn in too. That's why I'm shocked by this week old burn in on S8.
[Samsung Galaxy S8 Guides, News, & Discussion] GuestK00315:
Do not put your phone to that red brightness level it's only for outside
[Samsung Galaxy S8 Guides, News, & Discussion] Semantics:
I can't replicate this on my S7E or the S8.
[Samsung Galaxy S8 Guides, News, & Discussion] m3lover1:
Don't have it on mine either