yashsingh1/xdaforums huggingface dataset:
[RAZR i Android Development] Hazou:
Time for a new update:

13 Januari

Changelog:

- LOS-14.1 source update

- Use unified LOS charger

- Enable Call Recording

- Fix Screen Recording

- Don't enable lifedisplay by default

- Kernel and system Bluetooth upstream updates

- Fix MTP crash (caused by missing mount namespace in kernel)
[RAZR i Android Development] Mitezuss:
You are great and fast, dude.

Thank you. I will check the new Lineage =)
[RAZR i Android Development] earnie:
Thanks Hazou!

It seems I'm having issues with root access with that update. E.g. Kernel Adiutor doesn't start anymore (stays at "waiting for root access...").

I already re-installed the Lineage OS SU extra package again, uninstalled and reinstalled Kernel Adiutor, tried the "remove su access" Lineage OS extra package than again the Lineage OS SU extra package.

I even re-installed Hazou's December LOS package, but even with that I'm having that issue now. Do I have to wipe again?

Anyone else having this issue?

I need it to switch to the Intel CPU governor (with the default the 2nd core is stuck at 600Mhz)

Thanks!
[RAZR i Android Development] Doblete_:
You can install magisk, the root works 100%, I was using a time without any inconvenience in LOS 14.1 in my rarz i.

I am sorry for my bad english.
[RAZR i Android Development] Mitezuss:
Hi, im testing L 14.1 is nice.

For root just need install addonsu-14.1-x86-signed.zip from https://download.lineageos.org/extras ?

Edit:

Is working good the Root access

I have a isuess:

* can not change the USB action (from developer option). I'm setting "MTP" but is not saving (keep in charge) (some time change to MTP but only work one time and back to charge option)

* Battery optimization: can not select or i dnt know how active xD: i select "all app" but back to disabled

are there anyway for enable the "navigation ring" ?

https://k60.kn3.net/7/2/2/4/6/C/219.png

like lineage 11 ? (not wanna use GravityBox)
[RAZR i Android Development] earnie:
Thanks for the tip, with Magisk root it works fine.

It was weird, only some Apps were not working with the LOS su, I think the problem was that it was not asking anymore if it should allow the root access or not when an app was asking for it.

It did not ask even if I set the setting to "always ask". But also it did not allow root access if I put it to "allow always"...
[RAZR i Android Development] Mitezuss:
The Su from Lineage web, is working fine for me.

But like earnie said, the Cores 2 is stuck at 600Mhz (with iterative gov), so need set to ondemand (for example) for work both Cores.

Hanzou, can you fix that ? . Thz

Can use No-frills CPU Control for set gov (easy apk)
[RAZR i Android Development] Hazou:
After some testing, it seems to me the kernel doesn't update the sysfs entry of the second CPU with some governor's.. Both cores seem to work fine, I think. Will try to get it fixed.
[RAZR i Android Development] test_user7:
Intel Atom Z2480 is a single core CPU with Hyper-Threading :)

https://ark.intel.com/products/70097/
[RAZR i Android Development] Hazou:
That's true, but most users see it as a second cpu, so I named it that way. If we even only look at the core itself, the cpu only changes frequency on the primairy core. Thanks anyway :good:
[RAZR i Android Development] Mitezuss:
Hanzou, can you force the MTP default for USB ? ... i was searching and found what is a problem in Nougat.... so maybe editing directly the source code.... idk, can you ?. or make a patch. Thz
[RAZR i Android Development] Hazou:
If I can fix it with adding a parameter somewhere, I will. It does annoy me too. But if I need to edit some sources somewhere, I won't. Because then it is designed that way.

Just looked at it, can't be done with a simple parameter. There could be some app "mtp enabler" do the job for u
[RAZR i Android Development] Mitezuss:
Yes, i know is a security mode made by google.... Maybe for public charges...

I know about that app too (was searching after post here) but don't like me background apps.

Anyway thank you for look =)
[RAZR i Android Development] highjagger:
hey,

i installed the los 14.1 januar version after full wipe. i used nano opengapps and restoired data (twrp). the phone works very smoothly its amazing. i also noticed the second "cpu" is not jumping through the freq's. just for testing i switched to intel cpu governor and its starts to.

there is one problem, i can't update or install apps through playstore. i see this error:

[MENTION=4479363]Hazou[/MENTION] many thanks for this build ;)
[RAZR i Android Development] Hazou:
Did u try it with a fresh build? No restoring of data?
[RAZR i Android Development] Mitezuss:
[MENTION=4083040]hanzou[/MENTION]

one question: The WeatherProvider.apk (org.cyanogenmod.weather.provider) in the system priv-app, is not working anymore. I'm right ?

YahooWeather work fine.

And do you know how set default DNS ?... editing the build.prop is not working for me (there are some apps, i know)
[RAZR i Android Development] highjagger:
Hey [MENTION=4479363]Hazou[/MENTION],

thx for this hint. i used the "save data to cloud", wipe the data and walk through the initial setup with restoring data "from cloud". now everthing works fine. its amazing how smooth the phone runs. i mostly use it as a music player. but also for little games for the kids. hopefully the next days the new sim-card will arrive. than i'll test the mobile fone/data. while syncing musci from cloud (google music download) it seems wifi is pretty slow ... it seems also to connect only to 2.4ghz. but i need to verify and dive into it.

i saw the current config uses zram with lz4 and 2 concurrent compressions streams - i like this ;)

also the both cpu's now jump between the freq - :confused: -

and again - very nice work - many thx
[RAZR i Android Development] Hazou:
U can change the dns with a shell script or by using the terminal. But it will need to be redone every reboot I think. I don't know the exact commands, but on the internet and with a init.d script it should be plausible.

Thanks!

Wifi is one of the things that still needs testing. Both connection, hotspots and tethering needs some love
[RAZR i Android Development] Mitezuss:
[MENTION=4083040]hanzou[/MENTION]

im triying to run a script on init.d:

#!/system/bin/sh

service call activity 51 i32 4

can help me and tell why i can not run that ?

the scripts on init.d run after bootcomplete ?

note: that script is working on terminal.

Edit: maybe is because the run time of the script.... so can you implement this: https://xdaforums.com/showthread.php?t=1671670 in your rom ? Thankz
[RAZR i Android Development] Mitezuss:
Hi

* On wifi can not set static IP (never connect, restart always).

* If the wifi is on and is turned off and again on, sometime, the wifi connection not be restored.

*Opera Max is not working :(
[RAZR i Android Development] Hazou:
Will try that. After I got the CPU governor working as it should. Found already out that the cpu does jump frequencys, but doesn't show it in scaling_cur_freq. Rather look at cpuinfo_cur_freq.

Can't promise anything, will have a look at it sometime
[RAZR i Android Development] Mitezuss:
WhatApp close (freeze and force close) after end a call. or only to me ?.
[RAZR i Android Development] Tamsta_T:
Call recorder still isn't working as expected. Now I'm able to record microphone (in previous version even this wasn't working), but mic is only one part of the call; if "voice call uplink + downlink" is selected as recording source, recorder still crashes. "Voice call uplink + downlink" as a recording source was working fine in LOS11. Thanks!
[RAZR i Android Development] Simpson474:
Am I the only one who cannot get LineageOS 14.1 to boot on the XT890? I am flashing "lineage-14.1-20180113-UNOFFICIAL-smi.zip" together with the Nano build of the OpenGapps for Android 7.1 (x86). After flashing, the Motorola logo is display, followed by the warning for the unlocked bootloader but after around 30 seconds the device reboots (still showing the warning for the unlocked bootloader). I wiped everything (except the external SD card) and also tried the ROM only with no Gapps but the behavior is always the same.

I am not sure about the version of the bootloader but I tried a complete RSD recovery using the JellyBean package. Both CM11 and LineageOS 11 are working, though. Is there any possibility to get the boot logs on the XT890?
[RAZR i Android Development] Mitezuss:
So, after using a time Lineage 14.1:

Disadvantage:

WhatsApp: Freeze 20 sec after end a call.

Viber: Some sticker (animate SVG file) crash the app and close.

Wifi: Some time not reconect to low signal.

SwiftKey: In some app is slow (ex: trying to type on Clash Royale).

Opera Max: do not work.

Gemotry Dash: Low fps (slow sometime).

Instagram: Some videos have green bar (in loop play).

LiveDisplay Tile: Sometime disapear from the panel.

Audio: Low in comparation with Lineage 11.

Advantage:

Is nice the Doze mode, but can be emulate with amplify+powernap+greenify (in another version of lineage).

Maybe need more time for test another apps.

Anyway, the Lineage 14.1 is cute =D i like. So will wait another update from Hanzou =)
[RAZR i Android Development] joshsg3:
Man, [MENTION=4479363]Hazou[/MENTION] I gotta say, this is quite something this rom and how long you've been supporting this little old phone, and how well you've got this rom going, and this is especially noticable now that my main phone (a droid turbo) is starting to fail, and my little old ~4 year old razr i is picking up the slack, if anyone's done it, you're alot of the motivation for me to eventually go into rom development one day, just wanna thank you for that

also, on the point of the rom itself, working great for me, as far as I know, camera works great, bluetooth and bluetooth audio works great
[RAZR i Android Development] ojosdegatonegro:
No contacts

I’m trying the last version but the Contact’s list is empty. I deleted and added my gmail account several times but the problem remains. Also I tried cleaning cache for contacts and contacts storage apps. I checked contacts in gmail account and they are listed so I don’t know what the problem is.

I try again with a new Installation but this time also installed Gapps before first boot and voila!!! Now all contacts are working.
[RAZR i Android Development] b4rgh3st:
Hi, Would it be possible to get a deodexed version of this great ROM for our beloved RAZR I?
[RAZR i Android Development] Julian003:
Para la próxima, exporta los contactos a la tarjeta SD, en opciones buscas "importar/exportar"

Se guardarán en la raíz de la SD como "1.vbf" O algo similar... una vez migrado al nuevo sistema solo abres el archivo y los contactos pasan a lista automáticamente

Next time, try exporting the contact list in options>import/export

They will be saved in sd root like "1.vbf" or similar name, then open in the new system and import. All contacts will be go to the contact list automatically. (Bad english, i know)

Saludos!
[RAZR i Android Development] borg17a:
CM 11 works great! [MENTION=4479363]Hazou[/MENTION] Thank you for your work!
[RAZR i Android Development] memarama:
I got a strange behavior when charging my battery: Before I installed this rom I did a full format of everything and replaced the battery. Unfortunately the system shut down now at somewhere around 13% (some cycles before it was 29%). I cannot do a real reset of the percentage display like described here in the forum. Maybe there it has something to do with the kernel? Another thing is that when using my battery bar, it charges until 100% and then changes to discharging although the battery bar is still connected. Does anybody else here noticed something similar?
[RAZR i Android Development] earnie:
I had similar issues when I replaced the battery with a new one. The system/bios whatever needs to re-learn the new battery levels. This takes time. In my case it got better with every charge. Just use it like normal (fully charge it and use it until it shuts off, then charge it again until fully charged and so on).
[RAZR i Android Development] dascoco:
Thank you a lot for the great work and keeping my phone alive :svetius:

I'm using the amazon music app, but when I want to play a song offline I just get the message "Song can't be played because your device is rooted".

I already removed root and bin/su, xbin/su files but it didn't solve the problem. Is there anything else I can do?
[RAZR i Android Development] hirntot.:
Is someone out there having microG / UnifiedNLP running on 14.1?

I installed it on a lot of different ways, wiped System and Cache several times , but UnifiedNLP never found a location. Not sure, whether it is a strange setting or something with the system. On my wife's fairphone with LineageOS14.1 it is working perfectly.

you don't really need that implementation. might be easier, dunno. but Xposed works fine and is easy to install as well.

[MENTION=4479363]Hazou[/MENTION]: awesome. Thanks from me as well. Do you also have a Bug list or a bug reporting page where "newcomers" can see what already is reported?
[RAZR i Android Development] Hazou:
LineageOS 11 1.20

New version off LineageOS 11. Version 1.20 on github.

LineageOS source updates

Security updates up to march

Massive kernel update! Includes:

Kernel: Security updates for all relevant CVE's on cve.lineageos.org (see KernelCVES.txt in kernel source tree)

Kernel: Kernel updated to 3.0.101

Kernel: Added interactivex2 and intel governor and 3 new I/O schedulers

Kernel: F2FS support

Kernel: Update to zram (performance)

Kernel: All modules are now builtin

Kernel: KCAL updates, so applications can search for kcal support in kernel (kcal.ctrl0(commonly used))

Kernel: (very) Small performance updates

Kernel: Update for android 7+ included

Kernel/UserSpace: Update power module

Kernel/UserSpace: update to ct406, Bluetooth, accelerator modules
[RAZR i Android Development] Hazou:
See the first post. Under LOS 14 section ;)
[RAZR i Android Development] Hazou:
Quick fix on kcal part.

The kcal module now is much more precise!

Re uploaded the zip, now with 20180324 date.
[RAZR i Android Development] hirntot.:
well, I guess you mean that one? I thought there might be something... more detailed.

Yesterday I found a maybe-Bug: Some apps (for example Yalp-Store) always think, that WIFI is connected, and they just download and actualize things over cell data.

thanks and cheers.
[RAZR i Android Development] Doblete_:
[MENTION=4479363]Hazou[/MENTION] thank you very much for the new version of lineageos 11, but I have a problem, it turns out that update the bootloader and the recovery by the new version of the ROM, but after installing it, the phone starts to freeze and then restarts, so I ask in case the same thing happens to another user as to me.

Original:

muchas gracias por la nueva versión de lineageos 11, pero tengo un problema, resulta que actualice el bootloader y el recovery por la nueva version de la ROM, pero luego de instalarla, el teléfono empieza a quedar congelado y luego se reinicia, así que pregunto por si a otro usuario le pasa lo mismo que a mí.
[RAZR i Android Development] Tamsta_T:
Same here… Recovery works fine, Lineage 11 doesn't. I did try "clean" flash, but that made no difference at all, OS keeps crashing and rebooting every few minutes. Even between freezes phone feels very sluggish and non-responsive. Back to CM14 :good:
[RAZR i Android Development] wahnwitz:
same here.. gone back to 20171027.. everything fine here..
[RAZR i Android Development] Hazou:
I did notice 2 bugs in the kernel. Those bugs could cause hangs and reboots. I uploaded a new zip file with the date 25 of March. Could u try it?
[RAZR i Android Development] Fabiompereira:
Hello [MENTION=4479363]Hazou[/MENTION]! possibility of doing rom based on DotOs or AospExtended for Razr i?
[RAZR i Android Development] Doblete_:
Of course, I will be ready to download the new ROM immediately.
[RAZR i Android Development] Tamsta_T:
Nope, still no go — phone froze during initial setup :(
[RAZR i Android Development] Hazou:
Nope, not from me. I have no interest in other roms. Maybe try it yourself :)

... Ehm, initial setup, define it, where. Can u make a logcat? Dmesg? Send a last_kmsg? Need to fix this
[RAZR i Android Development] Fabiompereira:
really locking after the boot!
[RAZR i Android Development] Doblete_:
[MENTION=4479363]Hazou[/MENTION] Logcat generated with the ROM of March 25, the freezes continue, I hope you are useful.

https://drive.google.com/file/d/1gv88zSgFRfKQuig3C85mLYPwWgZWIq0U/view?usp=sharing

Original:

Logcat generado con la ROM del 25 de marzo, los congelamientos continúan, espero que te sean útiles.
[RAZR i Android Development] Hazou:
Again found something, but can't be sure it is it. Are there more moments the build hangs? And at what point. Do you use a clean install or dirty? Are u using google apps?
[RAZR i Android Development] Fabiompereira:
I had a full backup of the last LOS11 (because I was with LOS14.1), I used that image and did a dirty flash. this image has xposed with two mods and I do not know if that was the problem (or so much modification in the kernel), but with a clean flash everything is running without crashes so far. I configured screen, blocking, deactivated apps, everything OK, but without Gapps. I will install some apks from the outside (apkmirror, aptoide, etc ...)
[RAZR i Android Development] dascoco:
[MENTION=4479363]Hazou[/MENTION] will there be soon also a new version of LOS 14.1 with Wifi fix?
[RAZR i Android Development] Tamsta_T:
It's actually gaaps that's causing reboots :mad: I did clean install (no gapps) and was able to use phone for couple of hours without any problems; but stalls and reboots started as soon as gapps were installed. I made couple of logcats, they are attached; "gapps_w_play" was made while browsing Play Store, "gapps_sleep" - phone wasn't in use. Hope this helps :fingers-crossed:
[RAZR i Android Development] wahnwitz:
There are no specific moments. It hangs using the calculator or spotify or yalp or f-droid ... I didn't install gapps, but f-droid, yalp and then spotify.. second time I installed only the build, without f-droid and so on, and it hangs using any app.. third time I installed the build with gapps and it hangs using any app.. btw, I don't know the difference between clean and dirty install..
[RAZR i Android Development] Mitezuss:
Clean is making all Wipe..

Dirty is installing over another version.

For better test is recommend make a full wipe (clean install).

I can not test on my phone, sorry... but im waiting for a stable version =) of kitkat (the nougat is not working fine with some apps :c ) [MENTION=4083040]hanzou[/MENTION] are there a posible future fix for nougat ? (like whatapps freezes and viber stickers =p )
[RAZR i Android Development] Hazou:
Need that kernel to be stable, than maybe. First get LOS-11 to its best version. But I can't figure out the freeze just yet. It freezes even without any gapps. The bug problem is it takes time for the freeze to work. Mostly i see around 700 sec. But what it is... More fail and erros.
[RAZR i Android Development] marfaso:
First of all i want to thank Hazou for everything you are doing to expand the life span of our smartphone. I wanted to ask if the version 14.1 will completely support substratum? I have tried it and after install a theme when I tried to enter the app again it reboot the phone. I hope you can help me, thanks a lot.
[RAZR i Android Development] wahnwitz:
thanx [MENTION=8774101]Mitezuss[/MENTION].. thus I did clean installs..
[RAZR i Android Development] Hazou:
Ok, it looks like I found the issue. Added a swapping feature in the kernel that looked like it worked. It didn't as expected and caused a hang at the moment the device wanted to use the swap area. Removed it and it looks like it is stable. Will test it a couple of more days to be sure.
[RAZR i Android Development] Tamsta_T:
Share it as a "beta" version and we'll test it for you :)
[RAZR i Android Development] Hazou:
Flash the attached zip in recovery ;)

(haven't tested the zip, but should work just fine)
[RAZR i Android Development] Tamsta_T:
So far everything (incl. gapps) works without a smallest glitch :good: Will report if something bad will happen. Thanks!
[RAZR i Android Development] Mitezuss:
So, the problem was the zram?
[RAZR i Android Development] Hazou:
Zram driver functions correctly. The driver (kernel swap daemon) that allocates swap areas and places memory in it didn't function as I wanted. So I changed it back to original with some small patches from upstream. Seems like that did the trick.
[RAZR i Android Development] sascha.kirschgens1:
LineageOS 11 -no link!

Hello, Hazou,

thank you very much for the great work. Unfortunately the link is wrong for LineageOS 11 - only LineageOS 14 appears for download. I would like to update my LineageOS 11.

Thank you

Sasha
[RAZR i Android Development] Hazou:
That's true, reuploading a new zip with some fixes somewhere next couple of days
[RAZR i Android Development] sascha.kirschgens1:
Thank you for the quick answer. I'm looking forward to the new release :)
[RAZR i Android Development] borg17a:
I am also waiting for CM11! :)
[RAZR i Android Development] Hazou:
Sorry, will take a few more days. Found 2 a 3 new/existing bugs in de camera driver. They are solved on my local source, but need time somewhere those days to build it. In the middle of moving between houses.
[RAZR i Android Development] mr0nd0:
I think this is important to Write in the installation guide for lineage os 14.1:

- fix contexts in TWRP
[RAZR i Android Development] drkdeath5000:
Thank you for all your efforts Hazou, you continue to amaze us :D. I've been running your CM11/LOS11 builds for over a year now. Its pretty much all thats kept this phone going and to hear LOS14 is working well its just amazing how you keep reviving this device.

I'm also eager to see if PokemonGo will work under LOS14 using Magisk root hide. Has anyone tried it?
[RAZR i Android Development] Mitezuss:
Any new, hanzou? :d
[RAZR i Android Development] Moto1987:
On LOS14 i have Bluetooth problems, the phone connects to Bluetooth devices but after Bluetooth disabled the phone forgets the pairing Codes from the devices.
[RAZR i Android Development] ladiko:
Does it work with microg?
[RAZR i Android Development] humpri:
Thanks Hazou!

I took the old RAZR I from my wife and - thanks to you - I have a new phone now, with modern OS, rooted and still google-free! Works perfectly!

humpri
[RAZR i Android Development] tmjwid:
Hey great rom, very smooth. I'm planning on using the phone as my daily now that z3c's headphone jack is dead. I have one issue with the rom though and it's been talked about before and it's the wifi not working with the 020000000 mac address issue. I've rooted the device and copied the bin file from /pds/wifi/ to /system/etc/wifi/ and renamed the .bin file and it still isn't working. Same error. I gave the bin file 777 permission for android to use it but still broke.

When I tried to symlink the file, I couldn't because system is mounted at read only and I was unable to see the pds partion in twrp to do the symlink from there.

Do you have any other ideas?

Thanks for the sick rom.
[RAZR i Android Development] Tamsta_T:
Here you might find what you're looking for ;)
[RAZR i Android Development] tmjwid:
Thanks, my PDS partition was in tact so that wasn't the issue. I fixed it in the end by doing a full wipe of system, data and dalvik/cache and then reflashing the rom from a new download. It bootlooped on the first boot but after that everything has been great including wifi.
[RAZR i Android Development] cuto82:
Hi

Hi have a problem..

First of all i'm a complete noob.. :D

After flashing my Razr i keeps restarting on bootloader warning screen..

Could someone help me plz? :crying:

Edit

Finally it starts..after 1h of reboots..

But there are many issues..

First of all wifi and clock doesn't works..

Any Ideas?