yashsingh1/xdaforums huggingface dataset:
[Nexus 7 (2013) Android Development] Scott:
It has...

What you see here on the left is the boot.img you posted. Note the line that is missing. What you see on the right is the fresh boot.img. The line that is missing is commented out on the right. A commented line (#) is the same thing as deleting it / not being there. Its for developers to make notes to themselves or others who are reading the code. It doesn't get executed. Unless by some odd chance the compiler is ignoring the (#) but that is highly unlikely. See the other (#) commented lines... "#Ike used UDP Port..." Thats not code, lol

So in affect they are exactly the same sans the fact that the old boot.img "could" put you ask risk for stock recovery. I think its placebo but on my next build instead of commenting out the line I will just flat out remove it.
[Nexus 7 (2013) Android Development] hhairplane:
I understand and thank you for showing me the changes. Is it possible that by commenting out that line root is broken? I wiped and reflashed without installing the darkobas boot.img and root didn't work. I am not sure what to say either, just presenting what is happening on my tablet. Please understand that I am not trying to second guess you. I am grateful for your work, truly.
[Nexus 7 (2013) Android Development] Scott:
IM going to rebuild the boot.img without the line all together... Can you hang tight for a few to test?
[Nexus 7 (2013) Android Development] hhairplane:
Definitely no problem. Happy to test!
[Nexus 7 (2013) Android Development] Scott:
Ok, here is what we got, I made it identical sans the install-recovery line which causes the recovery to revert back.

Download new boot.img here: https://dl.dropboxusercontent.com/u/31360541/XDA/new-deb-boot.img.zip

Same as before, the one on the left is the one you uploaded, the one on the right is the one I just rebuilt. If this fixes your problem then great! But on the same note I am going to be baffled as of why. Especially because the same boot.img is used on flo with zero issues for me.
[Nexus 7 (2013) Android Development] hhairplane:
Testing will update when done flashing...

UPDATE: Strangely enough, root is working now. Thank you for the rebuilt boot.img.
[Nexus 7 (2013) Android Development] matmar:
Get root on B4 without issue. Supersu beta 2.19, busyboxpro. Had to re install twrp. Thanks a lot, finally on DEB ?
[Nexus 7 (2013) Android Development] drewski_1:
I gave it a whirl and working AOK (flo bootloader with deb)

4.0.2 was also labeled as flo

Sent from my 4.4.4 Razr Maxx
[Nexus 7 (2013) Android Development] RuggeroZanolini:
Bootloader Update

Hello there,

How Do i update the bootloader to the one in the first post?

Sorry for bad question! :p
[Nexus 7 (2013) Android Development] Scott:
So the new boot.img worked for you then?

Cool! Glad you enjoy!

Damn, I wont suggest it, not that I dont beleive you. They do use the exact same kernel. But if someone asks then let them no.

It is a zip file to download to Windows PC.

1. rebot adb bootloader

2. fastboot flash bootloader bootloader-flo-flo-04.04.img

3. fastboot reboot-bootloader

Basically the batch file does step 2 and 3 but you can also type the commands because I put adb and fastboot in the zip file.
[Nexus 7 (2013) Android Development] hhairplane:
Yep, rebuilt boot.img is thumbs up :good: Good to publish.
[Nexus 7 (2013) Android Development] Scott:
Other people are saying its fine the way it is so next build I will change it. If anyone on Deb has any problems point them to that link.
[Nexus 7 (2013) Android Development] kernelsandirs:
Any way someone can make a recovery flashable 4.04 bootloader.zip i cannot talk to the device via usb at all and cannot run fastboot.
[Nexus 7 (2013) Android Development] hhairplane:
Sounds good, thanks for the adjustment. Sorry for the trouble. It may have had to do with the boot loader. Will try a clean flash with build 4 and report back.

UPDATE: Clean flash no good, not sure what is causing the issue...
[Nexus 7 (2013) Android Development] TheDarkDefender:
A probably absurd question : did anyone try dirty flashing this over the newest developer preview? ?
[Nexus 7 (2013) Android Development] wikie:
Hello, I have bootloader 4.0.2 I have the 4.0.4 have to install the custom Rom?
[Nexus 7 (2013) Android Development] freakzapster:
SCOTT tell me onething is it neccassary to flash busybox youve provided ???

and cant we flash supersu v2.14 to get root ???

is it necessary to flash 2.19 only ????

and that new boot image is for what ??

rooot??

why directly flashing supersu zip will not work ????

one more wierd problem for me

i flashed latest bootloader latest twrp

as i flashed rom it said rom flashing successful

but

when i press on reboot system it says

NO OS INSTALLED ??DO U WANT TO STILL REBOOT

i rebooted nd rom boots ???

what is this??
[Nexus 7 (2013) Android Development] Snap Shot:
no os installed happens to me when i flashed build 2

i just flash save recovery and it solves my problem

just sharing .......
[Nexus 7 (2013) Android Development] Megaflop666:
Build 5 is Rock solid with no issues what so ever. Thanks [MENTION=426561]scrosler[/MENTION]!
[Nexus 7 (2013) Android Development] DJLamontagneIII:
Anyone ever see an error like this libsepol.context_from_record type system block device is not defined

Started happening after I removed seclabel u:r:install_recovery:s0 to allow root.
[Nexus 7 (2013) Android Development] duryard:
This is doing my Head in

My bootloader is

I flash scotts rom first but was having probs so flashed

I have tried 3 different updates of SU and 3 different versions of TWRP

When I flash TWRP it takes about half a second and says its done but its not

Super user says it missing some binarys

????????????
[Nexus 7 (2013) Android Development] vali_ics:
It's worth to install this this night , because google say they will release factory image on 12 ? I just update my bootloader and i don't know what to do: flash or not ? i have cleanrom now.
[Nexus 7 (2013) Android Development] just lou:
That's entirely up to you. The current AOSP 5.0 ROMS do work perfectly.
[Nexus 7 (2013) Android Development] Scott:
Ok, I figured out how to add the keymaster folder to the build process.

What I did was add them to the vendor/asus/flo/propriety/ folder then I added them to the make file.

Pretty simple.

If anyone wants the fully updated vendor folder you can download it HERE!
[Nexus 7 (2013) Android Development] mpmilestogo:
Hi [MENTION=426561]scrosler[/MENTION]. I just flashed the new rasbeanjelly flo rom along with the full PA gapps and I have not yet got a reboot or chrome crash like previously. I'm going to try the other AOSP ROMs with the PA gapps to see what's happening or if there's a difference. I also get a screen which lets me elect to use location services at first setup.

Continuing testing :)
[Nexus 7 (2013) Android Development] Scott:
Yes, let me know!
[Nexus 7 (2013) Android Development] Scott:
I placed my own GAPPS HERE
[Nexus 7 (2013) Android Development] mpmilestogo:
So the PA gapps work like a treat with rasbean flo. I get no reboots with the ROM including the start screen which has the location check mark. When I wipe the flo and use the AOSP rom here I get a soft reboot when trying to get chrome to do the location checking.

I had hoped that by switching out gapps that perhaps that may make a difference. OTOH, rasbean is very nice :). Like usual.
[Nexus 7 (2013) Android Development] Scott:
Ok then, its in the pure AOSP code. I feel its lacking the Google location services.

So I know what must be done.

Thanks a bunch for testing that!

It helped a lot!
[Nexus 7 (2013) Android Development] flyinggerbil:
So super n00b question for you. I'm currently running clearnrom (which is beastmode, btw). How is this ROM different? I know it's AOSP, but I guess I don't know enough about clearnrom to really understand how the two ROMs differ?

Thanks
[Nexus 7 (2013) Android Development] ridobe:
I'm not familiar with cleanrom but it likely has enhancements of some kind. This is a pure aosp rom compiled straight from source, no enhancements of any kind. However, this thread isn't so much about the rom as it is about compiling it.
[Nexus 7 (2013) Android Development] Scott:
Yep, that is correct. THis is pure AOSP where as CleanROM is a ROM that has been cored from the Google image. With CleanROM I made some minor refinements from the outside in.

Where as this ROM is just what pops out of the AOSP source code, unmodifed, unadulterated.

This is just a "raw" ROM.

The thread turned into more of a how to compile and help with others but questions about the ROM are still welcome.
[Nexus 7 (2013) Android Development] Scott:
Oh and...

IN case anyone missed it, Ubunutu updated to 13.10 stable! Woot.

I had to re-install last night because of some issue I caused with drivers and I rebuilt the build box.

The steps are almost exactly the same except you have change up the dependencies a tiny bit. I saved I all the changes I made and will post them tonight.
[Nexus 7 (2013) Android Development] ridobe:
Sweet. I'm on mint so I have a couple more weeks. I appreciate you documenting this for us.
[Nexus 7 (2013) Android Development] Scott:
Yeah, I cant wait for Mint to update too. I like Cinnamon over the Dash. Mostly because I can right click and open command prompt in a folder. Thats much more convenient than typing.
[Nexus 7 (2013) Android Development] Scott:
Ok, Post #2 and #3 are how to build on Ubunutu 13.10

Not much diff than 13.04 except some of the build tool and dependencies changed.

Please feel to contribute if I missed a step or you know a simpler way to do things.

IM still a newb and like constructive feedback!
[Nexus 7 (2013) Android Development] patstock11:
Does this ROM have the reboot options or clear all recent apps?
[Nexus 7 (2013) Android Development] rocksyjj:
This is a pure aosp base no extras added just pure as the devils snow
[Nexus 7 (2013) Android Development] tobdaryl:
Try nemo (default for Cinnamon). Right click a blank area inside any folder or on any file and context menu includes open in terminal.
[Nexus 7 (2013) Android Development] Scott:
Good info!

That worked great!
[Nexus 7 (2013) Android Development] tobdaryl:
I completed my rom build last night and this thread works. If anyone has wished to build their own rom give this thread a try.

This thread should be a sticky!

Thanks scott for taking the time to help us learn what is involved in building a rom.

Thanks to everyone else who has provided info or even a question as you have helped fashion this thread into a working model for building a rom. This is something even a novice can use as a guide and have a functional rom.

I want to use this as a base and learn to make modifications to the kernel to provide missing functionality.

Thank you scott and everyone on the thread!!!
[Nexus 7 (2013) Android Development] Scott:
The kernel is a lot easier. I can post instructions for that too. When I wake up all the way, lol
[Nexus 7 (2013) Android Development] :
You should update your guide because oracle-java 6 is not on repo anymore ...

You must sign into oracle web site and download it

I will post a guide to install java 6 from .bin

Donwload the .bin after signing and accepting the lincense:

http://www.oracle.com/technetwork/j...ownloads-javase6-419409.html#jdk-6u45-oth-JPR

sudo mkdir /usr/lib/jvm

cd ~/Downloads/

chmod +x jdk-6u45-linux-x64.bin

./jdk-6u45-linux-x64.bin

sudo mv jdk1.6.0_45 /usr/lib/jvm/

sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.6.0_45/bin/javac 1

sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.6.0_45/bin/java 1

sudo update-alternatives --install /usr/bin/jar jar /usr/lib/jvm/jdk1.6.0_45/bin/jar 1

sudo update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.6.0_45/bin/javaws 1

sudo gedit ~/.bashrc

add the lines

# Java PATHs
export JAVA_HOME=/usr/bin/jvm/jdk1.6.0_45
export PATH=$PATH:$JAVA_HOME/bin

Or you can install directly the openjdk-6-jdk openjdk-6-jre packages from repo
[Nexus 7 (2013) Android Development] Scott:
Where do you see it? Maybe we will need to change the context to be root if possible. This is the method [MENTION=631273]Chainfire[/MENTION] recomended. Maybe he would have more insight.

Thats not my ROM. That a preview build.

Flash TWRP 2.8.1.0.

Flash ROM. Flash Super SU. Done.
[Nexus 7 (2013) Android Development] anko184:
Can someone tell me if this build has usb otg support?

If not, flashing latest elemantal-x will solve that or not?

Thanks in advance!
[Nexus 7 (2013) Android Development] duryard:
I know that Scott. I had problems with yours. Would not Root. So like the op said flash the other build. Now I cant flash anything or get root
[Nexus 7 (2013) Android Development] just lou:
OTG is working fine for me using ElementalX . I'm also using "StickMount".
[Nexus 7 (2013) Android Development] GROGG88:
Yes, just use stickmount. Stock kernel is fine.
[Nexus 7 (2013) Android Development] drewski_1:
:) seemed to work fine with 4.0.2 bootloader so definitely optional to upgrade it

Is root sticking for people flashing Elemental-X or other kernels?

Sent from my VS985 4G
[Nexus 7 (2013) Android Development] Megaflop666:
Root works perfectly on elemental x and hellscore
[Nexus 7 (2013) Android Development] drewski_1:
what build are you on? i'm on build 2. changes seemed more to streamline the install process, but probably should upgrade.
[Nexus 7 (2013) Android Development] Scott:
Did you flash the factory images? If so now just flash recovery and flash my ROM and SuperSU and you will be good. Make sure you use the latest build 5.
[Nexus 7 (2013) Android Development] Megaflop666:
Worked perfectly on build 2 as well, had to flash a more permissive boot image though. Had to do the same thing with current builds as well. I'm currently on build 5.
[Nexus 7 (2013) Android Development] htb2050:
I didn't have any problem with this ROM. I updated my recovery to latest twrp and then did a install of build 4 then flashed superuser and then gapps from the CM. The build is fully rooted and I didn't encounter a single problem since flashing it. Thank you for making this amazing ROM.
[Nexus 7 (2013) Android Development] joeyddr:
anyone figure out how to shrink the nav bar yet?
[Nexus 7 (2013) Android Development] Scott:
I hit your first thanks!

But yeah, eveyrthing works fine. Its a very 1 off situation with people who cannot obtain root.

I have yet to have the problem.
[Nexus 7 (2013) Android Development] tsimitsangaz:
Pico pa gapps link anyone?
[Nexus 7 (2013) Android Development] drewski_1:
https://s.basketbuild.com/devs/TKruzze/Android 4.4.4 GApps/Pico-Modular GApps/
[Nexus 7 (2013) Android Development] joeyddr:
is there a way to mute all sounds? holding volume down only does it for notifications
[Nexus 7 (2013) Android Development] ATSPerson:
Fantastic. The Wugs installer wasn't necessary as I have a Linux box but I did indeed have the wrong TWRP and wasn't properly rooted. All done now. And I agree, top marks to Scrosler. Excellent work.
[Nexus 7 (2013) Android Development] Scott:
Yes, when you volume down you have three options at the top of the screen.

I forget what they all but one of them mutes all including alarms.

Good deal.
[Nexus 7 (2013) Android Development] joeyddr:
yes but not media
[Nexus 7 (2013) Android Development] Scott:
So when you are playing media you are telling me you cannot silence it?

Give an example please.
[Nexus 7 (2013) Android Development] joeyddr:
go and silence the way you said to, then go to a web page with an html5 video or even youtube and play a video... you will hear it.

the only way to silence it is to go to settings -> sounds and drag the media slider down from there.
[Nexus 7 (2013) Android Development] Megaflop666:
Once you have your media open, volume control switches to media control so you can adjust it accordingly.
[Nexus 7 (2013) Android Development] joeyddr:
that's not that intuitive i guess... would love for this to work on this rom

http://xdaforums.com/showthread.php?t=2917590
[Nexus 7 (2013) Android Development] anko184:
Just finished installing this baby and everything seems right.. Very smooth and without almost any problems..

I have only one minor problem to report, swipe gestures are not working on AOSP keyboard..

Anyone have a fix?

Send from my Nexus 7 2013
[Nexus 7 (2013) Android Development] drewski_1:
the more permissive boot image you linked to didn't work on Deb. it just hung on the boot animation (i let it go for about 20 minutes).

looks like that solution may be Flo only.
[Nexus 7 (2013) Android Development] Scott:
Install a different keyboard. AOSP doesnt do swype to type on this build. Atleast not as far as I can see.
[Nexus 7 (2013) Android Development] Scott:
What are you guys talking about? I missed it?
[Nexus 7 (2013) Android Development] drewski_1:
Getting Root to stick with a different kernel like Elemental-X

I have root, but lose it when I flash Elemental-X on top.

He flashed a "more permissive" boot image from another thread and can keep root after flashing a different kernel.

I tried the linked boot image, which was from a Flo L-Preview thread, and my tablet wouldn't boot (hung on boot animation)

edit: post with link to alternate boot image-> http://xdaforums.com/showpost.php?p=56544174&postcount=740
[Nexus 7 (2013) Android Development] dang69:
I have the 11-09 build downloaded today. I have root and generally speaking everything looks good but I have the Google play services problem. It claims I need an update and I grabbed the 480dpi version for 5.0 from here,

http://xdaforums.com/android/apps-games/app-google-play-services-t2795911

It won't install. I flashed "gapps-lp-20141107-signed" and the apps are there but won't run. Actually I see them behind the darn warning!

Something simple, please guide me someone.

Dan
[Nexus 7 (2013) Android Development] just lou:
Did you update the bootloader to 4.04 before flashing everything, and make sure your TWRP was up to date at 4.8.1.x? If you did, I would re-download GAPPS again, and try flashing everything over.
[Nexus 7 (2013) Android Development] dang69:
Bootloader confirmed. TWRP confirmed. Will re-download Gapps and reflash everything (I assume you mean the rom as well?)
[Nexus 7 (2013) Android Development] just lou:
Yes. I would re-flash everything.
[Nexus 7 (2013) Android Development] dang69:
OK. Back in a flash....or 4.
[Nexus 7 (2013) Android Development] patel4prez:
Hey guys,

Awesome job building the ROM from the AOSP source. I couldn't wait to try this. It worked fine for the first hour or so, but then I turned it off for a while (powered down), and then turned it back on a few hours later, only to discover that my Navigation and Status Bars disappeared! I have no more buttons and am currently using adb's keyevents to navigate. I have reflashed three times to no avail, wiping everything but the Internal Storage. Could it really be a problem that lives there? Or am I missing something?

Any help on the matter is greatly appreciated. Thank you! :)
[Nexus 7 (2013) Android Development] drewski_1:
from the OP
[Nexus 7 (2013) Android Development] patel4prez:
Wow, my bad.

Thank you!
[Nexus 7 (2013) Android Development] drewski_1:
the links didn't copy over. you can find them in the OP section I quoted
[Nexus 7 (2013) Android Development] DJLamontagneIII:
I don't know how but i pulled aosp master branch of the device tree that has some root killing changes lol all is good now tho.
[Nexus 7 (2013) Android Development] Megaflop666:
Download Google keyboard
[Nexus 7 (2013) Android Development] dang69:
Duh.....I know better. I was dirty flashing over Cleanrom. Funny thing is everything worked great I just couldn't get Services running. All good now after a full wipe. I didn't even think about it, I've become so accustomed to just over-flashing Scott's work.
[Nexus 7 (2013) Android Development] remag6383:
screenshot

Nothing serious, but how do I take screenshot? power and vol up doesn't do it. would rather not dl an app for that.
[Nexus 7 (2013) Android Development] freakzapster:
Guys built 5 is super solid no issues for root nothing

Simply fabulous.

Thanks Scott.

Sent from my Nexus 7
[Nexus 7 (2013) Android Development] Icewyng:
Just to let you know that I am running Build 5 with Elemental-X 3.01 and everything is running smoothly. Thank you for your work Scott.
[Nexus 7 (2013) Android Development] drewski_1:
Power + Vol Down ;)
[Nexus 7 (2013) Android Development] Scott:
Oh, so thrid party kernel. I am staying out of that conversation... I have enough going on with other issues in this thread ;)

This is an actual confirmed issue that not only myself but another compiler saw as well. I Know the problem exists and a full wipe took care of it for me which is why I stated that. HOWEVER. I had it happen 1 more time... and I just wiped Cache and Dalvik cache and nothing else and it fixed it. I was desperate because I just got done setting up every single app and I was NOT starting over after all the flashing and test building Build 5 is here to stay.

Ha!

Up or down, one of the two.

Your Welcome!
[Nexus 7 (2013) Android Development] remag6383:
not for me..neither works
[Nexus 7 (2013) Android Development] Scott:
Keep trying, its how I took all the screenshots of the ROM.

You have to have very precise timing and hold for about 2 seconds.
[Nexus 7 (2013) Android Development] Scott:
I am running the same and am loving it!
[Nexus 7 (2013) Android Development] remag6383:
Finally, thanks!
[Nexus 7 (2013) Android Development] paulhoop:
Any ideas?

-edit- Sorry a little vague. This is the location through Wi-Fi issue.
[Nexus 7 (2013) Android Development] patel4prez:
Just wanted to confirm that flashing the latest Developer Preview did in fact get the SystemUI going again.

Weird that a full wipe didn't fix it, though... Does that mean it's a bootloader thing?

If it happens again, I'll be sure to try and wipe cache and dalvik first ;) Thanks again for building this. Android L FTW :P
[Nexus 7 (2013) Android Development] lahegry:
I love this ROM. However, no matter what I do I can't get play movies to work. Any help would be appreciated
[Nexus 7 (2013) Android Development] Scott:
Oh now, I will put that on the plate for tonights build. I need to make a ram disk correction and I will add that edit.

Did I not tell you? Is it not the weirdest thing you have ever seen in your life?

I dont hink its bootloader related because I got it going with wiping cache.

Maybe changre build prop as noted earlier to show up as a real Nexus 7 instead of AOSP on Flo.
[Nexus 7 (2013) Android Development] skylenorman:
I flashed this earlier and can't get Google Launcher to be the default one. I saw that others had this issue, but didn't see a resolve. Anyone work this out?
[Nexus 7 (2013) Android Development] Scott:
I dont remember anyone complaining about that.

Did you flash the recommended Gapps?
[Nexus 7 (2013) Android Development] Megaflop666:
No problems with Google launcher here.
[Nexus 7 (2013) Android Development] SHABBYLEA:
http://bricked.de/downloads/kernel/flo/exp/bricked_flo_20141031_180907_exp-66d6161.zip
[Nexus 7 (2013) Android Development] skylenorman:
http://xdaforums.com/showthread.php?p=56526797&highlight=launcher#post56526797
[Nexus 7 (2013) Android Development] Megaflop666:
Like scrosler asked, did you flash 110714 gapps?
[Nexus 7 (2013) Android Development] skylenorman:
I did. But I'll try it again with a reflash.
[Nexus 7 (2013) Android Development] GROGG88:
Good news for everyone! The .dat files should be going by the wayside. This is exciting news for this and other projects since it will bring the firmware ota package back to a standard file system format! That means that post compilation edits are able to be performed. I've confirmed with personal builds for N5 and N7.
[Nexus 7 (2013) Android Development] limzm:
Just to list out a few minor quirks and issues:

Keyboard sounds are Jelly-Beanish (or was it ICS?)

Other UI sounds are outdated as well

No gesture swiping on AOSP keyboard.

Gapps provided does not include maps permission (thus Google Plus and probably Maps cannot be installed).

Basically I do not understand why the AOSP tree always has outdated audio/media, someone please enlighten me.