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

Root The Triumph Experiment Thread (CAUTION!)

I figure if I get to how your phone was as GSM, then try to magically switch out files related to cdma into that system maybe I could get a fully working system.. then if all else fails I could always dd if=my-triumph-backup.img of=/dev/sdX and everything should go back to normal..
 
I figure if I get to how your phone was as GSM, then try to magically switch out files related to cdma into that system maybe I could get a fully working system.. then if all else fails I could always dd if=my-triumph-backup.img of=/dev/sdX and everything should go back to normal..
Don't do it, you will be exactly where you would be with the WIP ROM. you are better off just taking the nandroid backups I made and working from there. That way you don't have to go through all the BS.
 
Which WIP rom are you referring to? Does it have all the partitions setup like one of the GSM phones on 2.6.35.7?

Also looking through some of the files on Triumph, again I don't know much about Android, I'm just a Linux geek.. but there are goldfish files, msm7x30 files, which should our phone be using? Do we use both? like some init files, some are say goldfish.init, some msm.init, fb0 init.. is this so it can be used on multiple types of phone generically? Like an if statement, if phone is fb0 use all these fb0 files?
 
Which WIP rom are you referring to? Does it have all the partitions setup like one of the GSM phones on 2.6.35.7?

Also looking through some of the files on Triumph, again I don't know much about Android, I'm just a Linux geek.. but there are goldfish files, msm7x30 files, which should our phone be using? Do we use both? like some init files, some are say goldfish.init, some msm.init, fb0 init.. is this so it can be used on multiple types of phone generically? Like an if statement, if phone is fb0 use all these fb0 files?
The only difference in our phone and the other variants is the bluetooth and network radios. After testing them on our phone without flashing the nbo it is the same, except we can add drivers to make the phone work but not 3G and all you need for the BT is a triumph kernel. The 2.3.65 kernel will not work with our baseband but will work just fine on our phone, that is why all of the X6 variants have to flash the nb0, cause it updates the baseband, to use the 2.3.65 kernel.

This is the ROM I was talking about, the first is the original and the second is when G60 took over for a minute. But, I was able to take the Cherry Magnum ROM and kernel and just swap out two ril drivers from andro-id rc3.2 and everything worked except BT and 3G so there was no point in releasing it even though I could have easily got BT working. The 3G is what is the problem, I can get MMS working once 3G is working no problem.
http://androidforums.com/triumph-al...-triumph-2-3-4-gingerbread-update-4-30-a.html
http://androidforums.com/triumph-al...-alpha-gingerbread-2-3-4-r0-1-06-12-12-a.html
 
So, this is what I have found so far about the partitions on the Triumph, I can't guarantee that this is all correct, but if anybody has any input feel free to chime in.

WARNING, THE INFORMATION PROVIDED BELOW IS SPECULATIVE AND COMES WITH NO WARRANTY. IF YOU MESS WITH THIS STUFF, I AM NOT RESPONSIBLE IF YOU DAMAGE YOUR PHONE.

Partitions:
1 (FAT) Mobile Partition containing image folder, which is very well documented around the forums.

2 (crypt/QNX4.x) Primary Boot Loader (PBL) I believe that this is what the SOC uses to boot.

3 (crypt) Secondary Boot Loader I believe this is where the hardware layout is contained, as it changes button configuration and was key to getting back to normal after I flashed the wrong nb0. It is linked to the mobile partition, as the phone will not boot properly without the correct amss.mbn

4 (extended) Just an extended partition containing partitions 5 - 17.

5 (unknown) Still unknown but I believe it is boot or start up related, as it contains this line "Uncompressing Linux... done, booting the kernel"

6 (OnTrack DM) I think this manages and verifies integrity of partitions 13-17.

7 (ext3) This is where the system/rom is located. This is what you see in root explorer as "system", containing the build.prop and other stuff.

8 (ext3) I think this is the underlying basic operating system, it is the "data" folder in root explorer.

9 (ext) This partition holds CDA info, with OEM apks, ringtones, and wallpapers, it seems to be mounted inside partition 10 (hidden) when the phone is on you can find the information merged into "hidden/data" using root explorer.

10 (ext3) This is the hidden partition containing boot images and CDA info. This can be found in "hidden" using root explorer.

11 (ext3) This is the cache partition.

12 (ext3) This is the Caivs, can't find too much info on this.

13-17 (unknown) I believe this is where the phone specific data is stored, including but not limited to MEID, ESN, and PRL.


I would like to start a thread with this information, but would like to wait til some more experienced people weigh in. It is probably better off buried in this thread, for now. Realize that, the first time I used Linux was, when I installed Ubuntu 11.10, about 18 days ago, just after I screwed my phone up. I just used my Win systems to mess with my phones. I'm sure there is somebody that has a better understanding of manipulating filesystems than I have, since my knowledge is mainly with Win systems.

Let me know if you think anything is incorrect so I can fix it as soon as possible. Thanks.

I'm sure you know now that Partition 5 is kernel and ramdisk. Anyways, for the unknown partitions/unreadable partitions have you tried making an image of them and then changing the partition type and try mounting as that partition type? I know some usb sticks, laptop hard drives, USB 3g modems, etc. have had hidden partitions as well as changing partition type. Example, I forget what laptop it was of mine but had a partition with all recovery data hidden, it also was a fat32 file system I think, but was marked as AIX partition so to gain access to it you had to either change partition type right on the drive itself or make a image of it and change it's partition type to fat32 then you could mount it as fat32 and read and write to that partition. It was some laptop I imported from China.

I don't know if any of these partitions are like that on our phone or not.. but wondering if you have tried this?

Also did some digging and partition 14 (part type 78) might be boot loader. partition type 78 is "XOSL FS" used by XOSL Bootloader.. a boot loader I've never heard of.. Used for PC's, kind of like grub/lilo boot loader from what I read.
 
I'm sure you know now that Partition 5 is kernel and ramdisk. Anyways, for the unknown partitions/unreadable partitions have you tried making an image of them and then changing the partition type and try mounting as that partition type? I know some usb sticks, laptop hard drives, USB 3g modems, etc. have had hidden partitions as well as changing partition type. Example, I forget what laptop it was of mine but had a partition with all recovery data hidden, it also was a fat32 file system I think, but was marked as AIX partition so to gain access to it you had to either change partition type right on the drive itself or make a image of it and change it's partition type to fat32 then you could mount it as fat32 and read and write to that partition. It was some laptop I imported from China.

I don't know if any of these partitions are like that on our phone or not.. but wondering if you have tried this?

Also did some digging and partition 14 (part type 78) might be boot loader. partition type 78 is "XOSL FS" used by XOSL Bootloader.. a boot loader I've never heard of.. Used for PC's, kind of like grub/lilo boot loader from what I read.
From what you are saying, you have more file system knowledge than I do. If you do what I did in the guide and just backup the phone to an sd card, then you should easily be able to check that out. And if you can edit some files, easily put it on to the phone to test. I'm transferring my build setup to my monster computer right now, cause CM10 is taking too long to build on my 3 Ghz quad core, could be the old 120 GB IDE HD. :D Once I get CM10 worked out how I want it, I am gonna try to get a proper kernel for it, if I can. I have built a 2.3.65 kernel for the Triumph, I just have to flash the Sharp nb0 to my dev phone to test if it will even boot, and work with our baseband. I am pretty sure that with just the kernel it will never boot on our phone, it will need a custom recovery at the very least to make it work, could possibly use the X6 recovery but that is questionable because it was built with that kernel.
 
How's your cm10 coming along? Any hardware issues.. software issues. Build issues ?

I have a 6core 2.8 with 8gb ram I was thinking of compiling some android stuff on.. but I'm not a dev in any way.. was thinking of using it to build some kernels...

I still need to learn more on android though.. I just know Linux so thought would be pretty easy to jump into
 
Not sure if it was mentioned or not but does the sharp phone have a ics rom?

I remember you saying it was more similar to our phone than the others
 
How's your cm10 coming along? Any hardware issues.. software issues. Build issues ?

I have a 6core 2.8 with 8gb ram I was thinking of compiling some android stuff on.. but I'm not a dev in any way.. was thinking of using it to build some kernels...

I still need to learn more on android though.. I just know Linux so thought would be pretty easy to jump into
You should be good with that system, I had 4GB RAM and when I built, it would eat up all the CPU and RAM, now on my 8 core with 8GB RAM it flys, also moved my setup to my sata3 2TB HD. Kernels only took about 5-10 minutes to build on that system. Android is basically Linux with a java shell on top, we need to get the Linux portion working to get the hardware working so you may be able to help, with your Linux experience. If you have any questions about where to find source, just hit me up. I can upload a few packages I have been working with.

I haven't got all the way through a build yet, but that is because I changed the config files to include HDMI and GPS, and instead of commenting out problems, I am focused on fixing them instead. I can't build something halfway, that's just me. I also added some stuff to the build that has been a pain in the butt to work out where it is in the code. Basically my changes have made it not buildable yet, but I am so far into the build that I had to switch computers cause it took to long between edits. I am pretty sure I am very close to getting it done, I just spent most of yesterday copying and extending partitions, cause my beast doesn't have IDE.

If you want to collaborate on something just let me know.
 
Just extract the nb0, it has all of the files that go onto the phone. I have a dd backup from when I flashed the nb0s. But after it is written it is encrypted on the partitions. If you have any questions just ask.

What application do I use to extract nb0? thanks
 
Back
Top Bottom