yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] Binary100100:
cannot create hosts

C:\Documents and Settings\Administrator\Desktop>adb shell

# sh /sdcard/adblock.sh

sh /sdcard/adblock.sh

ADBLOCK: Testing for Internet Connection...

ADBLOCK: Success

/sdcard/adblock.sh: cannot create hosts: read-only file system

/sdcard/adblock.sh: cannot create hosts: read-only file system

ADBLOCK: Failed to download MVPS Source

/sdcard/adblock.sh: cannot create hosts: read-only file system

ADBLOCK: Failed to download pgl@yoyo.org Source

ADBLOCK: Adding Mobile Ads to blocklist

/sdcard/adblock.sh: cannot create hosts: read-only file system

/sdcard/adblock.sh: cannot create hosts: read-only file system

/sdcard/adblock.sh: cannot create hosts: read-only file system

ADBLOCK: Error Files Not Downloaded

ADBLOCK: Remounting /system to read-write

rm: cannot remove '/system/etc/hosts': No such file or directory

cp: cannot stat '/sdcard/hosts': No such file or directory

ADBLOCK: Updated Hosts

ADBLOCK: Remounting /system to read-only

rm: cannot remove 'hosts': No such file or directory

#
[G1 Android Development] rastacre:
I had the same problem, thn i moved:

echo "ADBLOCK: Remounting /system to read-write"
mount -o remount,rw /dev/block/mtdblock3 /system

at the beginning of the script, and now it works fine
[G1 Android Development] jashsu:
Adblock lists do not change drastically very often. I usually just run the script once a month. If I see some glaring ad that I didn't notice before, i'd probably run the script as well.
[G1 Android Development] devsk:
Isn't this inefficient, slow and really crude way of doing the ad block? The hosts file scans and searches are going to be painfully slow and it may slow down the phone because all of it will need to be in RAM. It will slow down the browser because of linear scan of the entire file.

I thought this was thrown out as ad blocking mechanism a long time ago.
[G1 Android Development] Binary100100:
But isn't that the same as having your system as rw before running the script? I tried it and it still gave me the same result.
[G1 Android Development] Gilliland12:
Does this need to be rerun after every restart or will it persist?
[G1 Android Development] jashsu:
If you've got a more elegant way to block ads we're all ears.

It will persist. You only need to run the script when you want to update/refresh the hosts with new data.
[G1 Android Development] innerspace:
I don't notice any particular slowdown when compared to AdFree Android. It actually seems to move a bit faster in the browser... maybe its just me.
[G1 Android Development] jashsu:
AdFree uses HOSTS method as well.

A linear search of a 500kb hosts file loaded into memory isn't going to be particularly performance degrading for most websites (which generally have up to a dozen domains). It is possible to further increase performance by sorting the HOSTS file entries by decreasing frequency.
[G1 Android Development] wigwag:
nevermind im porting it myself
[G1 Android Development] jashsu:
http://lmgtfy.com/?q=iphone+hosts+file

Edit: Ah, I misread your question. I suppose you mean 'will the adblock.sh script work on iPhone', not 'will HOSTS-based blocking work on iPhone'. Since iPhone OS is also based on *nix, I don't see why not, provided that you modify the appropriate paths in the script.
[G1 Android Development] strvmarv:
I miss ADfree

I may be wrong here, but isn't the read-only error indicating that the script is trying to write the temporary HOST files somewhere other than the SDcard (i.e. whatever current directory terminal is running from)?

I just added this to the top of the script and it works fine:

cd /sdcard

Now "working fine" on the other hand doesn't mean much. None of the provided URLs return anything. You'll get a HOSTS with admob and that's about it. Gonna have to troll some forums to find some working HOST files.

Big thanks to the original creator of this script...
[G1 Android Development] :
http://mathdotrandom.blogspot.com/2010/12/block-ads-on-pc-android-with-uber-hosts.html
[G1 Android Development] dhkr123:
I really don't think that it is appropriate for the script to be remounting the system partition and modifying files there. In fact, it is HORRIBLY inappropriate.

Rather than any kind of remounting, it should ONLY output the CONTENTS of the new hosts file... on stdout. LET THE USER DEAL WITH MOUNTS AND FILE CHANGES!!!!

I.e. "adblock.sh > /etc/hosts".

That, along with a RETURN STATUS (success/failure/failure/failure/etc) is all it should do.
[Upgrading, Modifying and Unlocking] hdubli:
Hello All

First attempt to have a custom ROM on P835.Made a lite ROM.Removed ezi music and all that stuff.Disabled install of Extended ROM and similar things done.If needed I can upload for test.

Here you go

http://asus.forumpro.eu/p835-f11/61-lite-for-test-wwe-t24.htm#96
[Upgrading, Modifying and Unlocking] 2daMax:
Good work! How much Free ROM and RAM with this Lite version?

My P835 still in service center :(
[Upgrading, Modifying and Unlocking] lizard999:
Thanks for your hard work, I've been waiting for this so long, please upload link, many thanks.
[Upgrading, Modifying and Unlocking] tintin814:
Nice job. Please upload the rom for testing.
[Upgrading, Modifying and Unlocking] andycmc:
:D great ! been waiting for new rom to remove those useless stuffs from P835 ! Pls. upload !
[Upgrading, Modifying and Unlocking] nelsonwww:
Thanks for your help:)
[Upgrading, Modifying and Unlocking] steveling:
we need that pls upload asap thx
[Upgrading, Modifying and Unlocking] tintin814:
May I know when will it be available?
[Upgrading, Modifying and Unlocking] RayHK:
Look forward to trying this lite version. Thanks!
[Upgrading, Modifying and Unlocking] cheongpl:
yummy.........:p

hdubli, pls upload once you finish the custom rom.......
[Upgrading, Modifying and Unlocking] hdubli:
Here you go.

http://asus.forumpro.eu/p835-f11/61-lite-for-test-wwe-t24.htm#96

kindly post your feed back so that improvements can be made. and surely 6.5 is on way :)
[Upgrading, Modifying and Unlocking] nelsonwww:
7-zip say the file is broken.....:confused:
[Upgrading, Modifying and Unlocking] tintin814:
Data error in 'G5_ALL_WWE.abi'. File is broken.

The file cannot be unzipped. Could you please upload again?
[Upgrading, Modifying and Unlocking] nelsonwww:
thanks hdubli~
[Upgrading, Modifying and Unlocking] cheongpl:
zip file error..............:(

Where is the rom......where is the rom.

I'm really hungry....need to cook sometime
[Upgrading, Modifying and Unlocking] wingolai:
Nice job.

Think!
[Upgrading, Modifying and Unlocking] hdubli:
Link corrected dl and test :)
[Upgrading, Modifying and Unlocking] cheongpl:
thank hdubli for the lite rom.

I found out 3 issue:

1. Messages & Email not working

2. GPS updater not working

3. GPRS not working

Can you fix the issue?

Sad thing happen, I can't flash back to my original firmware--> Malaysia version.

During the flash back, the rom ask for the language firmware version..........

Which rom version hdubli using to do this custom rom

Error message as below:

Hdubli can you solve this issue.........

Beside that, can you provide the ext.rom.

Maybe this error is cause by this ext.rom.
[Upgrading, Modifying and Unlocking] hdubli:
I have the whole ext rom cabs.well you can also do.Install total commander ande fo to ASUS_ROM and install.Then pls chck and let me know if u messaging and all are working or not

P.S : Found Solution.

Unrar the archive

Copy all files to /Windows

Then execute installer

it will injstall the ext ROM and the version as well

then one can go back to the stock ROM.

Am extremely sorry for causing a little inconvenience.I will correct these things in my future release. :)

http://www.mediafire.com/download.php?dtylzynumwk
[Upgrading, Modifying and Unlocking] cheongpl:
I try install the Asus_Rom on the main storage.

Nothin hapeen to the messages.

I can't create new SM or read SMS.

But the mms is fine
[Upgrading, Modifying and Unlocking] hdubli:
Hi try this cab and let me know pls :)
[Upgrading, Modifying and Unlocking] cheongpl:
check...........close issue.

But hdubli can you provide me a GPRS solution?

I try all the ASUS_ROM .cab in the main storage.

Still can't get the gprs getting right.

If this issue settle....

I can say is a perfect Custom Lite rom.
[Upgrading, Modifying and Unlocking] tintin814:
May I know what is the language for the lite rom? Malaysia, Taiwan or Hong Kong?
[Upgrading, Modifying and Unlocking] cheongpl:
Look like hdubli state as WWE.....

It mean for all.....:p

Hdubli,

Is anyway for me to turn back to my previous rom---> Malaysia version.

i feel sick with this custom lite rom.....

Maybe you can help to return back to the original rom...
[Upgrading, Modifying and Unlocking] tintin814:
For all? that mean it is multi-language? So fantastic, even Windows still cannot do this without the help of language pack.

Hdubli already provided solution for restore orignal rom in post#20

Kindly read through the thread before ask.
[Upgrading, Modifying and Unlocking] cheongpl:
tintin814,

Thank to info. me.

I missing off this part.

Just started to cook my PDA.---> Noob

So need alot of try and error stuff.

Anyway, i learn alot of thing through XDA.

:):):)

Hdubli done a good job anyway..:)
[Upgrading, Modifying and Unlocking] tintin814:
The battary indicator does not show correctly.

It shows as charging after disconnect the cable and vice versa.
[Upgrading, Modifying and Unlocking] hdubli:
Hi,

Here am not talking of langauge pack, but the EXT ROM Version = the language ID in case of all ASus ROMs.So if we manupulate a little the extended rom we can get the ROMs in such a way that if some one doesn't like the custome ROM one can go back to stock ROM of its own regeion.

Also, if one uses WWE, I think it doesn't matter if it is SGP, MSY unless it is languade specific, VIZ CHT/CHS/RUS etc.

I hope am able to clarify
[Upgrading, Modifying and Unlocking] cheongpl:
This is good ideal to manipulate the ext_rom.

So we not need to sick each time we flash the rom.

But this need alot of work, hdubli.:o

Anyway, thank 1st
[Upgrading, Modifying and Unlocking] tintin814:
Hi, Hdubli

it seems the Ext rom fix file provided will install the India version, so only the India stock rom can be flashed back, not others. Is it possbile to flash back stock rom in other version?

Please correct me if I'm wrong.
[Upgrading, Modifying and Unlocking] pak1to:
Hi, Hdubli

great work!still thx

many thn for share on Tools for decript ROMs for Р835
[Upgrading, Modifying and Unlocking] hdubli:
well yes..but atleast u are on stock rom and it is ok if u r using wwe biy if cht/chs then let me know, it is possible to flash back the original rom as well
[Upgrading, Modifying and Unlocking] tintin814:
Hdubli, so could you provide the ext rom fix for CHT_HKG00? Of course India rom is also stock rom, even mauch better the the Hong Kong stock rom, but it is the warranty issue. With the LanguageID HKG00, then I can flash the MYS stock rom provided by Logout and keep the warranty.

Thanks in advance.
[Upgrading, Modifying and Unlocking] hdubli:
I will upload the HK ROM for u
[Upgrading, Modifying and Unlocking] cheongpl:
hdubli,

pls make me a favor on the MY rom.....

Can you create MY stock rom for Malaysia cooker?
[Upgrading, Modifying and Unlocking] hdubli:
u want MSY rom 6.5 ?
[Upgrading, Modifying and Unlocking] cheongpl:
yes..........

This is because P835 is good selling pda phone.

For sure will have alot Malaysia user will flash this rom.

Let say, now my rom is IND00 rom 6.5. If you create the MYS00 6.5.

Can i flash to this MYS00 rom???
[Upgrading, Modifying and Unlocking] 2daMax:
cheong,

Looks like your P835 is going to survive the Touch Screen issues. It's coming to 2 weeks already since the u had it exchanged. If this model kaput again, u can go ask your money back from your reseller (actually, the reseller will claim against Asus). It can be done.

The only things I missed on the P835 is the directional trackball n 3.5" screen.

Which version of SPB MS 3 are u using? 3.0.0, 3.0.1 Beta or full release 3.0.1? There seems to be issues with battery drain with 3.0.1 while 3.0.0 is fine. You comments please.
[Upgrading, Modifying and Unlocking] cheongpl:
But still not secure.......

Yesterday I used about 1 hour of Garmin in KL.

Search for destination.

Still survive.

SPB 3.0.1 is battery sucker.......

I think SPB 3.0.0 is better.

But SPB 3.0.0 is lag if you install on P835.

The changes is not much on the SPB 3.0.0 to 3.0.1
[Upgrading, Modifying and Unlocking] wingolai:
Release HK.ROM Asus P835 [20060605 RENEW!]

Release HK.ROM Asus P835: V4.11.0.V3.6.12 P2 CHT HKG00_V2.3.6

[ASUS P835 6月5日官方香港正體[繁體]中文ROM已火熱登場,不敢獨享,請各位慢用,望高手出招造出更完美的ROM !]

Here you go:

ftp://ftp.asus.com.tw/pub/ASUS/Mobile_Phone/P835/V4_11_0_V3_6_12_P2_CHT_HKG00_V2_3_6.zip
[Upgrading, Modifying and Unlocking] wingolai:
Release Asus P835 Hong Kong NEW ROM : V4.11.0_V3.6.12 P2 CHT_HKG00 V2.3.6

Release Asus P835 Hong Kong NEW ROM : V4.11.0_V3.6.12 P2 CHT_HKG00 V2.3.6

[ASUS P835 6月5日官方香港正體[繁體]中文ROM已火熱登場,不敢獨享,請各位慢用,望高手出招造出更完美的ROM !]

Here you go:

ftp://ftp.asus.com.tw/pub/ASUS/Mobile_Phone/P835/V4_11_0_V3_6_12_P2_CHT_HKG00_V2_3_6.zip
[Upgrading, Modifying and Unlocking] andycmc:
this is an international web site, English please:mad:
[Upgrading, Modifying and Unlocking] 57028407:
Whether can put the ROM of one inside text version！Lite 6.1

thanks！！

Can tell this rom address!English isn't good and the invitation card doesn't understand!!Thank first
[Upgrading, Modifying and Unlocking] 57028407:
Whether there is the player of China, I together beg "Lite 6.1"!If that friend have and the trouble delivers my an address and perhaps give me the mail!

Mailbox:57028407@qq.com QQ:57028407

是否有中国的玩家，我同求“Lite 6.1”！那位朋友有的话，麻烦发我个地址，或者给我邮件！ 在此先谢谢各位了！！！邮箱：57028407@qq.com QQ:57028407
[Upgrading, Modifying and Unlocking] himegoto:
Im confused. So does the original lite pack here contains language support for S/T Chinese?
[Upgrading, Modifying and Unlocking] irq:
Dear hdubli ,i get a problem , the "active sync" can not run after the burn the "Lite 6.1 ROM" . help.
[Upgrading, Modifying and Unlocking] irq:
Problem solved (uninstall the chinese support). thx
[Upgrading, Modifying and Unlocking] duckhong:
i am a new guy for the ppc system .

can somebody teach me how to use the lite rom?

which version is most secure?

where can i download?

pls. help me .kindly people.
[Touch Diamond2, Pure Themes and Apps] shawchyn:
Hi there,

I would like to find out how can I put the album photos of the music that I had into the Diamond2 music play, so i won't get a boring standard icon to show for all my music.
[Touch Diamond2, Pure Themes and Apps] Laban:
Also had problems with this and there are a few good guides out there. The easiest solution is to name the album cover "folder.jpg" and then put it in the music folder of that certain album:

Music\Bruce Springsteen\Folder.jpg

Music\REM\Folder.jpg
[Touch Diamond2, Pure Themes and Apps] shawchyn:
I did the similar thing, but the album photo also doesn't want to show up :(
[Touch Diamond2, Pure Themes and Apps] 2Fresh:
There's a little trick to this;

After you put the Folder.jpg in each Artist- (or Album-)directory, go to Settings - More - Personal - Today - Items and remove the mark for TouchFLO 3D.

Soft Reset the phone.

Delete the file \Application Data\HTC\AudioManager...\AudioManager_Eng.

Reactivate TouchFlo 3D (reverse from first bullet)

Go to Music, wait for search to finish, Presto!
[Touch Diamond2, Pure Themes and Apps] shawchyn:
Thanks Bro, it work!

Another question, can I exclude some folders or just want the audio manager to search in the folder called "My Music"?

Asking that because I create another folder called "My Ringtone" and I don't want the Audio Manager to look into that folder, as normal, a ringtone is just a mp3 which abt 30s long, so it is very irretating to have it listed in the Audio Manager. :)
[Touch Diamond2, Pure Themes and Apps] zlobix:
Hi 2 all, I have more simple decision for this trouble (without any soft reset or TouchFlo removing): just rename album_cover.jpg in Album dir to hTC_AM_AlbumArt.jpg and you will see the changes immediatley :D - I have ~90 album folders and its really work for me :D
[G1 General] RainCrow:
Hey guys!

Alright so I'm having a new issue with my G1 thats truly driving me nuts. Pretty much the long and short of it is that the volume of my earpiece during calls is really quiet.

I did a few things to try and fix it:

Tried switching builds (Haykuro's to the Dude's Build)

Tried a clean wipe

Disabled App2SD

Downloaded Volume Control

Anyways so I was hoping someone else who might have had a similar problem figured something out to fix it. Help? Please? : )
[G1 General] DOHCtor:
I only had this problem with the dude's earlier builds but I just connect/disconnect it to a bluetooth device and the speaker sound would be loud again.

I never experienced the sound issue in jf1.5 though.
[G1 General] RainCrow:
Alright well after much poking and fixing I finally decided that the problem had to rely in the hardware. So I called up tmobile and their sending me a new one.

Tried out your tip though Dr and still no luck for me.

As a side note, Tmobile tech support gets really funny when you mention root.

TS: Have you checked out androidcommunity.com?

Me: Oh ya! Is that the place where you get that root app or whatever from?

TS: Get what?

Me: I think its called root?

TS: .....not sure what that is....
[Touch Diamond2, Pure Accessories] Fatguy:
Do anyone use this matt finishing battery cover for TD2?

I wanted to change to this matt finishing battery cover but do not know where find this...

Cos firstly orignal shiny finishing cover is a finger print magnet and secondly very easily scatched !

I alraedy have a scatch mark just below the pointed end of the camara....

:cool::cool:
[Touch Diamond2, Pure Accessories] colonel:
I here tell that HTC will be releasing alternative battery doors at some point, including a furry one :). No dates yet
[Touch Diamond2, Pure Accessories] calico:
There already exist 2 different covers, black and brown, but no matt finish (to buy)

at the moment.

http://www.gsm4world.us/htc-touch-diamond-2-p-474_210.html

I hope the matt one comes soon.
[Touch Diamond2, Pure Accessories] HorzaSe:
Here is a link from Taiwan, seems kinda expensive though:

http://translate.google.com/transla...em/p0289289493&sl=zh-CN&tl=en&history_state0=
[Touch Diamond2, Pure Accessories] Mar'Cel:
My german Diamond2 (MDA Compact V) has a matt finishing battery cover.

With a brushed alu part, around the cam. .

But looks like it does not fit to the original HTC-device.

Btw. the diamond (MDA Compact IV) had a similar back cover. The T-Mobile-version of the HTC devices always had matt covers instead of the shiny finishined.
[Touch Diamond2, Pure Accessories] mrmckeb:
I read on Engadget that it'd go for around AU$30 if I remember correctly... or maybe it was more...
[Touch Diamond2, Pure Accessories] jeutie:
I want one aswell... The diamond is a perfect device, But the gloss battery cover... It just isn't my thing.

Although on ebay... They DO sell full housings, Which contains a matte battery cover, costs 60€ though
[Touch Diamond2, Pure Accessories] woelv:
you may keep the back cover and resell the rest to someone who's housing broke.
[Touch Diamond2, Pure Accessories] eXelero:
keep us updated if one appears. i really wanna get a matte one! the default backplate really sucks monkey balls... :/
[Touch Diamond2, Pure Accessories] jeutie:
http://www.htcaccessorystore.com/nl/p_htc_item.aspx?i=179389

this is on their website... How would that fit the Topaz :-s ?
[Touch Diamond2, Pure Accessories] Tatsch:
Just use nippers ...
[Touch Diamond2, Pure Accessories] custardo01:
It says N.B. The product image is for illustration only, not the actual bettery cover.:) Doesn't say if it is matt or black plastic though.
[Touch Diamond2, Pure Accessories] jeutie:
Thanks mate, When someone can confirm it's a matt one I'm buying!
[Touch Diamond2, Pure Accessories] Pirreballo:
Just arrived for the full housing for Topaz with matt cover!

Absolutely the best!

No more fingerprints, scratches or soap effect.

The cover seems rubberized. It is less creaking and more compact.

Definitely needed! ;)
[Touch Diamond2, Pure Accessories] fourqui:
where did you get it, i want one :D:D
[Touch Diamond2, Pure Accessories] Pirreballo:
http://cgi.ebay.it/ws/eBayISAPI.dll?ViewItem&ssPageName=STRK:MEWNX:IT&item=120407614237\

The matt cover is arrived with the metal front and a set of screwdrivers and plectrum to open the phone.

To have as insurance in case of crash! :D
[Touch Diamond2, Pure Accessories] custardo01:
How can we find out? I want one but don't want to pay 60 euros!
[Touch Diamond2, Pure Accessories] Pirreballo:
If it can help U are 50€ and not 60€! :D

Anyway there's also the front cover, yeah we don't need it now but.... never says never! Uah!Uah!
[Touch Diamond2, Pure Accessories] custardo01:
That does help me thanks I thought it was Euros because of the Italian language. How long did it take to reach you after ordering?
[Touch Diamond2, Pure Accessories] Pirreballo:
Ten days: very fast considering the distance!
[Touch Diamond2, Pure Accessories] MasK:
Well, tell us where ya got it then ;)
[Touch Diamond2, Pure Accessories] peebee77:
What a big mess! HTC must have noticed, that everybody is looking for a black matt cover or not?

Did anybody try to contact HTC regarding this matter? Asking, if there will ever be a matt one? :(

I just ordered a set of shields from gadget shieldz. But when the matt black Batt cover comes, I will buy it :D
[Touch Diamond2, Pure Accessories] dtosun:
anybody try matt cover? please share us where to buy and pictures
[Touch Diamond2, Pure Accessories] omron:
I'm sorry certain reasons to be unable very much to inform the related purchase information.:(

The other day the htc official personnel received a letter kindly, I only then deleted the picture (#958285).

But... It's limited edition!

(htc Black matt battery cover from Taiwan)

Links about the picture primitive source

http://www.mobile01.com/topicdetail.php?f=224&t=1031181&last=11709997
[Touch Diamond2, Pure Accessories] peebee77:
Cannot read anything of this... :confused:
[Touch Diamond2, Pure Accessories] WMguy:
Well, I did the ol' transparent matte acrylic spray paint technique suggested earlier in the thread after returning my cover that didn't fit.

I must say it's not too shabby for $3. The key if you do it is to apply 2 or 3 VERY light coats. First time I did it, I got it on way too thick and it all peeled right off.

Thanks to whoever posted this idea. I'm content for now.:)
[Touch Diamond2, Pure Accessories] teryoXin:
http://xdaforums.com/showpost.php?p=4019955&postcount=154
[Touch Diamond2, Pure Accessories] peebee77:
So they never will sell one :(

Well okay! Very sad!
[Touch Diamond2, Pure Accessories] Fatguy:
Gadget Shieldz is from India

To whoever interested in Gadget Shieldz...

I had order my Gadget Shieldz on 30 Jun, received on 4 Jun.

Fast and reliable seller...

I would like to inform whoever interested, it is delivery out from India..

I have not got time to apply to my Diamond 2.

It comes in 6 pieces, 1 single pcs for the back cover, 1 for the screen, 1 for the space below the 4 buttons, 4 small pcs for the 4 sides each...

HOpe my info will help if you want to buy Gadget Shieldz....

Hope the matt back cover will become offically avaliable soon and at a reasonable price......

:D:D:D
[Touch Diamond2, Pure Accessories] peebee77:
Is it suitable for the Europe or the US-Version? :D
[Touch Diamond2, Pure Accessories] orouborus:
hi all,

i ordered a matt cover from the said website from ebay and i got a shiny one. :( im very sasd and disappointed, i spent a lot of money for the matt cover but got a shiny one instead....
[Touch Diamond2, Pure Accessories] MasK:
You should have asked them if they have the matt one before buying.

Right now, ive asked almost all sellers (regardless of their product pics) and they all said it's glossy. So the lucky ones who got the matt ones are probably the early pieces.

Look on the bright side.. now you can experiment on your spare cover by spraying it clear matt, etc :rolleyes: