[Q] Replacing the modem in CM10 - Galaxy S I9000 General

I've got CM10 running well on my girlfriends i9000m, but she has mentioned that in some locations where she used to get good signal (with the factory rom), she now doesn't. I thought I'd try using other modem.bins to see if I could improve this. However, I must not know what I'm doing.
I tried replacing the modem.bin using download mode (I tried both odin and heimdall). The first modem.bin I tried didn't work though (no cell connectivity at all anymore). This didn't surprise me, as I thought I'd have to try a few before I found one that worked for me (seeing it's a i9000m). Anyway, when I tried flashing back the original modem.bin (which I pulled from the CM10 zip), it didn't work either. I ended up reloading the whole CM10 zip through CWM to get it working again.
So my question is: can I not load just a modem.bin though download mode? Do I have to load modems using recovery? Why is there a difference? And if I do need to use recovery, could anyone point me to a post that tells you how to make your own modem.zip?
Any input is appreciated!
Brad

Recovery zip files
http://forum.xda-developers.com/showthread.php?p=31131934
All basically using same update-script made for cm7/9/10.
Replace your modem.bin in any of these using any PC zip tool prior flashing by recovery should work.

O-T said:
Recovery zip files
http://forum.xda-developers.com/showthread.php?p=31131934
All basically using same update-script made for cm7/9/10.
Replace your modem.bin in any of these using any PC zip tool prior flashing by recovery should work.
Click to expand...
Click to collapse
Thanks for the link. By looking at the actual update script, I'm going to assume that the main problem with flashing the modem in download mode is that the proper permissions don't get set.

Related

HELP : accidentally uninstalled TouchWiz

I accidentally uninstalled Touchwiz using Titanium Backup. Since I already use ADW.Launcher, I thought its not a big deal, until I did a hard reset.
Upon hard reset, my Galaxy S tries to install Touchwiz, which of course fails, and the darn phone just crashes and hangs. I managed to get it to boot up eventually after some trouble, but I'll prefer not to have to do this everytime I hard reset.
Can someone please please send me the TouchWiz apk and odex files so that I can put them back in the system directory ? I'm using stock Froyo 2.2 ( Build FROYO.DXJPA, Kernel 2.6.32.9 ). Please email them to [email protected], or tell me where I can download them.
I know this would cease to be a problem if I just flash a custom rom, and I would love to try that in future, but not now.
Thanks so much in advance.
Easy way would be to go to the Rom Kitchin build update zip with only the Touchwizz in it and flash it from SD card via CWM.
http://romkitchen.org/sgs/?s=generator
APK might be in Perkas file stash from this forum ..###
jje
JJEgan said:
Easy way would be to go to the Rom Kitchin build update zip with only the Touchwizz in it and flash it from SD card via CWM.
http://romkitchen.org/sgs/?s=generator
APK might be in Perkas file stash from this forum ..###
jje
Click to expand...
Click to collapse
Thanks, but I'm on 2.2, which means I have the 3e loader which does not allow me to setup update.zips which are unsigned. For this reason, i was also not able to get CWM installed. I know there's a way to downgrade the loader to 2e, but I'll rather not try that at this moment.
I agree with jje. The best and probably easiest way would be to flash 2e recovery. Chainfire has created a kernel for that purpose and as long as you can access download mode you should be fine.
Sent from my GT-I9000 using XDA Premium App
chriszzz said:
Thanks, but I'm on 2.2, which means I have the 3e loader which does not allow me to setup update.zips which are unsigned. For this reason, i was also not able to get CWM installed. I know there's a way to downgrade the loader to 2e, but I'll rather not try that at this moment.
Click to expand...
Click to collapse
Flash SpeedMOD kernel with Odin and you'll get CWM.
Hi JJEgan, anfearg, Intratech
Thanks for the advice so far. But would it be possible for me to just simply use a file manager to copy the TouchWiz apk and odex files to my system/app directory ? My phone is rooted, so I know it's possible as long as I can get those files. I'm just not sure if there's anything else that needs to be configured to get Android to use those files during setup. If this is workable, this would be the easiest route. Now I just need to get my hands on those files.
I know Odin can fix this, but I'll rather just stick to the current stock rom for now, and just add the missing 2 files.
Intratech said:
Flash SpeedMOD kernel with Odin and you'll get CWM.
Click to expand...
Click to collapse
I'm going to take a look at Odin and see if its not too risky to flash my i9000. I've flashed my old WinMo phones in the past, so flashing is not new to me. But I've yet to try it for Android. Maybe I'll give it a go.
chriszzz said:
Hi JJEgan, anfearg, Intratech
Thanks for the advice so far. But would it be possible for me to just simply use a file manager to copy the TouchWiz apk and odex files to my system/app directory ? My phone is rooted, so I know it's possible as long as I can get those files. I'm just not sure if there's anything else that needs to be configured to get Android to use those files during setup. If this is workable, this would be the easiest route. Now I just need to get my hands on those files.
I know Odin can fix this, but I'll rather just stick to the current stock rom for now, and just add the missing 2 files.
Click to expand...
Click to collapse
OK, so I spent a couple of hours googling and downloaded Odin, a couple of stock ROMs, PIT files and USB drivers. Fired up Odin, followed instructions, and I'm now back to 2.1 with the 2e loader. Sweet. Had a heart stopping moment when Odin said "FAILED" in red, so i just reflashed another ROM and it went through successfully.
Looks like I'm in the ROM flashing crowd now.
Quick question : some ROMs ( like the one I flashed successfully with Odin ) contains just a few tars - 1 each for CODE/PDA, CSC and MODEM/Phone.
Others ( like the one that Odin failed to flash ) just contains a bunch of directories with files that have bin, rfs, lfs extensions.
Why are there 2 different types of ROM packaging ? Is the first one ( with the tar files ) specific to Odin ? How do I flash the other type then ? With ClockWorkMod ?
chriszzz said:
I'm going to take a look at Odin and see if its not too risky to flash my i9000. I've flashed my old WinMo phones in the past, so flashing is not new to me. But I've yet to try it for Android. Maybe I'll give it a go.
Click to expand...
Click to collapse
chriszzz said:
OK, so I spent a couple of hours googling and downloaded Odin, a couple of stock ROMs, PIT files and USB drivers. Fired up Odin, followed instructions, and I'm now back to 2.1 with the 2e loader. Sweet. Had a heart stopping moment when Odin said "FAILED" in red, so i just reflashed another ROM and it went through successfully.
Looks like I'm in the ROM flashing crowd now.
Quick question : some ROMs ( like the one I flashed successfully with Odin ) contains just a few tars - 1 each for CODE/PDA, CSC and MODEM/Phone.
Others ( like the one that Odin failed to flash ) just contains a bunch of directories with files that have bin, rfs, lfs extensions.
Why are there 2 different types of ROM packaging ? Does each ROM come in both forms ? Can they be converted from 1 form to the other ?
Click to expand...
Click to collapse
the .tar types are to be flashed via odin only whereas the ones with the directories are to be flashed via CWM(2e recovery).... mix them up and you'll be in trouble... ;-)
You only needed to flash the recovery 2e zip file through Odin from the forum .
jje
chriszzz said:
<snipped>.. Others ( like the one that Odin failed to flash ) just contains a bunch of directories with files that have bin, rfs, lfs extensions.
Why are there 2 different types of ROM packaging ? Is the first one ( with the tar files ) specific to Odin ? How do I flash the other type then ? With ClockWorkMod ?
Click to expand...
Click to collapse
The single .tar file with .rfs, .bin, etc. is a high-level package. It's sort of a firmware update and can only be flashed on top of an existing firmware. That is, you don't tick re-partition in odin. The ones that come with 3 separate files for CSC, PDA and MODEM are either medium or low-level packages. I think, the low-level ones come with bootloaders. These can be flashed with re-partition ticked.
Thanks guys.
Today I learned how to flash using ODIN (flashed a European 2.1 ROM onto my international i9000 originally with Asian ROM, and downgraded my 3e loader to 2e).
Then I learned to use ClockWorkMod, which I used to flash Darky's ROM 9.5 ( nice ROM, although booting up seems to take an usually long time. Not sure why ). Finally, I almost had a heart attack, twice, when my phone refused to boot after flashing. Nothing a 3 button combo to download mode couldn't fix though.
Fun fun fun. Thanks all.

OMG I have an EMERGENCY... please help, I've searched for hours. :-(

So I am not to NOOB but I sure acted like it last night when I was way tired and tried to flash a ROM. Here is what I did...
I didn't catch that I didn't have the CWM but that I had booted into the stock recovery tool... Well I didn't before it was to late that is...
I clicked WIPE DATA
I clicked WIPE CACHE
Then noticed there was no "install from SD"
So it seems like whatever I find to install from ODIN I can't get the CWM to install so I can then flash a ROM!
I need my phone up for work, I am in HOT SH!T!
How can I either flash a rom via stock recovery "update format" OR install CMW via ODIN?
PLEASE HELP ASAP!!
Thank you
why don't you just flash again via odin and then root your phone via odin as well?
Don't quite understand whats your problem. So what if you wiped data and cache the rom is still there. Reboot normally and flash cfroot according to your firmware and then you should have cwm up and running. After that flash desired rom and the end.
Sent from my GT-I9100 using xda premium
Flash one of the CF-Root kernels through Odin, whichever one matches the firmware you're running. They have CWM baked in, along with root so you can flash a ROM afterwards.
If you can't get into download mode, turn your phone off, plug it in and hold down + power + home and it should boot into download mode. Then you can flash with Odin.
I thought the same thing, that so what that I wiped them... but when I rebooted the phone it just sits at the "Rethink possible screen"
I can get into download mode and I did find the "cf" post but I dunno what kernel I am running as I can't boot to go into settings to seek.
if you in recovery mod choose reboot, and it will be ok, than read: http://forum.xda-developers.com/showthread.php?t=1103399,
or put in download mod: turn your phone off, hold down + power + home. Then flash with Odin.
I know you probably don't want to, but you can try doing a factory reset, that should allow you to get your phone up and running. If you have gmail installed it should put all your contacts back, as long as you backed up to gmail.
If you have an old copy of titanium backup you won't loose ALL your apps, this is why I tend to back up every weekend, I'm only a week behind with everything if problems arise....
Cheers...
Flash stock rom... Download cwm and flash with odin.... Then instal rom u want with cwm...
Sent from my GT-I9100 using xda premium
like I said, I am not a noob, just made a mistake...
I found the cf-kernel page, but I dunno what kernel I am running and so I dunno what kernel to flash (It seems vital)
"just rebooting" don't work lol I wish... it hangs at the "rethink possible" boot screen...
I was rooted but running the stock rom, if I can get CWM installed I think I will be golden, but whatever I seem to flash from ODIN don't work :-( no matter what nothing will flash as "PDA" but when I flash using "phone" it seems to install "zimage" which is the embedded file and succeeds and phone reboots... but still only to the rethink possible point.
flash any stock firmware then flash supercore 2.0 and do whatever you want from there
Think i know what the problem is,i have same issue sometimes,try flashing anogher rooted Kernel through odin,make sure its like if the rom is a kj3 that it has a kj3 kernel.see if that works
ultramag69 said:
you can try doing a factory reset... Cheers...
Click to expand...
Click to collapse
Be glad to but it isn't an option in the recovery?
My options are as follows...
Reboot system now
Apply update from SD
Wipe/reset
Wipe/cache
been in similar, if not same situation, things were missing from cwm recovery, like you wrote...if memory serves me fine,
flash stock fw with pit, repartition and everything...
then some rootec kernel with recovery...
Oh sh!t... just flashed the pit file here... http://www.darkyrom.com/community/i...-with-odin/#download-a-pit-file-for-the-i9100
and odin said success... and screen went black.
Not responding at all now :-(
let's go in a safe way...as long as you have download mode, you're OK.
Go to samfirmware or somewhere on XDA and find FULL STOCK FIRMWARE with proper .pit file and flash it with odin. Not kernel, not anything that is not full rom.
since you state that you are not noob, you know what from there.
abovenbeyond said:
Oh sh!t... just flashed the pit file here... http://www.darkyrom.com/community/i...-with-odin/#download-a-pit-file-for-the-i9100
and odin said success... and screen went black.
Not responding at all now :-(
Click to expand...
Click to collapse
What on earth are you doing?
It clearly states:
I9000 & I897 owners (not I91000!!!) may also need a PIT file (also included in RE ROM ZIP files). I will explain further what it's for.
Why didn't you follow a tutorial on xda? Can you boot in download mode?
borstri said:
let's go in a safe way...as long as you have download mode, you're OK.
Go to samfirmware or somewhere on XDA and fin FULL STOCK FIRMWARE with proper .pit file and flash it with odin. Not kernel, not anything that is not full rom.
since you state that you are not noob, you know what from there.
Click to expand...
Click to collapse
Sounds amazing but after my post above I not can't get the phone to power on although I hear the laptop detect it as I attempt to power down or up, but no screen or led display...
Really worried now... ****!
Lennyz1988 said:
What on earth are you doing?
It clearly states:
I9000 & I897 owners (not I91000!!!) may also need a PIT file (also included in RE ROM ZIP files). I will explain further what it's for.
Why didn't you follow a tutorial on xda? Can you boot in download mode?
Click to expand...
Click to collapse
I flashed this...
Download a PIT file for the I9100
Download EXT4.pit file (2KB)
(for the S2 only)
battery pullout, then three button combo for download

Bootloop while flashing JW4

Hey, I tried flashing JW4 stock rom via ODIN which I downloaded from sammobile.
The name of the file is I9000XXJW4_I9000OXAJW4_XEU.zip and on extracting there were 2 files called JW4_JW4_JW4.tar & SS_DL.dll. I selected the tar file in PDA and flashed. The process passed but am stuck with bootloop. Plz help
I also flashed a jw4. But that was without the dll.
Anyway, after i flashed and it booted up i got a doozen errors telling me it couldnt mount different partitions.
So i gave it up as a bad one and found a thread here at xda with different stock roms and ended up with jw5.
No complications whatsoever. Yet
just google for "stock roms i9000 xda" and you should stumble over the thread i believe.
Good luck
Sent from my GT-I9000 using Tapatalk
I faced exactly the same problem: bootloop after flashing XXJW4 and many mount errors in the screen. I concluded that this firmware is not standalone in the sense that you cannot flash and repartition the device using it. Following this logic I performed these steps, leading me to a successfully recovered and fully functional XXJW4 phone:
Flash it with a full stock firmware, e.g. XXJVU (mark "repartition" as well).
Flash XXJW4 as you have done it, but make sure "Repartition" is not selected. That is, just select the tar file in the PDA field and leave the rest with the default options.
Another huge problem Got Black Screen Of Death. Am able to get my phone on to download mode but odin is not detecting my phone. HELP ME What to do?
bindaasathar said:
Another huge problem Got Black Screen Of Death. Am able to get my phone on to download mode but odin is not detecting my phone. HELP ME What to do?
Click to expand...
Click to collapse
Use another USB port. You can flash deodex version of JW4 which doesn't have any problems
bootloops
Factory Reset / Cache Wipe /
use by the Pitfile from JW 1 and flash the JW 4 ,that`s it !!
LG.G.
jpabloae said:
I faced exactly the same problem: bootloop after flashing XXJW4 and many mount errors in the screen. I concluded that this firmware is not standalone in the sense that you cannot flash and repartition the device using it. Following this logic I performed these steps, leading me to a successfully recovered and fully functional XXJW4 phone:
Flash it with a full stock firmware, e.g. XXJVU (mark "repartition" as well).
Flash XXJW4 as you have done it, but make sure "Repartition" is not selected. That is, just select the tar file in the PDA field and leave the rest with the default options.
Click to expand...
Click to collapse
great job. thanks for this
bindaasathar said:
Hey, I tried flashing JW4 stock rom via ODIN which I downloaded from sammobile.
The name of the file is I9000XXJW4_I9000OXAJW4_XEU.zip and on extracting there were 2 files called JW4_JW4_JW4.tar & SS_DL.dll. I selected the tar file in PDA and flashed. The process passed but am stuck with bootloop. Plz help
Click to expand...
Click to collapse
Your PDA file might be missing the dbdata.rfs file, see here: http://forum.xda-developers.com/showthread.php?p=24182099&highlight=dbdata#post24182099, which can cause boot loops.

[Q] Recovery broken, can't flash any ZIP (CWM also)

So, that's a long story, but a few days ago I tried do flash one more time the CM11. It gave me an error like written below. I used the CWM 6.0.5.3 that supports MTD (flashed it with Odin - .tar.md5), all beautiful, but that's not about it.
When I returned to stock and tried to flash the CWM5 through native recovery and even flashed CWM6 (6.0.5.3) through Odin, it gave me the following error (in both cases, native recovery with every ZIP I tried to flash and CWM also):
"Finding update package...
Opening update package...
Installation <something>
Installation aborted."
After this manipulations, I can't even obtain root access on my phone and I have 3 apps installed, because it's out of memory. I heard that it could be because the file system remained in MTD and it is not compatible, but, if it's like this, how can I return to YAFFS2?
It does not install any ZIP, so I can flash nothing. Nor custom firmwares, nor other fixes (like root) and CWM also.
Please, help!
dushkalex said:
So, that's a long story, but a few days ago I tried do flash one more time the CM11. It gave me an error like written below. I used the CWM 6.0.5.3 that supports MTD (flashed it with Odin - .tar.md5), all beautiful, but that's not about it.
When I returned to stock and tried to flash the CWM5 through native recovery and even flashed CWM6 (6.0.5.3) through Odin, it gave me the following error (in both cases, native recovery with every ZIP I tried to flash and CWM also):
"Finding update package...
Opening update package...
Installation <something>
Installation aborted."
After this manipulations, I can't even obtain root access on my phone and I have 3 apps installed, because it's out of memory. I heard that it could be because the file system remained in MTD and it is not compatible, but, if it's like this, how can I return to YAFFS2?
It does not install any ZIP, so I can flash nothing. Nor custom firmwares, nor other fixes (like root) and CWM also.
Please, help!
Click to expand...
Click to collapse
Simply flash stock rom via odin - this will convert your file system back to rfs for use with stock based roms (cm roms use ext file system)
You can then root the phone and flash a temp cwm or a kernel of your choice for stock based roms with cwm built in
stock rom firmware is found on my firmware thread - Links either in signature or top of firmware thread
Tried it already on a lot if version (XXKI6, XXLK3 and another ones), not working, but I'll try one more time today.
dushkalex said:
Tried it already on a lot if version (XXKI6, XXLK3 and another ones), not working, but I'll try one more time today.
Click to expand...
Click to collapse
make sure you are using the firmware from my thread (the ones you have quoted are old firmwares) - they are wipe packs and will format your system when flashing
I would use this one if you are in Europe
http://d-h.st/FhE
Thx, I'll try it
marcussmith2626 said:
make sure you are using the firmware from my thread (the ones you have quoted are old firmwares) - they are wipe packs and will format your system when flashing
I would use this one if you are in Europe.
Click to expand...
Click to collapse
Tried, the same.
dushkalex said:
Tried, the same.
Click to expand...
Click to collapse
Then there is either a problem with the way you are flashing it or you flashed wrong files on your phone in the past and you may need to include the pit file with the rest of the firmware - you can find the pit file for galaxy y 5360 with an easy google search - there is an xda thread with it
All firmware on my thread is confirmed working and the Europe one I have used myself - So if using the pit file doesn't work along with the firmware file then I would take it to a repair shop
marcussmith2626 said:
Then there is either a problem with the way you are flashing it or you flashed wrong files on your phone in the past and you may need to include the pit file with the rest of the firmware - you can find the pit file for galaxy y 5360 with an easy google search - there is an xda thread with it
All firmware on my thread is confirmed working and the Europe one I have used myself - So if using the pit file doesn't work along with the firmware file then I would take it to a repair shop
Click to expand...
Click to collapse
Thanks Can I flash the .pit separately from the firmware?
dushkalex said:
Thanks Can I flash the .pit separately from the firmware?
Click to expand...
Click to collapse
you flash it all at the same time
PIT and your wipe firmware flashed at the same time haven't fixed it, the FS is broken. Any other ways or I have to prepare money for the service center?
try to format all partition ( data+system+cache ) and flash a stock rom

Paying to get this fixed

My s7 edge got stuck at boot screen so i reflashed stock rom and rerooted then restored the backup i had, it said fail because of low memory while restoring the system and now when i try to reflash the stock rom on odin it says model dismatch fail.
If someone could help me fix this I'm willing to pay something decent, but not a whole lot lol
Re-download the stock rom and flash it
Meboyzram said:
Re-download the stock rom and flash it
Click to expand...
Click to collapse
i did that lol thats when it says "model dismatch fail"
Do you have custom recovery?
Do you have a custom recovery?
Do you have the right and the newest Odin Version?
Did you try it with another transfercable or USB-Port?
Do you have the newest samsung drivers?
Did you have any Odin problems like this before?
My suggestion:
Just do a full wipe on your phone. Downlad the newest Odin Version. Get your device into download mode (maybe try different transfercables or USB Ports and the newest samsung drivers) and see if it works now.
If yes, flash the right Bootloader and Modem for your device and then flash the rom you wanted to flash.
If this didnt work, (and you have a custom recovery) try to reinstall the rom without any backups via the recovery at first and check afterwards, if the device is now recognized by Odin.
Good luck
JustAnotherAndroid said:
My s7 edge got stuck at boot screen so i reflashed stock rom and rerooted then restored the backup i had, it said fail because of low memory while restoring the system and now when i try to reflash the stock rom on odin it says model dismatch fail.
If someone could help me fix this I'm willing to pay something decent, but not a whole lot lol
Click to expand...
Click to collapse
I guess you still have twrp installed.
1. Step: go to TWRP and wipe everything except your SD-Card
2. Step: enter download mode on your device and then plug your usb in (maybe try a different usb-port or even another computer, or another usb cable)
3. Step:Flash the newest bootloader & modem in one step.
4. Step: Enter TWRP again and flash the firmware.zip via the installation process
I dont have TWRP, but i got it fixed, somehow my roomate got it, thanks anyways guys
So all he got was my phone to turn on, im still having this model dismatch fail issue..
Maybe You're trying to flash wrong firmware? What model did You buy?(check box) and what firmware did You download?
If nothing works then download 7zip. And remove all files from that tar.md5 file and leave system.img only. And then try reflashing it.
This way no matter what device You connect it should force flash this image file. Although it might be dangerous (a tiny little bit) so first make sure that You have proper firmware for Your model.
ProtoDeVNan0 said:
Maybe You're trying to flash wrong firmware? What model did You buy?(check box) and what firmware did You download?
If nothing works then download 7zip. And remove all files from that tar.md5 file and leave system.img only. And then try reflashing it.
This way no matter what device You connect it should force flash this image file. Although it might be dangerous (a tiny little bit) so first make sure that You have proper firmware for Your model.
Click to expand...
Click to collapse
Yes, I've used these files multiple times before i did what i did, ill give that a try, if it works, i owe you.
If system.img by itself will flash successfully and Your phone won't boot then add slowly more files to that tar file (boot.img, recovery.img etc)
You could also try looking for a pit file for Your phone and then flash it with it. Pit file usually fixes most problems even broken partitions.
And make sure that You put that tar file in AP/PDA.
If nothing above works then send me screenshots of ODIN and the file that You're trying to flash. Maybe I'll notice something. But I hope You'll fix it
JustAnotherAndroid said:
Yes, I've used these files multiple times before i did what i did, ill give that a try, if it works, i owe you.
Click to expand...
Click to collapse
So I tried, and i get some invalid file error
These are the files that are in the AP one
https://gyazo.com/a72785631ad62d412a8c40eb464d3126
I found out my problem, i was still uing the modified version of odin that i used to root my phone

Categories

Resources