yashsingh1/xdaforums huggingface dataset:
[RAZR i Android Development] chuckiebronco:
Also experiencing issues with the superuser. At first it worked normally, but while installing more apps, i cannot click on the button to grant su permission. Denial works though. ;)

Set the su app to grant all until all apps were installed. So minor bug for me.

If we somehow could get rid off the airplane mode bug (no signal afterwards) the rom would almost be perfect!
[RAZR i Android Development] zBLacKy:
Okay, Thank you! :good:
[RAZR i Android Development] adrex9:
i'm using twrp 2.8.0.0. The problems is that i can't do annything on th pc to fix it cuz it doesn't recognize my phone.
[RAZR i Android Development] highjagger:
sounds like the battery is dying

hi,

i had the same issue some month ago. i changed to battery which helped. you might search backwards for a more detailed description.
[RAZR i Android Development] hirntot.:
hi guys!

just a short question about the LOS13 acutality. I am planning to prepare my recently bought Razr i for daily usage soon. Does it make sense to wait for the LOS13 build? or will that take some more months? or will I get an OTA-update when it is released anyway?

cheers
[RAZR i Android Development] roymental:
I had exactly the same problem but it was at 39%...
[RAZR i Android Development] je_rem_y:
Did you replaced the battery ?
[RAZR i Android Development] Moto1987:
On the latest build "poweramp" crashes everytime when i opened it. everything else runs perfect.
[RAZR i Android Development] roymental:
yeah, I replaced the first battery a while ago. This one should still in good state, for it isn't too old...

It broke down when it was around 8 or 10 ° C outside. But last time I experienced that effect was in deep winter (below 0°C) with a stone-age motorola razr flip phone... :) (which I still would love to use...but the battery is a real problem... :)
[RAZR i Android Development] Scrluiz:
LOS13/wifi not working guys and no MAC number, any solution? yea it is a beta testing, but still... :(

fixed

but now, root access isn't working, SuperSU zip isn't findind boot image and root LOS x86 zip isn't working too, any solution for this?
[RAZR i Android Development] julianwi:
Try this flashable zip. I built the included su binary myself using the official lineage source.
[RAZR i Android Development] taurui:
Same problem here. Any fixes for that coming up? Would be great... :)
[RAZR i Android Development] Hazou:
can u make a logcat about it?
[RAZR i Android Development] taurui:
03-29 23:10:03.986 I/Timeline( 1791): Timeline: Activity_idle id: android.os.BinderProxy@21e12fa8 time:533448

03-29 23:10:05.756 I/Timeline( 1791): Timeline: Activity_idle id: android.os.BinderProxy@21e0e874 time:535214

03-29 23:10:07.326 I/am_on_paused_called( 1791): [0,com.nolanlawson.logcat.LogcatActivity]

.... am I doing it wrong? ^^
[RAZR i Android Development] Hazou:
yep :P

have a commandline open on your pc. and the app closed "terminated" on your phone.

Start logcat and pass the log to a text file like this: "adb logcat > crash.txt"

Then start the app, wait for it to crash, terminate the logcat command. and attach the "crash.txt" to a new forum post
[RAZR i Android Development] taurui:
Ok, next try...
[RAZR i Android Development] roymental:
Exactly the same with me. Changed to VLC until problem is fixed. Tried some other music apps... They crashed too, only VLC was ok...
[RAZR i Android Development] Hazou:
Did it work on an earlier version on the rom? It seems the app is trying to access data beyond what it may access and the kernel gives an error.
[RAZR i Android Development] roymental:
Yes , I used to listen to music with power amp but it was a while ago. Hadn't used my Razr for a year or so...

---------- Post added at 06:48 AM ---------- Previous post was at 06:38 AM ----------

Yes , I used to listen to music with power amp but it was a while ago. Hadn't used my Razr for a year or so...
[RAZR i Android Development] taurui:
To be honest, I am not sure... if you want, I can install an earlier version of LineageOS and try again. PG is still not working, btw - I installed the root switch apk and turned root off. Didn't work. I then went into developer options and deactivated root there (all options were visible). Didn't help either.

Now when I activate the root switch it tries to activate root, but fails, and the switch is on disabled again... :(
[RAZR i Android Development] Hazou:
Has nothing todo with root. It maybe has something to do with the new DVM PCG implementation or with some audio changes.
[RAZR i Android Development] .-083:
Am I the only one having Whatsapp crash everytime while trying to do a chat history backup to internal sd card? (on lineage-11-20170227-UNOFFICIAL-smi.zip)

This didn't happen in lineage-11-20170128-UNOFFICIAL-smi.zip
[RAZR i Android Development] julianwi:
PokemonGo works for me on both, cm11 and cm13. I'm using microg. It can pass safetynet on rooted devices (with a little patch). So I didn't need to use rootswitch at all.
[RAZR i Android Development] taurui:
Can you elaborate on what I need to do for it to work? :)
[RAZR i Android Development] julianwi:
Just make sure you have no system modifications like xposed. Uninstall all. Install opengapps or microg. Remove su files with RootSwitch or using TWRP. You can test with this app SafetyNet Helper Sample. It must show "basic integrity: true". If you can't get the basic-integrity try reinstalling the rom.
[RAZR i Android Development] SharpBang:
I've installed latest LineageOS 11 on my xt890 and it is loop stucked at Warning Bootloader Unlocked screen for about 2 minutes then it loop.

Could anyone help me? It only works if I flash a stock ROM again.
[RAZR i Android Development] Hazou:
If it doesn't go past that screen, it doesn't even boot.

What u can try is get the last kernel log. Or does ADB recognize the device when it looks like it is booting?

For the last kernel log: after the failed boot, boot into recovery. Get the last_kmsg with the adb command:

"ADB shell cat /proc/last_kmsg > last_kmsg.txt"
[RAZR i Android Development] cynric:
Is NFC broken for anyone else? I can not enable it, neither via settings nor via the status bar button. Did a full wipe, updated to the current version (from one of last fall or so), but no change. Tricking it into working by enabling NFC then rebooting before the timeout occurs does not help either..
[RAZR i Android Development] SharpBang:
I'll try to get last kernel log later because I need fully functional phone during work. I didn't notice ADB recognizing at boot, because I didn't tried either.

I may feel mandatory to share following behaviors after trying to install LineageOS and CM11:

I am using latest TWRP 3.0.2 from Hazou

after flashing, (both LineageOS 11 and CM11) I get stucked at Warning Bootloader Unlocked screen, then it loops around it.

The only way to get the phone functional again is to flash stock ROM.

I was trying to flash Lineage and CM11 from stock 4.1.2. I'll try later from 4.4.2, with a leap of faith that will work. Because before I was on 4.4.2, then I downgraded to 4.1.2, then flashed to Lineage/CM 11.

I have notice a warning on fastboot saying that:

dismatched partition entry array crc32

E:Invalid ulogo OSIP entry

E: ulogo validation failed - show correct ulogo

I don't know if these errors are related to Lineage/CM 11 flashing, but what I've discovered is that when I was on 4.4.2 and switched back to 4.1.2, the partition wasn't matching anymore, causing crc32. Please correct me if I am wrong.

I have following doubts:

may I have more success flashing from 4.4.2?

should TWRP 3.0.2 work on I have to flash from specific TWRP version?

What if I flash without wiping System partition?

---------- Post added at 01:45 PM ---------- Previous post was at 01:28 PM ----------

So, I managed to make it WORK!

I flashed from 4.4.2, and everything worked flawlessly! I think the problem with Warning Boodloader Unlocked loop and fastboot errors warnings (crc32, and ulogo) are because partition of stock 4.1.2 is different.

So after I updated to 4.4.2 and flashed again, everything worked!

Thx, [MENTION=4479363]Hazou[/MENTION]
[RAZR i Android Development] Hazou:
I don't know why, but for some it can't download the required firmware iirc. So the rom has a build in firmware, but that one is disabled (because of the downloading of the firmware works almost all the time, and the builtin firmware can give broken nfc for most). To enable it, rename in the folder "vendor/lib" the libraries "libpn544_fw.bak" to "libpn544_fw.so". Let's try that
[RAZR i Android Development] cynric:
Thanks Hazou,

found it in "system/lib", but it doesnt change a thing. Also copied the renamed lib over to "vendor/lib", but no luck either. Gonna install Catlog later and see if there is anything useful in the logs..
[RAZR i Android Development] cynric:
It was like you said, the NFCJNI tries loading the firmware 3 times, fails (with file not found without the lib, without any detail message with the lib), disables the stack.

I experimented with different versions of libpn544, but no game. The only way I finally could get NFC to work again was by restoring a Stock 4.4.2 Backup from the forum (in which it works well) and then reinstalling CM over that. Now for some miraculous reason it works even there...
[RAZR i Android Development] je_rem_y:
The battery of my razr i has died. I replaced it and it work again but the power percentage is wrong.

I think it's because the calibration is wrong due to old battery. Is there a way to fix the battery calibration ?

Thanks !
[RAZR i Android Development] Hazou:
Could be because of the calibration data, but that will sort itself out. My device has also a battery error, but that's the battery itself. It always stays on 49%. It still charges, the only way to know if it has enough juice in it is to check the voltage in the battery.

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

New update

17 April

Security updates from April 2017

Working on a new camera driver, so we can release a better marshmallow update. Camera is very slow with old drivers, so want to get the new ones working, but that takes much time.
[RAZR i Android Development] je_rem_y:
Ok thank you. Can you tell me how you check the battery voltage ?
[RAZR i Android Development] Hazou:
/sys/class/power_supply/max170xx_battery

Under that directory can the voltage of the battery be found as well as many other parameters of the battery.

Also the kernel log, logs the battery voltage. Do know that the voltage isn't off course in percentages. How higher the voltage, the more juice has the battery left.
[RAZR i Android Development] test_user7:
Hi,

I'm wondering if it is possible to activate option available in some KitKat ROM's to use external sd card as primary?

Thanks Hazou for the next update!

Regards,
[RAZR i Android Development] Hazou:
I don't know for sure if it is possible on our device (it's main function is for low memory devices I think), but will have a look at it.
[RAZR i Android Development] rony raj:
if not work then try

solar waretz xposed cm11

with xinternal sd module

select app in module and done

it works like a charm

hit thumbs up if i helped you
[RAZR i Android Development] je_rem_y:
Thanks. According to the /sys/class/power_supply/max170xx_battery/voltage_now file the voltage is 3287500. The phone says that the battery is at 86%. Do you think it's correct ? It surprise me because I changed the battery 36h ago and I didn't charge it since.
[RAZR i Android Development] ladiko:
Hi, i installed lineageOS over an 2016er CM11 version and still have the CM11 boot screen - is that on purpose?
[RAZR i Android Development] je_rem_y:
Well the phone shutdown a few minutes after my post :)

I recharged it while off but it only charged to 87%. After a few hours of charging I rebooted it and it was at 99% but dropping quickly now...
[RAZR i Android Development] je_rem_y:
The phone shutdown again because it reach 0%. If I reboot it, it shutdown as soon it finish to boot. In fastboot (I guess) the voltage is at 4.2v.

Can a clean flash help ?
[RAZR i Android Development] Hazou:
Yes and no, there was a commit about changing the bootimage, but some were against it. LOS11 is at its end. The small updates it gets are security updates by the community. All other updates are abondened or take long to get merged.

I have no clue. Could also be a hardware failure? The voltage on mine are when fully loaded around 4.2*. When almost no charge they drop somewhere below 4.
[RAZR i Android Development] je_rem_y:
A clean install doesn't change anything. On mine too, when fully loaded the voltage is around 4.2v. It seem that 3.2v is near 0%.

I noticed that with the new battery in twrp the cpu temp is around 429000000°C ! I think the value is wrong :D and the battery temp is at -20°C, wrong too...

I put the old battery back. The phone boot and seem to work for now. The cpu and battery temp are ok now (around 27°C both). The percentage seem wrong, it's still at 100% whereas the voltage is at around 4v.

There is something weird with this phone...
[RAZR i Android Development] zwan33:
Hazou! Thanks a lot for keeping this up to date!

I just checked out the 20170227 Kernel and it seems to have the same problem that I mentioned with the first version of the 20170130 version (post#2105)... There's only 2 governors and 3 IO schedulers and the device doesn't go to deep sleep... Currently, there's no working kernel in the download section.
[RAZR i Android Development] Hazou:
He? Okey. Will look into this in the next few days
[RAZR i Android Development] je_rem_y:
I found that my battery (the stock one) work well but it's the percentage that's wrong. With a new battery and a clean install it's the same. I tried to follow these steps but it's still the same.

Is there a way to reset the battery percentage ?
[RAZR i Android Development] Tamsta_T:
Nobody found it yet :) It takes couple of weeks for phone to recalibrate after battery replacement; if you can't live without your phone, flash 4.1.2 firmware.
[RAZR i Android Development] Hazou:
So on 4.1.2 it always shows the right percentage?

If so, maybe there are changes between the kernel of 4.1.2 and 4.4.2 on battery code.
[RAZR i Android Development] je_rem_y:
As a workaround I use this app that display the voltage in the notification bar. 4.2v = 100% and 3.2v = 0%.

I asked him if it's possible that he add a feature to calculate the percentage of battery based on max and min voltage that an user can insert but I don't have any answer for now. If someone know an app that do that I will be happy to know it.

https://play.google.com/store/apps/details?id=com.voidgreen.voltagenotification&hl=fr

https://xdaforums.com/android/apps-games/app-voltage-notifier-t3179831#post72075776
[RAZR i Android Development] c2hOl4papEftKWoY:
xposed not working with newer releases from april and february 2017

Hello everyone and especially Hazou :),

first of all thanks a lot to Hazou for all the hard work and time and brain cells invested into bringing cyanogenmod/lineageos to our device :good:

Now, I have a problem with getting xposed to work on the newer releases (tried both lineage-11-20170417-UNOFFICIAL-smi.zip and lineage-11-20170227-UNOFFICIAL-smi).

Whenever I install the xposed installer and use it to install the xposed framework and reboot, the boot never finishes. It stays stuck at the cyanogenmod logo with the circling arrow animation. The animated arrows spin around forever, but nothing happens after that, no matter how long I wait. Is that what you'd call a boot loop? Anyway, at that point if I press the volume down button for some time I can get into safety mode and delete the xposed installer to be able to boot normally again, but I can never get xposed to work.

So, what I have done:

unlocked bootloader

flashed with fastboot the TWRP from here https://xdaforums.com/showthread.php?t=2278483

got into recovery mode, wiped everything except external sd card

installed lineage-11-20170417-UNOFFICIAL-smi.zip from recovery

rebooted into cyanogenmod/lineageos

allowed superuser for apps AND adb

allowed apps from unknown sources

allowed usb debbuging

opened a command window on my PC and checked if adb works, it did

so far all of that went flawlessly

Then I tried:

installing xposed with the tool linked at the opening post https://xdaforums.com/xposed/modules/tool-installer-xposed-installer-zenfones-t2983589 (Install Xposed, on ZenFones)

it looks fine, does what it should as far as I can see

but after I click on the "install/update" button on my phone and OK to reboot I get the problem I described above

So I tried:

flashing lineage-11-20170227-UNOFFICIAL-smi instead of lineage-11-20170417-UNOFFICIAL-smi.zip

using that tool again but with the modified xposed installer v2.6.1 by SolarWarez (renamed to v2.6.1.apk of course to work with the tool)

tried to replace the older adb that tool uses with a newer one

tried to install the modified xposed installer v2.6.1 by SolarWarez without that tool, just by copying it to the sd card and installing it from there

flashed opengapps, just to try if xposed maybe needed it

Nothing of that helped, I always get the same result.

Last resort I tried an older release cm-11-20160524-UNOFFICIAL-smi because I read here in the forums somewhere that xposed has problems with an android security patch from November 2016. xposed works flawlessy with that.

So, is xposed supposed to work with lineage-11-20170417-UNOFFICIAL and lineage-11-20170227-UNOFFICIAL-smi? Has anyone here been able to get it to work with these new releases? If so what have you done to get it to work?

Do you have any idea, why it's not working with your newer releases, Hazou? Could you please fix it? I really need xposed to work because I really need xprivacy. And I'd love to use your newer releases and not be stuck with the one from May 2016 ;).

Thanks a lot :)

PS: Will edit with a logcat if I can get it
[RAZR i Android Development] Tamsta_T:
I've never checked voltage against percent readings, but on 4.1.2 battery was discharging at a normal rate and (most important) no more percentage jumps (then battery gets discharged 20% or even more in within one minute) occurred. Sadly, my wife lost her phone in a month after battery replacement so I never had a chance to flash it back to 4.4 or CM… My Razr's battery is still working normally so I can't play with mine.

---------- Post added at 11:49 AM ---------- Previous post was at 11:35 AM ----------

You could try to install January's CM, Xposed should work fine (at least it does for me) and after, if everything is fine, just dirty flash latest CM build. Yes, that's just a workaround, but it might get you where you want to be ;)
[RAZR i Android Development] c2hOl4papEftKWoY:
Thanks a lot for your answer, Tamsta_T :). I'll try the January release then. Could you please explain what "dirty flash" means and how I would go about doing that? Thanks again!
[RAZR i Android Development] Tamsta_T:
"Dirty flash" means you just flash newer version on top of older, without wiping phone before flash or deleting any data. Basically, you:

1. Wipe your phone;

2. Install January's firmware (lineage-11-20170128-UNOFFICIAL-smi.zip)

3. Install Xposed, make sure it is working fine;

4. Install latest firmware (lineage-11-20170227-UNOFFICIAL-smi.zip)

5. Enjoy!

I went throughout all these steps and Xposed is working fine for me with latest Lineage 11 build. Hopefully Hazou :angel: will fix it in his next Lineage release :fingers-crossed:
[RAZR i Android Development] c2hOl4papEftKWoY:
Thanks!

That worked, thanks so much, Tamsta_T :good:.

One small hiccup, I had to use the "old/original" xposed installer v261 with the x86-tool with the January release. At first I tried with the one modified by solarwarez and that didn't work. But it's all good now :).
[RAZR i Android Development] M pigoli:
I tested your CM13, I liked the result of the problems (without root).
[RAZR i Android Development] Bryan5151:
I managed to get chainfire supersu working using the old /system method.

Just run this in TWRP terminal

"echo SYSTEMLESS=false>>/data/.supersu"

It will tell supersu installation to use /system mode instead of default systemless. Then proceed to flash supersu. In my case I used SuperSu v2.78.

---------- Post added at 05:52 AM ---------- Previous post was at 05:42 AM ----------

^^^
[RAZR i Android Development] je_rem_y:
Hello [MENTION=4479363]Hazou[/MENTION],

I'm trying Signal and I have this problem "Messages can take hours to be received". I had a similar problem when I had tried Telegram. Can it be a problem from the ROM ?

Thanks !
[RAZR i Android Development] je_rem_y:
By the way is it normal that on resume, after minutes or hours in standby, the wifi icon is not present, like it is disabled, and appear only after a few seconds ?

I enabled "wifi enabled on standby" (don't know the exact label in english) so I expect that the wifi stay enabled.
[RAZR i Android Development] Moto1987:
govtuner

[MENTION=4479363]Hazou[/MENTION]

what do you think about to implement govtuner?

I have Installed it and i think the phone runs a little bit faster.
[RAZR i Android Development] je_rem_y:
Is there a way to speed up GPS fix when there is no A-GPS ? Everytime I go outside of my country I can't use the GPS (or it take a very very long time to work) because I don't have 3G or Wifi to help GPS.
[RAZR i Android Development] Tamsta_T:
Try this, works fine for me: FasterGPS
[RAZR i Android Development] je_rem_y:
I already use it and it doesn't seem to help with no connection :(
[RAZR i Android Development] rony raj:
try maps.me from playstore download map where you want to go

and set gps in location device only

and it works in 2g or no network

make sure you scan your location before start

hit thumbs up if i helped you
[RAZR i Android Development] je_rem_y:
I already use maps.me with offline maps :)

What do you mean by "make sure you scan your location before start" ?
[RAZR i Android Development] 873578156:
‘Please fix wifi direct connection function, it is very important, my home TV and printer are needed.
[RAZR i Android Development] Hazou:
Just a head up. Was rather busy last 2 months. Slowly getting back started when i find the time. When the new may security patches are merged upstream I have a new build for LOS 11.

A-GPS should be implemented and (works/worked) very good. But I haven't tried that one in a very long time.

I made several attemps to get wifi-direct working, to no avail. It just doesn't work or it errors out after a few seconds. The wifi chip should be able to handle it, but doesn't work nicely. Or I use the wrong settings for it. If u know the correct way, I will gladly try again :) Also Stock rom doesn't have it, maybe for a reason?

Governors will get another look when the security patches are in.
[RAZR i Android Development] 873578156:
I have seen a good post, he explained the transplant system after the wifi debugging. I used to put you in 15 years in June ROM up, renamed Android.hardware.wifi.direct.xml.bk file, wifi direct function can be opened, but once the closure of the wifi can not be opened here, must Reboot. I think it is possible in the UI layer interaction or drive problem?
[RAZR i Android Development] Hazou:
Just renaming the permission file doesn't work. The system also needs the P2P wpa service started at boot with some extra defined things (which causes that crash you mentioned), change a framework setting somewhere, change some extra defined states in the net driver and wpa driver and maybe we need to use another wifi driver?

I can get it up to the state that it can see and connect to other devices, but after that is just crashes after several seconds or it doesn't transfer any data to and from the device.
[RAZR i Android Development] je_rem_y:
A-GPS work very well but it's without A-GPS that a GPS lock can take a very long time, especially when you travel.
[RAZR i Android Development] Hazou:
But when does it not use A-Gps framework, if it is using the gps hal? I always thought that A-Gps framework and GPS hal are linked within the motorola software (framework) and intel drivers (hal). At least according to the logcat of the gps hal.