yashsingh1/xdaforums huggingface dataset:
[RAZR i Android Development] Hazou:
Dont know. Will have a look at that app in the near future.

Trying to get the latest security patches in and last focus on some media enhancements. Hopefully done in a week or so (maybe more).
[RAZR i Android Development] 1stStep:
Don't worry Hazou, I sent back the phone to my friend. In fact, not being sure the way I would set this app for me, I just said him not to set it above 1A. Maybe the fall back to 500mA on reboot is not a so bad behaviour.

If you ever need help to translate some strings to French, do not hesitate to ask me. Thanks for your work again.

BTW, I directed my friend here and told him he can donate to you.
[RAZR i Android Development] Hazou:
You will need to wait till they build a better version with x86 support. Houdini gives the error:

#00 pc 0019a1c5 /system/lib/libhoudini.so.4.1.1b_x.45721

.

Maybe the newer versions of houdini can translate that. But they most likely need ART and a newer version of android.
[RAZR i Android Development] Doblete_:
Thanks [MENTION=4479363]Hazou[/MENTION], I'll wait for the new version.

Sorry for my bad English
[RAZR i Android Development] Hazou:
That looks like u will wait for it. Don't ;)

The chance that a newer version of houdini works on android 4.4.4 is very, very small. Maybe if someone gets LineageOS 13 or 14 working we can port the newer version with more success over.
[RAZR i Android Development] taurui:
Any chance to get PG working? I tried to install SuperSU, doing a complete unroot with it and then disabling root in dev options. But I still cannot login.
[RAZR i Android Development] mrfrantastic:
Any chance of a LOS 14 build for this device?
[RAZR i Android Development] Hazou:
I don't know what SuperSU removed, but I know we have more than one su binary in this ROM as part of lineageos. I tried it just briefly, removed su binarys, but somewhere I have missed something. We don't know exactly what it scans for or where it goes wrong, so try a few things. U can always go back.
[RAZR i Android Development] taurui:
Just found this tutorial

https://techfuzz.net/remove-lineageos-inbuilt-root-system/

it says removing the su binaries in the bin and xbin directories is sufficient. Was that what you did?
[RAZR i Android Development] dwtoledo:
Hazou, I think only you are engaged to improve LineageOS for RAZR i, do you know others in XDA that is able to get version 13 or 14 work for us? Please let me know that we are going to send messages for then. ;)
[RAZR i Android Development] Hazou:
There are not many people with a Razr I and know how to do things. So I don't think so. Maybe some can help, but as I said before in a previous post, I don't know who.
[RAZR i Android Development] Hazou:
Got Pokemon Go working. Performance is not that great, it can crash (got one right of the start, but after not anymmore(caught some pokemon)) and AR doesn't work ATM.

Next update will have it working
[RAZR i Android Development] taurui:
Awesome!! :) then my wife can finally play, and then I will not be the only one I know still playing PG anymore...
[RAZR i Android Development] karyson:
Netflix

Netflix not work? :crying:
[RAZR i Android Development] mrfrantastic:
My GF is facing WiFi problems. Sometimes it does not connect or the WiFi option is grayed out on settings. Phone is on latest Lineage build. Any ideas?
[RAZR i Android Development] julianwi:
Based on Hazou's latest git commit I created a simple flashable zip to unroot this rom. It removes bin/su and xbin/su files. And it flashes a boot image with oxavelar kernel and the properties from hazous git commit.

You can flash it if you don't want to wait for next rom release.
[RAZR i Android Development] Hazou:
Cool. That's indeed also a way. :) U did remove the debugging properties from the default.prop in the boot.img? Becuase they were the main reason next to the "su" binary that pokemon didn't work.

For the next update I have made a change to "RootSwitch" made by Shakalaca for the Asus Zenfone x86 device. It will temporary rename root when active and this will help play pokemon. U will need to install it separately from the rom. It will not be included, but can be found in the "download" section.
[RAZR i Android Development] Hazou:
New build.

This build can give some media problems. So u can see this one as a beta version. I have tested everything as good as I can, but I may have missed something.

So this means, there may be a follow up build with things removed or changed. According to all your things. Do know that things that could not work on older build will also not work on this one, so don't report that for this.

28 February

Security updates from February 2017

Another improve to RenderScript (2d/photo's)

SKIA optimized for x86, improve of about 5-30% in 2d rendering

Same with JPEG encoding and decoding (mainly for camera pictures)

Using secure boot from now (one of the fixes for pokemon)

Enable CIP and MDP decoders/encoders (performance)

Enable ALAC codec support

MP3 can be played from a MP4 file

Enable AAC-LC codec

Another optimization to Dalvik (increase of 0-10% in java executing(apps))

Improvements to media in gereneral from Intel sources

Improvements in FFMpeg (also updated to 3.0.4) and media extraction

Improve vpx (vp8 and vp9) performance (performance)

To play pokemon u need to disable root. I have included in the download section an app that will just do that sort off. U can play pokemon (it lags a bit and camera doesn't work thr right way) and other apps that don't want root.
[RAZR i Android Development] Tamsta_T:
Thanks for the latest build! And I have a question: after dirty flash I can't access phone's file system from my computer with root rights. I still can see files, but if try to delete them, I get "read-only file system" error message (for example:

adb shell rm /system/media/audio/notifications/regulus.ogg

gives me

rm failed for /system/media/audio/notifications/regulus.ogg, Read-only file system)

I did check previous build and previous one does not have this issue, it appears in the latest build only. Is this issue or just a feature?
[RAZR i Android Development] Hazou:
This Isa feature. I changed the unsecured boot to secure boot. This means u don't have add root rights by default. This is needed for certain apps that checks if the system is securely booted.

U can get around it with starting add as root.

"adb root" and maybe u need to remount the system after it

"adb remount"
[RAZR i Android Development] Tamsta_T:
Yep, worked like a charm. Thanks!
[RAZR i Android Development] mrfrantastic:
Wifi bug still persists. Have to wipe dalvik+cache to get it working again. After a normal reboot wifi is disabled again and can't be turned on. Any ideas?
[RAZR i Android Development] Calahan:
Hi,

First I would like to thank Hazou for his work, I have been using CM11 since its release without any major issue, only a problem with the wired headset not being detected. Anyone else facing this bug?

I have downloaded Lineage rom and I am about to install it, hopefully my headset trouble will be solved.

I am wondering what is the LOS11KRNOXA20170227.zip on the xda download page and if I need to flash it also?

Thanks!
[RAZR i Android Development] Hazou:
Have u tried to format system before installing the rom? Flashing gapps is maybe necessary then.

Just after boot, make a logcat and dmesg. Maybe they provide some answers

I will test this. Could be a problem in the kernel if it also doesn't work.

That package is a extra kernel provided some time ago build by OXAVELAR. I just build the kernel for others, I don't maintain.
[RAZR i Android Development] mrfrantastic:
I made a Logcat - maybe you can find something :good:
[RAZR i Android Development] Er1csson:
Hi guys, I installed this room lineage-11-20170130-UNOFFICIAL-smi.zip and the quality of videos on youtube have dropped from 480 to 360. How it could be fixed?
[RAZR i Android Development] je_rem_y:
Hello [MENTION=4479363]Hazou[/MENTION],

The Wire guys found the issue but they can't fix it because our rom lack of support for TLS version 1.2.

Do you think you can add TLS version 1.2 on the rom ?

https://github.com/wireapp/wire-android/issues/518

Thanks !
[RAZR i Android Development] Hazou:
I don't know for sure. Android 4.4 and below (except android 4.4-wearable) have tls 1.1 and 1.2 disabled by default.

I found the place where i could enable them. The commit that disables tls 1.1/1.2 does speak off a bug somewhere. So it maybe buggy when enabled.

------------------

I have rechecked tls support. A browser test without any gapps does indicate TLS 1.2 support. But that's maybe because of chromium has it build in and libcore doesn't?

I have build libcore support with TLS 1.1 and 1.2 enabled. The file to the zip can be found on my drive.
[RAZR i Android Development] Hazou:
The logcat speaks of a non loaded wlan module. I need a "dmesg" right after boot with the problem ;)

"adb shell dmesg > dmesg.txt"
[RAZR i Android Development] Hazou:
Hey, I just finished building a new test version of CM13. Couldn't resist working on it after CM11. See the "release" section on my github and search for "LineageOS 13". It's a prerelease and every info I know is in the message.
[RAZR i Android Development] Tamsta_T:
Did you get data working? :fingers-crossed:
[RAZR i Android Development] Hazou:
See the "release" of my GitHub section, so yes :D
[RAZR i Android Development] mrfrantastic:
I have attached a kernel log. Thank you for your time!
[RAZR i Android Development] dwtoledo:
Wonderful news about LineageOS 13! I'll install and test.
[RAZR i Android Development] Hazou:
Hey thanks for the log. Dit the same thing happen this time around?

Sadly, the kernel log doesn't indicate a problem.
[RAZR i Android Development] mrfrantastic:
Yeah, it did. I can reproduce it. With a cleaned dalvik+cache it boots with wifi. Next normal reboot, wifi is disabled and can't be activated. Since it is reproducable on this end it doesn't indicate hardware failure. But maybe with LOS13 the problem is gone ;)

I can try and make another log if it helps and wait a bit longer after reboot?
[RAZR i Android Development] .-083:
So glad to hear this, going to test it as soon as I can :)
[RAZR i Android Development] je_rem_y:
Thank you Hazou ! I tried it but that doesn't work :(
[RAZR i Android Development] julianwi:
Thanks, I just tested the lineage13 build. Most things seem to work. I also got houdini working. I changed ro.dalvik.vm.native.bridge=0 to ro.dalvik.vm.native.bridge=libhoudini.so in the default.prop in the boot.img.

I think to enable it in your builds, you just need to define this property with PRODUCT_DEFAULT_PROPERTY_OVERRIDES instead of ADDITIONAL_BUILD_PROPERTIES in the device.mk file.
[RAZR i Android Development] Burn02:
Hello hazou!

That was a lot of time since à passed on this topic. :)

I have tested your latest rom, everythings work like a charm.

I wonder how could it be possible to have a port of lineage on android 4.4, they did a branch for that? Not only the 7.X?

And how do you port the security patch? I see that it's "2017/02" does android 4.4 is already maintend by someone?

Google still not update android 5.X for his nexus 4, so i wonder how do you do that?

Thank's. :)
[RAZR i Android Development] Hazou:
Ha, I totally forgot that I had already updated Houdini to 6.0 version.

Will have a look at that next time.

LineageOS is a continuation of CM(with all the branches from cm). So I just needed to rename the ROM base source to lineage. On top of that, there are still some active developments on the lineage 11.0 branch. So it is still sort of maintained.

Security updates are another story. Google ships every month new security updates to branches as low as 4.4. We just need to update the respective repos with the changes made by Google and others. Work people do that and contribute them to the lineage branch (even 11.0) and if it is not done yet, I do it my self.

U can have a look at all my repos on GitHub or see review.lineageos.org for changes.
[RAZR i Android Development] dwtoledo:
My first experiences using pre-release Lineage OS 13 and latest pico Gapps:

Sometimes the WiFi doesn't reconnect automatically, I need to switch off and switch it on again.

Sometimes I have no cellular network, so I have to turn plane mode on and off to get network again.

Some applications are running slow (Spotify as example), I think it's because Houdini, right?

I have no faced any warning or issues messages (only for some applications not responding)

I was very surprised with the battery life with the Android power save option enabled!

All tests with audio (headset and bluetooth) worked for me.

Call functions worked!

Thanks a lot Hazou for this amazing work and Julianwi about houdini info.

I'll be waiting more pre-release test builds.
[RAZR i Android Development] .-083:
I'm testing latest LOS 11 and Whatsapp (installed from google play store) crashes everytime when restoring backup from internal memory :/
[RAZR i Android Development] -INU-:
Wich gapps for los13, 4.4 or 7.1 ?
[RAZR i Android Development] dwtoledo:
los13 is Android 6.0.1, The latest Gapps pico 6.0 downloaded from Gapps website worked for me!

---------- Post added at 02:25 PM ---------- Previous post was at 02:21 PM ----------

Is there an easy way to change this settings to get houdini working?

Or, Hazou, Can you pre-release an 0.2version with this improvement?
[RAZR i Android Development] Hazou:
Just a temp workaround. Will not publish a new version any time soon I think. Flash the content with fastboot
[RAZR i Android Development] dwtoledo:
Thanks Hazou!
[RAZR i Android Development] Hazou:
Oh, this bootimage might not work. It includes an untested kernel and may be Faulty. Will compile a new one in a few hours.
[RAZR i Android Development] dwtoledo:
Okay, thanks for the warning, don't worry I didn't flash due to the rush of the day. I'll be waiting for new boot.img
[RAZR i Android Development] Hazou:
This one should work.

The base of LOS 13 kernels will change to the "OXA" kernels. So I will update them accordingly.
[RAZR i Android Development] miky03:
sound quality

HI Julianwi,

how is the sound quality under Lin. 13 ? is it better then in KitKat? I hear some noise all the time. in Android JB was definitely better.

Thanks
[RAZR i Android Development] julianwi:
I don't use my device for music often. I had no problems with KitKat and didn't notice any difference with the new lineage 13.
[RAZR i Android Development] mrfrantastic:
By the way: wifi problem got fixed by (wait for it) removing the SD card.

Yep, as crazy as it sounds. I did a totally clean install (formatting everything) but wifi was again broken after a reboot. By removing SD card it got solved. Don't know what that was all about :confused:
[RAZR i Android Development] Hazou:
The system does store some data on the sdcard. I always thought it wasn't necessary data for the system. Maybe have a try with another sdcard?
[RAZR i Android Development] Burn02:
And perhaps, take a look on the sdcard they should be an "android" repertory, or somes ".something" that are on the SDCard.

If you do not lost anything without the sdcard, you could delete somes repertory that does not contain your data without any problems.
[RAZR i Android Development] je_rem_y:
[MENTION=4479363]Hazou[/MENTION], my phone shutdown when the battery is at 23% now and when it does that, it briefly show that the battery is at 0%.

Could it be a wrong calibration or my battery is dying ?
[RAZR i Android Development] mercurio.:
hazou thanks for the update, could it be that there are some errors in the wifi-fix script??

i think the line should be:

PDS_NVS_BIN=/pds/wifi/nvs_map_mac80211.bin

this gives me the correct mac address

regarding wifi, does 5ghz wifi work for anyone??

----

edit, the following script works for me, and i think it should solve the mac address problem for all:

#!/system/bin/sh

PATH=/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
ORIG_NVS_BIN=/system/etc/firmware/ti-connectivity/wl1271-nvs_128x.bin
NVS_BIN=/system/etc/firmware/ti-connectivity/wl1271-nvs.bin
PDS_NVS_BIN=/pds/wifi/nvs_map_mac80211.bin

rm $NVS_BIN

toolbox mount -o remount,rw /system
toolbox cp ${ORIG_NVS_BIN} ${NVS_BIN}
MAC='calibrator get nvs_mac $PDS_NVS_BIN'
MAC=$( $MAC | grep -o -E "([[:xdigit:]]{1,2}:){5}[[:xdigit:]]{1,2}")
calibrator set nvs_mac $NVS_BIN $MAC
toolbox mount -o remount,ro /system

toolbox insmod /system/lib/modules/wl12xx_sdio.ko
[RAZR i Android Development] :
OK that's great. Thank you Hazou
[RAZR i Android Development] :
Facebook Messenger works now. I think it was a server problem. But there are random crashes when we send a photo (selection inside the application, not by the gallery or Documents app). I already have the sdcard read-write enabled (from the update).

I remember that few beta testers from Motorola, like me, reported the same problem for Airplane Mode. I didn't have this issue. Can you check out my thread to check inside the ROM: http://xdaforums.com/showthread.php?t=2941133
[RAZR i Android Development] Setarcos:
How to compile from source

Here is what I did:

1. repo init with the cm-11.0 source code

2. add local_manifest.xml from your repo.

3. repo sync

4. run patch.sh from patchs

5. . build/envsetup.sh

6. lunch cm_smi-userdebug

The last step gave me error messages:

build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/motorola/smi/cm.mk]]: "vendor/motorola/smi/smi-vendor.mk" does not exist。
Device smi not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod)

What did I miss?

Edit: Oh, there is a script called "setup-makefiles.sh"

first mkdir -p ../../../vendor/motorola/smi/, then run the script will remove the error message
[RAZR i Android Development] :
I have an error when I flash TWRP that does not seem to have any impact

getvar partition-type:recovery
Fastboot command failed

Fastboot doesn't have this var partition-type:recovery

Is it a problem ?
[RAZR i Android Development] Hazou:
Nope, it doesn't contain an error, because it is made for when wifi doesn't work. Most of the time u are missing the wl1271-nvs.bin in the firmware folder and this one creates it.

But, you are right about the nvs_map_mac80211. Is also gives me my old mac back. But what i do not understand is that even with the motorola way it didn't work. I will change the way the wl1271-nvs is generated in the next release. Till then people can use this methode.

You missed some critical steps :P If you read the guide on how to compile cyanogenmod u should have known that u need to execute 2 more script before you can build a working rom.

The "extract-files.sh" in the device folder needs to be executed to get the proprietary blobs. This will make "vendor/motorola/smi/smi-vendor.mk" also. U need to have your device on usb and accessable to adb at the moment u execute this file or point it to a folder with the full system in it like: "extract-files.sh /home/{username}/android/systemimage" or something like it.

The "get-prebuilts" in the vendor/cm folder to get terminal working. It is needed or you get an error while building.

The "getvar" command is a command our fastboot doesn't know very good. Some things work somethings won't. But why the hassle to use this command?

Just flash recovery with the command "fastboot flash recovery {path/to/recovery.img}" Don't include the "{}" off-course.
[RAZR i Android Development] :
I don't use getvar, I simply do "sudo fastboot flash recovery recovery.img" and I have this error.
[RAZR i Android Development] Setarcos:
Thanks [MENTION=4479363]Hazou[/MENTION] for your advice on building from cm source. The local_manifest.xml removes two projects from cm, which gives me trouble building. I had to comment them off to pass some dependency errors.

<!-- remove-project name="CyanogenMod/android_external_tinyalsa" -->
<!-- remove-project name="CyanogenMod/android_external_ffmpeg" -->

I think you must remove them on purpose, which may couse problem somewhere.
[RAZR i Android Development] Hazou:
Eeh, how did u install it before then?

Ye, my bad. Haven't looked at the manifest for some time. I don't even use it :P I will update my android folder in a few days, so it is easier to get all stuff.

U will need both of those folders to get working. For ffmpeg u also will need a new compiler. But if u are a bit handy, it suits itself.
[RAZR i Android Development] :
The same way. Even with this error everything works.
[RAZR i Android Development] Hazou:
don't know then. Maybe u can flash it right from android itself. or that flasher app some user suggested.
[RAZR i Android Development] :
I reflash TWRP with rashr.

It seems to work.
[RAZR i Android Development] Hazou:
Done xD, But this is more for fun and exploring (takes away a hell of a lot of time tho) :D

Oh Omar, can u have a look at this: https://github.com/ZenfoneArea/android_kernel_asus_zenfone5

This contains the common intel 3.10 kernel that is supposed to support mfld. We should in theory only need to add our specific device drivers like the camera and sensors and we should have a 3.10 kernel. It builds, but doesn't work yet, because of the missing parts.
[RAZR i Android Development] lebobo:
I have a force close with latest Soundhound app 6.3.3A... I tried to wipe app data but still same issue... Here is the logcat if someone can find a solution :

---- 15 déc. 2014 11:15:40 ----

12-15 11:15:18.854 32214 32214 E AndroidRuntime: Process: com.melodis.midomiMusicIdentifier, PID: 32214

12-15 11:15:18.854 32214 32214 E AndroidRuntime: java.lang.UnsatisfiedLinkError: Couldn't load dominantcolors from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/com.google.android.maps.jar", zip file "/data/app/com.melodis.midomiMusicIdentifier-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.melodis.midomiMusicIdentifier-2, /vendor/lib, /system/lib, /system/lib/arm]]]: findLibrary returned null

12-15 11:15:18.854 490 502 W ActivityManager: Force finishing activity com.melodis.midomiMusicIdentifier/com.soundhound.android.appcommon.activity.NoActionBarShadowPMSActivity

12-15 11:15:19.354 490 507 W ActivityManager: Activity pause timeout for ActivityRecord{43b19c60 u0 com.melodis.midomiMusicIdentifier/com.soundhound.android.appcommon.activity.NoActionBarShadowPMSActivity t44 f}

12-15 11:15:20.424 490 501 W ActivityManager: Scheduling restart of crashed service com.melodis.midomiMusicIdentifier/com.soundhound.android.appcommon.search.SoundHoundMusicSearchService in 1000ms

12-15 11:15:20.884 32452 32474 E Crashlytics: Failed to retrieve settings from https://settings.crashlytics.com/sp...ps/com.melodis.midomiMusicIdentifier/settings

12-15 11:15:20.974 32452 32475 E Crashlytics: Failed to retrieve settings from https://settings.crashlytics.com/sp...ps/com.melodis.midomiMusicIdentifier/settings

12-15 11:15:21.704 490 507 W ActivityManager: Activity pause timeout for ActivityRecord{4334a1a0 u0 com.melodis.midomiMusicIdentifier/com.soundhound.android.appcommon.activity.HomePageActivity t44 f}

---- 15 déc. 2014 11:15:40 ----
[RAZR i Android Development] Hazou:
I see the bug. The app is installed as x86 like it should. But the app itself is calling arm files which it didn't install. Why it does that, no idea. But i think i can solve that.

Because if i manually copy paste the x86 libs and the missing arm lib from armeabi-v7a to the app-lib folder of the app, it works great.
[RAZR i Android Development] FourOne82:
Anyone has problems with Apollo? I have a force close when I open any album - playing music is working, but I can't navigate to any album.

Can someone confirm that?
[RAZR i Android Development] Lucki_X:
Thank you for your great job Hazou. ROM works fast and smooth.

NFC doesn't work for me and TiBu doesn't work properly but it's probably coused by SuperUser.

I'm noob in CM. Just one question. Why is there an emulated SD card created?

I have same problem. I tried another music app and similar problems.