[ROM][CM12.0] UNOFFICIAL CM12.0 for Tilapia

rjwil1086

Senior Member
Jan 12, 2011
120
181
73
Tulsa


This is a preview of CM-12.0 built almost entirely from CM sources. The only thing I have done is merged the aosp device tree for lollipop into the cm-11.0 device tree because there isn't a branch in CM sources yet and a few modifications listed below in features.

Features
- Settings->About Phone->CyanogenMod updates uses wfhome.net servers (my builds)

Latest Build
-Nightly's are being built now.

Downloads
http://goo.gl/yb6G5N

Old Builds
http://goo.gl/3nST2x - Android File Host

Google Apps
http://forum.xda-developers.com/android/software/gapps-google-apps-flashable-package-t2930266

TWRP 2.8.3.0
http://teamw.in/project/twrp2/150

Known Issues
- Ensure the default APN is properly selected or it take longer for it to connect.

All changes can be viewed on the CyanogenMod gerrit except the device tree. Changes can be viewed on my github account until a cm-12.0 branch is created for our device.

Thanks to all who have developed CyanogenMod and TWRP as well as the device and kernel trees for the Nexus 7.
I'm using a modified version of @JulianXhokaxhiu CyanogenModOTA tools on my web server.
https://github.com/julianxhokaxhiu/CyanogenModOTA

Source
http://github.com/CyanogenMod
http://github.com/rjwil1086
 

Attachments

Last edited:

mp3junkie

Member
Dec 15, 2014
5
0
0
getting stuck at boot image after google apps installed

Using Nexus 7 2012 mobile. installed rom but stops booting at boot animation. after i install google apps via twrp. any suggestions.
Thank You
 

rjwil1086

Senior Member
Jan 12, 2011
120
181
73
Tulsa
Using Nexus 7 2012 mobile. installed rom but stops booting at boot animation. after i install google apps via twrp. any suggestions.
Thank You
Mine did that once. I would try flashing CM12 without gapps first. If it boots then reboot into recovery and flash gapps. If that doesn't work, You may have to erase everything and reflash.

** DONT DO THIS UNLESS YOU CAN CONNECT TO YOUR PC AND ADB push or MTD mount in recovery **
I did the following when coming from CM11:

Code:
fastboot flash -w
fastboot format system
fastboot erase boot
then booted into recovery and copy the cm-12 zip and gapps zip back to the sdcard and flash.
 

rjwil1086

Senior Member
Jan 12, 2011
120
181
73
Tulsa
I have another file rild-A5. Your file A9
Does your A5 rild work any better than the A9 compiled with CM-12? I just checked the rild fix I created for AOSP using Android 4.4.4 rild source and it says A9 just like the Android 5.0.1 rild source. I haven't tried flashing it over cm-12 yet. Not sure if it will improve it.
 

infomenas

Member
Jan 6, 2010
48
3
0
It didn't install through adb sideload. I had to push packages to tablet and to install through TWRP. Booted quite a long time for the first time but after that it works well. Works everything (or I didn't notice any not working things). A bit laggy though. But not too much.
 

rjwil1086

Senior Member
Jan 12, 2011
120
181
73
Tulsa
It didn't install through adb sideload. I had to push packages to tablet and to install through TWRP. Booted quite a long time for the first time but after that it works well. Works everything (or I didn't notice any not working things). A bit laggy though. But not too much.
I've noticed lollipop lags for a while then it eventually speeds up. I believe it has to do with the way the art compiler works.
 

luilly

Senior Member
Sep 8, 2008
317
58
0
Madrid
www.luilly.com
@rjwil1086 thanks for make Lollipop version for tilapia. A question, size of system partition system is only 640MB is possible tu rise it? Actually I only have free 6,79MB with only Gapps installed. In i9300 version have no problem. Size of partition system is 1,20Gb

Enviado desde mi GT-I9300 mediante Tapatalk
 

OsitKP

Senior Member
Oct 3, 2008
540
246
0
Novosibirsk
Could you support the operation on multirom?
You can do it yourself by editing the update-script. Like this:
PHP:
assert(getprop("ro.product.device") == "tilapia" || getprop("ro.build.product") == "tilapia" || abort("This package is for device: tilapia; this device is " + getprop("ro.product.device") + "."););
#ifelse(is_mounted("/system"), unmount("/system"));
mount("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/APP", "/system", "");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_metadata("/tmp/backuptool.sh", "uid", 0, "gid", 0, "mode", 0755);
set_metadata("/tmp/backuptool.functions", "uid", 0, "gid", 0, "mode", 0644);
run_program("/tmp/backuptool.sh", "backup");
unmount("/system");
#if is_mounted("/data") then
#package_extract_file("system/bin/otasigcheck.sh", "/tmp/otasigcheck.sh");
#package_extract_file("META-INF/org/cyanogenmod/releasekey", "/tmp/releasekey");
#set_metadata("/tmp/otasigcheck.sh", "uid", 0, "gid", 0, "mode", 0755);
#run_program("/tmp/otasigcheck.sh") != "31744" || abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");
#else
mount("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/UDA", "/data", "");
package_extract_file("system/bin/otasigcheck.sh", "/tmp/otasigcheck.sh");
package_extract_file("META-INF/org/cyanogenmod/releasekey", "/tmp/releasekey");
set_metadata("/tmp/otasigcheck.sh", "uid", 0, "gid", 0, "mode", 0755);
run_program("/tmp/otasigcheck.sh") != "31744" || abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");
unmount("/data");
#endif;
Other lines should be left unchanged.
 
Last edited:

aneto

Senior Member
Oct 24, 2006
85
8
8
Barcelona
Nice, can you tell me what modifications you made to the ROM?
Yes I can.
These are the 4 lines to find and replace in updater-script:
Code:
mount("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/APP", "/system", "");

mount("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/UDA", "/data", "");

mount("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/APP", "/system", "");

mount("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/APP", "/system", "");
And has to be replaced by:
Code:
run_program("/sbin/busybox", "mount", "/system");

run_program("/sbin/busybox", "mount", "/data");

run_program("/sbin/busybox", "mount", "/system");

run_program("/sbin/busybox", "mount", "/system");
In addition to modify updater-script is also necessary to flash a compatible All F2FS kernel like M-Kernel