yashsingh1/xdaforums huggingface dataset:
[RAZR i Android Development] Hazou:
Still sounds to me like it boots to the wrong thing.

In state complete shut off (3). Hold indeed power and down. It will boot up and starts to reboot again. At the second reboot unpress the power so only down is still pressed. Needs some timing. Release it later or a bit earlier maybe.

In state unlock logo (1). Do the descriptions with the 10 seconds and then release power and up. It should work always. If not then u are the first I know of :(

Another thing to try. If it is shut down. Connect it to the power outlet. It will charge up normally if it hasn't flashed the boot yet or became stuck on the unlock logo. If it is charging normally. Use the methods with the power and down, maybe even adb could work here. If it is at unlock screen, do the hard reset thing. Always has worked for me. May needs some retries.

The things u have done and we all have, almost can't brick the device. We only touched the boot, recovery, system and cache and it should always boot in bootloader when pressed the right combo.

I am going to sleep now. If u haven't fixed it, report it and maybe some other dude of I will read it again. U are not alone here :P but I could take some time sometimes.
[RAZR i Android Development] kjozsa:
Yeah I don't get what could went that wrong either. I probably baked /cache, possibly got a half-unpacked cm11 rom and even booted it for some minutes (I saw the CM11 logo spinning!) - and since then I could not make it into the bootloader anyhow.

Doing the hard reset at state #1 (on the unlocked bootloader warning screen) brings it to state #2. Attempting a hard reset at state #2 (black screen + green led) turns the phone off after 5 secs. Attempting a hard reset when it's off turns it on after 2 secs (ok, I'm not surprised here :)). I experience the exact same behaviour when pressing and holding power+down as with power+up+down. Two more things: state #1 makes it into state #2 on its own in about 1 minute automatically; and the phone turns on on expected on external power and boots into state #1.

I'll catch some sleep now too and let's discuss whether I need to buy a new phone tomorrow.. :)
[RAZR i Android Development] tedeha:
I'm mod .... Cyanogen Mod:D
[RAZR i Android Development] Hazou:
So even when it is off and u use the power and volume down to get into fastboot (u have done it before did u, don't u?(with good results!)) it won't work?

When it is on the power cable and it boots from phone off to the unlock screen. ((secondary question)Does the screen brightness goes a little lower?) If i at that moment do the hard reset ( 5~10 sec) and release the power and volume up at the first reboot (so only volume down is still pressed), it automaticaly reboots into fastboot on my phone if i hold the volume down only at the first moment it reboots. Always. If it doesn't at your end i don't have a clue anymore. Maybe try it some more with different timing etc. And have a look here: http://xdaforums.com/showthread.php?t=2184877 try this, but use the JB blobs.

I hope we can solve this. But now, i even don't know if it will be solved
[RAZR i Android Development] kjozsa:
Yeah I have this phone for almost 2 years now, I'm pretty much familiar with getting into fastboot mode, did it a lot of times.. When I plug it in and it turns on by itself, I see no lowering of brightness, it stays constant. Also, plugging the phone via USB makes no new lines appear in my Linux box's dmesg at all.. that's one more worrying sign.

In any case, I appreciate you trying to help out and obviously I take all the blame for my new paperweight. My single bad feeling is the envy what I feel towards others who now has the shiny CM running on the trusty old Razr :)
[RAZR i Android Development] Hazou:
Remove the ".txt" extension and overwrite the file: system/etc/apns-conf.xml. With the one in the attachment. Make sure the permissions of the file are 644. "rw-r--r--"
[RAZR i Android Development] :
Can someone test VLC please ? It crash when I try to play a video.

Maybe we have to open a bug report for the VLC devs ?
[RAZR i Android Development] acmalko:
Same bug for me...;)

---------- Post added at 06:52 PM ---------- Previous post was at 06:47 PM ----------

Just tried a private video (mp4 1920x1080) and it crashed.
[RAZR i Android Development] Hazou:
But are those Cyanogenmod issues, Houdini issues or app issues (VLC). What if u all make some logs. I don't own the device, so I can't. Much off the now new dev effort needs to come from the community around this rom ;) Or atleast the testing and log making.
[RAZR i Android Development] acmalko:
is it like this ?
[RAZR i Android Development] acmalko:
and this ?
[RAZR i Android Development] Hazou:
This looks good :) . I need some time to study them. Can't promise anything.
[RAZR i Android Development] yepi15:
I thank you for your support and change, and it did not work and call my phone I think it's my chip, but if the file works perfectly

Enviado desde mi XT890 usando XDA Forums
[RAZR i Android Development] Hazou:
Hmkm, that's a pitty. U could indeed try another sim chip and see what happens.
[RAZR i Android Development] Hazou:
Ok first thing to try:

Change in build.prop the following lines from this:

dalvik.vm.heapgrowthlimit=64m

dalvik.vm.heapsize=256m

dalvik.vm.heapminfree=2m

To this:

dalvik.vm.heapgrowthlimit=192m

dalvik.vm.heapsize=512m

dalvik.vm.heapminfree=512k

Reboot, maybe do a cache wipe and see what happens. Do know how to come back in case of an error.
[RAZR i Android Development] yepi15:
but try and follow today and you notice

Enviado desde mi XT890 usando XDA Forums
[RAZR i Android Development] :
I tried but nothing new. This is the built in log of VLC when it crash: http://pastebin.com/3PhYLxyr
[RAZR i Android Development] Hazou:
Did u try the torch widget. This idea was mainly for that. VLC has a different problem, what we maybe can't fix.
[RAZR i Android Development] :
I just tested the torch widget and it works with or without the modification...

For the VLC crash I opened a bug report : https://trac.videolan.org/vlc/ticket/15616#ticket
[RAZR i Android Development] acmalko:
I don't use personnaly this widget but I tested it as a favor.

And you know what ? Thanks to your changes: IT WORKS NOW...:laugh:

May I ask you to watch this new file ? It's a logcat I've recorded when my notification bar has disappeared. I touched the top of the screen ant it came back but it's usually harder to get it back. Then I've stopped to record.

Take your time.
[RAZR i Android Development] Hazou:
Good, is there any chance u can test the VLC app on stock rom? Just try one of the TWRP backups. Then we can know for sure it isn't a modification on CM11, but also a problem on stock.

Sorry, there is nothing in the logcat that is useful. It only says repeatedly that logcat is started and then stopped. Can it be that u are using a xposed module to change something or a theme?
[RAZR i Android Development] acmalko:
Oh thanks. I don't use any Xposed module and I don't know exactly what is a theme. I've just learned two days ago by myself how to make a logcat. I use an app called "CatLog". And thirty minutes ago how to modify "build prop".

Slowly but surely.

Edit: no other them than Holo (Défaut)
[RAZR i Android Development] LTgoodevil:
I've moving to S6 so decided to make my XT890 into car dash display. I've done full wipe of everything and installed latest ROM - HERE Maps is completely broken on it, crashes few seconds after launch. I've done multiple cache wipes, reinstalls, nothing helped. So done full wipe again and installed 2015/04/09 ROM and it works flawlessly. So just a quick feedback report. Thanks for great work.
[RAZR i Android Development] :
I can do it but not for now, I need my phone fully functional. If someone else that already is on stock Kitkat or don't bother to install it can try it will be great.

If nobody can test, I will do it a soon as I can.
[RAZR i Android Development] yepi15:
Thanks hanzou your file I improve my VPN were very fast .. My network problems

Enviado desde mi XT890 usando XDA Forums
[RAZR i Android Development] Dan_Jacques:
Hazou, congratulations for your great project!

Only a little question: where did you find newest versions of Intel Houdini?
[RAZR i Android Development] Hazou:
I had access with some other guys to the bsp packages of Intel. For KK 4.4.4 (Augustus 2014) and for the beta of LP 5.0 (somewhere 2015). That is also why some people have many more sources on github from Intel than Intel and Google provides on there source sites (android.googlesource.com and github.com/android-ia). Specifically most if not all for the Asus zenfone 500+ series. Most of that code is from one of the bsp packages. The package build for that processor and above, but some of the code can be used for the old RAZR I. So I did, without uploading the source (protected).

Intel does still provide sources code on there website. Just look for them and get the sources instead of the binarys.
[RAZR i Android Development] yepi15:
sorry to tell intel Houdini? I would help investigate

Enviado desde mi XT890 usando XDA Forums
[RAZR i Android Development] ciberbeb:
I confirm the logcat poste by acmalko, I have the same stack trace with the main cause: out of memory.

The build.props tweaks fix it.

Thanks Hazou!!

:highfive:

I have a question though. Will you publish another update?

If yes, then I suggest you include these build.prop values.

Secondly, I'd like to offer a slight mod to have more steps for the multimedia volume. It consists in a minor framework.apk modification.

Could I post it here?

The mod would be a flashable zip. I could actually propose 3 versions: 30 steps, 45 steps and the 15 steps to get back to default.
[RAZR i Android Development] Hazou:
Ye, that was the idea to change them for the new build.

And yes u may post it. A separate thread in the apps and theme sections and a mention here is I think the best way. But do what u want ;)
[RAZR i Android Development] Hazou:
Isn't that the new stagefright bug (2.0)? Still need to make a new build for that ;)
[RAZR i Android Development] yepi15:
Error.txt

versionCode:46

BOARD:smi

BOOTLOADER:0x2025

TYPE:userdebug

ID:KTU84Q

TIME:1443044361000

BRAND:motorola

SERIAL:TA32404K83

HOUDINI_ABI2:armeabi

HARDWARE:sc1

CPU_ABI:x86

RADIO:unknown

IS_DEBUGGABLE:true

MANUFACTURER:Motorola

STACK_TRACE:android.app.RemoteServiceException: Bad notification posted from package com.idea.backup.smscontacts: Couldn't create icon: StatusBarIcon(pkg=com.idea.backup.smscontactsuser=0 id=0x7f02008c level=0 visible=true num=0 )

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1372)

at android.os.Handler.dispatchMessage(Handler.java:102)

at android.os.Looper.loop(Looper.java:136)

at android.app.ActivityThread.main(ActivityThread.java:5146)

at java.lang.reflect.Method.invokeNative(Native Method)

at java.lang.reflect.Method.invoke(Method.java:515)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)

at dalvik.system.NativeStart.main(Native Method)

TAGS:test-keys

CPU_ABI2:armeabi-v7a

UNKNOWN:unknown

USER:patrick

FINGERPRINT:Motorola/cm_smi/smi:4.4.4/KTU84Q/24b679eb61:userdebug/test-keys

HOST:ubuntu-pc

PRODUCT:XT890

versionName:1.8.07.05

DISPLAY:cm_smi-userdebug 4.4.4 KTU84Q 24b679eb61 test-keys

MODEL:XT890

HOUDINI_ABI:armeabi-v7a

DEVICE:smi

what is this?

Enviado desde mi XT890 usando XDA Forums
[RAZR i Android Development] Hazou:
Seems like the app does something unexpected. It tries to create an icon but fails. But this is just my gues at the text u posts. U didn't provide anything from where it came from and what u did. ;)
[RAZR i Android Development] yepi15:
Thanks had frightened me!

Enviado desde mi XT890 usando XDA Forums
[RAZR i Android Development] Hazou:
Good news :)

I got a replacement phone from -Synix-

So thanks to him I will continue some development on this phone.

The things u can expect on the new release in the near future (already testing):

- Even better houdini implementation in framework, old workaround from me aren't needed anymore :D

- Optimized dalvik from Intel, could improve performance

- Optimized libm (math library) from Intel, could improve performance

- Now all OMX modules are build from source

- Latest Stagefright bug fix

- The new houdini libs causes some problems in some apps (Here maps). Investigating that, maybe reverting to older ones.

- Hopefully VLC fix, crashes somewhere in linker

About FM: It is effectively disabled in the audio HW modules.

About WIFI direct: It's missing some code in framework, that's why it didn't work correct. Trying to port it over.
[RAZR i Android Development] :
Excellent news ! Happy to see you back again on development!

Envoyé de mon XT890 en utilisant Tapatalk
[RAZR i Android Development] Eserim:
Yay! That is great news - I was beginning to struggle on the official KK and looking to replace phone, but thought I'd have a go at battery replacement and the last OK version from Hazou - even better is development is ongoing :)
[RAZR i Android Development] Paull95:
Yay! Nice to know! Thank you [MENTION=5418954]-Synix-[/MENTION] and [MENTION=4479363]Hazou[/MENTION] for this :D
[RAZR i Android Development] Hazou:
Sorry, I will not implement this. CM has denied the patch. But i did notice u can use xposed to get it working ;)
[RAZR i Android Development] :
Too bad. I guess I will try xposed sometime in the futur. :(
[RAZR i Android Development] Burn02:
Great news!!! :)
[RAZR i Android Development] yepi15:
very good news, there will never be possibilities lollipop?

Enviado desde mi XT890 usando XDA Forums
[RAZR i Android Development] :
Unfortunately, it will never. It's actually missing things (e.g. source code from Motorola) to get a stable build. Check there Hazou's repo : https://github.com/HazouPH/android_device_motorola_smi/tree/cm-12.0
[RAZR i Android Development] mervluk:
I'm actually not vexed about Lollipop on the RAZRi. The obvious difference in day to day use seems to me to be cosmetic, and some underlying security stuff which actually makes it more difficult to use the phone in the way I want to. So I'm very happy with the attempt to just make the phone work more efficiently. It's still my best phone for daily use, reliable, good signal and battery life, compact and its general ease of use. It responds well to a judicious use of apps to improve performance. I have other Sony and Moto phones I've collected over the years which are easier to play with, and less reliable. Being a Luddite the only thing I miss is fm, but I recall the chip was basic and really obsolescent anyway. And Governments are trying to kill off fm anyway in the west in favour of digital media.
[RAZR i Android Development] yepi15:
how sad I really expected more but it's okay not complain with this version

Enviado desde mi XT890 usando XDA Forums
[RAZR i Android Development] Hazou:
new version on github (1.12) and XDA (cm-11-20151026-UNOFFICIAL-smi.zip)

Changelog:

- Reverted Houdini update (fixes HERE maps crash)

- Better houdini implementation in framework (no need for workarounds)

- Fix VLC crash (symbol lookup crash in linker)

- Build enc/dec media libs from source (test if green bar bug is present)

- Using Intel Optimized Libm (math)

- Latest Stagefright fix

- Latest upstream CM patches

- NEW Intel Optimized Dalvik with new engine. Speeds up java runtime with speeds up to 50% more (linpack and quadrant tested). Apps will perform much better. Native code reliant apps won't see much change.
[RAZR i Android Development] :
Can't download your latest build :(

EDIT : only works on xda but not on GitHub

Envoyé de mon XT890 en utilisant Tapatalk
[RAZR i Android Development] Hazou:
Haha :P forgot to add the zip file. Will upload it tomorrow.

--

Updated
[RAZR i Android Development] Paull95:
Thank you! Will try ASAP :D
[RAZR i Android Development] :
Snapchat crashes + bootloop with Xposed

Finally installed it ! Now I got two problems:

- Snapchat crashes ~4-5 seconds after opening. It's the same as the JB bug. Here's an attachment with the log.

- Got a bootloop after installing the Xposed framework. Never happened before :s The same as the Snapchat problem, here's another attachment with the log. I think there's the most part of log that you need because those lines are always repeated.

I think there's something wrong with the java and the dalvik runtimes (maybe Houdini too ?)

Can you look at them and fix these issues if you can plz ?

Everything seems to be working correctly and it sounds generally more performant :)

Good job again Hazou ;) :o
[RAZR i Android Development] :
[MENTION=6770621]jevtheboss[/MENTION]

Disable temporarily xposed by flashing this zip in recovery : https://drive.google.com/file/d/0B093ZnjXpNgFWG1nN1NHOUduUWM/view?usp=docslist_api

To access in recovery mode, just do a force reboot by pressing the Power and Volume Down the same time until you get a black screen and the green light. When you get the green light just hold the Volume Down to get into fastboot mode. Then select "Recovery" and flash the package.

Envoyé de mon XT890 en utilisant Tapatalk
[RAZR i Android Development] Hazou:
Looks like xposed doesn't work well with Intel Dalvik.

Need to revert that or xposed needs an update. Trying to get a new version out soon
[RAZR i Android Development] :
Did you have a look on the Snapchat issue?

Envoyé de mon XT890 en utilisant Tapatalk
[RAZR i Android Development] julianwi:
stagefright

I installed the new build and VLC works now. Thanks Hazou.

But the stagefright detector does still detect a vulnerability.
[RAZR i Android Development] Hazou:
Nope not yet.

Rare, CM already had pushed he update. Will have another look into that

Good :) Will update the FP
[RAZR i Android Development] diogo.sena:
[MENTION=4479363]Hazou[/MENTION] Any chance of having xposed already incorporated in the rom zip file ?
[RAZR i Android Development] Hazou:
Nope sorry, not everybody that uses this rom uses xposed.
[RAZR i Android Development] yepi15:
Xposed bootloop to completely reinstall the ROM :(
[RAZR i Android Development] Hazou:
5 comments above U, u will find your answer.
[RAZR i Android Development] diogo.sena:
no problems, i'll try to make a flashable zip when i have the time.
[RAZR i Android Development] Paull95:
Already using it, works great so far with xPosed installed using [MENTION=6770621]jevtheboss[/MENTION] link (Thanks!). I'm happy and amazed that development for this phone will go on :) I'd love to see some fix for the kernel tho, you know, since the phone oes from 600mhz to 2ghz in a blink of an eye :P (Don't know if it still happens in this new build tho)

Edit: Apollo doesn't crash anymore when sorting by album
[RAZR i Android Development] Hazou:
Really apollo? Can it play also?

About the kernel. We don't have any source for it. So I/We can't change anything. BUT they are working on it: link
[RAZR i Android Development] Paull95:
Good to hear about the kernel :)

Yes, Apollo works so good so far: It'll sort songs by album, open them and play them in the right order, of course. Didn't try anything else tho: My daily player is AIMP
[RAZR i Android Development] Hazou:
I know the problem. Front facing camera doesn't work. Now trying to get that working again.
[RAZR i Android Development] :
Happy to know that ! Take your time it's okay ;)

Thank you for your fast investigation !

Envoyé de mon XT890 en utilisant Tapatalk
[RAZR i Android Development] roymental:
Some apps that didn't work before are now ok: camera360 (perfectly), flickr (works flawlessly, but makes razr very hot, GSam Battery Monitor says it uses about 20% and more of battery), skype works good, but sometimes reacts slowly.

the phone is responsive and everything besides the hot flickr-app works perfectly. thanks, hazou!
[RAZR i Android Development] Hazou:
Can u do something for me for the flickr app?

Connect phone to PC with adb access

Make sure nothing runs in the background, clean restart

Wait a bit after the restart

Now do adb logcat > logcat.txt

Open flickr, use it for a bit

Stop adb and and send the txt to me.

This way I get everything that is running alongside flickr when it starts and executes. A log should always be like this :p the log wil be big, but that's why there is a search function.
[RAZR i Android Development] roymental:
Is it the same to you if I use the catlog app inside the phone ? Cause I deleted everything I don't need on my macbook air due to small HD, so no more android stuff there :(
[RAZR i Android Development] Hazou:
Yep, its the same

hmm, so if u try a build earlier u don't have any problems with battery life?

I almost can't belief it is caused by the changed I made. Non of them should impact battery life.
[RAZR i Android Development] Hazou:
That's not good. But sadly I can't test it myself. The battery in my phone is almost dead, just some juice to work for 6 hours.

What does the battery stats say? Or can u even try a fresh install for just one night? and see what happens.
[RAZR i Android Development] chuckiebronco:
Can't confirm higher battery drain. Seems to be as before for me so far.

Though i had some reboots right after android Start (when directly opening apps/generating CPU load.

Doesn't happen when waiting few minutes after boot completed.

Might also have to do with Xposed (or modules) , zenfone/Intel Version is installed.

Tapatalked via motoRAZRi
[RAZR i Android Development] Hazou:
The kernel log says it can't connect correctly to the front camera. In my case it can be because of a fault in the front camera and that's why it won't work on mine.

Can other people use the front camera?
[RAZR i Android Development] :
Weird... In my case the front camera works in every camera app :/ in Snapchat I can briefly see the front camera working before it crashes
[RAZR i Android Development] Hazou:
And in the normal camera app?
[RAZR i Android Development] :
I can take a picture with the front camera, the same for video recording. Everything works perfectly as usual in the other apps except on Snapchat.

Envoyé de mon XT890 en utilisant Tapatalk
[RAZR i Android Development] roymental:
here's my flickr log.

not sure, but seems like today it isn't getting hot, but it did everytime I used it before...

is the log ok? does it help?

battery life is ok besides the flickr incidents.

front camera is ok with open camera and camera360 ultimate.

Edit: I think it's not necessary to examine the log. Flickr is active since I sent this post, battery drain is very low, like 0.3%.
[RAZR i Android Development] :
Indeed I've more often got the same overheat issue. Rarely it's a bit laggy but not very shocking :)

I also got a worse battery life.

I saw Goppi's message on GitHub about the sources. Hope you're gonna fix easily these problem thanks to sources and we'll get a perfect ROM :)

Envoyé de mon XT890 en utilisant Tapatalk
[RAZR i Android Development] Paull95:
Unfortunately bettery life here is gone a bit down, tho I must say that, even though I have limited the CPU's speed to 1.4Ghz (Trickstermod thingy), rom in general works way more fluid than before :) And I think that reinstalling Amplify helped with the battery. Or it's just a placebo feeling.

Anyways anyhows, thank you for another amazing job
[RAZR i Android Development] Eserim:
OK - I broke a golden rule of IT change control and made two changes. I updated my ROM (not the latest one, the one before) as well as putting a new battery in. Now the phone switches off at anything between 20 and 29%.

So, is this a battery fault, issue with incorrect/not enough battery stats or something that can be corrected?

Many thanks.
[RAZR i Android Development] roymental:
I can only say I had exactly the same experience with my old battery (2 years in use). I replaced it and it took some days until the performance was perfect. Have you examined your battery stats?

Cheers from zurich :)