yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] sigprof:
If a simple fastboot flash FOTA ot990-TNHU-2.3.4-v5GY-0-fota.bin won't work for some reason, we could try to create update.zip for CWM recovery (e.g., if some actions with FOTAFLAG or other partitions will be needed).

Flashing a bare amss.mbn is not enough. Creating a FOTA image with just AMSS might be possible; the format seems to be simple enough, looks that there are even no checksums there, but I want to see another sample from the v53H→v53R update before trying this.

I have made a Perl script which tries to parse the FOTA image headers and extracts individual parts; the current version is attached. For the ot990-TNHU-2.3.4-v5GY-0-fota image that we have it produces these files:

3b6391181563a9a97b5905af401fa9d7eff6a7b4 amss_KY5GY0W0.mbn
f7308a9237864ba0ca549ed82cbffb9f91e7031d amsshd_KY5GYHW0.mbn
9aa9536e931cc3d3b1a462e9ec34997e189516aa appsboot_LY5GY0W0.mbn
8e7d1efc58e22f0c6cf25fe2e287e38770432b43 appsboothd_LY5GY0W0.mbn
2da5d7afdc151fdee0c52a789506187dd054708e oemsbl_EY5GY0W0.mbn
74cc2cc5d3eb4759af4db84792afa3c81e50dcdc oemsblhd_EY5GYHW0.mbn
fb394d2ccd474548a57a5f81c063e2ddd805f3cf studypara_SY5GDQW1.mbn

The amss_KY5GY0W0.mbn file is identical to the AMSS/2.3/ot990-TNHU-2.3.4-v5GY-0-amss-KY5GY0W0.mbn from dumps we had previously. Some header parts (amsshd and osmsblhd) have a separate version code for some reason.

@qltsar

Could you capture contents of /proc/cmdline from a phone which was upgraded with FOTA and not reflashed with OTU? I wonder what qcsblhdver and qcsblver values are there — at least this FOTA image does not contain a QCSBL update, probably the older version of this bootloader part remains even when other parts are upgraded; but after OTU all parts seem to be upgraded to the same version.
[Android Q&A, Help & Troubleshooting] Danijel_rs:
Ok, here is what I did..

I have replaced the

boot

,

system

,

recovery

,

custpack

and

FOTA

('fastboot flash FOTA fota.img' worked) images with those from Hungarian 2.2 dump. I installed CWM and put FOTA update.zip on sdcard. Install process went just fine and when the phone rebooted, guess what, he is stuck in a bootloop again!

I replaced the boot,system,recovery,custpack images from 2.2 again but not the FOTA image, i left it the way it is. So now, the sha1sum for my amss.mbn is fa3a3c6f1543fef862daa83d7a89679c90d65c95 like in updater-script for 2.3 but phone boots 2.2 without any problem.
[Android Q&A, Help & Troubleshooting] sigprof:
This probably means that the update was not applied properly — either it was not accepted, or not even tried. Please dump FOTA and FOTAFLAG partitions now — maybe there are some new messages in FOTAFLAG, and FOTA contents might be replaced.
[Android Q&A, Help & Troubleshooting] Danijel_rs:
Here it is. FOTA and FOTAFLAG after applying update.zip from CWM. I think that nothing was written into FOTAFLAG partition, maybe that is the problem.

ALSO

, one maybe not so useful information but, now when I reflashed the phone with OTU, FOTA partition stayed intact. It's still an image that I flashed manualy from fastboot, with sha 1 fa3a3c6f1543fef862daa83d7a89679c90d65c95.

So, how does this FOTA update.zip affects bootloader, if it affects at all?
[Android Q&A, Help & Troubleshooting] dave39:
are there seriously only 2 custom rom's out there for the alcatel 990 2.3.4
[Android Q&A, Help & Troubleshooting] sigprof:
After some digging inside the bootloader and stock recovery I found that the 32-bit word at offset 0x04 in FOTAFLAG needs to be set to 0x5A5AA5A5 for the FOTA modem update to be applied. Also the word at offset 0x18 needs to be set to 0x12345678. Not sure it there should be other prerequisites.

So you can try to unzip the attached fotaflag_modem_upgrade.zip and run:

fastboot flash FOTA ot990-TNHU-2.3.4-v5GY-0-fota.bin
fastboot flash FOTAFLAG fotaflag_modem_upgrade.mbn

Maybe this will be enough to force FOTA upgrade on reboot. Remember that if the upgrade happens, existing 2.2 ROMs will no longer boot on the phone; the only working things would be this CWM recovery build (because its kernel is patched to work with both old and new bootloader versions) and 2.3 ROMs.
[Android Q&A, Help & Troubleshooting] avalon986:
So if we install your zip file after that we could update with the 2.3 zip that qltsar uploaded?

Sent from my ALCATEL one touch 990
[Android Q&A, Help & Troubleshooting] qltsar:
This is great news :)!

The next step is achive the downgrade.

Btw. sorry sigprof but my connection for the update.zip (B/H->R /Froyo/) has been suspended. I try to reach that guy who owns that zip, but it takes time for him to respond, but in few days (i hope :P :) ) i will upload that FOTA package.
[Android Q&A, Help & Troubleshooting] mijalkocar:
danijele, daj napravi tutorial sta treba da se odradi da se ubaci 2.3..:D

whoa what a news, this is great danijel respect and others for help, i hope so, some tutorial will come...
[Android Q&A, Help & Troubleshooting] Danijel_rs:
I wrote the manual, it will be in this post with big letters :)

But I am little tired, it is 6 am here so i will post it today when I go through these steps again.
[Android Q&A, Help & Troubleshooting] iEstuardo:
So that's mean... Now we're able to upgrade our phones?
[Android Q&A, Help & Troubleshooting] gulyuk.s:
sigprof hence it was necessary to flash the only missing in these sections

great :cool:

as I said can be also try without the fastboot and make script for flash from sdcard

dd if=/sdcard/tmp/FOTAFLAG.img of=/dev/mtd/mtd13
dd if=/sdcard/tmp/fotaflag_modem_upgrade.mbn of=/dev/mtd/mtd13
dd if=/sdcard/tmp/FOTA.img of=/dev/mtd/mtd14

and for other partitions...I think it's also good variant
[Android Q&A, Help & Troubleshooting] Anolnx:
That's the way I like it!

Great new. And, yes, thank you mates. My Orange crippled friend is dying to get upgraded. And btw there is a french forum who a bunch of guys with the same problem as me were awaiting this great new too.

Wonderfull! Thanks again!
[Android Q&A, Help & Troubleshooting] profee:
Waiting for someone other than Danijel to do it succesfully and than i'm on to it.
[Android Q&A, Help & Troubleshooting] Filip013:
Свака част, брате. Савршено ради.

Tested and confirmed. Works like a charm.
[Android Q&A, Help & Troubleshooting] hob1:
Another succes here ;)

I got no errors on first instal, everything works fine ..

I did it from o2 rom..

Thank u all ppl werry much!

Special thanks to sigprof, gulyuk.s, qltsar and danijel !!

So now i guess we could try and install marina lite or some of custom roms ?

edit:

just to mention im to from Serbia i just got o2 rom preinstaled on my phone before 2.3.4 installation..
[Android Q&A, Help & Troubleshooting] kooocko:
Great work Danijel_rs!

svaka cast majstore ;)
[Android Q&A, Help & Troubleshooting] gulyuk.s:
Yes of course, that the soul desires :rolleyes:
[Android Q&A, Help & Troubleshooting] hob1:
lol ! :))

Thanks man ! ;)

Im the one that wrote u on 4pda btw .. :D
[Android Q&A, Help & Troubleshooting] milanstruja:
Ja imam problem sa 13-tim korakm iz onog upustva, nece da uradi update from sd card
[Android Q&A, Help & Troubleshooting] qltsar:
Please...write in english!

It will give us a chance to help & / understand you :)!
[Android Q&A, Help & Troubleshooting] Anolnx:
Success here too for the french Orange OT-990. Thanks again and again everybody.

Time for some custom roms! Yeah!
[Android Q&A, Help & Troubleshooting] milanstruja:
Problem with 13 step on daniel tutorial, some fota eror when i try to inatal update from sd card
[Android Q&A, Help & Troubleshooting] qltsar:
Did you put the update.zip with the exact name to your root of the SD Card?
[Android Q&A, Help & Troubleshooting] nvukelic:
Wow, great work guys, we can finally do something with our phones :D!!!

Btw, is it possible to go back to 2.2 if we want and how?
[Android Q&A, Help & Troubleshooting] frankynov:
Hello everyone !

Since we are getting started to have a whole new world for this OT-990, wouldn't it be great to have specific sub-forums like the other models in XDA ?

Anyway, if anyone could get the 2.3 upgrade to work with a OT-990 from Belgium (mobistar), renamed after "Los Angeles", please ! Let us know ! :)
[Android Q&A, Help & Troubleshooting] qltsar:
Not yet, but we hope that will be a chance to downgrade...but firstly i have to get the old FOTA update, which updates the phone firmware B/H to R, but it takes some time...
[Android Q&A, Help & Troubleshooting] milanstruja:
Tes, excat, but eror is still there
[Android Q&A, Help & Troubleshooting] Danijel_rs:
Maybe you didn't copied the FOTA.img and FOTAFLAG.img files located in 'dump' folder in Hungarian Rom dump 2.2.2 archive to a newly created 'gingerbread' folder. It's a step 3 in the manual.

Please, if you are doing these things for the first time or it is difficult for You to understand English , maybe you should wait for the manual translation and better explanation of these steps.

Pogledaj korak 3. , moguce je da nisi ispravno ubacio FOTA.img i FOTAFLAG.img fajlove u 'gingerbread' folder.

Molio bih vas, ako prvi put radite ovako nesto sa telefonom ili imate problema da razumete Engleski, sacekajte da ja ili neko drugi prevede na Srpski i poboljsa tutorijal. Nemojte da zurite.
[Android Q&A, Help & Troubleshooting] Filip013:
OK, Now I have a new problem. It seems that Danijel's ROM is not rooted. I wanted to check out Marina ROM by gulyuk.s and I couldn't get CWM Recovery to work. Is there any way to root the phone after upgrading to this version? I found this post , but I'm not sure I understand it. Should I only flash recovery.img from Marina ROM or something else?
[Android Q&A, Help & Troubleshooting] milanstruja:
Thx for great work.

Sve radi savrseno. Hvala svima puno
[Android Q&A, Help & Troubleshooting] qltsar:
You have misunderstood something. This is not a custom ROM, so it is not Danel's ROM, this ROM is the original Telenor Hungary Gingerbread ROM...of course it's not rooted...but why are you surprised? :)

How to install CWM / root GB: http://xdaforums.com/showpost.php?p=23403765&postcount=256
[Android Q&A, Help & Troubleshooting] mijalkocar:
http://dl.dropbox.com/u/45068480/Telenor%20Serbia%20Gingerbread.zip

i made package is this ok? and one other question after i start to do this, is it posible to use any custom gb rom or only original hungarian 2.3?

and do i need to update phone from 53H-0 to 53R-0 ?
[Android Q&A, Help & Troubleshooting] Filip013:
You're a life saver, qltsar.

I confused the Recovery Manager App with ClockWorkMod Recovery and thought I wouldn't be able to root the phone without it.

Thanks for explaining everything, I managed to root it now.

Update: And I managed to install Marina ROM Lite now.
[Android Q&A, Help & Troubleshooting] SV_25:
Hey dude, i'm from belgium too (Hallo, Bonjour!) and I can tell you that this method just works for our MOBISTAR rom. GINGERBREAD!!!
[Android Q&A, Help & Troubleshooting] Danijel_rs:
THIS IS ONLY IN THEORY, THESE OPERATIONS ARE NOT FULLY TESTED YET:

- Downgrade to 2.2 could be possible for us who did not get the official 2.3 update. It could be done by using OTU (one touch upgrade) application! But somebody should verify this first! Download link for OTU (DO IT AT YOUR OWN RISK! PHONE BRICK POSSIBLE!) (according to iEstuardo this is tested and possible)

- Update to 2.3 over v53H-0 rom could be possible, also in theory because nobody tried it yet, but I believe it could be done.

- Using any custom 2.3 rom after update. Somebody should also verify this.
[Android Q&A, Help & Troubleshooting] mijalkocar:
it works thanks daniel so much tnx, hvala burazeru ovo nam je falilo...

now to root and try custom rom..like marina rom :)

edit: successfully installed marina rom :)))
[Android Q&A, Help & Troubleshooting] Picy:
Pozdrav svima, može li netko da prevede postupak nadogranje? Ima nas koji to nikada nismo radili, a s druge strane je ipak lakše kada je napisano i na domaćem jeziku..zar ne? :)

Btw, nadam se da će nama koji smo iz okolnih zemalja (kao recimo Hrvatske) ova nadogradnja dat pozitivnih rezultata.. :) Ako se ne varam nadogradnja bi trebala bit univerzalna? ;)

Hvala :)
[Android Q&A, Help & Troubleshooting] hob1:
Link2sd works normaly for me on marina lite rom..

It detects ext partition and transfer aplications, dalvik and lib files..
[Android Q&A, Help & Troubleshooting] qltsar:
The official language on the forum is english! Please write in that language, because we can't understand your native language correctly via gtranslate...

BTW, if you want to translate the instructions for your native language, you should ask Daniel_rs for permission, and start another topic on your own language.

Thanks for your understanding,

qltsar.

@gulyuk.s: what type of languages are supported in your ROM? In mine & the Telenor Hungary GB ROM there are:

Basque

Català

Deutsch

English

Español

Français

Galician

Italiano

Hungarian

Nederlands

Português

Română

Türkçe
[Android Q&A, Help & Troubleshooting] mladenovic73:
Hi all i just dont undersend the 17 step.In 5.step i modify instal bat but than in 17.step its say something that there is a original_telenor_GB_v5GY-0' - DONT USE THE 'gingerbread.Wher this folder came from.Please somebody.Thanx.
[Android Q&A, Help & Troubleshooting] sigprof:
Are you sure about using this recovery version? It will probably break after bootloader upgrade to 2.3; you need the patched version from this post (it should work both before and after the bootloader upgrade).
[Android Q&A, Help & Troubleshooting] Danijel_rs:
This 'original_telenor_GB_v5GY-0' folder came from THIS archive. Unpack it and start install.bat

I thought that FOTA update.zip will apply some patches to a recovery partition and break it anyway. But you are right, when we update to 2.3 we should install patched CWM that you posted!
[Android Q&A, Help & Troubleshooting] qltsar:
I don't understand why do you write to flash the 2.2.2 Hungarian recovery image instead of the CWM image.

If you change this in your instructions it will be more easier, becuse the users who manage to do the update that way, don't have to boot the 2.2.2 Hungarian Telenor ROM, and check Unkown Sources, install ROM-Manager etc.

After the first bootloader flash finished and the phone detected by the operation system, it can reboot by a command like that, so...i mean something like this:

adb.exe reboot-bootloader

ping 1.1.1.1 -n 1 -w 10000

fastboot.exe -w

fastboot.exe erase boot

fastboot.exe erase recovery

fastboot.exe erase system

fastboot.exe erase custpack

fastboot.exe flash boot boot.img

fastboot.exe flash recovery recovery-clockwork-4.0.1.5-ot990.img

fastboot.exe flash system system.img

fastboot.exe flash custpack custpack.img

fastboot.exe flash FOTA FOTA.img

fastboot.exe flash FOTAFLAG FOTAFLAG.img

fastboot.exe flash FOTAFLAG fotaflag_modem_upgrade.mbn

fastboot.exe reboot

[*]ping 1.1.1.1 -n 1 -w 10000

[*]adb reboot recovery

So i think this will be much easier for some users.
[Android Q&A, Help & Troubleshooting] Danijel_rs:
@qltsar ,

Well It is because it was 6 am in the morning when I did this, and then wrote the manual. I wasn't thinking much , I just wrote every step I DID, and I wanted everyone to succeed. :)

This is why I say that we need some time to do the manual more simple and understandable :)
[Android Q&A, Help & Troubleshooting] mladenovic73:
So i put instal bat from this folder to ginger folder on sd and edit,and in 17. step i start instal bat from computers folder?

Sorry for bothering you
[Android Q&A, Help & Troubleshooting] Danijel_rs:
Unpack this archive on your computer, dont change anything just double click the install.bat. The only files that goes to the SD card of the phone are in step 2., other files should be on your computer. But be sure that you did the previous steps. Phone must be in a fastboot mode.

On Serbian:

Raspakuj ovaj zip koji sam ti dao gore u linku na racunar. Fajlove iz koraka 2 postavljas na SD karticu u telefonu, ostale fajlove koristis na racunaru. Ne menjaj nista samo pokreni install.bat iz foldera. Telefon mora da bude u fastboot mode-u, sto znaci da se podrazumeva da si ispostovao prethodne korake u uputstvu.
[Android Q&A, Help & Troubleshooting] mladenovic73:
Thanx man,this is what i need:)
[Android Q&A, Help & Troubleshooting] qltsar:
OK, so if you have time later do you correct it, or do you need any help about this?
[Android Q&A, Help & Troubleshooting] iEstuardo:
Confirmed, guys. It worked for my OT-990A v53N-0

Now I'm on GB...

But I cannot surf the Internet.

3g doesn't work, neither the wifi... It connects, but doesn't surf.

Any idea?

I think something is wrong with fotaflag_modem_upgrade.mbn... Or I dont know :(
[Android Q&A, Help & Troubleshooting] Danijel_rs:
I will appreciate any suggestion or advice about this manual, but i'm going to leave it the way it is for now. If needed, I will try to make it simpler. :)
[Android Q&A, Help & Troubleshooting] iEstuardo:
Those who haven't yet Gingerbread update (officially by OTU), it is possible to downgrade to Froyo version via OTU.

Tested by me :)
[Android Q&A, Help & Troubleshooting] gulyuk.s:
qltsar in my rom languages:

Russian

Francias

Deutsch

Polski

Romana

English UK

English US

I didn't add other, as has suspended work on this rom

iEstuardo I think OTU checks to IMEI, and then update, if available for this,or region
[Android Q&A, Help & Troubleshooting] sigprof:
Yes, now I remembered that the original update.zip adds a script and a patch file to /system; during the first normal Android boot the script applies the patch to the boot partition contents to produce the new recovery image, which is then written to the recovery partition; after doing this the script deletes itself. So if you use the original update.zip, any recovery image will be replaced with the stock recovery.

However, I think that the original update.zip is not really required — flashing the FOTA and FOTAFLAG partitions should be enough to trigger the update process. So the simplified version of upgrade instructions might be: fastboot -w; fastboot flash {system, custpack, boot} from 2.3; fastboot flash patched CWM recovery; fastboot flash {FOTA, FOTAFLAG} with boot and AMSS update; fastboot reboot. Of course this needs to be tested first.

As for the “force close” issue on the first boot, apparently some people here experience it even with official updates, so it might be a bug in Alcatel's Gingerbread build, and not related to our upgrade method.

---------- Post added at 08:55 AM ---------- Previous post was at 08:31 AM ----------

Are you sure that your OT-990A is actually the same as OT-990 and is compatible with OT-990 firmware?

You might need to wait for a 2.3 update made specifically for the OT-990A model (maybe a system+custpack dump and an AMSS image captured from the FOTA partition would be enough — because your phone is not bricked completely, looks like OEMSBL and APPSBL versions for OT-990 work on OT-990A, and we could try to build a FOTA update image from these parts and the dumped AMSS).

Another thing that you could try is to flash the old version of your “studypara” partition (if you did not save it, try to get a dump from another phone of the same model — this partition is included in updates, so the contents of it should be the same on all phones of the same model with the same firmware version). Not sure whether this would help, however.

If all else fails, use OTU to revert to 2.2 and blame Alcatel for producing a subtly incompatible phone model.
[Android Q&A, Help & Troubleshooting] mladenovic73:
Is there a chance to put v6 script on 2.3.4 marina lite rom?

I am using on zte racer and its exellent.

And how big is internal memory after instaling marina lite rom?Thanx in advance
[Android Q&A, Help & Troubleshooting] gulyuk.s:
sigprof Can you put these instructions on 4pda? some users are still facing this problem due to poor internet

I shall not write this, it is your credit

mladenovic73 yes,you can put v6 and other scripts(marina rom supported)

internal memory,if i'm not forgot,~ 100 mb

after I posted marina rom here, I did another update, and the possibility of using a script for odexed firmware, but it did not spread on xda,only for 4pda users presented this rom and my work finished
[Android Q&A, Help & Troubleshooting] sigprof:
So you got a stock 2.2 back on your problematic OT-990A? In this case could you make a full dump of this phone (including FOTA and FOTAFLAG partitions and other strange stuff like “studypara”), so that we could look for differences between OT-990 and OT-990A? You can use backup_Gulyuk.zip for CWM recovery to dump boot, system and custpack (it also dumps userdata into dat.img — keep this file private), and this script to dump the rest of interesting partitions.

Before taking the dump, please enter fastboot mode and clear the FOTAFLAG partition:

fastboot erase FOTAFLAG
fastboot reboot

Erased FOTAFLAG tells the bootloader that it needs to copy the current (stock) AMSS image to the FOTA partition on the next boot (this does not happen automatically after OTU updates, so without erasing FOTAFLAG you may still have the AMSS version from the failed 2.3 update in FOTA). You should see a progress bar during reboot while OEMSBL does this copying.

If you already installed a custom 2.2 ROM which happens to work on OT-990A, and don't want to revert to stock again, just do the second dump with the shell script (the dump from backup_Gulyuk.zip in this case will just contain your custom ROM without anything specific for OT-990A).
[Android Q&A, Help & Troubleshooting] mladenovic73:
Thanx man,exellent news.I will try that.:)
[Android Q&A, Help & Troubleshooting] gulyuk.s:
whether we can apply from this information for downgrade?

or having updated by method via OTU - it's impossible
[Android Q&A, Help & Troubleshooting] sigprof:
In this case downgrade happens only because there is no official 2.3 for the phone country+operator combination; there is no way do this for Russian phones (or any other phones which have the official 2.3 update available). We need to wait for the v53B→v53R update.zip from qltsar, from which we could make a FOTA image for flashing v53R bootloaders and AMSS. We already have AMSS binaries for v53B and v53R, but no corresponding OEMSBL and APPSBL binaries, and no known way to dump OEMSBL and APPSBL from an existing phone with 2.2.

Although it should be possible to build a FOTA image with new OEMSBL and APPSBL, but old AMSS (or even only old AMSS), I'm not sure whether this would result in a working phone (and this combination will need patched kernels due to machine ID incompatibility). I also suspect that the APPSBL (where the fastboot mode is implemented) relies on working AMSS (it makes some calls to the modem side), therefore breaking AMSS due to incompatibility may make restoring it via fastboot impossible. There seems to be another method of flashing directly from the microSD card, which is implemented entirely inside OEMSBL and does not rely on working AMSS, but I did not yet find the exact method to activate it, and it might need early bootloader parts like qcsblhd_cfgdata.mbn, which would be hard to obtain.
[Android Q&A, Help & Troubleshooting] mikec_thebest:
skype

Is it possible to make skype video call working on this 'Hungarian Gingerbread' or on 'Marine ROM' ?

Ps. Sorry for my bad English :S :D
[Android Q&A, Help & Troubleshooting] qltsar:
Unfortunatelly, it is not possible, i've tried also this version: Link, but when i force the video calling feature the application cannot start.

@sigprof: if everithing will going to be that i expected, today i will upload that file.
[Android Q&A, Help & Troubleshooting] aleksandar_021:
I cant enter fastboot mode...can someone help me plz?
[Android Q&A, Help & Troubleshooting] qltsar:
Switch the phone into fastboot mode:

disconnect the USB cable, turn off the phone;

press and hold the Volume Down button;

while holding the Volume Down button, press the Power button;

when the phone vibrates, release the Power button, but keep holding the Volume Down button;

keeping the Volume Down button pressed, connect the phone to your computer with the USB cable;

wait 3 seconds after connecting the USB cable, then release the Volume Down button.

instructions by sigprof