[DEV] CyanogenMod 10.2 - HTC Droid DNA

This is for developers only. No builds will be posted in this thread.
https://github.com/CM10DNA
Any valid development related discussion can be posted here. Please no posts that aren't directly related to development (i.e. comments, thanks, etc.).

I thought I would share an update on how this very experimental code-base is doing.
The code is running again (much of yesterday it was crashing on startup).
I have been running dirty flashing from my CM 10.1 build. It seems like that was safe to do so. I tried doing a clean flash this morning but sadly, my clean flash seems to have broken cell service. No phone or data. Restoring my cm 10.1 backup of data to the same install fixed it. Strange. (This included the change pushed this morning that updates the version of the apns file).
Superuser is now working but may be a little flaky. For example, on my clean install Titanium Backup couldn't acquire root access until after I rebooted.
Camera is still not working. It says "failed to connect to camera". I haven't looked at it at all, but there is a massive commit in the M7 kernel pulling source from the HTC One Google Edition for the camera.
Overall, I'm finding it's either completely broken or working very well. I think that the cellular network issue is going to get resolved upstream. I am afraid that we might be on our own for the camera.

crpalmer said:
I thought I would share an update on how this very experimental code-base is doing.
The code is running again (much of yesterday it was crashing on startup).
I have been running dirty flashing from my CM 10.1 build. It seems like that was safe to do so. I tried doing a clean flash this morning but sadly, my clean flash seems to have broken cell service. No phone or data. Restoring my cm 10.1 backup of data to the same install fixed it. Strange. (This included the change pushed this morning that updates the version of the apns file).
Superuser is now working but may be a little flaky. For example, on my clean install Titanium Backup couldn't acquire root access until after I rebooted.
Camera is still not working. It says "failed to connect to camera". I haven't looked at it at all, but there is a massive commit in the M7 kernel pulling source from the HTC One Google Edition for the camera.
Overall, I'm finding it's either completely broken or working very well. I think that the cellular network issue is going to get resolved upstream. I am afraid that we might be on our own for the camera.
Click to expand...
Click to collapse
https://github.com/CyanogenMod/andr...mmit/ec27077d6497c66f52488126ef6b181ef3fbed0d
seems cm has stopped camera building throughout probably prepping for the focal merge
edit: idk if m7 has cam working but it hasn't been detected as a bug
"Current bugs (they are known):
SMS sending will not work (receiving works)
Dialer sub-submenu FC's the dialer
Keyboard FC's when gesture swiping"

Not sure how much this helps. But the m7 kernel recently got its camera code updated with the Google edition. http://review.cyanogenmod.org/#/c/46164/
With that so. They are able to use the 4.2 libs http://review.cyanogenmod.org/#/c/46299/

Flyhalf205 said:
Not sure how much this helps. But the m7 kernel recently got its camera code updated with the Google edition. http://review.cyanogenmod.org/#/c/46164/
With that so. They are able to use the 4.2 libs http://review.cyanogenmod.org/#/c/46299/
Click to expand...
Click to collapse
we'd probably have to merge their whole drivers/media/video/msm and use their camera binaries at least that's how it works with sense if you want to use their 4.2.2 cam libs

JoelZ9614 said:
we'd probably have to merge their whole drivers/media/video/msm and use their camera binaries at least that's how it works with sense if you want to use their 4.2.2 cam libs
Click to expand...
Click to collapse
And their commit conflicts all over the place which is going to make it hard to cherry pick it. This was the commit I referred to earlier today.
On the plus side, the ril issue looks like it will get resolved for us. There is a commit out there for Samsung hardware that adds a couple of RIL events that look like they have been added.

crpalmer said:
And their commit conflicts all over the place which is going to make it hard to cherry pick it. This was the commit I referred to earlier today.
On the plus side, the ril issue looks like it will get resolved for us. There is a commit out there for Samsung hardware that adds a couple of RIL events that look like they have been added.
Click to expand...
Click to collapse
What about the commit introducing the HTCCDMAQualcommRIL?
Sent from my HTC6435LVW using xda app-developers app

times_infinity said:
What about the commit introducing the HTCCDMAQualcommRIL?
Sent from my HTC6435LVW using xda app-developers app
Click to expand...
Click to collapse
Which commit?

crpalmer said:
Which commit?
Click to expand...
Click to collapse
http://review.cyanogenmod.org/#/c/45607/
Hope it helps.
Sent from my HTC6435LVW using xda app-developers app

I'll take a look at the radio stuff tomorrow. I have a couple ideas.

Deck got data working on the m7 (Sprint), check the commits or wait until tomorrow if he hasn't pushed them yet
Sent from my buttered S3

chad0989 said:
I'll take a look at the radio stuff tomorrow. I have a couple ideas.
Click to expand...
Click to collapse
To be clear, it is working fine for me if I dirty flash. I have been running 10.2 builds for 48 hours everywhere from strong wifi to bad 3G in the middle of a forest.
It's only breaking if I do a factory reset before flashing a build. That's why my guess was that it was related to this event being missing:
cyanogenmod.org/#/c/46280/1/libril/ril.cpp
(around line 2240) and that a similar change was going to be required to our libril. My inclination would be to wait and see what happens with the M7 builds (which it sounds are coming along) and see if it just magically fixes itself for us....
Edited to add: sending of text messages wasn't working but looks like they were supposed fixed last night (I haven't built it to test it yet)

crpalmer said:
And their commit conflicts all over the place which is going to make it hard to cherry pick it. This was the commit I referred to earlier today.
On the plus side, the ril issue looks like it will get resolved for us. There is a commit out there for Samsung hardware that adds a couple of RIL events that look like they have been added.
Click to expand...
Click to collapse
mm actually now that i look at it drivers/media/video/msm has been left basically untouched in our source updating to what the m7 has shouldn't be too much of a problem

JoelZ9614 said:
mm actually now that i look at it drivers/media/video/msm has been left basically untouched in our source updating to what the m7 has shouldn't be too much of a problem
Click to expand...
Click to collapse
I tried a cherry-pick before and it looked very bad. But, actually, a lot of it looks like it could be related to the comments that HTC strips from the source when the release that I added back (because it makes it easier to patch from all non-HTC sources).
If you want to take a crack at this, try doing this before cherry-picking their commit:
git show c81741a8337c2342d856ffeac0cc087452729290 drivers/media/video/msm include/media/msm_camera.h | patch -p1 -R
That will strip all the comments back out again and get rid of all those conflicts. The conflicts then look very simple (outside of arch/arm/mach-msm, which is where it gets much harder).

crpalmer said:
I tried a cherry-pick before and it looked very bad. But, actually, a lot of it looks like it could be related to the comments that HTC strips from the source when the release that I added back (because it makes it easier to patch from all non-HTC sources).
If you want to take a crack at this, try doing this before cherry-picking their commit:
git show c81741a8337c2342d856ffeac0cc087452729290 drivers/media/video/msm include/media/msm_camera.h | patch -p1 -R
That will strip all the comments back out again and get rid of all those conflicts. The conflicts then look very simple (outside of arch/arm/mach-msm, which is where it gets much harder).
Click to expand...
Click to collapse
the board-monarudo-camera.c doesn't need to be updated, at least i didn't update it in my m7 kernel port
but i can't seem to get the kernel to build
drivers/gpu/msm/adreno_snapshot.c: In function 'snapshot_rb':
drivers/gpu/msm/adreno_snapshot.c:628: sorry, unimplemented: inlining failed in call to 'parse_ib': recursive inlining
drivers/gpu/msm/adreno_snapshot.c:588: sorry, unimplemented: called from here
make[3]: *** [drivers/gpu/msm/adreno_snapshot.o] Error 1
make[2]: *** [drivers/gpu/msm] Error 2
make[1]: *** [drivers/gpu] Error 2
make[1]: *** Waiting for unfinished jobs....
i don't believe it's related to any edits i made tho heres my commit https://github.com/Joelz9614/android_kernel_htc_dlx/commit/daa90f2bf8e64a8ad6f4f497ca412bc0a77ab7ef

JoelZ9614 said:
the board-monarudo-camera.c doesn't need to be updated, at least i didn't update it in my m7 kernel port
but i can't seem to get the kernel to build
drivers/gpu/msm/adreno_snapshot.c: In function 'snapshot_rb':
drivers/gpu/msm/adreno_snapshot.c:628: sorry, unimplemented: inlining failed in call to 'parse_ib': recursive inlining
drivers/gpu/msm/adreno_snapshot.c:588: sorry, unimplemented: called from here
make[3]: *** [drivers/gpu/msm/adreno_snapshot.o] Error 1
make[2]: *** [drivers/gpu/msm] Error 2
make[1]: *** [drivers/gpu] Error 2
make[1]: *** Waiting for unfinished jobs....
i don't believe it's related to any edits i made tho heres my commit https://github.com/Joelz9614/android_kernel_htc_dlx/commit/daa90f2bf8e64a8ad6f4f497ca412bc0a77ab7ef
Click to expand...
Click to collapse
Searching in the browser doesn't have any matches for adreno_snapshot...
Maybe try git checkout -b tmp HEAD~1 and make sure that builds?

Looks like CM just merged an updated audio HAL along with the legacy HAL, both of which incorrectly detect our device for now. Building with a fix now and if all is well I'll submit upstream.
Edit: It's going to cause a bunch of routing issues again also until some other stuff gets merged in. Best to just revert their change for now for builds.

chad0989 said:
Looks like CM just merged an updated audio HAL along with the legacy HAL, both of which incorrectly detect our device for now. Building with a fix now and if all is well I'll submit upstream.
Edit: It's going to cause a bunch of routing issues again also until some other stuff gets merged in. Best to just revert their change for now for builds.
Click to expand...
Click to collapse
Aside from the routing issues, this may already be fixed for us thanks to the m7:
http://review.cyanogenmod.org/#/c/46473/

@chad0989, FYI, I reverted the commit to use legacy alsa early this morning and haven't noticed any problems (play music on Bluetooth, voice calls with and without wired headset) using that build.
You may want to give it a try and see if you're ready to revert it.
Edit: actually, I just noticed that they had also enabled legacy audio in msm8960-common but since reverted that. So, I guess I was still running the legacy mode...

crpalmer said:
@chad0989, FYI, I reverted the commit to use legacy alsa early this morning and haven't noticed any problems (play music on Bluetooth, voice calls with and without wired headset) using that build.
You may want to give it a try and see if you're ready to revert it.
Edit: actually, I just noticed that they had also enabled legacy audio in msm8960-common but since reverted that. So, I guess I was still running the legacy mode...
Click to expand...
Click to collapse
They aren't allowing new HAL to build yet (see https://github.com/CyanogenMod/android_hardware_qcom_audio-caf/blob/cm-10.2/Android.mk) But we will need that flag when they allow the new HAL to build. I added it preemptively to hopefully avoid breakage. The issue was that the legacy HAL they pushed hadn't included some changes for our CSD client and platform detection. Looking at what was committed last night/today it should work now though.

Related

[ROM][wip] aosp

The first non-Samsung ROM for the SGS2! This is 100% stock AOSP from Google.
What works:
- It boots up.
- Stock launcher.
- OpenGL
- Vibration
- Phone Radio (Incl SMS)
- Internal Storage / SD Card
What doesn't work:
- Wifi, Bluetooth
- Sound.
- Cameras.
- Sensors.
This is at least a proof of concept of how AOSP can work on the SGS2.
Installation:
Warning: Don't do this unless you know how to use Odin or have time to learn. You won't be able to make phone calls until you flash back a Samsung firmware!
Also, this is a custom kernel, so you will have the yellow ! on your device after flashing this (same as root).
All of your data will be lost - backup first!
Download the .7z file from http://www.mobile-dev.co.za/I9100_AOSP_V2.7z
Unzip using 7zip or similar.
Flash the .tar file with Odin:
- Default settings, touch nothing
- Load I9100_AOSP_V2.tar as PDA
Put phone into download mode (Voldown+Home+Power after turning off device), connect with USB, press Start.
The device should then boot up into AOSP. When finished playing around, flash back a stock Samsung firmware (from http://www.samfirmware.com/ or other). You may need to go into recovery mode to use the 'format data' option. (Volup+Home+Power)
If you have fun with this, feel free to donate - https://www.paypal.com/cgi-bin/webs...=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted
If you want to help out with porting, give me a shout! We could form up some kind of SGS2-AOSP team.
Swweeeeeeeet love aosp and seeing one for my loved phone makes me hyperventilate
Sent from my GT-I9100 using XDA App
Did you try to use the stock kernel with the AOSP build? You may get lucky and get some radios/hardware working.
Interesting... Did you manage this with Samsung's little bit of "platform" sources they give?
I'm around, though not that good with AOSP tbh... I still prefer to take a binary and hack it, than to compile from sources
Just gonna set up an AOSP tree on my server and have a play
uskr said:
Did you try to use the stock kernel with the AOSP build? You may get lucky and get some radios/hardware working.
Click to expand...
Click to collapse
Just needs a little tinkering in the init.rc, probably. This version is 100% AOSP, except for mounting the partitions using EXT4 instead of yaffs2 (obvious reasons). So this is a "no samsung code at all" ROM.
Little bit of tweaking should have wifi working without much trouble - no idea about the rest. Not really sure why I'm the first one trying this, to be honest!
RyanZA said:
Just needs a little tinkering in the init.rc, probably. This version is 100% AOSP, except for mounting the partitions using EXT4 instead of yaffs2 (obvious reasons). So this is a "no samsung code at all" ROM.
Little bit of tweaking should have wifi working without much trouble - no idea about the rest. Not really sure why I'm the first one trying this, to be honest!
Click to expand...
Click to collapse
Yeah, it was on my "to do" list for the upcoming week... I've got last exam tomorrow, then time to get the SGS2 on the go There's other stuff I need to get going first though...
this is great start. wait for fully working version!
pulser_g2 said:
Interesting... Did you manage this with Samsung's little bit of "platform" sources they give?
I'm around, though not that good with AOSP tbh... I still prefer to take a binary and hack it, than to compile from sources
Just gonna set up an AOSP tree on my server and have a play
Click to expand...
Click to collapse
Nope - 100% AOSP code. It's all just userland, after all. The Samsung "platform" sources are just the changes they made to GPL software, I guess?
And yeah, that was the point of this - for some reason I was seeing nobody playing with AOSP/CM - this will hopefully get more people involved.
Wow, nice! Are you going to continue developing this ROM or was it just made as a proof of concept?
RyanZA said:
What works:
- It boots up.
- Stock launcher.
- OpenGL
What doesn't work:
- All radios (wifi, phone, everything).
- Sound, Vibration.
- Cameras.
- Sensors.
Click to expand...
Click to collapse
Yes! is Useless
I'm so happy to see RyanZA back lol
Do miracles like you did on SGS
Nice work RyanZA !
Great work, I'm looking forward to a fully functional rom, I used to love Oxygen on the Desire.
Sent from my GT-I9100 using XDA App
Great! I have been waiting for this since I got the phone. I just love the clean stock Android. Really looking forward stable aosp roms!
I can't wait to have it fully working !!!
Great job !
@ryanza
Question about root. Are you also working on a z4root for sgs2? Nie to see you again in sgs forum
Sent from my GT-P7100 using XDA App
danikristijan said:
@ryanza
Question about root. Are you also working on a z4root for sgs2? Nie to see you again in sgs forum
Sent from my GT-P7100 using XDA App
Click to expand...
Click to collapse
No known exploits for the SGS2 yet, so not right now...
Security researchers have found some though, but nobody is disclosing any right now.
Progress on getting the radios working:
Nice big error about RILD, etc. The radio seems to be very different from the SGS1 (or any other hardware I know of...) If anybody has any ideas...? Otherwise, will have to try reverse engineer it or something? I hope not!
RyanZA said:
No known exploits for the SGS2 yet, so not right now...
Security researchers have found some though, but nobody is disclosing any right now.
Progress on getting the radios working:
Nice big error about RILD, etc. The radio seems to be very different from the SGS1 (or any other hardware I know of...) If anybody has any ideas...? Otherwise, will have to try reverse engineer it or something? I hope not!
Click to expand...
Click to collapse
I noticed that the rild binary is very different to the one that you end up with if you built it. Have you tried using the stock rild binary and even libril.so?
Also, would it be too much to ask that you show us your vendor overlay (the boarconfig, device and other mk files)?
Thanks.
focamonca said:
Yes! is Useless
Click to expand...
Click to collapse
NO! in fact its very USEFUL!
REALY LOOKING FORWARD TO AWSOME AOSP/CM ROMS SOON
Is there battery drain?

CM10 official builds Bluetooth audio stream fix/workaround

I spent some hours testing files responsible for BT audio streaming from TeamEOS CM10 builds (the feature works there) on the official CM10 nightly builds.
Finally after couple of the ROM re flashes I found what file can be transfered from the TeamEOS builds to get the BT audio streaming working.
The workaround to fix the issue:
1. Download and unzip the file: http://www32.zippyshare.com/v/8042271/file.html
2. Copy the file "audio_policy.conf" to device root/system/etc
3. Reboot the Prime
Let me know if this fix works also for you.
The files are taken from the Team EOS "EOS-tf201-20120814-38" build file. Thank you guys.
Super... will check it out ASAP and will try to merge into CM10
this works... though you only need to replace ""audio_policy.conf"".... the other are not needed!!
Does that mean, the BT hasn't worked yet for CM10 or is that a fix for the known BT-bugs?
I often get BT-interruptions when streaming music to my AV-Receiver. Specially under heavy use (surfing the web for example...). Anybody else mentioning this problems?
craigacgomez said:
this works... though you only need to replace ""audio_policy.conf"".... the other are not needed!!
Click to expand...
Click to collapse
Will try with policy. conf again, first time during my tests it didn't work, probably I did something wrong that day. Thanks for feedback.
EDIT:The first post corrected as per Craig's findings
Thank you! I can listen to Pandora again
Just out of curiosity, would this also work with a touchwiz/stock version of a Rom as well? Thanks!
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
Fixed bluetooth problem, now all phone calls are on speaker phone
Sent from my SAMSUNG-SGH-I717 using xda premium
dafoxs said:
Fixed bluetooth problem, now all phone calls are on speaker phone
Sent from my SAMSUNG-SGH-I717 using xda premium
Click to expand...
Click to collapse
Tell me step by step what you did to fix the problem? I've tried this and it still isn't working for me. I'm using the latest CM10 nightly.
seems the fix has been merged in the latest build (cm-10-20120912-NIGHTLY-tf201.zip)
http://review.cyanogenmod.com/#/c/22104/
eSbek said:
I spent some hours testing files responsible for BT audio streaming from TeamEOS CM10 builds (the feature works there) on the official CM10 nightly builds.
Finally after couple of the ROM re flashes I found what file can be transfered from the TeamEOS builds to get the BT audio streaming working.
The workaround to fix the issue:
1. Download and unzip the file: http://www32.zippyshare.com/v/8042271/file.html
2. Copy the file "audio_policy.conf" to device root/system/etc
3. Reboot the Prime
Let me know if this fix works also for you.
The files are taken from the Team EOS "EOS-tf201-20120814-38" build file. Thank you guys.
Click to expand...
Click to collapse
y u no gerrit this?
Entropy512 said:
y u no gerrit this?
Click to expand...
Click to collapse
It's already merged into CM10... was submitted to gerrit by Alex on Aug 25 and merged int CM10 on Sept 11... read the thread before posting.... the previous post already said that!!
craigacgomez said:
It's already merged into CM10... was submitted to gerrit by Alex on Aug 25 and merged int CM10 on Sept 11... read the thread before posting.... the previous post already said that!!
Click to expand...
Click to collapse
For whatever reason that post wasn't displaying then... Either way, this thread should never have existed and never made it to the portal. If the maintainer had been properly contacted, it would've only been broken for a night or two.
Entropy512 said:
For whatever reason that post wasn't displaying then... Either way, this thread should never have existed and never made it to the portal. If the maintainer had been properly contacted, it would've only been broken for a night or two.
Click to expand...
Click to collapse
Well, it was a trial and error and this thread was merely created as a possible fix... when it was well tested and finalised it was pushed to gerrit just 2-3 days later... yes, it did take time for the maintainers to accept the change and merge it in CM10, but I assume they were busy...
craigacgomez said:
Well, it was a trial and error and this thread was merely created as a possible fix... when it was well tested and finalised it was pushed to gerrit just 2-3 days later... yes, it did take time for the maintainers to accept the change and merge it in CM10, but I assume they were busy...
Click to expand...
Click to collapse
This fix doesn't work anymore with latest builds of CM10.
Hi,
I have this issue.
Does anyone has solution ?
Thanks
SpySpy01 said:
Hi,
I have this issue.
Does anyone has solution ?
Thanks
Click to expand...
Click to collapse
Strange, the "fix" has been implemented in the official CM10 build, I have no problem with my bt earphones since. Are you running the official build or EOS/Craigacgomez?
The Bluetooth stream seems to be pretty good, I connected it to my cousin's Infiniti EX35 and it was seemed to lose a little bass but other than that it was a pleasant experience.
Bluetooth streaming works fine on my iPhone 5 on my 2011 maxima. On the i4S it worked good too...no issues here
...on iPhone5/iOS6 via Tapatalk...
Will this 'audio_policy. conf' fix work on any phone and CM10 flavor?
Also, I noticed that with my CM10 ROM, the native audio_policy.conf file is in a root/system/etc/bluetooth folder, not root/system/etc. Does that make a difference?
The bluetooth issues that I'm having have to do with pairing as well as tons of loud static during calls.
Thx.
Sent from my LG-LS670 using Tapatalk 2

[Q] Porting AOSP to i9300

I have gotten so far in this. The device boots and operates quite normally, with three exceptions.
The camera fails to record. If it starts to record, ending the recording freezes the camera. Or, it just won't start at all.
Some graphical glitches on the lockscreen. Nothing major, or breaking, but weird (see below) but the glowpadview is missing a chunk and there's a strong line of dots towards the lock icon.
Animations are jerky.
These are the device trees I'm using
# Device Samsung i9300
https://github.com/UltimaAOSP/android_device_samsung_i9300
# smdk44121-common
https://github.com/UltimaAOSP/android_device_samsung_smdk4412-common
# Kernel source
https://github.com/UltimaAOSP/android_kernel_samsung_smdk4412
This is the AOSP tree I'm using, by broodplank1337
https://github.com/AOSP-S4-KK
The source tree is great. broodplank1337 did a great job, and it builds and runs wonderfully on the S4 i9505. I have nearly got this down but I'd appreciate any help or advice available!
@Kryten2k35 I was surprised to find no pure AOSP ROMs for SIII. I'll be getting one soon so wanted to have compiled 4.4.4 for it.
I'm surprised you get the problems you have however, as surely these aren't apparent in AOSPA, SlimKat, etc. which are based on AOSP also? Surely you must have had to add vendor/samsung stuff, maybe some hardware/ repos, etc. as missing proprietary blobs would explain the broken camera. I'd be glad to help out anyway. I was about to sync pure AOSP source but do you think this'll be too much of a challenge?
Hi,
I should've updated this thread. It turns out I was compiling with ofast CFLAGS, which was causing the graphical glitches and animation issues. The camera I haven't tested yet, but I suspect the same.
Kryten2k35 said:
Hi,
I should've updated this thread. It turns out I was compiling with ofast CFLAGS, which was causing the graphical glitches and animation issues. The camera I haven't tested yet, but I suspect the same.
Click to expand...
Click to collapse
Thanks a lot, I may as well try building my own AOSP if I know you've been successful then. Will those UltimaAOSP trees work fine for me or should I use CyanogenMods or probably better AOSPAs? I'd be grateful if you could point me towards the correct vendor tree if I'll need to use anything our of the ordinary, but I assume CMs will be fine?
Thanks and sorry for the questions but I have 0 experience with this device (don't even own it yet ) so there's many more sources, trees, and stuff than I'm used to (Desire Z only had 1 maintained device tree).
The UltimaROM trees should work fine when I update them slightly based on these changes.
Everything is mostly AOSP, with the obvious exception of the device tree and kernel tree, both of which are Cyanogen, oh, and Camera, which is also Cyanogen. I had to make a few small changes to AOSP stuff to enable it to work with the S3, as well. nothing major, though.
EDIT:
My UltimaAOSP aim is to remain as close to AOSP as possible. Any modifications are 100% optional and disabled on a new install, so a user can have a Nexus-like experience if they wish.
You are 100% welcome to download UltimaAOSP's source and help in any way you see fit. I appreciate any help I can get.
Kryten2k35 said:
The UltimaROM trees should work fine when I update them slightly based on these changes.
Everything is mostly AOSP, with the obvious exception of the device tree and kernel tree, both of which are Cyanogen, oh, and Camera, which is also Cyanogen. I had to make a few small changes to AOSP stuff to enable it to work with the S3, as well. nothing major, though.
EDIT:
My UltimaAOSP aim is to remain as close to AOSP as possible. Any modifications are 100% optional and disabled on a new install, so a user can have a Nexus-like experience if they wish.
You are 100% welcome to download UltimaAOSP's source and help in any way you see fit. I appreciate any help I can get.
Click to expand...
Click to collapse
@Kryten2k35 Thanks, although I'd love to help I'm currently working on a few of my own projetcs with other members already. Is there no need for the android_hardware_samsung repo or SamsungServiceMode any more then as I can't find them in your sources? I've synced AOSP so I'm gonna have a go with your tree right now to see if it works, is it all updated? Thanks alot
EDIT: Found those repos in your default.xml, I assume they're needed then.
EDIT2: Will I need your vendor repo too? At the moment I assume I'll just have to run lunch full_i9300-userdebug as nothing else appears to work
@HTCDreamOn
Yeah you'll need my vendor repo and my Samsung propitiatory blobs repo, I think.
I've picked back up where I left off this last few days. All the graphical glitches were fixed. But the camera glitch remains: details are here: http://forum.xda-developers.com/showpost.php?p=54234546&postcount=585
I have one choice: ArchiKernel. No other kernel works with camera recording. Which is insane, since the CyanogenMod kernel should work fine, but does not.

[ROM] UberCM 2.0 / minimal / fast / CM12.1 base / LP 5.1.1

This thread is for my daily driver builds of @RobbieL811's Uber CM12.1 currently with @bbedward's Zen kernel. Sometimes I build @flar2's ElementalX kernel instead. Flash whatever makes you happy.
My understanding is UberCM is a lot like vanilla CM but with a few essential things added. Haven't run plain CM in so long so I don't know the differences anymore. Anyways it'd be selfish to hoard the Uber goodness so I came here to share. BUT I don't embellish UberCM or cherry-pick unless necessary and I'm not a developer so don't request features. I test all builds before posting.
Don't bug RobbieL811 if you encounter problems with this rom. He doesn't support Nexus 6 builds at all, nope nada uh uh..
FEATURES
all CM12.1 features incl CMTE for all the theming you crave. NO LAYERS.
call recording (mic only thx to shamu's crappy drivers) is not perfect but good enough
a few extra quick tiles. My fave: reboot tile w/recovery option.
works with Xposed. I love Xposed all day & all of the night, maybe you do too.
some other stuff
GOTCHAS
Call recording only works with AAC, seems that AMR is broken but it sucks anyway so just use AAC
LOCKSCREEN OPTION: if you enable secure lockscreen it'll also apply at bootup even if you choose otherwise. If you choose a lockscreen pattern ONLY use 3x3
VoLTE, wifi calling. They might work but don't expect it and I can't test 'em so don't care.
INSTALLATION
Get on a recent bootloader & modem. For example LMY47Z.
Download & install UberCM 2.0
install Slim GApps or Delta GApps
install SuperSU if you want root
OLDER RELEASES: UberCM 1.8
UberCM 1.7
Hopefully you will enjoy UberCM. If not maybe try another rom like Spring (awesome & innovative but might not work w/Xposed) or BlissPop (every feature in the world) or Euphoria (a possible cure for crackflashing).
Stuff I like:
Kernel Adiutor | Euphoria Dark theme | strong coffee
Credits/sources:
CyanogenMod
UberCM
Zen Kernel
ElementalX kernel
Screenshots
Screenshots come when I get the time.
future site of important updates
Reserved2...
Woot new ROM! Thanks will try later,
Good!
Nice one. I always use cm as secondary rom. Will give it a try. Thanks
Got a mirror? Mega is a **** host and forces their app installed to download on a device.
Don't need a mirror, put it in desktop mode.
beepea206 said:
Got a mirror? Mega is a **** host and forces their app installed to download on a device.
Click to expand...
Click to collapse
goo.im crapped itself and my account there has been iffy since maybe 2013. Mega is uber reliable and wfm. Got a suggestion for other mirror sites?
That sucks, man. I saw another dev using his SkyDrive account, so I don't know if that's an option. Frankly, I haven't used a dev mirror site since I worked on the Droid 2. Lol I But the build looks really interesting. The cm builds aren't working for me and are breaking encryption some how, so I'll give yours a try.
beepea206 said:
That sucks, man. I saw another dev using his SkyDrive account, so I don't know if that's an option. Frankly, I haven't used a dev mirror site since I worked on the Droid 2. Lol I But the build looks really interesting. The cm builds aren't working for me and are breaking encryption some how, so I'll give yours a try.
Click to expand...
Click to collapse
breaking encryption meaning you're not encrypted anymore? or /sdcard is inaccessible?
btw mine is working fine fully encrypted using the build in OP. AFAIK the kernel is encryption agnostic so even if you're not encrypted all should be well.
Not encrypted. It's the damndest thing and no one seems to know why, but I think it's related to the kernel flashed with some of the roms. Benzo, chroma, dirty unicorns, all good... Terminus, 2 of the other cm builds up... Breaks it. If I restore my stock nandroid, it fixes the issue, so I can only assume it's that specific kernel doing something wonky.
The encryption matters for me, because I'm using exchange with an administrator. Need it for work and that's how I've found encrypt broke... The administration setting goes haywire on me when I flash some roms.
beepea206 said:
Not encrypted. It's the damndest thing and no one seems to know why, but I think it's related to the kernel flashed with some of the roms. Benzo, chroma, dirty unicorns, all good... Terminus, 2 of the other cm builds up... Breaks it. If I restore my stock nandroid, it fixes the issue, so I can only assume it's that specific kernel doing something wonky.
The encryption matters for me, because I'm using exchange with an administrator. Need it for work and that's how I've found encrypt broke... The administration setting goes haywire on me when I flash some roms.
Click to expand...
Click to collapse
My money would be on Exchange being a piece of crap. Try stock rom, good luck.
Also related to Exchange: I have a generic rom unf*cker that deletes junkware (AKA stuff I don't like or use) incl exchange, most live wallpapers, other stuff, and adds a few good utils like Kernel Adiutor, Autostarts & f-droid. Could post it with the next UberCM build if somebody wants to try.
CrashTestDroid said:
goo.im crapped itself and my account there has been iffy since maybe 2013. Mega is uber reliable and wfm. Got a suggestion for other mirror sites?
Click to expand...
Click to collapse
Androidfilehost is pretty good imo. You have to register and wait for approval, but that's typically less than a couple hours. Decent speeds and interface.
Sent from my Nexus 6 using XDA Free mobile app
Some UI improvements and other goodness is in the works. UberCM 1.8 is building.
CrashTestDroid said:
Some UI improvements and other goodness is in the works. UberCM 1.8 is building.
Click to expand...
Click to collapse
First time trying this ROM, very nice change over STK cm, essential adds but not too much. Thanks for sharing!!
Stability issues with 1.8, made some changes and we're building again.
Meanwhile I posted an updated 1.7 that's been giving killer battery life for me.
Was thinking where did 1.8 go. No worries appreciate testing before posting!!
razrlover said:
Was thinking where did 1.8 go. No worries appreciate testing before posting!!
Click to expand...
Click to collapse
OP updated with UberCM 1.8, ElementalX is the kernel. Works for me. Hope you like it.
Got 2.0 posted up and it's delightfully speedy. Only gotcha is it'll apply secure lockscreen settings to bootup so don't use 4x4 or larger lockscreen pattern.

[ROM] [Unofficial] Repurpose thread for CM14 once official nightlies start

Let us get back once the CM14 nightlies start
Unofficial CM14 builds based on CyanogenMod + Grarak + Cherry-pick from CyanogenMod review stream
Facts:
Added 1 blob from OOS 3.1.0 to get the build working (Grarak is aware of it)
No extra features added, please do not request (still a n00b here)
Focus is more on debugging and hopefully help Grarak
Why is it not my daily driver though it is stable enough for a daily driver:
Unable to deactivate a SIM (just my itch)
Video recording does not work (Footej works but I want the stock camera to work: Will debug)
Busy to be able to spend more time debugging (especially with many other components changing rapidly)
Note:
Thank you all for being nice on this thread
hackworks said:
Unofficial builds of CM13 & AOSPA for OnePlus 2 with rotation vector fix. Please feel free to test it *only* for rotation vector bug (missing arrow in Google maps). Both builds are updated to latest source from their corresponding repositories.
AOSPA: https://www.androidfilehost.com/?w=files&flid=101343
CM13: https://www.androidfilehost.com/?w=files&flid=101350
CM13 changeset in review: http://review.cyanogenmod.org/#/c/157838/
AOSPA change (could not submit for review): http://pastebin.com/x9mMHzaq
Since this problem plagued us for a long time, I thought of sharing the builds for wider testing. Please be gentle, this is the first time I have shared a ROM that I have built
[All credits to the awesome hackers working on CM & AOSPA]
Click to expand...
Click to collapse
i would say, your hack is working just like your username..
Is it possible for you or anyone to make a flashable zip of the fix...!?
Would be much better and convenient
We can use it on any ROM and will not restricted to use above 2 ROMs only
Mohit31 said:
Is it possible for you or anyone to make a flashable zip of the fix...!?
Would be much better and convenient
We can use it on any ROM and will not restricted to use above 2 ROMs only
Click to expand...
Click to collapse
The change is in the framework. The part of the code calls into proprietary Qualcomm sensor service process to get a list of hardware sensors. In theory, this can be intercepted and filtered to ignore rotation vector sensor from hardware. This will let existing code in framework use the AOSP fusion sensor based implementation to get the values.
I have done something similar by intercepting IO requests to speed up IO over network
hackworks said:
The change is in the framework. The part of the code calls into proprietary Qualcomm sensor service process to get a list of hardware sensors. In theory, this can be intercepted and filtered to ignore rotation vector sensor from hardware. This will let existing code in framework use the AOSP fusion sensor based implementation to get the values.
I have done something similar by intercepting IO requests to speed up IO over network
Click to expand...
Click to collapse
Lol... It all went above my head
I think the answer is, it's not possible, right?
Thank you very much. It's working for me.
(I guess next/about next will have the fix, too. The existing commit only has to be merged)
Great work! This bug has been present since ever.
Sent from my ONE A2003 using Tapatalk
Todays build doesn't have the fix already. Am I right?
PeterImmel said:
Todays build doesn't have the fix already. Am I right?
Click to expand...
Click to collapse
Getting a patch merged is a slow process especially with almost all of CM devs focussing on 'N'. I will make a new build available with patch to hide signal for deactivated SIM in the status bar (when I get back home from work). There are/were 2 issues bugging me for a long time.
Updated build with fix to hide signal for deactivated SIM. Picked change from AOSPA and integrated into CM13. This completes the last 2 issues I faced on CM13 on OP2.
Build updated with latest changes as on 24th Aug 2016 (21.00): https://www.androidfilehost.com/?fid=24686680535466503
hackworks said:
Updated build with fix to hide signal for deactivated SIM. Picked change from AOSPA and integrated into CM13. This completes the last 2 issues I faced on CM13 on OP2.
Build updated with latest changes as on 24th Aug 2016 (21.00): https://www.androidfilehost.com/?fid=24686680535466503
Click to expand...
Click to collapse
That's awesome
Great work
Thanks a ton..!!
hackworks said:
Updated build with fix to hide signal for deactivated SIM. Picked change from AOSPA and integrated into CM13. This completes the last 2 issues I faced on CM13 on OP2.
Click to expand...
Click to collapse
You 're the man! Back to CM13 because of your fixes. Many thanks!
hackworks said:
Updated build with fix to hide signal for deactivated SIM. Picked change from AOSPA and integrated into CM13. This completes the last 2 issues I faced on CM13 on OP2.
Build updated with latest changes as on 24th Aug 2016 (21.00): https://www.androidfilehost.com/?fid=24686680535466503
Click to expand...
Click to collapse
Any chance of fixing loudspeaker echo, WhatsApp voice note not loud and random vibrations due to dt2w?
With these fixed, CM will be bug free.
Sent from my ONE A2003 using Tapatalk
@hackworks Has the rom been built with latest aospa code?
You have fixed some of the very irritating bugs..
I wonder if you can do your magic on this issue as well..
http://forum.xda-developers.com/showpost.php?p=67812802&postcount=1554
Yea. :/
This has still not been fixed.
http://forum.xda-developers.com/showpost.php?p=67812802&postcount=1554 @hackworks Please have a look.
P.S. This issue isn't present on AOSPA. So maybe that'll help.
Can i flash Xposede Framework?
Gesendet von meinem ONE A2003 mit Tapatalk
John-J.Hammy said:
Can i flash Xposede Framework?
Gesendet von meinem ONE A2003 mit Tapatalk
Click to expand...
Click to collapse
It is just CM13 with the 2 fixes. All that applies to CM13 or AOSPA remains valid on these builds
Mohit31 said:
You have fixed some of the very irritating bugs..
I wonder if you can do your magic on this issue as well..
http://forum.xda-developers.com/showpost.php?p=67812802&postcount=1554
Click to expand...
Click to collapse
n00b here. No magic, just learning. I am working on using a cleaner approach to hide the SIM signal icon. Once done, will explore other areas
raburs said:
@hackworks Has the rom been built with latest aospa code?
Click to expand...
Click to collapse
Sorry for not responding earlier, I have uploaded a new build which is based on latest source as on today 26th Aug 2016 (night) for both CM13 & PA.
I tried my hands in Java code by implementing an event based mechanism to disable the SIM icon when it is disabled - Just ended up in flickering display and a SystemUI crash! Guess, I should just stick to C/C++ where I have spent most of my programming life (~18 yrs)! Summary: Will pick areas/bugs based programming language, no time to learn Java

Categories

Resources