yashsingh1/xdaforums huggingface dataset:
[RAZR i Android Development] Julian003:
I rooted with a zip that you can find here (download.lineageos.org/extras) choose x86 zip and flash with twrp

Then, in developer settings, you will find the option "administrative access" and you must select apps + adb

I hope it is not treated as spam.

Good luck!

(Sorry about google's translation)
[RAZR i Android Development] pezraro.arpeggi:
Thanks! That's exactly what i did the first time.... I have tried again and get the same problem. Maybe is my device
[RAZR i Android Development] Tamsta_T:
This must be your device only - root is fine with my phone too.
[RAZR i Android Development] pezraro.arpeggi:
Wiping cache and dalvik/art

Hi! Today I have post a few posts with my notes about this release. I hope this is not taken as spam.

After a couple of problems when trying to root the device I discovered that the problem happens when I wipe Cache and Dalvik/art cache. I have succefully rooted now, and everything goes fine.

Thanks a lot to Hazou for this release and Julian003 who helped a lot with my issue
[RAZR i Android Development] sephirose:
Installed LOS-14.1. I used newest TWRP.It's important because i older version of TWRP was problem with E:unknown log etc.

By the way - Hazou ... you are awesome !
[RAZR i Android Development] earnie:
After some days of usage here are my impressions / bug reports:

Camera bugs were already reported by Julian003

Active apps "crashing" often when "closing" them (going back to home screen) or when switching to another app

With "interactive" scheduler (default) the 2nd "core" always stays on lowest frequency (600Mhz)

No deep sleep with the "Intel" scheduler

Wifi doesn't reconnect automatically once it was disconnected. I already tried the linking from PDS parition to System, no change.

Sensors are going crazy (google maps is spinning around, GPS toolbox compass/leveller going crazy) ("orientation", "gravity", "linear acceleration" and "rotation vector" sensors are showing ridiculous high numbers and are jumping around (in e.g. "sensors tests" app). As I think these are "software"/emulated sensors (they calculate values from the physical sensors), I think it it a software bug. The physical sensors seem to be normal.

Some settings are not saved / revert to default (e.g. Trebuchet background)

I'm also missing settings that were available in CM11, but thats probably due to that we're now using LOS (lock screen customization for example)

In general the performance is on par with cm11, right after flashing it needs some time and reboots until the system comes to speed. some things are faster, some are slower I would say.

@Hazou: have you ever experimented with the ext4 "tuning" options noatime,barrier=0,nobh,data=writeback in fstab? I would really like to check if this gives more performance, but they can only be changed in fstab, not in a running system

Thanks!
[RAZR i Android Development] Hazou:
I won't update LOS-14.1 for a while, atleast a month. Busy times coming up ;) But if some of u can fix a few things, let me know. Because I think the problem with the video encoding can be somewhere in a xml file.
[RAZR i Android Development] julianwi:
I think video recording recording doesn't work, because audio input is broken in this rom. I tested some apps and none of them could access the microphone. The audioserver process segfaults whenever an app tries to access the microphone.

I see following lines in logcat:

12-01 18:37:51.912 199 2901 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x310a713 in tid 2901 (AudioIn_26)
12-01 18:37:51.918 145 145 W : debuggerd: handling request: pid=199 uid=1041 gid=1005 tid=2901
12-01 18:37:51.946 199 2901 F libc : failed to resend signal during crash: Operation not permitted
12-01 18:37:51.954 2903 2903 E DEBUG : unexpected waitpid response: n=2901, status=00000000
12-01 18:37:51.955 2903 2903 E : debuggerd: timed out waiting for signal

unfortunately all tombstones are empty. Maybe a bug in kernel? Without tombstones I can't determine the cause of the crash.
[RAZR i Android Development] Hazou:
That true. The kernel is missing one commit. Because of a change in security in Android.
[RAZR i Android Development] julianwi:
I got tombstones working. This commit was missing: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=66dd34ad31e5963d72a700ec3f2449291d322921. I could only apply the second half of the commit, because the first function doesn't exist in our kernel. But tombstones are working now.
[RAZR i Android Development] Tamsta_T:
So how we, dumb-ass users, make audio and video work properly? :confused:

ATM no app that require audio encoding (camera, audio and call recorders) is working properly. Thank you!
[RAZR i Android Development] julianwi:
There is no solution right now. All we have is a log from the audio crash. But I don't know how to fix it. Maybe if Hazou has some time he can look into it. I will attach it to this post.
[RAZR i Android Development] Hazou:
The real strange thing is that audio calls do work. Can't see from the log what it can be so fast.
[RAZR i Android Development] edit_check:
Cannot install xposed on Lineage october... will fix that ?

And can implement a patch for spoofing Lineage 11 ? Thank.
[RAZR i Android Development] julianwi:
I found the solution. It took me some time, but now I know how to fix all audio input problems. This commit is the cause of our problem: https://github.com/LineageOS/android_frameworks_av/commit/3f0c902beb53a245c9db35e871607dba05b8d391. This change is not active in fastcapture threads. This explains why phone calls are working. I removed a few lines from the audioflinger sources as following:

diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp
index e8c80c17c..221be66c0 100644
--- a/services/audioflinger/Threads.cpp
+++ b/services/audioflinger/Threads.cpp
@@ -6459,24 +6459,24 @@ reacquire_wakelock:

// Update server timestamp with server stats
// systemTime() is optional if the hardware supports timestamps.
- mTimestamp.mPosition[ExtendedTimestamp::LOCATION_SERVER] += framesRead;
- mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] = systemTime();

// Update server timestamp with kernel stats
- if (mInput->stream->get_capture_position != nullptr
- && mPipeSource.get() == nullptr /* don't obtain for FastCapture, could block */) {
- int64_t position, time;
- int ret = mInput->stream->get_capture_position(mInput->stream, &position, &time);
- if (ret == NO_ERROR) {
- mTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = position;
- mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = time;
// Note: In general record buffers should tend to be empty in
// a properly running pipeline.
//
// Also, it is not advantageous to call get_presentation_position during the read
// as the read obtains a lock, preventing the timestamp call from executing.
- }
- }
// Use this to track timestamp information
// ALOGD("%s", mTimestamp.toString().c_str());

And now camera recording, audio recording and internet calls are working for me. There is probably a better way to implement the fix.
[RAZR i Android Development] Hazou:
Most likely an update to the time management in the kernel could fix this. Cool find!
[RAZR i Android Development] Tamsta_T:
would it be possible to implement any easy (temporary) fix or workaround to get audio working for now?
[RAZR i Android Development] julianwi:
Yes, replace /system/lib/libaudioflinger.so with the file in the zip attached to this post. Back up the original file first.
[RAZR i Android Development] Tamsta_T:
:victory: Yep, it worked for me too. Thank You!
[RAZR i Android Development] godoy.rafa:
Do you guys think that Oreo Go would run in our device?

https://www.android.com/versions/oreo-8-0/go-edition/
[RAZR i Android Development] Hazou:
The function: "get_capture_position". Doesn't exist in out audio hal like some other functions. We will need to make a working audio wrapper for that.

As an example, we could use this history:

https://github.com/FireLord1/android_device_samsung_smdk5260-common/commits/cm-14.1/audio_wrapper

-----------

Ok, got some time. Already uploaded a version for compiling in the device tree.
[RAZR i Android Development] earnie:
I had to correct above statement, deep sleep with Intel scheduler works just fine! :)
[RAZR i Android Development] Mitezuss:
init.d is suported on cm11?

i can not run any script on boot..
[RAZR i Android Development] george100:
Hello, regarding xposed , I had to do the following, Installed January 2017 version , install xposed, and then install the latest lineage version over the January version,

In this way xposed is still working and I have the latest version installed.

In other hands:
[MENTION=4479363]Hazou[/MENTION] unfortunately, and with great pain, my Razr I suffer an accident and its glass got broken last night,

As I use it to work I had to immediately change my phone, I have an XT1772 now (Moto E4 Plus).

I will fix my RAZR I because I've never had such an excellent phone, I have it since December 2010 and I never changed anything on it, except the SD Card, from one 2 Gb card to one 8 Gb Card,

I've been using your rom since... I think 2013, or 2014 perhaps, but it never failed me, my RAZR I was like brand new with your ROM;

I had the chance before to change it with a Moto G 4G, an LG G3 Beat, a LG Spirit and a Samsung J6, and I can say that my RAZR I was still working better than those with your ROM, that's why I didn't do it,

Thanks a lot for your work [MENTION=4479363]Hazou[/MENTION], and I will let you know once I get mine fixed, so I can "work" as a tester if you need it.

Best regards!
[RAZR i Android Development] Hazou:
2nd Update LOS 14.1

Hey all,

Second update for LOS 14.1. Most issues are fixed, some still needs some attention.

I do need some testing in:

- In call microphone muting

- In call recording

- Bluetooth testing, speakers, car, u name it

- Battery

- WiFi Connection

Most noticable changes:

- KCAL support, screen color calibration in kernel level! (A brightness update is needed when changing them manually through sysfs)

- Sensor calibrations

- Audio recording and Camera preview fixes

- Enabling of Doze functions

If u have any kind of problems, do a full wipe first please ;)

Change log and download links are on front page and the standard places

Happy New Year to you All!!
[RAZR i Android Development] Doblete_:
[MENTION=4479363]Hazou[/MENTION] thank you very much :)
[RAZR i Android Development] MagicSnake:
[MENTION=4479363]Hazou[/MENTION]

I have install the LineagoOS 14.1 today on my RAZR i XT890, I thank you for the nice Job you do with that.

About your Testings, I will look, what I find about that.

I have one other Trouble with that:

The Screen have an red shining, so I think, the Grafikdriver have an trouble.

When I go Bootloader, Recovery or LineageOS 11 all colours work fine.

Have a idee or troubleshoot for that?
[RAZR i Android Development] .-083:
It is not a bug, just disable Live Display completely, or change the values to suit your needs

I think Live Display should be disabled by default anyways

I've been testing latest 14.1 build and it is working great

However with pico gapps, the app which asks you to set up a google account is very slow, I mean, it will take a long time to go from a step to the next and is not a network issue, it's lag

Default messaging app is also slow to open received sms

Thank you very much Hazou, for keeping our phones up to date :)
[RAZR i Android Development] Hazou:
Oh, I thought that livedisplay is disabled by default. Must have somewhere a missing parameter... (fixed in next build)

Is only the pico gapps package slow or are they all slow on the device?
[RAZR i Android Development] Julian003:
Thank you!

Have a happy new year
[RAZR i Android Development] adolfoskywalker:
Hi Hazou!

In the latest build of LOS 14.1 - the sound quality on headphone was decreased.

My feedback. :) :good:
[RAZR i Android Development] shlep_j:
Help!

Hey dude. I cant install this version on my xt980.

TWRP says "Patching system image unconditionally"

I read another threads and I dont understand anything about this problem.

Im not a intelligent in this area. Please help me!

Im from argentina, sorry for the language.

btw, im come from CM 11.
[RAZR i Android Development] adolfoskywalker:
The recomended a clean install for LOS 14.1 - you need a full wipe (less SD card) before install the zip file.
[RAZR i Android Development] shlep_j:
I do it The problem persist. I read on internet about this and they say something like android 7 uses other system file of partition.

I do not know if this is the cause of the problem. I will follow the thread. Please make a guide or tutorial to install it.

Im trying to install a new version TWRP too.. But i cant. :silly::silly::silly: Guide to this ? Ahaha im sorry :(

tHAKNS IN ADVANCE ::
[RAZR i Android Development] Hazou:
That is not an error. Just literally translate the sentence to your own language and u know what it does. It's just patching the system partition. There should be an error somewhere else;)
[RAZR i Android Development] balthor80:
Thanks Hazou for Lineage OS 14.1, so far all is good for me!

All the apps / function I use are fully functionnal

Very good job ! ;)
[RAZR i Android Development] Igorhcc:
Which version of TWRP you used to flash LOS 14.1? And where can I find it, could you provide me a link? I've a Razr I as a backup phone, and it's running the CM11 from Hazou, I'm very excited to test the Nougat on it!

PS.:

It's hard to believe that my warrior Razr I will be updated to Nougat! I've been reading this post for 5 years! Hazou, you're a genius! Congratulations!
[RAZR i Android Development] Mitezuss:
Hi, i wanna know what is not working in Lineage 14.1 ? before updated
[RAZR i Android Development] Hazou:
Thanks! :D

U are just 2 click away from the TWRP post.

1. Back to the development section on this forum for the Razr I. "RAZR i Android Development"

2. Click on the thread with TWRP in it. At the moment just the link under the link that links to this thread (link it? :P)

On the first post I have a section with things that might not work or not work properly. But those are the only ones I know off.
[RAZR i Android Development] AntaresFP:
[MENTION=4479363]Hazou[/MENTION] thank you very much for your support and persistence :) you are really keeping the Razr alive!

---------- Post added at 02:13 PM ---------- Previous post was at 02:12 PM ----------

[/COLOR [MENTION=4479363]Hazou[/MENTION] thank you very much for your support and persistence :) you are really keeping the Razr alive!

---------- Post added at 02:15 PM ---------- Previous post was at 02:13 PM ----------

[/COLOR [MENTION=4479363]Hazou[/MENTION] thank you very much for your support and persistence :) you are really keeping the Razr alive!
[RAZR i Android Development] Mitezuss:
Yes, I already read it. Any ETA for update Houdini ? Thank

and another feedback from users ? who are testing CM14.1 update 2.

Any BenchMark on CM14.1 ?
[RAZR i Android Development] Hazou:
There are 2 types of Houdini blobs. X86 ssse3 ones for our razr I and some other phones and X86 sse4.* ones (fugu, Moorefield). The first isn't updated anywhere on the internet as of Android 6.1, but does work. The second is updated, but doesn't work (yet) on ssse3 Intel phones. I don't think they ever will work, so we are stuck.

Same goes sort of for hardware accelerated DRM playback.
[RAZR i Android Development] Mitezuss:
oh, i see. Thank for the explaining =)

Are you preparing another release ? for set default disabled live display, for example (or another change).

and the razr is working better with Lineage 14 than 11 ?
[RAZR i Android Development] Hazou:
I already got it updated in my local build. But am trying to fix 2 other things before launching a new update.

If 14.1 is better than 11.0, I don't know. I don't use it daily, got another phone for that and only use the phone to test stuff. How it is on a daily bases, u tell me :P
[RAZR i Android Development] Mitezuss:
Ok thank, i will wait your another release, and will test (the razr is my main phone, so i will tell you =p, actually the Lineage 11 is perfect ! :D)
[RAZR i Android Development] Hazou:
SuperUser always had some kind of problem with kitkat, i thought. Will be even worse on L.

The emulated sdcard is just a symlink to give older apps access to it. Some apps aren't updated to new sdcard names.

I see the problem why the app doesn't work correct. But i don't know if i am able to fix that. Has something to do with generating thumbails, and those thumbnails are out of some rules bounds.

Ye, the airplane modes... What to do with that. Not found anything in the logs than describes why it doesn't work.

What can you still do with your phone? Booting into bootloader (fastboot)
[RAZR i Android Development] lebobo:
I think it's the same problem I reported this morning. Hazou thinks he could solve it (arm code emulated in x86 issue).
[RAZR i Android Development] lebobo:
Another small bug : black theme in SMS app doesn't work... [emoji23]
[RAZR i Android Development] tedeha:
Buggy buggy:)
[RAZR i Android Development] adrex9:
i can go in bootloader, twrp, and i had treid to install cm11 but it just stay in bootloop.
[RAZR i Android Development] Hazou:
Nah, is not the same thing.

I thought i had the solution for the arm code emulation. But i didn't. I need to write a whole new code (wish i don't have the knowledge) or soundhound should just update there app. They already have x86 library's why should it be so diifcult to make another x86 library.

So u can get into bootloader and in TWRP.

In bootloader the phone should be recognized. Or u need to check your drivers.

When u tried to install cm11. Did u do a data/factory wipe? And did the install went smooth?
[RAZR i Android Development] adrex9:
i have the drivers installed.

before doing the instalation, i went to advanced and not really thinking before acting i selected everything; i think the problem was that it was taking forever and at some point i rebooted (like 1 and a half hours later). after that it's just been hell.
[RAZR i Android Development] DNABelphegor:
Great work!

Hello, [MENTION=4479363]Hazou[/MENTION]! Great work on CM11, thanks a lot, I've lready flashed it and runs just right, there doesn't seem to be ant of the issues other users have faced, yet, I've got an issue ofmy own: whenever I use my phone it works smoothly for a slightly brief period of time, and then it slows down until the device freezes and reboots on its own, I've already tried wiping Dalvik and cache, but it doesn't work, do you have any idea why is this happening? thanks a lot, man!
[RAZR i Android Development] manhquyet90:
Great CM ROM !!!

How to fix wifi?

I can't turn on it, and can't run fix-mac.sh

C:\Documents and Settings\MQ>adb devices
List of devices attached
Medfield410689FD device

C:\Documents and Settings\MQ>adb shell
←7←[r←[999;999H←[6nroot@smi:/ # su
su
←7←[r←[999;999H←[6nroot@smi:/ # fix-mac.sh
fix-mac.sh
insmod: init_module '/system/lib/modules/wl12xx_sdio.ko' failed (File exists)
255|root@smi:/ # /system/bin/fix-mac.sh
[RAZR i Android Development] thetemplar90:
Hello,

sorry for the beginner question, I am new to custom roms.

I installed CM last week, how do I update it to the new build without resetting all my data again and again?
[RAZR i Android Development] DNABelphegor:
update

I've continued to do some testing on your ROM, and after a data wipe I've come to realise that the constant rebooting has something to do with Xposed or one of its modules, which one I have yet to discover, I'm wondering if someone else is having this kind of issues, or if there is any workaround to this one. I'll keep posting any new discoveries.
[RAZR i Android Development] roymental:
I have xPosed with some modules (XBlast, Downloads2SD, APM+, Greenify, KitKat SD Card Full Access, WhatsApp mods, Ex Themer 2, Xposed Torch) and I don't ever had reboots or lagging. You can turn off your modules one by one or maybe use Elixir or something similar to find out which active processes use your CPU.

cheers, roy
[RAZR i Android Development] CFiorucci:
WiFi issues

Hey Hazou, I've flashed this ROM to 3 phones and now I can't connect them to wifi (before they work in the same network, they connect to network but no data traffic), I've realized that the whole phones have the same MAC adress!! Can this be solved? And also I lose signal, sometimes, but I think that is the BR base firmware. Sorry if bad english, cheers from Argentina

---------- Post added at 05:28 AM ---------- Previous post was at 05:22 AM ----------

The phone doesnt seem to have the famous efs folder with the mac adress, IMEI and so, so I think that it's just a soft problem (hope so), I don't know what to do now becouse of this fail in MAC
[RAZR i Android Development] Setarcos:
You don't have to reset(wipe) your phone, just install the new zip from your favorite recovery, as long as you comes from a former build.
[RAZR i Android Development] Hazou:
make a symlink from pds/wifi/nvs_map_mac80211.bin to system/etc/firmware/ti-connectivity/wl1271-nvs.bin and it should solve that. Will be updated in the next build.
[RAZR i Android Development] CFiorucci:
update

ok, I really don't remember how to make a Symlink so I'll wait, I also have noticed that the WiFi icon don't show the "real" signal streght, in the settings menu there is always one mor bar/s. I have 3 retail TWRP backups, in case you need something for a fix just quote me.
[RAZR i Android Development] genaro1981:
can someone upload the upgrade to Drive? I have poblemas with URL per Mega.
[RAZR i Android Development] Scray:
Try the download section at the top of the page.

Direct download link for the new version: http://xdaforums.com/devdb/project/dl/?id=10150

---------- Post added at 05:34 PM ---------- Previous post was at 05:30 PM ----------

The NFC bug still appears for me. If I check it I cannot uncheck it anymore.

One way or the other it wakelocks my phone for many hours being a huge battery drainer.

What am I doing wrong? Has anybody else got the same problems?
[RAZR i Android Development] roymental:
I had the same problem after a while of using cm11. I just disabled the NFC process with the "Device Control" app. I never need it anyway. But probably thats not really a solution for anyone...
[RAZR i Android Development] lebobo:
Idem... NFC is not functional.
[RAZR i Android Development] Tamsta_T:
Call recorder isn't working for me. I've tested 4 different apps and none is working, I keep getting "stopped responding" messages. Camera and sound recorder are working fine.
[RAZR i Android Development] edit_check:
Can use L-Speed (or HEBF Optimizer) with LineageOS 11.0 or 14.1 ?
[RAZR i Android Development] balthor80:
I have a strange issue with lineage OS 14 (but not disturbing)

- I change the ringtone of the alarm in the parameter but the alarm still sound with previousily ringtone

- The same with the viber, in GMAIL I change the parameter and uncheck the "vibrator" but the phone still viber in vibrator mode or sound mode

No other problem for me at the time.

Thanks Hazou !
[RAZR i Android Development] Moto1987:
good work

I use the razr only as a navi. Everything is going well so far, I even feel it works a bit better than with cm11.

One thing I have discovered but still can be the failure of the APP itself, I am using sygic car navigation and if I want to select the sounds for warnings he plays the first sound and then nothing anymore.

Just closing the APP and restart the app helps. Furthermore, the navi announcement is a bit too quiet. But as I said it can also be a failure of sygic.

I'm still hoping for an oreo go update, after what I've heard it should be very easy to create this rom.
[RAZR i Android Development] Hazou:
Android Go is one I maybe want to try. On this phone it should work quiet well. But is doesn't mean it is easy to create. Because the easy part has everything to do with project Treble. And we don't have project treble and will never have.