This is our PM conversation, just incase anybody has any questions.
Re: Data lost on Triumph
Quote:
Originally Posted by
BSydz
I think you may have went too far trying to fix it. I know which partitions do what now but I can guarantee that they never got touched because they are not readable in linux or the phone. With out knowing what was done to begin with, it is almost impossible to help you out. I am just shooting in the dark right now. If you plan on troubleshooting more instead of getting a replacement, then every detail of what you did counts. I have ported ROMs and built from source code, so I know all the ins and outs. When you said you were porting, the description that you gave, made it sound like you weren't porting. If you flashed a ROM for a different phone, you may have corrupted something on the hardware side, but I doubt it. Essentially I need every detail you can provide to know what happened, or there probably won't be any chance to fix it.
Sorry, I can't help more, but I don't fully understand how you got to where you are.
Quote:
Originally Posted by
nyioo7
Hey. Sorry about that. What I did was I changed some of the files in ZTE N880E ROM thinking since it will only modify the /system/ I should be fine.
Here's the ROM I flashed. If you got time, you can take a look at it. I didn't change build.prop thinking only updater-script is the one that matters during installation. I went through updater-script and since it's only gonna copy files to /system/ folder, I thought it'll be ok. I was trying to reuse MTDEV CM9 Mantera's kernel. I am trying to retrace all the update files in the ROM to see if anything was changed.
As for what happened when I flashed it. Well, I didn't wipe the system just in case if it fails, it has a fallback. It actually did and booted up to Froyo instead of that ROM (CM10). It then asked me if I want to activate the device (Not the VM activation but the ZTE activation). I think the problem is I flashed GSM ROM over CDMA.
I know it's really stupid of me to do that. I know to port a ROM, I can only reuse Framework, Fonts and Media folders. I should have pay more attention to what I was doing.
Quote:
Originally Posted by BSydz
Yup that did it, the wrong partitions are set to be changed in the updater script. Partition 16 is where 3G is and the updater-script puts the kernel there.
Code:
package_extract_file("boot.img", "/dev/block/mmcblk0p16");
I can't tell you what info is stored on that partition but it is 3G. I don't know if that is phone specific or not, but you would need dd_rescue to fix it. You will also need a donor phone to get the partition from to see if it will work.
Also, never flash a ROM with .mbn files, our mbn files are in mobile. Plus I am pretty sure that the kernel is where the camera problem exists with CM9/10. So if you have Ubuntu already I would try to look in to manteras kernel, to see what can be done, if that is what you want to do. I would send you my dev phones partition 16 but I think I had to use my new phone to restore it cause I messed it up before I made a backup. But once you put that partition back you will be all good.
If you have any other questions feel free to ask.
Quote:
Originally Posted by nyioo7
Hey. So, Triumph partitions are from sdb to sdb17 right, since sda are my hard drive partitions? So, sdb16 is where it got modified.
Is it possible to get that partition 16 from someone else or will there be phone information included? In your Triumph Experiment thread, you said partition 13-17 include phone specific data. So, is it a sensitive partition and I can't just copy it from someone's phone? I tried to backup sdb16 on Ubuntu using dd_rescue to see if I will be able to read but that didn't work. I get a bunch of encrypted files. If crucial information like ESN or MEID are not in that partition, is it possible for me to ask for the partition 16 from someone on the forums?
Quote:
Originally Posted by BSydz
What I do know is that I had to use my good phones dd backup of partition 16 to fix 3G on my dev phone, what I do not know is if it contains phone specific data, the esn and meid are not located on 16, but that doesn't mean that there is not specific info for 3G on it. I didn't mind cause it was my phone, and it probably won't leave my possession, but it could just be the firmware for the 3G chipset. I haven't figured that part out yet, since I got my dev phone with a bad esn, I haven't activated it, so I can't tell you if it is phone specific or not. I can tell you that it will work across phones but I don't know what is contained in the partition. Since I never activated the phone, I am going by the About phone > Status menu. I cant remember what it said, but it was 16 that made that menu report correctly. Though it still says disconnected under Mobile network state, I figure that is because it is not activated.
The sda sdb sdc sdd and so on will change depending on which is plugged in first, so the drives that never get disconnected should stay the same but if you plug in your phone first it will be the first available and vice versa. That is why I say to double and triple check disk utility that you are not writing to your thumb drive backup instead of your phone. Also be careful not to use just sdb or what ever cause that is the whole physical drive, you need to specify the partition unless you are just backing up the phone to a flash memory device. The sizes are gonna be different but as long as the flash mem is bigger than the phone you will not have issues, but if you try to restore that way you will get errors cause our HD is smaller than most 2GB cards. That is why I say to restore one partition at a time and to skip 4 cause it is an extended partition that holds 5 -17.
I am not sure the forums would be the place to get the partition as nobody knows what is on that partition, though asking if somebody has a broke phone that they don't use may be an option. As long as it gets in to download mode there is no need for the rest of the phone to work, cause all the work will be done on the computer.
Sorry I can't be of more help, but at least you know what the problem is now, and if you know somebody with a Triumph, you can get it back functioning. I had to get a replacement phone to use to get back from the nb0 flashes, cause I didn't want to ask for a backup from somebody since I didn't know what was contained in the partitions.
Good luck!