yashsingh1/xdaforums huggingface dataset:
[G 2014 Android Development] RukusX7:
I've never actually offered support for this rom. I was building it for myself to run it as my daily driver on my Titan and decided to share my personal builds with you.. Now that my Titan is ded, I no longer have any reason to continue development.

This rom is super easy to build. Setup a build environment on a PC, and literally all you require is temasek sources and a manifest that includes Titan device trees. I can provide mine.

To be honest, i have no longer any interest in this rom and I welcome anyone to continue development.

Sent from my Oneplus One
[G 2014 Android Development] luke!:
I've a little experience in building ROMs but I'm trying... Did you use CM device tree (https://github.com/CyanogenMod/android_device_motorola_titan/tree/cm-12.1?files=1) or did you make it on your own? Sorry for the question, I've been reading lots of material in the last days but still have some doubts :/
[G 2014 Android Development] RukusX7:
First, ask temasek for permission to share his rom.

Then, in your build directory

$ repo init -u https://github.com/temasek/android.git -b cm-12.1
$ repo sync

Then this roomservice.xml by placing it in a folder named local_manifests. You may need to create this folder in your .repo directory located in your build directory.

<manifest>
<project name="TheMuppets/proprietary_vendor_motorola" path="vendor/motorola" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_device_motorola_titan" path="device/motorola/titan" remote="github" />
<project name="CyanogenMod/android_device_motorola_msm8226-common" path="device/motorola/msm8226-common" remote="github" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="CyanogenMod/android_kernel_motorola_msm8226" path="kernel/motorola/msm8226" remote="github" />
<project name="CyanogenMod/android_hardware_qcom_fm" path="hardware/qcom/fm" remote="github" />
</manifest>

then

$ repo sync
$ . build/envsetup.sh
$ brunch titan

This is a very SIMPLE guide to build this rom. You may want to enable CCACHE with at least a 20GB cache. I'm assuming you have a proper build setup.

Need some help? Check out this.

[GUIDE][COMPLETE] Android ROM Development From Source To End

and of course, the CyanogenMod Wiki is very helpful
[G 2014 Android Development] luke!:
Yes, obviously if my "private" test went successfully, I would ask the permission before publishing something ;)

Thanks a lot for your time and for the guide. Very appreciated :)
[G 2014 Android Development] RukusX7:
Just making sure respect is made. :)

You're welcome.

Sent from my Oneplus One
[G 2014 Android Development] RukusX7:
The code for the roomservice.xml disappeared. Not sure why? If anyone wants it, message me.
[G 2014 Android Development] RukusX7:
There are also some minor changes to be made to build with linaro 4.9. If you don't make these changes? Linaro 4.8 is used.

Not a big deal. I just thought linaro 4.9 would be cool to try. Flashhhh uses 4.9 and 5.2 for his builds for the 2013 moto g. It's all preference.

Here is the commit that matters to this.

https://github.com/LinaroCM/android...mmit/049a1e7d015b639a8d882087a229dfb1e218b22a

Sent from my Oneplus One
[G 2014 Android Development] Vidhanth:
That's it?

And sync first and add manifest later?
[G 2014 Android Development] RukusX7:
Then sync again. And run the build commands.

Sent from my Oneplus One
[G 2014 Android Development] :
[MENTION=3478918]RukusX7[/MENTION] you missed revision in manifest you posted above.
[G 2014 Android Development] LuK1337:
Revision is being filed automatically as project's revision is the same as remote.
[G 2014 Android Development] Vidhanth:
I accidentally dirty flashed this rom over slim saber.. And to my surprise there's not even one bug or crash.. Just thought of putting it here
[G 2014 Android Development] :
Don't know what to say lol but just didn't want this awesome rom to be dead :)

New build is up

Download

If someone would like to take over this, please go ahead :)
[G 2014 Android Development] luke!:
I'm trying to learn as fast as I can, I'm reading lots of guides but the problem is the "repo sync" command before including "local_manifest" directory. It takes hours & hours without an end. I've read about excluding some of the code that's unnecessary for the device but I'm struggling to find clear info about it. If you have any suggestions....

Btw, great work [MENTION=4910973]Vatsal[/MENTION], one of the most active dev for Titan :D
[G 2014 Android Development] :
A repo sync is around 20-25 gb so depending on your internet connection it takes time

Let repo sync finish then put manifest stuff and it hardly takes little time to sync

Then you can build :)
[G 2014 Android Development] luke!:
I've read it would be a massive download but I've a 8 Mbits line, I though I could download it in ~10 hours max. Hope I'm not doing something wrong. BTW, thank you for the reply?
[G 2014 Android Development] Vidhanth:
May I know your PC specs?
[G 2014 Android Development] luke!:
I'm using a virtual machine with these settings:

on an Intel i5.

Processor Base Frequency:	1.7 GHz - Max Turbo Frequency: 2.7 GHz

Virtual machine's fault maybe?
[G 2014 Android Development] Vidhanth:
I assume you have 6-8 gigs of ram then.. No it cannot be the virtual machine's fault.. And its not even a fault... Repo sync takes between 5hrs to 5 days depending on your internet connection..

I have 30 Mbps here and it takes around 2-3 hours for the cm source to sync..

Btw, I have

i7 @ 4GHz

16 GB ram

Maybe that makes a difference??

And I strongly recommend a dual boot instead of VM..

And I have already built this ROM.. Just waiting for my net connection to renew and [MENTION=3478918]RukusX7[/MENTION] to transfer the thread to me :)
[G 2014 Android Development] luke!:
Yes, I've 8 gigs of RAM. Ok, thank you for the data, you give me an idea of the time needed.

I know I should dual booting but UEFI makes things more difficult than in the past and now I don't have time to deal with it. :|
[G 2014 Android Development] Vidhanth:
UEFI is not a big deal lol.. You just have to turn Secure Boot and fast boot off, then turn on CSM and boot into bios again with the installation media plugged in and put it to the top in the boot priority list.. And then install the os to another partition, and also select the same partition for boot loader installation.. That's it! You'll have to use EasyBCD to add Linux to your windows bootloader though..

And btw sorry for the OT, Rukus [emoji14]
[G 2014 Android Development] RukusX7:
There was never any rule here against OT. :)
[G 2014 Android Development] RukusX7:
This is the dinosaur that I was building on. Builds took around an hour or so. Dual boots windows.

<=== SYSTEM ===>

Distro info:	Linux Mint 17.1 Rebecca

Kernel:	Linux M-480 3.13.0-65-generic #105-Ubuntu SMP Mon Sep 21 18:50:58 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Uptime:	19:36:24 up 5 days, 1:08, 3 users, load average: 0.60, 0.45, 0.40

Memory:	Total: 5862Mb	Used: 5685Mb	Free: 177Mb

Swap:	Total: 6687Mb	Used: 0Mb	Free: 6687Mb

Architecture:	x86_64

Processor:	0 : Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz

Processor:	1 : Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz

Processor:	2 : Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz

Processor:	3 : Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz

I have zram enabled for extra swap. I'm not sure its a necessary option. zram compresses ram for extra swap space in turn for cpu cycles.
[G 2014 Android Development] Vidhanth:
You generated that? Or typed the whole thing?
[G 2014 Android Development] RukusX7:
Used a script I found.

Oh, and the thread should be yours now BTW. :)

Sent from my Oneplus One
[G 2014 Android Development] Vidhanth:
Yeah! Thanks for the thread, and the project :)
[G 2014 Android Development] RukusX7:
You're welcome

Sent from my Oneplus One
[G 2014 Android Development] :
Fresh new build if someone is interested

Download
[G 2014 Android Development] Vidhanth:
Thanks! I hope you'll be able to maintain this until I get over all those sync errors :)
[G 2014 Android Development] :
Possibly yes :)
[G 2014 Android Development] :
Fresh new build online :)

Download

Changelog
[G 2014 Android Development] Vidhanth:
Please maintain for 4 more days :)

Exams [emoji24] [emoji35]

Thanks! [emoji1]
[G 2014 Android Development] :
Fresh new build is online :)

Download

Changelog
[G 2014 Android Development] Vidhanth:
You are crazy awesome man! I think you should take up this project.. Can you? Not because I can't.. It's because you'll be able to provide builds more frequently than me.. And I think I seriously messed up my hdd by dropping it..[emoji22] [emoji4]
[G 2014 Android Development] :
I am sorry man. I am mantaining it only till you resume this project.
[G 2014 Android Development] Vidhanth:
No problems then! Hope you continue maintaining for a few more days ;)

Thanks anyways!
[G 2014 Android Development] RukusX7:
I could do a build too. Like on a weekend or something
[G 2014 Android Development] Vidhanth:
My exams are ending on Sat.. So I'll be able to maintain from then. If I'm having some errors, then I'll let you know. Thanks!:)
[G 2014 Android Development] RukusX7:
Oh okay. Sounds good man.
[G 2014 Android Development] :
New build is up!

Download

Changelog
[G 2014 Android Development] luke!:
I've just built this ROM thanks to the info given by [MENTION=3478918]RukusX7[/MENTION] and [MENTION=5514501]Vidhanth[/MENTION]. Now I'm A BIT less noob about building ROMs, I've read lots of material. Thanks again guys.

BTW, if you need someone who can build this one on regular base, here I am. So if Vidhanth had some problems, I would be able to build. Now I don't know if it's the case to share with you the 2015-10-16 ROM since [MENTION=4910973]Vatsal[/MENTION] published yesterday the new build.
[G 2014 Android Development] :
Yep you can put regular builds here. I'll be stopping to build it now :)
[G 2014 Android Development] luke!:
Sooo...

New build here: DOWNLOAD

Changelog
[G 2014 Android Development] Vidhanth:
Thanks! Btw I don't think ull have to do it anymore... I'll start building from tomorrow or day after... My exams are gonna end tomorrow! :victory:

I can add you as a co maintainer though ;) would that be fine?
[G 2014 Android Development] luke!:
The exact moment after you finish the exam... I know that feeling ? Break a leg! ?
[G 2014 Android Development] Hugo_PM:
I was missing this rom ?
[G 2014 Android Development] RukusX7:
I miss my titan. Lol. Kinda. My oneplus one is pretty cool too. Even with microphone issues.
[G 2014 Android Development] RukusX7:
View attachment 3508893
[G 2014 Android Development] himsin:
How about you guys go for official tag now ;)
[G 2014 Android Development] luke!:
If someone's interested, new build here:

DOWNLOAD

Changelog

Waiting for the green light from Vidhanth to stop publishing builds :)
[G 2014 Android Development] Vidhanth:
Added [MENTION=6657294]luke![/MENTION] as co-maintainer.. This dude shall be providing builds daily or whenever its ready.. I'll start maintaining once I claim the warranty of my ram, since its giving me problems :) After i get a replacement, [MENTION=6657294]luke![/MENTION] and I shall be maintaining this together (alternative days maybe :p )
[G 2014 Android Development] kostelo:
Something is wrong with the link. I can't seem to find the zip to download.:(
[G 2014 Android Development] luke!:
Fixed:)
[G 2014 Android Development] luke!:
New build here:

DOWNLOAD

(very short) Changelog
[G 2014 Android Development] Vidhanth:
Good news, I got my ram replaced. Now I don't have any issues with my desktop so I shall start syncing today or maybe tomorrow. :)
[G 2014 Android Development] luke!:
New build here:

DOWNLOAD

Changelog

Interesting line in the changelog:

* frameworks/base/
874c47e Support for faster brightness response to light changes.

I see a little improvement in the responsiveness indeed.
[G 2014 Android Development] andy25287:
Xposed Framework

Xposed Framework v75 is not working, any one knows how to get to work xposed framework??

Thanks in advance..
[G 2014 Android Development] himsin:
working for me, I am on latest build of temasek and v75 of xposed
[G 2014 Android Development] andy25287:
I am 19 oct build...will try it on latest ..

Thanks :)
[G 2014 Android Development] luke!:
Xposed works without any problems.Try to follow these steps to install it correctly:

) Install the xposed framework: http://xdaforums.com/atta...6&d=1435601440 BUT DON'T OPEN IT;

2) boot into recovery and wipe Cache & Dalvik;

3) flash this zip: http://xdaforums.com/attachment.php?attachmentid=3499278&d=1444255420;

4) wipe cache & Dalvik;

5) reboot and open the Xposed app, tap on "Framework" and now you should see a green text that tells you that xposed is running correctly like this:

Then you can install the modules, I would suggest to install them one by one.

P.S.: The new build will come a few hours later than usual due to university commits ;)
[G 2014 Android Development] andy25287:
Not working :(
[G 2014 Android Development] luke!:
Could you please attach the log file that you find in the Framework app? ☺
[G 2014 Android Development] andy25287:
Here is log file.
[G 2014 Android Development] luke!:
New build here:

Download

Changelog

[MENTION=5583472]andy25287[/MENTION] I have an idea, I'll test a solution ASAP.
[G 2014 Android Development] andy25287:
Thanks buddy....:):)

Should i test xposed on this build ???
[G 2014 Android Development] luke!:
Your problem is a missing file:

/data/data/de.robv.android.xposed.installer/conf/modules.list

I don't know why that's happening. Have you clean flashed the ROM? Have you installed the last Framework apk?

Inviato dal mio Moto G 2014 utilizzando Tapatalk
[G 2014 Android Development] Vidhanth:
Here's the beast I'm gonna work on :) -

Distro info:	Ubuntu 14.04.3 LTS
Memory:	Total: 15992Mb	Used: 4187Mb	Free: 11805Mb
Swap:	Total: 16326Mb	Used: 0Mb	Free: 16326Mb
Architecture:	x86_64
Processor:	0 : Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
Processor:	1 : Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
Processor:	2 : Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
Processor:	3 : Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
Processor:	4 : Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
Processor:	5 : Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
Processor:	6 : Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
Processor:	7 : Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz

EDIT- Any ideas why swap is zero?
[G 2014 Android Development] :
Used swap is 0

But 16GB swap? You crazy?
[G 2014 Android Development] Vidhanth:
Lol I just let Ubuntu decide. I selected "Erase disk and install" so Ubuntu is the culprit xD

Btw that's what I was asking. Why is it 0?
[G 2014 Android Development] luke!:
New build:

DOWNLOAD

Changelog
[G 2014 Android Development] RukusX7:
I'm gonna guess because you have no need to swap. Haha 16gb ram budday
[G 2014 Android Development] Vidhanth:
Haha I was thinking the same [emoji28]
[G 2014 Android Development] RukusX7:
16gb swap is necessary if you want to make use of hibernate.
[G 2014 Android Development] luke!:
Thanks to the info shared by [MENTION=3478918]RukusX7[/MENTION] , building this ROM is not that difficult. The only "problem" is that I'm a bit lazy and I don't want to seat in front of the screen waiting for repo sync to finish etc. etc. :D So I've written a VERY VERY SIMPLE script that completely automates the building process without the need of giving multiple terminal commands. You have to modify a bit the code with the paths of your directories. I've been using it for some days and I just wanted to share it with you, maybe there's someone who compiles the ROM by himself and would appreciate it.

SCRIPT DOWNLOAD

Please don't blame me if it doesn't work. If properly set, it works ;)
[G 2014 Android Development] CreasingMass Dev:
Try to rise up swappiness with this command

sysctl vm.swappiness=(this can be from 1 to 100)

But yea, you don't need swap at all with that ram

Btw nice build, keep it going :highfive:
[G 2014 Android Development] Vidhanth:
Yup.. I too think that I dont need swap..

And don't thank me.. Thank [MENTION=6657294]luke![/MENTION]
[G 2014 Android Development] luke!:
Added screenshots in the OP but I can't add them in the proper tab, maybe because I'm not the author of the thread. [MENTION=5514501]Vidhanth[/MENTION] could you please add them? In the screens you can see the Temasek features but the main differences are under the hood. Try them and you will see ;)
[G 2014 Android Development] Vidhanth:
I'll surely do it later ;)
[G 2014 Android Development] luke!:
New build:

DOWNLOAD

Changelog

Today changelog:

====================
10-24-2015
====================

====================

I've uploaded the build just because it's an automated process but as you can see, there's nothing new. I think that now I'm going to build the ROM on alternate days :)
[G 2014 Android Development] himsin:
Yes alternate days is gud idea. Thanks for sharing builds :)
[G 2014 Android Development] Vidhanth:
Ok so I'm again transferring this thread to [MENTION=6657294]luke![/MENTION] as I'm very busy with schoolwork and stuff, and I also think that he's more deserving :)

This thread should be transferred to you in a few days, or hours, Luke

And I hope this decision also helps me give some time to my other projects

:)
[G 2014 Android Development] luke!:
You're welcome :) The ROM is very stable at the moment so I think daily updates are not needed but I will keep an eye on the changelog every day... You never know ;)

Thank you for the kind words. :)
[G 2014 Android Development] andy25287:
Have you find any solution on this ???
[G 2014 Android Development] luke!:
You quoted me without answering lol
[G 2014 Android Development] jackcicci:
Thanks for your work, the Rom is very good, no problem so far, I'm using it since yesterday the new version. I'm testing battery life, I will let you know after some days. Thank you again!
[G 2014 Android Development] andy25287:
I performed clean flash still its not working.
[G 2014 Android Development] luke!:
You can try to create the modules.list file including the path of the apk you've installed. I'm assuming you've installed the last framework apk.
[G 2014 Android Development] andy25287:
how to create modules.list file ??
[G 2014 Android Development] luke!:
1) Download the file from here;

2) Open it and add the paths of the modules you've already installed, it will be something like /data/app/modulefolder/module.apk;

3) save the file and place it in /data/data/de.robv.android.xposed.installer/conf/

4) reboot and post the Xposed Log here
[G 2014 Android Development] Vidhanth:
Yup so the thread is yours now, [MENTION=6657294]luke![/MENTION]

Enjoy!

Edit- I think you should remove me from the contributors list ;)
[G 2014 Android Development] RukusX7:
What a change of hands lol.
[G 2014 Android Development] luke!:
Copy :) Thanks
[G 2014 Android Development] Vidhanth:
I thought it should go to the one who deserves it :)
[G 2014 Android Development] RukusX7:
Yah. Its nice to not see it die. :)
[G 2014 Android Development] dheerajma007:
Floating Notification

Earlier, when a notification arrived, clicking on the headsUp notification would open the app in floating window. Now that feature is not seen. Instead notification has to be long pressed from notification drawer to launch in floating mode. Is there any way to bring back the previous setting in latest build?
[G 2014 Android Development] luke!:
Little preamble: I cannot guarantee that I'll make changes.

Could you please specify the nightlies you're referring to?
[G 2014 Android Development] dheerajma007:
I was using 09-09 Nightly for a long time. Don't know in which version it was removed.
[G 2014 Android Development] luke!:
It's enough. ;)

The feature was removed by temasek. Here is the commit

It seems there were conflicts with the status bar so I don't even try to fix it, sorry :(
[G 2014 Android Development] dheerajma007:
:( Thats sad.
[G 2014 Android Development] jackcicci:
Hello [MENTION=6657294]luke![/MENTION] I'd like to ask only if the Google backup was removed too. When I updated at the last version I noticed that during the setup after entering my Google account the phone did not restore the settings even if I selected the Google account as backup account. Thanks :)
[G 2014 Android Development] luke!:
I didn't have any problems. I don't know the cause of your problem. Try to clean flash the build I'm going to upload in 6/7 hours.
[G 2014 Android Development] jackcicci:
Thank you. But you're too fast, I can't test battery if you make so many update in few days :) :D (I was joking ... Waiting for update ;) )
[G 2014 Android Development] luke!:
New build:

DOWNLOAD

Changelog

Interesting changelog, I would suggest a clean flash.
[G 2014 Android Development] jackcicci:
I've read the changelog? 5.2 is a new version of the OS? This evening I will install this new version, I'd like to to test the backup with Google (automatic restore of app and maybe also sms, call register, WiFi password etc), now in the backup settings everything is flagged in this way it should work?

I keep your updated after testing, thanks
[G 2014 Android Development] luke!:
-- Sì, dovrebbe funzionare ;)--

Yes, it should work. Remember to not choose the option "set as a new device" in the installation wizard that will pop up after the ROM installation.

Inviato dal mio Moto G 2014 utilizzando Tapatalk
[G 2014 Android Development] jackcicci:
Ok, I will try this night, thanks ;) (Stasera ci provo e ti faccio sapere. Grazie)

Edit: can it depend from the Gapps? (le Gapps c'entrano qualcosa?)
[G 2014 Android Development] Hugo_PM:
Does this rom have all updated changes (commits) made by cm?
[G 2014 Android Development] luke!:
Yes.
[G 2014 Android Development] jackcicci:
:( not working

the option to set new device or not does not appear at all. this are the step that i've seen during setup with full wipe before flashing (data, system, cache, dalvik cache)

select language - enter wifi - set sim cards - set google account - verify info - choose payement... set cyanogenmod account. then appeared a screen with "other services". (screenshot1) At the first boot it asked to enter the backup account (screenshot2) :(
[G 2014 Android Development] luke!:
I've just clean flashed the build I was testing for OTA updates and everything went fine.

1) Wipe system, data, cache & Dalvik cache;

2) Flash only the ROM;

3) Reboot;

4) Flash these GApps (I used the NANO PACKAGE but a different choice shouldn't affect the final result);

5) Reboot and in the settings menu, add your Google Account.
[G 2014 Android Development] bigblue4life:
Is there anyway we can get the kernel from this rom? The battery on this thing has been amazing for me.
[G 2014 Android Development] luke!:
In TWRP the kernel is the boot.img but you can also use the Flashify app to backup it. I would suggest the second method, it's more immediate, I guess.
[G 2014 Android Development] jackcicci:
Thanks. Yesterday I tried with the tk gapps Pico, and flashed immediately after the rom without reboot.

I will retry with nano package and reboot before. I 'll let you know the results.
[G 2014 Android Development] jackcicci:
[emoji26] nothing to do. I followed all this steps but without success. It doesn't ask anything about the restore.

Will retry at next update [emoji6]
[G 2014 Android Development] Vidhanth:
I just did this and it asked me to restore-

1. Wipe system, data, cache and dalvik cache

2. Flash rom

3. Flash gapps (open aroma gapps)

4. Select language, connect to WiFi and continue.

5. Add Google account and accept everything it asks for

6. The restore thing pops up..

See if this works. :)
[G 2014 Android Development] RukusX7:
Yah. Don't reboot before flashing gapps.
[G 2014 Android Development] luke!:
New build:

DOWNLOAD

Changelog

---------------------------------------------------------OTA EXPERIMENT--------------------------------------------------------------------------------------

DELETED