[Q] HELP... Rename a file using odin... - Galaxy S 4 Q&A, Help & Troubleshooting

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.

Related

Help: rooting problem gingerbread JV6!!!!

i just flashed zimage.tar via odin s i can root my gingerbread rom JV6 but it seems nothing is happening. see below image. its been an hour already! pls help i cant use my fone. i need to root it so i can restore my apps using TB. my fone is still in dwnload mode the yellow android image
You don't have to flash the zimage file. Instead flash the .tar file which you get after you extract the downloaded .zip file. When extracting, don't select extract here instead select extract to folder -- the latter would get you .tar file while the former gets you not-for-flashing zimage file.

[q] help! How do i go back to my stock kernel

I installed a kernel but there's a wifi bug and i don't know how to fix it. I made a backup before, but when i restore it, it doesn't go BACK!
i have i337M (4.4.2)
Someone please help me ..
I haven't personally tried this on the s4 but it should work. Grab the 4.4.2 factory tar file, rename it without the.md5, and extract it. Inside you should find a boot.img. Put that on your device and flash it with flashify from the play store.
Sent from my Nexus 5
Thanks! I will try it when I finish downloading the File from SamMobile.
Just to Clarify:
I need to remove the .md5 from the name? So just .tar? and then extract and put the boot.img on my sd and install flashify and flash from there? And my kernel will be back to stock?
If I wanted to unroot, would i just flash the .tar file through Odin? That would remove TWRP, root and custom kernel, am i correct?
Thanks.
the0nly0ne- said:
Thanks! I will try it when I finish downloading the File from SamMobile.
Just to Clarify:
I need to remove the .md5 from the name? So just .tar? and then extract and put the boot.img on my sd and install flashify and flash from there? And my kernel will be back to stock?
If I wanted to unroot, would i just flash the .tar file through Odin? That would remove TWRP, root and custom kernel, am i correct?
Thanks.
Click to expand...
Click to collapse
You made it easy to answer your questions. It's yes to all of them
Sent from my Nexus 5

Messed up Platform.xml

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 ;(

Making custom SM-G903F (GS5 Neo) LL 5.1.1 Pre-rooted Odin Rom (HELP)

Hello the community,
i'd like to ask you for help because i don't manage to make it.
Here is the problem :
1/ i flashed last firmware for the phone
2/ then root it, install latest busybox....
3/ dump from my phone cache & system using this :
dd if=/dev/block/platform/13540000.dwmmc0/by-name/CACHE of=/sdcard/cache.img
dd if=/dev/block/platform/13540000.dwmmc0/by-name/SYSTEM bs=4096 of=/sdcard/system.img
I check it using linux reader. No problem at all
4/ Then repack those 2 files with others files which are on stock tar file (boot, hidden...)
5/ Launch Odin, put my tar on AP then flash.
- All were ok until it came to cache.img then fail
On stock tar, there is a system.img (not .raw). Don't know if it is sparsed but....i suppose as it needs to be converted to bre used with linux reader.
So i dunno what to do to have a valid cache.img & system.img
If you can help me, i will be grateful.
Thanks for all.
Hi
I'm trying too making a pre rooted stock rom flashable through odin. But i get everytime a "failed" from Odin.
However why are using your cache instead of cache.img present in stock firmware?
Try unpack stock firmware and replace only custom "system.img" that contains root and finally repack stock firmware!
Well some info i need is in cache
why don't you make a flashable zip since you know the partions then add root
malbert16442 said:
why don't you make a flashable zip since you know the partions then add root
Click to expand...
Click to collapse
A stock firmware pre-rooted flashable through odin is more comfortable whenever you wanna reset your phone isn't need to using FlashFire or Mobile Odin. IMHO

How do I restore stock kernel to my Canadian S5

I've been using a custom kernel on my G900W8 but I'm getting a lot of performance issues, so I want to go back to stock.
I do have a file I extracted called boot.img which I believe is the kernel. How do I restore it?
harry_fine said:
I've been using a custom kernel on my G900W8 but I'm getting a lot of performance issues, so I want to go back to stock.
I do have a file I extracted called boot.img which I believe is the kernel. How do I restore it?
Click to expand...
Click to collapse
Wait until you get an expert opinion. I was looking here and there for threads to extract and flash the stock kernel but ended up bricking my device. (No recovery, No bootup, THANK GOD I could access download mode).
I extracted the boot.img but didn't know how to flash it. There was a thread, a script that could turn .img to .tar.md5. I did that and flashed the file through Odin and boom. Stuck at bootlogo. So I try to restore the nandroid backup, but recovery keeps bootlooping.
Had to install stock rom completely through Odin...But it still isn't booting up.
User @nickpatel130285 has shared stock kernel for G900F in this post.
I flashed using that zip file and it worked like charm. So what you can do is replace the boot.img in that zip file with the one which is compatible with your variant and leave the rest as it is. Repack and Flash.
It should work but just in case if you mess things up you'll need to flash stock rom using Odin. So make sure you make a nandroid backup and have a copy on your PC (safely).
Flash at your own risk.

Categories

Resources