• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root ICS/CM9-JB/CM10 Development Thread

And just to make things more interesting, bluetooth just came on when I turned on my dev phone a few minutes ago. It's running AOKP41 (not that it matters, the code is the same in both builds).

I really want to know WTF is up with these intermittent problems with radio and bluetooth...
 
adb pull /proc/last_kmsg

Then you can post it on pastebin or whatever.

I don't have access to a computer at the moment when I do tomorrow probably I will, thanks for the hard work man.


The radios were functional after the first boot, upon loading (universal 4.1.2 gapps) and rebooted there was no radio. Wifi worked. I formatted everything again an reinstalled without gapps and still had no radio. Also I was getting random hangs and rebooted, but than again it could be just an isolated issue.
 
I have NOT had any issues with radios except for BT. Running good here. Other than BT and USB storage only other thing I have stumbled upon is voice search doesn't work, which is no big deal.
 
  • Like
Reactions: tdm
I don't have access to a computer at the moment when I do tomorrow probably I will, thanks for the hard work man.


The radios were functional after the first boot, upon loading (universal 4.1.2 gapps) and rebooted there was no radio. Wifi worked. I formatted everything again an reinstalled without gapps and still had no radio. Also I was getting random hangs and rebooted, but than again it could be just an isolated issue.

Use your root file explorer and go to /proc, and copy the last_kmsg to your sd card, then upload it to wherever tdm can get to it. :D

Edit: sorry about the double post. Tapatalk is acting up.
 
I have NOT had any issues with radios except for BT. Running good here. Other than BT and USB storage only other thing I have stumbled upon is voice search doesn't work, which is no big deal.

Voice search didn't work for me either. It just hangs after tapping the red mic button.
 
You should be able to open a terminal on the phone and copy the file off, eg:

cp /proc/last_kmsg /storage/sdcard0

From there you can upload it with your phone.

You may even be able to upload it directly without copying it.

Gotta go to work now, but I will do that later on in the day.
 
I love the new cm10 Thank you so much Tdm

I have had no problems with the radio put I have not install gapps

I put the .so files from the last cm9 and the camera's turn on the front one is the right way but I used a color wheel on the back one and the color is wrong and it force closed when I took pic
Maybe you could look at this for a temp fix till you get them fixed.
 
  • Like
Reactions: tdm
I love the new cm10 Thank you so much Tdm

I have had no problems with the radio put I have not install gapps

I put the .so files from the last cm9 and the camera's turn on the front one is the right way but I used a color wheel on the back one and the color is wrong and it force closed when I took pic
Maybe you could look at this for a temp fix till you get them fixed.

I built this release with the p970 ICS camera blobs, in anticipation of getting them working. I was not planning on making the cameras functional until then.
 
i got my last_kmsg and last_log here, should mine be useful?

Any time your phone crashes/reboots all the way back to the LG logo, grab a copy of /proc/last_kmsg and post it for me and Bloodawn to look at. It usually holds clues to what went wrong.
 
Any time your phone crashes/reboots all the way back to the LG logo, grab a copy of /proc/last_kmsg and post it for me and Bloodawn to look at. It usually holds clues to what went wrong.

I still haven't no crashes or restarts at all, but yes the thing about can't install aokp that you ask me for the recovery .log... and the flashing buttons in cm10.
 
has anyone tried another camera app as an alternative? in the past i have seen where people have found an alternative by doing this... just saying

It's not an app issue. The camera hardware is lacking drivers and/or sources at the kernel level.

Even with the drivers the sources are still not right so if the camera initialized the image would be unusable.

Trying a different app without the drivers is like trying to put a remote start on your bicycle.
 
As I say, tried to install aokp and got a aborted, then install cm10.

Here is the error:

set_perm: chown of /system/vendor/lib to 0 2000 failed: No such file or
directory
set_perm: chmod of /system/vendor/lib to 755 failed: No such file or
directory
script aborted: set_perm: some changes failed
set_perm: some changes failed
E:Error in /sdcard/Download/quattrimus-sniper-aokp41-test3.zip
(Status 7)
Installation aborted.

And indeed I just reproduced it.

The big question is, why didn't that show up in my testing yesterday? Or maybe it did and I just didn't notice. Which would make sense, as one of the following lines sets permissions on /system/xbin/su.
 
Here is the error:

set_perm: chown of /system/vendor/lib to 0 2000 failed: No such file or
directory
set_perm: chmod of /system/vendor/lib to 755 failed: No such file or
directory
script aborted: set_perm: some changes failed
set_perm: some changes failed
E:Error in /sdcard/Download/quattrimus-sniper-aokp41-test3.zip
(Status 7)
Installation aborted.

And indeed I just reproduced it.

The big question is, why didn't that show up in my testing yesterday? Or maybe it did and I just didn't notice. Which would make sense, as one of the following lines sets permissions on /system/xbin/su.

That was fast! ... I hope you can go through the fix easily,
really want to test aokp, I've never tested :D
 
That was fast! ... I hope you can go through the fix easily,
really want to test aokp, I've never tested :D

Okay so the issue is my fault. Which is expected.

Some time ago, when making ROMs for the Optimus One (VM670/LS670/etc), I learned that AOKP added some DRM libraries to play secured content. These are binary blobs, and they don't work with ARMv6. As a result they caused things to crash on the phone (I forgot which thing crashed, but that's really beside the point). To avoid forking and maintaining the vendor/aokp repository, I just removed these files in the post-packaging step.

The installer script is trying to initialize permissions for these files and directories (because, at the time the initial zip is made, they are present). But since my post-packaging stuff removes them, they are no longer present and the installer script can't initialize permissions for them.

I just checked and this same issue seems to be present in quattrimus-sniper-aokp-alpha3.zip (the ICS based AOKP alpha3). Don't know why it didn't show up before now.

I think I've got a fix coded up -- just remove the lines in the installer script that try to initialize permissions on non-existent files and directories. We'll see shortly if it works...
 
Okay so I fixed the install error both ways: only remove the DRM files for ARMv6 and remove the errant permission lines during repackaging. This also fixes the su binary, busybox symlinks, and whatever other weirdness was encountered.

Now if I can track down the radio and bluetooth connectivity issues, I can get back to camera work...
 
cm10 the radio runs off sprint for a while then It ask for a sim card reboots no then you get no radio I think it changes to tings network
 
It seems that sometimes hwaddrs (my mac reading program) sometimes gets wedged. And when that happens, rild cannot attach to the modem because it's in use.

Investigating that issue now.

For those experiencing radio issues, try deleting /system/bin/hwaddrs and reboot a few times to see if the problem clears up.
 
Google Now doesn't work with voice. I had to restore because my data stopped working, then the signal went out and all of my numbers were unknown. Wifi seems to be working well. Havent tested BT since i never really use it. Keep it up TDM. We will get there (:
 
Google Now doesn't work with voice. I had to restore because my data stopped working, then the signal went out and all of my numbers were unknown. Wifi seems to be working well. Havent tested BT since i never really use it. Keep it up TDM. We will get there (:



Same exact issue with me on cm10
 
Back
Top Bottom