yashsingh1/xdaforums huggingface dataset:
[G3 Q&A, Help & Troubleshooting] hadec:
Hey guys

I am using latest stock marshmallow rom flashed via twrp rooted

While i was at work i tried to unlock phone and couldnt it was like a dead

Black screen...i was like ok its nothing...after a while inshould press power button

Many times just to unlock my phone...now its becoming worse incant unlock it

And i am seeing a dim rem button on the led...any clue whats this about?

I really need to shed some light in this might be mm problem?

Ps anyone has problem with headphones-earphones cant be used in mm?
[G3 Q&A, Help & Troubleshooting] KronicSkillz:
Dude u haven't given much vital information you haven't even been specific to what ROM it running and I can't even follow what you are saying the problem is... Is you're screen so dim you can't see the screen and unlock it? Of so you probably enabled swipe on status bar to dim and did it by mistake

Try going into a pitch black room and you should be able to see it of not post again there are other things you can do like wipe and reflash from twrp by booting into it manually
[G3 Q&A, Help & Troubleshooting] hadec:
Alright.

So my rom is stock mm 30b version d855 int version

Screen doesnt open after repeatable presses on screen or using the unlock button

Its all good when it boots and after 5 mins i cant get over the lock screen

I restored lollipop for now and it works perfect but i i dunno why stock mm flashed via twrp has this problem.screen is like phone is closed sometimes after i press power button to unlock led blips twice and nothing happens.that was in thenstart

Now it has a continuously red lem very dim light and its likena dead screen..hope this help if u want more info inwill be glad to.give

Btw i reflashed stock with root 2.52 repack boot permisive and sharpening.now it doesnt saw the notification saying ur device is not rooted
[G3 Q&A, Help & Troubleshooting] Tomogitarist:
Similar things happens to me too. Updated to Marshmallow 30B. Sometimes double to wake or pressing the power button just doesnt wake the phone, like its turned off. After 5-10 seconds it wakes up normally and after that wake up works normally.

This usually happens once or twice a day. I'm not sure what makes it happen, I still didnt root Marshmallow or mess with any system files except for oversharpening fix.

It looks like MM bug.
[G3 Q&A, Help & Troubleshooting] KronicSkillz:
I don't have any such issue on cm13 which is a mm rom.

Sounds like a firmware issue tho because when you switch back to old working ROM it comes back to life. Are you sure the ROM that doesn't work matches your variant?

---------- Post added at 07:31 AM ---------- Previous post was at 07:29 AM ----------

A few other things I've heard stick ROMs flashed via twrp or cwm having issues a lot is there a reason your going with stock?

Have you checked md5

Did you format cache dalvik system and data before flashing the mm ROM?
[G3 Q&A, Help & Troubleshooting] hadec:
Yes always pall...every single time

For now.i restored to.mm and problem occurs here and there again...its really irritating

Happened with clean flash all wiped and.restored flash and dirty flash
[G3 Q&A, Help & Troubleshooting] hadec:
Well yesterday my phone was unusable due to.this bug i had to remove battery and restart phone.

Btw can u check if u can use earphones or headphones?it seems mine arent recognised while i tried a bunch of them
[G3 Q&A, Help & Troubleshooting] Tomogitarist:
Only Quadbeats earphones work properly. I use Sony earphones which I need to plug and unplug about 5 times before phone recognizes them as standard earphone instead of Quadbeats.
[G3 Q&A, Help & Troubleshooting] hadec:
So lg stock ones no chance at all right?
[G3 Q&A, Help & Troubleshooting] Tomogitarist:
Quadbeats are LG's stock earphones... The ones that came with the phone
[G3 Q&A, Help & Troubleshooting] hadec:
Ohhh didnt knew that thx for the heads up
[G3 Q&A, Help & Troubleshooting] KronicSkillz:
that's a strange issue to have headphones not work in all my years of running nightlies never seen that on several diff phones.
[G3 Q&A, Help & Troubleshooting] hadec:
Tried more earphones noone work...wtf isngoing on?
[G3 Q&A, Help & Troubleshooting] hadec:
No earphone works for me...are u sure they work for u?
[G3 Q&A, Help & Troubleshooting] Tomogitarist:
If that is the case, your audio jack might be broken. Mine works normally on marshamllow 30B
[G3 Q&A, Help & Troubleshooting] hadec:
And in lollipop roms works perfectly!!!

Its mm that causing that
[G3 Q&A, Help & Troubleshooting] KronicSkillz:
That is extremely weird I wish I could help but I wouldn't even know where to start those Jack's are technology from like 1970s the only issues ppl usually have is when they physically break like he was saying above

---------- Post added at 08:13 PM ---------- Previous post was at 08:10 PM ----------

Maybe it's a media or volume issue? Are you playing files off an sdcard... Also some ROMs turn volume way down when you insert headphones
[G3 Q&A, Help & Troubleshooting] hadec:
Phone doesnt even recognise them!

I have 3 more devices and all my earphones works grwat but lg g3 mm
[G3 Q&A, Help & Troubleshooting] hadec:
So i dirty flashed stock mm on my phone and seems like headphones working normally again...such a stupid bug lol
[G3 Q&A, Help & Troubleshooting] KronicSkillz:
that makes no sense u did something different either now or before
[G3 Q&A, Help & Troubleshooting] hadec:
It does make sense.i dirty flashed rom again and it works
[G3 Q&A, Help & Troubleshooting] KronicSkillz:
No that doesn't make sense you said you flashed it properly more than once and it didn't work unless y you're flashing adiff rom or release or something it makes 0 sense and something you told us was wrong. I believe Einstein said doing the same thing twice and expecting different results is insanity
[G3 Q&A, Help & Troubleshooting] KronicSkillz:
it makes a difference when people are using their time try to help you and your not even giving legitimate information.. and u don't appreciate my attitude...
[Android Q&A, Help & Troubleshooting] guyenxda000:
i have looked at several of many power management apps on google play store. None of them offers this feature: i wold like to have my phone automatically enter airplane mode after certain set period of time, i think this is a great feature, for saving power drain that lets users to be carefree. i am wondering if anyone knows any app that can do this? The ones I inspected have lots of bells and whistles I mostly do not need and none of them has it. Thanks!
[Android Q&A, Help & Troubleshooting] Portgas D. Ace:
You can use Tasker with Secure Settings to achieve this. Otherwise you could try Deep Sleep Battery Saver. For both methods you need root access.
[P3300, MDA Compact III General] CORVAX_I:
Hi everyone,

Does anybody have an idea on how to change the language of the Index letters in the contacts. I have the WM5 in Russian, but all my contacts are usually stored in English and it becomes a headche any time I want to find a contact from the list. I have to scroll it all the way down to what I want.

Is it possible to change the russian index letters to english?

Thanks.
[Desire 820 Q&A, Help & Troubleshooting] Papaiamen:
Hi Guys

i have a problem with my HTC D820U

here you can find all information about my phone

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot getvar cid

cid: HTCCN701

finished. total time: 0.011s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 01.01.010_U1030481_08.01.41117_2

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.21.1405.1

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: HC4ADYC03233

(bootloader) imei: 355383061556453

(bootloader) imei2: 355383061556461

(bootloader) meid: 00000000000000

(bootloader) product: a51_dtul

(bootloader) platform: hTCBmsm8939

(bootloader) modelid: 0PFJ10000

(bootloader) cidnum: HTCCN701

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: 84479ef9

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

(bootloader) mfg-name:

Model : A51_DTUL

IMEI : 355383061556453

Build : 1.21.1405.1

CID : HTCCN701

HBoot : 3.19.0.0000

MID : 0PFJ10000

Security : ON

Region : Open-Channel

i tried several roms, i install them with any problem but , also if have signal of my simcard i cannot receive any calls or make a call, i can receive sms and in settings says Network not available,

what's wrong?

Maybe i wrong rom?

thanks in advance

Alessio
[Desire 820 Q&A, Help & Troubleshooting] h1dd3n_sn1p3r:
- Some ROMS may have problem for telephony ( call,sms,data ) but u are telling that you can SMS looks like problem in your hardware either in phone/SIM

If you would like to try to flash RUU and see the result

Go here :http://easy-firmware.com/index.php?a=browse&b=category&id=714 to download

Here instructions :http://xdaforums.com/desire-820/general/solved-solution-software-update-option-t3269290
[Desire 820 Q&A, Help & Troubleshooting] Papaiamen:
thanks for the answer my friend

i am following the tutorial

i made the first step and now in bootloader my phone is RELOCKED.

in easy-firmware i see many firmware, which one is the right one for my phone?

last question, can i send the firmware by fastboot? because i am trying and i got this msg

C:\Users\Gesuino\Downloads\Fastboot and adb>fastboot flash zip 0PFJIMG.zip

sending 'zip'... (40163 KB) OKAY

sending time = 3.002 secs

writing 'zip'... (bootloader) adopting the signature contained in this image...

(bootloader) signature checking...

(bootloader) zip header checking...

(bootloader) zip info parsing...

(bootloader) checking model ID...

(bootloader) checking custom ID...

FAIL42 custom id check fail

FAILED (remote: 42 custom id check fail)

Execution time is 7(s)
[Desire 820 Q&A, Help & Troubleshooting] Papaiamen:
update:

i download from ir-file this

http://www.ir-file.com/portal/index...30481_08.01.41117_2_release_401662_signed.zip

and installed by fastboot

OKAY

Flash Zip Complete

Execution time is 491(s)

C:\Users\Gesuino\Downloads\Fastboot and adb>fastboot reboot

rebooting...

Execution time is 15

so i reboot phone but problem is the same.
[AT&T Samsung Galaxy S6] anotherpisces:
I'm looking to purchase either a new moto x or galaxy s6, but I'm torn between the two. I love the look of stock android, quick updates, and moto display, but I also love the fingerprint scanner, size, and led notification on the s6. I can get the pure 16gb or s6 32gb at a price of $430 so the price difference isn't a problem for me. I'm leaning more towards the s6 but i'm not 100% ready to pull the trigger. What do you guys think?
[AT&T Samsung Galaxy S6] cavsoldier19d:
Considerations for the S6...as far as updates go, as usual, updates coming from Samsung and AT&T are very much delayed. Since the phone is approaching the one year mark, updates will be even fewer less frequently and when the S7 comes out, then the focus for updates will for the S7. Also, it is highly unlikely that root will be found for the S6 moving forward, as development has all but been abandoned for this variant of the S6. They have also made it impossible to downgrade to a rootable version. So the likihood of being able to flash vanilla android or CM is non existent. You could look into getting the international variants though. As far as the hardware, all features of this phone are amazing and IMO, the best that your are going to get for Android at this moment. So you will have to decide what's more important to you.
[AT&T Samsung Galaxy S6] t2jbird:
I'm on 6.0.1 right now on my moto x pure. I can't stand having to wait on a carrier to release the current version of my phone's OS (after they butcher it with all the bloat). I had the S6 prior to this and switched for the display size, pure Android, amount of dev support, SD card, and quick updates.
[AT&T Samsung Galaxy S6] jjwatmyself:
I went for the s6 and am happy with the decision. Having come from a moto x 2013 I was concerned that I would miss the very stock Android feel. So far I'm very happy with the s6. I didn't like how big the x pure is note the thickness. I didn't feel high end.
[AT&T Samsung Galaxy S6] t2jbird:
Have you noticed the poor RAM management when switching between apps on the S6?
[AT&T Samsung Galaxy S6] jjwatmyself:
I have not noticed it and I use many. I like that they have a dedicated recents button which was not the case on the s4 and close all is built in too, which I use infrequently.
[AT&T Samsung Galaxy S6] t2jbird:
Hmm you're lucky then. I still have both of these devices and the difference when switching between apps left in the memory is night and day.

Update: I switched back to my S6 to compare and I'm averaging almost 2 hours less on screen time compared to my Moto X Pure. Granted, I'm on Marshmallow on the moto.
[AT&T Samsung Galaxy S6] jjwatmyself:
Developer options has some options that may be of use. I have not made any mods here. Things that stands or are transition animation and maybe a couple others.
[Xiaomi Mi Note Pro] Aqq123:
Guide to Advanced Leo/MIUI Customization: System & Boot Images, APK Patching + Extras

Just got myself this device and have been playing with it since. As a result, I have accumulated a set of patches and optimizations I'd now like to share. As it's going to be quite a few of them, I'll split the stuff into a couple of posts.

For the benefit of future readers, I think it'd be better to have everything I am about to post in one place, and for this reason I'm starting a new thread, although some of those topics might have already been addressed in other places on this and other forums.

Most of the stuff below can easily be adopted to other Xiaomi/MIUI devices, or even the products of other manufacturers. Please feel free to do so, as well as to share any comments and further optimizations you made. All feedback is appreciated, especially if things can be made better as a result of it.

If at any point you find yourself missing any of the common tools, the archive attached to this post includes: apktool2, aapt[-miui], adb, diff & patch, signapk[w], [un]zip and zipalign.

Table of Contents​

The Initial Steps: Preparing the Device & Choosing the ROM

Starting with a Clean Slate

Flashing TWRP Recovery

Choosing the ROM Base

Modifying the Data Partition Image

Removable Files

Modifiable Files & Configuration

Modifying the System Partition Image (Except Configuration)

Removable Files

Removable Apps

Removing Google Apps

Removing Other Garbage

Modifiable Files

Modifying the System Partition Image: Configuration Files

Configuration

/system/build.prop

/system/etc/gps.conf

/system/etc/init.qcom.post_boot.sh

/system/etc/install_app_filter.xml

/system/etc/mcd_default.conf

/system/etc/spn.conf

/system/etc/system_fonts.xml

Modifying the Boot Image

Purpose

Changes

Securing the ADB

Disabling the CD-ROM Emulation

Flashing

Patching and Recompiling the Application Packages

Purpose

Reference

Changes

Mi Talk SIM Card Activation Nag

Mi Voice Ad in Contacts

Data Roaming Lost Connection Notification

Modifying the Theme Settings

Gadgets & Translations

MIUI-Themed App Icons

MIUI Default Wallpapers

Per-Application Theming

Automating the Modifications

The Edify Script

The Update ZIP Archive

The Patch Builder Script

The Complete Patch

Automated Installation of Google Apps

Purpose

Choosing the Google Apps Distribution

Scripting the Google Apps Installation

Flashing

Summary

Bonus: Qualcomm NVRAM Settings & 2G/3G/4G LTE Band Config

Choosing Bands to Enable

Enabling the Extra Bands

Understanding the Values
[Xiaomi Mi Note Pro] Aqq123:
Modifying the Data Partition Image

Removable Files

The following directories can be removed recursively:

/data/evt-test/

/data/media/MIUI/

/data/miui/app/

/data/miui/cust/

/data/miui/gallery/

/data/miui/mms/

/data/miui/videoplugins/

/data/miui/yellowpage/

/data/qmi-framework-tests/

As well as the following files:

/data/miui/app/vanward_applist

/data/miui/cdrom_install.iso

/data/miui/cust_variant

Xiaomi.eu's version already removes most of the clutter here, so if you're using the stock ROM the above list will not be enough: you'll want to remove more files (which unfortunately change with every version of the stock ROM).

Modifiable Files & Configuration

Further, there are some potentially interesting files in /data/miui/ that you might want to create or edit:

/data/miui/resolves_miui.conf

In this file, Xiaomi has hard-coded the IP addresses of their servers; as I don't see any reason to bypass the regular resolver configuration in such a way, I bumped up the version number and emptied the file:

# /data/miui/resolves_miui.conf
# Hardcoded data for the DNS resolver

# version 999

# Syntax:
# <fqdn> <ip_address> <"v4"|"v6">

# No more than 4 addresses per FQDN.
# If more than one address specified, all of them must be of the same type ("v4" or "v6")
# Version number must be increased whenever the file is modified

/data/miui/cust_variant

Suppose that in this file you put:

cn

Then, you can have:

/data/miui/cust/

cn

/cust.prop

Some build.prop settings that can be customized at the time of first boot:

persist.sys.timezone=UTC
#ro.carrier.name=
ro.com.android.mobiledata=true
ro.miui.region=IN
ro.miui.mcc=9404
# 9404 in 9454 hk 9460 cn 9502 my
# 9510 id 9515 ph 9525 sg 9466 tw
ro.miui.mnc=9999
ro.miui.cust_variant=cn
#ro.miui.cta=1
ro.product.locale.language=en
ro.product.locale.region=US

The list of all keys that can be customized, which you can edit it too, is in the file /system/etc/cust/cust_prop_white_keys_list.

The two files contain a list of pre-installed crapware, so they can be emptied (unless you already deleted them following the instructions above):

/data/miui/cust/

cn

/ota_customized_applist

/data/miui/cust/

cn

/ota_recommended_applist

If you really want to pre-install some apps, put them in:

/data/miui/app/noncustomized/<AppName>/<AppName>.apk

/data/miui/cust/

cn

/wpa_supplicant_customization.conf

The above file used to work at some point in the past (with another device I have), offering a way to preset the Wi-Fi profiles. Unfortunately, it doesn't work now. The example below is just in case that the functionality starts working again some time in the future, but for now don't bother:

network={
ssid="<Wi-Fi ESSID Name>"
key_mgmt=WPA-PSK
psk="<PlainTextPassword>"
proto=RSN
group=CCMP TKIP
pairwise=CCMP TKIP
priority=1
}
[Xiaomi Mi Note Pro] Aqq123:
Modifying the Boot Image

Attached to this post is a diff that includes all of the discussed changes, along with the modified files (except the file where you are supposed to put your own ADB key).

Purpose

Simply put, the boot image consists of the kernel and a small filesystem image that is mounted as the root (/) filesystem. There are some files of interest there but since this filesystem becomes read-only once booted, the only way to make any changes to it is to unpack it, modify, and repack before flashing. There are essentially three reasons to do this:

To enable ADB fingerprint check (disabling the insecure ADB), and to add our ADB key to the database.

To remove the fake CD-ROM emulation.

While we are at it, for cosmetic reasons we also change the default timezone from Asia/Shanghai.

There are numerous ways to unpack and repack boot images but if you're on Windows, the most straightforward method is to do it with the Android Image Kitchen.

Changes

Securing the ADB

/bin/adb_keys

Paste your public ADB key into this file. On Windows, you can find your ADB key in %USERPROFILE%\.android\adbkey.pub.

/default.prop

To enable the secure ADB, we edit the following line:

ro.adb.secure=1

Then, to change the timezone:

persist.sys.timezone=UTC

Disabling the CD-ROM Emulation

The remainder of the changes deals with getting rid of the emulated CD drive:

/init.qcom.usb.cdrom.rc

Delete this file completely.

/init.qcom.usb.rc

Remove the lines that say:

import init.qcom.usb.cdrom.rc

write /sys/class/android_usb/android0/f_mass_storage/lun/ro 1 (2x)

trigger set_cdrom_install_file (2x)

/init.qcom.usb.sh

Remove the following section:

#
# Add support for exposing lun0 as cdrom in mass-storage
#
cdromname="/system/etc/cdrom_install.iso"
case "$target" in
"msm8226" | "msm8610" | "msm8916")
case $soc_hwplatform in
"QRD")
echo "mounting usbcdrom lun"
echo $cdromname > /sys/class/android_usb/android0/f_mass_storage/rom/file
chmod 0444 /sys/class/android_usb/android0/f_mass_storage/rom/file
;;
esac
;;
esac

/init.rc

Remove the line that says:

write /sys/class/android_usb/android0/f_mass_storage/lun/file /system/etc/fake_cdrom_install.iso

Better yet, just use the attached diff for all of the above. I am also including an image obtained by applying the diff against the original stock image (version 5.12.31) although it's better if you do the patching yourself.

Flashing

Put your device into fastboot mode, and execute: fastboot erase boot, fastboot flash boot boot-patched.img, fastboot reboot. Note: do not mistake this for fastboot bootloader, which is a completely different partition and one you wouldn't want to overwrite.

Another way to flash the boot image will be discussed in the section related to automating the patches.
[Xiaomi Mi Note Pro] EMJI79:
Hello

Is it possible to modify prop to set camera jpg quality to 100%? I saw that on a mi3 or mi4.
[Xiaomi Mi Note Pro] Aqq123:
Hi,

I don't know anything about it but please feel free to share your results in this thread.
[Xiaomi Mi Note Pro] adamjohnreid:
Any more results from testing?

Hi really great article. Saved me actually as while I was messing about with various options managed to completely c*ck up my 2g settings.

Looking through the article re LTE 4g bands makes sense. However I have put the below into effect on my Note Pro

2061584892127	00011110000000000000000010010000000011011111	12345.78 17 20 38-41[/code]

But am still unable to get band 20 800Mhz working. I would be interested to know if you ever got further to the testing phase and find out if you had any joy with any other bands?

All the Best
[Xiaomi Mi Note Pro] TheUltrametricSpace:
Thank you very much. I just got a Xiaomi Mi 5 did a stupid move. I set the band_pref to "USA" or 0x0 from *#*#4636#*#*. And so disabled my first sim card slot. Yeah, that was stupid.

But after only spending one whole day searching the internet for Qualcomm drivers, I got it fixed. Thanks to your topic.

You are great, thank you very much.
[Xiaomi Mi Note Pro] CodeX86:
So did you get the Band20 working on the Mi5?
[Xiaomi Mi Note Pro] TheUltrametricSpace:
No, NVRAM values alone do not unlock additional LTE frequencies.
[Xiaomi Mi Note Pro] CodeX86:
I'm aware that the hardware needs to support it. I just thought to have read that the Mi5 would be capable of doing so. That's why I asked.
[Xiaomi Mi Note Pro] TheUltrametricSpace:
We wrote it down in other topics, the hardware is capable. It's only about the configuration of the hardware.

But that's the big issue here; if the configuration of stuff like the PMA has to be modified; assuming we get access to it and somehow manage it; then an RF engineer has to do it, a random person isn't good enough for this task.

Manipulation at this level without testing and a lot of knowledge will bring big time negative side-effects; trial and error won't help. (But that's the absolute worst-case scenario.)

Maybe it's somewhere in the kernel, dunno.

Yet we can surely say that NVRAM values alone are not enough and the hardware is able to support additional bands at least in theory! (talking about the mi5, the note pro is outdated.)