yashsingh1/xdaforums huggingface dataset:
[RAZR HD Android Development] iBolski:
Okay, apparently CM12 didn't screw up my phone, possibly. Going back to stock, my phone is still listed as a non-VZW phone on the Verizon website and it's screwing everything up for me when I attempt to upgrade my plan or do any other type of maintenance.

I believe what happened was I removed the SIM tray (and of course the SIM) with the phone turned on. I'm wondering if I borked the SIM card in some way, or even the phone? I saw one fix supposedly was to turn the phone off, remove the SIM card and wait about a minute and then put the SIM card back in and turn the phone back on but that hasn't worked either.

And now, I cannot install CM12, any version what-so-ever. When I boot into it, it comes up fine but it hangs at the WiFi screen and then reboots and then the CM boot logo comes on, then it freezes and then it reboots and goes into this vicious boot loop, never getting to the desktop, until I go into recovery and reflash something else.

At this point, I can only go back to stock or install CM11. Any version of CM12 freezes after booting up the first time into the desktop and then reboots on it's own and then the entire installation is borked. I've tried this with data formatted as f2fs and ext4 and nothing works.

I've tried both dhacker's images and the ones from this thread and nothing works. Not sure what's borked, but now I cannot install CM12. Crap.

UPDATE: Calling Verizon, for some reason, my device ID got erased on 12/2/2014 which is when I installed CM12 (the 12/02 version), so I'm wondering if that borked it? Anyways, they put in a form to re-register my device ID so now I'll wait 12 to 24 hours to see if that fixes it.

So, be forewarned. This could bork your device id which then borks your VZW online account and you can't change your plan on the web.
[RAZR HD Android Development] Zeljko1234:
Usually is recommended to edit post instead of posting one after another but in this case would be better if you brake that rule. I just accidentally saw your edit. And xda forum has cool feature to merge recent posts from the same user.

Anyway, I'm glad that you managed to reproduce the problem. That's pretty unusual. Usually takes me days (or infinitive)to convince others about my findings. On another hand, I'm magnet for bugs or at least have superpowers to find them :D
[RAZR HD Android Development] CWGSM3VO:
Found the problem. Mistakenly passed a wrong option to the screen off power profile which forced CPU0 online ;) Still testing but think I got it.

EDIT: OK, that's fixed. Still a locking issue present which only surfaces when changing power profiles from battery settings but otherwise, CPU is now down where it needs to be. Will publish another build tonight.
[RAZR HD Android Development] lcc014:
C,

Thank you.
[RAZR HD Android Development] md07:
can you replace some new C-app in your next build. https://cyngn.com/c-apps

I tested these app, i very like Truecaller, and other is also anwsome, only new Gallery not good. :)
[RAZR HD Android Development] CWGSM3VO:
Nope, sorry. They have a flashable package, much like gapps.
[RAZR HD Android Development] CWGSM3VO:
OK, got the CPU frequency issue resolved. Tested it over night to be sure. Currently compiling a new build, will post up when done.
[RAZR HD Android Development] lcc014:
Looking forward to getting the new build.
[RAZR HD Android Development] CWGSM3VO:
Testing new build. Irking me that I have to wipe every time I flash because TWRP complains :(
[RAZR HD Android Development] danfeng:
maybe there is a bug , I got the same problem on 2015 October nightly, fresh install , boot normally, then check update, install failure, try to install manually, still got an error message, wipe everything and install manually, it's worked

来自我的 DROID RAZR M 上的 Tapatalk
[RAZR HD Android Development] lcc014:
I always wipe everything and install manually, no problem art all.
[RAZR HD Android Development] CWGSM3VO:
This is a first for me. Not sure why it's complaining about incompatible data, even on a clean wipe + install and then trying to install a build that's only a few hours older :(

It's a bump in the rug I'll look at later, right now I need to sort out the power profiles jacking up the CPU (which I've done) when screen off. Just some last tests and I'll be publishing this build.

EDIT: Here it is:

if is_mounted("/data") then
package_extract_file("META-INF/org/cyanogenmod/releasekey", "/tmp/releasekey");
run_program("/tmp/install/bin/otasigcheck.sh") != "31744" || abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");
else
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data", "");
package_extract_file("META-INF/org/cyanogenmod/releasekey", "/tmp/releasekey");
run_program("/tmp/install/bin/otasigcheck.sh") != "31744" || abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");
unmount("/data");
endif;

So apparently the signature is invalid for whatever reason and it fails (key doesn't match)

EDIT: Seems to trigger when I update System WebView from Google Play, sig no longer matches stock WebView which is checked in otasigcheck.sh when flashing:

relCert=$(grep -A3 'package name="com.android.htmlviewer"' /data/system/packages.xml | grep "cert index" | head -n 1 | sed -e 's|.*"\([[:digit:]][[:digit:]]*\)".*|\1|g')

EDIT: Nope, that's not it. I didn't update anything on this flash and the value the above returns is "3" not "31744" as the updater-script checks for. Not sure what happened here. I'd need to flash a stock nightly to see if it returns the value it's expecting (I'm guessing it does).
[RAZR HD Android Development] danfeng:
You should try old nightly builds like 20151010 , for me builds after November works fine

来自我的 DROID RAZR M 上的 Tapatalk
[RAZR HD Android Development] CWGSM3VO:
Uploading new build. Sorted out the CPU frequency issues.

Some changes:

I had to remove most of the power hint code I merged in. It would definitely set the hint resources but at screen off/on it would not undo those hints leaving it effectively stuck in that hint which in this case was max freq (1.5Ghz). My device idled overnight in this with reduced timers and I only lost 3% power in 8 hours. Not too bad.

Since the screen on/off works, I decided to make use of the qcom utils provided and via sysfs and change how the governor is during screen on/off events. I've also modified the cpu_boost module a bit as well. It's *close* to what the power hint driven effects provided. At screen off, the device is locked to a maximum of 918MHz and timers are slowed down in interval. This should translate to battery saving.

I also removed the otasigcheck from the updater-script. This means it will happily flash regardless of what it's flashing over but it allows installing without having to wipe the system (although I would still recommend it). I also noticed that I've only been flashing the ROM itself (clean) and some gapps are there (Store, Maps, etc) without having to install a gapps package. I have the latest Play Store (the new look) as well after updating. Not my doing, just is.

I've validated everything above and it works as it should now. Please test :)
[RAZR HD Android Development] lcc014:
C, which nightly is your latest build based on ?
[RAZR HD Android Development] CWGSM3VO:
11-21 which is the last nightly.

EDIT: I should also note here as I don't think I have at any point during my adventures. The only modified parts of the ROM is the kernel and that I use Oracle Java instead of OpenJDK. Everything else is stock CM-12.1 as I pulled it down from the repo before building. [edit] I lied, I also modify parts of device/qcom and device/motorola/msm8960-common.

EDIT: I should also note directly adding to my response to [MENTION=3889038]lcc014[/MENTION] is that my builds are almost never out of sync with whatever the most current nightly is, in fact, it's usually ahead (ie; the next nightly commits)
[RAZR HD Android Development] CWGSM3VO:
So I went back through through the thread to see if there were things noted that didn't work and one stood out for me: 60fps video. When I tried it, it didn't work (choppy and incomplete) -- I just tested it on my current build, same test in fact (catzilla) and it works just fine. nice :)
[RAZR HD Android Development] Thibault1171:
This is happening : http://www.cyanogenmod.org/blog/a-marshmallowy-cm
[RAZR HD Android Development] Zeljko1234:
C, where is your latest build? Mega seems to be down.
[RAZR HD Android Development] CWGSM3VO:
About to upload it :)

EDIT: Uploaded.
[RAZR HD Android Development] Zeljko1234:
I cannot open https://mega.co.nz
[RAZR HD Android Development] CWGSM3VO:
Weird, it works fine for me.
[RAZR HD Android Development] Zeljko1234:
Works now, thx.
[RAZR HD Android Development] lcc014:
C, what is the difference in this latest build 1124 vs your last build on Monday, 1123 ? I am running 1123, so far so good.....

Thanks.
[RAZR HD Android Development] CWGSM3VO:
Mostly kernel related and I fixed up the problem with CPU frequency that Z noticed. I'm going to be dropping the CM power hint stuff, it doesn't work right from what I've been able to do here (never clears the hint properly as well as locking issues with perflock because of it). I've done quite a bit of reading on the interactive governor and learned a thing or two that will show up next build.

EDIT: Other than the CM commits from 23rd to 24th that is :)
[RAZR HD Android Development] lcc014:
Okay, I will wait for your next build then. :)
[RAZR HD Android Development] Raven2m:
By all I have decided to switch to the Nexus 5x thanks for everyone's effort and help. See you in other threads....
[RAZR HD Android Development] Zeljko1234:
Nexus doesn't support sdcard, period. Good luck.
[RAZR HD Android Development] Raven2m:
Not sure lack of SD is going to be a big deal, running pure nexus android is nicer than what carriers do to the android.
[RAZR HD Android Development] CWGSM3VO:
Been noticing the NO votes climbing. Makes me wonder if people are actually using it (properly, at that) or switching to other devices and voting no (which skews results....)
[RAZR HD Android Development] Zeljko1234:
For me it's big deal. Tried once (Nexus 7) and after that first thing what I'm checking in specs is sdcard, then battery, bl unlockability, then rest. If sdcard not supported, skip.

I already explain many times, most of the time I'm in roaming, airplane, etc. and of course without (reasonable) internet access. Also, even if device has 128GB of internal (which is always more expensive than sdcard) after is full, no expansion. If device is broken by any reason, no way to get your data or even worse someone will get it (fapenning :D). If I'm switching to another devices, just take out sdcard and plugin in another device... So many advantages and Nexus has only one, vanilla Android with quick updates (ok, that's two advantages). And honestly, that's overrated. More important is to have unlockable bl and good dev support or someone like C ;)

Btw, right now 128GB sdcard is less than $50 (Samsung 128GB). Recently I bought another one for tablet.

---------- Post added at 09:52 AM ---------- Previous post was at 09:44 AM ----------

Votes? I vote long time ago. As usual, I'm busy (good!) but long weekend is coming.

Right now I'm playing with Turbo 2. Really nice device, like to get warm/hot (sd810 feature), good battery life, Moto voice is awesome, set trekky "Computer, respond" and responds every time. But bl probably will remain locked and it's pretty expensive now. Soon I'm going back to Razr but maybe will try to get Force (international Turbo 2) next year. BL is officially unlockable and it's rooted already.

Comment about Moto firmware, it's really good. Almost vanilla Android with nice improvement. No need for custom rom, only root. Not even that but... :p
[RAZR HD Android Development] Raven2m:
Everyone has their own opinions, you know what you want and I know what I want. I keep almost nothing locally on my device and if it is it's synced to some cloud storage. Also you can unlock the boot loader on the nexus 5x.

And yes C is man with keeping this device rolling with the current version of android. :tip hat:
[RAZR HD Android Development] rahimali:
Happy Thanksgiving! :good:
[RAZR HD Android Development] tripaX8:
The old intermittent "no SIM present" problem was a kernel issue, if I got it right.

Is this still happening to anyone using latest C's builds (with the new kernel) ?
[RAZR HD Android Development] lcc014:
I got this problem about 2 to 3 times a day when using C's latest builds. :(
[RAZR HD Android Development] amedeh123:
Tested recent builds and C's, and it is also still having freezes and memory management issues.

If you've had any of those in the past you should hold off your upgrade.
[RAZR HD Android Development] taimur272:
Guys is someone having problem while calling ... Like the other person can't hear your voice ...

Sometime or mostly when calling from whatsapp and line the other person can't hear my voice or it barely hears it ... On IMO app its good .. But it doesn't occur on normal call ... Only happens on net calls and sometimes doesn't happens on net calls too ... Is there any way to solve this problem...
[RAZR HD Android Development] CWGSM3VO:
I got the no-SIM error once while booted (where it was fine before) a week or two back. Since then, I get it every once in a blue moon on boot. There were several commits against Telephony I felt fixed this for the most part which show up in 11-21+

I don't have any other issues however with the builds I use. Next build will be forthcoming and will be better (in my opinion) than previous.
[RAZR HD Android Development] lcc014:
I still get no-sim issue during power up once in a while with official nightly. However, when I used C's latest builds, no-sim issue happened after phone was up and running. In other words, phone detected sim card and working for few hours, and then it changed to no-sim !!! That happened to me 2 to 3 times a day. I had to reboot the phone to resolve this slightly different no-sim issue.

Hope this make it clear.
[RAZR HD Android Development] CWGSM3VO:
Yup, that happened to me once. I getcha :) After the commits I mentioned, I never saw that symptom again.
[RAZR HD Android Development] lcc014:
C,

Which commits were they ? Were they in your 11/23 build or later build ? I switched back to official nightly (11/26) in last 2 days to stay away from this "no-sim" issue for now.
[RAZR HD Android Development] CWGSM3VO:
Based on what I see here at a glance, I'm going to say 11-19 onward. I only saw that symptom once, haven't seen it since.
[RAZR HD Android Development] lcc014:
So when I used your 11/23 build, it should have the commits already. But my phone still exhibited the no-sim issue 2 to 3 times a day. One time, when it happened, my wife was trying to call me. I did not know that no-sim issue happened. She complained to me later that why I did not answer the phone !!

I don't understand why your XT925 doesn't have this no-sim issue and I had it few times a day ?
[RAZR HD Android Development] taimur272:
Are you having low voice or distorted voice on receiver end while calling from whatsapp .... ?
[RAZR HD Android Development] lcc014:
I have not tried voice recording in What'sApp.
[RAZR HD Android Development] taimur272:
Voice call...
[RAZR HD Android Development] tripaX8:
I have that same issue (low/distorted voice) on one end, not only on wapp calls, but also Facebook Messenger calls. But I know friends with different phones/brands/etc with the same issue, so this is not this rom's problem.

No Sim: I'm on 11-26 nightly but this only happens to me (sometimes) when booting the phone, not afterwards. (same with all nightlies I tested).
[RAZR HD Android Development] CWGSM3VO:
I just used FB messenger with my wife two days ago, worked like a charm for me. Although we did a video conference not specifically a voice call.

I dunno guys, everything works fine for me but I don't use apps some of you use.
[RAZR HD Android Development] taimur272:
It's good on video call I have tried it .. Distortion only occurs on voice calls ... But I am curious only IMO works perfectly fine on this ROM with voice calls while all other apps have distortion issue at other end.
[RAZR HD Android Development] CWGSM3VO:
Still working on putting together a new build (trying to work through some issues) and for the most part, everything is coming together. One odd thing I noticed (since I use it) is that LiveDisplay still adjusts RGB with screen-off. Curious.

Hopefully I'll have something to show soon. One major change I've recently made is switching back to jemalloc (like Google uses) and I also merged in a newer version of it than what comes with CM 12.1 (in this case, I'm using the version used in MM, 4.0.4 instead of 3.6.x)

Just updating to let everyone know I'm still around ;)
[RAZR HD Android Development] CWGSM3VO:
I'll be publishing a new build at some point today. Some highlights:

- jemalloc 4.0.4 from Android L

- motorola predictive touch (it's cool...)

- various kernel fixups I felt were useful (such as disabling backlight on screen-off, etc. Some of these ported from msm8974/msm8226)

- zram increased from 256MB to 400MB per Intel Android whitepaper; swappiness=100

- KSM timings changed to coincide with aforementioned Intel whitepaper. I also tried out pksm + ultra-ksm, not any better than stock KSM imo

- dalvik/ART tuning as per Intel whitepaper

- VM tuning to complement changes made via Intel whitepaper

- Interactive governor tuning, somewhat kanged from Motorola Victara but adjusted for the HD

New things I'm currently working on for the *next* build after this:

- google snappy compression instead of LZ4/LZO for zram. Slightly less compression but faster.

- motorola quickwakeup driver

- motorola quickdraw driver

- some motorola 8974/8226 kernel patches that seem relevant/useful

As usual, builds will appear in the link in my sig when ready. As it stands, this is probably the fastest I've ever seen this device. Benchmark values are about the same as before but UI/UX is much improved.

One thing of note is I am no longer installing GApps when I do a clean build as Play Store and a few Gapps seem to be already included in base CM build and I just use the store to upgrade/install from there. I do recommend a clean install preceded by a nandroid backup first.
[RAZR HD Android Development] niksy+:
But what is it? :D

Other than that, it sounds delicious, will probably be the first new build I flash after almost a month :) I just checked and I'm at 10/19... And it's holding up excellent, I haven't experienced this good consistency with any builds of the builds before this one :)
[RAZR HD Android Development] CWGSM3VO:
Here's a description of what it does from the commit comment:

"The algorithm embodied by this code uses past position and velocity of a touch event to predict touch position in the future, so that screen updates are made anticipating the future position, mitigating the inherent latency of the system, making the system more responsive."

Based on what I saw before/after patch, it works like a champ. UI is fluid and responsive.
[RAZR HD Android Development] lcc014:
Hopefully, this new unofficial image won't give me no Sim detected issue 3 times a day.
[RAZR HD Android Development] niksy+:
That sounds amazing. Awaiting your next build :)
[RAZR HD Android Development] amedeh123:
Has anybody else noticed /data getting bloated with unaccounted files?

The useable space gets full even when you delete just about everything in it and the system reports it as empty.

Investigating this I noticed mine had 3GB of crap in /data/ss-ram-dumps/bp-dumps

Basically the same kind of files that used to be dumped into sdcard/bp-dumps, but hidden away in /data.

Im using the same build for a couple of months now and it had time to fill up, but I bet all of you have at least some amount of storage being eaten up by this.

After deleting this folder its all back to normal, so I suggest everyone using CM12 to check this out and clear this folder periodically.
[RAZR HD Android Development] Zeljko1234:
For me looks like Linux memory dumps (as named) after crashes. Probably can be turned off or configure garbage collector to delete those files.
[RAZR HD Android Development] CWGSM3VO:
I have 73MB in one folder under bp-dumps and nothing under riva-dumps.
[RAZR HD Android Development] amedeh123:
Apps/system rarely crashes on this build im in.

It seems to me those are related to the no sim issue (as it probably did back in the day).

I have it semi-frequently, and had this same rom flashed for months, so those files had time to pile up.

You guys are on a fresh build right? And do you have the no-sim issue a lot? Try using the phone for a couple weeks and checking again. I noticed that in my case it took a while to be a problem.

Also if any of you have any idea how this can be disabled, Ill be super grateful.

Edit: riva-dumps is always empty for me too.
[RAZR HD Android Development] niksy+:
You're saying that it starts to be a problem after a while? For me it's the opposite, it usually happens in the first few days but then stops afterwards. Haven't had the problem on the build I am for as long as I can remember now... But it usually happens in the first few reboots, quite frequently on the first boot, too. :rolleyes:
[RAZR HD Android Development] CWGSM3VO:
For me the no-SIM issue is almost exclusively on boot (or reboot) and in most cases, restarting rild will settle it out. This is a blue-moon type scenario for me. I've had exactly one instance where I suddenly lost radio during normal usage and restarting rild didn't work but restarting did.

Something gets out of whack for whatever reason, I haven't really notice any issues however for the most part. Runs like a champ for me.
[RAZR HD Android Development] CWGSM3VO:
Build posted. Recommend clean install, no gapps (use Store already present). Still dialing in the cpu governor.

EDIT: I just realized I had to modify updater-script so there was no point in posting the md5sum as it's pre-modded value.

EDIT: Also forgot to force 2D gpu rendering so you'll need to enable that yourself.
[RAZR HD Android Development] lcc014:
My no-sim issue happens a lot everyday at anytime (whenever it felt like to happen) when I loaded C's unofficial build. For official build, it only happens once in a while and only during boot up time. A couple times reboot fixes the no-issue.

So when C's has his unofficial build ready again, I will give it another try and keep my fingers crossed ! :o
[RAZR HD Android Development] Thibault1171:
[MENTION=4418762]CWGSM3VO[/MENTION] it's good to know you're still on it.

And it's nice to get rid of the annoying gapps

I'm still on an early november build, I'll flash yours soon.

Thanks for all of this :D
[RAZR HD Android Development] tripaX8:
I did a clean install, no problems, but what do you mean by "Store already present" ?

Google Play Store ? can't find it...
[RAZR HD Android Development] taimur272:
Where is the link ? And can we install it on xt926
[RAZR HD Android Development] CWGSM3VO:
Play Store isn't there? Every time I do a clean install (and I mean a full wipe) it's there which surprised me that it was there with the base ROM. If it's not, then I guess gapps it is. If this is the case, then I would only recommend the gapps from the OP, specifically dhacker's builds.

Very strange, I always see it there even without installing gapps (which as stated, was surprising to me...)
[RAZR HD Android Development] CWGSM3VO:
XT925 only. Link is in my sig.
[RAZR HD Android Development] tripaX8:
Play Store wasn't there, maybe because I wiped system, data, davlik & cache.

No problem, I installed base gapps.

This rom feels really fast ! and no problems at all by now (only occasional no-sim at boot)

Thank you very much, C !
[RAZR HD Android Development] CWGSM3VO:
Do you setup a Google account during initial setup? I do, wonder if that's it. I'll do another today and verify.
[RAZR HD Android Development] lcc014:
C,

When will you upload a new build with missing changes ?

1) updater-script

2) 2D gpu rendering

Thanks