Deleted host file on custom rom - G2 Q&A, Help & Troubleshooting

Where can I find a good host file?
I deleted the one in my rom but accident but don't want to reflash the whole thing.
thank you

Hello
I need this file too
Freedom app messed it
Thanks

Related

copy into system folder while phone is off?

Hello everybody
I was copying some files into the Lib folder in system replacing some orginal files, it hanged, I restarted the phone, and it can't boot, I guess the file is broken
my question is: can I edit those files somehow? maybe using download mode or something
please, help, I have no phone now
sorry, I should've posted it in Q&A
some mod move it please sorry
yeah whatever thanks for support
just flashed a leaked froyo rom, seems fine

[Q] Firmware save help plzz!

Any 1 help me plz! i wanna backup my firmware without kies!
I need a video guide, saving firmaware and update my phone to Kyrillos' ROM v2.2 Gingerbread Edition!
Thanks all!
I also like to know how to backup the original firmware before i am flashing to a custom ROM, but i can't find a solution for this problem.
hope someone knows what to do
I think you can't. Only if there's a way to look in your system folders using your computer. Maby you can copy your firmware files from your system to your sd Using a file manager (like bluetooth file manager or androzip or something)?

[Q] bootani.qmg and shutdown.qmg

Hello
Is there a possibility that someone would kindly give me those two files bootani.qmg and shutdown.qmg, from a stock clean rom? They are located in system/media, would appreciate. If not, is there a tool or which I could use to extract these files from a rom file, as Im not really up to flashing whole rom for two files. Thank you
http://forum.xda-developers.com/attachment.php?attachmentid=652315&stc=1&d=1310458871

[Q] CWM backup-->flashable rom?

I'm a new developer and have applied all my tweaks and edits via root explorer so far. is there a way to change a CWM backup into a flashable rom file for other users to flash? I searched around a bit, but couldn't seem to find anything about it.
Goto this thread here
follow all the setup to install cygwin & kitchen
once it's all setup you can plug your phone in and create a rom
follow the guide (second method) for creating the rom system files by extracting the system folders from your phone (rom you are using)
you can then turn it into a flashable rom zip
I think you just basically extract the CWM backup, then repackage them in 1 zip file (except for the androidsecure backup).
9steele9 said:
I'm a new developer and have applied all my tweaks and edits via root explorer so far. is there a way to change a CWM backup into a flashable rom file for other users to flash? I searched around a bit, but couldn't seem to find anything about it.
Click to expand...
Click to collapse
YOU CAN USE THE CWM BACKUP IN KITCHEN YO MAKE A CUSTOM ROM.BUT YOU CAN'T ABLE TO USE THE BACKUP FILE DIRECTLY AS A CUSTOM ROM.
OTHER HAND YOU CAN MAKE ALSO THIS BACKUP AS A DEODEXED STOCK ROM BY DEODEXING THIS BACKUP FILES.
YOU CAN FIND KICHEN GUIDE HERE-http://forum.xda-developers.com/showthread.php?t=1801690
YOU CAN FIND DEODEXING GUIDE HERE-http://forum.xda-developers.com/showthread.php?t=2230337
PRESS THANKS IF I HAVE A BIT SUCCESS TO HELPING YOU.....:thumbsup:
Hmm thats how i make roms that i dont post here though....
In tthe cwm backup u have system.rfs.tar
Extract it using 7zip
U get system.img or u might get a system folder....
Extract the img file using Magic Iso
Open magic iso
In menu..
File>open
Select ur system.img
On the left side pane right click on the disk icon and click extract.select ur destination
Once the files are all extracted copy all of them in a folder named "system"
Now get a meta-inf folder from a custom rom and zip
Meta-Inf and system folder together
U have ur rom...
Ill create a video tutorial for this tomorrow as many people ask this question in different threads of devices....
Sent from my GT-S5360 using xda app-developers app

Extract, modify and repack stock rom?

Hey!
I really want to make a custom rom, a heavily debloated stock rom. At this stage I am not thinking about adding customization or anything just debloat the stock rom as much as possible, recompile it, and flash it!
I've searched everywhere on how to do this but have not found any relevant information.
COULD SOMEONE PLEASE POINT ME IN THE RIGHT DIRECTION?!?!?!
I have tried using sgs2toext4.jar to convert img.ex4 files from I9506 stock firmware and the mounting it in Linux Internals.
This does not work, as Internals does not show any files (0.00 bytes) even though the converted img.ext4.img file shows over 2.5gb in windows explorer.
How can I do this, what kind of tools do you DEVs use to extract, modify and finally repack it to a tar.md5 or flashable zip?
I am grateful for any response!
EDIT: Currently using windows 7 x64, I have access to a Linux/ubuntu if that is necessary. Also the device in question is I9506.
Regards,
mrd0pe

Resources