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

Root ClockworkMod Recovery [For Motorola Triumph]

Status
Not open for further replies.
@isaacj87 I hope you are using all the released source code/ roms available from the various X6 variants. there are gingerbread roms available for them as well as kernel source code and also i believe someone was able to port CWM to one of them.
And yes this phone is unlike other Moto phones as Moto has done nearly no work. It's just a Foxconn ODM with some branding and minor tweaks (button arrangement). So you will see it has much more in common with those X6 type of phones.

And thanks for taking the time and putting in the effort really appreciate it!

Links?

And kernel sources for the X6 and variants won't work. They are MSM8255, which only contain GSM radios. The Triumph is the MSM8655 which is differnet: Snapdragon (system on chip) - Wikipedia, the free encyclopedia

Also, I've already looked for the CWM source code for the X6/A99/Mi-410 devices. If you know where these sources are, share them with me so I can make the appropriate changes for the Triumph. I believe the Triumph has a different key layout (capacitive buttons) than the other Foxconn variants. That will need to be adjusted in a custom recovery_ui.c.
 
And kernel sources for the X6 and variants won't work. They are MSM8255, which only contain GSM radios. The Triumph is the MSM8655 which is differnet: Snapdragon (system on chip) - Wikipedia, the free encyclopedia

Considering the HTC Thuderbolt, Droid Incredible 2, LG Revolution, and Sharp IS05 share the same chipset, is there any chance that looking at recovery files from those phones would help? Just a thought.

I believe the Triumph has a different key layout (capacitive buttons) than the other Foxconn variants. That will need to be adjusted in a custom recovery_ui.c.

The capacitive buttons are as follows, left to right: menu, home, back, search
 
Hey isaac87,

I know you said you looked through tjstyles git stuff - I'm confused, is this source here generic, or is it for a specific device (there never seems to be much in the way of descriptions, or I'm just missing them)?

https://github.com/tjstyle/android_bootable_recovery

Yeah, I've looked through his stuff. He's the one that says he ported CWM to the Foxconn variants. What you guys would need is something like, "android_device_huawei_u9000" or "android_device_spice_mi410." Basically, you would need the device configs. The link above is his personal changes to the actual recovery code. Judging by the commits, he wrote a new function to stop the recovery from bootlooping on certain Samsung devices: https://github.com/tjstyle/android_bootable_recovery/commit/c54c2d1d7c24b8c38ad5e21457c923ffdadd0b06

However, it is true, I based most of what I have so far on the Thunderbolt (Mecha). I'd like to see the configs for the LG Revolution, but would prefer something closest to the Triumph itself. Interestingly enough, it would seem that the MSM8655 is 4G capable (Thunderbolt and Revolution), so I wonder if the Triumph is actually a 4G capable device? But that's for another discussion.
 
As a recovery thing seeing as i've boot looped myself, could I get someone to make an image of the system directory? My understanding is that this'll do it:

Code:
dd if=/dev/block/mmcblk0p7 of=/sdcard/mmcblk0p7.img

As isaacj87 said, DD is powerful.
 
Me and apsterling discovered something wonderful! We can get write access to what appears to be all the partitions on the device over USB I just fixed my bootloop through the method I outlined here: Motorola Triumph is an open book. | Coderah

Interesting, seems kinda like a security issue, but hey it's just a phone, right? :)

Oh, BTW. If you open up GUIs with sudo, it's better to use graphical sudo:

Code:
gksudo nautilus

or with KDE (on Kubuntu, at least):

Code:
kdesudo dolphin

Looks like there's some very interesting things about this phone.
 
Interesting, seems kinda like a security issue, but hey it's just a phone, right? :)

Oh, BTW. If you open up GUIs with sudo, it's better to use graphical sudo:

Code:
gksudo nautilus

or with KDE (on Kubuntu, at least):

Code:
kdesudo dolphin

Looks like there's some very interesting things about this phone.

Oh interesting thanks for that! you should hop on that IRC channel with me and apsterling. yeah it seems like its incredibly open..
 
EDIT: BTW, why isn't this thread in the "All things root" section?

LOL...well, it is now ;) [I've moved it for you guys.]

Hey, by the way, forgive me for intruding here, but I actually stumbled across this forum by seeing merkuralex's new thread "General Great Info!" and this led me to this thread too. Make's me want to boot my DX into bootloader mode and check out how Ubuntu "sees" all of the partitions...:eek: [could it be that no one has ever thought to do this for over a year?]

I must say I've found this to be a very interesting thread and have learned a lot myself. I've "dabbled" in custom recovery stuff before (I tweaked and recompiled Amon_RA's custom recovery for the Eris, so a lot of this is familiar to me--but a ton is not since I didn't have build it from scratch like you guys are doing for the Triumph).

Anyway, I have one little thing I thought I try to contribute here since I see that isaacj87 has built you guys a custom recovery to try to boot. I believe that you don't have to actually flash it and touch anything on your phone's internal partitions, but you can use FASTBOOT to boot the test custom recovery directly, like this:

c:\android-sdk-windows> fastboot boot triumph_recovery.img

which will load-up and boot the custom recovery into and from memory and not from a disk partition (which is a little safer and less destructive, eh? ;).

Anyway, I'll be following this thread with great interest and I wish everyone the best of luck!

Cheers!
 
Great news! The Motorola Triumph now has Clockworkmod Recovery!

Of course, the obligatory picture:
clockwork.jpg


It still needs a lot of work, but at least the first step has been taken care of. As always, my device configs for the Triumph can be found here: https://github.com/ikarosdev/android_device_motorola_triumph There are some changes that need to be made, but I'll try and commit those changes tomorrow. The device folder can also be expanded and used to build CM7. It definitely possible, but it'll take awhile to get to that point.

I have some good people to thank (seeing how I don't actually own the phone) for getting CWM on the phone:

- apsterling (photo credits as well)
- merkuralex
- foobarX
- danthemanohyea
- isaac13
- fireball9199
- and of course, 903tex for wrangling me in here.

If I missed anybody, I'm sorry. I'll try and work on CWM (and possibly some ROMs if I get the phone). I'm big on transparency, so if there's another dev wanting to work on it and has a question, please ask. I'm willing to share anything I can.
 
LOL...well, it is now ;) [I've moved it for you guys.]

Hey, by the way, forgive me for intruding here, but I actually stumbled across this forum by seeing merkuralex's new thread "General Great Info!" and this led me to this thread too. Make's me want to boot my DX into bootloader mode and check out how Ubuntu "sees" all of the partitions...:eek: [could it be that no one has ever thought to do this for over a year?]

I must say I've found this to be a very interesting thread and have learned a lot myself. I've "dabbled" in custom recovery stuff before (I tweaked and recompiled Amon_RA's custom recovery for the Eris, so a lot of this is familiar to me--but a ton is not since I didn't have build it from scratch like you guys are doing for the Triumph).

Anyway, I have one little thing I thought I try to contribute here since I see that isaacj87 has built you guys a custom recovery to try to boot. I believe that you don't have to actually flash it and touch anything on your phone's internal partitions, but you can use FASTBOOT to boot the test custom recovery directly, like this:

c:\android-sdk-windows> fastboot boot triumph_recovery.img

which will load-up and boot the custom recovery into and from memory and not from a disk partition (which is a little safer and less destructive, eh? ;).

Anyway, I'll be following this thread with great interest and I wish everyone the best of luck!

Cheers!

Well as this is a huawei X6 variant its much different then other motorola devices.

and we actually don't have fastboot access at all which is odd.
 
Great news! The Motorola Triumph now has Clockworkmod Recovery!

Of course, the obligatory picture:
clockwork.jpg


It still needs a lot of work, but at least the first step has been taken care of. As always, my device configs for the Triumph can be found here: https://github.com/ikarosdev/android_device_motorola_triumph There are some changes that need to be made, but I'll try and commit those changes tomorrow. The device folder can also be expanded and used to build CM7. It definitely possible, but it'll take awhile to get to that point.

I have some good people to thank (seeing how I don't actually own the phone) for getting CWM on the phone:

- apsterling (photo credits as well)
- merkuralex
- foobarX
- danthemanohyea
- isaac13
- fireball9199
- and of course, 903tex for wrangling me in here.

If I missed anybody, I'm sorry. I'll try and work on CWM (and possibly some ROMs if I get the phone). I'm big on transparency, so if there's another dev wanting to work on it and has a question, please ask. I'm willing to share anything I can.

You win the entire internet. congrats everyone.
 
Well as this is a huawei X6 variant its much different then other motorola devices.

and we actually don't have fastboot access at all which is odd.

Aha, sorry, I saw/read the prior references to fastboot on the second page of this thread and wanted to make sure you guys knew there was an alternative to flashing when/if you can ever get into fastboot mode.

By the way, many of the more "scary" (if you will ;)) fastboot commands (like fastboot flash) are not available unless you have an unsecured bootloader (for HTC phones, that's the S-OFF mode...I obviously don't know what it is for your guy's phones).

Anyway, don't mean to intrude or detract from the important post that isaacj87 just made, so congrats and good luck guys!

Cheers!
 
Aha, sorry, I saw/read the prior references to fastboot on the second page of this thread and wanted to make sure you guys knew there was an alternative to flashing when/if you can ever get into fastboot mode.

By the way, many of the more "scary" (if you will ;)) fastboot commands (like fastboot flash) are not available unless you have an unsecured bootloader (for HTC phones, that's the S-OFF mode...I obviously don't know what it is for your guy's phones).

Anyway, don't mean to intrude or detract from the important post that isaacj87 just made, so congrats and good luck guys!

Cheers!

Actually, we can entirely bypass flashing as a whole seeing as when you put the phone into bootloader it provides access to every little partition. I was able to fix a boot loop caused by a framework-res.apk problem through this method. Pretty exciting news all in all.
 
Actually, we can entirely bypass flashing as a whole seeing as when you put the phone into bootloader it provides access to every little partition. I was able to fix a boot loop caused by a framework-res.apk problem through this method. Pretty exciting news all in all.

Yeah, I saw merkuralex's thread re. that (which is what pointed me here in the first place, LOL). Pretty cool (and I'm probably going to grab my Ubutu laptop in the morning and try this on my DX ;)...surely someone has already tried that?).

Would be handy if this were possible on all phones, but I'm guessing that's not going to happen (unless Moto really changes their bootloader locking policy).

Cheers!
 
Yeah, I saw merkuralex's thread re. that (which is what pointed me here in the first place, LOL). Pretty cool (and I'm probably going to grab my Ubutu laptop in the morning and try this on my DX ;)...surely someone has already tried that?).

Would be handy if this were possible on all phones, but I'm guessing that's not going to happen (unless Moto really changes their bootloader locking policy).

Cheers!

Pretty sure they haven't cause from what I hear the Photon they released at around the same time as the Triumph had a locked bootloader.
 
Interestingly enough, it would seem that the MSM8655 is 4G capable (Thunderbolt and Revolution), so I wonder if the Triumph is actually a 4G capable device? But that's for another discussion.

No it doesnt. I believe those phone listed above have a different radio for the 4g mode. I read that somewhere though am not able to find the link right now.

AND ALSO great work on the CWM recovery. Awesome! keep it up!

AND some sources/roms

From XDA forums thread,

Person installed X6 roms on his ascend of cincinnati bell http://forum.xda-developers.com/show...&postcount=214

"kernel source from Mi410


Mi410_v3.18D_kernel_source_2.6.32.9.7z


i think we will have good news soon "

AND from my post on howardforums Porting Gingerbread to Motorola Triumph

Porting Gingerbread to Motorola Triumph

Guys as you all know Triumph is based off the Huawei X6 line of devices. And it seems that many phones in that series have gotten Ginger bread roms (2.3.4). For eg

Cherry Mobile Magnum HD got Gingerbread officially. The ROM for the Cherry Mobile version is at http://www.cherrymobile.com.ph/downloads/MAGNUM_softwareupdate2.zip&ver=3.2.1&plugin=WPv1.2.1 . The instructions to install it on Spice Mi 410 (another X6 variant) is at Install Gingerbread on Spice Mi 410 now [Official build from Huawei X6 variant] | AndroidOS.in

And here is a video of Spice Mi 410 running Gingerbread ‪Spice Mi 410 Full Review - 1 GHZ Android Phone VFM‬‏ - YouTube

Here is another page where instructions are given for getting Gingerbread on Cherry Mobile Magnum HD A400, Spice CSL Mi 410
 
No it doesnt. I believe those phone listed above have a different radio for the 4g mode. I read that somewhere though am not able to find the link right now.

AND ALSO great work on the CWM recovery. Awesome! keep it up!

AND some sources/roms

From XDA forums thread,

Person installed X6 roms on his ascend of cincinnati bell http://forum.xda-developers.com/show...&postcount=214

"kernel source from Mi410


Mi410_v3.18D_kernel_source_2.6.32.9.7z


i think we will have good news soon "

AND from my post on howardforums Porting Gingerbread to Motorola Triumph

Porting Gingerbread to Motorola Triumph

Guys as you all know Triumph is based off the Huawei X6 line of devices. And it seems that many phones in that series have gotten Ginger bread roms (2.3.4). For eg

Cherry Mobile Magnum HD got Gingerbread officially. The ROM for the Cherry Mobile version is at http://www.cherrymobile.com.ph/downloads/MAGNUM_softwareupdate2.zip&ver=3.2.1&plugin=WPv1.2.1 . The instructions to install it on Spice Mi 410 (another X6 variant) is at Install Gingerbread on Spice Mi 410 now [Official build from Huawei X6 variant] | AndroidOS.in

And here is a video of Spice Mi 410 running Gingerbread ‪Spice Mi 410 Full Review - 1 GHZ Android Phone VFM‬‏ - YouTube

Here is another page where instructions are given for getting Gingerbread on Cherry Mobile Magnum HD A400, Spice CSL Mi 410
 
Good work!

Although without a ROM, is there any point in putting the custom recovery on the phone right now?
 
Once again, I don't think it's that simple. The Mi-410 kernel source probably won't (and shouldn't) accommodate for the dual-mode MSM8655 SoC found in the Triumph. Also, if the Triumph is really a MSM8655 (which it probably is) than it is a HSPA+ capable device. It just happens to have a dual-mode capable of running on CDMA/EV-DO rev 0, A, B (which is what Virgin operates on). So, if the Triumph was on a network that had HSPA+ offerings, it would be 4G. It would kinda silly to go ahead and change the whole SoC. Link: Mobile Processors | Snapdragon | Qualcomm

You guys will have to wait for the Triumph kernel source. As for the ROMs you mentioned, from my experience, you can't just kitchen them open and swap out kernels. It might boot, but you'll probably find most of the ROM won't work. However, once I, or somebody else, gets CWM fully functional, you guys can go crazy and install whatever you want. Oh, and judging by the link I posted above, there shouldn't be any reason why FM radio functionality couldn't be enabled later. ALL MSM8x55 SoC types support FM functionality. So that's something cool to look forward to.
By HSPA+ do you mean this phone supports GSM based networks ( though it wont be useful without SIM card slot) right?
Also combining That Spice's kernel sources with Thunderbolt's might give a good starting point till Motorola releases the sources for Triumph.

Also one more question in the Thunderbolt's spec it is listed that it can play xVid videos. so could that be used to make it work on Triumph. ( I know we can do it on Triumph using Moboplayer/Rockplayer - but that is all software decoding) And if we can get it with hardware decoding it will be smoother playback and lesser battery drain.
 
Status
Not open for further replies.
Back
Top Bottom