yashsingh1/xdaforums huggingface dataset:
[Moto G5 Questions & Answers] showlyshah:
Bro.. check this.. npps is for xt 1676 ( Europe, Turkey ) and npp is for xt 1677 ( India) . Both are dual sim 3gb version phones.. just may be customization difference. Hopefully all modem bands may work.

Npps or xt 1676 unfortunately dont have version above 25.137-15 ( which is an older firmware from what u have ) , so never flash it.

But npp have higher version 72/76/82.

Just in case u are not confident enough avoid gpt, and bootloader flashing.

Btw.. if you have messed up ur bootloader ( cant boot into fastboot) .. i think give these files a try.. btw.. you have nothing to loose since u have messed up pretty bad with bootloader.

This is the only last try till Oreo upadate ( if moto ever release it for g5)

Btw.. if u get successful.. please share.

https://www.clangsm.com/forum/index.php?showtopic=482933

---------- Post added at 02:34 PM ---------- Previous post was at 02:16 PM ----------

And if u are worried about modem ( which may cause wifi /signal issue) avoid flashing modem or try flashing old modem from npps25.137-15 ( the file is available in same directory) you can use the modem file only for flashing )

I mean.. first flash the complete npp25.137-76 ( i choose that file because its non branded ) .. after successful boot, check wifi and sim.

If everything is ok.. use the same..

If you have problems with wifi or sim..

Use modem file from npps 25.137-15 and flash modem partion only.

Or completely avoid all trial and error methods. And just flash npp25-137-76 with out flashing modem , bootloader, gpt, - its just like flashing a new kernel and system.. everything except system and kernel will remanin the same.

The method works only if u have a working bootloader. If its not there.. there is no way to trial and error things.. till u courageously flash the bootloader and gpt from npp version..

Hope you will get something.

---------- Post added at 02:51 PM ---------- Previous post was at 02:34 PM ----------

Currently.. my xt1676 is working with August security update ( npps - 25.137-72-4 ) rooted, unlocked.. i am trying hard to mess it up.. unfortunately twrp backup helps me to unbrick few times!! But soon or later i will manage to mess it up!!!???

Only then i will give these files a try... ( Or atlest till pixel 2 comes to retailer near by) . For now this is my backup phone after selling s7 edge.

This is just 2 weeks old.. and i manage to mess its os 5-6 times till now.. so i think i will be joining your club soon;);)
[Moto G5 Questions & Answers] showlyshah:
Just the same phone as yours..2 weeks old.. but its alive till now.
[Moto G5 Questions & Answers] tys0n:
Hi. Sorry for bumping an old thread but I thought it was better then to make a new one.

I bought this phone a few days ago and it had NPPS25.137-72-4 when delivered. Been trying to read up a bit on this device but since I'm used to samsung, it all takes a while to figure things out :P

Got it unlocked/rooted fine, but I want to make sure I have something to fall back on in case of trouble.

I've been searching for this fw without any luck. Any chance some one got it and can share it?

NPPS25.137-72-4

Or if anyone can suggest a different one that could work. ( I don't really understand the fw names yet)

Thanks in advance.
[Moto G5 Questions & Answers] showlyshah:
Take a twrp backup .. a clean one..
[Moto G5 Questions & Answers] Smonic:
There's no flash able zips of stock ROMs here unfortunately. Weird for me too since I was Samsung through and through. Take a back up of your own ROM via TWRP or you can use the debloated stock ROM by Fedray on the ROM forum.
[Moto G5 Questions & Answers] tys0n:
Thanks for your answers.Thats actualy first thing I did after flashing twrp to have a clean backup of system and boot.

I also made a few partition backups in terminal, like persist, oem, modem and a few others so hopefully I'm fine.

Do you guys know if I can take stock recovery from lower version fw in case I would ever need it again?

I highly doubt I ever will, but just in case :P

Edit: If anyone needs a system/boot backup of this fw, just let me know and I'll upload it.
[Moto G5 Questions & Answers] showlyshah:
Infact i need a full twrp backup of the exact same firmware.. if u can uplaod.. please do that.. btw.. if u need recovery image i can extract it from ota.. and send to you.
[Moto G5 Questions & Answers] tys0n:
Yes please. If you could do that, that would be great :)

I'll zip the backup and upload it in a few hours when I get to my computer.
[Moto G5 Questions & Answers] showlyshah:
Me too.. i will do it tomorrow itself.
[Moto G5 Questions & Answers] tys0n:
Ok, here we go. Stock TWRP backup from XT1676.

NPPS25.137-72-4

CEDRIC_XT1676-NPPS25.137-72-4_TWRP.zip

Unzip, put in your twrp backup folder and restore.
[Moto G5 Questions & Answers] showlyshah:
https://firmware.gem-flash.com/index.php?a=browse&b=category&id=13304

I got this too..
[ZTE Axon 7 Themes, Apps, and Mods] bkores:
This will enable the double press power for camera gesture on the stock ROM. On MiFavor 5.0 this will only work when the screen is on due to some zte service preventing it from working when screen is off (not surprised).

Decompile Settings_ZTE and open res/xml/display_settings.xml

Change

<SwitchPreference android:title="@string/camera_gesture_title" android:key="camera_gesture" android:summary="@string/camera_gesture_desc" />

to

<SwitchPreference android:title="@string/camera_double_tap_power_gesture_title" android:key="camera_double_tap_power_gesture" android:summary="@string/camera_double_tap_power_gesture_desc" />

Open smali/com/android/settings/DisplaySettings.smali

Go to

.method private updateState()V

Everywhere you see

iget-object v3, p0, Lcom/android/settings/DisplaySettings;->mCameraGesturePreference:Lcom/zte/mifavor/support/v7/preference/SwitchPreference;

Change to

iget-object v3, p0, Lcom/android/settings/DisplaySettings;->mCameraDoubleTapPowerGesturePreference:Lcom/zte/mifavor/support/v7/preference/SwitchPreference;

Change

const-string/jumbo v6, "camera_gesture_disabled"

to

const-string/jumbo v6, "camera_double_tap_power_gesture_disabled"

Go to

.method public onCreate(Landroid/os/Bundle;)V

Change

const-string/jumbo v6, "camera_double_tap_power_gesture"

invoke-virtual {p0, v6}, Lcom/android/settings/DisplaySettings;->removePreference(Ljava/lang/String;)V

to

const-string/jumbo v6, "camera_double_tap_power_gesture"

invoke-virtual {p0, v6}, Lcom/android/settings/DisplaySettings;->findPreference(Ljava/lang/CharSequence;)Lcom/zte/mifavor/support/v7/preference/Preference;

move-result-object v6

check-cast v6, Lcom/zte/mifavor/support/v7/preference/SwitchPreference;

iput-object v6, p0, Lcom/android/settings/DisplaySettings;->mCameraDoubleTapPowerGesturePreference:Lcom/zte/mifavor/support/v7/preference/SwitchPreference;

iget-object v6, p0, Lcom/android/settings/DisplaySettings;->mCameraDoubleTapPowerGesturePreference:Lcom/zte/mifavor/support/v7/preference/SwitchPreference;

invoke-virtual {v6, p0}, Lcom/zte/mifavor/support/v7/preference/SwitchPreference;->setOnPreferenceChangeListener(Lcom/zte/mifavor/support/v7/preference/Preference$OnPreferenceChangeListener;)V

For MiFavor 5.0 use v0 instead of p0.

Go to

.method public onPreferenceChange(Lcom/zte/mifavor/support/v7/preference/Preference;Ljava/lang/Object;)Z

Change

iget-object v8, p0, Lcom/android/settings/DisplaySettings;->mCameraGesturePreference:Lcom/zte/mifavor/support/v7/preference/SwitchPreference;

to

iget-object v8, p0, Lcom/android/settings/DisplaySettings;->mCameraDoubleTapPowerGesturePreference:Lcom/zte/mifavor/support/v7/preference/SwitchPreference;

Change

const-string/jumbo v11, "camera_gesture_disabled"

to

const-string/jumbo v11, "camera_double_tap_power_gesture_disabled"

You may need to change the register numbers (v#) based on the surrounding code.

Recompile Settings_ZTE.

Huge thanks to [MENTION=5334294]raystef66[/MENTION] for testing for me.
[ZTE Axon 7 Themes, Apps, and Mods] WesTD:
Can you make this steps for B32?
[ZTE Axon 7 Themes, Apps, and Mods] bkores:
This should work for any variant and any build
[ZTE Axon 7 Themes, Apps, and Mods] WesTD:
I've couldn't get 3rd step. what should be new line?
[ZTE Axon 7 Themes, Apps, and Mods] bkores:
<item type="integer" name="zte_config_screenBrightnessDoze">17</item>
[ZTE Axon 7 Themes, Apps, and Mods] WesTD:
Doesn't work. No ambient display
[ZTE Axon 7 Themes, Apps, and Mods] bkores:
Does it show up in settings or it just doesn't work?

Check to the OP and make sure you changed all the values. I added one that I forgot.
[ZTE Axon 7 Themes, Apps, and Mods] WesTD:
No in settings
[ZTE Axon 7 Themes, Apps, and Mods] bkores:
Did you make sure you modified all the values in the OP? Like I said I added one I forgot.

If you did try removing the following from Settings_ZTE/smali/com/android/settings/DisplaySettings.smali

.line 594
invoke-static {v2}, Lcom/android/settings/zte/MFVSysResource;->getResId(I)I

move-result v2
[ZTE Axon 7 Themes, Apps, and Mods] WesTD:
Did you try and worked on b32?

BTW, I've make all steps
[ZTE Axon 7 Themes, Apps, and Mods] bkores:
No I didn't try it because I just assumed it would work since those modifications have worked on every ROM I've used them on. But of course ZTE messed something up, as usual.
[ZTE Axon 7 Themes, Apps, and Mods] bkores:
[MENTION=5564873]WesTD[/MENTION] I updated the OP with a new method that should work.
[ZTE Axon 7 Themes, Apps, and Mods] klev2687:
So this requires a root?
[ZTE Axon 7 Themes, Apps, and Mods] JackTheBest:
could you send us the modificated apk?

so we could replace it manually without decompiling and compiling the apk since i dont know how to do it.
[ZTE Axon 7 Themes, Apps, and Mods] hiperglyde:
Better yet, maybe teach a man to fish.. I wouldn't mind learning this :svetius:
[ZTE Axon 7 Themes, Apps, and Mods] bkores:
I'm sorry but I will not as the point is to do it yourself.
[ZTE Axon 7 Themes, Apps, and Mods] JackTheBest:
Could you at least tell us what tools we should use?

And what compiler you used since there's more than just one.
[ZTE Axon 7 Themes, Apps, and Mods] bkores:
I used APKTool and oat2dex. I'll write a guide on using these tools in general to modify apks on the Axon 7.
[ZTE Axon 7 Themes, Apps, and Mods] bkores:
[MENTION=7304327]JackTheBest[/MENTION] I made a guide here: https://xdaforums.com/axon-7/how-to/guide-modifying-apk-jar-files-axon-7-t3697945
[ZTE Axon 7 Themes, Apps, and Mods] bkores:
Sorry guys I updated the OP with an extra step that I forgot. ZTE really went to extreme lengths to disable this function. Instead of just removing the one line in the display_settings.xml file they chose to disable it in the code itself. ZTE really needs better engineers because this is pissing me off.

My rant of the day
[OnePlus 3T Questions & Answers] jamescable:
OK, long story short. Came for the nexus 6 and nexus 6p to oneplus 3t. The 6p had to flash vendor.IMG after every new ROM flash. But what is this whole firmware thing in this device? I have tried to find answers before asking but, what should I DO and NOT DO to have a brick? Like, wanting to go from a nougat ROM to an Oreo ROM, but not sure how. And then if I wanted to go from a n/o ROM to a beta, not sure how...then if I wanted to downgrade from an o or beta ROM.......please help
[OnePlus 3T Questions & Answers] Didgeridoohan:
Treat the OP3T pretty much the same as you would the Nexus 6. The only difference is, like you've discovered, that OnePlus provides firmware files rather than factory images.

The installation instructions for the different firmwares (stable and beta) are found in the first few posts of the respective threads:

https://xdaforums.com/oneplus-3t/how-to/rom-oxygenos-3-5-4-mm-ota-update-t3519074

https://xdaforums.com/oneplus-3t/how-to/coming-update-oos-based-7-1-t3564240
[OnePlus 3T Questions & Answers] Mizart:
It's pretty much the same as flashing vendor image. OnePlus just simply offers Firmware images which flash the Modem and the Firmware.

If you're gonna be on OxygenOS and Custom OxygenOS ROMs then you wont need to worry about flashing the firmware. Some of the Custom ROMs such as Paranoid Android and PureFusionOS also flash the recommended firmware automatically.

However, others don't and require you to flash a particular fimware image manually. Usually the Firmware to be used would be mentioned on the ROM thread itself.

Once you've Unlocked the bootloader and flashed a custom recovery, The most common process for flashing ROMs which do not have an included firmwares goes as follows:

1. Reboot To Recovery

2. Wipe Cache & Dalvik Cache, System and Data Partitions

3. Flash Firmware

4. Flash ROM Zip

5. Flash GAPPS

6. Flash Magisk/SuperSU (Optional).

7. Reboot

And that's it.

That is the standard procedure for most of the ROMs, but, I'd advice reading the OP Instructions properly first in case theres anything different.

PS. For moving to Oreo from Nougat, follow the same, but be warned, If your current ROM is encrypted and the new one isn't you'll be locked out of your device until you flash the old ROM back OR wipe userdata with fastboot, which wipes the Internal Storage.

PPS. For moving from a Custom ROM to Oxygen OS, best way to go would be to flash the official recovery again and sideload the official ROM zip via ADB (In some cases, encryption still might cause the same issue as above)
[OnePlus 3T Questions & Answers] jamescable:
That was very informative, thank you!!! Just one more question tho. What would happen if I didn't flash the correct firmware? Like, there is a RR ROM with custom sultan or something that looks like it needs a beta firmware, I'm not in beta firmware, so would I have any issues?
[OnePlus 3T Questions & Answers] Mizart:
I'm not entirely sure but in most cases the ROM would simply refuse to flash. Like for RR, if you don't flash a correct firmware then the flashing returns an "Error 7" and the installation stops. But even if it does flash through, it would either not connect to a network or get stuck in a bootloop, but nothing too serious which you can't rectify.
[General Topics] Linuxephus™:
...What, in your opinion, qualifies one as an Android Developer?

"Yeah, that means You The Reader, pretending you didn't just read these very words as you attempt to beat a hasty retreat to the Exit sign."

Newsflash: The Exit Sign, for that very reason, has been moved to Tidy Bowl Control, if you take my meaning.

In my opinion, to be viewed as "written in stone", and based upon the very definition of each word strung together:

1-One who uses Android (generalization of any OS variant) on a daily basis to such an extent that he understands his and/or her own system as if it were second nature.

2-One who is qualified accordingly, can do their own research when a problem arises and thereby apply that research that results in a solution.

3-One who can install, update, and maintain ones own system and the systems of others whom one plays the role of support technician with the same results as one's own system.

4-One who has learned, via certification or self-taught "certification" to administer all of the above.

5-Learning Android related operating procedures by obtaining knowledge of Android, it's underlying systems, and applying one's knowledge of Android under any given circumstance resulting in solutions for the maintaining of said system.

What say you?

Footnote: I made a very similar thread pertaining to Unix/Linux operating systems years ago that gained quite the following in a previous Community/Message Board (UseNet) no longer active in the fashion of modern message board's. So do forgive any generalizations accordingly.
[Android Q&A, Help & Troubleshooting] LEGOL2:
Hello!

I'd like to build my own rom from AOSP 8.0 official branch. I'm looking for some kind of guide but couldn't find any :( So, let's say I've got android source code and files from other custom rom that makes camera work. What have I to do to make my rom now? How can I build it and be sure that everything will work. Generally my target is to install android 8 on my Leeco le 2 x620 device with Mediatek chip

Any help is appreciated ^v^
[Android Q&A, Help & Troubleshooting] ramiabouzahra:
"I'd like to build my own rom from AOSP"

So you mean an aftermarket os like lineageos or carbonrom or do you mean that you take the aosp repo and compile aosp for your device? You can look in source.android.com :)

"source code and files from other custom rom that makes camera work"

Is that an already compiled rom? Because you won't get source code out of that :(

"How can I build it and be sure that everything will work"

Ya don't. Nothing can ever be 100% bugfree, it can either be from your device tree's source code, or the aosp code itself.

Generally, if there is a caf tree for your device, it's going to be 3x as hard to create an aosp tree.

It is going to be 100000x as hard to create an aosp tree that is for a newly released, new hardware requirement operating system.

Wanna know the topping of the cake? Mediatek is notorious when it comes to releasing the source (in fact, it has become a meme in the Mediatek users world) but don't let that stop you son.

You can try, but don't give up just because it won't compile the first couple of hundred times. The errors when compiling should give you a great start ;)

Good luck.
[Android Q&A, Help & Troubleshooting] LEGOL2:
Oh God, how am I meant to do this ;0 There is Lineage 14.1 project on my device. I really want to have android 8 on my phone. Thank you for all the advice.
[Android Q&A, Help & Troubleshooting] peltus33:
Yes im trying the same andere without any succes so far.

Im also trying to port from a different device ROM to the stock ROM what im running now.

The chip sets are the same but the Android versions not.

It would be really Nice if some mtk ROM developer find some time in his busy life to create a ROM for our phone.

Or a guide to compile/port Android o tot oud phone.
[General Questions and Answers] Ashwinrg:
Cyanogen OS is a custom rom. It can only flash through custom recovery. But you can't even access the recovery mode then it can't help you to unbrick your android.
[General Questions and Answers] limereyes:
Other method to physical format using spft?

Thanks for the reply..

1. I just wanna ask, do you have any idea or IS IT POSSIBLE? to format my device using the

ADVANCE OPTION + PHYSICAL FORMAT FORCEDLY ERASE (BAD BLOCK MARK IS ERASED) in SPFT?

I see that option in new-latest version of SPFT but, WHENEVER my ROM were already loaded (MTK6580), that option is gone.

I GOOGLED it but I can't seem to find the right keyword for it.. Do you have any idea? even in other android tool?

There's this guy on YTube that, did that method

KEYWORD: How to unbrick Any dead mtk phone 100% tested solution

I can't upload the video.. :( :(

Also, what is the BEST METHOD to flash the ROM using Windows 7?

I managed to borrow a laptop with WINDOWS 7 32Bit OS installed.

*Should I flash the preloader again?

*Should I untick/deselect it (preloader) and ALWAYS flash other stuff? except CACHE & USERDATA?

* I flashed countless times, I just don't want to make things worse..

**Is it possible to install or flash my rom to EXTERNAL SD? and be able to boot my phone using it? There's this guy on Ytube did that to his dead phone and it booted..

He used, some sort of image file and installed it in sd card using wind32diskimager..

Is it possbile? or for some phone models only?

https://xdaforums.com/yu-yuphoria/help/how-to-fixing-hardbricked-yuphoria-t3330604

Thanks and have a nice day..
[General Questions and Answers] windowsxpvista:
Same problem with me, I also have an MT6580 device and I also first tried to:

(when I used SP Flash tool, it only fully worked in version SP_Flash_Tool_v5.1532_Win )

1) format the whole flash (in SP Flash tool)

2) only select preloader

3) flash (with Download selected, and phone volume + button pressed in and then connected USB to pc)

4) select all other (recovery, boot, system, ...)

5) flash

For me as well, nothing happened - the phone does not react when I try charging it, and pressing the power button has no effect.

The only advice I can give you is the knowledge that the preloader is in the fault - somehow the preloader on my phone before the flashing was different from the preloader in my stock rom. Perhaps it is the same data, but the address at which it is flashed is wrong. Don't bother yet with flashing the system, userdata or other images - if the preloader is not correctly installed, the phone won't recognize it when it tries to boot up, and the other system, recovery etc. images are useless.

Perhaps a good analogy is: say the preloader is the bios of a computer: if the bios fails to be loaded, then the operating system (android, windows etc - i.e. the system, recovery etc. images) will never be loaded either
[General Questions and Answers] Frosty9927:
Sir please help me out

I have Micromax a120 device. Few days back it got bricked it stuck on bootloop and not working even after factory reset moreover my pc is not recognizing mobile and display message as device descriptor request failed. I have installed all drivers
[Samsung Galaxy J5 Questions & Answers] Kostas172:
So my j5(fn) sudenly had a very important issue.The touch is very weird.For example in twrp when i press wipe it shows that my finger is at reboot.this is happening everywhere.Besides i have tried anything wven going to lp and mm stock but problem remains any help?
[Samsung Galaxy J5 Questions & Answers] Gent':
Try this :confused:
[Xiaomi Mi A1 Questions & Answers] nicoboscaro:
hallò frends i write from italy

I have no connections internet with roaming out italy; I am sure than internet is active (phone of my wife is connect with similar SIM)

other function are perfect (telephone calls and sms)

I set in netvork connection: roaming yes but no signal

something about?

tks
[Xiaomi Mi A1 Questions & Answers] sasaenator:
Hi!I have the same problem,no cellular internet when roaming.Have you had any success in resolving the problem.I have tried to add apn settings that should work for a host network,but the system doesn't save them,keeps replacing them with the old ones.All of this is happening to me on oreo update,you probably had nougat or?Would appreciate a response!Thanx!:confused:
[Xiaomi Mi A1 Questions & Answers] NITRO_100:
I had similar bug (?-or I miss some setting) on Nougat.
[Xiaomi Mi A1 Questions & Answers] sasaenator:
Well,I am happy to say that I resolved the issue.I was abroad last weekend and everything was as it should be.funny thing is the problem was in the name of the APN on the main page where one can see the names of internet and MMS apns.for some reason one my phone it read telering,which is not my network and all of the setting were also from telering.i do not know why.after I wrote in correct settings and names for my network the issue was gone.i am using a prepaid network which is renting the frequency from another, bigger carrier.so that's it.the question why still remains,because I didn't change anything after buying the phone,the first SIM card,and the only one was mine.good luck,hope this helps
[8525, TyTN, MDA Vario II, JasJam ROM Development] gnahc79:
This issue exists for the official AT&T WM6 ROM, Pays ROM and probably any other WM6/WM6.1 ROM as well. The issue:

- The change timezone 2x (one to another, one to original) fix here is lost after powering off/powering on the 8525.

Example:

- Recurring appt every Thursday from 6am-730am.

- 3/6/08 shows 6am-730am

- 3/13/08 shows 5am-630am

- do the timezone 2x operation, 3/13/08 is fixed to 6am-730am

- power off, power on

- 3/6/08 shows 6am-730am

- 3/13/08 shows 5am-630am

What's the deal??
[8525, TyTN, MDA Vario II, JasJam ROM Development] gnahc79:
Anyone? Why isn't WM picking up the DST properly when I power on?
[Xiaomi Mi 4] Ham3dt:
after wiping android 8 from my mi 4 i can't flash stock roms using twrp nor multi rom twrp, giving me this error:

mount: no partition named "/dev/block/platform/msm_sdcc.1/by-name/userdata

how can i get rid of this error?
[Xiaomi Mi 4] ebeldamasta:
reboot to recovery and re-flash.
[Xiaomi Mi 4] Ham3dt:
did you read the question at all?
[Xiaomi Mi 4] Ham3dt:
UP!

don't wanna spam but i really need to solve this problem thanks.