Messed up Platform.xml - Galaxy S 5 Q&A, Help & Troubleshooting

Hi,
i was doing the kitkat SD card fix but i think i messed up my platform.xml file and now i cant connect to anything.
i cant connect bluetooth to transfer original file, wifi doesnt work, 3g not working, every app p keeps crashing.
i connect it to my PC and it doesnt show the files. just blank folder not even normal download/picture files.
plz help asap

Restore your backup. And fixed that quickly.
If you don't have a backup, that is a bad habit that you ought to change immediately. One good reason is staring you in the face.. the ability to revert changes or recover from unexpected problems.
In the alternative and presuming that you also neglected to save an original copy of the platform.xml file.. you can extract the original platform.xml from the full, stock firmware image. And use that to fix your issue. You can write the file to your handset using the command line or via an ADB shell. Or you could start over if you have other reasons for wanting to do that i.e. write a full stock firmware image with Odin. But replacing one file would make more sense in most situations.

fffft said:
Restore your backup. And fixed that quickly.
If you don't have a backup, that is a bad habit that you ought to change immediately. One good reason is staring you in the face.. the ability to revert changes or recover from unexpected problems.
In the alternative and presuming that you also neglected to save an original copy of the platform.xml file.. you can extract the original platform.xml from the full, stock firmware image. And use that to fix your issue. You can write the file to your handset using the command line or via an ADB shell. Or you could start over if you have other reasons for wanting to do that i.e. write a full stock firmware image with Odin. But replacing one file would make more sense in most situations.
Click to expand...
Click to collapse
Can you give me original files for the
G900F model which go in the permision folder.
Thanks

aniqpirzada said:
Can you give me original files for the
G900F model
Click to expand...
Click to collapse
No. I own the 900T model and would need to extract the 900F file from the stock firmware image. And you can do that as easily as I could. Just download the firmware image and use winrar to extract the file for you. Easy peasy.
.

fffft said:
No. I own the 900T model and would need to extract the 900F file from the stock firmware image. And you can do that as easily as I could. Just download the firmware image and use winrar to extract the file for you. Easy peasy.
.
Click to expand...
Click to collapse
i will try to extract it but if it doesnt work:
if i flash the FW using ODIN would it wipe out all my data from the phone.
or should i flash the FW using CWM

i tried flashing the official FW with odin and it didnt fix it. plz help ;(

Related

[Q] Corrupted tar files from sammobile and samsung updates

I looking for updated roms (with no operator customisations) for s5360b but all the latest versions comes with corrupted tar files and I'm unable to extract the files.
Tried to repair the tar file with no success either.
7zip/winrar latest versions unable to decompress it...
There is another way or my sources are bad?
Maybe download didn't get complete.. Try again..
** rooting is new for me,
nd i am a noob to root....**
Only option: Redownload the whole thing again
This post is in compliance with the national potato safety regulation.
[Galaxy S 4 LTE]
gusnd said:
I looking for updated roms (with no operator customisations) for s5360b but all the latest versions comes with corrupted tar files and I'm unable to extract the files.
Tried to repair the tar file with no success either.
7zip/winrar latest versions unable to decompress it...
There is another way or my sources are bad?
Click to expand...
Click to collapse
they are not corrupt. their headers are such that you cant see or extract the files inside. only flash them in odin in pda section or if you want files then use splitfus2 by doky73
amit34521 said:
they are not corrupt. their headers are such that you cant see or extract the files inside. only flash them in odin in pda section or if you want files then use splitfus2 by doky73
Click to expand...
Click to collapse
I tried to flash them directly but got an error, that's why I'm trying to decompress it. I just downloaded it many times always getting the same results.
I'll try to use a 2.3.5 release and then update it with Kies. I didn't tried using another country's rom afraid of modem file incompatibility issues, I'll do some more tests
gusnd said:
I tried to flash them directly but got an error, that's why I'm trying to decompress it. I just downloaded it many times always getting the same results.
I'll try to use a 2.3.5 release and then update it with Kies. I didn't tried using another country's rom afraid of modem file incompatibility issues, I'll do some more tests
Click to expand...
Click to collapse
flashd it in which section?????????
amit34521 said:
flashd it in which section?????????
Click to expand...
Click to collapse
Pda
Corrupted .tar files
gusnd said:
I looking for updated roms (with no operator customisations) for s5360b but all the latest versions comes with corrupted tar files and I'm unable to extract the files.
Tried to repair the tar file with no success either.
7zip/winrar latest versions unable to decompress it...
There is another way or my sources are bad?
Click to expand...
Click to collapse
Well first of all sorry for being late, seems you haven't resolved your problem or have you? If not, then I wanna suggest you something here. I've also faced a situation like .tar file corruption in my past and resolved it successfully, believe me. How did you try to repair the .tar file? Did you use any third-party application like a repair or recovery software? I also used a third-party recovery application named as SysInfoTools Archive Recovery, to repair my corrupt .tar files. I had two very important .tar files which were corrupted, don't know why. Then I came to know about this application and used it. Though it didn't execute a hundred percent recovery, but I was quite satisfied to recover my maximum data from those corrupt .tar files. I will recommend you check its free demo version first. If it shows your preview of your recovered data, this means the data has been successfully recovered from the corrupt file. You can download the demo of this software from sysinfotools' website.
If this application helps you, please let me know.
Regards.
gusnd said:
I looking for updated roms (with no operator customisations) for s5360b but all the latest versions comes with corrupted tar files and I'm unable to extract the files.
Tried to repair the tar file with no success either.
7zip/winrar latest versions unable to decompress it...
There is another way or my sources are bad?
Click to expand...
Click to collapse
flash the .tar file in pda section
they are not corrupt
they are just un-decompressable

[Q] HELP... Rename a file using odin...

Hi,
Yes. I screwed up
copied over a new build.prop to /system but I didn't change permission or might have made a mistake. So now my phone doesn't boot into android, or TWRP!
The only thing I can go into is the Samsung S4 Downloading window, I think it's the Odin screen.
I have Odin 3.0.7 (I have i337m)... and wouldn't it be possible to just flash a tar file or a zip file that can do the following:
delete /system/build.prop (The one I screwed up)
rename /system/build.props.bak to build.prop
That is all I need to do to fix my bricked phone!! OTherwise I guess I would have to flush using odin the while Samsung thing and might lose root and reflash kankapop!!!
Any help would be appreciate in the file I need to use.
I noticed Odin has a File [Dump] .. maybe I can use that?
Thanks,
You would need to flash a custom recovery through Odin, then you would have to create a flashable zip for flashing through the custom recovery. In the flashable zip would be the original, unmodified build.prop, the updater binary, and the updater script. The script would issue the command to copy the new build.prop over the old one and set its permissions.
AFAIK, you can't use Odin to send single files like that.

Need Help Extracting PIT FIle for Verizon Variant of the S7 (Non Edge)

I seen on other forums you can basically create a working PIT (Partition Information Table) From a Working Device, obviously based on the Same Firmware set you are running, now that root is up and running, the idea is which mmcblk to dd to get it done
Here is a link for reference I found on older Galaxy Models, id assume the process is the same but again not sure about whick block device i need to copy
Pit File Extraction
Nvr Mind Found the pit file in the CSC Section of the Stock FLash Files, doesnt exactly tell me how to generate my own but does provide a working solution if ever needed
Please CLOSE
Wildcat2083 said:
I seen on other forums you can basically create a working PIT (Partition Information Table) From a Working Device, obviously based on the Same Firmware set you are running, now that root is up and running, the idea is which mmcblk to dd to get it done
Here is a link for reference I found on older Galaxy Models, id assume the process is the same but again not sure about whick block device i need to copy
Pit File Extraction
Nvr Mind Found the pit file in the CSC Section of the Stock FLash Files, doesnt exactly tell me how to generate my own but does provide a working solution if ever needed
Please CLOSE
Click to expand...
Click to collapse
Did you ever extract the PIT file? I need one to fix my phone and I'm on the latest update that came out a few days ago. I don't have root and my S7 is stock.
CrossBones3129 said:
Did you ever extract the PIT file? I need one to fix my phone and I'm on the latest update that came out a few days ago. I don't have root and my S7 is stock.
Click to expand...
Click to collapse
I have one for the PE1 build but not for the latest fw update, however 8f you need the PE1 I can pm it to you, you might try odin and reflash the build im on it includes the pit file as well
Wildcat2083 said:
I have one for the PE1 build but not for the latest fw update, however 8f you need the PE1 I can pm it to you, you might try odin and reflash the build im on it includes the pit file as well
Click to expand...
Click to collapse
I'm on PF2. I've never used a pit file with ODIN so what does it do exactly? Could you maybe help me?
I'm getting an error when rebooting in recovery saying "failed to mount /data (Invalid arguement)". I can't notice it affecting anything though. It only pops up after I select power off, reboot, or wipe cache. If I do a wipe data/cache and thrn reboot it doesnt pop up. My phone still seems to perform right but this error worries me.
Like I said, I've never tried to root or flash my phone but this is happening.
Wildcat2083 said:
I have one for the PE1 build but not for the latest fw update, however 8f you need the PE1 I can pm it to you, you might try odin and reflash the build im on it includes the pit file as well
Click to expand...
Click to collapse
I've downgraded to PE1 seeing if that what fix my issue, but it didn't so if you do have the PE1 version that would be fine for now while I'm on this version.
CrossBones3129 said:
I've downgraded to PE1 seeing if that what fix my issue, but it didn't so if you do have the PE1 version that would be fine for now while I'm on this version.
Click to expand...
Click to collapse
if the stock files don't work i can extract a master PIT file from the phone but i need to make sure it covers all of the relevant partitions first, basically preventing you from getting an erroneous file, as they lay out how the phone should partition the emmc chip basically acting as a flash memory version of a hard drive
Wildcat2083 said:
if the stock files don't work i can extract a master PIT file from the phone but i need to make sure it covers all of the relevant partitions first, basically preventing you from getting an erroneous file, as they lay out how the phone should partition the emmc chip basically acting as a flash memory version of a hard drive
Click to expand...
Click to collapse
Sent you a PM. Your stock files had the same error as the other stock files.
Sent from my SM-T377V using Tapatalk
did you ever get the pit file for your verizon galaxy s7?
Hi, did you ever get the pit file for your galaxy s7, I need it if you did.
CrossBones3129 said:
Sent you a PM. Your stock files had the same error as the other stock files.
Sent from my SM-T377V using Tapatalk
Click to expand...
Click to collapse

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

batterystats-checkin.bin

I have accidentally deleted the batterystats-checkin.bin. I have tried to flash stock firmware , but it seems flashing stock firmware was not able to restore the file. can anyone share the batterystats-checkin.bin file .it is located at the root folder of /data/system.

Categories

Resources