• 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

Error during build, though that was when your github tree was 245(when it says fetching projects) now it is back to 244, will try to rebuild tonight

It makes sense that it failed. CM had pushed up some changes around when you did your repo sync. Some of the changes depended on some other changes in frameworks/base which I didn't push up until later.
 
Ticker guy told me last night that if we get the radio working he can help me with the mms because ICS handles that alot differently than cm7.

I also have some other tweaks i can apply that might make MMS work I will let you know....
 
Ticker guy told me last night that if we get the radio working he can help me with the mms because ICS handles that alot differently than cm7.

I also have some other tweaks i can apply that might make MMS work I will let you know....

Kind of off subject but is TG making his own ICS port? Seems like he would be the best suited for it
 
As for using Huawei's framework-res.apk, even if it works, it would be broken as soon as CM9 makes further updates. We need source code updates to build proper framework-res for the MT.

You misunderstood me. I'm talking about decompiling the framework-res from both ROMs and porting over the .pngs for the keyboard. Something I learned very quickly as a beginner themer :)
 
Hey guys he sent me this it might be able to help yall...



Ok, then they have that in there. Cool. Does the PRL come up properly?

Note that MMS will be borked -- you'll get a odd text message instead. Look at my MMS code in the CM7 tree. I picked up the code from Inferiorhumanorgans and merged it -- it was rather extensive



EDIT: Should we disable HW ACCEL until we get the drivers working?
Will it speed up the ui a little bit? I mean we have done fine without it thus far....
 
Hey guys he sent me this it might be able to help yall...



Ok, then they have that in there. Cool. Does the PRL come up properly?

Note that MMS will be borked -- you'll get a odd text message instead. Look at my MMS code in the CM7 tree. I picked up the code from Inferiorhumanorgans and merged it -- it was rather extensive



EDIT: Should we disable HW ACCEL until we get the drivers working?
Will it speed up the ui a little bit? I mean we have done fine without it thus far....


Might be a good idea. Its going to take me a few days to get a kernel that compiles, then I have to see if it will even work since its merged from an HTC kernel...
 
I just ported this commit
https://github.com/tickerguy/android_frameworks_base/commit/024ca7b0d66f97cdab1bc44bc5b1ae50833b0769

Im getting this while building
frameworks/base/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java:302: cannot find symbol
symbol : variable EVENT_CDMA_PRL_VERSION_CHANGED
location: class com.android.internal.telephony.cdma.CdmaServiceStateTracker
case EVENT_CDMA_PRL_VERSION_CHANGED:
^
frameworks/base/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java:873: cannot find symbol
symbol : variable EVENT_CDMA_PRL_VERSION_CHANGED
location: class com.android.internal.telephony.cdma.CdmaServiceStateTracker
obtainMessage(EVENT_CDMA_PRL_VERSION_CHANGED, pollingContext));
^
frameworks/base/telephony/java/com/android/internal/telephony/RIL.java:2469: cannot find symbol
symbol : variable RIL_UNSOL_CDMA_PRL_CHANGED
location: class com.android.internal.telephony.RIL
case RIL_UNSOL_CDMA_PRL_CHANGED: ret = responseVoid(p); break;
^

It only an error with these 3 files with the changes I made.
Its missing the symbol which im guessing it's saying is that that command doesnt make sense.

What Am i missing?


EDIT: i deleted those lines and it built flashing now.
 
Usually I do a "grep -r 'string' ." to search recursively every file with that variable. But nothing turned up in CM7's frameworks_base, so it could be in another place. I would say could even comment out the part where it checks for the PRL change and just assign it:

mPrlVersion = PrlNumber;

So PRL changes won't take effect (not that it even makes much of a difference on VM).
 
Here's a "diff -u" of mantera's BoardConfig.mk with edowar's FB0. The + lines are for MT, - are for FB0. The FB0 has more hardware working, so I would aim towards that, unless someone has tried a few of these values, then we should keep track so others don't have to waste time retrying them. For audio, try changing the audio lines to false.

+TARGET_PROVIDES_LIBAUDIO := true
BOARD_USES_GENERIC_AUDIO := false
+BOARD_USES_AUDIO_LEGACY := true

Quick note: I tried a build with these flipped, didn't help. I am trying (so far unsuccessfully) to get edowar's kernel booting. Fails too early to get any adb log. Anyone try enabling USB serial gadget + early printk, and change boot line to console=ttyUSB0? It sure would be nice to get boot printks.
 
I know if you use the init stuff from his kernel it messes everything up

So im changing ticker guys radio hacks to not use the triumph class but the QualcommNoSimReadyRIL class.

Hopefully that will get that ruim crap off the radio logs....
I think the reason why we can call and text but no data is because the radio keeps spazing out and switching to gsm mode when it doesnt need to worry about ruim becuase its not a sim card phone.

Motorola did some really crappy radio porting to this phone
 
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: http://pastebin.com/m29PQ0fi

BTW, all you speedy compilers, that should mean you'll have more time to fix the code instead of waiting right? ;)
 
Usually I do a "grep -r 'string' ." to search recursively every file with that variable. But nothing turned up in CM7's frameworks_base, so it could be in another place. I would say could even comment out the part where it checks for the PRL change and just assign it:

mPrlVersion = PrlNumber;

So PRL changes won't take effect (not that it even makes much of a difference on VM).

Ya im taking all the prl crap out cause it causes to many errors.
 
Ive got a compiled kernel with the drivers merged into it. However, when I try to install it, it says the install was successful, but ther kernel version doesn't change in my about phone section
 
Ive got a compiled kernel with the drivers merged into it. However, when I try to install it, it says the install was successful, but ther kernel version doesn't change in my about phone section

How did you install the kernel? It probably didn't install. Either put the zImage file in device/motorola/triumph/kernel & recompile ROM to pick it up. Or need to rebuild the boot.img with:

mkbootimg --kernel zImage --ramdisk ~/android/out/target/product/triumph/ramdisk.img --cmdline "console=ttyMSM1 androidboot.hardware=triumph" -o boot.img --base 0x00200000 --pagesize 4096

then put the boot.img in a flashable zip for kernels (re-use one from a kernel thread)
 
How did you install the kernel? It probably didn't install. Either put the zImage file in device/motorola/triumph/kernel & recompile ROM to pick it up. Or need to rebuild the boot.img with:

mkbootimg --kernel zImage --ramdisk ~/android/out/target/product/triumph/ramdisk.img --cmdline "console=ttyMSM1 androidboot.hardware=triumph" -o boot.img --base 0x00200000 --pagesize 4096

then put the boot.img in a flashable zip for kernels (re-use one from a kernel thread)

I used the anykernel.zip method... it says it was successfully installed in clockwork mod. but didn't seem to do anything
 
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.
 
Back
Top Bottom