yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] senthilbds:
No such issue in latest build.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] szunyi77:
This OC?

Tapatalkkal küldve az én Redmi Note 4 eszközömről
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Lynxad:
The kernel better than most kernel i've used for now, i like the battery back up and the performance is quite stable. I'm not facing any issue so far. Currently running Pixel experience pie r31
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] greenys':
Nope.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] khusika:
Release 1.0

New build is up

Changelogs :

Linux 3.18.135

Fixed spetrum path

Download link in the OP, enjoy it :)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Otongbesar:
mas, gawe'no nggo miui noughat mas.. matursuwun..
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] khusika:
Release 1.1

New build is up

Changelogs :

Linux 3.18.136

Download link in the OP, enjoy it :)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] rwxr-xr-xis:
Anyone here having bootloop issues with the latest release? I tried it on AOSIP Pie and couldn't get it to work.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Walden0:
Yes I had. Flash boot.img and then flash kernel, reboot to system. It should boot. Then you can flash magisk.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ahdeean:
Lemme enjoy this one.. :laugh:

Sound quality was slightly better, cant explain that but I like it.. Thanks dev.. :good:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mato200:
What boot.img , can you link me the exact file u used !?

---------- Post added at 12:40 AM ---------- Previous post was at 12:29 AM ----------

Got bootloop on ur latest Kernel, running latest TWRP and LineageOS for MIDO

---------- Post added at 12:59 AM ---------- Previous post was at 12:40 AM ----------

Nvm, just needed to flash the LineageOS zip again...
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Walden0:
boot.img is included in the rom zip. If you open zip file you will see it there.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] khusika:
Release 1.2

New build is up

Changelogs :

Linux 3.18.137

Merge tag LA.UM.7.6.r1-04300-89xx.0

Upstream with Google Common 3.18

Merge upstream f2fs-stable/linux-3.18.y

Update wireguard to 0.0.20190227

Download link in the OP, enjoy it :)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] sflnwr:
Won't boot on revenge os, I need to reflash rom to boot again

Edit :

Try again to flash boot.img first and kernel after that. Device boot but issue which is showing after every boot

there is an internal problem with your device etc..
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] greenys':
1.2 version won't boot on Lineage OS 15.1 latest.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mad jebon:
latest version get bootloop on AEX pie,when installing it show sdk27,,pie sdk28 right
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] greenys':
It's the third rom in the row tgat wouldn't boot. I guess dev messed up something accidentally in 1.2. I'd roll back to 1.1 if I were you.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] monnett:
Going bootlop ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] adhamamar:
I flashed last build phone booted but wifi doesn't work, how to fix?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Dheeraj roy:
keep upto date bro

yeah you should
[OnePlus 6T  Questions & Answers] jkeith1:
Notifications starts showing my reply along with the message and doesn't disappear itself. I need to swipe off the message and the reply. Is this fixable?
[OnePlus 6T  Questions & Answers] tcd1014:
What app?
[OnePlus 6T  Questions & Answers] devilrulz4ever:
You mean to say, after you reply on the extended notification, the notification does not hide away after you press send?

I guess it's a feature not a bug, since you can follow the conversation on the notification panel itself. Probably android pie feature.
[Android Q&A, Help & Troubleshooting] al280590:
Hi,

I would like to modify an android update and I would need an emulator to be able to stunt the created rom, they are on ubuntu.

Do you have a guide to show me? or do you recommend some programs?
[Android Q&A, Help & Troubleshooting] oolikers:
That seems hard to do ,i guss.
[Xiaomi Redmi Note 5 Pro Questions & Answers] Egyptiandroid:
Hello my teachers. Now, I am waiting to be able to unlock bootloader. I have RN5 Global version with MIUI 10 installed. What to do in details after unlocking bootloader? I mean which TWRP should I install to avoid rollback problems. Also, what is the best custom rom for RN5 global?
[Xiaomi Redmi Note 5 Pro Questions & Answers] taco9:
All info you need should be here:

https://xdaforums.com/redmi-note-5-pro/how-to/one-xiaomi-redmi-note-5-whyred-unlock-t3778049

Re custom ROMs, look in the ROMs section and see most popular threads there. Anyone who tells you what "best" ROM is, is only voicing his opinion

https://xdaforums.com/redmi-note-5-pro/development
[Xiaomi Redmi Note 5 Pro Questions & Answers] htchd2sucks:
Hello student!

Your teachers have carefully documented all you need for you, before.

It's all in your course material, available on several topics of this XDA forum: https://xdaforums.com/redmi-note-5-pro.

Have a good reading and learning!
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
Complete Backup Zip/Script (All partitions)

Now since you have faced this issue, make sure to take a complete backup of all the partitions so that if you ever face an issue like this in future, you will always have your partitions with you to restore your device.

Here is the link to the thread to take complete backup of all partitions: [Guide] [XT16XX] Moto G4/Plus Complete Partition Backup/Restore Zip/Script

The above thread can backup/restore using TWRP flashable zip files for convenience.
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
reserved
[Moto G4 Plus Guides, News, & Discussion] sxbino:
Thank you for this guide, but unfortunately it didn't work. When I pushed the hw image my phone stop responding and I have to force a reboot with the power buttom. I will give up on this issue for now on. Thank you again.

I attached a logcat in case you can find something that could give an anwser about what happens after i push the hw img
[Moto G4 Plus Guides, News, & Discussion] CMKdaGreatest:
Do I have to be on stock ROM for this to work? Can't it work when I'm on a custom ROM?

What happened was I flashed the latest arrow os build, which was faulty. I then clean flashed crdroid. After reboot, sim isn't working, and imei isn't showing anything. I restored my persist partition, with no result.

Any help?
[Moto G4 Plus Guides, News, & Discussion] vinay lucy:
Wow after Restoring Indian Baseband Volte works now.

Thanks Sir.:D:D
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
There are a few more ways to make this work, so its too early to give up.

Are you on the latest Stock ROM (April 2018)? You need to be on the latest stock firmware for this to work as the files are extracted from the latest stock firmware.

1. Flash Stock ROM (latest version - April 2018) once again.

2. Flash official TWRP (I repeat official TWRP only).

3. Then go in Terminal of TWRP (Settings>Terminal), and then repeat step 2, but this time no need to type "su" command.

Edit: [MENTION=7136366]sxbino[/MENTION], now that I have learnt a little to read logs, it appears that the logs doesn't contain anything about flashing those files.

Please collect logs from adb using the command:

adb logcat>log.log

This will start collecting and saving logs in a file named "log" which will be saved in the same folder where you have adb.

If you are using PC/Laptop to push the files, you can open 2 terminal/command prompt windows, one to collect logs and other to flash the files.
[Moto G4 Plus Guides, News, & Discussion] edjalmo:
But is missing Brazil baseband.

I'm from Brazil and change mine for LATAM.

Does anyone have this files?
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
Right now, we haven't been able to get modem files for BRAZILIAN baseband. Will add them in the Google Drive link once they are available from fellow Brazilian users.

Edit: [MENTION=9359728]edjalmo[/MENTION], BRAZILIAN modem files are now available.
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
You may try if you'd like to. It just didn't work for me(flashing/pushing those files on custom ROM) so I am asking to be on stock ROM.

All of the 64-bit Pie ROMs are causing this error. The developers are working hard to fix it.

I would recommend flash stock ROM. No need to worry about losing IMEI after flashing stock as now it is recoverable, the only condition is you should not try to restore somebody else's persist or efs partitions.
[Moto G4 Plus Guides, News, & Discussion] CMKdaGreatest:
Somehow, I clean flashed crdroid again, this time restoring the efs partition right after ROM flash. Now my sim is working. Silly me
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
Update: BRAZLIAN modem files are now available and have been added to the drive link. OP has been updated.
[Moto G4 Plus Guides, News, & Discussion] edjalmo:
Thank you very much :)
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
[MENTION=9359728]edjalmo[/MENTION], Please report back whether they worked or not. I have 2 pairs of modem files. If this one didn't work, I will upload the second pair of files.
[Moto G4 Plus Guides, News, & Discussion] edjalmo:
Yes! I tested and it worked! My model is XT1640.
[Moto G4 Plus Guides, News, & Discussion] Fit_:
The ArrowOS also broke the imei of my smartphone, I have tried everything but nothing, I hope that the developer of ArrowOS get a solution!
[Moto G4 Plus Guides, News, & Discussion] luis dambrowski:
I do not understand where to enter the commands, can you explain more detailed? does this also work for IMEI = 0?
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
Nope, if you have IMEI=0, go to this thread: https://xdaforums.com/moto-g4-plus/how-to/guide-moto-g4-plus-imei0-issue-t3859068

If there is any problems like baseband/network after restoring IMEI, come to this thread.
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
Update: RETUSA modem files are now available and have been added to the drive link. OP has been updated.
[Moto G4 Plus Guides, News, & Discussion] StrikerFX:
I just installed the files of the Brazilian version, they worked perfectly in the g4 xt1626, only the part of tv does not appear because my model is the version no plus, but the baseband is now correct, brazilian version. I just have to thank Heeth21, his job in keeping a baseband database and etc is phenomenal, will help a lot of people.
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
Try flashing the Stock ROM again if you'd like to. From what I have observed, this time your device will turn back to Moto G4 (not plus) with the correct baseband.

But before you do, make sure take complete backup now since everything is working fine from this link: https://xdaforums.com/moto-g4-plus/help/complete-partition-backup-script-xt1644-t3608408
[Moto G4 Plus Guides, News, & Discussion] gonshopama:
I did the whole process as it is marked, when I make a call it says "turn off the airplane mode to make a call"
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
I hope you have flashed the correct files for your device.

Flash the Stock ROM once again or try flashing a custom ROM this time. Its a software issue.

And please don't quote the whole OP.
[Moto G4 Plus Guides, News, & Discussion] sxbino:
Hi again, I tried once again and nothing. The commands push the file, but still dont recognice the fingerprint sensor. I truly dont understand why it doesnt work. Thanks again.
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
You need to flash stock ROM (April 2018) again after these commands.

Since, the commands were able to push the files, this time it will definitely work!
[Moto G4 Plus Guides, News, & Discussion] tahattha:
Yeah my baseband fix shown emue but my phone still moto g4 (not plus ) one imi no fingerprint

Guys when flash stock rom did i use erase modems command

My phone xt1642 still moto g4(not plus)
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
fastboot erase modemst1 and fastboot erase modemst2 erases the efs partition, but it is regenerated on reboot from your persist. It will not touch your modem(which you are referring here to) so no worries.

Did you flash hw.img too?? I suppose it might be stuck on 100% or you weren't able to flash it. Because hw.img will enable fingerprint.

Now try flashing the images from TWRP. Boot into TWRP, and then type the commands in Terminal of TWRP. But this time no need to type "su" command. And then flash Stock ROM again.
[Moto G4 Plus Guides, News, & Discussion] tahattha:
I tried with twrp but sam thing stick in twrp not responding until reboot u phone

And which twrp version should I use?

And about erase modem commands when i use this command i got IMEI 0 so what u suggest use this command or not

And thank u very much for quick response
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
I didn't mean to tell you the use erase modemst commands. Have you recovered your IMEI yet? If not, check this thread for recovering IMEI: https://xdaforums.com/moto-g4-plus/how-to/guide-moto-g4-plus-imei0-issue-t3859068

Use official TWRP

only

and type the dd commands in the terminal of TWRP. If that doesn't work too, try this:

This time try using adb commands:

Reboot to Official TWRP only.

Connect your device to PC/Laptop

Place the modem.img, fsg.img and hw.img in the same folder as your adb and fastboot files in your PC/Laptop

Type the following commands:

adb push modem.img /dev/block/mmcblk0p1
adb push fsg.img /dev/block/mmcblk0p16
adb push hw.img /dev/block/mmcblk0p43

If none of these work, try files of different basebands and then flash stock ROM again.

If anyone of those different baseband files works, then follow the guide again and this time use the files for your baseband and it should work.
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
Hey, were you able to get your IMEI back?? If not, try this:https://xdaforums.com/moto-g4-plus/how-to/guide-moto-g4-plus-imei0-issue-t3859068
[Moto G4 Plus Guides, News, & Discussion] tk8320:
same happening to me unable to push hw image actually hw is locked as i see it by fastboot oem hw status
[Moto G4 Plus Guides, News, & Discussion] red002:
After i push the files from the LATAM Baseband and re-flash the Stock firmware, it still shows another baseband (in my case RETUSA).

But when i push the EMEA baseband and re-flash the stock firmware it changes to EMEA.

And if i push the LATAM baseband standing on EMEA it changes to RETUSA.

idk if im doing something wrong or maybe the files for LATAM are wrong or swapped.

PD: Is there a tutorial on how to backup the baseband, i have another G4+ with the one i need, but don't know how to do it, i searched but no luck on that.

Thanks.
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
Could you give your hw.img?? I will see if I can edit it.

The folloeing command will place a copy of hw.img in your /sdcard directory. Please share it.

dd if=/dev/block/mmcblk0p43 of=/sdcard/hw.img

It seems the files for LATAM baseband were actually for EMEA baseband. Dont worry, I have 2 copies of files for LATAM baseband.......will upload it in a while and inform you.

Backup the baseband? There is a tutorial to backup everything (every partition) on XDA for our device. But do that afyer you restore your baseband.

Edit: [MENTION=4948275]red002[/MENTION], the files for LATAM baseband have been updated. Please try again. Here is the link directly to the LATAM baseband files: https://drive.google.com/open?id=1fE4iFjejg6lAWCiI4JLJR3awWUBJ3Tr2

Edit 2: [MENTION=4948275]red002[/MENTION], please tell whether these files worked or not. Because if it didn't, I'll get a new pair of files.

Edit 3: [MENTION=4948275]red002[/MENTION], now there is a thread with which you can backup your baseband files, infact not just baseban, but all the files. Here is the link: [Guide] [XT16XX] Moto G4/Plus Complete Partition Backup/Restore Zip/Script

Also mentioned about this thread in post #2
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
[MENTION=9204366]tk8320[/MENTION], ?? Please attach your hw.img

Also [MENTION=7136366]sxbino[/MENTION], please attach your hw.img
[Moto G4 Plus Guides, News, & Discussion] sxbino:
here's my hw img
[Moto G4 Plus Guides, News, & Discussion] tk8320:
Here it is
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
[MENTION=7136366]sxbino[/MENTION] and [MENTION=9204366]tk8320[/MENTION], also please tell your device model number like XT1640/XT1641/XT1642/XT1643/XT1644.

I am a bit tight on schedule as my exams are approaching too, so please bear with me as a little delay might happen.

I will try to edit it by comparing it with the working hw files and also some differnet sources, although I just don't know much about it so it may or may not work....

Edit: Also, in the meantime, [MENTION=7136366]sxbino[/MENTION] and [MENTION=9204366]tk8320[/MENTION], try the hw files you just pulled out of your device and flash them with:

dd if=/sdcard/hw.img of=/dev/block/mmcblk0p43

You should be able to flash your hw.img files as its yours so it will succeed. After that, try flashing the hw.img you downloaded from post #1. You weren't able to flash earlier, but maybe this time it might work, but make sure you push YOUR hw.img first and then the downloaded hw.img
[Moto G4 Plus Guides, News, & Discussion] tk8320:
XT1643 yup thanks in advance ...
[Moto G4 Plus Guides, News, & Discussion] sxbino:
XT1641 Single Sim, thank you
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
[MENTION=7136366]sxbino[/MENTION] and [MENTION=9204366]tk8320[/MENTION], thanx, I will use those models as a reference and try to edit the files. In the meantime, try using different adb drivers. Maybe yours might have some problem and that's the reason you are unable to push those files. here is the link to the adb files which I used and these worked for me: https://drive.google.com/drive/folders/1dRSCa5zvSQVIIB2_WeZtX49Dx2zFL-4r

If these don't work either, try using the latest one.

Reboot to Official TWRP only.

Connect your device to PC/Laptop

Place the modem.img, fsg.img and hw.img (downloaded from post #1) in the same folder as your adb and fastboot files in your PC/Laptop

Type the following commands:

adb push modem.img /dev/block/mmcblk0p1
adb push fsg.img /dev/block/mmcblk0p16
adb push hw.img /dev/block/mmcblk0p43
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
[MENTION=7136366]sxbino[/MENTION] and [MENTION=9204366]tk8320[/MENTION], Alright, so I have edited your hw.img files. I have named them according to your username.

But first, try using different adb files for flashing modem.img, fsg.img, hw.img. If that works then no need for flashing the edited hw files and we will finally have a solution to why some people are unable to flash hw.img and get it stuck at 100%.

Refer above post where I have added the link to my adb files and also the steps to how to flash them.

If the hw.img is still stuck at 100%, then use the edited hw files.

Also please reply if you get it working or not so it might be helpful for others.
[Moto G4 Plus Guides, News, & Discussion] red002:
[MENTION=6490709]Heeth21[/MENTION] this time the LATAM baseband worked, i have recovered the IMEI and the 4G.

Thanks a lot for addressing this issue man.
[Moto G4 Plus Guides, News, & Discussion] sxbino:
Nothing happen, I tried with your adb files and it got stuck on 100% when pushing hw.img, so i tried with the hw file you edited for me and was the same. I tried dd but when I try the hw file it got stuck and the twrp terminal went crazy (idk). I think theres no way of making my fingerprint work again, something must be really mess up with my phone
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
I hope you tried it on official TWRP version only.

[MENTION=9204366]tk8320[/MENTION] and [MENTION=7136366]sxbino[/MENTION], maybe this might be causing the issue.

[MENTION=9204366]tk8320[/MENTION], what do you mean by hw is locked as seen by fastboot oem hw?? Could you attach the output/screenshot? I tried using the same command and received no such output as locked or somehing like that.

Reboot into fastboot mode and enter this command and then attach the output:

fastboot flashing unlock
fastboot reboot bootloader

Try pushing all the 3 files once again. If you use TWRP make sure its official TWRP only!
[Moto G4 Plus Guides, News, & Discussion] tk8320:
actually as I performed to many researches on this issue from all other threads I noticed that it is due to hw is corrupt hw stores system related information if you downgrade the it might be lock and once it is locked it wont allow us to change or push hw file

---------- Post added at 01:18 PM ---------- Previous post was at 01:15 PM ----------

is there another way of pushinh hw through fastboot commands??
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
You cant just push them through fastboot commands.

Please give the output you see in fastboot oem hw as you say its locked.

I had gone through the same problem as you did, i.e after downgrade had to use blankflash and then lost 1 imei and fingerprint. So it isn't like you can't change it. Its just something which we are unable to understand right now
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
[MENTION=7136366]sxbino[/MENTION], I skipped a line in this, just read it.

I think you were able to push hw.img using terminal app as I read in a post in a different thread even though the phone got stuck.

Use terminal app like material terminal:

"su" and then dd commands. Tell whether it shows files pushed sucessfully or not.

You pulled your hw.img using terminal "dd" commands. So just push it using terminal "dd" commands (not from TWRP terminal, but app like material terminal)

Also try pushing the files with a Custom ROM like Lineage OS 14.1 or RR 5.8.5 (Nougat). Do not use TWRP, just a terminal app with "su" and "dd" commands.

If the files are pushed sucessfully, then don't worry even though the phone gets stuck. The important thing is to get the message that files are pushed sucessfully.

If the files are pushed sucessfuly, flash Stock ROM again. I hope you are pushing modem.img and fsg.img long with hw.img.
[Moto G4 Plus Guides, News, & Discussion] tk8320:
the output is as follows

D:\Minimal ADB and Fastboot>fastboot oem hw status

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

...

(bootloader) utags [hw] is locked

OKAY [ 0.180s]

finished. total time: 0.183s

D:\Minimal ADB and Fastboot>fastboot oem hw unlock

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

...

(bootloader) utags [hw] unlock is blocked for secure HW

FAILED (remote failure)

finished. total time: 0.183s
[Moto G4 Plus Guides, News, & Discussion] HeethJain21:
[MENTION=9204366]tk8320[/MENTION], the "hw is locked' which you are referring to isn't the same as hw.img

I tried the commands and I get the same output as you i.e hw is locked.

D:\Adb_Fastboot_Drivers>fastboot oem hw status

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

...

(bootloader) utags [hw] is locked

OKAY [ 0.173s]

finished. total time: 0.173s

D:\Adb_Fastboot_Drivers>fastboot oem hw unlock

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

...

(bootloader) utags [hw] unlock is blocked for secure HW

FAILED (remote failure)

finished. total time: 0.185s

D:\Adb_Fastboot_Drivers>

Also please try this now and report back what you get:

Type the commands in terminal app like material terminal:

su
dd if=/dev/block/mmcblk0p43 of=/data/media/0/hw.img
dd if=/data/media/0/hw.img of=/dev/block/mmcblk0p43

What these commands will do it pull hw.img from your device and then push the same hw.img back into your device. If this doesn't work too then it means edited hw.img wouldn't work either.