yashsingh1/xdaforums huggingface dataset:
[Nexus 7 (2013) Android Development] Scott:
Very cool!

I suck at math, lol

Thank you very much!

I had success with it to but it depends on the Gapps used. It was 2:00am so I just pulled it for the time being. I needed sleep. This has been consuming me since the source dropped.

Can you link to the G-Apps used? I want to experiment more tonight with it... And I have this weekend off.
[Nexus 7 (2013) Android Development] noahvt:
I fixed my issues by flashing the 4.4.4 factory images and then I flashed this (my previous setup was a mess lol) and now it's running silky smooth :D
[Nexus 7 (2013) Android Development] brenty108:
Where do I type this in? "restorecon -FR /data/media/0" because I used twrp terminal and it didn't work. Got no storage. Been sing this since version 2 but when I flashed it over I got this problem.
[Nexus 7 (2013) Android Development] AarSyl:
I meant to ask....does anyone else have a star on the right of their status bar?
[Nexus 7 (2013) Android Development] Snap Shot:
i used terminal emulator

i installed terminal emulator via nexus root toolkit

i typed su

then

restorecon -FR /data/media/0
[Nexus 7 (2013) Android Development] Scott:
Is it your Avatar? I got small generic avatar for me.
[Nexus 7 (2013) Android Development] AarSyl:
Not sure...it's between the Bluetooth and WiFi icons. I don't have an avatar selected.
[Nexus 7 (2013) Android Development] MrGooglesFirst:
Gapps here

https://s.basketbuild.com/gapps
[Nexus 7 (2013) Android Development] StrangerWeather:
It's the Downtime (Priority Interruptions Only) symbol.
[Nexus 7 (2013) Android Development] mjones73:
Just an FYI, Terminal Emulator is available via the play store, no need to flash it.
[Nexus 7 (2013) Android Development] jadeddjay:
well just wanted to say thanks to scott for all the hard work.

i had an issue with google+.. didnt read the whole thread but in case anyone else was having this issue and missed any potential solution, i found that the device name was "AOSP for Flo" and i was able to edit the build.prop file...

ro.product.model=Nexus 7

ro.product.brand=google

ro.product.name=razor
[Nexus 7 (2013) Android Development] GROGG88:
That should be indicating starred contacts interruption allowance.

Go to 'Settings/Sound & notification/Interruptions' and modify the 'Calls/messages from' section to see it change...
[Nexus 7 (2013) Android Development] Scott:
Good info, thanks both!
[Nexus 7 (2013) Android Development] wormy987123:
Just wanted to come and say thank you for the work you do. I've ran your stuff since the LG Optimus S, and it's all been top notch!
[Nexus 7 (2013) Android Development] Scott:
Wow, that was my FIRST ever android phone...

And the funny part about that... I use EVERY night for my Pod Cast player when I go to to bed!
[Nexus 7 (2013) Android Development] wormy987123:
My kids use the 2 that I have as mp3 players and love them.
[Nexus 7 (2013) Android Development] lahegry:
Is anyone else unable to download from play movies or is it just me?
[Nexus 7 (2013) Android Development] skiman10:
Hey [MENTION=426561]scrosler[/MENTION] can I use that save-recovery zip in my thread for deb? I just want to make sure it is ok before I add it. I will give you credit for it! Thanks.
[Nexus 7 (2013) Android Development] sledge3n8:
Hi guys! I just finished flashing the ROM and all is good except I have no calendar sync. I show a sync error under Accounts in Settings but there is no calendar listed on the Sync page. The Gapps I flashed are the ones linked in the Op. I used TBU to remove the calendar app, rebooted and then installed from the Play Store to no avail. Any ideas? Thanks!
[Nexus 7 (2013) Android Development] Scott:
Go ahead. But what are you making and why do you need that?
[Nexus 7 (2013) Android Development] skiman10:
I just put the finishing touches on my ROM for Deb and I'm pretty sure it'll wipe out your recovery if you don't use this script.

EDIT: Nvm solved it, no need for the script anymore. Thank you though.
[Nexus 7 (2013) Android Development] GROGG88:
[MENTION=426561]scrosler[/MENTION] I finally got home and found where I made [MENTION=631273]Chainfire[/MENTION] 's source change to enable a SuperSU friendly ramdisk on every build.

/ROOT/system/core/rootdir/init.rc

Just delete line 599 or comment it out. Then you will not have to worry about splitting boot.img for every build.
[Nexus 7 (2013) Android Development] Legacystar:
Is safe recovery a new recovery? Can we not use twrp?
[Nexus 7 (2013) Android Development] GROGG88:
TWRP 2.8.1.0 is what I use. No issues... "save-recovery" is simply preventing the firmware from rewriting the stock recovery.
[Nexus 7 (2013) Android Development] Summit1:
Had same problem. Deleted Google in accounts. Went to Apps and cleared data and cache in Calendar app. Rebooted and added Google to accounts. Everything synced including Calendar!
[Nexus 7 (2013) Android Development] Scott:
What did you do to fix it? I cant figure out where to take it out.

Worse case scenario, I will build the script into updater.
[Nexus 7 (2013) Android Development] sledge3n8:
Thank you [MENTION=772695]Summit1[/MENTION]. Worked like a charm!
[Nexus 7 (2013) Android Development] Scott:
Thanks man! I will do that next build.

Do you know how to comment out stock recovery? I coudl do it on 4.4.x but not sure on how to eliminate it from the 5.0.0?
[Nexus 7 (2013) Android Development] skiman10:
Let me test it really quick! I'll let you know when I flash it if it worked or not
[Nexus 7 (2013) Android Development] SHABBYLEA:
Sadly, it seems to be a fact of life...most of us have forgotten that manners cost nothing, thank you even less...

Keep up the good work!
[Nexus 7 (2013) Android Development] GROGG88:
I'm looking into it. I'd like to remove the restore-recovery.dat generation as well.
[Nexus 7 (2013) Android Development] Scott:
Looks like the same thing...

Service Flash_recovery /system/bin/install-recovery.sh

I think that will kill two stones with one bird...

Building now...
[Nexus 7 (2013) Android Development] skiman10:
Ok our method seemed to have worked. Replace ota_from_target_files from aosp to this one https://github.com/FrankenBunny/pla...090f/tools/releasetools/ota_from_target_files and you should still have a recovery after install.
[Nexus 7 (2013) Android Development] Scott:
Cool!

BEcause what I did was in init.rc and I knocked out:

#service flash_recovery /system/bin/install-recovery.sh
# class main
# seclabel u:r:install_recovery:s0
# oneshot

But this left with no root either. So with your method and following what [MENTION=3667193]GROGG88[/MENTION] said to cmment out I should be Good to go!

Building again!

Thanks for the heads up!
[Nexus 7 (2013) Android Development] Scott:
Wierd I did this and have no SysUI!

I may have screwed something up ;)
[Nexus 7 (2013) Android Development] skiman10:
Hmmm well it worked for me so maybe you did! lol :p

EDIT: I feel like a noob, but do you happen to know how to open up this new system format? system.new.dat to change stuff inside of it?
[Nexus 7 (2013) Android Development] Scott:
Dont feel like a newb.. Thats what I tried to do with my Build #3.

I made the .img's and then converted them in a kitchen script.

Worked great... Until I installed (and others as well) Gapps then everything went to hell.

I hate to say this but glad I am not the only one that needs schooling on the new .dat files. I said early in the thread... They are a SOB.

I will keep the thread abreast if I find anything..

Otherwise my second thought was to edit update-script to do what I want... IE: Add root, etc.
[Nexus 7 (2013) Android Development] skiman10:
Alright thanks for that! I'll post in here if I find anything as well!
[Nexus 7 (2013) Android Development] Scott:
Sounds good!

Im having a hella time after editing OTA_FROM_TOOLS.

Running as Hyper-V so gonna dump it all and run it in a normal machine (need more cores!)
[Nexus 7 (2013) Android Development] GROGG88:
It would be quite easy to combine the firmware, gapps, and supersu packages into one package. I don't bother with that because I tend to just set a flash order in TWRP, but for users it would simplify things. The "dat" files are not something I'm familiar with yet either. Quite a surprise to see them dumping out in 5.0.

---------- Post added at 09:54 PM ---------- Previous post was at 09:51 PM ----------

Thank you for that. I've applied it to my repo and I'm compiling fresh for my N5 to check the result. I found that 'ota_from_target_files' needed to be edited, but I was having trouble finding info beyond that.

---------- Post added at 10:50 PM ---------- Previous post was at 09:54 PM ----------

Interesting... Still flashing stock recovery on boot.
[Nexus 7 (2013) Android Development] Scott:
Same here. Thats why I decided to give it a break for the night. Been at this since release day.
[Nexus 7 (2013) Android Development] jbrantley130:
Deleted.
[Nexus 7 (2013) Android Development] mau006:
Also deleted
[Nexus 7 (2013) Android Development] mjones73:
And deleted...
[Nexus 7 (2013) Android Development] MaximN97:
Same Problem on my nexus with downloading movies from play movie.
[Nexus 7 (2013) Android Development] chaitea:
I used the one in your first post... haha
[Nexus 7 (2013) Android Development] Ambious:
Thanks for the info, but it didn't help for me, I'm afraid.

It's still missing from the play store when browsing from the device, fails to install from APK and says "Incompatible" when trying to install from web.

I have changed the build.prop as suggested, made sure the settings stuck by using 'adb shell getprop' after reboot, and cleared cache/dalvik for good measure.

I also tried "razorg" instead of "razor" (since I do have deb).

Does anyone else have any idea why Google+ won't play nice with Lollipop AOSP?
[Nexus 7 (2013) Android Development] madAdam6LOVE:
Anyone experimenting with kernels?

This hellscore port is working beautifully for me:

http://xdaforums.com/showthread.php?p=56376049
[Nexus 7 (2013) Android Development] jadeddjay:
which gapps are you using? i used the 11/07 version of the one listed in the op: https://s.basketbuild.com/gapps

here are the rest of the build.prop for the LTE model in case you see anything glaring that might be helpful: http://xdaforums.com/showthread.php?t=2481648
[Nexus 7 (2013) Android Development] Ambious:
Thanks, the newer gapps did the trick (I was using the one from the day before).
[Nexus 7 (2013) Android Development] Jdella681:
Is there an alternate way of updating the boot loader? My computer won't detect the n7 when it's in fastboot for some reason
[Nexus 7 (2013) Android Development] Scott:
Make sure you have your drivers loaded. Check device manager.
[Nexus 7 (2013) Android Development] Mennooo:
And me who dosnt own a computer, no way? ;D
[Nexus 7 (2013) Android Development] djibril13:
Great ROM thanks for your effort!
[Nexus 7 (2013) Android Development] jeffreycentex:
What is the trick to make the NavBar show up? I've installed several times and everything works except I don't have a NavBar, so I need to reboot between swapping between apps.

I've done just the build alone, one with every version of gapps that I can find to no avail..
[Nexus 7 (2013) Android Development] Scott:
Hold on, is this my ROM or your personal build?

Because the odd thing... My first three builds did not have that issue then I synced the repo again and its doing what you are saying.
[Nexus 7 (2013) Android Development] jeffreycentex:
I've done your build (11/5) like three times and then I tried the other one from the Deb forum and had the same issue...

I've tried both boot loaders...

It's weird...
[Nexus 7 (2013) Android Development] GROGG88:
Best buy, Walmart, Office Depot... :p
[Nexus 7 (2013) Android Development] Mennooo:
To expensive to take a flight ;)
[Nexus 7 (2013) Android Development] Scott:
Yeah, IDK man. I am having the same issue now...

I am going to reflash my build. I need a break.

I just synced the repo on Ubuntu Mate 14.10 and constantly crashing so that tells me I will be re-installing Ubuntu 14.04.1 again :(
[Nexus 7 (2013) Android Development] Scott:
Well, if it makes you feel any better... Its now happening to me on my own 11/5 build too!

IM going to go back to preview build, that way everything gets wiped then flash ROM again.

Someone else was having some crazy crazy issues and he had to reflash a stock image.
[Nexus 7 (2013) Android Development] jeffreycentex:
Yep. I've been flashing back to 4.4.4 everytime I try (using the stock image)...
[Nexus 7 (2013) Android Development] SHABBYLEA:
There is a way.

1. Flash tassadars lpx13d flashable .zip then reboot.

2. Reboot recovery & flash srosler's lrx21m as per insructions in OP.

3. Reboot.

4. Reboot recovery & flash cm 11 gapps from link in OP. Reboot.

5. Enjoy.

6. Couple of custom kernels to flash if you wish to are: poondogs hellscore port; bricked for lollipop; and elemental's n 3.0...
[Nexus 7 (2013) Android Development] Scott:
No flash the Preview 3 Image. Thats what I just tried and it brought everything back.

Strange but same thing someone else had to do to.
[Nexus 7 (2013) Android Development] Jdella681:
Thanks for the tip! Last n00b question, where does one find the flashable zip?
[Nexus 7 (2013) Android Development] Scott:
Well, I can say this worked well so it will be one less step. Still trying to figure out how to nuke recovery replacement.

But logically if you flash ROM then flash SuperSU right after it replaces the file anyways
[Nexus 7 (2013) Android Development] bmccoy11:
I can't get any Google apps to work. I've tried using Basketbuild's gapps, PA gapps (modded for 5.0), and I tried making my own modified version of Basketbuild's gapps with Gms 6.1.88. No matter what I do, all Google apps say that Google Play Services is out of date and not supported on my device. I cleared my cache too, which didn't fix it. Everything workee great when I was running LPX13D.
[Nexus 7 (2013) Android Development] SHABBYLEA:
I had the same problem. Fixed it by installing latest google play services .apk (do a search).

However, if this dos'nt work, try the following: wipe/factory resef, flash scroler's ROM as per instructions in OP, reboot then reboot recovery, install cm gapps for lollipop (7/11/2014) reboot and all should be well. If not, then install the google play services .apk.

Good luck...
[Nexus 7 (2013) Android Development] Scott:
Got the recovery issue fixed!

Ad this to end of updater script. Breaks signatures but at this point I could care less.

mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
delete("/system/etc/install-recovery.sh");
delete("/system/recovery-from-boot.p");
unmount("/system");
[Nexus 7 (2013) Android Development] SHABBYLEA:
Great work Mr scrosler...
[Nexus 7 (2013) Android Development] GROGG88:
Yes, but it would be nice if you didn't have to worry about complaints of a restored recovery for anyone who did not flash SuperSU.

Although this is not the preferred method, it is an acceptable temporary dirty fix. Many thanks! I just got home and have gone straight back into 'ota_from_target_files'. Currently I am scouring github for a useful edit...
[Nexus 7 (2013) Android Development] Scott:
Agreed, its dirty! But it works! Now after the ROM you only need to flash SuperSU and Gapps if required!

The only thing I found on Github was this but its for Android 4.4.x:

https://github.com/rascarlo/android_build/commit/f1ea6fedf9fe5a5bd47ca49ab4506067bee9f33f
[Nexus 7 (2013) Android Development] GROGG88:
Yes, I've seen that with many others very similar or exactly like it. All I'm coming across is 4.4.x source edits.
[Nexus 7 (2013) Android Development] Scott:
Same here. I tried a few things on my own trying to add script.delete command but I could not get it in the right spot.
[Nexus 7 (2013) Android Development] Scott:
Build 4 is up!​

Changes

11/8 - B4 - Changed wallpaper to android 5 Wallpaper, fixed reverting to stock recovery (No need for save-recovery.zip), pre-rooted boot.img (No need for extra boot.img!)

The Deb Version is UNTESTED. I dont have that device.
[Nexus 7 (2013) Android Development] Megaflop666:
Woot! Flashing now.
[Nexus 7 (2013) Android Development] hhairplane:
Testing Deb now, thanks. :good:

EDIT: I get a warning/misflash "This package is for 'flo' devices; this is a 'deb.'" I did download "aosp_deb-5.0.0_r2-11-8-2014.zip...
[Nexus 7 (2013) Android Development] A.C.Sanchez:
I just flashed build 4 (came from Purity ROM, so I flashed the 4.0.4 Bootloader first), and installed the GAPPS listed in the OP, and I'm getting the "Unfortunately Setup Wizard has stopped" popup over and over - along with many other "Unfortunately..." errors. Is this a bad GAPPS? Something else?
[Nexus 7 (2013) Android Development] GROGG88:
Ha! Looks like we're on the same path... I'm compiling fresh after a sync and testing the following:

if vendor_diff:
vendor_items.GetMetadata(target_zip)
vendor_items.Get("vendor").SetPermissions(temp_script)

script.DeleteFiles(["/system/recovery-from-boot.p",
"/system/etc/install-recovery.sh"])

# Note that this call will mess up the trees of Items, so make sure
# we're done with them.
source_symlinks = CopyPartitionFiles(system_items, source_zip, None)
if vendor_diff:
source_symlinks.extend(CopyPartitionFiles(vendor_items, source_zip, None))

target_symlinks_d = dict([(i[1], i[0]) for i in target_symlinks])
source_symlinks_d = dict([(i[1], i[0]) for i in source_symlinks])

# Delete all the symlinks in source that aren't in target. This
# needs to happen before verbatim files are unpacked, in case a
# symlink in the source is replaced by a real file in the target.

Keep it rolling! :good:
[Nexus 7 (2013) Android Development] Megaflop666:
Works great. Had to modify some stuff for multirom again but that's for the other thread to discuss. So far no issues found, will play with it more tomorrow, the wife wants me to take her out.... at ten o'clock at night.... ugh

Anyway, great work as always [MENTION=426561]scrosler[/MENTION]. Thanks
[Nexus 7 (2013) Android Development] SHABBYLEA:
Try flashing again but reboot and then flash gapps...

I'm not saying this will work, but it may be worth a try...

Also try flashing SU beta 2.19 straight after initial rom install.

Hope this helps...
[Nexus 7 (2013) Android Development] A.C.Sanchez:
Thanks. Tried flashing ROM, reboot, SU, reboot, Gapps. Didnt work. Tried all with no reboot. Tried the wu_gapps. Just not my night, I can't get it to take. Maybe I'll try again tomorrow. Just flashing the ROM by itself works fine, but then I have no Play Store. Oh well. Amazing work on the ROM!
[Nexus 7 (2013) Android Development] mjc2251:
Is it possible to get a recovery flashable 4.04 bootloader? Im traveling for two weeks without access to my computer.
[Nexus 7 (2013) Android Development] fatjoejr2001:
+1
[Nexus 7 (2013) Android Development] SHABBYLEA:
See my post from earlier tonight...

You really should checkout the thread before asking for help...

Good luck anyway...
[Nexus 7 (2013) Android Development] freakzapster:
DoesFlashing v4 deletes Recovery Partition ???

---------- Post added at 10:23 AM ---------- Previous post was at 10:13 AM ----------

Thanks Scrosler In V4 Everything Works Wifi , Bluetooth , Root , Gapps . Everything

Once Again Thanks .

You Rock Man :good::good::good::good:
[Nexus 7 (2013) Android Development] SHABBYLEA:
No...that's whole point about build 4, again, see previous posts...
[Nexus 7 (2013) Android Development] freakzapster:
But My Recovery Got Deleted Ive To Reflash Recovery

---------- Post added at 10:27 AM ---------- Previous post was at 10:26 AM ----------

Dude InMy Case All Working Fine
[Nexus 7 (2013) Android Development] fatjoejr2001:
I see where you posted a link to a stock zip which I don't know what is what and what is the latest zip that has 30 downloads on the link's page? I was looking for a bootloader zip to flash in TWRP. Thanks anyways.
[Nexus 7 (2013) Android Development] Mazda:
I'm getting the same thing on my personal build. I did the same thing you mentioned, I repo sync'ed and all hell broke loose........I have no navbar lol

I'll have to see what changes were made upstream between yesterday and today
[Nexus 7 (2013) Android Development] Scott:
Linaro is the type of toolchain. I am using the AOSP toolchain. Linaro toolchain is supposed to be better optimized for compiling.

I dont know eitherway TBH.
[Nexus 7 (2013) Android Development] dastin1015:
Linaro is more than just a toolchain. Linaro is an organization that works in optimizing the existing Android code base in both the actual code as well as in the compilation. Their toolchain is much stricter meaning the code must be properly coded with very small leeway meaning the code is very clean and precise. They do the same with the rest of the system as well which results in the speed increases and whatnot that you see.

私のONEから送信される。
[Nexus 7 (2013) Android Development] Scott:
JLS36I - Android 4.3.1 is posted!
[Nexus 7 (2013) Android Development] rocksyjj:
hay scot have you tried this out it outmates your builds on days you want and such like uses ubuntu

https://www.digitalocean.com/community/articles/how-to-install-and-use-jenkins-on-ubuntu-12-04

am sure you can mod the scripts to do your aosp builds
[Nexus 7 (2013) Android Development] Scott:
Wow, thats pretty cool. Not sure I am at that point yet though.

I like the casual build every once in a while.
[Nexus 7 (2013) Android Development] andyman_187:
can i dirty flash this over CleanROM 1.7?
[Nexus 7 (2013) Android Development] Scott:
I would not dirty flash any ROM over any other that has a change in version.

You can try but I would go with a fresh install.
[Nexus 7 (2013) Android Development] vibranze:
[MENTION=426561]scrosler[/MENTION], how did you fix the Security settings issue? Putting keymaster folder under ~/android/vendor/firmware/ didn't help, the final .zip image still missing keymaster folder. Manually copy it to the live ROM also didn't fix.

Btw, your CleanROM is not based on AOSP?

Kindly advise. :)

Cheers.
[Nexus 7 (2013) Android Development] ridobe:
I manually copied the folder prior to flashing, don't just copy it into the live ROM. Works great.

Man, I'm glad I found this thread. I have been building my own aosp build for ages but this issue has completely stumped me. This fixed it. However, now I'm having the same issue someone else posted earlier that whenever I try to open a google search I get a soft reboot. I am using the 20130813 gapps so I don't know what the problem is.

---------- Post added at 03:44 PM ---------- Previous post was at 03:17 PM ----------

Ok. I have a question regarding my last post, ie. soft reboots. It is directly related to gps. I turn it off and I don't get the reboots. Last time I had this issue it was due to me not having added the latest binaries. This leads me to the question of since this is 4.3.1 do I still use the binaries listed for flo even though they are for JSS15R? What about "Nexus 7 (Mobile) binaries for Android 4.3.1 (JLS36I)"?

Currently I am only using JSS15R. What is happening is when I go into Chrome and try to access the home page for Google (with all location services on) I get a soft reboot. If I turn off satellite I can access the Google home page but no location services.
[Nexus 7 (2013) Android Development] mpmilestogo:
This has been my continuing problem on all the AOSP roms besides carbon, vanir, buttered AOKP. I cannot switch on location settings in chrome no matter what I do. If I do that, I get a soft reboot in chrome each time. If I don't install chrome and just use AOSP things are okay for awhile but then the browser gets very unstable and will crash on pages which ask for the location like www.google.com and www.yahoo.com.

I have not found an answer to this problem yet and it precludes me from using several of the AOSP ROMs I would like to use.