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

Root [DEV] Continuing Triumph ICS Development

Just tried recompiling the triumph-kernel-msm7x30 branch chaos-MIUI (which btw should be renamed). ROM booted fine first time, but after flashing my compiled kernel, adb logcat shows a lot of java processes crashing, and the bootup animation is slowed to a crawl, I see a glimpse of animation every 60 seconds or so. Is the included 'config' the latest working version? I noticed some object files got included in the repo, maybe forgot a 'make clean' then commit?

Here's the logcat for those who are curious: logcat --------- beginning of /dev/log/system I/SystemServer( 838): Entered t - Pastebin.com

BTW, all you speedy compilers, that should mean you'll have more time to fix the code instead of waiting right? ;)

Isn't it the chaos-ICS branch you want?
 
As long as we use this class "QualcommNoSimReadyRIL"
And get this error
D/CDMA ( 484): [CdmaDCT] Data not allowed due to - radioState= RADIO_UNAVAILABLE - RUIM not loaded - needs Provisioning

We will not get data working.

I tried all of ticker guys hacks but they just dont work well with ICS. Im gonna keep talking with him and see what happens...... I will keep yall updated.

Maybe he can come back for a bit and help get ICS working if we as a community can come up with the funds to donate a MT for him? (it's only $220 new on Amazon now).

Isn't it the chaos-ICS branch you want?

Doh, you're right, for some reason I thought it was the MIUI branch since it had more recent commits about getting HW accel working. Will try again tomorrow.
 
I can do it in about 40 min with a six core amd and 4gb and i only paid 200 bucks SUCK IT


I've always found that amd's get slower over time faster than Intel. I'll never buy from them after my moms old HP, which got slow within the first week. Not her new Samsung laptop with an i5 though!

Edit: also did you pay 200 for the CPU or the whole box?

Edit2: another thing I bought mine back in 2008 so there is another example of Intel longevity.
 
I'll push some changes later today - I got audio working. The silence was getting deafening! :)

EDIT: Actually, looks like we had the same idea mantera (and Whyzor too - "edowar's build has so many things working!") .. You have most of what it takes from edowar's setup - you only need a couple more to enable audio if it isn't working: get rid of the TARGET_PROVIDES_LIBAUDIO and BOARD_USES_AUDIO_LEGACY lines in BoardConfig.mk .. then copy over include/linux/spi_aic3254.h and tpa2051d3.h from edowar's android_device_fb0 into our include/linux. Let me know if that works!
 
Thank you guys.. I greatly appreciate the effort. I imagine that ICS on Triumph will enable Proxy for Wifi Profiles like it does on the Touchpad right?
 
I'll push some changes later today - I got audio working. The silence was getting deafening! :)

EDIT: Actually, looks like we had the same idea mantera (and Whyzor too - "edowar's build has so many things working!") .. You have most of what it takes from edowar's setup - you only need a couple more to enable audio if it isn't working: get rid of the TARGET_PROVIDES_LIBAUDIO and BOARD_USES_AUDIO_LEGACY lines in BoardConfig.mk .. then copy over include/linux/spi_aic3254.h and tpa2051d3.h from edowar's android_device_fb0 into our include/linux. Let me know if that works!

I'll try that.
 
Thank you guys.. I greatly appreciate the effort. I imagine that ICS on Triumph will enable Proxy for Wifi Profiles like it does on the Touchpad right?

No idea off-hand. If it's something that's built-in in ICS then probably. Otherwise, I have no clue what exactly Proxy for Wifi Profiles actually is... lol.
 
where exactly in the android source can I put the zimage to get it to build with ICS. I really wanna see if the updated video drivers worked.
 
where exactly in the android source can I put the zimage to get it to build with ICS. I really wanna see if the updated video drivers worked.

Put it in device/motorola/triumph

Rename your zImage file to kernel and replace the existing file.

I usually rename the existing kernel to something like kernel_orig so I can go back to it if the new one is messed up.
 
where exactly in the android source can I put the zimage to get it to build with ICS. I really wanna see if the updated video drivers worked.

You could remove (in out/target/product/triumph/) boot.img and update-cm-9...signed.zip, and copy zImage over "kernel" in that same directory. Then brunch triumph will do the appropriate mkbootimg and zip it into the update.
 
Put it in device/motorola/triumph

Rename your zImage file to kernel and replace the existing file.

I usually rename the existing kernel to something like kernel_orig so I can go back to it if the new one is messed up.

Question: if you do just that, will the build system pick up that it changed and repackage the boot.img and update.zip? That'd be nice. I've been using split_bootimage.pl and mkbootimg to just bypass having to build again.
 
Question: if you do just that, will the build system pick up that it changed and repackage the boot.img and update.zip? That'd be nice. I've been using split_bootimage.pl and mkbootimg to just bypass having to build again.

You'll probably need to do make clean && make clobber also

But the next time that you do a build, it will use whatever is named "kernel" as the kernel.
 
You'll probably need to do make clean && make clobber also

But the next time that you do a build, it will use whatever is named "kernel" as the kernel.

I've replaced just the device/motorola/triumph/kernel & brunch without make clean and it automatically picks up the updated kernel, even if the rest of the ROM stayed the same.
 
I've always found that amd's get slower over time faster than Intel. I'll never buy from them after my moms old HP, which got slow within the first week. Not her new Samsung laptop with an i5 though!

Edit: also did you pay 200 for the CPU or the whole box?

Edit2: another thing I bought mine back in 2008 so there is another example of Intel longevity.

Wait, what? The "slowness" of a computer is generally a function of what crap you've been downloading, not the manufacturer that makes the CPU. AMD CPUs are often included in budget machines, which also tend to include more preinstalled bloatware. The installed software is what makes the machine feel slow, not any particular manufacturer.

Aside from a few insignificant differences, all AMD and Intel CPUs are identical at the instruction level. Architecturally they're also pretty much the same, but it's not like either CPU changes over time: silicon doesn't exactly grow once it's in your computer. The idea that AMD CPUs age more quickly is completely ridiculous. Try formatting your PC with a (non-bloatware) copy of your OS sometime.

Anyway, thanks for the hard work, guys. I still check this thread daily.
 
BTW, what touchscreen improvements are needed? I'll port over the dedicated workqueue and disable toggling irq's in the ISR from my GB kernel, from brief use of the ROM last night, it was ok (really like the new dev setting that highlights touches). Anything specific I should be looking into?
 
I've replaced just the device/motorola/triumph/kernel & brunch without make clean and it automatically picks up the updated kernel, even if the rest of the ROM stayed the same.

Ditto you dont have to make clean.



Also to the other guy I bought the cpu for 50 bucks used and my kingston 1800 ram I have had for 2 years now. The whole box cost me no more than 400 dollars no less than 300, closer to 300 and thats including the gts250 (which is showing its age)

Also AMD does not slow down with age (it doesnt work like that) alot of people are just amd fan boys that get butt hurt when they spend 200 to 300 more dollars to get 10 percent more performance that they really dont even need. I mean unless im encoding all day as my job and making money from it then its just a waste.

You have to then think that all the dirty stuff Intel is doing to try and kill AMD.
They have payed off all major computer makers (such as dell and toshiba) to use more intel Cpu's wich is why Intel is always being forced to give AMD money as compensation.

AMD is truly the underdog but with its upcoming APU's rumor has it that Apple is going to be going with AMD to drop manufacturing cost of there laptops and get way more performance per watt.

But then again what do I know im just a random guy building android so plz just ignore if you dont agree. Cause I'm an AMD fan boy :rolleyes: ;)


Back on topic Ticker guy has told me to port over his RIL stuff but I have and it doesnt stop the ruim stuff. Some how we need to get that to stop and I think its locked in the the Qualcom no sim code. I wanna get data working because a phone with no data is pointless. The big thing is we need the phone to act like a samsung phone.
 
BTW, what touchscreen improvements are needed? I'll port over the dedicated workqueue and disable toggling irq's in the ISR from my GB kernel, from brief use of the ROM last night, it was ok (really like the new dev setting that highlights touches). Anything specific I should be looking into?

You'll need to merge in some of your stuff into Isaac's touchscreen driver I think. I just haven't had time to do that yet.

Your touchscreen driver as is won't work. It didn't recognize any touches when I tried to port it in directly. I think those new fields were not set up correctly or something.
 
Okay changing the class to ro.telephony.ril_class=LGEQualcommRIL
Will still let you connect to the network but no data.
I am getting the no sim card thing so im gonna try to hack it into thinking there is no sim card and see if that works.
 
Ok, I thought this might be a problem, and it was. Audio didn't work when I used your latest mantera, and made the couple changes I had working before. Turns out you can't comment out one item in a list of items that are bridged into one line via a backslash at the end of each line (thank you emacs and syntax highlighting :) ).. So in device_triumph.mk, if you want to leave something in there but commented out for reference, you need to move it to the end of the list. I did that, and audio works again. And, I think even more HW acceleration is active as well - it seems faster to me, give it a try and see what you think. Here's the new section:

Code:
PRODUCT_PACKAGES += \
    Gallery3d \
    SpareParts \
    Term \
    FileManager \
    LatinIME \
    Mms \
    gps.triumph \
    lights.triumph \
    copybit.msm7x30 \
    gralloc.msm7x30 \
    hwcomposer.msm7x30 \
    overlay.default \
    libgenlock \
    libmemalloc \
    liboverlay \
    audio_policy.msm7x30 \
    audio.primary.msm7x30 \
    audio.a2dp.default \
    libaudioutils \
    libtinyalsa \
    libOmxCore \
    libOmxVenc \
    libOmxVdec
#    hwcomposer.default \
#    libaudiohw_legacy \
 
EDIT: Actually, looks like we had the same idea mantera (and Whyzor too - "edowar's build has so many things working!") .. You have most of what it takes from edowar's setup - you only need a couple more to enable audio if it isn't working: get rid of the TARGET_PROVIDES_LIBAUDIO and BOARD_USES_AUDIO_LEGACY lines in BoardConfig.mk .. then copy over include/linux/spi_aic3254.h and tpa2051d3.h from edowar's android_device_fb0 into our include/linux. Let me know if that works!

Was there more than just this? It didn't work.

Edit: lol. you answered this already.

Edit2: I also fixed a couple of other lines.
 
I got hardware acceleration working on my kernel... Damn mantera you beat me to it... lol I wanted to have helped at least a little! lol... good work though. Everyone
 
Back
Top Bottom