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

Root CM12.1 UNOFFICIAL RC5

I got my tree set, synced source, cloned your got, manually downloaded java 1.7.0, but it still says 1.7.0_79 any ideas can't build cause says wrong java version
 
You can't you need to get the source from his got and build it yourself he has the first one available for DL on first page otherwise he wants you to build one from source
 
I got my tree set, synced source, cloned your got, manually downloaded java 1.7.0, but it still says 1.7.0_79 any ideas can't build cause says wrong java version
I had to use open jdk for it to run right. Now I've run into a prob building kernel. Its stops build.
 
Dammit. All this talk is getting me back into wanting to build and compile ROMs. Unfortunately I have a limited bandwidth but it resets on the first so I'll be downloading source and getting that ready soon .
 
Dammit. All this talk is getting me back into wanting to build and compile ROMs. Unfortunately I have a limited bandwidth but it resets on the first so I'll be downloading source and getting that ready soon .


well if you want to help with out building from source, you can help trying to figure out the mixer_paths.xml file, that is what I think is the problems with sound

I will upload a new build that has working wifi, and the camcorder issue fixed in a few minutes
 
well if you want to help with out building from source, you can help trying to figure out the mixer_paths.xml file, that is what I think is the problems with sound

I will upload a new build that has working wifi, and the camcorder issue fixed in a few minutes


here is a new test build with working wifi and camcorder fixed

https://www.mediafire.com/?7h2e4y1n6qyvs35

i will update the op as well
 
@hroark13 So I've been pondering through the mixer_paths.xml file. Keep in mind I have no idea what I am doing. However some of these values don't seem correct.
Like what do some say "ZERO" for the value instead of just simply "0"
Like this one:
<ctl name="IIR1 INP1 MUX" value="ZERO" />
 
@hroark13 So I've been pondering through the mixer_paths.xml file. Keep in mind I have no idea what I am doing. However some of these values don't seem correct.
Like what do some say "ZERO" for the value instead of just simply "0"
Like this one:
<ctl name="IIR1 INP1 MUX" value="ZERO" />


the file is from the 444 stock rom

when Cm12 is built it creates and new audio HAL /system/lib/audio.primary.msm8226.so
this new audio HAL has differnet mappings or ACDB ids I guess

we can not use the old audio hal cause it calls files in the stock rom that we can not use, and if we tries cm12 would not boot

at this point I am not sure if i need to update the kernel to fix audio, and have the kernel and the hal mtach or if we just have to update th mixer path
 
ok, I am pulling the test builds for now

I noticed that when we install CM12.1 the sensors are wacked out, and now I find out if I restore to stock rom the sensors are still wacked out and do not work right

after some research, I found out it was settings in the persist partition causing the problem

after copy the persist partition from another phone (same exact model and software build) that never had cm12.1 installed
the rotation stated to work normal again (while booted in stock rom)

DONT DO THIS ON YOUR OWN THE PERSIST PARTITION ALSO HOLD THE BT AND WIFI MAC ADDRESS


my guess about this is

in Cm12.1 I am using the 4.4.4 Kernel

my phone is the 4.4.2 model

during an update from 4.4.2 to 4.4.4 a lot of partitons are updated including the boot loaders, and the modem and such

so one of these other partitions probably has firmware or something for the sensors

so while I am using this sensor firmware for 4.4.2 and installing a 4.4.4 kernel that has different sensor drivers, something is getting corrupted

I am curios to know if the Butternoob ROM has this issues as well

I am also curios if the people that already had 4.4.4 and loaded cm12.1 have this sensor issue

so if some people can report back, I would appreciate it



also if you have installed cm12.1 and then restored back to stock and now have the rotation sensor issue, I can try to help you fix the issue
 
Last edited:
ok, I am pulling the test builds for now

I noticed that when we install CM12.1 the sensors are wacked out, and now I find out if I restore to stock rom the sensors are still wacked out and do not work right

after some research, I found out it was settings in the persist partition causing the problem

after copy the persist partition from another phone (same exact model and software build) that never had cm12.1 installed
the rotation stated to work normal again (while booted in stock rom)

my guess about this is

in Cm12.1 I am using the 4.4.4 Kernel

my phone is the 4.4.2 model

during an update from 4.4.2 to 4.4.4 a lot of partitons are updated including the boot loaders, and the modem and such

so one of these other partitions probably has firmware or something for the sensors

so while I am using this sensor firmware for 4.4.2 and installing a 4.4.4 kernel that has different sensor drivers, something is getting corrupted

I am curios to know if the Butternoob ROM has this issues as well

I am also curios if the people that already had 4.4.4 and loaded cm12.1 have this sensor issue

so if some people can report back, I would appreciate it



also if you have installed cm12.1 and then restored back to stock and now have the rotation sensor issue, I can try to help you fix the issue

That may have been why my accelerometer wacked out when I flashed back to my Nandroid of butternoob v2. Before the phone went out the rotation was acting completely crazy.

To answer your question, yes I had problems with stock 4.4.4 after flashing CM12.1
 
PLEASE DONT TRY TO COPY THE PERSIST PARTITION FROM ANOTHER PHONE BECAUSE IT ALSO HOLDS THE BT AND WIFI MAC ADDRESS, WE ARE GOING TO HAVE TO MAKE A BACKUP OF THIS PARTITION BEFORE WE TRY TO FIX IT

I AM CURRENTLY LOOKING FOR A GOOD WAY TO FIX THIS
 
PLEASE DONT TRY TO COPY THE PERSIST PARTITION FROM ANOTHER PHONE BECAUSE IT ALSO HOLDS THE BT AND WIFI MAC ADDRESS, WE ARE GOING TO HAVE TO MAKE A BACKUP OF THIS PARTITION BEFORE WE TRY TO FIX IT

I AM CURRENTLY LOOKING FOR A GOOD WAY TO FIX THIS
So your CM12 build flashed firmware as well?
 
Back
Top Bottom