Hello,
I want to build an AOSP flashable zip.
The tutorial i followed was here : http://forum.xda-developers.com/showthread.php?t=2974055
I have dualboot ubuntu 14.04 and W10.
The build is located on a other HDD than ubuntu.
The path is /media/kekzrieger/Disk1/AOSP
I had some issues regarding CCACHE with permission denied but i fixed it with http://askubuntu.com/questions/164847/cant-compile-in-ntfs-partition the NTFS Partition tool.
Next when i had to setup the CCACHE for future easy compile i have these 3 lines added in bashscr
export PATH=/media/kekzrieger/Disk1/AOSP:$PATH
export USE_CCACHE=1
export CCACHE_DIR=/media/kekzrieger/Disk1/AOSP/build/.ccache <---is this CORRECT?
I dont know if i did the CCACHE DIR correct?
Next after i build the envsetup i select the hammerhead userdebug and do the "make -j8 otapackage"
I have i5 4460,8GB Ram,GTX 960 so -j8 is correct?
HDD WD Blue 1TB, 7200rpm, 64MB cache, SATA III <--- this is the build HDD
But the problem is the build is taking forever..
First time i tryed to build i did 3h and then accidentaly pressed stop combo on ubuntu.
Next compilation i had 8Hours!!!!! and not finished...
Then next day 7hours and a half ....still not done...
What did I do wrong?
Thanks for help!
Made some new commands into terminal
make installclean
make clobber
source build/envsetup.sh
rm -rf ~/.ccache
croot
Lets see if it work...
Build is up to 9h30min.....is this normal????I'm building on a HDD but it seems the "target SharedLib:....." it the taking so much time!!!
Last edit...it actually worked today
Dont build it on a HDD it will take a loooooooootttt of time ....
Something must be wrong with your setup or computer, or your CPU is very weak and you don't have enough RAM.
I'm building on Gnome Ubuntu 16.04 for hammerheadcaf with Linaro 5.3 toolchain on a laptop with a 5400RPM HDD installed in the DVD bay and a full build takes less than 2 hours. A build without a clean takes between 10-20 minutes.
You are building on a ntfs partition, right?
The problem is that ntfs-3g driver uses a lot of cpu to work. Ntfs support is pretty much useless on linux if you have a high disk load.
High cpu usage from the ntfs driver, high cpu usage from compiling and a slow hdd will give you a slow overall build.
Try to build on an ext2/ext4 partition and report back.
On an AMD FX-6350/8gb ram/7200rpm HDD i get about 1.5 hours build time. On ssd it's under an hour.
For your reference:
http://www.tuxera.com/community/ntfs-3g-faq/#highcpu
Also, the internet is full of people complaining about high cpu usage on ntfs.
tudorsirb said:
You are building on a ntfs partition, right?
The problem is that ntfs-3g driver uses a lot of cpu to work. Ntfs support is pretty much useless on linux if you have a high disk load.
High cpu usage from the ntfs driver, high cpu usage from compiling and a slow hdd will give you a slow overall build.
Try to build on an ext2/ext4 partition and report back.
On an AMD FX-6350/8gb ram/7200rpm HDD i get about 1.5 hours build time. On ssd it's under an hour.
For your reference:
http://www.tuxera.com/community/ntfs-3g-faq/#highcpu
Also, the internet is full of people complaining about high cpu usage on ntfs.
Click to expand...
Click to collapse
Yes,you are right,the problem was in the Hdd because it was NTFS.
I got a new SSD and the duration was 01 hour and a few seconds
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Related
hi guys i found this page i a post in in milestone gerneral
http://www.androidpolice.com/2011/0...-200-with-a-simple-tweak-hands-on-benchmarks/
(pls read before reading this further on)
i wonder if its possible to port this .zips to work in openrecovery cause i tried it and i dindn't have any effect and i wasn't able to install them via CWM.
So i edited the file manually to the different values and found out that 3072kb is the best one.
it pushed the writespeed from 3,5mb/s to 5mb/s
and the readspeed from 10mb/s to 30mb/s --> 16gb class 4 sd card
anybody who is able to do this?
greetings from me
there's an app in the market that can apply this change called "sd speed boost".
i also concluded that 3072 achieved the best speeds.
here are my results for 2048, 3072 & 4096.
Code:
Buffer 2048
Read Write
Run 1 3.7 18.8
Run 2 5.1 25.9
Run 3 4.6 35.3
Avg. 4.5 26.7
Buffer 3072
Read Write
Run 1 6.1 34.2
Run 2 6.9 30.1
Run 3 6.7 30.2
Avg. 6.6 31.5
Buffer 4096
Read Write
Run 1 5 34.4
Run 2 6.4 24.1
Run 3 5.4 40.6
Read Write
Avg. 5.6 33
tested with "sd tools" from market.
Strange!!
Check this out:
Pick1= 128(default)
Pick2= 2024
Why the writing speed decreased that much?!!!
PS: I don't know if is an optical illusion, but my app using app2ext are opening faster than before ( just a bit, but it's noticeable)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
SENT FROM MY MILESTONE POWERED BY GINGERBREAD
Thanks for the tip! It worked for me!
Best speed at 2048..
3.1 on writing, 29.4 in reading with a class 4.
To do qhat you want, jump to this thread
http://forum.xda-developers.com/showthread.php?t=1010807
at the end you will find attachments as update files, download what you prefer and update it.. it works for my milestone!
puffo81 said:
Thanks for the tip! It worked for me!
Best speed at 2048..
3.1 on writing, 29.4 in reading with a class 4.
To do qhat you want, jump to this thread
http://forum.xda-developers.com/showthread.php?t=1010807
at the end you will find attachments as update files, download what you prefer and update it.. it works for my milestone!
Click to expand...
Click to collapse
very stange i found this post you mean too but the .zips had no effect
@hefonthefjords
thanks for the tip!!
this is great. i have 10MB read and 25+ write on adata class 6 sd after applying the 99sdspeedfix script with value 3072, app is noticeable faster since i do divlk2ext ^^
Sent from my Milestone using XDA App
Hi folks,
I've been trying out Ubuntu lately which I installed on my laptop which came with Windows 7 installed but had the downgrade to XP option (which I had to have done as some of my work systems are not compatible with Windows 7 yet).
I installed Ubuntu 12.04 and used the partition tool to take 100GB off my Windows and reallocate it to Ubuntu.
Everything has been running fine as I got to grips with how to use Ubuntu to build android ROM's.
Now comes the time I have done what I wanted with Ubuntu and I want to remove it from the dual boot. I have read about 5 different guides how to do this and nothing is working.
As I understand it I need to fix/rebuild my MBR after I remove the Ubuntu partitions, but anything I have tried; including XP installation disc, XP Recovery Console disc, Windows 7 disc.....does not let me press 'R' to repair the system as the guides illustrate.
All the discs designed for XP result in a blue screen of death after it does an initial setup of hardware.
The Windows 7 disc gets further than that and asks me if I want to install 32 or 64 bit and gives me the partition/format options but there is no option to 'Repair'.
When I deleted the Ubuntu partition I was left with the GRUB error and my XP would not boot. After trying about 5 different things to repair the MBR (and failed) I decided re-installing Ubuntu would bring back the GRUB and allow me to dual boot XP again (which worked). But now I have 4 different partitions and I just want to merge them all back to my XP and have a working MBR.
Any ideas guys?
Screenshot of my partitions is attached.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Perhaps you could try Parted Magic or System Rescue CD which can both be burned to either a disk or a usb via Unetbootin. Parted Magic should help you edit/fix your partitions and System Rescue CD should help you repair your system from reading their quick descriptions. I have not used either, but I have used Unetbootin and it works fine for me and those disks are at least worth a try.
Just a btw, but you didn't have to create a new thread for this... you could have posted your question in the Desktop and Laptops thread... that thread + Google should be helpful for all your future endeavors.
Good luck with your computer!
estabien said:
Perhaps you could try..
Click to expand...
Click to collapse
Thanks for the tips. :good: Shall have another go when I'm feeling lucky.
In before the lock
sent from my toilet seat
Whatever you do, do it carefully. I used to dual boot w7 and Ubuntu and I removed Ubuntu and somehow corrupted grub, which then caused a hard drive failure
Sent from my HTC Sensation using Tapatalk 4 Beta
There is a dedicated labtop and desktop thread stickied in this forum, please use that
Thread closed
Sent from my Nexus 4 using xda premium
I'm trying to make a start to run linux on the tf701. Rooting the device with the SHIELD kernel was a hint that there is some kind of working linux kernel for the tf701.
I forked the SHIELD kernel github, and my first goal was to fix the messy display output. The SHIELD runs on a far lower resolution than the tf701. With a small change in the 'device tree' (dts file). I managed to boot a kernel with readable output (yay!!).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I'm not really familiar with kernel compilation and the concept of the kenel device tree is new for me.
Are the others who would like to help me getting linux on the tf701?
My github page with the framebuffer fix can be found here: https://github.com/Menollo/tf701-kernel
I'd like to help, but unfortunately I'm a total noob with development and I don't have a lot of spare time. The most I have done is compile CM for devices that had published guide and device tree.
I'm really interested in trying to compile CM for the TF701, but a good linux distro would be awesome too. If you can think of anything that I can do to help with my limited knowledge and experience, I'd be glad to try.
would you mind providing a binary? I'm out in the fields and believe this could solve the graphics issue on my root method...
I could to made something - I start linux with right configuration. But I couldn't made next step. I have problem with initialization rootfs.
Trel725 said:
I could to made something - I start linux with right configuration. But I couldn't made next step. I have problem with initialization rootfs.
Click to expand...
Click to collapse
Are you doing LFS(Linux from scratch)? Maybe something like that will give you ideas?
I'm sorry, I don't understand. Did you mean do I read linux for scratch? Not yet. But I read that soon. Maybe I really will have some ideas. Thank you.
Here http://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=commit;h=af42f432f683430df34a2a2ba084492daaae0a5c is the linux4tegra project source. It precompiled for Dalmore develop board, but source also include a lot of macallan-specific files. Can anyone help me with .config to build kernel for tf701? I tried use Dalmore defconfig (tegra11_defconfig) but that isn't work. Also I tried change configfile to disable dalmore support and enable macallan support. Then kernel couldn't compile. Is it interesting for anyone except me?
Trel725 said:
Here http://nv-tegra.nvidia.com/gitweb/?...it;h=af42f432f683430df34a2a2ba084492daaae0a5c is the linux4tegra project source. It precompiled for Dalmore develop board, but source also include a lot of macallan-specific files. Can anyone help me with .config to build kernel for tf701? I tried use Dalmore defconfig (tegra11_defconfig) but that isn't work. Also I tried change configfile to disable dalmore support and enable macallan support. Then kernel couldn't compile. Is it interesting for anyone except me?
Click to expand...
Click to collapse
The cm11 kernel config wont work for this?
I haven't tried it, but I sure that will not work because there are pretty much difference between kernel for android and just linux kernel. Also there are some difference between CM source and nvidia's source, for example choice Asus board (Mozart or haydn or none).
After a whole lot of long evenings, odd hacking sessions and other fun things, I'm proud to present a full-system emulator for pebble.
This differs from existing solutions by actually emulating the pebble firmware using QEMU rather than simulating system calls!
It's still very much work in progess, but it currently boots a slightly modified firmware and allows navigating around the menus.
The long-term goal is to get it to a state where installing apps using libpebble is possible and hence allow using it for development.
Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Limitations:
Needs a full dump of the internal flash to boot (Working to allow it to boot a tintin_fw.bin directly)
Requires a modified firmware (BT initialization disabled)
Requires an SPI flash dump to be usable (Needs modified firmware to dump!)
There's currently no way to install apps
It has only been tested with firmware version 2.0.0
Sources:
https://github.com/pebbledev/qemu_pebble
DumpPebble: https://github.com/Hexxeh/DumpPebble
Dump Pebble SPI Flash: https://github.com/EnJens/DumpPebbleSPIFlash
Required patches:
On a full internal flash dump of Firmware 2.0.0 (ev2_4 - e.g. original kickstarter watch!), the following patch needs to be applied to get it running in the emulator:
patch 0x0803d910 1BE0 (Inside a full dump, the offset will be -0x8000000, e.g. offset 0x3d910)
Reserved2
Does this compile and run under android? I could see this being useful on watch devices like the Omate TrueSmart
fg said:
Does this compile and run under android? I could see this being useful on watch devices like the Omate TrueSmart
Click to expand...
Click to collapse
I doubt the CPU in the Omate is sufficiently powerful to do this right now. (I say right now, because it might theoretically be possible to optimize emulation since the cpu could directly execute most instructions...Similar to x86 on x86 emulation).
But no, this doesn't compile and run under android. It's intended for development of apps, rather than daily usage.
How do you run this under Windows? I can't seem to find a .bat or .exe file. Or does this only run with Linux?
I use the virtual machine in ubuntu and follow the tutorial on the offical sony website want to flash AOSP android 13 into my 1ii(XQ-AT52) but I stuck at the final step(flash .img into phone) ,becauce there're no .img file in the "product" folder as said in the tutorial.How to solve this problem?
link of tutorial:https://developer.sony.com/develop/open-devices/guides/aosp-build-instructions/build-aosp-android-13
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
In step 5 it says "Build AOSP images that can be flashed", did you ever build one?
Tadashi_Sakura said:
In step 5 it says "Build AOSP images that can be flashed", did you ever build one?
Click to expand...
Click to collapse
What will terminal say after finshed buuild?
My terminal will be normal at the beginning,but after about 15~20 minutes it will stuck(it seems like virtual machine have not enough ram)after another 30 minutes terminal close! but the the number of files in the folder has increased.I'm not sure build is success or not...
Since you can't find any .img file I strongly suspect that the building process is not done yet. And I quite doubt that it is not the ram but the lack of free space of your virtual machine that interrupts the process.
No less than 50GB free space is suggested for building process.
By the way, why not try los 20.0(which is an A13 version of lineagOS)? It seems like clfbbn didnt release it on XDA but you can easily find it on the website.
Here is the download URL:
LineageOS Downloads
download.lineageos.org
And you can find the tutorial here:
Install LineageOS on pdx203 | LineageOS Wiki
wiki.lineageos.org
Tadashi_Sakura said:
Since you can't find any .img file I strongly suspect that the building process is not done yet. And I quite doubt that it is not the ram but the lack of free space of your virtual machine that interrupts the process.
No less than 50GB free space is suggested for building process.
By the way, why not try los 20.0(which is an A13 version of lineagOS)? It seems like clfbbn didnt release it on XDA but you can easily find it on the website.
Here is the download URL:
LineageOS Downloads
download.lineageos.org
And you can find the tutorial here:
Install LineageOS on pdx203 | LineageOS Wiki
wiki.lineageos.org
Click to expand...
Click to collapse
but I have enough space , even available space is more than 50GB! that's why I feel so weird...
lineage may cause PotoPro failure and can't use some unique function made by sony,so lineage I think is not suitable for me~