yashsingh1/xdaforums huggingface dataset:
[RAZR i Android Development] Hazou:
That doesn't work. Flash the xposed zip for KitKat and install the 3.0 apk after. If that doesn't work someone need to manually build the new app for x86 KitKat. Rovo said he won't update it soon, because of his focus on ART.

Or I need to revert that patch and let there be a vulnerability in the ROM. The chance that it will be used it very small.
[RAZR i Android Development] Burn02:
If you do that, the better way would to build twice, one with the vulnerability for people who wanted to use xposed and the other that prefer security.
[RAZR i Android Development] Hazou:
That sounds indeed as the best option, luckily for me that's just a flashable zip that changes just 2 files. app_process and libandroid_runtime.
[RAZR i Android Development] Hazou:
That will not work ;)

The "xposed" executable in the zip file the installer flashes or installs needs to change. it's missing just 8 letters of code to function correctly. Someone needs to compile it with that or maybe I do it myself.

In https://github.com/rovo89/Xposed/blob/master/app_main.cpp

This:

265: runtime.start(isXposedLoaded ? XPOSED_CLASS_DOTS_TOOLS : "com.android.internal.os.RuntimeInit",
266: application ? "application" : "tool");

Should be this:

265: runtime.start(isXposedLoaded ? XPOSED_CLASS_DOTS_TOOLS : "com.android.internal.os.RuntimeInit",
266: application ? "application" : "tool"[I], zygote[/I]);
[RAZR i Android Development] Hazou:
Just flash the undo zip from ROVO?
[RAZR i Android Development] Hazou:
For those who dare to try it, here the xposed module with the fix I suggested.

If it works I don't know. Not yet tested!

- Unzip it

- Transfer it after you have installed Xposed to system/bin

- Give it permissions 755. Try it
[RAZR i Android Development] Hazou:
Ok, guys can someone give any input. Battery life, wifi strength etc.?
[RAZR i Android Development] :
I'm really eager to test it but since you recommend doing a clean flash it's not as straightforward than a "dirty" flash.

I think we need a little more time ;)
[RAZR i Android Development] diogo.sena:
tried art but was gettings some fcs (probably because of gapps version, i'm using opengapps)

using dalvik, everything is ok.

didn't noticed any change in battery life, wifi, or any other thing (but i didn't wipe data)
[RAZR i Android Development] roymental:
Battery Life: very good, still 69% at 3pm with intense use.

wifi: good connection at home and in office, airplane mode on/off no problem

apps start up faster (eg. sygic, camera360, titanium backup...), camera from standby with camera button is faster,

menus are very responsive, better than before

boot up still very long... :)

btw: without clean install, battery life seemed worse, clean install seemed to change a lot.
[RAZR i Android Development] Hazou:
So what u did, U installed xposed the normal working way like we need to now. Then used the apk to install xposed framework and then encountered the error we first got. The one where it can't find androidruntime.start.

From there on u overwrite the app_process file in the system/bin partition with the one i provided a few post back. So removed the "_xposed" addition to the file. and pushed it.

This is what u did? Just so I know your steps and so I can prepare for another solution.
[RAZR i Android Development] chuckiebronco:
Dirty flashed it yesterday, will do clean install @ weekend.

So far no issues at all. Battery life in my opinion already improved, although everything feels faster and much snappier (app Starts, Multitasking, Launcher,...).

WiFi no difference yet for me.

Only the Xposed Bug bothering so far. Except that already near perfect, GREAT JOB!

Tapatalked via motoRAZRi
[RAZR i Android Development] acmalko:
Hi, thanks for spending so much time.

Clean flash yesterday. Have seen no difference on battery life or other, it's a bit difficult to notice changes when you had no problem before.

2 times today, whatsapp delivered messages only when I opened the app. Was ok before.

Ps: I talked about my notification bar wich sometimes disappears. It is only when you exit clash of clan (full screen game) so don't matter
[RAZR i Android Development] Hazou:
I had that issue with whatsapp before when on Oxavelar's rom. It can be related to the kernel and deep sleep maybe. If u have the time can u do the following?:

First keep testing this version for some time with whatsapp and the problem. U already have, so u can skip this.

Make a backup for safety

Then extract the boot.img and all files under system/lib/modules from the previous version and copy those to the latest running version. Set the correct permissions for the .ko that are under system/lib/modules files. (should be 644).

Test it.

See what happens. If U don't have the problem it is a kernel issue with the deep sleep I think.
[RAZR i Android Development] acmalko:
Yes, I agree to test that. I prefer waiting for a new "error" because when I noticed it, the network was very poor.
[RAZR i Android Development] PosixCompatible:
I made a mistake on releasing the ChargeCurrent application to github. I uploaded an old binary...

https://github.com/NerdyProjects/RazrIChargeCurrent/releases/tag/1.0

Is now fixed.

I am very happy with the new Rom so far, feels a lot more fluent than before (i may have had something broken) and works so far :)

Thanks!
[RAZR i Android Development] diegomartinezlovey:
What does that work for?
[RAZR i Android Development] tachno:
great rom with no (serious) problems so far. except that i believe the wifi is less stable... my wifi is not very strong here.
[RAZR i Android Development] chuckiebronco:
Nice Job, thanks!

Seems to work/Charge faster (@950mA).

But, would rather have an Option with 1A Power plug and safe 0.5A for USB connection. Wouldn't that make (more) sense, if possible?

Tapatalked via motoRAZRi
[RAZR i Android Development] PosixCompatible:
Please read the readme...

The patch/app only offers the hardware options of the chip that are exactly the listed ones. To stay within limits (1A/0.5A) you don't have to use it at all (set it to default; although may be helpful if your charger is not correctly detected - will offer statistics on that in the next version). See it more as something to fiddle with - maybe I should hide the other options under an experts view. May do that in the next version (please don't expect anything soon).

I personally just set it to "override to maximum current" and use it like that. Will implement a "set on power up" option soon :)

Maybe we should use another thread for discussion about this app. I might at some point take some time to open one here, although I would prefer keeping the communication on github.

have a nice day,

Matthias
[RAZR i Android Development] stegi737:
Hi, Id like to ask you for advice. My first ROM after stock was the one from 23 September. It was pretty good but still some bugs.

After last update the battery drain is worst then before. So clean flash means to wipe also "system" or is it fine to wipe just "dalvik cache, cache, data"?

thx
[RAZR i Android Development] acmalko:
Clean install means wiping all
[RAZR i Android Development] Eserim:
Hi - clean install done this morning, will feedback more later - one thing I have noticed, Settings>>About Phone crashes settings everytime. I have xbeats and the volume adjuster (from an earlier post) flashed as well. And a few minutes after the crash phone dies totally and needs a restart.

So, did I miss these extra Governors on the last build? I've changed mine to the Power Saving one - is that a good idea? Previously I tweaked the standard one to have a max CPU of 1600, which did seem to make the phone spend less time maxed out. But with "Powersave" it is still spending a lot of tome at 2000 and none at the middle speeds? No big issue.

Once again, many thanks for the work
[RAZR i Android Development] kp_s:
No problems so far after a clean install, battery and wifi as expected, but I am not a power user ...

Nice side effect for me: The Apollo music player, which used to crash with earlier roms, now seems to behave quite well.

Thanks!
[RAZR i Android Development] cjr123:
did full wipe (data, cache, dalvik cache, system, internal storage) and then flashed the newest rom(cm-11-20151208-UNOFFICIAL-smi) with TWRP.

now my phone does not start any more :( it stucks one the unlocked bootloader screen :( can someone help?? if i press poer + volume down it starts, but then it stucks ahain on the bootloader screen? is it bricked or is there a way to rescue it?

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

edit: i´m in fastboot and recovery now again :) so i think ich can rescue it.... puuhh..
[RAZR i Android Development] Hazou:
Good it is hopefully sorted out. But ye, that is the risk with customising your phone ;)
[RAZR i Android Development] Deep-Knight:
YouTube 360 VR

does the Youtube 360 VR feature works with this rom ?
[RAZR i Android Development] Dauxo:
This version is perfect for me so far, didn't noticed any problems regarding battery life or wifi.

Using the previous version I couldn't use the voice typing feature, but it's now available. Perhaps it's due to de OpenGapps Nano Package (it comes with extra functionality that's not available from the Play Store: the native "Ok Google" and other few stuff).

Thanks Hazou for your effort, you did a great job making this rom.
[RAZR i Android Development] Eserim:
Still too soon to comment on battery, but I have noticed "Android OS" had higher usage than the screen.

As to wifi, I use llama to switch on when screen goes on and it does seem to take a while longer to switch.

I had one more totally unresponsive event last night, power button doesn't wake up phone and reset required.

Eserim
[RAZR i Android Development] Hazou:
The wifi now takes a bit longer to disable and enable. The drivers are now dynamicaly loaded into the kernel on activation and unloaded when the wifi is shut down. This was needed because of the newer drivers. It could improve battery life and performance when using wifi often. But that's need testing.

I don't know about your powerbutton thingy. If it hapens another time, do a reset and extract the contant of /proc/last_kmsg to your pc and upload it. That could indicate were the uphold was on going out of suspend modus.
[RAZR i Android Development] roymental:
I had that power button issue several times. Screen didn't wake up, but in dark surrounding you could see it was not totally off. But for me the camera button helped sometimes. Sometimes reset was necessary. Will upload too if this happens again.
[RAZR i Android Development] zheka99:
Yes, that's right. I can confirm.

Plays music , but the display does not come on
[RAZR i Android Development] earnie:
I can confirm the display / wake up issue at least for two times now.

Will try different scheduler to see if it's related to interactiveX2 which was modified by Omar

[MENTION=4479363]Hazou[/MENTION]: I would also like to try out either the old dalvik on your newest rom or newest kernel on 9/26 rom, just for comparison reasons. But simply copying old libdvm.so (and applying access rights same as in old libdvm.so) to new rom leads to bootlooping/non-booting phone, and fastboot flashing newest boot.img and modules to 9/23 rom leads to non-working wifi. Is just coping libdvm.so not enough, are more files involved, or are they simply not compatible? Many thanks again for your work :)
[RAZR i Android Development] Eserim:
Ah so now all you need top do is update the temporal relocation drivers to enable me to get Llama to wake up WiFi 1 minute before the screen gets switched on :D
[RAZR i Android Development] Hazou:
Simply replacing libdvm doesn't work indeed. All the dalvik stuff won't boot with that. Changing the dalvik versions is just difficult. But changing the kernel is duable.

To get the newer kernel to work on the roms before the last one u need to:

1. flash the new kernel on the old rom

2. replace every file in system/lib/modules with the one from the rom u got the kernel from.

Not just the wifi doesn't work. Also both camera's won't work and some sensors ;). So if u change kernel, always change kernel modules too.

If there is no significant improvement in wifi stability or even battery consumption, I may return to the old one with better startup time, but an earlier version.
[RAZR i Android Development] cjr123:
battery - consumpation is definitly worse in new version(20151208) than before if i put on mobile data(screen off)

with mobile-data off, it´s like before...

did a clean install....
[RAZR i Android Development] arman68:
I tried it with various versions of xposed (2.6.1, 2.7, 2.6.1 solarwarez mod which works on other cm11 devices, 2.7exp1mod3). No luck. No bootloop or anything, but the xposed installer and modules do not work with it. Maybe the XposedBridge.jar needs modifying as well?

I did a semi-manual install through recovery.
[RAZR i Android Development] Hazou:
Ok, try next fix:

Get xposed installed again

Than extract the zip in the attachment and push it too the device.

"adb push libandroid_runtime.so system/lib/libandroid_runtime.so"

"adb shell chmod 644 system/lib/libandroid_runtime.so"

done, maybe a reboot is requered
[RAZR i Android Development] earnie:
Thanks, but I did that. The other sensors / work, only WiFi does not. I compared loaded modules with the ones on newest rom, and saw that wl12xx_sdio is not loaded (wl12xx is). Then I tried to load wl12xx_sdio via modprobe and it loaded, it showed up under lsmod. However, WiFi does still not work. I checked dmesg but did not see any errors regarding loading wireless modules. Any idea?

Btw i saw that btrfs driver is loaded in kernel messages. I think we don't use it, correct? Maybe we can save a few kilobytes by disabling it :)
[RAZR i Android Development] Hazou:
Oh, forgot the new wifi implementation doesn't work with the intel wifi driver source... Sry.

There are many more features in the kernel that can be disabled I think. I just don't have the knowledge to know what can be disabled and what can't. I know the ones who are needed to get specific functions working, but that about it. Kernel modding is not my thing, and will never be. Debugging the kernel is a pain in the ass, especially when it doesn't boot and I can't get access to the early print on this device.

Als those extra KB's doesn't do much. The bootimage still has more than 6mb spare space.
[RAZR i Android Development] Eserim:
Anyone else getting a repeatable crash when going into "About Phone" ? It does mean that I can't get into enable the developer options
[RAZR i Android Development] diegomartinezlovey:
I dont know if install the version of December 8, I read that has bugs.. When is the next build?
[RAZR i Android Development] Hazou:
Don't install anything yet. I will update the recovery's soon. There is a chance u won't get into any trouble, but there is also a chance u will get into trouble. Just wait for the new recovery's.

That a sad feeling :(. But ye, it all is our won responsibility with what we are doing. And with the things u are telling, i can tell u know more than the average person here ;) Bad that it didn't work out for you, but the phone atleast worked for 2 years :P Good luck with the next one.

There is one positive thing to this (not exactly for you ,but.), we had an extra look at the differences between the phones. And even that the phones have the same names they don't always have the same hardware and problems. We now have a solution to this. But okey too late for your phone...
[RAZR i Android Development] kjozsa:
You gave me a good laugh - keep up the good work on CM!
[RAZR i Android Development] diogo.sena:
I was using an old twrp version (i have two razr i, one of then was using an old version, my fault for not paying attention), and like many here, i had a problem when formating system and flashing cm11,

heres how i solved:

1. flashing cwm touch trough fastboot

2. format system

3. flashing twrp 2.8.0.1 trough fastboot

4.flash rom and gapps ( no need for modded zip, etc )

One little thing, at first in old twrp, adb reboot bootloader was not working, i dont know why.. but it was keeping me from using fastboot, and rebooting into recovery again, i keep trying using vol down and power, until eventually worked (i still don't know for sure the right combination)

thanks hazou, cm11 for razr i is impressive!
[RAZR i Android Development] Scray:
The last time I couldn't enter ROM or Bootloader after a bad flash I thought I had bricked my device. It wasn't even possible after holding Vol down + Power, I was always stuck on bootloader unlocked screen.

I let the battery drain out over night and suddenly was able to reenter bootloader. Who knows if it might work out for you? ^^ I guess if you disassemble/reassemble your phone and unplug/replug your battery cable it could have the same effect. I mean it's kind of broken at the moment anyway.

Please don't laugh at me if this is foolish but it somehow worked for me :D
[RAZR i Android Development] FourOne82:
I have a question about this: If the battery is dead, does this mean I can't charge it then? Because normally it has to charge a few minutes before i can boot the phone again...
[RAZR i Android Development] kjozsa:
Oh, I was just about to replay right to your message in the bricked thread :) I also think it's worth a try to leave it drain, I'm just not sure how much it will take as it consumes about 0 energy while lighting its green led only..

After it drained for you, you just plugged it in and held down the volume down button meanwhile and it got back to fastload?
[RAZR i Android Development] zaeroxik:
After reboot i cant boot... it stay at bootloader waring. What can i do to solve that problem ? :)
[RAZR i Android Development] Hazou:
Charger does work. If you see the screen just dim a little bit, it means that it boots, but can't start the boot animation afaik. I am trying to resolve that. Just for save keeping, never let it run out completely and charge while phone is still on.

Could be anything. What did u do?
[RAZR i Android Development] zaeroxik:
I flashed by "adb sideload cm_smi-8-12-updaterscript-modded.zip" in cwm touch, becouse it only works for me..
[RAZR i Android Development] Oxylomorph:
Hello Hazou,

thank you for this Rom - works well for me.

But AdBlockPlus likes to crash directly after the first start.

https://adblockplus.org

Do anybody know how i can get it to work?

regards,

Oxylomorph
[RAZR i Android Development] kjozsa:
I did the same.. was probably a bad idea.
[RAZR i Android Development] Hazou:
can u get back in recovery?
[RAZR i Android Development] zBLacKy:
First of all, thank you soo much Hanzou, you did a really great job!

But my Gallery is shuttering and lagging on a video, sometimes there is a black screen and only sound, how can I fix this? :confused:
[RAZR i Android Development] Hazou:
No idea, try to use a third part video player. I managed to let the device play most video content normally, but there are some i haven't fixed or have any clue on how to fix them. U need a third party like 'mx player' to get them to work.
[RAZR i Android Development] zaeroxik:
I dont understand, but if u mean if can i go to recovery, yes i can. For now i back to ktr rom.
[RAZR i Android Development] Hazou:
Good, do you mind to test a recovery i made to install the CM version? I will send it to you through PM. Let me know ;) It is TWRP recovery. Will make a CWM if this one works.
[RAZR i Android Development] zaeroxik:
If this will not brick my phone - send me :)
[RAZR i Android Development] Scray:
Yes, I charged it a bit and could start it again the normal way. You are probably right, with only the LED on you might wait for years :D. Anyway I could imagine that unplugging the battery from mainboard would have the same effect. I disassembled my phone with the help of this manual, when I changed my battery:

Motorola RAZR i Repair, Disassembly manual, guide - YouTube

After having changed the battery, my phone time was reset. Maybe replugging it has a positive effect on your situation too by clearing some kind of storage or cache. But at this point I want to emphasize that I am not an expert and not granting any warranty for this :p.
[RAZR i Android Development] chuckiebronco:
Took me few trials to install but was worth it.

Awesome job, Hazou, all working like a charme so far (except the already mentioned minor bugs)! Thanks, mate!

This is how it finally worked for me:

1. Clean RSD flash

2. latest CWM 6.051 via fastboot

3. installed root via CWM (dunno if this step is necessary, but it didn't work without before, which might also have other reasons)

4. Booted to Recovery, factory wipe and flashed the CM & Gapps.

5. Reboot to CM

Before i also tried different TWRP & CWM versions. The older ones quit with errors and the latest versions of each ran through but gave me bootloops after the unlocked warning screen.
[RAZR i Android Development] zaeroxik:
Wow, your method working for me too (with root).. :) thanks ! ;d
[RAZR i Android Development] Dauxo:
Hmm, perhaps it was too soon to post about my experience with this version. Since then my phone turns off when battery reaches about 18% (what never happened before). It happens only when mobile data connection is on.

Something that I have noticed is that the phone tends to heat a lot, much more than before, apparently with no special reason (I have been using only the same common apps, like whatsApp, YouTube and Instagram).

I didn't, but today I got what I would call a "screen lock". Screen turns on after pressing power button, unlocked it, but nothing else seems to work. Had to do a restart to go back to normal.

I'm thinking about going back to version cm-11-20150923-UNOFFICIAL-smi
[RAZR i Android Development] arman68:
There is some progress: after I pushed lib_android_runtime.so through recovery to /system/lib/ everything still worked. Xposed could install, but rebooting resulted in a soft brick. Removed xposed through recovery to get back in a working state.

I tried with all 4 versions of xposed previously mentioned. Also tried replacing the app_process with the one previously supplied, but I believe it is not recognized by the xposed bridge.
[RAZR i Android Development] Hazou:
Ok, that's promising :)

I will also make a new build soon. Reverting the wifi (had no effect on performance and battery power and delayed the boot of wifi with 5s.) and kernel (should have made an external update package, for the ones who wanted to try it) changes.
[RAZR i Android Development] chuckiebronco:
Latest rom ist still working completely flawless here. None of the posted issues at all (besides missing xposed). Can't complain at all so far. Having excellent DOT again...
[RAZR i Android Development] Eserim:
Another difference on my install, which may count for some issues, is that I went with the December 2014 GAPS, rather than a clean OPenGaps - I only just noticed there was such a thing. Is it a good idea to flash an OpenGApps over the existing, or do a clean install?

EDIT: Found the answer on the OpenGApps FAQ - clean install or over existing OpenGApps.
[RAZR i Android Development] acmalko:
Hi...:)

Deep sleep problem again. One time/week it's acceptable

1st step : see log if you want between 9:20 and 9:47, I don't know how to make sense of it. Perhaps It could help.

I will try the 2nd step as you asked me: switching files

Also minor bugs :

-wallpaper reset (apex launcher bug ?), new with this release. Occured 2 times, 1 this morning just after a Titanium backup (no log)

-lockscreen appears suddenly during activity: already occured many times

-pin code request when turning on screen: already occured (bad network signal ?)

Have a nice day...
[RAZR i Android Development] acmalko:
edit 13h: crash during a phone call with amplifier, the phone was off and need to restart it. What a bad day !