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

Root Building CM12: Work in Progress. Join In!

I had no problems with GPS. LTE works. I did have an issue of the screen not wanting to wake from sleep. Only happened once so far. I got xposed installed and I'm using gravity box for pie controls, any way to completely disable the nav bar and hardware buttons?
 
Looks great! I didn't test charge but no extra freqs are defined in precompile file acpuclock-8226.c, so setcpu won't detect any extra--same as last upload. Could someone please add the attached without .txt in pre-compile directory: /kernel/arch/arm/mach-msm/ (replacing acpuclock-8226.c there) I would do it myself, but the Ubuntu side of my HP Stream 7 tablet is wonky for charging right now. The freqs defined in this file will take our CPU to 1.6GHz. Thanks in advance. Eventually, I'd add more to take to 1800MHz but this file isn't my work, of course.
 

Attachments

Ok I decided to give repo sync another shot and its running with no errors at the moment. Hopefully i can help.
Edit Failed after manifest repo sync
screen shot below
 

Attachments

  • Screenshot from 2015-02-16 12:53:46.png
    Screenshot from 2015-02-16 12:53:46.png
    272.7 KB · Views: 168
Last edited:
You need to edit your local_manifest in .repo(its hidden) use the one I posted a few pages back.
pg 7 post 173

Hey bad_mofo, im having a hell of a time with cm12 source, i screwed up my local repo and cant get the source to download again, so im gonna just post here what i did for twrp lollipop so you can integrate it into your device tree. it should play nice with just building twrp and using twrp.fstab, and also for brunch x5 with recovery.fstab. after this all recoveries (cwm, twrp, and philz) should compile from the same source with no modifications.

in your source, modify Boardconfig.mk under the twrp section, make "TARGET_RECOVERY_FSTAB := device/lge/x5/recovery.fstab" point to "TARGET_RECOVERY_FSTAB := device/lge/x5/rootdir/twrp.fstab" instead.

also, i have
TW_EXTERNAL_STORAGE_PATH := "/external_SD"
TW_EXTERNAL_STORAGE_MOUNT_POINT := "external_SD"

and

TW_INTERNAL_STORAGE_PATH := "/sdcard"
TW_INTERNAL_STORAGE_MOUNT_POINT := "sdcard"

set there too, and according your storage_list.xml in overlay on your device tree on github, those should be the correct settings.

also, i had to remove the line "/sdcard auto /data/media/0" from twrp.fstab in rootdir to get both the external and internal sdcards to show in twrp.

thats all it took to compile twrp easily with our existing trees, and i modified my cm11 tree the same way which i will post to github when i get a chance. and of course, make sure you have recovery-twrp (with omnirom_bootable_recovery rev5.0.1) inside /bootable.

i know donjuro was asking for a philz build (which i tried and errored out like crazy), and my cm12 source was so old i tried to repo sync and broke everything. id imagine the above should work just fine for philz also.
 
my bad on the above post. i had a few errors i just realized.

make sure "
PRODUCT_COPY_FILES += \
device/lge/x5/rootdir/twrp.fstab:recovery/root/etc/twrp.fstab"

is in the tip top of the device_x5.mk file.

also, revert to this in BoardConfig.mk

"TARGET_RECOVERY_FSTAB := device/lge/x5/recovery.fstab"

from this

"TARGET_RECOVERY_FSTAB := device/lge/x5/prebuilt/twrp.fstab"

Using "TARGET_RECOVERY_FSTAB := device/lge/x5/prebuilt/twrp.fstab" works for building only recoveries, the actual roms themselves need recovery.fstab defined there instead. I have not had much luck with Product_Copy_Files in device_x5.mk, but from looking at hammerhead source on omnirom, thats the way its supposed to be.
 
Hey all, I'm probably going to be getting a Volt soon. I'm coming over from Squid/Skinbark's KitKat build on the Optimus S/V forums on Android Central. I help Beta test/worked some kinks out. One thing I found was a file in the \etc called audio_policy.conf that needed to change a value from speakerphone to earpiece. Might be a place to check if you have issues with audio.
 
Back
Top Bottom