• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Yet another "How-to" build, MTDEV style

I'm rockin linux mint 14. I'm actually really happy you guys use linux, as I have been using linux for well over 5 years, and know it better than any windows crap. Hope this works with all the ubuntu repo's you mentioned...


Yeah I originally picked up a an SSD I figured I would just set up to duel boot and use for only Android projects. Windows drive craped out a few month back and although I have a replacement drive have not cared enough to take the time to reinstall windows. Only annoyance has been needing to restore a Rom with HDMI for Netflix. Wish I understood what beef they have with Linux. Otherwise I will just watch on my Kindle. Is otherwise nice living a Microsoft / Apple free life. Minus the work computer, still got xp on that thing.
 
Upvote 0
Before my current setup I got at christmas, I had a pentium 4 HT dell with 1.5 gigs of ram. THAT is why I didn't even try to start coding in any language. I tried compiling some 10 line programs I wrote in Java, and it took a good 4 seconds. Imagine a large, couple thousand line program at that rate. Oh god. I am very new to coding in general, and I cannot really freehand write c or c++. The only thing I can just sit down to and WRITE is java, which I am still pretty basic in. Where can a person such as me help most in a rom?
 
Upvote 0
Before my current setup I got at christmas, I had a pentium 4 HT dell with 1.5 gigs of ram. THAT is why I didn't even try to start coding in any language. I tried compiling some 10 line programs I wrote in Java, and it took a good 4 seconds. Imagine a large, couple thousand line program at that rate. Oh god. I am very new to coding in general, and I cannot really freehand write c or c++. The only thing I can just sit down to and WRITE is java, which I am still pretty basic in. Where can a person such as me help most in a rom?

The apps. That's where I am starting. It's nice because you can work most of them through Eclipse. You just have to import the source and have an idea.

Were you able to build a ROM yet?
 
Upvote 0
The apps. That's where I am starting. It's nice because you can work most of them through Eclipse. You just have to import the source and have an idea.

Were you able to build a ROM yet?
Yeah, I cranked out a build and when I checked system monitor it showed all four cores working, so I did the quad core argument right. I had to get a better cooler because the last one I was using let my core temp get up to 64 degrees C and was still climbing when I aborted the build. I tried another build with a better cooler and it worked flawlessly. My issue is that I don't know have an idea for what I want to build, even in just the apps. I have already made an app in eclipse SDK, so I sort of know what to do with that software. I think I'll just try integrating my app into the rom and see if the build works afterwards.
 
Upvote 0
Yeah, I cranked out a build and when I checked system monitor it showed all four cores working, so I did the quad core argument right. I had to get a better cooler because the last one I was using let my core temp get up to 64 degrees C and was still climbing when I aborted the build. I tried another build with a better cooler and it worked flawlessly. My issue is that I don't know have an idea for what I want to build, even in just the apps. I have already made an app in eclipse SDK, so I sort of know what to do with that software. I think I'll just try integrating my app into the rom and see if the build works afterwards.

Cool, post how it goes.
 
Upvote 0
I really hate eclipse when it will not find its damn build file. Can't export my app because it won't compile. Either way, I have sort of left the triumph for better things, with my new Optimus L9. I'll still be around the triumph forums, as the only mod that's going on my new optimus is root, no roms, and i will be learning to modify roms here on the unbrickable triumph. Sorry for being gone for so long!
 
Upvote 0
I really hate eclipse when it will not find its damn build file. Can't export my app because it won't compile. Either way, I have sort of left the triumph for better things, with my new Optimus L9. I'll still be around the triumph forums, as the only mod that's going on my new optimus is root, no roms, and i will be learning to modify roms here on the unbrickable triumph. Sorry for being gone for so long!

No problem/ I understand that things change. Even if they stink:)
 
Upvote 0
Yes. Did you do a repo sync?
After that I would run the build code.
Code:
. build/envsetup.sh && brunch triumph -j'grep 'processor' /proc/cpuinfo | wc -l'

after I did that command: " remote: Counting objects: 457, done remote: Finding sources: 100% (63/63) remote: Getting sizes: 100% (11/11) remote: Compressing objects: 100% (11/11) remote: Total 63 (delta 34), reused 58 (delta 34) error: file write error (No space left on device) fatal: unable to write sha1 file fatal: unpack-objects failed remote: Counting objects: 457, done remote: Finding sources: 100% (63/63) remote: Getting sizes: 100% (11/11) remote: Compressing objects: 100% (11/11) error: file write error (No space left on device) fatal: unable to write sha1 file fatal: unpack-objects failed error: Cannot fetch repo error: Exited sync due to fetch errors Repository synced! Looking for dependencies Dependencies file not found, bailing out. Done build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/triumph/cm.mk]]: "vendor/cm/config/cdma.mk" does not exist. Stop. ** Don't have a product spec for: 'cm_triumph' ** Do you have the right repo manifest? No such item in brunch menu. Try 'breakfast' wilkens@wilkens-desktop:~/cm10$ "
 
Upvote 0
after I did that command: " remote: Counting objects: 457, done remote: Finding sources: 100% (63/63) remote: Getting sizes: 100% (11/11) remote: Compressing objects: 100% (11/11) remote: Total 63 (delta 34), reused 58 (delta 34) error: file write error (No space left on device) fatal: unable to write sha1 file fatal: unpack-objects failed remote: Counting objects: 457, done remote: Finding sources: 100% (63/63) remote: Getting sizes: 100% (11/11) remote: Compressing objects: 100% (11/11) error: file write error (No space left on device) fatal: unable to write sha1 file fatal: unpack-objects failed error: Cannot fetch repo error: Exited sync due to fetch errors Repository synced! Looking for dependencies Dependencies file not found, bailing out. Done build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/triumph/cm.mk]]: "vendor/cm/config/cdma.mk" does not exist. Stop. ** Don't have a product spec for: 'cm_triumph' ** Do you have the right repo manifest? No such item in brunch menu. Try 'breakfast' wilkens@wilkens-desktop:~/cm10$ "
I haven't even tried to touch CM10 since my HDD died. It would need the device files set up before it would work. And I presume you don't want to work on CM7? Somehow the projects for the device and vendor files got mirrored. I think the vendor mirrored to the device, now it can't find .... yadayada. I need to figure that our to get CM9 back up.
 
Upvote 0
I haven't even tried to touch CM10 since my HDD died. It would need the device files set up before it would work. And I presume you don't want to work on CM7? Somehow the projects for the device and vendor files got mirrored. I think the vendor mirrored to the device, now it can't find .... yadayada. I need to figure that our to get CM9 back up.
I would prefer working on CM9 since there are so much gains being made and im using it but I tried to do cm10 to see if I could help.
 
Upvote 0
Hello,

I've been looking at the progress of the ROMS for a while, and now I have finally got some time.

I've followed all the instructions at the top. I've installed Ununtu 10.04

The only command that failed was sudo apt get install pax11proto-core-dev....

Even though that happened. Everything else seems to have ran OK. I even ran the last command .build

Saw a few warnings here and there scroll by, This is he last line
target thumb C: libdrm1 <= frameworks/base/media/libdrm/mobile1/src/objmng/drm_file.c

I'm currently just looking around the folders, and familiarizing myself with the structure of things.
 
Upvote 0
Hello,

I've been looking at the progress of the ROMS for a while, and now I have finally got some time.

I've followed all the instructions at the top. I've installed Ununtu 10.04

The only command that failed was sudo apt get install pax11proto-core-dev....

Even though that happened. Everything else seems to have ran OK. I even ran the last command .build

Saw a few warnings here and there scroll by, This is he last line
target thumb C: libdrm1 <= frameworks/base/media/libdrm/mobile1/src/objmng/drm_file.c

I'm currently just looking around the folders, and familiarizing myself with the structure of things.

There will be a bunch of warnings while building. That's normal. Well normal for me to see. I think it's that when it works no one goes back and tries to fix all of the warnings.
I didn't fully inderstand. Did the build work or were you posting while it built?
 
Upvote 0
My questions are as followed.

How do I know the build actually finished successfully?

Where is the build?

The build will be in (build directory)/out/target/product/triumph/(MTDEV CM9 build date).zip
When it's done it will try to optimize the .pngs in all of the packages and end with something like "signing zip" then it will show the md5 checksum and the file's name. Along with the return of the prompt.
 
Upvote 0
With the latest sync and buil, I get the following error

hardware/qcom/libcamera2/QualcommCameraHardware.cpp:7353: error: expected '}' at end of input
make: *** [out/target/product/triumph/obj/SHARED_LIBRARIES/libcamera2_intermediates/QualcommCameraHardware.o] Error 1
make: *** Waiting for unfinished jobs....


I know with all the current camera work, maybe something didn't upload properly from the last change?
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones