[ROM][DEV][4.4][UNOFFICAL] CM11 Development Project - Motorola Droid X2

Note: THIS IS A DEV thread, not a "I WANT THIS ROM NAU" thread
Local Manifest
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="photon"
fetch="git://github.com/photon-dev-team/" />
<!-- CM Removals -->
<!-- remove-project name="CyanogenMod/android_frameworks_base" / -->
<!-- remove-project name="CyanogenMod/android_system_core" / -->
<!-- remove-project name="CyanogenMod/android_vendor_cm" / -->
<!-- CM Replacements -->
<!-- project path="frameworks/base" name="dragonzkiller/android_frameworks_base" / -->
<!-- project path="system/core" name="dragonzkiller/android_system_core" / -->
<!-- project path="vendor/cm" name="dragonzkiller/android_vendor_cm" / -->
<!-- Photon-Dev-Team Stuff -->
<project path="vendor/moto" name="proprietary_vendor_motorola" remote="photon" />
<!-- Local Projects -->
<project path="kernel/tegra" name="dragonzkiller/daytona-kernel" revision="gb-2.6.32.9" />
<project path="device/moto/daytona" name="iPonyRadio/android_device_moto_daytona" revision="jellybean" />
<project path="vendor/moto/daytona" name="dragonzkiller/android_vendor_moto_daytona" revision="ics" />
</manifest>
Alright, so if you want to help, make sure you have a properly setup CM build enviornment
Code:
mkdir cm11
cd cm11
repo init -u https://github.com/CyanogenMod/android.git -b "cm-11.0"
mkdir .repo/local_manifests/
curl -L -o .repo/local_manifests/daytona.xml -O - L https://raw.guthub.com/iPonyRadio/android_local_daytona/ics/local_manifest.xml
repo sync (this will take a while)
. build/envsetup.sh
brunch daytona

Yoink

This thing is ridiculous
building returns a different error each time
Http://pixelperfectserver.tk/daytona.txt

Been playing around with my x2 back on stock since I have a different main phone. Its not as bad as I remember once you gain root and uninstall the Verizon bloatware.
That being said, I'm looking forward to see what comes of this.
Sent from my LG-LS970 using xda app-developers app

Watching this thread for sure. My X2 has long been shelved but I might break it out for fun if we get a reasonable Alpha build out of this.
I don't have the time nor expertise to help with the build, but I'm always willing to test drive, especially on a device I don't use, and I'm pretty good with logcat.
Thanks for the build thread and good luck!

ajbiz11 said:
This thing is ridiculous
building returns a different error each time
Http://pixelperfectserver.tk/daytona.txt
Click to expand...
Click to collapse
bootable/recovery/minui/../../../device/moto/daytona/recovery/graphics.c:186:5: error: conflicting types for 'gr_text'
http://osxr.org/android/ident?_i=gr_text
meh?

ajbiz11 said:
Note: THIS IS A DEV thread, not a "I WANT THIS ROM NAU" thread
Local Manifest
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="photon"
fetch="git://github.com/photon-dev-team/" />
<!-- CM Removals -->
<!-- remove-project name="CyanogenMod/android_frameworks_base" / -->
<!-- remove-project name="CyanogenMod/android_system_core" / -->
<!-- remove-project name="CyanogenMod/android_vendor_cm" / -->
<!-- CM Replacements -->
<!-- project path="frameworks/base" name="dragonzkiller/android_frameworks_base" / -->
<!-- project path="system/core" name="dragonzkiller/android_system_core" / -->
<!-- project path="vendor/cm" name="dragonzkiller/android_vendor_cm" / -->
[/CODE]
Click to expand...
Click to collapse
You may be able to get dragonzkiller to help you if he is not already working on such or collaborate with him.

Please excuse my noobishness.
When I use the command
repo sync
I get fetch errors for refs/heads/cm-11.0
When I do repo sync -f
I get an error : revision refs/heads/cm-11.0 in proprietary_vendor_motorola not found
The subsequent
brunch daytona
then it fails because the daytona device is not found.
I assume I have to do a rather simple change to a manifest, but being the complete noob I am, I would appreciate
some assistance.

polymath257 said:
Please excuse my noobishness.
When I use the command
repo sync
I get fetch errors for refs/heads/cm-11.0
When I do repo sync -f
I get an error : revision refs/heads/cm-11.0 in proprietary_vendor_motorola not found
The subsequent
brunch daytona
then it fails because the daytona device is not found.
I assume I have to do a rather simple change to a manifest, but being the complete noob I am, I would appreciate
some assistance.
Click to expand...
Click to collapse
Try rm -rf .repo
then the repo init with -f on the end
If not, I may look into it later

smallzfsu said:
bootable/recovery/minui/../../../device/moto/daytona/recovery/graphics.c:186:5: error: conflicting types for 'gr_text'
http://osxr.org/android/ident?_i=gr_text
meh?
Click to expand...
Click to collapse
Dead link
Now that the holiday is pretty much over I'm getting back on my PC...so...YAY!

unimatrix725 said:
You may be able to get dragonzkiller to help you if he is not already working on such or collaborate with him.
Click to expand...
Click to collapse
Tried PM-ing him long ago, still nothing back...

ajbiz11 said:
Tried PM-ing him long ago, still nothing back...
Click to expand...
Click to collapse
he didnt really ever like PM's...
this thread makes me wish i didnt trade the dx2 in for the 5$ at verizon when i bought my gnex lol...or id try and give this all a shot and see what could be done..best of luck friends

pattyboi:) said:
he didnt really ever like PM's...
this thread makes me wish i didnt trade the dx2 in for the 5$ at verizon when i bought my gnex lol...or id try and give this all a shot and see what could be done..best of luck friends
Click to expand...
Click to collapse
Yeah, I figured
And the Nexi will always be a better device than the X2
Also...I've decided to take baby steps towards cm11...I'm working on 10.1 right now
I got it to a point where I need a boot-hijack.zip....I see nothing about one anywhere...

ajbiz11 said:
Yeah, I figured
And the Nexi will always be a better device than the X2
Also...I've decided to take baby steps towards cm11...I'm working on 10.1 right now
I got it to a point where I need a boot-hijack.zip....I see nothing about one anywhere...
Click to expand...
Click to collapse
give me one sec i think i might no where there is one
EDIT: http://d-h.st/1jF :credit to Bluphant
here you go buddy,this is made specifically for cm10.1 already,so that might help a lil,ill try and help you find you anything you need ,i just dont have a test device lol

pattyboi:) said:
give me one sec i think i might no where there is one
EDIT: http://d-h.st/1jF :credit to Bluphant
here you go buddy,this is made specifically for cm10.1 already,so that might help a lil,ill try and help you find you anything you need ,i just dont have a test device lol
Click to expand...
Click to collapse
Alright
Now to see if this will work with the compile by putting it in the OUT dir like the compiler is asking, or if I need to modify the makefiles to zip the device/moto/daytona/hijack/hijack-boot/

ajbiz11 said:
Alright
Now to see if this will work with the compile by putting it in the OUT dir like the compiler is asking, or if I need to modify the makefiles to zip the device/moto/daytona/hijack/hijack-boot/
Click to expand...
Click to collapse
start with having the make compress the hijack. also make clean each time, a pain in the ass as it forces a complete restart but it will hopefully produce more consistant errors. though dont take this for truth, im just making a wild guess from my attemps at building cm10

Lrs121 said:
start with having the make compress the hijack. also make clean each time, a pain in the ass as it forces a complete restart but it will hopefully produce more consistant errors. though dont take this for truth, im just making a wild guess from my attemps at building cm10
Click to expand...
Click to collapse
hi guys, saw the project you all are working on. i'm one of the guys over on dx working on the kk build/development. i know that the dx and the dx2 are different devices with different configurations, but i'm coming here for a possible lead or inspiration on what i need to do to help with our project. http://forum.xda-developers.com/showthread.php?p=48051920 is the link showing our current attempts.
i stumbled across this thread at a good time i think. the issue we're running into does deal with the hijack-boot.zip.
make: *** No rule to make target `home/davidmcleod/android-cm11.0/out/target/product/shadow/hijack-boot.zip', needed by `/home/davidmcleod/android-cm11.0/out/target/product/shadow/obj/ETC/hijack-boot.zip_intermediates/hijack-boot.zip'. Stop.
we keep on running into this same error. any ideas?

palmbeach05 said:
hi guys, saw the project you all are working on. i'm one of the guys over on dx working on the kk build/development. i know that the dx and the dx2 are different devices with different configurations, but i'm coming here for a possible lead or inspiration on what i need to do to help with our project. http://forum.xda-developers.com/showthread.php?p=48051920 is the link showing our current attempts.
i stumbled across this thread at a good time i think. the issue we're running into does deal with the hijack-boot.zip.
make: *** No rule to make target `home/davidmcleod/android-cm11.0/out/target/product/shadow/hijack-boot.zip', needed by `/home/davidmcleod/android-cm11.0/out/target/product/shadow/obj/ETC/hijack-boot.zip_intermediates/hijack-boot.zip'. Stop.
we keep on running into this same error. any ideas?
Click to expand...
Click to collapse
How did you get it to work before?
Sent from my Nexus 5 using XDA Premium 4 mobile app

Lrs121 said:
How did you get it to work before?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
That would be a good question. Everything appears to be setup the same as GB and ICS, but it doesn't create the zip. We know its a rule thats missing somewhere, its just a matter of tracking down the correct file that should have the rule in it.

Woah. what luck. I just got a nexus 5, and I was wanting to learn the interals of android. Gave my dad my s3 for his droid x2 to dev on.
I guess i will check this thread out every once and a while

Related

I wish to become a developer for our O1's!

Hi guys, I would like to ask you what IDE's and other software I need to make and modify android roms. I am particularly looking at helping with ICS production. I know java and some C++ if this helps, I am unsure of what to use whether that be eclipse or some other IDE/SDk. Also there are a few file types I am unfamiliar with and want to know how to edit those such as .so's and other files. Thanks P500 community you guys are awesome D
If you haven't already, I'd highly reccomend setting up a build environment and trying to sync the cm repos. Once you have the code, you can play around and see what you need from there, in terms of an IDE.
Sent from my LG-P500 using XDA
Fantastic, I shall get onto that right away.
May the force be with you, bro!
Sent from my LG-P500 using Tapatalk 2
gymfreak7855 said:
Hi guys, I would like to ask you what IDE's and other software I need to make and modify android roms. I am particularly looking at helping with ICS production. I know java and some C++ if this helps, I am unsure of what to use whether that be eclipse or some other IDE/SDk. Also there are a few file types I am unfamiliar with and want to know how to edit those such as .so's and other files. Thanks P500 community you guys are awesome D
Click to expand...
Click to collapse
gymfreak7855 said:
Hi guys, I would like to ask you what IDE's and other software I need to make and modify android roms. I am particularly looking at helping with ICS production. I know java and some C++ if this helps, I am unsure of what to use whether that be eclipse or some other IDE/SDk. Also there are a few file types I am unfamiliar with and want to know how to edit those such as .so's and other files. Thanks P500 community you guys are awesome D
Click to expand...
Click to collapse
Read some android books.you already know c++ and Java so you will become good dev.
For playing with code you need.
Ubuntu.
Notepad.
sdk & adb.
And this "good luck!"
Yeah! Actually even i am interested in learning.
I know c/c++. No java yet
I'll be finishing my exams on the 3rd of may and would have around 2 months of vacations to learn
So guidance would really be appreciated. Do we need a separate sdk for linux based os? I have sdk on windows, isnt that enough?
What is the advantage of using linux for android development? I have backtrack(ubuntu based) on vmware. Will it do?
Essential Software:
Ubuntu 11.10 (dual boot not virtual machine, it's too slow)
Eclipse IDE with the Android plugins
Meld (for easy directory compares)
Mastery of the terminal especially git / repo commands
Github account
CyanogenMod gerrit account
Google Plus account
I'm assuming you're coming from Windows since you don't know what a .so file is (like I did when starting). .so files are android's versions of .dll files. 'executables' don't have a file extension. Kernel modules use the .ko extension.
(I think .so means shared object, .ko means kernel object. Makes sense to me anyway )
The worst thing about starting is simply the sheer size of the project, it is a whole operating system we are dealing with here!
Start simple and easy, follow the instructions on how to make your own build and flash it. (and feel proud you have your own build string in about phone!) Then do it again without the instructions. (harder than it sounds )
The programming side may not be such a problem for you if you already know it. I didn't know anything. reading library files written in c++ ain't so bad, but getting used to how an android app is written in java was a huge mindf**k for me at first.It still is actually
I'm really just your average code hacker, I just hack based on educated guesses but I have taken copious notes on what I do and how things work. Seriously, I have two A5 notebooks full of lists, commands, file locations, diagrams and other tips I've found over the past 6 months.
Prepare to read a lot, be confused a lot, say WTF?!?!?! a lot, delighted when you make your first changes and they work, a ton of waiting for builds to finish and perhaps a bit nervous when you are ready to submit your first commit to CyanogenMod...
Can't we practice on something less taxing than the the whole cyanogenmod, like maybe some prebuilt system apps?
I have allocated 2.9gb of ram and enough cpu to my vm for it to run smoothly so speed isn't really an issue here
Will backtrack do or would ubuntu be better(backtrack is a network security related os based on ubuntu only)
And how important is java. I have two months of almost pure vacations(just have to make a project) so time wont be much of an issue and i'll anyway be doing java in a year or two at college so starting now wont be any harm.
BTW just curious why is g+ account an essentiality here?
Edit
Oh and yeah ill be switching from win to linux and that IS going to be a pretty big problem :/
I don't even properly know what a kernel is and what it does.
Edit2
Iv added you to my circles adfad please add me.
These guides could help!
http://forum.xda-developers.com/showthread.php?t=1272270
http://forum.xda-developers.com/showthread.php?t=667298
I'm starting learning too. I already know the android framework and java.
I have some problems when I try to compile for a device.
Code:
[email protected]:~/WORKING_DIRECTORY$ source build/envsetup.sh
including device/moto/wingray/vendorsetup.sh
including device/samsung/maguro/vendorsetup.sh
including device/samsung/toro/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
It doesn't include device/cm_device_lge_p500/vendorsetup.sh (I'm using androidmeda's sources) and if I run "lunch":
Code:
[email protected]:~/WORKING_DIRECTORY$ lunch
You're building on Linux
Lunch menu... pick a combo:
1. full-eng
2. full_x86-eng
3. vbox_x86-eng
4. full_maguro-userdebug
5. full_toro-userdebug
6. full_panda-eng
7. cm_anzu-userdebug
8. cm_captivatemtd-userdebug
9. cm_coconut-userdebug
10. cm_crespo-userdebug
11. cm_crespo4g-userdebug
12. cm_epicmtd-userdebug
13. cm_galaxysbmtd-userdebug
14. cm_galaxysmtd-userdebug
15. cm_galaxys2-userdebug
16. cm_haida-userdebug
17. cm_hallon-userdebug
18. cm_i777-userdebug
19. cm_iyokan-userdebug
20. cm_mango-userdebug
21. cm_maguro-userdebug
22. cm_p1-userdebug
23. cm_p1c-userdebug
24. cm_p3-userdebug
25. cm_p4-userdebug
26. cm_p4tmo-userdebug
27. cm_p4vzw-userdebug
28. cm_p4wifi-userdebug
29. cm_p5-userdebug
30. cm_p5wifi-userdebug
31. cm_p920-userdebug
32. cm_p970-userdebug
33. cm_p990-userdebug
34. cm_p999-userdebug
35. cm_pyramid-userdebug
36. cm_satsuma-userdebug
37. cm_shooter-userdebug
38. cm_shooteru-userdebug
39. cm_smb_a1011-userdebug
40. cm_smultron-userdebug
41. cm_tenderloin-userdebug
42. cm_tf101-userdebug
43. cm_tf201-userdebug
44. cm_toro-userdebug
45. cm_urushi-userdebug
46. cm_vibrantmtd-userdebug
47. cm_wingray-userdebug
48. cm_zeus-userdebug
Which would you like? [full-eng]
There isn't our phone.
I think it can't know I've added another device. Does anybody know how to solve this problem? I'm sure it's something pretty stupid...
P.S. I'm using Ubuntu 11.10
EDIT: Ok, I think I've done something wrong syncing androidmeda sources.
What I've done is:
Code:
[email protected]:~$ cd WORKING_DIRECTORY
[email protected]:~/WORKING_DIRECTORY$ repo init -u git://github.com/androidmeda/cm_device_lge_p500.git
repo initialized in /home/francesco/WORKING_DIRECTORY
[email protected]:~/WORKING_DIRECTORY$ repo sync
Fetching projects: 100% (248/248), done.
Syncing work tree: 100% (248/248), done.
I've done this for git://github.com/androidmeda/cm_vendor_lge_p500.git and git://github.com/androidmeda/lge-kernel-msm7x27.git too. I can't see them though.
Solved the problem. Cloned androidmeda's device folder into device/lge/p500
EDIT2: FINALLY COMPILING!
EDIT3:
Code:
make: *** Nessuna regola per generare l'obiettivo "device/lge/p500/init.p500.usb.rc
It's 'No rule to make target'. I don't know what to do, I can't even find that file, but I've got a file called init.thunderg.usb.rc
Solved renaming init.thunderg.usb.rc to init.p500.usb.rc. It's compiling now
adfad666 said:
Essential Software:
Ubuntu 11.10 (dual boot not virtual machine, it's too slow)
Eclipse IDE with the Android plugins
Meld (for easy directory compares)
Mastery of the terminal especially git / repo commands
Github account
CyanogenMod gerrit account
Google Plus account
I'm assuming you're coming from Windows since you don't know what a .so file is (like I did when starting). .so files are android's versions of .dll files. 'executables' don't have a file extension. Kernel modules use the .ko extension.
(I think .so means shared object, .ko means kernel object. Makes sense to me anyway )
The worst thing about starting is simply the sheer size of the project, it is a whole operating system we are dealing with here!
Start simple and easy, follow the instructions on how to make your own build and flash it. (and feel proud you have your own build string in about phone!) Then do it again without the instructions. (harder than it sounds )
The programming side may not be such a problem for you if you already know it. I didn't know anything. reading library files written in c++ ain't so bad, but getting used to how an android app is written in java was a huge mindf**k for me at first.It still is actually
I'm really just your average code hacker, I just hack based on educated guesses but I have taken copious notes on what I do and how things work. Seriously, I have two A5 notebooks full of lists, commands, file locations, diagrams and other tips I've found over the past 6 months.
Prepare to read a lot, be confused a lot, say WTF?!?!?! a lot, delighted when you make your first changes and they work, a ton of waiting for builds to finish and perhaps a bit nervous when you are ready to submit your first commit to CyanogenMod...
Click to expand...
Click to collapse
Thanks man Your work has really inspired me and yes haha I am moving from windows all though I have had some experience with ubuntu before. It makes sense about the extensions. Thanks for your advice Will ask questions if I need to
I'm having problems compiling using make -j4
Code:
make -C kernel/lge/p500 O=/home/francesco/WORKING_DIRECTORY/out/target/product/p500/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=/home/francesco/WORKING_DIRECTORY/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- cyanogenmod_p500_defconfig
make[1]: ingresso nella directory "/home/francesco/WORKING_DIRECTORY/kernel/lge/p500"
make[1]: *** Nessuna regola per generare l'obiettivo "cyanogenmod_p500_defconfig". Arresto.
make[1]: uscita dalla directory "/home/francesco/WORKING_DIRECTORY/kernel/lge/p500"
make: *** [/home/francesco/WORKING_DIRECTORY/out/target/product/p500/obj/KERNEL_OBJ/.config] Errore 2
make: *** Attesa per i processi non terminati....
'No rule to make target "cyanogenmod_p500_defconfig". Stop'
Any idea?
When I've used make -i I haven't had this problem
EDIT: Solved moving cyanogenmod_p500_defconfig in p500 folder
Ok, I'm trying to tidy up everything a bit. I've noticed there is a new github. I've seen this:
Code:
LG P500 ICS Setup
Copy/paste it WORKING_DIR/.repo/local_manifest.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/lge/p500" name="p500/cm_device_lge_p500" remote="github" revision="master" />
<project path="vendor/lge/p500" name="p500/cm_vendor_lge_p500" remote="github" revision="master" />
<project path="kernel/lge/p500" name="p500/lge-kernel-msm7x27" remote="github" revision="android-ics-msm-2.6.35" />
</manifest>
I have no local_manifest.xml. Do I have to create it? Or do I have to add these three lines to manifest.xml (which is in .repo folder)? And do I have to add toolchain too?
Question: if installing Ubuntu with wubi on Windows XP, will it show the dual-boot screen on every boot?(or else what shortcut?)
And does it need to defragment, or is it safe just like that?
vlt96 said:
Question: if installing Ubuntu with wubi on Windows XP, will it show the dual-boot screen on every boot?(or else what shortcut?)
And does it need to defragment, or is it safe just like that?
Click to expand...
Click to collapse
No idea, never tried.
If you understand anything:
http://en.wikipedia.org/wiki/Wubi_(Ubuntu)
Why dont you use vmware instead?
Now someone help me with this:
Whenever i try to recompile the framework-res.apk(pasquale test)(even without editing) i get this error:
What can i do about it?
rishabh22 said:
No idea, never tried.
If you understand anything:
http://en.wikipedia.org/wiki/Wubi_(Ubuntu)
Why dont you use vmware instead?
Now someone help me with this:
Whenever i try to recompile the framework-res.apk(pasquale test)(even without editing) i get this error:
What can i do about it?
Click to expand...
Click to collapse
VM got me an error when installing saying it is incompatible with win xp (I could install, but didn't wanna risk, windows is harder to recover than Android)
try using virtual box.
https://www.virtualbox.org/
rishabh22 said:
try using virtual box.
https://www.virtualbox.org/
Click to expand...
Click to collapse
yea I did that... but did anyone try it on XP, it says it failed incompatibility tests or something (same error I got when trying to install windows 7 video drivers on xp) and I don't wanna risk, anyone?
I don't think it's good to install ubuntu to compile android in a virtual machine, I think the compilation would be too slow. I'm sorry I can't help you, I've installed ubuntu from a Live CD and I didn't have many problems with the installation process.
BTW, added the three lines to manifest.xml synced repo. It's compiling well using make -j4
vlt96 said:
yea I did that... but did anyone try it on XP, it says it failed incompatibility tests or something (same error I got when trying to install windows 7 video drivers on xp) and I don't wanna risk, anyone?
Click to expand...
Click to collapse
huh? both vmware and virtual box arn't compatible with xp
why the heck were u trying to install win7 video drivers on xp
And why dont you dual boot?
---------- Post added at 08:37 PM ---------- Previous post was at 08:34 PM ----------
ZatBaloo said:
I don't think it's good to install ubuntu to compile android in a virtual machine, I think the compilation would be too slow. I'm sorry I can't help you, I've installed ubuntu from a Live CD and I didn't have many problems with the installation process.
BTW, added the three lines to manifest.xml synced repo. It's compiling well using make -j4
Click to expand...
Click to collapse
if you have enough ram and a good enough processor there shouldnt be any problem in using a virtual machine. i use backtrack with 2.9/4gb ram and am able to use both windows7 and backtrack simultaneously without any problems/lag
I have an i5 2.3-2.9GHz
Sure it depends on what you want to compile. It was just a suggestion to compile faster. You probably won't notice lag, but it will take more to compile everything.

[DEV]T9 Dialler for the Galaxy Nexus... almost there

Hi dudes, so im trying to get the T9 dialer from CM9 onto 4.1.1 ROM for the Galaxy Nexus..
This is far as i got:
It all works 100% BUT the app names have changed to "true" and "false" lol
I know its because the androidmanifest is pointing to the wrong value but im not sure how to fix it... can anyone point me in the right direction?
Cheers
attatched is the Contacts.apk working with the wrong app names
I'm driving into work. I'll look when I get in.
Sent from my Galaxy Nexus using xda premium
lithid-cm said:
I'm driving into work. I'll look when I get in.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Awesome bro I gave up after my mouse went flat and i chucked it out the window lol. You might have an issue decompiling it also, if you do its because of the manifest... sure you'll figure that out though.
Sent from my Galaxy Nexus using Tapatalk 2
CdTDroiD said:
Awesome bro I gave up after my mouse went flat and i chucked it out the window lol. You might have an issue decompiling it also, if you do its because of the manifest... sure you'll figure that out though.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Why not just zip up the source code? I am grabbing apktool now, but shouldn't be a reason with this being aosp after all.
Line:
Code:
<application android:label="@bool/config_use_two_panes" android:icon="@mipmap/ic_launcher_contacts" android:name="com.android.contacts.ContactsApplication" android:taskAffinity="android.task.contacts" android:hardwareAccelerated="true">
Needs to change
Code:
@bool/config_use_two_panes > @string/contactsList
=====
Line:
Code:
<activity android:theme="@style/DialtactsTheme" android:label="@bool/config_editor_field_order_primary" android:icon="@mipmap/ic_launcher_phone" android:name=".activities.DialtactsActivity" android:enabled="@android:bool/config_bluetooth_wide_band_speech" android:taskAffinity="android.task.contacts.phone" android:clearTaskOnLaunch="true" android:launchMode="singleTask" android:screenOrientation="portrait" android:windowSoftInputMode="stateAlwaysHidden|adjustNothing" android:uiOptions="splitActionBarWhenNarrow">
Need to change
Code:
@bool/config_editor_field_order_primary > @string/launcherDialer
=====
Line:
Code:
<activity android:theme="@style/PeopleTheme" android:label="@bool/config_editor_include_phonetic_name" android:name=".activities.PeopleActivity" android:clearTaskOnLaunch="true" android:launchMode="singleTop" android:uiOptions="splitActionBarWhenNarrow">
Need to change
Code:
@bool/config_editor_include_phonetic_name > @string/people
=====
Line:
Code:
<activity android:theme="@style/ContactPickerLayout" android:label="@bool/config_use_two_panes" android:name=".activities.ContactSelectionActivity" android:clearTaskOnLaunch="true" android:launchMode="singleTop" android:uiOptions="splitActionBarWhenNarrow">
Need to change
Code:
@bool/config_use_two_panes > @string/contactsList
That should be it. Enjoy.
lithid-cm said:
Why not just zip up the source code? I am grabbing apktool now, but shouldn't be a reason with this being aosp after all.
Click to expand...
Click to collapse
Heres the decompiled version, Ive also included the modified AndroidManifest.xml that it needs to install the app (But wont decompile)
The manifest in the source is the CM9 one
lithid-cm said:
Line:
Code:
<application android:label="@bool/config_use_two_panes" android:icon="@mipmap/ic_launcher_contacts" android:name="com.android.contacts.ContactsApplication" android:taskAffinity="android.task.contacts" android:hardwareAccelerated="true">
Needs to change
Code:
@bool/config_use_two_panes > @string/contactsList
=====
Line:
Code:
<activity android:theme="@style/DialtactsTheme" android:label="@bool/config_editor_field_order_primary" android:icon="@mipmap/ic_launcher_phone" android:name=".activities.DialtactsActivity" android:enabled="@android:bool/config_bluetooth_wide_band_speech" android:taskAffinity="android.task.contacts.phone" android:clearTaskOnLaunch="true" android:launchMode="singleTask" android:screenOrientation="portrait" android:windowSoftInputMode="stateAlwaysHidden|adjustNothing" android:uiOptions="splitActionBarWhenNarrow">
Need to change
Code:
@bool/config_editor_field_order_primary > @string/launcherDialer
=====
Line:
Code:
<activity android:theme="@style/PeopleTheme" android:label="@bool/config_editor_include_phonetic_name" android:name=".activities.PeopleActivity" android:clearTaskOnLaunch="true" android:launchMode="singleTop" android:uiOptions="splitActionBarWhenNarrow">
Need to change
Code:
@bool/config_editor_include_phonetic_name > @string/people
=====
Line:
Code:
<activity android:theme="@style/ContactPickerLayout" android:label="@bool/config_use_two_panes" android:name=".activities.ContactSelectionActivity" android:clearTaskOnLaunch="true" android:launchMode="singleTop" android:uiOptions="splitActionBarWhenNarrow">
Need to change
Code:
@bool/config_use_two_panes > @string/contactsList
That should be it. Enjoy.
Click to expand...
Click to collapse
I know thats what i figured, sorry should have been clearer, my issue is i cant recompile with that AndroidManifest...
CdTDroiD said:
I know thats what i figured, sorry should have been clearer, my issue is i cant recompile with that AndroidManifest...
Click to expand...
Click to collapse
Are you using apktool, sources? When you say recompile.
lithid-cm said:
Are you using apktool, sources? When you say recompile.
Click to expand...
Click to collapse
Yea using apktool 1.4.3
java -jar apktool.jar b Contacts
To get it to install on the device i used the 4.1.1 manifest from my original Contacts.apk and the META folder for signing, otherwise it wont install, and for some reason i dont understand it seems to change the manifest on install or something crazy... either that or im just to tired and missing something lol
SO it will only recompile if i use the CM9 Contacts manifest
heres the pastebin of the recompile
http://pastebin.com/yQLnVeSy
Ah right its because of the MANIFEST.MF that im using that is screwing it up...
but how do i get around that? Thanks for your help by the way mate
CdTDroiD said:
Ah right its because of the MANIFEST.MF that im using that is screwing it up...
but how do i get around that? Thanks for your help by the way mate
Click to expand...
Click to collapse
I guess I don't understand why you are making it harder then it is. This is aosp, you should be using an aosp base, making your changes and compiling. This isn't a sense, blur, touchwiz or miui. Sources are available and there is no reason to use apktool. Chances are it's a bug, I would go about it the right way and just build the app from source. If you need my help to work out issues with apktool, I can't help you. I would though be more then happy to help you build it the right way.
lithid-cm said:
I guess I don't understand why you are making it harder then it is. This is aosp, you should be using an aosp base, making your changes and compiling. This isn't a sense, blur, touchwiz or miui. Sources are available and there is no reason to use apktool. Chances are it's a bug, I would go about it the right way and just build the app from source. If you need my help to work out issues with apktool, I can't help you. I would though be more then happy to help you build it the right way.
Click to expand...
Click to collapse
Ok i didnt even think of it for some reason, ill compile it from source and see how i go... Thanks mate

[ROM] CyanogenMod 10.1 Nightly Builds for NookColor [5/3/13]

Updated 5/3/13
The Nook Color is now an official CM 10.1 device! This is a huge milestone in the development of a device of this age!
You can now find builds at http://get.cm/?device=encore
I will keep the remainder of the post below for informational purposes but users should click the link above to get the latest builds.
------------------------------------------------------------------------------
Updated 3/17/13
*Beta 2 released, sync'd with latest CM sources
*Further kernel updates, thanks again to steven676 for all his work!
*Bootanimation still funky...
Updated 2/27/13
*Beta 1 released, sync'd with latest CM sources and updated to 4.2.2.
*Latest kernel changes are included. Thanks steven676.
KNOWN ISSUE:
Android 4.2.2 has some new adb security features which require you to authorize the computer that you're connecting to on your device. Please make sure you have the latest adb version (update it via sdk manager). The initial adb auth doesn't always work when connected with MTP - the workaround is to switch to UMS mode (settings-storage-menu) then auth the device (and remember the keys). After that you can switch back to MTP and it'll work from then on for that computer.
*** If you have a non-development related question/comment about 3rd party mods/add-ons then DO NOT post in this thread, it for bug reports and comments on the build provided without modifications. Please keep all user discussion in the thread in general: http://forum.xda-developers.com/showthread.php?t=2170185 ***
Original OP
Following closely on the heels of our official status as a CM10 device, the NookieDevs present CyanogenMod 10.1 Alpha for the Nook Color!
As stated, this is an Alpha release for people to get a sense of the new features in Android 4.2.1. Performance doesn't seem quite up to par as CM10 as yet, and any lingering bugs in CM10 will likely be present in this release. While almost everything is working, we do expect users to uncover some additional bugs. Please take precautions to backup your device/data.
You should be able to flash this over CM10; however, if you run into a bug, please do a full wipe and reinstall before reporting. See Post 2 for wipe procedures and gapps information.
Known issues:
1) Initial boot animation doesn't display correctly
2) Some performance issues (remember this is 2010 hardware we're working with...)
Please read over the CM10 thread as the bulk of fattire's introduction still holds true for this release.
WARNING/DISCLAIMER
Understand that there are likely to be bugs, both known and unknown, and that all appropriate experimental-software disclaimers apply, including the fact that by using or attempting to use this software, you assume all risk for fooling with your hardware. We will not be held responsible for any potential loss of data, destruction of hardware, removal or disappearance of limbs, life, or coins in the couch. We do not claim this software is fit for any purpose, etc. Beware of Dragons.
This said, we do feel that the our work is finally “good enough” for interested people with a tolerance for risk to get their hands on.
Of course credits and thanks to all those who have contributed: fattire, keyodi, sluo, krylon360, dalingrin, verygreen, iomonster, nemith, cicadaman, deeper-blue, thedude, mad-murdock, j4mm3r, unforgiven512, scepterr, rebellos, ryands, kmobs, tonsofquestions, hashcode, arcee, hacdan, drmarble, mateor and many more.
Source:
https://github.com/NookieDevs/android_device_bn_encore/tree/cm-10.1
Download:
Beta2: cm-10.1-encore-b2.zip MD5: 455cf35156feabc6ac630dce51d29454
Previous builds:
Beta1: cm-10.1-encore-b1-stillsomebugs.zip MD5: 1afea80885f349b810b5130a30d6593e
Alpha1: cm-10.1-a1-encore-fullofbugs.zip MD5: aa47473b5c3f743f3033c7cd7ac29f19
Gapps for 4.2.2: http://techerrata.com/file/gapps/gapps-jb-20130301-signed.zip
Mirror: http://goo.im/gapps
If you run into a gapps related issue:
1) Wipe system manually in recovery
2) Flash rom then gapps
If you still run into issues:
1) Wipe system manually
2) Wipe data (factory reset)
3) Flash rom and gapps
Frequently asked questions
Where did the developer settings go?
Where did the performance menu (overclocking settings, etc.) go?
Google and CyanogenMod decided to hide those settings by default in Android 4.2. To enable them, go to Settings->About tablet and tap on the build number seven times.
How do I get the Honeycomb/ICS tablet UI?
You want to use the Auto-Patcher to modify your ROM for the tablet UI. (Don't forget to thank Caldair for maintaining the Tablet UI mod, and mateorod and the rest of the Auto-Patcher developers for building that tool.)
FYI I can report it does install in an SD card. Had to start from scratch. Too many issues flashing it on top of Schizod. But I knew that up front.
Thanks for your efforts!
Am I actually reading this?!? You guys are amazing!!!!!
To build from source, it's like the PA 4.1.2, but instead we use
Code:
repo init -u git://github.com/NookieDevs/android_device_bn_encore.git -b jellybean
Right?
Do I even need the -b jellybean?
And to build the ROM, it's still
Code:
./rom-build.sh encore
THANK YOU!
thejrcrafter2 said:
Am I actually reading this?!? You guys are amazing!!!!!
To build from source, it's like the PA 4.1.2, but instead we use
Code:
repo init -u git://github.com/NookieDevs/android_device_bn_encore.git -b jellybean
Right?
Do I even need the -b jellybean?
And to build the ROM, it's still
Code:
./rom-build.sh encore
THANK YOU!
Click to expand...
Click to collapse
Not quite. If you previously set up your repo for PA then you should re-init for building CM:
repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1
Then perform a sync and modify your your local_manifest.xml to include:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote fetch="git://github.com/" name="gh" />
<project name="NookieDevs/android_device_bn_encore" path="device/bn/encore" remote="gh" revision="cm-10.1" />
<project name="NookieDevs/ti-omap-encore-kernel3" path="kernel/bn/encore" remote="gh" revision="encore-omap3-3" />
<project name="eyeballer/proprietary_vendor_bn" path="vendor/bn" remote="gh" revision="jellybean" />
</manifest>
For now the device repo is still only on NookieDevs - the kernel is up to date on both CM's repo and NookieDevs so you can actually use either for building.
eyeballer said:
Not quite. If you previously set up your repo for PA then you should re-init for building CM:
repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1
Then perform a sync and modify your your local_manifest.xml to include:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote fetch="git://github.com/" name="gh" />
<project name="NookieDevs/android_device_bn_encore" path="device/bn/encore" remote="gh" revision="cm-10.1" />
<project name="NookieDevs/ti-omap-encore-kernel3" path="kernel/bn/encore" remote="gh" revision="encore-omap3-3" />
<project name="eyeballer/proprietary_vendor_bn" path="vendor/bn" remote="gh" revision="jellybean" />
</manifest>
For now the device repo is still only on NookieDevs - the kernel is up to date on both CM's repo and NookieDevs so you can actually use either for building.
Click to expand...
Click to collapse
Yeah, but if I didn't init for PA, would I have to edit the manifest? And I would use the -b cm-10.1, right? Sorry, I'm still a noob.
thejrcrafter2 said:
Yeah, but if I didn't init for PA, would I have to edit the manifest? And I would use the -b cm-10.1, right? Sorry, I'm still a noob.
Click to expand...
Click to collapse
Actually you'd still need to init if you only built CM10 before so that all your repos update to 10.1. Then just update the local manifest with our 10.1 branch for the device.
Putting up a quick review on Youtube:
http://youtu.be/NHl8sib5PUs
Will take about 20 or so minutes to actually load tho
EDIT: OK, it's uploaded.
---------- Post added at 07:21 PM ---------- Previous post was at 06:42 PM ----------
I found a bug:
The multitasking button stopped working (the double rectangle thing), but the holding the 'n' button got me to M.T.ing just fine. Can't get a logcat right now, I rotated the Nook while getting the USB cord, and then it worked fine again after rotating it back. Will try to get a logcat next time it happens.
It works
Thanks Devs, cool to be on the bleeding edge.
Dirty flashed this over the CM10 2/3 weekly, wiped cache and fixed permissions. Boot animation is distorted, squished to top half of screen and right 40% cut off, almost like it was trying to display 600x1024 onto 1024x600 or something, this also happened on subsequent re-boots.
There is no Performance tab in settings - was this intentional?
Most everything seems to work, although seat of pants impression is that it is ~20% slower than the latest CM10 weeklies, not really laggy, just a bit slower, like if CPU clock was running at 800 instead of the 1100 that I'm used to, but Quadrant reports that CPU is at 300 min, 1100 max, maybe carried over from CM10 settings?
Only real buggy thing, other than the boot animation was the new Settings > System > Quick Settings panel tab, the first time I selected it, screen went totally black, then nav and notification bar came back, and then system re-booted, since then it seems to work OK.
I notice that Gallery is not syncing with Picassa, can I flash gapps-jb-picassa-20121011-signed.zip over this? I do not see any newer picassa gapps packages on goo.im?
Overall, pretty impressive, thanks again and great job, I'm willing to stick with it for a while.
webyrd said:
Thanks Devs, cool to be on the bleeding edge.
There is no Performance tab in settings - was this intentional?
Click to expand...
Click to collapse
Go in to settings about tablet and press the build number 10 times. This is a 4.2 feature.
Frank
---------- Post added at 08:04 PM ---------- Previous post was at 08:01 PM ----------
I flashed this over top of 1/27/2013 with the test kernel, updated gapps, cleared cache and dalvik cache and booted. I have not noticed any problems if anything it feels faster than CM10 but maybe because I just booted. I really like the CM lock screen addition of weather.
Frank
webyrd said:
I notice that Gallery is not syncing with Picassa, can I flash gapps-jb-picassa-20121011-signed.zip over this? I do not see any newer picassa gapps packages on goo.im?
Overall, pretty impressive, thanks again and great job, I'm willing to stick with it for a while.
Click to expand...
Click to collapse
Haven't tested it, but it should work just fine, please report back. If you hit a problem, just follow the gapps issue steps in post 2.
webyrd said:
Thanks Devs, cool to be on the bleeding edge.
Dirty flashed this over the CM10 2/3 weekly, wiped cache and fixed permissions. Boot animation is distorted, squished to top half of screen and right 40% cut off, almost like it was trying to display 600x1024 onto 1024x600 or something, this also happened on subsequent re-boots.
There is no Performance tab in settings - was this intentional?
Most everything seems to work, although seat of pants impression is that it is ~20% slower than the latest CM10 weeklies, not really laggy, just a bit slower, like if CPU clock was running at 800 instead of the 1100 that I'm used to, but Quadrant reports that CPU is at 300 min, 1100 max, maybe carried over from CM10 settings?
Only real buggy thing, other than the boot animation was the new Settings > System > Quick Settings panel tab, the first time I selected it, screen went totally black, then nav and notification bar came back, and then system re-booted, since then it seems to work OK.
I notice that Gallery is not syncing with Picassa, can I flash gapps-jb-picassa-20121011-signed.zip over this? I do not see any newer picassa gapps packages on goo.im?
Overall, pretty impressive, thanks again and great job, I'm willing to stick with it for a while.
Click to expand...
Click to collapse
To get the performance and developer settings, go to Build Number in about tablet and tap it. A lot. As for the boot animation, that was reported in the OP, they're prbly fixing that. I haven't had the Quick Settings problem, can you get a logcat or dmesg? And the Picassa, is that for 4.1.2 only, or will it work with any version? I reccomend that you just flash and see what happens.
Installed fine
Installed rom and gapps, wiped cache, and fixed permissions. Everything came up fine. Noticed a little sluggishness, but no complaints for Alpha 1. Great work guys. A sincere congrats and thanks to all who worked so hard. This is so cutting edge my fingers are bleeding, well almost.
:good::highfive::silly::laugh:
Other than the known bootloader logo bug no issues to report. A little bit more lag than cm10, but not enough for me to switch back to it. Will give it a day to see how it goes. Looking good guys, great job!
Well devs, consider this piece of hardware owned, by you. I am really amazed at where you've taken this ebook reader.
Overnight, the battery drain was 1-2%, highly impressive. It continues to perform admirably.
I can confirm the lack of picasa sync in Gallery, but I have not wiped system and reinstalled both the rom and gapps.
Frank
frankusb said:
Well devs, consider this piece of hardware owned, by you. I am really amazed at where you've taken this ebook reader.
Overnight, the battery drain was 1-2%, highly impressive. It continues to perform admirably.
I can confirm the lack of picasa sync in Gallery, but I have not wiped system and reinstalled both the rom and gapps.
Frank
Click to expand...
Click to collapse
Did you try flashing the picasa sync google gallery from cm10? Link is in post 2 of the CM10 thread.
nightlies
Just for information, what is required of a ROM to get it included in the Cyanogenmod nightly builds? Is it a stability issue or something else?
eyeballer said:
Did you try flashing the picasa sync google gallery from cm10? Link is in post 2 of the CM10 thread.
Click to expand...
Click to collapse
That fixed it. I had to go in settings under my Settings/Google/my account and turn on Google Photo syncing and after a bit, the photos showed up. It took some time, a few minutes, but then the Gallery had the pictures.
Edit: Hmm, still syncing after 6 minutes though.
Edit 2: Sync finished after 9 minutes. Call this experiment successful.
Frank
dirty flash
Just flashed this over CM10 and no issues at all so far. I'll tinker around with everything later on and see if anything seems wonky but so far so good. Running Noop scheduler and OC'd at 1100.

[Q] How to add the device to "lunch" menu

Hi, i'm trying to compile AOKP 4.3.1 fir htc hd2. I have downloaded the device tree, kernel, and other stuff needed. But now i wan't to compile it, and i don't have full_leo-userdebug in my menu. Any help?
lolerpro8 said:
Hi, i'm trying to compile AOKP 4.3.1 fir htc hd2. I have downloaded the device tree, kernel, and other stuff needed. But now i wan't to compile it, and i don't have full_leo-userdebug in my menu. Any help?
Click to expand...
Click to collapse
Try using a local manifest and pick up the device and kernel from another project - check out github for latest repositories for htc_leo. I found device and kernel from Evervolv's repositories. Local manifest would look something like this:
<manifest>
<project name="Evervolv/android_device_htc_leo" path="device/htc/leo" remote="github" revision="jellybean-4.3" />
<project name="Evervolv/android_kernel_htc_leo" path="kernel/htc/leo" remote="github" revision="jellybean-4.3" />
</manifest>
You might also need the vendor repository for leo, in which case add another project line to the manifest for cmhtcleo/android_vendor_htc_leo (path="vendor/htc/leo" revision="jellybean").
misterjaytee said:
Try using a local manifest and pick up the device and kernel from another project - check out github for latest repositories for htc_leo. I found device and kernel from Evervolv's repositories. Local manifest would look something like this:
<manifest>
<project name="Evervolv/android_device_htc_leo" path="device/htc/leo" remote="github" revision="jellybean-4.3" />
<project name="Evervolv/android_kernel_htc_leo" path="kernel/htc/leo" remote="github" revision="jellybean-4.3" />
</manifest>
You might also need the vendor repository for leo, in which case add another project line to the manifest for cmhtcleo/android_vendor_htc_leo (path="vendor/htc/leo" revision="jellybean").
Click to expand...
Click to collapse
I have them all installed dude, i just don't have *it* in my lunch menu
Apologies for the post above if it's teaching granny to suck eggs - I only realised after I posted that you were more experienced; and also that you're using AOKP (I wrongly read it as AOSP).
---------- Post added at 08:45 PM ---------- Previous post was at 08:41 PM ----------
lolerpro8 said:
I have them all installed dude, i just don't have them in my lunch menu
Click to expand...
Click to collapse
Okay, I see - in my case, I tend to use brunch to do a build when in this scenario - I don't pick from a menu, e.g.
breakfast leo
brunch leo
(My use case is not leo though!)
misterjaytee said:
Apologies for the post above if it's teaching granny to suck eggs - I only realised after I posted that you were more experienced; and also that you're using AOKP (I wrongly read it as AOSP).
---------- Post added at 08:45 PM ---------- Previous post was at 08:41 PM ----------
Okay, I see - in my case, I tend to use brunch to do a build when in this scenario - I don't pick from a menu, e.g.
breakfast leo
brunch leo
(My use case is not leo though!)
Click to expand...
Click to collapse
It can't find it, seas i don't have right repo manifest. Is it possible to manualy add it by modifying files?
lolerpro8 said:
It can't find it, seas i don't have right repo manifest. Is it possible to manualy add it by modifying files?
Click to expand...
Click to collapse
Sorry, I haven't done an AOKP build, but from what I can tell it's similar to CM:
. build/envsetup.sh
brunch leo
I might try AOKP as my next build to see what the difference is in the build experience.
lolerpro8 said:
Hi, i'm trying to compile AOKP 4.3.1 fir htc hd2. I have downloaded the device tree, kernel, and other stuff needed. But now i wan't to compile it, and i don't have full_leo-userdebug in my menu. Any help?
Click to expand...
Click to collapse
Have you added your device in the vendor/aokp/vendorsetup.sh?
Roladriz said:
Have you added your device in the vendor/aokp/vendorsetup.sh?
Click to expand...
Click to collapse
Nope. Thank I will try that.
Sent from my NexusHD2 using xda app-developers app
As well as adding to the vendorsetup.sh file, you'll need to copy/create the <device>.mk in the vendor/aokp/products folder. You may also need to edit the device.mk file (e.g. change full to aokp).
AOKP on TF201 built
Thanks for the inspiration - I've now built AOKP on the Android Transformer Prime (TF201) and installed it successfully on the device
Just need to add some apps and see if AOKP is any good compared to CM :fingers-crossed:
Adding target to the Lunch-menu
misterjaytee said:
Apologies for the post above if it's teaching granny to suck eggs - I only realised after I posted that you were more experienced; and also that you're using AOKP (I wrongly read it as AOSP).
---------- Post added at 08:45 PM ---------- Previous post was at 08:41 PM ----------
Okay, I see - in my case, I tend to use brunch to do a build when in this scenario - I don't pick from a menu, e.g.
breakfast leo
brunch leo
(My use case is not leo though!)
Click to expand...
Click to collapse
Hello, You mentioned pulling the repository with your local manifest. I managed to do so and I have the correct vendor android.mk, blob, and proprietary information; however, I can't seem to figure out how to add them to the lunch-menu through the vendorsetup.sh script. Could you explain what you mentioned earlier?
(I'm working with Samsung Galaxy Note 4 SM-N910T - codename trlte)
I have tried to google this question as well and that`s what I can say: you have to extract the device blobs, you`d better check up the tutorial on how to do it

[ROM][UNOFFICIAL][7.1.2] DirtyUnicorns for G4 Play

DirtyUnicorns for Harpia!!!​
Here is DirtyUnicorns (n7x-caf branch), ported to the Moto G4 Play! This ROM as-is is unrooted and without Gapps, so please don't forget to flash some sort of root zip as well as Gapps if you so choose.
As with all development projects, you take full responsibility to what happens to your device. While I will certainly help you fix a problem to the best of my abilities, don't sue me if your alarm doesn't go off and you lose your job or something.
Tested On
-XT1607 (me)
-XT1603, thanks to @EmersonTR
What's Working
-Speaker audio
-Brightness adjusting
-Adaptive brightness seems to be fine
-Calls
-Texts
-SD card (formatted as internal storage)
-WiFi
-Mobile
-Photo taking
-Video recording
-GPS location
-Device encryption (takes longer than usual to encrypt, but works fine afterwards, DOES NOT SEEM TO WORK WITH FIREKERNEL FOR SOME REASON)
-Root (SuperSU may say the su binary is occupied, if this happens just reflash SuperSU in recovery and you should be fine)
-Boot animation (now fits screen and doesn't get cut off)
-Honestly, everything seems fine.
What's Not Working
-For some reason, when I use SomeFeaK 8.00 kernel and any audio comes out of the speaker, I get little clicks coming out as well. I'm going to speak to my good man @facuarmo to see what I can do about this.
-You tell me
Upcoming Features
N/A
Download Links
LINK TO BUILD FOLDER
Source Code
*NOTE* If you are having problems with Jack during compilation, follow this guide to resolve them.
-Link to my harpia device tree for DU
-My local-manifest xml file, so you know what kernel/device/vendor trees (and other tweaks) I used:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- remote names -->
<remote name="aidonnou" fetch="https://github.com/aidonnou-surnia" />
<remote name="losgit" fetch="https://github.com/LineageOS" />
<remote name="tehmuppets" fetch="https://github.com/themuppets" />
<remote name="dunicorns" fetch="https://github.com/dirtyunicorns/" />
<remote name="jasonmerc" fetch="https://github.com/jasonmerc/" />
<!-- harpia stuff -->
<project path="device/motorola/harpia" name="android_device_motorola_harpia" remote="jasonmerc" revision="n7x-caf" />
<project path="device/motorola/msm8916-common" name="android_device_motorola_msm8916-common" revision="du_n7x-caf" remote="aidonnou" />
<project path="kernel/motorola/msm8916" name="android_kernel_motorola_msm8916" revision="cm-14.1" remote="losgit" />
<!-- dependencies -->
<project path="vendor/motorola" name="proprietary_vendor_motorola" revision="cm-14.1" remote="tehmuppets" />
<project path="packages/resources/devicesettings" name="android_packages_resources_devicesettings" revision="cm-14.1" remote="losgit" />
<project path="external/bson" name="android_external_bson" revision="cm-14.1" remote="losgit" />
<!-- du-dependencies -->
<project path="hardware/qcom/audio-caf/msm8916" name="android_hardware_qcom_audio" revision="cm-14.1-caf-8916" remote="losgit" />
<project path="hardware/qcom/display-caf/msm8916" name="android_hardware_qcom_display" revision="cm-14.1-caf-8916" remote="losgit" />
<project path="hardware/qcom/media-caf/msm8916" name="android_hardware_qcom_media" revision="cm-14.1-caf-8916" remote="losgit" />
<project path="hardware/qcom/fm" name="android_hardware_qcom_fm" revision="n7x-caf" remote="dunicorns" />
<project path="packages/apps/FMRadio" name="android_packages_apps_FMRadio" revision="n7x-caf" remote="dunicorns" />
<project path="system/qcom" name="android_system_qcom" revision="n7x-caf" remote="dunicorns" />
<!-- when you believe in things that you dont understand -->
<!-- then you suffer..... -->
<!-- superstition aint the way -->
</manifest>
Special Thanks To (AKA what was in my local-manifest xml file)
-DirtyUnicorns team
-LineageOS team
-"themuppets" GitHub
-"aiddonou" GitHub
And last but certainly not least, a HUGE thanks to @ElDainosor for the one-on-one help he gave me with setting up my build environment and manifest file properly. His assistance and guidance made this possible.
RESERVED
Mega.nz have bandwith limit, i can't download, can you please make a mirror on androidfilehost or google drive?
Thanks.
EmersonTR said:
Mega.nz have bandwith limit, i can't download, can you please make a mirror on androidfilehost or google drive?
Thanks.
Click to expand...
Click to collapse
Thanks for the heads up. I'll move it to my Google Drive, and I'll look into making an AndroidFileHost account for the future
jasonmerc said:
Thanks for the heads up. I'll move it to my Google Drive, and I'll look into making an AndroidFileHost account for the future
Click to expand...
Click to collapse
Really thanks, i will try as soon i can and congratulations for the successful build.
EmersonTR said:
Really thanks, i will try as soon i can and congratulations for the successful build.
Click to expand...
Click to collapse
I just want to let you know that my internet connection is being slow now, so uploading it to Google Drive will take around 20 minutes. I apologize for keeping you waiting, my machine is working as fast as it can
EDIT: Build folder updated, will now take you to Google Drive
Looks like someone else beat me to porting this ROM.
At the moment his build doesn't seem to have the camera working, but once that gets fixed in his ROM it would be pretty pointless for me to continue maintaining my version of this. But for now, enjoy what I cooked up
Guessing no OTA updates?
aaronboy205 said:
Guessing no OTA updates?
Click to expand...
Click to collapse
If you mean continued releases, I'll try to update this ROM regularly until Subhrajyoti fixes the camera issues in his build. If you mean OTAs as in getting updates from the settings menu, you won't be able to download updates from there since this is an unofficial release. Updates will have to be manually downloaded and flashed with each new release.
jasonmerc said:
If you mean continued releases, I'll try to update this ROM regularly until Subhrajyoti fixes the camera issues in his build. If you mean OTAs as in getting updates from the settings menu, you won't be able to download updates from there since this is an unofficial release. Updates will have to be manually downloaded and flashed with each new release.
Click to expand...
Click to collapse
Thanks ?
Working fine here on XT1603, thank you. But the bootanimation is too big
EmersonTR said:
Working fine here on XT1603, thank you. But the bootanimation is too big
Click to expand...
Click to collapse
Why do people keep reporting the animation bug?. Just download any application that allows you to change the boot animation and that's it. You can select the boot animation that you like and forget about it.
Marioandroid777 said:
Why do people keep reporting the animation bug?. Just download any application that allows you to change the boot animation and that's it. You can select the boot animation that you like and forget about it.
Click to expand...
Click to collapse
I like the Dirty Unicorns bootanimation and i already resized, i'm just letting the others know.
EmersonTR said:
I like the Dirty Unicorns bootanimation and i already resized, i'm just letting the others know.
Click to expand...
Click to collapse
I appreciate you letting me know, I was not aware of this issue since I don't really look at my phone while I turn it on anyway. I'll try reducing the size when I push out my next build, which will probably be the last build I do since I think Subhrajyoti is in the process of fixing the camera in his builds now. I set it to 720x1280 before, which is the exact resolution of harpia's screen, but I'll try 540x960 next time (size of Moto E's screen, which should make it all fit nicely)
EDIT: ElDainosor saves the day once again, he showed me how to fix this issue without needing to reduce the resolution down to 540x960. Building right now, will upload to the Google Drive folder once it is done for someone else to test (I'm currently working on Lineage 13 with my harpia). If you're running a previous version of DirtyUnicorns, just flash the new zip and reboot, no need to wipe anything.
New build is up, for whoever wants to fix their boot animation issues
UPDATE: Subhrajyoti has since used these fixes here to fix the camera in his own version of the DU ROM, so I will NOT be updating this ROM anymore. Go to his build if you would like continued support.
*Note: I'm pretty sure you don't have to do a factory reset before flashing his DU ROM if you are coming from my version of DU
ANOTHER UPDATE: Since Subhrajyoti seems to not be maintaining this ROM anymore, and since my Lineage 13 project was cut short due to weird sync errors, I'm going to revive this ROM of mine here and make more builds of this. Check the download link in the first post, as of today I have a build of DU 11.7.2 up and working.
jasonmerc said:
ANOTHER UPDATE: Since Subhrajyoti seems to not be maintaining this ROM anymore, and since my Lineage 13 project was cut short due to weird sync errors, I'm going to revive this ROM of mine here and make more builds of this. Check the download link in the first post, as of today I have a build of DU 11.7.2 up and working.
Click to expand...
Click to collapse
News on O?
NovaKenn said:
News on O?
Click to expand...
Click to collapse
My answer rhymes with "O"
But when it does come out, I'll be moving to a different, "funnier" O project I think you guys will enjoy
My son has a Moto g play from Verizon. Want to make sure this is the same device. Don't know much about Motorola devices. Can someone let me know? Thanks

Categories

Resources