yashsingh1/xdaforums huggingface dataset:
[RAZR i Android Development] Hazou:
I got LP working but without the following:

- sound

- gps

- dataconnection

It seems there is some code missing for the blobs that are there in CM-11.0 If u can find what it is, sound and gps will work. For the dataconnection i dunno. I did notice that more phones have this problem. But every patch i found till 2 months ago didn't work.
[RAZR i Android Development] Hazou:
New version

Hello all,

Make a backup before proceeding!

Got a new version online. It is a pre-release version because things needs testing and online available on github atm. As u know, i am not in the position to test this anymore. So i am relying on all your reports. Do know that I can't fix everything and need logs. Logs, detailed explanation of what u did and what u wanted to achieve.

What is changed and needs testing:

- Coming out of airplane mode

- Bluetooth tethering and sound

- Wifi p2p. Enable it by removing the '.bk' from android.hardware.wifi.direct.xml.bk in the etc/permission folder. Wifi may stop functioning till reverting this change and rebooting.

Good luck, Happy testing
[RAZR i Android Development] Hazou:
Bt-pan interface is nog starter properly. Will look into this.

For the wifi p2p. After the change, removing the '.BK' and rebooting, does enabeling and disabeling the wifi works as expected? And if u can try p2p does it work?, again can normale wifi be enabled and disabled?
[RAZR i Android Development] :
Quick feedback for this update.

- BT was extremely improved, especially BT sound. I have less hissing and glitchy sound (due to a better RAM/CPU management?).

- I didn't test wifi p2p because I don't use this function. But it seems to be better. I noticed that wifi works better along BT enabled.

- According to me, the system, the apps are in general smoother, even arm-coded apps, like Snapchat, Here Maps, Facebook. Did you make improvements on Houdini or/and Dalvik ? (didn't check GitHub) NB: I got more free RAM.

You made an excellent job for this update, congratulations :)
[RAZR i Android Development] easecon:
Can someone tell me what i am doing wrong?

Im new to all this, i just got a phone that had a "Warning Bootloader unlocked" from the beginning and it wouldnt move past this message, so i figured i have to flash a rom. Since i cant find the original ones i tryed this one with RSD Lite. But while unzipping it gives me an error saying "No supported files in the zip file"

Can anyone help me get this or any other rom running please?
[RAZR i Android Development] Hazou:
You can't flash this rom through RSD-lite. RSD-lite can only flash images like system.img, recovery.img etc. This zip is not an image and can't be flashed. It can only be flashed/installed through a custom recovery.

If the phone u got only gets to the warning unlocked bootloader logo, then there are most likely more problems. Make a new post in the Q&A section and I/We can help.
[RAZR i Android Development] Hazou:
Incremental Update

Here i got an incremental update. This one is highly experimental. Make a backup first.

This is a new way to test stuff. Zip is smaller, and u most of the time can install them from here.

What is surely does:

- MMS update

- Some tethering update

What it could do (where also the problems may arise):

- Wifi update, new way to get MAC, p2p update

- BT update, removing BLE support, using libs from source, tethering update

md5sum: b5ad6df221d16e0042d075ccdc1eb908
[RAZR i Android Development] :
Tryna install it but I got this issue in TWRP:

Installing '/sdcard/Download/ota_v4.4.4_smi_249c9d9563_63fca2131a.zip'...

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

I:Zip does not contain SELinux file_contexts file in its root.

I:Legacy property environment initialized.

mount: failed to mount /dev/block/mmcblk0p17 at /data: Device or resource busy

Verifying current system...

failed to stat "/system/app/Provision.apk": No such file or directory

script aborted: "/system/app/Provision.apk" has unexpected contents.

"/system/app/Provision.apk" has unexpected contents.

I:Legacy property environment disabled.

E:Error executing updater binary in zip '/sdcard/Download/ota_v4.4.4_smi_249c9d9563_63fca2131a.zip'

Error flashing zip '/sdcard/Download/ota_v4.4.4_smi_249c9d9563_63fca2131a.zip'

I had checked the md5, that's correct.
[RAZR i Android Development] Hazou:
I should have said, this only works when u have the last pre-release version installed. Will just upload the full zip. Easier
[RAZR i Android Development] :
I did it, of course ;) I've already updated it to the latest build (05/27)

Thanks for the next build :)
[RAZR i Android Development] FreireFreire:
Need help. Phone froze at lock screen

I installed this rom about a month ago. Worked great.

Two weeks ago it froze, and after I rebooted it, it froze on the cyanogenmod screen. I flashed the rom again via TWRP and worked just fine.

But two days ago happened again and now sometimes freezes in the cyanogenmod screen and sometimes at the lock screen. It doesn't get past that.

In fastboot this error appears:

dismatched partition entry array crc32

When I go into recovery:

E: Invalid ulogo OSIP entry!

E: ulogo validation failed - show correct ulogo

When I try to reinstall the rom via TWRP:

E: Unable to open zip file.

Error flashing zip '/external_sd/rom/cm-11-20150409UNOFFICIAL-smi.zip

Updating partition details...

I downloaded it again, and the same thing happens.

When I was with the stock rom two months ago, it froze every week in the intel logo. So I decided to change. This one had been stable for a solid month. Is my phone doomed?

Can you guys help me? I don't know what else to do.
[RAZR i Android Development] St4mi:
Yup, seems like your flash memory is dying...

Stami
[RAZR i Android Development] Tamsta_T:
Your memory card might be faulty, if I were you I'd try different memcard first or scan current card against bad blocks. Also this could happen if memory card is fake; try to connect it to the computer and make FULL format using NTFS file system. If that would not help, another thing to do is to try to put firmware file on the root of memory card but first make sure firmware file you have is not damaged - check file's checksum or try to unzip it on your computer first (I had this problem couple of times).
[RAZR i Android Development] elpardua:
AVRCP Issues

Hi Everyone!

First thank you Hazou for this incredible job. Your rom is waaaaay better than stock for my daily use.

Anyone has AVRCP 1.3 issues with your car stereo? Specially with apps like spotify. I have an Alpine CDE133BT receiver, and found that file metadata is transmitted correctly from Poweramp and GP Music, but not from spotify. In spotify forums, officially they claim is an android fault (strange thing is poweramp manages to work well).

Initially there were compatibility issues during AVRCP version handshake, my stereo supports 1.3, but i've read that kitkat tried to set 1.5, and if that version wasn't supported by the receiver, it falls back to 1.0 instead 1.3. Now that CM11 sets 1.3 as the higher version it shouldn't be any problems right?

I've enabled HCI debugging, but can't see any relevant info in wireshark.

Someone tried to replace BlueZ with Bluedroid again?

Thanks in advance!
[RAZR i Android Development] Hazou:
Sorry, i don't know anything about this. But if u find something, let me know ;)

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

New build. 05-29. I uploaded this to my gdrive, because those are all experimental builds. When the build is good enough I will upload them to git and xda with the changes of course. It contains the changes I said in a previous post, so wifi and BT may not work.

gdrive
[RAZR i Android Development] Tamsta_T:
Wireless and bluetooth are not working (can't turn them on); can't test it properly because phone keeps freezing and rebooting :(
[RAZR i Android Development] Hazou:
Thanks for the testing. If someone also could provide some logcats, i can see if i made a mistake somewhere. At the moment it boots, u can do "adb logcat > logcats.txt". This provides me a logcat if u upload it.
[RAZR i Android Development] Tamsta_T:
logcats

Phone keeps rebooting every 2 - 3 minutes.
[RAZR i Android Development] Hazou:
Seems like it reboots, because of the some BT issues. Can't relate it to what i did, but it happend because i changed something.

Is there any way someone can also make a dmesg? You can open 2 terminals, one with logcat (adb logcat > logcat.txt) and one with kmsg (adb shell cat /proc/kmsg > kmsg.txt). The wifi issue is because the wifi module isn't loaded. I think i have somewhere a typo fault.
[RAZR i Android Development] Tamsta_T:
Done: logs

One folder for wireless, another one for bluetooth.
[RAZR i Android Development] Hazou:
ha, i see the wifi issue. The BT i don't know yet. Will see if i can upload a new build in a few days, probably next week.
[RAZR i Android Development] Tamsta_T:
No rush, take your time - I think most people are more than happy with the CM11 as it is now ;)
[RAZR i Android Development] chuckiebronco:
I think airplane mode is also not working 100% on 27.05. version. Have my phone set to airplane over night by llama and deactivated in the morning.

That works, but some times mobile connection only comes alive after i unlock the phone...
[RAZR i Android Development] diw's:
It's this Beta?
[RAZR i Android Development] Hazou:
Everything is , as is. So u could see it as beta.

But for me we went out of beta somewhere in April. But the last pre-release build is beta, as it says and the one on gdrive is also beta or even experimentale.
[RAZR i Android Development] dara85:
So which version is the most useable and stable?

Btw Hazou amazing work on this rom, made the "i" a great phone for day to day use again.
[RAZR i Android Development] baxxter106:
for me 20150409 works without any problems. no need to change...except i will get an Ubuntu Phone with 'Convergence' ;)
[RAZR i Android Development] KaZoNe777:
how get working Spirit1 FM Radio v2014_12_16 have busybox and alsamixer install and nothing scan ist ok i find stations without sound
[RAZR i Android Development] mervluk:
On Razr I? FM was disabled in Jellybean update and as far as I'm aware no one has found a way to re-enable it in Kitkat either. Spirit won't download from PlayStore as the phone model isn't shown as compatible by the developer, since April 2014, so where did your copy come from, as it shouldn't pick up stations on the Razr i either? I used the old Spirit 1 on my Razr i running ics until April when I upgraded the rom to this one.
[RAZR i Android Development] KaZoNe777:
some screenshots

postimg.org/image/mjlx9g1uz

postimg.org/image/s6ia6x4dn

postimg.org/image/tx1b8elwr
[RAZR i Android Development] Hazou:
Indeed, they disabled it in jellybean by removing the requered library's and maybe framework files. I could implement it in CM11, but i need the kernel source for it to even work. Because there are 2 different ways to get FM work on our phone,

The old way with "tifm", but we need proprietary libs for that and most likely they won't work on KK. The stock kernel has this support, but we don't have the libs.

The new way can be easily implemented in the kernel and the code is free and even in the CM sources. But we need the kernel to get it working. And even then i don't know if the soundcard has the correct paths from fm to speakers (hope that isn't needed by then).
[RAZR i Android Development] Eserim:
Hazou - did I miss something? If you are releasing new builds does that mean you've un-bricked your xt890? Or have you found an alternative. Good news whatever :)
[RAZR i Android Development] Hazou:
I haven't unbricked my phone. I don't have the knowledge to help it out of this state.

The builds i provide now are from my experience with what works and what shouldn't. And if any of those builds will become stable, I will upload it to xda and git with the tag 'release'. The others will be 'pre-release' or uploaded to the my gdrive public builds as beta. But I will post a link everytime for that.

Till this date the only 2 positive things that the new build got are airplane mode and bluetooth rights. The others didn't work or are broken in the new builds.
[RAZR i Android Development] capitarider:
Hello Hazou and the rest of you !

First of all I would like to thank you Hazou for your superb work. You give us the chance to blow new life into our Razr i . . .

What would you (Hazou) and the others say is the most stable and reliable version of cm for the razr i so far? Very important for me is GPS !

As baxxter106 said, for him it is version 20150409.

Any suggestions?

Thanks in advance for responding,

capitarider.
[RAZR i Android Development] Hazou:
Yep, what he says.

XDA will only provide stable ones. On github the ones with 'release' are the stabiel ones. 'Pre-release' is as the titel says a beta.
[RAZR i Android Development] RetsW:
Just downloaded it and its runnig so smooth, great job man.:good::good::good::good::good:

Is there a chance of a netfilter support in the future? i have no idea how hard it its to mod the kernel to enable netfilter support, but i really miss a working firewall.
[RAZR i Android Development] quixoticduck:
Oh no. I think I found a big fault or issue with my phone at least and I don't know what to do. :( I've been using this ROM for about 4 months. It has been fine until today, I've not changed anything but now it won't start up.

Today I was browsing on Firefox, I had quite a lot of tabs open. I got lots of error messages popping up saying 'Viber has closed it has run out of memory' and the same about Google Play Services and other stuff. I couldn't do anything as they were popping up so frequently so I restarted the phone. It was taking a long time to restart so I held power and down volume to do what I think is the equivalent of a battery pull? Now it's stuck at the 'Bootloader Unlocked' message screen. Every so often it makes the restart vibrate but the screen never changes.

Please help. :( I'm hoping everything will be ok when the battery wears down but I do not know.

Thank you.

---------- Post added at 08:33 PM ---------- Previous post was at 07:49 PM ----------

Ok update: I managed to make it go into fastboot recovery. I guess I can flash the ROM again? Or do factory reset? Man I've forgotten everything I learned!

I might wait for power to run down in case that fixes it...

edit: i tried the power off option in Fastboot and it won't do it. It's like my phone can't turn off.

SO WEIRD. I mean I've not changed anything in months.
[RAZR i Android Development] quixoticduck:
None of the options in fastboot seem to do anything any more. Could this happen to anyone at any time? Is my phone bricked? :( Everything seemed fine.
[RAZR i Android Development] Hazou:
So u can't even start the recovery through fastboot. Does the fastboot commands with the USB cable still work? If that commands gives an i/o error your while flashing anything emmc is probably screwed up. That can happen to anyone. It is just rare. We can't access the emmc fully, so no way to repair that with the knowledge there is now.
[RAZR i Android Development] spaq:
What viper settings (if any) help increase volume level on bluetooth headset?

Can anyone share this secret, its a big deal for me...

Thanks
[RAZR i Android Development] quixoticduck:
I will try it but I've built a new computer and so lost everything I set up for rooting :( I've completely forgotten how to get USB fastboot to work. I've downloaded Android SDK tools and installed Java and Razr i drivers. I can't work out the next step. :(
[RAZR i Android Development] qubbey:
1. Put the device in fastboot mode:

Press Vol-down + power, release power button instantly on vibration but keep pressing vol-down until the bootloader is displayed.

2. Connect device via USB to your computer and make sure the drivers are installed.

3. The folder probably wasn't added to the path variable, so go to the platform-tools in your android SDK install folder:

C:\Program Files (x86)\Android\android-sdk\platform-tools

Open a console there (hold shift while right clicking empty space in the folder -> open cmd here)

Type the following in the console and press enter:

fastboot devices

When a device is displayed the connection is working and you can try to flash a stock ROM via RSD lite or first try to flash a recovery image with

fastboot flash recovery filename.img
[RAZR i Android Development] quixoticduck:
Thank you. When I plug it in and do fastboot devices it says: TA32408A8G fastboot

and on my phone it says USB connected. One thing I'm confused about (even though I have read up and flashed multiple phones) is fastboot different from recovery and which one am I in do you think?

I just tried to flash a ROM and it failed but possible I did it wrong as it was not an img file as you said but an entire zip that I downloaded from here cm-11-20150409-UNOFFICIAL-smi

the good? news is the phone is responding to computer stuff as on the phone it says Getvar partition-type:recovery

Fastboot command failed

although obviously that's not 'good'...

thank you for your help so far, I will continue trying to work out how to fix it. I guess I've definitely lost anything on my internal memory though. :( I literally was going to do a backup and sell the phone yesterday >.<
[RAZR i Android Development] qubbey:
Recovery and fastboot mode are completly different things. Because fastboot devices showed a device, I would have thought you're in fastboot mode, but then how did you try to flash a ZIP file?

Did you use fastboot flash recovery cm-11-20150409-UNOFFICIAL-smi.zip :confused::eek::p

The recovery is something like cwm or twrp.
[RAZR i Android Development] quixoticduck:
edit: Sorry I posted this before I read your more recent reply. I'll look at that now.

"recovery cm-11-boot.img

(bootloader) Variable not supported!

target reported max download size of 104857600 bytes

sending 'recovery' (4865 KB)...

OKAY [ 0.793s]

writing 'recovery'...

OKAY [ 0.949s]

finished. total time: 1.744s"

I don't think anything happened. And it only took two seconds. :| Did I do it wrong or is my device randomly bricked? :( Thanks.
[RAZR i Android Development] qubbey:
I don't know what you are doing. But if you've just typed:

fastboot flash recovery cm-11-boot.img

then you've flashed the kernel of this ROM to your recovery :silly:
[RAZR i Android Development] quixoticduck:
Ok, it's been a few months and I wasn't planning on even rooting my next device so I've just forgotten what everything does. >.<

I don't know how to get into recovery as every option I select in fastboot on the phone just resets. I don't know if there's a way using USB.

I was in fastboot and tried fastboot flash recovery cm-11-smi.zip (I renamed it, I think that's ok?) and it says:

C:\Users\Clara\AppData\Local\Android\android-sdk\platform-tools>fastboot flash r

ecovery cm-11-smi.zip

(bootloader) Variable not supported!

target reported max download size of 104857600 bytes

Invalid sparse file format at header magi

error: write_sparse_skip_chunk: don't care size 180427552 is not a multiple of t

he block size 4096

error: write_sparse_skip_chunk: don't care size 75574048 is not a multiple of th

e block size 4096

sending sparse 'recovery' (102396 KB)...

error: write_sparse_skip_chunk: don't care size 180427552 is not a multiple of t

he block size 4096

error: write_sparse_skip_chunk: don't care size 180427552 is not a multiple of t

he block size 4096

OKAY [ 10.126s]

writing 'recovery'...

(bootloader) Invalid image size for partition recovery

FAILED (remote failure)

finished. total time: 10.330s

maybe I should have been in recovery not in fastboot? but not sure how to get there. Or if there is not enough space, how to delete things. :(

I'm still confused what caused it to stop functioning. :|

---------- Post added at 02:20 PM ---------- Previous post was at 02:19 PM ----------

oh :( I didn't know how to get into recovery since that wasn't working :(

I'm sure I did everything fine months ago but it's hard to do it correctly when the phone is not working... :(

Can I get a recovery file and flash that to my recovery from fastboot? :S I mean recovery wasn't working anyway already... :|
[RAZR i Android Development] qubbey:
Clara, please just stop flashing everything that moves :rolleyes:

---

Got to this thread: http://xdaforums.com/showthread.php?t=2441224

Download the recovery and extract it until you get an .img file.

Flash it via fastboot flash recovery recoverycwm6.0.5.1.4.img

Now enter recovery. While in fastboot mode, you can use vol-down to select an menuitem and vol-up to enter it.
[RAZR i Android Development] quixoticduck:
?

I did everything perfectly fine every time I've ever flashed a rom on multiple phones and then it broke by itself months later when I was browsing the web so the only time I've ever made mistakes was when I was working with something broken. Since I don't know about fixing broken phones and there aren't guides for my exact situation then that's not surprising.

I may as well try everything I can to fix it or I'll just be throwing away the second best phone in my household that I was going to give to someone with a worse phone. I still don't understand how a phone can just break like this. :( I guess I'm used to computers which are always fixable and easy to troubleshoot. :S

I noticed a recovery folder in the cm-11 zip. Not sure if I can flash that as a recovery... I'll try and find out. Nothing on my phone seems any different since it has broken anyway, it definitely doesn't seem *more* broken at least from what it's doing.

When I do adb devices nothing shows up but something does when I do fastboot devices so I guess there is a difference between the two. I guess the big problem is I'm very busy this week and hadn't reckoned on having to relearn everything so I am trying to rush things. :(

---------- Post added at 02:33 PM ---------- Previous post was at 02:32 PM ----------

Ok I'll try it, thanks Bubblegum.
[RAZR i Android Development] qubbey:
Noooo. STOP that flashing madness :mad: It's a miracle your phone isn't exploded yet.

That is correct. You are in fastboot mode. adc can be used in recovery as sideload or when the os booted and you active the developer settings, but it won't help you in your situation.

It's PRINCESS Bubblegum for you
[RAZR i Android Development] quixoticduck:
Sorry Princess Bubblegum. Haha, I didn't flash the recovery folder that I mentioned in the end dw, I downloaded the one you said instead. I think it flashed ok? At first it said 'fastboot menu disabled' but then it restarted (on its own) and now it just seems the same. :( When I try and go into recovery it still just restarts and doesn't go into recovery, just like when I started trying to fix it. :( Is there a way to tell it to go into recovery through the PC commands or won't that help?

Maybe this thread (came up when I googled 'fastboot menu disabled' is of help and my boot file is corrupted. :| >.<

If it would just go into recovery I'd be fine but it hasn't been able to since it first restarted and got stuck. :(
[RAZR i Android Development] qubbey:
OK :(

Then my last suggestion would be to install rsd lite and flash a stock firmware.
[RAZR i Android Development] quixoticduck:
I tried that and assuming I did it correctly nothing has happened. :( I just don't get what caused this to happen to my phone. Could it be a hardware issue that is affecting software. Like the memory that some files are stored on or something? Phones are so fragile compared to PCs. >.<
[RAZR i Android Development] qubbey:
When flashing a stock firmware via RSD lite, kernel, recovery, system and other stuff should be rewritten. But as Hazou said:
[RAZR i Android Development] quixoticduck:
Oh so the emmc is the internal memory? And unless someone opens the phone and replaces it all is lost? :(

Was this caused by playing with roms or is it a hardware thing that would have happened anyway? :|

Can I sell the phone for parts on eBay (I've noticed people doing that) or would it be unsafe since I didn't wipe any data... (which seems to be lost anyway). Thanks.