Thread Closed - Motorola Droid 4

Thread closed to avoid confusion.

Info.
Bobcus Leper said:
On reading up in the Galaxy Nexus forums, I saw that the TI-OMAP 4 was not supported in AOSP Lollipop and above. Is this why our OMAP phones perform poorly on ART based ROMs, while ROMs using the dalvik compiler are smoother? In AOSP Nougat, the Snapdragon 800 and 801 chips using the Adreno 330 GPU are no longer supported as well. I guess my question is if it will it be possible to reverse engineer OMAP-4 drivers for Nougat that can support the new surface view texture renderer?
Sent from my Asus Nexus 7 (2013) using XDA Labs
Click to expand...
Click to collapse
I MIGHT be possible to support it, but would take a bit of work, offloading that stuff to the CPU (which is just what we need, right?) and all of which is above my skill level.
Bobcus Leper said:
On reading up in the Galaxy Nexus forums, I saw that the TI-OMAP 4 was not supported in AOSP Lollipop and above. Is this why our OMAP phones perform poorly on ART based ROMs, while ROMs using the dalvik compiler are smoother?
Click to expand...
Click to collapse
The performance problems are probably a mix of slowish eMMC (have to load the precompiled ART files, and they're not exactly tiny), lack of main memory (ART has a bigger memory footprint), and an unsuitable CPU that was outdated when the phone was built, nevermind nowadays. The latter two are what seem to really kill us in CM13; if we're not stuck reclaiming memory, we're saturating the CPU : \
Having Motorola stroll in and develop some up-to-date, optimized drivers sure would be cool, though...hardware is hardware, but good firmware can make a lot out of little.
Nougat is apparently taking a step back and re-introducing JIT execution...so if our resident maintainer does somehow pull off yet another miracle and we get CM14 on here, I'd expect less I/O and memory pressure at the very least. The stock partitions would become viable again too, what with /data/ not being clogged by ART precompiles, and being able to run off them might also offer a (small) performance increase. /system/ is gonna be a tight fit, though...
But using drivers built in two previous, different eras of Android, most of which were for another device...seems like it's gonna take some serious work.
Sent from my Asus Nexus 7 (2013) using XDA Labs

Galaxy Nexus has Nougat!
MWisBest said:
Nougat build is up. No, I have not died, and neither has the Galaxy Nexus.
Decided to take an extra couple days to get this build stable rather than rushing out something that boots and does nothing else, sorry for the delay.
I can't verify the full functionality of the RIL since I don't have a SIM in my GNex these days, so let me know if there's any issues with that.
Everything else should be working well though.
No idea what to do for GApps at this time. I haven't tried them yet.
Download: aosp_n_tuna_2016-08-27.zip
As usual this was a team effort. @Ziyan helped, and @Hashcode (who I thought had died) helped as well.
Click to expand...
Click to collapse
Sent from my Asus Nexus 7 (2013) using XDA Labs

Last time i talked with i Dev about Andoid 7 on the Droid 4, i was told that it would not be possible because of SELinux. But that Info is almost a year old. Maybe someone has more up to date information about this.

1f5 said:
Last time i talked with i Dev about Andoid 7 on the Droid 4, i was told that it would not be possible because of SELinux. But that Info is almost a year old. Maybe someone has more up to date information about this.
Click to expand...
Click to collapse
Thanks! Maybe we should ask @stargo about it. Although, I know stargo likes to surprise people with a new Android version.
Sent from my Motorola XT912 using XDA Labs

Really hoping this old beast will get CM14 due to the coding magic of stargo or some other guys out there.
I recently aquired a completely new Droid 4 from a Verizon reseller in mint condition. Now I never want to live without a slider again!
It is a bit slow, gets hot sometimes and becomes pretty much unuseable with Google Play installed, but who needs that stuff anyways.
Can keep me warm in winter and after replacing stock apps with Naked Browser and Simple Music Player it runs well and fast.
Please don't let this slider die. The only alternative to this device is the Photon Q and this needs to be soldered due to the missing SIM slot.

Bro i think it will have a cm14 for the droid 4
Bro, there say that it is official for the droid 4 to get cm14 check on gammerson .com

Some new info from JooJooBee666.
u.b.o.o.t said:
Hi folks! I had some spare time to setup CM13 build tool chain and - maybe too late for @Septfox - I made a custom kernel with LMK accounting for swap memory, i.e. LMK does only consider memory pages as free which won't require swapping, now. In order to not spam this thread anymore with LMK issues and memory tuning, I created a new thread: http://forum.xda-developers.com/droid-4/development/wip-custom-kernel-lowmemorykiller-t3470411
Click to expand...
Click to collapse
JooJooBee666--
This is cool. I'll test these out here as well. If things look good I'll see about getting LMK changes added to the cm13 kernel and upcoming cm14 kernels (work just began).:good:
Bobcus Leper said:
CM14 confirmed?:fingers-crossed::good:
Click to expand...
Click to collapse
JooJooBee666 --
Not really confirmed (as in no promises it will ever be fully functional as of yet). Just started working on getting things compiling. After that, it's along ways a way from anything usable as there are some new hurdles to overcome thanks to additional lock-downs on SE Linux. So yeah, :fingers-crossed: is right.

Bobcus Leper said:
Thread closed to avoid confusion.
Click to expand...
Click to collapse
Please ask a Moderator to close your thread - otherwise it isn't actually closed....
I've closed it anyway.

Related

No mention of KitKat yet?

In theory based on the platitudes fed to and accepted by the media, surprised no, "Is it here yet?" posts
On a more "cereal" note, if the point it works with lower resources is true, it would be a reason for me to update and start from scratch.
After I peak out of my from a bunker 20 fathoms below sea level.... I will let others test first!
rushless said:
In theory based on the platitudes fed to and accepted by the media, surprised no, "Is it here yet?" posts
On a more "cereal" note, if the point it works with lower resources is true, it would be a reason for me to update and start from scratch.
After I peak out of my from a bunker 20 fathoms below sea level.... I will let others test first!
Click to expand...
Click to collapse
Check the OP of the CARBON thread.
Unless a serious bug is identified, these early November builds will be the final updates for the 4.3 branch, as the Carbon Team has started working on 4.4
Click to expand...
Click to collapse
Be patient, it's coming!
Indeed, yes. It's true that KitKat will run on lower specification devices, however, that doesn't mean EOL devices will be resurrected. The lower specification "thing" is more of OEMs to consider, so they can push budget devices with the latest version of Android, KitKat; instead of still producing Gingerbread devices.
Of course, away from that subject. It should effectively mean, our devices currently on ICS/4.0.x+ should see an increase in performance, including our Nooks.
So when will we receive 4.4 KitKat on our Nooks? The general rule is never to ask for ETAs, but CyanogenMod has provided for us. CM10.1 is complete and finalised. They're trying to complete work on CM10.2, instead of jettisoning all of the current developers efforts. So they/CyanogenMod will be working on CM10.2 for some time, until they can finish it. That doesn't mean to say CM11 will come after CM10.2. No, you can expect CM11 nightly builds by the end of this month. And yes, it'll be called CM11, not CM10.3.
CM11 release date source.
Maybe someone with more knowledge (like @verygreen?) can chime in here, but I thought the fact that our Nooks (HD & HD+) are OMAP4-based means that we won't have the necessary drivers, since TI bailed out of the market. At least, that's what people have surmised, given that Google isn't releasing KitKat for the Gnex, which is OMAP 4430.
I hope I'm wrong, as the better low memory performance of 4.4 would be great to see on the HD+. Even better, it might even resurrect my old Nook Color! XD
Sent from my Nexus 4 using XDA Premium 4 mobile app
psyberian said:
Maybe someone with more knowledge (like @verygreen?) can chime in here, but I thought the fact that our Nooks (HD & HD+) are OMAP4-based means that we won't have the necessary drivers, since TI bailed out of the market. At least, that's what people have surmised, given that Google isn't releasing KitKat for the Gnex, which is OMAP 4430.
I hope I'm wrong, as the better low memory performance of 4.4 would be great to see on the HD+. Even better, it might even resurrect my old Nook Color! XD
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
google may not have provided a rom for gnex but they have one in the xda forums already...since the nook hd+ is a supported cyanogenmod device I expect it will see CM11...probably omnirom since they are showing up in alot of places....and carbon.
famewolf said:
google may not have provided a rom for gnex but they have one in the xda forums already...since the nook hd+ is a supported cyanogenmod device I expect it will see CM11...probably omnirom since they are showing up in alot of places....and carbon.
Click to expand...
Click to collapse
im so excited for 4.4 on our nooks!

F2FS Read/Write Performance using Linux Kernel 3.11+

Has anyone heard about the performance increases that F2FS received recently regarding the latest Linux Kernels 3.11 - 3.14? Apparently, F2FS is a serious contender when used on NAND based devices. I wonder how many years it will be before us Android users get linux kernels like this?
http://www.phoronix.com/scan.php?page=article&item=linux_314_ssdfs&num=2
SkOrPn said:
Has anyone heard about the performance increases that F2FS received recently regarding the latest Linux Kernels 3.11 - 3.14? Apparently, F2FS is a serious contender when used on NAND based devices. I wonder how many years it will be before us Android users get linux kernels like this?
http://www.phoronix.com/scan.php?page=article&item=linux_314_ssdfs&num=2
Click to expand...
Click to collapse
Hopefully it isn't years till that happens. The difference on my N7 since I've switched to All-F2FS is very incouraging. It would be nice to make it a built in option to use for those who are willing to give this new file system a spin.
Yes it looks like it has a ways to go but man oh man it sure speedied up my device. And I agree, kinda like they did with ART. I wonder why Samsung is doing this though? I sure hope they don't plan on building the next generation file system and then turn around and try and get companies to pay license fee's for it. Lol
Sent from my Nexus 7 using Tapatalk
The moto x already uses f2fs,and it has great performance for the hardware.
Sent from my Nexus 7 using Tapatalk
Let's hope that trend spreads to other devices and spills over to other manufacturers.
Sent from my Nexus 7 using Tapatalk
Very fast!
The difference with using F2FS is quite noticeable, very pleased so far, and also I hope other developers start making more roms and kernels for this file system.
Juhful said:
The difference with using F2FS is quite noticeable, very pleased so far, and also I hope other developers start making more roms and kernels for this file system.
Click to expand...
Click to collapse
Me too... However, until Google adopts it, it will always be considered a MOD. I just hope a dev some where figures out how to make it an easy transition. Right now it is scaring a lot of people when they make a tiny mistake, do not realize it and then are asked for a password to access their own device... lmao
True
SkOrPn said:
Me too... However, until Google adopts it, it will always be considered a MOD. I just hope a dev some where figures out how to make it an easy transition. Right now it is scaring a lot of people when they make a tiny mistake, do not realize it and then are asked for a password to access their own device... lmao
Click to expand...
Click to collapse
But I have only been using Android for about a month so if I could do this then anyone should be able too lol The big problem seems people are not FORMATTING just wiping.

[Success!] Just sent urgent SOS to Tab Pro 10.1 Developers - WE HAVE A ROM!

The Tab Pro 10.1 has tons of development activity. Tab S 10.5 not so much (i.e., practically none as far as roms). Just private messaged the top Developers in the Tab Pro forum asking if their work there can be ported to the Tab S. Hardware other than the screen is very similar. Seems like it should be doable (although I'm not a developer and there may be complications of which I am unaware).
Anyway, flare fired, emergency beacon activated. Let's hope we can get some port love here and get a solid rom or two going.
** They may need some guinea pigs to test things out. But these are extremely experienced recognized Devs and you should take some comfort in that.
UPDATE: All development for the 10.1 is for the SM-T520 which is the Exynos 5 wifi model. Should be no issues there.
TAB PRO 10.1:
Chipset Exynos 5 Octa 5420
CPU Quad-core 1.9 GHz Cortex-A15 & quad-core 1.3 GHz Cortex-A7
GPU Mali-T628 MP6
TAB S 10.5:
Chipset Exynos 5 Octa 5420
CPU Quad-core 1.9 GHz Cortex-A15 & quad-core 1.3 GHz Cortex-A7
GPU Mali-T628 MP6
Identical.
UPDATE:
Good news folks! Our little project here has resulted in a working, smooth and pretty dammed fast rom for the 10.5 (US Version). It is still in Beta but based upon my experience, everything seems to be working.
Special appreciation to @Shaheer who came here from the 10.1 Pro Forums and without the benefit of his own device built a working rom for us. My thanks also go out to all the smart people who teamed with him to make it happen.
Go give it a flash. It only gets better from here
http://forum.xda-developers.com/galaxy-tab-s/development/sm-wip-rom-t2832360
** Update: Have just heard from @mrwookie6379 in the Tab Pro 10.1 forums. He has also expressed interest in developing for us. Cool.
There is a big difference between tab pro and tab s.
Maybe I'm wrong but the development is only on snapdragon version of the tab pro...
Orphee said:
There is a big difference between tab pro and tab s.
Maybe I'm wrong but the development is only on snapdragon version of the tab pro...
Click to expand...
Click to collapse
All development for the 10.1 is for the SM-T520 which is the Exynos 5 wifi model. Should be no issues there.
TAB PRO 10.1:
Chipset Exynos 5 Octa 5420
CPU Quad-core 1.9 GHz Cortex-A15 & quad-core 1.3 GHz Cortex-A7
GPU Mali-T628 MP6
TAB S 10.5:
Chipset Exynos 5 Octa 5420
CPU Quad-core 1.9 GHz Cortex-A15 & quad-core 1.3 GHz Cortex-A7
GPU Mali-T628 MP6
Identical.
** OP amended.
If any of these devs ported CyanogenMod or aosp, I would love to take a look at their device directory. I am getting closer with my port but running into a crash with surfaceflinger and the mali driver.
My wife would be happy if I got this working so I could stop obsessing.
eousphoros said:
If any of these devs ported CyanogenMod or aosp, I would love to take a look at their device directory. I am getting closer with my port but running into a crash with surfaceflinger and the mali driver.
My wife would be happy if I got this working so I could stop obsessing.
Click to expand...
Click to collapse
i have the 10.1 and have been considering the S and so looking around here to make my decision. i will say that the Exynos component is probably going to prevent us from every seeing CM11 becase they dont develeop for it. also there is very little dev for the 10.1 and what little there is sees very little updates and most roms seem to be abandoned.
none of the 10.1 to date have developed far enough to make me want to install them yet.
you can look here to see them and then check OP for last update and you will see what i mean
Ah the mondrianwifi, I took a look at that one initially but unfortunately it had enough subtle differences it wasn't much use.
Edit: So just did some digging, still can't find any ports of cyanogenmod to 10.1 (SM-T520). Ill spend a little bit more time digging but as far as I can tell the closest port has been the exynos 5410 samsung galaxy s4 which is what I forked my current port.
When I said there was no development on the Tab Pro, I meant the T520 of course, as the T525 is snapdragon...
It seems I was right, I didn't see any cm11 work for the T520.
Orphee said:
When I said there was no development on the Tab Pro, I meant the T520 of course, as the T525 is snapdragon...
It seems I was right, I didn't see any cm11 work for the T520.
Click to expand...
Click to collapse
By "development" are you referring only to CM? That's a pretty narrow definition of development. And of course no CM for Exynos but lots of TW based roms as you can see from the Tab Pro forum.
CM is awesome and clean and light and fast but you also give up the entire TW ecosystem including multiwindow which is a big price to pay for a little more speed.
Yes TW can go to the junk, CM is the best thing we could have on our tablets.
I consider TW based Rom more as tweaks / tuning than real development.
Orphee said:
Yes TW can go to the junk, CM is the best thing we could have on our tablets.
I consider TW based Rom more as tweaks / tuning than real development.
Click to expand...
Click to collapse
Well using that argument, CM is just tweaked Android.
Yes of course ...........
Well so far no responses to my private messages from the developers at Tab Pro forum. Next step will be to post in the actual threads and ask nicely for help. These guys probably get a million PMs so I'm not surprised not to hear a response.
mitchellvii said:
Well using that argument, CM is just tweaked Android.
Click to expand...
Click to collapse
And android is just tweaked linux. Though the difference in porting AOSP/CM to this device versus modifying the current rom is like the difference between building a model rocket from a kit and launching a shuttle into orbit.
Really anyone who knows how to extract/build a system.img can build a rom for this device in under an hour. Super simple. Though thats not what I am personally interested in accomplishing. There is way too much stuff in the samsung rom that triggers my paranoia, up to and including the clause in the license that says something along the lines of any data we collect can be used to evaluate your eligibilty for hiring at samsung.
I am getting AOSP/CM on here or this tablet is going up for sale. If anyone is interested in helping out I have a couple github repos up and making progress on a daily basis.
eousphoros said:
And android is just tweaked linux. Though the difference in porting AOSP/CM to this device versus modifying the current rom is like the difference between building a model rocket from a kit and launching a shuttle into orbit.
Really anyone who knows how to extract/build a system.img can build a rom for this device in under an hour. Super simple. Though thats not what I am personally interested in accomplishing. There is way too much stuff in the samsung rom that triggers my paranoia, up to and including the clause in the license that says something along the lines of any data we collect can be used to evaluate your eligibilty for hiring at samsung.
I am getting AOSP/CM on here or this tablet is going up for sale. If anyone is interested in helping out I have a couple github repos up and making progress on a daily basis.
Click to expand...
Click to collapse
Contact UpInTheAir. He knows a lot about this stuff.
eousphoros said:
And android is just tweaked linux. Though the difference in porting AOSP/CM to this device versus modifying the current rom is like the difference between building a model rocket from a kit and launching a shuttle into orbit.
Really anyone who knows how to extract/build a system.img can build a rom for this device in under an hour. Super simple. Though thats not what I am personally interested in accomplishing. There is way too much stuff in the samsung rom that triggers my paranoia, up to and including the clause in the license that says something along the lines of any data we collect can be used to evaluate your eligibilty for hiring at samsung.
I am getting AOSP/CM on here or this tablet is going up for sale. If anyone is interested in helping out I have a couple github repos up and making progress on a daily basis.
Click to expand...
Click to collapse
I know slim had been built for the 5410... maybe poking about their Gerrit may help?
Sent from my SM-T800 using XDA Premium 4 mobile app
Poser said:
I know slim had been built for the 5410... maybe poking about their Gerrit may help?
Sent from my SM-T800 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Unfortunately the 5410 doesn't use the mali gpu which is where I am currently getting a crash. I just imported a bunch of code from the arndale_octa (Raspberry pi like board that uses the 5420 SOC) and waiting for my build to finish.
eousphoros said:
Unfortunately the 5410 doesn't use the mali gpu which is where I am currently getting a crash. I just imported a bunch of code from the arndale_octa (Raspberry pi like board that uses the 5420 SOC) and waiting for my build to finish.
Click to expand...
Click to collapse
Power VR...totally forgot. Does anything other than 5420 and arndale use the T628?
You think the crash is at the 3D render...or the handoff back to the a15 display controller?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Poser said:
I know slim had been built for the 5410... maybe poking about their Gerrit may help?
Sent from my SM-T800 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Poser said:
Power VR...totally forgot. Does anything other than 5420 and arndale use the T628?
You think the crash is at the 3D render...or the handoff back to the a15 display controller?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
5420, 5422, and the 5800 use the T628.
As for the crash it looks like its happening somewhere between hwcomposer, gralloc, libEGL, and libGLES_mali. I put that fork on pause while I try take a look at the arndale_octa mali code.
eousphoros said:
And android is just tweaked linux. Though the difference in porting AOSP/CM to this device versus modifying the current rom is like the difference between building a model rocket from a kit and launching a shuttle into orbit.
Really anyone who knows how to extract/build a system.img can build a rom for this device in under an hour. Super simple. Though thats not what I am personally interested in accomplishing. There is way too much stuff in the samsung rom that triggers my paranoia, up to and including the clause in the license that says something along the lines of any data we collect can be used to evaluate your eligibilty for hiring at samsung.
I am getting AOSP/CM on here or this tablet is going up for sale. If anyone is interested in helping out I have a couple github repos up and making progress on a daily basis.
Click to expand...
Click to collapse
Thank you, I taught it was useless to argue with mitchellvi but you explained it very well.
I couldn't do as good as you did.
Thank you a lot
Orphee said:
Thank you, I taught it was useless to argue with mitchellvi but you explained it very well.
I couldn't do as good as you did.
Thank you a lot
Click to expand...
Click to collapse
Lol, argue with me about what, that only CM development is real development? The entire Development section of any Samsung forum is dedicated to non-CM based roms and represents 95% of all development for that device - and simple they're not.
The purpose of this thread is to draw rom development to the Tab S 10.5. Denigrating TW developers and comparing their efforts to model rocketry doesn't help. As far as CM being the space shuttle, that ship is already built and on the pad, you're just looking for the launch codes.

[Q] Android L (5)

How soon do you guys think a ROM will be made for Nook HD/HD+ after Android L releases? Any guesses? Cyanogen have done a great job with 4.4
That's just going to be a lot of assumptions
sandsofmyst said:
That's just going to be a lot of assumptions
Click to expand...
Click to collapse
Probably why you were the only one to reply xD Thanks man
Just don't like to see 0 replies. That said, there's one now and then that I won't reply to. However, L is of much interest to me and some of the supposed improvements will hopefully be great. Plus L on the nooks would hopefully be even better. So I share your enthusiasm.
The release time could be shorter or longer depending on the amount of porting work to be done. There's other variables too. But someone else might also before cyanogenmod which would be fun.
Thanks for the reply, I agree on L being even better on the Nook varieties. Can't wait!
I was finally starting to look into bumping stock off og my HD9 and saw this... guess I can wait 4-6 months for this to all take shape... I wouldn't want to lose my progress in PvZ2 at this point anyhow
My question is whether or not upgrading to L will be a performance boost or if it'll just be bloat on the hardwwre. Won't know til it gets here though.
Goggles2114 said:
My question is whether or not upgrading to L will be a performance boost or if it'll just be bloat on the hardwwre. Won't know til it gets here though.
Click to expand...
Click to collapse
With the nook being the nook... you could be right. The latest tech really makes android smooth, not android on the older tech.
OSs don't tend to get faster as they get fancier and the latest tablets and phones have much faster hardware (and more RAM).
Well I mean take a look at the iPhone 4S, it used to be able to run IOS 5 and now it's up to IOS 8 and it's still pretty fast. These companies need to focus as well on making the newer OS work well with older devices. I mean the HD/HD+ is only 2 years old...
Corkerman said:
the HD/HD+ is only 2 years old...
Click to expand...
Click to collapse
It might be 2 years old but the hardware was never really all that great as it wasn't a top-of-the-line tablet when it came out.
Anyway, that's why I'm hoping 5.0 does something to improve performance, but wouldn't expect miracles from it if anything at all. Android just does better on newer hardware.
_________________________
Looks like cm11 m12 improved responsiveness a noticeable amount and finally too. Still not the same amount newer hardware would cause but a welcome improvement.
Goggles2114 said:
My question is whether or not upgrading to L will be a performance boost or if it'll just be bloat on the hardwwre. Won't know til it gets here though.
Click to expand...
Click to collapse
I upgraded my Nexus 7 2013 to 5.0.0_r2, and it is noticeably faster than 4.4.4_r2. With kitkat, art sped up menus and navigation, but not really much else. Lollipop is all art - no dalvik option - and not only are menus and navigation faster, but it seems to speed up apps as well, mainly the Chrome browser. I've been using Lollipop for a couple of weeks now, compiled 5.0.0_r2 with 4.4.4 blobs, and I've been pretty impressed. I just built 5.0.0_r5 from source yesterday with the new 5.0 blobs they released. I haven't had time to install it, but I would imagine the performance to be the same as 5.0.0_r2.
Unfortunately, the Nook HD depends heavily on CM source, and quite frankly, it's a little above my expertise. So I'll just have to wait for verygreen, bokbokan, and leapinlar to give us a lollipop build for the Nook HD and HD+.
cahrens said:
I upgraded my Nexus 7 2013 to 5.0.0_r2, and it is noticeably faster
Click to expand...
Click to collapse
That's great to hear it's indeed faster even though it's on a Nexus! Great job and hopefully the three guys can work some magic into the HD's
Corkerman said:
I mean the HD/HD+ is only 2 years old...
Click to expand...
Click to collapse
In consumer products, that's an eternity.
I've been working with Lollipop builds for a few weeks now, so I have a fairly decent idea of what is involved.
1) sensors.c (touchscreen) requires a minor rewrite.
2) hdmi_audio.c requires a symbol to be dropped (or qcom hardware specified, either/or)
3) selinux rewrites... blehch!
4) hwc, domx ... dunno yet, there's apparently working lollipop compatible source available
5) Changes to build/core/Makefile cause most builds to hang on imgdiff, some reversions are required to get around this.
OK, even with all this, I've only had one build boot enough to get some logs. Ironically it was my very first build.
http://pastebin.com/CNBrENWD
I did end up adding libcorkscrew. Anyway every subsequent build I've done reboots even before being able to get a last_kmsg. I'm at the point now where I believe our kernel will need to be patched to handle gcc 4.8. Changing the build to use gcc 4.7 is doable, but isn't very pretty or nice (too many headers have changed).
Anyone have any other hints or suggestions?
Jon Lee said:
I've been working with Lollipop builds for a few weeks now, so I have a fairly decent idea of what is involved.
1) sensors.c (touchscreen) requires a minor rewrite.
2) hdmi_audio.c requires a symbol to be dropped (or qcom hardware specified, either/or)
3) selinux rewrites... blehch!
4) hwc, domx ... dunno yet, there's apparently working lollipop compatible source available
5) Changes to build/core/Makefile cause most builds to hang on imgdiff, some reversions are required to get around this.
OK, even with all this, I've only had one build boot enough to get some logs. Ironically it was my very first build.
http://pastebin.com/CNBrENWD
I did end up adding libcorkscrew. Anyway every subsequent build I've done reboots even before being able to get a last_kmsg. I'm at the point now where I believe our kernel will need to be patched to handle gcc 4.8. Changing the build to use gcc 4.7 is doable, but isn't very pretty or nice (too many headers have changed).
Anyone have any other hints or suggestions?
Click to expand...
Click to collapse
If it were me, I'd look here http://forum.xda-developers.com/kindle-fire/development/rom-kernel-unofficial-cm12-0-otterx-t2958155 or here http://forum.xda-developers.com/kindle-fire/development/slimpop-otterx-t2957450 for some guidance.
Hashcode is a legend on XDA and he has almost single-handedly kept the very old, TI OMAP 4430 Kindle Fire alive. As for lovejoy777, currently, he has been the most active, hard working dev for that same KF. Hashcode has CM12 working and lovejoy777 has Slimpop.
Since our device is so similar to the KF and Hashcode has contributed to the Nook in the past, looks to be a good resource??? Then again, verygreen could also pop in sometime down the road.
Mike T
It was because of installing CM on a Kindle Fire 2 for a friend that I decided to purchase a Nook (wanted an OMAP).
I checked both threads over but didn't immediately find any lollipop android_device source available.
I was right about the kernel (arm/lib/memset.S?). Only took me a week to figure it out.
I'm not quite sure yet what to make of the second set of logs, but this is where I'm at now.
http://pastebin.com/EXnJpp3L
Jon Lee said:
It was because of installing CM on a Kindle Fire 2 for a friend that I decided to purchase a Nook (wanted an OMAP).
I checked both threads over but didn't immediately find any lollipop android_device source available.
I was right about the kernel (arm/lib/memset.S?). Only took me a week to figure it out.
I'm not quite sure yet what to make of the second set of logs, but this is where I'm at now.
http://pastebin.com/EXnJpp3L
Click to expand...
Click to collapse
One of my first android devices was the 1st gen KF and Hashcode helped make an inexpensive E-reader a very viable android tablet. I would PM Hashcode and/or lovejoy777. Hashcode is usually very busy but he has always been helpful towards other devs, I know he gave some assistance to lovejoy777 with SlimPop.
As for lovejoy777, he's fairly new at development but seems to be very helpful. I think he also may have gotten some help/guidance from MwisBest who built a LP rom for the OMAP 4460 Galaxy Nexus. I mention this because I believe he knows the importance of cooperation among devs. As an aside, while reading his thread I think I read that he was in the process of "cleaning up" his github. So, he could be a good source.
Maybe also PM killersloth. He built quite a few nice roms for our Nooks last year and just recently expressed some interest in trying to get LP on our device. Maybe if you contact him, you guys can make something happen. I'm an old fashioned XDA'er that believes cooperation amongst devs and end users is essential in the community. Every little bit can help.
http://forum.xda-developers.com/showpost.php?p=57255968&postcount=14
Anyway, you seem to be a very sharp guy. I wish you luck in getting LP to the Nook. I wish I could contribute more but I'm more of a file swapper and modder of existing work than a dev. :laugh:
Mike T
Moving to Texas in three days, been hectic around here lol.
I had major issues with hwc, selinux, and our old configs. Hashcode must have plowed through it if its running on otter. I'd check his commit history for some tips.
We needed this for prebuilt boot image before
http://review.cyanogenmod.org/#/c/36813/1
I needed it a few weeks back when attempting to build. They might have brought up their own method since then.
I wish they would have called it SlimPop instead of SlimLP ??
A 5.0 build for hummingbird would be nice. Hopefully it won't be hard to modify an ovation build since all the devel appears to be on ovation.

Compiling Unofficial CyanogenMod 14.1 for Nexus 6

Hello XDA Community,
I am interested in using the unofficial build of CyanogenMod 14.1 available here, but I would like to learn how to compile on my own from the repository provided by the developer. Unfortunately, I do not know how to go about doing this. Could someone please help me out? I have looked at the CyanogenMod Wiki entry for how to compile CyanogenMod for the Nexus 6, but the information is out of date according to what I was told in a post I made on Stack Exchange's Android Q&A site. The only thing that I understand about the build process is that I need to use Linux, so I have set up a virtual machine in VMware running the latest version of Ubuntu. Where do I go from here?
Thank you,
David B.
David B. said:
Hello XDA Community,
I am interested in using the unofficial build of CyanogenMod 14.1 available here, but I would like to learn how to compile on my own from the repository provided by the developer. Unfortunately, I do not know how to go about doing this. Could someone please help me out? I have looked at the CyanogenMod Wiki entry for how to compile CyanogenMod for the Nexus 6, but the information is out of date according to what I was told in a post I made on Stack Exchange's Android Q&A site. The only thing that I understand about the build process is that I need to use Linux, so I have set up a virtual machine in VMware running the latest version of Ubuntu. Where do I go from here?
Thank you,
David B.
Click to expand...
Click to collapse
To be honest You will be better off dual booting. Compiling with a VM normally has more issues then not.
Then I would look at Google developer page.
Also keep in mind that compiling from CM means you get all the bugs they never fixed. You would be better off going with AOSP and then finding the features you want to add and then add them yourself.
zelendel said:
To be honest You will be better off dual booting. Compiling with a VM normally has more issues then not.
Then I would look at Google developer page.
Also keep in mind that compiling from CM means you get all the bugs they never fixed. You would be better off going with AOSP and then finding the features you want to add and then add them yourself.
Click to expand...
Click to collapse
I would love to build my own CyanogenMod based on AOSP and then merge in the features, but I don't even know how to build directly from AOSP.
Honestly, all I really want is stock with all of the additional developer mode features that CyanogenMod has along with root access. I love the ability to use root without extra apps, and wireless ADB is sweet when I'm too lazy to go get my USB cable. And of course, I want to be able to use future versions of Android on my phone even though 7.0.1 is supposed to be the last version for Shamu. Could I somehow merge those aspects together and just pull patches from AOSP, build, and flash?
Also what's wrong with using a VM to compile? I've read that problems occur if you don't have enough RAM allocated to the VM, but I've assigned it 16GB so that should not be a problem. As for attaching my phone to the VM, I am using VMware, which has better support for removable devices than VirtualBox.
I'm sorry if I misunderstand something you said. It's probably obvious, but I know pretty much nothing about what I am doing which means I'm likely to ask lots of questions that seem ridiculous to those that are well-versed in this sort of thing.
David B. said:
I would love to build my own CyanogenMod based on AOSP and then merge in the features, but I don't even know how to build directly from AOSP.
Honestly, all I really want is stock with all of the additional developer mode features that CyanogenMod has along with root access. I love the ability to use root without extra apps, and wireless ADB is sweet when I'm too lazy to go get my USB cable. And of course, I want to be able to use future versions of Android on my phone even though 7.0.1 is supposed to be the last version for Shamu. Could I somehow merge those aspects together and just pull patches from AOSP, build, and flash?
Also what's wrong with using a VM to compile? I've read that problems occur if you don't have enough RAM allocated to the VM, but I've assigned it 16GB so that should not be a problem. As for attaching my phone to the VM, I am using VMware, which has better support for removable devices than VirtualBox.
I'm sorry if I misunderstand something you said. It's probably obvious, but I know pretty much nothing about what I am doing which means I'm likely to ask lots of questions that seem ridiculous to those that are well-versed in this sort of thing.
Click to expand...
Click to collapse
You do know that there is an app for SU built into CM right? So it is no extra apps then any other rom.
Could you yes but it will be lots of work due to what CM changes in the source code. It is one of the many reasons (on top of years old bugs that were never fixed) That many teams stopped using them as a source. The Shamu will be supported by 3rd party developers for a while to come.
Normally ram is an issue but other issues also happen.
I dont know anything about having to attach your device to VM as I have never used VM due to advise from the developers here.
Asking questions is not that big of a deal as long as you do your research. There are tons of TUT on the site about setting up a build setup. Just use the search and spend a few days reading. Mainly where the licenses are concerned. Also commit authorship. Which is you make your own rom it is very important.
zelendel said:
You do know that there is an app for SU built into CM right? So it is no extra apps then any other rom.
Could you yes but it will be lots of work due to what CM changes in the source code. It is one of the many reasons (on top of years old bugs that were never fixed) That many teams stopped using them as a source. The Shamu will be supported by 3rd party developers for a while to come.
Normally ram is an issue but other issues also happen.
I dont know anything about having to attach your device to VM as I have never used VM due to advise from the developers here.
Asking questions is not that big of a deal as long as you do your research. There are tons of TUT on the site about setting up a build setup. Just use the search and spend a few days reading. Mainly where the licenses are concerned. Also commit authorship. Which is you make your own rom it is very important.
Click to expand...
Click to collapse
Okay, so I have done some research and have a solution for how to use root with stock Android, but as soon as stock Android support is dropped from the Nexus 6 I will have to compile it myself which I am not sure how to do and would like to learn. Do you have any suggestions for what to go to learn since everything I am finding is not about compiling, but is instead about using an existing build?
David B. said:
Okay, so I have done some research and have a solution for how to use root with stock Android, but as soon as stock Android support is dropped from the Nexus 6 I will have to compile it myself which I am not sure how to do and would like to learn. Do you have any suggestions for what to go to learn since everything I am finding is not about compiling, but is instead about using an existing build?
Click to expand...
Click to collapse
Here you go
https://source.android.com/source/initializing.html
Mind you getting root is more then adding an app for it. You will also have to do some kernel edits.
zelendel said:
Here you go
https://source.android.com/source/initializing.html
Mind you getting root is more then adding an app for it. You will also have to do some kernel edits.
Click to expand...
Click to collapse
Thanks! I also found this. I have not really looked at it too much yet, but it seems like it has the potential to help me with what I want. Why would I need to make kernel edits? I thought all I needed to do was use TWRP to flash SuperSU after flashing the ROM.
David B. said:
Thanks! I also found this. I have not really looked at it too much yet, but it seems like it has the potential to help me with what I want. Why would I need to make kernel edits? I thought all I needed to do was use TWRP to flash SuperSU after flashing the ROM.
Click to expand...
Click to collapse
SuperSU edits the kernel when you flash it. Most of what allows root is in the kernel.
Yes that is a great resource. Just take your time and read it. You could have a working set up and build in about 2 days (given the first sync of the source code could take more then 24 hours depending on your connection.
zelendel said:
SuperSU edits the kernel when you flash it. Most of what allows root is in the kernel.
Yes that is a great resource. Just take your time and read it. You could have a working set up and build in about 2 days (given the first sync of the source code could take more then 24 hours depending on your connection.
Click to expand...
Click to collapse
One thing that I still cannot figure out after all of this reading is what to do to get AOSP to build for devices that are not officially supported by it. Granted, this is not a problem for the Nexus 6 right now, but it will be eventually, and I want to know how to handle it when it does become an issue. I've started cloning the repository. My connection gets a top download speed of 60Mbps so it should be reasonably fast.
David B. said:
One thing that I still cannot figure out after all of this reading is what to do to get AOSP to build for devices that are not officially supported by it. Granted, this is not a problem for the Nexus 6 right now, but it will be eventually, and I want to know how to handle it when it does become an issue. I've started cloning the repository. My connection gets a top download speed of 60Mbps so it should be reasonably fast.
Click to expand...
Click to collapse
At that point you will need to know what you are doing as you will have to make the code changes to make it bootable. I hate to say it but the n6 maybe doa after this as anything after 7.1 will need dual partition setup which the n6 doesn't have
zelendel said:
At that point you will need to know what you are doing as you will have to make the code changes to make it bootable. I hate to say it but the n6 maybe doa after this as anything after 7.1 will need dual partition setup which the n6 doesn't have
Click to expand...
Click to collapse
What's stopping the phone from being repartitioned in the same way you repartition a hard drive?
David B. said:
What's stopping the phone from being repartitioned in the same way you repartition a hard drive?
Click to expand...
Click to collapse
The main issue is none of the software for the n6 are made to work with it. All the drivers have to be rewritten. Also all of the new Vulcan graphics drivers won't work on the n6. This is why it didn't get all the features of 7.0
zelendel said:
The main issue is none of the software for the n6 are made to work with it. All the drivers have to be rewritten. Also all of the new Vulcan graphics drivers won't work on the n6. This is why it didn't get all the features of 7.0
Click to expand...
Click to collapse
I had not heard of this before. I was researching it online a bit and I cannot figure out which features are missing from the Nexus 6 version of Nougat. Also, Nougat has to support older hardware for devices that don't support Vulkan, so there's no reason they can't do that for Android O, and it they don't, surely someone smarter than I will be able to hack it together.
David B. said:
I had not heard of this before. I was researching it online a bit and I cannot figure out which features are missing from the Nexus 6 version of Nougat. Also, Nougat has to support older hardware for devices that don't support Vulkan, so there's no reason they can't do that for Android O, and it they don't, surely someone smarter than I will be able to hack it together.
Click to expand...
Click to collapse
That's the thing is android O will only be official supported by devices that can use it. Remember the nexus 6 support ended in October so there won't be an official O release for it.
Will there be a hacked together set up? Oh I'm sure there will be. It will just be without the Vulcan graphics drivers and the new update system which needs the dual partition layout.
The missing features are no background updates, no Vulcan drivers among other things
zelendel said:
That's the thing is android O will only be official supported by devices that can use it. Remember the nexus 6 support ended in October so there won't be an official O release for it.
Will there be a hacked together set up? Oh I'm sure there will be. It will just be without the Vulcan graphics drivers and the new update system which needs the dual partition layout.
The missing features are no background updates, no Vulcan drivers among other things
Click to expand...
Click to collapse
Well if the only things I lose are Vulkan and background updates, I am cool with that. It sounds like Vulkan is intended for games, and since I hate mobile gaming, an adapted build that works with the existing graphics drivers is not a concern at all. As for background updates, I would rather not have those because I like to know when my phone receives updates.
David B. said:
Well if the only things I lose are Vulkan and background updates, I am cool with that. It sounds like Vulkan is intended for games, and since I hate mobile gaming, an adapted build that works with the existing graphics drivers is not a concern at all. As for background updates, I would rather not have those because I like to know when my phone receives updates.
Click to expand...
Click to collapse
The Vulcan driver will be replacing the graphics drivers for everything soon. I can't think of much as I never use stock software.
zelendel said:
The Vulcan driver will be replacing the graphics drivers for everything soon. I can't think of much as I never use stock software.
Click to expand...
Click to collapse
I am sorry, but I am afraid I do not quite understand what it is that you said. What can't you think of?
David B. said:
I am sorry, but I am afraid I do not quite understand what it is that you said. What can't you think of?
Click to expand...
Click to collapse
There were many features that came with 7.0 like the new advanced doze and some other stuff. I dont use stock software and to be honest most of the stuff from 7.0 wasnt even really worth the update to me.
I have had a nexus since day 1 on and off and this was the first time I wasnt excited about the update. Even less with the new updates coming and google locking android down more as well as them moving most of the new stuff to closed sourced stuff. Heck even just having the bootloader unlocked is causing things not to work.
zelendel said:
There were many features that came with 7.0 like the new advanced doze and some other stuff. I dont use stock software and to be honest most of the stuff from 7.0 wasnt even really worth the update to me.
I have had a nexus since day 1 on and off and this was the first time I wasnt excited about the update. Even less with the new updates coming and google locking android down more as well as them moving most of the new stuff to closed sourced stuff. Heck even just having the bootloader unlocked is causing things not to work.
Click to expand...
Click to collapse
Really? What doesn't work with the unlocked bootloader?
David B. said:
Really? What doesn't work with the unlocked bootloader?
Click to expand...
Click to collapse
Things like android pay and saftynet. They are now starting to look for unlocked bootloaders. then you have those that are blocking apps due to root or xposed.

Categories

Resources