Android System ignores hosts file - Android Q&A, Help & Troubleshooting

Hey guys,
I have a problem with editing the hosts file on Android.
At first, some general information: My Phone is a rooted Samsung Galaxy S6 with Android 7.0 and for editing I use the 'Total Commander for Android' tool by C. Ghisler (Version 2.90).
So here's my problem: I put together a huge hosts file for my Windows PC (some own entries, a lot of entries copied from someonewhocares.org/hosts) and wanted to copy the entries from my PC to my phone. So I duplicated the file, used Notepad++ and did " Edit --> EOL Conversion --> Unix (LF) ". I then sent the file via e-mail, so I could easily download it from my phone. Said and done, I downloaded it and put it into /system/etc , but when I try to visit one of the sites in the hosts file, it works although it should'nt work.
When I open the hosts file on my phone via total commander and add an entry manually, it works (site is unavailable after doing so).
But if copied into the file (even in Unix format) the system will just ignore the entry.
I have a list with a little less than 10,000 entries, I can't type them all on my phone. What can I do now, so that the Android system will use the hosts file as it should?
Thank you very much
Sieefi

Sieefi said:
Hey guys,
I have a problem with editing the hosts file on Android.
At first, some general information: My Phone is a rooted Samsung Galaxy S6 with Android 7.0 and for editing I use the 'Total Commander for Android' tool by C. Ghisler (Version 2.90).
So here's my problem: I put together a huge hosts file for my Windows PC (some own entries, a lot of entries copied from someonewhocares.org/hosts) and wanted to copy the entries from my PC to my phone. So I duplicated the file, used Notepad++ and did " Edit --> EOL Conversion --> Unix (LF) ". I then sent the file via e-mail, so I could easily download it from my phone. Said and done, I downloaded it and put it into /system/etc , but when I try to visit one of the sites in the hosts file, it works although it should'nt work.
When I open the hosts file on my phone via total commander and add an entry manually, it works (site is unavailable after doing so).
But if copied into the file (even in Unix format) the system will just ignore the entry.
I have a list with a little less than 10,000 entries, I can't type them all on my phone. What can I do now, so that the Android system will use the hosts file as it should?
Thank you very much
Sieefi
Click to expand...
Click to collapse
Nevermind. Problem solved.

Sieefi said:
Nevermind. Problem solved.
Click to expand...
Click to collapse
Please explain how you solved it, that may help others with the same issue(seek help and provide help ). Thanks!

strongst said:
Please explain how you solved it, that may help others with the same issue(seek help and provide help ). Thanks!
Click to expand...
Click to collapse
Oh, that is, in fact, pretty simple. It was pretty late when I did this yesterday and I was tired but wanted to get this done before going to sleep. So I made some stupid mistake. I don't know what it was, might have been that I reopened the file in windows editor, might be that I copied the wrong file, I really don't know.
Did it again today (this time without making a stupid mistake) and it works like a charm.
So for everyone who wants to do this, here's a step-by-step instruction (works with Total Commander or with ES File Explorer and should also work with every other root file explorer)
1. Edit your hosts file on your Windows (or Apple) PC as you wish
2. Copy the hosts file and put the duplicate into any other folder on your PC (just not the one with the original hosts file )
3. Open the duplicate with Notepad++ and change the format into Unix (Edit --> EOL Conversion --> Unix (LF))
To control whether everything is changed as necessary you can show the format of the line breaks by clicking View --> Show Symbol --> Show End of Line
4. Move the file to your Dropbox or OneDrive or send it to yourself via mail or, or, or...
5. On your Smartphone copy or move (as you wish) the file from your selected file exchange system into /system/etc
6. Done.
Of course this is only possible, if your Smartphone is rooted and your file explorer has root access.
If your using a Linux system and want to copy the hosts file from your PC to your smartphone you can leave out the third step because the file will already be written in Unix format

Related

Detailed-How to change Start text

UPDATE 12-21-08
There is some talk that you need to also install the Sdcerts cab before this process will work. Freezing the phone sucks so i would do this first. I will add it to page one.
After bricking my phone three times-I finally got it right. I have a HTC Touch Pro-nobody really explained it to me like I was a two year old-so I decided to break it down. You have to be careful or you will freeze up the phone and then be forced to hard reset. That sucks. So this worked for me. You should extract your own shellres.dll.0409.mui using rom extractor. This is not difficult if you follow these directions. All of the programs are free and I am making a zip to include them all. I included my own shellres.dll.0409.mui. The 0409 refers to the language. It is the code for English.
1. I installed the cab -icon demarrer. It makes a couple registry changes that help the process.
2. Then I used a the rom extractor to get my shellres.dll.0409.mui and copied it to the storage card you have to enter path:\windows\shellres.dll.0409.mui and save to \storage card\shellres.dll.0409.mui To install the Rom extractor You just put the Rom extractor into active sync
3. Then drag the file to the desktop of your computer use unsigner-just drag the file over the unsigner and it is unsigned
4. Then drag the same extracted file over reshacker and navigate the file to change string 321 in the shellres.dll.0409.mui to whatever you want it to say
5. Then open msigner and navigate to your saved file shellres.dll.0409.mui to resign the file
6. Then go to settings/today/items and uncheck to turn off touch flo and then copy the new file from your desktop to the storage card.
7. Install Total Commander on your device-you do this by opening it on your home computer. Then open total commander on your device and navigate to the new file shellres.dll.0409.mui-in the storage card. Then press the stylus on the shellres.dll.0409.mui file and save to clipboard
8. Then use Total Commander to search windows directory for the shellres.dll.0409.mui that is still in the phone. (If possible-rename the file shellres.dll.0409.mui.bak or if not possible press the stylus on top of the shellres.dll.0409.mui that is in the phone and selected for the drop down menue that appears-Paste Here.
9. Then soft reset. Here it is. I included everything you need in the Zip file! Here is where I started-but it is vague-great start icons in the thread though. http://forum.xda-developers.com/showthread.php?t=426264
The HTC start icon is on the zip entitled shellres.192.dll
Just say thank you if any of this helps you
language codes
Your can use the file I included in the zip if you do not want to extract. just change the numbers
shellres.dll.XXXX.mui in place of the XXXX It is 0409 for english-if you want another you can use one of these codes. If you don't have an htc touch pro the file may be named shellres.dll.96.XXXX.mui
0404 CHT Chinese Traditional
0804 CHS Chinese Simplified
0405 CSY Czech
0406 DAN Danish
0413 NLD Dutch
0409 USA English
0407 GER German
0408 ELL Greek
040b FIN Finnish
040c FRA French
040e HUN Hungarian
0410 ITA Italian
0411 JPN Japanese
0412 KOR Korean
0414 NOR Norwegian
0415 PLK Polish
0416 PTB Portuguese Brazil
0816 PTG Portuguese Portugal
0418 ROM Romanian
0419 RUS Russian
041b SKY Slovak
0c0a ESN Spanish
041d SVE Swedish
041f TRK Turkish
You can also change the Start Icon which is really cool. In my touch pro it is in file shellres.192.dll under icon group 4609-
1. Download shellres.192.dll to your storage card. Use total commander to search the windows folder for shellres.192.dll
2. Press the stylus on the file and select copy to clipboard
navigate with total commander to the storage card and press the stylus there and select "paste here"
3. Use unsigner to unsign the file
4. use reshacker to open the file and navigate to "Icon Group" 4609. You will see your icon in the program.
5. Select menu "Action" and replace. Navigate to the icon you want. Select it. Save the file.
6. Sign the file with the Msigner
7. Place the file in the Storage card
8. Use Total Commander to locate shellres.192.dll and rename it shellres.192.dll.bak
9. Use total commander to find your new file in the storage card, and move it to the windows folder of your device.
10. Restart with a soft reset adn enjoy your new icon.
Useful thread where I learned a lot http://forum.xda-developers.com/showthread.php?t=426264 You can get ready made .ico files here
Can you explain one point ... ?
I tried to extract the file shellres.dll.040C.mui (french WM6.0) directly into \windows, and before modifying the file with my computer, I just re-boot the device with that change (so, just a ROM file extraction but without any modification in the file) ... and then, the device is frozen on the Windows welcome page.
Can you explain that ?
louis09 said:
I tried to extract the file shellres.dll.040C.mui (french WM6.0) directly into \windows, and before modifying the file with my computer, I just re-boot the device with that change (so, just a ROM file extraction but without any modification in the file) ... and then, the device is frozen on the Windows welcome page.
Can you explain that ?
Click to expand...
Click to collapse
Did you follow steps exactly? You have to be careful. You can see from my screen shots that it works. I change my text every day as i feel. Did you install the icon demarrer cab?
you should also be able to navigate to the file shellres.dll.040C.mui (with Total Commander) and press the stylus on it and select copy to clip board. Then navigate to the storage card and press the stylus on a blank area and select copy here. The handheld needs the dll to work-so it is not removed from the device it is just copied.
Also make sure that your computers folders are set to view hidden files. It took me a while to get this right-and there is no step by step tutorial but the one i made here-from what I found.
Ok, but the result is the file shellres.dll.xxxx.mui in \windows
Whatever the handling, from the ROM to the SD card, to the computer, ..., the clipboard, ..., the file is finally copied in \windows
So, how can we explain that a direct extraction to \windows cannot work ?
Which operation in your process can avoid the problem ?
I don't want to modify the icon, just the text...
.. and I'm sure that works on your device, I have no doubt about that. I just would like to understand.
I also use Total Commander and it displays the hidden files.
What is the icon demarrer (french word ?) cab ? And what is the unsigner/signer method ?
louis09 said:
.. and I'm sure that works on your device, I have no doubt about that. I just would like to understand.
I also use Total Commander and it displays the hidden files.
What is the icon demarrer (french word ?) cab ? And what is the unsigner/signer method ?
Click to expand...
Click to collapse
The icon demmarer is a cab made by a developer. i included it, and all the necessary programs in the zip file. The cab just changes a few resgistry settings to allow this. (i believe) The file once copied to your computer can be manipulated and string value 321 changed-then compile script, save and sign. all included in the zip.
I want to know that you are able to do it, as I am.
louis09 said:
.. and I'm sure that works on your device, I have no doubt about that. I just would like to understand.
I also use Total Commander and it displays the hidden files.
What is the icon demarrer (french word ?) cab ? And what is the unsigner/signer method ?
Click to expand...
Click to collapse
I am having the same problem as Lewis and my device locked up twice at the windows login screen. You cannot modify the file with commander no matter what you do with your steps. There has to be something you left out. I am very good at what I do and am very far from being an ameteur
Chosen4Goodness said:
I am having the same problem as Lewis and my device locked up twice at the windows login screen. You cannot modify the file with commander no matter what you do with your steps. There has to be something you left out. I am very good at what I do and am very far from being an ameteur
Click to expand...
Click to collapse
Total Commander is only used to move the file-not modify it. Follow the steps exactly. Rename the old mui to mui.back.
and install the icon demarrer cab fisrt. Turn off touch flo before. I have a Sprint HTC Touch pro with a stock rom.
The cab demarrer may be strongly needed, or/and the unsigner/signer software ?
It should be useful to know what the cab and signer/unsigner do.
Which key in the registry is concerned ?
Is ResHacker needed ? Is ROM extractor not enough ?
And mainly, why does only an extraction to \windows freeze the device after a reboot ?
I'm trying to contact the ROM extractor developer VK (a.k.a. THEVK, GreateVK)...
louis09 said:
It should be useful to know what the cab and signer/unsigner do.
Which key in the registry is concerned ?
Is ResHacker needed ? Is ROM extractor not enough ?
And mainly, why does only an extraction to \windows freeze the device after a reboot ?
I'm trying to contact the ROM extractor developer VK (a.k.a. THEVK, GreateVK)...
Click to expand...
Click to collapse
You have to read this thread. http://forum.xda-developers.com/showthread.php?t=426264 Someone else made the icon dem cab. All I know is I read every page of every thread about this tweak-none was a road map-I just knew it could be done so I kept trying til I got it. I had to mod my start text from trying and reading. I finally got it with this method. the extraction alone will not freeze the phone-since the file is not removed from the windows registry. It is in fact not possible to remove shellres.dll.xxxx.mui since it is the entire shell of the phone.
Read every thread about start text
Ok, but the extraction will freeze the device if we do only this
So, this is the reason why the icon cab and/or one of the other operations avoid that.
Probably like Chosen4Goodness, I confirm that, if I extract the file and re-boot without any other change, the device is frozen...
freeze
Anxious to hear that someone other than me was able to follow these directions step by step and not freeze their device.
Don't worry, I'm probably not soo good !
or my device, or the WM version is too sensitive !
And it seems that many people succeeded ! There are a lot of evidences on this site.
louis09 said:
or my device, or the WM version is too sensitive !
And it seems that many people succeeded ! There are a lot of evidences on this site.
Click to expand...
Click to collapse
Be brave. Give it a go Louis!
louis09 said:
or my device, or the WM version is too sensitive !
And it seems that many people succeeded ! There are a lot of evidences on this site.
Click to expand...
Click to collapse
louis09 said:
I read in one thread how to change the word "Start". I tried to do it and I got a frozen device after reboot. So, a hard reset was needed. Another guy in this site got the same problem this week.
In fact, if I only extract shellres.dll.040C.mui (WM6.0 french version) to \windows\shellres.dll.040C.mui without any other change, I get the same problem.
So, maybe you can explain in more details how to do. Where to save the extracted file and to install at the end ? Is another operation needed ?
louis09
Click to expand...
Click to collapse
I couldn't send you a pm because you have your profile set to not accept incoming pm. Anyways, these are the steps that I follow to do this:
1. Extract shellres.dll.XXXX.mui via ROM Extractor;
2. Open it with ResHacker;
3. Look for String Table -> 321 -> Line 5120 and change this to whatever you want;
4. Hit "Compile"
5. Save the file. At this point, you will have two shellres files - one of them will have "original" in the file name. Just save that one in case you want to keep it.
6. Transfer to device via ActiveSync (USB, I haven't tried any other connection such as BT, Wifi, etc) into \Windows
7. Soft Reset your device.
How are you doing the transfer back to the device? It might be that the file is not transferring completely to the device, or getting corrupted in the process. TotalCommander, and Resco have not worked for me for this purpose. Give it a shot and see if it works.
Good luck and let me know how it turns out.
Ok, I have modified my profile.
I need a precise information about the location "Save to" in ROM extractor.
Because doing only that, to \windows\shellres.dll.040C.mui (the same file location than the ROM), is enough to freeze the device after a reboot !
So, why ?
I tried only that "simple" operation because I tried the 1st time the complete one (modify the file and transfer to the device) and I got the same problem. I believed that was due to the change in the file but the extraction is enough.
Maybe we have not to extract in \windows ?
louis09 said:
Ok, I have modified my profile.
I need a precise information about the location "Save to" in ROM extractor.
Because doing only that, to \windows\shellres.dll.040C.mui (the same file location than the ROM), is enough to freeze the device after a reboot !
So, why ?
I tried only that "simple" operation because I tried the 1st time the complete one (modify the file and transfer to the device) and I got the same problem. I believed that was due to the change in the file but the extraction is enough.
Maybe we have not to extract in \windows ?
Click to expand...
Click to collapse
My quesstion is why the reboot after extraction to save to \storage card\shellres.dll.0409.mui?
Also I think the last post above yours neglected to unsign and resign the file. I have fund that improper signing causes a freeze.
I know it is damn tricky since I froze mine three times, prior to doing it this way. Let me know how it goes.
I have no storage card. I reboot because I often close the device.
Could you explain the sign/unsign method ? That seems important as you say !
Which tool we have to use ?
louis09 said:
I have no storage card. I reboot because I often close the device.
Could you explain the sign/unsign method ? That seems important as you say !
Which tool we have to use ?
Click to expand...
Click to collapse
The programs are in the zip. But I think you need a storage card. That way the Mui file is extracted to something other than the phone itself. Get a storage card and then try it. They are not expensive.
Once extracted to storage drag the file on top of the unsign icon-it will flash and that is it. It is unsigned. Then open reshack and change out the word "Start"
compile script
save
Now drag the file over the msigner.
You will have to tell the program where to find the file through the interface of the msigner program.
It will sign the file and then you will have two shellres files. One will be shellres.dll.xxxx_original.mui or something like that. That is the old file.
place the new signed file in your storage card.
then follow the rest of the directions

Can't read Hindi Language Fonts on SGS II?

Hi all! Whenever some friends of mine update their Twitter a/c in Hindi Language Fonts, am unable to read them as they show up us empty rectangular boxes. Wasn't Gingerbread 2.3.3 supposed to support Hindi Language Fonts? Anyone knows how to fix this?
I guess I will have to add the Hindi font ttf file in the "fonts" folder in my Root> System folder. I have the droidhindi.ttf file downloaded but I don't know how to copy it to the required folder in root. It does not show sytem files when connected to a Laptop via USB. I can view the folder in Root Explorer on my phone, but how to transport the droidhindi.ttf file to the Fonts folder in the phone??
And will it work if I just add the drop the droidhindi.ttf file in the Fonts folder? Anyone who knows this??
a lot of indians are buying this phone
TheMegastar said:
I guess I will have to add the Hindi font ttf file in the "fonts" folder in my Root> System folder. I have the droidhindi.ttf file downloaded but I don't know how to copy it to the required folder in root. It does not show sytem files when connected to a Laptop via USB. I can view the folder in Root Explorer on my phone, but how to transport the droidhindi.ttf file to the Fonts folder in the phone??
And will it work if I just add the drop the droidhindi.ttf file in the Fonts folder? Anyone who knows this??
Click to expand...
Click to collapse
ok this is what you need to do...
goto systems/fonts and take a backup of DroidSansFallback.ttf
move it to computer/sdcard...but keep it safe...
now move the droidhindi.ttf to systems/fonts
rename droidhindi.ttf to DroidSansFallback.ttf
restart the browser....by killing it from task manager and relaunching...
go to a hindi site....
@pHyRe7
@woodstock_ahem : Thanks a ton for your response. In a hurry right now, will do as you posted in my first free time. Hope it works
@woodstock_ahem : Ok, got down to acting upon your advice. But the problem is that I can only view the /sdcard directory of my phone when connected to my laptop via USB cable. I cannot access any other space in the phone except the /sdcard.
I can view the root files via the Root Explorer app on my phone, so I tried to Move the DroidSansFallback.ttf from the System>Fonts folder, but when I click on the Move command, I get the message that "You cannot move System Files as they are Read Only". So the problem I'm facing is HOW to transfer the new .ttf file from my laptop to the Fonts folder in System? I can neither transport the new file from my laptop to the Fonts folder in the phone coz that folder is not accessible when connected to the laptop, nor can I move the existing DroidSansFallback.ttf file anywhere else from the Fonts folder on the phone. So what to do now?
Just a piece of info which might be useful for you : My phone has KE8 Kernel, is rooted but reverted back to original kernel to remove the yellow triangle.
TheMegastar said:
@woodstock_ahem : Ok, got down to acting upon your advice. But the problem is that I can only view the /sdcard directory of my phone when connected to my laptop via USB cable. I cannot access any other space in the phone except the /sdcard.
I can view the root files via the Root Explorer app on my phone, so I tried to Move the DroidSansFallback.ttf from the System>Fonts folder, but when I click on the Move command, I get the message that "You cannot move System Files as they are Read Only". So the problem I'm facing is HOW to transfer the new .ttf file from my laptop to the Fonts folder in System? I can neither transport the new file from my laptop to the Fonts folder in the phone coz that folder is not accessible when connected to the laptop, nor can I move the existing DroidSansFallback.ttf file anywhere else from the Fonts folder on the phone. So what to do now?
Just a piece of info which might be useful for you : My phone has KE8 Kernel, is rooted but reverted back to original kernel to remove the yellow triangle.
Click to expand...
Click to collapse
To alter any system files you need to set to R/W(read/write) if you keep it at read only you cant alter anything.(its designed as a protection)
On the top R/H conner of root explorer there is a button to set it to R/W or RO.
Hope this helps you.
Sent from my GT-I9100 using Tapatalk
To add to what @iznee has mentioned....
do the following:-
copy the droidhindi.ttf anywhere in the phone memory(after preferably creating a folder).. this doesnt need root explorer...just a file copy from the laptop should be enough... (you said you can see sdcard folder right ?... copy the file there)
i am guessing so far you have not used root explorer for anything else than browsing system files..else you wont be asking the question...
so first things first you have to provide root access to the root explorer app else you would not be able to provide it with r/w access...
install a free app superuser and give the root access allow to root explorer...
follow what @iznee has mentioned above
then follow what i advised in my first reply to this thread
@Iznee : "To alter any system files you need to set to R/W(read/write)".....this is what I had missed! Thanks a ton, your post was very helpful.
@woodstock_ahem : Thanks, Woody! Once I was able to change the option to r/w......rest was easy. Replaced the .ttf like you said. Now opening some hindi sites to test whether it works. And voila! it works! Thanks again to both of you
But one minor hiccup has occured. I've lost the Original DroidSansFallback.ttf file I'll tell you how. I had moved the original file to my sdcard>android folder. The original was a 4.5 MB file but it was showing as a .nomedia file with 0 bytes. So I thought let me move it to my Data Folder inside the Android folder from where I intended to transport the original file to my laptop, where I thought it would be safer. Till I moved the original file to my Android folder inside sdcard, the file was showing as normal (DroidSansFallback.ttf), but as soon as I moved it from there to my Data folder inside the Android folder it turned into a .nomedia file with 0 bytes! And when I moved it back to the android file it was still showing as a .nomedia file with 0 bytes.
So does this mean that Samsung is not allowing us to move the Original DroidSansFallback.ttf file outside the phone? I hope I will never need the original file as the file I replaced it with is working fine, but just in case I need it......now I don't have the original
Just as you got the droidhindi.ttf from the web you can get the lost file...you would also get it back when you update the next released firmware..or reflash ROM...plenty of ways...no big deal...this would be a learning point for you...
Sent from my GT-I9100 using XDA App
Ya, no big deal that I lost the original as the new one is working fine, so I won't miss the original. But my question was this.......does this mean that we cannot move system files of the phone outside the phone? How did the file change its filetype to .nomedia and its filesize to 0 bytes from 4.5MB?
i had not elaborated on how to copy a file from the phone memory to the computer assuming that is too simple to write about it...
i dont see any problem here...the learning point for you is..always...always create a new folder for taking backups...and not just move a file into a systems library..
this equates to dowloading a music file into c:\windows\system32\data as an example...why not have a separate folder for it..
i have taken a copy of DroidSanFallback.ttf into a new folder created in both Sdcard phone folder as well as into a folder created into external_sd (which is a separate physical sd card)...
can move it back and forth to/from computer without issues...
this will work for any kind of file..any extension...
so there is no issue here...

Data restore problem using Sony PC Companion

I am using Sony xperia S without any major problem.
But facing little problem after reset to factory settings or firmware repaired by P C companion . I back up my contacts,messages, Bookmarks and Settings using P C Companion There was no error or problems during the backup process.
After updating firmware When I tried to restore my data. It always shows that 'data restore failed'.
PC Companion has stored a ".dbk" file on my PC. But PC companion failed to restore my data to my SXS. I used both Windows 7 and XP but failed to get back my data.
Sony also aware this problem see this link-
http://talk.sonymobile.com/thread/35170
If anyone also facing this problem please share your experiences in this thread.
That happened to me too...
I tried everything and there is no solution...can't find any help on internet...sony support is useless in this matter...they don't even know why this happens!
Hope some solution comes out soon cause I lost a lot of important stuff like meeting, SMS, contacts...
1st yellow tint...then yellow white, micro and ear sound issues, now this...thanks a lot Sony...you are really doing it right
PS - I'm using this app now for backing-up and restore:
http://www.elita-clan.com/downloads/...re_v010935.apk
It is very easy to use and it works fine on my XPS
Solution
Hey there!
I had the same problem (just wanted to retrieve my Contacts) and managed to get them. In the following I will explain how. This method probably works with backups from other mobiles made with Sony PC Companion too.
I got the same problem (also only fullbackupdata), after rooting my mobile and not thinking of the problem, that it might not be able to restore the contacts.
Here's what I found out: I couldn't find anything with Google, so I decided to just look at the data of the file. It starts with:
ANDROID BACKUP
1
1
none
I did some Googeling again and found out, that it is the same file like an ICs created adb backup.
I also found a project to retrieve Data from backups: ht tp s: //github.c om/nelenkov/android-backup-extractor
HOW YOU CAN RESTORE YOUR DATA:
Get your Fullbackupdata-Contactfile.
1. First go to your backupfile: (C:\Users\YourUserName\Documents\Sony\Sony PC Companion\SomeNameDependsOnLanguage\
2. Make a Copy of your backup-File (crtl+c, crtl+v)
3. We want to change the file extension, so make sure you see it. If you don't see a .dbk at the end of your file, go in the explorer window in the left upper corner on organise -> Folder and search options. Change to view and then deselect "Hide extensions for known File types"
ht tp://kb.winzip.com/kb_upload/image/folder_options2.png
4. Rename (F2) the file to backup.zip
5. Open the zip with 7zip or something similar.
6. Navigate to Applications\com.sonyericsson.android.contactsimport and get the fullbackupdata file which is lying in this folder.
7. Put this file on your Desktop.
8.Download this jar-File: ht tp: //ge.t t/64TJmne/v/0?c
9. Put the .jarFile also on your desktop.
10. Doubleclick the .jar-File. After a few seconds a new file with the name "restore.tar" should show up (If not check if your fullbackupdata-File really has the name "fullbackupdata" and is on the desktop)
11. Open the .tarfile with 7Zip
12. Navigate to restore.tar\apps\com.sonyericsson.android.contactsimport\f\
13. Copy full_backup_vcard.vcf to the Desktop.
If everything worked you're finished, you can open this .vcf File via Windows-contacts -> import or put it directly on your phone and import it there (open Contacts. Settingsbutton -> impot)
If you don't trust my .jar file, you can also download the github-project follow their orders and compile it yourself.
I hope this helped also other people. It took me quite a while, so I thought I should share my solution.
Greetings Johannski
Ps: Sorry for the spaces in the links, I'm not allowed to post any
..
re johnanski
Johannski
got to step 9
nothing after that??
any suggestions
thanks
not getting the .vcf file
Johannski said:
Hey there!
I had the same problem (just wanted to retrieve my Contacts) and managed to get them. In the following I will explain how. This method probably works with backups from other mobiles made with Sony PC Companion too.
I got the same problem (also only fullbackupdata), after rooting my mobile and not thinking of the problem, that it might not be able to restore the contacts.
Here's what I found out: I couldn't find anything with Google, so I decided to just look at the data of the file. It starts with:
ANDROID BACKUP
1
1
none
I did some Googeling again and found out, that it is the same file like an ICs created adb backup.
I also found a project to retrieve Data from backups: ht tp s: //github.c om/nelenkov/android-backup-extractor
HOW YOU CAN RESTORE YOUR DATA:
Get your Fullbackupdata-Contactfile.
1. First go to your backupfile: (C:\Users\YourUserName\Documents\Sony\Sony PC Companion\SomeNameDependsOnLanguage\
2. Make a Copy of your backup-File (crtl+c, crtl+v)
3. We want to change the file extension, so make sure you see it. If you don't see a .dbk at the end of your file, go in the explorer window in the left upper corner on organise -> Folder and search options. Change to view and then deselect "Hide extensions for known File types"
ht tp://kb.winzip.com/kb_upload/image/folder_options2.png
4. Rename (F2) the file to backup.zip
5. Open the zip with 7zip or something similar.
6. Navigate to Applications\com.sonyericsson.android.contactsimport and get the fullbackupdata file which is lying in this folder.
7. Put this file on your Desktop.
8.Download this jar-File: ht tp: //ge.t t/64TJmne/v/0?c
9. Put the .jarFile also on your desktop.
10. Doubleclick the .jar-File. After a few seconds a new file with the name "restore.tar" should show up (If not check if your fullbackupdata-File really has the name "fullbackupdata" and is on the desktop)
11. Open the .tarfile with 7Zip
12. Navigate to restore.tar\apps\com.sonyericsson.android.contactsimport\f\
13. Copy full_backup_vcard.vcf to the Desktop.
If everything worked you're finished, you can open this .vcf File via Windows-contacts -> import or put it directly on your phone and import it there (open Contacts. Settingsbutton -> impot)
If you don't trust my .jar file, you can also download the github-project follow their orders and compile it yourself.
I hope this helped also other people. It took me quite a while, so I thought I should share my solution.
Greetings Johannski
Ps: Sorry for the spaces in the links, I'm not allowed to post any
Click to expand...
Click to collapse
hey i followed the steps..bt at step 12 i'm not getting the .vcf file..instead i'm getting a "_manifest" file..help please..
Sorry my answer comes just now, I'm not checking this forum very often.
@jain.saheel:
jain.saheel said:
hey i followed the steps..bt at step 12 i'm not getting the .vcf file..instead i'm getting a "_manifest" file..help please..
Click to expand...
Click to collapse
Hm seems like you have an other phone configuration than me...
I tested it with Sony Xperia Go with android Version 4.0.4.
Try googeling in which directory your Contacts are stored, than open with my jar file this file and you should be good to go.
If you don't find anything, you can also write your model and I try to find a solution... best you email me, I'm not sure when I will get o this forum (send (at) johannesdeml.com)
@stricler:
Do you have Java istalled? Are both files in the same directory (my .jar-File and your fullbackupdata file (which also has this name))?
If you can't manage to do it, you could also send me your file if you want to ( send (at) johannesdeml.com).
My jar File should still work, got a lot of positive feedback here: talk.sonymobile .com/thread/51298?start=10&tstart=0
com.sonyericsson.android.socialphonebook folder
jain.saheel said:
hey i followed the steps..bt at step 12 i'm not getting the .vcf file..instead i'm getting a "_manifest" file..help please..
Click to expand...
Click to collapse
=================
I find android "Xperia go" 4.1.2 backup contacts in com.sonyericsson.android.socialphonebook folder :good:, after restoreData.jar unzip and open full_backup_vcard.vcf with excel
jain.saheel said:
hey i followed the steps..bt at step 12 i'm not getting the .vcf file..instead i'm getting a "_manifest" file..help please..
Click to expand...
Click to collapse
I had the same problem, here's the solution:
in step 6 instead of navigating to Applications\com.sonyericsson.android.contactsimport you should go to Application\com.sonyericsson.android.socialphonebook and get the fullbackupdata file from there.
I followed the steps. but on clicking on the jar app, my nokia suite opens up! :/
Johannski You are Awesome.
Thanks brother for all your help. All my contacts restored...!!
Thank You:angel::angel:
i cant get the .tar file. what should i do?
Johannski said:
Hey there!
I had the same problem (just wanted to retrieve my Contacts) and managed to get them. In the following I will explain how. This method probably works with backups from other mobiles made with Sony PC Companion too.
I got the same problem (also only fullbackupdata), after rooting my mobile and not thinking of the problem, that it might not be able to restore the contacts.
Here's what I found out: I couldn't find anything with Google, so I decided to just look at the data of the file. It starts with:
ANDROID BACKUP
1
1
none
I did some Googeling again and found out, that it is the same file like an ICs created adb backup.
I also found a project to retrieve Data from backups: ht tp s: //github.c om/nelenkov/android-backup-extractor
HOW YOU CAN RESTORE YOUR DATA:
Get your Fullbackupdata-Contactfile.
1. First go to your backupfile: (C:\Users\YourUserName\Documents\Sony\Sony PC Companion\SomeNameDependsOnLanguage\
2. Make a Copy of your backup-File (crtl+c, crtl+v)
3. We want to change the file extension, so make sure you see it. If you don't see a .dbk at the end of your file, go in the explorer window in the left upper corner on organise -> Folder and search options. Change to view and then deselect "Hide extensions for known File types"
ht tp://kb.winzip.com/kb_upload/image/folder_options2.png
4. Rename (F2) the file to backup.zip
5. Open the zip with 7zip or something similar.
6. Navigate to Applications\com.sonyericsson.android.contactsimport and get the fullbackupdata file which is lying in this folder.
7. Put this file on your Desktop.
8.Download this jar-File: ht tp: //ge.t t/64TJmne/v/0?c
9. Put the .jarFile also on your desktop.
10. Doubleclick the .jar-File. After a few seconds a new file with the name "restore.tar" should show up (If not check if your fullbackupdata-File really has the name "fullbackupdata" and is on the desktop)
11. Open the .tarfile with 7Zip
12. Navigate to restore.tar\apps\com.sonyericsson.android.contactsimport\f\
13. Copy full_backup_vcard.vcf to the Desktop.
If everything worked you're finished, you can open this .vcf File via Windows-contacts -> import or put it directly on your phone and import it there (open Contacts. Settingsbutton -> impot)
If you don't trust my .jar file, you can also download the github-project follow their orders and compile it yourself.
I hope this helped also other people. It took me quite a while, so I thought I should share my solution.
Greetings Johannski
Ps: Sorry for the spaces in the links, I'm not allowed to post any
Click to expand...
Click to collapse
I cant get the .tar file
injamuljamil said:
I cant get the .tar file
Click to expand...
Click to collapse
Well that is not a lot of information. Probably you have a problem with your java installation. Try to run the program with the commandline to get more information. Therefore run the command "java -jar restoreData.jar" in the folder where the jar lies.

[Q] Android Stock Browser - help please!

Hi to all
My Streak 5 is running DSC ROM v1.1 and am using the included Android stock browser (v2.3.3).
When I try to view adfly web pages (eg *******/), I am not able to see them - I get the 'web page not available' error message.
What do I need to do to both view these kind of web pages and also for them to load properly in the Android browser? I can see the pages on any PC but have singularly failed to find a way via the browser on my phone
Many many thanks to anyone who can put me out my misery..
This may be due to the modified hosts file that is included with DSC. Look in /system/etc/ and find a file named hosts. Make a backup of it. Open the original in a text editor and remove everything but this line:
127.0.0.1 localhost
Leave a blank line at the end of the file, save and exit.
It may require a reboot to be effective. If it doesn't work, just revert to your backup.
lordmorphous said:
This may be due to the modified hosts file that is included with DSC. Look in /system/etc/ and find a file named hosts. Make a backup of it. Open the original in a text editor and remove everything but this line:
127.0.0.1 localhost
Leave a blank line at the end of the file, save and exit.
It may require a reboot to be effective. If it doesn't work, just revert to your backup.
Click to expand...
Click to collapse
Thanks very much for the quick reply - much appreciated. Your suggestion about the hosts file gave me a clue.
I have AdAway installed, which blocks ads (on both webpages and those sent/displayed by apps and games) by modifying the hosts file. I disabled AdAway and reverted to the DSC ROM hosts file - and I can now see adfly pages on the browser.
However, I still wish to block ads on web pages, while still being able to use adfly-type sites. I also don't want to lose the ability to block ads shown/sent by apps & games. Is there an alternative method to block these?
AdAway was extremely effective at doing its job and I'd be loath to lose that functionality. For example on my PC, I use Chrome with AdBlockPlus extension which allows me to see and navigate through adfly-type sites while not being subject to ads.
Any advice or suggestions would be gratefully received. Thanks again for your help.
Cheers
AdAway and other such programs only combine the lists of blocked sites compiled by well-known sites into a single HOSTS file. They currently cannot exclude specific sites. For that, you have to edit the file manually.
Continue using AdAway, but use a text editor afterward to manually update the HOSTS file to exclude the site you want to see.
Strephon Alkhalikoi said:
AdAway and other such programs only combine the lists of blocked sites compiled by well-known sites into a single HOSTS file. They currently cannot exclude specific sites. For that, you have to edit the file manually.
Continue using AdAway, but use a text editor afterward to manually update the HOSTS file to exclude the site you want to see.
Click to expand...
Click to collapse
Actually AdAway has a whitelist facility. I've added ******* to it but can still see all the ads, unlike when I use AdBlock Plus under Chrome on a PC. Guess that'll have to do, unless anyone knows of a more elegant solution..
Cheers
I've used AdAway for months now and didn't realize it had a whitelist. Good to know the feature exists, though I am unlikely EVER to use it.
lordmorphous said:
This may be due to the modified hosts file that is included with DSC. Look in /system/etc/ and find a file named hosts. Make a backup of it. Open the original in a text editor and remove everything but this line:
127.0.0.1 localhost
Leave a blank line at the end of the file, save and exit.
It may require a reboot to be effective. If it doesn't work, just revert to your backup.
Click to expand...
Click to collapse
thanks bro!!!
I stop using adaway due to this problem. SO many website can't be opened. MOdify the host file and now things work again or just click disable adaway and it will modify the host file for you
For the app, you might want to use lucky patcher to block the ads
lordmorphous said:
This may be due to the modified hosts file that is included with DSC. Look in /system/etc/ and find a file named hosts. Make a backup of it. Open the original in a text editor and remove everything but this line:
127.0.0.1 localhost
Leave a blank line at the end of the file, save and exit.
It may require a reboot to be effective. If it doesn't work, just revert to your backup.
Click to expand...
Click to collapse
Can't find system , can you be more specific , not able to find in file manager
pramodb said:
Can't find system , can you be more specific , not able to find in file manager
Click to expand...
Click to collapse
You need to be using a file manager that allows root functions, such as ES File Explorer, Root Explorer, etc. A non-root enabled file explorer won't allow you to see /system/
lordmorphous said:
You need to be using a file manager that allows root functions, such as ES File Explorer, Root Explorer, etc. A non-root enabled file explorer won't allow you to see /system/
Click to expand...
Click to collapse
Dude , I used es explorer and I'm still not able to find system
pramodb said:
Dude , I used es explorer and I'm still not able to find system
Click to expand...
Click to collapse
Did you enable the root explorer features of ES? I'm not sure where to go from here to help you. Finding /system/ is pretty basic stuff.
If you are familiar with using adb, you can use it to pull the file to your computer, edit it, and push it back into place. The command would be:
adb pull /system/etc/hosts
adb push hosts /system/etc/hosts
There are lots of guides available for using adb and it is a worthwhile tool to know and use.
I like Notepad ++ for editing files on my computer. It's free and simple to use.
I'm willing to help, but keep in mind that I no longer have this phone as I moved on to the S3 last July.
lordmorphous said:
Did you enable the root explorer features of ES? I'm not sure where to go from here to help you. Finding /system/ is pretty basic stuff.
If you are familiar with using adb, you can use it to pull the file to your computer, edit it, and push it back into place. The command would be:
adb pull /system/etc/hosts
adb push hosts /system/etc/hosts
There are lots of guides available for using adb and it is a worthwhile tool to know and use.
I like Notepad ++ for editing files on my computer. It's free and simple to use.
I'm willing to help, but keep in mind that I no longer have this phone as I moved on to the S3 last July.
Click to expand...
Click to collapse
Okay , got it but it is already in the way you said of should he , what do you suggest I do now
lordmorphous said:
Did you enable the root explorer features of ES? I'm not sure where to go from here to help you. Finding /system/ is pretty basic stuff.
If you are familiar with using adb, you can use it to pull the file to your computer, edit it, and push it back into place. The command would be:
adb pull /system/etc/hosts
adb push hosts /system/etc/hosts
There are lots of guides available for using adb and it is a worthwhile tool to know and use.
I like Notepad ++ for editing files on my computer. It's free and simple to use.
I'm willing to help, but keep in mind that I no longer have this phone as I moved on to the S3 last July.
Click to expand...
Click to collapse
Okay , I got it and its in the way you said it should be , so any suggestions. And BTW I'm using gt-p5100 on job 4.2.2 via CyanogenMod
Well, that ruled out the hosts file. I'm stumped now. If I think of something I'll post it.
lordmorphous said:
Well, that ruled out the hosts file. I'm stumped now. If I think of something I'll post it.
Click to expand...
Click to collapse
Hi
I had the same problem like others had so what i did , i just move the host file from system/etc to just system , now i can open adf and other sites but now i can see ads running in my apps and games . Now i want to manually edit the hosts file so that the ads won't run in apps & games but it won't block adf . So can u tell me which data to remove from the host file ??
Okay i just remove the adf (dot)ly and cdn(dot)adf(dot)ly from the hosts and now i can open adf and also no ads in the apps or games.
But has problem with the linkbucks , still can't open it and can't find it in the hosts also
easy video tutorial made by me
https://www.youtube.com/watch?v=Kaochdv3cbs
Hi
hi
after doing that i have this error
unable to connect proxy server
how to fix this?

Question one+-latest do it all tool

i found this on a gsm forum thought id share it here
32.33 MB file on MEGA
mega.nz
I have this... its not worked for me so far
This is a windows .bat file that is "protected" and is written to work with Android 11 and half the functions are not the same with the Android 12 ColorOS base version. If the author would have shared it with the .bat file in plain text, someone might have updated it and left his credit and not just stole his work and renamed it.
Not everyone embraces open source ideals.
Yes this work with os11 not for os12
All you have to do is run the exe, then browse to where it extracts the contents to. IE:
c:\Users\<username>\appdata\local\temp
....
the.real.p3y0t3 said:
All you have to do is run the exe, then browse to where it extracts the contents to. IE:
c:\Users\<username>\appdata\local\temp
....
Click to expand...
Click to collapse
You have not dealt with well written .bat file obfuscation. I have the .bat file, but it has been run through a tool that converts the editable ASCII into expressions and different encoded base (x) that are more work to resolve than to re-write the batch file.
Challenge: Make this working executable .bat file plain ascii again.
Your story, tell it like you believe it ;-)
Honestly though, why not look for your self? Ive already done it with this "tool". Not obfuscated at all. If yer having problems finding the files, run the EXE, choose one menu option, go to yer temp DIR and sort the contents by date modified, and with the FILES listed first, scroll down to where it starts listing directories. It will be the first one listed. Have fun!
\\'eird dunno why it didnt attach the file to the previous post. I should have made clear that the file you seek was located in the tmp directory thats created under the parent directory... You seemed to know what you were talking about, so I assumed little to no hand-holding would be needed...
Its worth mentioning that all of these bat2exe tools use the same (or nearly the same..) method for urm ehhh "obfuscation"; IE: upon running the app, it inflates the files to your appdata\local\temp directory. Sometimes the "app" will be password protected, and wont unpack the exe until the correct password is entered. For myself its force of habit to go check my temp dir after running any of these style tool things... And you should too!

Categories

Resources