Not sure how many times I have to keep trying.
Update: building now.
Did you get it built?
Not sure how many times I have to keep trying.
Update: building now.
Creating filesystem with parameters:
Size: 880803840
Block size: 4096
Blocks per group: 32768
Inodes per group: 7680
Inode size: 256
Journal blocks: 3360
Label:
Blocks: 215040
Block groups: 7
Reserved block group size: 55
Created filesystem with 1274/53760 inodes and 62894/215040 blocks
+ '[' 0 -ne 0 ']'
Install system fs image: out/target/product/flo/system.img
out/target/product/flo/system.img+out/target/product/flo/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p maxsize=899137536 blocksize=135168 total=245563542 reserve=9191424
Hey Scott,
I think so.
But I don't know what's next? The instruction from android page is to flash the device directly but mine is a VM so I don't think it's applicable. How do I create the .zip file from the build and how do I make customization?
Appreciated your advise. Thanks.
Looks like it created "a" file system but if you want to make flashable zip you have to use this command....
make -j(your number here) otapackage
Im building on a 8 core Xeon so I run 3 threads per core for maximum efficency..
so my build command is this...
make -j24 otapackage
That will get me full signed zip from a clean workspace in about 30 minutes.
And the name of my zip is something like "aosp.flo.eng.debug.scott.zip"
So if you just "make" with no directive after you select the build you will get .img files, such as boot.img, system.img, etc. You can than fastboot flash those img files.
But obviously a .zip is better 99.99% of the time.
Thanks!
Do you know if I want to make changes to build.prop or some other optimizations, where should I do it?
In the meantime, I will do more research on this but if you already knew about it, kindly share.
Cheers.
Thanks Scott.Thats what I am researching myself. I know how to edit the apps and all.
But the default props I am not sure
Thanks Scott.
Btw, make otapackage failed with no target error. I read somewhere that you have to include recover inside, I'm figuring out now how the whole things works.
Cheers.
I see that they did "something" to the keymaster stuff so I am hoping they realized it was missing... and added it, lol
Indeed!What I'm finding so interesting about this thread is how you guys go about stepping through the issues you encounter as part of build troubleshooting.
As a ROM consumer, it gives me a much greater appreciation about how much dedication goes into crafting something that is even flashable, let alone feature rich.
Indeed!
A lot of people take for granted the complexities that can be had when working with ROMS. They just see ROMS, download, flash, go to next ROM and not even realize the time and effort that goes into just a single ROM and or Mod for that ROM.
Thanks for seeing this!
No, there has to be some sort of "vendor" binaries we can download but I am not sure which vendor to look for. I am going to ask around this weekend.
I need a break...
Yes, I pointed that out on the first page... When intially asked by someone to not forget the binaries... See more below...
I have all of those binaries on my github. It looks like there is something else missing...
Yes, I pointed that out on the first page... When intially asked by someone to not forget the binaries... See more below...
Exactly. I dont know what is missing. When I google keymaster nexus7 2013 this is the thread that pops up first...
Second thread is showing a change in keymaster to 4.3.1 but 4.3.1 doesnt compile for Flo, only Deb (I tried last night and 2 nights ago when I initially repoirted that I had seen 4.3.1_R1). I also see that there is an OTA for Deb that is 4.3.1! So maybe we will have 4.3.1 soon.
Maybe google made a mistake because prior to 4.3.0_R2.2 there was not reported ittus. I think they changed "something" in 4.3.0_r3 which is JSS36G.
4.3.1 = JSSL36I??? See LTE forums for info.
Last night I used
repo init -u https://android.googlesource.com/platform/manifest -b android-4.3.1_r1
using device-specific extensions in device/asus/flo
building image from target_files BOOT...
running: mkbootfs -f /tmp/targetfiles-QSqkWw/META/boot_filesystem_config.txt /tmp/targetfiles-QSqkWw/BOOT/RAMDISK
running: minigzip
running: mkbootimg --kernel /tmp/targetfiles-QSqkWw/BOOT/kernel --cmdline console=ttyHSL0,115200,n8 androidboot.hardware=flo user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3 --base 0x80200000 --pagesize 2048 --ramdisk_offset 0x02000000 --ramdisk /tmp/tmparRa4C - -output /tmp/tmpRuaV3n
building image from target_files RECOVERY...
running: mkbootfs -f /tmp/targetfiles-QSqkWw/META/recovery_filesystem_config.txt /tmp/targetfiles-QSqkWw/RECOVERY/RAMDISK
running: minigzip
running: mkbootimg --kernel /tmp/targetfiles-QSqkWw/RECOVERY/kernel --cmdline console=ttyHSL0,115200,n8 androidboot.hardware=flo user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3 --base 0x80200000 --pagesize 2048 --ramdisk_offset 0x02000000 --ramdisk /tmp/tmpJHyM kS --output /tmp/tmpYdNju0
running: imgdiff -b /tmp/targetfiles-QSqkWw/SYSTEM/etc/recovery-resource.dat /tmp/tmpi76Kvp /tmp/tmpfzFCgb /tmp/tmppxFIpG
boot size (7049216) is 30.56% of limit (23068672)
no bootloader.img in target_files; skipping install
no radio.img in target_files; skipping install
no DDR.bin in target_files; skipping install
running: openssl pkcs8 -in build/target/product/security/testkey.pk8 -inform DER -nocrypt
running: java -Xmx2048m -jar out/host/linux-x86/framework/signapk.jar -w build/target/product/security/testkey.x509.pem build/target/product/security/testkey.pk8 /tmp/tmpABT9L_ out/target/product/flo/aosp_flo-ota-eng.vibranze.zip
done.
I gave the exact same command and it refused to pull it. I wonder if the time of day matters
But still F/C with keymaster... Interesting...
In the Nexus 4 the keymaster files are in the /vendor partition. I checked ours and no such files exist. Which is what originally prompted me to pull them from /system/vendor.
Now that I think about it I probably did android_4.3.1_r1 instead of android 4.3.1_r1!
I would try it tonight but i had to pull the SSD out of my build box to replace a drive in my laptop. New drive is here today but I wont have time to install and sync again until this weekend.
sudo apt-get install openssh-server
sudo apt-get update
sudo apt-get dist-upgrade
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo
git config --global user.email "your@emailaddress.com"
git config --global user.name "your name"
repo init -u https://android.googlesource.com/a/platform/manifest -b android-4.3.1_r1
sudo sysctl -w net.ipv4.tcp_window_scaling=0
repo sync -jXX
. build/envsetup.sh
lunch aosp_flo-userdebug
make -jXX otapackage
13. Initialize the build environmentCode:source build/envsetup.sh
sudo apt-get install openjdk-7-jdk
sudo apt-get install git gnupg flex bison gperf build-essential \
zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
libgl1-mesa-dev g++-multilib mingw32 tofrodos \
python-markdown libxml2-utils xsltproc zlib1g-dev:i386
mkdir ~/bin && curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo && chmod a+x ~/bin/repo
sudo gedit .bashrc
export PATH=~/bin:$PATH <-(add to end of bashrc)
git config --global user.email "you@youremail.com"
git config --global user.name "yourpreferredusername"
mkdir ~/AOSP
cd ~/AOSP
repo init -u https://android.googlesource.com/platform/manifest -b android-6.0.0_r1
repo sync
[url]https://developers.google.com/android/nexus/drivers[/url]
source build/envsetup.sh
lunch
make -j8 otapackage