yashsingh1/xdaforums huggingface dataset:
[RAZR i Android Development] Igorhcc:
Dude, what did you do to install Magisk? I just tried to install the latest Magisk from the oficial topic here in XDA and I got a bootloop in the bootloader screen in my Razr i...

Edit: My device just keep bootlooping in the bootloader screen, even before a full wipe and ROM installation! Anyone faced this issue? Any idead to solve it, [MENTION=4479363]Hazou[/MENTION]? I was so happy to bring my Razr i back to life, and now I got this...

Edit 2: I sucessfully installed the CM11 ROM, but after that, I tried to install LOS14 again and no luck, got bootloop in bootloader screen.

---------- Post added at 06:26 PM ---------- Previous post was at 05:30 PM ----------

You got bootloop at the bootloader screen? Because I tried to flash magisk and now the phone is stucked in the bootloader logo... I tried fixing contexts in twrp too, but with no luck.
[RAZR i Android Development] godoy.rafa:
Does anyone have latest CM11 download link?
[RAZR i Android Development] Tamsta_T:
Download links on the first page ;)
[RAZR i Android Development] godoy.rafa:
Not for CM11...
[RAZR i Android Development] Igorhcc:
Are you using the LOS 14? I was using it, but after I tried to install Magisk trough TWRP, I got a bootloop, and now, everytime I try to flash the LOS ROM I got bootloop in Bootloader screen. The interesting fact, is that the CM11 boots normally... This bootloop is driving me crazy!
[RAZR i Android Development] Mitezuss:
Hi, the Lineage 11 of 1.10.17 is working fine.

Anyway, im waiting a new release for format my phone :d, hope [MENTION=4083040]hanzou[/MENTION] keep with the rom :)
[RAZR i Android Development] ManoBros:
amazing, thx!

i unlock the boot lodader,

install last fastboot (motoboot)

flash twrp via fastboot

and install this!

very fast android 7 on Razr i!

:)
[RAZR i Android Development] gabyzen:
any update?
[RAZR i Android Development] Mitezuss:
maybe hanzou will back on november like the past year... i. think.. he is busy
[RAZR i Android Development] vimesUK:
Having just needing to use the RSD ?Lite tool to install JB on my XT890, and now stuck at that, is there any downloads available for that version of 11...?

Or this one, being the last to be made....?

Latest-Rom: lineage-11-20180323-UNOFFICIAL-smi.zip

The first post seems to no longer link to the Lineage 11 anymore.

Thanks
[RAZR i Android Development] Mitezuss:
Check the GitHub of Hazou:

lineage-11-20171027-UNOFFICIAL-smi.zip

https://github.com/HazouPH/android_device_motorola_smi/releases
[RAZR i Android Development] vimesUK:
Thank you for that.

I should have mentioned that I saw that but as I have never compiled for the GitHub, and only just managed to recover my phone from being kinda corrupted, I would not feel confident in trying to do so and flashing my phone.

Thanks again for being helpful and much appreciated :)
[RAZR i Android Development] Mitezuss:
on github there are compiled version too
[RAZR i Android Development] vimesUK:
Found one......released this on 27 Oct 2017

lineage-11-20171027-UNOFFICIAL-smi.zip

many thanks :)
[RAZR i Android Development] brodo:
Since the March version (lineage-11-20180321-UNOFFICIAL-smi) is only available as source code, is there a way to self-compile a zip-file?

edit:

I found this Tutorial for building Android ROMs https://xdaforums.com/showpost.php?p=54118614&postcount=2 which requires installing Java 6 JDK for KitKat.

Now the problem is: Java 6 is not available anymore without an unfree Oracle Support account (http://www.webupd8.org/2017/06/why-oracle-java-7-and-6-installers-no.html).

My Question

: Is "Oracle Java 6 JDK" a must have for building KitKat ROMs or could I use a newer version (in this Tutorial OpenJDK is marked as wrong and being removed beforehand)?
[RAZR i Android Development] DiveShower:
holy **** xD , thank you, this is unbelievable

Mod edit: Please refrain from quoting the whole OP. Thanks.
[RAZR i Android Development] vimesUK:
^^^^^ It is indeed very nice and welcome to the forums :)

There is no need to quote the first post in its entirety tho :)
[RAZR i Android Development] brodo:
I am trying to compile the latest LineageOS 11 from source (23 March version) but while building (mka bacon) I always get stuck with this error:

/bin/bash: ../../prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/bin/x86_64-linux-android-gcc: no such file or directory
make: *** [external/powertop/css.h] Error 127

Yet the file "x86_64-linux-android-gcc" and the whole path as statet above IS in my buildroot. Can anyone tell me why this error happens and what I can do about it? Didn't find anything useful so far...

Except some hints like "adding my toolchain to PATH variable". But what and where exactly is that toolchain? I added my buildroot as PATH-variable (like so "export PATH=~/cm11:$PATH") which didn't change anything.
[RAZR i Android Development] nicname99:
Hello everyone, I'm having some trouble to boot with this ROM.

I had some problems with installing the lastest TWRP that [MENTION=4479363]Hazou[/MENTION] provided but was solved using mfastboot to install it.

The installation steps (gapps and the rom) inside TWRP doesn't mark any problem.

The only thing in my mind is the bootloader, here I give the code that appears me in the CMD:

fastboot.exe flash motoboot motoboot
(bootloader) Variable not supported!
target reported max download size of 104857600 bytes
sending 'motoboot' (23273 KB)...
OKAY [ 2.618s]
writing 'motoboot'...
(bootloader) flashing image dnx...

(bootloader) flashing image ifwi...

(bootloader) flashing image bos...

(bootloader) flashing image logo...

(bootloader) flashing image ulogo...

OKAY [ 3.696s]
finished. total time: 6.316s

I don't know if the change is correct or not.
[RAZR i Android Development] hank34567:
Hi guys and girls, oldtimer here trying to save my perfectly good moto razr i from becoming redundant due to many of my apps now not supporting kitkat

Have spent 3-4 hours reading up on this and trying to get my head round terminology. I'm being confused by the order of doing things. My main concern is to make a recovery first so when things go wrong I have something to go back to. But it seems to make a recovery my phone must be rooted and bootloader unlocked which would wipe my phone before i can make recovery? I'd be very appreciative if someone could tell me in 6-10 steps the things i must do.

My confusion is the order to root/ downlaod motorola drivers, install fastboot and adb, unlock bootloader, install twrp and make recovery. I feel once my phone is rotted, and bootlaoder unlocked and twrp installed, the rest i understand.
[RAZR i Android Development] gabyzen:
1_ The first thing to do is Unlocking bootloader, you can see others guides for that. This step is going to wipe all your phone so you need to do recovery of important things first (like Photos or Random stuff).

2_ Install Twrp or Cwm (twrp is recomended) and do a Full backup of your device

3_ at this point you can Install a custom rom. You dont need to root your device.
[RAZR i Android Development] hank34567:
Hi, thanks for taking the time to reply.

Your post illustrates succinctly my confusion. Step 2 says install twrp and do a full back up, but have we not already wiped the phone according to step 1, therefore have nothing to back up?

Thanks
[RAZR i Android Development] gabyzen:
Yep. After step 1 the device its gonna be wiped at all, but you still need to do a backup with twrp because if you mess up with something you can easily roll back to stock android with this backup. Sorry my english

Edit: If you already use Rsd lite to install stock android in your phone maybe doing the backup with twrp its not necesary
[RAZR i Android Development] foremi:
I had bootloop issues with it never getting past the "bootloader unlocked" screen after flashing in twrp. What worked for me was to update the bootloader like you posted, then reflash twrp, format data then system and finally flash lineage 14.1.

Now it boots lineage just fine it did however take a very long time to first boot.
[RAZR i Android Development] nicname99:
Maybe I didn't give it time as I expected.

Recently I switched my Lineage 8.1 in my Moto G3 to a 9.0 and was a long wait to see it working.

I thank you for letting me know this, I don't think I will need to make the change in the short term.
[RAZR i Android Development] foremi:
Yeah, I think it took nearly 10min for that first boot. It did switch from the bootloader warning to the lineage animation like normal so you would know if it was trying or not. Performance is actually pretty decent considering its a 6 year old device.
[RAZR i Android Development] Retch_100:
Is there a way to eable otg? I tried several otg cables, but it won't work.
[RAZR i Android Development] ManoBros:
Please LineageOS 11

Latest-Rom: lineage-11-20180323-UNOFFICIAL-smi.zip

download link ????????
[RAZR i Android Development] Tamsta_T:
Here you go: dropbox
[RAZR i Android Development] chuckiebronco:
Did anyone manage to use google pay on LOS 14.1?

I just can't pass safetynet, which i think is due to the moderat/permissive SE and/or the missig Playstore certification. Even with magisk the CTSprofile is marked false. Trying to register the device on google doesn't seem to work, at least the state didn't change yet to certified...

Clean flashed LOS11 does pass safetynet, but unfortunately google pay is marked as not supported in playstore and i dunno if i want to install it from doubtable sources.

Any help on this appreciated!
[RAZR i Android Development] Igorhcc:
[MENTION=1085304]chuckiebronco[/MENTION] when I had the Lineage 14.1 I was able to use all features, including Google Play... But after I tried to Install Magisk I get a strange bootloop, and now everytime I try to install LOS14.1, I get bootloop while booting up...

Do you successfully installed Magisk? And do you have any idea to help me to Install this ROM in the device? I can only install CM11 in my Razri...
[RAZR i Android Development] Igorhcc:
Everytime I try to Flash Gapps I got a strange bootloop, freezing the bootloader unlocker warning. Anyone can give me a tip?
[RAZR i Android Development] chuckiebronco:
Strange, my Safetynet fails, can't use Google Pay with nfc (not Google Play!). :crying:

Magisk just installs fine here on latest 14.1 LOS, takes a few more minutes to boot on 1st time though. Be sure to have latest TWRP recovery.
[RAZR i Android Development] Igorhcc:
Which GApps are you using? I tried several but everytime I flash GApps I got bootloop at the unlocked bootloader warning message... And about TWRP, wich version is the latest for the RAZR I, where I can find it? Thanks in advance.
[RAZR i Android Development] :
Has anyone been able to pass safetynet on 14.1? I reflashed a few times with and without magisk with no luck. Basic integrity check fails in both the magisk checker and a couple of safetynet checker apps.
[RAZR i Android Development] chuckiebronco:
Sadly, no. Think it's due to the non-certified playstore. Can't get basic integrity working. Even tried some magisk masking modules...
[RAZR i Android Development] Subhrajit Das:
I use the custom rom lineage os 14.o unofficial for last 1 year....recently 1 problem arise in my phone... Suppose when phone is running with youtube or other app... automatically phone open the uc browser or chrome app......plz help me what to do....
[RAZR i Android Development] Igorhcc:
Sir where did you get and which one is the last motoboot for the razr i?
[RAZR i Android Development] victorsv:
how is the installation done?

Zip content on Github is non-standard and TWRP does not recognize

++++++++

como é feita a instalação?

o conteudo do zip no Github é fora do padrão e o TWRP não reconhece
[RAZR i Android Development] Hazou:
Hmm, i do like tot fix that, but no idea how. NFC I working fine on my phone. No problems at all.

I cannot try to fix things I can't reproduce. If u can find me a way to reproduce it, I can give it a shot.
[RAZR i Android Development] guiperc:
Camera Frontal in Video recorder stop

Hi Guys,

I saw the video recording when using the front camera the app stops working.

Someone had the same problem?

Thanks! :confused:
[RAZR i Android Development] Burn02:
I am upgrading the version on my server. Just the time to upload it to it. ;)

EDIT: done.
[RAZR i Android Development] balthor80:
Thanks a lot Hazou !

For me : very smooth, good battery life, no "important" bug

--> awesome work :good:
[RAZR i Android Development] :
Got the same: download Google Camera .

---------- Post added at 08:36 PM ---------- Previous post was at 08:35 PM ----------

I don't have problems with NFC but with wifi yes (worse signal strength/speed)
[RAZR i Android Development] BoredDude:
Guys, someone else experiencing missing clock in status bar when it's centered? the release version didn't have this problem and when i updated it suddenly went missing

Using nova launcher, no gravity box and xposed flat style colored bars.

Otherwise, battery life is way worse than jb with data and wifi usage, but better than in stock KK.

Keep up the good work hazou!
[RAZR i Android Development] sjm18:
Thanks Hazou, a very fast and stable rom so far.

The only rare thing I have is on the gallery. The pictures in the internal storage appear twice on the gallery. I don't know why.
[RAZR i Android Development] niksy+:
The disappearing centered clock is a known CM bug - https://jira.cyanogenmod.org/browse/CYAN-5524 ;)
[RAZR i Android Development] Hazou:
Yep, wifi doesn't have the powersaver settigns enabled. I hope to enable them when i have a working kernel source. Trying out 3.10 at the moment, but without the official one from moto, i am just trying around.

The way i preserve battery power is to use wifi when i need it, it is fast in connecting so i don't mind that. And set my data connection to 2g. 2g is still fast enough for email and whatsapp. If i need to have it faster i just switch it, takes about 5-15 sec.

I get more than 2 days by doing this (if charged with a wall charger, with usb from pc just 1-1,5 day) and i can do anything with it.

Maybe because of the multiple symlinks in this rom. U could try to remove the symlink/folder sdcard0 from the storage folder and see what happens.
[RAZR i Android Development] DNABelphegor:
progress

Thanks, that's quite a good idea, actually, I've been trying it out and so far it seems that the xposed module incompatible with this ROM is GravityBox, since it throws a warning on its first launching which says it may cause unknown troubles when running on modified roms (such as CM) , after reading that warning (which didn't show up or I didn't see the first time I installed it) I procceeded to deactivate and uninstall GravityBox and haven't had ny issue after that.

Fortunately, there are plenty of xposed modules that cover each one a couple of the features in gravitybox, so I won't be missing it if I disregard it; still, I'm not yet fully confident it will work so I'll keep trying each of my favorite Xposed modules in order to be 100% sure, as always, I'll keep posting.
[RAZR i Android Development] DML.84:
Hi hazou, the last release work fine...but only problem is the drain battery with wifi..can u fix next release? Thanks for your effort..cheers
[RAZR i Android Development] acmalko:
Hi, thanks for this job :)

In my case, wifi still drain 5% battery but it's off (I've checked the battery stats only 2min)

I also have the feeling that charging the battery take more time but I can't proove it. I'm not sure

That's all for me and I'm very happy :good:
[RAZR i Android Development] lebobo:
NFC issue

Hi [MENTION=4479363]Hazou[/MENTION],

Maybe it could help you regarding NFC issue :

I can enable NFC but when it is enabled it is still greyed until I reboot like this screenshot :

When I try to click on the greyed checkbox, I get this erreor from logcat :

E/NFCJNI ( 798): emergency_recovery: NFC stack dead-locked

I tried to enable NFC when WIFI, DATA and BT are disabled to see if it is not a conflict problem but I still have same issue : NFC option can be enabled but it doen't work and it is greyed until next reboot...

I also tried to wipe data of the app "com.android.nfc but still same issue :

If you wish I made more tests please keep me informed.
[RAZR i Android Development] Hazou:
Thanks for his. I have the feeling that the firmware is not downloaded properly (notice from other devices). Can u test a clean install, logcat everything from the beginning and test nfc. Be aware that the phone shutsdown the adb connection 1 time at first boot. So make sure u have a second logcat command ready with a different got to file off-course. Send all the logcats to me ;) Make sure u have a data connection. NFC starts from first boot (need to switch that off...)
[RAZR i Android Development] lebobo:
OK, I'll test it with a clean install and send feedback to you. Maybe I can do another test : you could send me the firmware and I'll copy it in the right path...
[RAZR i Android Development] Hazou:
Ye the firmware file. It is the libpn544_fw.so. I just noticed that it is maybe in the wrong place. Can u copy it from system/lib/libpn544_fw.so to system/vendor/firmware/libpn544_fw.so and then give it proper permissions. Look at the original file but most likely 644. Then just reboot and maybe format cache.

Let me know!
[RAZR i Android Development] lebobo:
I have no /system/vendor/firmware folder then I copied libpn544_fw.so file from /system/lib to /system/vendor/lib and after reboot : same issue.

FYI, I got this error and it should be help us to solve the other issue regarding "airplane mode" :

W/Settings( 803): Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value.
W/BroadcastQueue( 491): Permission Denial: broadcasting Intent { act=android.nfc.action.ADAPTER_STATE_CHANGED flg=0x4000010 (has extras) } from com.android.nfc (pid=803, uid=1027) is not exported from uid 10104 due to receiver com.painless.pc/.CommandReceiver
[RAZR i Android Development] Hazou:
Ok, do it again, but make the folder system/vendor/firmware at place it there. If it still not works after a reboot, give ma also the audit.log in the data/misc/audit folder. And if that doesnt work we can try the clean install again
[RAZR i Android Development] lebobo:
Hazou, I created the /system/vendor/firmware and I copied the file into this directory but same issue.

Here is the content of my audit.log file :

type=2000 msg=audit(1418816237.270:1): initialized
type=1403 msg=audit(1418816239.799:2): policy loaded auid=4294967295 ses=4294967295
type=1404 msg=audit(1418816239.809:3): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295
type=1400 msg=audit(1418816242.479:4): avc: denied { open } for pid=126 comm="ueventd" name="wl1271-nvs.bin" dev=mmcblk0p17 ino=187342 scontext=u:r:ueventd:s0 tcontext=u:object_r:system_data_file:s0 tclass=file
type=1403 msg=audit(1418816242.759:5): policy loaded auid=4294967295 ses=4294967295
type=1400 msg=audit(1418816323.168:6): avc: denied { execute } for pid=2805 comm="IntentService[R" name="su" dev=mmcblk0p16 ino=47122 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:su_exec:s0 tclass=file
type=1400 msg=audit(1418816323.168:7): avc: denied { read open } for pid=2805 comm="IntentService[R" name="su" dev=mmcblk0p16 ino=47122 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:su_exec:s0 tclass=file
type=1400 msg=audit(1418816323.168:8): avc: denied { execute_no_trans } for pid=2805 comm="IntentService[R" path="/system/xbin/su" dev=mmcblk0p16 ino=47122 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:su_exec:s0 tclass=file
type=1400 msg=audit(1418816323.228:9): avc: denied { write } for pid=2806 comm="su" name="server" dev=tmpfs ino=1673 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:device:s0 tclass=sock_file
type=1400 msg=audit(1418816331.408:10): avc: denied { connectto } for pid=3008 comm="Thread-278" path=002F646174612F646174612F636F6D2E657374726F6E67732E616E64726F69642E706F702F66696C65732F636F6D6D2F73755F706F7274 scontext=u:r:untrusted_app:s0 tcontext=u:r:init_shell:s0 tclass=unix_stream_socket
type=1400 msg=audit(1418816356.788:11): avc: denied { getattr } for pid=3473 comm="Thread-280" path="/data/system/users/0/wallpaper" dev=mmcblk0p17 ino=325822 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:wallpaper_file:s0 tclass=file
type=1400 msg=audit(1418816504.288:12): avc: denied { getattr } for pid=3908 comm="Thread-283" path="/data/system/users/0/wallpaper" dev=mmcblk0p17 ino=325822 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:wallpaper_file:s0 tclass=file
type=1400 msg=audit(1418816536.538:13): avc: denied { connectto } for pid=4048 comm="Thread-382" path=002F646174612F646174612F636F6D2E657374726F6E67732E616E64726F69642E706F702F66696C65732F636F6D6D2F73755F706F7274 scontext=u:r:untrusted_app:s0 tcontext=u:r:init_shell:s0 tclass=unix_stream_socket

I'll try to do a clean install this afternoon if I have time... :(
[RAZR i Android Development] Hazou:
The audit doesn't report anything suspicious. If u do the clean install, do a normal one and check and if u can do another one, while after install (still in recovery) push the libpn544_fw.so to the system/vendor/firmware directory in recovery. Make sure the permissions are 644.
[RAZR i Android Development] chuckiebronco:
Second Device updated to CM11 (14.12.) with latest CWM worked flawlessly. Though i get no WLAN, can someone please tell me where to find the fix-mac.sh? thx!
[RAZR i Android Development] roymental:
Most of the Gravity Box options are a part cyanogen11 anyway (they say the same in their infos). Possibly the XBlast module is the most convenient for you if you go for additional stuff like nav bar and status bar modifications, an expandable app bar, visual tweaks and so on. Or "Advanced Power Menu +" has some useful tweaks too for the power menu.... :)

cheers!
[RAZR i Android Development] Hazou:
Yep, that is possible. Both devices have the same MAC now and that won't work.

This will be updated in next release.

How to fix it:

- Use the file explorer of cyanogenmod. Give it root rights. Everybody has this, so easy to explain.

- go to system/bin

- search for the file fix-mac.sh

- open it and edit the line "PDS_NVS_BIN=/pds/wifi/wl1271-nvs.bin" to "PDS_NVS_BIN=/pds/wifi/nvs_map_mac80211.bin" and save it

- now open properties of the file and check in permissions everything (777). It should be 755. but this is simple to explain.

- now remove the file system/etc/firmware/ti-connectivity/wl1271-nvs.bin

- restart your device and it should fix your problem.
[RAZR i Android Development] chuckiebronco:
Thanks alot, will try!

Edit: Thanks again, worked perfectly! 1st device got the right hardware Mac back, and the second one finally got a mac (also the right hw one).

Sorry, made myself not too clear in the last post. The second device did not get a Mac address at all after install.
[RAZR i Android Development] lebobo:
[MENTION=4479363]Hazou[/MENTION],

As promised, I made a from scratch install after a full wipe + formatting system, data, cache and dalvick cache partitions... I still have no NFC...

I launched a logcat during all installation + during first reboot + waiting about 5 minutes... (my device had access to internet with DATA during all the procedure).

In the logcat file I see I :

D/NFCJNI (1181): NFC capabilities: HAL = 8150100, FW = b1011a, HW = 620003, Model = 1, HCI = 1, Full_FW = 1,
...
E/NFCJNI (1181): Unable to update firmware, giving up

FYI you can download my full logcat here : http://goo.gl/FJjB1p

Could you please confirm that MD5 of the file libpn544_fw.so is the same as mine : ea7be5adb41eb51754c02576193d659c

I hope it could help you !
[RAZR i Android Development] s4sch4:
btw... i think the Speaker is quieter as before on 4.1.2... Could it be - or i'm the only one who thinks like that?