yashsingh1/xdaforums huggingface dataset:
[RAZR HD Android Development] CWGSM3VO:
I could yes however the memory leak patch doesn't appear to be the same as Google's patch. This particular patch came from AOSPA so I'm still digging through Google git and what-not to find the original patch as it's marked FutureRelease (did a lot of reading this morning) to see if it aligns with what it should be. What I've found so far doesn't match up.

EDIT: I've sent a build to [MENTION=2559459]Zeljko1234[/MENTION] to try out as he seems to be able to repro the issue at will. If it resolves his issue, I'll post the build publicly.

EDIT: Actually, one of the issues I can try to repro as it involves the homescreen using GEL being re-drawn, saw this lots, I'm going to try it out now that I have something I can try (couldn't repro Z's stuff)
[RAZR HD Android Development] Zeljko1234:
I forged launcher redraws, in my case CM default. Still downloading build...
[RAZR HD Android Development] CWGSM3VO:
I didn't see with Trebuchet recently but I always saw it with GEL; I just tried it and loaded a bunch of stuff up and left it idling. Haven't seen the redraw yet. Not conclusive, but definitely positive.

EDIT: Still no redraws as bug report indicates. Starting to buy-in. However, there were a lot of framework commits in this build which may factor in.
[RAZR HD Android Development] Zeljko1234:
Potentially useful app

https://play.google.com/store/apps/details?id=cn.wq.disableservice
[RAZR HD Android Development] Zeljko1234:
Dirty flashed C's build and behaviour is the same with FF. I cannot change OOM with 3C Toolbox anymore.

Good news, just read that CM12 source for jbbl is available.
[RAZR HD Android Development] CWGSM3VO:
Check that your SuperUser works, I don't know why (per se) but the permissions on /system/xbin/su do not permit apps (even if configured to allow root access for apps+adb) to execute it. Changing it's mode to 4755 will resolve the issue and allow native SuperUser to work. I'm still trying to figure out where it gets permissions assigned in the image because it's built with the correct permissions so it's some kind of packaging problem I'm guessing.

Glad to hear JBBL is now available but I'll only be building for KKBL.

As for OOM, if you can give me the before/after values that 3C would display/change to, I can alter it on a source level. I'm definitely not getting any redraws using GEL (yay!) but looking at the source(s) for this it would seem we already had Google's patch in place. I'll leave the existing one in place for now, credit to Alexander Martinz<alexander.martinz@nameless-rom.org> as it comes from his git.

EDIT: This looks more like something that might reproduce the issue you're running into: http://review.cyanogenmod.org/#/c/83446/

EDIT: Doesn't seem to be in our kernel anyways.
[RAZR HD Android Development] Zeljko1234:
I don't remember and cannot see OOM settings anymore. I remember that for system was 64 MB. Btw, firewall and reboot is grey now in 3C.

Notice, 3 C not just one as for you :D

---------- Post added at 10:36 AM ---------- Previous post was at 09:38 AM ----------

Sorry I was on phone and missed your question about SuperUser. Changing root access from Disabled to Apps and ADB (OK, ADB is not necessary for everyone) under Settings, Developer options, gave root access to file explorer.
[RAZR HD Android Development] CWGSM3VO:
Couldn't get this to work even from clean install. Had to do all that workaround business I posted a bunch of pages back. I always turn mine on for apps/adb but in L it's never worked out of the box for me even when this setting is on. Changing perms allows me to run it from terminal or use apps that need superuser. ADB shell only worked (su) after I modified what I believe was the boot partition. Then it started working from ADB shell.

*shrug*
[RAZR HD Android Development] TecknoFreak:
Yes, It actually took me a week or so to be able to post on that Chinese forum but within seconds of me asking mijuu for the source he made it public this morning.

Is been merged to Validus so soon we will see a validus build in the darkness as we don't like the vanilla look, is too bright. Lol

Thanks again to [MENTION=274736]mijuu[/MENTION] for making this possible. [MENTION=2218140]kabaldan[/MENTION] also be able to folk from his source to speed up things a bit
[RAZR HD Android Development] CWGSM3VO:
Is it on the Validus git yet? I'd like to cherry pick the color stuff.
[RAZR HD Android Development] Zeljko1234:
Strange behavior C, root always worked out of the box for me. Pick up black color, please :)

Good luck, jbbl users!

---------- Post added at 12:32 PM ---------- Previous post was at 12:19 PM ----------

Btw C, you screwed CameraNext on my phone with your latest build but I've managed to manually fix it (reinstall didn't work) :p
[RAZR HD Android Development] CWGSM3VO:
I don't think CameraNext survives "ota" :)
[RAZR HD Android Development] Zeljko1234:
It was installed as a normal app, so should survive. You made special script to kill it, admit that :D
[RAZR HD Android Development] CWGSM3VO:
I took a look at this. It can be done/cherry-picked but it's a lot of stuff all over the place. I might do this somewhere down the road perhaps.
[RAZR HD Android Development] Zeljko1234:
Damn, why is so complicated? Is Android really such mess?
[RAZR HD Android Development] CWGSM3VO:
It's not complicated per se, a lot of merging has to happen and then editting to remove any Validus-specific customization that aren't compatible/non-existent in CM12 base. Just seems like a lot of work.
[RAZR HD Android Development] Zeljko1234:
You can do it, we believe in you :)

After clearing dalvik/art cache 3C shows OOM again. Default values by CM12:

Empty apps: 317 MB

Content provider: 219 MB

Hidden apps: 126 MB

Secondary server: 108 MB

Visible apps: 90 MB

Foreground apps: 72

Medium by 3C: 64, 48, 32, 16, 8, 4.

IMO, CM12 default is to aggressive, medium not enough. I'll test aggressive: 128, 96, 64, 32, 16, 8.

Edit: Looks good for now. No FF page reloads or launcher redrawing.
[RAZR HD Android Development] CWGSM3VO:
That would make it a "custom" ROM though, not exactly what I was aiming for.

EDIT: I haven't seen a launcher redraw yet on latest build still with the ColorCode.java mem leak patch. Were you seeing launcher redraws before adjusting OOM?
[RAZR HD Android Development] TecknoFreak:
Yes you can mate. We still working on git to organize things better. This transaction from kitkat to Lollipop is been a mess. But as for now lots a lots of codes or/and fixes been merge to have a badass ROM based on AOSP kernel since it seen more solid then CM so far. Source is on my git as well and I'm ready to sync. Wooohoooo

That together with that I hope a badass material/minimal bootanimation with it done by me. Lol
[RAZR HD Android Development] Zeljko1234:
Customize custom rom. More themed then customized.

---------- Post added at 03:16 PM ---------- Previous post was at 03:14 PM ----------

Your latest build works fine (with OOM tweaks even better). I think that you can post link here ;)
[RAZR HD Android Development] CWGSM3VO:
So which was it? 3C Medium, 3C Agressive or CM12 default?

EDIT: And still looking for launcher redraw before OOM adjustments. Could have sworn you said you weren't getting any, I haven't seen a single one since that patch.

---------- Post added at 04:45 PM ---------- Previous post was at 04:30 PM ----------

cm-12-20150102-UNOFFICIAL-moto_msm8960.zip

- memory leak patch in colorcode.java (credit noted previously in thread)

- cleaned up performance profiles for more predictable results

Current as of roughly 1PM MST today. Everything is working for me. I did however have one spontaneous reboot, saw a panic message about L2 master/slave port error but didn't follow it further but saved the log for future reference.

ymmv
[RAZR HD Android Development] TecknoFreak:
I know is the wrong thread but trying to get some support. Any of you might know what status 1 error stand for? How to fix it?
[RAZR HD Android Development] CWGSM3VO:
Maybe a newer recovery is needed?
[RAZR HD Android Development] TecknoFreak:
I tried that didn't work

http://pastebin.com/WUTsFDrm

There is the log of the error
[RAZR HD Android Development] Zeljko1234:
I'll test aggressive: 128, 96, 64, 32, 16, 8. And I'm using those settings right now.
[RAZR HD Android Development] ssuds:
AdAway is working fine for me (running a JBBL build on my Atrix HD).

https://f-droid.org/repository/browse/?fdid=org.adaway
[RAZR HD Android Development] Thibault1171:
Not for me, it disconnect me :(
[RAZR HD Android Development] CWGSM3VO:
After spending most of the day spinning my tires trying to either work around or somehow magically stumbling across the right prop value or se policy and watching and capturing log after log and building, rebooting....

I've decided to rebuild with selinux disabled to determine if it has any bearing on the radio. From what I see in there, for whatever reason, the SIM card in my phone is not detected/powered on/sensed in all no-radio-boot scenarios. Sending the HUP to rild makes things just work, poof, instant connection. In cases where I get radio on boot, I can't see where the difference is versus where it doesn't log-wise (yet).

So to make all things equal, I'm going to rebuild with selinux disabled (ideally, won't know until boot) and clean install it and reboot a bunch of times to see if I get the same results as I've seen today.
[RAZR HD Android Development] KC69:
Xt926 here, your last 3 builds have all had data working , usually out of the box or with one reboot . im on verizon if that makes a diff. And other than that , all i use a phone for has worked fine on the last six or so. Just wish next cam would work, git where i like having a good cam with sd storage.
[RAZR HD Android Development] RMarques:
Radio signal has been a pain "right there"...it was the right excuse to me to buy a new phone though! Now I can wait patiently for a fix!

...btw, for me, so far, Blisspop V.1.5 12/28 official has been kinda stable and when it looses signal, after a turn off/turn on it do come back!
[RAZR HD Android Development] jkim204:
Hey Everyone,

How do I root my xt926 4.4.2 kit kat?

It seems impossible with the above version of android....

Edit: I am not rooted btw....
[RAZR HD Android Development] palmbeach05:
Hey, wrong thread to post this. Find the correct thread and see if you can't do anything with the version you have. And if you are not rooted, that means you are unrooted, goes without saying
[RAZR HD Android Development] Zeljko1234:
C, I think that radio problem is related with processes we're killing. Maybe processes start too early during boot, before hardware is ready or drivers/libs are not loaded yet.
[RAZR HD Android Development] CWGSM3VO:
I thought of that too and modified a part of init where multisim is handled; stop and restart rild, in hopes at least emulating restarting rild but either doesn't work (seems to, logging shows rild restarting) or it's simply too early in the boot process for this issue which I agree, something basically isn't ready (SIM in my case I believe, or at least, the software believes that's the case) when it's time for rild.
[RAZR HD Android Development] KC69:
Is thatvehy a reboot fixes it?
[RAZR HD Android Development] RMarques:
Take a look at my posts around page 70 of RAZR HD tracking post. Orphees/Madmonkey was the only way it worked out for me!

Sent from my RAZR HD, DHacker29 CM12, Lollipop, ART Runtime.
[RAZR HD Android Development] Aisfkhan:
Superuser is not working :( can't restore my TB backups.
[RAZR HD Android Development] TXKSSnapper:
Make sure you have titanium backup 6.2 and that you installed the latest supersu from chainfire's site.

---------- Post added at 05:13 AM ---------- Previous post was at 05:13 AM ----------

Are you running into a build error with audio?
[RAZR HD Android Development] David Caddick:
I'm guessing it's not just a case of getting a copy of the latest boot.img from a KKBL image and then running:

fastboot flash boot boot.img

??

---------- Post added at 10:55 PM ---------- Previous post was at 10:05 PM ----------

Aha, I think I have it now, in one of the other threads in "[Q] Razr XT925 question" you were being told to use specific 4.1.2 images and then looking closer these had a flash_fastboot.bat file that contained the following: but if I just run the first section manually via CMD then that would hopefully *just* update the Boot Loader section?

If you want to update to Official KitKat for the new bl you have to install via fastboot/rsdlite one of the firmwares updateable at the moment (Retail Brazil, Retail CEE, Retail Germany). Then, on the first boot, go to "about phone -> updates" and thats all.....​
[RAZR HD Android Development] RCOO:
Amen!
[RAZR HD Android Development] iBolski:
How do I do that or are you saying that's an option we need?
[RAZR HD Android Development] Aisfkhan:
Just flashed this rom :) everything is working smooth :) can't manage to install xposed do any one have any clue to install it
[RAZR HD Android Development] RCOO:
Xposed doesn't work and will not work, at least for a while, with ART and, therefore, with Lollipop.
[RAZR HD Android Development] lngwca:
On occasion after a reboot signal doesnt lock, fixed for me after another reboot

Lmao. Yes i noticed this too.. Im fine

Flash the ulpdated supersu file a coue pages back.. Fixed for me. Also update ti

Only issues i have is bluetooth connected to car sometimes makes things funny like early cm11. Also on occasion cell signal doesnt lock after boot.. Does after reboot.
[RAZR HD Android Development] Playb3yond:
Has anyone tried data encryption, just curious if it works or not. Gotta be secure!
[RAZR HD Android Development] CWGSM3VO:
Yeah I am. I validated I have cm-12.0-8960 revision of audio-caf but it still fell over. Was working on it until 3am this morning and gave up. Just woke up now and plugging away again :)
[RAZR HD Android Development] Playb3yond:
Also, Viper4Android FX works, real racing 3 does not
[RAZR HD Android Development] MauricioBR:
I was able to flash cm12, even with /data unmount errors, but gapps failed.

I'm using Philz Touch. Does anyone have a link to a working TWRP for XT925/KKBL?
[RAZR HD Android Development] CWGSM3VO:
I'm using PhilZ Touch, I just flashed 11-15 CM12 + 1114 GApps from [MENTION=4112553]dhacker29[/MENTION]'s page. Sitting @ boot logo, no adb output yet.

On a lighter note, my build is still running, fingers crossed.

EDIT: Booted, took about 8-10 minutes max.
[RAZR HD Android Development] MauricioBR:
I downloaded GApps with date 20141113 and it worked. Looks like there is something wrong with 20141114 from dhacker29's last tweet.

Edit: whoops, hadn't noticed you flashed 1114. Not sure why, but that one gave me error 7 and 1113 seems to have worked. It's currently booting.
[RAZR HD Android Development] CWGSM3VO:
For me the boot time was very short, but I'm using f2fs which probably helped shorten that time (relative to what I've seen posted). There's another tweet for an updated gapps link, or, conversely, you can go here:

http://d-h.st/users/dhacker29/?fld_id=0#files

To grab it.
[RAZR HD Android Development] MauricioBR:
Were you able to keep /system as f2fs? When I flash the ROM it goes back to ext4.
[RAZR HD Android Development] CWGSM3VO:
No, I only have /data and /data/media as f2fs per CM11 restrictions.

---------- Post added at 12:10 PM ---------- Previous post was at 12:07 PM ----------

Still having alsa_sound/legacy compile issues -- going to wipe everything and re-pull the entire repo down instead of selective branch(es). Sigh, time to start over again.
[RAZR HD Android Development] MauricioBR:
I'm having the same behavior on bluetooth. Music seems slow and from time to time it skips forward as to "synch up".
[RAZR HD Android Development] RMarques:
All of sudden, 7 times out of 10, my SIM isn't being recognized and com.android.phone is constantly crashing.

Sent from my RAZR HD, DHacker29 CM12, Lollipop, ART Runtime.
[RAZR HD Android Development] Zeljko1234:
As workaround we can add /system/etc/init.d/91rild file and killaal -HUP rild inside. Just did, rebooted and got signal immediately after boot :) For testing, rebooted twice.

File attached, unzip it first!¨(xda doesn't upload file without extension). Too lazy to make flashable zip but I suppose that everyone here know how copy file to/system/etc/init.d/ or make one :)

Also, I updated to your latest build (wasn't so smooth) and after reboot couldn't get signal but noticed that both cores were at 100%. Next time I will check (with ps and top) which processes are utilizing CPU. Most probably the same we're killing to get signal, because after killall and signal showed up CPU utilization back to normal.
[RAZR HD Android Development] CWGSM3VO:
I tried this method too but it's not reliable. I'll re-test again. I compiled this morning w/o ril-caf (just stock qc ril I guess) but still getting same results. Logging the radio on boot helps isolate some things (adb logcat -b radio) and I can see that it sees the SIM and even reads my MNC/MCC correctly but just won't attach in most cases without restarting rild.

Preferably I'd rather not kludge something like an init script and in fact, I restart rild from init.class_main.sh (where the same happens for multisim) but it doesn't work as expected.

---------- Post added at 08:57 AM ---------- Previous post was at 08:56 AM ----------

Yup, see this a lot :) I mean, a lot :D I missed something last night with trying to disable SELinux in the build so I ended up abandoning that for now. I wouldn't be surprised if it was disabled and rild behaved normally but I'm not 100% sure.

EDIT: the init.d script worked as it did last time I tried this, but I found that it fails in X# of boots (not because it doesn't work but I suspect rild is wedged somehow)

EDIT: Second boot failed to restart rild properly :(

EDIT: Third boot failed to restart rild properly. Same issue I ran into yesterday :(
[RAZR HD Android Development] Zeljko1234:
Like on desktop Linux. When you see that (I saw it long time ago), it is surprising that even works! No, Android is not just Java on Linux :D
[RAZR HD Android Development] CWGSM3VO:
This seems to have better results:

/etc/init.d/91rild:

#!/system/bin/sh

su -c "sleep 60 && killall -9 rild"

Although it requires a working superuser to do it (I always have to manually chmod /system/xbin/su to 4755 each flash to make it work); just running through a few more boots to see. Seems rild will restart when sent SIGTERM vs SIGHUP which might be better.

EDIT: nah, same results basically. Intermittently works. In no-radio-boot scenarios, I see STK seems to complete before the radio is ready. Keep seeing messages about radio being powered off. Not sure what the actual process is in this chain of events to properly troubleshoot it.
[RAZR HD Android Development] Zeljko1234:
Delay will help for sure. Still not solution, just workaround. Although, real solution could be similar. Start rild when sim or whatever is ready.

Interesting about superuser. Rom is the same, only difference is model. And that should be almost the same exception battery, radio and size of internal storage.
[RAZR HD Android Development] CWGSM3VO:
Are you using a 3rd party superuser or the native CM one? This changed last night, Superuser (koush) was dropped and all superuser bits/options were moved into AppOps/Privacy Guard but requires a working su to function as before.

EDIT: What are the permissions on your /system/xbin/su ??
[RAZR HD Android Development] Zeljko1234:
Native CM one. Permission is 0755. Didn't flash anything except rom and gapps.
[RAZR HD Android Development] CWGSM3VO:
Interesting. Mine is setuid on a clean install/upgrade, specifically, 4750 is the mode.

EDIT: It's been a while since I did a clean install, I'll try that.
[RAZR HD Android Development] Zeljko1234:
I also dirty flashed your build over previous...
[RAZR HD Android Development] CWGSM3VO:
Just frustrating -- I feel like I'm *this* >< close to getting it working yet I keep running into blockers.
[RAZR HD Android Development] Zeljko1234:
Buy xt926 :D
[RAZR HD Android Development] CWGSM3VO:
Nah :) I prefer to have a worldphone not a VZW special :P
[RAZR HD Android Development] Zeljko1234:
Luckily, VZW version works around the world (except LTE but LTE roaming is problematic anyway). Personally tested ;)
[RAZR HD Android Development] CWGSM3VO:
Does the XT926 have a microsim in it like the XT925 does? Here, CDMA phones don't have SIM cards in them (most of them, anyways).
[RAZR HD Android Development] KC69:
Yes it has micro sim. I am using a nano sim with a micro adaptor, and it works fine. Verizon , still on unlimited data. Close to houston, so have 4g most everywhere.
[RAZR HD Android Development] Zeljko1234:
Yes, xt926 has microsim slot and it's possible to unlock for other carriers. Basically both phones are the same, except what I mentioned already: radio, more internal storage and in my bigger battery. But camcorder microphone setting is proof and there are more difference. Not big but still.

---------- Post added at 10:00 AM ---------- Previous post was at 09:58 AM ----------

Houston, we have a problem :D
[RAZR HD Android Development] CWGSM3VO:
Just did a complete wipe and reinstall. Waiting on first boot.

EDIT: So I did a clean install, interestingly enough, here's the perms on su:

root@vanquish_u:/ # ls -la /system/xbin/su

ls -la /system/xbin/su

-rwsr-x--- root shell 129500 2015-01-03 22:30 su

As before, I have no problem running it via adb shell but apps fail to gain root unless I change perms to 4755

EDIT: Radio logs keep showing SIM_NOT_INSERTED even got that on initial setup and let it spins its wheels (radio came online finally during setup).

EDIT: Also noticed the terminal app that's now included in CM didn't show up in app drawer, had to "reinstall" it again. Didn't show up on reboot.

---------- Post added at 12:02 PM ---------- Previous post was at 11:09 AM ----------

Not 100% sure yet, but I think I found it! Was comparing CM-11 to CM-12 and noticed this:

# Mount modem immediately after system and trigger modem boot

# to speed up modem initialization

wait /dev/block/platform/msm_sdcc.1/by-name/modem

exec /system/bin/resize2fs /dev/block/platform/msm_sdcc.1/by-name/modem

mount ext4 /dev/block/platform/msm_sdcc.1/by-name/modem /firmware ro nosuid nodev barrier=0

start bootmodem

Which doesn't exist in CM-12. May fail and blow up horribly, but going to wedge this in and see if it's the solution. The path exists above on my phone, as does resize2fs. In CM-12, only the bolded section exists in this block. Looks like CM-11 waits for the modem to come online before proceeding whereas CM-12 just boots without waiting.
[RAZR HD Android Development] Zeljko1234:
Great!!! Good luck and let us know.

See, from just rom builder you're becoming troublemaker, I mean troubleshooter :)
[RAZR HD Android Development] CWGSM3VO:
Just bugs the heck outta me it's not working like it does in CM11. My wife has put up with me for 3 days trying to get this working (and putting off other things) so today it's do-or-die before I have to return to the grind of everyday life tomorrow :D
[RAZR HD Android Development] KC69:
****. Dont remind me. Ive been off for 4 days. Just lollin around, puttin up craigslist ads and piddlin with atvs carbs. Oh and flashing all kinds of roms uhh huu. No prob here. Houston is 60 miles northeast. Not ready to getup at 0430 manana and go downtown. But. Thats where the MONEY IS!
[RAZR HD Android Development] CWGSM3VO:
I've been off since Dec 21st, the lab is in brownout status so nothing happens over the holidays :)

To make it even more fun, starting yesterday we fell into a deep freeze. It's currently -33C(-27.4F) outside and -40C(-40F) with the wind chill. Going to be like this all week, woohoo :(

Other than xmas stuff, I've spent my time working with CM12 and learning more about the processes involved with ROM building, debugging and altering. I think it's been time well spent.
[RAZR HD Android Development] KC69:
Yeehaa, keep all that cold up there please. Actually. I beleive its barrelin down here. Sure hope it stalls at Dallas!