yashsingh1/xdaforums huggingface dataset:
[Droid RAZR M Android Development] kb8no:
Sorry. I read all your posts for a long time and the f2fs change Didn't sink in. Then I got the revelation and I should have gone back and re-read everything. It all makes sense. Thanks for being patient! I presume you still have no interest in LOS build? Nice work!
[Droid RAZR M Android Development] DiamondJohn:
LOS builds

My original driver was to get a Nougat ResurrectionRemix build, which I now have and have it installed and running smoothly on my device https://xdaforums.com/droid-razr-m/development/resurrectionremix-nougat-xt907-xt905-t3697567 The problem with building anything more (such as LOS, AICP etc) is that I would need to do a test flash on my device, which would involve backing-up and restoring on my personal device, which I am so happy with right now:D, that I don't want to do that. If you want standard LOS, you can Port the official xt897 ROM using the steps described in the thread https://xdaforums.com/droid-razr-m/development/how-to-port-lineage-13-0-6-01-to-t3607500 using a weekly sourced from https://download.lineageos.org/xt897, or use the ports already prepared from the thread https://xdaforums.com/droid-razr-m/development/lineage-os-xt907jbbl-t3577746

On the other hand, these Nougat ROMs I have built appear to be pretty stable, so if you dont set any customisations, they will basically for the most part operate the same as LOS, since they are both LOS based.
[Droid RAZR M Android Development] DiamondJohn:
IOS 10 EMOJI's

I think the IOS 10 EMOJI's would also work for crDroid. see https://xdaforums.com/showpost.php?p=74430661&postcount=19
[Droid RAZR M Android Development] doegiz:
This rom runs incredibly smooth on this device. So far I haven't encountered many problems except for the sim card sometimes not registering on reboot.
[Droid RAZR M Android Development] DiamondJohn:
When I was testing my initial builds, I simply found that Nougat ROMS booted faster than what they took to register the SIM (ie network). This ROM is ODEX'd so will display that behavior a little more often. I found that eventually the SIM card/network WILL register on every boot, just a little "lazier" than on Marshmallow and earlier.
[Droid RAZR M Android Development] doegiz:
One issue I am suddenly experiencing now after a reboot is that it will get to the phone splash screen but then the screen goes black and does not show the crdroid boot logo, and it seems to hang there, however my computer indicates that the phone is still on. It doesn't boot loop or anything.

Before reboot I had installed a bunch of games from the playstore, but I haven't made really any tweaks to the rom aside from customization in the crdroid settings menu.

The only thing that I could think might have caused an issue here is that I installed the adaway app which requires root. I had also installed the xposed apps but the phone rebooted fine with it, and i havent added any tweaks through xposed as of yet.

I'm thinking I might just have to factory reset, as I haven't made any backups yet.

I'll also note that I checked the phones (xt907) cpu freq. and it seems to be jumping up to an overclock of 1.8ghz rather than the stock freq of 1.5ghz. I'm a bit of a noob so I don't know whether this could be because of the change to the jbbl bootloader or just due to the rom. Unless romtoolbox could be reporting it wrong? idk.

Edit : Even after factory restore it seems it still wont boot, however I can still get into the bootloader and recovery

I guess Ill do a complete wipe, reformat data to f2fs, reinstall everything, and hope it works.

Edit 2: that seems to have fixed it, now I'm just going to make a back up and see If I can figure out what I did wrong.
[Droid RAZR M Android Development] DiamondJohn:
I would steer well clear of Xposed for Nougat.Its a framework that goes deep into the system itself, much more than any app. What are you using Xposed for? if you want visual customisations, the RR ROM covers most things and its my daily and pretty stable. AdAway should be fine. I always install it even when simply test flashing ROMs
[Droid RAZR M Android Development] DiamondJohn:
its explicitly an Over Clocked Kernel! ie this ROM has a modified overclocked Kernel. Its a feature.

if you wish to stick to the standard clock speed or reliably set it to the oc level or any level, adjust the oc script i have posted on the rr thread https://xdaforums.com/showpost.php?p=74430787&postcount=20 or use kernel auditor to capp the clock speed.
[Droid RAZR M Android Development] doegiz:
I use xposed mostly for app related tweaks, such as making the Youtube app able to continue playing in the background. So far xposed didn't seem to pose a problem though, as the phone had rebooted fine with it. Only after I just installed about 7 different games from the playstore and installed adaway that the phone suddenly stopped working.

That's good to know, I had been wondering if it was even possible for me to overclock this phone. So far it seems to run with no problems so I'm good with it.
[Droid RAZR M Android Development] DiamondJohn:
It probably doesn't suit your requirements/wishes, and it is only one thing, but it struck me as an interesting question if Youtube would continue to play as the "inactive" window in split-screen mode. And it does! Well at least on the RR Rom (although it had to be the top window to see the video). Actually, I just checked the list of features on crDroid, and I didn't find split-screen in the list. Dont know how the Xposed module handles that, or if split-screen is even available in crDroid. It is in the RR ROM, which is my personal daily. But it does stop playing if the screen is turned off, however it does keep playing when I go to my home screen. Interesting.
[Droid RAZR M Android Development] Galaxyninja66:
No wifi was working on other roms, even with XT905 firmware, but I was on XT907 firmware at the time of flashing.
[Droid RAZR M Android Development] DiamondJohn:
Did WiFi ever work for you with crDroid 14.1? LOS 14.1? did you set up your Google account over standard mobile data:confused:

Can you actually see any WiFi networks? 2.4? 5.0? eg with "WiFi Analyzer" or such.

Have you tried setting your router to channel 1?

Have you checked others WiFi? eg I think McDonalds has free WiFi at every store, worldwide

Have you tested WiFI on the ResurrectionRemix ROM?
[Droid RAZR M Android Development] Galaxyninja66:
Okay, so I restored stock 4.0.4, installed TWRP, formatted /data and /cache to f2fs, and everything is working great on RR 7.1.2 nougat (so I assume crDroid works too)

Sorry, it must have been something I did before hand. What would happen is I would hit the wifi toggle to "on" and it would immedietly switch itself "off"
[Droid RAZR M Android Development] DiamondJohn:
I would normally expect crDroid to be more stable/functional, however, I have been trying to flash it on a spare device (S4) I have, and it always seems to fail. I have just realised that If I don't flash GApps, it will boot :confused: RR Works fine on that device with the same GApps installed (open nano).

As for RR it really is the ROM of every feature under the sun. Just go into Configurations and try clicking and customising every option, it really has nearly all. The only things I am missing from running Xposed under LOS 13.0 is my screen off animation (used to shutdown like a CRT) and having my icons and date/time in the status bar tinted (although I do have to admit that plain white is a lot more readable in most cases), and maybe adblocking in youtube (but there are numerous youtube players without the ads) The only thing I am tempted to do is to create my own substratum theme to blackout youtube. But thats just getting OCD :silly:. Its also great to be using the crDroid player over the buggy Eleven:victory: thats been hounding me for a few years now.

I also realised from reading your post, I have had my cache formatted as f2fs for a long time now, maybe that also helps this (and RR) ROM.
[Droid RAZR M Android Development] Galaxyninja66:
Look up Team Black Out youtube, flash the Black youtube app, reboot, and uninstall updates for the youtube app. Voila, black youtube.
[Droid RAZR M Android Development] DiamondJohn:
I already looked at TBO, and they have issues with it requiring an update every time google updates youtube. I am a little perplexed that no substratum theme handles it, nor the YouTube devs themselves. I use Goggle news, and they have a built in option for a dark theme. The substratum theme I use makes dark work of google play, there must be some kind of strong resistance to a dark theme from the youtube dev team
[Droid RAZR M Android Development] Galaxyninja66:
I just disable play store updates, they annoy me anyways. Yeah, the YouTube app has always been 2 steps behind AOSP in terms of general UI and features.
[Droid RAZR M Android Development] doegiz:
Has anyone else been experiencing sound lag issues with 3d games? On this and the Resurrection remix I get constant sound lag while playing the majority of my games, however, the game itself seems to run fine. My only thoughts on why this could be happening is something to do with the overclock. Other than that,

listening to music and doing anything else like watching videos on youtube seems to work perfectly fine.
[Droid RAZR M Android Development] DiamondJohn:
You can turn the overclock off, and it will operate the same as if it doesnt exist.

I dont play 3D games, so cant specifically test it myself.

Do you get the same behavior using a plain LOS Nougat build?

By any chance, do you have Xposed installed?

Which Gapps do you have installed?

Do you get the same behavior with a "blank"/clean flash of the ROM ie with no GApps or other apps apart from the game itself?

Did the game run without audio lag on previous ROMs?

Things I would try / test.

Changing the IO Governor (I use tripndroid)

Increase the IO buffer (I use 1024MB)

Test the AICP ROM (it felt snappier to me)

Test increasing the min clock speed (BUT ONLY TEMPORARILY!)

And to really push the extremes, maybe installing Viper would change the audio path and avoid the audio lag:silly:
[Droid RAZR M Android Development] doegiz:
I should note that I realized I have this problem with a lot of 2d games as well, which is kind of odd that this issue seems limited to games, with no problems elsewhere. There are games that will run without problems, but are noticeably very light on resources.

Atm, I haven't tried any nougat builds other than crdroid and Resurrection remix builds.

I haven't had xposed installed since the first time I tried crdroid.

I use the pico version from open gapps

I haven't yet tried it without installing gapps on a clean install. I'm not sure exactly how this could pose an issue, but I've been experiencing this problem with nothing but gapps installed so ill have to check.

My only previous rom that I used, other than stock, was the latest version of cyanogen mod (5.1 lollipop) available for the xt907 and there were no audio problems, with the same games.

So far I've refrained from making any actual modifications to the rom since the last time I did a clean install.

Sometime tomorrow I'm going to get working on this a bit more, as there is also another issue I need to roll out with my data connection working on clean installs of both roms, but soon after, it stops working (permanently) and I can no longer use my data. Could it possibly be romtoolbox not playing well with the rom after granting root access? as the problem occurred again, not to long after having installed this app. I only ever use this app to check the cpu frequency and nothing else. I'll have to refrain from using this app as well and hopefully I wont be having this issue again on the next install.
[Droid RAZR M Android Development] DiamondJohn:
Could be nougat / LOS specific issue. All the builds I have done are LOS based.

Smartphones are a small device with very limited resources which will be coonsumed by each individual app installed. Including Gapps. The games may be fighting with the other apps to gain/assume exclusive access to these limited resources. Especially with our old and low spec phone.

The fact that Xposed took so long to come to Nougat gives an idea just how much had changed between MM and N. Let alone since Lollipop.

The more I think about it, the more I think the IO buffer and scheduler may just help. Also, the LMK may be worth a play. No hard basis, just thoughts to try.

Anything is possible. ROM Toolbox appears to be a bit of a sledge hammer to get the CPU details. You would also already have KernelAuditor installed, which provides even more details. I have noticed with my phone, that sometimes when I wake it up I dont have mobile reception (incl data) for a few seconds. I Think it may have something to do with its tendency to go intoi deep sleep, but thats just a random guess. And for me it DOES come back in a few seconds. I have seen where my GPS stops working, and doesn't comeback until after a reboot, but I saw this behavior on previous ROMs also.
[Droid RAZR M Android Development] doegiz:
Ok so far I've just reflashed it without gapps, and I've avoided using romtoolbox in favor of KernelAuditor instead, and my data seems to be fully working for now. I changed the cpu gov. to tripndroid which I seem to like better given it doesn't keep the clock at full speed as much when I'm only doing light work with the phone. I tried setting the gpu clock back to default. However, my audio problem still persists. Atm I'm figuring out how to change the IO buffer, what viper is, and what you mean by AICP rom. My knowledge on android is pretty selective so there's still a lot of googling I need to do lol. If I don't end up fixing this problem, its not a huge issue I guess as I don't really play games often when I'm out and about anyways, and a lot of the time ill be playing with the sound off. At least I've gotten my data working correctly for now.
[Droid RAZR M Android Development] DiamondJohn:
By "data working" are youy talking about your sound issue? DONT confuse two things, try and work on one thing at a time ONLY. And these changes are all about fixing the delayed sound on your 3d games.

That makes NO SENSE if you are trying to fix your delayed sound on 3d games. To improve a porly performing app, logically you want the CPU to be running at higher numbers, not lower.

Setting the GPU and/or the cpu to lower clock speeds will only logically make any delayed sound issue worse.

In the menu in Kernel Adiutor, there is an item for IO

If you dont even know what it is, and from the rest of your post, I would say dont worry about it, its beyond your current android skillset. Its basically an audiophile equalizer that provides amazing audio out, especially for music, I have used it on every android phone I have owned for the last 5+ years. I use my phone as my music player in my car and it sounds amazing. https://xdaforums.com/showthread.php?t=2191223

You are running crDroid ROM, AICP is a different ROM https://xdaforums.com/droid-razr-m/development/rom-aicp-jbbl-diamondjohndroid-extreme-t3709043 Isuggested it as for the few minutes I was running it, it seemed to perform well.
[Droid RAZR M Android Development] chiefpete:
Revert to JB Bootloader

I pulled my RAZR M off the shelf after about a year to see if I could install a LineageOS based ROM on it, but it seems the bootloader needs to be "downgraded" to Jelly Bean.

I've had various versions of CM on this phone, and updated the bootloader back in 2015 using Verizon's stock ROM 4.4.2.

Is it possible to downgrade the bootloader to JB?

My fastboot screen shows:

AP Fastboot Flash Mode (S)

10.9B(*) (sha-61146a2, 2014-07-29 06:20:44)

Device is UNLOCKED, Status Code:3

Thanks.

Chiefpete
[Droid RAZR M Android Development] DiamondJohn:
Once you have downgraded your bootloader, dont forget to upgrade your recovery (ie TWRP) https://xdaforums.com/droid-razr-m/general/twrp-3-1-1-xt907jbbl-t3652141

And before flashing the rom, format your data partition to F2FS; this step will wipe all your data including your internal SDCard.
[Droid RAZR M Android Development] DiamondJohn:
New Build is up

New Build.v3.8.3. I dont know what has specifically changed since v 3.8.2 (the previous build) outside of any fixes since the last build. See the the OP for download.

The new filename is crDroidAndroid-7.1.2-20171212-xt907-v3.8.3-DiamondJohnDroid-EXTREME.zip

I have added under-clocking to the kernel (down to 96KHz from 384KHz) and set the upper-limit of the OC to 1.7GHz

Another big change with the ROM is that this version is DE-ODEX'd while the previous version was ODEX'd. This fact means the first boot & any boot after clearing the dalvik will take longer than the previous ROM would of.
[Droid RAZR M Android Development] alkr:
Hey, would someone help translate this to XT901 (US Cellular's Electrify M) please? or at least step by step.... I'm lost.

Many of you developers are out of touch with the laity. Please know that goofballs like I, sometimes search end up here for help. Plz make it simple that a 7 year old can do it. Any help appreciated.
[Droid RAZR M Android Development] alkr:
for Motorola Electrify M

Oki, after studying this for over a week!... here's what I got. I'm writing step-by-step guide for Moto Electrify M on US Cellular. equivalent to RAZR M on Verizon. I'll try to post this on Electrify M thread as well.

1. Download TWRP-3.1.1…. file from this thread. (and all other files also)

2. Install (ADB, create ADB folder on root directory/folder. Mine: C:/adb/ ), you will at least need the following files. Get ADB from else (search forum).

1) adb.exe

2) AdbWinApi.dll

3) AdbWinUsbApi.dll

4) fastboot.exe

3. go to ADB folder, unzip the TWRP file in the adb folder.

4. Reboot phone into [ap fastboot] mode for usb connection.

To do this, turn off phone. Press three buttons (power, volume up, down) silmultaneously. When menu appears, select [AP Fastboot] by pressing [volume down] several times, then select by pressing [volume up]

5. Open Command Prompt on your Windows PC. Type CMD on search box on Windows.

6. On Command Promt, navigate to ADB folder.

Type "cd.." to change to lower directory. Multiple times to get to root directory.

Type "cd adb" to enter into the adb directory. (mine: C:/adb/)

7. There, run command "fastboot flash recovery tw게....img" via CMD window.

Mine displayed the following:

"<bootloader> Variable not supported!... Writing 'recovery' … OKAY… finished. Total time: 2.378s"

or something similar.

It may display unsuccessful message. But disregard and move to next. (in my case) Don't ruin yours. ask experts around here.

8. Unplug usb, press power button and turn off device.

9. Reboot via pressing three buttons (power, volume up, volume down)

10. Device boots into TWRP menu

11. Format to F2FS via TWRP menu. Follow step by step here:

https://xdaforums.com/nexus-4/help/guide-detailed-f2fs-manual-format-guide-t3264185

12. Now install the ROM (Nougot 7.1.2). To do this, select [install] on TWRP menu. Select media card or location, and select the ROM (cdDroidAndroid-7.1.2…..zip). Swipe to confirm flash.

1) I have loaded an SD card with the ROM, and Gapps files on root directory, both Unzipped.

13. When it's done go back (back arrow) and install, select Gapps. [Open Gapps pico 7.1 or whatever you chose]

14. After done, select [Reboot System] on TWRP menu.

To install U.S. Cellular specific files refer to the following thread:

[MOD] Electrify M (XT901) ROM Converter

https://xdaforums.com/showthread.php?t=2597208

---------- Post added at 10:21 PM ---------- Previous post was at 09:34 PM ----------

addendum to Motorola Electrify M:

in my case, I had my phone rooted. by following steps here:

teamuscellular.com/Forum/topic/3850-how-to-root-the-m-for-dummies-works-for-jellybean/

Then somehow things got messed up (after 5 years of use!) and "Recovery" would not work. So here's what you need to do in that case.

Follow step-by-step on the following thread, page 3. This will reset everything to factory default, then start from there.

teamuscellular.com/Forum/topic/3143-motorola-electrify-m-stock-firmware-unlockable/
[Droid RAZR M Android Development] Tech180:
[MENTION=5417899]DiamondJohn[/MENTION] Is there anything we can do?
[Droid RAZR M Android Development] DiamondJohn:
Either send me a working device, and that would be an XT905 not an XT907;)

OR

Set up your own build environment. I used a Virtual PC (Oracle VBox) running on a Windows 7 PC.
[Droid RAZR M Android Development] DiamondJohn:
battery issue: read => https://xdaforums.com/showpost.php?p=75696278&postcount=81
[Droid RAZR M Android Development] SauCat:
Hi!

Bild 383 worked good on my xt925.

I used ADB sideload for setup it.

What works(what I tested):

- LTE, WCDMA, GSM

-WiFi(2.4, I have`t another)

- GPS

I will use it as a stable operating system

PS What is missing:

- the ability to close the application by long pressing the "back"

- screen settings (dpi)
[Droid RAZR M Android Development] DiamondJohn:
Its actually there. You enable it as the action in the smartbar settings. In general, ask the question before you make a wrong statement.

As for 5GHz WiFi, I have not connected to a 5GHz network, however, in my WiFi analyzer app, I can "see" the 5GHz networks around me.
[Droid RAZR M Android Development] ProoN:
Waaaay cool. Had to downgrade from KKBL to JBBL and followed some instructions on another thread, and that coupled with this one had crDroid up and running in about 30 minutes. Love how customizable it is. Kudos for this.

Is there a way to disable the vibrations on each keypress when texting?

Settings > Sound > Other sounds has a "Vibrate on tap" option though nothing seems to change when texting (on my device anyway) regardless of whether it's enabled or not.
[Droid RAZR M Android Development] DiamondJohn:
That vibration/sound is a Keyboard setting. Go into Language and Input in the Settings and you should find the toggle somewhere in there. If not, install something like GBoard to enable the switch; its what I use personally.
[Droid RAZR M Android Development] Sharjeel.Khan:
i'm having issues with root. i installed latest magisk, did clean rom installation as told, it roots but after two or three permissions granted, magisk start acting weird. like so far it has only granted permission to my two file managers only and than nothing. magistk freezes and asked to close or wait. reinstalled but same issues. root doesn't stays.

i've tried superSU but it always ask to update my binary, i looked for workaround but no success after several tries and fixes.

That back button you mentioned above, doesn't work either. i applied it and it just don't kill app when long pressed, no matter 10 for seconds. i can install button mapper app and can do that but again.. got issues with root.

my most severe problem after root is that calling sound, whenever i call people tell me about distortion or glitch in sound. they couldn't hear me. i searched and found out that sound bug was there in LOS13.1 and in 14.1 too. i tried to fix by flashing linage 14.1 sound fix i got online but nothing helped. flashed back rom all over again and still looking for solution. other than calling sound, i can play video and audio as usual and sound are okay but at calling, it acts different.

i understand that nogat is still not the best option for us but among all roms i've tried, this rom worked best for me. until i encountered root and sound issues during call. other than that, it is really smooth, stable among others. doesn't reboot and stuff, customized and better than its other sister roms.

ofc i don't blame you for any of this in fact i thank you for this beautiful rom and value your efforts on this. thats why i'm asking for help and i know that you don't have this device anymore and still you're helping here so its a good gesture to us. thank you for that already.

hope you can help me with these issues too.
[Droid RAZR M Android Development] DiamondJohn:
I never had issues with Magisk. The thing to make sure is not to install one of the many many beta versions out there. I no longer have this phone, but on that old phone and even on my current phone I only run v16.0 stable build.