yashsingh1/xdaforums huggingface dataset:
[RAZR i Android Development] je_rem_y:
Hello [MENTION=4479363]Hazou[/MENTION],

I just updated my router that have wifi n now. I have a 100M connexion but the wifi on the phone is stuck at 15M. On my PC I can get 100M over the wifi n.

Maybe there is a bug in the rom wifi ?

Thanks !
[RAZR i Android Development] AntaresFP:
I think that the wifi speed difference is mainly due to different hardware (like antennas and wifi chips). Software settings (e.g. caching policies or mods like L Speed) may also have an effect, but it will be much smaller. Check out this thread http://xdaforums.com/showthread.php?t=1279696 Sorry, but I believe there is not much you can do by tweaking the ROM.

Today, my RAZR managed to download at 35 Mbps with the latest ROM on a 100 Mbit connection, which is the best result I've ever had on this phone! :cowboy: an LG tablet maxed at 70 Mbps, a Samsung S5 at 90, and the computer came first place with 99 Mbps, unsurprisingly. Hence, hardware matters.
[RAZR i Android Development] karnevals_jeck:
Wifi Bug

Hi all,

I have a wifi bug, that drains the battery. Battery monitors displays, that wifi is alwasy activated, even when it is switched off.

I noticed, that, after i made a clean install (long time ago :( ) the bug was not present. But after ca. a month it came back.

Is there possibility to resolve this problem? Should install an alternative Kernel?

Thanks and BG,

Nick
[RAZR i Android Development] ManoBros:
yes, i record video in wattsapps and other phone cant play it..
[RAZR i Android Development] Hazou:
New version

Cyanogenmod 11 for SMI

Build date and version on XDA: 'cm-11-20161222-UNOFFICIAL-smi.zip'

Changelog:

Added latest security patch (11-2016)

Using Google's Vorbis decoder

VP9 works again with mostly every file. Does increase cpu usage by a lot!

THIS VERSION IS NOT TESTED!!!,

but should give minimal to zero, problems I hope.

Getting back to this. CM13 will most likely be a no go. Don't get data working. Still figuring that out.
[RAZR i Android Development] julianwi:
Many thanks for this security update. Had no time to test it yet. On your github it seems that the dirty cow vulnerability is still present in the new version. I have been using this patch for a while. It's for 3.2 kernel, but works well on my device. Maybe you want to include it in future builds.
[RAZR i Android Development] Hazou:
That's something I can do

--done--

I can record with the stock camera app (latest version and without any settings changed) and play it on my sony Z1C. I don't have an Iphone. Can't test it with that.
[RAZR i Android Development] balthor80:
So far, all is OK for me ;)

Thanks one more time Hazou
[RAZR i Android Development] je_rem_y:
Thank you so much Hazou for the new ROM (1.19). I saw that you made another one (1.20) but there is no flashable file available.

I hope it will be available soon :)

Thanks !
[RAZR i Android Development] Hazou:
that's indeed true, still working on some media files
[RAZR i Android Development] Markski:
Thanks once again for this excelent update. Will flash it later tonight.

It is certainly a shame that CM13 is giving you so many issues! Really wanted to use it on my phone, but I guess the hardware of such an old phone mixed with the hassle of x86 general makes things just hard. I wish you the best on that and hope you can break past that issue.

By the way, on 1.18 I experienced issues like having to restart my phone daily because 3G would stop working (on my phone network only works when the signal bar says H+, sometimes it says 3G and it doesn't works that way) or because the ram would suddenly get filled to the point that android would automatically shut down any open app, sometimes including the launcher! Are you aware of this memory leak bug, or is it maybe a problem on my side?
[RAZR i Android Development] miky03:
I have the same problems
[RAZR i Android Development] Hazou:
No, didn't know this one. I also don't use the device daily, so I won't notice that sort of problems. Will keep the device awake the comming days and see what happens.
[RAZR i Android Development] danielvilla1:
Jelly Bean, Kitkat or KK Cynagenmod (this post) and why?

I just want to download a optimized room for social networks. It is for daily use
[RAZR i Android Development] Hazou:
First test: looks like "mediaserver" is the issue. U both didn't have this on 1.17? Or doesn't it happen anymore on 1.19?
[RAZR i Android Development] Markski:
I bought my XT890 during 1.18 so I havent tested 1.17 . As for this version, I have reseted my phone a couple times for unrelated reasons. I will try to have a longer uptime and see if the ram issue persists.
[RAZR i Android Development] miky03:
I have this issue with the 24 May Version.
[RAZR i Android Development] lincer556:
Just got bootlogo stuck, CyanogenMod logo spins but does not boot at all
[RAZR i Android Development] Hazou:
Maybe a newer version helps u with that problem

Could be anything. But I don't think that is ROM related. U did a full wipe or are u coming from an earlier version?
[RAZR i Android Development] parisc:
Thanks a lot

Thank you so much Hazou, for keeping up the constant and great work. :good:

I finally sat down over the winter holidays to free the bootloader, root and update the razr i of my girlfriend. She is still more than happy with that phone, but was on the old Motorola Build. It always gave me the creeps, considering the missing security updates. Now she is good to go for using it hopefully a long time longer.
[RAZR i Android Development] george100:
Hello [MENTION=4479363]Hazou[/MENTION], I need to report that I have a bootloop during cm11 logo after installing xposed with the tool on the first post.

I've performed a full wipe, including deleting internal storage data, installed cm-11-20161222-UNOFFICIAL-smi.zip, CM11KRNOXA20161222.zip and finally opengapps. After that it boots without problems, but after installing Xposed it stucks during the cm11 logo.

Regards :)
[RAZR i Android Development] mmiya:
I think it is happening with the latest security patch (11-2016),so I suppose it would be solved installing v. 87 of the xposed framework, but there is not one for our device, because the latest versions are for android 5.0 + (sdk 21, 22 and 23)
[RAZR i Android Development] Hazou:
Noticed the issue. Can include a workaround in the rom itself. Al though I don't like that. I prefer a self compiled xposed for x86 with the new commits if that is even possible.
[RAZR i Android Development] george100:
I've noticed another issue since i've installed the latest version 1.19, since i've installed I had this issue 3 times,

With the battery at 44%, 54% and 64% (battery status for each time I've experienced this problem), the screen blinks while it shows the "Powering off" message, and I was able to see that during the blink, which lasts until the device power off, status bar shows 0% of battery,

After that, I can't power on the device until I plug it to the charger. When I plugged it the screen shows (with the full screen battery draw) the battery at 44/54 or 64% and then I can power on the device.

I don't know if this is a calibration issue with my battery, if it is I don't know how to fix it on Razr I, in my old Atrix there was a way to do it through CWM,

Regards,
[RAZR i Android Development] Moto1987:
How about other updates like the trebuchet launcher? Is it possible to port the launcher from LOS 14.1? Or the camera app. It is an nice rom and with fstrim (app) it runs very good.

Greetings Moto
[RAZR i Android Development] Hazou:
So at exactly 44, 54 or 64 it does that. Will test it out.

No sorry, I won't. I don't know if it can be ported. Maybe it can, because it is an app.

Luckily there are numerous apps in the play store even better than trebuchet and the camera app. The ROM will just supply basic version of CyanogenMod/LineageOS, with some extra things needed by the device ;)
[RAZR i Android Development] Tamsta_T:
I'm starting to think that battery issues are hardware and not software related; I just don't know how voltage control is executed in XT890 so I can't be sure…

My wife's XT890 (untouched - stock 4.2, no root, locked bootloader) battery went crazy couple of month ago (battery 100% while charging but goes to 5% in moment charger is disconnected, phone dies straight away if call is answered etc.). Bought new battery, factory reset, RSDLite same 4.2 - same issue; rooted and CM11 installed - same issue; went back to 4.1 battery issues seemed to go away for couple of weeks, but later problems came back (not as bad as before though) - now phone cuts out randomly; phone can be turned on instantly, but battery after that is 10%-20% less. My XT890 is rooted and runs CM11, battery is rock stable if charged above 50%, but same issue with phone dying without any warning if battery is below 50%; I newer let it go under 30% because there is area 51 there - sometimes phone can die at any time even if not in use, sometimes it's fine even under heavy use… I'm not heavy user so I just charge it every day and that's enough to stay in safe “above 50%“ zone; my wife is looking for a new phone now…
[RAZR i Android Development] Hazou:
Sounds like a hardware issue. This board has more issues like that.

- battery not charging right or just stops

- corrupt memory, phone unusable after it

- buttons don't function properly or just stop

- modem issues

- screen issues

Most of those are because of age. Luckily just like every other phone.
[RAZR i Android Development] gandalf2013:
also Battery problems

Since two day my Razr I also has battery problems. I only need to charge every 2 - 3 days normaly, but now it's suddenly empty in 15 min and also fully charged in 15 minutes.

Yesterday I've updated to the latest ROM from december but nothing changed.

This looks **** built-in obsolescence.
[RAZR i Android Development] Tamsta_T:
That's most interesting part. Yes, battery gets old and that's normal (3 - 4 years for a battery that's charged every day is much more than “normal“); but why new battery will not solve the problem? And why flashing 4.4 firmware will not make any difference but flashing 4.1 will make huge difference? At least part of the problem must be software related. If I'd be conspiracy theory lover i'd say it's made intentionally this way — to make diy battery replacement impossible :) Or it might be possible that battery replacement requires some sort of software or hardware (or both) reset but nobody knows how to do it…
[RAZR i Android Development] Hazou:
I dunno what it can be. I used the phone for more than several years on CM 4.4 without any problems. Changed the battery twice on 2 razr I's. The phone still hold more than a day on battery.

Does a logcat maybe say something or even a kernel log?
[RAZR i Android Development] george100:
Although it could be a hardware issue it is weird that it started the same day I've installed the new version,

Since my post I had this issue another two times, at 72% and 68%,

I'm installing the old version today to check if the issue occurs again with that one,

I haven't got this problem with any version of cm11, and I think I have it since first versions (I can't answer which one) at least 3 years, and I have the phone since 12/2011,

Regards,
[RAZR i Android Development] george100:
I'm pretty convinced now that the issue is a battery calibration issue. I had the problem with 68%, left the phone charing until 74% (which it took about 20-30 mins), I've made a call and again it power off at 68%,

I will provide an update after some hs charging and using again the previos cm11 version,

Regards,
[RAZR i Android Development] highjagger:
Battery going crazy

hi,

the battery of my phone was going crazy a few month ago too. same like some here described. it was full and in a few minutes it went to to zero. taking steps by ~60% and so on.

i tried with that battery calibration things (apps and delete the file manually) nothing helped.

i bought a original replacement battery from ebay (about 10€). changing battery is quiet simple. everything except the motorola logo (which is glued, but easy to remove) is done via screws. so i was able to replace batter without any damage to the phone.

but sadly it same thing again. it tooks nearly 2 weeks until the new battery reached same state as the new battery from phone. maybe the battery was not used for 3 years. but now phone works very well and i'm happy that i did that step.

ORIGINAL MOTOROLA EG30 AKKU BATTERY Für MOTOROLA XT890 XT901 XT902 XT1032 http://r.ebay.com/EmiFqj
[RAZR i Android Development] je_rem_y:
Hello, I tried Wire and everything work except that I can't see the images and videos that are sent to me. Can the problem be it be the ROM (1.18 24 may) ? Thanks.
[RAZR i Android Development] je_rem_y:
Well, after more test I found that I can't see the medias (images, audio, videos, drawing, gif, files) that are sent to me. I just see a white square or I have a message that the download of the file have failed. The rest of the feature (audio and video call) seem to work.

https://github.com/wireapp/wire-android/issues/518
[RAZR i Android Development] Hazou:
I will have a look at it this week. Almost finished (some days) with the new build.

Tested it myself now. I can see every media file. Just can't play the video atm. Some error in videodecoder.
[RAZR i Android Development] je_rem_y:
Thank you Hazou ! Just to be clear, I can see every media file that I send but it's the one that I receive that I can't see.
[RAZR i Android Development] Hazou:
​

Yep, I have tested that according to your statement on GitHub.

I do use a newer ROM version, but that doesn't seem like the cause.
[RAZR i Android Development] je_rem_y:
I will try with the new ROM when it will be available. In the mean time I tried the december one, just in case, but no luck. I don't use Google services so maybe that's the problem.
[RAZR i Android Development] Tamsta_T:
Will new version be Xposed "compatible"?
[RAZR i Android Development] Hazou:
Yep, working fine. Although I don't like the way it was needed to get it working. Would be way more happy if the maker of Xposed let it work on KitKat. Backporting the change needed for ART to dalvik.
[RAZR i Android Development] Tamsta_T:
I don't think it will ever happen, KK is very old already…

But still - you made me happy so Thank You for that!
[RAZR i Android Development] Moto1987:
Have you ever ask quarx for help or some information? i mean he is an android god ;) what he did with the Motorola defy was incredible. maybe he can help a little bit with cm11 or cm13?
[RAZR i Android Development] Hazou:
Nope, never asked him. The main issue is, is that this phone is a x86 device. So the only help I ever had was from some guys with other x86 devices and by looking at the source code of Intel bsp. Also, CM 11 is sort off done. CM 13 works. I just don't have any mobile data connection, the rest off the device works (iirc). I also don't have any idea on how to use the Java file to get the old blobs working. Would be a massive trial and error, because my coding knowledge is almost zero. I can read it, change it, but making it is hard for me.

Next to that the main board was abondened in 2012. There is no new source code for this device as off 2012 and only on 4.4.2.. Even that code is mostly from 2010 with old hardware and not very much. The device lifespan can be stretched, even on cm13. I will support anyone with going for lineageos 13 or even 14.1. Maybe I give it a try someday. There are just not many people with this device and fewer that know things or want to try getting things to work(many hours).

So I do my best with everything I can get my hands on. And to me, it worked very well :)
[RAZR i Android Development] .-083:
Hey, do you say everything in CM13 works except for data connections? Could you please upload the zip file so we can use the rom?

Also, when will lastest CM11 version be uploaded?

Thank you very much!
[RAZR i Android Development] Hazou:
What is the usability of a rom when the main part is broken?

Also I build it back in May last year and deleted the zip file some time ago. I won't build a new one in the near future. If u know how, all my sources are on my git and u can build a rom just like that one.

I got 2 versions this time. The first one is just an updated version and the second one is experimental, but adds media enhancements. Still trying that one out.

The first one is ready and I hope to upload it somewhere this weekend if I don't come across any issues.
[RAZR i Android Development] george100:
Well, I'm using the old version and now I have this exact problem. 100% then went down to 14%, 5% and power off... in about 3 minutes.

Charging is going from 0% --> 14% --> 75% -->100% in again 4 or 5 minutes.

I will try to get a battery replacement for this one,

Regards,
[RAZR i Android Development] daniel4678:
What is CM11KRNOXA20161222.zip?
[RAZR i Android Development] Hazou:
CM11 kernel oxavelar 2016-12-22
[RAZR i Android Development] daniel4678:
Thank you! What do I need it for? I installed your CM11 build, not this file. Should I also install this CM11 kernel oxavelar?
[RAZR i Android Development] Hazou:
This is just an extra kernel I compiled from "OXAVELAR" sources. Oxavelar made a custom kernel for this device. Most of the code is outdated, but it gives some more config power over the kernel.

U can change to more governors than stock and it is more optimized for this device. I don't update the kernel code (although i have thought about doing it). If the normal kernel on this device service u well and u don't known anything about the oxavelar's one, I shouldn't update to it. The kernel is save to flash, but it is all up to u.
[RAZR i Android Development] daniel4678:
Cool! Thank you for your quick replies. Also thank you for all your effort with the ROM :)
[RAZR i Android Development] Hazou:
New update

30 January

Re-brand to LineageOS

Up-to-date with Google Android Security patch 01-01-2017

Update HOUDINI to 4.1.1b. Most apps now work (snapchat, pokemon go (can't rom has root).

Update all media codecs to upstream android master

Fixup green bars on some videos

Priorities Google Codecs over FFmpeg

Fix widevine videos, DRM protected video's can be played now

Another optimization to RenderScript

WIFI country codes work, wifi rules are up-to-date with latest 2016 changes

Change WIFI firmware, fixes most issues with tethering. Thanks Igor: https://github.com/Poslanets !

Enable Zram (Better ram management)

Enable KSM (Better ram management)

Fix Xposed. Works again

Update APN's. Mobistar argentina, pls report if something doesn't work

CMForks changes: github.com/cmforks. Most noticeable:

[CMForks] Notify when wifi is connected

[CMForks] Settings: many crash fixes

[CMForks] Trebuchet: many crash fixes and some enhancements

[KERNEL] Multiple crash and security fixes

[KERNEL] Removed verified bootstate from kernel command prompt

[KERNEL] Some small optimizations

Uploading could take some time. Also working on another version with enhanced media optimizations.
[RAZR i Android Development] dwtoledo:
Dear Hazou,

Thanks a lot for your excellent work to keep Moto Razr i XT890 alive!

I'm downloading two zip files for LineageOS 11 at GitHub, they are: "lineage-11-20170130-UNOFFICIAL-smi.zip" and "LOS11KRNOXA20170130.zip".

I have the last CM11 version, 22/DEC and I just want an update... usually I just download the main zip (highest size ~250 MB) and install using TWRP, but now there are 2 zips. May I also install "LOS11KRNOXA20170130.zip" to do an update from previous version?
[RAZR i Android Development] Hazou:
The second zip file is the OXAVELAR kernel i build for some people that use it. It is totally not needed and just an extra zip for those who use it.

I will remove it and make it only possible to download from here. People know here to get it.
[RAZR i Android Development] dwtoledo:
Okay, thanks for quickly response! I'll ignore the zip.
[RAZR i Android Development] zwan33:
Hazou! Thanks a lot for keeping this up to date! From what I see, everything is working as it should!

I tried the updated Kernel. But, there were less options in the performance section: only 2 governors and 3 io schedulers, which did not work well for me. I finally reverted to the old Kernel from 23 May 2016, which gives me many more options.

Could you let me know, if there are any advantages to the new Kernel and what differences there are?

Also, is it still necessary to install Xposed via the special X86-build referred to in this thread?
[RAZR i Android Development] Hazou:
Seems I inserted the wrong kernen in the OXAVELAR's zip. Will update it.

Yes, it will always be needed. Because of one special line with "148" in it. The "jit_offset" is I am correct.

And that one is using the latest stable xposed for kitkat.

Kernel zip seems fine to me. Right kernel and i get the options u would suspect of it after flashing. But updated the zip with new kernel modules I forgot to add. Those don't change anything, only the build date of them.
[RAZR i Android Development] zwan33:
Seems to work now, with all the options! Thanks!
[RAZR i Android Development] brunohrbarros:
Hello Hazou!

Every time I boot it shows optimizing apps.

Is there any way to solve this?

It optimizes only apps that I have installed.

Thank you!!
[RAZR i Android Development] Hazou:
Faulty app somewhere?

Maybe Xposed does this if u have it installed?

Do a clean install and see if it persist. I don't have that kind of issue on my phone.
[RAZR i Android Development] brunohrbarros:
I did a factory reset and then installed one app from Play Store and then reboot.

The problem still persists.

Maybe I got a corrupted partition?
[RAZR i Android Development] Xlife01:
I also had that issue, you must just wipe system part in recovery and than install ROM again.
[RAZR i Android Development] brunohrbarros:
Great!

It worked!!

Thank you very much!!
[RAZR i Android Development] .-083:
I'm having a problem. Flashed stock firmware 4.1.2 through RSD Lite, all worked fine. Then flashed latest TWRP through fastboot, tried it and worked fine. Did a full wipe, system, data, etc., marked everything. Then installed latest LineageOS and x86 Gapps for Kitkat (nano), and got a boot loop. I can only see the warning screen about the unlocked bootloader, then reboots and I get warning screen again and again, until I reflash stock firmware. What am I doing wrong?
[RAZR i Android Development] Xlife01:
You can try to flash that ROM again, if that don't work just flash latest CM11 (Not lineageOS) and than, after reboot flash LineageOS.
[RAZR i Android Development] .-083:
I have the exact same problem with latest CM11 :/ (just got the phone yesterday, the only custom rom I tried is this one)

Also tried without flashing any gapps, same result

P.S.: This is the only output I get while flashing either CM11 or LineageOS
[RAZR i Android Development] Hazou:
Seems fine to me (the image). The recovery boots, so that works.

After installing the rom.zip. Reboot to bootloader and flash manually the "boot.img" that is in the rom.zip. If the recovery boots, the boot.img should also do that.

Also, does the PC recognize the device when booting? Even if it is for just a couple of seconds?
[RAZR i Android Development] .-083:
The laptop doesn't recognize the devide when booting, it does only recognize it in fastboot mode

I tried flashing "fastboot flash boot boot.img" but it didn't work (in the pone it didn't say "flashed", it keep saying "flashing", but in windows cmd it said it was done), it's still the same

Edit: FINALLY FOUND A WAY

Looks like it wasn't working because I was on JB 4.1.2. Restored the "4.4.2 Debloated" rom TRWP backup (which can be found on this subforum), which also has a bootsector backup, then wiped everything and installed lineageos and it's working great now

I spent a full night and several daylight hours trying to get this fixed, lol
[RAZR i Android Development] Hazou:
Weird ,but oh well. Good it finally works :)
[RAZR i Android Development] je_rem_y:
I installed the new ROM and it work very well ! Thank you Hazou !

The problem with Wire is still here. I think it's because I don't use Google services.
[RAZR i Android Development] Hazou:
Is there anyway u can try it with Gapps? I am curious.