yashsingh1/xdaforums huggingface dataset:
[Nexus 7 (2013) Android Development] GROGG88:
Thanks. I'm not really looking to add a bunch of extra settings options. I don't seem to loose track of am/pm personally so I won't be implementing that. If you wish to turn off the battery percent you can use this app:

https://play.google.com/store/apps/details?id=de.kroegerama.android4batpercent
[Nexus 7 (2013) Android Development] noudaniel:
For GROGG88: There seems to be a couple of small bugs

-when auto rotating, there is a black frame in the animation (curiously only when on home screen but not in apps [using Google now launcher])

-miscellaneous battery drain bug? ("Miscellaneous" taking the top spot in the battery info, similar to the bug Nexus 5s were having) <---edit: went away on its own
[Nexus 7 (2013) Android Development] bshiznit:
[MENTION=3667193]GROGG88[/MENTION], [MENTION=426561]scrosler[/MENTION] - bummer getting a 404 on the patches! I figured out the GApps GPS one but wanted to see what else I can do. I've got a Nexus 7 (2012) ROM. You guys don't mind if I were to borrow a patch or 2?
[Nexus 7 (2013) Android Development] GROGG88:
Of course not! I don't have a mirror setup, so you'll have to wait on d-h or until I'm home tonight. Just to make sure... You know these are source patches and not flashable firmware patches, right?
[Nexus 7 (2013) Android Development] bshiznit:
Yup! Got my source tree all set up on my build box even figured out how to patch just the config.xml in framework-res for GPS and then rebuild just that piece :) Bummer about d-h.st being down but I see that you are right it is something on their end causing the 404 :(

---------- Post added at 12:34 PM ---------- Previous post was at 12:06 PM ----------

[MENTION=426561]scrosler[/MENTION] [MENTION=3667193]GROGG88[/MENTION] Is the device name fix a simple build.prop thing? I'd love to get that updated in my ROM.
[Nexus 7 (2013) Android Development] GROGG88:
Go to the directory for your device and you'll find it in one of the mk files. ie: "aosp_grouper.mk", "aosp_full.mk"...

You'll just have to see which one it's in. I've seen it in different files for different devices.
[Nexus 7 (2013) Android Development] bshiznit:
Thanks - what did you change it to?
[Nexus 7 (2013) Android Development] GROGG88:
Just look for "aosp on grouper" or "aosp on tilapia" (whatever you're building) and change it to whatever you want... :silly:

I've used "Nexus 5" and "Nexus 7".

**edit**

d-h appears to be up again.
[Nexus 7 (2013) Android Development] talk2nate:
d-h is still mostly broken :( I will wait till your build makes it up elsewhere. I look forward to trying it out. Thanks to both of you for supporting this project.
[Nexus 7 (2013) Android Development] GROGG88:
I've changed file servers since so many issues were occurring with dev-host.
[Nexus 7 (2013) Android Development] Aashrey99:
I can confirm the presence of the Miscellaneous battery drain bug on Deb running build 9 with ElementalX 3.02. I thought Google had fixed this issue. :(
[Nexus 7 (2013) Android Development] GROGG88:
I see it only if I'm booting back and forth between system and recovery. Full charge and discharge without any recovery boots and see if it is still there.
[Nexus 7 (2013) Android Development] Aashrey99:
Alright. I'll do that and get back to you.
[Nexus 7 (2013) Android Development] filderge:
Using Flo and the latest build by GROG. I have tried putting it into full charge, but still, the miscellaneous battery bug still appears. I have rebooted my tablet first before discharging the battery.
[Nexus 7 (2013) Android Development] GROGG88:
I ran my tablet all day down to 23% watching for this and could not duplicate it...
[Nexus 7 (2013) Android Development] Aashrey99:
I did as you asked and the misc drain appeared somewhere near the 75% mark. The bug is definitely there. I've installed GSAM now so I'll continue to monitor for wake locks. Currently I have observed a high amount of suspend_backoff wake locks.
[Nexus 7 (2013) Android Development] Scott:
This sort of bug is going to be very hard to T/S. Your going to need the exact same app load, usage of those apps, etc...

This is a documented bug so there will be only much you can do to replicate it.

Same with the bug on the Nexus 7 Video bug... I cannot reproduce it nor can many... However the playback bug does exist.

Its all situational
[Nexus 7 (2013) Android Development] noudaniel:
Sorry for stupid question

I can't find the download link for scrosler's build. I click the link on the original post and it links me to scottsroms website which has another thread. I don't see any download link on that thread, other than a red text saying "Downloads!!"

---------- Post added at 09:46 PM ---------- Previous post was at 09:26 PM ----------

Also, can confirm miscellaneous battery drain bug using GROGG88's deb build.

Tried what you said of discharge/recharge without going to recovery, miscellaneous drain still comes back when my battery hits about 80%

I have to use another build because its ruining my battery life (can't get through full day) :(
[Nexus 7 (2013) Android Development] cyberhern:
"Could not stat /data/media/0:Permission denied."

Any ideas?
[Nexus 7 (2013) Android Development] 53l3c7a:
Use the su command first.
[Nexus 7 (2013) Android Development] Scott:
Hmmm

Maybe I made a mistake in my links...

But my direct link is here: N7 Builds

That should lead you to a AndroidFileHost Link where you can choose which mirror to download from.

Please PM if you have a problem!

-Scott

Edit: After re-reading your post it seems like you are hitting the wrong link... See screenshot for better instructions
[Nexus 7 (2013) Android Development] grox:
Facing the same problem, so

su restorecon -FR /data/media/0
[Nexus 7 (2013) Android Development] pietropizzi:
Flashed GROGG88's build for DEB + GAPPS + SuperSU 2.27 + ElementalX 3.02 - working flawless so far thank you. Only problem I have: I can not add an exchange account to GMAIL.

I let all GAPPS update, rebooted to get actual GMAIL Playstore version but still no option to add exchange. Only via seperate E Mail app (yellow icon), but not GMAIL included.

It works in my Nexus 5 GMAIL and in latest scrosler build for DEB - but not here...

Any idea what I'm missing, is there some APK i can add or reinstall ? Thank you !
[Nexus 7 (2013) Android Development] GROGG88:
I've updated my gapps link to direct to the PA Micro Modular build instead. Dirty flash with that and you'll see exchange available...
[Nexus 7 (2013) Android Development] pietropizzi:
I get * Incompatible GApps Currently installed * PA GApps can only be installed on top of an existing installation of PA Gapps. You have to wipe (format) system partition before PA Gapps..... *

...so thats what I have to do then ? :) I looked into updater-script to disable the check somehow but the zip uses update-binary so I'm out of luck then.

I guess its something to do with PrebuiltExchange3Google.apk in the ZIP but I dont know where it should get via File-Explorer, so - wipe system - flash ROM/PAGAPPS/SU/BUSYBOX again :)
[Nexus 7 (2013) Android Development] GROGG88:
Just dirty flash everything you originally flashed but with pa gapps instead of cm gapps.
[Nexus 7 (2013) Android Development] pietropizzi:
Thats what I tried at first but PAGAPPS didd't install cause of the above error.... Now I wiped system and this time the PA seemed to be installed but cache was only built for 8/8 Apps - strange. But ROM seems ok now. --> Exchange could be added to GMAIL

Thank you
[Nexus 7 (2013) Android Development] GROGG88:
Yep. Pa gapps breaks google calendar. Delete it and reinstall from play store. I have a modified package without calendar that I will be uploading and linking, but my internet is down and I'm waiting on a service call to fix it. I also have new patches and builds, but I'm just waiting on my internet to get fixed... Grr.
[Nexus 7 (2013) Android Development] pietropizzi:
I just noticed Calendar FC and no sync options in Account - was about to ask about it LOL :))

If you good at guessing my future problems/questions - what will be next ? :)))

I'll try to delete with EX and if not via TWRP. Thanks for your good support !!

No-didn't work. Deleted Data/Cache from Calendar - I deleted the CalendarGooglePrebuilt folder from /system/app in TWRP - started - installed from Playstore - Calendar still FC and no sync in account.

Noticed there is a CalendarProvider folder in /priv-app - must it be deleted, too ?

As I couldnt get it to work with deleting/reinstalling I flashed a different GAPPS Package - the same I have on my N5 from Anderson Aragão (NX GAPPS - Release 1.3 for Android 5.0) and everything works - calendar included,
[Nexus 7 (2013) Android Development] bajasur:
Edit

Remove
[Nexus 7 (2013) Android Development] GROGG88:
Updates are:

AVAILABLE

---------- Post added at 06:45 PM ---------- Previous post was at 06:27 PM ----------

A reboot would have been required after deleting the first package. Its OK. Glad you got it sorted.
[Nexus 7 (2013) Android Development] noudaniel:
Having some issues with your latest build GROGG (Nov 23rd)

Tried both dirty and clean flash but both ended up with google play stuff going wonky + no on screen buttons, etc

Not sure what I'm doing wrong, anyone got some insight?

Nevermind, my download must've corrupted. The build works fine! :good:
[Nexus 7 (2013) Android Development] mjones73:
May I ask what's new and improved? :)

Thanks for the hard work.
[Nexus 7 (2013) Android Development] joeyddr:
why is the aosp browser gone?
[Nexus 7 (2013) Android Development] GROGG88:
Yes, you may ask. I will respond by directing you to take a look at the changelog.
[Nexus 7 (2013) Android Development] pietropizzi:
Just press on AVAILABLE and you find the Link for Changelog and Features in the post

The AOSP Browser was buggy in all ROM's I tried so far on DEB (FC, no favorites, etc.) it's good to leave it out and take Chrome instead
[Nexus 7 (2013) Android Development] GROGG88:
Because the settings are broken on it, and because I don't use it. I removed a number of packages from the builds.
[Nexus 7 (2013) Android Development] mjones73:
And I missed it somehow, thanks, I'll take a look.
[Nexus 7 (2013) Android Development] Scott:
Its been buggy since 4.4.0

When they switched to Chromeview they changed the way browsing works.
[Nexus 7 (2013) Android Development] pietropizzi:
Rebooted to TWRP

Flashed aosp_deb-ota-11-23-14.zip + MyworkingGapps Package from yesterday + SuperSU + BusyBox

Tested the usual suspects - worked fine ! Giving a full charge now overnight to watch out for the Misc. drain tomorrow...

Reason for using my own GAPPS was that they have GNOW-Launcher which I setup to my likes yesterday
[Nexus 7 (2013) Android Development] GROGG88:
Ya, it's basically a leftover non-maintained package at this point. I don't see it as worth messing with.

Sad news. I've just now been able to replicate an 8% drain on FLO. I've always had a solid WiFi connection before. This only showed up today with WiFi on and no connection.
[Nexus 7 (2013) Android Development] Scott:
I believe it. They did not polish this code very well before sending it out. This is one of the things holding me back from doing my Signature "CleanROM" for the Nexus 7. Google needs to get it together.
[Nexus 7 (2013) Android Development] GROGG88:
I agree. Well, tracking it down is beyond my skills/pay grade. I will simply have to shut off WiFi when not in range until things get resolved...

**edit**

Miscellaneous rose to 10% before reconnecting to a network and has maintained that percentage ever since. [MENTION=426561]scrosler[/MENTION], do you know if the WiFi drain fix was even pushed to AOSP? Looking at the bug reports I don't see any confirmation links...
[Nexus 7 (2013) Android Development] SHABBYLEA:
Just flashed your ROM, and I'm intrigued & impressed with your "home sample" launcher.

Really, it's excellent...(as is the ROM generally...my new dd).

Cheers!
[Nexus 7 (2013) Android Development] Scott:
I do not know sadly... Just got over this flu
[Nexus 7 (2013) Android Development] GROGG88:
[MENTION=426561]scrosler[/MENTION], I hope you feel better. T'is the season to to be jolly get sick...

Everyone else:

Updated patches, builds, and changelog are AVAILABLE.

---------- Post added at 09:45 PM ---------- Previous post was at 09:40 PM ----------

The home sample was a side effect that occurred when I made Launcher 3 default for devices. Until I sit down and sort that out I have ordered it's removal in the modified gapps package I have linked.
[Nexus 7 (2013) Android Development] Scott:
What was the home Sample?
[Nexus 7 (2013) Android Development] GROGG88:
Its appears to be a demo launcher package. Contains a single home screen folder for launching an app window that contains miniature app icons. I haven't really played with it too much. Like I said, I've gotta weed it out. In the meantime gapps will remove it and launcher 3.

**edit**

Attached a copy if you want to play with it...
[Nexus 7 (2013) Android Development] noudaniel:
Hi what's the general procedure if I want to update from your older build to the latest one without losing data etc? Do I just flash over? Do I flash gapps again? Or do I have to clean flash?
[Nexus 7 (2013) Android Development] GROGG88:
Flash everything over again, and then wipe cache and dalvik.
[Nexus 7 (2013) Android Development] Scott:
Hell ya! I gotta check it out!
[Nexus 7 (2013) Android Development] Ambious:
Hey +GROGG88, do you have a public github I can dig through?
[Nexus 7 (2013) Android Development] SwoRNLeaDejZ:
Just read this post and wanted to throw this out there. My assumption is that your Exchange account is a work account? And your employer probably requires a high level security lock screen? And it's annoying?

I know mine does, and it is, annoying that is.. Just wanted to share something with you and anyone else who might see this. I was fed up with entering a pin, or having to encrypt storage to use my company email on my phone, and started a quest to find some way to work around my company's crazy security guidelines. I stumbled across and app called Nine. It's an email app that works with Exchange and ActiveSync accounts, keeps a lot of the gmail style, and it works flawlessly, syncing tasks, calendar, email, and contacts from my company email. The best part about it, is that upon installation, it lets you select whether you want to implement security at an "App Level" or at the "Device Level". Device level will apply security settings based on your device and your company's policy, app level let's you secure just the app, and not your entire device. Now I have my company email on my phone, and I only have to enter a pin or password when I enter my email, as opposed to every time I open my device.

Figured I'd share so people could find the info.
[Nexus 7 (2013) Android Development] GROGG88:
Yes I do, but I don't have any of this setup on it yet. This really is a personal build that I decided to share. I have to find the motivation and time to setup my git for others.
[Nexus 7 (2013) Android Development] BombasMirko:
Hi, probably asked a hundred times. But how can I look which bootloader do I have? And which I should I have for this rom. Thanks
[Nexus 7 (2013) Android Development] papikev:
In terminal type: getprop ro.bootloader (grant su permission first)

Bootloader 4.04 works fine
[Nexus 7 (2013) Android Development] BombasMirko:
I'm on 4.02 so I need to upgrade.
[Nexus 7 (2013) Android Development] SHABBYLEA:
I see....

Looking forward to it's future appearance...?
[Nexus 7 (2013) Android Development] SwoRNLeaDejZ:
I'm curious, I have bootloader version 4.02 and I'm running lollipop.. Is 4.04 required for lollipop, and if so, can I flash it through recovery? My USB port is broken, that's why I ask.. Thanks in advance.

---------- Post added at 05:13 PM ---------- Previous post was at 05:11 PM ----------

Edit:

I already have a flashable zip.. Will updating the bootloader have any chance of breaking my ROM?
[Nexus 7 (2013) Android Development] GROGG88:
Flashing anything has risks. The bootloader should not wipe anything, but there is a reason why those who know better make backups first.

---------- Post added at 03:52 PM ---------- Previous post was at 03:52 PM ----------

Future appearance of what exactly?
[Nexus 7 (2013) Android Development] SHABBYLEA:
I mean if you decide to re-intergrate home sample as part of a launcher in the future.
[Nexus 7 (2013) Android Development] GROGG88:
Not going to happen. It's basically a naked demo package. As it sits it's only function is to launch apps. I will be going the other way and stripping it from builds in the future. As stated above, I've already modified the gapps package to remove it by default. Personally, I've been very happy with the Google Now Launcher and do not have a desire to search for or create a replacement...
[Nexus 7 (2013) Android Development] SHABBYLEA:
Fair enough...
[Nexus 7 (2013) Android Development] mattwheat:
Ok ive never built a rom before but i theme. And ive learned alt more than i planned or thought i would dealing with my lg g flex and its locked bootloader but using bump to get twrp. I think i can manage this. But im going for an aosp for my g flex. I dont know alot about repositories. Does someone have to create one for the flex before i can pull or use this method in ubuntu ? And either way where or how do i go about getting the said files / repositories to build an aosp for another device? I.e. lg g flex. Only reason im asking here about another device is there is only 2 or 3 of us that are attempting to develope for the flex and not to many people i can turn to to ask these questions in our forums. But i do have a nexus 7(2013) and can test build an aosp for it first to get a better understanding of what all is going to take place.

This seems much easier than building a CM from the instr. On cyanogenmods website.
[Nexus 7 (2013) Android Development] GROGG88:
[MENTION=4916963]mattwheat[/MENTION], Yes, you can build in ubuntu. You will have to add device make files and proprietary binaries/drivers. This is the first time I've compiled AOSP and luckily my devices are Nexus so I don't have those extra tasks. Although I cannot provide much help in adding the files to source, I figured a some sort of response is better than none at all.

Take a look at the included devices for a better understanding of what you'll need to include. You could also look at the SimpleAOSP github. They may not have your device added, but I do believe they have a tree for OnePlusOne. This could also be a helpful resource.
[Nexus 7 (2013) Android Development] mattwheat:
[MENTION=3667193]GROGG88[/MENTION] thanks buddy. I'll check that out. We have Playfulgod helping us out a lot with the Flex but its not his daily phone, its got a bad ESN I think so he's mainly helping us out of the goodness of his heart. So I try not to bug him over and over so I'm trying to keep up with the 2 or 3 other semi devs on the flex so we can keep dev alive and hopefully get some sort of light weight OS instead of these 1.5 gig versions manufacturers put out.

Again thanks for the reply......
[Nexus 7 (2013) Android Development] Ambious:
I can't find the regular Email app (not Gmail) anymore.

Is that because of the gapps or is it something in the build?
[Nexus 7 (2013) Android Development] drewski_1:
What GApps? I think PA GApps removes because the factory image email was just a pointer to Gmail (different than AOSP)

Sent from my VS985 4G
[Nexus 7 (2013) Android Development] pietropizzi:
From Changelog:

11/23/14

redesign apm

add screenshot action to apm

add quick delete to screenshot

prevent app inclusion: aosp browser, calendar, email, mms, music, and voice dialer

launcher 3 to be default on all builds

Means its left out cause there can be download newer versions from playstore or they give errors during the usage.
[Nexus 7 (2013) Android Development] Ambious:
Ah, weird that I missed that.

Thing is, it won't install from the playstore, it says it's incompatible.

Got an APK off somewhere though, so I'm good for now, but I have to reinstall all those apps manually every-time I dirty-flash :/

edit: I can't add Exchange to the Email app, only the Gmail app (which sucks with Exchange). From what I read people in this thread had the exact opposite problem :/

And ideas?
[Nexus 7 (2013) Android Development] drewski_1:
You probably need an older version of Exchange Services. iirc, the apk name changed from Exchange2Google.apk to Exchange3Google.apk which works with the new Gmail

Not sure on the exact version numbers.

Sent from my VS985 4G
[Nexus 7 (2013) Android Development] pietropizzi:
Flashed:

aosp_deb_grogg_112714.zip

gapps_pa_mod_5.0.zip (first time this time

SU + Busybox

Works fine so far, donloaded missed GAPPS from playstore but just Google Camera did not install with unknown error 504
[Nexus 7 (2013) Android Development] SHABBYLEA:
Just a quick question. Your aosp patches. Are they meant to be flashed after installation of the ROM?

I ask because I have just tried to flash the patch and I get a "failed" message in TWRP.

TIA...
[Nexus 7 (2013) Android Development] GROGG88:
They are meant to be applied to source before compiling. The released firmware includes all of those patches.
[Nexus 7 (2013) Android Development] SHABBYLEA:
Right...

Now I understand, thanks...
[Nexus 7 (2013) Android Development] GROGG88:
I dropped email because gmail added the same functions in it's recent update. I don't need a variety of mail apps taking up space. I do not plan to add it back in because I have no use for it. PA gapps removes stock exchange. If you wish to keep it then you can modify 'gapps-remove.txt' in the gapps zip.

The main purpose of this thread is for others to learn and experiment with compiling AOSP. I have the patch package available, and it may be modified to enable email inclusion. It is possible for anyone to compile a version tailored to their liking.

---------- Post added at 09:24 PM ---------- Previous post was at 09:18 PM ----------

I cannot say why the playstore version of email is no longer compatible. It seems to have dropped from 4 of my devices which it used to be compatible with.
[Nexus 7 (2013) Android Development] Scott:
Word! This is not a "ROM" thread like you are used to... This is a how to build Android from scratch thread AND "Check out what me and [MENTION=3667193]GROGG88[/MENTION] did thread!"

If you dont like our style, either one of us would be happy to show you another way (if possible, just ask!)

Well more so [MENTION=3667193]GROGG88[/MENTION] than me :D :good: :highfive: ! [MENTION=3667193]GROGG88[/MENTION] is the AOSP master!
[Nexus 7 (2013) Android Development] Ambious:
I definitely love what you guys are doing, and I didn't mean to sound ungrateful, I'm sorry if that's the impression I gave off.
[Nexus 7 (2013) Android Development] pietropizzi:
NOOOO :) They are not meant to be flashed, they are already implemented in GROGG88's ROM.

You can download them if you want to build your own ROM and are there for reference. So you can see what he did there and how patches are prepared. Mostly for study cases.

EDIT: Much tooo late with my answer, didn't read the whole thread first.. :)
[Nexus 7 (2013) Android Development] GROGG88:
No, no. Not offended at all. You had reasonable questions. My response was intended to answer those questions while keeping things pointed in the right direction.
[Nexus 7 (2013) Android Development] adomol:
At the start of a KITKAT/LOLLIPOP build the I get a message android can only be built with make 3.81 or 3.82. Is this a stict rule? Just wondering since my Ubuntu install has make 4.0 built in and switching it out seems a bit tricky.
[Nexus 7 (2013) Android Development] GROGG88:
I have not dealt with that personally, but I would imagine you could use synaptic to remove 4.0 and then install 3.82. AOSP does specify 3.81 or 3.82, and there are most likely valid reasons behind it.